The EDI 895 tells a DSD supplier what the store actually agreed to receive. The route driver's 894 delivery/return base record is the supplier's version of the stop. The 895 is the store's version after the receiver has counted the product and the store system has checked every cost against its own file. Where the two differ, the 895 wins, because it is the figure the retailer pays against.
This guide covers what the 895 carries, how it pairs with the 894 at the back door (DEX) and over the network (NEX), every segment you will map, a live example that adjusts the delivery from our 894 guide, and how to post 895 adjustments so they stop turning into short-pays you cannot explain.
What Is an EDI 895?
An EDI 895 is the Delivery/Return Acknowledgment or Adjustment transaction set defined by the ASC X12 standards body, used in direct store delivery to acknowledge an 894 delivery or return record, or to communicate adjustments to it identified during check-in. Like the 894, it comes from the grocery Uniform Communication Standard (UCS), uses grocery "G" segments, and travels in a functional group with GS01 = DX. Retailer guides commonly label the version 004010UCS or a later UCS release.
Authoritative references for 895 work:
- The X12 transaction set catalog defines the 894 and 895 pair
- The Stedi 004010 895 reference lists the 895's segments:
G87,G88, theLS/LEloop ofG89line adjustments, and theG84,G86andG85summary - Published retailer guides show it in use. The Harris Teeter 895 guideline on Kroger's EDI portal states that an 895 containing no changes is considered an acceptance of the preceding base record, and that the transaction carries only the detail data being changed
- GS1 US governs the UPCs and case codes the 895 uses to identify adjusted items
Who sends it? Usually the retailer: the store's DSD receiving system at the back door, or the chain's head-office EDI system. The G87 segment also allows the supplier to be the initiator, for retailers whose process lets the supplier send a correction.
Who receives it? The DSD supplier, through the driver's handheld (DEX) or the supplier's EDI system (NEX), and from there the route accounting system.
When is it sent? After the store checks in an 894. With DEX, before the driver leaves the store. With NEX, later the same day or on the retailer's schedule.
Why does it matter? The 895 is the store's record of the stop. If you post the driver's 894 to AR and ignore the 895, your receivable is overstated by every adjustment, and the gap shows up later as a deduction on the retailer's payment.
How the 894 and 895 Work Together
| Step | Who | Document | What happens |
|---|---|---|---|
| 1 | Supplier | 894 | Driver's handheld builds the delivery or return record, with a G85 integrity check |
| 2 | Store system | Checks UPCs and costs against the store's item and cost file | |
| 3 | Store receiver | Counts the product and accepts or adjusts quantities and costs | |
| 4 | Store system | 895 | Sends an acknowledgment (no changes) or an adjustment (changed lines only), quoting the 894's integrity check |
| 5 | Supplier | Posts the accepted or adjusted figures to route accounting, inventory and AR | |
| 6 | Retailer | Payment | Pays against the reconciled figures, often with an 820 remittance |
Two details from the standard drive the whole exchange:
- The 895 identifies the record by its integrity check.
G8704must contain theG85value from the base record (or previous adjustment) it responds to. If your driver edits the 894 after it was sent and does not recalculateG85, the store's 895 will not match the record your system holds. - Adjustments are numbered.
G8705starts at1and increases by one for each further adjustment to the same record, whichever party sends it. A second 895 for the same delivery is not a duplicate; it is adjustment2.
DEX and NEX for the 895
The 895 follows the same channel as the 894 it answers.
DEX (Direct Exchange). The store's receiving system returns the 895 to the driver's handheld at the back door. The driver sees adjustments before leaving and can dispute a count while the product is still there. The handheld then uploads the 895 to route accounting with the rest of the day's records.
NEX (Network Exchange). The retailer sends the 895 over a normal EDI connection (VAN, AS2 or SFTP). There is no driver in the loop, so the 895 lands in your EDI system and has to be matched to the 894 by delivery number and integrity check before anyone sees it.
Interactive Example: Store Adjustment of a DSD Delivery (895)
This 895 answers the beverage delivery in our 894 guide: record DSD-118734 for 20 cases and $178.90, with integrity check 3C9A7F21. The store makes two changes. Line 1 (cola 12-packs) is accepted at the store's file cost of $8.75 per case instead of $8.95. Line 2 (lemon-lime 2L) is counted at 5 cases instead of 6. Line 3 is unchanged, so it is not repeated. G84 restates the record at 19 cases and $165.50:
- Line 1: 10 cases at $8.75 = $87.50
- Line 2: 5 cases at $11.40 = $57.00
- Line 3: 4 cases at $5.25 = $21.00 (unchanged)
Use the Plain English tab for a readable summary, or click any segment to break it down element by element.
Store Adjustment of a DSD Delivery (895)
The grocery store's 895 answer to the 894-dsd-delivery sample: G87 references delivery DSD-118734 and its G85 integrity check, the LS/LE loop carries two G89 adjustments (a cost correction on line 1 and a short quantity on line 2), and G84 restates the totals as 19 cases and $165.50.
- Document
- 895 Delivery/Return Acknowledgment or Adjustment
- From / to
- HARBORGROCER → SUMMITBEV
- Segments
- 15
- Interchange date
- Nov 3, 2026
Raw EDI (X12)
Human-Readable
Interchange
Functional Group
Transaction 895
Delivery/Return Acknowledgment or AdjustmentSegment Detail
895 Structure at a Glance
| Position | Segment | Name | Usage | Notes |
|---|---|---|---|---|
| Header | ST | Transaction Set Header | Mandatory | ST01 = 895 |
| Header | G87 | Delivery/Return Adjustment Identification | Mandatory | Initiator, credit/debit flag, delivery number, integrity check, adjustment number |
| Header | G88 | Delivery/Return Identification Adjustment | Optional | Changes to dates, PO or store location |
| Detail | LS | Loop Header | Optional | LS*0100, sent once when any line adjustments follow |
| Detail loop | G89 | Line Item Detail - Adjustment | Repeats | One per changed line |
| Detail loop | G22 | Pricing Information | Optional | Replacement shelf pricing for the line |
| Detail loop | G72 | Allowance or Charge | Optional | Changed line-level allowances or charges |
| Detail loop | G23 | Terms of Sale | Optional | Changed line-level terms |
| Detail | LE | Loop Trailer | Optional | LE*0100, closes the line loop |
| Summary | G72 | Allowance or Charge | Optional | Changed record-level allowances or charges |
| Summary | G23 | Terms of Sale | Optional | Changed record-level terms |
| Summary | G84 | Delivery/Return Record of Totals | Optional | Adjusted totals for the whole record |
| Summary | G86 | Signature Identification | Mandatory | Electronic signature of the party sending the 895 |
| Summary | G85 | Record Integrity Check | Mandatory | Check value computed over this 895 |
| Summary | SE | Transaction Set Trailer | Mandatory | Segment count and control number |
An acknowledgment with no changes is the shortest possible 895: ST, G87, G86, G85 and SE. Retailer guides may require more, such as G84 on every 895.
Key Segments Explained
G87: Delivery/Return Adjustment Identification
G87*R*D*DSD-118734*3C9A7F21*1*R0147-261103~
| Element | Name | Example | What it means |
|---|---|---|---|
| G8701 | Initiator Code | R | R = receiver (the store or retailer). S = supplier |
| G8702 | Credit/Debit Flag Code | D | D = debit, C = credit. Retailer samples use D when answering a delivery; the guide says how returns are flagged |
| G8703 | Supplier's Delivery/Return Number | DSD-118734 | The G8202 number from your 894 |
| G8704 | Integrity Check Value | 3C9A7F21 | The G85 value from the 894 (or previous adjustment) being answered |
| G8705 | Adjustment Number | 1 | Starts at 1, plus one for each further adjustment to the same record |
| G8706 | Receiver Delivery/Return Number | R0147-261103 | The retailer's own reference for the receipt |
Match every 895 on G8703 and G8704 together. The delivery number alone can match a record that was edited after sending; the integrity check proves which version the store responded to.
G88: Delivery/Return Identification Adjustment
G88*20261103~
| Element | Name | What it means |
|---|---|---|
| G8801 | Physical Delivery or Return Date | The actual date of the delivery or pickup |
| G8802 | Product Ownership Transfer Date | A date both parties agree on, such as when ownership passed |
| G8803 | Purchase Order Number | A corrected PO number |
| G8804 | Purchase Order Date | A corrected PO date |
| G8805 | Receiver's Location Number | A corrected store number |
G88 corrects header facts from the 894's G82. A changed store number in G8805 matters: it moves the delivery to a different store's books.
G89: Line Item Detail - Adjustment
G89*1**CA*614141001293****8.75~
G89*2*5*CA*614141002122~
| Element | Name | Example (line 1) | What it means |
|---|---|---|---|
| G8901 | DSD Sequence Number | 1 | The G8301 line number on the 894, or a new number for an added line |
| G8902 | Quantity | The corrected quantity, when the quantity changed | |
| G8903 | Unit of Measure | CA | CA case, EA each, and other codes the retailer allows |
| G8904 | UPC (Consumer Package Code) | 614141001293 | The item's consumer UPC |
| G8905 | Product/Service ID Qualifier | Qualifier for G8906 | |
| G8906 | Product/Service ID | Another item identifier | |
| G8907 | UPC Case Code | The case-level code | |
| G8908 | Item List Cost | 8.75 | The corrected cost, when the cost changed |
| G8909 | Pack | Consumer units per case | |
| G8910 | Inner Pack | Units per inner pack |
The 895 carries only what changed. On line 1 the quantity element is empty and the cost is 8.75: the store accepted 10 cases but at its own file cost. On line 2 the quantity is 5 and the cost is empty: the cost stands, the count changed. The Harris Teeter guide's own sample uses the same pattern, with the quantity left empty on cost-only adjustments. The exact rules for which elements must be repeated on an adjusted line (for example, whether the UPC is always sent) are in each retailer's guide.
LS*0100 and LE*0100 wrap the whole set of adjusted lines once. They are not repeated per line, and they are not sent at all when there are no line adjustments.
G84: Delivery/Return Record of Totals
G84*19*16550~
| Element | Name | Example | What it means |
|---|---|---|---|
| G8401 | Quantity | 19 | Total quantity for the record after adjustment |
| G8402 | Total Invoice Amount | 16550 | Total amount after adjustment, with two implied decimals ($165.50) |
| G8403 | Total Deposit Dollar Amount | Total container deposits, where they apply |
G84 restates the totals for the whole record, not just the changed lines. That makes it the easiest number to reconcile: the 894's G8402 minus the 895's G8402 is the dollar value of the store's adjustments ($178.90 minus $165.50 is $13.40 here: $2.00 of cost and $11.40 of quantity).
G86 and G85: Signature and Integrity Check
G86*5D2E91C4*M ALVAREZ~
G85*A41F06B2~
G86 carries the electronic signature of the party that generated the 895, produced the same way as in the base record. It is mandatory in the 895. G85 is a check value computed over this 895's content, using the algorithm in the retailer's guide. If a later adjustment follows, its G8704 will quote this value.
Acknowledgment vs Adjustment
| Acknowledgment | Adjustment | |
|---|---|---|
| Meaning | The store accepts the 894 as sent | The store changed one or more lines or header facts |
| G89 lines | None (no LS/LE) | One per changed line |
| G84 | Optional; when sent, equals the 894 totals | Adjusted totals for the whole record |
| What you post | The 894 figures | The 894 figures with the 895 changes applied |
| What to review | Nothing, beyond confirming you received it | The reason for each change: cost file, count, or damaged product |
Posting 895 Adjustments
Most DSD money is lost between the 894 and the 895, and most of it is recoverable only if you see the pattern.
- Match. Find the 894 by
G8703and confirmG8704equals itsG85. Hold anything that does not match. - Apply. For each
G89, replace the quantity or cost on the matchingG83line. Leave lines without aG89as sent. - Check. Recompute the record total and compare it to
G84. A mismatch means a line was missed or applied twice. - Post. Update AR, route settlement and inventory with the adjusted figures, so the driver's truck count, the store's receipt and your invoice agree.
- Review. Report adjustments weekly by store, by item and by type. Repeated cost adjustments on one item mean your cost file and the retailer's disagree, usually because a price change was not loaded on both sides through 888 item maintenance or an 832 price catalog. Repeated count adjustments at one store point to a receiving or route problem.
EDI 895 vs 894, 861 and 824
| Document | Sent by | Purpose |
|---|---|---|
| 894 Delivery/Return Base Record | Supplier | Records the items delivered to or returned from one store |
| 895 Delivery/Return Acknowledgment or Adjustment | Retailer (or supplier) | Accepts or adjusts an 894 |
| 861 Receiving Advice | Retailer | Reports what a warehouse received against an ASN |
| 824 Application Advice | Retailer | Reports that a document failed business validation |
| 997 Functional Acknowledgment | Receiver | Confirms a transaction arrived and was structurally valid |
The 895 does in DSD what the 861 does at a distribution center: it reports what was actually received. A 997 for your 894 only proves the file arrived. The 895 tells you what the store agreed to.
Common 895 Errors and How to Prevent Them
| Error | What happens | Prevention |
|---|---|---|
| 895 matched on delivery number only | Adjustment applied to the wrong version of a record | Match on G8703 and G8704 together |
894 edited after sending without a new G85 | 895 integrity check does not match any record you hold | Recalculate G85 after every change, before transmitting |
| Second adjustment treated as a duplicate | Later correction ignored | Process adjustments in G8705 order |
Empty G89 elements read as zero | Quantity or cost wiped out on a cost-only or count-only change | Treat empty elements as "unchanged" |
LS/LE sent per line | Structural rejection | Send one LS*0100 before the first G89 and one LE*0100 after the last |
G84 read as the change amount | AR reduced by the full record value | G84 is the adjusted total for the whole record |
| 895s not loaded into AR | Receivable overstated; deductions look unexplained | Post every 895 before invoicing or reconciling payments |
| Cost adjustments never reviewed | Same item adjusted on every stop for months | Weekly adjustment report by item and store |
Unresolved DSD adjustments usually show up later as retail chargebacks or short-pays on the remittance. The 895 is the earliest warning you get.
895 Implementation Checklist
- Get the retailer's DSD 894/895 guide and confirm DEX, NEX or both
- Confirm whether the retailer sends an 895 for every 894, or only when it adjusts
- Confirm which
G89elements it sends on a changed line, and how it marks an added line - Confirm whether it sends
G84on every 895 - Match on delivery number and integrity check; build a hold queue for mismatches
- Apply adjustments line by line, then check against
G84 - Post adjusted figures to AR, route settlement and inventory
- Set up a weekly review of adjustments by item, store and type
- Test an acceptance, a cost adjustment, a quantity adjustment and a second adjustment to the same record
For the wider DSD picture, see grocery EDI requirements and the EDI document types reference.
Handling DSD Orders With OrderSync
DSD suppliers live on two streams: the route, and the orders that set it up. Store and head-office orders arrive as EDI 850s and 875s, emails, PDFs, spreadsheets and phone calls, and someone keys them in before the truck leaves.
OrderSync reads those orders in any format, matches stores, items and units to your catalog, and outputs clean data to your ERP or route system, so every stop starts from the right order. Paste any 895 into the free EDI inspector to see the delivery it adjusts and each changed line in plain English, read more about EDI for DSD distributors and beverage distribution, or book a 15-minute walkthrough to see your own orders processed.
Frequently Asked Questions
What is an EDI 895?
The EDI 895 is the X12 Delivery/Return Acknowledgment or Adjustment. In direct store delivery, the retailer sends it after checking in a supplier's 894 to accept the delivery or return as sent, or to report the quantity and cost changes the store made.
What is the difference between the EDI 894 and the EDI 895?
The supplier sends the 894 to record a delivery or return at a store. The retailer answers with the 895, which either accepts the 894 or lists the changed lines and the adjusted totals. The retailer pays against the reconciled figures.
Does an 895 list every line of the delivery?
No. An adjustment carries only the lines that changed, each in a G89 segment identified by the 894 line number. An 895 with no G89 lines accepts the record as sent.
What is the G87 segment in an EDI 895?
G87 identifies what the 895 responds to. G8701 says who initiated it (R receiver or S supplier), G8702 is the credit or debit flag, G8703 is the supplier's delivery number, G8704 is the integrity check from the record being answered, and G8705 is the adjustment number.
Why does the 895 carry the 894's integrity check?
So both sides know exactly which version of the record the store responded to. G8704 must equal the G85 value of the base record or previous adjustment. If the 894 was changed after sending, the values will not match.
What does an empty quantity in G89 mean?
On an adjustment line, an empty quantity means the quantity was not changed. A cost-only adjustment sends the line number and the corrected cost in G8908 and leaves G8902 empty. Check the retailer's guide for its exact rules.
Is the 895 the same as a 997?
No. A 997 only confirms that your 894 arrived and was structurally valid. The 895 is a business response that says what the store accepted, and it is the record the retailer pays against.