Location code for EDI

ILN code (International Location Number) for EDI

An ILN (International Location Number) is a 13-digit code with a check digit that identifies a company or a location (head office, warehouse, store, delivery point) in EDI documents: orders, dispatch advices and invoices. EDIconnect allocates ILN codes from its own series for €70 per year excluding VAT, including the company's ILN, plus €2.50 per year for each additional location.

Order an ILN code · Check an ILN code

The EDIconnect ILN code at a glance

Format
13 digits; the last one is the check digit (modulo 10, as in EAN-13)
Series
EDIconnect's own series, starting with 2 (restricted-circulation series)
Identifies
Companies and locations, not products
Price
€70/year excl. VAT, including the company's ILN
Additional location
€2.50/year excl. VAT for each location
Accepted by
The retailers EDIconnect exchanges EDI with

For example: Kaufland, Carrefour, Lidl, Mega Image, Auchan, Metro, Dedeman, Leroy Merlin, Selgros, Penny, Profi, Hornbach, Brico, Romstal, Arabesque, Ambient. Full list of retailers

What is an ILN code?

ILN stands for International Location Number, the name under which location numbers in electronic commerce were long known, and "ILN" is still the term widely used in EDI (EANCOM/EDIFACT) in Romania and Germany.

An ILN answers two questions in every EDI document: who the party is (the company) and where the goods are delivered to or shipped from (the location). Retailers use location codes to recognise the supplier and the store or warehouse a delivery is for.

An EDIconnect ILN comes from EDIconnect's own series, which starts with the digit 2 (a restricted-circulation series). It is allocated and recorded by EDIconnect, it is not registered in the GS1 registry, and it identifies companies and locations only: it is not a product barcode (GTIN).

Where does the ILN appear in EDI documents?

In EANCOM/EDIFACT messages, location codes sit in the NAD (Name and Address) segment. The qualifier after NAD gives the party's role in the document:

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

Illustrative segment with a code from the series starting with 2:

NAD+SU+2001234500005::9'

The supplier's code appears in the order (ORDERS), the dispatch advice (DESADV) and the invoice (INVOIC), so it has to be identical across all documents.

What does an ILN code look like?

An ILN has 13 digits. The first 12 form the number in the series (at EDIconnect, the series starts with 2) and the 13th is the check digit, calculated with the standard modulo-10 algorithm, the same one used for EAN-13 codes.

How the check digit is calculated

  1. Multiply the first 12 digits, from left to right, alternately by 1 and by 3.
  2. Add up all the products.
  3. The check digit is the number that brings the sum up to the next multiple of 10 (0 if the sum already is a multiple of 10).

Example: for 200123450000, the weighted sum is 2×1 + 0×3 + 0×1 + 1×3 + 2×1 + 3×3 + 4×1 + 5×3 + 0×1 + 0×3 + 0×1 + 0×3 = 35. The next multiple of 10 is 40, so the check digit is 5 and the full code is 2001234500005.

ILN check digit validator

With 12 digits we calculate the check digit; with 13 digits we verify the last one. The calculation runs in your browser, nothing is sent anywhere. The check confirms the format and the check digit only, not who the code is allocated to.

How many ILN codes do you need?

The number of codes depends on how many locations your partners need to tell apart in EDI documents:

  • One ILN for the company (legal entity / head office), included in the €70 per year price.
  • One ILN for each location retailers need to identify separately: depot, warehouse, store, work site, delivery point. Each one costs €2.50 per year.

If you ship from several warehouses or invoice from different work sites, check each retailer's EDI specification to see whether it expects one code per location.

How much does an ILN code cost?

Prices are per year and exclude VAT.

  • Company ILN: €70/year, excl. VAT · includes the company's ILN (legal entity / head office)
  • Additional location: €2.50/year, excl. VAT · for each depot, warehouse, store, work site or delivery point

Worked example

Company + 3 depots: €70 + 3 × €2.50 = €77.50 per year, excluding VAT.

Order an ILN code

How do you get an ILN code from EDIconnect?

  1. Request the ILN code: Fill in the contact form with the subject "ILN code". Order an ILN code
  2. Send your company details: Send us your company's identification details and the list of locations that need a code: depots, warehouses, stores, delivery points.
  3. Receive your ILN codes: EDIconnect allocates the codes from its own series, one for the company and one for each location, and keeps them on record.
  4. Use them in EDI: Use the codes in orders, dispatch advices and invoices, and share them with the retailers you exchange EDI with.

EDIconnect ILN vs GS1 GLN: what is the difference?

Both are 13-digit location codes with a check digit and take the same place in EDI documents. The issuer, the registry and what else they cover differ:

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

What a GLN is: the EDI glossary definition

Common mistakes with ILN codes

  • Wrong ILN for the delivery point: If NAD+DP carries another location's code, the document may be rejected or the goods may end up at a different store or warehouse.
  • Wrong check digit: A single wrong digit makes the code invalid. Check it with the validator on this page before you enter it in your ERP.
  • Retailer's ILN mixed up with your own: NAD+BY and NAD+DP carry the retailer's codes and its locations, NAD+SU carries yours. Swapping them can lead to rejected documents.
  • One code for every depot: When the partner expects one code per location, a single shared code means dispatch advices and invoices can no longer be matched to the right location.

Frequently asked questions about ILN codes

What is an ILN code?

An ILN (International Location Number) is a 13-digit code with a check digit that identifies a company or one of its locations (head office, warehouse, store, delivery point) in EDI documents. It does not identify products.

How much does an ILN code cost?

At EDIconnect, an ILN code costs €70 per year, excluding VAT, and includes the company's ILN. Each additional location (depot, warehouse, store, work site, delivery point) costs €2.50 per year, excluding VAT. For example, company + 3 depots = €77.50 per year, excluding VAT.

Are ILN and GLN the same thing?

They share the same format (13 digits with a check digit) and the same role in EDI documents: they identify parties and locations. The issuer differs: an EDIconnect ILN comes from EDIconnect's own series, which starts with 2, and is not registered with GS1, while a GLN is allocated by the national GS1 organisation through a licence.

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.

Which retailers accept the EDIconnect ILN?

The EDIconnect ILN is accepted by all the retailers EDIconnect exchanges EDI with, for example Kaufland, Carrefour, Lidl, Mega Image, Auchan, Metro, Dedeman, Leroy Merlin. The full list is on the Connected retailers page.

Do I need a separate ILN for each warehouse?

Yes, if your partners need to tell your warehouses apart in orders, dispatch advices or invoices: each location gets its own ILN, at €2.50 per year, excluding VAT. If you work from a single location, the company ILN included in the €70 per year is enough.

Can I use the ILN for product barcodes?

No. An ILN identifies companies and locations only, not products. Product barcodes (GTIN/EAN) require a licence from the national GS1 organisation, in Romania GS1 Romania.

How do I check whether an ILN code is valid?

Check the check digit: multiply the first 12 digits, from the left, alternately by 1 and 3, add up the results, and the check digit is the difference to the next multiple of 10. The validator on this page does the calculation and confirms the format, not who the code is allocated to.

How do I order an ILN code?

Fill in the EDIconnect contact form with the subject "ILN code", send your company details and the list of locations, then receive the ILN codes allocated from the EDIconnect series, ready to use in your EDI documents.

Order the ILN code for your company

€70/year excl. VAT, including the company's ILN, plus €2.50/year for each additional location. Send us your company details and the list of locations.

Order an ILN code · See connected retailers

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