Pay-by-Scan & Grocery Lanes · IN · GS*DX

EDI 895: Delivery/Return Acknowledgment or Adjustment (DSD). How the supermarket receiver adjusts or approves your route driver's 894 direct store delivery (DSD) record at the back door.

01 · At a glance

Plain English vs. X12 specification.

Next: EDI 997/824/864 Syntax & AP Validation
Direction & GroupInbound · GS*DX (DEX Ack)
Partners includeKroger
Grower RoleStore receiver dock adjustment & digital sign-off
Common issueClosing the DEX (Direct Exchange) session before final G85 CRC sign-off
Plain English Grower Operations
Store Receiver ReplyReturned immediately by the store terminal in response to the driver's 894, or later over the EDI network when the 894 went by NEX.
On-the-Spot EditsRecords any damaged or refused pots (G89) while the driver is at the dock.
Digital Sign-OffCaptures the store receiver's electronic signature (G86) and CRC seal (G85).
Dispute ProofLocks in approved store quantities before the truck leaves the parking lot.
Common IssueIf the driver ends the DEX session before the 895's G85 check value is exchanged, the store system marks the delivery incomplete and the check-in has to be redone.
ANSI X12 / UCS Technical Specification
Functional GroupBack door: DXS/DXE envelope, DXS02='DX' (Direct Exchange), sent in the same DEX session as the driver's 894. EDI network (NEX): ISA/GS, GS01='DX', returned later.
Header (G87)G8701='R' (Store Receiver) or 'S' (Supplier), G8702=D/C Flag, G8703=894 Ticket#, G8704=894 G85 Check Value, G8705=Adjustment #.
Adjustment Line (G89)G8901=Seq#, G8902=Accepted/Adjusted Qty, G8903=UOM, G8905/06=UP + UPC, G8908=Cost.
Approval Seal (G84-G86)G84 (Approved Total), G86 (Receiver Signature), G85 (CRC-16 Checksum).
Control & ValidationSE*9 closes the set. G85 holds the integrity check value for the adjustment.
02 · Line-by-line X12 specification

X12 segment breakdown & raw sample.

Segment Plain-English Meaning Key X12 Elements
ST*895Delivery/Return Acknowledgment or AdjustmentOpens the store receiver's digital reply to the driver's 894 delivery ticket.
ST01895 (Delivery/Return Ack or Adjustment)
DXS02 or GS01DX (Direct Exchange)
DirectionStore Terminal → Driver
G87Ties the Reply to Ticket #DEX-441092Points back to the driver's 894 ticket #DEX-441092 and its G85 check value (8F4A) to bind the acknowledgment to the 894.
G8701R (Store Receiver)
G8703DEX-441092 (Matches 894 G8202)
G87048F4A (Matches 894 G85)
G89Records 2 Refused Orchids (22 Accepted)Replaces the Line 1 count with the 22 pots the store accepted after refusing 2 damaged orchids. Lines that did not change are left out.
G8901/02Line 1 · 22 EA Accepted
UPC043210994011
Unit Price$9.50
G8422 Accepted Units, $209.00 TotalRecords the agreed receipt total of 22 pots and $209.00 (20900 implied cents).
G840122 Units
G840220900 ($209.00)
StatusReceipt Agreed
G86Store Receiver Electronic SignatureRecords the store receiving clerk's digital sign-off (RCVR-MCHENRY).
G8601RCVR-MCHENRY
RoleStore Receiving Clerk
ProofPOD Locked
G8516-Bit Hexadecimal Checksum SealSeals the store's 895 acknowledgment with a CRC-16 check value (9C2B) to close the back-door delivery.
G85019C2B (CRC-16 Hex)
HandshakeDEX Session Complete
ERP SyncPost adjusted total to AR
01  ST*895*0001~02  G87*R*D*DEX-441092*8F4A*1~03  LS*0100~04  G89*1*22*EA**UP*043210994011**9.50~05  LE*0100~06  G84*22*20900~07  G86*RCVR-MCHENRY~08  G85*9C2B~09  SE*9*0001~
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.