Billing, AR & Deductions · IN · GS*CD

EDI 812: Credit/Debit Adjustment & Chargebacks. Explains each deduction the retailer took from your invoice, by store, plant, and reason.

01 · At a glance

Plain English vs. X12 specification.

Next: EDI 820 Remittance Advice
Direction & GroupInbound · GS*CD
Partners includeHome Depot, Ace, Do It Best, Walmart, Fred Meyer, Albertsons
Grower RoleItemizes store shrink, shortages & chargebacks
Common issueLumping 812 adjustments instead of auditing by store
Plain English Grower Operations
Deduction BreakdownExplains why a retail payment differed from your original invoice.
Wholesale ClaimsFlags dock shortages, damaged trays, price discrepancies, or advance ship notice (ASN) fines.
PBS AdjustmentsFees in a Pay-by-Scan agreement can be deducted, and the 812 is the standard X12 document for that kind of deduction.
Store-Level AuditIdentifies the exact store and plant SKU causing repeat margin bleed.
Common IssueA retailer may send several 812 adjustments for the same store, date and SKU, so check for duplicates before you accept them.
ANSI X12 / UCS Technical Specification
Envelope & HeaderGS01='CD'; BCD01=Date, BCD02=Adj#, BCD03=Handling Code ('A' Off Invoice), BCD04=Amount, BCD05='C'/'D', BCD07=Orig Inv#, BCD10=PO#.
Store AttributionN1*ST**92*<StoreID> pinpoints the exact retail garden center.
Line Reason (CDD)CDD01=Reason Code ('01' Pricing Error, '04' Item Not Accepted (Damaged), '06' Quantity Contested) + Amount + Qty.
Allowances (SAC)SAC segments list header/line promotional or compliance deductions.
Control & ValidationThe sample ends at N9*LI, which points back to invoice line 10.
02 · Line-by-line X12 specification

X12 segment breakdown & raw sample.

Segment Plain-English Meaning Key X12 Elements
ST*812Credit/Debit Adjustment EnvelopeOpens the itemized deduction and adjustment document from the retailer.
ST01812 (Credit/Debit Adjustment)
GS01CD (Adjustment Group)
DirectionInbound Retailer → Grower AR
BCD$94.50 Deduction (#ADJ-90412) Against INV-904812Declares that on April 21, 2026, the retailer issued Deduction #ADJ-90412 subtracting $94.50 from your Invoice #INV-904812 (PO #08096470).
BCD02ADJ-90412 (Joins to 820 ADX)
BCD04/059450 ($94.50) · C (Credit; C or D varies by retailer)
BCD07/10INV-904812 · PO 08096470
N9*POExplicit Purchase Order LinkConfirms the deduction belongs to Purchase Order #08096470.
N901PO (Purchase Order Qualifier)
N90208096470
AR LookupJoins open AR invoice table
SAC$15.00 Handling ChargeItemizes a $15.00 administrative handling charge included in the adjustment.
SAC01/02C / D500 (Handling)
SAC051500 ($15.00 Implied Cents)
GL MappingPosts to EDI Compliance Fee GL
N1*STStore #1242 Originating the ClaimIdentifies Garden Center #1242 as the specific store that reported the damaged or missing plants.
N101ST (Store Location)
N1041242 (Store #1242)
AnalyticsTracks shrink % by store
CDD*0415 Pots Deducted for Store Damage/Cull ($79.50)Explains the remaining $79.50 deduction: 15 pots were written off at Store #1242 under Reason Code 04, Item Not Accepted (Damaged), at $5.30 per pot.
CDD0104 Item Not Accepted (Damaged)
CDD047950 ($79.50, implied cents)
CDD07..1115 EA @ $5.30 (notice $0.05 variance!)
LINTies the 15-Pot Deduction to 1-Gal HydrangeaIdentifies the exact plant variety (1-Gallon Endless Summer Hydrangea) that was deducted, and reveals that the store deducted $5.30/pot instead of the $5.25 invoice price.
LIN02/03UP / 043210987655
LIN04/05SK / 1000448219
Audit FlagDeducted @ $5.30 vs. $5.25 billed
N9*LI & SEPointers Back to Invoice Line 10Points back to Line 10 of your original invoice and closes the adjustment record.
N901/02LI / Line 10
Total Deduction$15.00 SAC + $79.50 CDD = $94.50
EnvelopeClosed by SE*9*000184920
01  ST*812*000184920~02  BCD*20260421*ADJ-90412*A*9450*C*20260416*INV-904812***08096470~03  N9*PO*08096470~04  SAC*C*D500***1500~05  N1*ST*GARDEN CENTER #1242*92*1242~06  CDD*04*C**7950*N**15*EA**UCP*5.30~07  LIN**UP*043210987655*SK*1000448219*VP*1G-HYD-END~08  N9*LI*10~
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.