EDI 810 invoice

The supplier's invoice in X12. The viewer opens with an example 810 and checks its lines against the total.

The viewer reads the delimiters from the ISA segment. The text is read in this browser and never uploaded.

What an EDI 810 is

The 810 is the X12 invoice. X12 describes it as the transaction set for billing goods and services. The supplier sends it when the goods or services are delivered, or at another time the two companies agreed. The buyer's accounts payable team matches it against the purchase order and the receipt before paying.

The 810 segment by segment

This table follows the example in the viewer above, the invoice for the shipment on the 856 page:

SegmentWhat it carriesIn the example
ISAThe interchange header: sender and receiver IDs, date and time, the control number, and the delimitersISA*00* *00* *ZZ*QUILLFIELD *ZZ*FERROVA...
GSThe functional group header: the group code, the version, and the group control numberGS*IN*QUILLFIELD*FERROVALE*20261014*1640*554*X*004010~
STThe start of one transaction set, with its number and control numberST*810*0001~
BIGThe invoice: invoice date and number, purchase order date and numberBIG*20261014*INV-260418*20261005*4500012345~
CURThe currency of the amountsCUR*SE*USD~
REFA reference number, such as BM for the bill of ladingREF*BM*QF-BOL-88213~
N1, N3, N4The parties, such as remit-to and ship-to, with addressesN1*RI*Quillfield Enclosures Inc.*92*V-20417~ and 1 more
ITDPayment terms: discount percent and days, net daysITD*01*3*2**10**30~
DTMA date, such as 011 for shippedDTM*011*20261014~
IT1One invoice line: quantity, unit, unit price, and product IDsIT1*1*12*EA*412.50**BP*FIS-71402*VP*QE-1614-8-SS~ and 3 more
PIDThe description of the line above itPID*F****Stainless steel wall-mount enclosure, NEMA 4X, 16 x ... and 3 more
TDSThe invoice total in cents, with two implied decimalsTDS*913600~
SACAn allowance or a charge, such as D240 for freightSAC*C*D240***18500**********Freight~
ISSThe number of units shippedISS*86*EA~
CTTThe number of lines and a hash total of the quantitiesCTT*4*86~
SEThe end of the set: the number of segments from ST to SE, and ST's control numberSE*23*0001~
GE and IEAThe ends of the group and the interchange, each with its count and control numberGE*1*554~

How the TDS total works

TDS01 is the invoice total, and it is written with two implied decimal places and no decimal point: 913600 means 9,136.00. 3M's 810 guide defines it as the total including charges and less allowances, before any terms discount. The US Department of Veterans Affairs guide spells out the implied decimals. SAC05, the amount of an allowance or charge, is written the same way.

The viewer reads TDS01 in cents, adds up the lines, allowances, charges, and taxes, and says when the two disagree.

The example explained

BIG*20261014*INV-260418*20261005*4500012345~ is invoice INV-260418, dated October 14, 2026, for purchase order 4500012345 of October 5, 2026. It bills what the 856 shipped, so line 2 carries 12 of the 20 ordered:

LineQuantityUnit priceAmount
112412.504,950.00
212268.003,216.00
31238.75465.00
4506.40320.00
Freight (SAC D240)185.00
Total, TDS019,136.00

The lines come to 8,951.00. SAC*C*D240***18500... adds a 185.00 freight charge, coded D240, so TDS*913600~ carries 9,136.00. ITD repeats the terms of the order, and CTT counts 4 lines and 86 units.

Get paid on orders that never needed retyping

ThriveAI's order desk reads purchase orders that arrive by email and matches each line to your items and that customer's prices. It drafts the ERP order for a person to approve. Derik will tell you what a four-week build would cover.

See order desk automation

Allowances, charges, and taxes

SAC carries an allowance or a charge, on the whole invoice or on one line. In 3M's 810 guide, SAC01 is A for an allowance or C for a charge, and SAC05 is the amount, in cents like TDS01. SAC02 names the reason, such as D240 for freight, and SAC15 can describe it in words. TXI carries a tax amount when the invoice includes tax. The viewer adds charges and taxes to the lines, and takes allowances away, before it compares the result with TDS01.

Buyers differ here: Ariba's sample repeats line taxes as an invoice total after TDS, and Wakefern rejects a repeated charge. The viewer accepts a TDS01 that matches either way of counting.

How an 810 meets the buyer's purchase order

The buyer's system matches each invoice line to the purchase order and to what was received, and pays when the three agree. SAP Ariba, for example, raises an exception when the invoiced quantity is above the received quantity, and the exception has to be cleared before payment. Ariba's 810 guide also asks that the purchase order date in BIG03, when sent, match the order.

Invoice the quantities the 856 shipped. In the example, line 2 bills the 12 that shipped, and the 8 on backorder go on a later invoice when they ship. The guide to AI invoice processing covers the same match on the receiving side, for invoices that arrive as PDFs.

Common reasons an 810 is rejected

Kroger's invoicing standards name out-of-balance invoices as the top reason its auto pay system rejects invoices. The rest of the list comes from the same kind of public guides:

Where the 810 sits in order to cash

The 810 follows the 856 ship notice, and the buyer's 820 payment closes the cycle, with a 997 after each document. The guide to the quote to cash process starts the chain at the quote, and the order to cash guide starts it at the order.

Where AI helps

An 810 bills the order the supplier holds, so a mistake keyed into that order reaches the invoice. When customers email their purchase orders instead of sending EDI, ThriveAI's order desk reads each one. It matches the lines to your items and that customer's prices, and drafts the ERP order for a person to approve. The invoice then starts from an order that was checked line by line.

Questions

What is the EDI code for an invoice?
In ANSI X12 the invoice is transaction set 810, and it travels in a functional group whose GS01 code is IN. The 810 carries the invoice number and date in BIG, one IT1 segment per line, and the total in TDS.
What is EDI 820 payment?
The 820 is the payment order and remittance advice. In X12's supply chain flow, the buyer sends it after the 810 invoice, to pay and to say which invoices the payment covers. A 997 goes back for it too, and the 820 closes the cycle that the 850 opened.
How is TDS calculated in an 810?
TDS01 is the invoice total, including charges and less allowances, before any terms discount. It is written in cents with no decimal point, so 9,136.00 is TDS*913600. The viewer on this page checks it against the lines, allowances, charges, and taxes.
Why was my EDI invoice rejected?
Buyers' published guides name a total that does not balance with the lines and a missing purchase order number. They also list a line with zero quantity or cost, a charge repeated at two levels, and more billed than was received. Paste the 810 into the viewer on this page to check the totals.
What does BIG mean in an 810?
BIG is the beginning segment of the invoice. In Ariba's 810 guide, BIG01 is the invoice date, BIG02 the invoice number, BIG03 the purchase order date, and BIG04 the purchase order number. Buyers' guides differ on which of these they require, so check your customer's.
Can I export an 810 to Excel?
Yes. Open the 810 in the viewer on this page and select Download CSV. Each IT1 line becomes a row with its quantity, unit, unit price, amount, part numbers, and description. The file opens in Excel, and nothing is uploaded.

Contact

Bill from orders that were checked line by line

Tell Derik how orders that arrive by email reach your ERP today. He will tell you what a four-week order desk build would cover.

Prefer to talk? Book a meeting.

Your message goes to Derik Lawlis, the founder.