EDI Document Types

Every major X12 EDI document type, what it does, when to use it, and how it fits in real B2B order workflows.

The X12 standard defines over 300 transaction sets across industries. For B2B retail and order processing, the working set is typically 10 to 15 documents. They are grouped here by function: order-to-cash, warehouse, catalog, and grocery-specific.

Order-to-Cash Documents

The core retail trading cycle: PO → acknowledgment → shipment → invoice → payment.

EDI 850

Purchase Order

Buyer → Supplier

The buyer tells the supplier what to ship: SKUs, quantities, prices, ship-to, delivery dates. Triggers everything downstream.

EDI 855

PO Acknowledgment

Supplier → Buyer

The supplier confirms receipt of the 850 and accepts, rejects, or proposes changes to each line item.

EDI 860

PO Change Request

Buyer → Supplier

The buyer modifies an existing PO: change quantity, change ship date, cancel a line. Sent after the 850 and before fulfillment.

EDI 856

Advance Ship Notice (ASN)

Supplier → Buyer

The supplier tells the buyer a shipment is in transit, with full pack-level detail and tracking numbers. Required by virtually every major retailer.

EDI 861

Receiving Advice

Buyer → Supplier

The buyer reports what was actually received against what was shipped. Used to flag short shipments, damages, and overages before invoice payment.

EDI 810

Invoice

Supplier → Buyer

The supplier requests payment for the shipment, referencing the original PO. Closes the order-to-cash loop.

EDI 820

Payment/Remittance Advice

Buyer → Supplier

The buyer tells the supplier which invoices were paid and how the funds were transferred. Pairs with the underlying ACH or wire transfer.

EDI 824

Application Advice

Either

Reports application-level errors in a previously received document (more detailed than the syntax-only 997). Used to flag business-rule failures.

EDI 997

Functional Acknowledgment

Either

Sent for every inbound document. Confirms receipt and reports syntax-validation results. Missing 997s are treated as failed transmissions.

Catalog and Item Setup Documents

Required before any PO can flow. Communicates the supplier product catalog to trading partners.

How the Documents Fit Together

In a typical retail trading relationship, the documents flow in a specific order. Understanding the sequence makes the rest of EDI much easier to reason about.

  1. 832 (Catalog) goes out first, before any PO. The retailer needs your items on file before they can order them.
  2. 850 (PO) arrives from the retailer. This is the document that triggers everything else.
  3. 855 (PO Acknowledgment) goes back within the retailer's required window (often 24 hours). Confirms what you can fulfill.
  4. 940 (Warehouse Shipping Order) goes from your order management system to your 3PL or warehouse, instructing them to ship.
  5. 945 (Warehouse Shipping Advice) comes back from the warehouse confirming what actually shipped, with tracking and carton labels.
  6. 856 (ASN) goes to the retailer before the shipment arrives, with the same tracking and carton data sourced from the 945.
  7. 861 (Receiving Advice) may come back from the retailer reporting any short shipments or damages on receipt.
  8. 810 (Invoice) goes to the retailer after delivery to request payment.
  9. 820 (Payment/Remittance) comes back from the retailer when they pay, mapping payment to specific invoices.
  10. 997 (Functional Acknowledgment) flows in both directions for every other document above. Missing 997s are treated as failed transmissions.

Not every relationship uses every document. Smaller retailers may skip the 855 and 861. Drop-ship vendors may not exchange a 940/945 pair if the brand fulfills directly. Grocery partners substitute the 875 for the 850 and may also use the 880 instead of the 810.

Frequently Asked Questions

What are the most common EDI document types?

The most-used EDI documents in retail and grocery are: EDI 850 (Purchase Order), EDI 855 (PO Acknowledgment), EDI 856 (Advance Ship Notice), EDI 810 (Invoice), EDI 997 (Functional Acknowledgment), EDI 940 (Warehouse Shipping Order), EDI 945 (Warehouse Shipping Advice), EDI 832 (Price/Sales Catalog), and EDI 846 (Inventory Inquiry/Advice). Most B2B trading relationships use four to six of these.

How many EDI document types are there?

The X12 standard defines over 300 transaction sets across industries (retail, healthcare, transportation, finance, government). For B2B retail and order processing, the working set is typically 10 to 15 documents covering the order-to-cash and warehouse-to-fulfillment cycles.

What is the difference between EDI document types and EDIFACT messages?

EDI document types are typically X12 transaction sets used in North America (850, 810, 856, etc.). EDIFACT is the international equivalent (ORDERS, INVOIC, DESADV) used in Europe and most of the rest of the world. The two standards cover the same business processes with different syntax.

Which EDI documents do I need to support my first major retailer?

Most retailers require at minimum the 850 (inbound PO), 855 (PO acknowledgment), 856 (ASN), 810 (invoice), and 997 (functional ack) for every other document. Grocery and warehouse-routed partners may also require 832 (catalog), 940/945 (warehouse routing), 846 (inventory), and 860 (PO change).

Are EDI document types the same across all retailers?

The transaction set numbers and base structures are identical across retailers (every 850 has BEG, REF, N1, PO1 segments). What differs is the partner-specific implementation: which segments are required, which qualifiers to use, and what extension data each retailer expects in their version of the spec.

Trade Every Document Type Through One Platform

OrderSync handles every document type above through a single pipeline. No per-transaction fees. No mapping consultant. 15-minute demo, no commitment.

Book My Intro Call

No credit card required. Start in minutes.