Barcode syntax

Dear All,

when I try to create my first new product I select barcode type EAN 13 then I insert a valid 13 digit number.
Then I click on CREATE and always Dolibarr return me the same error: Wrong barcode syntax. Maybe you entered a wrong format or number.
Can anybody help me?

Hi,

There is a coding rules to respect : https://en.wikipedia.org/wiki/International_Article_Number

1 Like

Hi again.

Dolibarr returns me the same code even respecting the coding rules.
What can I do???

Please share us your barcode.

8033424610007 Hellatron S.p.A. Italy

I think you enabled ‘Manager to auto define barcode numbers (Product)’ in the setup of the barcode module.
So if you are ‘Hellatron S.p.A. Italy’ you should set mask to 8033424{00000+61000} if your last new created product was 8033424610007
If you are reseller of ‘Hellatron S.p.A. Italy’ products you need to deactivate this feature.

It works!!! Thank you so much!!!
How did you get the value to set in the mask?

From your example barcode and the EAN13 wiki. (and experience with barcodes)

You can still manual add barcode, but it must match the mask and only 12 digits (dolibarr generates the checksum). See wiki link from ksar for more info on ean13 checksum.