Message us on WhatsApp
    Back to glossary
    Codes & Identifiers

    GLN (Global Location Number)

    A GLN (Global Location Number) is the 13-digit GS1 identification key for legal entities, physical locations (head office, warehouse, store, delivery point) and functional locations. The last digit is the check digit. A GLN is obtained through a licence from the national GS1 organisation, in Romania GS1 Romania, and is registered with GS1.

    Full definition

    GLN uniquely identifies a legal entity, a business site, a warehouse or a delivery point worldwide. Retailers use GLN to indicate the exact store where goods must be delivered, or the central warehouse. Without a valid location code (GLN or ILN), EDI documents cannot be routed correctly. GLN is obtained from GS1 Romania through a licence.

    Examples

    • 5949000000007 (example GLN for a head office)

    What does a GLN identify?

    • Legal entities: the company as a party to a transaction (buyer, supplier, invoicee).
    • Physical locations: head office, warehouse, store, delivery point.
    • Functional locations: a department or function, for example the department that receives invoices.

    The check digit of a GLN is calculated with the modulo-10 algorithm used for EAN-13. The GS1 licence through which a GLN is obtained is also what you need for product barcodes (GTIN/EAN).

    GLN and ILN: where the name comes from

    Location numbers were long known as ILN (International Location Number). GLN is the current name of the GS1 key, but in EDI (EANCOM/EDIFACT) the term ILN is still widely used in Romania and Germany, so retailer specifications use both names for the location code.

    Where does the GLN appear in EDI documents?

    In EANCOM/EDIFACT messages, location codes (GLN or ILN) sit in the NAD segment, and the qualifier gives the party's role. You find them in orders (ORDERS), dispatch advices (DESADV) and invoices (INVOIC).

    Location codes in the NAD segment of EANCOM/EDIFACT messages
    RoleSegmentExample documentWhat it identifies
    BuyerNAD+BYOrder (ORDERS)The company placing the order, usually the retailer
    SupplierNAD+SUInvoice (INVOIC)Your company, as the supplier
    Delivery partyNAD+DPDispatch advice (DESADV)The store or warehouse the goods are delivered to
    InvoiceeNAD+IVInvoice (INVOIC)The entity the invoice is issued to

    The GLN in e-Factura

    In e-Factura, a GLN can appear as an optional identifier with scheme 0088 ("EAN Location Code"). For example, as the delivery location identifier (BT-71) or as a party identifier, such as the seller (BT-29).

    The electronic addresses of the seller (BT-34) and the buyer (BT-49) require a scheme from the EAS list, and 0088 is one of them. As far as we could verify, nothing makes the GLN mandatory in e-Factura.

    The sources below describe the EN 16931 / UBL mapping in Peppol BIS Billing 3.0, not ANAF's own documentation. ANAF's technical specification could not be read, so we have not confirmed the Romanian rules for these fields from an ANAF source.

    The GLN in SAGA

    In the SAGA C manual, the Third parties screen has no dedicated GLN field. However, the "Cod" field of a third party's delivery address (delivery point) can hold a 13-character GLN. If the value validates as a barcode, SAGA sends it in e-Factura as the location identifier.

    SAGA C manual: Third parties (in Romanian)

    How to check a GLN

    A GLN has 13 digits. The last one is the check digit, calculated with the GS1 modulo-10 algorithm: the weights 3 and 1 alternate across the data digits, the products are added up, and the check digit is the difference to the nearest equal or higher multiple of ten. GS1 shows the method on a GTIN-13 example, and the same method is used for the GLN.

    The check-digit validator on the ILN code page does the calculation in your browser. To look up a registered GLN, there is the "Verified by GS1" service, which lets you search for a GLN. An EDIconnect ILN is not registered with GS1, so it does not appear there.

    GS1 GLN vs EDIconnect ILN code: comparison

    Both have 13 digits with a check digit and take the same place in EDI documents. They differ in issuer, registry and what else they cover:

    EDIconnect ILN code compared with the GS1 GLN
    CriterionEDIconnect ILN codeGS1 GLN
    Format13 digits with a check digit13 digits with a check digit
    IssuerEDIconnect, from its own series starting with 2The national GS1 organisation (in Romania, GS1 Romania), through a licence
    RegistryEDIconnect's records; not registered with GS1The GS1 registry
    Where it is usedEDI documents with the retailers EDIconnect exchanges EDI withEDI documents and other processes that use GS1 identification keys
    Product barcodes (GTIN/EAN)No, it identifies companies and locations onlyAlso obtained through a GS1 licence
    Price€70/year + €2.50/year per additional location (excl. VAT)The GS1 licence tariff

    When do you need a GS1 GLN, and when is an EDIconnect ILN enough?

    You need a GS1 GLN if:

    • you also use GTIN/EAN barcodes for products, which are obtained through a GS1 licence too;
    • a partner explicitly asks for a GS1-registered GLN.

    An EDIconnect ILN is enough if:

    • you don't already have a GS1 GLN (if you do, you can use it with EDIconnect);
    • you only need a location code for EDI documents;
    • you exchange EDI with the retailers EDIconnect is connected to (for example Kaufland, Carrefour, Lidl, Dedeman).

    Frequently asked questions about GLN

    What is a GLN?
    A GLN (Global Location Number) is the 13-digit GS1 identification key for legal entities, physical locations and functional locations. The last digit is the check digit.
    Where do I get a GLN?
    A GLN is obtained through a licence from the national GS1 organisation (in Romania, GS1 Romania), at the tariff set by GS1, and it is registered with GS1.
    I already have a GLN from GS1. Can I use it with EDIconnect?
    Yes. If you already have a GLN allocated by GS1, you can use it in EDI documents through EDIconnect and you don't also need an ILN code. The EDIconnect ILN code is for companies that don't have a location code.
    What is the difference between GLN and ILN?
    ILN (International Location Number) is the historical name of location numbers, still used in EDI in Romania and Germany. The format is the same: 13 digits with a check digit. An EDIconnect ILN comes from EDIconnect's own series, which starts with 2, and is not registered with GS1; a GLN is allocated through GS1.
    Is a GS1 GLN mandatory for EDI with retailers?
    EDI documents need a valid location code, GLN or ILN. The retailers EDIconnect exchanges EDI with accept the EDIconnect ILN. You need a GS1 GLN if you also use GTIN barcodes or if a partner explicitly asks for a GS1-registered GLN.
    Where does the GLN appear in an EDI message?
    In the NAD segment of EANCOM/EDIFACT messages, with the role qualifier: NAD+BY (buyer), NAD+SU (supplier), NAD+DP (delivery party) or NAD+IV (invoicee), in orders (ORDERS), dispatch advices (DESADV) and invoices (INVOIC).
    How do I check a GLN?
    Calculate the check digit: multiply the first 12 digits, from the left, alternately by 1 and 3, add them up, and the check digit brings the sum to the next multiple of 10. The validator on the ILN code page does the calculation in your browser.
    Reviewed by The EDIconnect Team : EDI & Business Operations experts · Last updated: June 13, 2026

    Exchanging EDI with retailers?

    EDIconnect connects your company with retailers through EDI: orders, dispatch advices and invoices. For the location code in these documents, see the EDIconnect ILN code.

    GS1® is a registered trademark of GS1 AISBL. EDIconnect is not affiliated with GS1, and EDIconnect ILN codes are not allocated by GS1.