X12 defines more than 300 transaction sets. An apparel brand selling to retailers works with a couple of dozen at most. Here's what each one does, who sends it, and where it fits.
An EDI transaction code, or transaction set number, is the three-digit number X12 gives each type of business document. 850 is a purchase order, 856 is a ship notice and 810 is an invoice. The number tells both systems how to read the file.
X12 is the EDI standard used across North American retail. Each retailer then publishes an implementation guide that says which transaction sets it uses, which X12 version, and how it wants each one filled in.
The documents nearly every retailer relationship runs on.
| Code | X12 name | Sent by | What it does |
|---|---|---|---|
| 850 | Purchase Order | Retailer | Places the order |
| 855 | Purchase Order Acknowledgment | Supplier | Accepts, changes, backorders or rejects order lines |
| 860 | Purchase Order Change Request - Buyer Initiated | Retailer | Changes or cancels an order already sent |
| 865 | Purchase Order Change Acknowledgment/Request - Seller Initiated | Supplier | Answers an 860, or asks for a change |
| 856 | Ship Notice/Manifest | Supplier | Says what shipped, carton by carton, before it arrives |
| 810 | Invoice | Supplier | Bills for what shipped |
| 997 | Functional Acknowledgment | Whoever received the document | Confirms a document arrived and could be read |
| 820 | Payment Order/Remittance Advice | Retailer | Says which invoices a payment covers, and what was deducted |
| 812 | Credit/Debit Adjustment | Either side | Explains a chargeback, deduction or credit |
| 824 | Application Advice | Retailer | Reports business errors in a document you sent |
Documents that keep item data and stock levels in sync, especially for dropship.
| Code | X12 name | Sent by | What it does |
|---|---|---|---|
| 846 | Inventory Inquiry/Advice | Usually the supplier | Reports available inventory by item |
| 852 | Product Activity Data | Retailer | Shares sales and on-hand by store or distribution center |
| 832 | Price/Sales Catalog | Supplier | Sends item data such as UPCs, descriptions, colors, sizes and costs |
| 816 | Organizational Relationships | Retailer | Lists store and distribution center locations and their numbers |
| 870 | Order Status Report | Supplier | Reports order status. Some dropship programs use it to cancel lines. |
| 864 | Text Message | Either side | Free-form notices, often from the retailer |
| 180 | Return Merchandise Authorization and Notification | Either side | Authorizes or reports returns |
| 830 | Planning Schedule with Release Capability | Buyer | Shares a forecast. More common in manufacturing than apparel. |
Documents between you, carriers and an outside warehouse.
| Code | X12 name | Sent by | What it does |
|---|---|---|---|
| 753 | Request for Routing Instructions | Supplier | Asks the retailer how to ship a collect order |
| 754 | Routing Instructions | Retailer | Says which carrier to use and when to ship |
| 204 | Motor Carrier Load Tender | Shipper | Offers a load to a trucking carrier |
| 214 | Transportation Carrier Shipment Status Message | Carrier | Sends tracking and delivery updates |
| 210 | Motor Carrier Freight Details and Invoice | Carrier | Bills for freight |
| 940 | Warehouse Shipping Order | Brand | Tells the 3PL what to pick and ship |
| 945 | Warehouse Shipping Advice | 3PL | Confirms what the 3PL actually shipped |
| 943 | Warehouse Stock Transfer Shipment Advice | Brand | Tells the 3PL what inventory is on its way in |
| 944 | Warehouse Stock Transfer Receipt Advice | 3PL | Confirms what the 3PL received |
| 947 | Warehouse Inventory Adjustment Advice | 3PL | Reports adjustments such as damages and count corrections |
It depends on who you sell to and how you ship. As a rough guide:
Each retailer's guide is the final word. Two retailers can use the same 856 very differently, and their vendor compliance requirements say which documents they expect and when.
Documents travel in nested envelopes. ISA and IEA wrap the whole interchange. GS and GE wrap a functional group of one document type, such as all the 856s in a batch. ST and SE wrap each individual transaction set. The 997 reports back at the group and transaction set levels, which is why it can reject one 856 and accept the rest.
The 850 purchase order, 856 ship notice and 810 invoice, with a 997 sent back for each. Almost every retailer that trades by EDI uses those four.
X12 is the standard used mainly in North America. EDIFACT is the UN standard used more in Europe and internationally, and it names documents with words instead of numbers, such as ORDERS for a purchase order and INVOIC for an invoice.
The numbers stay the same across versions such as 4010 and 5010. The segments and allowed codes inside them can change, which is why retailer guides name a version.
Each trading partner. A retailer's EDI requirements or onboarding packet lists the documents it exchanges and the version it uses.
The document most retailer chargebacks trace back to, and how to get it right.
Read the guideHow carton labels tie to the 856, with a free SSCC calculator.
Read the guideBuilt-in EDI or a third-party provider, what retailers require, and what it really costs.
Read the guideWhere chargebacks come from and a process to recover money and stop repeats.
Read the guideWe map out which documents the retailer needs, what your system has to produce, and where the process usually breaks, before the first order arrives.
Book a call