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.
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.
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).
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.
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).
| Role | Segment | Example document | What it identifies |
|---|---|---|---|
| Buyer | NAD+BY | Order (ORDERS) | The company placing the order, usually the retailer |
| Supplier | NAD+SU | Invoice (INVOIC) | Your company, as the supplier |
| Delivery party | NAD+DP | Dispatch advice (DESADV) | The store or warehouse the goods are delivered to |
| Invoicee | NAD+IV | Invoice (INVOIC) | The entity the invoice is issued to |
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.
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.
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.
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:
| Criterion | EDIconnect ILN code | GS1 GLN |
|---|---|---|
| Format | 13 digits with a check digit | 13 digits with a check digit |
| Issuer | EDIconnect, from its own series starting with 2 | The national GS1 organisation (in Romania, GS1 Romania), through a licence |
| Registry | EDIconnect's records; not registered with GS1 | The GS1 registry |
| Where it is used | EDI documents with the retailers EDIconnect exchanges EDI with | EDI documents and other processes that use GS1 identification keys |
| Product barcodes (GTIN/EAN) | No, it identifies companies and locations only | Also obtained through a GS1 licence |
| Price | €70/year + €2.50/year per additional location (excl. VAT) | The GS1 licence tariff |
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.