Message us on WhatsApp
    Back to glossary
    Codes & Identifiers

    GTIN: the GS1 product code

    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.

    Full definition

    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.

    GTIN variants

    The length of the code shows the format. All of them are padded to 14 digits when processed by systems:

    GTIN variants
    VariantDigitsWhere it is used
    GTIN-88Small products, where a 13-digit code does not fit
    GTIN-12 (UPC)12The North American market
    GTIN-13 (EAN-13)13The product sold on the shelf, most commonly in Europe
    GTIN-1414Master packs (cases, trays) that contain products with a GTIN-13

    GTIN-13 structure and the check digit

    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.

    Where GTIN appears in EDI documents

    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.

    Illustrative example (EANCOM)
    LIN+1++5940000000028:SRV'
    QTY+21:48'

    How you get GTINs

    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.

    Common mistakes with GTIN

    • The same GTIN for different products or pack sizes.
    • A wrong check digit, so the code is refused in the retailer's catalogue.
    • Confusing the GTIN-13 of the product with the GTIN-14 of the case.
    • A GTIN that is missing from the ERP or differs from the one in the retailer's catalogue.
    • Changing a product without a new GTIN when the packaging or content changes.

    How EDIconnect helps with 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.

    GTIN in the EDIconnect platform

    Frequently asked questions about GTIN

    What is a GTIN?
    GTIN (Global Trade Item Number) is the GS1 code that uniquely identifies a trade item. The variants are GTIN-8, GTIN-12, GTIN-13 and GTIN-14.
    Are GTIN and EAN the same?
    In practice, yes. EAN-13 is the old name of GTIN-13, and in European retail GTIN-13 is the most used variant.
    How do I calculate the check digit of a GTIN?
    Multiply the digits, from left to right, alternately by 1 and 3 (for the first 12 digits of a GTIN-13), add them up, and the check digit brings the sum to the next multiple of 10.
    Where does GTIN appear in EDI?
    In the LIN segment of EANCOM messages, with type SRV, in orders (ORDERS), dispatch advices (DESADV) and invoices (INVOIC).
    How do I get GTINs for my products?
    Through a licence from GS1, in Romania GS1 Romania. The codes identify your products and retailers require them in the catalogue and in EDI documents.
    Reviewed by The EDIconnect Team : EDI & Business Operations experts · Last updated: June 13, 2026

    Need to send items through EDI?

    EDIconnect matches retailer GTINs with your ERP codes and converts documents automatically.

    Last updated: November 2026.