GTIN (Global Trade Item Number) is the GS1 code that uniquely identifies a trade item, the same worldwide. The variant most used in Europe is GTIN-13, known as EAN-13, printed as a barcode on the product. In EDI, the items in orders, dispatch advices and invoices are referenced by GTIN.
GTIN uniquely identifies a trade product globally. Variants include GTIN-8, GTIN-12 (UPC), GTIN-13 (EAN-13, the most used in Europe) and GTIN-14 (for master packs). All items in ORDERS, DESADV and INVOIC are referenced by GTIN. Retailers block items without a valid GTIN in the catalog.
The length of the code shows the format. All of them are padded to 14 digits when processed by systems:
| Variant | Digits | Where it is used |
|---|---|---|
| GTIN-8 | 8 | Small products, where a 13-digit code does not fit |
| GTIN-12 (UPC) | 12 | The North American market |
| GTIN-13 (EAN-13) | 13 | The product sold on the shelf, most commonly in Europe |
| GTIN-14 | 14 | Master packs (cases, trays) that contain products with a GTIN-13 |
A GTIN-13 has the prefix allocated by GS1 (594 corresponds to Romania), the rest of the company code and the item reference, and the last digit is the check digit. For the illustrative GTIN 5940000000028, the calculation on the first 12 digits is: 5×1 + 9×3 + 4×1 + 2×3 = 42, and the check digit is 8, what is missing to the next multiple of 10 (50). The same modulo 10 algorithm is used for GLN and SSCC.
In EANCOM, the GTIN is the item number in the LIN segment, with type SRV. The same code is found in ORDERS, DESADV and INVOIC, and the retailer uses it to match the line with its catalogue. The example is illustrative and simplified; follow the partner's implementation guide.
LIN+1++5940000000028:SRV'
QTY+21:48'GTINs are obtained through a licence from the national GS1 organisation, in Romania GS1 Romania, the same licence through which a GLN is obtained. Each product variant, for example each weight or pack size, has its own GTIN.
EDIconnect uses cross-reference tables between the GTIN and your internal item code, so retailer orders reach the ERP with your items. Documents are converted automatically between the retailer's format and your ERP's.
EDIconnect matches retailer GTINs with your ERP codes and converts documents automatically.
Last updated: November 2026.