Skip to content

EDI 820 Sample File: Remittance Advice

ACH payment for 2 invoices with deductions. Valid X12 004010, explained segment by segment, free to download.

A synthetic file: made-up companies, IDs and amounts, safe to load into a test system.

An EDI 820 tells a supplier what a customer paid and why. This sample pays 439.30 by ACH against two invoices: RMR lines show what each invoice was and what was paid, and ADX lines explain a 250.00 label chargeback, a 200.00 late-ASN deduction and a 3.70 terms discount.

Standard
X12 820
Version
004010
Sent by
Buyer to supplier
Segments
22

sample-820-remittance-advice.edi

From KROGER to SUNNYFARMS. Click a line to jump to its explanation.

Open in EDI Inspector
ISA*00*          *00*          *ZZ*KROGER         *ZZ*SUNNYFARMS     *261020*0700*U*00401*000881201*0*P*>~GS*RA*KROGER*SUNNYFARMS*20261020*0700*881201*X*004010~ST*820*0001~BPR*C*439.30*C*ACH*CTX*01*071000013*DA*1234567890*1234567890**01*021000021*DA*9876543210*20261020~TRN*1*0009912345*1123456789~CUR*PR*USD~DTM*097*20261020~N1*PR*THE KROGER CO*92*KR001~N1*PE*SUNNY FARMS FOODS*92*SUN001~ENT*1~ADX*-250.00*FY*1X*DM-889021~NTE*ADD*CARTON LABELS DID NOT SCAN AT DC 014~RMR*IV*INV-20931**508.00*708.00~REF*PO*PO-778120~DTM*003*20261014~ADX*-200.00*70*TD*ASN NOT RECEIVED BEFORE ARRIVAL~RMR*IV*INV-20950**181.30*185.00*3.70~REF*PO*PO-778301~DTM*003*20261021~SE*18*0001~GE*1*881201~IEA*1*000881201~

820 Sample, Segment by Segment

Every segment and element, with what each code means. The 6 segments with a note are open; open any other to see its elements.

Reconcile this 820

The 820 remittance reader lists every invoice, payment and deduction and builds the dispute facts.

Open the free tool

About This 820 Sample

Cash application lives in the 820. BPR gives the payment, TRN the trace number that matches the bank deposit, and each RMR the invoice it pays. Any gap between invoiced and paid should have an ADX with a reason code; if it does not, you have a short payment to chase.

Grocery and big-box retailers send deductions this way. Match each one to your ASN and delivery records before you accept it.

For every segment the standard allows and how retailers use them, read the EDI 820 guide. To check a file of your own, paste it into the EDI Inspector, or browse all 22 EDI sample files.

Related Sample Files

Frequently Asked Questions

What is an EDI 820?

An EDI 820 tells a supplier what a customer paid and why. This sample pays 439.30 by ACH against two invoices: RMR lines show what each invoice was and what was paid, and ADX lines explain a 250.00 label chargeback, a 200.00 late-ASN deduction and a 3.70 terms discount.

Can I use this EDI 820 sample to test my system?

Yes. It is a complete, valid X12 file of 22 segments with made-up companies, IDs and amounts. Download it as .edi or .txt, load it into your translator or ERP test environment, and change the sender and receiver IDs to your test IDs if your system routes by them.

How do I check my own EDI 820 file?

Paste it into the free OrderSync EDI Inspector. It names every segment and element, checks the envelope counts and control numbers, tests GS1 check digits, and points at the exact segment a trading partner would reject. Nothing is uploaded: the file is read in your browser.