An EDI 820 is a payment order and remittance advice. In plain words, it's the note that comes with the money: how much was paid, on what date, and which invoices it covers. It also says what was held back from each invoice, which is the part a small supplier needs most. One segment, BPR, carries the total. Then there's an RMR for each invoice, and an ADX wherever the customer deducted something. Read those three and you can match a deposit to your invoices in a few minutes. Below is a made-up 820 for two invoices, and a sheet that checks it.
The short version
- 820 is the payment and remittance document in the X12 standard used in North America.
- BPR holds the total paid, how it was paid and the date.
- TRN holds a trace number that matches the 820 to the deposit at your bank.
- RMR is one invoice: its number, the amount paid, the invoice amount and the discount taken.
- ADX is an adjustment: an amount and a reason code. A negative amount reduces the payment.
- TaroStack isn't an accounting system. It keeps the record of what shipped, which settles a deduction. More below.
A whole remittance
The chain pays two invoices. INV-1042 was for $677.38 and INV-1043 for $1,197.00. Terms were 1% 10, net 30. Here is the 820, with the outer envelope left off and the bank details shortened to dots:
ST*820*0001
BPR*C*1798.04*C*ACH*...*20261228
TRN*1*0098127364
N1*PR*VALLEY MARKETS
N1*PE*KOA SAUCE CO
ENT*1
RMR*IV*INV-1042**670.61*677.38*6.77
RMR*IV*INV-1043**1127.43*1197*11.97
ADX*-57.6*06
SE*10*0001
In words: Valley Markets paid $1,798.04 by ACH on December 28, 2026, trace number 0098127364. For INV-1042 it paid $670.61, the invoice less a $6.77 discount. For INV-1043 it paid $1,127.43: the invoice, less an $11.97 discount, less $57.60 for a quantity it disputes.
Segment by segment
| Segment | What it carries | In the example |
|---|---|---|
| BPR | How the payment is handled, the total, credit or debit, the method, the banks and accounts, the date | $1,798.04, a credit, by ACH, December 28 |
| TRN | A trace number for the payment | 0098127364 |
| N1 | A party, with a code saying which | PR is the payer, PE is the payee |
| ENT | Opens the list of what's being paid | List 1 |
| RMR | One invoice being paid | Two of them |
| ADX | An adjustment and its reason | −$57.60, code 06 |
BPR. The first place says what the document is doing. C means the payment comes with this remittance advice. I means remittance information only: the money is travelling separately. D means make the payment only. The second place is the total. If it doesn't equal your RMR lines added up, something is missing from the file.
TRN. The trace number is the thread between this file and the money. When the payment and the remittance travel separately, it's how the two are matched. Ask your bank where it shows that number for a deposit.
The RMR segment
RMR*IV*INV-1043**1127.43*1197*11.97
| Place | Holds | Here |
|---|---|---|
| 1 | What kind of number follows | IV, the seller's invoice number |
| 2 | The number | INV-1043 |
| 3 | A payment action code | Empty |
| 4 | The amount paid | 1127.43 |
| 5 | The invoice amount, before any terms discount | 1197 |
| 6 | The discount taken | 11.97 |
Amounts here carry their decimal point, and a whole number of dollars may be written with no cents at all. That's unlike the total of an EDI 810, which is written in cents.
The ADX that follows belongs to the invoice above it. ADX*-57.6*06: the amount, signed, and a reason.
06 is "quantity contested" in the standard's list. Others you may meet are 01, a pricing error, and 04, an
item not accepted because it was damaged. Your customer's guide lists the codes it uses.
So for INV-1043: $1,197.00 − $11.97 − $57.60 = $1,127.43. It adds up. Whether it's right is another matter.
Checking it
| Invoice | Your total | Invoice amount on the 820 | Discount | Adjustment | Paid | Short of your invoice |
|---|---|---|---|---|---|---|
| INV-1042 | $677.38 | $677.38 | $6.77 | $0.00 | $670.61 | $6.77 |
| INV-1043 | $1,197.00 | $1,197.00 | $11.97 | −$57.60 | $1,127.43 | $69.57 |
| Total | $1,874.38 | $18.74 | −$57.60 | $1,798.04 | $76.34 |
Three questions, in order.
- Does the 820 add up? Each line: invoice amount, less discount, plus adjustment, equals paid. The paid column equals BPR. Here it does.
- Was the discount earned? 1% for paying within 10 days. If the payment came on day 27, it wasn't.
- Is the deduction right? $57.60 is two cases at $28.80. The customer says it received two fewer than you billed. Either you shipped short, or you didn't, and only your shipping record can say.
What to do with a deduction you don't agree with is in customer deductions. The terms behind the discount are in net 30 terms.
820 and 823
The 823 is a lockbox document. A bank, or another lockbox service, sends it to a company to report the incoming payments it received for that company, with totals. The 820 explains one payment, from the side of whoever is paying.
Get the sheet
Download the 820 remittance sheet. One sheet and a read-me: a row for each invoice, with your own total, then the invoice amount, discount, adjustment and amount paid from the 820. It says whether each line adds up and how far short of your invoice the payment is. 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 can tell you that $57.60 was held back and that the customer's code says "quantity". It can't tell you whether two cases were missing. For that you need what was picked for that order, what the delivery note said, and what the receiver signed. If those are in a folder, a camera roll and somebody's memory, most small deductions go unchallenged, because finding the proof costs more than the two cases.
How TaroStack does it
TaroStack is not an accounting system and does not post journal entries: remittances and deductions stay in your books. What it keeps is the record that settles one.
The sales order has the customer's lines, quantities and prices as agreed. There's one picking list for an order, and the delivery note is made from what was picked, with each line's lot. So what left the building is on record, by order.
An order shipped short stays open, showing what's still to send. If two cases really were left behind, the order says so, and you know the deduction is fair before you write a letter.
Each delivery records which lots went to which customer. A claim that names a date code can be checked against what that customer was actually sent.
| The deduction asks | By hand | In TaroStack |
|---|---|---|
| What was ordered, at what price | The order email | On the sales order |
| What was picked and sent | A pick sheet, if kept | The picking list and delivery note |
| Was the order shipped in full | Compare by hand | Partly shipped, with what's left |
| Which lots they received | Unknown | On the delivery, by lot |
Customers, sales orders, picking lists and delivery notes 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.
