What is an EDI invoice: the EDI 810, read line by line

What Is an EDI Invoice? The EDI 810 Format, Explained Line by Line

What an EDI invoice is, how the EDI 810 format works, an example read line by line, why EDI invoices get rejected, and what to do with suppliers who cannot send EDI.

Quick answer

An EDI invoice is an invoice sent as structured data, computer to computer, in a standard format instead of a PDF or paper. In North America the standard is the ANSI X12 810 Invoice transaction set, usually called the EDI 810. Internationally it is the UN/EDIFACT INVOIC message. The buyer's system reads it automatically and can match it to the purchase order without anyone retyping it.

Why listen to us: ECIT Digital turns the invoices that do not arrive as clean data, the PDFs and the paper, into structured data for your ERP, with 99.8% accuracy guaranteed. We spend our days on the other side of the EDI fence.

The first time I opened a raw EDI file, I assumed my cat Pixel had walked across the keyboard [she had not, she was asleep on the printer, judging me]. Rows of asterisks, tildes and codes like BIG and TDS, with not a single friendly word in sight.

It turns out that wall of asterisks is one of the most efficient invoices ever invented. This guide explains what an EDI invoice is, how the EDI 810 format works, and walks through a real-looking example line by line, so you never have to blame the cat again [sorry, Pixel].

EDI invoice vs e-invoice vs PDF, at a glance

Three kinds of "electronic" invoice, and only two of them are what a computer would call electronic [the PDF knows what it did].

EDI invoice (X12 810, EDIFACT INVOIC)E-invoice on a network (PEPPOL, UBL)PDF invoice
What it isStructured data in an EDI standardStructured data, usually XMLA picture of an invoice
Read bySoftware, automaticallySoftware, automaticallyA person, or AI capture
How it travelsVAN, AS2 or direct connectionAn access point on a networkEmail
Set up per partnerYes, mapping per trading partnerConnect once to the networkNo setup
Typical usersLarge retailers, manufacturers, distributorsPublic sector, Europe, growing in the USAlmost everyone else

What is an EDI invoice?

EDI stands for electronic data interchange: two companies' systems exchanging business documents in an agreed, structured format. The invoice is one of those documents, and it is the one finance cares about most, because it has a dollar sign on it.

In North America, EDI invoices follow the ANSI X12 standard, where the invoice is transaction set 810. X12 describes it as covering "the billing for goods and services provided", which is standards-body for "bills" [they bill by the syllable].

Outside North America, the common standard is UN/EDIFACT, where the invoice is the INVOIC message, defined as "a message claiming payment for goods or services supplied under conditions agreed between the seller and the buyer". IBM puts the split simply: X12 is "most common in North America", while EDIFACT is the international set.

X12 is not a niche thing either. It offers "more than 320 transaction standards", so the 810 is just one member of a very large, very asterisk-heavy family.

Where the EDI 810 fits in the order flow

An EDI invoice rarely travels alone. It is usually the fourth message in a conversation that started with a purchase order, like the third act of a very boring play [the PO is the hero].

EDI invoice document flow: 850 purchase order, 855 acknowledgment, 856 ship notice, 810 invoice, 997 acknowledgment, 820 payment
EDI invoice document flow: 850 purchase order, 855 acknowledgment, 856 ship notice, 810 invoice, 997 acknowledgment, 820 payment
Transaction setNameSent byWhat it does
850Purchase orderBuyerPlaces the order
855PO acknowledgmentSupplierConfirms, changes or rejects the order
856Advance ship noticeSupplierLists what is in the shipment
810InvoiceSupplierBills for the goods or services
997Functional acknowledgmentReceiver of each messageConfirms the message arrived and could be read
820Payment order and remittance adviceBuyerPays, and says which invoices the payment covers

Definitions summarized from the X12 transaction set list.

The 810 is matched against the 850 and the 856. That is two-way or three-way matching done by machines, which our guide to purchase orders vs invoices explains for the humans.

EDI invoice format: the segments that matter

An EDI 810 is built from segments, one per line. Each starts with a short code, and elements inside it are separated by asterisks [the asterisks are load-bearing, do not remove them].

SegmentNameWhat it holds
ISA / GSInterchange and group envelopeWho is sending, who is receiving, and control numbers
STTransaction set header"This is an 810" and a control number
BIGBeginning segment for invoiceInvoice date, invoice number, PO date and PO number
N1NameParties, such as bill-to and remit-to
IT1Baseline item dataOne line item: quantity, unit, unit price, product ID
TDSTotal monetary value summaryThe invoice total
CTTTransaction totalsNumber of line items
SE / GE / IEATrailersClose the transaction, group and interchange, with counts

Segment purposes as described in a published X12 4010 trading partner guide (Insight).

Every big buyer publishes its own guide on top of the standard, saying which segments are required and how to fill them. Read your buyer's guide first, because "we followed the standard" has never once gotten a rejected invoice paid.

EDI invoice example, line by line

Here is a short, simplified EDI 810 for two line items. I built it in the X12 4010 style, then checked the math twice, because Pixel will not do it for me.

ISA*00*...*ZZ*SUPPLIER*ZZ*BUYER*...~ GS*IN*SUPPLIER*BUYER*20260302*1030*123*X*004010~ ST*810*0001~ BIG*20260302*INV-1042*20260225*PO-55871~ N1*BT*Northfield Retail Inc~ N1*RE*Bluegate Supply LLC~ IT1*1*10*EA*29.99**VP*ABC-100~ IT1*2*4*BX*12.50**VP*ABC-220~ TDS*34990~ CTT*2~ SE*9*0001~ GE*1*123~ IEA*1*000000123~
Simplified EDI 810 example (X12 4010 style, envelope shortened). Real files follow each trading partner's guide.
LineWhat it says
BIG*20260302*INV-1042*20260225*PO-55871Invoice INV-1042, dated 2 March 2026, for PO-55871 dated 25 February 2026
N1*BT / N1*REBill to Northfield Retail Inc, remit payment to Bluegate Supply LLC
IT1*1*10*EA*29.99**VP*ABC-100Line 1: 10 each at $29.99, vendor part number ABC-100
IT1*2*4*BX*12.50**VP*ABC-220Line 2: 4 boxes at $12.50, vendor part number ABC-220
TDS*34990Invoice total of $349.90, with the decimal implied
CTT*2Two line items
SE*9*0001Nine segments in this transaction, from ST to SE

That TDS line trips everyone up once. In this guide's convention the total has two implied decimals, so 34990 means $349.90, while the unit prices in IT1 carry an explicit decimal point. A published trading partner guide shows the same pattern: TDS*2999 for a $29.99 invoice [nobody panics about the $2,999 invoice, except everybody, once].

Whether amounts carry implied decimals depends on the element and your partner's guide, so check it. Pixel checked nothing, and she has never been paid.

How EDI invoices are sent

Writing the 810 is half the job. The other half is getting it to the buyer, which happens through one of three pipes [none of them involve a fax, you are welcome].

MethodHow it worksGood for
VAN (value-added network)A third party receives, stores and forwards messages between partnersMany trading partners, one connection
AS2Direct, secure transfer over the internet between two partnersHigh-volume partners who want no middleman
API or SFTPFiles or calls between systems, often through an EDI providerModern platforms and integrations

IBM describes a VAN as one where "a third-party network manages the data transmission". AS2 is an internet standard, RFC 4130, which "describes how to exchange structured business data securely using the HTTP transfer protocol".

Why EDI invoices get rejected

EDI is fast, which also means it rejects you fast [faster than Pixel rejects a new brand of cat food]. Most rejections come from a short list.

RejectionUsual causeFix
PO not foundWrong or missing PO number in BIGCopy the PO number exactly from the 850
Price mismatchUnit price differs from the POInvoice at the PO price, or get a PO change first
Quantity mismatchBilled more than was shippedInvoice what the 856 says was shipped
Out of balanceLines do not add up to TDSRecalculate, mind the implied decimals
Unit of measureEA on the PO, CA on the invoiceUse the buyer's unit of measure
Duplicate invoice numberSame invoice sent twiceUnique invoice numbers, resend only on request

Retailers back their guides with fees. The Designer Brands (DSW) vendor policy, for example, lists "No/Late/Unusable EDI Functional Acknowledgement (997) transmission $250 per EDI message", and $150 per occurrence for multiple invoices per PO or shipment.

EDI invoice processing on the receiving side

For the buyer's AP team, EDI invoice processing is wonderfully boring, which is the highest compliment in accounts payable.

1

Receive and acknowledge

The 810 arrives through the VAN, AS2 or API, and a 997 goes back.

2

Translate

EDI software maps the 810 into the ERP's invoice format.

3

Validate and match

The invoice is checked against the PO and the receipt.

4

Approve or route the exception

Matches flow through, mismatches go to a person.

5

Pay and remit

Payment goes out, often with an 820 remittance advice.

The catch is the word "mapping". Each new trading partner needs its own setup, which is why EDI is common between big partners and rare with small suppliers [the small supplier is still emailing you a PDF, right now].

If you are rolling out automation across all of AP, not just EDI, our guide to accounts payable automation best practices covers the order to do it in.

EDI vs e-invoicing networks like PEPPOL

EDI is not the only way to send structured invoices any more. E-invoicing networks let you connect once and reach everyone else on the network, instead of mapping partner by partner [like a group chat, but for invoices, and with fewer memes].

Traditional EDIE-invoice network
ConnectionOne setup per trading partnerConnect once through an access point
FormatX12 810 or EDIFACT INVOICUsually UBL, such as PEPPOL BIS Billing 3.0
Where you see itRetail, manufacturing and distribution supply chainsPEPPOL in Europe and beyond, DBNAlliance in the US

In Europe, "Peppol is not a portal, or a provider of exchange services. Peppol is an enabler", using a four-corner model where buyers and suppliers each connect through an accredited service provider. In the US, the Federal Reserve describes the e-invoice exchange framework as "a set of standards, policies and guidelines enabling businesses to connect once", now run by the Digital Business Networks Alliance.

The volume is real. Billentis estimates that "In 2026, around 87 billion B2B e-invoices were issued worldwide". Read our guides to what an e-invoice is and e-invoicing vs traditional invoicing if PEPPOL is new to you.

What about suppliers who cannot send EDI?

Here is the part the EDI vendors skip: many of your suppliers will never send you an 810. They are too small, the setup is too expensive, or they simply like PDFs [some suppliers love PDFs the way Pixel loves the printer].

Those invoices still need to end up as clean, structured data in your ERP, ideally in the same shape as your EDI invoices. That is where invoice capture comes in: the PDF is read, the fields and line items are extracted, checked, and delivered.

PDF invoices, turned into clean data

ECIT Digital reads PDF and paper invoices with AI, our team checks every field the AI is unsure about, and the data goes straight into your ERP or AP tool with 99.8% accuracy guaranteed. You pay per document, with no license. See PDF to electronic invoice.

ECIT Digital validation view: invoice header and line data validated by a person, 99.8% accuracy
Our validation view: fields the AI is unsure about get checked by a person before delivery.

And for suppliers ready to go structured without EDI, PEPPOL e-invoicing gives them a network route instead of a partner-by-partner one. Between EDI for the big partners, PEPPOL for the willing and capture for everyone else, every invoice can arrive as data.

Every invoice as data, not just the EDI ones

PDF and paper invoices into your ERP, 99.8% accuracy guaranteed

Our AI reads the invoices your suppliers will never send as EDI, our team checks what the AI is unsure about, and clean data lands in your system. You pay per document.

As for Pixel: she still walks across my keyboard, but now I can tell her work from a real EDI file. Hers has no TDS segment, and frankly no respect for implied decimals [she is a cat, she does not do decimals].

Sondre Bratlandsmo

November 3, 2026

Frequently asked questions

What is an EDI invoice?

An EDI invoice is an invoice sent as structured data, computer to computer, in a standard EDI format instead of as a PDF or on paper. In North America it is usually the ANSI X12 810 Invoice transaction set. Internationally it is the UN/EDIFACT INVOIC message.

What is an EDI 810?

The EDI 810 is the X12 Invoice transaction set. A supplier sends it to bill a buyer for goods or services, usually after the buyer's 850 purchase order and the supplier's 856 advance ship notice. It contains the invoice number and date, the PO number, line items with quantities and prices, and the invoice total.

What is the difference between an EDI invoice and an e-invoice?

Both are structured invoices that software can read automatically. Traditional EDI invoices use X12 or EDIFACT formats and are set up partner by partner, often through a VAN or AS2. E-invoices on networks such as PEPPOL usually use UBL and let a company connect once, through an access point, to reach everyone on the network.

What does an EDI 810 invoice contain?

An EDI 810 is made of segments. The main ones are BIG (invoice date, invoice number, PO date and PO number), N1 (parties such as bill-to and remit-to), IT1 (one segment per line item, with quantity, unit and price), TDS (invoice total) and CTT (number of line items), wrapped in ST/SE and envelope segments.

Why do EDI invoices get rejected?

Common reasons are a missing or wrong PO number, a price or quantity that does not match the PO or ship notice, line items that do not add up to the total, the wrong unit of measure, and duplicate invoice numbers. Each buyer's EDI guide lists its exact requirements.

How can I process invoices from suppliers who do not use EDI?

Suppliers without EDI can send e-invoices through a network such as PEPPOL, or keep sending PDFs that are converted into structured data with invoice capture. ECIT Digital reads PDF and paper invoices, has a person check any field the AI is unsure about, and delivers the data to your ERP with 99.8% accuracy guaranteed.

Relevant articles

Accounts Payable Automation Best Practices: The Order That Works

Best practises
Sondre Bratlandsmo

Document Process Automation: How It Works and Use Cases

Best practises
Sondre Bratlandsmo

What Is an E-Invoice? Formats, Rules and Deadlines

Best practises
Sondre Bratlandsmo