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.
Purchase Order
The buyer tells the supplier what to ship: SKUs, quantities, prices, ship-to, delivery dates. Triggers everything downstream.
PO Acknowledgment
The supplier confirms receipt of the 850 and accepts, rejects, or proposes changes to each line item.
PO Change Request
The buyer modifies an existing PO: change quantity, change ship date, cancel a line. Sent after the 850 and before fulfillment.
PO Change Acknowledgment
The supplier acknowledges the buyer's 860 change, or proposes its own change such as a substitution or backorder. Closes the change loop.
Order Status Inquiry
A buyer asks for the current status of whole purchase orders or specific lines, usually for past-due, backordered or drop-ship orders.
Order Status Report
Reports shipped, partial, backordered, delayed or canceled status per PO line, in reply to an 869, on a schedule, or unsolicited.
Advance Ship Notice (ASN)
The supplier tells the buyer a shipment is in transit, with full pack-level detail and tracking numbers. Required by virtually every major retailer.
Receiving Advice
The buyer reports what was actually received against what was shipped. Used to flag short shipments, damages, and overages before invoice payment.
Invoice
The supplier requests payment for the shipment, referencing the original PO. Closes the order-to-cash loop.
Payment/Remittance Advice
The buyer tells the supplier which invoices were paid and how the funds were transferred. Pairs with the underlying ACH or wire transfer.
Application Advice
Reports application-level errors in a previously received document (more detailed than the syntax-only 997). Used to flag business-rule failures.
Functional Acknowledgment
Sent for every inbound document. Confirms receipt and reports syntax-validation results. Missing 997s are treated as failed transmissions.
Implementation Acknowledgment
The 5010-era acknowledgment: reports whether each transaction met the X12 standard and the partner's implementation guide, down to the segment and element.
Return Merchandise Authorization and Notification
Requests, authorizes or denies the return of merchandise, and notifies a supplier of returns, with a reason and disposition per line.
Shipment and Billing Notice
Combines the 856 ship notice and the 810 invoice into one document that the buyer uses both to plan the receipt and to pay.
Consolidated Service Invoice/Statement
Bills recurring, usage and one-time service charges, often for many accounts under one master account, with a hierarchical breakdown and account balance.
Text Message
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.
Warehouse Shipping Order
The brand instructs a third-party warehouse or 3PL to ship a specific order to a specific destination by a specific date.
Warehouse Shipping Advice
The warehouse confirms what actually shipped, with carrier, tracking numbers, SSCC-18 carton labels, and any short-shipped lines.
Inventory Inquiry/Advice
Communicates inventory levels per item per location. Used by buyers to check supplier stock before ordering and by suppliers to publish on-hand quantities.
Product Activity Data
The retailer reports sell-through and on-hand inventory per item per location, so the supplier can replenish on real demand. Powers vendor-managed inventory.
Warehouse Stock Transfer Shipment Advice
Tells the 3PL that a shipment of the depositor's own inventory is on the way, with items, lots and carrier, so the dock can receive against it.
Warehouse Stock Transfer Receipt Advice
Confirms what the warehouse actually received, line by line, including short, over or damaged quantities, matched back to the 943.
Warehouse Inventory Adjustment Advice
Reports changes to stored inventory other than receipts or shipments (damage, holds, cycle-count corrections), each with a reason code.
Catalog and Item Setup Documents
Required before any PO can flow. Communicates the supplier product catalog, item changes and retailer locations between trading partners.
Price/Sales Catalog
The supplier publishes their full product catalog: SKUs, UPCs, descriptions, prices, packaging, dimensions. Required before any 850 can flow.
Organizational Relationships
The retailer's location list: head office, stores and DCs with GLN or store number, address and effective dates, so ship-to codes on orders resolve.
Item Maintenance
Grocery item setup: adds new items, changes case and consumer unit data, and withdraws or discontinues items in the retailer's item file.
Price Information
Sends new item costs and cost changes to a grocery retailer or wholesaler, with effective dates and optional price brackets.
Grocery-Specific Documents
Variants designed for grocery distribution: catch-weight items, sell-by dates, lot tracking, and direct store delivery (DSD) check-in.
Grocery Products Purchase Order
The grocery purchase order: G50 names the order, G68 lines carry case UPCs, quantities and costs (including by-the-pound items), and G76 totals the order.
Grocery Products Invoice
The grocery invoice that pairs with the 875: G01 names the invoice and PO, G17 lines bill cases or actual weight, G72 applies deals, and G31/G33 total it.
Delivery/Return Base Record
Direct store delivery (DSD) record of what a route driver delivered to or picked up from one store: items, quantities, unit cost, totals, and the receiver's electronic signature.
Delivery/Return Acknowledgment or Adjustment
The store's answer to an 894: accepts the delivery or return as sent, or adjusts quantities and costs the receiver disputed.
Grocery Products PO Change
Grocery counterpart of the 860: changes or cancels an 875 by restating new values, with a zero quantity deleting a line.
Promotion Announcement
Announces, changes or cancels a trade promotion: allowances, date windows, performance requirements and promoted items.
Direct Store Delivery Summary
Periodic DSD statement summarizing deliveries, returns and adjustments already reconciled through the 894 and 895, one line per ticket.
Distributor Chargeback and Contract Pricing Documents
How manufacturers and distributors settle contract pricing: price authorizations, chargeback claims, responses, and resale tracing.
Price Authorization Acknowledgment/Status
Publishes or changes a contract (price authorization): eligible customers, covered items, contract prices and dates.
Product Transfer Account Adjustment
Claims credit for the difference between the distributor's acquisition cost and the contract price on sales to contracted customers.
Response to Product Transfer Account Adjustment
Accepts, adjusts or rejects each line of an 844 chargeback claim, with reason codes and the allowed amount.
Product Transfer and Resale Report
Reports what a distributor sold or transferred, to which end customers, so the manufacturer can trace sales and validate contracts.
Healthcare (HIPAA) Documents
The 5010 transactions payers, providers, and clearinghouses exchange for eligibility, claims, claim status, prior authorization, remittance, and enrollment.
Eligibility, Coverage or Benefit Inquiry
Asks a health plan whether a patient has active coverage and what benefits apply, under the HIPAA 005010X279A1 guide.
Eligibility, Coverage or Benefit Information
Answers a 270 with coverage status, plan dates, deductibles, copays, coinsurance and out-of-pocket amounts, or an AAA rejection.
Health Care Claim Status Request
Asks a payer where specific submitted claims stand, under the HIPAA 005010X212 guide.
Health Care Claim Status Response
Reports each claim's status category and status codes, charges, payment amount and payment details; the 277CA variant acknowledges claims at intake.
Health Care Services Review
Requests and returns prior authorization, referral and admission review decisions, under the HIPAA 005010X217 guide.
Health Care Claim
Submits professional (837P), institutional (837I) or dental (837D) claims or encounters to a payer, usually through a clearinghouse.
Health Care Claim Payment/Advice
Explains what a payer paid, adjusted or denied on each claim and service line, with CARC/RARC codes, and ties it to the payment.
Benefit Enrollment and Maintenance
Adds, changes, terminates or verifies members' health, dental, vision and other benefit coverage.
Transportation and Logistics Documents
The freight layer 3PLs and shippers use to tender, track, and pay carriers, alongside the order documents above.
Motor Carrier Load Tender
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.
Response to a Load Tender
The carrier accepts or declines the 204 tender. A single action code tells the shipper whether the load is covered or needs re-tendering.
Motor Carrier Bill of Lading
The electronic bill of lading: consignor, consignee, freight description, and weight. The receipt and contract of carriage for the shipment in structured form.
Shipment Status Message
The carrier reports shipment status, picked up, in transit, arrived, delivered, with time and location. The EDI feed behind shipment tracking and delay alerts.
Motor Carrier Freight Invoice
The carrier's freight invoice: line-haul, fuel, and accessorial charges. Shippers audit it against the agreed rate before paying to catch overcharges.
Request for Routing Instructions
Tells a retailer that collect freight is ready and asks for routing: pickup window, pallets, cartons, weight and cube per PO.
Routing Instructions
The retailer's routing reply: assigned carrier (SCAC), load and pickup appointment numbers, scheduled pickup, and which POs ship together.
Motor Carrier Delivery Trailer Manifest
Tells a consignee every LTL shipment on a trailer the carrier is about to deliver, often used to request a dock appointment.
Motor Carrier Shipment Status Inquiry
Asks a motor carrier for the current status of one shipment, identified by PRO, bill of lading or PO.
Motor Carrier Pick-up Manifest
Lists every shipment a shipper handed to one carrier at a pickup, with service level, terms, consignee and package detail.
Shipment Information
Sends a carrier detailed bill-of-lading, rating and scheduling information for a shipment, including government bills of lading.
Freight Receipt and Invoice (Ocean)
The ocean carrier's bill of lading data and freight invoice: parties, vessel, routing, containers, cargo and charges for one shipment.
Status Details (Ocean)
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.
- 832 (Catalog) goes out first, before any PO. The retailer needs your items on file before they can order them.
- 850 (PO) arrives from the retailer. This is the document that triggers everything else.
- 855 (PO Acknowledgment) goes back within the retailer's required window (often 24 hours). Confirms what you can fulfill.
- 940 (Warehouse Shipping Order) goes from your order management system to your 3PL or warehouse, instructing them to ship.
- 945 (Warehouse Shipping Advice) comes back from the warehouse confirming what actually shipped, with tracking and carton labels.
- 856 (ASN) goes to the retailer before the shipment arrives, with the same tracking and carton data sourced from the 945.
- 861 (Receiving Advice) may come back from the retailer reporting any short shipments or damages on receipt.
- 810 (Invoice) goes to the retailer after delivery to request payment.
- 820 (Payment/Remittance) comes back from the retailer when they pay, mapping payment to specific invoices.
- 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 CallNo credit card required. Start in minutes.