An EDI 810 is an invoice sent computer to computer. It carries what any invoice carries: your invoice number, the customer's purchase order number, what was shipped, the price, the terms and the total. The buyer's system checks it against the order and the receipt without a person looking, and pays it or rejects it. So small slips that a person would shrug at get an invoice refused. Below is a made-up 810, segment by segment, the two places new suppliers slip most, and a sheet for the total.
The short version
- 810 is the number of the invoice document in the X12 standard used in North America.
- BIG holds the invoice date and number, and the PO date and number it bills.
- IT1 is a line: quantity, unit, price, item code. ITD is the payment terms.
- SAC is an allowance or a charge. TDS is the total.
- TDS and SAC amounts are written in cents, with no decimal point.
- TaroStack doesn't send EDI. It keeps the record of what really shipped. More below.
A whole invoice
Here is a small 810, with the outer envelope left off:
ST*810*0001
BIG*20261209*INV-1042*20261201*4500012345
N1*RI*KOA SAUCE CO
N1*ST*STORE 114*92*0114
ITD*01*3*1**10**30
IT1*1*24*CA*28.80**UP*012345678905
TDS*67738
SAC*A*C310***1382
CTT*1
SE*10*0001
In words: invoice INV-1042, dated December 9, 2026, billing purchase order 4500012345 of December 1. Shipped to store 114. Terms are 1% in 10 days, net 30. One line: 24 cases at $28.80, which is $691.20. A 2% promotional discount, $13.82, comes off. The total is $677.38.
Segment by segment
| Segment | Its name | What it carries |
|---|---|---|
| ST | Start | The document type, 810, and a control number |
| BIG | Beginning of the invoice | Invoice date, invoice number, PO date, PO number |
| N1 | Name | A party and a code saying which: RI is remit to, ST is ship to |
| ITD | Terms | Discount percent, discount days, net days |
| DTM | Date | A date with its code, such as 011 for shipped |
| IT1 | Line item | Line number, quantity, unit, price, item codes |
| TDS | Total | The invoice total |
| SAC | Allowance or charge | A for allowance, C for charge, a code for the reason, and the amount |
| CTT | Totals | The number of lines |
| SE | End | A count of segments and the control number again |
BIG. BIG*20261209*INV-1042*20261201*4500012345. The PO number must be the buyer's, exactly as it
came on the order. An invoice against a PO number the system can't find has nothing to be matched to.
IT1. IT1*1*24*CA*28.80**UP*012345678905. The same shape as the line on the order: line, quantity,
unit, price, the kind of item code, the code. Bill what shipped, in the unit it was ordered in, at the
price on the order. If you shipped 22 cases, the line says 22.
ITD. ITD*01*3*1**10**30. One percent off if paid within 10 days, otherwise due in 30. The terms
must be the ones the customer has on file for you.
The total has no decimal point
TDS*67738 is $677.38.
The amount in TDS is written in cents. So is the amount in SAC: 1382 is $13.82. Send 677.38 and the
buyer's system may read it wrong or refuse it.
| Dollars | Written in TDS or SAC |
|---|---|
| $677.38 | 67738 |
| $1,197.00 | 119700 |
| $13.82 | 1382 |
| $45.00 | 4500 |
Unit prices in IT1 are different. They keep their decimal point: 28.80.
The SAC segment
SAC is anything that changes the total apart from the lines: a promotional allowance, a freight charge, a pallet charge.
SAC*A*C310***1382
| Place | Holds | Here |
|---|---|---|
| 1 | A for allowance, C for charge | A |
| 2 | A code for the reason | C310 |
| 5 | The amount, in cents | 1382 |
The reason codes are the buyer's choice from a long list, and its guide says which to use. C310 is the one I've used here for a discount. Don't guess one. A wrong code can send the allowance to the wrong account, and then the buyer takes the money a second time as a deduction.
Two invoices, worked:
| Invoice | Lines total | Allowance | Charge | Invoice total | TDS as written |
|---|---|---|---|---|---|
| INV-1042 | $691.20 | $13.82 | $0.00 | $677.38 | 67738 |
| INV-1043 | $1,152.00 | $0.00 | $45.00 | $1,197.00 | 119700 |
The sum the buyer's system runs is the same one: the lines, less allowances, plus charges, must equal TDS. If it's a cent out, the invoice fails.
What allowances are and how they add up over a year is in trade spend, and the kind taken straight off the invoice is in off-invoice allowance.
Why invoices get refused
The buyer's system does a three-way match: the order, what its warehouse received, and your invoice.
| The slip | What the system sees |
|---|---|
| Billed 24, shipped 22 | Invoice more than receipt |
| Billed in eaches, ordered in cases | Quantity 288 against 24 |
| Old price on the invoice | Price doesn't match the order |
| PO number mistyped | No order to match |
| Total with a decimal point | A total a hundred times out, or unreadable |
Most of these are settled by one habit: build the invoice from what was actually picked and shipped, not from the order as it was placed. The order itself is covered in EDI 850. If an invoice was paid short, see short-paid invoice.
Get the sheet
Download the 810 totals sheet. One sheet and a read-me: type an invoice's lines total, allowance and charge, and it works out the invoice total and how TDS and SAC are written. The two invoices above are filled in. It's an ordinary Excel file with no macros, and it works in Google Sheets, LibreOffice and Numbers.
Where this stops working
The sheet gets the total right. It can't know that 22 cases went on the truck and not 24. That fact lives wherever picking was recorded. If it was recorded on a clipboard that stayed in the warehouse, the invoice is built from the order, and the mismatch is found by the customer.
How TaroStack does it
TaroStack doesn't send or receive EDI documents. It keeps the stock side of every invoice: the order, what was picked, the lots and the delivery note.
An order shipped in part stays open, showing as partly shipped with what's still to send. So what to bill is what the order shows as shipped.
There's one picking list for an order, and what ships is recorded by lot as it's picked. Delivery notes print with each line's lot and best-before date, for what was actually shipped.
Margins are reported by product and by customer, on what things actually cost, so you can see what an order earned once the allowance is off.
| The job | Clipboard | In TaroStack |
|---|---|---|
| What actually shipped | The order, hopefully | The order against what was picked |
| What's still owed to the customer | Remembered | Partly shipped, with what's still to send |
| Lots on the delivery | Copied by hand | On the delivery note |
| What the customer earned you | Unknown | Margins by customer |
Stock, lots and sales orders are on every plan, from $9.99 a month. The first 14 days are free, with no credit card. If you'd like a hand setting up, ask, and we'll do it with you.
