A Guide to 820 EDI for Greenhouse Growers
During peak spring shipping, a single Thursday morning ACH bank payment from Lowe’s, Home Depot, Kroger, Costco, Albertsons, Ace, Do It Best, or True Value can settle 400 individual store deliveries and subtract dozens of store deductions in one lump sum. The ANSI X12 820 Payment Order/Remittance Advice (GS*RA) is the electronic treasury document that itemizes every paid invoice, early-pay discount, and subtracted deduction inside that ACH deposit.
Quick Scorecard: EDI 820 at a Glance
The electronic remittance advice accompanying a retailer’s ACH bank payment or EFT deposit, listing every paid 810 invoice, any self-billed Pay-by-Scan settlement lines, and every subtracted 812 deduction.
Partners include Lowe’s, Home Depot, Kroger, Costco, Albertsons, Ace, Do It Best, and True Value to reconcile one ACH payment across hundreds of store invoices.
A single spring ACH payment from a big-box retailer can bundle 400 store invoices and 60 deductions. Without structured 820 reconciliation, AR teams spend days matching bank deposits in spreadsheets.
Posting only RMR04 (net paid) hides short-pays and negative RMR rows. Compare RMR04 against RMR05 (gross billed), RMR06 (discount taken), and each ADX deduction: $468.00 less $9.36 less $94.50 leaves $364.14 paid.
Side-by-Side: Plain-English Operations vs. ANSI X12 Technical Spec
One ACH bank deposit in your checking account, 400 store invoices and deductions inside.
When a major retailer pays your nursery on Thursday morning, they do not send 400 separate checks for 400 store deliveries. They initiate a single lump-sum ACH payment (using CTX corporate trade exchange or CCD/CCP format) and transmit an EDI 820 Payment Order/Remittance Advice explaining how that exact dollar total was calculated.
Inside the 820, each remittance line resolves into one of four accounting outcomes: (1) Paid in Full (less contracted early-pay terms discount), (2) Short-Paid with an explicit ADX deduction code linking to an 812 adjustment, (3) Paid net of an implicit program or merchandising fee, or (4) Negative RMR or unmatched credit/debit row requiring AR review. Reconciling the 820 alongside orders and invoices in Work Suite FULFILL™ keeps cash application tied to store-level proof.
- ACH Deposit Tie-Out: BPR02 equals the exact dollar amount of the ACH payment hitting your bank account.
- Trace Number: TRN02 holds the payer’s ACH trace ID, which most banks show on the deposit detail.
- Pay-by-Scan Payout: Some Pay-by-Scan retailers self-bill from scan data and pay with an 820, listing adjustments next to each payment line.
- ACH Formats: Supports both CTX (X12 820 addenda inside the ACH file) and separate EDI 820 paired with bank CCD/CCP deposits.
X12 820 (GS*RA) BPR treasury header, TRN trace ID, and ENT/RMR/ADX remittance loops.
An inbound 820 opens with BPR (Beginning Segment for Payment Order/Remittance Advice): BPR01=‘I’ (Remittance Information Only) or ‘C’ (Payment Accompanies Remittance), BPR02=Total Payment Amount, BPR03=‘C’ (Credit), BPR04=‘ACH’ or ‘CHK’, BPR05=‘CTX’ or ‘CCP’/‘CCD’, and BPR16=CCYYMMDD settlement effective date. TRN*1 holds the unique ACH trace number.
Within the ENT (Entity) loop, each RMR (Remittance Advice Accounts Receivable Open Item Reference) segment identifies a settled document: RMR01=‘IV’ (Invoice Number) or ‘PO’ (Purchase Order Number), RMR02=Document ID, RMR04=Net Amount Paid, RMR05=Gross Original Amount, and RMR06=Discount Taken. Nested REF*PO, DTM*003, and ADX segments (ADX01=Adjustment Amount, ADX02=Reason Code, ADX03=‘CM’, ADX04=812 BCD02 Adjustment ID) tie out deductions.
- Functional Group: GS01 = ‘RA’ (Payment Order/Remittance Advice), X12 versions 004010, 004060, and 005010.
- Treasury Header: BPR (Total Payment, ACH CTX/CCP Method, Settlement Date BPR16) + TRN*1 (ACH Trace Number).
- Remittance Detail: RMR*IV / RMR*PO (RMR02=Doc #, RMR04=Net Paid, RMR05=Gross Billed, RMR06=Discount).
- Deduction Join: ADX (ADX01=Deduction $, ADX02=Reason, ADX04=812 BCD02 ID) netted into RMR04.
Verified De-Identified X12 820 Specimen
Below is a de-identified ANSI X12 820 specimen modeled on wholesale nursery traffic (showing one invoice loop from a 400-invoice remittance file). All routing numbers (999999999, 999999998), account numbers, partner IDs (0722717), purchase order numbers (08096470), and vendor IDs (4409821) are synthetic reference values:
ST*820*000219044~
BPR*I*36417.50*C*ACH*CTX*01*999999999*DA*123456789*1589902104**01*999999998*DA*987654321*20260423~
TRN*1*ACH202604230098412*1589902104~
DTM*009*20260421~
N1*PR*RETAIL NATIONAL AP*92*0722717~
N1*PE*SAMPLE GROWER NURSERY*92*4409821~
ENT*1~
RMR*IV*INV-904812**364.14*468.00*9.36~
REF*PO*08096470~
DTM*003*20260416~
ADX*-94.50*CS*CM*ADJ-90412~
Segment-by-Segment Dual-Lens Breakdown
| Segment | In Plain English (Grower Meaning) | In Technical Terms (X12 Elements & Validation) |
|---|---|---|
BPR | BPR: $36,417.50 ACH Payment Settling April 23, 2026 Tells your controller that an ACH payment for $36,417.50 settles into your operating account on April 23, 2026. | BPR*I*36417.50*C*ACH*CTX*01*999999999*DA*123456789*1589902104**01*999999998*DA*987654321*20260423~BPR01=‘I’ (Remittance Info), BPR02=‘36417.50’ (Total Payment Amount across all RMR loops in the file), BPR03=‘C’ (Credit), BPR04=‘ACH’, BPR05=‘CTX’, BPR16=‘20260423’ (Settlement Date). Routing numbers 999999999/999999998 are synthetic placeholders. |
TRN | TRN: ACH Bank Trace ID (#ACH202604230098412) The payer’s trace number for this payment, shown on most bank ACH deposit details so you can match the deposit to this remittance. | TRN*1*ACH202604230098412*1589902104~TRN01=‘1’ (Current Transaction Trace), TRN02=‘ACH202604230098412’ (EFT Trace Number), TRN03=‘1589902104’ (Originating Company ID). |
DTM*009 | DTM*009: Retailer Payment Issue Date Records that the retailer’s accounts payable system cut this payment batch on April 21, 2026 (two days before ACH settlement). | DTM*009*20260421~DTM01=‘009’ (Process Date), DTM02=‘20260421’. |
N1*PR, N1*PE & ENT | N1*PR, N1*PE & ENT*1: Payer, Payee & Remittance Loop Identifies the retail corporate AP payer and the payee grower ( SAMPLE GROWER NURSERY), then opens the remittance detail loop. | N1*PR*RETAIL NATIONAL AP*92*0722717~ + N1*PE*SAMPLE GROWER NURSERY*92*4409821~ + ENT*1~N101=‘PR’ (Payer), N101=‘PE’ (Payee), ENT01=‘1’. |
RMR*IV | RMR*IV: Invoice #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 ADX below. | RMR*IV*INV-904812**364.14*468.00*9.36~RMR01=‘IV’ (Invoice), RMR02=‘INV-904812’ (Matches 810 BIG02), RMR04=‘364.14’ (Net Paid after discount and nested ADX), RMR05=‘468.00’ (Gross Invoice Amount), RMR06=‘9.36’ (2% Terms Discount from 810 ITD). |
REF*PO & DTM*003 | REF*PO & DTM*003: Links Payment to PO #08096470 Ties the payment row back to Purchase Order #08096470 and invoice date April 16, 2026. | REF*PO*08096470~ + DTM*003*20260416~REF01=‘PO’, REF02=‘08096470’, DTM01=‘003’ (Invoice Date). |
ADX | ADX: Subtracts $94.50 Deduction (#ADJ-90412 from the 812) Explains the $94.50 damaged-plant deduction netted out of RMR04 and gives the lookup key (ADJ-90412) for the matching 812 document. | ADX*-94.50*CS*CM*ADJ-90412~ADX01=’-94.50’ (Deduction Amount), ADX02=‘CS’ (Adjustment Reason), ADX03=‘CM’ (Credit Memo Qualifier), ADX04=‘ADJ-90412’ (Foreign key to 812 BCD02). |
How the 820 Matches Invoices, ASNs, and Deductions
Whether your nursery sells on Guaranteed Wholesale terms (billed via 810) or Pay-by-Scan Consignment (where some retailers self-bill from scan data and pay with an 820, while others accept an invoice built from scan data), the inbound 820 resolves each remittance line (RMR) into one of four accounting outcomes alongside Work Suite FULFILL™:
- Paid in Full (Exact Match):
RMR04(Net Paid) plusRMR06(Contracted Terms Discount, such as 2% 30-day early pay) equalsRMR05(Gross Billed Amount) on your open810Invoice or Pay-by-Scan settlement record. - Short-Paid with Explicit
ADXDeduction Link:RMR04reflects a deduction explained by a nestedADXsegment (ADX01 = -94.50,ADX04 = ADJ-90412). JoiningADX04to the inbound EDI 812 Credit/Debit Adjustment (BCD02) reveals the exact store (N1*ST), plant UPC (LIN), and reason code (CDD) behind the short-pay ($468.00 - $9.36 - $94.50 = $364.14). - Paid Net of Implicit Program or Merchandising Fees: In certain retail and co-op programs, the buyer nets a contracted program percentage directly out of
RMR04without emitting a separateADXsegment, requiring tolerance checks against contracted program terms. - Negative
RMRor Orphan Adjustment: When a seasonal return or prior-period debit memo exceeds a store’s current settlement, the820includes a negativeRMR04row that must be flagged for AR review.
Bank ACH Formats: CTX vs. CCD+ with Separate EDI 820
Retailers transmit 820 data in two banking patterns:
- Corporate Trade Exchange (
BPR05 = 'CTX'): The ACH payment travelling through the Automated Clearing House network includes the ANSI X12820addenda payload (up to 9,999 addenda records) inside the banking transmission itself. - Cash Concentration/Disbursement (
BPR05 = 'CCD'or'CCP') Paired with EDI Mailbox820: The bank deposit includes a single addenda trace number (TRN02), while the detailed820file arrives through your AS2 or SFTP EDI mailbox. MatchingTRN02andBPR02ties the EDI remittance advice directly to the bank deposit.
Related Guides in the Grower EDI Library
- Flagship Interactive Reference: The Ultimate EDI Guide for Growers (All 18 X12 Sets & 12 VMI Data Files)
- Order & Change Cycle: EDI 850 Purchase Order · EDI 855 PO Acknowledgment · EDI 860 PO Change
- Dock, Routing & Rack ASN: EDI 753 & 754 Routing Instructions · EDI 856 Advance Ship Notice & Rack Manifest · EDI 204 Load Tender & 816 Store Directory
- Invoicing, Pay-by-Scan & Settlement: EDI 810 Invoice · EDI 812 Credit/Debit Adjustment · EDI 820 Payment Order & Remittance Advice
- Inventory, POS & Grocery UCS/DEX: EDI 846 Inventory Inquiry/Advice · EDI 852 Product Activity Data (POS) · Grocery UCS 875, 876 & 880 · DSD DEX 894 & 895 · 997, 824 & 864 Control Gates
Silver Fern's EDI team manages live retail EDI for growers today. Open the guide, see how Work Suite fits, or book a demo.