Skip to content

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.

Learn more

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 865

PO Change Acknowledgment

Supplier → Buyer

The supplier acknowledges the buyer's 860 change, or proposes its own change such as a substitution or backorder. Closes the change loop.

EDI 869

Order Status Inquiry

Buyer → Supplier

A buyer asks for the current status of whole purchase orders or specific lines, usually for past-due, backordered or drop-ship orders.

EDI 870

Order Status Report

Supplier → Buyer

Reports shipped, partial, backordered, delayed or canceled status per PO line, in reply to an 869, on a schedule, or unsolicited.

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.

EDI 999

Implementation Acknowledgment

Either

The 5010-era acknowledgment: reports whether each transaction met the X12 standard and the partner's implementation guide, down to the segment and element.

EDI 180

Return Merchandise Authorization and Notification

Buyer ↔ Supplier

Requests, authorizes or denies the return of merchandise, and notifies a supplier of returns, with a reason and disposition per line.

EDI 857

Shipment and Billing Notice

Supplier → Buyer

Combines the 856 ship notice and the 810 invoice into one document that the buyer uses both to plan the receipt and to pay.

EDI 811

Consolidated Service Invoice/Statement

Service provider → Customer

Bills recurring, usage and one-time service charges, often for many accounts under one master account, with a hierarchical breakdown and account balance.

EDI 864

Text Message

Either partner

Carries free-form messages for people to read, such as notices, policy changes and rejections explained in prose.

Warehouse, Fulfillment, and Inventory Documents

Used between brands and their third-party warehouses, plus the inventory and replenishment signals that keep stock flowing.

Grocery-Specific Documents

Variants designed for grocery distribution: catch-weight items, sell-by dates, lot tracking, and direct store delivery (DSD) check-in.

Healthcare (HIPAA) Documents

The 5010 transactions payers, providers, and clearinghouses exchange for eligibility, claims, claim status, prior authorization, remittance, and enrollment.

Transportation and Logistics Documents

The freight layer 3PLs and shippers use to tender, track, and pay carriers, alongside the order documents above.

EDI 204

Motor Carrier Load Tender

Shipper → Carrier

The shipper, broker, or 3PL offers a load to a carrier: stops, equipment, weight, and pickup and delivery windows. The freight equivalent of a purchase order.

EDI 990

Response to a Load Tender

Carrier → Shipper

The carrier accepts or declines the 204 tender. A single action code tells the shipper whether the load is covered or needs re-tendering.

EDI 211

Motor Carrier Bill of Lading

Shipper → Carrier

The electronic bill of lading: consignor, consignee, freight description, and weight. The receipt and contract of carriage for the shipment in structured form.

EDI 214

Shipment Status Message

Carrier → Shipper

The carrier reports shipment status, picked up, in transit, arrived, delivered, with time and location. The EDI feed behind shipment tracking and delay alerts.

EDI 210

Motor Carrier Freight Invoice

Carrier → Shipper

The carrier's freight invoice: line-haul, fuel, and accessorial charges. Shippers audit it against the agreed rate before paying to catch overcharges.

EDI 753

Request for Routing Instructions

Supplier → Buyer

Tells a retailer that collect freight is ready and asks for routing: pickup window, pallets, cartons, weight and cube per PO.

EDI 754

Routing Instructions

Buyer → Supplier

The retailer's routing reply: assigned carrier (SCAC), load and pickup appointment numbers, scheduled pickup, and which POs ship together.

EDI 212

Motor Carrier Delivery Trailer Manifest

Carrier → Consignee

Tells a consignee every LTL shipment on a trailer the carrier is about to deliver, often used to request a dock appointment.

EDI 213

Motor Carrier Shipment Status Inquiry

Shipper or Consignee → Carrier

Asks a motor carrier for the current status of one shipment, identified by PRO, bill of lading or PO.

EDI 215

Motor Carrier Pick-up Manifest

Shipper → Carrier

Lists every shipment a shipper handed to one carrier at a pickup, with service level, terms, consignee and package detail.

EDI 858

Shipment Information

Shipper → Carrier

Sends a carrier detailed bill-of-lading, rating and scheduling information for a shipment, including government bills of lading.

EDI 310

Freight Receipt and Invoice (Ocean)

Ocean carrier → shipper, consignee or forwarder

The ocean carrier's bill of lading data and freight invoice: parties, vessel, routing, containers, cargo and charges for one shipment.

EDI 315

Status Details (Ocean)

Ocean carrier → shipper, consignee or forwarder

Reports one container or shipment event, such as loaded on vessel, vessel departure, discharge, availability or out-gate, with time and location.

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

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.

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.

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.

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).

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.

How to Test Order Extraction Before You Buy

Vendors demo on a clean, typed, single-page order. Your orders are scans and spreadsheets. Here is the test protocol, the seven traps that decide the result, and how to score a trial honestly.

  • How to build a test set that reflects what you actually receive
  • The seven traps that break extraction, unit of measure first
  • How to score at the line, so a near-miss counts as the error it is
  • The questions to ask every vendor, including us

One email with the download. Unsubscribe any time.

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.