Billing, AR & Deductions · IN · GS*RA

EDI 820: Payment Order & Remittance Advice. Explains one ACH deposit: which store invoices it pays and which deductions it takes.

01 · At a glance

Plain English vs. X12 specification.

Next: EDI 852 Product Activity (POS)
Direction & GroupInbound · GS*RA
Partners includeLowe's, Home Depot, Kroger, Costco, Albertsons, Ace, Do It Best, True Value
Grower RoleReconciles one ACH payment across hundreds of store invoices
Common issueNegative RMR lines & dual-ISA division files
Plain English Grower Operations
ACH payment detailBreaks one lump-sum ACH deposit into hundreds of store payments.
Invoice matchingCloses paid 810 invoices and links short-pays to 812 deduction codes.
Pay-by-Scan (PBS) PayoutSome Pay-by-Scan retailers bill themselves from scan data and pay with an 820, which can list adjustments next to each payment line.
Cash ApplicationReplaces days of manual accounts receivable (AR) line matching during spring peak.
Common IssuePosting only RMR04 (amount paid) hides short-pays. Check it against RMR05 (invoice amount before discount), RMR06 (discount taken) and each ADX deduction: $468.00 less $9.36 less $94.50 leaves $364.14 paid.
ANSI X12 / UCS Technical Specification
Envelope & HeaderGS01='RA'; BPR02=Total Payment ($), BPR04='ACH', BPR16=Settlement Date.
Trace & EntitiesTRN*1*<Trace#> (ACH Trace ID); N1*PR (Payer), N1*PE (Payee Grower).
Store Loop (ENT)ENT scopes by store; RMR*IV*<Inv#> lists Net Paid, Gross, Discount.
Deduction Cross-RefADX01=Adjustment Amount, ADX02=Reason Code, ADX03/04=reference to the 812 adjustment number (BCD02).
Control & ValidationSE closes the remittance and counts every segment in the file.
02 · Line-by-line X12 specification

X12 segment breakdown & raw sample.

Segment Plain-English Meaning Key X12 Elements
BPR$36,417.50 ACH Payment Settling April 23, 2026Tells your controller that an ACH payment for exactly $36,417.50 will hit your operating account on April 23, 2026.
BPR02$36,417.50 (Total ACH Payment)
BPR04/05ACH / CTX (Corporate Trade Exchange)
BPR1620260423 (Settlement Date)
TRNACH Bank Trace ID (#ACH202604230098412)The payer's trace number for this payment. Most banks show it in the ACH deposit detail, so you can match the deposit to this remittance.
TRN02ACH202604230098412
Bank MatchMatches ACH deposit detail
Originator1589902104
DTM*009Retailer Payment Issue DateRecords that the retailer's accounts payable system cut this payment batch on April 21, 2026.
DTM01009 (Process Date)
DTM0220260421 (Apr 21, 2026)
ACH Float2 days before BPR16 settlement
N1*PR & ENTPayer & Store #1242 Remittance EntityIdentifies the retail corporate Accounts Payable entity issuing the payment for Garden Center #1242.
N101PR (Payer Entity)
N1040722717
LoopOpens ENT*1 Remittance Loop
RMR*IVInvoice #INV-904812 Paid $364.14 ($468.00 Gross less $9.36 Discount and $94.50 Deduction)Shows that Invoice #INV-904812 ($468.00 gross) was paid $364.14 after a 2% early-pay discount ($9.36) and the $94.50 deduction itemized in the ADX below.
RMR02INV-904812 (Invoice #)
RMR05 → RMR04$468.00 gross, $364.14 paid
RMR06$9.36 (2% Early-Pay Discount)
REF*POLinks Payment to PO #08096470Ties the payment row back to Purchase Order #08096470.
REF01/02PO / 08096470
DTM*00320260416 (Invoice Date)
ADXSubtracts $94.50 Deduction (#ADJ-90412 from the 812)Subtracts the $94.50 damaged-plant deduction and gives you the exact lookup key (#ADJ-90412) to open the matching 812 document.
ADX01-$94.50 (Deduction Taken)
ADX04ADJ-90412 (Joins 812 BCD02)
Net Cash on Inv$468.00 less $9.36 less $94.50 = $364.14 (netted into RMR04)
SERemittance Envelope TrailerCloses the transaction set. SE01 counts every segment from ST to SE across all 400 invoices, so a dropped segment gets caught. Your AR system checks that the invoice and deduction lines add up to the $36,417.50 payment.
SE011,612 segments, ST to SE (full file, one invoice shown)
AR CheckYour system checks that RMR04 totals (plus any ENT-level ADX) equal BPR02
01  ST*820*000219044~02  BPR*I*36417.50*C*ACH*CTX*01*999999999*DA*123456789*1589902104**01*999999998*DA*987654321*20260423~03  TRN*1*ACH202604230098412*1589902104~04  DTM*009*20260421~05  N1*PR*RETAIL NATIONAL AP*92*0722717~06  N1*PE*SAMPLE GROWER NURSERY*92*4409821~07  ENT*1~08  RMR*IV*INV-904812**364.14*468.00*9.36~09  REF*PO*08096470~10  DTM*003*20260416~11  ADX*-94.50*CS*CM*ADJ-90412~    (12 to 1611: remittance lines for the other 399 invoices)1612  SE*1612*000219044~
Walk through your trading-partner map

Bring your retail EDI requirements to a Thursday.

Book a Grower Thursdays session with John Beauford, our Chief Technology Officer, or Stephen van Wingerden, our Chief Innovation Officer, and bring your retailer's EDI requirements.