Product registration/linking
In this first version of the Base ERP NF-e Issuer Plugin for WooCommerce, there is no automatic product and inventory synchronization between WooCommerce and Base ERP.
This means that inventory management will continue to be done exclusively by WooCommerce, without direct interference from Base ERP.
ImportantWooCommerce must be treated as the main source for inventory control in this version of the plugin.
Product registration in Base ERP is necessary to enable the NF-e issuance flow, but it does not replace the operational inventory control performed in WooCommerce.
When to use
Use this page when you need to prepare your WooCommerce store products for NF-e issuance through Base ERP.
Some common scenarios include:
- registering in Base ERP the products sold in WooCommerce;
- linking WooCommerce products to the corresponding products in Base ERP;
- locating the Internal Product Identifier in Base ERP;
- informing the Base ERP product ID within the product registration in WooCommerce;
- reviewing tax information necessary for NF-e issuance;
- avoiding product identification failures in the issuance process;
- validating the flow before using the plugin in Production.
How product linking works
For Base ERP to correctly identify which product was sold in WooCommerce, it is necessary to create a link between the two systems.
This link is made through the Internal Product Identifier, automatically generated in Base ERP after the item is registered.
General flow:
Register product in Base ERP
↓
Locate the Internal Product Identifier
↓
Access the corresponding product in WooCommerce
↓
Inform the Base ERP ID in the indicated field
↓
Save the product in WooCommerce
↓
Validate whether the link was created correctlySource of truth for inventory
In this version of the plugin, inventory is not automatically synchronized between WooCommerce and Base ERP.
Therefore, consider the following operational rule:
| Information | Recommended system |
|---|---|
| Inventory control | WooCommerce |
| Product availability in the store | WooCommerce |
| Product tax registration | Base ERP |
| Data used for NF-e issuance | Base ERP |
| Link between sold product and tax product | WooCommerce and Base ERP |
Inventory in Base ERPWhen registering a product in Base ERP, you can leave the inventory at zero.
This does not make invoice issuance unavailable, since inventory control does not interfere with this step in this version of the plugin.
What will come in future versions?
We are working so that, in future updates, the plugin offers automatic inventory synchronization between WooCommerce and Base ERP.
This way, all product movements can be updated in real time on both platforms.
While automatic synchronization is not available, keep operational inventory and shipping controls in WooCommerce.
Important product attributes
During product registration and linking, some fields deserve special attention.
| Field or attribute | Where to check | Why it is important |
|---|---|---|
| Product name | WooCommerce and Base ERP | Helps identify the corresponding product in both systems. |
| SKU | WooCommerce and Base ERP, when used | Facilitates internal reconciliation, order checking, and operational identification. |
| Internal Product Identifier | Base ERP | It is the code used to link the Base ERP product to the WooCommerce product. |
| Tax data | Base ERP | Directly impacts the correct issuance of the NF-e. |
| CFOP | Base ERP | Must be correct according to the tax operation. |
| Taxes | Base ERP | Incorrect information may cause failures or inconsistencies in the invoice. |
| Item type | Base ERP | Helps correctly classify the registered product or service. |
| Corresponding product | WooCommerce | Store product that will receive the Base ERP internal ID. |
Best practiceThe Internal Product Identifier is the main field for linking with WooCommerce.
Fields such as name and SKU help with checking, but they do not replace linking through the Base ERP product internal ID.
Registering your products in Base ERP
For invoice issuance to work correctly, it is necessary to replicate your WooCommerce products inside Base ERP.
Follow the step-by-step instructions below:
-
Access Base ERP.
Go to the Commercial > Products and Services module.
-
Add a new product or service.
Click the Add Product/Service button.
-
Fill in the required information.
Required fields are identified by the paper icon next to the field name.
TipAlso check the Inventory, Tax, Composition, and Attachments tabs.
The product tax information must be correct to avoid inconsistencies in NF-e issuance.
-
Save the registration.
After filling in all necessary fields, click Save to complete the registration.
Linking your products between Base ERP and WooCommerce
With the product already registered in Base ERP, the next step is to create the link between the ERP item and the corresponding product in WooCommerce.
This link is essential so that Base ERP correctly identifies which product is being sold in your e-commerce store.
Follow the step-by-step instructions below:
-
Locate the product internal ID in Base ERP.
After saving the registration, the system automatically generates an internal identification number.
This code is displayed in the Internal Product Identifier field.
Copy this number.
-
Access the WooCommerce panel.
In the WordPress administrative panel, go to:
Products > All Products
If the item does not exist yet, access Add Product.
-
Edit the corresponding product.
Locate the product sold in the store and open its editing screen.
-
Paste the Base ERP ID.
Inside the Product Data tab, select the Base ERP section.
In the indicated field, paste the Internal Product Identifier that you copied from Base ERP.
-
Save the changes.
Click Update or Publish, if it is a new product.
Done! Your product is linked between WooCommerce and Base ERP.
Process summary
| Step | Where to do it | What to do |
|---|---|---|
| 1. Product registration | Base ERP | Add the product with the required information. |
| 2. Tax review | Base ERP | Check tax data, taxes, and CFOPs. |
| 3. Locate internal ID | Base ERP | Copy the Internal Product Identifier. |
| 4. Link product | WooCommerce | Paste the ID in the Base ERP field of the corresponding product. |
| 5. Validate link | WooCommerce and Base ERP | Check whether the correct product was related between the systems. |
Practical example
Imagine that your WooCommerce store sells the product Basic Blue T-Shirt.
For this product to be used in the NF-e issuance flow through Base ERP:
Product sold in WooCommerce: Basic Blue T-Shirt
↓
Product registered in Base ERP: Basic Blue T-Shirt
↓
Base ERP generates the Internal Product Identifier
↓
Internal ID is copied from Base ERP
↓
ID is pasted into the corresponding product in WooCommerce
↓
Product becomes linked for the NF-e issuance flowThis association prevents the order from being processed without correct identification of the corresponding tax product.
Important behaviors
When using product registration and linking, consider that:
- the plugin does not automatically synchronize products between WooCommerce and Base ERP;
- the plugin does not automatically synchronize inventory between the systems;
- WooCommerce continues to control the store’s availability and inventory;
- Base ERP maintains the tax registration necessary for NF-e issuance;
- each product sold in WooCommerce needs to be linked to the corresponding product in Base ERP;
- products without a link may not be identified in the issuance process;
- changes made to the product in one system do not automatically update the other;
- the name and SKU help with checking, but the link depends on the Base ERP product internal ID;
- incorrect tax data may impact invoice issuance;
- products with variations must be checked carefully to avoid incorrect linking.
Operational impacts
The absence of automatic synchronization requires some operational precautions.
Some important impacts:
- inventory must be controlled in WooCommerce;
- inventory changes in Base ERP should not be considered automatic store updates;
- order shipping must follow the operational flow defined in WooCommerce;
- internal reports need to consider that product registrations exist in two systems;
- divergences between name, SKU, or tax registration may make reconciliations difficult;
- unlinked products may delay or prevent the NF-e issuance flow;
- tax changes made in Base ERP must be reviewed before issuance;
- operations, tax, and e-commerce teams must be aligned on which system controls each piece of information.
AttentionWhile there is no automatic synchronization, keep an internal control of products already registered and linked.
This helps avoid duplicate registration, incorrect linking, and failures in NF-e issuance.
Best practices and notes
For a safer operation, it is recommended to:
- keep product names the same or easily identifiable in WooCommerce and Base ERP;
- use SKU to facilitate internal checks, when applicable;
- maintain a spreadsheet or internal control with WooCommerce product, SKU, and Internal Product Identifier in Base ERP;
- review tax information before starting issuance in Production;
- validate taxes and CFOPs in Base ERP;
- avoid registering the same product more than once in Base ERP;
- check products with variations before creating the link;
- test the flow in Sandbox before using it in Production;
- keep inventory control in WooCommerce;
- periodically review linked products.
Common errors and questions
| Situation | Possible cause | How to act |
|---|---|---|
| Product does not appear in Base ERP | Product has not yet been registered in the ERP | Register the product in Commercial > Products and Services |
| Product is not identified in the issuance flow | WooCommerce product is not linked to the Base ERP product | Copy the Internal Product Identifier in Base ERP and inform it in WooCommerce |
| Divergent inventory between systems | There is no automatic inventory synchronization in this version | Control inventory through WooCommerce |
| NF-e with incorrect data | Incorrect or incomplete tax information in Base ERP | Review the product tax tabs in Base ERP |
| Duplicate product in Base ERP | Product registered more than once | Review registrations before creating a new product |
| Product with variation linked incorrectly | Internal ID informed in the wrong WooCommerce item | Confirm whether the ID belongs to the correct product or variation |
| Order does not proceed to issuance correctly | Sold product does not have a link with Base ERP | Check the product registration in WooCommerce and the internal ID informed |
Validation checklist
Before starting NF-e issuance in Production, validate:
- whether all products sold in WooCommerce were registered in Base ERP;
- whether the Internal Product Identifier was copied correctly;
- whether the ID was informed in the corresponding product in WooCommerce;
- whether names and SKUs facilitate identification between the systems;
- whether tax data was reviewed in Base ERP;
- whether CFOPs and taxes were checked;
- whether products with variation were linked correctly;
- whether inventory continues to be controlled by WooCommerce;
- whether the responsible team understands that there is no automatic synchronization in this version;
- whether the flow was tested in Sandbox before being used in Production.
Next step
After registering and linking the products, validate whether the NF-e issuance flow is working as expected.
Register product in Base ERP
↓
Review tax data
↓
Copy Internal Product Identifier
↓
Inform ID in the corresponding WooCommerce product
↓
Save changes
↓
Test NF-e issuance flow