IT Glossary
What is EDI (Electronic Data Interchange)?
EDI is how a retailer's order lands directly in a supplier's ERP and the invoice travels back the same way, as structured messages on a shared standard, with no email and no retyping.
- 6
- sections
- 6
- questions answered
EDI (Electronic Data Interchange) is the automatic transmission of commercial documents — orders, dispatch advices, invoices — from one company's IT system straight into its partner's, as structured messages that follow a common standard. In Europe the base standard is UN/EDIFACT, published by UNECE, with its syntax described in ISO 9735. Retail and consumer goods use GS1 EANCOM, which GS1 defines as a subset of UN/EDIFACT: products are identified by GTIN and locations by GLN. North America uses ANSI X12. In Romania, EDI with a retailer does not replace e-Factura: the B2B invoice has gone through RO e-Factura (Ministry of Finance) since 01.01.2024, and since 01.07.2024 the valid invoice is the one issued through the system, as UBL or CII XML under EN 16931 and CIUS-RO, so the same invoice leaves twice — as an INVOIC message to the chain and as XML to the tax authority.
Sooner or later a large retail chain tells a supplier that orders will arrive by EDI from next quarter, and that participation is not optional. The order leaves the retailer's system and arrives in the supplier's as a real order, complete with agreed product codes and delivery windows, rather than as an attachment somebody must interpret and retype. What makes EDI commercially interesting is less the technology than the access it buys: for many chains, pharmacy groups and automotive manufacturers, EDI capability is a supplier qualification criterion, so the project is not an efficiency initiative but the price of the shelf. The efficiency arrives afterwards, in the errors that stop happening and in invoices that get paid on schedule because nothing was mistyped.
Why it matters for your business
Access to the large retail networks
Chains that require electronic document exchange as a qualification condition become addressable markets rather than closed doors.
No retyping and no operator errors
Orders enter your system exactly as sent, which removes the wrong quantity, wrong code and wrong address class of mistakes entirely.
Faster, more predictable payment
Invoices matched automatically against orders and receipts clear approval without the disputes that hold payment for weeks.
How EDI works
An EDI exchange has five steps. First, your system (usually the ERP) extracts the document from its data: a confirmed order, a dispatch advice, an invoice. Next comes mapping: ERP fields are translated into the message structure the partner requires, with products identified by GTIN and delivery points by GLN. The message then travels over the agreed channel — AS2, SFTP, a value-added network (VAN) or an API — either directly from you or through a provider that handles translation and transport. A technical acknowledgement and, in EDIFACT, a functional acknowledgement come back, and finally the document is imported into the partner's system with no human step.
In our experience projects stall at mapping and at testing with each partner, not at transport technology. Every chain publishes its own implementation guide, and the differences between guides, not the standard itself, take most of the work.
EDI standards: UN/EDIFACT, GS1 EANCOM and ANSI X12
UN/EDIFACT (United Nations Electronic Data Interchange for Administration, Commerce and Transport) is the international standard administered by UNECE; its syntax is standardised as ISO 9735. It is the base used in Europe for trade, transport and customs.
GS1 EANCOM is the variant for consumer-goods trade. GS1 defines it as a subset of UN/EDIFACT containing only the message elements business applications need, and ties it to the GS1 identification standards: GTIN for products and GLN for partners and locations. ANSI X12 is the North American equivalent and turns up in Europe mostly at firms selling to American customers.
The standard says what a message looks like; the exact version, mandatory fields and permitted codes come from each chain's implementation guide. That is why two chains on the same standard can ask for different messages.
Want an estimate for your project?
Message us on WhatsApp. We reply the same working day, and the first 30-minute call is free.
The core messages and an example
In practice a supplier works with five messages: ORDERS (the customer's purchase order), ORDRSP (the reply to the order: confirmation, change or rejection), DESADV (the dispatch advice, sent before the goods arrive), RECADV (the receiving advice, showing what the customer actually received) and INVOIC (the invoice).
An EDIFACT file does not look like a document: it is a string of segments, each ended by an apostrophe. A message opens with an interchange header (UNB) and a message header (UNH), continues with the document number and date (BGM, DTM), the parties (NAD) and the product lines (LIN, QTY), and closes with UNT and UNZ. Those segments, in the order the partner's guide requires, are what certification tests check.
EDI and e-Factura: two routes for one invoice
The two systems answer different questions. e-Factura is the fiscal obligation: the state sees the transaction. EDI is the commercial channel: the customer receives orders and invoices in the format its logistics systems read. According to the Ministry of Finance, transmitting the electronic invoice in the B2B relationship has been mandatory since 01.01.2024 (reporting) and since 01.07.2024 (invoicing), and in the B2C relationship (reporting) since 01.01.2025.
The practical difference is the format. RO e-Factura validates the UBL (Invoice-2 and CreditNote-2 schemas) and CII syntaxes under EN 16931 and the national CIUS-RO specification, approved by Order of the Minister of Finance no. 1,366/2021. An EANCOM INVOIC message cannot be uploaded to SPV as it is, so the ERP or the EDI provider produces two files from the same data. Deadlines and who falls under the obligation are covered on the page about mandatory e-Factura.
Frequently asked questions
What does EDI mean?
EDI stands for Electronic Data Interchange: commercial documents travel as structured messages directly between two companies' systems, with no email and no retyping. In medicine the same abbreviation stands for lower digestive endoscopy, an entirely different term.
What is the difference between EDI and e-invoicing in Romania?
They do not replace each other. RO e-Factura is the fiscal obligation: since 01.01.2024 the B2B invoice goes through the Ministry of Finance system, and since 01.07.2024 only the invoice issued in the system is valid, as UBL or CII XML. EDI is the commercial channel between partners and also carries orders, dispatch advices and receipts. The same invoice leaves twice, in two formats, from the same data.
Which EDI standard do retail chains use?
Usually GS1 EANCOM, the UN/EDIFACT subset for trade. The message version and exact fields come from each chain's implementation guide, so read the partner's guide before you start mapping. ANSI X12 appears mainly with North American partners.
Which EDI messages does a supplier receive and send?
A supplier receives the order (ORDERS) and the receiving advice (RECADV), and sends the order response (ORDRSP), the dispatch advice (DESADV) and the invoice (INVOIC). A chain may ask for only some of them; the exact list and fields are in that chain's implementation guide.
What do I need in order to trade by EDI with a retail chain?
Four things, usually. A product catalogue with globally recognised item and location codes, an ERP or order system capable of importing and exporting the documents, a connection route — most mid-sized suppliers use a service provider rather than building their own channel — and completion of the chain's certification tests. The catalogue quality is what actually determines how long it takes.
How long does an EDI integration take?
It depends on partner testing and on the quality of the product catalogue, especially the GTIN codes, not on development itself. The second chain connects faster because the messages and the ERP mapping already exist. Cost has an initial setup part and a monthly part, a subscription or a per-document fee.
Let’s talk about your project
Book a free 30-minute call or send us an email. We reply the same working day.
office@northdan.com · +40 750 252 851