Skip to content

Stacksync × Supabase Miami: AI-Native OperationsOct 13Reserve your spot

X12 transaction code

EDI 894 Delivery/Return Base Record (X12 894)

EDI 894 is the X12 Delivery/Return Base Record transaction set, used when delivery or return details establish a reconciliation baseline. The DSD supplier or distributor sends the 894 to the retailer's store or headquarters system; the retailer responds with an 895 Delivery/Return Acknowledgment or Adjustment, or a 997.

Standard
X12
Code
894
Partner references
8

At a glance

EDI 894 at a glance

What the 894 carries, who sends it to whom, when it goes out, and the segments trading partners list for it.

X12 894 Delivery/Return Base Record summary
Document X12 894 Delivery/Return Base Record
Business record Delivery or return base record
Who sends it to whom The DSD supplier or distributor sends the 894 to the retailer's store or headquarters system; the retailer responds with an 895 Delivery/Return Acknowledgment or Adjustment, or a 997.
When it is sent A route driver delivers product to, or collects returns from, a store on a DSD route and the delivery record must reach the retailer for check-in; some retailers expect it within 4 hours of delivery.
Match on Delivery reference, store and item
Partner references 8 trading partners in this directory
Related documents X12 895 Delivery/Return Acknowledgment or Adjustment

Key segments in an EDI 894

The business segments that appear in at least half of the 8 partner document references listed below, most common first. The table leaves out envelope segments (ISA, GS, ST, SE, GE, IEA). Your partner guide sets which segments and elements your account must send.

Segment Name Purpose Partner references
G82 Delivery/Return Base Record Identifier To transmit identifying numbers, dates, and other basic data relating to the transaction set. 8 of 8
G83 Line Item Detail/Direct Store Delivery To specify the basic, and most frequently used line item data for the delivery record transaction. 8 of 8
G72 Allowance or Charge To specify allowances, charges, or services. 8 of 8
G84 Delivery/Return Record of Totals To specify summary details of total items in terms of quantity or amount. 8 of 8
G86 Signature Identification To transmit an electronic identity. 8 of 8
G85 Record Integrity Check To provide a secure method of identifying authenticity of record content. 8 of 8
N9 Extended Reference Information To transmit identifying information as specified by the Reference Identification Qualifier. 4 of 8
G23 Terms of Sale To specify the terms of sale. 4 of 8

Stacksync connects EDI documents such as the X12 894 to your ERP, CRM and databases with two-way sync. Read the EDI overview, check pricing and security, or book a demo to walk through your partner guide.

Implementation guide

X12 894 mapping and validation

X12 894 Delivery/Return Base Record is used when delivery or return details establish a reconciliation baseline. Preserve delivery reference, store and item so the delivery or return base record in your business system stays connected to the original document.

Use the version and implementation guide agreed with your trading partner to confirm required fields and responses.

Map records and test the business result
Document or decisionRecord and matching IDsWhat to test
Match the business record delivery or return base record

delivery reference, store and item

  • Define which combination of delivery reference, store and item identifies one business record, its lines and any later revision.
Update the receiving system Processing the delivery or return base record

ID assigned by the receiving system and processing result

  • Separate returned units from delivered units when calculating the net quantity.
  • Retain the original delivery record when a receiving party later disputes a quantity.
Check the processing result Processing status for the delivery or return base record

Original document reference and matching response

  • Reconcile the delivery or return base record with the source after a timeout before sending it again. A lost response can occur after the destination has already processed the document.

How the related documents differ

Each message represents a different business event. Use shared references to connect the records while tracking each message’s outcome separately.

Implementation steps

  1. Choose the starting event and owner

    Decide which application acts when delivery or return details establish a reconciliation baseline. Name the operational owner of the delivery or return base record and the team that resolves rejected or ambiguous messages.

  2. Keep record IDs connected

    Map delivery reference, store and item. Confirm qualifiers, code lists, units and date/time meaning against the agreed X12 version and partner guide. Preserve the source reference alongside any new destination identifier.

  3. Test failures before launch

    Run the failure cases in the mapping table against realistic delivery or return base record data. Check how the receiving system reports a rejection and how your team corrects it without creating a duplicate.

  4. Track every document to completion

    Record transport delivery and document validation separately from successful delivery or return base record processing. Give unresolved errors an owner and check the receiving system before approving retries.

Go-live checklist

  • An approved 894 sample and the agreed version and partner guide are available.
  • The mapping tests pass with realistic delivery or return base record data.
  • Each submitted document can be traced through delivery, validation and processing in the receiving system.
  • Your team knows how to investigate and recover a rejected or timed-out delivery or return base record without processing it twice.

Document structure

X12 894 Delivery/Return Base Record at the element level

The X12 894 reference contains 17 segment entries and 72 data elements; 45 are marked mandatory in this reference. Use the version and partner guide agreed for your account to confirm required fields.

Segments
17
Data elements
72
Mandatory elements
45
Segments with elements marked mandatory in this reference
Segment Elements Mandatory
G82 7 5
N9 2 1
LS 1 1
G83 11 3
G72 8 2
LE 1 1
G23 3 2
G85 1 1
Key identifiers in 894
  • Credit/Debit Flag Code
  • Supplier's Delivery/Return Number
  • D-U-N-S Number
  • Supplier's Location Number
  • Physical Delivery or Return Date
  • Reference Identification Qualifier
  • Loop Identifier Code
  • Direct Store Delivery Sequence Number

Catalog breakdown

Where X12 894 Delivery/Return Base Record appears in this catalog

The largest groups of classified 894 catalog entries are in grocery & food.

By industry

  • grocery & food 8 channels

By network

  • SPS Commerce 1 channel

FAQ

EDI 894 questions

What is an EDI 894?

EDI 894 is the X12 Delivery/Return Base Record transaction set. Trading partners use it when delivery or return details establish a reconciliation baseline. It carries the data for the delivery or return base record, and your system matches it on delivery reference, store and item.

Who sends an EDI 894 and who receives it?

The DSD supplier or distributor sends the 894 to the retailer's store or headquarters system; the retailer responds with an 895 Delivery/Return Acknowledgment or Adjustment, or a 997. Your trading partner agreement confirms the direction and version for your account.

When is an EDI 894 sent?

A route driver delivers product to, or collects returns from, a store on a DSD route and the delivery record must reach the retailer for check-in; some retailers expect it within 4 hours of delivery. Your partner guide sets any deadline or schedule for the document.

What are the key segments in an EDI 894?

Across 8 partner document references listed here, the business segments that appear most often include G82 (Delivery/Return Base Record Identifier), G83 (Line Item Detail/Direct Store Delivery), G72 (Allowance or Charge), G84 (Delivery/Return Record of Totals), G86 (Signature Identification), G85 (Record Integrity Check). Each partner guide sets which segments and elements your account must send.

What is the difference between EDI 894 and EDI 895?

The 894 carries the delivery or return base record and is used when delivery or return details establish a reconciliation baseline. The 895 carries the delivery or return response and is used when delivery or return quantities are acknowledged or adjusted.

What should I map for X12 894?

Start with delivery reference, store and item and the target delivery or return base record. Define duplicate detection, allowed updates and response correlation before mapping individual fields. Use the partner guide to check required fields and their formats.

How should I test 894 error handling?

Separate returned units from delivered units when calculating the net quantity. Retain the original delivery record when a receiving party later disputes a quantity. Also test a lost response after destination processing so that a retry cannot create an unintended duplicate or repeated adjustment.

Which partners list X12 894?

The directory on this page links 8 partner entries that list this message. Choose your partner and channel, then confirm which messages and versions your account requires.

Connect EDI to your business systems

See how Stacksync can fit your enterprise EDI workflow. Bring one partner guide and a sample exchange to plan the system mapping, exception handling and production rollout.