GTIN is a barcode nomenclature that provides package, unit, and item references in the code + a mod10 checksum similar to EAN.
There are multiple types of GTIN - my project goal is specifically to GTIN14, but I believe I will be able to nail support for all of them because the lower ones are just zero padded. The other GTIN versions are encoded with EAN13 (GTIN13), UPC-A (GTIN12), or EAN8 (GTIN8)
Following are the high level items that need to be accomplished as part of this. It looks like we do have some logic available in base_gs1_barcode for the encoding too (GTIN14 is encoded as GS1-128).
[ ] Base GTIN14 validation - #36
Also known as EAN14. Can use similar logic to the existing EAN sums - too bad they're not more abstracted so I could just use them though 😦
[ ] GTIN* => GTIN14 conversions
[ ] Add a package reference column on product.packaging - this will need to be used to identify the quantity multiplier
[ ] Add company prefix model, with GS1, GS1-8, and UPC as types. M2M with vendors, allowing for relation to their company prefix codes
[ ] GTIN14 nomenclature type
First digit is indicator (how many quantity of package units)
Twelve digits following are GS1 company prefix and item reference
GTIN is a barcode nomenclature that provides package, unit, and item references in the code + a mod10 checksum similar to EAN.
There are multiple types of GTIN - my project goal is specifically to GTIN14, but I believe I will be able to nail support for all of them because the lower ones are just zero padded. The other GTIN versions are encoded with EAN13 (GTIN13), UPC-A (GTIN12), or EAN8 (GTIN8)
Following are the high level items that need to be accomplished as part of this. It looks like we do have some logic available in base_gs1_barcode for the encoding too (GTIN14 is encoded as GS1-128).
product.packaging
- this will need to be used to identify the quantity multiplierGS1
,GS1-8
, andUPC
as types. M2M with vendors, allowing for relation to their company prefix codesMore info on GTIN:
Please let me know if this overlaps with anything existing, or if there are already existing strategies in existence for handling of GTIN 😄
cc @t3ddftw