
This error occurs when generating the SmartBill invoice and when the Use product code option is checked in the SmartBill platform, but the product in the order for which the invoice was generated did not have a SKU code defined in Shopify when the order was placed.
SmartBill Cloud > Configurare > Preferinte generale

To prevent this error in the future, you must make sure that in Shopify you have defined SKU codes for all products before receiving orders for them.
And don't forget that SKU in Shopify should be the same with product code in SmartBill.
Solutions:
If you added the SKU to the product after the order was placed, the order still contains the product without a code. Shopify keeps the product details from the moment the order was placed.
You have two options to solve:
1. Add the product with the SKU to the order
- Make sure the product has a SKU in Shopify.
- Edit the order in Shopify.
- Remove the product without a SKU and add it again, now with the SKU.
- Then issue the invoice.
2. Set a default product code in xConnector
This code is automatically added to all products that have no code:
- go to xConnector → Profile → Connected services → SmartBill → VAT settings tab;
- in Default product code, enter the missing SKU;
- click Save.
Repeat these steps for the other orders that contain products without a SKU, each time entering the SKU that is missing from that order.
After you have invoiced the orders with products without a SKU, go back to the settings and delete the default product code.

In the long term, we recommend adding a SKU to all products in Shopify, so that invoices always have the correct product codes.
Feel free to contact us if you need any further information:
Chat: click on the blue chat icon (bottom-right)
E-mail: support@xconnector.app
Phone: +4 0373 747 991
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article