# OrderSync: full reference content --- --- > Full text of OrderSync's pricing, EDI guides, e-invoicing guides, glossary and blog. Index of every page: https://ordersync.io/llms.txt. Any page is also available as markdown at its URL + .md. --- --- Source: https://ordersync.io/pricing --- --- # Pricing — OrderSync OrderSync is a B2B SaaS platform for automated order processing. Pricing is custom and quote-based — contact the team at hello@ordersync.io or book an intro call at ordersync.io/book-call. ## Self-Serve EDI (one or two retailers) Small suppliers trading with one or two retailers can have Otto, OrderSync's agent, prepare their EDI documents for $200 per trading partner a month. That covers the connection, retailer testing, and every purchase order, acknowledgment, ship notice and invoice for that partner. No payment until the first retailer is live. Early access, onboarding in batches: ordersync.io/web-edi ## What's Included (All Plans) - Multi-format order intake: EDI (850/810/856/997/846), PDF, email, CSV, Excel, fax, SMS, portal - AI-powered document extraction — no templates to configure - Automated order validation against your product catalog and customer pricing rules - ERP delivery: native sync for WooCommerce and Shopify; EDI (850/855/810/856/997) over SFTP for any other ERP that can consume it, including NetSuite, SAP, Dynamics 365, Dynamics GP, and QuickBooks. Native connectors for those are scoped per deployment on request. - Exception management dashboard with resolution tools - Full audit trail and order history - EDI compliance for Walmart, Target, Costco, Amazon Vendor Central, Kroger, and others - Dedicated onboarding and trading partner setup ## Pricing Model - Flat monthly subscription — no per-transaction or per-document fees - No VAN (Value Added Network) fees - Pricing scales with order volume and number of active trading partners - All plans include the full feature set; differentiation is primarily by volume tier ## Free Tools (No Signup Required) - **EDI Inspector**: Parse and validate X12 EDI files in your browser — ordersync.io/edi-inspector - **EDI Translator**: Convert EDI to JSON, XML, or CSV — ordersync.io/edi-translator - **EDI ROI Calculator**: Estimate savings from automating EDI — ordersync.io/edi-roi-calculator - **PO Extractor**: Extract structured data from purchase order PDFs — ordersync.io/tools/po-extractor - **Invoice Extractor**: Extract data from invoice PDFs — ordersync.io/tools/invoice-extractor - **Email Order Parser**: Parse orders from email bodies and attachments — ordersync.io/tools/email-order-parser - **ERP Compatibility Checker**: Check if your ERP is supported — ordersync.io/tools/erp-checker - **EDI Readiness Assessment**: Assess readiness for EDI adoption — ordersync.io/tools/edi-readiness ## How to Get Pricing Contact: hello@ordersync.io Book intro call: ordersync.io/book-call AI agents can book over the API: ordersync.io/book-call.md Website: ordersync.io --- # EDI 110 Air Freight Details and Invoice Guide Source: https://ordersync.io/guides/edi/110-air-freight-details-and-invoice > EDI 110 explained: the air freight invoice carriers and forwarders send, its B3, R1, L0, L10, L1 and L3 segments, chargeable weight and audit checks. The EDI 110 Air Freight Details and Invoice is the X12 transaction an air carrier or freight forwarder sends to bill for an air shipment. It carries the invoice number, payment terms, amount due and delivery date in B3, the shipper, consignee and bill-to, the air waybill, the airports in R1, chargeable weight, and each charge with the total. **The EDI 110 is the air freight bill as data.** When a forwarder, integrator or airline moves a shipment by air, the party paying the freight gets a 110 with what was flown, between which airports, at what chargeable weight, and what each piece of the service cost: the air freight itself, fuel, pickup, delivery, handling and customs charges. It shares its beginning segment and charge segments with the motor carrier [210](/guides/edi/210-motor-carrier-freight-invoice) and the ocean [310](/guides/edi/310-freight-receipt-and-invoice-ocean), so if you already audit truck or ocean bills, most of the mapping will look familiar. This guide covers what the 110 bills, how air freight is rated on chargeable weight, every segment you will map, a live invoice from Chicago O'Hare to Los Angeles, how the 110 compares with the 210, 310 and rail 410, and the checks that catch air billing errors. ## What Is an EDI 110? **An EDI 110 is the Air Freight Details and Invoice transaction set defined by [ASC X12](https://x12.org/products/transaction-sets), which can be used to provide a customer with an air invoice for transportation and other charges related to shipments.** The X12 description says it covers original invoices, past due billings, balance due bills and revisions. It travels in functional group `IA` (the `GS01` value). The 110 is the air freight invoice. Its partner on the shipping side is the **104 Air Shipment Information**, which X12 describes as detailed bill of lading and rating information for an air carrier shipment. The two are easy to confuse because "shipment information" is also the name of the rail 404 and the general 858. Authoritative references for 110 work: - [Stedi's X12 004010 reference for the 110](https://www.stedi.com/edi/x12-004010/110) lists the heading, detail and summary segments - The [Transportation Management Coalition 110 guide hosted by C.H. Robinson](https://www.chrobinson.com/-/media/chrobinson/documents/carrier-specs-docs/carrier-specs-july2022/4010_x12_110_tmc.pdf) is a real 004010 implementation for forwarders billing a shipper's freight payment program, with a full sample - [IATA's e-AWB program page](https://www.iata.org/en/programs/cargo/e/eawb/) explains the air waybill as the contract of carriage between shipper and airline, and [IATA's AWB number validation help](https://dgautocheck.iata.org/help/AWBnumbervalidation.html) gives the 11-digit number format - [Maersk's guide to air cargo chargeable weight](https://www.maersk.com/logistics-explained/transportation-and-freight/2025/03/10/air-cargo-chargeable-weight) explains how volumetric weight and actual weight decide the billed weight - Each payer publishes its own 110 requirements, which set the references it needs and the charge codes it accepts **Who sends it?** The party that billed the air move: an airline, an air freight forwarder, an integrator such as an express carrier, or a freight payment provider on its behalf. **Who receives it?** The party paying the freight: the shipper on prepaid, the consignee on collect, or a third party such as a 3PL or a freight audit and payment provider. **When is it sent?** Usually after delivery, once the shipment is rated. Revised and balance-due bills follow if the charges change. **Why does it matter?** Air freight is expensive per kilogram, and small differences in weight, dimensions or surcharges add up fast. The 110 is where you find out what you were charged for, line by line. ## How Air Freight Is Rated: Chargeable Weight Air carriers bill on **chargeable weight**: the greater of the actual gross weight and the volumetric (dimensional) weight. A common standard divisor is 6,000 cubic centimetres per kilogram, which works out to about 167 kg per cubic metre, though carriers and express services set their own factors. In the sample below, 12 cartons weigh 186 kg gross and measure 1.42 cubic metres. At 167 kg per cubic metre, the volumetric weight is about 237 kg, so the shipment bills at 237 kg, not 186 kg. The 110 shows both: the billed weight in `L0` and `L3`, and the billed and gross weights in separate `L10` segments. | | Truck (210) | Rail (410) | Ocean (310) | Air (110) | |---|---|---|---|---| | **Main rating unit** | Hundredweight and class (LTL), mile or flat (truckload) | Car, unit or weight under a price authority | Container or freight ton | Chargeable kilogram | | **Key reference** | PRO and bill of lading | Waybill and bill of lading | Bill of lading and booking | Air waybill | | **Locations** | Stops and addresses | Rail stations | Ports and places (UN/LOCODE) | Airports (IATA codes) | | **Beginning segment** | `B3` | `B3B` | `B3` | `B3` | ## Interactive Example: Prepaid Air Freight, ORD to LAX A sensor manufacturer near Chicago ships 12 cartons of sensor assemblies to an automotive customer in Torrance, California. The forwarder (SCAC `NWAQ`) picks up, flies the shipment from O'Hare (`ORD`) to Los Angeles (`LAX`), delivers it, and bills the shipper. `B3` gives the invoice number, the shipper's shipment ID, prepaid terms, kilograms, the invoice date, the net amount due (1,332.60), and the delivery date with qualifier `035` delivered. `C3` sets US dollars. The heading `N1` loops name the shipper, the consignee and the bill-to party, and the bill-to loop carries the forwarder's house air waybill number and the customer's PO in `N9`. In the `LX` loop, `R1` gives the origin airport, the air carrier code and the destination airport, and `POD` records who signed for it. In the `L5` loop, `L0` and the first `L10` give the 237 kg chargeable weight and the second `L10` the 186 kg gross weight. The `L1` lines bill air freight at 3.85 per kg (912.45), fuel surcharge at 0.95 per kg (225.15), pickup (85.00) and delivery (110.00), and `L3` totals them. All names, codes and numbers are fictional. Use the **Plain English** tab for a readable summary, or click any segment to break it down element by element. ## 110 Structure at a Glance The table follows X12 release 004010. | Area | Segment | Name | Usage in the standard | Notes | |---|---|---|---|---| | Heading | **ST** | Transaction Set Header | Mandatory | `ST01` = `110` | | Heading | **B3** | Beginning Segment for Carrier's Invoice | Mandatory | Invoice number, shipment ID, terms, dates, amount, SCAC | | Heading | **B3A** | Invoice Type | Optional | Transaction type and number of shipments invoiced | | Heading | **C2** | Bank ID | Optional | Remittance bank details | | Heading | **C3** | Currency | Optional | Billing currency | | Heading | **ITD** | Terms of Sale/Deferred Terms of Sale | Optional | Payment terms | | Heading loop | **N1 / N2 / N3 / N4 / N9 / PER** | Name, address, references, contact | Optional, up to 3 | Shipper, consignee, bill-to | | Detail loop | **LX** | Assigned Number | Mandatory, up to 9999 | One per shipment or invoice line | | LX loop | **N1 loop** | Name, address, references | Optional, up to 2 | Shipment-level parties | | LX loop | **P1** | Pick-up | Optional | Pickup date | | LX loop | **R1** | Route Information (Air) | Optional | Airports and air carriers | | LX loop | **POD** | Proof of Delivery | Optional | Delivery date, time and signer | | LX loop | **V9 / RMT / G47 / NTE** | Event, remittance, statement, notes | Optional | Other detail | | L5 loop | **L5** | Description, Marks and Numbers | Mandatory, up to 4 | Description of what was shipped | | L5 loop | **L0 / L4 / L10 / SL1** | Quantity and weight, measurements, weights, tariff and service level | Optional | Chargeable and gross weight, dimensions | | L1 loop | **L1 / C3** | Rate and Charges, Currency | Up to 30 per L5 | One per charge | | Summary | **L3** | Total Weight and Charges | Mandatory | Invoice totals | | Summary | **ACS / NTE** | Ancillary charges, notes | Optional | Other totals and text | | Summary | **SE** | Transaction Set Trailer | Mandatory | Segment count and control number | Because `LX` repeats up to 9,999 times, one 110 can bill many shipments, and `B3A02` can state how many. Whether each 110 bills one shipment or several is set by the payer's guide; one shipment per invoice makes matching to the air waybill simplest. ## Key Segments Explained ### B3: Beginning Segment for Carrier's Invoice ``` B3**NW26110934*HSS-SH-20417*PP*K*20261109*133260**20261106*035*NWAQ~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **B302** | Invoice Number | `NW26110934` | The carrier's or forwarder's invoice number. The TMC guide uses the PRO number | | **B303** | Shipment Identification Number | `HSS-SH-20417` | The shipper's shipment or load number | | **B304** | Shipment Method of Payment | `PP` | `PP` prepaid (by seller), `CC` collect, `TP` third party pay | | **B305** | Weight Unit Code | `K` | `K` kilograms, `L` pounds | | **B306** | Date | `20261109` | Invoice date | | **B307** | Net Amount Due | `133260` | Two implied decimals: 1,332.60 | | **B308** | Correction Indicator | | Set on revised and balance-due bills; the TMC guide accepts `BD` balance due billing and `CO` correction | | **B309 / B310** | Delivery Date, Date/Time Qualifier | `20261106` / `035` | Delivery date; `035` delivered | | **B311** | Standard Carrier Alpha Code | `NWAQ` | The billing carrier or forwarder | The layout is the same `B3` used by the 210 and 310, so a mapper built for one can usually be reused for the others with mode-specific references added. ### N1 and N9: Parties and the Air Waybill ``` N1*SH*HALDEN SENSOR SYSTEMS~ N1*CN*PACIFIC RIDGE AUTOMOTIVE~ N1*BT*HALDEN SENSOR SYSTEMS~ N9*AW*NWA2611054~ N9*PO*PRA-4471820~ ``` The heading `N1` loop can repeat only three times, so most 110s send the shipper (`SH`), consignee (`CN`) and bill-to (`BT`) or payer (`PR`). Each `N1` loop can carry its own `N9` references. `AW` is the air waybill number. Other common qualifiers are `CR` customer reference, `SI` shipper's identifying number and `PO` purchase order. Airline air waybill numbers have 11 digits: a three-digit airline prefix, a seven-digit serial and a check digit. A forwarder consolidating several shippers' freight under one airline master air waybill issues each shipper a house air waybill with its own number format. Ask the billing party which one it sends in `N9*AW`, and store both if you get both. ### R1: Route Information (Air) ``` R1***ORD*QNW*LAX~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **R101 / R102** | Standard Carrier Alpha Code | | SCACs of the carriers, when sent | | **R103** | Airport Code | `ORD` | Origin airport (IATA code) | | **R104** | Air Carrier Code | `QNW` | The air carrier for the first leg | | **R105** | Airport Code | `LAX` | Next airport | | **R106 to R113** | Air Carrier Code, Airport Code pairs | | Further legs, one carrier and airport pair each | `R1` describes the airport routing. A shipment that connects through a hub adds a carrier and airport pair for each leg. Which code set the carrier code uses is set by the billing party's guide. ### L5, L0 and L10: What Was Shipped and the Weights ``` L5*1*AUTOMOTIVE SENSOR ASSEMBLIES~ L0*1***237*B*1.42*X*12*CTN**K~ L10*237*B*K~ L10*186*G*K~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **L502** | Lading Description | `AUTOMOTIVE SENSOR ASSEMBLIES` | What was shipped | | **L004 / L005** | Weight, Weight Qualifier | `237` / `B` | `B` billed (chargeable) weight | | **L006 / L007** | Volume, Volume Unit Qualifier | `1.42` / `X` | `X` cubic metres | | **L008 / L009** | Lading Quantity, Packaging Form Code | `12` / `CTN` | 12 cartons | | **L011** | Weight Unit Code | `K` | Kilograms | | **L1001 to L1003** | Weight, Weight Qualifier, Weight Unit Code | `186` / `G` / `K` | A weight with its type: `B` billed, `G` gross | Two `L10` segments, billed and gross, are the quickest way to see whether you paid for volume rather than weight. The TMC guide also sends `L4` with the dimensions, so a payer can recompute the volumetric weight itself. ### L1: Rate and Charges ``` L1*1*3.85*KG*91245****400****AIR FREIGHT~ L1*2*0.95*KG*22515****405****FUEL SURCHARGE~ L1*3***8500****PUC****PICKUP CHARGE~ L1*4***11000****DEL****DELIVERY CHARGE~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **L101** | Lading Line Item Number | `1` | Charge line number | | **L102 / L103** | Freight Rate, Rate/Value Qualifier | `3.85` / `KG` | The rate and its basis: `KG` per kilogram. The standard requires both or neither | | **L104** | Charge | `91245` | Two implied decimals: 912.45 | | **L108** | Special Charge or Allowance Code | `400` | What the charge is | | **L112** | Special Charge Description | `AIR FREIGHT` | The charge name in text | X12 codes you will see in `L108` include `400` freight, `405` fuel surcharge, `PUC` pick-up charge, `DEL` delivery charge, `HHB` handling, `360` export customs clearance, `TER` terminal charge and `DOC` documentation charge. The TMC guide adds import clearance, duty and terminal handling codes for international moves. Map each billing party's codes to your freight cost accounts from its guide, and treat `L112` as a label, not a key. ### L3: Total Weight and Charges ``` L3*237*B***133260******12*K~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **L301 / L302** | Weight, Weight Qualifier | `237` / `B` | Total billed weight | | **L305** | Charge | `133260` | Total charges: 1,332.60 | | **L311** | Lading Quantity | `12` | Total pieces | | **L312** | Weight Unit Code | `K` | Kilograms | Check that the `L1` charges add up to `L305` and to `B307`. In the sample: 912.45 + 225.15 + 85.00 + 110.00 = 1,332.60. ## EDI 110 vs 210, 310, 410 and 104 | Document | Mode | Sent by | Purpose | |---|---|---|---| | **110 Air Freight Details and Invoice** | Air | Air carrier, forwarder or integrator | Air freight invoice | | **104 Air Shipment Information** | Air | Shipper | Bill of lading and rating data sent to the air carrier | | **[210 Motor Carrier Freight Details and Invoice](/guides/edi/210-motor-carrier-freight-invoice)** | Truck | Motor carrier | Truck freight invoice | | **[310 Freight Receipt and Invoice (Ocean)](/guides/edi/310-freight-receipt-and-invoice-ocean)** | Ocean | Ocean carrier | Ocean bill of lading data and freight invoice | | **[410 Rail Carrier Freight Details and Invoice](/guides/edi/410-rail-carrier-freight-details-and-invoice)** | Rail | Railroad | Rail freight invoice | | **[214 Shipment Status Message](/guides/edi/214-transportation-carrier-shipment-status)** | Truck and other modes | Carrier | Status events | A door-to-door air shipment often has a truck leg at each end. When the forwarder handles the whole move, the pickup and delivery come as `PUC` and `DEL` lines on the same 110, as in the sample. When you book the trucking yourself, the trucker's charges arrive separately, usually on a [210](/guides/edi/210-motor-carrier-freight-invoice). ## How to Audit a 110 | Error | What happens | Prevention | |---|---|---| | **Billed on volume you did not expect** | Charge far above the gross-weight quote | Compare the billed and gross `L10` weights, and recompute volumetric weight from `L4` dimensions when sent | | **Charges do not add up** | Short payment and disputes | Sum `L104` and compare with `L305` and `B307` | | **No air waybill to match on** | Invoice sits unapproved | Require `N9*AW` and your shipment ID in `B303` | | **Unknown charge codes** | Costs land in the wrong account | Keep a per-carrier table of `L108` codes and flag anything new | | **Fuel surcharge on the wrong basis** | Overbilled fuel | Check `L102`/`L103` against the carrier's published fuel table and your contract | | **Revised bill paid twice** | Duplicate payment | Read `B308` and key invoices on number and SCAC | | **Implied decimals misread** | Amounts off by a factor of 100 | Treat `B307`, `L104` and `L305` as two implied decimal places | | **Units confused** | Weights off by a factor of 2.2 | Read `B305`, `L011` and `L1003` every time | ## 110 Implementation Checklist Before your first live 110 from a carrier or forwarder: - Get the billing party's 110 guide, or send it your own, and confirm the X12 version in `GS08` (004010 is common; FedEx publishes a guide in release 004060) - Agree whether each 110 bills one shipment or many - Agree where the air waybill, your shipment ID and your PO numbers appear - Agree how chargeable weight is reported: billed and gross `L10`, dimensions in `L4`, volume in `L0` - Load the billing party's `L108` codes and map them to your freight cost accounts - Decide how revised and balance-due bills are reviewed before payment - Return a [997](/guides/edi/997-functional-acknowledgment) for each 110 and agree on remittance, such as an [820](/guides/edi/820-payment-order) - Test a domestic shipment, an international shipment with customs charges, a revision and a multi-shipment invoice if you will receive them To spread air freight across order lines and see what it does to margin, use our [landed cost calculator](/tools/landed-cost-calculator). For how the transportation sets fit next to orders and invoices, see our [EDI document types reference](/edi-document-types). ## Where OrderSync Fits Air freight usually starts with an urgent order: a line-down part, a launch, a customer who needs it tomorrow. The PO in `N9`, the consignee and the quantity on the 110 all come from that order, whether it arrived as an EDI 850, a PDF, an email or a spreadsheet. OrderSync reads inbound orders in any format, matches customers, items and units to your catalog, and outputs clean ERP data or valid X12. Paste any 110 into the [free EDI inspector](/edi-inspector) to see it parsed segment by segment with a plain-English summary and any structural errors explained, or [book a 15-minute walkthrough](/book-call) to see your own orders processed. ## Frequently Asked Questions
### What is an EDI 110? The EDI 110 Air Freight Details and Invoice is the X12 transaction an air carrier, forwarder or integrator uses to bill for an air shipment. It carries the invoice number, terms, amount due and delivery date in B3, the parties and air waybill, the airports in R1, the chargeable weight, and each charge with the total. ### Is the EDI 110 called Air Shipment Information? No. The 110 is Air Freight Details and Invoice. Air Shipment Information is the X12 104, which a shipper sends to an air carrier with bill of lading and rating data. ### What is the difference between EDI 110 and EDI 210? The 210 bills truck freight and the 110 bills air freight. Both start with the same B3 segment and use L1 and L3 for charges and totals. The 110 adds airports in R1, the air waybill in N9 and billed and gross weights in L10. ### What is chargeable weight on a 110? It is the weight the shipment is billed on: the greater of the actual gross weight and the volumetric weight. A 110 shows the billed weight in L0 and L3, and often both billed and gross weight in separate L10 segments. ### Where is the air waybill number in a 110? In an N9 segment with qualifier AW, inside one of the heading N1 loops. Confirm with the billing party whether it sends the airline master air waybill or its own house air waybill. ### What does R1 mean in an EDI 110? R1 is Route Information (Air). R103 is the origin airport, R104 the air carrier, R105 the next airport, and further carrier and airport pairs follow for each extra leg. ### What functional group does the 110 use? The 110 travels in functional group IA, the value in GS01. The version is in GS08; 004010 is common. ### Who receives an EDI 110? The party paying the freight: the shipper on prepaid shipments, the consignee on collect, or a third party such as a 3PL or a freight audit and payment provider.
--- # EDI 180 Return Merchandise Authorization Guide Source: https://ordersync.io/guides/edi/180-return-merchandise-authorization > EDI 180 explained: return requests, RMA authorizations and return notices, the BGN, BLI and RDR segments, reason and disposition codes, and live examples. The EDI 180 Return Merchandise Authorization and Notification is the X12 transaction trading partners use to manage returns. A retailer or distributor sends it to request permission to return goods, the supplier sends one back to authorize or deny each line and issue an RMA number, and either side can use it to notify the other of a return. **The EDI 180 replaces the return authorization email thread.** A distributor finds defective units, overstock or freight damage, asks the supplier if it can send them back, waits for an RMA number, ships, and then chases the credit. The 180 puts each of those steps into structured data: the items, the quantities, the reason for each line, and the supplier's decision on each line. This guide covers what the 180 carries, the request and authorization flow, two live examples (a distributor's request and the manufacturer's answer), every segment you are likely to map, the reason and disposition codes, and how the 180 connects to the 810, 812 and 856. ## What Is an EDI 180? **An EDI 180 is the Return Merchandise Authorization and Notification transaction set defined by the [ASC X12 standards body](https://x12.org/products/transaction-sets). The X12 purpose statement says it supports customary business practice for returning merchandise to the vendor, and can serve as a request for a return, an authorization or disposition of the return, a notification of a return, or a notification of a consumer return.** It travels in functional group `AN` (Return Merchandise Authorization and Notification). Authoritative references for 180 work: - The [X12 transaction set catalog](https://x12.org/products/transaction-sets) defines the 180 structure, its segment order and the return reason and disposition code lists - The [Healthcare Distribution Alliance](https://www.hda.org/publications/edi-guidelines-for-180-return-merchandise-authorization-notification-812-credit-debit-adjustment) publishes industry guidelines for the 180 and the 812 Credit/Debit Adjustment between pharmaceutical manufacturers and distributors - The [Stedi X12 4010 reference](https://www.stedi.com/edi/x12-004010/180) lists every 180 segment with its usage and repeat counts - Each trading partner's 180 implementation guide decides which of the uses it supports and which segments and codes it requires **Who sends it?** It depends on the use. The returning party (a retailer, distributor or pharmacy wholesaler) sends a request or a return notice. The supplier sends the authorization or denial. Some retailers send the 180 to drop-ship vendors to report that a consumer has returned an item. **Who receives it?** The other side of the same relationship: the supplier's customer service or returns team for a request, the buyer's purchasing or returns team for an authorization. **When is it sent?** A request goes out before anything ships back. The authorization comes back once the supplier has reviewed it. A notification is sent when goods have been returned, or when a consumer return has been received. **Why does it matter?** Returns that move without an authorization tend to be refused at the supplier's dock, or accepted and never credited. A 180 exchange gives both sides the same record of what was approved, which is what the later credit is checked against. ## The Four Uses of a 180 One transaction set covers several steps of the returns process. Your partner's guide will say which it uses. | Use | Sent by | What it says | |---|---|---| | **Return request** | Returning party (buyer) | These items, these quantities, for these reasons: may we send them back? | | **Authorization or disposition** | Supplier | Per line: return authorized (with an RMA number), denied, keep with an allowance, dispose, or ship to a third party | | **Return notification** | Returning party | These items have been (or are being) returned | | **Consumer return notification** | Retailer | A consumer returned this item, for this reason, often in a drop-ship program | The standard does not have one header flag that says "request" or "authorization" in every implementation. Partners tell them apart by which `RDR` elements are filled in (a request carries reasons, an authorization carries dispositions), by `BGN06` pointing an authorization back to the request it answers, and in some guides by a transaction type code in `BGN`. Read the partner's guide before you build the map. ## How a Return Authorization Flows A typical distributor return to a manufacturer runs like this: 1. **Identify the return.** The distributor's warehouse or returns desk collects goods to send back: defective units returned by customers, damaged deliveries, excess or slow-moving stock under a stock rotation agreement. 2. **Request.** The distributor sends a 180 listing each item, quantity and reason, referencing the original purchase order and, where known, the invoice. 3. **Review.** The supplier checks each line against its return policy, the original sale and any agreement in place. 4. **Authorize.** The supplier sends a 180 back with an RMA number in `N9*RZ`, an expiry date, the address to return to, and a disposition for each line. Some lines may be authorized, some denied, and some marked for disposal in the field. 5. **Ship.** The distributor ships only the authorized lines, quoting the RMA number on the paperwork and cartons. 6. **Receive and inspect.** The supplier receives the return against the RMA and confirms quantity and condition. 7. **Credit.** The supplier issues the credit, as a credit memo, an [812 Credit/Debit Adjustment](/guides/edi/812-credit-debit-adjustment) or a credit [810 invoice](/guides/edi/810-invoice), depending on the relationship. Where the buyer has already taken a deduction, the credit closes it out. Step 7 is where most return disputes land. If the credit does not match what the 180 authorized, both sides need the 180 exchange to work out why. ## Interactive Example: Distributor Return Request A hardware distributor asks a tool manufacturer to accept three lines back against purchase order `PO-448812`: six cordless drills returned by customers as defective (used), four circular saws of excess stock (unused), and two drill bit sets that arrived damaged. Each `BLI` line carries the vendor item number, quantity and UPC, a `PID` description, and an `RDR` with the request reason in `RDR02` and whether the item was used in `RDR05`. Use the **Plain English** tab for a readable summary, or click any segment to break it down element by element. ## Interactive Example: Manufacturer Return Authorization Two days later the manufacturer answers. `BGN06` points back to the request, `N9*RZ` carries the RMA number, `DTM*036` says when the authorization expires, and an `N1*ST` loop gives the returns center address. Line by line: the drills are authorized (`RDR*RA`), the saws are denied with a response reason (`RT`, return window exceeded) and a short note, and the damaged bit sets are marked `DI` (dispose, do not ship). ## 180 Structure at a Glance The 180 has a heading, a detail loop per item (`BLI`), and nested loops for quantities, locations and serial or lot data. | Area | Segment | Name | Usage | Notes | |---|---|---|---|---| | Heading | **ST** | Transaction Set Header | Mandatory | `ST01` = `180` | | Heading | **BGN** | Beginning Segment | Mandatory | Purpose, reference number, date, and the original transaction this answers | | Heading | **RDR** | Return Disposition Reason | Optional | Reason or disposition for the whole return | | Heading | **PRF** | Purchase Order Reference | Optional | The original PO | | Heading | **DTM** | Date/Time Reference | Optional | For example the authorization expiry | | Heading | **N9** | Reference Identification | Optional | RMA number, invoice number and other references | | Heading | **PER** | Administrative Communications Contact | Optional | Returns contact | | Heading | **SAC, G38** | Allowances, charges, claim payment | Optional | Restocking fees, handling charges, claim terms | | Heading | **PKG, TD1, TD5** | Packaging and carrier details | Optional | How the return should ship | | Heading | **NTE** | Note/Special Instruction | Optional | | | Heading loop | **N1, N2, N3, N4, PER** | Name and address | Optional loop | Buyer, vendor, ship-from and return-to parties | | Heading loop | **LM / LQ** | Code source and industry code | Optional loop | Industry code lists | | Detail loop | **BLI** | Baseline Item Data | Mandatory in loop | Item IDs, quantity, unit and price | | Detail loop | **N9, PID** | References and description | Optional | | | Detail loop | **RDR** | Return Disposition Reason | Optional | Line-level reason or disposition | | Detail loop | **SAC, AMT, MEA, CRC, NTE** | Charges, amounts, measurements, conditions, notes | Optional | | | Detail loop | **PRF, DTM** | Line-level PO and dates | Optional | Used when lines come from different orders | | Detail loop | **DD, GF, TD5, SDQ** | Demand, furnished goods, carrier, destination quantities | Optional | | | Detail loop | **N1 loop** | Line-level parties | Optional loop | | | Detail loop | **QTY loop** | Quantity, with AMT, DTM, N1 and LM | Optional loop | Alternative to the quantity in `BLI03` | | QTY loop | **LX loop** | Assigned number, N9, DTM, N1 | Optional loop | Serial numbers, lot numbers and inventory data | | QTY loop | **FA1 / FA2** | Financial accounting data | Optional loop | Accounting data, where the partner requires it | | Trailer | **SE** | Transaction Set Trailer | Mandatory | Segment count and control number | Most commercial 180s use a small part of this: `BGN`, `PRF`, `N9`, the `N1` loop, and `BLI` with `PID` and `RDR`. In the envelope, `GS01` is **AN**. ## Key Segments Explained ### BGN: Beginning Segment ``` BGN*00*RA-55120*20261107***RR-20261105-01~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **BGN01** | Transaction Set Purpose Code | `00` | `00` = original | | **BGN02** | Reference Identification | `RA-55120` | This transaction's reference number | | **BGN03** | Date | `20261107` | The date of this transaction | | **BGN04 / BGN05** | Time and time code | | Optional | | **BGN06** | Reference Identification | `RR-20261105-01` | The reference of an earlier transaction this one affects. In the example, the request being answered | `BGN06` is what ties an authorization to its request. If your system cannot match on it, you end up matching on PO and item, which breaks as soon as there are two returns against the same order. ### N9: Reference Identification ``` N9*RZ*RMA-77310~ N9*IV*INV-77120~ ``` `N901` is the qualifier and `N902` the value. `RZ` is the returned goods authorization number (the RMA), and `IV` is the seller's invoice number. The RMA number is the key the supplier's dock receives against, so it has to reach the shipping paperwork exactly as sent. ### PRF: Purchase Order Reference ``` PRF*PO-448812***20261002~ ``` `PRF01` is the original purchase order number and `PRF04` its date. At heading level it applies to the whole return. When lines come from different orders, the same segment goes inside each `BLI` loop instead. ### BLI: Baseline Item Data ``` BLI*VN*RT-DRL-18V*6*EA****UP*081550200140~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **BLI01 / BLI02** | Product ID qualifier and ID | `VN` / `RT-DRL-18V` | The first item identifier. `VN` = vendor item number | | **BLI03** | Quantity | `6` | Quantity to return (or authorized). The alternative is a `QTY` loop | | **BLI04** | Unit of Measure | `EA` | Applies to the quantity, and to the price unless `BLI07` is sent | | **BLI05 / BLI06** | Price identifier and unit price | | Sent as a pair when used | | **BLI07** | Price unit of measure | | Only when the price unit differs from `BLI04` | | **BLI08 to BLI13** | Up to three more ID pairs | `UP` / `081550200140` | For example a UPC, a buyer item number or a model number | `BLI` allows four item identifiers per line. Send the ones the supplier's guide asks for, and make sure they all describe the same unit: a case UPC with a quantity in eaches is a common cause of a line being denied as an unidentifiable item. ### PID: Product/Item Description ``` PID*F****18V CORDLESS DRILL KIT~ ``` `PID01` = `F` (free-form) and `PID05` the description. It helps the person reviewing the return, but suppliers match on the identifiers in `BLI`, not on the description. ### RDR: Return Disposition Reason `RDR` is the heart of the 180. It carries the buyer's reason for the return, the supplier's answer, or both sides of the decision, at heading level or per line. ``` RDR**DR***Y~ RDR*RD**RT*OUTSIDE STOCK RETURN WINDOW~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **RDR01** | Returns Disposition Code | `RD` | What happens to the goods (authorized, denied, dispose, keep with allowance) | | **RDR02** | Return Request Reason Code | `DR` | Why the returning party wants to return them | | **RDR03** | Return Response Reason Code | `RT` | The supplier's reason for its response | | **RDR04** | Description | `OUTSIDE STOCK RETURN WINDOW` | Free text, up to 80 characters | | **RDR05** | Yes/No Condition | `Y` | `Y` if the item has been used, `N` if not | X12 allows only one of `RDR02` and `RDR03` in the same segment, so a single `RDR` is either the request side or the response side. **Common return request reasons (`RDR02`):** | Code | Meaning | |---|---| | `DA` | Damaged product | | `DT` | Damaged in transit | | `DM` | Defective, found on store inspection | | `DR` | Defective, returned by consumer | | `WG` | Wrong goods or not ordered | | `CO` | Customer ordering error | | `EI` | Excess inventory | | `EO` | End of season | | `SR` | Stock reduction agreement | | `DI` | Discontinued product | | `SD` | Short-dated product | | `BC` | Beyond code date | | `PR` / `RE` | Product recall / recall | | `SP` | Shipped past cancel date | | `PE` | Price error | **Dispositions (`RDR01`):** | Code | Meaning | |---|---| | `RA` | Return with authorization number | | `RN` | Return without authorization number | | `RP` | Return authorization pending | | `PA` | Partially authorized | | `RD` | Request denied | | `DI` | Dispose: destroy or dispose of the goods, do not ship | | `KA` | Keep with an allowance | | `KR` | Keep and repair | | `RF` | Return for factory repair | | `MW` | Manufacturer warranty service | | `RT`, `SC`, `SD` | Ship to a third party, for charitable contribution, or for disposal | | `CR` | Consumer returned directly to the vendor | **Response reasons (`RDR03`)** explain a denial or a condition: `NR` (no record of original sale), `RT` (return time limit exceeded or beyond warranty), `OS` (out of season or discontinued line), `IN` (item not defective), `QD` (quantity difference), `PC` (pricing or cost difference), `UI` (unidentifiable item), `MI` (more information requested), `PR` (picture requested) and `SR` (sample requested), among others. These code lists are the X12 4010 values. Partners use a subset, and the subset is in their guide. ### DTM: Date/Time Reference ``` DTM*036*20261207~ ``` `DTM01` = `036` (expiration) and `DTM02` the date. On an authorization it says how long the RMA is valid. On a notification, partners often use `050` (received) for the date the goods or the consumer return arrived. ### N1 Loop: Parties and the Return Address ``` N1*ST*RIDGELINE RETURNS CENTER*92*RC01~ N3*88 FOUNDRY RD~ N4*DES MOINES*IA*50313~ ``` The `N1` loop names the buyer (`BY`), the vendor (`VN`), where the return ships from (`SF`) and where it ships to (`ST`). On an authorization, the ship-to is the address the returning party must use. It is often a returns center or a third-party processor, not the warehouse the goods first shipped from. ### QTY and LX Loops: Serial and Lot Detail When each returned unit has to be identified, the quantity moves out of `BLI03` into a `QTY` loop, and an `LX` loop under it carries serial numbers, lot numbers and inventory data in `N9` segments, with an optional `N1` naming the manufacturer of that serial or lot. Electronics, medical devices and pharmaceuticals are the usual users. Which qualifiers carry the serial and lot numbers is set by the partner's guide. ## Retail, Distribution and Healthcare Returns The same transaction set behaves differently by industry. - **Wholesale and industrial distribution.** The distributor requests, the manufacturer authorizes. Excess stock returns usually fall under a stock rotation or stock reduction agreement, which is why `SR` and `EI` exist as reasons. [EDI for wholesale distribution](/edi-for/wholesale-distribution) covers the wider document set. - **Retail and drop ship.** Some retailers use the 180 to notify a drop-ship vendor that a consumer has returned an item, with a reason code per line, so the vendor can restock or credit. Others run returns through a vendor portal and never send a 180. - **Healthcare distribution.** Pharmaceutical manufacturers and distributors use the 180 alongside the 812 under the HDA guidelines, with short-dated, expired and recalled product as common reasons, and lot detail on each line. See [EDI for pharmaceutical suppliers](/edi-for/pharmaceutical). ## EDI 180 vs 812, 810, 856 and 824 | Document | Sent by | Purpose | Relationship to the 180 | |---|---|---|---| | **180 Return Merchandise Authorization and Notification** | Either side | Request, authorize, deny or notify a return | The return record itself | | **[812 Credit/Debit Adjustment](/guides/edi/812-credit-debit-adjustment)** | Either side | Credits and debits outside an invoice | Often how the credit for an authorized return is issued, or how a buyer deducts for it | | **[810 Invoice](/guides/edi/810-invoice)** | Supplier | Bills for goods | The original sale the return refers to; some partners issue a credit 810 for returns | | **[856 Ship Notice](/guides/edi/856-ship-notice)** | Supplier | Describes an outbound shipment | The original shipment. A return is not an 856 unless the partner's guide asks for one | | **[824 Application Advice](/guides/edi/824-application-advice)** | Receiver | Reports content errors in a received document | May be sent if a 180 fails the receiver's business rules | | **[997 Functional Acknowledgment](/guides/edi/997-functional-acknowledgment)** | Receiver | Confirms receipt and syntax | Says the 180 arrived, not that the return is approved | Two confusions come up often. The [855](/guides/edi/855-purchase-order-acknowledgment) and [860](/guides/edi/860-purchase-order-change) have no role in returns: rejecting a line on an 855 declines to ship it in the first place. And a 997 accepting your 180 request is not an authorization. Only the supplier's 180 response (or its returns portal) is. ## Where the 180 Sits in the Order Lifecycle 1. **Order.** [850 purchase order](/guides/edi/850-purchase-order), acknowledged on an 855. 2. **Ship.** 856 ship notice, goods received. 3. **Bill.** 810 invoice, paid with an [820 remittance](/guides/edi/820-payment-order). 4. **Return request.** 180 from the buyer, referencing the PO and invoice. 5. **Authorization.** 180 from the supplier with an RMA number and per-line dispositions. 6. **Return shipment.** The buyer ships authorized lines quoting the RMA. 7. **Credit.** 812, credit 810 or credit memo, matched to the authorization. The full lifecycle is in our [EDI order lifecycle guide](/guides/edi/edi-order-lifecycle). ## Common 180 Errors and How to Prevent Them | Error | What happens | Prevention | |---|---|---| | **No PO or invoice reference** | Supplier denies with `NR` (no record of original sale) | Send `PRF` and `N9*IV` from the original order and invoice | | **Item identifiers that do not match the original sale** | Line denied as unidentifiable (`UI`) | Use the same vendor item number and UPC as the 810 | | **Case code with an each quantity** | Quantity difference or wrong credit | Keep unit of measure and identifier at the same level | | **Reason code the partner does not accept** | Request rejected, or held for manual review | Map reasons to the subset in the partner's guide | | **Both `RDR02` and `RDR03` in one segment** | Syntax error on the 997 | One `RDR` per side of the decision | | **Shipping denied or disposal lines** | Goods refused at the dock, or no credit | Ship only lines with an authorizing disposition | | **RMA number missing from the paperwork** | Return received as unknown freight | Print `N9*RZ` on the bill of lading and cartons | | **Shipping after the authorization expires** | Return refused | Watch the `DTM*036` date | | **Authorization not linked to the request** | Responses matched to the wrong return | Populate `BGN06` with the request's `BGN02` | Returns that go wrong usually show up later as [deductions and chargebacks](/edi-chargebacks). The [EDI inspector](/edi-inspector) lays out each `BLI` and `RDR` element by name, which makes a 180 quick to check before you send it. ## 180 Implementation Checklist - Confirm which uses the partner supports: requests, authorizations, notifications, consumer return notices - Get its 180 guide and the subset of `RDR` codes it accepts on each side - Confirm how it tells a request from a response (`RDR` content, `BGN06`, a `BGN` transaction type code) - Confirm the item identifiers it wants in `BLI`, and whether quantity goes in `BLI03` or a `QTY` loop - Confirm whether serial or lot numbers are required, and in which `N9` qualifiers - Agree how the credit is issued: 812, credit 810 or memo, and what it references - Make sure the RMA number flows to your shipping paperwork - Test a full request, a partial authorization, a denial and a disposal If you are mapping a new partner's document set, the [EDI document types reference](/edi-document-types) and [EDI compliance guide](/edi-compliance) show where returns fit alongside orders, ship notices and invoices. ## Getting the Original Orders Right With OrderSync Most returns trace back to the order: a wrong item, a wrong unit, a quantity keyed twice. Distributors and suppliers receive those orders as EDI 850s, but also as emails, PDFs and spreadsheets, and each one has to be matched to the right customer, item and unit before it ships. OrderSync reads inbound orders in any format, matches customers, items and units to your catalog, and outputs valid X12 or clean data to your ERP. Paste any 180 into the [free EDI inspector](/edi-inspector) to see it parsed with a plain-English summary, or [book a 15-minute walkthrough](/book) to see your own orders processed. ## Frequently Asked Questions
### What is an EDI 180 used for? The EDI 180 manages merchandise returns between trading partners. A buyer uses it to request permission to return goods, the supplier uses it to authorize or deny each line and issue an RMA number, and either side can use it to notify the other that goods or consumer returns have come back. ### Who sends the EDI 180? Both sides. The returning party, usually a retailer, distributor or wholesaler, sends return requests and return notices. The supplier sends the authorization or denial. Some retailers also send it to drop-ship vendors to report consumer returns. ### Where does the RMA number go in an EDI 180? Most guides carry it in an N9 segment with qualifier RZ, which X12 names the Returned Goods Authorization Number. It can appear at heading level for the whole return or inside a BLI loop for a single line, depending on the partner's guide. ### What is the RDR segment? RDR is the Return Disposition Reason segment. RDR01 is the disposition (authorized, denied, dispose, keep with allowance), RDR02 is the returning party's reason, RDR03 is the supplier's response reason, RDR04 is free text and RDR05 says whether the item was used. Only one of RDR02 and RDR03 may appear in the same segment. ### What is the difference between EDI 180 and EDI 812? The 180 is about the goods: whether they can come back and what happens to them. The 812 Credit/Debit Adjustment is about the money: the credit or deduction that follows. Many relationships use both, with the 812 referencing the authorized return. ### Is a 997 for my 180 request an approval? No. A 997 only confirms the 180 arrived and passed syntax checks. Approval comes from the supplier's own 180 response, with a disposition on each line, or through whatever returns process its guide names. ### What functional group does the EDI 180 use? The 180 travels in functional group AN in GS01. Most commercial implementations use release 004010, but the version is set by each partner's implementation guide.
--- # EDI 204 Motor Carrier Load Tender: Complete Guide Source: https://ordersync.io/guides/edi/204-motor-carrier-load-tender > EDI 204 Motor Carrier Load Tender explained: how a shipper offers a load to a carrier, the B2, B2A, S5, G62 and L3 segments, a live multi-stop example and common errors. The EDI 204 Motor Carrier Load Tender is the X12 transaction a shipper, retailer, broker or 3PL sends a motor carrier to offer a load: the carrier's SCAC, the shipment number, payment terms, every pickup and delivery stop in sequence, weights, piece counts, references and appointment times. The carrier answers with a 990 that accepts or declines the load. **The EDI 204 is how a load gets offered to a truck.** Whoever controls the freight, whether that is the shipper, a retailer moving collect freight, a broker or a 3PL, sends the carrier a 204 that says what needs to move, from where, to where, by when, and who pays. The carrier replies with a [990 Response to a Load Tender](/guides/edi/990-response-to-load-tender). A clean 204 gets a fast answer. A tender with the wrong stop order, a missing appointment or the wrong payment terms gets declined, or worse, accepted and run wrong. This guide covers what the 204 carries, the segments you will map, a live three-stop truckload example, how the 204 relates to the 990, 211, 214 and 210, and the errors that cause missed pickups and billing disputes. ## What Is an EDI 204? **An EDI 204 is the Motor Carrier Load Tender transaction set defined by [ASC X12](https://x12.org/products/transaction-sets), used by a shipper or another party that controls the freight to offer a shipment to a full load (truckload) motor carrier, with the scheduling, equipment, commodities and instructions the carrier needs to decide whether to take it.** The standard's purpose statement also says what it is not for: a less-than-truckload bill of lading, a pick-up notification or a manifest. It travels in functional group `SM` (the `GS01` value), and most motor carrier tenders run on X12 release 004010. Authoritative references for 204 work: - The [X12 transaction set catalog](https://x12.org/products/transaction-sets) defines the 204 and its segment order, and [Stedi's X12 004010 reference for the 204](https://www.stedi.com/edi/x12-004010/204) shows every loop, segment and element by position - The [National Motor Freight Traffic Association (NMFTA)](https://nmfta.org/what-is-scac-and-how-do-carriers-get-it) issues the Standard Carrier Alpha Codes (SCACs) that name the carrier in `B202` - Each shipper, retailer or broker publishes its own 204 implementation guide, which sets the references, date qualifiers and stop rules it sends **Who sends it?** The party that controls and books the freight: a shipper on prepaid freight, a retailer or its logistics provider on collect freight, a freight broker, or a 3PL acting for its client. **Who receives it?** The truckload carrier being offered the load. LTL freight is normally documented to the carrier with a bill of lading (on paper or as an [EDI 211](/guides/edi/211-motor-carrier-bill-of-lading)) and, for several shipments at once, a [215 pick-up manifest](/guides/edi/215-motor-carrier-pickup-manifest). **When is it sent?** Once the freight has a ship date and before the carrier is needed at the dock. Many tenders also carry a deadline for the carrier's answer. **Why does it matter?** The 204 is the carrier's work order. The stop sequence, appointment times and references on it are what the driver, the dispatcher and later the carrier's invoice run on. ## What the 204 Carries A load tender describes the whole move: - **The carrier and the shipment.** The SCAC of the carrier being offered the load and the shipper's shipment or load number, which the carrier echoes on its 990, 214 and 210. - **Payment terms.** Prepaid, collect or third party, so the carrier knows who it will bill. - **The purpose.** An original tender, a change to an earlier one, or a cancellation. - **The stops.** Every pickup and delivery in sequence, with addresses, the reason for each stop (load, part unload, complete unload), and the requested or scheduled dates and times. - **The freight.** Weight, handling units, volume, commodity description and, when needed, hazardous materials details. - **The references.** Purchase orders, bill of lading numbers, pickup and appointment numbers that tie the load back to the orders behind it. - **Equipment.** Trailer type and length, temperature settings for refrigerated loads, and seal numbers, when the shipper specifies them. ## The Tender Cycle: 204, 990 and What Follows 1. **Shipper sends the 204.** It is addressed to one carrier by SCAC, usually the first carrier on the shipper's routing guide for that lane. 2. **Carrier returns a [997](/guides/edi/997-functional-acknowledgment).** That only confirms the 204 arrived and parsed. It is not an acceptance. 3. **Carrier answers with a 990.** Accept or decline, usually with the carrier's own reference number for the load. 4. **On a decline, the shipper tenders the next carrier.** Same load, new 204 to a different SCAC. 5. **Changes and cancellations.** If the load changes before pickup, the shipper sends another 204 with purpose code `04` (change) or `01` (cancellation) under the same shipment number. 6. **The move.** The shipper produces the bill of lading (paper, or an [EDI 211](/guides/edi/211-motor-carrier-bill-of-lading)), and the carrier reports progress with [214 shipment status messages](/guides/edi/214-transportation-carrier-shipment-status). 7. **The bill.** The carrier invoices with a [210 Motor Carrier Freight Invoice](/guides/edi/210-motor-carrier-freight-invoice) that references the same shipment number. On retail collect freight, the retailer often tenders the load to its carrier with a 204 and then tells the supplier which carrier is coming with a [754 Routing Instructions](/guides/edi/754-routing-instructions), the answer to the supplier's [753 routing request](/guides/edi/753-request-for-routing-instructions). ## Interactive Example: 204 Multi-Stop Truckload Tender This continues the story from our [754 routing instructions guide](/guides/edi/754-routing-instructions). The retailer has consolidated two of Lakeshore Home Goods' purchase orders onto one truckload, `TL-90217`, that picks up in Grand Rapids and delivers to two distribution centers. Before it sends the supplier the 754, it tenders the load to truckload carrier `QTLX` with this 204. The heading carries the carrier, the load number and collect terms in `B2`, an original truckload tender in `B2A`, a deadline for the carrier's answer in `G62`, and the bill-to party. Then one `S5` loop per stop: stop 1 loads all 670 cartons at the supplier, stop 2 drops one PO at DC 6025 (part unload), and stop 3 drops the rest at DC 6021 (complete unload). Each stop has its own POs, weights and scheduled time, and `L3` totals the load. The sample uses X12 004010. All names, IDs and SCACs are fictional. Use the **Plain English** tab for a readable summary, or click any segment to break it down element by element. Note the stop numbering. The 754 for this load numbered the two deliveries 1 and 2 in its `MSI` segment, while the 204 numbers every stop, pickup included, so the same DCs are stops 2 and 3 here. Each document's own guide defines its numbering, so match stops on the location ID, not the sequence number. ## 204 Structure at a Glance The table follows X12 004010, the release most 204 implementation guides use. | Area | Segment | Name | Usage | Notes | |---|---|---|---|---| | Heading | **ST** | Transaction Set Header | Mandatory | `ST01` = `204` | | Heading | **B2** | Beginning Segment for Shipment Information Transaction | Mandatory | SCAC, shipment number, payment terms | | Heading | **B2A** | Set Purpose | Mandatory | Original, change or cancellation | | Heading | **L11** | Business Instructions and Reference Number | Optional, up to 50 | Load-level references | | Heading | **G62** | Date/Time | Optional, 1 | Often the respond-by deadline | | Heading | **MS3** | Interline Information | Optional | Interline carrier routing | | Heading | **AT5** | Bill of Lading Handling Requirements | Optional, up to 6 | Special handling and services | | Heading | **PLD** | Pallet Information | Optional | Pallet count and exchange | | Heading | **LH6** | Hazardous Certification | Optional | Hazmat certification | | Heading | **NTE** | Note/Special Instruction | Optional, up to 10 | Free-text instructions | | Heading loop 0100 | **N1 / N2 / N3 / N4 / L11 / G61** | Name, address, references, contact | Optional, up to 5 | Bill-to and other load-level parties | | Heading loop 0200 | **N7 / N7A / N7B / MEA / M7** | Equipment details and seals | Optional, up to 10 | Trailer type, length, temperature, seals | | Detail loop 0300 | **S5** | Stop Off Details | Mandatory, up to 999 | One loop per stop | | Stop | **L11** | Business Instructions and Reference Number | Optional, up to 50 | POs, BOL, pickup and appointment numbers | | Stop | **G62** | Date/Time | Optional, up to 2 | Stop dates and times | | Stop | **AT8** | Shipment Weight, Packaging and Quantity Data | Optional | Weight and handling units at the stop | | Stop | **LAD / AT5 / PLD / NTE** | Lading detail, handling, pallets, notes | Optional | Stop-level detail | | Stop loop 0310 | **N1 / N2 / N3 / N4 / G61** | Stop location and contact | Optional | Where the stop is | | Stop loop 0320 | **L5 / AT8** (with hazmat loops) | Description, Marks and Numbers | Optional, up to 99 | Commodity lines | | Stop loop 0350 | **OID / G62 / LAD** (with L5 and hazmat loops) | Order Identification Detail | Optional, up to 999 | Order-level detail at the stop | | Stop loop 0380 | **N7 / N7A / N7B / MEA / M7** | Equipment at the stop | Optional | Equipment by stop | | Summary | **L3** | Total Weight and Charges | Optional | Load totals | | Summary | **SE** | Transaction Set Trailer | Mandatory | Segment count and control number | "Optional" in the standard often means "required" in a shipper's guide. Most guides require at least a pickup and a delivery `S5` loop, each with an `N1` location and a `G62` date. ## Key Segments Explained ### B2: Beginning Segment for Shipment Information Transaction ``` B2**QTLX**TL-90217**CC~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **B201** | Tariff Service Code | | Rating service type; rarely used on truckload tenders | | **B202** | Standard Carrier Alpha Code | `QTLX` | The carrier being offered the load. The standard makes `B202` mandatory in the 204 | | **B203** | Standard Point Location Code | | NMFTA point code, rarely sent | | **B204** | Shipment Identification Number | `TL-90217` | The shipper's number for this load. The carrier echoes it on the 990, 214 and 210 | | **B205** | Weight Unit Code | | `L` pounds, `K` kilograms | | **B206** | Shipment Method of Payment | `CC` | Mandatory. `PP` prepaid, `CC` collect, `TP` third party pay, among others | `B204` is the key that ties the whole freight cycle together. Keep it unique per load, never reuse it for a different shipment, and send the same value on every change or cancellation of that load. ### B2A: Set Purpose ``` B2A*00*LT~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **B2A01** | Transaction Set Purpose Code | `00` | `00` original, `01` cancellation, `04` change, `05` replace | | **B2A02** | Application Type | `LT` | `LT` load tender, truckload carrier only. Optional | A change (`04`) usually resends the complete tender with the new values, not just the differences, but the shipper's guide decides. Carriers should treat a `01` as a release of the load and stop dispatch. ### G62: Date/Time ``` G62*64*20261106*1*1000~ G62*69*20261113*U*0700~ G62*70*20261113*X*1200~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **G6201** | Date Qualifier | `69` | `64` must respond by, `69` scheduled pick-up, `70` scheduled delivery, `10` requested pick-up, `68` requested delivery, `37` ship not before, `38` ship no later than, `53` deliver not before, `54` deliver no later than | | **G6202** | Date | `20261113` | CCYYMMDD | | **G6203** | Time Qualifier | `U` | `1` must respond by, `U` scheduled pick-up time, `X` scheduled delivery time, `I` and `K` earliest and latest pick-up, `G` and `L` earliest and latest delivery | | **G6204** | Time | `0700` | HHMM | | **G6205** | Time Code | | Time zone, for example `ET`, `CT` or `LT` (local time) | In the heading, a single `G62` usually carries the respond-by deadline. In each stop, up to two `G62`s carry a date and a window or appointment. Requested and scheduled dates are different promises, so read the qualifiers your shipper's guide lists rather than assuming. Times without `G6205` are normally local to the stop; confirm that in the guide before converting. ### S5: Stop Off Details ``` S5*1*CL*11800*L*670*CT*1870*E~ S5*2*PU*7380*L*410*CT*1150*E~ S5*3*CU*4420*L*260*CT*720*E~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **S501** | Stop Sequence Number | `2` | The stop's place in the route | | **S502** | Stop Reason Code | `PU` | `CL` complete load, `LD` load, `PL` part load, `CU` complete unload, `UL` unload, `PU` part unload, plus codes such as `DT` drop trailer and `SL` spot for load | | **S503** | Weight | `7380` | Weight loaded or unloaded at this stop | | **S504** | Weight Unit Code | `L` | `L` pounds | | **S505** | Number of Units Shipped | `410` | Units at this stop | | **S506** | Unit or Basis for Measurement Code | `CT` | `CT` carton | | **S507** | Volume | `1150` | Volume at this stop | | **S508** | Volume Unit Qualifier | `E` | `E` cubic feet | The `S5` loop is the heart of the tender. Everything that follows an `S5` until the next one belongs to that stop: its references, dates, weights, location and commodity lines. Watch out for `PU`: in the stop reason list it means part unload, not pickup. ### L11: Business Instructions and Reference Number ``` L11*4500781302*PO~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **L1101** | Reference Identification | `4500781302` | The reference value | | **L1102** | Reference Identification Qualifier | `PO` | `PO` purchase order, `BM` bill of lading, `LO` load planning number, `P8` pickup reference, `AO` appointment number, `CR` customer reference | At heading level, `L11` carries load-wide references. Inside a stop, it says which POs and bills of lading are picked up or delivered there, which is what the dock and the receiving DC check against. ### N1 Loop: Stop Location ``` N1*ST*BIG-BOX RETAILER DC 6025*92*6025~ N3*5500 LOGISTICS WAY~ N4*PLAINFIELD*IN*46168*US~ ``` Inside each stop, the `N1` loop names the location (`SF` ship from or `SH` shipper at a pickup, `ST` ship to or `CN` consignee at a delivery) with an ID the shipper assigns (`N103` = `92`). Carriers that run the same lanes often key their own location master on that ID, so keep it stable between tenders. The heading `N1` loop carries load-level parties such as the bill-to (`BT`). ### N7 Loop: Equipment Details The `N7` segment describes the equipment: `N711` the equipment description code (for example `TF` dry freight trailer or `RT` reefer), `N715` the length, and `N713` the temperature control. `N702` (equipment number) is mandatory within the segment, and a trailer number is rarely known at tender time, so guides differ on what to send there or whether to send `N7` at all. The example above leaves equipment to an `NTE` instruction instead. Follow your shipper's guide. ### L5 and AT8: Commodity, Weight and Handling Units `L5` describes the commodity: `L502` the description, and `L503` with `L504` a commodity code and its qualifier (`N` for an NMFC item number). Weight does not live in `L5`. It lives in `AT8` (`AT801` weight qualifier, `AT802` unit, `AT803` weight, `AT804` and `AT805` loose and unitized handling units) and in the `S5` weights. ### L3: Total Weight and Charges ``` L3*11800*G*******1870*E*670*L~ ``` `L301` and `L302` give the total weight and qualifier (`G` gross), `L309` and `L310` the volume, `L311` the lading quantity, and `L312` the weight unit. On a tender, `L305` (charge) is usually empty, since the rate lives in the contract or the rate confirmation. Make sure `L301` equals the sum of the pickup weights. ## 204 vs 990 vs 211 vs 215 vs 754 | Document | Sent by | Sent to | Purpose | |---|---|---|---| | **204 Motor Carrier Load Tender** | Shipper, retailer, broker or 3PL | Carrier | Offers a load with stops, freight and timing | | **[990 Response to a Load Tender](/guides/edi/990-response-to-load-tender)** | Carrier | Tendering party | Accepts or declines the 204 | | **[211 Motor Carrier Bill of Lading](/guides/edi/211-motor-carrier-bill-of-lading)** | Shipper | Carrier | The bill of lading for the shipment that was picked up | | **[215 Motor Carrier Pick-up Manifest](/guides/edi/215-motor-carrier-pickup-manifest)** | Shipper | Carrier | Lists every shipment handed to a carrier at one pickup | | **[754 Routing Instructions](/guides/edi/754-routing-instructions)** | Retailer | Supplier | Tells the supplier which carrier the retailer booked | The 204 is a request; nothing is booked until the 990 accepts it. The 211 and 215 document what was actually handed over. The 754 is the retailer telling the supplier about a tender the supplier never sees. ## Common 204 Errors and How to Prevent Them | Error | What happens | Prevention | |---|---|---| | **Shipment number reused or changed on a revision** | Carrier creates a second load or cannot match the change | Keep `B204` unique per load and constant across `04` and `01` revisions | | **Wrong payment code in `B206`** | Freight billed to the wrong party; rebill and dispute | Take terms from the order's freight terms, not a default; see our [FOB shipping glossary entry](/glossary/fob-shipping) | | **Stops out of sequence or with the wrong reason code** | Trailer loaded in the wrong order, or the driver skips a drop | Generate `S501` from the planned route and check that the first stop loads and the last unloads | | **`PU` read as "pickup"** | A delivery stop treated as a pickup | Map `S502` from the code list: `PU` is part unload | | **Respond-by deadline ignored** | Tender expires, load falls to the next carrier | Read `G62*64` and alert dispatch before it passes | | **Times read in the wrong time zone** | Appointments missed by an hour or more | Honour `G6205` when present and confirm the default in the guide | | **Weights that do not add up** | Carrier plans the wrong equipment or rejects the tender | Build `L301` from the stop weights and the stop weights from the packed orders | | **No PO references on the delivery stops** | Receiving DC cannot match the trailer to its appointment | Send every PO on the stop that delivers it, with the qualifier the guide names | | **997 treated as acceptance** | Load assumed covered when the carrier never answered | Track the 990, not the 997, as the booking confirmation | ## 204 Implementation Checklist - Get each trading partner's 204 guide and confirm the X12 release (usually 004010) and `GS01` = `SM` - Agree what goes in `B204` and which `L11` qualifiers you send at load and stop level - Map payment terms from your orders to `B206` - Map stop reason codes and confirm how the partner numbers stops - List the `G62` date and time qualifiers you send and the time zone rule - Decide how changes (`04`), replacements (`05`) and cancellations (`01`) work, and whether a change resends the full tender - Decide what to send in the `N7` loop, if anything - Confirm the respond-by window and what happens when it passes - Set up the 990 match on `B102` (the carrier's echo of your `B204`) and alert on declines and missing answers - Test a single-stop load, a multi-stop load, a change and a cancellation Our [EDI document types reference](/edi-document-types) shows where the transportation sets sit next to order, ship notice and invoice documents, and the [SCAC code glossary entry](/glossary/scac-code) explains how carriers are identified. ## Where OrderSync Fits Every load tender starts with orders. The ship-to, the PO numbers, the quantities and the freight terms on a 204 all come from purchase orders that someone had to get into your ERP, whether they arrived as an EDI 850 or 875, a PDF, an email or a spreadsheet. If an order was keyed wrong, the tender carries the mistake to the carrier. OrderSync reads those inbound orders in any format, matches customers, items and units to your catalog, and outputs clean ERP data or valid X12, so your shipping and transportation systems start from accurate orders. Paste any 204 into the [free EDI inspector](/edi-inspector) to see it parsed segment by segment with a plain-English summary, or [book a 15-minute walkthrough](/book) to see your own orders processed. ## Frequently Asked Questions
### What is an EDI 204 used for? The 204 is used by a shipper, retailer, broker or 3PL to offer a load to a motor carrier. It names the carrier by SCAC, gives the shipment number and payment terms, and lists every stop in sequence with weights, references and appointment times so the carrier can accept or decline. ### What is the difference between an EDI 204 and an EDI 990? The 204 is the load tender the shipper sends. The 990 is the carrier's response, which accepts or declines that tender using the reservation action code in B104. The 990 echoes the 204's shipment number in B102 so the two can be matched. ### Which segment in the 204 lists the stops? The S5 Stop Off Details segment. Each S5 starts a loop for one stop, with its sequence number in S501 and its reason (such as CL complete load or CU complete unload) in S502. The stop's references, dates, location and freight follow in the same loop. ### Where does the carrier SCAC go in a 204? In B202. The X12 standard makes B202 mandatory in the 204. It is the SCAC of the carrier the load is being offered to, as issued by NMFTA. ### How do you change or cancel an EDI 204? Send another 204 for the same shipment number in B204, with B2A01 set to 04 (change) or 01 (cancellation). Some partners use 05 (replace) instead of 04. The shipper's guide says which codes it sends and whether a change carries the full tender. ### Is a 997 the same as accepting a 204? No. A 997 Functional Acknowledgment only confirms that the 204 was received and passed syntax checks. The carrier accepts or declines the load with a 990. ### Is an EDI 204 the same as a purchase order? No, but it plays a similar opening role for freight. An 850 purchase order orders goods; a 204 offers the job of moving them. The 204 usually carries the PO numbers of the orders on the load, so the two connect through those references. ### Is the EDI 204 used for LTL shipments? The X12 standard scopes the 204 to full load (truckload) carriers and says it is not for LTL bills of lading, pick-up notifications or manifests. LTL freight is usually documented with a bill of lading, an EDI 211, or a 215 pick-up manifest. Some carriers accept other arrangements by agreement, so check each carrier's guide.
--- # EDI 210 Motor Carrier Freight Invoice: Complete Guide Source: https://ordersync.io/guides/edi/210-motor-carrier-freight-invoice > EDI 210 Motor Carrier Freight Details and Invoice explained: the B3, N9, LX, L0, L1 and L3 segments, charge codes, LTL and truckload examples, and how to audit it. The EDI 210 Motor Carrier Freight Details and Invoice is the X12 transaction a motor carrier uses to bill for a shipment. The B3 segment carries the invoice number, the shipper's shipment number, payment terms, net amount due and delivery date, and L1 segments list each charge, such as line haul, fuel surcharge and accessorials, with L3 giving the totals. **The EDI 210 is the carrier's freight bill as data.** After a truckload or LTL carrier delivers, it sends a 210 to whoever pays the freight: the shipper on prepaid freight, the consignee on collect, or a third party. Each charge is a separate line with its rate, basis and code, so the payer can check it against the rate it agreed to before paying. The 210 is also where a wrong weight, class or accessorial on the bill of lading finally costs money. This guide covers what the 210 bills, the segments you will map, two live examples (an LTL invoice and a multi-stop truckload invoice), how the 210 compares with the 810 and the ocean 310, and the checks that catch billing errors. ## What Is an EDI 210? **An EDI 210 is the Motor Carrier Freight Details and Invoice transaction set defined by [ASC X12](https://x12.org/products/transaction-sets), used to provide the detail of charges for services rendered by a motor carrier.** The standard says it can be used both as a motor carrier invoice requesting payment and as the details of the charges on one or more motor freight shipments. It travels in functional group `IM` (the `GS01` value) and most carriers use X12 004010. Authoritative references for 210 work: - The [X12 transaction set catalog](https://x12.org/products/transaction-sets) defines the 210 and its segment order, and [Stedi's X12 004010 reference for the 210](https://www.stedi.com/edi/x12-004010/210) shows every loop, segment and element by position - The [National Motor Freight Traffic Association (NMFTA)](https://nmfta.org/what-is-scac-and-how-do-carriers-get-it) issues the SCAC that identifies the billing carrier in `B311`, and publishes the NMFC classes that LTL charges are rated on - Each payer publishes a 210 guide that sets the references it needs to approve an invoice and the charge codes it accepts **Who sends it?** The motor carrier, or a freight payment provider on the carrier's behalf. **Who receives it?** The party that pays the freight: the shipper on prepaid shipments, the consignee on collect, or a third party such as a 3PL or the payer's freight audit and payment provider. **When is it sent?** Usually after delivery. The standard's note on `B309` allows an invoice before delivery, in which case the delivery date is an estimate. **Why does it matter?** Freight is billed from what the carrier recorded, not from what you planned. The 210 is where differences in weight, class, stops and accessorials show up as money. ## What the 210 Bills - **Line haul.** The base charge for the move: per hundredweight or after discount on LTL, per mile or flat on truckload. - **Fuel surcharge.** A percentage of line haul, a rate per mile, or a flat amount, depending on the carrier's fuel schedule and your contract. - **Accessorials.** Stop-off charges, detention, liftgate, appointment and other services, each with its own code. - **Adjustments.** Discounts, minimum charges, and corrections after a reweigh or reclass. - **References.** The carrier's PRO or invoice number, the shipper's BOL or load number, and PO numbers, which the payer needs to match the bill to a shipment. - **Proof of delivery.** The date, time and name of the person who signed, when the payer's guide asks for it. ## Interactive Example: 210 for an LTL Shipment, Freight Collect This continues the shipment from our [211 bill of lading guide](/guides/edi/211-motor-carrier-bill-of-lading). LTL carrier `QLTX` picked up Lakeshore Home Goods' 316 cartons in Grand Rapids and delivered them to the retailer's DC 6021, which it had announced on a [212 delivery trailer manifest](/guides/edi/212-motor-carrier-delivery-trailer-manifest). The freight is collect, so the carrier bills the retailer. `B3` uses the PRO as the invoice number, echoes the shipper's BOL number, sets collect terms, dates the invoice and gives the net amount due and the delivery date. `N9` carries the retailer's load number and POs. In the `LX` loops, `POD` records who signed for the freight, `L0` the billed weight and cartons, and `L1` the charges: line haul at 38.42 per hundredweight on 5,710 lb (2,193.78) and a 24% fuel surcharge (526.51). `L3` totals them at 2,720.29. The sample uses X12 004010. All names, IDs, SCACs and rates are fictional. Use the **Plain English** tab for a readable summary, or click any segment to break it down element by element. ## Interactive Example: 210 for a Multi-Stop Truckload The second invoice bills the three-stop truckload from our [204 load tender guide](/guides/edi/204-motor-carrier-load-tender). The `S5` loops list the stops the carrier ran, and three `LX` loops carry a flat line haul (1,450.00), a fuel surcharge of 0.58 per mile on 415 miles (240.70), and a stop-off charge for the extra delivery (75.00). The lines add up to the 1,765.70 in `L3` and `B307`. ## 210 Structure at a Glance The table follows X12 004010. | Area | Segment | Name | Usage | Notes | |---|---|---|---|---| | Heading | **ST** | Transaction Set Header | Mandatory | `ST01` = `210` | | Heading | **B3** | Beginning Segment for Carrier's Invoice | Mandatory | Invoice number, shipment number, terms, amount, dates, SCAC | | Heading | **C2** | Bank ID | Optional | Remittance bank details | | Heading | **C3** | Currency | Optional | Billing currency | | Heading | **ITD** | Terms of Sale/Deferred Terms of Sale | Optional | Payment terms | | Heading | **N9** | Reference Identification | Optional, up to 300 | BOL, load, PO and other references | | Heading | **G62** | Date/Time | Optional, up to 6 | Pickup and other dates | | Heading | **R3** | Route Information - Motor | Optional, up to 12 | Carriers in the route, for interline moves | | Heading | **H3** | Special Handling Instructions | Optional | Special handling | | Heading | **K1** | Remarks | Optional | Free text | | Heading loop 0100 | **N1 / N2 / N3 / N4 / N9** | Name, address and references | Optional, up to 10 | Shipper, consignee, bill-to | | Heading loop 0200 | **N7 / M7** | Equipment and seals | Optional, up to 10 | Trailer and seal numbers | | Heading loop 0250 | **SPO / SDQ** | Shipment purchase order detail | Optional | PO-level detail | | Detail loop 0300 | **S5 / N9 / G62 / H3** with **N1** and **N7** loops | Stop Off Details | Optional, up to 999 | Stops on the move | | Detail loop 0400 | **LX** | Assigned Number | Optional, up to 9999 | Starts each invoice line | | Line | **N9 / POD** | References, proof of delivery | Optional | Line references and delivery signature | | Line | **L5** | Description, Marks and Numbers | Optional, up to 30 | Commodity and NMFC item | | Line | **H1 / H2** | Hazardous material | Optional | Hazmat detail | | Line | **L0** | Line Item - Quantity and Weight | Optional, up to 10 | Billed quantity, weight, handling units | | Line | **L1** | Rate and Charges | Optional, up to 10 | Rate, basis, charge and charge code | | Line | **L4 / L7 / K1** | Measurement, tariff reference, remarks | Optional | Dimensions and tariff detail | | Line loops | **SPO / SDQ**, **N1** loop, **CD3** loop | PO, party and package detail | Optional | Package-level detail when the guide asks for it | | Summary | **L3** | Total Weight and Charges | Optional | Invoice totals | | Summary | **SE** | Transaction Set Trailer | Mandatory | Segment count and control number | References in the 210 use `N9`, not the `L11` used in the 204, 211 and 214. ## Key Segments Explained ### B3: Beginning Segment for Carrier's Invoice ``` B3**QLTX20481557*LHG-BOL-77120*CC*L*20261113*272029**20261112*035*QLTX~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **B301** | Shipment Qualifier | | Relationship to other shipments, rarely used | | **B302** | Invoice Number | `QLTX20481557` | Mandatory. Many LTL carriers use the PRO number | | **B303** | Shipment Identification Number | `LHG-BOL-77120` | The shipper's number for the shipment: the BOL number or the 204's `B204` | | **B304** | Shipment Method of Payment | `CC` | Mandatory. `PP` prepaid, `CC` collect, `TP` third party pay | | **B305** | Weight Unit Code | `L` | `L` pounds | | **B306** | Date | `20261113` | Mandatory. The billing date | | **B307** | Net Amount Due | `272029` | Mandatory. Two implied decimals: 2,720.29 | | **B308** | Correction Indicator | | Set on a corrected or rebilled invoice, for example `BD` balance due billing or `AD` adjustment of previous freight bill charges; the payer's guide lists the codes it accepts | | **B309** | Delivery Date | `20261112` | The delivery date. Paired with `B310` | | **B310** | Date/Time Qualifier | `035` | `035` delivered | | **B311** | Standard Carrier Alpha Code | `QLTX` | Mandatory. The billing carrier | | **B312** | Date | | Another date, as the guide defines | `B307` is a numeric field with two implied decimal places, so `272029` is 2,720.29, not 272,029. The same rule applies to the charge fields in `L1` and `L3`. Reading them as whole dollars is one of the most common 210 mapping bugs. ### N9: Reference Identification ``` N9*LO*LD6021-88412~ N9*PO*4500781234~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **N901** | Reference Identification Qualifier | `LO` | `BM` bill of lading, `LO` load planning number, `PO` purchase order, `CN` carrier's PRO, and others | | **N902** | Reference Identification | `LD6021-88412` | The reference value | Payers approve invoices by matching references to a shipment they know about. Ask for the references your own system keys on, typically the BOL number or the load number you sent in the 204. ### LX, L0 and L5: The Invoice Lines ``` LX*1~ POD*20261112*0940*J ORTEGA~ L5*1*HOUSEWARES~ L0*1*5710*LB*5710*G***316*CTN**L~ ``` `LX01` numbers the line. `L5` describes the commodity (`L503` and `L504` can carry an NMFC item with qualifier `N`). `L0` gives the quantities the charges are calculated from: | Element | Name | Example | What it means | |---|---|---|---| | **L001** | Lading Line Item Number | `1` | Links the `L0` to its `L1` | | **L002** | Billed/Rated-as Quantity | `5710` | The quantity the carrier rated on | | **L003** | Billed/Rated-as Qualifier | `LB` | `LB` pounds, `FR` flat rate, `DM` miles, among others | | **L004** | Weight | `5710` | The shipment weight | | **L005** | Weight Qualifier | `G` | `G` gross | | **L008** | Lading Quantity | `316` | Handling units | | **L009** | Packaging Form Code | `CTN` | `CTN` carton, `PLT` pallet | | **L011** | Weight Unit Code | `L` | `L` pounds | When the billed weight in `L002` or `L004` is higher than the weight on your bill of lading, the carrier reweighed the freight. That is legitimate when the BOL was wrong, and worth disputing when it was not. ### L1: Rate and Charges ``` L1*1*38.42*CW*219378****400~ L1*2***52651****405***********24~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **L101** | Lading Line Item Number | `1` | The line the charge belongs to | | **L102** | Freight Rate | `38.42` | The rate, as a real number | | **L103** | Rate/Value Qualifier | `CW` | `CW` per hundredweight, `PM` per mile, `FR` flat rate, `PS` per shipment | | **L104** | Charge | `219378` | The charge, two implied decimals: 2,193.78 | | **L108** | Special Charge or Allowance Code | `400` | What the charge is: `400` freight, `405` fuel surcharge, `SOC` stop-off charge, `DET` detention of trailers, `LFT` liftgate, `DSC` discount | | **L112** | Special Charge Description | | Free-text description of the charge | | **L119** | Percent | `24` | The percentage, for charges such as a fuel surcharge on line haul | `L102` and `L103` must appear together, and at least one of `L104`, `L105` or `L106` must be present. Audit each `L1` against the contract: the rate in `L102`, the basis in `L103`, and whether the accessorial in `L108` was approved for that shipment. ### L3: Total Weight and Charges ``` L3*5710*G***272029******316*L~ ``` `L301` and `L302` are the total weight and qualifier, `L305` the total charges (two implied decimals), `L311` the handling units, and `L312` the weight unit. `L305` should equal the sum of the `L104` charges and the `B307` net amount due. If it does not, ask before paying. ### S5 Loop: Stops on a Multi-Stop Invoice ``` S5*2*PU*7380*L*410*CT~ N1*ST*BIG-BOX RETAILER DC 6025*92*6025~ N4*PLAINFIELD*IN*46168*US~ ``` On a multi-stop truckload, the `S5` loops show which stops the carrier ran, using the same stop reason codes as the 204 (`CL` complete load, `PU` part unload, `CU` complete unload). Check them against the tender: a stop-off charge for a stop you never tendered is a dispute. ## 210 vs 810 vs 310 | Document | Sent by | Bills for | Opening segment | Keyed to | |---|---|---|---|---| | **210 Motor Carrier Freight Invoice** | Motor carrier | Truckload, LTL or parcel transportation | `B3` | BOL, PRO and load numbers | | **[810 Invoice](/guides/edi/810-invoice)** | Seller | Goods sold | `BIG` | Purchase order number | | **[310 Freight Receipt and Invoice (Ocean)](/guides/edi/310-freight-receipt-and-invoice-ocean)** | Ocean carrier | Ocean freight | `B3` | Ocean bill of lading and booking | The 810 bills a buyer for the goods; the 210 bills the payer for moving them. A 3PL often handles both directions: it pays carriers' 210s and bills its own clients. Ocean carriers invoice with the 310 and report container events with the [315](/guides/edi/315-status-details-ocean). ## Where the 210 Sits in the Freight Flow 1. **[204 Motor Carrier Load Tender](/guides/edi/204-motor-carrier-load-tender)**: the shipper offers a truckload; the carrier answers with a [990](/guides/edi/990-response-to-load-tender) 2. **[211 Bill of Lading](/guides/edi/211-motor-carrier-bill-of-lading)** or a [215 pick-up manifest](/guides/edi/215-motor-carrier-pickup-manifest): the shipper documents the freight at pickup 3. **[214 Shipment Status](/guides/edi/214-transportation-carrier-shipment-status)**: the carrier reports pickup, transit and delivery 4. **[212 Delivery Trailer Manifest](/guides/edi/212-motor-carrier-delivery-trailer-manifest)**: on LTL into retail DCs, the carrier lists what is on the delivery trailer 5. **210 Motor Carrier Freight Invoice**: the carrier bills the payer Match the 210's delivery date in `B309` against the delivery event on the carrier's 214. An invoice for a shipment with no delivery status, or with a delivery date that does not match, needs a second look. If you are missing status for a shipment, a [213 shipment status inquiry](/guides/edi/213-motor-carrier-shipment-status-inquiry) asks the carrier for it. ## How to Audit a 210 | Check | Compare | What a mismatch usually means | |---|---|---| | **Shipment exists** | `B303` and `N9` references against your BOLs or tenders | Billed to the wrong account, or a shipment you did not tender | | **Duplicate** | `B302` invoice number and `B311` SCAC against invoices already received | A resent or duplicate bill | | **Line haul** | `L102` / `L103` against the contracted rate for the lane | Wrong tariff, discount or lane rate | | **Weight** | `L0` weight against the BOL | A reweigh; ask for the inspection record | | **Class** | `L5` NMFC item or the rate class against the BOL class | A reclass; check the item's NMFC entry | | **Fuel** | `L1` with code `405` against the fuel schedule in your contract | Wrong index week or percentage | | **Accessorials** | Each `L108` code against what was ordered or approved | Unapproved liftgate, detention or stop-off | | **Math** | Sum of `L104` against `L305` and `B307` | Mapping error or missing line | Freight terms decide who receives the 210. If invoices for your inbound collect freight arrive at your suppliers, or vice versa, check the payment codes on the BOL and in `B304`. Our [FOB shipping glossary entry](/glossary/fob-shipping) explains how terms and payment interact. ## Common 210 Errors and How to Prevent Them | Error | What happens | Prevention | |---|---|---| | **Implied decimals ignored** | Amounts off by a factor of 100 | Read `B307`, `L104` and `L305` as N2 fields | | **No shipper reference in `B303` or `N9`** | Invoice cannot be matched and is held | Agree the reference you need and require it in the guide | | **`L305` and `B307` disagree with the lines** | Payment held or short-paid | Total the `L1` charges before sending | | **Wrong bill-to or payment terms** | Invoice sent to a party that does not pay | Take `B304` and the bill-to from the BOL | | **Corrected invoice sent as new** | Duplicate payment | Use the correction indicator in `B308` and the same invoice number, as the payer's guide specifies | | **Charge codes the payer does not accept** | Lines rejected or paid at zero | Map accessorials to the codes in the payer's guide | | **Ocean freight sent as a 210** | Rejected by ocean freight payers | Ocean carriers use the [310](/guides/edi/310-freight-receipt-and-invoice-ocean) | ## 210 Implementation Checklist - Confirm each partner's 210 guide, X12 release (usually 004010), and `GS01` = `IM` - Agree what goes in `B302` and `B303`, and which `N9` qualifiers are required - Map payment terms and the bill-to party - List the `L108` charge codes the payer accepts and map each accessorial - Confirm the rate qualifiers you send in `L103` - Implement N2 handling for `B307`, `L104` and `L305` - Decide how corrections and rebills are flagged - Set up matching against BOLs, tenders and 214 delivery events - Test an LTL invoice, a truckload invoice with accessorials, a correction and a zero-charge or credit line Our [EDI document types reference](/edi-document-types) shows how the transportation sets sit next to order, ship notice and invoice documents, and the [bill of lading glossary entry](/glossary/bill-of-lading) explains the document most 210s are matched against. ## Where OrderSync Fits A freight invoice is only as matchable as the shipment behind it, and the shipment is only as good as the order it came from. When an order arrives as a PDF or an email and the ship-to or freight terms are keyed wrong, that error travels onto the BOL and comes back on the 210. OrderSync reads inbound orders in any format, from EDI 850s and 875s to PDFs, emails and spreadsheets, matches customers, items and units to your catalog, and outputs clean ERP data or valid X12, so your shipments start from accurate orders. Paste any 210 into the [free EDI inspector](/edi-inspector) to see it parsed segment by segment with a plain-English summary, or [book a 15-minute walkthrough](/book) to see your own orders processed. ## Frequently Asked Questions
### What is an EDI 210 used for? The 210 is used by a motor carrier to bill for a shipment. It carries the invoice number, the shipper's shipment number, payment terms and net amount due in B3, references in N9, and each charge (line haul, fuel, accessorials) in its own L1 segment. ### What is the difference between an EDI 210 and an EDI 810? The 810 bills a buyer for goods and is keyed to a purchase order. The 210 bills a shipper, consignee or third party for transportation and is keyed to the bill of lading, PRO or load number. The 210 opens with B3 and carries charges in L1; the 810 opens with BIG and carries items in IT1. ### How are amounts formatted in an EDI 210? B307 net amount due, L104 charge and L305 total charges are numeric fields with two implied decimal places, so 272029 means 2,720.29. The freight rate in L102 is a real number and carries its own decimal point, such as 38.42. ### What is the fuel surcharge code in an EDI 210? In L108, the Special Charge or Allowance Code, 405 is fuel surcharge and FUE is fuel charge. 400 is freight. Which codes a payer accepts is set by its 210 guide. ### Who receives an EDI 210? The party that pays the freight: the shipper on prepaid shipments, the consignee on collect shipments, or a third party such as a 3PL or a freight audit and payment provider. B304 carries the payment method and the bill-to party is named in the N1 loop. ### Do ocean carriers send an EDI 210? No. Ocean carriers use the 310 Freight Receipt and Invoice (Ocean). The 210 is the motor carrier invoice. ### What is a freight bill audit? A freight bill audit compares each 210 with the shipment and the contract: that the shipment exists, the invoice is not a duplicate, the rate, weight, class and fuel match, and every accessorial was approved. It happens before the invoice is paid.
--- # EDI 211 Motor Carrier Bill of Lading: Complete Guide Source: https://ordersync.io/guides/edi/211-motor-carrier-bill-of-lading > EDI 211 Motor Carrier Bill of Lading explained: how a shipper sends the electronic BOL to a carrier, the BOL, AT1, AT2 and AT4 segments, a live LTL example and common errors. The EDI 211 Motor Carrier Bill of Lading is the X12 transaction a shipper sends a motor carrier as the legal bill of lading for one shipment. It carries the carrier SCAC, BOL number, payment terms, shipper, consignee and bill-to, and one line per commodity with handling units, weight and freight class. **The EDI 211 is the bill of lading as data.** The bill of lading is the shipment's receipt, its contract of carriage, and the document the carrier rates the freight from. On paper, the dock fills it in and the driver signs it. With a 211, the same content reaches the carrier's system directly from the shipper's, so the PRO, weights, classes and consignee the carrier bills from are the ones the shipper recorded. This guide covers what the 211 carries, the segments you will map, a live LTL example, how the 211 relates to the 204, 215, 856 and 210, and the errors that turn into reweighs, reclasses and rebills. ## What Is an EDI 211? **An EDI 211 is the Motor Carrier Bill of Lading transaction set defined by [ASC X12](https://x12.org/products/transaction-sets), used by a shipper, or another party responsible for contracting with a motor carrier, to provide a legal bill of lading for a shipment.** The standard's purpose statement also says what it is not for: a load tender, a pick-up manifest or appointment scheduling. Those are the 204, the 215 and other sets. The 211 travels in functional group `BL` (the `GS01` value) and most carrier guides use X12 004010. Authoritative references for 211 work: - The [X12 transaction set catalog](https://x12.org/products/transaction-sets) defines the 211 and its segment order, and [Stedi's X12 004010 reference for the 211](https://www.stedi.com/edi/x12-004010/211) shows every loop, segment and element by position - The [National Motor Freight Traffic Association (NMFTA)](https://nmfta.org/what-is-scac-and-how-do-carriers-get-it) issues the SCAC that names the carrier in `BOL01` and publishes the National Motor Freight Classification (NMFC), the source of the freight classes LTL carriers rate on - Each carrier publishes its own 211 guide with the references, codes and cutoff times it needs See our [bill of lading glossary entry](/glossary/bill-of-lading) for the legal roles a BOL plays. **Who sends it?** The shipper, or the 3PL or warehouse shipping on its behalf. **Who receives it?** The motor carrier, most often an LTL carrier. **When is it sent?** At or close to pickup. The standard's note on `BOL04` describes it as the date the carrier picked up the freight, so many shippers send the 211 when the trailer is loaded or the driver signs. **Why does it matter?** LTL carriers rate from the bill of lading: weight, class, handling units, terms and accessorials. When the BOL is keyed by hand at the dock, its errors show up later on the freight bill. ## What the 211 Carries - **The carrier, the BOL number and the terms.** The SCAC, the shipper's bill of lading number, prepaid or collect, the pickup date and, if the shipper uses pre-assigned PRO labels, the carrier's PRO number. - **The parties.** Shipper, consignee and, on collect or third-party freight, the bill-to. - **References.** Purchase orders, the load or routing number from the customer, and the shipper's own shipment ID. - **The lines.** One line per commodity or class, each with handling units, packaging, weight, freight class and description. - **Handling and hazmat.** Special handling requirements, remarks for the driver, and hazardous materials detail when it applies. - **Charges, when known.** Rates and charges per line, used when the shipper rates the shipment itself. ## Interactive Example: 211 for an LTL Shipment, Freight Collect This continues the story from our [754 routing instructions guide](/guides/edi/754-routing-instructions). The retailer routed Lakeshore Home Goods' two purchase orders to LTL carrier `QLTX` under load number `LD6021-88412`. At pickup, Lakeshore sends the bill of lading as a 211. The `BOL` segment carries the SCAC, collect terms (`CC`, because the retailer pays), the BOL number, the pickup date and time, and the PRO number from the pre-printed label. `L11` passes the retailer's load number so the carrier and the DC can match the freight to the routing. The `N1` loops name the shipper, the consignee DC and the bill-to. Then one `AT1` loop per PO: the PO in `L11`, the description in `AT4`, and cartons, weight and freight class in `AT2`. The sample uses X12 004010. All names, IDs and SCACs are fictional. Use the **Plain English** tab for a readable summary, or click any segment to break it down element by element. The same shipment appears later in the carrier's [212 delivery trailer manifest](/guides/edi/212-motor-carrier-delivery-trailer-manifest) to the DC, its [214 status messages](/guides/edi/214-transportation-carrier-shipment-status), and its [210 freight invoice](/guides/edi/210-motor-carrier-freight-invoice), all keyed on the same BOL and PRO numbers. ## 211 Structure at a Glance The table follows X12 004010. | Area | Segment | Name | Usage | Notes | |---|---|---|---|---| | Heading | **ST** | Transaction Set Header | Mandatory | `ST01` = `211` | | Heading | **BOL** | Beginning Segment for the Motor Carrier Bill of Lading | Mandatory | SCAC, terms, BOL number, pickup date, PRO | | Heading | **B2A** | Set Purpose | Mandatory | Original, change or cancellation | | Heading | **MS3** | Interline Information | Optional, up to 12 | Interline carriers and routing | | Heading | **MS2** | Equipment or Container Owner and Type | Optional, 1 | Trailer owner SCAC and number | | Heading | **L11** | Business Instructions and Reference Number | Optional, up to 100 | Load, PO, shipment and other references | | Heading | **G62** | Date/Time | Optional, up to 6 | Other dates | | Heading | **AT5** | Bill of Lading Handling Requirements | Optional, up to 50 | Special handling and services | | Heading | **K1** | Remarks | Optional, up to 10 | Free-text instructions | | Heading loop 0100 | **N1 / N2 / N3 / N4 / G61** | Name, address, contact | Optional, up to 10 | Shipper, consignee, bill-to | | Detail loop 0200 | **AT1** | Bill of Lading Line Item Number | Mandatory, up to 9999 | Starts each BOL line | | Line | **L11** | Business Instructions and Reference Number | Optional, up to 100 | Line references such as the PO | | Line | **AT3** | Bill of Lading Rates and Charges | Optional, 1 | Rate and charge for the line | | Line | **AT4** | Bill of Lading Description | Optional, up to 99 | The commodity description | | Line loop 0210 | **AT2 / MAN / SPO** | Line item detail, marks, PO detail | Optional, 1 | Handling units, packaging, weight, class | | Line loop 0220 | **LX / MAN / SPO** | Assigned number, marks, PO detail | Optional | Further breakdown of the line | | Line loop 0230 | **G61 / L11 / LH6** and loop 0231 **LH1 / LH2 / LH3 / LFH / LEP / LH4 / LHT** | Hazardous materials | Optional | Emergency contact and hazmat detail | | Summary | **SE** | Transaction Set Trailer | Mandatory | Segment count and control number | There is no `N7`, `L5`, `L0` or `L3` in the 004010 211. Those segments belong to the [204](/guides/edi/204-motor-carrier-load-tender) and [210](/guides/edi/210-motor-carrier-freight-invoice). The 211 has its own `AT` family for bill of lading lines, and puts the trailer in `MS2`. ## Key Segments Explained ### BOL: Beginning Segment for the Motor Carrier Bill of Lading ``` BOL*QLTX*CC*LHG-BOL-77120*20261111*0900*QLTX20481557~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **BOL01** | Standard Carrier Alpha Code | `QLTX` | Mandatory. The carrier that will provide the transportation | | **BOL02** | Shipment Method of Payment | `CC` | Mandatory. `PP` prepaid, `CC` collect, `TP` third party pay, among others | | **BOL03** | Shipment Identification Number | `LHG-BOL-77120` | Mandatory. The shipper's number, usually the bill of lading number | | **BOL04** | Date | `20261111` | Mandatory. The date the carrier picked up the freight | | **BOL05** | Time | `0900` | The pickup time | | **BOL06** | Reference Identification | `QLTX20481557` | The carrier's number for the shipment, usually the PRO number | | **BOL07** | Status Report Request Code | | Asks the carrier for automatic status reports or proof of delivery | `BOL03` and `BOL06` are the two numbers everything else hangs on. The shipper tracks by BOL number, the carrier by PRO. Sending both on the 211 is the simplest way to make the carrier's 214s and 210s match your records. ### B2A: Set Purpose ``` B2A*00~ ``` `B2A01` is `00` for an original bill of lading. A carrier's guide may also accept `01` (cancellation) or `04` (change). Corrections after pickup are where the carrier's own rules matter most, because the freight has already been tendered under the original BOL. ### L11: References ``` L11*LD6021-88412*LO~ L11*4500781234*PO~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **L1101** | Reference Identification | `LD6021-88412` | The reference value | | **L1102** | Reference Identification Qualifier | `LO` | `PO` purchase order, `LO` load planning number, `SI` shipper's identifying number, `BM` bill of lading, `CR` customer reference | At heading level, `L11` carries shipment-wide references. On collect retail freight, the retailer's load or routing number belongs here, because that is what the carrier and the DC match on. Inside an `AT1` loop, `L11` ties the line to its PO. ### N1 Loop: Shipper, Consignee and Bill-to ``` N1*CN*BIG-BOX RETAILER DC 6021*92*6021~ N3*1200 DISTRIBUTION PKWY~ N4*COLUMBUS*OH*43217*US~ ``` `N101` codes the party: `SH` shipper, `CN` consignee, `BT` bill-to. On collect or third-party freight, send the bill-to every time; it is how the carrier knows whom to invoice. ### AT1, AT4 and AT2: The Bill of Lading Lines ``` AT1*1~ L11*4500781234*PO~ AT4*HOUSEWARES, KITCHEN TEXTILES~ AT2*220*CTN*G*L*4180*****85~ ``` `AT101` numbers the line. `AT401` is the description of the lading. `AT2` carries the numbers the carrier rates from: | Element | Name | Example | What it means | |---|---|---|---| | **AT201** | Lading Quantity | `220` | Number of carrier handling units on the line | | **AT202** | Packaging Form Code | `CTN` | `CTN` carton, `PLT` pallet, `SKD` skid | | **AT203** | Weight Qualifier | `G` | `G` gross weight | | **AT204** | Weight Unit Code | `L` | `L` pounds, `K` kilograms | | **AT205** | Weight | `4180` | Weight of the handling units in `AT201` | | **AT206** | Lading Quantity | | Pieces on the pallets or skids; only when `AT202` is `PLT`, `SKD` or `SLP` | | **AT207** | Packaging Form Code | | Packaging of the pieces in `AT206` | | **AT208** | Yes/No Condition or Response Code | | `Y` if the carrier must verify the carton count on the pallets or skids; `N` (the default) if not | | **AT209** | Commodity Code | | The NMFC item number, when the guide asks for it | | **AT210** | Freight Class Code | `85` | The NMFC freight class | The class in `AT210` comes from the commodity's NMFC item, which NMFTA maintains and revises. Do not hard-code a class per customer or per product line; take it from your item master, and review it when the NMFC changes. A wrong class or weight on the BOL usually comes back as a reclass or reweigh on the carrier's 210. ### AT3: Rates and Charges `AT301` is the charge for the line (two implied decimals, so `12500` means 125.00), with the rate and its basis in `AT302` and `AT303` or a charge code in `AT306`. Many shippers leave `AT3` out and let the carrier rate the shipment; send it only if your guide asks. ### AT5 and K1: Handling and Remarks `AT5` carries coded special handling (`AT501`) or special services (`AT502`). `K1` carries free text such as delivery appointment notes. Accessorials the carrier will bill, like liftgate or inside delivery, should be coded the way the carrier's guide says, not only written in a remark. ## 211 vs 204 vs 215 vs 856 | Document | Sent by | Sent to | Purpose | |---|---|---|---| | **[204 Motor Carrier Load Tender](/guides/edi/204-motor-carrier-load-tender)** | Shipper | Truckload carrier | Offers a load; the carrier accepts or declines with a [990](/guides/edi/990-response-to-load-tender) | | **211 Motor Carrier Bill of Lading** | Shipper | Carrier | The legal bill of lading for one shipment | | **[215 Motor Carrier Pick-up Manifest](/guides/edi/215-motor-carrier-pickup-manifest)** | Shipper | Carrier | Lists all shipments handed to the carrier at one pickup | | **[856 Ship Notice/ASN](/guides/edi/856-ship-notice)** | Supplier | Buyer | Tells the buyer what shipped, down to the carton | The 204 books a truck, the 211 documents a shipment, and the 215 lists everything handed over at once. The 856 goes to the customer, not the carrier, and should carry the same BOL number and SCAC as the 211. For ocean freight, the carrier's bill of lading and invoice data come back on the [310](/guides/edi/310-freight-receipt-and-invoice-ocean) instead. ## Common 211 Errors and How to Prevent Them | Error | What happens | Prevention | |---|---|---| | **Opening segment mapped as `BL`** | Partner rejects the transaction | The 004010 211 starts with `BOL`; `BL` is the functional group code in `GS01` | | **Wrong payment code in `BOL02`** | Freight billed to the wrong party | Map terms from the order's freight terms; see our [FOB shipping glossary entry](/glossary/fob-shipping) | | **No bill-to on collect or third-party freight** | Carrier bills the shipper or holds the bill | Require `N1*BT` whenever `BOL02` is not prepaid | | **Wrong freight class in `AT210`** | Reclass and a corrected 210 | Take the class from the item's NMFC item, maintained in your item master | | **Line weights that do not add up** | Reweigh charge or delivery exception | Weigh at the dock, sum the lines, and compare with the order | | **PRO missing or not matching the label** | Status and invoices cannot be matched to the BOL | Send the PRO from the label in `BOL06` | | **Customer's load number missing** | DC cannot match the freight to its routing | Send the load or routing number in heading `L11` with the qualifier the guide names | | **211 used as a pickup request** | No truck arrives | Book pickups through the carrier's channel; the standard says the 211 is not for that | ## 211 Implementation Checklist - Confirm the carrier accepts the 211, the X12 release (usually 004010), and `GS01` = `BL` - Agree what goes in `BOL03` and whether you send the PRO in `BOL06` - Map payment terms from your orders to `BOL02` - List the `L11` qualifiers the carrier wants at heading and line level - Load NMFC classes, and item numbers if required, into your item master - Agree how handling requirements and accessorials are coded - Confirm hazmat requirements and whether a paper BOL must still travel with the freight - Agree the cutoff time and how corrections and cancellations are sent - Test prepaid, collect and third-party shipments, single-line and multi-line Our [EDI document types reference](/edi-document-types) shows how the transportation sets sit next to order, ship notice and invoice documents, and the [SCAC code glossary entry](/glossary/scac-code) explains how carriers are identified. ## Where OrderSync Fits The consignee, the PO numbers, the quantities and the freight terms on a bill of lading all start on a purchase order. When an order arrives as a PDF or an email and someone keys it into the ERP, a wrong ship-to or freight term follows it onto the BOL, and onto the carrier's invoice. OrderSync reads inbound orders in any format, from EDI 850s and 875s to PDFs, emails and spreadsheets, matches customers, items and units to your catalog, and outputs clean ERP data or valid X12, so your shipping system starts from accurate orders. Paste any 211 into the [free EDI inspector](/edi-inspector) to see it parsed segment by segment with a plain-English summary, or [book a 15-minute walkthrough](/book) to see your own orders processed. ## Frequently Asked Questions
### What is an EDI 211 used for? The 211 is used by a shipper to send a motor carrier the bill of lading for a shipment electronically. It carries the SCAC, the BOL number, payment terms, the parties, and each line's handling units, weight, class and description. ### What is the first segment of an EDI 211? After ST, the 004010 211 starts with the BOL segment, Beginning Segment for the Motor Carrier Bill of Lading. BOL01 is the carrier SCAC, BOL02 the method of payment, BOL03 the shipper's BOL number, BOL04 the pickup date, and BOL06 usually the carrier's PRO number. ### Where is the freight class in an EDI 211? In AT210, the Freight Class Code on the AT2 Bill of Lading Line Item Detail segment. AT209 can carry the NMFC item number. Weight and handling units are in AT201 to AT205. ### What is the difference between an EDI 211 and an EDI 204? The 204 offers a load to a truckload carrier before pickup and waits for a 990 answer. The 211 is the bill of lading for a shipment the carrier is picking up. The X12 standard says the 211 is not to be used as a load tender. ### What is the difference between an EDI 211 and a 215? The 211 is the bill of lading for one shipment. The 215 pick-up manifest lists every shipment handed to a carrier at one pickup, often with package-level detail. The standard says the 215 does not replace the bill of lading. ### Is an EDI 211 the same as an EDI 856 ASN? No. The 211 goes to the carrier as the transport document for the shipment. The 856 goes to the buyer and describes what is in the shipment and how it is packed. They describe the same freight and should share the BOL number and carrier SCAC. ### Does an EDI 211 replace the paper bill of lading? That depends on the carrier. Some carriers accept the 211 as the bill of lading, others still want a signed paper BOL to travel with the freight, especially for hazardous materials. Confirm with each carrier before you stop printing.
--- # EDI 212 Delivery Trailer Manifest: LTL Guide Source: https://ordersync.io/guides/edi/212-motor-carrier-delivery-trailer-manifest > EDI 212 Motor Carrier Delivery Trailer Manifest explained: ATA, B2A, AT7, MS2, LX, L11, AT8 and OID segments, a live LTL example, and how DCs use it to book appointments. The EDI 212 Motor Carrier Delivery Trailer Manifest is the X12 transaction an LTL carrier sends a consignee to list every shipment on a trailer it is about to deliver: the trailer and seal, each shipment's PRO and bill of lading numbers, the purchase orders, piece counts and weights. Retail distribution centers often use it to schedule the delivery appointment. **The EDI 212 tells a receiving dock what is on the trailer before the trailer arrives.** An LTL trailer bound for a retail distribution center usually carries freight from several shippers. The DC needs to know which purchase orders are on it, how many cartons and pallets, and when it can come in. The 212 answers all three in one document, sent by the carrier from its terminal once the trailer is loaded for delivery. This guide covers what the 212 carries, who sends it and why, every segment you will map, two live examples (an original manifest and a replacement), how it differs from the 214 and the 856, and the errors that cost a trailer its appointment. ## What Is an EDI 212? **An EDI 212 is the Motor Carrier Delivery Trailer Manifest transaction set defined by [ASC X12](https://x12.org/products/transaction-sets), used by a motor carrier to give a consignee the contents of a trailer, containing multiple shipments, that has been tendered for delivery.** The standard's own purpose statement adds that it is not for full truckload shipments. A truckload is one shipment, so there is nothing to manifest. The 212 travels in functional group `TM` (the `GS01` value). Authoritative references for 212 work: - The [X12 transaction set catalog](https://x12.org/products/transaction-sets) defines the 212 and its segment order, and [Stedi's X12 004010 reference for the 212](https://www.stedi.com/edi/x12-004010/212) shows the full loop structure by release - The [National Motor Freight Traffic Association (NMFTA)](https://nmfta.org/what-is-scac-and-how-do-carriers-get-it) issues the Standard Carrier Alpha Codes (SCACs) that identify the delivering carrier in `ATA01` and the trailer owner in `MS201` - Each consignee publishes its own 212 implementation guide. Best Buy, Walmart and H-E-B all have 212 guides in Stedi's public guide library, and the consignee's guide sets which segments and references are required **Who sends it?** The LTL carrier delivering the trailer, usually from the destination terminal. **Who receives it?** The consignee: in practice a retail distribution center, a large warehouse, or the logistics provider that manages the consignee's inbound docks. **When is it sent?** After the carrier has loaded the delivery trailer and before it shows up at the dock. Consignees set the lead time. Best Buy's carrier guide, for example, asks for the manifest within 90 minutes of the trailer closing at the carrier's terminal. **Why does it matter?** A DC plans labor and dock doors around what is arriving. Without a manifest, an LTL trailer is a box with unknown contents, and the receiving team finds out what is in it when the doors open. With a 212, the DC can check every PO before the truck arrives and book a door for it. ## Why Consignees Ask for a 212 Most EDI in a supplier relationship runs between the supplier and the retailer. The 212 is different: it runs from the carrier to the receiver, and the supplier never sees it. It exists because of how LTL works. An LTL carrier picks up from many shippers, cross-docks the freight at its terminals, and builds delivery trailers by destination. By the time a trailer leaves for a DC, it may hold shipments from five suppliers, each with its own bill of lading, PRO number and purchase orders. Each supplier sent its own [856 ASN](/guides/edi/856-ship-notice) to the retailer, but none of those ASNs says which trailer the freight is on. The 212 makes that link. Retailers use it in two main ways: 1. **Appointment scheduling.** The 212 becomes the carrier's request for a delivery appointment. In Best Buy's published carrier guide, the 212 replaces the manual appointment form for LTL freight into its DCs, and Best Buy answers with an EDI 163 that grants the appointment or rejects the manifest with the data that needs fixing. 2. **Receiving preparation.** The DC matches each PO on the manifest to its open orders and ASNs, flags anything it does not recognize, and stages labor for the carton and pallet counts. See our glossary entry on [cross-docking](/glossary/cross-docking) for how carriers and DCs consolidate freight, and the [SCAC code entry](/glossary/scac-code) for how carriers are identified. ## Where the 212 Sits in the Freight Flow An LTL shipment into a retail DC typically produces these documents. Which ones are exchanged by EDI depends on each party's setup. 1. **[204 Motor Carrier Load Tender](/guides/edi/204-motor-carrier-load-tender).** The shipper, or the retailer on collect freight, tenders the shipment to the carrier. 2. **[990 Response to a Load Tender](/guides/edi/990-response-to-load-tender).** The carrier accepts or declines. 3. **[211 Motor Carrier Bill of Lading](/guides/edi/211-motor-carrier-bill-of-lading)** or a [215 pick-up manifest](/guides/edi/215-motor-carrier-pickup-manifest). The shipper documents what it handed over. 4. **[856 Ship Notice](/guides/edi/856-ship-notice).** The supplier tells the retailer what shipped. 5. **[214 Shipment Status](/guides/edi/214-transportation-carrier-shipment-status).** The carrier reports pickup, linehaul and terminal events. 6. **212 Delivery Trailer Manifest.** The carrier tells the DC what is on the delivery trailer. 7. **Delivery.** The DC receives against the manifest and the ASNs, and the carrier reports delivery with another 214. 8. **[210 Motor Carrier Freight Invoice](/guides/edi/210-motor-carrier-freight-invoice).** The carrier bills whoever pays the freight. ## Interactive Example: 212 for a Three-Shipment LTL Trailer This continues the story from our [754 routing instructions guide](/guides/edi/754-routing-instructions). Carrier `QLTX` collected Lakeshore Home Goods' two purchase orders in Grand Rapids, moved them through its terminal network, and loaded them onto a delivery trailer for the retailer's DC 6021 in Columbus, Ohio, together with freight from two other suppliers. The heading names the DC (`N1*ST`), says the trailer is available for delivery (`AT7*AV`), and gives the trailer and seal numbers. Each `LX` loop is one shipment with its PRO and bill of lading in `L11`, weight and handling units in `AT8`, purchase orders in `OID`, and the shipper in `N1*SH`. The sample uses X12 004030. All names, IDs and SCACs are fictional. Use the **Plain English** tab for a readable summary, or click any segment to break it down element by element. ## Interactive Example: 212 Replacement Manifest The same day, the carrier pulls the third shipment off the trailer and pushes delivery to the next morning. It resends the manifest with `B2A01` = `05` (replace), the same manifest number in `ATA02`, a new date and time in `AT7`, and only the two shipments still on board. The receiver should discard the earlier version and plan from this one. ## 212 Structure at a Glance The table follows X12 004030, the release used in the example and in retailer guides such as Best Buy's. In 004010 the structure is the same except that loop 0210 holds the `SPO` (Shipment Purchase Order Detail) segment instead of `OID`. | Area | Segment | Name | Usage | Notes | |---|---|---|---|---| | Heading | **ST** | Transaction Set Header | Mandatory | `ST01` = `212` | | Heading | **ATA** | Beginning Segment for Motor Carrier Delivery Trailer Manifest | Mandatory | Carrier SCAC, manifest number, date | | Heading | **B2A** | Set Purpose | Mandatory | Original, replace or cancel | | Heading | **L11** | Business Instructions and Reference Number | Optional | Trailer-level references | | Loop 0100 | **N1 / N2 / N3 / N4** | Name and address | Optional, 1 | Where the trailer is being delivered | | Loop 0100 | **G61 / G62 / L11** | Contact, date/time, references | Optional | Consignee contact and references | | Loop 0150 | **AT7** | Shipment Status Details | Mandatory, 1 | Status of the whole trailer | | Loop 0150 | **G62 / MS1** | Date/time, location | Optional | Extra dates; where the trailer is | | Loop 0160 | **MS2** | Equipment or Container Owner and Type | Mandatory in loop | Trailer owner SCAC, number, type | | Loop 0160 | **M7 / AT9** | Seal numbers, trailer dimensions and weight | Optional | | | Loop 0200 (LX) | **LX** | Assigned Number | Mandatory in loop, repeats | One loop per shipment | | Loop 0200 | **L11** | Business Instructions and Reference Number | Optional, up to 10 | PRO, bill of lading and other references | | Loop 0200 | **AT7 / BLR / MAN / AT8 / Q7 / G62 / TSD** | Shipment status, pickup carrier, marks, weight and count, exceptions, dates, trailer position | Optional | `AT8` carries weight and handling units | | Loop 0210 | **OID / SDQ** | Order Identification Detail, Destination Quantity | Optional, repeats | One `OID` per purchase order | | Loop 0220 | **N1 / N2 / N3 / N4 / L11** | Name and address | Optional, 1 | The shipper of this shipment | | Summary | **SE** | Transaction Set Trailer | Mandatory | Segment count and control number | The standard's notes say loop 0200 is usually keyed on the carrier's PRO number, and that loop 0220 (the shipper) is only needed when the carrier has not already given that information in an earlier status message. Retailer guides often tighten this: Best Buy, for instance, makes the shipper loop, the `L11` references and the `OID` lines mandatory. ## Key Segments Explained ### ATA: Beginning Segment ``` ATA*QLTX*DM-6021-1112-07*20261112~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **ATA01** | Standard Carrier Alpha Code | `QLTX` | SCAC of the carrier delivering the trailer | | **ATA02** | Reference Identification | `DM-6021-1112-07` | The delivery trailer manifest number the carrier assigned | | **ATA03** | Date | `20261112` | Date the manifest was created | `ATA02` is the key for everything that follows. A replacement or cancellation must carry the same manifest number as the original, or the receiver will treat it as a second trailer. ### B2A: Set Purpose ``` B2A*00~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **B2A01** | Transaction Set Purpose Code | `00` | `00` original, `05` replace, `01` cancellation are the codes retailer guides commonly accept | | **B2A02** | Application Type | | Rarely used on a 212 | A replace (`05`) is a full replacement: the receiver should drop every shipment from the earlier version and use only what the new one lists. A cancellation (`01`) means the trailer is no longer coming to that location. ### N1 Loop (Heading): Delivery Location ``` N1*ST*BIG-BOX RETAILER DC 6021*92*6021~ N3*1200 DISTRIBUTION PKWY~ N4*COLUMBUS*OH*43217*US~ ``` The heading `N1` loop names where the trailer is going, normally with `N101` = `ST` (ship to) and the consignee's own location ID in `N104`. The ID qualifier in `N103` varies by guide: the example uses `92` (assigned by buyer), and some retailers ask for `94` (assigned by the ultimate destination). A wrong location ID is one of the fastest ways to get a manifest rejected. ### AT7: Shipment Status Details ``` AT7*AV*NS***20261112*0530*LT~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **AT701** | Shipment Status Code | `AV` | `AV` available for delivery | | **AT702** | Shipment Status or Appointment Reason Code | `NS` | `NS` normal status | | **AT703** | Shipment Appointment Status Code | | Used instead of `AT701` when the segment reports an appointment | | **AT704** | Shipment Status or Appointment Reason Code | | Reason for the appointment status | | **AT705** | Date | `20261112` | Date the trailer is available | | **AT706** | Time | `0530` | Time it is available | | **AT707** | Time Code | `LT` | `LT` local time | This is the same `AT7` segment a carrier uses on the [214 shipment status message](/guides/edi/214-transportation-carrier-shipment-status), with the same code lists. On a 212 the heading `AT7` describes the whole trailer. Consignees that schedule from the 212 typically read `AT705` and `AT706` as the earliest time the trailer can be at their dock. ### MS2 and M7: Trailer and Seal ``` MS2*QLTX*530118*TL~ M7*QS4471902~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **MS201** | Standard Carrier Alpha Code | `QLTX` | SCAC of the trailer's owner | | **MS202** | Equipment Number | `530118` | Trailer number | | **MS203** | Equipment Description Code | `TL` | `TL` trailer (not otherwise specified) | | **M701** | Seal Number | `QS4471902` | Seal on the trailer doors | The yard and gate teams use these. A trailer that arrives with a different number or a broken seal is a receiving exception, so store both with the appointment. ### LX and L11: Each Shipment and Its References ``` LX*1~ L11*QLTX20481557*CN~ L11*LHG-BOL-77120*BM~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **LX01** | Assigned Number | `1` | Sequence number of the shipment on this manifest | | **L1101** | Reference Identification | `QLTX20481557` | The reference value | | **L1102** | Reference Identification Qualifier | `CN` | `CN` carrier's PRO number, `BM` bill of lading number | The PRO number (`CN`) is the carrier's tracking number for the shipment. The bill of lading number (`BM`) is the shipper's, and it is usually the reference that ties the shipment to the supplier's 856 ASN. Some retailers also require their own load or move number in an extra `L11` on freight they pay for. The guide names the qualifier. ### AT8: Weight and Handling Units ``` AT8*G*L*5710*316~ AT8*G*L*2260**8~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **AT801** | Weight Qualifier | `G` | `G` gross weight | | **AT802** | Weight Unit Code | `L` | `L` pounds, `K` kilograms | | **AT803** | Weight | `5710` | Weight of the shipment | | **AT804** | Lading Quantity | `316` | Handling units that are not unitized, such as loose cartons | | **AT805** | Lading Quantity | `8` | Handling units that are unitized, such as pallets | `AT804` and `AT805` add up to the total handling units. Put floor-loaded cartons in `AT804` and pallets in `AT805`, as in the two lines above, so the DC knows whether it needs a forklift or a crew. ### OID: Order Identification Detail ``` OID*SO-55120*4500781234**CTN*220*L*4180~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **OID01** | Reference Identification | `SO-55120` | Shipper's reference for the order | | **OID02** | Purchase Order Number | `4500781234` | The consignee's PO number | | **OID04** | Packaging Form Code | `CTN` | `CTN` carton, `PLT` pallet | | **OID05** | Quantity | `220` | Number of packages for this PO | | **OID06** | Weight Unit Code | `L` | `L` pounds | | **OID07** | Weight | `4180` | Weight for this PO | The `OID` lines are why DCs want the 212. Each one names a purchase order the DC can look up. The carrier usually gets these values from the bill of lading or from the consignee's own [204 load tender](/guides/edi/204-motor-carrier-load-tender) on collect freight. If the 204 carried `OID` data, the guide may ask the carrier to echo it exactly. In 004010 the same information goes in `SPO`, where `SPO01` is the PO number and `SPO03` to `SPO06` carry the unit, quantity and weight. ### N1 Loop (Detail): Shipper ``` N1*SH*LAKESHORE HOME GOODS~ N4*GRAND RAPIDS*MI*49508*US~ ``` The last loop in each shipment names who shipped it (`N101` = `SH`). The DC uses it to find the supplier's ASN and to contact the right vendor about shortages. ## 212 vs 214 vs 856 vs 215 These four are easy to mix up because they all describe freight on the move. | Document | Sent by | Sent to | Scope | Purpose | |---|---|---|---|---| | **212 Delivery Trailer Manifest** | Carrier | Consignee | One delivery trailer, many shipments | What is on the trailer coming to your dock | | **[214 Shipment Status](/guides/edi/214-transportation-carrier-shipment-status)** | Carrier | Shipper, consignee or third party | One shipment | Where the shipment is and what just happened to it | | **[856 Ship Notice/ASN](/guides/edi/856-ship-notice)** | Supplier | Buyer | One shipment, down to cartons and items | What the supplier shipped against the PO | | **[215 Pick-up Manifest](/guides/edi/215-motor-carrier-pickup-manifest)** | Shipper | Carrier | One pickup, many shipments | What the shipper handed to the carrier | The 215 and the 212 are mirror images. The 215 is the shipper's list of shipments at the start of the move. The 212 is the carrier's list of shipments on one trailer at the end of it, usually mixing freight from many shippers. ## Common 212 Errors and How to Prevent Them | Error | What happens | Prevention | |---|---|---| | **Wrong consignee location ID** | Manifest rejected or sent to the wrong DC's schedule | Map `N104` from the consignee's location table, not from the free-text address | | **Replacement sent with a new manifest number** | DC sees two trailers and double-books a door | Reuse `ATA02` on every replace and cancel | | **Replacement sent as a partial update** | Shipments left off the new version are lost | Always send the full trailer contents with `B2A01` = `05` | | **PO missing or mistyped in `OID02`** | DC cannot match the freight to an open order; appointment refused | Take PO numbers from the 204 or the BOL electronically, not from a keyed field | | **Carton count differs from the ASN** | Receiving exception at the door | Carry the shipper's BOL piece count; flag mismatches with the shipper before dispatch | | **Loose and palletized units in the same field** | DC plans the wrong labor | Use `AT804` for loose cartons and `AT805` for pallets | | **Manifest sent too late** | No appointment slot left, trailer waits in the yard | Send when the trailer closes, within the consignee's stated window | | **Full truckload sent as a 212** | Rejected or ignored | Use the 212 for multi-shipment LTL trailers only, as the standard intends | | **Cancellation not sent when the trailer is re-routed** | DC holds a door for a trailer that is not coming | Trigger `B2A01` = `01` from the carrier's dispatch change | ## 212 Implementation Checklist For a carrier setting up 212s with a new consignee: - Get the consignee's 212 guide and confirm the X12 release (004010 uses `SPO`, 004030 uses `OID`) - Load the consignee's location IDs for `N104` and test one per DC - Confirm the required `L11` qualifiers per shipment (PRO, BOL, and any consignee load number) - Confirm the `AT7` status and reason codes and the time code it expects - Confirm the send window and whether the 212 is the appointment request - Confirm the response: a 997 only, or an appointment message such as a 163 - Test an original, a replace with a shipment removed, a replace with a new date, and a cancellation - Monitor 997s and appointment rejections for the first weeks of production For a supplier, there is nothing to send, but there is plenty to influence. The PO numbers, carton counts and weights on a 212 come from your bill of lading. Accurate BOLs and [856 ASNs](/guides/edi/856-ship-notice) are what let the DC match the carrier's manifest to your shipment. Our [EDI compliance guide](/edi-compliance) and [EDI document types reference](/edi-document-types) show how these fit around the order. ## Where OrderSync Fits A 212 is the end of a chain that starts with an order. If the purchase order was keyed wrong, the PO number on the bill of lading is wrong, and the DC cannot match the freight when the carrier's manifest arrives. OrderSync reads inbound orders in any format, from EDI 850s and 875s to PDFs, emails and spreadsheets, matches customers, items and units to your catalog, and outputs clean ERP data or valid X12. That gives your shipping team correct PO numbers and quantities to put on the bill of lading. Paste any 212 into the [free EDI inspector](/edi-inspector) to see it parsed segment by segment with a plain-English summary, or [book a 15-minute walkthrough](/book) to see your own orders processed. ## Frequently Asked Questions
### What is an EDI 212? The EDI 212 Motor Carrier Delivery Trailer Manifest is an X12 transaction an LTL carrier sends to a consignee listing every shipment on a trailer it is about to deliver: trailer and seal numbers, each shipment's PRO and bill of lading, the purchase orders, piece counts and weights. Many retail DCs use it to schedule the delivery appointment. ### Who sends an EDI 212? The motor carrier delivering the trailer sends it, usually from the destination terminal once the trailer is loaded. The consignee, typically a retail distribution center or its logistics provider, receives it. The supplier that shipped the goods is not part of the exchange. ### What is the difference between EDI 212 and EDI 214? A 214 reports a status event for one shipment, such as pickup, arrival or delivery, to whoever needs to track it. A 212 lists all the shipments on one delivery trailer for the consignee. The 212 even reuses the 214's AT7 status segment, but for the trailer as a whole. ### Is the EDI 212 used for full truckload shipments? No. The X12 standard describes the 212 as a manifest of a trailer containing multiple shipments and says it is not for full truckload shipments. A truckload is a single shipment, which a 214 or the shipper's 856 already covers. ### What does the ATA segment mean in an EDI 212? ATA is the 212's beginning segment. ATA01 is the SCAC of the delivering carrier, ATA02 is the manifest number the carrier assigned, and ATA03 is the date the manifest was created. Replacements and cancellations must reuse the same ATA02. ### How do you change or cancel an EDI 212? Send a new 212 with the same manifest number in ATA02. B2A01 code 05 replaces the manifest in full, so it must list every shipment still on the trailer. Code 01 cancels it when the trailer is no longer going to that location. Check the consignee's guide for the codes it accepts. ### What does a retailer send back after a 212? At minimum a 997 functional acknowledgment. Retailers that schedule dock appointments from the 212 may also send an appointment message. Best Buy's published carrier guide, for example, answers with an EDI 163 that grants the appointment or rejects the manifest with the data to fix. ### Does a supplier need to send an EDI 212? No. The 212 is exchanged between the carrier and the consignee. A supplier's job is to give the carrier an accurate bill of lading and to send its own 856 ASN to the retailer, because the DC matches the carrier's 212 against both.
--- # EDI 213 Shipment Status Inquiry: Carrier Guide Source: https://ordersync.io/guides/edi/213-motor-carrier-shipment-status-inquiry > EDI 213 Motor Carrier Shipment Status Inquiry explained: the B11, REF, L10, N1 and K2 segments, live examples by PRO and by BOL, and how the 214 answers it. The EDI 213 Motor Carrier Shipment Status Inquiry is the X12 transaction a shipper or consignee sends a motor carrier to ask for the status of a specific shipment, identified by PRO number, bill of lading or purchase order. The carrier answers with a 214 shipment status message. The 213 is the question; the 214 is the answer. **The EDI 213 is a tracking request in X12 form.** Instead of typing a PRO number into a carrier's website or calling customer service, a shipper's or receiver's system sends a 213 with the shipment's references, and the carrier's system replies with a [214 status message](/guides/edi/214-transportation-carrier-shipment-status). It is a small transaction, rarely more than a dozen segments, but it is the one that lets you pull status on demand rather than wait for the carrier to push it. This guide covers what the 213 carries, when it makes sense next to an ordinary 214 feed, every segment you will map, two live examples (a shipper asking by PRO and a DC asking by bill of lading), and the mistakes that leave inquiries unanswered. ## What Is an EDI 213? **An EDI 213 is the Motor Carrier Shipment Status Inquiry transaction set defined by [ASC X12](https://x12.org/products/transaction-sets), used to request shipment status from a motor carrier.** The standard states that the requestor may be a shipper or a consignee. It travels in functional group `MI` (the `GS01` value). Authoritative references for 213 work: - The [X12 transaction set catalog](https://x12.org/products/transaction-sets) defines the 213 and its segment order, and [Stedi's X12 004010 reference for the 213](https://www.stedi.com/edi/x12-004010/213) lists every segment and element by release - The [National Motor Freight Traffic Association (NMFTA)](https://nmfta.org/what-is-scac-and-how-do-carriers-get-it) issues the SCACs that identify the carrier you are asking, normally the receiver ID on the interchange - Each carrier that supports the 213 publishes its own guide, which says which references it can search on and how it replies **Who sends it?** A shipper, a consignee, or a third party acting for one of them, such as a 3PL or a freight audit firm. **Who receives it?** The motor carrier, usually an LTL carrier, that holds the shipment. **When is it sent?** Whenever the requester wants status it does not already have: a shipment that has gone quiet, a delivery that is late, or a customer asking where their order is. **Why does it matter?** Most carriers push 214s at milestones, but only for the parties and events they have been set up to report. The 213 lets you ask about a single shipment when you need it, using whatever reference you hold. ## When to Use a 213 Instead of Waiting for a 214 The 213 and the 214 are two halves of one conversation, and you can run the 214 without the 213. | Situation | Push 214 feed | 213 inquiry, then 214 reply | |---|---|---| | You tender all your freight to the carrier and it sends 214s for every shipment | Covers it | Rarely needed | | A shipment has not had a status for days | Nothing arrives until the next event | Ask for current status | | You are the consignee on inbound freight someone else tendered | You may not be on the carrier's 214 list | Ask by BOL or PO | | A customer asks about one order | You search the 214s you received | Ask the carrier directly | | You switch carriers often or use many small ones | Setting up push feeds for each is slow | Ask only when you need to | Carriers differ in whether they support the 213 at all. Many now offer tracking APIs and web portals instead, and a growing share of shippers get status through visibility platforms that aggregate carrier data. If your carrier does accept 213s, it is still the simplest way to pull status into an EDI-based system without a second integration. ## How a 213 Inquiry Works 1. **Requester identifies the shipment.** It picks the strongest reference it has: the carrier's PRO number if known, otherwise the bill of lading number, the purchase order, or a combination. 2. **Requester sends the 213.** One transaction per shipment, with the references in `REF`, the pickup date in `B11`, and the shipper and consignee in the `N1` loop. 3. **Carrier acknowledges.** A 997 confirms the 213 was syntactically valid. 4. **Carrier searches its system.** The PRO number is an exact match. A BOL or PO search may need the shipper, consignee or pickup date to narrow it down. 5. **Carrier replies with a 214.** The 214's `B10` segment carries the shipment references, and its `AT7` loops give the current status, date, time and location. See the [214 guide](/guides/edi/214-transportation-carrier-shipment-status) for the status codes. ## Interactive Example: Shipper's 213 by PRO Number Lakeshore Home Goods' freight from our [754 routing guide](/guides/edi/754-routing-instructions) was picked up on November 11. A day later its customer service team wants to confirm it is on schedule for the DC. Its system sends a 213 to carrier `QLTX` with the PRO number, bill of lading and PO in `REF` segments, the total weight in `L10`, the shipper and consignee in `N1` loops, and a free-text note in `K2`. All names, IDs and SCACs are fictional. Use the **Plain English** tab for a readable summary, or click any segment to break it down element by element. ## Interactive Example: Consignee's 213 by Bill of Lading Here the retailer's DC asks the same carrier about two inbound shipments. It does not have PRO numbers, only the suppliers' bill of lading numbers and its own POs from the ASNs. The interchange carries two 213 transactions, one per shipment, because the 213 is built around a single shipment: its references sit in the heading, not in a repeating loop. ## 213 Structure at a Glance The table follows X12 004010. Later releases keep the same short layout. | Position | Segment | Name | Usage | Notes | |---|---|---|---|---| | Heading | **ST** | Transaction Set Header | Mandatory | `ST01` = `213` | | Heading | **B11** | Beginning Segment for Shipment Status Inquiry | Mandatory | Requestor ID and pickup date | | Heading | **C3** | Currency | Optional | Rarely used | | Heading | **REF** | Reference Identification | Optional, up to 10 | PRO, bill of lading, PO and other references | | Heading | **L10** | Weight | Optional, up to 5 | Shipment weight, to help the carrier match | | Loop 0100 | **N1 / N2 / N3 / N4** | Name and address | Up to 5 loops | Shipper, consignee and other parties | | Loop 0100 | **G61** | Contact | Optional, up to 2 | Who to contact about the inquiry | | Loop 0100 | **REF** | Reference Identification | Optional, up to 10 | Party-level references | | Heading | **K2** | Administrative Message | Optional, up to 2 | Free-text message | | Summary | **SE** | Transaction Set Trailer | Mandatory | Segment count and control number | ## Key Segments Explained ### B11: Beginning Segment for Shipment Status Inquiry ``` B11*25*LHG4471*20261111~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **B1101** | Identification Code Qualifier | `25` | How the requestor is identified. `25` is the carrier's customer code | | **B1102** | Identification Code | `LHG4471` | The requestor's ID under that qualifier | | **B1103** | Date | `20261111` | Pickup date of the shipment | | **B1104** to **B1109** | Unit, quantity, amount and description pairs | | Optional pairs, rarely used | | **B1110** | Service Level Code | | Optional | | **B1111** | Report Transmission Code | | Optional | The standard says `B1101` identifies the requestor and `B1103` is the pickup date. Which qualifier to use in `B1101` is set by the carrier's guide. The carrier's customer (account) code is a common choice because the carrier can look it up directly, but some carriers want a DUNS number or a mutually defined code. The pickup date matters more than it looks. A BOL or PO number is not unique across a carrier's whole history, and the pickup date is often what lets the carrier find the right shipment. ### REF: Shipment References ``` REF*CN*QLTX20481557~ REF*BM*LHG-BOL-77120~ REF*PO*4500781234~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **REF01** | Reference Identification Qualifier | `CN` | `CN` carrier's PRO number, `BM` bill of lading number, `PO` purchase order number | | **REF02** | Reference Identification | `QLTX20481557` | The value | Send every reference you have. The PRO number is the carrier's own key and matches exactly. Without it, the BOL is the next best, because the carrier recorded it at pickup. A PO alone is weak: carriers only know it if the shipper put it on the bill of lading. ### L10: Weight ``` L10*5710*G*L~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **L1001** | Weight | `5710` | The shipment weight | | **L1002** | Weight Qualifier | `G` | `G` gross weight | | **L1003** | Weight Unit Code | `L` | `L` pounds, `K` kilograms | Weight is a tiebreaker. If two shipments share a BOL number, the weight helps the carrier pick the right one. ### N1 Loop: Shipper and Consignee ``` N1*SH*LAKESHORE HOME GOODS~ N3*4100 EASTERN AVE SE~ N4*GRAND RAPIDS*MI*49508*US~ G61*IC*DANA REYES*TE*6165550142~ N1*CN*BIG-BOX RETAILER DC 6021*92*6021~ N4*COLUMBUS*OH*43217*US~ ``` The loop repeats up to five times. `N101` = `SH` is the shipper and `CN` the consignee. City, state and postal code in `N4` are usually enough for the carrier to narrow its search. `G61` gives a contact (`G6101` = `IC`, information contact), with the name in `G6102` and a phone number in `G6104` after the qualifier `TE` in `G6103`. ### K2: Administrative Message ``` K2*PLEASE CONFIRM DELIVERY APPOINTMENT AT DC 6021~ ``` `K201` is free text up to 80 characters. Most carriers process the 213 automatically and never read it, so do not put anything here that needs an answer. Use it for context a person might see if the automated search fails. ## 213 vs 214 vs 869 and 870 | Document | Sent by | Sent to | Purpose | |---|---|---|---| | **213 Shipment Status Inquiry** | Shipper or consignee | Motor carrier | Where is this shipment? | | **[214 Shipment Status](/guides/edi/214-transportation-carrier-shipment-status)** | Carrier | Shipper, consignee or third party | Here is its status, time and location | | **[869 Order Status Inquiry](/guides/edi/869-order-status-inquiry)** | Buyer | Seller | What is the status of my purchase order? | | **[870 Order Status Report](/guides/edi/870-order-status-report)** | Seller | Buyer | Here is the status of the order and its lines | | **[212 Delivery Trailer Manifest](/guides/edi/212-motor-carrier-delivery-trailer-manifest)** | Carrier | Consignee | Here is everything on the trailer coming to you | The 869 and 870 ask about an order: has it been picked, shipped, back-ordered? The 213 and 214 ask about freight: where is the truck? A buyer chasing a late PO may need both, an 869 to the supplier to find out whether it shipped, then a 213 to the carrier to find out where it is. ## Common 213 Errors and How to Prevent Them | Error | What happens | Prevention | |---|---|---| | **No PRO number and no pickup date** | Carrier cannot find the shipment; no 214 comes back | Store the PRO from the carrier's first 214 or the BOL, and always send `B1103` | | **Wrong qualifier on a reference** | A BOL searched as a PRO returns nothing | Map `REF01` from the field the value came from, never by guess | | **Several shipments in one 213** | Carrier answers for one, or rejects the set | Send one 213 per shipment; batch them in one functional group | | **Requestor ID not on file** | Inquiry rejected as unauthorized | Use the `B1101` qualifier and ID the carrier set up for you | | **No process for the 214 reply** | The answer arrives but nobody sees it | Route replies into the same tracking view as your push 214s | | **Polling every shipment on a schedule** | Unneeded traffic on both sides, and most replies repeat what you already know | Ask only about shipments with no recent status or a past-due delivery, and follow any limits in the carrier's guide | | **Asking a carrier that does not support 213** | Silence | Confirm support during onboarding; use the carrier's API or portal otherwise | ## 213 Implementation Checklist - Confirm the carrier accepts the 213, and in which X12 release - Get the requestor qualifier and ID it expects in `B11` - Confirm which `REF` qualifiers it can search on (PRO, BOL, PO, others) - Confirm whether it replies with a 214 and how fast - Decide which shipments trigger an inquiry, and cap the frequency - Store PRO numbers as soon as you receive them, from the BOL, a 214 or an invoice - Map the reply 214s into your shipment tracking and alerts - Test a PRO search, a BOL-only search and a shipment the carrier cannot find The [EDI document types reference](/edi-document-types) shows how the transportation sets fit alongside order, ship notice and invoice documents, and the [SCAC code glossary entry](/glossary/scac-code) explains how carriers are identified. ## Where OrderSync Fits Tracking questions usually start as order questions: a customer asks where their purchase order is. Answering fast depends on having the order, its PO number and its shipment references in one clean record. OrderSync reads inbound orders in any format, from EDI 850s and 875s to PDFs, emails and spreadsheets, matches customers, items and units to your catalog, and outputs clean ERP data or valid X12. That keeps the PO numbers on your orders, bills of lading and inquiries consistent. Paste any 213 or 214 into the [free EDI inspector](/edi-inspector) to see it parsed segment by segment with a plain-English summary, or [book a 15-minute walkthrough](/book) to see your own orders processed. ## Frequently Asked Questions
### What is an EDI 213? The EDI 213 Motor Carrier Shipment Status Inquiry is an X12 transaction a shipper or consignee sends a motor carrier to ask for the current status of a specific shipment. It identifies the shipment by PRO number, bill of lading, purchase order or a combination, and the carrier replies with a 214 status message. ### What is the difference between EDI 213 and EDI 214? The 213 is the request and the 214 is the status. A shipper or consignee sends a 213 to ask where a shipment is. The carrier sends a 214 with the status code, date, time and location. Carriers also send 214s unprompted at milestones, so many shippers use 214s without ever sending a 213. ### What is the B11 segment in an EDI 213? B11 is the 213's beginning segment. B1101 and B1102 identify the requestor, for example with the carrier's customer code, and B1103 is the shipment's pickup date. The remaining B11 elements are optional and rarely used. ### What references can I use in an EDI 213? Use REF segments with the carrier's PRO number (qualifier CN), the bill of lading number (BM) and the purchase order (PO). Send as many as you have. The carrier's guide lists the qualifiers it can search on. ### Can one EDI 213 ask about several shipments? The 213's references sit in the heading, so one transaction describes one shipment. To ask about several, send several 213 transactions, which can travel together in one functional group and interchange. ### Who can send an EDI 213? The X12 standard says the requestor may be a shipper or a consignee. In practice third parties acting for them, such as 3PLs and freight audit firms, also send 213s, as long as the carrier has set them up as a trading partner. ### Do all carriers support the EDI 213? No. Support varies, and many carriers now point customers to tracking APIs or web portals instead. Check the carrier's EDI guide or ask its EDI team during onboarding. The 214 is far more widely supported.
--- # EDI 214: Shipment Status Codes and AT7 Segment Source: https://ordersync.io/guides/edi/214-transportation-carrier-shipment-status > EDI 214 shipment status explained: AT7 status, reason and appointment codes, the B10, LX, MS1 and MS2 segments, live examples, and how shippers use 214 feeds. The EDI 214 Transportation Carrier Shipment Status Message is the X12 transaction a carrier sends to report where a shipment is: picked up, at a terminal, delivered or delayed. Each event is an AT7 segment with a status code, reason code, date and time, plus an MS1 location, tied to the shipment by the PRO and BOL numbers in B10. **The EDI 214 is how a carrier keeps a shipper, consignee or freight payer informed while freight is moving.** Each time a shipment hits a milestone, such as pickup, terminal arrival, out for delivery or delivery, the carrier sends a 214 with the status, the time and the place. It is the data behind shipment tracking, delivery confirmation and delay alerts. Without it, the shipper has the bill of lading at one end and the freight invoice at the other, and nothing in between. This guide covers the status, reason and appointment codes that carry the meaning, the segments you will map, two live examples (an LTL shipment's milestones and a truckload delay with a new appointment), and how to turn a 214 feed into dependable tracking. ## What Is an EDI 214? **An EDI 214 is the Transportation Carrier Shipment Status Message transaction set defined by [ASC X12](https://x12.org/products/transaction-sets), used by a transportation carrier to give shippers, consignees and their agents the status of shipments in terms of dates, times, locations, route, identifying numbers and conveyance.** It travels in functional group `QM` (the `GS01` value). Most motor carriers send it in X12 004010. Authoritative references for 214 work: - The [X12 transaction set catalog](https://x12.org/products/transaction-sets) defines the 214, and [Stedi's X12 004010 reference for the 214](https://www.stedi.com/edi/x12-004010/214) lists every loop, segment and code value, including the full status code list for element 1650 - Carrier implementation guides, such as [YRC Freight's 214 guide](https://my.yrc.com/national/tpp/214_impgdV4010.pdf) and the [TForce Freight 214 specification](https://www.tforcefreight.com/downloads/TFF-214-4010.pdf), show which codes each carrier actually sends and what it means by them - The [National Motor Freight Traffic Association (NMFTA)](https://nmfta.org/what-is-scac-and-how-do-carriers-get-it) issues the SCAC that identifies the reporting carrier in `B1003` **Who sends it?** The carrier moving the freight: truckload, LTL, intermodal and other modes. Ocean carriers report container events with the [315 Status Details (Ocean)](/guides/edi/315-status-details-ocean) instead. **Who receives it?** Whoever the carrier has agreed to report to: the shipper, the consignee, the party paying the freight, or a 3PL or visibility provider acting for one of them. **When is it sent?** At each status event the trading partners agreed on: pickup, terminal arrivals and departures, out for delivery, delivery, appointments, and exceptions such as delays. **Why does it matter?** The 214 turns a booked load into a tracked shipment. It feeds delivery confirmation, on-time measurement, and the delay alerts that let you warn a customer before they call you. ## Status Codes: Where the Meaning Lives Each status event is an `AT7` segment. `AT701` is the status, `AT702` the reason, and `AT705` and `AT706` the date and time. When the event is an appointment rather than a movement, `AT703` and `AT704` replace `AT701` and `AT702`: the standard allows only one of `AT701` or `AT703` in the same segment. `MS1` right after the `AT7` gives the city where it happened. ## EDI 214 Status Codes (AT7-01): Common Codes `AT701` holds X12 data element 1650, Shipment Status Code. The full list is long; the codes below are the ones motor carrier guides commonly include. The middle column is the X12 name; the right column notes how carriers use it, including where carrier guides gloss a code differently. | Code | X12 name (element 1650) | Notes | | ---- | ----------------------- | ----- | | `A3` | Shipment Returned to Shipper | Final status for a returned shipment | | `A7` | Refused by Consignee | Pair with the `AT702` reason | | `AF` | Carrier Departed Pick-up Location with Shipment | The actual pickup; the freight is in the carrier's hands | | `AG` | Estimated Delivery | `AT705` is the estimated date. YRC's guide says it calculates this once at pickup and does not revise it | | `AH` | Attempted Delivery | Driver arrived but could not deliver | | `AI` | Shipment has been Reconsigned | Consignee changed in flight | | `AJ` | Tendered for Delivery | Offered to the consignee | | `AM` | Loaded on Truck | | | `AN` | Diverted to Air Carrier | YRC's guide glosses it as "delivered to air freight carrier" | | `AV` | Available for Delivery | At the destination terminal | | `B6` | Estimated to Arrive at Carrier Terminal | | | `CA` | Shipment Cancelled | | | `D1` | Completed Unloading at Delivery Location | Some carriers document it simply as "delivered" (see below) | | `J1` | Delivered to Connecting Line | Handed to an interline partner, not the consignee | | `K1` | Arrived at Customs | YRC's guide glosses it as "processing through customs" | | `L1` | Loading | YRC uses it for "loading for delivery" at the destination terminal | | `OO` | Paperwork Received - Did not Receive Shipment or Equipment | Freight and paperwork separated | | `P1` | Departed Terminal Location | | | `R1` | Received from Prior Carrier | Replaces `AF` when the shipment comes from an interline partner | | `S1` | Trailer Spotted at Consignee's Location | Drop trailer, not yet unloaded | | `SD` | Shipment Delayed | Pair with the `AT702` reason | | `X1` | Arrived at Delivery Location | | | `X3` | Arrived at Pick-up Location | | | `X4` | Arrived at Terminal Location | YRC's guide says its time is the last movement at the terminal, not the trailer's arrival | | `X6` | En Route to Delivery Location | Out for delivery | **Carriers gloss the same code differently, and this is the trap.** [YRC Freight's 214 guide](https://my.yrc.com/national/tpp/214_impgdV4010.pdf) describes `D1` as "delivered," while the [TForce Freight specification](https://www.tforcefreight.com/downloads/TFF-214-4010.pdf) uses its X12 name, "completed unloading at delivery location." It is the same code. If you build delivery confirmation across several carriers, read each carrier's guide rather than assuming one shared meaning, and keep a per-carrier map. `J1` is the code most often misread as a delivery. It means the freight went to a connecting line, so the shipment is still moving and another carrier now has it. ## EDI 214 Reason Codes (AT7-02) `AT702` holds element 1651, Shipment Status or Appointment Reason Code. It explains why a status happened, and it is what turns "delayed" into something you can act on. | Code | X12 name | | ---- | -------- | | `NS` | Normal Status | | `AG` | Consignee Related | | `AJ` | Other Carrier Related | | `B5` | Held for Consignee | | `B8` | Improper Unloading Facility or Equipment | | `BE` | Road Conditions | | `BG` | Other | | `BS` | Refused by Customer | | `CA` | Customs (Import or Export) | | `HB` | Held Pending Appointment | | `RC` | Reconsigned | `NS` on a routine milestone means nothing is wrong. Alerting on every `AT702` value produces noise; alert on the exception codes and ignore `NS`. ## Appointment Codes (AT7-03) `AT703` holds element 1652, Shipment Appointment Status Code, and `AT704` its reason (element 1651 again, usually `NA` normal appointment). When `AT703` is present, `AT705` and `AT706` are the appointment's date and time, not the time something happened. | Code | X12 name | | ---- | -------- | | `AA` | Pick-up Appointment Date and/or Time | | `AB` | Delivery Appointment Date and/or Time | | `AC` | Estimated Delivery Appointment Date and/or Time | | `X9` | Delivery Appointment Secured on This Date and/or Time | Carrier glosses differ here too. YRC's guide uses `X9` for the moment it contacted the consignee about an appointment ("delivery appointment requested") and sends the appointment itself with `AB`. ## Interactive Example: 214 LTL Shipment Milestones This continues the LTL shipment from our [211 bill of lading guide](/guides/edi/211-motor-carrier-bill-of-lading): Lakeshore Home Goods' 316 cartons moving with carrier `QLTX` to the retailer's DC 6021. The retailer pays the freight, so it receives the carrier's 214s. `B10` carries the carrier's PRO number, the shipper's BOL number and the SCAC. The heading `L11`s add the retailer's load number and POs, and the `N1` loops name the shipper and consignee. Then one `LX` loop per event: pickup in Grand Rapids (`AF`), arrival at the Grove City terminal (`X4`), available for delivery (`AV`), and completed unloading at the DC (`D1`), each with an `MS1` city and an `MS2` trailer number. Many carriers send one 214 per event as it happens; this example puts four events in one message so you can see the timeline. The sample uses X12 004010. All names, IDs and SCACs are fictional. Use the **Plain English** tab for a readable summary, or click any segment to break it down element by element. The delivery trailer `530118` in the last two events is the same trailer the carrier listed on its [212 delivery trailer manifest](/guides/edi/212-motor-carrier-delivery-trailer-manifest) to the DC. ## Interactive Example: 214 Delay and New Delivery Appointment The second example follows the three-stop truckload from our [204 load tender guide](/guides/edi/204-motor-carrier-load-tender). On the way to the last stop the carrier hits a road closure. It sends one `LX` loop with two `AT7` segments: `SD` (shipment delayed) with reason `BE` (road conditions) and the place in `MS1`, then an appointment `AT7` with `AT703` = `AB` and `AT704` = `NA` giving the rebooked delivery appointment. An `L11` with qualifier `QN` says which stop is affected, and `K1` explains in words. ## AT7 Segment Reference ``` AT7*X6*NS***20260615*1430*LT~ ``` | Element | Ref | Name | Req | Meaning | | ------- | ---- | ------------------------------------------ | --- | ------------------------------------------------ | | AT701 | 1650 | Shipment Status Code | C | The milestone, for example `X6` en route | | AT702 | 1651 | Shipment Status or Appointment Reason Code | C | Why, for example `NS` normal status. Required with `AT701` | | AT703 | 1652 | Shipment Appointment Status Code | C | `AB` delivery appointment, `AA` pickup appointment. Not allowed with `AT701` | | AT704 | 1651 | Shipment Status or Appointment Reason Code | C | Usually `NA` normal appointment. Required with `AT703` | | AT705 | 373 | Date | C | The status date, or the appointment date when `AT703` is used | | AT706 | 337 | Time | C | The status or appointment time, HHMM | | AT707 | 623 | Time Code | O | Time zone: `LT` local time, or a zone such as `ET`, `CT`, `PT` | `AT707` says which clock the time is on. Many carriers send `LT`, which means local time at the place in `MS1`, not UTC and not your time zone. Normalizing times without reading `AT707` and the `MS1` location produces delivery times that drift by hours. ## 214 Structure at a Glance The table follows X12 004010. | Area | Segment | Name | Usage | Notes | |---|---|---|---|---| | Heading | **ST** | Transaction Set Header | Mandatory | `ST01` = `214` | | Heading | **B10** | Beginning Segment for Transportation Carrier Shipment Status Message | Mandatory | PRO, shipment ID, SCAC | | Heading | **L11** | Business Instructions and Reference Number | Optional | Load, PO, BOL and other references | | Heading | **MAN** | Marks and Numbers | Optional | Label or container marks | | Heading | **K1** | Remarks | Optional, up to 10 | Free text | | Heading loop 0100 | **N1 / N2 / N3 / N4 / G61 / G62 / L11** | Parties | Optional, up to 10 | Shipper, consignee, bill-to | | Heading | **MS3** | Interline Information | Optional | Interline carriers | | Detail loop 0200 | **LX** | Assigned Number | Optional, repeats | Groups the status detail | | Loop 0205 | **AT7 / MS1 / MS2** | Status, location, equipment | Optional, up to 10 per LX | One status or appointment each | | LX loop | **L11 / MAN / Q7 / K1 / AT5 / AT8** | References, marks, exceptions, remarks, handling, weight | Optional | Detail for the event | | LX loop | **CD3** loop | Carton (Package) Detail | Optional | Package-level status, mostly parcel | | LX loop | **N1** loop, **PRF** loop, **SPO** loop | Parties, purchase orders, PO detail | Optional | Order-level detail | | Summary | **SE** | Transaction Set Trailer | Mandatory | Segment count and control number | ## Key Segments Explained ### B10: Beginning Segment for Transportation Carrier Shipment Status Message ``` B10*QLTX20481557*LHG-BOL-77120*QLTX~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **B1001** | Reference Identification | `QLTX20481557` | The carrier's PRO (invoice) number for the shipment | | **B1002** | Shipment Identification Number | `LHG-BOL-77120` | The shipper's number: the BOL number, or the shipment number from the 204 | | **B1003** | Standard Carrier Alpha Code | `QLTX` | Required in the 214. The reporting carrier | | **B1004** | Inquiry Request Number | | An inquiry number; the partner's guide says when it is used, for example on a 214 that answers a [213 status inquiry](/guides/edi/213-motor-carrier-shipment-status-inquiry) | | **B1005 / B1006** | Reference Identification Qualifier / Reference Identification | | Another reference; at least one of `B1001` or `B1006` must be present | | **B1007** | Yes/No Condition or Response Code | | `Y` if the carrier received the reference numbers by EDI, `N` if it keyed them from a paper document | Match incoming 214s on both numbers. Shippers think in BOL numbers, carriers in PROs, and either can be missing on a given message. ### LX, AT7, MS1 and MS2: The Event ``` LX*4~ AT7*D1*NS***20261112*0940*LT~ MS1*COLUMBUS*OH*US~ MS2*QLTX*530118*TL~ ``` `LX01` numbers the group. Inside it, each `AT7` loop is one status or appointment, followed by `MS1` (where: city, state, country, or latitude and longitude) and `MS2` (what: the equipment owner's SCAC in `MS201`, the trailer number in `MS202`, and the equipment type in `MS203`). An `LX` can hold up to ten `AT7` loops, so read every `AT7`, not just the first. ### L11: References ``` L11*LD6021-88412*LO~ L11*4500781234*PO~ ``` `L11` ties the status to your records: `BM` bill of lading, `PO` purchase order, `LO` load planning number, `QN` stop sequence number, and so on. Ask your carriers to send the reference your own system keys on. ### AT8: Weight and Handling Units ``` AT8*G*L*5710*316~ ``` `AT801` weight qualifier, `AT802` unit, `AT803` weight, and `AT804` and `AT805` the loose and unitized handling units. A delivered event with fewer handling units than the bill of lading is a short shipment to investigate before the receiving window closes. ## 214 vs 213, 212, 856 and 315 | Document | Sent by | Sent to | Purpose | |---|---|---|---| | **214 Shipment Status** | Carrier | Shipper, consignee or payer | Status events for a shipment | | **[213 Shipment Status Inquiry](/guides/edi/213-motor-carrier-shipment-status-inquiry)** | Shipper or consignee | Motor carrier | Asks the carrier for a shipment's status | | **[212 Delivery Trailer Manifest](/guides/edi/212-motor-carrier-delivery-trailer-manifest)** | LTL carrier | Consignee | Lists every shipment on a trailer about to be delivered | | **[856 Ship Notice/ASN](/guides/edi/856-ship-notice)** | Supplier | Buyer | What is in the shipment and how it is packed | | **[315 Status Details (Ocean)](/guides/edi/315-status-details-ocean)** | Ocean carrier | Shipper or consignee | Container and vessel events | The 214 tracks the truck; the 856 describes the contents. Together they give end-to-end visibility from the dock to delivery. ## Where the 214 Sits in the Freight Flow 1. **[204 Motor Carrier Load Tender](/guides/edi/204-motor-carrier-load-tender)**: the shipper offers the load 2. **[990 Response to a Load Tender](/guides/edi/990-response-to-load-tender)**: the carrier accepts 3. **[211 Bill of Lading](/guides/edi/211-motor-carrier-bill-of-lading)** or a [215 pick-up manifest](/guides/edi/215-motor-carrier-pickup-manifest): the freight is documented at pickup 4. **214 Shipment Status Message**: the carrier reports each milestone as the load moves 5. **[210 Motor Carrier Freight Invoice](/guides/edi/210-motor-carrier-freight-invoice)**: the carrier bills the completed move Use the 214 delivery event to check the 210: the delivery date on the invoice should match it. ## Common 214 Errors and How to Prevent Them | Error | What happens | Prevention | |---|---|---| | **`J1` treated as delivered** | False delivery confirmation on interline freight | Map `J1` to "handed to connecting carrier" and keep tracking | | **`D1` mapped globally** | Delivery confirmed at the wrong moment for some carriers | Keep a per-carrier code map from each carrier's guide | | **Times read as UTC or as your own zone** | Delivery times off by hours | Read `AT707` and the `MS1` location before converting | | **Appointment read as an event** | An appointment date reported as an actual delivery | Treat an `AT7` with `AT703` as an appointment, not a status | | **Only the first `AT7` in an `LX` read** | Missed events | Loop through every `AT7` in the `LX` | | **No match to a shipment** | Status sits unassigned | Match on both `B1001` (PRO) and `B1002` (BOL or shipment number), plus `L11` | | **Alerting on every reason code** | Alert fatigue; real delays ignored | Ignore `NS` and alert on exception statuses and reasons | | **Ocean events expected on a 214** | Missing container milestones | Ocean carriers report on the 315 | ## 214 Implementation Checklist - Confirm each carrier's 214 guide, X12 release (usually 004010) and `GS01` = `QM` - Get the list of status, reason and appointment codes each carrier sends, and how it defines them - Agree which references come back in `B10` and `L11` - Confirm whether the carrier sends one event per 214 or several - Confirm time zone handling in `AT707` - Map interline codes (`J1`, `R1`) and interline carriers in `MS3` - Define which statuses close a shipment and which raise an alert - Test pickup, terminal, out for delivery, delivered, delayed and appointment messages Our [EDI document types reference](/edi-document-types) shows how the transportation sets sit next to the order, ship notice and invoice documents, and the [SCAC code glossary entry](/glossary/scac-code) explains how carriers are identified. ## Where OrderSync Fits A 214 tells you where a shipment is. Whether it is the right shipment, going to the right place with the right POs, was decided earlier, when the purchase order was entered. Orders that arrive as PDFs, emails or spreadsheets and get keyed by hand carry their mistakes all the way to the delivery. OrderSync reads inbound orders in any format, from EDI 850s and 875s to PDFs, emails and spreadsheets, matches customers, items and units to your catalog, and outputs clean ERP data or valid X12, so what ships starts from accurate orders. Paste any 214 into the [free EDI inspector](/edi-inspector) to see the loops parsed with a plain-English timeline, or [book a 15-minute walkthrough](/book) to see your own orders processed. ## Frequently Asked Questions
### What is an EDI 214 used for? The 214 is used by a carrier to report a shipment's status to a shipper, consignee or freight payer: pickup, terminal events, out for delivery, delivery, delays and appointments, each with a date, time and location. It is the EDI feed behind shipment tracking and delivery confirmation. ### What are EDI 214 status codes? Status codes live in AT701 (X12 element 1650) and carry the milestone: AF for the actual pickup, X3 arrived at pickup, X4 arrived at terminal, X6 en route to delivery, X1 arrived at delivery, D1 completed unloading, AV available for delivery and SD shipment delayed. Each pairs with an AT702 reason code. Carriers implement a subset and some gloss codes differently, so check each carrier's guide. ### What does J1 mean on an EDI 214? J1 means the shipment was delivered to a connecting line, an interline carrier. It is not a delivery to the consignee. The freight is still moving and another carrier now has it. AT705 and AT706 give the time of the handoff, and MS1 the place. ### Does D1 mean delivered on an EDI 214? The X12 name for D1 is completed unloading at delivery location. Some carriers, including YRC Freight in its 214 guide, describe D1 simply as delivered. Others use it strictly for the end of unloading. If you normalize status across carriers, map D1 per carrier. ### How do I read an EDI 214 file? Start with B10: the carrier's PRO in B1001, your BOL or shipment number in B1002, and the SCAC in B1003. Each LX loop holds one or more AT7 segments. AT701 is the milestone, AT702 the reason, AT705 and AT706 the date and time, and AT707 the time zone. MS1 gives the city and MS2 the trailer. You can paste a raw 214 into the EDI inspector to see the loops laid out. ### What is the difference between AT701 and AT703? AT701 reports something that happened, such as a pickup or delivery. AT703 reports an appointment, such as a delivery appointment (AB). The standard allows only one of the two in an AT7 segment, and when AT703 is used, AT705 and AT706 are the appointment date and time. ### What is the difference between an EDI 214 and an EDI 856? The 214 reports the carrier's movement of the freight. The 856 ASN tells the buyer what is in the shipment and how it is packed. The 214 is about transportation status; the 856 is about contents. ### How often is an EDI 214 sent? At each status event the carrier and its trading partner agreed on, so one shipment usually produces several 214s: pickup, terminal events, out for delivery and delivery, plus exceptions and appointments. Some carriers batch several events into one message.
--- # EDI 215 Motor Carrier Pick-up Manifest Guide Source: https://ordersync.io/guides/edi/215-motor-carrier-pickup-manifest > EDI 215 Motor Carrier Pick-up Manifest explained: B2A, BLR, SMD, MS6 and CD3 segments, a live three-shipment example, and how it differs from the 204, 211 and 212. The EDI 215 Motor Carrier Pick-up Manifest is the X12 transaction a shipper sends a motor carrier listing every shipment handed over at a pickup: each shipment's service level, payment terms, bill of lading, consignee, package count and weight, down to individual packages. It is a manifest of tendered freight, not a load tender or a legal bill of lading. **The EDI 215 is the shipper's list of everything going on the truck at one pickup.** When a carrier's driver collects ten or twenty shipments from your dock in one stop, someone has to tell the carrier what each one is, where it is going and who pays. The 215 does that in one document, shipment by shipment and package by package, so the carrier can enter the freight into its system without keying paper bills of lading. This guide covers what the 215 carries and what it is not for, every segment you will map, a live three-shipment example, how it compares to the 204, 211 and 212, and the mistakes that cause billing and delivery problems. ## What Is an EDI 215? **An EDI 215 is the Motor Carrier Pick-up Manifest transaction set defined by [ASC X12](https://x12.org/products/transaction-sets), which allows shippers, or other parties, to provide a motor carrier with a manifest of all of the shipments tendered to that carrier.** It travels in functional group `UP` (the `GS01` value). The standard is unusually explicit about what the 215 is not. Its purpose statement says it is not to be used to give the carrier a load tender, a legal bill of lading, a pick-up notification or appointment scheduling. Those jobs belong to other documents: the [204 load tender](/guides/edi/204-motor-carrier-load-tender) and the [211 bill of lading](/guides/edi/211-motor-carrier-bill-of-lading) among them. Authoritative references for 215 work: - The [X12 transaction set catalog](https://x12.org/products/transaction-sets) defines the 215 and its loops, and [Stedi's X12 004010 reference for the 215](https://www.stedi.com/edi/x12-004010/215) shows every segment and element by release - The [National Motor Freight Traffic Association (NMFTA)](https://nmfta.org/what-is-scac-and-how-do-carriers-get-it) issues the SCAC in the `BLR` segment that names the carrier receiving the manifest - The carrier's own 215 guide sets which loops, service levels and references it accepts. Support for the 215 varies widely between carriers **Who sends it?** The shipper, or a 3PL or shipping system acting for it. **Who receives it?** The motor carrier collecting the freight. **When is it sent?** At or around the pickup, once the shipper knows exactly which shipments are going on the truck. **Why does it matter?** A carrier bills, routes and tracks each shipment from what it records at pickup. If that record is keyed from paper, errors in consignee, terms or weight show up later as misdeliveries, wrong bill-to parties and rebills. A 215 hands over the shipper's own data instead. ## What the 215 Carries A 215 has three levels, and each one maps to a real thing on your dock. 1. **The pickup (heading).** Purpose code, the carrier's SCAC, the manifest number, the pickup date and the shipper's location. One per 215. 2. **The shipment (loop 0200, starting with `SMD`).** Service level, payment terms, bill of lading and PRO, commodity, package count and total weight, and the consignee and any other parties. One loop per bill of lading. 3. **The package (loop 0240, starting with `CD3`).** Each carton or pallet, with its weight and identifying marks. At least one per shipment. A fourth level (loop 0260, starting with `AT6`) carries item and customs detail. The standard reserves it for international shipments, so domestic manifests leave it out. ## Interactive Example: 215 for a Three-Shipment Pickup Lakeshore Home Goods hands three LTL shipments for small retailers to carrier `QLTX` at one afternoon pickup: one prepaid, one collect and one billed to a third party. The heading names the carrier in `BLR`, the manifest number in `L11*MA`, the pickup date and time in `G62`, and the shipper with its carrier account number. Each `SMD` loop is one shipment: service level and payment terms in `SMD`, bill of lading and PRO in `L11`, a commodity line in `L5`, packages and weight in `MS6`, the consignee in `N1*CN`, then one `CD3` and `MAN` pair per package. The third shipment is billed to a third party (`N1*BT`). All names, IDs and SCACs are fictional. Use the **Plain English** tab for a readable summary, or click any segment to break it down element by element. ## 215 Structure at a Glance The table follows X12 004010. | Area | Segment | Name | Usage | Notes | |---|---|---|---|---| | Heading | **ST** | Transaction Set Header | Mandatory | `ST01` = `215` | | Heading | **B2A** | Set Purpose | Mandatory | Original, change or cancellation | | Heading | **BLR** | Transportation Carrier Identification | Optional | The carrier's SCAC | | Heading | **C3** | Currency | Optional | | | Heading | **L11** | Business Instructions and Reference Number | Mandatory, up to 10 | Manifest number and other references | | Heading | **G62** | Date/Time | Optional, up to 6 | Pickup date and time | | Loop 0100 | **N1 / N2 / N3 / N4** | Name and address | Mandatory, 1 | The shipper or pickup location | | Loop 0100 | **L11 / PER / X1 / X2** | References, contact, export and import licenses | `L11` mandatory | Account number, shipping contact | | Loop 0200 | **SMD** | Consolidated Shipment Manifest Data | Mandatory, repeats | Starts each shipment | | Loop 0200 | **L11 / L5 / MS6 / MS5 / MS4 / ACS / NTE** | References, description, quantity and weight, rates and declared value, dimensions, ancillary charges, notes | Optional | | | Loop 0220 | **N1 / N2 / N3 / N4 / L11 / G61 / X1 / X2 / R4** | Parties for the shipment | Mandatory, up to 10 | Consignee, bill-to and others | | Loop 0240 | **CD3** | Carton (Package) Detail | Mandatory, repeats | One per package | | Loop 0240 | **MAN / MS4 / L11 / L5 / ACS / NTE** | Marks, dimensions, references, description, charges, notes | Optional | | | Loop 0260 | **AT6 / MS5 / IT1 / CGS / L11 / PID / TXI / MS4 / L5** | International manifest and item detail | Optional | International shipments only | | Loop 0280 | **SLN / L11 / PID / TC2 / TXI / NTE** | Subline detail | Optional | Within loop 0260 | | Summary | **SE** | Transaction Set Trailer | Mandatory | Segment count and control number | ## Key Segments Explained ### B2A, BLR and L11: The Pickup ``` B2A*00~ BLR*QLTX~ L11*PM-20261113-01*MA~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **B2A01** | Transaction Set Purpose Code | `00` | `00` original. The carrier's guide lists the change and cancellation codes it accepts | | **BLR01** | Standard Carrier Alpha Code | `QLTX` | The carrier collecting the freight | | **L1101** | Reference Identification | `PM-20261113-01` | The shipper's manifest number | | **L1102** | Reference Identification Qualifier | `MA` | `MA` ship notice/manifest number | The heading `L11` is mandatory. Use a manifest number that is unique per pickup, so a correction can point back to the right one. ### G62: Pickup Date and Time ``` G62*69*20261113*U*1400~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **G6201** | Date Qualifier | `69` | `69` scheduled pick-up date | | **G6202** | Date | `20261113` | Pickup date | | **G6203** | Time Qualifier | `U` | `U` scheduled pick-up time | | **G6204** | Time | `1400` | Pickup time | The carrier's guide may ask for a different qualifier, for example for the date the freight was actually tendered. The 215 records the pickup; it does not request one. Booking the pickup itself happens by another channel. ### N1 Loop (Heading): Shipper ``` N1*SH*LAKESHORE HOME GOODS~ N3*4100 EASTERN AVE SE~ N4*GRAND RAPIDS*MI*49508*US~ L11*LHG4471*11~ PER*IC*SHIPPING DESK*TE*6165550140~ ``` The heading loop names the pickup location (`N101` = `SH`, shipper). The standard makes an `L11` mandatory in this loop. The carrier account number (qualifier `11`) is a natural fit, because it ties every shipment on the manifest to your rates and billing. `PER` gives the dock contact. ### SMD: Consolidated Shipment Manifest Data ``` SMD*G2*PP~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **SMD01** | Service Level Code | `G2` | `G2` standard service, `ES` expedited service. The carrier's guide lists the codes it supports | | **SMD02** | Shipment Method of Payment | `PP` | `PP` prepaid, `CC` collect, `TP` third party pay | | **SMD03** | Pick-up or Delivery Code | | Optional; type of pickup or delivery | `SMD` opens each shipment, and its two codes drive the money. The payment code decides who the carrier bills. If it says `TP`, the shipment's party loop needs a bill-to (`N1*BT`), as on the third shipment in the example. A shipment sent as prepaid that should have been collect is a [210 freight invoice](/guides/edi/210-motor-carrier-freight-invoice) to the wrong party. ### L11 and L5: Shipment References and Commodity ``` L11*LHG-BOL-77301*BM~ L11*QLTX20482010*CN~ L5*1*HOUSEWARES~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **L1101 / L1102** | Reference and qualifier | `LHG-BOL-77301` / `BM` | `BM` bill of lading number, `CN` carrier's PRO number, `PO` purchase order | | **L501** | Lading Line Item Number | `1` | Line number of the description | | **L502** | Lading Description | `HOUSEWARES` | Commodity description | | **L503 / L504** | Commodity Code and Qualifier | | Optional, for example an NMFC item | The bill of lading number is the reference that connects this manifest to your [856 ASN](/guides/edi/856-ship-notice) and to the consignee's receiving. Shippers that use pre-assigned PRO labels from the carrier can send the PRO here too, which saves the carrier assigning one at the terminal. ### MS6: Shipment Quantity and Weight ``` MS6*2*G*640~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **MS601** | Quantity | `2` | Number of cartons or packages in the shipment | | **MS602** | Weight Qualifier | `G` | `G` gross weight | | **MS603** | Weight | `640` | Weight of the shipment | `MS6` has no weight unit element, so the unit is whatever you and the carrier agreed, normally pounds in the US. `MS601` should equal the number of `CD3` loops that follow, and `MS603` should equal the sum of their weights. Carriers reweigh freight, and a declared weight that does not match the packages invites a correction on the invoice. ### N1 Loop (Shipment): Consignee and Bill-To ``` N1*CN*ORCHARD STREET MERCANTILE~ N3*215 ORCHARD ST~ N4*MADISON*WI*53703*US~ ``` Each shipment needs at least one party loop and can have up to ten. `N101` = `CN` is the consignee. Add `BT` (bill to) for third-party billing, and any other party the carrier's guide asks for. A full street address and postal code here is what lets the carrier route the shipment to the right terminal without a phone call. ### CD3 and MAN: Package Detail ``` CD3*G*320~ MAN*CP*QLTX20482010-1~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **CD301** | Weight Qualifier | `G` | `G` gross weight | | **CD302** | Weight | `320` | Weight of this package | | **CD303** to **CD314** | Zone, service, charges, payment method, country | | Optional; mainly used by parcel-style carriers | | **MAN01** | Marks and Numbers Qualifier | `CP` | `CP` carrier-assigned package ID, `GM` SSCC-18 with application identifier | | **MAN02** | Marks and Numbers | `QLTX20482010-1` | The label number on the package | The `CD3` loop is mandatory and repeats once per package, which is why the 215 suits carriers that scan every handling unit. Put the same number in `MAN02` that is on the label, so a scan at the terminal matches a line on your manifest. If your packages already carry [SSCC-18 labels](/guides/edi/856-ship-notice) for the retailer's ASN, the guide may ask for those with qualifier `GM`. ## 215 vs 204 vs 211 vs 212 | Document | Sent by | Sent to | Scope | Purpose | |---|---|---|---|---| | **[204 Motor Carrier Load Tender](/guides/edi/204-motor-carrier-load-tender)** | Shipper | Carrier | One load, before pickup | Offers the load; carrier accepts or declines with a [990](/guides/edi/990-response-to-load-tender) | | **[211 Motor Carrier Bill of Lading](/guides/edi/211-motor-carrier-bill-of-lading)** | Shipper | Carrier | One shipment | The electronic bill of lading | | **215 Pick-up Manifest** | Shipper | Carrier | All shipments at one pickup | Lists what was handed over, shipment by shipment and package by package | | **[212 Delivery Trailer Manifest](/guides/edi/212-motor-carrier-delivery-trailer-manifest)** | Carrier | Consignee | All shipments on one delivery trailer | Lists what is about to be delivered | The 204 asks a carrier to take a load. The 211 is the legal document for one shipment. The 215 is a list of everything handed over at once, and the standard says it does not replace either of them. The 212 mirrors the 215 at the other end of the move: the carrier's list of shipments, often from many shippers, on a trailer going to one consignee. After pickup, the carrier reports progress on each shipment with [214 status messages](/guides/edi/214-transportation-carrier-shipment-status). ## Common 215 Errors and How to Prevent Them | Error | What happens | Prevention | |---|---|---| | **Wrong payment code in `SMD02`** | Freight billed to the wrong party; rebill and dispute | Take terms from the order's freight terms, not a default; see our [FOB shipping glossary entry](/glossary/fob-shipping) | | **Third-party shipment with no bill-to** | Carrier bills the shipper or holds the freight bill | Require `N1*BT` whenever `SMD02` = `TP` | | **`MS6` count does not match the `CD3` loops** | Carrier reports a shortage at pickup or delivery | Build `MS6` from the package list, never key it | | **Weight on `MS6` differs from the package weights** | Reweigh and invoice correction | Sum `CD302` values into `MS603` | | **Package IDs not on the labels** | Scans do not match the manifest | Send the exact label value in `MAN02` | | **Shipment added after the manifest was sent** | Freight on the truck with no record | Send a corrected manifest under the carrier's change rules before the driver leaves | | **Using the 215 to request a pickup** | No truck arrives | Book pickups through the carrier's own channel; the 215 lists tendered freight only | | **Treating the 215 as the bill of lading** | No signed BOL at pickup | Keep producing the BOL (paper, electronic or 211) that the carrier requires | ## 215 Implementation Checklist - Confirm the carrier accepts the 215 and which X12 release it uses - Get its service level codes for `SMD01` and its rules for `SMD02` - Confirm the heading `L11` qualifier for the manifest number and the account number in loop 0100 - Confirm which party codes it needs per shipment (consignee, bill-to, others) - Confirm package identification in `MAN` (carrier-assigned IDs, SSCC-18 or another scheme) - Confirm how to send a correction or cancellation, and the cutoff time - Confirm what you still owe the driver on paper (BOL, hazmat papers) - Test a prepaid, a collect and a third-party shipment, single and multi-package Our [EDI document types reference](/edi-document-types) shows how the transportation sets sit next to order, ship notice and invoice documents, and the [bill of lading glossary entry](/glossary/bill-of-lading) covers the BOL's legal roles. ## Where OrderSync Fits Every line of a pick-up manifest comes from an order: the consignee, the freight terms, the purchase order reference and the quantity. If the order was keyed wrong, the manifest is wrong, and the carrier bills and delivers on that data. OrderSync reads inbound orders in any format, from EDI 850s and 875s to PDFs, emails and spreadsheets, matches customers, items and units to your catalog, and outputs clean ERP data or valid X12. Your shipping system then starts from accurate consignees, terms and quantities. Paste any 215 into the [free EDI inspector](/edi-inspector) to see it parsed segment by segment with a plain-English summary, or [book a 15-minute walkthrough](/book) to see your own orders processed. ## Frequently Asked Questions
### What is an EDI 215? The EDI 215 Motor Carrier Pick-up Manifest is an X12 transaction a shipper sends a motor carrier listing all the shipments handed over at a pickup. For each shipment it gives the service level, payment terms, bill of lading, consignee, package count and weight, with a detail line for every package. ### What is the difference between EDI 215 and EDI 211? The 211 is the electronic bill of lading for one shipment, the carrier's legal transport document. The 215 is a manifest of every shipment tendered at one pickup. The X12 standard says the 215 is not to be used as a legal bill of lading, so a carrier that takes 215s still needs the BOL. ### What is the difference between EDI 215 and EDI 204? A 204 offers a load to a carrier before pickup, and the carrier accepts or declines it with a 990. A 215 lists freight that has already been tendered to the carrier. The standard says the 215 is not to be used as a load tender. ### What is the SMD segment in an EDI 215? SMD starts each shipment in a 215. SMD01 is the service level code, SMD02 the shipment method of payment, such as PP prepaid, CC collect or TP third party pay, and SMD03 an optional pick-up or delivery code. ### What is the CD3 segment in an EDI 215? CD3 is the carton or package detail. One CD3 loop is required for each package in a shipment, with the package's weight and optional zone, service and charge data. A MAN segment in the same loop usually carries the package's label number. ### How is the EDI 215 different from the EDI 212? They are mirror images. The shipper sends the 215 to the carrier listing what it handed over at pickup. The carrier sends the 212 to a consignee listing every shipment on a trailer it is about to deliver, often from several shippers. ### Is the EDI 215 used for international shipments? It can be. The 215 has an optional loop that starts with the AT6 international manifest segment and carries item, value and tax detail, and the standard restricts that loop to international shipments. Domestic manifests leave it out.
--- # EDI 270 Eligibility Inquiry: HIPAA 5010 Guide Source: https://ordersync.io/guides/edi/270-eligibility-benefit-inquiry > EDI 270 eligibility inquiry explained: the 005010X279A1 guide, HL levels, TRN, DMG and EQ segments, a live example, and the errors behind 271 rejections. The EDI 270 is the X12 Eligibility, Coverage or Benefit Inquiry. A provider, or a clearinghouse acting for one, sends it to a health plan to ask whether a patient has active coverage and what benefits apply. Under HIPAA it follows the 005010X279A1 implementation guide, and the health plan answers with a 271. **The EDI 270 is the question a front desk asks before a patient is seen: "Is this person covered, and for what?"** Practice management systems send it at scheduling or check-in, usually in real time through a clearinghouse, and the health plan replies within the same session with a [271 eligibility response](/guides/edi/271-eligibility-benefit-response). A clean 270 gets a useful 271 back. A 270 with a mistyped member ID or the wrong birth date gets an AAA rejection, and someone ends up on the phone. This guide covers what the 270 carries, where it sits in the HIPAA transaction set, every segment you will map, a live example built from fictional data, and the errors behind most eligibility rejections. It is written for billing teams, clearinghouse users and developers. It describes the X12 structure only; it is not legal or compliance advice. ## What Is an EDI 270? **An EDI 270 is the Eligibility, Coverage or Benefit Inquiry transaction set defined by [ASC X12](https://x12.org/examples/005010x279), used by a health care provider to ask a health plan about a patient's coverage and benefits.** In US healthcare it is one of the HIPAA standard transactions. The federal rule at [45 CFR 162.1202](https://www.ecfr.gov/current/title-45/subtitle-A/subchapter-C/part-162/subpart-L/section-162.1202) adopts the X12 270/271 Technical Report Type 3 (TR3), report `005010X279`, as the standard for the eligibility for a health plan transaction (pharmacy eligibility uses an NCPDP standard instead). Authoritative references for 270 work: - The [X12 005010X279 example set](https://x12.org/examples/005010x279) shows real 270 and 271 transmissions with the TR3's own explanations. The full TR3 is licensed through [X12's technical reports](https://x12.org/products/technical-reports) - [CMS's 5010 errata schedule](https://www.cms.gov/Regulations-and-Guidance/Administrative-Simplification/Versions5010andD0/Downloads/Errata_Req_and_Testing.pdf) lists the base version as `005010X279` and the errata version as `005010X279A1`, and says HIPAA compliance requires the errata version where one exists - [CMS's operating rules page](https://www.cms.gov/priorities/key-initiatives/burden-reduction/administrative-simplification/operating-rules) explains that HHS adopted operating rules for eligibility, authored by CAQH CORE, with a compliance date of January 1, 2013. The adopted rules are listed in [45 CFR 162.920](https://www.ecfr.gov/current/title-45/subtitle-A/subchapter-C/part-162/subpart-I/section-162.920) - Each health plan publishes a companion guide that narrows the TR3: which search options it supports, which service type codes it answers, and how it handles real-time versus batch **Who sends it?** The provider (a practice, hospital, lab or other facility), or a clearinghouse or vendor on the provider's behalf. **Who receives it?** The health plan, or the plan's eligibility vendor. The TR3 calls it the information source. **When is it sent?** Before a visit, at check-in, before a procedure, and in batches the night before a clinic day. Most traffic is real time: one 270 out, one 271 back. **Why does it matter?** Coverage and cost-sharing change. Plans terminate, deductibles reset each plan year, and a patient may have switched employers. A 270 before the visit is the cheapest point to catch that, well ahead of a denied [837 claim](/guides/edi/837-health-care-claim). ## 005010X279A1: What the Guide Identifier Means You will see `005010X279A1` in two places in every 270: `GS08` in the functional group header and `ST03` in the transaction set header. | Part | Value | Meaning | |---|---|---| | Version and release | `005010` | X12 version 5, release 1 | | TR3 identifier | `X279` | The 270/271 Health Care Eligibility Benefit Inquiry and Response implementation guide | | Errata suffix | `A1` | The first errata to that guide, which CMS lists as the version required for compliance | The functional group code in `GS01` is `HS` for a 270 group. The 271 that comes back uses `HB`. Your translator uses `GS08` to pick the right map, so a 270 sent with `005010X279` (no `A1`) can be rejected by a payer that only accepts the errata version. ## How an Eligibility Check Works 1. **Patient is scheduled or checks in.** The practice management system has the patient's name, birth date and the member ID from their card. 2. **System builds a 270.** It names the payer, the provider (usually by NPI), the subscriber and, if needed, the dependent, and asks about one or more service types. 3. **Clearinghouse routes it.** The clearinghouse validates the 270, wraps it in the payer's envelope and sends it on, usually over a real-time connection. 4. **Payer looks up the member.** It searches its enrollment data, which comes from [834 enrollment files](/guides/edi/834-benefit-enrollment-and-maintenance) and its own systems. 5. **Payer returns a 271.** It either reports coverage and benefits in `EB` segments or rejects the request with an `AAA` segment and a reason code. 6. **Practice acts on it.** Staff confirm coverage, collect the copay, flag a terminated plan, or fix the inquiry and resend. If the 270 is syntactically broken, the clearinghouse or payer may return a [999 implementation acknowledgment](/guides/edi/999-implementation-acknowledgment) rejecting it instead of a 271. A 999 says the file failed validation; a 271 with an `AAA` says the file was readable but the payer could not answer it. ## Interactive Example: 270 Eligibility Inquiry A fictional family practice asks a fictional health plan whether its patient, the subscriber JOHN SAMPLE, has active coverage today. The request uses the generic inquiry pattern from the X12 TR3 examples: service type `30` (health benefit plan coverage) with the member ID, name and birth date. Every name, member ID, payer ID and NPI in this sample is fictional, and `ISA15` is set to `T` to mark it as test data. Use the **Plain English** tab for a readable summary, or click any segment to break it down element by element. ## 270 Structure at a Glance The 270 is hierarchical. Each `HL` segment opens a level, and everything until the next `HL` belongs to that level. `BHT01` value `0022` declares the structure: information source, information receiver, subscriber, dependent. | Loop | Segment | Name | Notes | |---|---|---|---| | Header | **ST** | Transaction Set Header | `ST01` = `270`, `ST03` = `005010X279A1` | | Header | **BHT** | Beginning of Hierarchical Transaction | Structure `0022`, purpose `13` (request), reference, date, time | | 2000A | **HL** | Information Source Level | `HL03` = `20` | | 2100A | **NM1** | Information Source Name | The payer, `NM101` = `PR` | | 2000B | **HL** | Information Receiver Level | `HL03` = `21` | | 2100B | **NM1** | Information Receiver Name | The provider asking, usually `NM101` = `1P` with an NPI | | 2000C | **HL** | Subscriber Level | `HL03` = `22` | | 2000C | **TRN** | Subscriber Trace Number | Your trace number, echoed on the 271 | | 2100C | **NM1** | Subscriber Name | `NM101` = `IL`, member ID in `NM109` | | 2100C | **REF / N3 / N4** | Additional IDs and address | Situational; the TR3 and payer guide say when | | 2100C | **DMG** | Subscriber Demographic Information | Birth date and gender | | 2100C | **DTP** | Subscriber Date | `291` (plan) date of the inquiry | | 2110C | **EQ** | Eligibility or Benefit Inquiry | Service type code, or a procedure code | | 2000D-2110D | **HL / TRN / NM1 / DMG / DTP / EQ** | Dependent levels | Only when the patient is a dependent without their own member ID | | Trailer | **SE** | Transaction Set Trailer | Segment count and control number | ## Key Segments Explained ### BHT: Beginning of Hierarchical Transaction ``` BHT*0022*13*EQ20261105001*20261105*0915~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **BHT01** | Hierarchical Structure Code | `0022` | Information source, information receiver, subscriber, dependent | | **BHT02** | Transaction Set Purpose Code | `13` | Request | | **BHT03** | Reference Identification | `EQ20261105001` | The submitter's reference for this inquiry | | **BHT04** | Date | `20261105` | Creation date | | **BHT05** | Time | `0915` | Creation time | The 271 returns the same `BHT03` in its own `BHT`, as the X12 examples show. Store it with the request. ### HL: Hierarchical Level ``` HL*1**20*1~ HL*2*1*21*1~ HL*3*2*22*0~ ``` | Element | Name | What it means | |---|---|---| | **HL01** | Hierarchical ID Number | Sequential ID for this level | | **HL02** | Hierarchical Parent ID Number | The `HL01` of the parent level (blank on the first) | | **HL03** | Hierarchical Level Code | `20` information source, `21` information receiver, `22` subscriber, `23` dependent | | **HL04** | Hierarchical Child Code | `1` this level has children, `0` it does not | Getting `HL04` wrong is a classic validation failure: a subscriber level marked `1` with no dependent under it, or `0` with one. ### NM1: Payer, Provider and Subscriber Names ``` NM1*PR*2*EXAMPLE HEALTH PLAN*****PI*EXHP1~ NM1*1P*2*SAMPLE FAMILY MEDICINE*****XX*1234567893~ NM1*IL*1*SAMPLE*JOHN****MI*TEST000000001~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **NM101** | Entity Identifier Code | `PR`, `1P`, `IL` | Payer, provider, insured or subscriber | | **NM102** | Entity Type Qualifier | `1` or `2` | `1` person, `2` non-person entity | | **NM103** | Last or Organization Name | `SAMPLE` | | | **NM104** | First Name | `JOHN` | | | **NM108** | Identification Code Qualifier | `PI`, `XX`, `MI` | Payer ID, NPI, member ID | | **NM109** | Identification Code | `TEST000000001` | The ID itself | The payer ID in the 2100A `NM1` is usually the clearinghouse's payer ID for routing, not anything printed on the card. Your clearinghouse's payer list is the source of truth. The NPI in this sample, `1234567893`, is a test value that passes the NPI check-digit rule; it is not a real provider. ### TRN: Subscriber Trace Number ``` TRN*1*TRC-000001*9123456789~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **TRN01** | Trace Type Code | `1` | Current transaction trace number | | **TRN02** | Reference Identification | `TRC-000001` | Your trace number for this patient's inquiry | | **TRN03** | Originating Company Identifier | `9123456789` | Identifies who assigned the trace | The 271 echoes this as `TRN*2` (referenced transaction trace number). When you send a batch of inquiries, the trace number is what ties each 271 subscriber loop back to the right appointment. ### DMG and DTP: Birth Date and Inquiry Date ``` DMG*D8*19800101*M~ DTP*291*D8*20261105~ ``` `DMG02` is the birth date in `CCYYMMDD` format and `DMG03` the gender code. Payers use the birth date to confirm they found the right person, so a transposed day and month is a common cause of "subscriber not found." `DTP01` qualifier `291` (plan) with a single date asks about coverage on that date. The payer's companion guide says what date it assumes when the `DTP` is left off, whether it accepts a date range, and how far forward or back it will answer. ### EQ: Eligibility or Benefit Inquiry ``` EQ*30~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **EQ01** | Service Type Code | `30` | Health benefit plan coverage | | **EQ02** | Composite Medical Procedure Identifier | | A procedure code, for inquiries about a specific service | | **EQ03** | Coverage Level Code | | Individual, family and so on | | **EQ04** | Insurance Type Code | | Narrows the inquiry to a type of insurance | Service type `30` is the generic request: "tell me about this person's coverage." Other common codes include `1` (medical care), `33` (chiropractic), `35` (dental care), `47` (hospital), `86` (emergency services), `88` (pharmacy), `98` (professional physician visit, office), `MH` (mental health) and `UC` (urgent care). Payers differ in how many specific service types they answer and whether they return extra detail for them, so check the companion guide before you build a 270 that asks for ten codes at once. ## Subscriber or Dependent? The 270 has two places to put the patient: the subscriber level (`HL03` = `22`) and the dependent level (`HL03` = `23`). The X12 examples show both patterns. The deciding question is the patient's ID. When the patient has their own unique member ID on the card, the TR3 directs that they be sent at the subscriber level even if they are covered through a parent or spouse. The dependent level is for patients who can only be identified through the subscriber's ID. Sending a child with their own ID in the dependent loop is a frequent cause of "not found" responses. ## 270 vs 271, 276, 278 and 837 | Document | Sent by | Sent to | Purpose | |---|---|---|---| | **270 Eligibility Inquiry** | Provider | Health plan | Is this patient covered, and for what? | | **[271 Eligibility Response](/guides/edi/271-eligibility-benefit-response)** | Health plan | Provider | Coverage status, plan dates and benefit amounts, or a rejection | | **[278 Services Review](/guides/edi/278-health-care-services-review)** | Provider / health plan | Each other | Prior authorization, referral and admission review | | **[837 Health Care Claim](/guides/edi/837-health-care-claim)** | Provider | Health plan | Bills for the care delivered | | **[276 Claim Status Request](/guides/edi/276-claim-status-request)** | Provider | Health plan | Where is my claim? | Eligibility comes first in the revenue cycle. A 271 can tell you that a service needs authorization, which is when the 278 comes in. After the visit, the 837 bills it, and the 276 and [277](/guides/edi/277-claim-status-response) follow up. ## Common 270 Errors and How to Prevent Them | Error | What happens | Prevention | |---|---|---| | **Wrong `GS08`/`ST03` version** | 999 rejection before the payer reads it | Send `005010X279A1` unless the payer's guide says otherwise | | **Member ID typed with spaces or a prefix missing** | 271 `AAA` reason `72` (invalid/missing subscriber ID) or `75` (not found) | Store the ID exactly as printed; check the payer's prefix rules | | **Birth date wrong or in the wrong format** | `AAA` reason `58` or `71` | Validate `CCYYMMDD`; confirm against the patient's card or ID | | **Patient with own ID sent as a dependent** | Subscriber not found | Use the subscriber level when the patient has a unique member ID | | **Provider not enrolled with the payer or clearinghouse** | `AAA` at the receiver level, such as `50` or `51` | Complete payer enrollment before going live; check NPI on `2100B` | | **Wrong payer ID** | Inquiry routed to the wrong plan or rejected by the clearinghouse | Map payer IDs from the clearinghouse payer list, not from the card | | **`HL` parent or child codes inconsistent** | 999 rejection | Generate `HL` values programmatically, never by hand | | **Too many service types in one `EQ` request** | Partial answers or rejections | Follow the payer's list of supported service type codes | ## 270 Implementation Checklist - Confirm the payer or clearinghouse accepts `005010X279A1` and whether it supports real time, batch or both - Get each payer's companion guide and note its required search fields and supported service types - Map member ID, name and birth date from the registration screen exactly as entered from the card - Send the rendering or billing provider NPI the payer expects in `2100B` - Generate unique `BHT03` and `TRN02` values and store them for matching 271s - Decide when to use the dependent level, using the patient's own member ID as the test - Handle the 999 and the 271 separately: one means syntax failure, the other means a business answer - Test a found subscriber, a not-found member, a terminated plan and a dependent If you are new to X12 in general, our [essential guide to EDI](/blog/essential-guide-to-edi) explains envelopes, segments and delimiters, and the [EDI document types reference](/edi-document-types) lists the other transaction sets. ## Where OrderSync Fits OrderSync's product is built for supplier order flows: it reads inbound purchase orders in any format (EDI 850 and 875, PDF, email, spreadsheets), matches customers, items and units, and outputs ERP data or valid X12. For healthcare EDI teams, the useful piece is the [free EDI inspector](/edi-inspector), which parses any X12 file, 270s included. Paste a test 270 to see its loops and segments labeled, with a plain-English summary and explanations of structural errors. Follow your organization's policies on protected health information before pasting a production file; test files with fictional data work just as well for checking structure. ## Frequently Asked Questions
### What is an EDI 270? The EDI 270 is the X12 Eligibility, Coverage or Benefit Inquiry. A provider or clearinghouse sends it to a health plan to ask whether a patient has active coverage and what benefits apply. The health plan answers with a 271. ### What does 005010X279A1 mean? It identifies the HIPAA implementation guide for the 270/271: X12 version 005010, technical report X279, errata A1. It appears in GS08 and ST03. CMS lists 005010X279A1 as the errata version required for compliance. ### Is the 270 required under HIPAA? When a HIPAA covered entity conducts the eligibility transaction electronically, it must use the adopted standard, which 45 CFR 162.1202 names as the X12 270/271 (005010X279). Your compliance team or counsel should advise on how that applies to your organization. ### What is service type code 30? Service type code 30 means health benefit plan coverage. It is the generic eligibility question, asking the payer to report the patient's coverage in general. Specific codes such as 98 (office visit) or 88 (pharmacy) ask about particular benefits. ### What is the difference between a 270 and a 271? The 270 is the inquiry the provider sends. The 271 is the health plan's response, carrying coverage status, plan dates and benefit details in EB segments, or an AAA segment explaining why the request was rejected. ### Why did my 270 come back "subscriber not found"? Usually the member ID, name or birth date does not match the payer's records, or a patient with their own member ID was sent as a dependent. The 271's AAA segment carries a reject reason code, such as 72 or 75, that points to the problem. ### Can I send a 270 in batch? Yes. The TR3 supports real-time and batch exchange, and many practices batch the next day's appointments overnight. Whether a payer supports batch, real time or both is set by its companion guide and your clearinghouse. ### Who answers a 270, the payer or the clearinghouse? The health plan, or its eligibility vendor, answers it. A clearinghouse routes the 270 and returns the 271, and it may reject a malformed file itself with a 999 before it reaches the payer.
--- # EDI 271 Eligibility Response: HIPAA 5010 Guide Source: https://ordersync.io/guides/edi/271-eligibility-benefit-response > EDI 271 eligibility response explained: EB benefit lines for deductibles, copays and coinsurance, AAA reject codes, and live examples of a 271. The EDI 271 is the X12 Eligibility, Coverage or Benefit Information transaction a health plan sends in reply to a 270 inquiry. It reports whether the patient has active coverage, the plan dates, and benefit details such as deductibles, copays, coinsurance and out-of-pocket amounts, or it rejects the inquiry with an AAA segment and a reason code. **The EDI 271 is where a front desk learns what the patient owes and whether the visit is covered.** It answers a [270 eligibility inquiry](/guides/edi/270-eligibility-benefit-inquiry), usually within seconds over a real-time clearinghouse connection. Reading it well means understanding one segment above all others: `EB`, the eligibility or benefit line, which repeats as many times as the plan has something to say. This guide covers how a 271 is organized, how to read `EB` segments without misquoting a patient's cost share, the `AAA` reject codes, two live examples from fictional data, and the errors teams make when they turn a 271 into a copay estimate. It describes the X12 structure only. It is not legal, billing or medical advice, and the health plan's own documents govern what a member's coverage is. ## What Is an EDI 271? **An EDI 271 is the Eligibility, Coverage or Benefit Information transaction set defined by [ASC X12](https://x12.org/examples/005010x279), used by a health plan to answer a provider's 270 with coverage status and benefit details.** It shares its implementation guide with the 270: the X12 Technical Report Type 3 `005010X279`, adopted for the HIPAA eligibility transaction in [45 CFR 162.1202](https://www.ecfr.gov/current/title-45/subtitle-A/subchapter-C/part-162/subpart-L/section-162.1202). [CMS's 5010 errata schedule](https://www.cms.gov/Regulations-and-Guidance/Administrative-Simplification/Versions5010andD0/Downloads/Errata_Req_and_Testing.pdf) lists `005010X279A1` as the errata version required for compliance, and that is the value you will see in `GS08` and `ST03`. The functional group code in `GS01` is `HB`. Authoritative references for 271 work: - The [X12 005010X279 examples](https://x12.org/examples/005010x279) include a full 271 with active coverage, copays and a primary care provider, and a 271 rejected with an `AAA` segment - [CMS's operating rules page](https://www.cms.gov/priorities/key-initiatives/burden-reduction/administrative-simplification/operating-rules) explains that HHS adopted CAQH CORE operating rules for the eligibility transaction, effective January 1, 2013. They are incorporated in [45 CFR 162.920](https://www.ecfr.gov/current/title-45/subtitle-A/subchapter-C/part-162/subpart-I/section-162.920) and add requirements such as connectivity on top of the TR3 - Each health plan's companion guide says which benefits it returns, at what level of detail, and for which service type codes **Who sends it?** The health plan or its eligibility vendor (the information source). **Who receives it?** The provider that asked, usually through the clearinghouse that routed the 270. **When is it sent?** In reply to each 270: within the same session for real-time inquiries, or as a returned batch file. **Why does it matter?** The 271 drives what the front desk collects and whether a visit goes ahead. Misread a remaining deductible or apply an out-of-network copay to an in-network visit, and the patient statement after the [835 remittance](/guides/edi/835-health-care-claim-payment-advice) will not match what you told them. ## Interactive Example: 271 With Active Coverage The fictional health plan answers the fictional practice's 270 for JOHN SAMPLE. The response echoes the trace number in `TRN*2`, confirms the plan begin date in `DTP*346`, and lists seven `EB` lines: active coverage, an in-network calendar-year deductible and the amount remaining, the out-of-pocket maximum, an office visit copay, coinsurance, and an out-of-network deductible. All names, IDs and amounts are fictional, and `ISA15` is `T` (test). Use the **Plain English** tab for a readable summary, or click any segment to break it down element by element. ## Interactive Example: 271 Rejected With AAA Here the member ID on the inquiry did not pass the payer's validation. Instead of benefits, the subscriber loop carries `AAA*Y**72*C`: the request was valid as a transaction (`Y`), the reject reason is `72` (invalid or missing subscriber/insured ID), and the follow-up action is `C` (please correct and resubmit). ## 271 Structure at a Glance The 271 mirrors the 270's hierarchy (`BHT01` = `0022`). Where the 270 has `EQ` inquiry segments, the 271 has `EB` benefit segments. | Loop | Segment | Name | Notes | |---|---|---|---| | Header | **ST** | Transaction Set Header | `ST01` = `271`, `ST03` = `005010X279A1` | | Header | **BHT** | Beginning of Hierarchical Transaction | Purpose `11` (response); `BHT03` echoes the 270's reference | | 2000A / 2100A | **HL / NM1 / AAA** | Information source (payer) | An `AAA` here means the payer could not answer at all | | 2000B / 2100B | **HL / NM1 / AAA** | Information receiver (provider) | An `AAA` here usually means a provider identification or enrollment problem | | 2000C | **HL / TRN** | Subscriber level and trace | `TRN01` = `2`, echoing your trace number | | 2100C | **NM1** | Subscriber Name | Name and member ID as the payer has them | | 2100C | **N3 / N4** | Subscriber Address | Address on file | | 2100C | **AAA** | Subscriber Request Validation | Present when the subscriber could not be found or validated | | 2100C | **DMG / INS / DTP** | Demographics, relationship, dates | `DTP` carries plan and eligibility dates | | 2110C | **EB** | Eligibility or Benefit Information | Repeats, one per benefit statement | | 2110C | **HSD / REF / DTP / AAA / MSG** | Benefit details | Quantities, references, dates and free-text messages tied to the `EB` | | 2115C / 2120C | **III / LS / NM1 / LE** | Additional information and related entities | For example a primary care provider or another payer | | 2000D-2120D | | Dependent levels | Same layout for a dependent patient | | Trailer | **SE** | Transaction Set Trailer | Segment count and control number | ## Key Segments Explained ### TRN: Trace Number Echo ``` TRN*2*TRC-000001*9123456789~ ``` `TRN01` = `2` means referenced transaction trace number: this is your trace from the 270 coming back. Match on it, not on name, when you process batch responses. A payer can also add its own `TRN*1` trace. ### DTP: Plan and Eligibility Dates ``` DTP*346*D8*20260101~ ``` | Qualifier | Meaning | |---|---| | `346` | Plan begin | | `347` | Plan end | | `291` | Plan (a date or range the response applies to) | | `307` | Eligibility | A plan end date in the past, or an `EB01` of `6` (inactive), is the clearest sign the patient's coverage has ended. Check the dates before you look at benefit amounts. ### EB: Eligibility or Benefit Information ``` EB*C*IND*30***23*1500*****Y~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **EB01** | Eligibility or Benefit Information Code | `C` | Deductible (see table below) | | **EB02** | Coverage Level Code | `IND` | `IND` individual, `FAM` family, `EMP` employee only and others | | **EB03** | Service Type Code | `30` | Health benefit plan coverage; can repeat with the repetition separator | | **EB04** | Insurance Type Code | | For example `HM` (HMO), as in the X12 example | | **EB05** | Plan Coverage Description | | Plan name, such as `SAMPLE PPO PLAN` | | **EB06** | Time Period Qualifier | `23` | `23` calendar year, `29` remaining, `27` visit, `32` lifetime | | **EB07** | Monetary Amount | `1500` | The dollar amount | | **EB08** | Percentage as Decimal | | `.2` means 20 percent | | **EB09 / EB10** | Quantity Qualifier / Quantity | | Visit counts, days and similar limits | | **EB11** | Authorization or Certification Indicator | | `Y` when the payer says the benefit needs authorization | | **EB12** | In Plan Network Indicator | `Y` | `Y` in network, `N` out of network; the TR3 defines the other values | | **EB13** | Composite Medical Procedure Identifier | | A procedure code, when the benefit is procedure specific | Common `EB01` codes: | Code | Meaning | How to read it | |---|---|---| | `1` | Active coverage | Coverage exists for the service types listed | | `6` | Inactive | Coverage is not active for the service types or dates listed | | `A` | Co-insurance | A percentage in `EB08` | | `B` | Co-payment | A dollar amount in `EB07`, often per visit (`EB06` = `27`) | | `C` | Deductible | A dollar amount; `EB06` tells you whether it is the full amount (`23`) or what is left (`29`) | | `F` | Limitations | Visit or dollar limits, often with `EB09`/`EB10` | | `G` | Out of pocket (stop loss) | The out-of-pocket maximum, or what remains of it | | `I` | Non-covered | The service types listed are not covered | | `L` | Primary care provider | Followed by an `LS`/`NM1`/`LE` loop naming the PCP | | `R` | Other or additional payer | Another payer may be primary or secondary | Read each `EB` as one sentence built from all its elements. `EB*C*IND*30***29*900*****Y` in the sample says: deductible, individual, health benefit plan coverage, remaining, $900, in network. Take any one element out of that sentence (the `29`, the `IND` or the `Y`) and the dollar amount means something different. ### AAA: Request Validation ``` AAA*Y**72*C~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **AAA01** | Valid Request Indicator | `Y` | `Y` the request was valid, `N` it was not | | **AAA03** | Reject Reason Code | `72` | Why the payer could not answer | | **AAA04** | Follow-up Action Code | `C` | What to do next | Reject reason codes you will see most: | Code | Meaning | |---|---| | `42` | Unable to respond at current time | | `43` | Invalid/missing provider identification | | `50` | Provider ineligible for inquiries | | `51` | Provider not on file | | `58` | Invalid/missing date of birth | | `71` | Patient birth date does not match that for the patient on the database | | `72` | Invalid/missing subscriber/insured ID | | `73` | Invalid/missing subscriber/insured name | | `75` | Subscriber/insured not found | | `76` | Duplicate subscriber/insured ID number | Follow-up action codes include `C` (please correct and resubmit), `N` (resubmission not allowed), `R` (resubmission allowed), `P` (please resubmit original transaction), `W` (please wait 30 days and resubmit), `X` (please wait 10 days and resubmit) and `Y` (do not resubmit; the payer will respond again shortly). The level of the `AAA` matters: in loop 2000A it is the payer, in 2000B or 2100B it is the provider, and in 2100C or 2100D it is the patient. ### MSG, LS and LE: Messages and Related Entities `MSG` carries free text tied to a benefit, such as a note on how a benefit applies. Read it, but do not try to parse amounts out of it. `LS*2120` and `LE*2120` wrap a loop that names an entity related to a benefit, such as the primary care provider (`NM101` = `P3`) in the X12 example, or another payer to bill. ## 270 vs 271 vs 999 | Document | Sent by | What it tells you | |---|---|---| | **[270 Eligibility Inquiry](/guides/edi/270-eligibility-benefit-inquiry)** | Provider | The question: who, which payer, which service types | | **271 Eligibility Response** | Health plan | The answer: coverage, dates and benefits, or an `AAA` rejection | | **[999 Implementation Acknowledgment](/guides/edi/999-implementation-acknowledgment)** | Clearinghouse or payer | Whether the 270 file passed syntax and TR3 validation | A 999 rejection means the 270 never reached the payer's eligibility logic. A 271 with an `AAA` means it did, and the payer could not match or answer it. ## Where the 271 Sits in the Revenue Cycle 1. Registration captures the patient's coverage from the card. 2. The 270 asks the payer; the **271** answers. 3. If the 271 shows a service needs authorization, the provider sends a [278 services review](/guides/edi/278-health-care-services-review). 4. After the visit, the provider bills with an [837 claim](/guides/edi/837-health-care-claim). 5. The [276 and 277](/guides/edi/277-claim-status-response) track the claim; the 835 explains payment. ## Common 271 Errors and How to Prevent Them | Error | What happens | Prevention | |---|---|---| | **Out-of-network amount applied to an in-network visit** | Wrong copay or deductible quoted to the patient | Always filter `EB` lines on `EB12` | | **Full deductible read as remaining** | Patient told they owe more or less than they do | Check `EB06`: `23` is the annual amount, `29` is what is left | | **Individual and family amounts mixed** | Wrong cost share | Filter on `EB02` coverage level | | **Only the first `EB` read** | Missed limitations, non-covered services or authorization flags | Parse every `EB` in the 2110 loop, including `EB11` | | **`AAA` ignored** | Staff assume "no benefits" means "not covered" | Route `AAA` responses to a work queue with the reason code | | **Response matched to the wrong patient in a batch** | Wrong benefits on an account | Match on the `TRN` trace number | | **Free text in `MSG` treated as data** | Misquoted amounts | Show `MSG` to staff; take amounts only from `EB` elements | | **Coinsurance read as a whole number** | 20 percent shown as 0.2 percent or 2,000 percent | `EB08` is a decimal: `.2` is 20 percent | ## 271 Implementation Checklist - Confirm `GS01` = `HB` and `005010X279A1` handling in your translator - Parse every `EB` element, not only `EB01` and `EB07` - Build display logic around `EB02`, `EB03`, `EB06` and `EB12` together - Route `AAA` rejections by level (payer, provider, subscriber, dependent) and follow-up action code - Match responses to requests on `TRN02`, and store `BHT03` - Surface `EB11` authorization flags to the team that sends 278s - Keep the raw 271 with the appointment for audit and patient questions - Test active, inactive, not-found, dependent and multi-service-type responses with each major payer For a general primer on X12 envelopes and segments, see our [essential guide to EDI](/blog/essential-guide-to-edi). The [EDI document types reference](/edi-document-types) lists other X12 transaction sets. ## Where OrderSync Fits OrderSync's product is built for supplier order flows: it reads inbound purchase orders in any format (EDI 850 and 875, PDF, email, spreadsheets), matches customers, items and units, and outputs ERP data or valid X12. For healthcare EDI teams, the useful piece is the [free EDI inspector](/edi-inspector), which parses any X12 file, 271s included. Paste a test 271 to see each `EB` line and `AAA` rejection labeled, with a plain-English summary. Follow your organization's policies on protected health information before pasting a production file; test files with fictional data work just as well for checking structure. ## Frequently Asked Questions
### What is an EDI 271? The EDI 271 is the X12 Eligibility, Coverage or Benefit Information transaction a health plan sends in response to a 270. It reports coverage status, plan dates and benefit details, or rejects the inquiry with an AAA segment. ### What is the EB segment in a 271? EB is the Eligibility or Benefit Information segment. Each EB states one fact about coverage: active coverage, a deductible, a copay, coinsurance, an out-of-pocket maximum, a limitation or a non-covered service, qualified by coverage level, service type, time period and network. ### How do I find the remaining deductible in a 271? Look for an EB segment with EB01 = C (deductible) and EB06 = 29 (remaining). EB07 holds the amount. Check EB02 for individual or family and EB12 for in or out of network before quoting it. ### What does AAA mean in a 271? AAA is the Request Validation segment. It means the payer could not answer part or all of the inquiry. AAA03 gives the reason, such as 72 invalid or missing subscriber ID or 75 subscriber not found, and AAA04 says whether to correct and resubmit. ### What does EB01 = 1 mean? It means active coverage for the service types listed in EB03. EB01 = 6 means inactive. Active coverage alone does not tell you the patient's cost share; that comes from the A, B, C and G lines. ### Why do different payers return different 271s for the same question? The TR3 sets the structure, but each payer decides how many service types it answers and how much detail it returns, within the TR3 and the adopted CAQH CORE operating rules. Its companion guide documents those choices. ### Is the 271 the same version as the 270? Yes. Both use the 005010X279A1 implementation guide. The 270 travels in a functional group with GS01 = HS and the 271 with GS01 = HB.
--- # EDI 275 Claim Attachments: X210 Guide Source: https://ordersync.io/guides/edi/275-patient-information > EDI 275 claim attachments explained: solicited vs unsolicited, PWK matching, the BGN, TRN, CAT and BIN segments, and the 2026 HHS attachments rule. The EDI 275 is the X12 transaction a provider uses to send medical documentation that supports a health care claim, such as an operative note or records a payer requested. Today most payers use the 005010X210 guide. A 2026 HHS final rule adopts the 006020X314 version as the HIPAA claims attachment standard, with compliance required by May 26, 2028. **The EDI 275 is how a claim attachment travels as EDI instead of by fax.** Some claims cannot be paid from the [837](/guides/edi/837-health-care-claim) alone: the payer needs an operative report, a certificate of medical necessity or the records from the visit. The 275 wraps that documentation in an X12 envelope, ties it to the claim with a control number, and sends it to the payer either with the claim (unsolicited) or in answer to the payer's request (solicited). This guide covers what the 275 carries, the regulatory status of attachments under HIPAA, how the 275 links to the 837 and the 277, every segment in the 005010X210 implementation guide, a live example built from fictional data, and the matching errors that leave attachments orphaned. It describes the X12 structure only; it is not legal, billing or compliance advice. ## What Is an EDI 275? **An EDI 275 is the Patient Information transaction set defined by [ASC X12](https://x12.org/products/transaction-sets). In health care claims it is implemented through the X12N Technical Report Type 3 `005010X210`, Additional Information to Support a Health Care Claim or Encounter.** It carries a claim attachment: clinical or administrative documentation that the claim itself has no room for. The functional group code in `GS01` is `PI`, and `GS08` and `ST03` carry `005010X210`. Authoritative references for 275 work: - The [Stedi 005010X210 reference](https://www.stedi.com/edi/hipaa/transaction-set/275-A9) lists every loop and segment, and notes that for an unsolicited 275 the attachment control number is the value from `PWK06` in loop 2300 of the 837 - HHS published the claims attachments final rule on March 24, 2026 ([91 FR 14350](https://www.federalregister.gov/documents/2026/03/24/2026-05676/administrative-simplification-adoption-of-standards-for-health-care-claims-attachments-transactions)), effective May 26, 2026 - The adopted standards are listed in [45 CFR 162.2002](https://www.ecfr.gov/current/title-45/subtitle-A/subchapter-C/part-162/subpart-T/section-162.2002), "for the period on and after May 26, 2028" - Payer companion guides set the working rules for today's 005010X210 exchanges. The [VA Office of Community Care companion guide](https://www.va.gov/COMMUNITYCARE/docs/providers/HIPAA-Transaction-Companion-Guide.pdf) and [Optum's batch attachments guide](https://developer.optum.com/eligibilityandclaims/docs/batch-draft) are two public examples **Who sends it?** The provider, usually through its clearinghouse or practice management system. **Who receives it?** The health plan, or the clearinghouse or attachment vendor acting for it. **When is it sent?** With or just after the 837 when the provider knows documentation is needed (unsolicited), or after the payer asks for it (solicited). **Why does it matter?** A claim waiting for documentation is a claim not getting paid. An attachment that cannot be matched to its claim is as good as never sent, and the claim may be denied for missing information. ## Where Claim Attachments Stand Under HIPAA For most of HIPAA's history there was no adopted standard for claim attachments. Payers accepted documentation by fax, mail, portal upload, or a 275 built to their own companion guide, almost always on the 5010 version, `005010X210`. That changed with the HHS final rule **Administrative Simplification; Adoption of Standards for Health Care Claims Attachments Transactions and Electronic Signatures**, published March 24, 2026. Per the rule and the new Subpart T of 45 CFR Part 162: | Item | What the rule says | |---|---| | **Transaction defined** | [45 CFR 162.2001](https://www.ecfr.gov/current/title-45/subtitle-A/subchapter-C/part-162/subpart-T/section-162.2001): attachment information sent by a provider to support a claim, or a health plan's request for it | | **Envelope for the provider's attachment** | X12N 275 version 6020, `006020X314` | | **Health plan's request** | X12N 277 version 6020, `006020X313` (Health Care Claim Request for Additional Information) | | **Document content** | HL7 CDA Release 2 Attachment Implementation Guide (C-CDA based documents), and the C-CDA templates for clinical notes | | **Electronic signatures** | HL7 CDA Release 2 Digital Signatures and Delegation of Rights, where the provider uses an electronic signature | | **Scope** | Claims attachments, solicited and unsolicited. The rule was narrowed from the proposed "health care attachments" and does not adopt standards for prior authorization attachments | | **Effective date** | May 26, 2026 | | **Compliance date** | May 26, 2028, for all covered entities, with no extra time for small health plans | So the practical position in late 2026 is: production attachment exchanges run on `005010X210` under each payer's companion guide, and the industry has until May 26, 2028 to move to `006020X314` and `006020X313` with C-CDA content. The example in this guide uses `005010X210` because that is what payers accept today. The overall pattern (envelope, claim matching, attachment payload) carries over to 6020, but the segment-level details of `006020X314` come from that TR3, not from this page. ## Solicited and Unsolicited Attachments | | Unsolicited | Solicited | |---|---|---| | **Trigger** | Provider knows the claim needs documentation | Payer asks for documentation after receiving the claim | | **Payer request** | None | A 277 Request for Additional Information (`005010X213` in 5010, `006020X313` under the rule) | | **`BGN01`** | `02` | `11` (response) | | **How the 275 is matched** | `TRN02` = the attachment control number the provider put in `PWK06` on the 837 | `TRN02` = the payer's claim control number from the 277 | | **`STC` in loop 2000A** | Not sent | Required: echoes what the payer asked for, typically as a LOINC code | | **Patient control number** | `REF*EJ` matches `CLM01` on the 837 | `REF*EJ` matches the value in the 277 | The unsolicited path starts on the claim. In the 837, a `PWK` segment in loop 2300 (claim level) or 2400 (service line) tells the payer documentation exists and how it will arrive: ``` PWK*OB*EL***AC*EFPATT0001~ ``` `PWK01` is the report type (`OB` is an operative note), `PWK02` the transmission code (`EL` = electronically only), `PWK05` = `AC` (attachment control number) and `PWK06` the control number itself. The 275 then carries the same value in `TRN02`. Our [837 guide](/guides/edi/837-health-care-claim) covers the rest of the claim structure. The solicited path starts at the payer. Our [277 guide](/guides/edi/277-claim-status-response) covers the 277 claim status response and 277CA; the request-for-information variant uses the same transaction number with its own implementation guide. ## Interactive Example: Unsolicited Claim Attachment (275, 005010X210) A fictional family practice sends documentation for claim `EFP26110902`, which its 837 flagged with `PWK06` = `EFPATT0001`. `BGN01` = `02` marks it unsolicited. The four name loops identify the payer (`PR`), the clearinghouse that submits it (`41`), the provider (`1P`) with its address, and the patient (`QC`). `REF*EJ` repeats the claim's `CLM01` and `TRN02` repeats the attachment control number. `CAT*AE*IA` says the attachment is an electronic image, and `BIN` carries it. Every name, ID and value is fictional, `ISA15` is `T` (test), and the `BIN` payload is a short base64 placeholder rather than a real document. Use the **Plain English** tab for a readable summary, or click any segment to break it down element by element. ## 275 Structure at a Glance (005010X210) | Loop | Segment | Name | Usage | Notes | |---|---|---|---|---| | Header | **ST** | Transaction Set Header | Required | `ST01` = `275`, `ST03` = `005010X210` | | Header | **BGN** | Beginning Segment | Required | `02` unsolicited, `11` response to a request | | 1000A | **NM1 / PER** | Payer Name and contact | Required / Situational | `NM101` = `PR`. `PER` only when answering a 277 that included one | | 1000B | **NM1** | Submitter | Required | `NM101` = `41` | | 1000C | **NM1 / PRV / REF** | Provider name, taxonomy, secondary ID | Required / Situational | `NM101` = `1P`, NPI in `NM109` | | 1100C | **NX1 / N3 / N4** | Provider address | Required | `NX101` = `1P` in payer samples | | 1000D | **NM1** | Patient Name | Required | `NM101` = `QC` | | 1000D | **REF** | Patient Control Number | Required | `REF01` = `EJ`. Must match the claim | | 1000D | **REF / DTP** | Bill type, medical record number, claim service date | Situational | `DTP*472` service date | | 2000A | **LX** | Assigned Number | Required, repeats | One per attachment | | 2000A | **TRN** | Attachment or payer claim control number | Required | The matching key | | 2000A | **STC** | Status Information | Situational | Required when `BGN01` = `11` | | 2000A | **REF** | Service line, procedure, modifier | Situational | Ties the attachment to one line | | 2100A | **DTP** | Service line date | Situational | When dates are by line | | 2100B | **DTP** | Additional Information Submission Date | Required | `DTP*368` in payer samples | | 2100B | **CAT** | Category of Patient Information Service | Required | `CAT01` = `AE` (attachment), `CAT02` = format | | 2110B | **EFI** | Electronic Format Identification | Required | `EFI*05` in payer samples | | 2110B | **BIN** | Binary Data | Required | Length, then the attachment itself | | Trailer | **SE** | Transaction Set Trailer | Required | Segment count and control number | ## Key Segments Explained ### BGN: Beginning Segment ``` BGN*02*EFP275000017*20261110~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **BGN01** | Transaction Set Purpose Code | `02` | `02` = unsolicited attachment. `11` = response to a payer request | | **BGN02** | Reference Identification | `EFP275000017` | The submitter's reference for this 275 | | **BGN03** | Date | `20261110` | Date the 275 was created | ### NM1 and REF: Who and Which Claim ``` NM1*QC*1*SAMPLE*JORDAN****MI*ZZM000111222~ REF*EJ*EFP26110902~ DTP*472*D8*20261109~ ``` The patient loop identifies the person and, through `REF*EJ`, the claim. On an unsolicited 275 the patient control number must equal `CLM01` on the 837. The service date in `DTP*472` gives the payer a second matching point. The payer and provider loops follow the same conventions as the 837: payer ID in `NM109` with qualifier `PI`, provider NPI with qualifier `XX`. ### TRN: The Matching Key ``` TRN*1*EFPATT0001~ ``` `TRN02` is what the payer uses to attach the document to the claim. For an unsolicited 275 it must equal `PWK06` on the 837, character for character, and it must be unique per attachment. For a solicited 275 it carries the payer's claim control number from the 277 request. Payer samples, including the VA and Optum guides, use `TRN01` = `1`. ### CAT: What Kind of Attachment ``` CAT*AE*IA~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **CAT01** | Report Type Code | `AE` | `AE` = attachment | | **CAT02** | Report Transmission Code | `IA` | The format of `BIN02`. `HL` = HL7 (CDA) format, `IA` = electronic image, `MB` = binary image, `TX` = text | Payers restrict `CAT02`. The VA guide accepts `HL`, `IA`, `MB` and `TX`; other guides require one value for images. Check the payer's companion guide before choosing. ### EFI and BIN: The Attachment Itself ``` EFI*05~ BIN*140*RklDVElPTkFMIFRFU1QgQVRUQUNITUVOVC4g...~ ``` `EFI01` is a security level code; `05` (personal) is the value in payer samples. `BIN01` is the length of the data in bytes and `BIN02` is the data. The receiving translator reads exactly `BIN01` bytes after the separator, which is why `BIN02` can contain characters that would otherwise look like delimiters. If the count is off by even one byte, the parser reads into the next segment or stops short, and the whole transaction fails. What goes inside `BIN02` is set by the payer: - **MIME with base64.** Optum and the VA describe MIME headers (content type, transfer encoding, file name), a blank line, then the base64-encoded file. The raw PDF or TIFF bytes are not placed in the EDI directly. - **CDA documents.** With `CAT02` = `HL`, the content is an HL7 CDA document, which the VA expects to be base64 encoded in full. - **Payer XML wrappers.** Some state Medicaid programs define their own XML envelope around the file. Size limits are also payer-specific. The Optum, VA and Arizona AHCCCS guides state 64 MB per attachment, and Texas Medicaid's guide states 50 MB. ## Where the 275 Sits in the Claim Cycle 1. Provider sends the [837 claim](/guides/edi/837-health-care-claim), with `PWK` if documentation will follow. 2. Clearinghouse or payer returns a [999](/guides/edi/999-implementation-acknowledgment) for the claim file and a 277CA for each claim. 3. **Unsolicited:** provider sends the 275 with the matching attachment control number. 4. **Solicited:** payer sends a 277 request for additional information, and the provider answers with a 275 (`BGN01` = `11`). 5. Payer returns a 999 (or, for some payers, an [824 application advice](/guides/edi/824-application-advice)) for the 275 itself. 6. Payer adjudicates and sends the [835 remittance](/guides/edi/835-health-care-claim-payment-advice). Status in between comes from a [276](/guides/edi/276-claim-status-request) and [277](/guides/edi/277-claim-status-response). Documentation for prior authorization is a different flow, through the [278](/guides/edi/278-health-care-services-review), and is outside the 2026 claims attachments rule. ## Common 275 Errors and How to Prevent Them | Error | What happens | Prevention | |---|---|---| | **`TRN02` does not equal `PWK06`** | Attachment cannot be matched; claim pends or denies for missing documentation | Generate the control number once and write it to both the 837 and the 275 | | **Control number reused across attachments** | Wrong document attached to a claim | One unique control number per attachment | | **`REF*EJ` differs from `CLM01`** | Match fails at the claim level | Copy the patient control number from the claim record, never retype it | | **`BIN01` byte count wrong** | Parser fails; whole 275 rejected | Compute the length from the final encoded bytes, after any line breaks are added | | **`CAT02` not accepted by the payer** | Rejection | Use the formats in the payer's companion guide | | **Attachment over the payer's size limit** | Rejection | Check the limit; split or compress per the guide | | **275 sent long after the claim** | Claim already denied | Send unsolicited attachments with or right after the 837, within the payer's window | | **Solicited 275 missing `STC`** | Payer cannot tell which request it answers | Echo the request in `STC` when `BGN01` = `11` | | **Real patient data in test files** | Privacy exposure | Test with fictional data, as in this guide's sample | ## 275 Implementation Checklist - Get each payer's 275 companion guide: version, `CAT02` formats, `BIN02` content rules and size limits - Confirm whether the payer accepts unsolicited 275s, solicited 275s, or both - Generate attachment control numbers once, and write them to `PWK06` on the 837 and `TRN02` on the 275 - Carry the patient control number and service date from the claim record - Encode attachments exactly as the guide specifies and compute `BIN01` from the final bytes - Handle 277 requests for additional information and answer with `BGN01` = `11` and `STC` - Process 999s (and 824s where used) for 275 files - Plan the move to `006020X314`, `006020X313` and C-CDA content before May 26, 2028 - Test unsolicited, solicited, multi-attachment and rejected scenarios with fictional data For an introduction to X12 structure, see our [essential guide to EDI](/blog/essential-guide-to-edi), and for the other transaction sets, the [EDI document types reference](/edi-document-types). ## Where OrderSync Fits OrderSync's product is built for supplier order flows: it reads inbound purchase orders in any format (EDI 850 and 875, PDF, email, spreadsheets), matches customers, items and units, and outputs ERP data or valid X12. For healthcare EDI teams, the useful piece is the [free EDI inspector](/edi-inspector), which parses any X12 file, 275s included. Paste a test 275 to see the payer, provider, claim and attachment control numbers and the attachment format explained segment by segment. Follow your organization's policies on protected health information before pasting a production file; test files with fictional data work just as well for checking structure. To talk through an order-side workflow, [book a 15-minute walkthrough](/book-call). ## Frequently Asked Questions
### What is an EDI 275? The EDI 275 is the X12 Patient Information transaction. In health care claims, providers use it to send attachments, such as medical records or an operative note, that support a claim. Most payers today use the 005010X210 implementation guide. ### What is 005010X210? 005010X210 is the X12 implementation guide, version 5010, for the 275 Additional Information to Support a Health Care Claim or Encounter. It defines the loops, segments and codes payers use for claim attachments in current production exchanges. ### Is there a HIPAA standard for claim attachments? Yes, since 2026. HHS published a final rule on March 24, 2026 adopting X12 275 version 006020X314, X12 277 version 006020X313 and HL7 C-CDA attachment standards for claims attachments. It took effect May 26, 2026, and covered entities must comply by May 26, 2028. ### What is the difference between a solicited and an unsolicited 275? An unsolicited 275 is sent without a request, because the provider knows the claim needs documentation; BGN01 is 02 and it matches the claim through the PWK06 attachment control number. A solicited 275 answers a payer's 277 request; BGN01 is 11 and STC identifies what was requested. ### How does a 275 match its 837 claim? For an unsolicited attachment, TRN02 on the 275 must equal PWK06 on the 837, and REF EJ must equal the claim's patient control number in CLM01. The service date in DTP 472 is a further check. ### What goes in the BIN segment of a 275? BIN01 is the length of the attachment data in bytes and BIN02 is the data itself. Payers specify the content, commonly MIME headers followed by a base64-encoded PDF or TIFF, or a base64-encoded HL7 CDA document. ### Does the attachments rule cover prior authorization? No. The final rule was narrowed to health care claims attachments. Prior authorization documentation is not covered by the standards adopted in the 2026 rule.
--- # EDI 276 Claim Status Request: HIPAA 5010 Guide Source: https://ordersync.io/guides/edi/276-claim-status-request > EDI 276 claim status request explained: the 005010X212 guide, HL levels, TRN, REF, AMT and DTP segments, a live example, and common errors. The EDI 276 is the X12 Health Care Claim Status Request. A provider, billing service or clearinghouse sends it to a health plan to ask where one or more submitted claims stand. Under HIPAA it follows the 005010X212 implementation guide, and the health plan replies with a 277 Health Care Claim Status Response. **The EDI 276 replaces the phone call to the payer asking "did you get my claim, and what happened to it?"** Billing teams send it for claims that have not paid or denied within the expected window, and some practice management systems send it automatically on a schedule. The payer answers with a [277 claim status response](/guides/edi/277-claim-status-response) carrying status codes for each claim. This guide covers what a 276 carries, how its hierarchy works, every segment you will map, a live two-claim example built from fictional data, and the mistakes that produce "claim not found." It describes the X12 structure only; it is not legal, billing or compliance advice. ## What Is an EDI 276? **An EDI 276 is the Health Care Claim Status Request transaction set defined by [ASC X12](https://x12.org/examples/005010x212), used to ask a health plan for the status of specific health care claims.** For HIPAA covered entities, [45 CFR 162.1402](https://www.ecfr.gov/current/title-45/subtitle-A/subchapter-C/part-162/subpart-N/section-162.1402) adopts the X12 276/277 Technical Report Type 3 `005010X212`, with its April 2008 errata `005010X212E1`, as the standard for the health care claim status transaction. The errata did not change the identifier: the value in `GS08` and `ST03` is `005010X212`, which [CMS's 5010 errata schedule](https://www.cms.gov/Regulations-and-Guidance/Administrative-Simplification/Versions5010andD0/Downloads/Errata_Req_and_Testing.pdf) also shows with no separate errata version. Authoritative references for 276 work: - The [X12 005010X212 examples](https://x12.org/examples/005010x212) include a full 276 for three claims and the matching 277, with the TR3's explanations. The TR3 itself is licensed through [X12's technical reports](https://x12.org/products/technical-reports) - HHS adopted CAQH CORE operating rules for claim status, including the Phase II Claim Status Rule and Connectivity Rule listed in [45 CFR 162.920](https://www.ecfr.gov/current/title-45/subtitle-A/subchapter-C/part-162/subpart-I/section-162.920), with compliance from January 1, 2013 according to [CMS](https://www.cms.gov/priorities/key-initiatives/burden-reduction/administrative-simplification/operating-rules) - Each payer's companion guide sets which search fields it requires, how many claims you can ask about in one 276, and whether it answers in real time or batch **Who sends it?** The provider, its billing service, or a clearinghouse acting for it. **Who receives it?** The health plan (the information source) or a payer's claims vendor. **When is it sent?** After a claim has been submitted and accepted, typically once it is past the payer's normal turnaround without an [835 remittance](/guides/edi/835-health-care-claim-payment-advice). Many teams also send 276s before resubmitting a claim, to avoid creating a duplicate. **Why does it matter?** Unpaid claims age. The 276 gets you a coded answer you can route: paid, pending, denied, or not on file. That is faster to act on than a call queue, and it leaves a record. ## How a Claim Status Inquiry Works 1. **The claim is billed.** The provider sends an [837 claim](/guides/edi/837-health-care-claim) and gets a 999 and, often, a 277CA acknowledgment back. 2. **Time passes without payment.** The claim shows as open in the practice management system. 3. **The system builds a 276.** It identifies the payer, the information receiver, the billing provider, the patient and each claim (by patient account number, charge amount and service dates). 4. **The clearinghouse routes it.** It validates the 276 and sends it to the payer, and may return a 999 if the file fails validation. 5. **The payer answers with a 277.** Each claim comes back with `STC` status codes, and often the payer's claim control number and payment details. 6. **The team acts.** Paid claims wait for the 835, pending claims get a follow-up date, rejected or not-found claims get corrected or resubmitted. ## Interactive Example: 276 for Two Claims A fictional family practice asks a fictional health plan about two professional claims: one for JOHN SAMPLE with service on 2026-10-15 for $285.00, and one for JANE SAMPLE with service on 2026-10-20 for $410.00. Each patient is the subscriber, so each claim sits under its own subscriber level. Every name, member ID, payer ID and NPI is fictional, and `ISA15` is `T` (test). Use the **Plain English** tab for a readable summary, or click any segment to break it down element by element. ## 276 Structure at a Glance `BHT01` value `0010` declares the hierarchy: information source, information receiver, provider of service, subscriber, dependent. One 276 can carry many claims across many providers and patients. | Loop | Segment | Name | Notes | |---|---|---|---| | Header | **ST** | Transaction Set Header | `ST01` = `276`, `ST03` = `005010X212` | | Header | **BHT** | Beginning of Hierarchical Transaction | Structure `0010`, purpose `13` (request) | | 2000A / 2100A | **HL / NM1** | Information source (payer) | `HL03` = `20`, `NM101` = `PR` | | 2000B / 2100B | **HL / NM1** | Information receiver | `HL03` = `21`, `NM101` = `41`: who gets the 277 | | 2000C / 2100C | **HL / NM1** | Service provider | `HL03` = `19`, `NM101` = `1P`, usually with the NPI | | 2000D | **HL / DMG** | Subscriber level | `HL03` = `22`; `DMG` birth date and gender | | 2100D | **NM1** | Subscriber Name | `NM101` = `IL`, member ID in `NM109` | | 2200D | **TRN** | Claim Status Tracking Number | Your trace number for this claim | | 2200D | **REF** | Claim identifiers | Payer claim control number (`1K`), bill type (`BLT`), patient control number (`EJ`) and others | | 2200D | **AMT** | Claim Submitted Charges | `AMT01` = `T3` total claim charge | | 2200D | **DTP** | Claim Service Date | `472`, a date or a range | | 2210D | **SVC / REF / DTP** | Service line | Optional, to ask about specific lines | | 2000E-2210E | | Dependent levels | When the patient is a dependent of the subscriber | | Trailer | **SE** | Transaction Set Trailer | Segment count and control number | ## Key Segments Explained ### BHT: Beginning of Hierarchical Transaction ``` BHT*0010*13*CS20261105001*20261105*1000~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **BHT01** | Hierarchical Structure Code | `0010` | Information source, information receiver, provider of service, subscriber, dependent | | **BHT02** | Transaction Set Purpose Code | `13` | Request | | **BHT03** | Reference Identification | `CS20261105001` | Your reference for this request | | **BHT04 / BHT05** | Date / Time | `20261105` / `1000` | When the 276 was created | ### HL: The Five Levels ``` HL*1**20*1~ HL*2*1*21*1~ HL*3*2*19*1~ HL*4*3*22*0~ HL*5*3*22*0~ ``` | HL03 | Level | Who it is | |---|---|---| | `20` | Information source | The payer | | `21` | Information receiver | The submitter that receives the 277, often the clearinghouse or billing service | | `19` | Provider of service | The billing or rendering provider | | `22` | Subscriber | The insured member | | `23` | Dependent | A patient covered under the subscriber | In the sample, both subscriber levels (`HL*4` and `HL*5`) point to the same provider level (`HL02` = `3`). A batch of claims for one provider looks like this: one payer, one receiver, one provider, many subscribers. ### NM1: The Parties ``` NM1*PR*2*EXAMPLE HEALTH PLAN*****PI*EXHP1~ NM1*41*2*SAMPLE FAMILY MEDICINE*****46*SFM0001~ NM1*1P*2*SAMPLE FAMILY MEDICINE*****XX*1234567893~ NM1*IL*1*SAMPLE*JOHN****MI*TEST000000001~ ``` `NM101` names the role (`PR` payer, `41` submitter, `1P` provider, `IL` subscriber, `QC` patient at the dependent level). `NM108` names the ID type: `PI` payer ID, `46` electronic transmitter identification number, `XX` NPI, `MI` member ID. The NPI here, `1234567893`, is a check-digit-valid test value, not a real provider. Payers match on the provider ID you billed under, so send the same NPI that was on the 837. ### TRN: Claim Status Tracking Number ``` TRN*1*SMPCLM1001~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **TRN01** | Trace Type Code | `1` | Current transaction trace number | | **TRN02** | Reference Identification | `SMPCLM1001` | Your trace number for this claim inquiry | The 277 returns it as `TRN*2`. Some payers ask you to use the patient control number from the 837 (`CLM01`) here; the Illinois Medicaid companion guide, for example, does. Whatever you use, it has to be unique enough to match the answer. ### REF: Claim Identifiers ``` REF*EJ*SMPCLM1001~ ``` | REF01 | Meaning | Where it comes from | |---|---|---| | `1K` | Payer claim control number | The payer's number, from a prior 277CA, 277 or 835 | | `EJ` | Patient control number | `CLM01` on your 837, as the X212 examples show | | `BLT` | Institutional bill type | The bill type on an institutional claim | If you have the payer claim control number, send it. It is the most precise search key a payer has. Without it, the payer searches on member, provider, dates and charges, and any mismatch can mean "not found." ### AMT and DTP: Charges and Service Dates ``` AMT*T3*285~ DTP*472*D8*20261015~ ``` `AMT01` = `T3` is the total submitted charge, which must match the claim total on the 837. `DTP01` = `472` is the service date; use `D8` for one date or `RD8` with `CCYYMMDD-CCYYMMDD` for a range, as in the X12 example `DTP*472*RD8*20050831-20050906`. ### SVC: Service Line (Optional) ``` SVC*HC:99203*150*****1~ ``` This line from the X12 example asks about one procedure on a claim: `SVC01` is the procedure composite (`HC` for HCPCS/CPT, then the code), `SVC02` the line charge, and `SVC07` the units. Most inquiries stay at the claim level; payers' guides say when line-level detail is supported. ## 276 vs 277, 277CA, 837 and 835 | Document | Sent by | Purpose | |---|---|---| | **[837 Health Care Claim](/guides/edi/837-health-care-claim)** | Provider | Bills the claim | | **[999 Implementation Acknowledgment](/guides/edi/999-implementation-acknowledgment)** | Clearinghouse or payer | Says the file passed or failed syntax and TR3 validation | | **277CA Claim Acknowledgment** | Clearinghouse or payer | Says each claim was accepted into processing or rejected at intake | | **276 Claim Status Request** | Provider | Asks where specific claims stand | | **[277 Claim Status Response](/guides/edi/277-claim-status-response)** | Health plan | Answers with status codes and payment details | | **[835 Claim Payment/Advice](/guides/edi/835-health-care-claim-payment-advice)** | Health plan | Explains payment and adjustments | ## Common 276 Errors and How to Prevent Them | Error | What happens | Prevention | |---|---|---| | **Charges in `AMT*T3` differ from the 837** | Claim not found | Pull the amount from the billed claim record, not from the balance | | **Service dates differ from the 837** | Claim not found, or a status code pointing at dates | Send the same `DTP*472` dates the claim carried | | **Different provider ID than billed** | Not found, or a provider entity error | Use the 837's billing provider NPI | | **Member ID or name mismatch** | Subscriber not found | Use the ID and name as submitted on the claim | | **Dependent sent at the subscriber level, or the reverse** | Not found | Mirror the subscriber/patient structure of the original claim | | **Asking too soon** | Status "not found" for a claim still in intake | Check the 999 and 277CA first; follow the payer's guidance on timing | | **Non-unique `TRN02`** | Responses matched to the wrong claim | Generate a unique trace per claim inquiry | | **Wrong version in `GS08`** | 999 rejection | Send `005010X212` | ## 276 Implementation Checklist - Confirm the payer or clearinghouse supports `005010X212` 276s, and whether real time, batch or both - Read each payer's companion guide for required search fields and claim limits per request - Store the payer claim control number from every 277CA, 277 and 835, and send it when you have it - Pull member, provider, charge and date values from the billed claim, not from current account data - Generate unique `TRN02` values and keep them with the claim - Schedule 276s from your follow-up rules rather than sending them for every open claim daily - Handle 999 rejections separately from 277 responses - Test paid, pending, denied and not-found scenarios with each major payer If you are new to X12, our [essential guide to EDI](/blog/essential-guide-to-edi) covers envelopes, segments and delimiters, and [EDI vs API](/blog/edi-vs-api) compares batch EDI with API-based exchange. ## Where OrderSync Fits OrderSync's product is built for supplier order flows: it reads inbound purchase orders in any format (EDI 850 and 875, PDF, email, spreadsheets), matches customers, items and units, and outputs ERP data or valid X12. For healthcare EDI teams, the useful piece is the [free EDI inspector](/edi-inspector), which parses any X12 file, 276s included. Paste a test 276 to see the payer, provider, patient and claim levels labeled with a plain-English summary, and get structural errors explained. Follow your organization's policies on protected health information before pasting a production file; test files with fictional data work just as well for checking structure. ## Frequently Asked Questions
### What is an EDI 276? The EDI 276 is the X12 Health Care Claim Status Request. A provider, billing service or clearinghouse sends it to a health plan to ask about the status of submitted claims. The plan answers with a 277. ### What does 005010X212 mean? It identifies the HIPAA implementation guide for the 276/277 claim status transaction: X12 version 005010, technical report X212. It appears in GS08 and ST03. The 2008 errata, 005010X212E1, did not change that identifier. ### What is the difference between a 276 and a 277? The 276 is the provider's question about specific claims. The 277 is the health plan's answer, with STC status codes for each claim and, when the claim is finalized, payment amounts and dates. ### What information does a 276 need to find a claim? The payer, the provider identifier used on the claim, the member ID and name, the total claim charge, and the service dates. The payer's claim control number in a REF*1K segment, when you have it, is the most precise key. ### How soon after billing should I send a 276? That depends on the payer. Check the 999 and the 277CA first to confirm the claim was accepted into processing, then follow the payer's companion guide and your own follow-up rules for when to ask about status. ### Can one 276 ask about several claims? Yes. The hierarchy allows many providers, subscribers and claims in one transaction, as the X12 example with three claims shows. Payers can limit how many claims they accept per request, especially in real time. ### Is the 276 the same as the 277CA? No. The 276 is a request the provider sends. The 277CA is an acknowledgment the clearinghouse or payer sends after receiving an 837, without being asked, to report whether each claim was accepted for processing.
--- # EDI 277 Claim Status Response and 277CA Guide Source: https://ordersync.io/guides/edi/277-claim-status-response > EDI 277 claim status response explained: STC category and status codes, payment fields, the 277CA acknowledgment, and a live example. The EDI 277 is the X12 Health Care Claim Status Response a health plan sends to answer a 276 claim status request. For each claim it returns STC status codes, such as finalized and paid or pending review, plus charges, payment amounts and the payer's claim number. A variant, the 277CA, acknowledges claims at intake. **The EDI 277 tells a billing team what happened to a claim in a code they can route.** It answers a [276 claim status request](/guides/edi/276-claim-status-request), and every claim in it carries an `STC` segment with a status category (finalized, pending, acknowledged, rejected) and a more specific status code. Read `STC` correctly and you know whether to wait for the [835](/guides/edi/835-health-care-claim-payment-advice), send records, fix and resubmit, or appeal. This guide covers the 277's structure, the `STC` segment element by element, the most common category and status codes, the 277CA claim acknowledgment that shares the 277 number, a live example built from fictional data, and the mistakes teams make acting on 277s. It describes the X12 structure only; it is not legal, billing or compliance advice. ## What Is an EDI 277? **An EDI 277 is the Health Care Claim Status Response transaction set defined by [ASC X12](https://x12.org/examples/005010x212), used by a health plan to report the status of claims a provider asked about.** For HIPAA covered entities, [45 CFR 162.1402](https://www.ecfr.gov/current/title-45/subtitle-A/subchapter-C/part-162/subpart-N/section-162.1402) adopts the X12 276/277 Technical Report Type 3 `005010X212` (with its errata `005010X212E1`) as the claim status standard. The 277 response carries `005010X212` in `GS08` and `ST03`, and its functional group code in `GS01` is `HN`. Authoritative references for 277 work: - The [X12 005010X212 examples](https://x12.org/examples/005010x212) show a 277 answering three claims: one pending, one finalized, one denied at the line level - X12 maintains the code lists the `STC` segment uses: the [Claim Status Category Codes](https://x12.org/codes/claim-status-category-codes) and the [Claim Status Codes](https://x12.org/codes/claim-status-codes). Both are updated on a regular cycle, so load them from the source rather than hard-coding a copy - HHS adopted CAQH CORE operating rules for the claim status transaction, listed in [45 CFR 162.920](https://www.ecfr.gov/current/title-45/subtitle-A/subchapter-C/part-162/subpart-I/section-162.920), with compliance from January 1, 2013 per [CMS](https://www.cms.gov/priorities/key-initiatives/burden-reduction/administrative-simplification/operating-rules) - The 277CA has its own TR3, `005010X214`, with examples on [X12's 005010X214 page](https://x12.org/examples/005010x214) **Who sends it?** The health plan, or its claims vendor. A 277CA can also come from a clearinghouse. **Who receives it?** The information receiver named in the 276, usually the clearinghouse or billing service, which passes it to the provider. **When is it sent?** In reply to each 276: real time or batch. A 277CA is sent after an 837 is received, without a request. ## The 277 and the 277CA: Same Number, Different Jobs Both are X12 277 transaction sets, but they follow different implementation guides and answer different questions. | | 277 Claim Status Response | 277CA Claim Acknowledgment | |---|---|---| | **Implementation guide** | `005010X212` | `005010X214` | | **Triggered by** | A 276 request | Receipt of an 837 claim file | | **Question it answers** | "Where is this claim now?" | "Did this claim get into your adjudication system?" | | **Typical statuses** | Finalized, pending, not found | Accepted (`A1`, `A2`) or rejected at intake (`A3`, `A6`, `A7`) | | **`BHT01` structure** | `0010` | `0085` | | **Patient level `HL03`** | `22` subscriber, `23` dependent | `PT` patient | | **HIPAA status** | Adopted standard under 45 CFR 162.1402 | Not one of the standards named in 45 CFR Part 162; [CMS's 5010 schedule](https://www.cms.gov/Regulations-and-Guidance/Administrative-Simplification/Versions5010andD0/Downloads/Errata_Req_and_Testing.pdf) lists it among Medicare fee-for-service transactions | The order on the claim side is: 837 sent, [999](/guides/edi/999-implementation-acknowledgment) back (file-level syntax), 277CA back (claim-level acceptance), then 835 or 277 later. A claim rejected on a 277CA never entered adjudication, so a 276 about it will usually come back "not found." Fix and resubmit it instead. In the 277CA, `STC03` also carries an action code: the X12 example uses `WQ` (accept) on accepted claims and `U` (reject) on rejected ones. ## Interactive Example: 277 With a Paid Claim and a Pending Claim The fictional health plan answers the fictional practice's 276 for two claims. JOHN SAMPLE's claim is finalized and paid: `STC*F1:65` with the $285.00 charge, a $198.40 payment, the adjudication date, payment by ACH, the EFT effective date and an EFT trace number. JANE SAMPLE's claim is pending payer review: `STC*P2:46` (internal review/audit). Both carry the payer's claim control number in `REF*1K`. Every name, ID and amount is fictional, and `ISA15` is `T` (test). Use the **Plain English** tab for a readable summary, or click any segment to break it down element by element. ## 277 Structure at a Glance The 277 mirrors the 276 hierarchy (`BHT01` = `0010`) and adds status at each claim. | Loop | Segment | Name | Notes | |---|---|---|---| | Header | **ST** | Transaction Set Header | `ST01` = `277`, `ST03` = `005010X212` | | Header | **BHT** | Beginning of Hierarchical Transaction | `BHT02` = `08` and `BHT06` = `DG` in the X12 example | | 2000A / 2100A | **HL / NM1** | Information source (payer) | `HL03` = `20`, `NM101` = `PR` | | 2000B / 2100B | **HL / NM1** | Information receiver | `HL03` = `21`, `NM101` = `41` | | 2000C / 2100C | **HL / NM1** | Service provider | `HL03` = `19`, `NM101` = `1P` | | 2000D / 2100D | **HL / NM1** | Subscriber | `HL03` = `22`, `NM101` = `IL` | | 2200D | **TRN** | Claim Status Tracking Number | `TRN01` = `2`, echoing the 276 trace | | 2200D | **STC** | Claim Level Status Information | Repeats if there are several statuses | | 2200D | **REF** | Claim identifiers | `1K` payer claim control number, `EJ` patient control number, `BLT` bill type | | 2200D | **DTP** | Claim Service Date | `472` | | 2220D | **SVC / STC / REF / DTP** | Service line status | When the payer reports line-level status | | 2000E-2220E | | Dependent levels | Patient is a dependent, `NM101` = `QC` | | Trailer | **SE** | Transaction Set Trailer | Segment count and control number | ## Key Segments Explained ### TRN: Matching the Answer to the Question ``` TRN*2*SMPCLM1001~ ``` `TRN01` = `2` (referenced transaction trace number) and `TRN02` is the trace you sent in the 276. Match each claim's status to your open claim on this value. ### STC: Status Information ``` STC*F1:65*20261104**285*198.4*20261104*ACH*20261106*TESTEFT0001234~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **STC01-1** | Claim Status Category Code | `F1` | Finalized/Payment: the claim/line has been paid | | **STC01-2** | Claim Status Code | `65` | Claim/line has been paid | | **STC01-3** | Entity Identifier Code | | Which party the status refers to, when the code requires one | | **STC02** | Status Information Effective Date | `20261104` | When this status took effect | | **STC03** | Action Code | | Used on the 277CA (accept or reject) | | **STC04** | Total Claim Charge Amount | `285` | The billed amount | | **STC05** | Claim Payment Amount | `198.4` | What the payer paid | | **STC06** | Adjudication or Payment Date | `20261104` | When it was adjudicated or paid | | **STC07** | Payment Method Code | `ACH` | For example `ACH` or `CHK` | | **STC08** | Check Issue or EFT Effective Date | `20261106` | When the money moves | | **STC09** | Check or EFT Trace Number | `TESTEFT0001234` | Matches the trace number on the 835 and the bank deposit | | **STC10 / STC11** | Additional status composites | | More category/status pairs for the same claim | | **STC12** | Free-form Message Text | | Payer text | `STC01` is a composite, separated by the component separator from `ISA16` (`:` in this sample). Read the category and the status code together. `F2:88:QC` in the X12 example means finalized/denial, "entity not eligible for benefits for submitted dates of service," and the entity is the patient (`QC`). ### Claim Status Category Codes | Code | Meaning (X12) | What to do | |---|---|---| | `A1` | Acknowledgement/Receipt | Claim received; wait | | `A2` | Acknowledgement/Acceptance into adjudication system | Claim is in processing; wait | | `A3` | Acknowledgement/Returned as unprocessable claim | Correct and resubmit | | `A4` | Acknowledgement/Not Found | Check identifiers, the 999 and the 277CA; the claim may never have arrived | | `A6` / `A7` | Rejected for missing / invalid information | Fix what the status code names and resubmit | | `E0` | Response not possible: error on submitted request data | Fix the 276 itself | | `F1` | Finalized/Payment | Watch for the 835 and the deposit | | `F2` | Finalized/Denial | Review the denial; the 835 carries adjustment reason codes | | `F3` | Finalized/Revised | Adjudication changed; reconcile against the earlier 835 | | `F4` | Finalized/Adjudication complete, no payment forthcoming | No payment is coming from this payer; the 835 shows why | | `P1` | Pending/In Process | Wait | | `P2` | Pending/Payer Review | Wait, or be ready for a records request | | `P3` / `P4` | Pending/Provider or Patient Requested Information | The payer is waiting on someone; find out what it needs | | `R0`, `R1`, `R3`-`R17` | Requests for additional information | Respond with what is requested | ### Claim Status Codes You Will See Often | Code | Meaning (X12) | |---|---| | `1` | For more detailed information, see remittance advice | | `3` | Claim has been adjudicated and is awaiting payment cycle | | `20` | Accepted for processing | | `21` | Missing or invalid information (always paired with another code naming the item) | | `33` | Subscriber and subscriber id not found | | `35` | Claim/encounter not found | | `46` | Internal review/audit | | `65` | Claim/line has been paid | | `88` | Entity not eligible for benefits for submitted dates of service | | `187` | Date(s) of service | There are hundreds of status codes, and X12 adds, changes and retires them on its maintenance cycle. Load the current list from X12 rather than freezing a table in your code. ### REF: The Payer's Claim Number ``` REF*1K*TESTPCN0000001~ REF*EJ*SMPCLM1001~ ``` `REF*1K` is the payer's claim control number. Save it on the claim: it is the best key for future 276s, appeals, corrected claims and phone calls. `REF*EJ` echoes your patient control number. ### SVC: Line-Level Status ``` SVC*HC:99203*150*0****1~ STC*F2:88:QC*20050612~ ``` When a payer reports status by line, each 2220 loop starts with `SVC` (procedure composite, line charge, line payment) and carries its own `STC`. The X12 example above shows a line that was billed at $150, paid $0, and denied with the same reason as the claim. ## Where the 277 Sits in the Claim Cycle 1. Provider sends the [837 claim](/guides/edi/837-health-care-claim). 2. Clearinghouse or payer returns a 999 for the file and a 277CA for each claim. 3. Provider sends a 276 for claims still open after the expected window. 4. Payer returns the **277** with `STC` status for each claim. 5. Payer sends the [835](/guides/edi/835-health-care-claim-payment-advice) with payment and adjustment detail for finalized claims. Eligibility problems that show up as `F2` denials, such as status code `88`, are cheaper to catch earlier with a [270](/guides/edi/270-eligibility-benefit-inquiry) and [271](/guides/edi/271-eligibility-benefit-response), and services that need authorization go through the [278](/guides/edi/278-health-care-services-review) before the visit. ## Common 277 Errors and How to Prevent Them | Error | What happens | Prevention | |---|---|---| | **Only `STC01-1` read** | `F2` treated the same regardless of reason | Store and route on category plus status code plus entity | | **`STC10` and `STC11` ignored** | Missed second and third statuses | Parse every status composite in every `STC` | | **Line-level `STC` ignored** | Partial denials missed | Process 2220 loops when present | | **Payer claim number not saved** | Harder follow-up, duplicate claims | Store `REF*1K` on the claim record | | **"Not found" answered by resubmitting immediately** | Duplicate claims | Check the 277CA and 999 history first | | **277CA rejections left in a queue** | Claim never enters adjudication; filing limits run | Work `A3`, `A6` and `A7` acknowledgments daily | | **Hard-coded status code table** | New codes show as unknown | Refresh the X12 code lists on each maintenance release | | **277 payment amount used to post cash** | Posting without adjustment detail | Post from the 835; use the 277 for status and follow-up | ## 277 Implementation Checklist - Accept `GS01` = `HN` groups with `005010X212` and, if you receive them, `005010X214` for 277CAs - Route 277 and 277CA to different queues: status follow-up versus intake rejections - Parse `STC01`, `STC10` and `STC11` composites at claim and line level - Match on `TRN02`, and store `REF*1K` - Load current claim status category and status codes from X12 - Map each category to a work queue: wait, fix and resubmit, send records, appeal, post - Keep the raw 277 with the claim for audit - Test finalized-paid, finalized-denied, pending, not-found and 277CA reject scenarios For an introduction to X12 structure, see our [essential guide to EDI](/blog/essential-guide-to-edi), and for the other transaction sets, the [EDI document types reference](/edi-document-types). ## Where OrderSync Fits OrderSync's product is built for supplier order flows: it reads inbound purchase orders in any format (EDI 850 and 875, PDF, email, spreadsheets), matches customers, items and units, and outputs ERP data or valid X12. For healthcare EDI teams, the useful piece is the [free EDI inspector](/edi-inspector), which parses any X12 file, 277s and 277CAs included. Paste a test file to see each claim's `STC` status explained in plain English, segment by segment. Follow your organization's policies on protected health information before pasting a production file; test files with fictional data work just as well for checking structure. ## Frequently Asked Questions
### What is an EDI 277? The EDI 277 is the X12 Health Care Claim Status Response. A health plan sends it in reply to a 276 request, reporting the status of each claim with STC codes and, for finalized claims, charge and payment details. ### What is a 277CA? The 277CA is the Health Care Claim Acknowledgment, an X12 277 built to the 005010X214 implementation guide. A clearinghouse or payer sends it after receiving an 837 to say whether each claim was accepted into processing or rejected at intake. ### What is the difference between a 277 and a 277CA? The 277 answers a 276 status request about claims already in the system. The 277CA is sent automatically after an 837 and reports whether each claim got into the adjudication system at all. They use different implementation guides, X212 and X214. ### What does STC*F1:65 mean? F1 is the claim status category Finalized/Payment, and 65 is the status code "Claim/line has been paid." Together they say the claim has been paid. The 835 remittance gives the detail. ### What does category A4 mean in a 277? A4 is Acknowledgement/Not Found: the payer cannot find the claim in its adjudication system. Check that the claim was accepted on the 999 and 277CA, and that the 276 used the same member, provider, charge and dates as the claim. ### Where do claim status codes come from? X12 maintains them as external code lists: Claim Status Category Codes and Claim Status Codes. They are updated regularly, so check the current lists on x12.org rather than relying on an old copy. ### Should I post payments from a 277? Payment posting normally comes from the 835 remittance, which carries adjustment reason codes and line-level detail. The 277's payment amount and EFT trace number help you know a payment is coming and match it later.
--- # EDI 278 Prior Authorization: HIPAA 5010 Guide Source: https://ordersync.io/guides/edi/278-health-care-services-review > EDI 278 prior authorization explained: 005010X217 requests and responses, the UM, HCR, HI and SV1 segments, live examples and common errors. The EDI 278 is the X12 Health Care Services Review transaction used for prior authorizations, referrals and admission reviews. A provider sends a 278 request describing the patient, diagnosis and requested services, and the health plan or utilization management organization answers with a 278 response that certifies, modifies, pends or denies it. HIPAA uses the 005010X217 guide. **The EDI 278 is the electronic version of the prior authorization fax.** A provider asks a health plan to approve a service before it happens: an MRI, a surgery, an inpatient admission, a specialist referral. The plan's utilization management team reviews it and sends back a decision with a certification number. The same transaction set number covers both directions, so the first thing to learn is how to tell a request from a response. This guide covers what the 278 carries, its six-level hierarchy, the segments that hold the request and the decision, live request and response examples built from fictional data, how the 278 relates to the newer FHIR-based prior authorization APIs, and the errors that cause pended or rejected reviews. It describes the X12 structure only. It is not legal, clinical or compliance advice; coverage and medical necessity decisions belong to the health plan and its clinical reviewers. ## What Is an EDI 278? **An EDI 278 is the Health Care Services Review transaction set defined by [ASC X12](https://x12.org/examples/005010x217), used to request a review of health care services from a health plan or utilization management organization (UMO) and to return the result.** For HIPAA covered entities, [45 CFR 162.1302](https://www.ecfr.gov/current/title-45/subtitle-A/subchapter-C/part-162/subpart-M/section-162.1302) adopts the X12 Technical Report Type 3 "Health Care Services Review: Request for Review and Response (278)," report `005010X217`, with its April 2008 errata `005010X217E1`, as the standard for the referral certification and authorization transaction. The identifier in `GS08` and `ST03` is `005010X217`, and the functional group code in `GS01` is `HI`. Authoritative references for 278 work: - The [X12 005010X217 examples](https://x12.org/examples/005010x217) walk through a referral, an admission with surgery, a behavioral health emergency admission, home health care and other cases, request and response, with the TR3's explanations - [CMS's Interoperability and Prior Authorization final rule (CMS-0057-F) fact sheet](https://www.cms.gov/newsroom/fact-sheets/cms-interoperability-and-prior-authorization-final-rule-cms-0057-f) describes the Prior Authorization API that impacted payers must implement and HHS's enforcement discretion for the X12 278 when an all-FHIR API is used - CAQH CORE publishes Prior Authorization and Referrals operating rules. Its [operating rules page](https://www.dataspring.com/core/operating-rules) lists the federally mandated sets as eligibility and benefits, claim status, and payment and remittance, which matches the rules [CMS lists as adopted](https://www.cms.gov/priorities/key-initiatives/burden-reduction/administrative-simplification/operating-rules) - Each health plan's companion guide lists the services that need review, the review types and service type codes it accepts, and its required fields **Who sends the request?** The provider who orders or performs the service (the requester), or a clearinghouse or vendor for it. **Who sends the response?** The health plan or the UMO that manages reviews for it. **When is it sent?** Before scheduled services that the plan requires review for, at or after an urgent admission, or when extending or revising an existing authorization. **Why does it matter?** A claim for a service that needed authorization and did not get one is likely to be denied. The certification number from the 278 response is what you carry onto the [837 claim](/guides/edi/837-health-care-claim). ## Request or Response? Reading BHT and HCR | Clue | Request | Response | |---|---|---| | **`BHT02`** | `13` (request) | `11` (response) | | **`BHT06`** | Not used in the X12 request examples | `18` in the X12 response examples (response, no further updates to follow) | | **`TRN01`** | `1`: the requester's trace number | `2`: the requester's trace number echoed back | | **`HCR` segment** | Absent | Present: the decision and the review identification number | X12 also publishes 278 guides for inquiries about existing reviews (`005010X215`) and for notifications (`005010X216`). Payers that use them publish separate companion guides, and they are not the standard adopted in 45 CFR 162.1302. This guide covers `005010X217`. ## How a Prior Authorization Works in X12 1. **The order is placed.** A physician orders a service. The practice checks the plan's rules, or sees `EB11` = `Y` (authorization required) on a [271 eligibility response](/guides/edi/271-eligibility-benefit-response). 2. **The practice sends a 278 request.** It names the UMO, the requester, the patient, the review type, the diagnosis, the service and the servicing provider. 3. **The clearinghouse validates and routes it.** A file that fails validation comes back as a [999](/guides/edi/999-implementation-acknowledgment). 4. **The UMO reviews it.** Some requests are approved automatically; others go to clinical review and may be pended for records. 5. **The UMO sends a 278 response.** `HCR01` carries the decision, `HCR02` the review or certification number, and `DTP` the dates the certification covers. 6. **The practice schedules and bills.** Staff record the certification number, schedule within the certified dates, and put the number on the claim. ## Interactive Example: 278 Request for an Outpatient MRI A fictional family practice requests a health services review for a lumbar spine MRI without contrast (CPT `72148`) for JOHN SAMPLE, with ICD-10-CM diagnosis `M54.16` (radiculopathy, lumbar region) sent as `M5416` without the decimal point. The patient event level carries the review type, diagnosis and the imaging facility; the service level carries the procedure and requested date. Every name, member ID, payer ID and NPI is fictional, the clinical scenario is invented for illustration, and `ISA15` is `T` (test). Use the **Plain English** tab for a readable summary, or click any segment to break it down element by element. ## Interactive Example: 278 Response Certifying the MRI The fictional plan approves the request in full. The response repeats the request's detail, as the X12 examples do, adds `HCR*A1` with the review identification number at the event and service levels, and gives a certification date range in `DTP*AAH`. ## 278 Structure at a Glance `BHT01` value `0007` declares the hierarchy: information source, information receiver, subscriber, dependent, event, services. | Loop | Segment | Name | Notes | |---|---|---|---| | Header | **ST** | Transaction Set Header | `ST01` = `278`, `ST03` = `005010X217` | | Header | **BHT** | Beginning of Hierarchical Transaction | Structure `0007`; `13` request or `11` response | | 2000A / 2010A | **HL / NM1** | Utilization management organization | `HL03` = `20`, `NM101` = `X3` | | 2000B / 2010B | **HL / NM1 / PER** | Requester | `HL03` = `21`, the provider asking, with a contact | | 2000C / 2010C | **HL / NM1 / DMG** | Subscriber | `HL03` = `22`, member ID and demographics | | 2000D / 2010D | **HL / NM1 / DMG** | Dependent | `HL03` = `23`, when the patient is a dependent | | 2000E | **HL** | Patient Event Level | `HL03` = `EV` | | 2000E | **TRN** | Patient Event Tracking Number | The requester's trace | | 2000E | **UM** | Health Care Services Review Information | Review type, certification type, service type, place of service | | 2000E | **HCR** | Health Care Services Review | Response only: decision and review number | | 2000E | **DTP** | Event dates | Such as admission date (`435`) or certification period (`AAH`) | | 2000E | **HI** | Patient Diagnosis | ICD-10-CM codes | | 2000E | **HSD / CL1 / MSG** | Quantities, institutional data, messages | Situational | | 2010E | **NM1 / N3 / N4 / PER** | Patient event providers | Servicing provider, facility, attending physician | | 2000F | **HL** | Service Level | `HL03` = `SS`, one per requested service | | 2000F | **TRN / UM / HCR / DTP** | Service review data | Same roles as at the event level, per service | | 2000F | **SV1 / SV2** | Professional or institutional service | The procedure requested; the TR3 defines other service segments for other service types | | 2010F | **NM1 / PRV** | Service providers | Provider for this service | | Trailer | **SE** | Transaction Set Trailer | Segment count and control number | ## Key Segments Explained ### HL: Event and Service Levels ``` HL*4*3*EV*1~ HL*5*4*SS*0~ ``` The first three levels (UMO, requester, subscriber) work like the 270 and 276. The 278 adds two: `EV`, the patient event, holding what applies to the whole episode, and `SS`, one per service. An X12 interpretation ([RFI 1371](https://x12.org/resources/requests-for-interpretation/rfi-1371-278x217-service-loop-count)) confirms that every `SS` level points to the `EV` level as its parent in `HL02`, not to the previous service. ### UM: Health Care Services Review Information ``` UM*HS*I*62*11:B~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **UM01** | Request Category Code | `HS` | `AR` admission review, `HS` health services review, `SC` specialty care review (referral) | | **UM02** | Certification Type Code | `I` | The X12 code list includes `I` initial, `S` revised, `R` renewal, `4` extension, `3` cancel, `1` and `2` appeal (immediate, standard) and `N` reconsideration; the TR3 and payer guide say which apply | | **UM03** | Service Type Code | `62` | MRI/CAT scan. Others include `2` surgical, `3` consultation, `42` home health care, `73` diagnostic medical | | **UM04** | Health Care Service Location Information | `11:B` | Facility code `11` with qualifier `B` (place of service code, here office); qualifier `A` means a UB facility type code | | **UM05-UM10** | Related causes, level of service, condition, prognosis, release of information, delay reason | | Situational | Payers restrict these values. One major payer's companion guide, for example, accepts only certain `UM03` and `UM04` combinations for authorizations. Check the companion guide before building your map. ### HI: Patient Diagnosis ``` HI*ABK:M5416~ ``` Each `HI` element is a composite: a code list qualifier and a code. For ICD-10-CM, `ABK` marks the principal diagnosis and `ABF` other diagnoses, and payer guides also list `ABJ` (admitting). Codes are sent without the decimal point. The X12 example set predates ICD-10 and shows `BF` (an ICD-9-CM qualifier); current transactions use the ICD-10 qualifiers. ### SV1 and SV2: The Service Requested ``` SV1*HC:72148**UN*1~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **SV101** | Composite Medical Procedure Identifier | `HC:72148` | `HC` (HCPCS, which includes CPT) and the procedure code | | **SV102** | Line Item Charge | | Optional on a review request | | **SV103** | Unit or Basis for Measurement | `UN` | Units | | **SV104** | Service Unit Count | `1` | One study | Institutional services use `SV2`, with the procedure in `SV202` (the X12 admission example uses `SV2**HC:33510`). Request the specific code you plan to bill. A certification for one procedure code does not automatically cover a different one on the claim. ### HCR: The Decision ``` HCR*A1*TESTAUTH00042~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **HCR01** | Action Code | `A1` | The decision (see below) | | **HCR02** | Review Identification Number | `TESTAUTH00042` | The certification or authorization number to keep and bill with | | **HCR03** | Review Decision Reason Code | | Why the plan did not certify in full, when it says | | **HCR04** | Second Surgical Opinion Indicator | | When a second opinion is required | | HCR01 | Meaning | What to do | |---|---|---| | `A1` | Certified in total | Schedule within the certified dates and quantities | | `A2` | Certified, partial | Check what was certified; it may be fewer units or days | | `A3` | Not certified | Read `HCR03`; follow the plan's reconsideration or appeal process | | `A4` | Pended | The review is not finished; the plan may need records | | `A6` | Modified | Approved with changes, such as a different setting or length of stay | | `C` | Cancelled | The review was cancelled | | `CT` | Contact payer | Call or use the plan's portal | | `NA` | No action required | The plan says no review is needed for this service | The X12 admission example shows why `HCR` can appear at both levels: the surgery is certified in total (`A1`) at the service level, while the inpatient stay is modified (`A6`) at the event level from seven days requested to five certified. ### DTP: Dates ``` DTP*AAH*RD8*20261105-20270203~ DTP*472*D8*20261112~ ``` `AAH` is the certification effective period on a response: the window in which the service is authorized, as in the X12 referral example. `472` is the service date requested, and `435` the admission date on an admission review. Schedule inside the `AAH` range; a service outside it may not be covered by the certification. ### HSD and CL1: Quantities and Admissions `HSD` states how much is requested or certified: `HSD*VS*1` for one visit, `HSD*DY*7` for seven days. `CL1` carries institutional admission data; in the X12 admission example `CL1*2` is an urgent admission. Compare request and response quantities, because the response may certify less than you asked for. ## Prior Authorization APIs and the 278 CMS's [Interoperability and Prior Authorization final rule](https://www.cms.gov/newsroom/fact-sheets/cms-interoperability-and-prior-authorization-final-rule-cms-0057-f) requires impacted payers, which include Medicare Advantage organizations, state Medicaid and CHIP fee-for-service programs, Medicaid managed care plans, CHIP managed care entities, and qualified health plan issuers on the federally facilitated exchanges, to implement a FHIR-based Prior Authorization API beginning January 1, 2027 (exact dates vary by payer type). CMS also states that covered entities with an all-FHIR Prior Authorization API that do not use the X12 278 will not be enforced against under HIPAA Administrative Simplification, and that covered entities may still offer an X12-only prior authorization transaction. In practice, the X12 278 remains the HIPAA standard for this transaction, and many payers and clearinghouses continue to support it alongside portals and APIs. Check each payer's current options; the rule's text and CMS's guidance govern who must do what and when. ## 278 vs 270/271, 837 and 277 | Document | When | What it does | |---|---|---| | **[270](/guides/edi/270-eligibility-benefit-inquiry) / [271](/guides/edi/271-eligibility-benefit-response)** | Before ordering or scheduling | Confirms coverage and can flag that authorization is required | | **278 request / response** | Before the service (or soon after an urgent admission) | Requests and returns the review decision and certification number | | **[837 claim](/guides/edi/837-health-care-claim)** | After the service | Bills it, carrying the prior authorization number | | **[276](/guides/edi/276-claim-status-request) / [277](/guides/edi/277-claim-status-response)** | After billing | Tracks the claim's status | | **[835](/guides/edi/835-health-care-claim-payment-advice)** | After adjudication | Explains payment and any denial for missing authorization | ## Common 278 Errors and How to Prevent Them | Error | What happens | Prevention | |---|---|---| | **Wrong `UM01` for the service** | Rejected or routed to the wrong review queue | Map review types from the payer's guide: `AR` for admissions, `HS` for services, `SC` for referrals | | **`UM03`/`UM04` combination not accepted** | Rejection with an `AAA` code | Follow the payer's list of accepted service types and places of service | | **`SS` levels chained to each other** | Validation errors or misread services | Point every `SS` level's `HL02` to the `EV` level | | **Diagnosis missing, or sent with a decimal point** | Pended or rejected | Send ICD-10-CM codes without the decimal, principal first (`ABK`) | | **Procedure requested differs from the one billed** | Claim denied for no authorization | Request the exact code you will bill; send a revision (`UM02` = `S`) if it changes | | **Response trace not matched** | Decision attached to the wrong patient | Match on `TRN02` returned with `TRN01` = `2` | | **Only `HCR01` = `A1` handled** | Partial, modified and pended decisions missed | Route every `HCR01` value to a work queue | | **Certification dates ignored** | Service performed outside the `AAH` window | Schedule from the returned dates, not the requested ones | | **Certification number not carried to the claim** | Claim denied even though the service was approved | Store `HCR02` with the order and map it into the 837 | ## 278 Implementation Checklist - Confirm each payer accepts `005010X217` 278s, and whether it answers in real time, batch, by portal or by API - Get each payer's companion guide and list of services that require review - Map `UM01`, `UM02`, `UM03` and `UM04` from the order type and setting - Send ICD-10-CM diagnoses with the right `HI` qualifiers and procedure codes in `SV1` or `SV2` - Build the `EV` and `SS` levels with correct `HL02` parents - Store `TRN02`, `HCR01`, `HCR02` and the `DTP*AAH` dates with the order - Route `A2`, `A3`, `A4`, `A6` and `CT` decisions to staff with clear next steps - Carry the certification number to the 837 - Test approval, partial approval, modification, pend, denial and revision scenarios New to X12? Our [essential guide to EDI](/blog/essential-guide-to-edi) covers envelopes and segments, and [EDI vs API](/blog/edi-vs-api) compares batch EDI with API-based exchange. ## Where OrderSync Fits OrderSync's product is built for supplier order flows: it reads inbound purchase orders in any format (EDI 850 and 875, PDF, email, spreadsheets), matches customers, items and units, and outputs ERP data or valid X12. For healthcare EDI teams, the useful piece is the [free EDI inspector](/edi-inspector), which parses any X12 file, 278 requests and responses included. Paste a test 278 to see the event and service levels, review type, diagnosis, procedure and decision explained, and get structural errors flagged. Follow your organization's policies on protected health information before pasting a production file; test files with fictional data work just as well for checking structure. ## Frequently Asked Questions
### What is an EDI 278? The EDI 278 is the X12 Health Care Services Review transaction. Providers use it to request prior authorization, referral or admission review from a health plan, and the plan or its utilization management organization uses it to send back the decision. ### What does 005010X217 mean? It identifies the HIPAA implementation guide for the 278 request for review and response: X12 version 005010, technical report X217. It appears in GS08 and ST03. The 2008 errata, 005010X217E1, did not change that identifier. ### How do I tell a 278 request from a 278 response? Check BHT02: 13 is a request and 11 is a response. A response also contains HCR segments with the decision, and its TRN segment uses TRN01 = 2 to echo the requester's trace number. ### What does HCR*A1 mean? A1 is the action code for "certified in total." HCR02 carries the review identification number, which is the certification or authorization number you keep and put on the claim. ### What is the difference between UM01 codes AR, HS and SC? AR is an admission review, for inpatient stays. HS is a health services review, for procedures and other services. SC is a specialty care review, typically a referral to a specialist. ### Is the X12 278 being replaced by FHIR prior authorization APIs? CMS's Interoperability and Prior Authorization final rule requires impacted payers to offer a FHIR-based Prior Authorization API, and HHS announced enforcement discretion for all-FHIR implementations that do not use the X12 278. The 278 remains the HIPAA-adopted standard and is still widely supported. ### Why was my 278 pended? A pended response (HCR01 = A4) means the review is not complete. The plan may need clinical records or more information, or the request is in clinical review. Its companion guide and any AAA or MSG content explain what to send.
--- # EDI 300 Ocean Booking Request: Spec and Sample Source: https://ordersync.io/guides/edi/300-reservation-booking-request-ocean > EDI 300 explained: the ocean booking request, its B1, Y1, Y2, R4 and L0 segments, a live sample, and how it leads to the 301, 304, 310 and 315. The EDI 300 Reservation (Booking Request) (Ocean) is the X12 transaction a shipper, importer, forwarder or NVOCC sends an ocean carrier to ask for space on a sailing. It carries the requested sailing date, the number and type of containers, the service, the shipper and consignee, the origin and destination points, and a description of the cargo. **The EDI 300 is where an ocean shipment starts.** Before a container is released, loaded or billed, someone has to ask the carrier for space. The 300 is that request in electronic form: how many boxes, what size, from where, to where, around which date, and what is going in them. The carrier answers with a [301 confirmation](/guides/edi/301-confirmation-ocean) and a booking number, and every later ocean document hangs off that number. This guide covers what the 300 carries, where it sits in the ocean flow, every segment you will map, a live sample for two 40-foot high cube containers from Shanghai to Southern California, how it differs from the 301 and the motor-carrier 204, and the errors that turn into rolled bookings and wrong equipment. ## What Is an EDI 300? **An EDI 300 is the Reservation (Booking Request) (Ocean) transaction set defined by [ASC X12](https://x12.org/products/transaction-sets), used to request space on an ocean carrier's vessel for a shipment.** It names the cargo, the equipment wanted, the places of receipt, loading, discharge and delivery, and the dates the shipper is working to. The 300 travels in functional group `RO` (the `GS01` value), which it shares with the 301 confirmation and the 303 booking cancellation. Authoritative references for 300 work: - The [X12 transaction set catalog](https://x12.org/products/transaction-sets) defines the 300 structure, segment order and loops - [Stedi's X12 004010 reference for the 300](https://www.stedi.com/edi/x12-004010/300) lists the segments, elements and code values for release 004010 - The UN/LOCODE list maintained by UNECE supplies the five-character location codes (such as `CNSHA` and `USLAX`) most carriers expect in the `R4` segments - Each ocean carrier publishes its own 300 implementation guide, which sets the references, equipment codes and service codes it accepts **Who sends it?** Whoever controls the booking: an exporter shipping on its own contract, an importer booking freight on a buyer-controlled move, or a forwarder or NVOCC booking on behalf of either. **Who receives it?** The ocean carrier, directly or through a booking portal or network that passes the 300 on. **When is it sent?** Days or weeks before the sailing, once the cargo and the ready date are known. A changed request goes as another 300 with a change action, and a cancellation usually goes as a 303. **Why does it matter?** The booking reserves the space and the equipment. If the container type, count or origin is wrong on the 300, the carrier confirms the wrong thing, the wrong empties are released, or the cargo misses its vessel. ## The Ocean Document Flow: 300, 301, 304, 310, 315 and 322 | Set | X12 name | Usually sent by | What it does | |---|---|---|---| | **300** | Reservation (Booking Request) (Ocean) | Shipper, importer, forwarder or NVOCC | Asks the carrier for space | | **[301](/guides/edi/301-confirmation-ocean)** | Confirmation (Ocean) | Ocean carrier | Confirms, changes or declines the booking and returns the booking number | | **303** | Booking Cancellation (Ocean) | Shipper, importer, forwarder or NVOCC | Cancels a booking | | **[304](/guides/edi/304-shipping-instructions)** | Shipping Instructions | Shipper, importer, forwarder or NVOCC | Gives the details for the bill of lading | | **[310](/guides/edi/310-freight-receipt-and-invoice-ocean)** | Freight Receipt and Invoice (Ocean) | Ocean carrier | Returns the bill of lading data and the freight charges | | **[315](/guides/edi/315-status-details-ocean)** | Status Details (Ocean) | Ocean carrier | Reports container events to the shipper or consignee | | **[322](/guides/edi/322-terminal-operations-intermodal-ramp-activity)** | Terminal Operations and Intermodal Ramp Activity | Marine terminal or rail ramp | Reports container events at the terminal to the carrier or railroad | A typical full-container-load move runs: 300 booking request, 301 confirmation with the booking number and empty release, empty pickup and gate-in, 304 shipping instructions before the documentation cutoff, 310 bill of lading and charges, then 315 events through to empty return. Terminals report their own gate and vessel moves to the carrier on 322s, and those events often feed the carrier's 315s. Carriers differ in which sets they support, so treat the sequence as typical rather than fixed. ## Interactive Example: 300 for Two 40-Foot High Cubes, Shanghai to Ontario, California A US importer, Cascade Home Imports, books two 40-foot high cube containers of wooden furniture parts with an ocean carrier (SCAC `BLUQ`). The supplier in Shanghai is the shipper. `B1` carries the importer's shipment reference and a new-request action code. `G61` gives the booking desk to call. `Y1` asks for a sailing around 3 November and names the carrier and mode. `Y2` requests two `45G1` containers without chassis on pier-to-house service. `N9` carries the purchase order. The `R4` loops give the place of receipt, the port of loading with the requested departure, the port of discharge and the place of delivery. `L0` and `L5` describe 1,240 cartons, 18,420 kg and 58.4 cubic meters. All names, numbers and codes for the parties, carrier and cargo are fictional, and the same shipment runs through the [301](/guides/edi/301-confirmation-ocean), [304](/guides/edi/304-shipping-instructions), [310](/guides/edi/310-freight-receipt-and-invoice-ocean) and [315](/guides/edi/315-status-details-ocean) samples on this site. Use the **Plain English** tab for a readable summary, or click any segment to break it down element by element. ## 300 Structure at a Glance The table follows X12 release 004010 and lists the segments most bookings use. The standard has more, including authentication (`Y6`), priority (`Y7`), route preferences (`R2A`), equipment attributes (`EA`), hazardous material (`H1`, `H2`) and remarks (`K1`). | Area | Segment | Name | Usage in the standard | Notes | |---|---|---|---|---| | Heading | **ST** | Transaction Set Header | Mandatory | `ST01` = `300` | | Heading | **B1** | Beginning Segment for Booking or Pick-up/Delivery | Mandatory | Shipment reference and reservation action | | Heading | **G61** | Contact | Optional, up to 3 | Booking contact | | Heading | **Y1** | Space Reservation Request | Mandatory | Requested sailing date, carrier, mode | | Heading loop | **Y2 / W09** | Container Details, Equipment and Temperature | Mandatory, up to 10 | Container count, type, service; reefer settings in `W09` | | Heading | **N9** | Reference Identification | Optional, up to 100 | PO and other references | | Heading loop | **N1 / N2 / N3 / N4 / G61** | Name and address | Mandatory, up to 10 | Shipper, consignee and other parties | | Heading loop | **R4 / DTM** | Port or Terminal, Date/Time | Mandatory, up to 20 | Receipt, loading, discharge and delivery points | | Heading | **H3** | Special Handling Instructions | Optional, up to 6 | Handling requirements | | Detail loop | **LX** | Assigned Number | Repeats up to 999 | One loop per cargo line | | Detail loop | **N7** | Equipment Details | Optional | Specific equipment, when known | | Detail loop | **L0 / L5 / L4** | Quantity and Weight, Description, Measurement | Optional | The cargo | | Detail | **V1** | Vessel Identification | Optional, up to 2 | A requested vessel, when the shipper has one in mind | | Summary | **SE** | Transaction Set Trailer | Mandatory | Segment count and control number | "Optional" in the standard is often "required" in a carrier's guide. Many carriers insist on a contact, the commodity and the weight on every booking. ## Key Segments Explained ### B1: Beginning Segment for Booking or Pick-up/Delivery ``` B1**CHI2610160412**N~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **B101** | Standard Carrier Alpha Code | | A SCAC; the standard describes it as the carrier sending the transmission, so it is often empty on a 300 sent by a shipper | | **B102** | Shipment Identification Number | `CHI2610160412` | The sender's reference for this shipment. The standard says it must not contain blanks or special characters | | **B103** | Date | | The booking date; carriers fill it on the 301 | | **B104** | Reservation Action Code | `N` | `N` new, `U` change, `R` delete. The carrier uses `A`, `B`, `C` and `D` on the 301 | Keep `B102` unique per booking request. The carrier echoes it on the 301, and it is the only key you have until the booking number comes back. ### Y1: Space Reservation Request ``` Y1*20261103**BLUQ*O~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **Y101** | Sailing/Flight Date Estimated | `20261103` | The sailing date you are asking for | | **Y102** | Date | | The date the shipment is available at origin, qualified by `Y109`. The two travel together | | **Y103** | Standard Carrier Alpha Code | `BLUQ` | The carrier you are booking with | | **Y104** | Transportation Method/Type Code | `O` | `O` containerized ocean | | **Y108** | Tariff Service Code | | A rating service code, when the carrier's guide asks for one | The requested sailing is a request. The carrier's 301 tells you the vessel and date it actually gave you, and the two often differ. ### Y2: Container Details ``` Y2*2*R*PH*45G1~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **Y201** | Number of Containers | `2` | How many containers of this type | | **Y202** | Container Type Request Code | `R` | `R` containers only, `C` containers with chassis, `W` chassis only, `S` shipper to provide | | **Y203** | Type of Service Code | `PH` | The extent of service: `PH` pier-to-house, `PP` pier-to-pier, `HH` house-to-house, `CY` container yard, `DD` door to door and others | | **Y204** | Equipment Type | `45G1` | A four-character equipment type; `45G1` is the ISO 6346 size-type code for a 40-foot high cube general-purpose container | | **Y205** | Transportation Method/Type Code | | Mode, when different from `Y1` | Send one `Y2` per container type, so a booking for two 40-foot high cubes and one 20-foot standard carries two `Y2` loops. Which equipment type codes a carrier accepts in `Y204` (ISO size-type codes or older four-digit codes) and how it reads the `Y203` service codes against its own CY and door terms is set by its guide. For refrigerated cargo, a `W09` follows the `Y2` with the minimum and maximum temperature and the unit. ### N9: Reference Identification ``` N9*PO*4500918832~ ``` | Qualifier | Meaning | Why you need it | |---|---|---| | `PO` | Purchase order number | Ties the booking to the order the goods are on | | `CR` | Customer reference number | Your own booking or shipment reference | | `CT` | Contract number | The service contract the booking moves under, when the carrier asks for it | Which `N9` qualifiers the carrier stores and returns differs by carrier. Send the purchase order on the booking anyway: when it comes back on the 301, 310 and 315, matching gets much easier. ### N1 Loop: Parties ``` N1*SH*LINHAI WOODCRAFT CO LTD~ N4*SHANGHAI**201800*CN~ N1*CN*CASCADE HOME IMPORTS LLC~ N4*ONTARIO*CA*91761*US~ ``` `N101` gives the role: `SH` shipper, `CN` consignee, and in many guides a booking party, forwarder or notify party as well. The 300 only needs enough to book the space. The full names and addresses that will print on the bill of lading go on the [304 shipping instructions](/guides/edi/304-shipping-instructions). ### R4 Loop: Port or Terminal ``` R4*R*UN*CNSHA*SHANGHAI*CN~ R4*L*UN*CNSHA*SHANGHAI*CN~ DTM*369*20261103~ R4*D*UN*USLAX*LOS ANGELES*US~ R4*E*UN*USONT*ONTARIO*US~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **R401** | Port or Terminal Function Code | `L` | `R` place of receipt, `L` port of loading, `D` port of discharge, `E` place of delivery | | **R402** | Location Qualifier | `UN` | `UN` means `R403` is a UN/LOCODE | | **R403** | Location Identifier | `CNSHA` | The location code | | **R404** | Port Name | `SHANGHAI` | Name | | **R405** | Country Code | `CN` | Country | The standard requires at least one `R4`. The `DTM` after an `R4` dates the request at that point: here `369`, estimated departure date. The place of receipt and place of delivery decide how much inland moving the carrier does, so they must agree with the service code in `Y203`. ### L0 and L5: Cargo ``` L0*1***18420*G*58.4*X*1240*CTN**K~ L5*1*WOODEN FURNITURE PARTS~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **L001** | Lading Line Item Number | `1` | Line number, shared with `L5` | | **L004 / L005** | Weight, Weight Qualifier | `18420` / `G` | Gross weight | | **L006 / L007** | Volume, Volume Unit Qualifier | `58.4` / `X` | `X` cubic meters, `E` cubic feet | | **L008 / L009** | Lading Quantity, Packaging Form Code | `1240` / `CTN` | 1,240 cartons | | **L011** | Weight Unit Code | `K` | Kilograms | | **L502** | Lading Description | `WOODEN FURNITURE PARTS` | The commodity | The weight on a booking is an estimate. Carriers use it to plan the vessel, and the final figure comes later on the 304. ## EDI 300 vs 301, 303, 304 and 204 | Document | Mode | Sent by | Purpose | |---|---|---|---| | **300 Reservation (Booking Request) (Ocean)** | Ocean | Shipper, importer, forwarder or NVOCC | Requests space and equipment | | **[301 Confirmation (Ocean)](/guides/edi/301-confirmation-ocean)** | Ocean | Ocean carrier | Confirms the booking and releases empties | | **303 Booking Cancellation (Ocean)** | Ocean | Booking party | Cancels a booking | | **[304 Shipping Instructions](/guides/edi/304-shipping-instructions)** | Ocean | Booking party | Bill of lading details, after the booking | | **[204 Motor Carrier Load Tender](/guides/edi/204-motor-carrier-load-tender)** | Truck | Shipper | Offers a truck load to a carrier | The 300 and the 204 do a similar job: one party asks a carrier to take a shipment. The 204 tenders a specific load with stops and appointments and is answered by a [990](/guides/edi/990-response-to-load-tender). The 300 reserves space on a sailing and equipment at origin, and is answered by a 301 with a booking number. Neither one is a bill of lading. On ocean moves the bill of lading data goes on the 304 and comes back on the 310. ## Common 300 Errors and How to Prevent Them | Error | What happens | Prevention | |---|---|---| | **Wrong equipment type code** | The carrier rejects the booking or releases the wrong containers | Load the carrier's accepted `Y204` codes and validate before sending | | **Duplicate shipment references** | A second request overwrites or is confused with the first | Generate a unique `B102` per request and keep it for the life of the booking | | **Changes sent as new requests** | Two bookings for the same cargo | Send changes with `B104` = `U` against the same `B102`, or as the carrier's guide says | | **Location codes missing or in the wrong scheme** | Booking falls out to manual handling | Use the qualifier and code type the carrier expects in `R402` and `R403`, usually UN/LOCODE | | **Service code disagrees with the route** | Carrier quotes or plans the wrong inland legs | Check that `Y203` matches the place of receipt and place of delivery you sent | | **No 301 back** | You assume space you do not have | Alert when a 300 has no 301 within the time your carrier normally answers | | **No PO on the booking** | Containers cannot be traced to orders later | Send the PO in `N9` and keep it on the 304 | ## 300 Implementation Checklist Before your first live 300 to an ocean carrier: - Get the carrier's 300 implementation guide and confirm the X12 version in `GS08` (004010 is common) and the `RO` functional group - Confirm how it wants changes and cancellations: a 300 with a change code, a 303, or both - Load its accepted equipment type codes and service codes - Agree which location code scheme it uses in `R4` - Decide which references you send in `N9`, and check which ones it echoes on the 301 - Send the 300 from the same system that holds your purchase orders, so the PO numbers are right - Confirm the 997 the carrier returns for each 300, and the 301 you expect back - Test a new booking, a change, a cancellation, a mixed-equipment booking and a reefer booking if you ship refrigerated cargo Our [EDI document types reference](/edi-document-types) shows where ocean sets sit beside the [850 purchase order](/guides/edi/850-purchase-order) and the [856 ASN](/guides/edi/856-ship-notice). The [SCAC code glossary entry](/glossary/scac-code) explains the carrier codes in `Y1` and the envelope. ## Where OrderSync Fits A booking is only as good as the order behind it. The quantities, weights and purchase order numbers on a 300 come from the orders your customers sent you, or the orders you placed with your suppliers, and those arrive as EDI 850s, PDFs, emails and spreadsheets. OrderSync reads inbound orders in any format, matches customers, items and units to your catalog, and outputs clean ERP data or valid X12, so the PO numbers on your bookings point at accurate orders. Paste any 300 into the [free EDI inspector](/edi-inspector) to see it parsed segment by segment with a plain-English summary and any structural errors explained, or [book a 15-minute walkthrough](/book-call) to see your own orders processed. ## Frequently Asked Questions
### What is an EDI 300? The EDI 300 Reservation (Booking Request) (Ocean) is the X12 transaction used to ask an ocean carrier for space on a sailing. It carries the requested sailing date, the number and type of containers, the service, the parties, the origin and destination points, and the cargo description and weight. ### What is the difference between EDI 300 and EDI 301? The 300 is the booking request sent to the carrier. The 301 is the carrier's answer: it accepts, conditionally accepts, counters or declines the request, and when space is given it returns the booking number, the sailing and the empty container release. ### Who sends the EDI 300? Whoever controls the booking: an exporter on its own freight contract, an importer on a buyer-controlled move, or a forwarder or NVOCC booking for a customer. It goes to the ocean carrier, directly or through a booking portal or network. ### Which segment holds the container count and type in a 300? The Y2 segment. Y201 is the number of containers, Y202 says whether containers, chassis or both are wanted, Y203 is the type of service and Y204 is the four-character equipment type code. A booking with more than one container type sends one Y2 per type. ### How do I change or cancel an EDI 300 booking? Changes usually go as another 300 with the reservation action code in B104 set to U, using the same shipment reference. Cancellations go as a 303 Booking Cancellation, or with the delete code R where the carrier allows it. The carrier's guide says which it accepts. ### What functional group and version does the 300 use? The 300 travels in functional group RO, the value in GS01, shared with the 301 and 303. Many carrier guides use X12 release 004010, and the version for a given carrier is named in GS08. ### What happens after the 300? The carrier sends a 301 with the booking number. The shipper picks up the empties, loads them and sends a 304 with the shipping instructions. The carrier returns a 310 with the bill of lading data and charges, and 315 status messages follow the containers to delivery.
--- # EDI 301 Ocean Booking Confirmation Guide Source: https://ordersync.io/guides/edi/301-confirmation-ocean > EDI 301 explained: how ocean carriers confirm, change or decline a booking, the B1, Y3, Y4, R4 and V1 segments, a live sample, and the 300 to 315 flow. The EDI 301 Confirmation (Ocean) is the X12 transaction an ocean carrier sends to answer a booking request. It accepts, conditionally accepts, counters or declines the booking and, when space is given, returns the booking number, the vessel and sailing date, the estimated arrival, the cargo cutoff and where and when empty containers can be picked up. **The EDI 301 is the carrier's answer to your booking, and it carries the number every later document uses.** You send a [300 booking request](/guides/edi/300-reservation-booking-request-ocean). The carrier sends back a 301 saying yes, yes with conditions, here is a counter offer, or no. When the answer is yes, the 301 gives you the booking number, the vessel and voyage you are on, the cutoff at the pier, and the depot where your empties are waiting. This guide covers what the 301 carries, where it sits in the ocean flow, every segment you will map, a live sample that confirms two 40-foot high cubes from Shanghai, how to read a decline or a change, and the errors that leave cargo without space. ## What Is an EDI 301? **An EDI 301 is the Confirmation (Ocean) transaction set defined by [ASC X12](https://x12.org/products/transaction-sets), used by an ocean carrier to confirm a booking request and give the details of the space and equipment it has reserved.** It travels in functional group `RO` (the `GS01` value), the same group as the 300 request and the 303 booking cancellation. Authoritative references for 301 work: - The [X12 transaction set catalog](https://x12.org/products/transaction-sets) defines the 301 structure, segment order and loops - [Stedi's X12 004010 reference for the 301](https://www.stedi.com/edi/x12-004010/301) lists the segments, elements and code values for release 004010, including the notes on the `Y3` space confirmation - The [BIC container prefix register](https://www.bic-code.org/) governs the four-letter owner codes in ISO 6346 container numbers, which appear when a carrier assigns specific equipment in `N7` - Each ocean carrier publishes its own 301 implementation guide, which sets which action codes it sends, how it reports changes and where it puts cutoffs **Who sends it?** The ocean carrier, or an NVOCC confirming its own bookings to its customers. **Who receives it?** The party that sent the 300: an exporter, an importer on a buyer-controlled move, or a forwarder or NVOCC. **When is it sent?** After the carrier processes the booking request. Carriers commonly send further 301s when the booking changes: a new vessel, a new sailing date, a changed equipment release, or a cancellation on their side. **Why does it matter?** No 301, no booking. The booking number is what the depot asks for when your trucker collects the empties, what the terminal checks when the loaded container arrives, and what the [304](/guides/edi/304-shipping-instructions), [310](/guides/edi/310-freight-receipt-and-invoice-ocean) and [315](/guides/edi/315-status-details-ocean) reference afterwards. ## Where the 301 Fits in Ocean EDI | Set | X12 name | Usually sent by | What it does | |---|---|---|---| | **[300](/guides/edi/300-reservation-booking-request-ocean)** | Reservation (Booking Request) (Ocean) | Shipper, importer, forwarder or NVOCC | Asks for space | | **301** | Confirmation (Ocean) | Ocean carrier | Answers the request and returns the booking number | | **[304](/guides/edi/304-shipping-instructions)** | Shipping Instructions | Shipper, importer, forwarder or NVOCC | Gives the details for the bill of lading | | **[310](/guides/edi/310-freight-receipt-and-invoice-ocean)** | Freight Receipt and Invoice (Ocean) | Ocean carrier | Bill of lading data and charges | | **[315](/guides/edi/315-status-details-ocean)** | Status Details (Ocean) | Ocean carrier | Container events | | **[322](/guides/edi/322-terminal-operations-intermodal-ramp-activity)** | Terminal Operations and Intermodal Ramp Activity | Terminal or rail ramp | Terminal and ramp events reported to the carrier or railroad | Between the 301 and the 304 comes the physical work: the trucker collects the empties released on the 301, the shipper loads and seals them, and the loaded containers go back to the terminal before the cutoff. Those gate moves show up as 315 events to you and, at many terminals, as 322 events to the carrier. ## Reading the Answer: Accepted, Conditional, Counter or Declined The carrier's answer sits in two places. `B104`, the reservation action code (X12 element 558), uses these values: | Code | X12 meaning | What to do | |---|---|---| | `A` | Reservation Accepted | Store the booking number and plan the empty pickup | | `B` | Conditional Acceptance | Read the remarks and dates; something differs from what you asked for | | `C` | Counter Proposal Made | The carrier is offering different terms, often a different sailing; accept or rebook | | `D` | Reservation Cancelled | The booking is off; rebook if the cargo still needs to move | | `U` | Change | An update to an existing booking | The second place is `Y301`, the booking number. The X12 note for `Y3` says that when the requested space is not available, the booking number is sent as the word `decline`. Check for it before you store `Y301` as a booking number. Which action codes a carrier really uses, and whether it sends changes as `U` or as a fresh `A`, is in its guide. ## Interactive Example: 301 Accepting Two 40-Foot High Cubes The ocean carrier (SCAC `BLUQ`) answers the importer's 300 the day after it was sent. `B1` echoes the importer's shipment reference, dates the booking and accepts it with action `A`. `Y3` returns booking number `BK7730412`, a vessel departure on 4 November (a day later than requested), an estimated arrival at the port of discharge on 19 November, and a required pier date of 1 November with a 17:00 load time at the East Pier. `Y4` releases two `45G1` empties at Shanghai from 24 October. The `R4` loops repeat the route with the confirmed dates, and `V1` names the vessel and voyage. All names, numbers and codes are fictional, and the booking number is the one used in the [310](/guides/edi/310-freight-receipt-and-invoice-ocean) and [315](/guides/edi/315-status-details-ocean) samples. Use the **Plain English** tab for a readable summary, or click any segment to break it down element by element. ## 301 Structure at a Glance The table follows X12 release 004010 and lists the segments most carriers use. | Area | Segment | Name | Usage in the standard | Notes | |---|---|---|---|---| | Heading | **ST** | Transaction Set Header | Mandatory | `ST01` = `301` | | Heading | **B1** | Beginning Segment for Booking or Pick-up/Delivery | Mandatory | Carrier, shipment reference, booking date, action | | Heading | **G61** | Contact | Optional, up to 3 | Carrier booking desk | | Heading | **Y3** | Space Confirmation | Mandatory | Booking number, sailing, arrival, pier and cutoff | | Heading loop | **Y4 / W09** | Container Release, Equipment and Temperature | Mandatory, up to 10 | Empty release: where, when, how many, what type | | Heading | **N9** | Reference Identification | Optional, up to 100 | Echoed references | | Heading loop | **N1 / N2 / N3 / N4 / G61** | Name and address | Mandatory, up to 4 | Shipper, consignee and others | | Heading loop | **R4 / DTM** | Port or Terminal, Date/Time | Mandatory, up to 20 | Route with confirmed dates | | Heading | **H3 / EA** | Special Handling, Equipment Attributes | Optional | Handling and equipment notes | | Detail loop | **LX / N7 / K1 / L0 / L5** | Assigned Number and line detail | Repeats up to 999 | Equipment, remarks and cargo per line | | Detail | **V1** | Vessel Identification | Optional, up to 2 | Vessel and voyage | | Detail | **V9** | Event Detail | Optional, up to 10 | Further event detail | | Summary | **SE** | Transaction Set Trailer | Mandatory | Segment count and control number | ## Key Segments Explained ### B1: Beginning Segment for Booking or Pick-up/Delivery ``` B1*BLUQ*CHI2610160412*20261017*A~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **B101** | Standard Carrier Alpha Code | `BLUQ` | The carrier sending the 301 | | **B102** | Shipment Identification Number | `CHI2610160412` | The shipment reference from your 300 | | **B103** | Date | `20261017` | The date the carrier accepted the booking | | **B104** | Reservation Action Code | `A` | The answer (see the table above) | Match the 301 to your 300 on `B102` first. It is the only number both sides had before the booking number existed. ### Y3: Space Confirmation ``` Y3*BK7730412*BLUQ*20261104*20261119**EAST PIER*20261101*1700~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **Y301** | Booking Number | `BK7730412` | The carrier's booking number, or `decline` when no space is available | | **Y302** | Standard Carrier Alpha Code | `BLUQ` | The carrier | | **Y303** | Date | `20261104` | Vessel departure date | | **Y304** | Date | `20261119` | Estimated arrival date at the port of discharge | | **Y305** | Standard Point Location Code | | An SPLC for the point, when used | | **Y306** | Pier Name | `EAST PIER` | The pier, up to 14 characters | | **Y307** | Date | `20261101` | Required pier date: when the loaded cargo must be at the pier | | **Y308** | Time | `1700` | Load time on the required pier date | | **Y311** | Time Code | | Time zone for `Y308`, when sent | The required pier date and load time are what your trucker and shipper plan around. A loaded container that reaches the terminal after the cutoff risks missing the vessel. Compare `Y303` with the sailing you asked for in `Y101` of the 300, and flag the difference to whoever promised a ship date to the customer. ### Y4: Container Release ``` Y4*BK7730412**20261024**2*45G1**UN*CNSHA~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **Y401** | Booking Number | `BK7730412` | The booking the empties are released against | | **Y402** | Booking Number | | The last booking number when a range is released | | **Y403** | Date | `20261024` | Date the containers are available for pickup | | **Y404** | Standard Point Location Code | | Pick-up location as an SPLC, when used | | **Y405** | Number of Containers | `2` | How many empties | | **Y406** | Equipment Type | `45G1` | Equipment type; `45G1` is the ISO 6346 code for a 40-foot high cube | | **Y407** | Standard Carrier Alpha Code | | The carrier the containers will be released to, if known | | **Y408 / Y409** | Location Qualifier, Location Identifier | `UN` / `CNSHA` | The pick-up location, here a UN/LOCODE | | **Y410** | Type of Service Code | | Service code, when sent | Send the `Y4` details to whoever is collecting the empties. The depot will want the booking number, and the trucker needs to know which depot and from which date. Some carriers name a specific depot in `Y408`/`Y409` or in the `R4` loop; check the guide. ### R4 Loop with DTM: Confirmed Route ``` R4*L*UN*CNSHA*SHANGHAI*CN*EAST PIER TERMINAL~ DTM*369*20261104~ R4*D*UN*USLAX*LOS ANGELES*US~ DTM*371*20261119~ ``` `R401` gives the role of each point (`R` place of receipt, `L` port of loading, `D` port of discharge, `E` place of delivery, `T` transshipment port). The `DTM` dates are the carrier's plan: `369` estimated departure and `371` estimated arrival in this sample. A 301 that adds a `T` transshipment port you did not expect tells you the cargo is routed through a hub, which affects transit time. ### V1: Vessel Identification ``` V1*9700017*MERIDIAN HARBOR*LR*118E*BLUQ***L~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **V101** | Vessel Code | `9700017` | Vessel identifier, here a Lloyd's (IMO) number | | **V102** | Vessel Name | `MERIDIAN HARBOR` | Vessel name | | **V103** | Country Code | `LR` | Flag | | **V104** | Flight/Voyage Number | `118E` | Voyage | | **V105** | Standard Carrier Alpha Code | `BLUQ` | Carrier | | **V108** | Vessel Code Qualifier | `L` | `L` Lloyd's Register of Shipping, `C` radio call sign | The vessel on the 301 is the planned one. If the carrier later rolls the cargo to another sailing, a new 301 or the 315 feed will show it. ## EDI 301 vs 300, 303, 310 and 990 | Document | Mode | Sent by | Purpose | |---|---|---|---| | **301 Confirmation (Ocean)** | Ocean | Ocean carrier | Answers a booking, gives the booking number and empty release | | **[300 Reservation (Booking Request) (Ocean)](/guides/edi/300-reservation-booking-request-ocean)** | Ocean | Booking party | Asks for space | | **303 Booking Cancellation (Ocean)** | Ocean | Booking party | Cancels a booking | | **[310 Freight Receipt and Invoice (Ocean)](/guides/edi/310-freight-receipt-and-invoice-ocean)** | Ocean | Ocean carrier | Bill of lading data and charges, after the 304 | | **[990 Response to a Load Tender](/guides/edi/990-response-to-load-tender)** | Truck | Motor carrier | Accepts or declines a 204 load tender | The 990 is the truck-world cousin of the 301: both accept or decline a request for capacity. The 301 carries far more: the booking number, the vessel schedule, pier cutoffs and the equipment release. ## Common 301 Errors and How to Prevent Them | Error | What happens | Prevention | |---|---|---| | **`decline` stored as a booking number** | A booking that does not exist shows as confirmed | Check `Y301` for `decline` and `B104` for `C` or `D` before marking a booking confirmed | | **Conditional acceptance treated as full acceptance** | Cargo planned on terms the carrier did not agree to | Route `B104` = `B` or `C` to a person to review | | **Revised 301 ignored** | Trucker goes to the wrong depot, or cargo misses a changed cutoff | Version 301s by booking number and alert on changes to `Y303`, `Y307`, `Y308` or `Y4` | | **Sailing change not passed on** | Customer told the wrong ship date | Compare the confirmed departure with the requested one and notify on any difference | | **Empty release details lost** | Trucker cannot collect the containers | Send the booking number, pick-up location and date straight to the dispatcher | | **301 not matched to a 300** | Orphan bookings, duplicate requests | Match on `B102` and alert on any 301 that has no 300 behind it | ## 301 Implementation Checklist Before your first live 301 from an ocean carrier: - Get the carrier's 301 implementation guide and confirm the X12 version in `GS08` (004010 is common) and the `RO` functional group - List the `B104` action codes it sends, and how it signals a change, a counter offer and a decline - Confirm where it puts cutoffs: `Y307` and `Y308`, `DTM` segments, remarks, or all of them - Confirm how the empty release is given and whether it names a depot - Store the booking number against the purchase orders on the booking, so the [304](/guides/edi/304-shipping-instructions), [310](/guides/edi/310-freight-receipt-and-invoice-ocean) and [315](/guides/edi/315-status-details-ocean) can be joined to them - Confirm the 997 you will send back for each 301 - Test an acceptance, a conditional acceptance, a counter offer, a decline, a change of vessel and a carrier cancellation Our [EDI document types reference](/edi-document-types) shows the ocean sets beside the [850 purchase order](/guides/edi/850-purchase-order) and the [856 ASN](/guides/edi/856-ship-notice). For the paper document the booking leads to, see our [bill of lading glossary entry](/glossary/bill-of-lading). ## Where OrderSync Fits The booking number on a 301 links a container to the purchase orders it carries. That link is only useful if those orders were captured correctly, and for many shippers and importers they arrive as a mix of EDI 850s, PDFs, emails and spreadsheets. OrderSync reads inbound orders in any format, matches customers, items and units to your catalog, and outputs clean ERP data or valid X12. Paste any 301 into the [free EDI inspector](/edi-inspector) to see it parsed segment by segment with a plain-English summary and any structural errors explained, or [book a 15-minute walkthrough](/book-call) to see your own orders processed. ## Frequently Asked Questions
### What is an EDI 301? The EDI 301 Confirmation (Ocean) is the X12 transaction an ocean carrier sends to answer a booking request. It says whether the booking is accepted, conditionally accepted, countered or declined, and returns the booking number, vessel and sailing, estimated arrival, pier cutoff and empty container release. ### Where is the booking number in a 301? In Y301, the first element of the Y3 Space Confirmation segment. The Y4 Container Release segment repeats it in Y401. If the carrier has no space, the X12 note for Y3 says Y301 carries the word decline instead of a number. ### What do the B104 codes mean in a 301? B104 is the reservation action code. A means reservation accepted, B conditional acceptance, C counter proposal made, D reservation cancelled and U change. Each carrier's guide lists the codes it actually sends. ### What is the difference between EDI 300 and EDI 301? The 300 is the booking request the shipper, importer or forwarder sends to the carrier. The 301 is the carrier's reply, with the booking number, the confirmed sailing and the empty container release. ### What is the Y4 segment in an EDI 301? Y4 is the Container Release. It tells you how many empty containers of which type are released against the booking, from which date and at which location, so a trucker can collect them for loading. ### Can a carrier send more than one 301 for a booking? Yes. Carriers commonly send updated 301s when the vessel, sailing date, cutoff or equipment release changes, or when they cancel the booking. Keep each version and compare it with the last one. ### What functional group and version does the 301 use? The 301 travels in functional group RO, the value in GS01, together with the 300 and 303. Many carrier guides use X12 release 004010, and the version is named in GS08.
--- # EDI 304 Shipping Instructions: Ocean SI Guide Source: https://ordersync.io/guides/edi/304-shipping-instructions > EDI 304 explained: ocean shipping instructions for the bill of lading, the B2, N1, R4, N7, M7, L0 and L3 segments, a live sample, and the 300 to 315 flow. The EDI 304 Shipping Instructions is the X12 transaction a shipper, importer, forwarder or NVOCC sends an ocean carrier with the details for the bill of lading. It carries the booking number, freight payment terms, shipper, consignee and notify parties, the route, each container and seal, the cargo description, weights and volumes, and the shipment totals. **The EDI 304 is what the carrier prints on your bill of lading.** Once the containers are loaded and on their way to the terminal, the carrier needs to know exactly who the shipper and consignee are, who to notify, which containers and seals belong to the booking, and how to describe the cargo. The 304 sends all of that before the documentation cutoff. The carrier answers with a [310](/guides/edi/310-freight-receipt-and-invoice-ocean) showing the bill of lading data and the charges. This guide covers what the 304 carries, where it sits in the ocean flow, every segment you will map, a live sample for two loaded 40-foot high cubes on freight collect terms, how it differs from the 310 and the motor-carrier 211, and the errors that turn into bill of lading amendments. ## What Is an EDI 304? **An EDI 304 is the Shipping Instructions transaction set defined by [ASC X12](https://x12.org/products/transaction-sets), used to give an ocean carrier the information it needs to issue a bill of lading for a shipment.** The standard allows far more than most carriers use: letters of credit, insurance, export and import licences, certifications and clauses, hazardous material detail and item-level physical details all have segments. The 304 travels in functional group `SO` (the `GS01` value). Authoritative references for 304 work: - The [X12 transaction set catalog](https://x12.org/products/transaction-sets) defines the 304 structure, segment order and loops - [Stedi's X12 004010 reference for the 304](https://www.stedi.com/edi/x12-004010/304) lists the segments, elements and code values for release 004010 - The [BIC container prefix register](https://www.bic-code.org/) governs the four-letter owner codes used in ISO 6346 container numbers, which the 304 carries in `N7` - For cargo bound for the United States, [CBP's Importer Security Filing FAQ](https://www.cbp.gov/sites/default/files/assets/documents/2023-May/ISF%20FAQ%202.0%20%28508%29.pdf) explains the Importer Security Filing: most of its data elements are due no later than 24 hours before the cargo is laden aboard the vessel, and it needs the bill of lading number to match the carrier's manifest - Each ocean carrier publishes its own 304 implementation guide, which sets the segments it reads, the documentation cutoff and how amendments are handled **Who sends it?** The booking party: an exporter, an importer on a buyer-controlled move, or a forwarder or NVOCC. **Who receives it?** The ocean carrier, directly or through a portal or network. **When is it sent?** After the containers are loaded and sealed, before the carrier's documentation cutoff for the sailing. Corrections and amendments go as further 304s. **Why does it matter?** The bill of lading controls release of the cargo at destination, and its data feeds the carrier's customs manifest. A misspelled consignee, a wrong container number or a missing seal on the 304 becomes a wrong B/L, and a B/L amendment after the fact costs time and can carry a charge under the carrier's tariff. ## The Ocean Document Flow: 300 to 322 | Set | X12 name | Usually sent by | What it does | |---|---|---|---| | **[300](/guides/edi/300-reservation-booking-request-ocean)** | Reservation (Booking Request) (Ocean) | Booking party | Asks for space | | **[301](/guides/edi/301-confirmation-ocean)** | Confirmation (Ocean) | Ocean carrier | Returns the booking number and empty release | | **304** | Shipping Instructions | Booking party | Gives the bill of lading details | | **[310](/guides/edi/310-freight-receipt-and-invoice-ocean)** | Freight Receipt and Invoice (Ocean) | Ocean carrier | Returns the bill of lading data and charges | | **[315](/guides/edi/315-status-details-ocean)** | Status Details (Ocean) | Ocean carrier | Container events to the shipper or consignee | | **[322](/guides/edi/322-terminal-operations-intermodal-ramp-activity)** | Terminal Operations and Intermodal Ramp Activity | Terminal or rail ramp | Terminal events to the carrier or railroad | The 304 is the only document in the chain where the shipper side states the bill of lading content. Everything the carrier sends after it, the 310 in particular, should agree with it. Treat the 304 as the record you will check the 310 against. ## Interactive Example: 304 for Two Loaded 40-Foot High Cubes, Freight Collect The importer sends shipping instructions for booking `BK7730412` two weeks after it was confirmed. `B2` names the carrier (SCAC `BLUQ`), repeats the importer's shipment reference, sets kilograms as the weight unit and states freight collect. `B2A` marks the 304 as an original. `N9` carries the booking and purchase order numbers, and `V1` the vessel and voyage. Three `N1` loops give the shipper, consignee and notify party with full addresses, exactly as they should print on the B/L. The `R4` loops give the route. Inside the `LX` loop, each container has an `N7` with its check digit and type and an `M7` with its seal, then `L0` and `L5` describe the cargo. `L3` closes with total weight, volume and pieces. All names, numbers and codes are fictional, and the same containers, seals and parties appear in the [310 sample](/guides/edi/310-freight-receipt-and-invoice-ocean) the carrier sends back. Use the **Plain English** tab for a readable summary, or click any segment to break it down element by element. ## 304 Structure at a Glance The table follows X12 release 004010. The 304 is one of the longest transportation sets in the standard; this table lists the parts most carriers read. | Area | Segment | Name | Usage in the standard | Notes | |---|---|---|---|---| | Heading | **ST** | Transaction Set Header | Mandatory | `ST01` = `304` | | Heading | **B2** | Beginning Segment for Shipment Information Transaction | Mandatory | Carrier, shipment ID, weight unit, payment terms | | Heading | **B2A** | Set Purpose | Optional | Original, change, replace or cancellation | | Heading | **N9** | Reference Identification | Optional, up to 100 | Booking, PO and other references | | Heading | **V1** | Vessel Identification | Optional, up to 2 | Vessel and voyage | | Heading | **M0 / M1 / M2** | Letter of Credit, Insurance, Sales/Delivery Terms | Optional | Used for documentary credit and insured shipments | | Heading loop | **N1 / N2 / N3 / N4 / G61** | Name and address | Mandatory, up to 100 | Shipper, consignee, notify parties and others | | Heading loop | **R4 / DTM** | Port or Terminal, Date/Time | Mandatory, up to 20 | Receipt, loading, discharge, delivery | | Heading | **K1** | Remarks | Optional, up to 12 | Free-text remarks | | Heading | **L11** | Business Instructions and Reference Number | Optional, up to 99 | Further references and instructions | | Heading loop | **C8** | Certifications and Clauses | Optional, up to 20 | Clauses to print on the B/L | | Detail loop | **LX** | Assigned Number | Repeats up to 999 | One loop per group of containers and cargo | | Detail loop | **N7 / M7 / W09** | Equipment Details, Seals, Temperature | Repeats up to 999 per LX | One `N7` per container | | Detail loop | **L0 / L5** | Quantity and Weight, Description | Repeats up to 120 per LX | The cargo, with marks and commodity codes | | Detail loop | **H1 / LH1** | Hazardous Material | Optional | Dangerous goods detail | | Summary loop | **L3** | Total Weight and Charges | Mandatory | Shipment totals | | Summary | **SE** | Transaction Set Trailer | Mandatory | Segment count and control number | ## Key Segments Explained ### B2: Beginning Segment for Shipment Information Transaction ``` B2**BLUQ**CHI2610160412*K*CC~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **B202** | Standard Carrier Alpha Code | `BLUQ` | The carrier that will issue the bill of lading | | **B204** | Shipment Identification Number | `CHI2610160412` | The shipper's reference for the shipment | | **B205** | Weight Unit Code | `K` | `K` kilograms, `L` pounds | | **B206** | Shipment Method of Payment | `CC` | The only mandatory element: `CC` collect, `PP` prepaid, and other codes in the X12 list | | **B211** | Transportation Terms Code | | Trade terms, when sent; `B206` then says which party pays under them | Carriers differ on where they want the booking number. Some read it from `B204`, others from `N9*BN`, and some ask for both. The guide decides, and getting it wrong means the 304 does not attach to the booking. ### B2A: Set Purpose ``` B2A*00~ ``` `B2A01` is the purpose: `00` original, `04` change, `05` replace and `01` cancellation are the common values. Many carriers treat any 304 after the first as a replacement of the whole set of instructions, not a change to one field, so send the complete 304 each time unless the guide says otherwise. ### N9: Reference Identification ``` N9*BN*BK7730412~ N9*PO*4500918832~ ``` | Qualifier | Meaning | Why you need it | |---|---|---| | `BN` | Booking number | Ties the instructions to the booking from the 301 | | `PO` | Purchase order number | Carries your orders onto the bill of lading record | | `BM` | Bill of lading number | Sent when the carrier has already assigned a B/L number, or on an amendment | | `SI` | Shipper's identifying number for shipment | The shipper's own reference | Purchase order numbers you put on the 304 are the ones most likely to come back on the 310 and the 315. Send every PO in the containers. ### N1 Loop: Bill of Lading Parties ``` N1*SH*LINHAI WOODCRAFT CO LTD~ N3*88 HARBOUR INDUSTRIAL RD~ N4*SHANGHAI**201800*CN~ N1*CN*CASCADE HOME IMPORTS LLC~ N3*2200 COMMERCE WAY~ N4*ONTARIO*CA*91761*US~ N1*N1*PACIFIC GATEWAY CUSTOMS BROKERS~ N3*400 OCEAN BLVD STE 210~ N4*LONG BEACH*CA*90802*US~ ``` `N101` gives the role: `SH` shipper, `CN` consignee, `N1` notify party, `N2` second notify party, and others such as forwarder where the carrier accepts them. What you send here is what the carrier prints. On a negotiable bill of lading the consignee may be "TO ORDER" or "TO ORDER OF" a bank; that text goes in the name exactly as the letter of credit or your instructions require. Names longer than the `N102` field continue in `N2`. ### R4 Loop: Route ``` R4*R*UN*CNSHA*SHANGHAI*CN~ R4*L*UN*CNSHA*SHANGHAI*CN~ R4*D*UN*USLAX*LOS ANGELES*US~ R4*E*UN*USONT*ONTARIO*US~ ``` `R401` gives the role: `R` place of receipt, `L` port of loading, `D` port of discharge, `E` place of delivery. These should match the booking. A place of delivery on the 304 that differs from the 301 is a routing change, and most carriers will want it handled as a booking amendment rather than a documentation change. ### N7 and M7: Containers and Seals ``` N7*QXZU*412873*9210*G*******CN******K*2****45G1~ M7*CN4417203~ N7*QXZU*530916*9210*G*******CN******K*5****45G1~ M7*CN4417219~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **N701** | Equipment Initial | `QXZU` | Owner prefix | | **N702** | Equipment Number | `412873` | Serial number | | **N703 / N704** | Weight, Weight Qualifier | `9210` / `G` | Weight of the container's contents, gross | | **N711** | Equipment Description Code | `CN` | Container | | **N717** | Weight Unit Code | `K` | Kilograms | | **N718** | Equipment Number Check Digit | `2` | The ISO 6346 check digit | | **N722** | Equipment Type | `45G1` | 40-foot high cube general-purpose | | **M701** | Seal Number | `CN4417203` | The seal applied at loading | In the 304 the `N7` opens its own loop inside `LX`, so each container carries its seals, temperature (`W09`) and any container-level references with it. Validate every container number with the ISO 6346 check digit before you send: `QXZU412873` with check digit `2` gives `QXZU4128732`. The seal must be the one physically on the door; a seal that does not match at the terminal or at a customs exam causes a hold. ### L0 and L5: Cargo ``` L0*1***18420*G*58.4*X*1240*CTN**K~ L5*1*WOODEN FURNITURE PARTS~ ``` `L0` gives the line number, gross weight (`L004`, `L005`), volume (`L006`, `L007`), piece count and package type (`L008`, `L009`) and weight unit (`L011`). `L502` is the cargo description as it should print. `L5` can also carry a commodity code with its qualifier and marks and numbers in `L506`. Use the description and commodity codes your customs broker files with, so the B/L, the manifest and your customs filings say the same thing. ### L3: Total Weight and Charges ``` L3*18420*G*******58.4*X*1240*K~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **L301 / L302** | Weight, Weight Qualifier | `18420` / `G` | Total gross weight | | **L309 / L310** | Volume, Volume Unit Qualifier | `58.4` / `X` | Total volume in cubic meters | | **L311** | Lading Quantity | `1240` | Total pieces | | **L312** | Weight Unit Code | `K` | Kilograms | The `L3` loop is mandatory in the 304 even though a shipper rarely sends charges. Check that the container weights in `N703` add up to `L301` (9,210 + 9,210 = 18,420 here) and that the `L0` pieces add up to `L311`. ## EDI 304 vs 310, 211 and 856 | Document | Mode | Sent by | Purpose | |---|---|---|---| | **304 Shipping Instructions** | Ocean | Shipper, importer, forwarder or NVOCC | What the bill of lading should say | | **[310 Freight Receipt and Invoice (Ocean)](/guides/edi/310-freight-receipt-and-invoice-ocean)** | Ocean | Ocean carrier | What the bill of lading does say, plus charges | | **[211 Motor Carrier Bill of Lading](/guides/edi/211-motor-carrier-bill-of-lading)** | Truck | Shipper | Bill of lading details for a truck move | | **[856 Ship Notice/ASN](/guides/edi/856-ship-notice)** | Any | Supplier | What was shipped, down to carton, sent to the buyer | The 304 and the 211 both send bill of lading details from shipper to carrier, one for ocean and one for truck. The 304 and the 310 are a pair: one is the request, the other is the carrier's version of it. The 856 goes in a different direction altogether, from supplier to buyer, but it often describes the same cartons. When the same purchase orders appear on a 304 and an 856, their piece counts and weights should agree. ## Common 304 Errors and How to Prevent Them | Error | What happens | Prevention | |---|---|---| | **Sent after the documentation cutoff** | Possible late charge under the carrier's tariff, or cargo rolled to the next sailing | Track the cutoff from the 301 and alert before it, not after | | **304 does not attach to the booking** | Carrier does not process it, or keys it by hand | Put the booking number where the carrier's guide wants it (`B204`, `N9*BN` or both) | | **Consignee or notify party wrong** | B/L amendment; cargo cannot be released at destination | Pull parties from the order and contract, not from free text, and check them against the 310 | | **Container number typo** | Container not linked to the B/L, customs questions | Validate the ISO 6346 check digit and compare with the gate-in on the 315 | | **Seal number missing or wrong** | Holds at the terminal or customs | Capture seals at loading, from the person who applied them | | **Weights do not add up** | Manifest discrepancies; queries from the carrier | Sum `N703` and `L004` and compare with `L301` before sending | | **Description differs from the customs filing** | Customs questions and possible exam | Use the same description and commodity codes as your customs broker | | **Partial amendments** | Carrier replaces the full set with half the data | Send the complete 304 every time unless the guide supports field-level changes | ## 304 Implementation Checklist Before your first live 304 to an ocean carrier: - Get the carrier's 304 implementation guide and confirm the X12 version in `GS08` (004010 is common) and the `SO` functional group - Confirm where the booking number goes and which `N9` qualifiers it reads - Confirm how it handles amendments: `B2A` values, full replacement or field changes, and any cutoff for changes - Agree which parties it accepts in `N1` and how it wants "to order" consignees - Agree how it wants container weights, verified gross mass and tare, and whether VGM goes on the 304 or separately - Load the commodity codes and descriptions your customs broker uses - Check every 304 against the [310](/guides/edi/310-freight-receipt-and-invoice-ocean) that comes back, field by field - Confirm the 997 the carrier returns for each 304 - Test an original, a replacement, a multi-container shipment, a "to order" B/L and a reefer shipment if you ship refrigerated cargo Our [EDI document types reference](/edi-document-types) shows where ocean sets sit beside the [850 purchase order](/guides/edi/850-purchase-order) and the [810 invoice](/guides/edi/810-invoice). For background on the document the 304 produces, see our [bill of lading glossary entry](/glossary/bill-of-lading). ## Where OrderSync Fits Most of what goes on a 304 is already in your orders: the consignee, the purchase order numbers, the items and their quantities. When those orders come in as EDI 850s, PDFs, emails and spreadsheets, they have to be captured accurately before anyone can build shipping instructions from them. OrderSync reads inbound orders in any format, matches customers, items and units to your catalog, and outputs clean ERP data or valid X12. Paste any 304 into the [free EDI inspector](/edi-inspector) to see it parsed segment by segment with a plain-English summary and any structural errors explained, or [book a 15-minute walkthrough](/book-call) to see your own orders processed. ## Frequently Asked Questions
### What is an EDI 304? The EDI 304 Shipping Instructions is the X12 transaction a shipper, importer, forwarder or NVOCC sends to an ocean carrier with the details for the bill of lading: booking number, payment terms, parties, route, containers and seals, cargo description, weights and totals. ### What is the difference between EDI 304 and EDI 310? The 304 goes from the shipper side to the carrier and says what the bill of lading should contain. The 310 comes back from the carrier with the bill of lading data it has issued or drafted, plus the freight charges. Compare the two before the B/L is final. ### When should the EDI 304 be sent? After the containers are loaded and sealed and before the carrier's documentation cutoff for the sailing. The carrier's guide or booking confirmation gives the cutoff. For US-bound cargo, the importer's security filing also depends on the bill of lading number, so late instructions can delay more than the B/L. ### Where do container and seal numbers go in a 304? Each container has an N7 segment inside the LX loop, with the owner prefix in N701, the serial number in N702 and the check digit in N718. The seal numbers follow in M7, inside the same N7 loop. ### What functional group and version does the 304 use? The 304 travels in functional group SO, the value in GS01. Many carrier guides use X12 release 004010, and the version is named in GS08. ### How do I amend shipping instructions sent on a 304? Send another 304 for the same booking with B2A01 set to the purpose the carrier's guide asks for, usually change or replace. Many carriers replace the whole set of instructions, so send the complete data each time. ### Is the 304 the bill of lading? No. The 304 is the shipper's instruction for the bill of lading. The carrier issues the B/L and usually sends its data back on a 310 Freight Receipt and Invoice.
--- # EDI 310 Specification: Ocean B/L and Freight Invoice Source: https://ordersync.io/guides/edi/310-freight-receipt-and-invoice-ocean > EDI 310 explained: the ocean bill of lading and freight invoice, its B3, V1, R4, N7 and L1 segments, a live sample, and how it fits with the 300, 301 and 315. The EDI 310 Freight Receipt and Invoice (Ocean) is the X12 transaction an ocean carrier sends to report bill of lading data and bill freight for one shipment. It carries the B/L and booking numbers, vessel and voyage, shipper, consignee and notify parties, ports, container and seal numbers, cargo, and every charge with the total due. **The EDI 310 is the ocean bill of lading and the freight bill in one electronic document.** Once an ocean carrier has your cargo on its books, it sends a 310 with what it will print on the bill of lading and what it intends to charge. Importers, NVOCCs and forwarders use it to check the B/L before it is released, to match containers to purchase orders, and to audit ocean freight before paying. This guide covers what the 310 carries, where it sits next to the 300, 301, 304 and 315, every segment you will map, a live sample with two 40-foot containers, how it differs from the motor-carrier 210, and the errors that cause B/L amendments and disputed invoices. ## What Is an EDI 310? **An EDI 310 is the Freight Receipt and Invoice (Ocean) transaction set defined by [ASC X12](https://x12.org/products/transaction-sets), used by an ocean carrier to send bill of lading information and freight charges for a shipment.** The X12 description of the set lists several uses for the same data: a receipt for the shipment, a substitute for the paper bill of lading, a copy for verification or information, a manifest, and a freight invoice. Which of those a given carrier means by its 310 is set out in its implementation guide. The 310 travels in functional group `IO` (the `GS01` value). Authoritative references for 310 work: - The [X12 transaction set catalog](https://x12.org/products/transaction-sets) defines the 310 structure, segment order and loops - [Stedi's X12 004010 reference for the 310](https://www.stedi.com/edi/x12-004010/310) lists the segments, elements and code values for release 004010 - The UN/LOCODE list maintained by UNECE supplies the five-character location codes (such as `CNSHA` for Shanghai and `USLAX` for Los Angeles) most carriers send in the `R4` port segments - The [BIC container prefix register](https://www.bic-code.org/) governs the four-letter owner codes used in container numbers under ISO 6346, which appear in the `N7` segment - Each ocean carrier publishes its own 310 implementation guide, which sets the reference numbers it sends, its charge codes and whether the 310 is a draft, a final B/L or an invoice **Who sends it?** The ocean carrier, or an NVOCC acting as carrier to its own customers. **Who receives it?** The party that booked the cargo or pays the freight: a shipper on prepaid exports, a consignee or importer on collect shipments, or the forwarder or NVOCC managing the move for them. **When is it sent?** After the shipping instructions are received and the carrier has issued or drafted the bill of lading. Carriers often send a new 310 when the B/L is amended or when charges change. **Why does it matter?** The bill of lading is the document that controls release of the cargo at destination. A wrong consignee, container number or port on the 310 means a B/L amendment. A wrong charge means an invoice dispute. Both are cheaper to catch on the 310 than after the vessel arrives. ## The Ocean Document Flow: 300, 301, 304, 310 and 315 Ocean EDI has its own family of transaction sets, separate from the motor-carrier sets most shippers know. The ones you will meet on a typical full-container-load move: | Set | X12 name | Usually sent by | What it does | |---|---|---|---| | **[300](/guides/edi/300-reservation-booking-request-ocean)** | Reservation (Booking Request) (Ocean) | Shipper, forwarder or NVOCC | Asks the carrier for space: ports, dates, container count and type, commodity | | **[301](/guides/edi/301-confirmation-ocean)** | Confirmation (Ocean) | Ocean carrier | Confirms or changes the booking and returns the booking number | | **303** | Booking Cancellation (Ocean) | Shipper, forwarder or NVOCC | Cancels a booking | | **[304](/guides/edi/304-shipping-instructions)** | Shipping Instructions | Shipper, forwarder or NVOCC | Gives the carrier the details for the bill of lading: parties, containers, seals, cargo description | | **310** | Freight Receipt and Invoice (Ocean) | Ocean carrier | Returns the bill of lading data and the freight charges | | **315** | Status Details (Ocean) | Ocean carrier | Reports container events from empty pickup to empty return. See the [EDI 315 guide](/guides/edi/315-status-details-ocean) | | **312** | Arrival Notice (Ocean) | Ocean carrier | Tells the consignee or notify party the cargo is arriving | A typical sequence runs: 300 booking request, 301 confirmation with the booking number, empty container pickup and gate-in (reported on 315s), 304 shipping instructions before the documentation cutoff, 310 with the bill of lading and charges, then 315 events for loading, departure, arrival, discharge and release. Carriers differ in which sets they support and whether they send them directly or through a carrier portal or network, so treat the sequence as typical rather than fixed. The booking number from the 301 and the bill of lading number from the 310 are the two references that tie everything together. Store both against your purchase orders. ## Interactive Example: 310 for Two 40-Foot Containers, Freight Collect An ocean carrier (SCAC `BLUQ`) bills a US importer for two 40-foot high cube containers of wooden furniture parts moving from Shanghai to Los Angeles, with final delivery to the importer's warehouse in Ontario, California. The freight is collect, so the consignee pays. The `N9` segments carry the bill of lading, booking and purchase order numbers. `V1` names the vessel and voyage. The `R4` loops give the place of receipt, port of loading (with the actual departure date), port of discharge (with the estimated arrival) and place of delivery. Each container has an `N7` with its seal in `M7`, the cargo is described once in `L0` and `L5`, and the `L1` lines bill ocean freight and bunker per container plus a documentation charge. `L3` closes with the total. All names, numbers and codes for the parties, carrier, vessel and containers are fictional. Use the **Plain English** tab for a readable summary, or click any segment to break it down element by element. ## 310 Structure at a Glance The table follows X12 release 004010 and lists the segments most carriers use. The standard has more (letters of credit, insurance, hazardous materials, export licences), which carriers include only when the shipment needs them. | Area | Segment | Name | Usage in the standard | Notes | |---|---|---|---|---| | Heading | **ST** | Transaction Set Header | Mandatory | `ST01` = `310` | | Heading | **B3** | Beginning Segment for Carrier's Invoice | Mandatory | Invoice number, payment terms, date, net amount due, SCAC | | Heading | **B2A** | Set Purpose | Optional | Used by some carriers to flag an original, change or cancellation | | Heading | **N9** | Reference Identification | Optional, up to 15 | B/L, booking, PO and other references | | Heading | **V1** | Vessel Identification | Mandatory | Vessel code and name, flag, voyage, carrier | | Heading | **C3** | Currency | Optional | Currency of the charges | | Heading loop | **N1 / N2 / N3 / N4** | Name and address | Mandatory, up to 10 | Shipper, consignee, notify party and others | | Heading loop | **R4 / DTM** | Port or Terminal, Date/Time | Mandatory, up to 20 | Receipt, loading, discharge and delivery points, with dates | | Heading | **K1** | Remarks | Optional | Free-text clauses and remarks | | Detail loop | **LX** | Assigned Number | Mandatory, repeats | One loop per group of containers and cargo | | Detail loop | **N7** | Equipment Details | Optional loop | One per container | | Detail loop | **M7** | Seal Numbers | Optional | Up to four seals per segment | | Detail loop | **L0** | Line Item: Quantity and Weight | Optional loop | Piece count, weight and volume | | Detail loop | **L5** | Description, Marks and Numbers | Optional | Cargo description and commodity codes | | Detail loop | **L1** | Rate and Charges | Optional loop | One per charge | | Summary | **L3** | Total Weight and Charges | Mandatory | Totals for the shipment | | Summary | **SE** | Transaction Set Trailer | Mandatory | Segment count and control number | "Optional" in the standard is often "required" in a carrier's guide. Most carriers send `N9` with the B/L number on every 310. ## Key Segments Explained ### B3: Beginning Segment for Carrier's Invoice ``` B3**FI-26110455**CC*K*20261105*576500****BLUQ~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **B302** | Invoice Number | `FI-26110455` | The carrier's invoice or freight bill number | | **B303** | Shipment Identification Number | | A shipper-assigned shipment ID, when sent | | **B304** | Shipment Method of Payment | `CC` | `CC` collect, `PP` prepaid (by seller), `TP` third party pay, `MX` mixed | | **B305** | Weight Unit Code | `K` | `K` kilograms, `L` pounds | | **B306** | Date | `20261105` | Billing date | | **B307** | Net Amount Due | `576500` | Total due, with two implied decimals: 5,765.00 | | **B311** | Standard Carrier Alpha Code | `BLUQ` | The billing carrier's SCAC | Some carriers put the bill of lading number in `B302` and send no separate invoice number. Others keep the two apart and send the B/L in `N9`. The guide says which, and your match logic needs to know before go-live. ### N9: Reference Identification ``` N9*BM*BLUQSHA2611045~ N9*BN*BK7730412~ N9*PO*4500918832~ ``` | Qualifier | Meaning | Why you need it | |---|---|---| | `BM` | Bill of lading number | The key for release, customs entry and the 315 status feed | | `BN` | Booking number | Ties the 310 to the 301 booking confirmation | | `PO` | Purchase order number | Ties the containers to your own orders | | `MB` | Master bill of lading | Sent when the B/L is a house bill under a master, common with NVOCCs | | `SI` | Shipper's identifying number for shipment | The shipper's own shipment reference | ### V1: Vessel Identification ``` V1*9700017*MERIDIAN HARBOR*LR*118E*BLUQ***L~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **V101** | Vessel Code | `9700017` | The vessel's identifying code, here a Lloyd's (IMO) number | | **V102** | Vessel Name | `MERIDIAN HARBOR` | Vessel name | | **V103** | Country Code | `LR` | Country of registry (flag) | | **V104** | Flight/Voyage Number | `118E` | Voyage number | | **V105** | Standard Carrier Alpha Code | `BLUQ` | The ocean carrier | | **V108** | Vessel Code Qualifier | `L` | Source of `V101`: `L` Lloyd's Register of Shipping, `C` ship's radio call sign | The standard needs at least one of `V101` or `V102`. Vessel names repeat across fleets, so match on the code when the carrier sends one. ### N1 Loop: Shipper, Consignee and Notify Party ``` N1*SH*LINHAI WOODCRAFT CO LTD~ N1*CN*CASCADE HOME IMPORTS LLC~ N1*N1*PACIFIC GATEWAY CUSTOMS BROKERS~ ``` `N101` gives the role: `SH` shipper, `CN` consignee, `N1` notify party, with `N2` for a second notify party and `FW` for a forwarder when the carrier sends them. These are the names the carrier will print on the bill of lading. Check the consignee and notify party against your 304 shipping instructions on every 310: a consignee error on a B/L is the classic reason cargo cannot be released at destination. ### R4 Loop: Port or Terminal ``` R4*R*UN*CNSHA*SHANGHAI*CN~ R4*L*UN*CNSHA*SHANGHAI*CN~ DTM*370*20261104~ R4*D*UN*USLAX*LOS ANGELES*US~ DTM*371*20261119~ R4*E*UN*USONT*ONTARIO*US~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **R401** | Port or Terminal Function Code | `L` | The role of this location (see below) | | **R402** | Location Qualifier | `UN` | `UN` means `R403` is a UN/LOCODE | | **R403** | Location Identifier | `CNSHA` | The location code | | **R404** | Port Name | `SHANGHAI` | Name | | **R405** | Country Code | `CN` | Country | | **R406** | Terminal Name | | Terminal, when sent | Common `R401` values: `R` place of receipt, `L` port of loading, `D` port of discharge, `E` place of delivery, `T` transshipment port. The `DTM` after an `R4` dates the event at that location: `370` actual departure date and `371` estimated arrival date in this sample. Other qualifiers you will see include `369` estimated departure and `372` actual arrival, and some carriers use the generic `139` estimated and `140` actual. ### N7 and M7: Equipment Details and Seal Numbers ``` N7*QXZU*412873*9210*G*******CN******K*2****45G1~ M7*CN4417203~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **N701** | Equipment Initial | `QXZU` | The four-letter owner prefix of the container number | | **N702** | Equipment Number | `412873` | The six-digit serial number | | **N703** | Weight | `9210` | Weight of the container's contents | | **N704** | Weight Qualifier | `G` | `G` gross weight | | **N711** | Equipment Description Code | `CN` | `CN` container | | **N717** | Weight Unit Code | `K` | Kilograms | | **N718** | Equipment Number Check Digit | `2` | The ISO 6346 check digit | | **N722** | Equipment Type | `45G1` | A four-character equipment type code; `45G1` is the ISO 6346 size-type code for a 40-foot high cube general-purpose container | | **M701** | Seal Number | `CN4417203` | The seal on that container | Put the prefix, serial and check digit together and you get the container number as it is painted on the box: `QXZU4128732`. Some carriers send the check digit inside `N702` instead of `N718`. Which equipment type codes a carrier sends in `N722` (ISO size-type codes or older four-digit codes) is set by its guide. Seal numbers matter because a seal mismatch at the terminal or at customs examination is a hold. ### L0 and L5: Quantity, Weight and Description ``` L0*1***18420*G*58.4*X*1240*CTN**K~ L5*1*WOODEN FURNITURE PARTS~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **L001** | Lading Line Item Number | `1` | Line number, shared with `L5` and `L1` | | **L004 / L005** | Weight, Weight Qualifier | `18420` / `G` | Gross weight | | **L006 / L007** | Volume, Volume Unit Qualifier | `58.4` / `X` | `X` cubic meters, `E` cubic feet | | **L008 / L009** | Lading Quantity, Packaging Form Code | `1240` / `CTN` | 1,240 cartons | | **L011** | Weight Unit Code | `K` | Kilograms | | **L502** | Lading Description | `WOODEN FURNITURE PARTS` | The cargo description that will appear on the B/L | `L5` can also carry a commodity code with its qualifier, such as a Harmonized Tariff Schedule number (`L504` = `A`) or a Schedule B number (`J`), and marks and numbers in `L506`. ### L1: Rate and Charges ``` L1*1*2450*PA*490000****COF~ L1*2*395*PA*79000****BUA~ L1*3*75*LS*7500****DOC~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **L101** | Lading Line Item Number | `1` | Charge line number | | **L102** | Freight Rate | `2450` | The rate | | **L103** | Rate/Value Qualifier | `PA` | How the rate applies: `PA` per container, `PE` per TEU, `LS` lump sum | | **L104** | Charge | `490000` | The charge, two implied decimals: 4,900.00 | | **L108** | Special Charge or Allowance Code | `COF` | What the charge is | | **L112** | Special Charge Description | | Free-text name, used when no code fits | The X12 code list for `L108` includes `COF` ocean freight, `BUA` bunker adjustment (with `BU2` and `BU4` for 20- and 40-foot containers), `BSC` bunker surcharge, `DOC` documentation charge, `TER` terminal charge and `DTC` destination charge. Carriers do not all use the same codes for the same surcharge, and many send their own charge names in `L112`. Map each carrier's charge codes to your own freight cost categories once, from its guide, rather than trusting the description text. ### L3: Total Weight and Charges ``` L3*18420*G***576500****58.4*X*1240*K~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **L301 / L302** | Weight, Weight Qualifier | `18420` / `G` | Total gross weight | | **L305** | Charge | `576500` | Total charges: 5,765.00 | | **L309 / L310** | Volume, Volume Unit Qualifier | `58.4` / `X` | Total volume | | **L311** | Lading Quantity | `1240` | Total pieces | | **L312** | Weight Unit Code | `K` | Kilograms | Check that the `L1` charges add up to `L305` and to `B307`. In the sample: 4,900.00 + 790.00 + 75.00 = 5,765.00. ## EDI 310 vs 210, 211, 315 and 810 | Document | Mode | Sent by | Purpose | |---|---|---|---| | **310 Freight Receipt and Invoice (Ocean)** | Ocean | Ocean carrier | Bill of lading data and ocean freight charges | | **[210 Motor Carrier Freight Details and Invoice](/guides/edi/210-motor-carrier-freight-invoice)** | Truck | Motor carrier | Freight invoice for a truck move | | **[211 Motor Carrier Bill of Lading](/guides/edi/211-motor-carrier-bill-of-lading)** | Truck | Shipper | Bill of lading details sent to a motor carrier | | **[315 Status Details (Ocean)](/guides/edi/315-status-details-ocean)** | Ocean | Ocean carrier | Container status events | | **[214 Shipment Status Message](/guides/edi/214-transportation-carrier-shipment-status)** | Truck and other modes | Carrier | Shipment status events | | **[810 Invoice](/guides/edi/810-invoice)** | n/a | Seller | Bills the buyer for goods, not transport | The 210 and 310 share segment names (`B3`, `L0`, `L1`, `L3`, `L5`), so the mapping work looks familiar if you already audit truck freight. The differences are the ocean-specific pieces: the vessel (`V1`), the port and place roles (`R4`), the container and seal detail (`N7`, `M7`), and the fact that on ocean freight the same document doubles as the bill of lading. An importer bringing in a container usually sees both: a 310 from the ocean carrier for the port-to-port leg, and a [210](/guides/edi/210-motor-carrier-freight-invoice) from the drayage or trucking company for the move from the port. Moves inland under the ocean carrier's own bill (as in this sample, with a place of delivery in Ontario, California) can appear on the 310 instead. ## Common 310 Errors and How to Prevent Them | Error | What happens | Prevention | |---|---|---| | **310 not matched to the booking** | Charges sit unapproved; B/L draft goes unchecked | Match on the booking number (`N9*BN`) and B/L number (`N9*BM`), and alert when a booking has no 310 after the documentation cutoff | | **Consignee or notify party differs from the 304** | B/L amendment, or cargo cannot be released at destination | Compare every `N1` on the 310 with your shipping instructions before the B/L is final | | **Container or seal mismatch** | Holds at the terminal, customs questions, wrong containers tracked | Validate container numbers with the ISO 6346 check digit and compare `N7`/`M7` with your packing and loading records | | **Charges do not add up** | Invoice disputes and short payments | Sum the `L1` charges and compare with `L3` and `B307` on receipt | | **Unknown charge codes** | Costs land in the wrong ledger account | Keep a per-carrier table of `L108` codes and flag any code that is not in it | | **Revised 310 overwrites an approved one** | Paid invoice changes without review | Version 310s by B/L number and route changed charges back for approval | | **Prepaid and collect confused** | Both shipper and consignee think the other is paying | Read `B304` and check it against the Incoterms on the purchase order | | **Units misread** | Weights off by a factor of 2.2, volumes by 35 | Always read the weight and volume unit codes; do not assume kilograms or cubic meters | ## 310 Implementation Checklist Before your first live 310 from an ocean carrier or NVOCC: - Get the carrier's 310 implementation guide and confirm the X12 version in `GS08` (004010 is common) - Confirm whether the 310 is a draft B/L, a final B/L, a freight invoice, or all three, and how a revision is flagged - Agree where the B/L number, booking number and invoice number appear - List the `N9` qualifiers it sends, and make sure your purchase order numbers come through - Load its charge codes (`L108`) and map them to your cost categories - Store container numbers with check digits and seals against the purchase orders they carry - Decide how 310 data updates your landed cost and how disputes go back to the carrier - Link the B/L number to your [EDI 315 status feed](/guides/edi/315-status-details-ocean) so the same shipment shows booking, B/L, charges and events together - Confirm the 997 you will send back for each 310 - Test an original, a revision, a prepaid shipment, a collect shipment and a multi-container B/L If you are building out ocean EDI next to your retail documents, our [EDI document types reference](/edi-document-types) shows how transportation sets sit beside the [850 purchase order](/guides/edi/850-purchase-order), the [856 ASN](/guides/edi/856-ship-notice) and the [810 invoice](/guides/edi/810-invoice). For background on the paper document, see our [bill of lading glossary entry](/glossary/bill-of-lading). ## Where OrderSync Fits Every container on a 310 started as a purchase order. The PO number in `N9`, the cargo in `L5` and the quantities the importer expects to receive all depend on that order being captured correctly in the first place, whether it arrived as an EDI 850, a PDF, an email or a spreadsheet. OrderSync reads inbound orders in any format, matches customers, items and units to your catalog, and outputs clean ERP data or valid X12. Paste any 310 into the [free EDI inspector](/edi-inspector) to see it parsed segment by segment with a plain-English summary and any structural errors explained, or [book a 15-minute walkthrough](/book) to see your own orders processed. ## Frequently Asked Questions
### What is an EDI 310? The EDI 310 Freight Receipt and Invoice (Ocean) is the X12 transaction an ocean carrier uses to send bill of lading information and freight charges for a shipment. It carries the B/L and booking numbers, vessel and voyage, parties, ports, containers, seals, cargo description and the charges with the total due. ### Is the EDI 310 a bill of lading or an invoice? It can be either or both. The X12 standard allows the 310 to serve as a shipment receipt, a substitute for the paper bill of lading, an information copy, a manifest or a freight invoice. Each carrier's implementation guide says how it uses the 310 and how it marks drafts and revisions. ### What is the difference between EDI 310 and EDI 210? The 210 is the motor carrier freight invoice for truck moves. The 310 is the ocean equivalent and also carries bill of lading data: vessel and voyage, ports, container numbers and seals. Both use the B3, L0, L1 and L3 segments for references, quantities and charges. ### Who sends and receives the EDI 310? The ocean carrier, or an NVOCC acting as carrier, sends it. The shipper receives it on prepaid freight, the consignee or importer on collect freight, and forwarders and NVOCCs receive it for the shipments they manage. ### How does the 310 relate to the 300, 301 and 304? The 300 requests a booking and the 301 confirms it with a booking number. The 304 sends the shipping instructions for the bill of lading. The 310 comes back from the carrier with the B/L data and the charges, usually referencing the booking number so you can match it. ### Where is the container number in a 310? In the N7 segment inside the LX loop. N701 is the four-letter owner prefix, N702 is the serial number and N718, when sent, is the check digit. Seal numbers follow in M7. ### What functional group and version does the 310 use? The 310 travels in functional group IO, the value in GS01. Many carrier guides use X12 release 004010, and the version for a given carrier is named in GS08. ### How do I check the charges on a 310? Add the L1 charge amounts and compare the sum with L305 in the L3 segment and with B307, the net amount due. Then check each charge code in L108 against the rate you agreed with the carrier.
--- # EDI 315 Status Details (Ocean): Codes and Guide Source: https://ordersync.io/guides/edi/315-status-details-ocean > EDI 315 explained: container status codes like AE, VD, UV, AV and OA, the B4, Q2 and R4 segments, live samples, and how it compares with the 214. The EDI 315 Status Details (Ocean) is the X12 transaction an ocean carrier sends to report a container or shipment event: gated in, loaded on vessel, vessel departed, discharged, available for delivery, out-gated or returned empty. Each 315 carries the status code, date, time and location, plus the container, bill of lading, booking and vessel details. **The EDI 315 is how you know where your container is between the factory and your dock.** Every time a container hits a milestone, the ocean carrier sends a 315 with a status code, a time and a place. Importers use the feed to plan drayage and receiving, forwarders and NVOCCs use it to update customers, and everyone uses it to see free time running out before the terminal invoice arrives. This guide covers what the 315 reports, the status codes you can rely on, where it sits beside the 300, 301 and 310, every segment you will map, two live examples (a vessel departure and three import milestones), how it differs from the motor-carrier 214, and the errors that leave containers untracked. ## What Is an EDI 315? **An EDI 315 is the Status Details (Ocean) transaction set defined by [ASC X12](https://x12.org/products/transaction-sets), used by an ocean carrier to report status or event details for shipments or containers.** The X12 description says it can carry one status or event for many shipments or containers, or more than one status or event for one shipment or container. In practice, most carriers send one 315 per event per container. The 315 travels in functional group `QO` (the `GS01` value). Authoritative references for 315 work: - The [X12 transaction set catalog](https://x12.org/products/transaction-sets) defines the 315 structure and the shipment status code list used in `B4` - [Stedi's X12 004010 reference for the 315](https://www.stedi.com/edi/x12-004010/315) lists the segments, elements and code values for release 004010 - The UN/LOCODE list maintained by UNECE supplies the five-character location codes (such as `CNSHA` or `USLAX`) most carriers use for event locations - The [BIC container prefix register](https://www.bic-code.org/) governs the four-letter owner codes in ISO 6346 container numbers, which the 315 carries in `B4` - Each ocean carrier publishes its own 315 implementation guide, listing the status codes it actually sends and how you subscribe to them **Who sends it?** The ocean carrier, or an NVOCC or visibility provider passing carrier events on. **Who receives it?** Whoever subscribed to the shipment: the shipper, the consignee or importer, the forwarder or NVOCC, and sometimes a customs broker or trucker. **When is it sent?** At each event the carrier records for the container, from empty pickup at origin to empty return at destination. Some carriers also send estimated events, such as a revised vessel arrival. **Why does it matter?** Ocean freight runs on free time. A container that is available at the terminal but not picked up, or out of the terminal and not returned, starts costing money under the carrier's tariff or your contract. The 315 tells you when those clocks start. ## Where the 315 Fits in Ocean EDI The 315 is the status feed in a family of ocean transaction sets: | Set | X12 name | Usually sent by | What it does | |---|---|---|---| | **[300](/guides/edi/300-reservation-booking-request-ocean)** | Reservation (Booking Request) (Ocean) | Shipper, forwarder or NVOCC | Requests space on a sailing | | **[301](/guides/edi/301-confirmation-ocean)** | Confirmation (Ocean) | Ocean carrier | Confirms the booking and returns the booking number | | **[304](/guides/edi/304-shipping-instructions)** | Shipping Instructions | Shipper, forwarder or NVOCC | Gives the details for the bill of lading | | **310** | Freight Receipt and Invoice (Ocean) | Ocean carrier | Bill of lading data and freight charges. See the [EDI 310 guide](/guides/edi/310-freight-receipt-and-invoice-ocean) | | **313** | Shipment Status Inquiry (Ocean) | Shipper, consignee or forwarder | Asks the carrier for status | | **315** | Status Details (Ocean) | Ocean carrier | Reports container and shipment events | The 315 references the same numbers as the rest of the flow: the booking number from the 301, the bill of lading number from the 310, and the container numbers. Your systems should be able to find a container from any of the three. ## EDI 315 Status Codes The event is coded in `B403`, X12 data element 157 (Shipment Status Code). The same element is shared with other transportation sets and has well over a hundred values, but a carrier's 315 guide uses a short list. The codes below are taken from the X12 004010 code list for element 157 and are the ones ocean 315 guides most often use. Check your carrier's guide for its own subset. ### Export and ocean leg | Code | X12 meaning | What it tells you | |---|---|---| | `EE` | Empty Equipment Dispatched | An empty container has gone out to the shipper or loading point | | `I` | In-Gate | The container entered a facility, usually the origin terminal, loaded | | `AE` | Loaded on Vessel | The container is on board | | `VD` | Vessel Departure | The vessel has sailed (or, with an estimated date, is scheduled to) | | `VA` | Vessel Arrival | The vessel has arrived (or, with an estimated date, is scheduled to) | | `UV` | Unloaded From Vessel | The container is discharged at the port named in the message | | `E` | Estimated to Arrive (En Route) | An estimated arrival at the location given | At a transshipment port you will see `UV` and then a second `AE` and `VD` for the next vessel, so do not treat the first `UV` as arrival at destination without checking the location. ### Import release and delivery | Code | X12 meaning | What it tells you | |---|---|---| | `CT` | Customs Released | Customs has released the cargo | | `CR` | Carrier Release | The carrier has released the cargo, usually once freight is paid and documents are presented | | `CU` | Carrier and Customs Release | Both releases in one event | | `BR` | Bill of Lading Released | The bill of lading has been released | | `OB` | Original Bill of Lading Received | The carrier has received the original B/L | | `AV` | Available for Delivery | The container can be picked up | | `OA` | Out-Gate | The container left the facility, usually on a truck from the terminal | | `D` | Completed Unloading at Delivery Location | Delivered | | `RD` | Return Container | The empty container has been returned | | `FT` | Free Time Expired | Free time at the location has run out | ### Rail and inland moves | Code | X12 meaning | What it tells you | |---|---|---| | `AL` | Loaded on Rail | Loaded onto a rail car | | `RL` | Rail Departure from Origin Intermodal Ramp | Rail move has started | | `AR` | Rail Arrival at Destination Intermodal Ramp | Arrived at the inland ramp | | `UR` | Unloaded from a Rail Car | Off the train at the ramp | | `AM` | Loaded on Truck | Loaded onto a truck | ### Holds and exceptions | Code | X12 meaning | What it tells you | |---|---|---| | `PU` | Other U.S. Agency Hold at Place of Vessel Arrival | A US agency other than Customs or USDA has placed a hold | | `IB` | U.S. Customs, In-bond Movement Authorized | The cargo may move in bond | | `CA` | Shipment Cancelled | The shipment was cancelled | | `TM` | Intra-Terminal Movement | Moved within the terminal | Some carriers send codes from outside this list or use their own codes for events such as a hold release or a change of vessel. Those meanings come only from that carrier's guide. If a code you receive is not in your table, log it and look it up there rather than guessing. ### Estimated vs actual `VA` and `VD` mean "scheduled to arrive or depart, or has arrived or departed". The difference between an estimate and a fact is in the dates. In the samples below, a `DTM` after the port's `R4` segment uses `139` for estimated and `140` for actual. Read the qualifier before you tell a customer the vessel has arrived. ## Interactive Example: 315 Vessel Departure An ocean carrier (SCAC `BLUQ`) reports that container `QXZU4128732`, a loaded 40-foot high cube, sailed from Shanghai on voyage 118E. `B4` carries the status code `VD`, the date and time, the location and the container. The `N9` segments carry the bill of lading, booking and purchase order numbers. `Q2` names the vessel. The `R4` loops give the place of receipt, the port of loading with the actual departure, and the port of discharge with an estimated arrival. All names, numbers and codes for the parties, carrier, vessel and container are fictional. Use the **Plain English** tab for a readable summary, or click any segment to break it down element by element. ## Interactive Example: Import Milestones (UV, AV, OA) The same container arrives at Los Angeles. One interchange carries three 315 transactions: unloaded from vessel (`UV`), available for delivery (`AV`) and out-gate (`OA`). The out-gate message adds the place of delivery, the importer's warehouse in Ontario, California. These three events are the ones an import team watches most closely, because they decide when to dispatch a trucker and when free time starts to matter. ## 315 Structure at a Glance The table follows X12 release 004010. The 315 is short: one status, the references, the vessel, and the locations. | Position | Segment | Name | Usage in the standard | Notes | |---|---|---|---|---| | Heading | **ST** | Transaction Set Header | Mandatory | `ST01` = `315` | | Heading | **B4** | Beginning Segment for Inquiry or Reply | Mandatory | Status code, date, time, location and container | | Heading | **N9** | Reference Identification | Optional, up to 30 | B/L, booking, PO and other references | | Heading | **Q2** | Status Details (Ocean) | Optional | Vessel, voyage, departure and discharge dates | | Heading | **SG** | Shipment Status | Optional, up to 15 | Earlier or additional statuses, each with a date | | Heading loop | **R4** | Port or Terminal | Mandatory, up to 20 | Places on the route | | Heading loop | **DTM** | Date/Time Reference | Optional, up to 15 per R4 | Estimated or actual dates at that place | | Heading | **V9** | Event Detail | Optional, up to 10 | Further event detail, used by some carriers | | Summary | **SE** | Transaction Set Trailer | Mandatory | Segment count and control number | ## Key Segments Explained ### B4: Beginning Segment for Inquiry or Reply ``` B4***VD*20261104*1830*CNSHA*QXZU*412873*L*45G1*CNSHA*UN*2~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **B403** | Shipment Status Code | `VD` | The event (see the status code tables) | | **B404** | Date | `20261104` | Date of the event | | **B405** | Status Time | `1830` | Time of the event, usually local time at the location | | **B406** | Status Location | `CNSHA` | Where the event happened, 3 to 5 characters | | **B407** | Equipment Initial | `QXZU` | Container owner prefix | | **B408** | Equipment Number | `412873` | Container serial number | | **B409** | Equipment Status Code | `L` | `L` load, `E` empty | | **B410** | Equipment Type | `45G1` | Four-character equipment type; `45G1` is the ISO 6346 code for a 40-foot high cube general-purpose container | | **B411** | Location Identifier | `CNSHA` | Location code for the event | | **B412** | Location Qualifier | `UN` | `UN` means `B411` is a UN/LOCODE | | **B413** | Equipment Number Check Digit | `2` | ISO 6346 check digit | `B407`, `B408` and `B413` together make the container number: `QXZU4128732`. Some carriers send the check digit as part of `B408`, so normalize container numbers before you match them. Equipment type codes (`B410`) vary by carrier: some send ISO size-type codes, others older four-digit codes. `B401` (special handling) and `B402` (inquiry request number) are rarely used on carrier-initiated 315s. ### N9: Reference Identification ``` N9*BM*BLUQSHA2611045~ N9*BN*BK7730412~ N9*PO*4500918832~ ``` | Qualifier | Meaning | Why you need it | |---|---|---| | `BM` | Bill of lading number | Links the event to the 310 and the customs entry | | `BN` | Booking number | Links it to the 301 booking confirmation | | `PO` | Purchase order number | Links it to your orders, when the carrier has them from the 304 | | `MB` | Master bill of lading | Sent on house bills issued by NVOCCs | | `EQ` | Equipment number | The container number, as a reference | ### Q2: Status Details (Ocean) ``` Q2*9700017*LR**20261104*20261120****118E***L*MERIDIAN HARBOR~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **Q201** | Vessel Code | `9700017` | Vessel identifier, here a Lloyd's (IMO) number | | **Q202** | Country Code | `LR` | Country of registry | | **Q203** | Date | | Required pier date | | **Q204** | Date | `20261104` | Date of vessel departure | | **Q205** | Date | `20261120` | Date unloaded from the vessel | | **Q206** | Lading Quantity | | Pieces | | **Q207 / Q208** | Weight, Weight Qualifier | | Weight and its type | | **Q209** | Flight/Voyage Number | `118E` | Voyage | | **Q212** | Vessel Code Qualifier | `L` | `L` Lloyd's Register of Shipping, `C` ship's radio call sign | | **Q213** | Vessel Name | `MERIDIAN HARBOR` | Vessel name | | **Q216** | Weight Unit Code | | `K` kilograms, `L` pounds | The vessel name and voyage let you group every container on the same sailing, which is how you spot a delayed vessel before each container's events catch up. ### SG: Shipment Status ``` SG*AE***20261104*1210~ ``` | Element | Name | What it means | |---|---|---| | **SG01** | Shipment Status Code | A status from the same code list as `B403` | | **SG02** | Status Reason Code | Why, when the carrier sends a reason | | **SG04** | Date | Date of that status | | **SG05** | Time | Time of that status | Some carriers use `SG` to repeat earlier events in each 315 so a receiver that missed one message still has the history. Neither sample above uses it. ### R4 and DTM: Port or Terminal ``` R4*L*UN*CNSHA*SHANGHAI*CN*EAST PIER TERMINAL~ DTM*140*20261104*1830~ R4*D*UN*USLAX*LOS ANGELES*US~ DTM*139*20261119*0800~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **R401** | Port or Terminal Function Code | `L` | `R` place of receipt, `L` port of loading, `D` port of discharge, `E` place of delivery, `T` transshipment port, `5` activity location | | **R402** | Location Qualifier | `UN` | UN/LOCODE | | **R403** | Location Identifier | `CNSHA` | Location code | | **R404** | Port Name | `SHANGHAI` | Name | | **R405** | Country Code | `CN` | Country | | **R406** | Terminal Name | `EAST PIER TERMINAL` | Terminal, when sent | | **DTM01** | Date/Time Qualifier | `140` | `139` estimated, `140` actual | | **DTM02 / DTM03** | Date, Time | `20261104` / `1830` | When | The standard requires at least one `R4`. Carriers vary in how many they send: some send the full route on every 315, others only the location of the event. The estimated arrival at the port of discharge (`R4*D` with `DTM*139`) is the date most import teams plan around, and it changes. Keep the latest value and the history. ## EDI 315 vs 214, 310 and 856 | Document | Mode | Sent by | Purpose | |---|---|---|---| | **315 Status Details (Ocean)** | Ocean | Ocean carrier | Container events, coded in `B4` | | **[214 Shipment Status Message](/guides/edi/214-transportation-carrier-shipment-status)** | Truck and other modes | Carrier | Shipment events, coded in `AT7` | | **[310 Freight Receipt and Invoice (Ocean)](/guides/edi/310-freight-receipt-and-invoice-ocean)** | Ocean | Ocean carrier | Bill of lading data and charges | | **[856 Ship Notice/ASN](/guides/edi/856-ship-notice)** | Any | Supplier | What was shipped, down to carton | The 214 and 315 do the same job for different modes, with different segments. The 214 puts the status in `AT7` with a separate reason code; the 315 puts it in `B4` with the container number in the same segment. A container moving door to door often produces both: 315s from the ocean carrier for the port-to-port leg, and [214s from the trucker](/guides/edi/214-transportation-carrier-shipment-status) once it leaves the terminal on a drayage move. That drayage leg is often tendered with a [204 load tender](/guides/edi/204-motor-carrier-load-tender) and billed with a [210 freight invoice](/guides/edi/210-motor-carrier-freight-invoice). Tie both feeds to the same container number and you have one timeline. ## Common 315 Errors and How to Prevent Them | Error | What happens | Prevention | |---|---|---| | **Container number formats differ** | Events do not match the container on file | Normalize to prefix plus serial plus check digit, and validate the check digit | | **Estimate read as actual** | Customers told a vessel has arrived when it has not | Read the `DTM` qualifier (`139` or `140`) or the carrier's equivalent before updating status | | **Transshipment discharge read as arrival** | Drayage booked at the wrong port | Check the location in `B406`/`B411` against the port of discharge in `R4*D` | | **Events arrive out of order** | Status goes backwards on the dashboard | Order by event date and time, not by receipt time, and keep every event | | **Unknown status codes dropped** | Holds and exceptions go unseen | Store any unmapped code and alert on it | | **No subscription for a B/L** | No 315s arrive at all | Confirm with the carrier how shipments are subscribed (by B/L, booking or container) and check that every live booking is covered | | **`AV` not acted on** | Container sits at the terminal past free time | Route `AV` events straight to whoever dispatches drayage | | **No `RD` after `OA`** | Empty not returned, or return not recorded | Alert when an out-gated container has no return event within the period your contract allows | ## 315 Implementation Checklist Before your first live 315 feed from an ocean carrier, NVOCC or visibility provider: - Get the carrier's 315 implementation guide and confirm the X12 version in `GS08` (004010 is common) - Get its list of status codes and add any carrier-specific ones to your mapping - Agree how shipments are subscribed: by B/L, booking number or container - Confirm where the container number, B/L and booking numbers appear, and whether the check digit is separate - Confirm whether event times are local and how estimates are flagged - Map each status to the action your team takes (dispatch, customer notice, receiving appointment) - Join 315 events to the [310](/guides/edi/310-freight-receipt-and-invoice-ocean) by B/L number and to purchase orders by PO number - Confirm the 997 you will send back for each 315 - Test an export sequence, an import sequence, a transshipment, a rail move and a revised estimate If ocean EDI is new to your team, our [EDI document types reference](/edi-document-types) shows where transportation sets sit next to the [850 purchase order](/guides/edi/850-purchase-order) and the [856 ASN](/guides/edi/856-ship-notice). The [SCAC code glossary entry](/glossary/scac-code) explains the carrier codes used in the envelope and the 310. ## Where OrderSync Fits A container status is only as useful as your record of what is in the container. That record starts with the purchase order, and for many importers the orders behind a container arrive in a mix of EDI 850s, PDFs, emails and spreadsheets. OrderSync reads inbound orders in any format, matches customers, items and units to your catalog, and outputs clean ERP data or valid X12, so the PO numbers on your bookings and 315 events point at accurate orders. Paste any 315 into the [free EDI inspector](/edi-inspector) to see it parsed segment by segment with a plain-English summary and any structural errors explained, or [book a 15-minute walkthrough](/book) to see your own orders processed. ## Frequently Asked Questions
### What is an EDI 315? The EDI 315 Status Details (Ocean) is the X12 transaction an ocean carrier sends to report a container or shipment event, such as loaded on vessel, vessel departure, discharge, availability for delivery or out-gate. Each message carries the status code, date, time, location, container number and references like the bill of lading and booking numbers. ### What are the EDI 315 status codes? The status code sits in B403. Common ocean codes from the X12 list include EE empty equipment dispatched, I in-gate, AE loaded on vessel, VD vessel departure, VA vessel arrival, UV unloaded from vessel, CT customs released, AV available for delivery, OA out-gate and RD return container. Each carrier's guide lists the subset it sends. ### What is the difference between EDI 214 and 315? Both report shipment status. The 214 is used by motor carriers and other modes and puts the status in the AT7 segment. The 315 is the ocean version: it puts the status, location and container number in the B4 segment and adds vessel details in Q2. ### Who sends the EDI 315? The ocean carrier sends it, often directly and sometimes through an NVOCC, forwarder or visibility platform. It goes to whoever subscribed to the shipment: the shipper, the consignee or importer, the forwarder, and sometimes the customs broker. ### How do I tell an estimated vessel arrival from an actual one? VA means the vessel is scheduled to arrive or has arrived. Read the date qualifier: in carrier guides that use DTM after the R4 port segment, 139 is estimated and 140 is actual. Only treat the arrival as fact once you have an actual date. ### Where is the container number in a 315? In the B4 segment. B407 is the four-letter owner prefix, B408 the serial number and B413 the check digit. Some carriers also send the container number in an N9 segment with the EQ qualifier. ### What functional group and version does the 315 use? The 315 travels in functional group QO, the value in GS01. Many carrier guides use X12 release 004010, and the version for a given carrier is named in GS08. ### How does the 315 relate to the 300, 301 and 310? The 300 and 301 book the space and produce the booking number. The 310 delivers the bill of lading data and charges. The 315 then reports events against the same booking, bill of lading and container numbers, so all four documents can be joined into one shipment record.
--- # EDI 322 Terminal Operations: Ramp Activity Guide Source: https://ordersync.io/guides/edi/322-terminal-operations-intermodal-ramp-activity > EDI 322 explained: terminal and intermodal ramp events, the Q5, N7, R4 and N9 segments, status codes, a live sample, and how it relates to the 315 and 214. The EDI 322 Terminal Operations and Intermodal Ramp Activity is the X12 transaction a marine terminal, rail ramp or railroad sends to report what happened to equipment at a terminal: discharged from a vessel, loaded on rail, in-gated, out-gated and similar events. Each 322 carries a status code, date and time, the container or trailer, and the location. **The EDI 322 is how terminals and rail ramps tell everyone else what they did with the box.** A marine terminal discharges a container, a trucker pulls it out of the gate, a port operator ramps it onto a railcar, a railroad unloads it at an inland ramp. Each of those moves is recorded by whoever operates the facility, and the 322 is the X12 message that reports it to the ocean carrier, the railroad or the customer that needs to know. This guide covers what the 322 reports, who sends it to whom, how it relates to the [315](/guides/edi/315-status-details-ocean) container status feed, every segment you will map, a live sample with a discharge and an out-gate at Los Angeles, and the errors that leave terminal events out of the shipment record. ## What Is an EDI 322? **An EDI 322 is the Terminal Operations and Intermodal Ramp Activity transaction set defined by [ASC X12](https://x12.org/products/transaction-sets), used to report terminal operations and intermodal ramp activity for equipment.** It is built around one event per transaction: a `Q5` status at the top, then one or more pieces of equipment, each with its own location, vessel, parties and references. The 322 travels in functional group `SO` (the `GS01` value), the same group as the 304. Authoritative references for 322 work: - The [X12 transaction set catalog](https://x12.org/products/transaction-sets) defines the 322 structure and the shipment status code list used in `Q5` - [Stedi's X12 004010 reference for the 322](https://www.stedi.com/edi/x12-004010/322) lists the segments, elements and code values for release 004010 - [CN's 322 implementation guide for port operators](https://www.cn.ca/-/media/files/customer-centre/customer-centre-documents/322-implementation-guide-for-port-operators-4010.pdf) is a public example of a port operator sending 322s to a railroad as containers are ramped onto railcars, with a full sample message - [CN's customer 322 implementation guide](https://www.cn.ca/-/media/files/customer-centre/customer-centre-documents/322-implementation-guide-4010-en.pdf) shows the other direction: a railroad sending intermodal events to its customers, with the status codes it offers - The [BIC container prefix register](https://www.bic-code.org/) governs the four-letter owner codes in ISO 6346 container numbers, which the 322 carries in `N7` **Who sends it?** Whoever operates the facility or the move: a marine terminal operator, a port operator ramping containers to rail, or a railroad reporting ramp events. Chassis providers also publish 322 implementation guides. **Who receives it?** The party that needs the event: the ocean carrier whose container it is, the railroad taking it inland, or a shipper, consignee or forwarder that subscribed to a railroad's feed. **When is it sent?** As events happen or on a schedule. The CN guides describe both: port operators send 322s as containers are ramped, and CN's customer feed can be scheduled at intervals through the day. **Why does it matter?** The terminal and the ramp are where containers sit, and where storage and free time are counted. A carrier that does not get the terminal's discharge and gate events cannot send accurate 315s to its customers, and a railroad that does not get the port operator's ramp events cannot track what is on its trains. ## The 322 in the Ocean Flow | Set | X12 name | Usually sent by | What it does | |---|---|---|---| | **[300](/guides/edi/300-reservation-booking-request-ocean)** | Reservation (Booking Request) (Ocean) | Booking party | Asks for space | | **[301](/guides/edi/301-confirmation-ocean)** | Confirmation (Ocean) | Ocean carrier | Confirms the booking | | **[304](/guides/edi/304-shipping-instructions)** | Shipping Instructions | Booking party | Bill of lading details | | **[310](/guides/edi/310-freight-receipt-and-invoice-ocean)** | Freight Receipt and Invoice (Ocean) | Ocean carrier | Bill of lading data and charges | | **[315](/guides/edi/315-status-details-ocean)** | Status Details (Ocean) | Ocean carrier | Container events to the shipper, consignee or forwarder | | **322** | Terminal Operations and Intermodal Ramp Activity | Terminal, port operator or railroad | Events at terminals and ramps | The 300 to 310 documents set up the booking and the bill of lading. The 315 and the 322 report what happens to the containers afterwards, from different sources. A common pattern: the terminal records the discharge and the out-gate and sends 322s to the ocean carrier, and the carrier passes the same events on to its customers as 315s. On rail moves, the railroad may send 322s directly to the customer. Who sends what is set by the trading partner agreements, so confirm the flow with each partner. ## Q5 Status Codes in a 322 The event is coded in `Q501`, X12 data element 157 (Shipment Status Code), the same element the 315 uses in `B403` and the 214 in `AT701`. Each terminal or railroad uses its own subset. These codes appear in published 322 guides and the X12 list: | Code | X12 meaning | Where you will see it | |---|---|---| | `UV` | Unloaded From Vessel | Marine terminal: container discharged | | `AE` | Loaded on Vessel | Marine terminal: container loaded for export | | `I` | In-Gate | Terminal or ramp: container entered | | `OA` | Out-Gate | Terminal or ramp: container left, usually on a truck | | `AL` | Loaded on Rail | Port operator or ramp: container on a railcar | | `RL` | Rail Departure from Origin Intermodal Ramp | Railroad: train departed | | `AR` | Rail Arrival at Destination Intermodal Ramp | Railroad: arrived at the inland ramp | | `UR` | Unloaded from a Rail Car | Railroad: off the train at the ramp | | `NT` | Notification | Railroad: customer notified | | `TM` | Intra-Terminal Movement | Terminal: moved within the facility | | `VA` / `VD` | Vessel Arrival / Vessel Departure | Vessel events at the terminal | The CN customer guide lists a longer set, including bad order and repair events and interchange events between railroads, and uses an `NF` event to carry the last free day of storage when the customer asks for it. Codes like that come from the partner's guide only, so log any code you do not recognise and look it up there. ## Interactive Example: Discharge and Out-Gate at Los Angeles A fictional marine terminal operator at Los Angeles (`SOUTHBAYCT`) reports two events to the ocean carrier (SCAC `BLUQ`) for container `QXZU4128732`. One interchange carries two 322 transactions. The first reports `UV`, unloaded from vessel, on 20 November at 11:42 local time. The second reports `OA`, out-gate, on 21 November at 13:52, and adds an `N1` for the drayage carrier that pulled the container. In both, `N7` identifies the container with its check digit, type and owner SCAC, `M7` gives the seal, `V1` the vessel and voyage, `R4` the terminal and `N9` the bill of lading and booking numbers. All names, numbers and codes are fictional. The carrier's own [315 import milestones sample](/guides/edi/315-status-details-ocean) reports the same two events to the importer. Use the **Plain English** tab for a readable summary, or click any segment to break it down element by element. ## 322 Structure at a Glance The table follows X12 release 004010. Most of the 322 sits inside the `N7` loop, so one transaction can report the same event for many pieces of equipment. | Area | Segment | Name | Usage in the standard | Notes | |---|---|---|---|---| | Heading | **ST** | Transaction Set Header | Mandatory | `ST01` = `322` | | Heading | **ZC1** | Beginning Segment for Data Correction or Change | Optional | Used when correcting an earlier event | | Heading | **Q5** | Status Details | Mandatory | The event, date, time and place | | Detail loop | **N7** | Equipment Details | Mandatory, up to 1000 | One loop per container, trailer or chassis | | N7 loop | **V4** | Cargo Location Reference | Optional | Where the cargo is | | N7 loop | **DTM** | Date/Time Reference | Optional, up to 2 | Dates for the equipment | | N7 loop | **M7** | Seal Numbers | Optional, up to 5 | Seals | | N7 loop | **W09** | Equipment and Temperature | Optional | Reefer settings | | N7 loop | **W2** | Equipment Identification | Optional | Equipment and its load or empty status | | N7 loop | **NA** | Cross-Reference Equipment | Optional, up to 30 | Railcar, chassis or other linked equipment | | N7 loop | **V1** | Vessel Identification | Optional | Vessel and voyage | | N7 loop | **R4 / DTM** | Port or Terminal, Date/Time | Mandatory, up to 20 | Terminal or ramp locations | | N7 loop | **N1 / N3 / N4** | Name and address | Optional, up to 10 | Parties such as the trucker or consignee | | N7 loop | **N9** | Reference Identification | Optional, up to 10 | B/L, booking, waybill, pick-up numbers | | N7 loop | **L0 / L5 / H1** | Cargo lines | Optional | Quantity, description, hazardous material | | Summary | **SE** | Transaction Set Trailer | Mandatory | Segment count and control number | ## Key Segments Explained ### Q5: Status Details ``` Q5*UV*20261120*1142*LT~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **Q501** | Shipment Status Code | `UV` | The event (see the status code table) | | **Q502** | Date | `20261120` | Date of the event | | **Q503** | Time | `1142` | Time of the event | | **Q504** | Time Code | `LT` | `LT` local time. `Q503` and `Q504` travel together | | **Q505** | Status Reason Code | | Why, when a reason is given | | **Q506 / Q507 / Q508** | City, State or Province, Country | | Where, in words, when sent | | **Q509 / Q510** | Equipment Initial, Equipment Number | | Equipment, when the partner puts it here as well as in `N7` | The CN customer guide notes that its default is universal time and local time is an option. Always read `Q504` before you compare a terminal event with a vessel schedule or a truck appointment. ### N7: Equipment Details ``` N7*QXZU*412873*9210*G*******CN*BLUQ*****K*2****45G1~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **N701** | Equipment Initial | `QXZU` | Owner prefix | | **N702** | Equipment Number | `412873` | Serial number | | **N703 / N704** | Weight, Weight Qualifier | `9210` / `G` | Weight and its type | | **N705** | Tare Weight | | Tare, when sent | | **N711** | Equipment Description Code | `CN` | `CN` container | | **N712** | Standard Carrier Alpha Code | `BLUQ` | The equipment owner's SCAC | | **N717** | Weight Unit Code | `K` | Kilograms | | **N718** | Equipment Number Check Digit | `2` | ISO 6346 check digit | | **N722** | Equipment Type | `45G1` | 40-foot high cube general-purpose | The `N7` opens the loop that carries everything else about the equipment. If a 322 reports a vessel discharge for 300 containers, it carries 300 `N7` loops under a single `Q5`. ### V1: Vessel Identification ``` V1*9700017*MERIDIAN HARBOR*LR*118E*BLUQ***L~ ``` `V101` is the vessel code (here a Lloyd's or IMO number, qualified by `V108` = `L`), `V102` the name, `V103` the flag, `V104` the voyage and `V105` the carrier. Vessel and voyage let the receiver group all the containers from one discharge. ### R4: Terminal or Ramp ``` R4*D*UN*USLAX*LOS ANGELES*US*SOUTH BAY CONTAINER TERMINAL~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **R401** | Port or Terminal Function Code | `D` | The role of the location | | **R402** | Location Qualifier | `UN` | `UN` UN/LOCODE; rail guides often use SPLC codes instead | | **R403** | Location Identifier | `USLAX` | Location code | | **R404** | Port Name | `LOS ANGELES` | Name | | **R405** | Country Code | `US` | Country | | **R406** | Terminal Name | `SOUTH BAY CONTAINER TERMINAL` | Terminal | Function codes and location schemes vary more on the 322 than on the 315. Marine terminals often report against the port of discharge or loading. The CN port operator guide uses `6` origin rail terminal and `7` destination rail terminal with Canadian and US SPLC codes. Map what each partner sends rather than assuming one scheme. ### N1 and N9: Parties and References ``` N1*MC*HARBORLINE DRAYAGE INC*2*HLDY~ N9*BM*BLUQSHA2611045~ N9*BN*BK7730412~ ``` `N101` = `MC` names a motor carrier, here the drayage company that pulled the container on the out-gate, with its SCAC in `N104` (qualifier `2` in `N103`). The `N9` references tie the event to the shipment: `BM` bill of lading, `BN` booking, and on rail moves `WY` waybill number and `P8` pick-up number, as the CN guides show. The bill of lading number is the key you will use to join 322 events to the [310](/guides/edi/310-freight-receipt-and-invoice-ocean) and the [315](/guides/edi/315-status-details-ocean) feed. ## EDI 322 vs 315, 214 and 313 | Document | Mode | Sent by | Purpose | |---|---|---|---| | **322 Terminal Operations and Intermodal Ramp Activity** | Terminal and rail | Terminal operator, port operator or railroad | Equipment events at terminals and ramps | | **[315 Status Details (Ocean)](/guides/edi/315-status-details-ocean)** | Ocean | Ocean carrier | Container events to customers, coded in `B4` | | **[214 Shipment Status Message](/guides/edi/214-transportation-carrier-shipment-status)** | Truck and other modes | Carrier | Shipment events, coded in `AT7` | | **313 Shipment Status Inquiry (Ocean)** | Ocean | Shipper, consignee or forwarder | Asks a carrier for status | All three status messages share the shipment status code list, so a `UV` or `OA` means the same thing whichever set it arrives in. The difference is the source and the shape. The 315 is the ocean carrier's account to its customer, one container per message in most guides. The 322 is the facility's account, often many containers per message, and focused on equipment rather than the shipment. The 214 is the truck carrier's account of the drayage leg that follows the out-gate, often tendered with a [204](/guides/edi/204-motor-carrier-load-tender) and billed with a [210](/guides/edi/210-motor-carrier-freight-invoice). Join all three on the container number and you have one timeline. ## Common 322 Errors and How to Prevent Them | Error | What happens | Prevention | |---|---|---| | **Time zone ignored** | Events appear hours early or late against vessel and truck schedules | Read `Q504` and convert before storing | | **Only the first `N7` read** | Most containers in a multi-equipment 322 are missed | Loop over every `N7` and apply the `Q5` event to each | | **Container number formats differ** | Events do not match the container on file | Normalize prefix, serial and check digit, and validate the check digit | | **Location scheme assumed** | Rail ramp SPLC codes read as UN/LOCODEs, or the reverse | Read `R402` and keep a location table per partner | | **Corrections applied as new events** | A wrong event stays in the history next to the right one | Handle `ZC1` corrections as the partner's guide describes | | **Unknown codes dropped** | Bad orders, holds and free time events go unseen | Store any unmapped `Q501` code and alert on it | | **322 and 315 events double-counted** | The same out-gate appears twice | Deduplicate on container, status code and event time | ## 322 Implementation Checklist Before your first live 322 feed from a terminal, port operator or railroad: - Get the partner's 322 implementation guide and confirm the X12 version in `GS08` (004010 is common) and the `SO` functional group - Get its list of `Q501` status codes and add any partner-specific ones to your mapping - Confirm whether times are local or universal, and how `Q504` is used - Confirm how many `N7` loops a transaction can carry and whether events for one container can arrive in different transactions - Agree the location scheme in `R4` (UN/LOCODE, SPLC or the partner's own codes) - Confirm which references come in `N9`, and map the bill of lading and booking numbers to your shipments - Decide how 322 events and 315 events for the same container are merged - Confirm the 997 or 824 you will send back - Test a single event, a multi-container event, a correction and a rail ramp sequence if the move goes inland by rail If you are mapping ocean and rail EDI for the first time, our [EDI document types reference](/edi-document-types) shows where these sets sit beside the [850 purchase order](/guides/edi/850-purchase-order) and the [856 ASN](/guides/edi/856-ship-notice). The [SCAC code glossary entry](/glossary/scac-code) explains the carrier codes the 322 uses for equipment owners and truckers. ## Where OrderSync Fits A terminal event tells you where the container is. To act on it, you need to know which purchase orders are inside and who is waiting for them, and that record starts with orders that often arrive as EDI 850s, PDFs, emails and spreadsheets. OrderSync reads inbound orders in any format, matches customers, items and units to your catalog, and outputs clean ERP data or valid X12. Paste any 322 into the [free EDI inspector](/edi-inspector) to see it parsed segment by segment with a plain-English summary and any structural errors explained, or [book a 15-minute walkthrough](/book-call) to see your own orders processed. ## Frequently Asked Questions
### What is an EDI 322? The EDI 322 Terminal Operations and Intermodal Ramp Activity is the X12 transaction used to report equipment events at marine terminals and intermodal rail ramps, such as unloaded from vessel, in-gate, out-gate, loaded on rail and unloaded from rail. Each message carries a Q5 status with date and time and an N7 loop for each piece of equipment. ### Who sends the EDI 322? The party that operates the facility or the move: a marine terminal operator, a port operator loading containers onto rail, or a railroad reporting ramp events. It goes to the ocean carrier, the railroad or a customer that subscribed to the feed. ### What is the difference between EDI 322 and EDI 315? The 315 is the ocean carrier's status message to its customers, with the event in the B4 segment. The 322 is the terminal's or railroad's report of equipment activity, with the event in Q5 and one N7 loop per container. Terminal 322 events often feed the carrier's 315s. ### Where is the status code in a 322? In Q501, the first element of the Q5 Status Details segment. It uses X12 element 157, the same shipment status code list as the 315 and the 214, so codes like UV, I, OA, AL and UR mean the same thing in each. ### Can one 322 cover more than one container? Yes. The Q5 event sits at the top of the transaction and the N7 loop can repeat up to 1000 times in release 004010, so one 322 can report the same event, such as a vessel discharge, for many containers. ### What functional group and version does the 322 use? The 322 travels in functional group SO, the value in GS01, shared with the 304. Many partner guides use X12 release 004010, and the version is named in GS08. ### Do I need the 322 if I already get 315s? Importers and shippers usually get what they need from the carrier's 315s. The 322 matters most to ocean carriers, railroads, terminals and companies with direct rail or terminal feeds. If you receive both, merge them on container number, status and time so events are not counted twice.
--- # EDI 404 Rail Carrier Shipment Information Guide Source: https://ordersync.io/guides/edi/404-rail-carrier-shipment-information > EDI 404 explained: the rail bill of lading a shipper sends a railroad, its BX, BNX, M3, N7, F9, D9, R2 and L5 segments, a carload sample and common errors. The EDI 404 Rail Carrier Shipment Information is the X12 transaction a shipper sends a railroad to tender a carload or intermodal shipment. It is the electronic rail bill of lading: the car, release instruction, bill of lading number, origin and destination stations, shipper and consignee, the railroads in the route, and the commodity with its STCC code and weight. **The EDI 404 is how a shipper tells a railroad "this car is loaded, here is where it goes."** A truck shipper offers a load with a [204 load tender](/guides/edi/204-motor-carrier-load-tender) and the carrier sends a truck. Rail works differently. The car is already on the shipper's siding, the shipper loads it, and the 404 is the bill of lading that releases the car to the railroad, names the route and declares what is inside. The railroad builds its waybill from the 404, and everything it bills later comes from that waybill. This guide covers what the 404 carries, how rail shipping differs from truck and ocean, every segment you will map, a live carload sample on a two-railroad route, how the 404 relates to the [417 waybill](/guides/edi/417-rail-carrier-waybill-interchange) and the [410 freight invoice](/guides/edi/410-rail-carrier-freight-details-and-invoice), and the errors that hold cars on the siding. ## What Is an EDI 404? **An EDI 404 is the Rail Carrier Shipment Information transaction set defined by [ASC X12](https://x12.org/products/transaction-sets), used to transmit rail-carrier-specific bill of lading information to a railroad.** The X12 description of the set calls it the initial tender of a shipment between a consignor and a rail carrier. It travels in functional group `SR` (the `GS01` value). Authoritative references for 404 work: - [Stedi's X12 004010 reference for the 404](https://www.stedi.com/edi/x12-004010/404) lists every segment, loop and element in release 004010 - [CN's 404 implementation guides](https://cn.ca/-/media/files/customer-centre/customer-centre-documents/canada-to-us-8050-en.pdf) show a real railroad's requirements, including the transborder data US Customs and Border Protection requires on rail shipments entering the United States - [Railinc's Standard Transportation Commodity Code (STCC) resource](https://go.railinc.com/resources/standard-transportation-commodity-code) describes the seven-digit commodity codes railroads use to describe and rate freight - The [NMFTA](https://nmfta.org/what-is-scac-and-how-do-carriers-get-it) issues the Standard Carrier Alpha Codes (SCACs) used for railroads in the route - Each railroad publishes its own 404 guide, which sets the version, the references it requires, how it spells stations, and how it handles corrections **Who sends it?** The shipper, or a 3PL, transload operator or logistics provider shipping on its behalf. **Who receives it?** The origin railroad. On an interline move it is the first railroad in the route that receives the 404; it then passes the waybill to the other carriers. **When is it sent?** When the car or container is loaded and ready to be pulled, or ahead of time with a scheduled release. The `M3` segment says which. **Why does it matter?** The railroad cannot move or bill a loaded car without shipping instructions. A late 404 leaves a loaded car sitting on your track. A wrong station, route, weight or commodity code becomes a wrong waybill, a misrouted car, or a freight bill you have to dispute. ## How Rail Shipping Differs From Truck and Ocean If you already ship by truck or ocean, most of the 404's vocabulary will look familiar. The shape of the move does not. | | Truck (204, 211, 214, 210) | Rail (404, 417, 410) | Ocean (300, 301, 304, 310, 315) | |---|---|---|---| | **How the move starts** | Shipper tenders a load; carrier accepts and sends a truck | Shipper loads a car on its siding or at a ramp, then releases it with a 404 | Shipper books space, then sends shipping instructions | | **Equipment** | Trailer, identified by the carrier | Rail car or intermodal container, identified by reporting mark and number | Container, identified by ISO 6346 owner prefix and number | | **Locations** | Street addresses and stops | Rail stations, often coded with an FSAC or SPLC | Ports and places coded with UN/LOCODEs | | **Route** | Usually one carrier | Often several railroads, each named in `R2` with the interchange junction | Vessel and voyage, with transshipment ports | | **Commodity** | NMFC class for LTL | Seven-digit STCC | Description, often with an HS code | | **Freight bill** | [210](/guides/edi/210-motor-carrier-freight-invoice) | [410](/guides/edi/410-rail-carrier-freight-details-and-invoice) | [310](/guides/edi/310-freight-receipt-and-invoice-ocean) | Two rail ideas matter most when you map a 404. First, a rail car is identified by its **reporting mark** (the equipment initial, two to four letters) and number, and that pair is the key railroads use to match your 404 to the physical car. Second, a shipment can pass between railroads at **interchange junctions**, and the 404 must name every railroad in order, or tell the origin railroad to choose the route. ## The Rail Document Flow A typical carload move between two railroads runs like this: 1. **Car placed.** The railroad places an empty car on the shipper's siding, or the shipper picks up an intermodal container. 2. **Car loaded.** The shipper loads, seals and weighs it. 3. **Shipper sends the 404.** It names the car, seal, weight, stations, parties, route and commodity, and releases the car for movement. 4. **Railroad creates the waybill.** The origin railroad turns the 404 into its waybill, with its own waybill number and date. 5. **Waybill passed along the route.** The origin railroad sends a [417 Rail Carrier Waybill Interchange](/guides/edi/417-rail-carrier-waybill-interchange) to the connecting railroads, and some railroads send it to customers too. 6. **Car moves.** It is pulled, interchanged at the junction and delivered to the consignee's track or a team track. 7. **Railroad bills.** The party paying the freight receives a [410 Rail Carrier Freight Details and Invoice](/guides/edi/410-rail-carrier-freight-details-and-invoice), or a [210](/guides/edi/210-motor-carrier-freight-invoice) if the railroad offers it, and returns a [997](/guides/edi/997-functional-acknowledgment). Railroads differ on how they accept shipping instructions. Most also take them through a customer web portal, and some shippers send rail bills of lading on an [858 Shipment Information](/guides/edi/858-shipment-information) instead of a 404. Ask each railroad which it supports before you build a map. ## Interactive Example: Prepaid Carload on a Two-Railroad Route A gypsum wallboard plant in Fort Dodge, Iowa ships one loaded car to a building supply distributor in Joliet, Illinois. The origin railroad (SCAC `QPRR`) hands the car to a connecting railroad (`QSWR`) at Des Moines. Freight is prepaid, so the shipper pays. `BX` sets rail mode, prepaid terms, the origin railroad, pounds, and a single bill of lading. `BNX` declares shipper-certified scale weight and single shipment billing. `M3` releases the car now. `N9` carries the bill of lading number with its date and the customer's PO. `N7` names the car (reporting mark `QPLX`, number `450127`) with its net lading weight, and `M7` its seal. `F9` and `D9` give the origin and destination stations. The `N1` loops name the shipper with a contact, the consignee and the payer of freight. Two `R2` segments give the route and junction, and `L5`/`L0` describe 336 bundles of wallboard with the STCC. All names, SCACs, reporting marks and numbers are fictional. Use the **Plain English** tab for a readable summary, or click any segment to break it down element by element. ## 404 Structure at a Glance The table follows X12 release 004010 and lists the segments most 404s use. The standard has many more: motor vehicle control (`VC`) for finished vehicles, intermodal chassis and movement detail (`IC`, `IM`), empty car disposition (`E1` loop), transit (`T1` loop), export (`X1`), customs (`X7`, `XH`) and a full hazardous materials loop (`LS`/`LH1`/`LE`). | Area | Segment | Name | Usage in the standard | Notes | |---|---|---|---|---| | Heading | **ST** | Transaction Set Header | Mandatory | `ST01` = `404` | | Heading | **ZC1** | Beginning Segment for Data Correction or Change | Optional | Corrections to an earlier 404 | | Heading | **BX** | General Shipment Information | Optional | Purpose, mode, payment, SCAC, weight unit | | Heading | **BNX** | Rail Shipment Information | Optional | Weight basis and billing type | | Heading | **M3** | Release | Mandatory | Release now, later, or billing only | | Heading | **N9** | Reference Identification | Mandatory, up to 30 | Bill of lading, PO and other references | | Heading | **DTM** | Date/Time Reference | Optional, up to 5 | Other dates | | Heading loop | **N7** | Equipment Details | Mandatory, up to 500 | One per car or container | | N7 loop | **M7** | Seal Numbers | Optional | Seals on the car | | Heading | **F9** | Origin Station | Mandatory | Where the car starts | | Heading | **D9** | Destination Station | Mandatory | Where it is delivered | | Heading loop | **N1 / N2 / N3 / N4 / REF / PER / BL** | Name, address and billing | Mandatory, up to 10 | Shipper, consignee, payer and others | | Heading loop | **S1 / S2 / S9** | Stop-off details | Optional | Stop-off for partial loading or unloading | | Heading | **R2** | Route Information | Optional, up to 13 | One per railroad in the route | | Heading | **H3 / PS** | Special handling, protective service | Optional | Handling and temperature instructions | | Detail loop | **LX** | Assigned Number | Mandatory, up to 25 | One per lading line | | LX loop | **L5** | Description, Marks and Numbers | Mandatory | Description and STCC | | LX loop | **L0 / MEA / L1 / PI** | Quantity, weight, measurements, rates | Optional | Weight and packages; rates if the shipper sends them | | Summary | **L3** | Total Weight and Charges | Optional | Totals | | Summary | **SE** | Transaction Set Trailer | Mandatory | Segment count and control number | Railroads often run later releases. CN's current 404 guides, for example, use release 008050. The core segments in this guide keep their meaning across releases, but check `GS08` and the railroad's guide before you reuse a map. ## Key Segments Explained ### BX: General Shipment Information ``` BX*00*R*PP**QPRR*L*B*N~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **BX01** | Transaction Set Purpose Code | `00` | `00` original. Railroads list the codes they accept for changes and cancellations | | **BX02** | Transportation Method/Type Code | `R` | `R` rail. Intermodal guides may use other codes, such as `X` intermodal (piggyback) | | **BX03** | Shipment Method of Payment | `PP` | `PP` prepaid, `CC` collect, `11` Rule 11 shipment, `TP` third party pay | | **BX04** | Shipment Identification Number | | A shipper's shipment number, when the railroad asks for one | | **BX05** | Standard Carrier Alpha Code | `QPRR` | The railroad receiving the 404 | | **BX06** | Weight Unit Code | `L` | `L` pounds, `K` kilograms | | **BX07** | Shipment Qualifier | `B` | How this shipment relates to others; CN's guide uses `B` for a bill of lading for an individual shipment | | **BX08** | Section Seven Code | `N` | Whether Section 7 of the bill of lading terms is in effect; `N` not in effect | Later `BX` elements cover customs documentation handling and confidential billing. Send them only when the railroad's guide asks for them. ### BNX: Rail Shipment Information ``` BNX*S**S~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **BNX01** | Shipment Weight Code | `S` | Where the weight comes from: `S` shipper certified scale weight, `R` carrier scale weight, `A` shipper's weight agreement, `E` estimated weight | | **BNX03** | Billing Code | `S` | The type of bill: `S` single shipment billing, `M` multiple shipment billing, `U` unit train billing | The weight code matters at billing time. If you declare shipper scale weights, you are telling the railroad to rate on your weights. If the railroad weighs the car, its weight wins. ### M3: Release ``` M3*R*20261106*1430~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **M301** | Release Code | `R` | `R` released with billing data, `S` scheduled future release, `U` unscheduled release, `B` not released (billing data only), `H` hold a previously released shipment | | **M302** | Date | `20261106` | Date of release, or the estimated release date on `U` | | **M303** | Time | `1430` | Time of release | `M3` is the switch that lets the railroad pull the car. A 404 sent with `B` gives the railroad billing data only, and the car stays put until it is released. ### N9: Reference Identification ``` N9*BM*NGP-BL-60418**20261106*1430~ N9*PO*LBS-778120~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **N901** | Reference Identification Qualifier | `BM` | `BM` bill of lading, `PO` purchase order | | **N902** | Reference Identification | `NGP-BL-60418` | The reference value | | **N904** | Date | `20261106` | The bill of lading date | | **N905** | Time | `1430` | The bill of lading time | Most railroads require at least one `N9*BM`. CN's guide notes that the bill of lading number is carried onto its freight invoice and remittance documents, so it is the number your accounts payable team will match on later. Send your PO numbers here too if you want to see them on the 410. ### N7 and M7: Equipment and Seals ``` N7*QPLX*450127*168000*N*******RR~ M7*NG0418827~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **N701** | Equipment Initial | `QPLX` | The car's reporting mark. A mark ending in `X` is a privately owned car | | **N702** | Equipment Number | `450127` | The car number | | **N703** | Weight | `168000` | Lading weight | | **N704** | Weight Qualifier | `N` | `N` actual net weight | | **N711** | Equipment Description Code | `RR` | `RR` rail car. The code list also has specific car types, such as `BX` boxcar, `HC` covered hopper and `TN` tank car | | **M701** | Seal Number | `NG0418827` | The seal applied after loading | The reporting mark and number are how the railroad ties your 404 to the car it is about to pull. A single transposed digit means the railroad holds a car with no bill, and a bill with no car. ### F9 and D9: Origin and Destination Stations ``` F9**FORT DODGE*IA~ D9**JOLIET*IL~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **F901 / D901** | Freight Station Accounting Code | | The railroad's code for the station (FSAC), when you know it | | **F902 / D902** | City Name | `FORT DODGE` | The station name | | **F903 / D903** | State or Province Code | `IA` | State or province | | **F908 / D908** | Standard Point Location Code | | The SPLC for the station | Rail stations are not street addresses. Railroads expect the station name spelled the way their station list spells it, and some want the FSAC or SPLC as well. Get the spellings from each railroad and store them as master data, rather than typing them per shipment. ### N1 Loop: Shipper, Consignee and Payer ``` N1*SH*NORTHGATE GYPSUM PRODUCTS~ PER*IC*DANA REYES*TE*515-555-0142*EM*SHIPPING@NORTHGATEGYPSUM.EXAMPLE~ N1*CN*LAKELINE BUILDING SUPPLY~ N1*PF*NORTHGATE GYPSUM PRODUCTS~ ``` `N101` gives each party's role: `SH` shipper, `CN` consignee, `PF` party to receive freight bill. Cross-border guides add customs parties, such as `XU` for a US customs broker in CN's transborder guide. Railroads often ask for a `PER` contact on the shipper so they can call about a bill that will not process. ### R2: Route Information ``` R2*QPRR*S*DES MOINES~ R2*QSWR*1~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **R201** | Standard Carrier Alpha Code | `QPRR` | The railroad | | **R202** | Routing Sequence Code | `S` | Its place in the route: `S` origin carrier on the shipper's routing, `R` origin carrier on a Rule 11 shipment, `1` first carrier after origin, `2` second, and so on | | **R203** | City Name | `DES MOINES` | The junction where this railroad hands the car to the next one | Send one `R2` per railroad, in order. CN's guide requires the junction on every `R2` except the last. If you want the origin railroad to choose the route, its guide will say how to ask. ### LX, L5 and L0: Lading ``` LX*1~ L5*1*GYPSUM WALLBOARD*3275440*T~ L0*1***168000*N***336*BDL~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **L502** | Lading Description | `GYPSUM WALLBOARD` | The commodity description | | **L503** | Commodity Code | `3275440` | The seven-digit STCC | | **L504** | Commodity Code Qualifier | `T` | `T` STCC | | **L004 / L005** | Weight, Weight Qualifier | `168000` / `N` | Net weight of the line | | **L008 / L009** | Lading Quantity, Packaging Form Code | `336` / `BDL` | 336 bundles | The STCC drives the rate. Railinc maintains the code list, and each railroad's price authority (tariff or contract) is tied to STCCs. A code that does not match your contract rates the car at a different price, so take the STCC from your rail contract and keep it on the item master. Hazardous materials have their own STCCs and also need the hazardous materials loop (`LS`, `LH1` to `LH4`, `LE`). ## 404 vs 858, 204, 211 and 417 | Document | Mode | Sent by | Sent to | Purpose | |---|---|---|---|---| | **404 Rail Carrier Shipment Information** | Rail | Shipper | Origin railroad | Rail bill of lading and release | | **[858 Shipment Information](/guides/edi/858-shipment-information)** | Any | Shipper | Carrier | General bill of lading data; some rail shippers use it instead of a 404 | | **[204 Motor Carrier Load Tender](/guides/edi/204-motor-carrier-load-tender)** | Truck | Shipper | Motor carrier | Offers a load for the carrier to accept or decline | | **[211 Motor Carrier Bill of Lading](/guides/edi/211-motor-carrier-bill-of-lading)** | Truck | Shipper | Motor carrier | Truck bill of lading | | **[417 Rail Carrier Waybill Interchange](/guides/edi/417-rail-carrier-waybill-interchange)** | Rail | Railroad | Other railroads or customers | The railroad's waybill built from the 404 | | **[410 Rail Carrier Freight Details and Invoice](/guides/edi/410-rail-carrier-freight-details-and-invoice)** | Rail | Railroad | Freight payer | Freight bill for the move | The 404 has no accept-or-decline step. A truck carrier can refuse a 204 with a [990](/guides/edi/990-response-to-load-tender), but a car on a railroad's network is already in the railroad's hands once it is released. Problems come back as rejected bills, holds and calls, not as a declined tender. ## Common 404 Errors and How to Prevent Them | Error | What happens | Prevention | |---|---|---| | **Car initial or number wrong** | The railroad cannot match the bill to the car; the car sits | Scan or pick the car from the railroad's placement list instead of typing it | | **Station spelled differently from the railroad's list** | Bill rejected or set aside for manual review | Store each railroad's station names, FSACs and SPLCs as master data | | **Route missing a junction** | Railroad cannot build the interline waybill | Send `R203` on every `R2` except the last, unless the guide says otherwise | | **Wrong STCC** | Car rated at the wrong price, or rejected for no price authority | Keep the contract STCC on the item master; never derive it from the description | | **Weight basis not what you expect** | You are billed on carrier scale weight you did not plan for | Set `BNX01` to match your weight agreement with the railroad | | **404 sent with a hold or billing-only code** | Loaded car is not pulled | Check `M301` before sending; alert on any car not pulled by the next switch | | **Duplicate 404 for the same car** | Two waybills, two bills | Send corrections with the purpose code or `ZC1` the railroad specifies, not a second original | | **Missing transborder data** | Cross-border car held at the border | Follow the railroad's customs requirements for parties, value, origin country and seals | ## 404 Implementation Checklist Before your first live 404 with a railroad: - Get the railroad's 404 guide and confirm the X12 version in `GS08` and the ISA qualifiers it expects - Confirm the references it requires in `N9`, starting with the bill of lading number and date - Load its station spellings, FSACs and SPLCs for every origin and destination you use - Map the STCC for every product you ship by rail, from your rail contract - Agree on weight basis (`BNX01`) and billing type (`BNX03`) - Decide how you send corrections and cancellations, and test them - Store reporting mark, number, seal and bill of lading number against the order so the [410](/guides/edi/410-rail-carrier-freight-details-and-invoice) can be matched later - If you ship hazardous materials or cross a border, test those 404s separately - Confirm the 997 the railroad will return for each 404 - Test an original, a correction, a cancellation, a multi-car bill and an interline route For how rail sets fit next to retail documents, see our [EDI document types reference](/edi-document-types). For the paper document the 404 replaces, see the [bill of lading glossary entry](/glossary/bill-of-lading). ## Where OrderSync Fits A carload ships because a customer ordered it. The PO in your 404's `N9`, the consignee in `N1` and the quantity in `L0` all come from that order, whether it arrived as an EDI 850, a PDF, an email or a spreadsheet. OrderSync reads inbound orders in any format, matches customers, items and units to your catalog, and outputs clean ERP data or valid X12. Paste any 404 into the [free EDI inspector](/edi-inspector) to see it parsed segment by segment with a plain-English summary and any structural errors explained, or [book a 15-minute walkthrough](/book-call) to see your own orders processed. ## Frequently Asked Questions
### What is an EDI 404? The EDI 404 Rail Carrier Shipment Information is the X12 transaction a shipper sends to a railroad to tender a rail shipment. It works as the electronic rail bill of lading and carries the car, release instruction, bill of lading number, stations, parties, route and commodity. ### Is the EDI 404 a rail bill of lading? Yes. X12 describes it as rail-carrier-specific bill of lading information and as the initial tender of a shipment between a consignor and a rail carrier. The railroad builds its waybill from it. ### What is the difference between EDI 404 and EDI 204? The 204 offers a load to a motor carrier, which can accept or decline it with a 990. The 404 releases a car that is already loaded on the railroad's network and gives the railroad the bill of lading data it needs to move and bill it. ### What is the difference between EDI 404 and EDI 417? The shipper sends the 404 to the origin railroad. The railroad turns it into a waybill and sends the 417 Rail Carrier Waybill Interchange to the other railroads in the route, and in some cases to customers. ### What is an STCC code in a 404? The Standard Transportation Commodity Code is a seven-digit commodity code maintained by Railinc. It goes in L503 with qualifier T in L504, and railroads use it to find the price that applies to the shipment. ### What are the F9 and D9 segments? F9 is the origin station and D9 the destination station. Each carries a city and state or province, and can carry the railroad's Freight Station Accounting Code (FSAC) and the Standard Point Location Code (SPLC). ### How do I list more than one railroad in a 404? Send one R2 segment per railroad in route order. R201 is the railroad's SCAC, R202 its place in the route (S for the origin carrier on the shipper's routing, then 1, 2 and so on), and R203 the junction where it hands the car to the next railroad. ### Which X12 version does the 404 use? It depends on the railroad. Many guides use 004010, and some railroads run much later releases; CN's current 404 guides use 008050. The version is named in GS08 of each functional group.
--- # EDI 410 Rail Freight Invoice: Complete Guide Source: https://ordersync.io/guides/edi/410-rail-carrier-freight-details-and-invoice > EDI 410 rail freight invoice explained: the B3B, N7, N8, L0, L1 and L3 segments, rail charge codes, a live carload invoice and how to audit it. The EDI 410 Rail Carrier Freight Details and Invoice is the X12 transaction a railroad sends to bill for a rail movement. B3B carries the invoice number, payment terms, billing date, amount due, due date and the railroad's SCAC, and the detail lists the car, waybill, stations, route and each charge, such as line haul and fuel, totalled in L3. **The EDI 410 is a railroad's freight bill as data.** Once a car moves, the railroad that bills the shipment sends a 410 to the party paying the freight: the shipper on prepaid, the consignee on collect, or a third party. It looks a lot like the motor carrier [210](/guides/edi/210-motor-carrier-freight-invoice), with one big difference. A rail invoice is built from a waybill, so it carries the car, the waybill number, the rail stations and the railroads in the route, and those are what you match it on. This guide covers what the 410 bills, every segment you will map, a live carload invoice that continues our [404](/guides/edi/404-rail-carrier-shipment-information) and [417](/guides/edi/417-rail-carrier-waybill-interchange) examples, how the 410 compares with the 210 and the ocean 310, and the checks that catch rail billing errors. ## What Is an EDI 410? **An EDI 410 is the Rail Carrier Freight Details and Invoice transaction set defined by [ASC X12](https://x12.org/products/transaction-sets), which can be used to provide detailed information of charges associated with a rail movement.** It travels in functional group `IR` (the `GS01` value). Authoritative references for 410 work: - [Stedi's X12 004010 reference for the 410](https://www.stedi.com/edi/x12-004010/410) lists every segment, loop and element in release 004010 - [CN's 410 implementation guide](https://www.cn.ca/-/media/files/customer-centre/customer-centre-documents/410-implementation-guide-4010-en.pdf) shows a railroad's outbound freight invoice in releases 003020 to 004010, with complete samples and its charge code list - [Railinc's STCC resource](https://go.railinc.com/resources/standard-transportation-commodity-code) describes the commodity codes that rail rates are tied to - The [NMFTA](https://nmfta.org/what-is-scac-and-how-do-carriers-get-it) issues the SCAC that identifies the billing railroad in `B3B06` **Who sends it?** The railroad billing the shipment. On an interline move under a through rate, one railroad usually bills the payer and the railroads divide the revenue among themselves through interline settlement. **Who receives it?** The party paying the freight: the shipper on prepaid, the consignee on collect, or a third party such as a 3PL or freight payment provider. **When is it sent?** After the railroad rates the waybill. CN's guide, for example, says it collects the day's invoices and transmits them overnight. **Why does it matter?** Rail freight is billed from the waybill: the car, the weight basis, the STCC, the route and the price authority. The 410 is where any difference between what you tendered on the 404 and what the railroad recorded turns into money. ## What the 410 Bills - **Line haul.** The base charge for the move, often per car on carload freight, or per hundredweight or per ton under some price authorities. - **Fuel surcharge.** Often a rate per mile on the route miles, or a percentage, depending on the railroad's fuel program. - **Accessorials.** Switching, storage in transit, diversion and reconsignment, and similar services. CN's guide notes that it invoices some optional services outside the 410, so ask each railroad which charges come on the 410 and which come another way. - **Taxes.** Cross-border and Canadian moves can carry tax lines, such as GST, as separate charges. - **References.** The waybill number and date, the bill of lading number, and any PO or contract numbers the shipper put on the bill of lading. - **Price authority.** The tariff or contract the charge is rated under, in the `PI` segment, when the railroad sends it. CN's guide makes a point worth repeating for every railroad: if you need a reference on the invoice to reconcile it, put it on the shipping instructions. The railroad can only copy what it received. ## Interactive Example: Prepaid Carload Invoice The car from our 404 and 417 examples, `QPLX 450127`, has been delivered to Joliet. The origin railroad (`QPRR`) bills the shipper, who paid the freight. `B3B` gives the invoice number, prepaid terms, the billing date, the net amount due (6,936.52), the payment due date, the SCAC, rail mode, the shipper's bill of lading number as the shipment ID, pounds and US dollars. `N9` carries the bill of lading and PO, `N7` the car, `N8` the waybill, and `F9`/`D9` the stations. The `N1` loops name the payer (with the railroad's customer code), shipper and consignee, and `R2` the two-railroad route. In the `LX` loop, the first `L0`/`L1` pair bills the line haul at 6,850.00 per car, and the second bills a fuel surcharge of 0.21 per mile on 412 miles (86.52). `L3` totals the invoice. The sample follows the layout of CN's 004010 invoice sample. All names, SCACs, codes, rates and numbers are fictional. Use the **Plain English** tab for a readable summary, or click any segment to break it down element by element. ## 410 Structure at a Glance The table follows X12 release 004010. | Area | Segment | Name | Usage in the standard | Notes | |---|---|---|---|---| | Heading | **ST** | Transaction Set Header | Mandatory | `ST01` = `410` | | Heading | **B3B** | Beginning Segment for Carrier's Invoice | Mandatory | Invoice number, terms, dates, amount, SCAC, mode, currency | | Heading | **C4** | Alternate Amount Due | Optional | Amount due in another currency | | Heading | **N9** | Reference Identification | Optional, up to 30 | Bill of lading, PO, contract and tax references | | Heading | **CM / NTE** | Cargo manifest, notes | Optional | Manifest data and free text | | Heading loop | **N7** | Equipment Details | Mandatory, up to 500 | One per car or container | | N7 loop | **VC / G4 / M7 / N5 / IC / IM / M12 / GA** | Vehicle, scale, seals, equipment ordered, intermodal, in-bond, grain | Optional | Detail for specific traffic | | Heading | **N8** | Waybill Reference | Mandatory, up to 499 | Waybill number and date | | Heading | **F9** | Origin Station | Mandatory | Origin station and codes | | Heading | **D9** | Destination Station | Mandatory | Destination station and codes | | Heading loop | **N1 / N2 / N3 / N4 / PER / BL** | Name, address and billing | Optional, up to 10 | Payer, shipper, consignee and others | | Heading loop | **S1 / S2 / S9** | Stop-off details | Optional | Stop-offs | | Heading | **R2 / R9** | Route Information, Route Code | Optional | Railroads in the route | | Heading | **PS** | Protective Service Instructions | Optional | Temperature and protective service | | Detail loop | **LX** | Assigned Number | Mandatory, up to 25 | Starts each invoice line | | LX loop | **L5** | Description, Marks and Numbers | Mandatory | Description and STCC | | L0 loop | **L0** | Line Item - Quantity and Weight | Mandatory, up to 25 | Starts each charge group | | L0 loop | **MEA / L1 / DTM / PI** | Measurements, rate and charges, dates, price authority | `L1` mandatory | The charges | | T1 loop | **T1 / T2 / T3 / T6 / T8** | Transit inbound detail | Optional | Transit billing | | Summary | **L3** | Total Weight and Charges | Mandatory | Invoice totals | | Summary | **X7** | Customs Information | Optional | Customs data | | Summary | **SE** | Transaction Set Trailer | Mandatory | Segment count and control number | Note where the 410 differs from the 210. The car (`N7`), the waybill (`N8`) and the stations (`F9`, `D9`) are mandatory, and each `L1` sits inside an `L0` loop within the `LX` loop. That is why CN's samples send a bare `L0*1` before the fuel surcharge `L1`: each charge opens its own `L0` loop. ## Key Segments Explained ### B3B: Beginning Segment for Carrier's Invoice ``` B3B*QP26110713*PP*20261110*693652*20261210*QPRR*R*NGP-BL-60418*L**USD~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **B3B01** | Invoice Number | `QP26110713` | The railroad's invoice number | | **B3B02** | Shipment Method of Payment | `PP` | `PP` prepaid, `CC` collect, `TP` third party pay, `11` Rule 11 shipment | | **B3B03** | Date | `20261110` | The billing date | | **B3B04** | Net Amount Due | `693652` | Two implied decimals: 6,936.52 | | **B3B05** | Date | `20261210` | The payment due date | | **B3B06** | Standard Carrier Alpha Code | `QPRR` | The billing railroad | | **B3B07** | Transportation Method/Type Code | `R` | `R` rail. Railroads that bill intermodal on the 410 use other codes | | **B3B08** | Shipment Identification Number | `NGP-BL-60418` | The shipper's shipment number | | **B3B09** | Weight Unit Code | `L` | The X12 note says the default is pounds | | **B3B10** | Correction Indicator | | Set on a corrected or balance-due bill; the railroad's guide lists the codes it sends | | **B3B11** | Currency Code | `USD` | Currency of the invoice | `B3B` is a rail-specific beginning segment. It is not the `B3` used in the 210, 310 and 110: the invoice number comes first, the due date has its own element, and the mode and currency are part of the segment. `B3B04` is a numeric field with two implied decimals, so `693652` means 6,936.52. ### N9: Reference Identification ``` N9*BM*NGP-BL-60418~ N9*PO*LBS-778120~ ``` CN's guide lists qualifiers such as `BM` bill of lading, `WY` waybill number, `CT` contract number, `CO` customer order number, and tax registration numbers on Canadian invoices. The bill of lading number is the reference most payers match on, because it is the one the shipper created. ### N7 and N8: Car and Waybill ``` N7*QPLX*450127*168000*N*67200******RR~ N8*318204*20261106~ ``` `N701` and `N702` are the car's reporting mark and number, `N703`/`N704` the lading weight and qualifier, `N705` the tare, and `N711` the equipment description (`RR` rail car). `N801` is the waybill number and `N802` the waybill date. A 410 can bill many cars (the `N7` loop repeats up to 500 times and `N8` up to 499), so match each car to its own bill of lading and waybill. ### F9, D9 and R2: Stations and Route ``` F9*41720*FORT DODGE*IA~ D9*63115*JOLIET*IL~ R2*QPRR*S*DES MOINES~ R2*QSWR*1~ ``` The origin and destination stations carry the railroad's Freight Station Accounting Code in `F901` and `D901` and, when sent, the SPLC in `F908` and `D908`. `R2` lists each railroad with its routing sequence code and interchange junction. The route on the invoice should match the route on your 404 and the 417. If it does not, the rate may not be the one you expected. ### N1 Loop: Payer, Shipper and Consignee ``` N1*PR*NORTHGATE GYPSUM PRODUCTS*25*NGP0071~ N1*SH*NORTHGATE GYPSUM PRODUCTS~ N1*CN*LAKELINE BUILDING SUPPLY~ ``` `N101` gives the role: `PR` payer, `SH` shipper, `CN` consignee. CN's guide also sends `SF` ship from and `CO` (its care-of party). `N103` = `25` means `N104` is the carrier's own customer code for the party, which is useful when one company has several billing accounts with the railroad. ### L5, L0 and L1: Lading and Charges ``` LX*1~ L5*1*GYPSUM WALLBOARD*3275440*T~ L0*1***168000*N***336*BDL~ L1*1*6850*PC*685000~ L0*1~ L1*1*0.21*PM*8652****ENS*********412*MR~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **L503 / L504** | Commodity Code, Qualifier | `3275440` / `T` | The STCC the car was rated on | | **L004 / L005** | Weight, Weight Qualifier | `168000` / `N` | The billed weight and its basis | | **L101** | Lading Line Item Number | `1` | Ties the charge to the lading line | | **L102** | Freight Rate | `6850` | The rate | | **L103** | Rate/Value Qualifier | `PC` | How the rate applies: `PC` per car, `PM` per mile, `PU` per unit, `CW` per hundredweight, `MN` minimum | | **L104** | Charge | `685000` | Two implied decimals: 6,850.00 | | **L108** | Special Charge or Allowance Code | `ENS` | What the charge is, when it is not the line haul | | **L117 / L118** | Billed/Rated-as Quantity, Qualifier | `412` / `MR` | The quantity the rate was applied to, here 412 miles (`MR` mileage) | CN's guide lists the `L108` codes it sends, including `ENS` fuel surcharge (the X12 name is energy surcharge, fuel adjustment factor), `SWC` switching charge, `STR` storage in transit, `DIV` diversion and reconsignment, `TER` terminal charge, `GST` goods and services tax, and several provincial carbon tax codes. Other railroads use their own subsets. Build a per-railroad table of the codes you accept and route anything else for review. ### L3: Total Weight and Charges ``` L3*168000*N***693652~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **L301 / L302** | Weight, Weight Qualifier | `168000` / `N` | Total weight | | **L305** | Charge | `693652` | Total charges: 6,936.52 | Add the `L104` charges and compare the sum with `L305` and with `B3B04`. In the sample: 6,850.00 + 86.52 = 6,936.52. ## EDI 410 vs 210, 310, 110 and 810 | Document | Mode | Sent by | Beginning segment | What it adds | |---|---|---|---|---| | **410 Rail Carrier Freight Details and Invoice** | Rail | Railroad | `B3B` | Car, waybill, rail stations, route | | **[210 Motor Carrier Freight Details and Invoice](/guides/edi/210-motor-carrier-freight-invoice)** | Truck | Motor carrier | `B3` | Stops, proof of delivery, accessorials | | **[310 Freight Receipt and Invoice (Ocean)](/guides/edi/310-freight-receipt-and-invoice-ocean)** | Ocean | Ocean carrier | `B3` | Vessel, ports, containers, bill of lading data | | **[110 Air Freight Details and Invoice](/guides/edi/110-air-freight-details-and-invoice)** | Air | Air carrier or forwarder | `B3` | Airports, air waybill, chargeable weight | | **[810 Invoice](/guides/edi/810-invoice)** | n/a | Seller | `BIG` | Bills for goods, not transport | Some railroads will send a 210 instead of a 410 on request; CN's guide offers both. If your freight audit already reads 210s, ask whether the railroad's 210 carries the car and waybill data you need before choosing it over the 410. ## How to Audit a 410 | Error | What happens | Prevention | |---|---|---| | **Invoice cannot be matched** | Bill sits unpaid; the railroad chases payment | Match on bill of lading number, then car and waybill; send the references you need on the 404 | | **Charges do not add up** | Short payment and disputes | Sum `L104` and compare with `L305` and `B3B04` | | **Wrong STCC** | Car rated under the wrong price authority | Compare `L503` with the STCC in your contract and on your 404 | | **Weight basis changed** | Billed on a scale weight you did not expect | Compare `L005` and the weight with your `BNX01` and loading records | | **Unexpected route** | Different rate or miles | Compare `R2` with your 404 | | **Fuel surcharge miles wrong** | Overbilled fuel | Check `L117` miles against the route and the railroad's fuel program | | **Implied decimals misread** | Amounts off by a factor of 100 | Treat `B3B04`, `L104` and `L305` as two implied decimal places | | **Currency missed** | Canadian dollar bill paid in US dollars, or the reverse | Read `B3B11` and `C4` on every invoice | | **Corrected bill paid twice** | Duplicate payment | Check `B3B10` and key invoices on number and SCAC | ## 410 Implementation Checklist Before your first live 410 from a railroad: - Get the railroad's 410 guide and confirm the X12 version in `GS08` (CN recommends 004010) - Confirm which charges come on the 410 and which are invoiced separately - Agree which references will appear in `N9`, and add them to your 404s - Load the railroad's `L108` charge codes and map them to your freight cost accounts - Link each 410 to its bill of lading, car and waybill from the [404](/guides/edi/404-rail-carrier-shipment-information) and [417](/guides/edi/417-rail-carrier-waybill-interchange) - Decide how corrected and balance-due bills are reviewed before payment - Return a [997](/guides/edi/997-functional-acknowledgment) for each 410; CN's guide makes this mandatory - If you pay by EDI, agree on the remittance format, such as an [820](/guides/edi/820-payment-order) - Test a single-car invoice, a multi-car invoice, a correction and a cross-border invoice if you have them To put rail freight into product cost, our [landed cost calculator](/tools/landed-cost-calculator) shows how freight is allocated across order lines. See the [EDI document types reference](/edi-document-types) for where the transportation sets fit. ## Where OrderSync Fits Every car on a 410 started as a customer order. The PO numbers in `N9`, the consignee and the quantities your customer expects all depend on that order being captured correctly, whether it arrived as an EDI 850, a PDF, an email or a spreadsheet. OrderSync reads inbound orders in any format, matches customers, items and units to your catalog, and outputs clean ERP data or valid X12. Paste any 410 into the [free EDI inspector](/edi-inspector) to see it parsed segment by segment with a plain-English summary and any structural errors explained, or [book a 15-minute walkthrough](/book-call) to see your own orders processed. ## Frequently Asked Questions
### What is an EDI 410? The EDI 410 Rail Carrier Freight Details and Invoice is the X12 transaction a railroad uses to bill for a rail movement. It carries the invoice number, payment terms, amount due and due date in B3B, the car, waybill, stations and route, and each charge with the total. ### What is the difference between EDI 410 and EDI 210? The 210 is the motor carrier freight invoice and starts with B3. The 410 is the rail freight invoice and starts with B3B. The 410 also requires the car in N7, the waybill in N8 and the origin and destination stations in F9 and D9. ### What is the B3B segment? B3B is the beginning segment of the 410. B3B01 is the invoice number, B3B02 the payment terms, B3B03 the billing date, B3B04 the net amount due with two implied decimals, B3B05 the payment due date, B3B06 the railroad's SCAC, B3B07 the mode and B3B11 the currency. ### Who receives the EDI 410? The party paying the freight: the shipper on prepaid shipments, the consignee on collect, or a third party such as a 3PL or freight payment provider. ### How do I match a 410 to a shipment? Start with the bill of lading number in N9, then confirm the car in N7 and the waybill in N8. Those tie the invoice to your 404 and to any 417 waybill copies you received. ### Why does a 410 have more than one L0 segment? In the 410, each L1 charge sits inside an L0 loop. A second charge, such as a fuel surcharge, opens a new L0 loop, which is why railroads such as CN send a short L0 segment before it. ### What is the ENS charge code? ENS is the X12 code for energy surcharge (fuel adjustment factor). Railroads use it for the fuel surcharge, often as a rate per mile with the miles in L117. ### Does the 410 include every rail charge? Not always. Some railroads bill optional or accessorial services through other channels. CN's guide says certain optional services are invoiced through its web tool rather than the 410, so confirm with each railroad.
--- # EDI 417 Rail Carrier Waybill Interchange Guide Source: https://ordersync.io/guides/edi/417-rail-carrier-waybill-interchange > EDI 417 explained: the rail waybill railroads exchange on interline moves and send customers, its BX, N7, N8, F9, D9 and R2 segments, a sample and checks. The EDI 417 Rail Carrier Waybill Interchange is the X12 transaction railroads use to pass a shipment's waybill to other railroads in the route and, on request, to customers. It carries the waybill number and date, the car, origin and destination stations, the parties, every railroad in the route, and the commodity and weight the move is billed on. **The EDI 417 is the waybill that travels with a rail car from one railroad to the next.** A shipper tenders a car with a [404 Rail Carrier Shipment Information](/guides/edi/404-rail-carrier-shipment-information). The origin railroad turns that bill of lading into its own waybill, gives it a number, and sends a 417 to every other railroad that will handle the car, so the connecting road knows what it is receiving at the junction before the car arrives. Some railroads also send the 417 to shippers, consignees and logistics providers, which is how most non-railroad readers meet it. This guide covers what the 417 carries, how waybills move between railroads, every segment you will map, a live sample that continues the carload from our 404 guide, how the 417 compares with the 404 and the [410 freight invoice](/guides/edi/410-rail-carrier-freight-details-and-invoice), and what to check when you receive one. ## What Is an EDI 417? **An EDI 417 is the Rail Carrier Waybill Interchange transaction set defined by [ASC X12](https://x12.org/products/transaction-sets), used to provide a rail carrier with detailed movement instructions for a shipment.** The X12 description notes that Class I railroads in the United States and Canada use it, and CN's current guide describes it as used by all Class I rail carriers in the US, Canada and Mexico. It travels in functional group `WB` (the `GS01` value). Authoritative references for 417 work: - [Stedi's X12 004010 reference for the 417](https://www.stedi.com/edi/x12-004010/417) lists the segments, loops and elements in release 004010 - [CN's 417 implementation guide](https://cn.ca/-/media/files/customer-centre/customer-centre-documents/417-implementation-guide-8050-en.pdf) shows a railroad's outbound 417, with a complete sample, in release 008050 - [Railinc's Interline Settlement System](https://public.railinc.com/products-services/interline-settlement-system) is the industry process for dividing revenue when two or more railroads handle a shipment, and the AAR's Railway Accounting Rules cover the electronic exchange of waybill information - The [Surface Transportation Board's waybill reference guide](https://www.stb.gov/wp-content/uploads/2022-STB-Waybill-Reference-Guide.pdf) documents the waybill data railroads report to the regulator, a useful glossary for fields such as STCC, SPLC and car type - [Railinc's STCC resource](https://go.railinc.com/resources/standard-transportation-commodity-code) describes the seven-digit commodity codes in `L5` **Who sends it?** A railroad: usually the origin railroad that created the waybill, and in some cases a railroad that corrects or reissues it. **Who receives it?** The other railroads in the route, and customers such as shippers, consignees, 3PLs and freight payment providers who ask for waybill copies. **When is it sent?** When the waybill is created, after the car is released, and again when the waybill is corrected or the shipment is diverted. **Why does it matter?** Every later step depends on the waybill. The connecting railroad plans its trains from it, the destination railroad delivers to the consignee in it, and the freight bill is rated from the commodity, weight and route on it. If you receive 417s, they are your earliest confirmation that the railroad billed the car the way you tendered it. ## How Waybills Move Between Railroads North American rail freight often moves over more than one railroad. A car might start on a regional railroad, be handed to a Class I at a junction, and be delivered by a short line at the far end. Each of those railroads needs the same shipment data, and the 417 is the standard way to share it. 1. **Shipper releases the car.** The shipper sends a [404](/guides/edi/404-rail-carrier-shipment-information), or enters the bill of lading on the railroad's portal. 2. **Origin railroad creates the waybill.** It assigns a waybill number and date, adds the station codes and the route, and confirms the weight basis and the price authority. 3. **Origin railroad sends a 417.** Each connecting railroad gets the waybill before the car reaches the junction. Customers who subscribe get a copy. 4. **Car moves and is interchanged.** At each junction the receiving railroad matches the physical car (by reporting mark and number) to the waybill it already holds. 5. **Revenue is settled.** On a through rate, the railroads divide the revenue among themselves through the industry's interline settlement process. On a Rule 11 shipment (`BX03` = `11`), separate rates apply to different parts of the route, and the railroads' guides explain how each part is billed. 6. **The payer is billed.** The billing railroad sends a [410](/guides/edi/410-rail-carrier-freight-details-and-invoice) to the party that pays the freight. The waybill number in `N8` and the car's reporting mark and number in `N7` are the keys that tie the 404, the 417, the car's movement and the 410 together. ## Interactive Example: Origin Railroad to Connecting Railroad This continues the shipment from our [404 guide](/guides/edi/404-rail-carrier-shipment-information). The origin railroad (`QPRR`) has created waybill 318204 for the loaded wallboard car `QPLX 450127` and sends the 417 to the connecting railroad (`QSWR`), which will take the car at Des Moines and deliver it to Joliet. `BX` repeats the shipment terms, now with the bill of lading number as the shipment ID. `BNX` keeps the shipper's scale weight and single shipment billing. `DTM` (qualifier `168`) gives the release date and time. `N7` adds the car's tare weight to the lading weight from the 404. `N8` carries the waybill number and date. `F9` and `D9` now include each station's Freight Station Accounting Code. The parties, the two `R2` route segments (with rail mode in `R206`) and the lading follow. All names, SCACs, reporting marks, codes and numbers are fictional. Use the **Plain English** tab for a readable summary, or click any segment to break it down element by element. ## 417 Structure at a Glance The table follows X12 release 004010 and lists the segments most 417s carry. Like the 404, the full set also has vehicle, intermodal, empty car disposition, transit, export, customs and hazardous materials segments. | Area | Segment | Name | Usage in the standard | Notes | |---|---|---|---|---| | Heading | **ST** | Transaction Set Header | Mandatory | `ST01` = `417` | | Heading | **ZC1** | Beginning Segment for Data Correction or Change | Optional | Marks a corrected waybill | | Heading | **BX** | General Shipment Information | Optional | Purpose, mode, payment, shipment ID, SCAC, weight unit | | Heading | **BNX** | Rail Shipment Information | Optional | Weight basis and billing type | | Heading | **N9** | Reference Identification | Optional, up to 30 | Bill of lading, PO and other references | | Heading | **DTM** | Date/Time Reference | Optional, up to 5 | Release and other dates | | Heading loop | **N7** | Equipment Details | Mandatory, up to 500 | One per car or container | | N7 loop | **M7** | Seal Numbers | Optional | Seals | | N7 loop | **IMA** | Interchange Move Authority | Optional | Authority for an interchange movement | | Heading | **N8** | Waybill Reference | Optional, up to 499 | Waybill number and date | | Heading | **N8A** | Additional Reference Information | Optional | More waybill references | | Heading | **V9** | Event Detail | Optional | An event tied to the waybill | | Heading | **F9** | Origin Station | Mandatory | Station, FSAC, SPLC, postal code | | Heading | **D9** | Destination Station | Mandatory | Station, FSAC, SPLC, postal code | | Heading loop | **N1 / N2 / N3 / N4 / REF / PER / BL** | Name, address and billing | Mandatory, up to 10 | Shipper, consignee, payer and others | | Heading loop | **S1 / S2 / S9** | Stop-off details | Optional | Stop-offs | | Heading | **R2** | Route Information | Mandatory, up to 13 | One per railroad | | Heading | **R9** | Route Code | Optional | A published route code | | Heading | **H3 / PS** | Special handling, protective service | Optional | Handling and temperature | | Detail loop | **LX** | Assigned Number | Mandatory, up to 25 | One per lading line | | LX loop | **L5** | Description, Marks and Numbers | Mandatory | Description and STCC | | LX loop | **L0 / MEA / PI** | Quantity, weight, measurements, price authority | Optional | Weight, packages, price authority | | Summary | **SE** | Transaction Set Trailer | Mandatory | Segment count and control number | Two structural differences from the 404: `R2` is mandatory in the 417, and the 417 carries the railroad's waybill reference in `N8`. The 417 has no `M3` release segment; the release is already done, and CN's guide reports it in `DTM` instead. ## Key Segments Explained ### BX and BNX: Shipment Information ``` BX*00*R*PP*NGP-BL-60418*QPRR*L*B*N~ BNX*S**S~ ``` The elements match the 404. `BX01` is the purpose code, `BX02` the mode (`R` rail), `BX03` the payment terms, `BX04` the shipment ID, `BX05` the SCAC of the railroad issuing the waybill, `BX06` the weight unit and `BX07` the shipment qualifier. In CN's sample, `BX04` carries the shipper's bill of lading number. `BNX01` is the weight basis and `BNX03` the billing type: here, shipper certified scale weight and single shipment billing. If you receive 417s as a shipper, compare `BX03` and `BNX01` with what you sent on the 404. A change in payment terms or weight basis means the railroad billed the car differently from your instructions. ### DTM: Release Date ``` DTM*168*20261106*1430*CT~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **DTM01** | Date/Time Qualifier | `168` | `168` release | | **DTM02** | Date | `20261106` | Release date | | **DTM03** | Time | `1430` | Release time | | **DTM04** | Time Code | `CT` | Time zone, here central time | ### N7: Equipment Details ``` N7*QPLX*450127*168000*N*67200******RR~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **N701** | Equipment Initial | `QPLX` | The car's reporting mark | | **N702** | Equipment Number | `450127` | The car number | | **N703** | Weight | `168000` | Lading weight | | **N704** | Weight Qualifier | `N` | `N` actual net weight | | **N705** | Tare Weight | `67200` | Weight of the empty car | | **N711** | Equipment Description Code | `RR` | `RR` rail car | CN's 417 also sends the car length (`N715`), the tare qualifier (`N716`, `M` marked), height and width (`N720`, `N721`) and the AAR car type code (`N724`). Those come from the railroad's equipment records, not from the shipper, which is why the 417 is often more complete than the 404 it was built from. ### N8: Waybill Reference ``` N8*318204*20261106~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **N801** | Waybill Number | `318204` | The railroad's waybill number, up to six digits | | **N802** | Date | `20261106` | The waybill date | | **N803 to N805** | Cross Reference Type, Equipment Initial, Equipment Number | | A cross reference to another car or waybill | | **N806 / N807** | Waybill Number, Date | | A related waybill, such as the original of a rebill | | **N810 / N811** | Standard Carrier Alpha Code, Freight Station Accounting Code | | The destination railroad and its station code | Waybill numbers are short and repeat over time, so a waybill is identified by its number, date and issuing railroad together, never the number alone. Store all three. ### F9 and D9: Stations With FSAC Codes ``` F9*41720*FORT DODGE*IA~ D9*63115*JOLIET*IL~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **F901 / D901** | Freight Station Accounting Code | `41720` | The railroad's code for the station | | **F902 / D902** | City Name | `FORT DODGE` | Station name | | **F903 / D903** | State or Province Code | `IA` | State or province | | **F908 / D908** | Standard Point Location Code | | The SPLC, when sent | | **F909 / D909** | Postal Code | | Station postal code, when sent | A shipper's 404 often has only the station name. The railroad's 417 adds the codes. If you load rail data into a transportation or freight audit system, use the FSAC and SPLC from the 417 as the station key rather than the spelling. ### R2: Route Information ``` R2*QPRR*S*DES MOINES***R~ R2*QSWR*1****R~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **R201** | Standard Carrier Alpha Code | `QPRR` | The railroad | | **R202** | Routing Sequence Code | `S` | `S` origin carrier on the shipper's routing, `R` origin carrier on a Rule 11 shipment, `1` first carrier after origin | | **R203** | City Name | `DES MOINES` | The interchange junction | | **R206** | Transportation Method/Type Code | `R` | `R` rail | Check the route on every 417 you receive. If the railroads or junctions differ from your 404, the car is moving on a route you did not ask for, and the rate may differ too. ### N1, LX, L5 and L0 The party and lading segments work as they do in the 404: `N1` with `SH`, `CN` and `PF`, then `L5` with the description and STCC (`L504` = `T`) and `L0` with the weight, weight qualifier and package count. CN's 417 adds a customer identification code in `N103`/`N104` for each party, so the receiving railroad knows which of its customer accounts the party is. ## 417 vs 404, 410, 214 and 315 | Document | Mode | Sent by | Sent to | Purpose | |---|---|---|---|---| | **[404 Rail Carrier Shipment Information](/guides/edi/404-rail-carrier-shipment-information)** | Rail | Shipper | Origin railroad | Bill of lading and release | | **417 Rail Carrier Waybill Interchange** | Rail | Railroad | Other railroads, customers | The waybill built from the bill of lading | | **[410 Rail Carrier Freight Details and Invoice](/guides/edi/410-rail-carrier-freight-details-and-invoice)** | Rail | Railroad | Freight payer | Freight bill for the move | | **[214 Shipment Status Message](/guides/edi/214-transportation-carrier-shipment-status)** | Truck and other modes | Carrier | Shipper or payer | Status events | | **[315 Status Details (Ocean)](/guides/edi/315-status-details-ocean)** | Ocean | Ocean carrier | Shipper, consignee | Container events, including rail legs of an ocean move | | **[858 Shipment Information](/guides/edi/858-shipment-information)** | Any | Shipper | Carrier | General bill of lading data | The 417 is not a status message. It tells you how the car was billed and routed, not where it is now. For car location, ask the railroad which status feed or tracing tool it offers. On an import container that moves inland by rail under the ocean carrier's bill, the ocean carrier's [315](/guides/edi/315-status-details-ocean) reports rail events such as loaded on rail and rail departure. ## What to Check When You Receive a 417 | Check | Why | How | |---|---|---| | **Car matches your 404** | A different car means a bill applied to the wrong equipment | Compare `N701`/`N702` with your 404 and loading records | | **Weight and weight basis** | The freight bill will be rated on them | Compare `N703`, `L004` and `BNX01` with what you declared | | **STCC** | The price authority depends on it | Compare `L503` with the STCC in your rail contract | | **Route and junctions** | A different route can mean a different rate and transit time | Compare every `R2` with your 404 | | **Payment terms** | Prepaid and collect decide who gets the 410 | Compare `BX03` with your 404 and your sales terms | | **Consignee and destination** | A wrong consignee is a misdelivery | Compare `D9` and `N1*CN` with the customer's order | | **Corrected waybills** | A correction replaces earlier data | Version 417s by waybill number, date and SCAC, and flag changes | ## 417 Implementation Checklist Before you start receiving 417s from a railroad: - Ask the railroad whether it sends 417s to customers, and which shipments it includes (outbound, inbound, both) - Confirm the X12 version in `GS08`; CN, for example, sends release 008050 - Key waybills on number, date and issuing SCAC, and link them to your bill of lading and car - Map the station codes (`F901`, `D901`, `F908`, `D908`) into your location master - Decide how corrected waybills update stored data, and who reviews the changes - Feed the weight, STCC and route into your freight audit so the [410](/guides/edi/410-rail-carrier-freight-details-and-invoice) can be checked against them - Confirm the 997 you will return for each 417 - Test a single-line route, an interline route, a correction and a multi-car shipment For how rail sets sit next to the order, ship notice and invoice, see our [EDI document types reference](/edi-document-types). ## Where OrderSync Fits The PO number a railroad copies onto its waybill, and the consignee and quantity behind it, all come from a customer order. That order might have arrived as an EDI 850, a PDF, an email or a spreadsheet. OrderSync reads inbound orders in any format, matches customers, items and units to your catalog, and outputs clean ERP data or valid X12. Paste any 417 into the [free EDI inspector](/edi-inspector) to see it parsed segment by segment with a plain-English summary and any structural errors explained, or [book a 15-minute walkthrough](/book-call) to see your own orders processed. ## Frequently Asked Questions
### What is an EDI 417? The EDI 417 Rail Carrier Waybill Interchange is the X12 transaction railroads use to share a shipment's waybill with other railroads in the route and with customers. It carries the waybill number and date, the car, stations, parties, route and lading. ### What is the difference between EDI 404 and EDI 417? The shipper sends the 404 to the origin railroad as its bill of lading. The railroad creates a waybill from it and sends the 417 to other railroads and to customers. The 417 adds railroad data such as the waybill number, station codes and car details. ### Who sends the EDI 417? A railroad. The origin railroad usually issues it when it creates the waybill. CN's guide describes the 417 as used by all Class I rail carriers in the US, Canada and Mexico. ### Can a shipper receive an EDI 417? Yes, if the railroad offers it. CN's guide says the 417 can provide a rail carrier or a customer with movement instructions. Ask each railroad whether it sends 417s to customers and on which shipments. ### Where is the waybill number in a 417? In the N8 segment. N801 is the waybill number and N802 the waybill date. Identify a waybill by its number, date and issuing railroad together. ### What is an FSAC in the F9 and D9 segments? The Freight Station Accounting Code is a railroad's code for a station. It goes in F901 for the origin and D901 for the destination, next to the station name, state and, when sent, the Standard Point Location Code. ### Does the 417 tell me where my rail car is? No. The 417 is the waybill: how the car was billed and routed. For location, use the railroad's car tracing or status service. For containers moving inland on an ocean bill, the ocean carrier's 315 reports rail events. ### What functional group does the 417 use? The 417 travels in functional group WB, the value in GS01. The version is in GS08 and varies by railroad.
--- # EDI 753 Request for Routing Instructions Guide Source: https://ordersync.io/guides/edi/753-request-for-routing-instructions > EDI 753 explained: how suppliers request routing on collect freight, the BGN, N1, G62, USI and OID segments, a live two-DC example, and the 754 reply. The EDI 753 Request for Routing Instructions is the X12 transaction a supplier sends when freight is ready and the buyer controls the shipping. It lists the ship-from and ship-to locations, the pickup window, pallet count, and each purchase order's cartons, weight and cube. The buyer replies with an EDI 754 naming the carrier and pickup appointment. **The EDI 753 is how a supplier says "my freight is ready, tell me how to ship it."** When a retailer pays for inbound freight and chooses the carrier, you cannot book a truck yourself. You send a 753 with what is ready, where it is going and when it can be picked up. The retailer plans the load and replies with a [754 Routing Instructions](/guides/edi/754-routing-instructions). The quality of the 754 you get back depends almost entirely on the numbers you put in the 753. This guide covers what the 753 carries, when to send it, every segment you will map, a live example with two distribution centers, and the errors that lead to the wrong truck or no truck at all. ## What Is an EDI 753? **An EDI 753 is the Request for Routing Instructions transaction set defined by [ASC X12](https://x12.org/products/transaction-sets), used by a supplier to request routing for merchandise that is ready to ship and to give the buyer the details it needs to plan the move.** X12 describes it as a way to request routing instructions and provide general information about merchandise ready to be shipped. It travels in functional group `RF` (the `GS01` value). The reply, the 754, travels in group `RG`. Authoritative references for 753 work: - The [X12 transaction set catalog](https://x12.org/products/transaction-sets) defines the 753 structure, segment order and loops - The [National Motor Freight Traffic Association (NMFTA)](https://nmfta.org/what-is-scac-and-how-do-carriers-get-it) issues the carrier SCACs used in the 754 reply and maintains the NMFC freight classes a 753 can carry in its `CMC` segment - Each retailer publishes a routing guide and a 753/754 implementation guide that set lead times, required references and the ship-to IDs to use **Who sends it?** The supplier, or the 3PL or warehouse shipping on the supplier's behalf. **Who receives it?** The retailer's inbound transportation team, or the logistics provider that plans its freight. **When is it sent?** Once purchase orders are picked and packed, or close enough that cartons, weight and cube are known, and early enough to meet the retailer's lead time. One published retailer guide, for example, requires at least 48 hours between sending the 753 and the earliest pickup date. Your retailer's guide sets its own rule. **Why does it matter?** On collect freight the retailer decides the carrier, the mode and the pickup appointment. Without a 753, or with a late one, nothing gets scheduled. With wrong weights or cube, the retailer books the wrong equipment. ## When You Need a 753: Collect vs Prepaid Freight | | Prepaid (vendor-routed) | Collect (buyer-routed) | |---|---|---| | **Who chooses the carrier** | Supplier | Retailer | | **Who pays freight** | Supplier | Retailer | | **Do you send a 753?** | No | Yes, where the retailer routes by EDI | | **What you get back** | Nothing; you book your own carrier | A 754 with carrier, load and appointment | | **What you send after shipping** | [856 ASN](/guides/edi/856-ship-notice) | 856 ASN, with the carrier and references from the 754 | The freight terms on the [850 purchase order](/guides/edi/850-purchase-order) and the retailer's routing guide tell you which POs are collect. Retailers that publish 753/754 guides include Kohl's, Amazon (for vendor shipments), JCPenney, and military exchanges such as AAFES and the Navy Exchange (NEXCOM). Walmart and Target also route much of their inbound freight under collect programs; depending on the program, the routing request goes through EDI or the retailer's supplier portal. Check the current routing guide for each retailer, because requirements change and can differ by vendor. ## The Routing Request Cycle, Step by Step 1. **Orders released.** The retailer sends 850s. Collect POs are flagged by their freight terms. 2. **Pick and pack.** Your warehouse picks the orders, packs cartons and builds pallets. Now you know real cartons, weight and cube. 3. **Send the 753.** One request covers a ship-from location and one or more destinations, each with a pickup window and the POs going there. 4. **Receive a 997.** The retailer's system confirms the 753 arrived and was structurally valid. See the [997 Functional Acknowledgment guide](/guides/edi/997-functional-acknowledgment). 5. **Retailer plans the load.** It groups your POs, perhaps with other suppliers' freight, into loads and books a carrier, often with a [204 load tender](/guides/edi/204-motor-carrier-load-tender). 6. **Receive the 754.** It names the carrier (by SCAC), the load number, the pickup appointment, and which POs ship together. 7. **Ship.** Print the bill of lading with the 754's references, load the trailer, and send the 856. 8. **Changes.** If quantities change before pickup, send a replacement or change 753; if the order is no longer ready, cancel it. The retailer may send a revised 754. ## Interactive Example: 753 for Two Distribution Centers A home goods supplier in Grand Rapids has three purchase orders ready: two for DC 6021 in Columbus and one for DC 6043 in Savannah. The 753 opens with the ship-from in the heading `N1` loop and a contact in `PER`. A single `LX` starts the detail. Each destination gets its own `N1` loop with its own routing request number (`L11` qualifier `RRC`), an earliest and latest pickup time (`G62` with `EP` and `LP`), a pallet count with a stackability flag (`USI`), and one `OID` per purchase order with cartons, weight in pounds and cube in cubic feet. All names, IDs and numbers are fictional. Use the **Plain English** tab for a readable summary, including totals per destination, or click any segment to see each element. The retailer's reply to this exact request, with a carrier per DC, is the first example in the [EDI 754 guide](/guides/edi/754-routing-instructions). ## 753 Structure at a Glance The table follows X12 release 004030, the first release that includes the 753. Note the shape: one `LX`, then a repeating ship-to `N1` loop, with the order detail nested inside each ship-to. | Position | Segment | Name | Usage | Notes | |---|---|---|---|---| | Heading | **ST** | Transaction Set Header | Mandatory | `ST01` = `753` | | Heading | **BGN** | Beginning Segment | Mandatory | Purpose code, request number, date and time | | Heading | **PER** | Administrative Communications Contact | Optional | Who the carrier or retailer should call | | Heading loop | **N1 / N2 / N3 / N4** | Name and address | Mandatory, once | The ship-from location | | Detail | **LX** | Assigned Number | Mandatory, once | Starts the detail area | | Ship-to loop | **N1 / N2 / N3 / N4** | Name and address | Mandatory, repeats | One loop per destination | | Ship-to loop | **L11** | Business Instructions and Reference Number | Optional, up to 5 | Routing request number, vendor number, notes | | Ship-to loop | **G62** | Date/Time | Optional, up to 2 | Earliest and latest pickup | | Ship-to loop | **USI** | Unitized Shipment Information | Optional | Pallet count and whether pallets stack | | Order loop | **OID** | Order Identification Detail | Mandatory, repeats | One per purchase order: packages, weight, cube | | Order loop | **CMC** | Commodity Classification | Optional | NMFC commodity code and freight class | | Summary | **SE** | Transaction Set Trailer | Mandatory | Segment count and control number | Some retailers allow only one destination per 753. Others accept several. Retailer guides also tighten "optional": `L11`, `G62` and `USI` are often required. ## Key Segments Explained ### BGN: Beginning Segment ``` BGN*00*RR-20261104-01*20261104*0930~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **BGN01** | Transaction Set Purpose Code | `00` | `00` original, `01` cancellation, `04` change, `05` replace. Some guides also use `06` (confirmation) | | **BGN02** | Reference Identification | `RR-20261104-01` | Your number for this request. Keep it unique | | **BGN03** | Date | `20261104` | Date of the request | | **BGN04** | Time | `0930` | Time of the request | | **BGN06** | Reference Identification | | The earlier transaction this one affects, used on changes and cancellations where the guide asks for it | Retailer guides differ on what goes in `BGN02` and `BGN06`. Some ask for your bill of lading number in `BGN02`; some ask for the load ID from their 754 in `BGN06` when you change a request that has already been routed. Follow the guide exactly here, because these fields are how the retailer finds the request to update. ### PER: Contact ``` PER*IC*DANA PRICE*TE*6165550142*EM*SHIPPING@LAKESHORE.EXAMPLE~ ``` `PER01` = `IC` (information contact), then a name and up to three communication numbers, each with a qualifier (`TE` telephone, `EM` email, `FX` fax). Some retailers pass this to the carrier so it can call your dock to set the pickup. ### N1 Loop (Heading): Ship-From ``` N1*SF*LAKESHORE HOME GOODS*92*V48213~ N3*4100 EASTERN AVE SE~ N4*GRAND RAPIDS*MI*49508*US~ ``` `N101` = `SF` (ship from). The ID in `N103`/`N104` is whatever the guide asks for: often a location ID the retailer assigned (`92`), sometimes a DUNS number (`1`). The address must be the physical dock the carrier will drive to, not your billing address. ### N1 Loop (Detail): Ship-To ``` N1*ST*BIG-BOX RETAILER DC 6021*92*6021~ ``` `N101` = `ST` (ship to). Use the DC or store ID exactly as it appeared on the purchase order's ship-to. If one PO is split across DCs, each DC gets its own ship-to loop with its share of the cartons. ### L11: Business Instructions and Reference Number ``` L11*RR784501*RRC~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **L1101** | Reference Identification | `RR784501` | The reference value | | **L1102** | Reference Identification Qualifier | `RRC` | `RRC` routing request control number. Others a guide may ask for: `IA` vendor number, `PUA` pick up appointment number, `CN` carrier PRO number | | **L1103** | Description | | Free text, used by some retailers for equipment or handling notes | The routing request control number is the reference the retailer will echo back on the 754, so make it unique per destination and store it against the POs. ### G62: Date/Time (Pickup Window) ``` G62*EP*20261110*EP*0800~ G62*LP*20261112*LP*1600~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **G6201** | Date Qualifier | `EP` | `EP` earliest pickup date, `LP` latest pickup date | | **G6202** | Date | `20261110` | The date | | **G6203** | Time Qualifier | `EP` | `EP` earliest pickup time, `LP` latest pickup time | | **G6204** | Time | `0800` | The time | The window is a promise. The retailer can schedule the pickup anywhere inside it, so only offer dates and hours your dock can actually meet. A window that is too narrow, or that starts before the retailer's minimum lead time, is a common reason for rejection. ### USI: Unitized Shipment Information ``` USI*14*PLT*N~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **USI01** | Quantity | `14` | Number of unitized handling units | | **USI02** | Packaging Form Code | `PLT` | What they are, here pallets | | **USI03** | Yes/No Condition or Response Code | `N` | `Y` stackable, `N` not stackable | Pallet count and stackability decide how much trailer space your freight needs. Fourteen non-stackable pallets take fourteen floor positions; the same freight stacked might take seven. Getting this wrong is how a load gets planned for a trailer it does not fit. ### OID: Order Identification Detail ``` OID*SO-55120*4500781234**CTN*220*L*4180*E*610~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **OID01** | Reference Identification | `SO-55120` | Your order number for the PO | | **OID02** | Purchase Order Number | `4500781234` | The retailer's PO number, exactly as on the 850 | | **OID03** | Reference Identification | | A consignee reference that further defines the PO, used when the guide asks for it | | **OID04** | Packaging Form Code | `CTN` | `CTN` carton, `PLT` pallet, `PCS` pieces | | **OID05** | Quantity | `220` | Packages in that form | | **OID06** | Weight Unit Code | `L` | `L` pounds | | **OID07** | Weight | `4180` | Gross weight of the PO's freight | | **OID08** | Volume Unit Qualifier | `E` | `E` cubic feet | | **OID09** | Volume | `610` | Cube of the PO's freight | X12 requires the packaging code and quantity together, the weight unit and weight together, and the volume unit and volume together. Send one `OID` per PO. The retailer adds them up to choose parcel, LTL or truckload, so take the numbers from what was packed, not from the PO's ordered quantities. ### CMC: Commodity Classification `CMC01` carries the NMFC commodity code and `CMC02` the freight class (for example 70 or 92.5). Many retailers do not ask for it; some require it only for hazardous or temperature-controlled freight. Use the class from your carrier or NMFC classification, not a guess, because class drives LTL pricing. ## 753 vs 754, 856 and 204 | Document | Sent by | Purpose | |---|---|---| | **753 Request for Routing Instructions** | Supplier | Freight is ready: orders, packages, weight, cube and pickup window | | **[754 Routing Instructions](/guides/edi/754-routing-instructions)** | Retailer | The answer: carrier, load number, pickup appointment, which POs ship together | | **[856 Ship Notice/ASN](/guides/edi/856-ship-notice)** | Supplier | What actually shipped, with carrier and BOL details | | **[204 Motor Carrier Load Tender](/guides/edi/204-motor-carrier-load-tender)** | Shipper (here, the retailer) | Offers the planned load to a carrier | | **[940 Warehouse Shipping Order](/guides/edi/940-warehouse-shipping-order)** | Supplier | Tells a 3PL warehouse what to ship; the 3PL may then send the 753 for you | The 753 is the only one of these that happens before anything is booked. It is a planning document: the retailer uses it to decide how to move your freight, and the 856 later confirms what actually moved. ## Which X12 Version Does the 753 Use? The 753 and 754 were added in X12 release 004030 and do not exist in 004010. Many suppliers run their 850, 856 and 810 on 004010, so a retailer may use 004010 for orders and 004030 or later for routing. The retailer's 753 guide names the version, and `GS08` in each functional group carries it. Check that your translator has the right dictionary before you start mapping. ## Common 753 Errors and How to Prevent Them | Error | What happens | Prevention | |---|---|---| | **Sent too late** | No pickup in time for the PO's ship window | Send as soon as orders are packed, and track the retailer's minimum lead time | | **Weights or cube from the PO, not the pack** | Wrong equipment booked; load does not fit | Take `OID` weight and cube from packed cartons and pallets | | **Stackability wrong in `USI03`** | Trailer space underestimated | Record stackability per pallet type in the warehouse system | | **Ship-to ID does not match the PO** | Request rejected or routed to the wrong DC | Copy the ship-to ID from the 850, never retype it | | **PO number typo in `OID02`** | Request cannot be matched to an open PO | Build `OID02` from the order record, not free text | | **Pickup window your dock cannot meet** | Carrier arrives to unready freight | Offer only windows the warehouse has confirmed | | **Duplicate routing request number** | Second request rejected, or replies cross | Generate `RRC` values from one sequence | | **Change sent as a new original** | Retailer plans the same freight twice | Use the change or replace purpose code with the reference the guide asks for | | **No 754 and nobody notices** | Freight sits on the dock | Alert when a 753 has no 754 within the expected time | ## 753 Implementation Checklist - Get the retailer's routing guide and 753/754 guide, and confirm the X12 version - Confirm which POs are collect and how the 850 shows it - Confirm the IDs it expects for ship-from (`N1*SF`) and ship-to (`N1*ST`) - Confirm how many destinations one 753 may carry - Agree the reference numbers: what goes in `BGN02`, `BGN06`, `L11` and `OID03` - Pull packages, weight, cube, pallet count and stackability from your warehouse system - Set the minimum lead time and default pickup window per ship-from location - Map changes and cancellations with the right purpose codes - Match each returning 754 to its 753 and feed the carrier and appointment into shipping - Test an original, a change, a cancellation, a multi-PO request and a multi-destination request For the wider picture, see our [EDI compliance guide](/edi-compliance), the [EDI document types reference](/edi-document-types), and retailer notes for [Walmart](/edi-compliance/walmart), [Target](/edi-compliance/target) and [Amazon](/edi-compliance/amazon). ## Where OrderSync Fits Every 753 is built from purchase orders, so the request is only as accurate as the orders behind it. Those orders reach you as EDI 850s and 875s, PDFs, emails and spreadsheets, and the ship-to IDs, items and units have to be right before your warehouse can pick and pack them. OrderSync reads inbound orders in any format, matches customers, items and units to your catalog, and outputs clean ERP data or valid X12, so the orders your warehouse ships and routes start out correct. Paste any 753 into the [free EDI inspector](/edi-inspector) to see it parsed with a plain-English summary and totals per destination, or [book a 15-minute walkthrough](/book) to see your own orders processed. ## Frequently Asked Questions
### What is an EDI 753? The EDI 753 Request for Routing Instructions is an X12 transaction a supplier sends to a buyer when freight is ready and the buyer controls the shipping. It lists the ship-from and ship-to locations, the pickup window, pallet counts, and each purchase order's packages, weight and cube, so the buyer can plan the load. ### What is the difference between EDI 753 and 754? The 753 is the supplier's request: here is what is ready and when it can be picked up. The 754 is the retailer's reply: here is the carrier, load number and pickup appointment, and which purchase orders ship together. You send the 753 and receive the 754. ### When should I send an EDI 753? Once the purchase orders are packed and you know real cartons, weight and cube, and early enough to meet the retailer's minimum lead time before the earliest pickup date. The retailer's routing guide sets that lead time. ### Do I need to send a 753 for prepaid freight? No. The 753 is for collect, buyer-routed freight, where the retailer picks and pays the carrier. On prepaid freight you book your own carrier. Retailers often mix both, so check the freight terms on each purchase order. ### What does the OID segment contain in an EDI 753? One OID per purchase order: your order number in OID01, the retailer's PO number in OID02, the packaging form and quantity in OID04 and OID05, weight unit and weight in OID06 and OID07, and volume unit and volume in OID08 and OID09. ### What does G62 EP and LP mean in a 753? They define the pickup window. G62 with EP gives the earliest pickup date and time, and G62 with LP gives the latest. The retailer schedules the carrier inside that window. ### What X12 version is the EDI 753? The 753 first appears in X12 release 004030 and is not part of 004010. Retailers publish 753 guides in 004030 or later releases, and the version appears in GS08 of the functional group. ### What happens if I do not receive a 754? Do not ship collect freight on your own carrier. Check that the retailer's 997 accepted your 753, then contact its routing desk. Many suppliers set an alert for any 753 that has no 754 within the expected turnaround.
--- # EDI 754 Routing Instructions: The 753 Response Source: https://ordersync.io/guides/edi/754-routing-instructions > EDI 754 Routing Instructions explained: how retailers answer a 753 routing request, the BLR, L11, OID, G62 and MSI segments, live examples and common errors. The EDI 754 Routing Instructions is the X12 transaction a retailer sends a supplier to say how a buyer-controlled shipment will move: which carrier collects it (by SCAC), the load and pickup appointment numbers, the scheduled pickup date, and which purchase orders travel together. It usually answers the supplier's 753 Request for Routing Instructions. **The EDI 754 is the retailer's answer to "who is picking this up, and when?"** When a retailer pays for inbound freight and picks the carrier, the supplier cannot just book a truck. It asks for routing with a [753 Request for Routing Instructions](/guides/edi/753-request-for-routing-instructions), and the retailer's transportation team replies with a 754. Everything your dock, your bill of lading and your ASN need about the move comes from that reply. This guide covers what the 754 carries, how the 753 and 754 work together on collect freight, every segment you will map, two live examples (a two-carrier response and a multi-stop truckload), and the errors that cause missed pickups and refused loads. ## What Is an EDI 754? **An EDI 754 is the Routing Instructions transaction set defined by [ASC X12](https://x12.org/products/transaction-sets), used by a buyer to tell a supplier how a specific shipment will be routed: the carrier, the pickup date and appointment, the load it belongs to, and the destination.** The X12 standard describes it as communicating routing instructions to a supplier for a specific shipment, and notes it can be sent in response to a 753. It travels in functional group `RG` (the `GS01` value), and its partner, the 753, travels in group `RF`. Authoritative references for 754 work: - The [X12 transaction set catalog](https://x12.org/products/transaction-sets) defines the 753 and 754 structures, segment order and loops - The [National Motor Freight Traffic Association (NMFTA)](https://nmfta.org/what-is-scac-and-how-do-carriers-get-it) issues the Standard Carrier Alpha Codes (SCACs) the 754 uses to name the carrier - Each retailer publishes its own routing guide and 753/754 implementation guide, which set the lead times, the reference numbers it sends, and what it expects on the bill of lading **Who sends it?** The buyer, usually the retailer's inbound transportation team or the logistics provider that manages its freight. **Who receives it?** The supplier, or the supplier's warehouse or 3PL that will load the truck. **When is it sent?** After the supplier's 753, once the retailer has planned the load and booked a carrier. Some retailers also send a 754 without a 753, for example when they plan loads straight from open purchase orders. **Why does it matter?** On collect freight the retailer owns the move. Ship with a carrier it did not assign, or outside the appointment it gave, and the routing guide's compliance rules apply. The 754 is your written instruction, and your proof that you followed it. ## Collect Freight and Why Retailers Route It Two freight terms decide whether you ever see a 754. | | Prepaid (vendor-routed) | Collect (buyer-routed) | |---|---|---| | **Who books the carrier** | Supplier | Retailer or its logistics provider | | **Who pays the freight** | Supplier, often built into cost | Retailer, under its own carrier contracts | | **How you learn the carrier** | You choose it | The retailer tells you, often on a 754 | | **What you send first** | An [856 ASN](/guides/edi/856-ship-notice) once it ships | A 753 routing request when freight is ready, then the 856 | | **Main risk** | Freight cost | Missing the appointment or using the wrong carrier | Large retailers move a lot of inbound freight on collect terms because they can consolidate many suppliers' orders onto full truckloads, use their own negotiated carrier rates, and schedule arrivals at the distribution center to match dock capacity. The freight terms on your [850 purchase order](/guides/edi/850-purchase-order) and the retailer's routing guide tell you which applies. See our glossary entry on [FOB shipping terms](/glossary/fob-shipping) for how freight terms and title interact. ### Which retailers use the 753 and 754? Retailers that publish 753/754 implementation guides include Kohl's, Amazon (for vendor shipments), JCPenney, and the military exchanges, such as AAFES and the Navy Exchange (NEXCOM). Walmart and Target also route a large share of their inbound freight under collect programs. Depending on the program, the routing request goes through EDI or through the retailer's own supplier portal, so read the retailer's current routing guide before you build a map. Whether the 753/754 is required, optional or replaced by a web form varies by retailer and sometimes by vendor. ## How the 753 and 754 Work Together The pair runs as a request and an answer, with the carrier's own documents happening in the background. 1. **Freight is ready.** Your warehouse has picked and packed the purchase orders. You know cartons, weight, cube and pallet count. 2. **Supplier sends a 753.** It lists the ship-from location, each destination, the pickup window and, per PO, the cartons, weight and volume. See the [EDI 753 guide](/guides/edi/753-request-for-routing-instructions) for the full structure. 3. **Retailer plans the load.** Its transportation system groups your orders, sometimes with other suppliers' freight, into loads and picks a mode (parcel, LTL or truckload). 4. **Retailer books the carrier.** It tenders the load to a carrier, often with an [EDI 204 load tender](/guides/edi/204-motor-carrier-load-tender) that the carrier accepts with a [990](/guides/edi/990-response-to-load-tender). 5. **Retailer sends the 754.** It names the carrier, the load number, the pickup appointment and date, and which POs go on which shipment. 6. **Supplier prepares the load.** You print the bill of lading with the 754's references, stage the freight and confirm the dock schedule. 7. **Carrier picks up.** The carrier collects under the retailer's account and reports progress with [214 status messages](/guides/edi/214-transportation-carrier-shipment-status) to the retailer. 8. **Supplier sends the 856.** Your ASN carries the carrier and bill of lading details that match the 754. If something changes after step 5, the retailer can send another 754 with a change or cancellation purpose code, and you can update or cancel your request with a new 753. The retailer's guide says which reference numbers tie the revisions together. ## Interactive Example: 754 Response to a Routing Request A home goods supplier in Grand Rapids sent a 753 for three purchase orders going to two distribution centers. The retailer answers with one `LX` loop per shipment. Each loop echoes the supplier's routing request number in `L11` (qualifier `RRC`), adds a load number (`LO`) and a pickup appointment number (`PUA`), names the carrier in `BLR`, lists the purchase orders in `OID`, schedules the pickup in `G62`, and closes with the destination in the `N1` loop. The two DCs get two different LTL carriers. All names, IDs and SCACs are fictional. Use the **Plain English** tab for a readable summary, or click any segment to break it down element by element. ## Interactive Example: 754 Multi-Stop Truckload Here the retailer consolidates two of the supplier's orders onto one truckload that delivers to two DCs. Both `LX` loops carry the same carrier, load number and pickup appointment. The `MSI` segment flags the shipment as multi-stop and gives each destination its stop sequence, so the supplier knows to load stop 2's freight first, at the nose of the trailer, and stop 1's freight at the doors. ## 754 Structure at a Glance The table follows the X12 004030 release, the first release that includes the 753 and 754. Later releases (such as 005010) keep the same core. | Position | Segment | Name | Usage | Notes | |---|---|---|---|---| | Heading | **ST** | Transaction Set Header | Mandatory | `ST01` = `754` | | Heading | **BGN** | Beginning Segment | Mandatory | Purpose code, routing instruction number, date and time | | Heading | **PER** | Administrative Communications Contact | Optional | The retailer's routing desk | | Heading loop | **N1 / N2 / N3 / N4** | Name and address | Mandatory, up to 5 | The ship-from location, plus other parties the guide names | | Detail loop (LX) | **LX** | Assigned Number | Mandatory, repeats | One loop per routed shipment | | Detail loop | **L11** | Business Instructions and Reference Number | Optional, up to 5 | Routing request, load, appointment and other references | | Detail loop | **BLR** | Transportation Carrier Identification | Optional | The assigned carrier's SCAC | | Detail loop | **OID** | Order Identification Detail | Optional, repeats | One per purchase order on the shipment | | Detail loop | **G62** | Date/Time | Optional, up to 2 | Scheduled pickup date and time | | Detail loop | **MSI** | Multi-stop Shipment Information | Optional | Multi-stop flag and stop sequence | | Nested loop | **QTY / AT9** | Quantity, trailer dimensions and weight | Optional | Used by some retailers for load or equipment detail | | Nested loop | **N1 / N2 / N3 / N4** | Name and address | Optional | The destination for this shipment | | Summary | **SE** | Transaction Set Trailer | Mandatory | Segment count and control number | "Optional" in the standard often means "required" in a retailer's guide. Many guides make `L11`, `BLR`, `OID` and `G62` mandatory in every loop. ## Key Segments Explained ### BGN: Beginning Segment ``` BGN*00*RI-20261105-3318*20261105*1415~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **BGN01** | Transaction Set Purpose Code | `00` | `00` original, `01` cancellation, `04` change, `05` replace. Guides list the codes they send | | **BGN02** | Reference Identification | `RI-20261105-3318` | The retailer's number for this set of routing instructions | | **BGN03** | Date | `20261105` | Date the instructions were issued | | **BGN04** | Time | `1415` | Time issued | | **BGN06** | Reference Identification | | The number of an earlier transaction this one affects, used on some changes and cancellations | Store `BGN02` with the shipment. If the retailer later sends a change or cancellation, you will need it to find the right load. Some retailers put their load or shipment ID in `BGN02` instead of in an `L11`; the guide says which. ### N1 Loop (Heading): Ship-From ``` N1*SF*LAKESHORE HOME GOODS*92*V48213~ N3*4100 EASTERN AVE SE~ N4*GRAND RAPIDS*MI*49508*US~ ``` The heading `N1` loop identifies the pickup location (`N101` = `SF`, ship from), usually with the ID the retailer assigned to that location (`N103` = `92`, assigned by buyer). If you ship from several warehouses, check that the ID matches the one you sent on the 753, or the carrier may be sent to the wrong building. ### LX: Assigned Number ``` LX*1~ ``` `LX01` numbers each routed shipment in the transaction. Everything until the next `LX` belongs to that shipment: references, carrier, orders, pickup time and destination. ### L11: Business Instructions and Reference Number ``` L11*RR784501*RRC~ L11*LD6021-88412*LO~ L11*PU-30917*PUA~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **L1101** | Reference Identification | `LD6021-88412` | The reference value | | **L1102** | Reference Identification Qualifier | `LO` | What the value is (see below) | | **L1103** | Description | | Free-text note, used by some retailers for loading instructions | Common qualifiers on a 754 include `RRC` (routing request control number, echoing the number on your 753), `LO` (load planning number), `PUA` (pick up appointment number), `CN` (carrier's PRO number) and `BM` (bill of lading number). Which ones a retailer sends, and which it wants printed on the bill of lading, is set by its guide. The load number is the reference retailers most often ask to see on the BOL and the ASN. ### BLR: Transportation Carrier Identification ``` BLR*QLTX~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **BLR01** | Standard Carrier Alpha Code | `QLTX` | The SCAC of the carrier the retailer assigned | | **BLR02** | Date | | Effective date of the data | | **BLR03** | Time | | Effective time of the data | The SCAC is a two-to-four letter code issued by NMFTA. It is how the carrier is named on your bill of lading and in the `TD5` segment of your 856. Your shipping system should look the SCAC up in a carrier table rather than accept free text, so the dock prints the right carrier name and the ASN carries the right code. See our [SCAC code glossary entry](/glossary/scac-code) for background. ### OID: Order Identification Detail ``` OID*SO-55120*4500781234**CTN*220*L*4180*E*610~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **OID01** | Reference Identification | `SO-55120` | The seller's order number, as sent on the 753 | | **OID02** | Purchase Order Number | `4500781234` | The retailer's PO number | | **OID03** | Reference Identification | | A consignee reference that further defines the PO; some retailers send a shipment ID here | | **OID04** | Packaging Form Code | `CTN` | `CTN` carton, `PLT` pallet, `PCS` pieces | | **OID05** | Quantity | `220` | Number of packages in that form | | **OID06** | Weight Unit Code | `L` | `L` pounds | | **OID07** | Weight | `4180` | Weight of the order | | **OID08** | Volume Unit Qualifier | `E` | `E` cubic feet | | **OID09** | Volume | `610` | Cube of the order | The `OID` lines tell you which POs the retailer put on which shipment. Compare them with what you asked for on the 753. If a PO you requested is missing from every `LX` loop, it has not been routed yet; do not load it on this truck. If the cartons or weight differ from your 753, the retailer planned on the numbers it shows, so check whether your warehouse changed the order after you sent the request. ### G62: Date/Time ``` G62*69*20261111*U*0900~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **G6201** | Date Qualifier | `69` | `69` scheduled pick-up date. Some guides use `77` (pickup appointment scheduled date) | | **G6202** | Date | `20261111` | The pickup date | | **G6203** | Time Qualifier | `U` | `U` scheduled pick up time. Some guides use `2` (pickup appointment scheduled time) | | **G6204** | Time | `0900` | The pickup time | This is the appointment your dock has to meet. Put it straight into your shipping schedule, and flag any 754 whose pickup date falls outside the window you offered on the 753 (`G62` with `EP` and `LP` qualifiers on the request). ### MSI: Multi-stop Shipment Information ``` MSI*Y*2~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **MSI01** | Yes/No Condition or Response Code | `Y` | `Y` the shipment is multi-stop, `N` it is not | | **MSI02** | Stop Sequence Number | `2` | This shipment's place in the stop sequence | When a load has more than one stop, loading order matters: the last stop's freight goes on first. The retailer's guide says how it numbers stops and whether the sequence covers pickups, deliveries or both. ### N1 Loop (Detail): Destination ``` N1*ST*BIG-BOX RETAILER DC 6021*92*6021~ N3*1200 DISTRIBUTION PKWY~ N4*COLUMBUS*OH*43217*US~ ``` The last loop inside each `LX` names where the shipment is going (`N101` = `ST`). The ID in `N104` is normally the same DC or store number that appeared on the purchase order's ship-to. A mismatch here is worth stopping for: it usually means the retailer re-routed the freight to a different building. ## 753 vs 754 vs 856, 204 and 214 The routing documents sit between the purchase order and the shipment, and they are easy to confuse with carrier-side documents. | Document | Sent by | Sent to | Purpose | |---|---|---|---| | **[753 Request for Routing Instructions](/guides/edi/753-request-for-routing-instructions)** | Supplier | Retailer | Freight is ready; here are the orders, weights, cube and pickup window | | **754 Routing Instructions** | Retailer | Supplier | Here is the carrier, load number, appointment and which POs ship together | | **[856 Ship Notice/ASN](/guides/edi/856-ship-notice)** | Supplier | Retailer | What actually shipped, down to carton, with carrier and BOL details | | **[204 Motor Carrier Load Tender](/guides/edi/204-motor-carrier-load-tender)** | Shipper (here, the retailer) | Carrier | Offers the load to the carrier | | **[990 Response to Load Tender](/guides/edi/990-response-to-load-tender)** | Carrier | Shipper | Accepts or declines the tender | | **[214 Shipment Status](/guides/edi/214-transportation-carrier-shipment-status)** | Carrier | Shipper | Pickup, in-transit and delivery events | The short version: the 753 and 754 are a supplier-to-retailer conversation about a move the retailer controls. The 204, 990 and 214 are the retailer's conversation with the carrier about the same move. The 856 closes the loop by telling the retailer what was actually on the truck. ## Which X12 Version Do the 753 and 754 Use? The 753 and 754 were added to X12 in release 004030. They do not exist in 004010, the release many suppliers still use for their 850, 856 and 810. So a retailer can run its order cycle on 004010 and its routing on 004030 or later, and the 753/754 implementation guide will state the version. If your translator only has 004010 maps loaded, you will need the later release's dictionary for these two sets. The `GS08` value in each functional group tells the receiver which version to parse against. ## Common 754 Errors and How to Prevent Them | Error | What happens | Prevention | |---|---|---| | **754 not matched to the 753** | Routing sits unread; freight misses its appointment | Match on the routing request number in `L11*RRC` (or the reference the guide names) and alert when a 753 has no 754 within the guide's lead time | | **Wrong carrier tendered** | Freight moves on a carrier the retailer did not assign | Take the carrier from `BLR01` only; block manual carrier changes on collect POs | | **Load number missing from the BOL** | DC cannot match the trailer to its plan | Print every reference the guide requires from the `L11` segments onto the BOL | | **PO loaded that was not routed** | Freight arrives with no appointment at the DC | Load only POs that appear in an `OID` on this `LX` loop | | **Pickup appointment missed** | Carrier arrives to unready freight, or leaves without it | Feed `G62` into the dock schedule automatically, and only offer pickup windows on the 753 your warehouse can meet | | **Change or cancellation ignored** | Supplier ships to an old plan | Process `BGN01` purpose codes and update or release the shipment on `04` and `01` | | **Multi-stop loaded in the wrong order** | Freight for stop 1 is buried behind stop 2 | Use `MSI02` to build the load sequence | | **ASN carrier differs from the 754** | ASN rejected or flagged at receiving | Populate the 856 `TD5` and BOL references from the 754, not from the warehouse default | | **753 sent with wrong weights or cube** | Retailer plans the wrong equipment | Send weights and cube from the packed cartons, not from the PO | Most of these problems start before the 754 arrives. A 753 with accurate cartons, weight and cube, sent on time, is the best way to get a usable 754 back. ## 754 Implementation Checklist Before your first live 754 with a retailer: - Get the retailer's routing guide and its 753/754 implementation guide, and confirm the X12 version (004030 or later) - Confirm which POs are collect and which are prepaid, and how the PO tells you - Agree how the 754 references your 753 (routing request number, BGN reference, shipment ID) - List the `L11` qualifiers it sends and which ones must appear on the bill of lading - Load its carriers' SCACs into your shipping system - Map `G62` pickup dates and times into your dock or warehouse schedule - Decide how changes (`04`) and cancellations (`01`) update an open shipment - Map the 754's carrier and references into your 856 `TD5` and `REF` segments - Confirm the 997 you will send back for each 754, and monitor the 997s you receive for your 753s - Test an original, a change, a cancellation, a multi-PO shipment and a multi-stop load If you are new to retail EDI, our [EDI compliance guide](/edi-compliance) and [EDI document types reference](/edi-document-types) show how routing fits next to the purchase order, ASN and invoice. Retailer-specific notes are on our [Walmart](/edi-compliance/walmart), [Target](/edi-compliance/target) and [Amazon](/edi-compliance/amazon) compliance pages. ## Where OrderSync Fits Routing starts with an order. Before a 753 goes out, someone has to get the purchase order into your ERP with the right ship-to, items, units and freight terms, whether it arrived as an EDI 850 or 875, a PDF, an email or a spreadsheet. OrderSync reads those inbound orders in any format, matches customers, items and units to your catalog, and outputs clean ERP data or valid X12. That gives your warehouse accurate POs to pick against and gives your routing request accurate numbers to send. Paste any 754 into the [free EDI inspector](/edi-inspector) to see it parsed segment by segment with a plain-English summary, or [book a 15-minute walkthrough](/book) to see your own orders processed. ## Frequently Asked Questions
### What is an EDI 754? The EDI 754 Routing Instructions is an X12 transaction a retailer sends to a supplier to say how a shipment will be routed: the assigned carrier, the load number, the pickup appointment and date, and which purchase orders ship together. It is used for collect freight, where the retailer controls and pays for transportation. ### What is the difference between EDI 753 and 754? The supplier sends the 753 Request for Routing Instructions when freight is ready, listing the orders, weights, cube and pickup window. The retailer replies with the 754 Routing Instructions, naming the carrier, the pickup appointment and the load. The 753 is the question and the 754 is the answer. ### What is an EDI 754 routing response? It is the 754 sent in reply to a supplier's 753. The retailer echoes the routing request number, usually in an L11 segment, so the supplier can match the answer to its request, then adds the carrier SCAC, load number, appointment number and scheduled pickup for each shipment. ### Which segment in the 754 names the carrier? The BLR segment. BLR01 carries the Standard Carrier Alpha Code (SCAC) of the carrier the retailer assigned. That SCAC should go on your bill of lading and in the TD5 segment of your 856 ASN. ### Do I need a 754 if I ship prepaid? Usually not. On prepaid, vendor-routed freight you choose and pay the carrier, so there is nothing to route. The 754 applies to collect or buyer-routed purchase orders. Some retailers mix both, so check the freight terms on each PO and the retailer's routing guide. ### What X12 version is the EDI 754? The 753 and 754 first appear in X12 release 004030. They are not part of 004010. Retailers publish 754 guides in 004030 or later releases, and the version is named in GS08 of each functional group. ### What happens if I ship with a different carrier than the 754 says? The retailer's routing guide decides. On collect freight the retailer has contracted the carrier, so a shipment on an unassigned carrier is a routing guide violation, and the freight cost and any compliance penalties fall under the retailer's published rules. ### What should I do when a 754 changes or cancels a shipment? Check BGN01. A change or cancellation code means the earlier instructions no longer apply. Update the carrier, load number and appointment on the open shipment, or release the freight back to stock on a cancellation, before the dock loads it.
--- # EDI 810 Invoice: Segments, Examples, 850 Matching Source: https://ordersync.io/guides/edi/810-invoice > EDI 810 invoice explained: BIG, IT1, TDS, SAC, TXI and ITD segments, Walmart-style and Amazon examples, credit memos, and matching an 810 to its 850 and 856. The EDI 810 Invoice is the X12 transaction a supplier sends to bill a buyer for goods or services. BIG carries the invoice number, date and PO number, IT1 lines bill each item, ITD gives the payment terms, SAC adds charges or allowances, and TDS gives the invoice total. The buyer matches it to the 850 and 856. **The EDI 810 is the X12 transaction set for electronic invoices.** Suppliers send it to request payment for what they shipped, almost always referencing the buyer's 850 purchase order number in `BIG04`. It is the billing counterpart to the 850 and the document that closes the order-to-cash loop in EDI. This guide covers what the 810 carries, the segments you will map, live examples (an invoice with a freight charge and an allowance, a credit memo, and Walmart-style and Amazon Vendor Central invoices), how totals and implied decimals work, how buyers match the 810 to the 850 and 856, and the errors that hold up payment. ## What is an EDI 810? **An EDI 810 Invoice is the transaction set defined by the [ASC X12 standards body](https://x12.org/products/transaction-sets) that a seller uses to bill a buyer for goods or services.** It carries the same data as a paper invoice (line items, totals, terms, remit-to) in a fixed format that the buyer's accounts payable system can match against the original 850 purchase order and the 856 ship notice without anyone retyping it. It travels in functional group `IN` (the `GS01` value), and most retail partners use release 004010. Authoritative references for 810 work: - The [X12 transaction set catalog](https://x12.org/products/transaction-sets) defines the 810 and its segment order. The [Stedi 004010 810 reference](https://www.stedi.com/edi/x12-004010/810) lists every segment and element, including data types - [GS1 US](https://www.gs1us.org/industries-and-insights/standards) governs the U.P.C. and GTIN item numbers carried in `IT1` product ID pairs - The [NMFTA](https://nmfta.org/what-is-scac-and-how-do-carriers-get-it) assigns the Standard Carrier Alpha Codes (SCACs) used in `CAD04` - Each large buyer publishes its own 810 implementation guide, which adds required references, qualifiers and rules on top of the standard **Who sends it?** The supplier, usually generated from the invoice in its ERP or accounting system. **Who receives it?** The buyer's accounts payable system. **When is it sent?** After the goods ship or the service is delivered. Each buyer's guide or vendor agreement sets the rules on timing and on whether one invoice may cover several shipments. **Why does it matter?** The buyer pays from the 810. If it does not match the order and the receipt, it is held, short-paid, or rejected, and the difference shows up later as a deduction on the [820 remittance](/guides/edi/820-payment-order) or an [812 adjustment](/guides/edi/812-credit-debit-adjustment). A typical 810 contains: - Invoice number and date - The purchase order number and date - Bill-to, ship-to and remit-to parties - Payment terms - Line items: quantity invoiced, unit, unit price and product IDs - Charges and allowances (freight, handling, promotions) - Tax, where it applies - The invoice total ## Interactive Example: 810 With Freight and an Allowance A home goods supplier invoices a retailer for PO 4500091150, billing exactly what its [856 ASN](/guides/edi/856-ship-notice) reported: 24 lamps, 10 rugs and 12 lamp shades, $1,765.00 in all. It adds an $85.00 freight charge (`SAC*C*D240`) and takes a $35.30 promotional allowance (`SAC*A*F800`). `TDS01` is `181470`: $1,765.00 + $85.00 - $35.30 = $1,814.70, written with two implied decimals. All parties and IDs are fictional. Use the **Plain English** tab for a readable translation, the **Split View** to see raw and parsed side by side, or click any segment to break it down element by element. ## 810 Structure at a Glance The 810 has a heading (invoice-level data), a detail area (one `IT1` loop per line) and a summary (totals, charges and tax). The table lists the segments most suppliers use in release 004010. | Area | Segment | Name | Usage in 004010 | Notes | |---|---|---|---|---| | Heading | **ST** | Transaction Set Header | Mandatory | `ST01` = `810` | | Heading | **BIG** | Beginning Segment for Invoice | Mandatory | Invoice date and number, PO date and number, transaction type | | Heading | **CUR** | Currency | Optional | Cross-border invoices | | Heading | **REF** | Reference Identification | Optional, up to 12 | Department, BOL, vendor number, original invoice | | Heading | **N1** loop | Name, with N2, N3, N4, REF, PER | Optional, repeats | Bill-to, ship-to, remit-to, selling party | | Heading | **ITD** | Terms of Sale | Optional | Payment terms | | Heading | **DTM** | Date/Time Reference | Optional | Ship date (`011`) and other dates | | Heading | **FOB** | F.O.B. Related Instructions | Optional | Freight payment terms | | Detail | **IT1** | Baseline Item Data (Invoice) | Optional loop, repeats | One per line: quantity, unit, price, product IDs | | Detail | **PID** | Product/Item Description | Optional | Free-text description | | Detail | **TXI**, **SAC** | Line-level tax and charges | Optional | When tax or charges apply to one line | | Summary | **TDS** | Total Monetary Value Summary | Mandatory | Invoice total, implied two decimals | | Summary | **TXI** | Tax Information | Optional | Invoice-level tax | | Summary | **CAD** | Carrier Detail | Optional | Carrier and routing (no amounts) | | Summary | **SAC** | Service, Promotion, Allowance, or Charge | Optional loop | Invoice-level charges and allowances | | Summary | **ISS** | Invoice Shipment Summary | Optional loop | Units and weight shipped | | Summary | **CTT** | Transaction Totals | Optional | Number of `IT1` lines | | Summary | **SE** | Transaction Set Trailer | Mandatory | Segment count and control number | ## Key Segments Explained ### BIG - Beginning Segment for Invoice ``` BIG*20261110*CL-INV-77215*20261102*4500091150~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **BIG01** | Date | `20261110` | The invoice date | | **BIG02** | Invoice Number | `CL-INV-77215` | Your invoice number. Unique per buyer, never reused | | **BIG03** | Date | `20261102` | The purchase order date | | **BIG04** | Purchase Order Number | `4500091150` | The PO number from `BEG03` of the 850 | | **BIG05** | Release Number | | For releases against a blanket order | | **BIG07** | Transaction Type Code | | Empty for a normal invoice. `CR` credit memo, `DR` debit memo, `DI` debit invoice | | **BIG08** | Transaction Set Purpose Code | | Some buyers use it for replacement or cancellation invoices | ### IT1 - Baseline Item Data (Invoice) Each `IT1` is one invoiced line. ``` IT1*1*24*EA*42.00*PE*UP*085519001205*VN*CL-LAMP-BRS~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **IT101** | Assigned Identification | `1` | Line number. Many buyers want the 850's `PO101` line number here | | **IT102** | Quantity Invoiced | `24` | The quantity billed, which should be the quantity shipped | | **IT103** | Unit or Basis for Measurement Code | `EA` | The unit, matching the 850 | | **IT104** | Unit Price | `42.00` | Price per unit, with an explicit decimal point | | **IT105** | Basis of Unit Price Code | `PE` | `PE` price per each | | **IT106** / **IT107** | Product ID qualifier and ID | `UP` / `085519001205` | The first product ID pair, here a U.P.C. | | **IT108** / **IT109** | Second qualifier and ID | `VN` / `CL-LAMP-BRS` | Your vendor item number | Use the same identifiers, units and line numbers the buyer sent on the 850. A line the buyer cannot match to its PO is the most common reason an invoice is held. ### ITD - Terms of Sale/Deferred Terms of Sale ``` ITD*01*3*2**10**30~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **ITD01** | Terms Type Code | `01` | `01` basic, `02` end of month, `05` discount not applicable, `08` basic discount offered, `14` previously agreed upon | | **ITD02** | Terms Basis Date Code | `3` | The date terms count from. `3` = invoice date | | **ITD03** | Terms Discount Percent | `2` | 2% discount | | **ITD04** | Terms Discount Due Date | | Optional: the date the discount expires | | **ITD05** | Terms Discount Days Due | `10` | Discount if paid within 10 days | | **ITD06** | Terms Net Due Date | | Optional: the date the full amount is due | | **ITD07** | Terms Net Days | `30` | Full amount due in 30 days | **Translation:** "2% discount if paid within 10 days of the invoice date, otherwise net 30." ### TDS - Total Monetary Value Summary ``` TDS*181470~ ``` `TDS01` is the total invoice amount: the line totals plus charges, less allowances, before any terms discount. It uses the `N2` data type, which means **two implied decimal places and no decimal point**: `181470` is $1,814.70. An 810 has one `TDS` segment. `TDS02`, when used, is the amount subject to the terms discount. ### SAC - Service, Promotion, Allowance, or Charge Information ``` SAC*C*D240***8500~ SAC*A*F800***3530~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **SAC01** | Allowance or Charge Indicator | `C` | `C` charge (adds to the total), `A` allowance (subtracts) | | **SAC02** | Service, Promotion, Allowance, or Charge Code | `D240` | What it is. `D240` freight, `D500` handling, `F800` promotional allowance, `C310` discount, `C000` defective allowance | | **SAC05** | Amount | `8500` | `N2` type: two implied decimals, so `8500` is $85.00 | | **SAC07** | Percent | | When the allowance is a percentage | | **SAC12** | Allowance or Charge Method of Handling Code | | How the buyer should treat it, for example off-invoice. Use only codes the buyer's guide lists | | **SAC15** | Description | | Free text | Freight on an invoice goes in a `SAC` charge (`D240`), not in `CAD`. Allowances must match a deal the buyer has on file; an allowance it doesn't recognize is a common reason for a short-pay. ### TXI - Tax Information ``` TXI*ST*38.50*7~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **TXI01** | Tax Type Code | `ST` | `ST` state sales tax, `LS` state and local sales tax, `CT` county, `CA` city, `TX` all taxes, `GS` Canadian GST | | **TXI02** | Monetary Amount | `38.50` | The tax amount. This element is type `R`, so it carries an explicit decimal: `38.50` is $38.50 | | **TXI03** | Percent | `7` | The tax rate | | **TXI06** | Tax Exempt Code | | A code (not free text) for exempt status, from the X12 code list | Retailers buying goods for resale usually do not pay sales tax to the supplier, so many retail 810s carry no `TXI` at all, or only the exemption the buyer's guide asks for. Tax on an invoice to a buyer that is not exempt must match what your ERP charged. ### CAD - Carrier Detail ``` CAD*M***HRBL*HARBOR ROUTED LTL~ ``` `CAD01` is the transportation method (`M` motor common carrier, `U` private parcel), `CAD04` the carrier's SCAC, and `CAD05` free-text routing. `CAD` carries no money; use `SAC` for freight charges. ### CTT - Transaction Totals `CTT01` is the number of `IT1` lines. Buyers check it against the lines they loaded. ## Implied Decimals: Where Amounts Have No Decimal Point Not every amount in an 810 is written the same way. The X12 data type of each element decides it: | Element | Data type | How $1,814.70 is written | |---|---|---| | `TDS01` to `TDS04` | `N2` (two implied decimals) | `181470` | | `SAC05` | `N2` | `181470` | | `IT104` unit price | `R` (explicit decimal) | `1814.70` | | `TXI02` tax amount | `R` | `1814.70` | The rule "amounts are in cents" is true only for `N2` elements. Sending `TDS*1814.70` makes the translator reject the segment or read the wrong amount, and sending a unit price of `181470` bills 100 times too much. Never put thousands separators in any amount. ## Invoice Calculation Breakdown Using the example above: ``` Line 1: 24 x $42.00 = $1,008.00 Line 2: 10 x $64.00 = $640.00 Line 3: 12 x $9.75 = $117.00 --------- Lines = $1,765.00 Freight charge (SAC*C*D240) = +$85.00 Promotional allowance (F800) = -$35.30 --------- TDS01 = $1,814.70 sent as 181470 ``` **Payment terms (2% 10, net 30, from the invoice date of November 10):** ``` Discount deadline: November 20 (pay $1,814.70 less 2%) Net due date: December 10 (pay $1,814.70) ``` Whether the discount applies to freight and other charges is a term of your agreement with the buyer. `TDS02` exists to state the amount the discount applies to when that differs from the total. ## Credit Memos on the 810 A credit memo is an 810 with `BIG07` = `CR`. It references the original invoice (here in `REF*OI`, original invoice number) and bills the credited quantity as a normal line, so the buyer's system subtracts it. This one credits two lamps damaged in transit. Buyers differ on credit memos: some want `BIG07` = `CR` with positive amounts, some want negative amounts, and some do not accept credit memos on the 810 at all and use the [812 Credit/Debit Adjustment](/guides/edi/812-credit-debit-adjustment) instead. The buyer's guide decides. Returns authorized in advance may also run through a [180 Return Merchandise Authorization](/guides/edi/180-return-merchandise-authorization). ## More Examples: Walmart and Amazon Vendor Central ### Walmart-style 810 An invoice for a Walmart-style PO with a department reference (`REF*DP`), BOL number (`REF*BM`), carrier PRO number (`REF*CN`), carrier SCAC in `CAD04`, a freight charge and a tax-exempt `TXI`. The data is fictional; Walmart's own requirements are in its supplier implementation guides, summarized on our [Walmart EDI compliance page](/edi-compliance/walmart). ### Amazon Vendor Central 810 An invoice against an Amazon Vendor Central PO, with ASINs carried as buyer's part numbers (`BP`), the fulfillment center code, net 60 terms and an allowance in `SAC*A`. Amazon's invoicing rules are set out in its Vendor Central EDI guides; our [Amazon EDI compliance page](/edi-compliance/amazon) summarizes the setup. ### Generic 810 A short generic invoice with terms, tax and a handling charge. ## Common Use Cases ### 1. Standard Invoice After Shipment The most common flow: 1. Receive the [850 Purchase Order](/guides/edi/850-purchase-order) 2. Acknowledge it with an [855](/guides/edi/855-purchase-order-acknowledgment), where the buyer uses one 3. Ship and send the [856 ASN](/guides/edi/856-ship-notice) 4. **Send the 810 Invoice** for what shipped 5. Receive payment and an [820 remittance](/guides/edi/820-payment-order) within terms ### 2. Consolidated Invoice Some buyers accept one invoice covering several shipments or a billing period. Others require one invoice per PO or per shipment. The guide says which. ### 3. Credit and Debit Memos Price corrections, damaged goods and quantity disputes are settled with a credit or debit memo (`BIG07` = `CR` or `DR`), or with an 812 where the buyer prefers it. ### 4. Combined Ship Notice and Invoice A few buyers use the [857 Shipment and Billing Notice](/guides/edi/857-shipment-and-billing-notice), which replaces both the 856 and the 810 with one document. ## Matching 810 to 850 Purchase Order ### Critical Matching Fields When the buyer receives your 810, its system matches it to the original 850 and to its own receipt of your 856: | Field | 850 Segment | 856 Segment | 810 Segment | Should match | |---|---|---|---|---| | PO number | `BEG03` | `PRF01` | `BIG04` | Exactly | | Line number | `PO101` | `LIN01` (if used) | `IT101` | Exactly, where the buyer uses it | | Product IDs | `PO106` onward | `LIN02` onward | `IT106` onward | Exactly | | Unit of measure | `PO103` | `SN103` | `IT103` | Exactly | | Quantity | `PO102` | `SN102` | `IT102` | 810 = shipped quantity, not ordered | | Unit price | `PO104` | | `IT104` | Agreed price or an approved change | **If quantity or price differs from the 850:** - Bill the quantity shipped, as reported on the 856 - Have a reason for any price difference (an approved price change, a deal) - Expect a hold or a short-pay if the buyer cannot match a line The [three-way match](/blog/three-way-match) article explains how buyers compare PO, receipt and invoice, and the free [three-way match tool](/tools/three-way-match) runs the same check on your own documents. ## How the 810 Relates to Other EDI Documents | Document | What it communicates | Direction | Timing | |---|---|---|---| | **[850 Purchase Order](/guides/edi/850-purchase-order)** | What the buyer ordered | Buyer to supplier | Order placed | | **[856 Ship Notice (ASN)](/guides/edi/856-ship-notice)** | What physically shipped | Supplier to buyer | At shipment | | **810 Invoice** | The amount owed for the shipment | Supplier to buyer | After shipment | | **[997](/guides/edi/997-functional-acknowledgment) / [999](/guides/edi/999-implementation-acknowledgment)** | The 810 arrived and passed syntax checks | Buyer to supplier | Shortly after receipt | | **[812 Credit/Debit Adjustment](/guides/edi/812-credit-debit-adjustment)** | A credit or debit against an invoice | Either direction | After the invoice | | **[820 Payment Order/Remittance](/guides/edi/820-payment-order)** | What was paid and deducted | Buyer to supplier | After invoice approval | ### 810 vs 880 vs 857 vs 210 | | 810 Invoice | [880 Grocery Products Invoice](/guides/edi/880-grocery-products-invoice) | [857 Shipment and Billing Notice](/guides/edi/857-shipment-and-billing-notice) | [210 Motor Carrier Freight Invoice](/guides/edi/210-motor-carrier-freight-invoice) | |---|---|---|---|---| | **Who sends it** | Supplier | Grocery supplier | Supplier | Motor carrier | | **Bills for** | Goods or services | Grocery goods, by case or weight | Goods, combined with the ship notice | Freight transportation | | **Header segment** | `BIG` | `G01` | `BHT` | `B3` | | **Functional group** | `IN` | `GP` | `BS` | `IM` | Suppliers that sell through distributors may also receive an [844 Product Transfer Account Adjustment](/guides/edi/844-product-transfer-account-adjustment), in which a distributor claims credit for sales it made at a contract price. It is settled separately from the invoice. ## Common 810 Errors and How to Prevent Them | Error | What happens | Prevention | |---|---|---| | **Missing PO number in BIG04** | Invoice cannot be matched; held | Carry `BEG03` from the 850 through to `BIG04` | | **Decimal point in TDS or SAC05** | Segment rejected or amount misread | `N2` elements take implied decimals: `181470`, not `1814.70` | | **TDS does not equal lines plus charges less allowances** | Invoice rejected or short-paid | Compute `TDS01` from the lines and `SAC` segments at build time | | **Invoiced quantity is the ordered quantity** | Overbilling against the receipt; deduction | Bill the quantity on the 856 | | **Unit or product ID differs from the 850** | Line unmatched; held | Use the buyer's qualifiers, IDs and units from the 850 | | **Freight put in CAD** | Charge ignored | Bill freight in `SAC*C*D240` | | **Free text in a coded element** | Validation error | `TXI06`, `ITD01` and `SAC02` take codes, not descriptions | | **Allowance the buyer has no record of** | Allowance reversed or invoice disputed | Load deal codes and dates from the buyer agreement | | **Tax charged to an exempt buyer** | Short-pay or rejection | Confirm tax treatment in the buyer's guide | | **Duplicate invoice number** | Second invoice rejected as a duplicate | Number invoices from one sequence and never reuse them | ``` Wrong: BIG*20261110*CL-INV-77215~ Right: BIG*20261110*CL-INV-77215*20261102*4500091150~ Wrong: TDS*1,814.70~ Right: TDS*181470~ Wrong: ITD*Net 30 Days~ Right: ITD*05*3*****30~ ``` The last `ITD` uses type `05` (discount not applicable) with net days in `ITD07`. ## 810 Implementation Checklist Before your first live 810 with a new buyer: - Get the buyer's 810 guide and its `GS08` version - Confirm the required references (department, BOL, vendor number) and parties (remit-to, bill-to, ship-to) - Confirm whether one invoice may cover several shipments or POs - Map units, product IDs and line numbers exactly as they arrive on the 850 - Confirm the `SAC` charge and allowance codes it accepts - Confirm tax treatment and any exemption codes - Confirm how it wants credit memos: `BIG07` = `CR`, negative amounts, or an 812 - Check that `TDS01` recalculates from the lines and charges on every invoice - Test a normal invoice, a short-shipped invoice, an invoice with charges and a credit memo - Watch 997s, 812s and 820 deductions closely for the first weeks of production If you are new to retail EDI, our [EDI compliance guide](/edi-compliance) and [EDI document types reference](/edi-document-types) show how the invoice fits with the other documents your buyers may require. ## Testing Your 810 Implementation Paste an 810 into our [free EDI inspector](/edi-inspector) to see every segment parsed and labelled, with line totals and the invoice total in a plain-English summary. It also explains structural rejections. [Compare EDI documents](/tools/compare-edi) checks an invoice against its PO and ASN line by line. ## Where OrderSync Fits An invoice is only as good as the order behind it. When a purchase order is keyed with the wrong item, unit or price, the shipment, the ASN and the invoice all inherit the mistake, and the buyer's match catches it weeks later. OrderSync reads inbound orders in any format, from EDI 850s and 875s to PDFs, emails and spreadsheets, matches customers, items and units to your catalog, and outputs clean ERP data or valid X12, so your ERP invoices against the order the buyer actually placed. It also generates outbound 810s from your invoice data, mapped to each trading partner's implementation guide. Read more about [purchase order automation](/purchase-order-automation), or [book a 15-minute walkthrough](/book) to see your own orders processed. ## Related Transaction Sets - **[850 Purchase Order](/guides/edi/850-purchase-order)**: the original order - **[856 Ship Notice](/guides/edi/856-ship-notice)**: what shipped, which the 810 should bill - **[997 Functional Acknowledgment](/guides/edi/997-functional-acknowledgment)**: receipt confirmation - **[820 Payment Order/Remittance](/guides/edi/820-payment-order)**: payment and deductions - **[812 Credit/Debit Adjustment](/guides/edi/812-credit-debit-adjustment)**: adjustments after the invoice - **[EDIFACT INVOIC](/guides/edi/edifact-invoic)**: the EDIFACT equivalent of the 810, including VAT ## Frequently Asked Questions
### What is the difference between an EDI 810 and a 210? The 810 is the standard X12 invoice for retail and distribution trading partners. The 210 is the freight-specific version that motor carriers (truckload, LTL and parcel) use to bill shippers for transportation services; ocean carriers bill with the [310 Freight Receipt and Invoice](/guides/edi/310-freight-receipt-and-invoice-ocean). They share concepts but use different segments. For example, the 210 uses `B3` instead of `BIG`, and it ties to bill of lading numbers rather than purchase orders. ### Does the 810 invoice have to match the 850 exactly? No, but differences need a reason. Most buyers match the 850 (what was ordered), their receipt of your 856 (what shipped) and the 810 (what is billed). Billing a shorter quantity after a partial shipment is normal. A price difference needs an approved change or deal on file, or the invoice is held or short-paid. ### How fast does an 810 need to be sent after shipment? Each buyer sets its own rule in its EDI guide or vendor agreement. Most expect it after the goods ship, and the guide may also limit how many shipments one invoice can cover. Sending invoices promptly after shipment keeps payment terms running and avoids aging-related delays. ### What format are amounts in on an EDI 810? It depends on the element's data type. TDS and SAC05 amounts use N2, two implied decimals with no decimal point, so TDS*181470 is $1,814.70. Unit prices in IT104 and tax amounts in TXI02 are type R and carry an explicit decimal, such as 42.00. Thousands separators are never allowed. ### Do all 810s carry tax information? No. Retailers buying goods for resale usually don't pay sales tax to suppliers, so many retail 810s have no TXI segment, or carry only the exemption the buyer's guide asks for. Where tax applies, TXI gives the tax type, amount and rate. Tax charged incorrectly leads to a short-pay or rejection. ### How do I send a credit memo with an EDI 810? Set BIG07 to CR (credit memo), reference the original invoice, usually in a REF segment with qualifier OI, and list the credited items in IT1 lines. Some buyers want negative amounts instead, and some require an 812 Credit/Debit Adjustment rather than an 810. The buyer's implementation guide says which. ### What is the difference between EDI 810 and 820? The 810 is the invoice and the 820 is the payment. The supplier sends the 810 to bill for a shipment. The buyer sends the 820 Payment Order/Remittance Advice to report a payment and which invoices, credits and deductions it covers. The 810 asks for money; the 820 explains the money sent. ### What is the difference between EDI 810 and 850? The [850 is the purchase order](/guides/edi/850-purchase-order) the buyer sends to place an order; the 810 is the invoice the supplier sends to get paid for it. The 810 comes after shipment, references the 850's PO number in BIG04, and bills for what actually shipped. The 850 starts the order-to-cash cycle and the 810 closes it. ### What replaces the 810 when I invoice into Europe? The EDIFACT equivalent is INVOIC. Separately, European e-invoicing mandates require invoices to conform to EN 16931, expressed as UBL or CII, which is a different requirement from the transport your partner uses. Which countries mandate what is set out in our [e-invoicing mandate timeline](/e-invoicing).
--- # EDI 811 Consolidated Service Invoice/Statement Source: https://ordersync.io/guides/edi/811-consolidated-service-invoice-statement > EDI 811 explained: how telecom carriers bill services on X12, the HL billing levels, the BIG, IT1, TDS and BAL segments, a live example and common errors. The EDI 811 Consolidated Service Invoice/Statement is the X12 transaction a service provider uses to bill structured service charges, most often a telecom carrier billing a business customer. It carries the account, billing period, recurring and usage charges in a numbered hierarchy, taxes, the current charges total, and the account balance, and can roll many sub-accounts into one consolidated bill. **The EDI 811 is the invoice for services that do not fit on a product invoice.** A phone bill for 400 lines across 60 locations has no item numbers or ship quantities. It has accounts, sub-accounts, monthly recurring charges, usage, taxes and a running balance. The 811 was built for that shape, and it is the format large telecom carriers use when a business customer asks for its bill electronically. This guide covers what the 811 carries, how its billing hierarchy works, every segment you will map, a live single-account example, how consolidated billing works, how the 811 differs from the 810, and the errors that cause short-pays and disputes. ## What Is an EDI 811? **An EDI 811 is the Consolidated Service Invoice/Statement transaction set defined by [ASC X12](https://x12.org/products/transaction-sets), used to bill or report complex, structured service invoice detail.** The X12 standard describes it as suited to "either consolidated or standalone invoices for service arrangements which require processing other than that done for the typical product invoice." It travels in functional group `CI` (the `GS01` value), and it can carry both payable items and information-only memo items. Authoritative references for 811 work: - The [X12 811 structure (release 004010) on Stedi](https://www.stedi.com/edi/x12-004010/811) lists every segment and loop in order, including the HL hierarchy and the summary BAL loop - The telecom industry's 811 conventions are maintained through [ATIS](https://www.atis.org/), whose Ordering and Billing Forum (OBF) and TCIF guidelines define the billing levels and summing rules carriers follow. The US Department of Defense [WAWF 811 telecom guide](https://pieetraining.eb.mil/cms/docs/EDI/EDIGuide-AppendixI(811_Telecom_4010).pdf) points vendors to ATIS for those rules - Carriers publish their own implementation guides. Verizon posts an [EDI 811 implementation guide and appendix](https://www.verizon.com/business/support/vec/onlinehelp/guidesandtutorials/billing/electronic/EDI-implementation.html), and [Granite Telecommunications' 811 guide](https://www.granitenet.com/Content/pdfs/Granite_811_guide_version2_0.pdf) shows full sample bills **Who sends it?** The service provider: in practice usually a telecom carrier, or an insurer or service bureau in some insurance programs. **Who receives it?** The customer's accounts payable or telecom expense management system, or a federal agency's payment system. **When is it sent?** Once per billing cycle, per billing account. A consolidated account produces one master 811 and, depending on the carrier, memo 811s for each sub-account. **Why does it matter?** Service bills are large and change every month. If the 811 is mapped badly, AP pays the wrong total, taxes land in the wrong cost center, and nobody can trace a disputed charge back to the line or circuit that caused it. ## Who Uses the EDI 811 The 811 has a narrower audience than the 810. The clearest users are: | Sector | Example | What the 811 bills | |---|---|---| | **Telecom carriers** | Verizon, CenturyLink and Granite publish 811 guides | Monthly recurring charges, usage, one-time charges, taxes and balances per billing account | | **US federal telecom billing** | DoD's [WAWF](https://pieetraining.eb.mil/cms/docs/EDI/EDIGuide-AppendixI(811_Telecom_4010).pdf) accepts the 811 for telecom invoices | Consolidated telecom service invoices to the activity that pays them | | **Insurance (mortgagee billing)** | [State Farm's mortgagee notification and billing standard](https://b2b.statefarm.com/b2b-content/home-auto-lenders/edi-transactions/daily-811-notifications/examples-811) | Policy notices and premium bills sent from an insurer to mortgage companies, paid with an 820 | Utilities are a common guess, but most US retail energy markets bill on the 810 under state-run guides, such as the [New York DPS EDI standards](https://dps.ny.gov/electronic-data-interchange-edi). If a utility or other service provider asks for an 811, its guide will say so. ## How 811 Billing Works A monthly telecom 811 cycle typically runs like this: 1. **Account setup.** The customer and carrier agree which billing accounts will be sent by EDI, whether consolidated, and over which channel (VAN, AS2 or SFTP). 2. **Bill close.** The carrier closes the billing period and generates the bill from its billing system. 3. **811 build.** The heading carries the invoice number, account and period. The detail carries the charges in an HL hierarchy. The summary carries the current charges in `TDS` and the account balance in `BAL`. 4. **Transmit and acknowledge.** The customer returns a [997](/guides/edi/997-functional-acknowledgment) to confirm the 811 arrived and parsed. 5. **Audit and allocate.** The customer's AP or telecom expense system checks the totals, matches charges to contracts and cost centers, and flags disputes. 6. **Pay.** The customer pays, often with an [820 payment order/remittance advice](/guides/edi/820-payment-order) that quotes the invoice number from `BIG02`. There is no purchase order and no receipt to match against, so the usual [three-way match](/glossary/three-way-match) does not apply. Audit against the contract rates and the previous month's bill instead. ## The 811 Billing Hierarchy (HL Levels) The detail area of the 811 is a set of `HL` loops. In telecom billing, `HL03` uses numbered level codes defined in the X12 code list and used by the ATIS conventions: | HL03 | Level | Typical content | |---|---|---| | `1` | Service/billing provider | The carrier, its contact numbers and total taxes | | `2` | Billing arrangement | A billing account, such as a sub-account under a consolidated bill | | `3` | Sub-billing arrangement | A more detailed account split | | `4` | Group | A group of charges, with one or more `IT1` lines | | `5` | Category | A subdivision of a group, often one per phone number or circuit | | `6` | Sub-category | A further breakdown | | `7` | Type | A further breakdown | | `8` | Charge detail | The lowest level of charges, in `SLN` lines | | `9` | Line detail | Supporting detail such as itemized calls | `HL01` numbers each level, `HL02` points to its parent, and `HL04` says whether children follow (`1`) or not (`0`). A summary-only 811 uses levels 1 and 4. A detailed bill adds categories, charge detail and call detail under the group they support. The DoD guide notes that federal 811s must use levels 1 and 4, and that when a level 4 has no children, several `IT1` loops can sit under it. ## Interactive Example: Monthly Telecom Bill (Single Account) A telecom carrier bills a food distributor for October. The heading names the invoice, the billing account (`REF*12`), the period (`DTM` 186 and 187), the due date and both parties. Level 1 is the carrier with its billing contact and $14.62 of tax. Level 4 holds two charges as monetary (`M4`) `IT1` lines: $185.00 of monthly service and $31.00 of usage for 1,240 minutes. `TDS` shows $230.62 of current charges, and `BAL` shows last month's $198.40, the payment against it, and the $230.62 now due. All names and numbers are fictional. Use the **Plain English** tab for a readable summary, or click any segment to see its elements. ## 811 Structure at a Glance | Area | Segment | Name | Usage | Notes | |---|---|---|---|---| | Heading | **ST** | Transaction Set Header | Mandatory | `ST01` = `811` | | Heading | **BIG** | Beginning Segment for Invoice | Mandatory | Invoice date, invoice number, invoice type | | Heading | **NTE** | Note/Special Instruction | Optional | Free-text bill messages | | Heading | **CUR** | Currency | Optional | Non-US-dollar bills | | Heading | **REF** | Reference Identification | Optional, usually required | Billing, master and sub-account numbers | | Heading | **PER** | Administrative Communications Contact | Optional | Billing inquiry contacts | | Heading | **ITD** | Terms of Sale | Optional | Due date and terms | | Heading | **DTM** | Date/Time Reference | Optional | Billing period start and end | | Heading | **TXI** | Tax Information | Optional | Account tax status | | Heading loop | **N1/N2/N3/N4** | Name and address | Optional | Payee (`PE`), payer (`PR`), remit-to | | Detail loop | **HL** | Hierarchical Level | Mandatory, repeats | The billing hierarchy | | Detail loop | **LX** | Assigned Number | Optional | Groups detail by phone number, circuit or order | | Detail loop | **NM1** | Individual or Organizational Name | Optional | Service provider at level 1 | | Detail loop | **ITA** | Allowance, Charge or Service | Optional | Surcharges, credits, allowances | | Detail loop | **IT1** | Baseline Item Data (Invoice) | Optional, required at level 4 by most guides | One charge line | | Detail loop | **SI** | Service Characteristic Identification | Optional | Telecom identifiers such as the phone number | | Detail loop | **QTY** | Quantity | Optional | Lines in service, minutes and other counts | | Detail loop | **SLN** | Subline Item Detail | Optional | Charge detail under a group | | Detail loop | **TCD / USD** | Itemized Call Detail / Usage-Sensitive Detail | Optional | Call records and usage rating | | Summary | **TDS** | Total Monetary Value Summary | Mandatory | Current charges | | Summary loop | **ITA** | Allowance, Charge or Service | Optional | Account-level charges such as late fees | | Summary loop | **BAL** | Balance Detail | Optional, usually sent | Previous balance, payments, adjustments, amount due | | Summary | **CTT** | Transaction Totals | Optional | Count of `IT1` lines where the guide asks for it | | Summary | **SE** | Transaction Set Trailer | Mandatory | Segment count and control number | The 811 standard is large: detail loops nest to four levels, and the X12 structure includes segments for vehicles, installments and rating factors that telecom bills rarely use. Each carrier's guide names the subset it sends. ## Key Segments Explained ### BIG: Beginning Segment for Invoice ``` BIG*20261101*NW04722191101*****DI~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **BIG01** | Date | `20261101` | Invoice issue date | | **BIG02** | Invoice Number | `NW04722191101` | Unique invoice number. Your 820 quotes it back | | **BIG03** to **BIG06** | PO date, PO number, release, change order | | Rarely used on service bills | | **BIG07** | Transaction Type Code | `DI` | The kind of bill. See below | | **BIG08** | Transaction Set Purpose Code | | Original, cancellation or replacement where the guide uses it | `BIG07` decides how AP treats the document. Codes in the X12 list include `DI` (debit invoice), `CD` (consolidated debit invoice), `CE` (consolidated credit invoice), `DR` (debit memo), `CR` (credit memo), `ME` (memorandum) and `FB` (final bill). On a consolidated account, Granite's guide sends the master bill as `CD` and each sub-account as a memo, so only the master is payable. Paying both is the classic consolidated-billing mistake. The ATIS conventions recommend a unique invoice number, and some carriers build it from the account number plus the bill date, as in the example. ### REF and DTM: Account and Billing Period ``` REF*12*0472219~ DTM*186*20261001~ DTM*187*20261031~ ``` `REF01` qualifies the account. Common qualifiers on telecom 811s are `12` (billing account), `14` (master account) and `11` (account number, used for sub-accounts), but the carrier's guide decides which it sends where. `DTM` with `186` and `187` gives the start and end of the billing period. Use the billing account, not the invoice number, as the key for allocating charges month to month. ### HL: Hierarchical Level ``` HL*1**1*1~ HL*2*1*4*0~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **HL01** | Hierarchical ID Number | `2` | Sequential number of this level | | **HL02** | Hierarchical Parent ID | `1` | The `HL01` of the parent. Blank on level 1 | | **HL03** | Hierarchical Level Code | `4` | The billing level (see the table above) | | **HL04** | Hierarchical Child Code | `0` | `1` = children follow, `0` = none | Build your parser to follow `HL02`, not segment order. Detailed bills can interleave many levels, and the parent pointer is the only reliable way to roll charges up. ### IT1: Baseline Item Data (Invoice) ``` IT1*2*1240*M4*31.00**SV*0700~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **IT101** | Assigned Identification | `2` | Line number | | **IT102** | Quantity Invoiced | `1240` | The count the charge relates to, here minutes | | **IT103** | Unit of Measure | `M4` | `M4` = monetary value | | **IT104** | Unit Price | `31.00` | With `M4`, the charge amount for the line, not a per-unit price | | **IT106** | Product/Service ID Qualifier | `SV` | Service | | **IT107** | Product/Service ID | `0700` | The charge type code from the industry list | The `M4` convention is what trips up teams who reuse their 810 map. On a product invoice, line amount is quantity times unit price. On a telecom 811 with `IT103` = `M4`, `IT104` already is the amount, and the DoD guide notes that with `M4` the extended pricing rules do not apply. Multiply 1,240 by $31.00 and you have billed yourself $38,440. The charge type codes in `IT107` come from the telecom conventions, not from X12 itself. Granite's guide, for example, uses `0110` for recurring charges, `0400` for adjustments and `0700` for usage. Load the list from your carrier's guide and map each code to a GL account. ### TXI: Tax Information ``` TXI*TX*14.62~ ``` `TXI01` is the tax type (`TX` = all taxes) and `TXI02` the amount. Carriers send tax at several levels: a total at level 1, taxes per charge line, or exemption status in the heading. Pick one level to post from, or you will count the same tax twice. ### TDS: Total Monetary Value Summary ``` TDS*23062~ ``` `TDS01` is the current charges total with two implied decimals: `23062` is $230.62. It includes taxes and the detail charges, but the DoD convention notes it does not include amounts billed only in the summary area. In the example, $185.00 + $31.00 + $14.62 = $230.62. ### BAL: Balance Detail ``` BAL*P*PB*198.40~ BAL*M*TP*-198.40~ BAL*M*TT*230.62~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **BAL01** | Balance Type Code | `P` | `P` previous period, `M` current period, `A` adjustment | | **BAL02** | Amount Qualifier Code | `PB` | `PB` billed amount, `TP` payments, `NA` net adjustment, `TT` total amount due | | **BAL03** | Monetary Amount | `198.40` | A decimal amount, sign included | `BAL` is the statement half of "invoice/statement". It shows how this month's amount due was reached: previous balance, plus adjustments, minus payments, plus current charges. Unlike `TDS`, the amounts carry an explicit decimal point. Pay from `TDS` for the current invoice, and use `BAL` to spot payments the carrier has not applied. ## Consolidated Billing: Master and Sub-Accounts The "consolidated" in the name is about rolling many accounts into one bill. A business with 60 branch phone accounts can receive a single payable bill for the master account and still see each branch's charges. Carriers do this in two ways, and the guide will tell you which: - **One transaction, many levels.** The master 811 carries a level 2 (billing arrangement) loop for each sub-account, each with its own level 4 charge group. You pay the master `TDS`. - **Master plus memo transactions.** The master 811 (for example `BIG07` = `CD`) summarizes each sub-account, and a separate memo 811 for each sub-account (for example `BIG07` = `ME`) carries its detail and billing period. Only the master is payable. Either way, allocate costs from the sub-account detail and pay from the master total. If your AP system treats each memo as an invoice, it will pay every branch twice. ## EDI 811 vs 810 and Related Documents | Document | Sent by | Purpose | Key difference from the 811 | |---|---|---|---| | **811 Consolidated Service Invoice/Statement** | Service provider | Bills structured service charges with a running balance | Hierarchy of accounts and charges, `BAL` statement section | | **[810 Invoice](/guides/edi/810-invoice)** | Supplier | Bills goods shipped against a PO | Flat item lines priced quantity times price, matched to the 850 and receipt | | **[880 Grocery Products Invoice](/guides/edi/880-grocery-products-invoice)** | Grocery supplier | Grocery invoice with UCS segments | Product invoice for the grocery channel | | **[210 Motor Carrier Freight Invoice](/guides/edi/210-motor-carrier-freight-invoice)** | Carrier | Bills a freight move | Transport service, but billed per shipment | | **[812 Credit/Debit Adjustment](/guides/edi/812-credit-debit-adjustment)** | Either party | Adjusts an invoice already sent | X12 says the 811 should not be used as a standalone credit/debit notice | | **[820 Payment Order/Remittance](/guides/edi/820-payment-order)** | Customer | Pays and explains the payment | The usual response to an 811 | The short version: if you are billing for goods, use the 810. The 811 is for bills that are really statements of account, where the structure of accounts and charges matters as much as the total. ## Common 811 Errors and How to Prevent Them | Error | What happens | Prevention | |---|---|---| | **Treating `IT104` as a unit price on `M4` lines** | Line amounts multiplied by minutes or line counts | Branch on `IT103`: with `M4`, take `IT104` as the line amount | | **Paying memo bills on a consolidated account** | Sub-account charges paid twice | Pay only the master `BIG07`, allocate from memos | | **Counting tax at two levels** | Tax posted twice, totals do not tie | Post tax from one level only and reconcile to `TDS` | | **Implied decimal error in `TDS01`** | Totals off by 100 times | `TDS01` has two implied decimals. `BAL03` and `IT104` carry a decimal point | | **Rolling up by segment order instead of `HL02`** | Charges assigned to the wrong account or circuit | Build the tree from `HL01`/`HL02` | | **Unknown charge type code in `IT107`** | Charge lands in a suspense account | Load the carrier's charge code list and alert on new codes | | **Ignoring `BAL`** | Unapplied payments and late fees go unnoticed | Compare `BAL` previous balance and payments to your own payment records monthly | | **Missing invoice number on the 820** | Payment not applied to the bill | Quote `BIG02` in the remittance | Run a sample bill through the [free EDI inspector](/edi-inspector) before you build the map. It shows the HL tree, the charge lines and the totals side by side, which makes `M4` and decimal mistakes easy to spot. ## 811 Implementation Checklist - Get the carrier's 811 guide and its industry charge code list - Confirm single-account or consolidated billing, and whether memo 811s are sent - Confirm which HL levels you will receive: summary only (1 and 4) or full detail - Map `REF` account qualifiers to your account master and cost centers - Handle `M4` charge lines separately from priced lines - Pick one tax level to post from - Reconcile `TDS` to the sum of detail charges and taxes on every bill - Track `BAL` against your payment history - Return a 997 for every 811, and pay with an 820 that quotes `BIG02` - Test with a real prior-month bill, including a credit and a final bill if you can get them For the wider picture of which X12 documents your partners may ask for, see the [EDI document types reference](/edi-document-types). ## Where OrderSync Fits The 811 is money going out: a carrier billing you. Most of the documents that keep an operations team busy are money coming in: customer purchase orders arriving as EDI 850s and 875s, PDFs, emails and spreadsheets that someone keys into the ERP. OrderSync reads those inbound orders in any format, matches customers, items and units to your catalog, and outputs clean orders to your ERP or valid X12. Paste any 811 into the [free EDI inspector](/edi-inspector) to see its billing hierarchy in plain English, read how [multi-format order processing](/multi-format-orders) works, or [book a 15-minute walkthrough](/book) to see your own orders processed. ## Frequently Asked Questions
### What is an EDI 811 used for? The EDI 811 bills services with complex structure: accounts, sub-accounts, recurring charges, usage and taxes, plus a statement of the account balance. Telecom carriers are the main senders, and it is also used for some insurance billing and for federal telecom invoices. ### What is the difference between EDI 810 and EDI 811? The 810 is a product invoice: flat item lines, priced quantity times unit price, matched to a purchase order. The 811 is a service invoice and statement: charges sit in a numbered hierarchy of accounts and charge groups, line amounts are often sent as monetary values, and a BAL section shows the account balance. ### What functional group does the 811 use? The 811 travels in functional group CI, the value in GS01. The transaction set identifier in ST01 is 811. ### What are the HL levels in a telecom 811? HL03 codes run from 1 to 9: service/billing provider, billing arrangement, sub-billing arrangement, group, category, sub-category, type, charge detail and line detail. A summary bill uses levels 1 and 4; a detailed bill adds lower levels under each group. ### What does M4 mean in an 811 IT1 segment? M4 means monetary value. When IT103 is M4, IT104 is the amount of the charge, not a price per unit, so the line is not extended by the quantity in IT102. ### What is a consolidated 811? A consolidated 811 bills a master account that rolls up many sub-accounts. The carrier either nests each sub-account inside one transaction or sends a payable master bill plus memo bills for each sub-account. You pay the master and allocate costs from the sub-account detail. ### How is an EDI 811 paid? Most customers pay with an 820 Payment Order/Remittance Advice that quotes the 811 invoice number from BIG02, or by another payment method agreed with the carrier. A 997 acknowledges receipt of the 811 itself.
--- # EDI 812 Credit/Debit Adjustment: Complete Guide Source: https://ordersync.io/guides/edi/812-credit-debit-adjustment > How the EDI 812 Credit/Debit Adjustment works: BCD and CDD segments, reason codes, debit and credit examples, 812 vs 810, 820 and 844, and common errors. The EDI 812 Credit/Debit Adjustment is the X12 transaction trading partners use to tell each other about a credit or debit against an invoice already sent. A retailer sends a debit memo when it short-pays for shortages, price differences or compliance failures; a supplier sends a credit memo. Each line carries a reason code and amount. **The EDI 812 is how money moves after the invoice.** When a buyer counts fewer units than you billed, pays a lower cost than you invoiced, or charges for a missed compliance rule, it can send an 812 debit memo instead of paying the 810 in full. When you owe the buyer, you send an 812 credit memo. Either way, the 812 is the itemized record of why the payment will not match the invoice. This guide covers what the 812 carries, how a deduction moves through it, two live examples (a retailer debit and a supplier credit), every segment you will map, the reason codes that decide whether a deduction is worth disputing, and the errors that make 812s hard to reconcile. ## What Is an EDI 812? **An EDI 812 is the Credit/Debit Adjustment transaction set defined by the [ASC X12 standards body](https://x12.org/products/transaction-sets), used to notify a trading partner of an adjustment or billback against goods or services already invoiced, or to request one.** It is the EDI version of a debit memo or a [credit memo](/glossary/credit-memo), and the X12 definition describes it as multi-directional: either trading partner can send it. Authoritative references for 812 work: - The [X12 transaction set catalog](https://x12.org/products/transaction-sets) lists the 812 alongside the 810, 820 and 824 it works with - The [Stedi X12 004010 reference for the 812](https://www.stedi.com/edi/x12-004010/812) shows the full segment order, loops and usage, and its [element 426 page](https://www.stedi.com/edi/x12-004010/element/426) lists every adjustment reason code - Each retailer or distributor publishes its own 812 implementation guide, which narrows the reason codes it uses, the references it sends, and how it expects disputes to be raised **Who sends it?** Either side. Retailers and distributors send debit adjustments when they deduct from an invoice. Suppliers send credit adjustments when they owe the buyer money, for example for an authorized return. **When is it sent?** After the [810 Invoice](/guides/edi/810-invoice), when receiving, invoice matching or a compliance audit finds a difference. Some buyers send it before payment; others send it with or after the remittance. **Why does it matter?** Every 812 debit is a short payment against an invoice in your receivables. If nobody reads it, cash application cannot match the payment to the invoice, valid deductions go unrecorded, and invalid ones go undisputed until the buyer's dispute window closes. ## Debit, Credit and How the Money Moves Three elements on the BCD header decide how an 812 should be booked: | Element | What it tells you | Example | |---|---|---| | **BCD05** Credit/Debit Flag | `C` credit or `D` debit | A retailer deduction is sent as a debit; a supplier refund as a credit | | **BCD03** Transaction Handling Code | What happens to the money | `O` deduct from next remittance, `L` apply on account, `H` notification only | | **BCD04** Amount | The net amount of the whole adjustment | `107152` means $1,071.52, because the element carries two implied decimals | Each CDD line has its own credit/debit flag too, so a single 812 can net a debit on one line against a credit on another. The partner's guide says which direction convention it uses and which handling codes it accepts. Read it before you post the first 812 to your ledger. ## How a Deduction Moves Through an 812 A typical retail deduction runs like this: 1. **You invoice.** Your 810 bills the PO at the quantities and costs you shipped. 2. **The buyer matches.** The retailer's accounts payable system compares the 810 with its receipt and its cost file, and its compliance team checks the shipment against the vendor guide. 3. **Differences become adjustment lines.** Each difference gets a reason code, a quantity, a price and an amount: units not received, a cost above the agreed price, a missing ASN. 4. **The buyer sends the 812.** The BCD names the invoice and PO, and the CDD loops list each adjustment. 5. **Payment arrives short.** The buyer pays the invoice less the 812 total, usually with an [820 remittance advice](/guides/edi/820-payment-order) that references the debit memo number. 6. **You reconcile or dispute.** Your team matches the 812 to the invoice, the PO and the proof of delivery, accepts the valid lines and disputes the rest through the buyer's process. Step 6 is where suppliers lose money. A deduction that sits unmatched in a remittance is easy to write off, and hard to recover once the dispute window has passed. ## Interactive Example: Retailer Debit Memo (812, BCD05 D) A retailer deducts $1,071.52 from invoice `INV-88421`. Line 1 contests 48 bath towels as not received (reason `06`). Line 2 is a pricing error (reason `01`): 120 mugs invoiced $0.45 above the $12.80 contract price. Line 3 is a flat $250.00 deduction because no ASN arrived (reason `70`), referenced to the bill of lading. `BCD03` is `O`: the amount will come off the next payment. Use the **Plain English** tab for a readable summary, or click any segment to break it down element by element. ## Interactive Example: Supplier Credit Memo (812, BCD05 C) The supplier sends the opposite direction. The retailer returned 12 desk lamps under a returned goods authorization, so the supplier issues a $215.40 credit (`BCD05` `C`) to be applied on account (`BCD03` `L`). The CDD line uses reason `72` (authorized return) and sets `CDD05` to `Y` to mark it as returned goods. ## 812 Structure at a Glance The 004010 812 has a header with a mandatory party loop, an optional detail loop per adjustment, and no summary segments beyond SE. | Area | Segment | Name | Usage | Notes | |---|---|---|---|---| | Header | **ST** | Transaction Set Header | Mandatory | `ST01` = `812` | | Header | **BCD** | Beginning Credit/Debit Adjustment | Mandatory | Date, memo number, handling, amount, flag, invoice and PO | | Header | **CUR** | Currency | Optional | When not in US dollars | | Header | **N9** | Reference Identification | Optional, repeats | Receiving number, bill of lading, other references | | Header | **PER** | Administrative Contact | Optional | Who to contact about the adjustment | | Header | **DTM** | Date/Time Reference | Optional | Dates such as when goods were received | | Header | **SAC** | Allowance or Charge | Optional | Header-level allowances or charges | | N1 loop | **N1** to **N4**, **N9**, **PER** | Party identification | Mandatory loop | Buyer, supplier, bill-to, remit-to | | CDD loop | **CDD** | Credit/Debit Adjustment Detail | Optional, repeats | One per adjustment: reason, flag, amount, quantity, prices | | CDD loop | **LIN** | Item Identification | Optional | The item the line adjusts | | CDD loop | **PO4** | Item Physical Details | Optional | Pack and size, when relevant to the adjustment | | CDD loop | **SAC** | Allowance or Charge | Optional | Line-level allowance or charge detail | | CDD loop | **N9**, **DTM** | Reference, Date | Optional | Line references such as a bill of lading or RGA number | | CDD loop | **N11** loop | Store Number | Optional | Store-level split of the adjustment | | Trailer | **SE** | Transaction Set Trailer | Mandatory | Segment count and control number | Two things often surprise people coming from the 810. The 004010 812 has no REF segment in its header (references go in `N9` or in the BCD itself), and it has no TDS-style total segment: the total is `BCD04`. Partner guides built on other X12 releases can differ, so map from the version in your partner's guide. ## Key Segments Explained ### BCD: Beginning Credit/Debit Adjustment ``` BCD*20261102*DM-2026-0457*O*107152*D*20261020*INV-88421**20261005*4500229254~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **BCD01** | Date | `20261102` | Date of the adjustment | | **BCD02** | Credit/Debit Adjustment Number | `DM-2026-0457` | The memo number. The remittance will reference it | | **BCD03** | Transaction Handling Code | `O` | What happens to the money (see below) | | **BCD04** | Amount | `107152` | Net amount of the adjustment, two implied decimals ($1,071.52) | | **BCD05** | Credit/Debit Flag Code | `D` | `C` credit, `D` debit | | **BCD06** | Date | `20261020` | Invoice date | | **BCD07** | Invoice Number | `INV-88421` | The invoice being adjusted | | **BCD08** | Vendor Order Number | | Your sales order number, when the buyer has it | | **BCD09** | Date | `20261005` | Purchase order date | | **BCD10** | Purchase Order Number | `4500229254` | The buyer's PO | | **BCD11** | Transaction Set Purpose Code | | Optional. Limited to `00`, `05`, `06`, `07` and `15` in 004010 | | **BCD13**, **BCD14** | Reference Qualifier and Number | | Another reference, used when the invoice or PO number is not in BCD07 or BCD10 | At least one of `BCD07`, `BCD10` or `BCD14` must be present, so every 812 points back to an invoice, a PO or another document. Common `BCD03` handling codes: | Code | Meaning | |---|---| | `A` | Off invoice (deduction from the original invoice) | | `H` | Notification only | | `J` | Payment requested (adjustment to account) | | `K` | Reimbursement to follow | | `L` | Apply on account | | `O` | Deduct from next remittance | | `T` | Adjustment requested | The code list for element 305 has more values. Your partner's guide names the ones it sends. ### CDD: Credit/Debit Adjustment Detail Each CDD opens one adjustment line. ``` CDD*01*D**5400***120*EA*0.45*CON*12.80~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **CDD01** | Adjustment Reason Code | `01` | Why the line exists. `01` = pricing error | | **CDD02** | Credit/Debit Flag Code | `D` | Direction of this line | | **CDD03** | Assigned Identification | | Optional line number | | **CDD04** | Amount | `5400` | Line amount, two implied decimals ($54.00) | | **CDD05** | Yes/No Condition | | `Y` when the adjustment is for returned goods | | **CDD06** | Price Bracket Identifier | | Rarely used | | **CDD07** | Credit/Debit Quantity | `120` | Units affected | | **CDD08** | Unit of Measure | `EA` | Unit for that quantity | | **CDD09** | Unit Price Difference | `0.45` | Difference per unit, for price adjustments | | **CDD10** | Price Identifier Code | `CON` | What kind of price follows. `CON` = contract price, `UCP` = unit cost price | | **CDD11** | Unit Price | `12.80` | The price the buyer applied | | **CDD12**, **CDD13** | Price Identifier and Unit Price | | A second price, for comparison pricing | The syntax rules matter when you build or validate one. A CDD needs an amount (`CDD04`) or a quantity (`CDD07`). A quantity needs its unit (`CDD08`) and a unit price (`CDD11`), and a unit price needs its price identifier (`CDD10`). ### Adjustment Reason Codes (CDD01) Element 426 has several hundred codes, many of them for insurance or freight. These are the ones that show up most on retail and distribution 812s: | Code | Meaning | Typical cause | |---|---|---| | `01` | Pricing Error | Invoice cost above the buyer's cost file or contract | | `02` | Allowance/Charge Error | Allowance missing or charge not agreed | | `03` | Extension Error | Quantity times price does not equal the line amount | | `04` | Item Not Accepted, Damaged | Goods refused or written off as damaged | | `06` | Quantity Contested | Fewer units received than invoiced | | `07` | Incorrect Product | Wrong item shipped | | `19` | Duplicate Billing | The same goods invoiced twice | | `54` | Freight Deducted | Freight taken off the payment | | `59` | Item Not Received | Line on the invoice never arrived | | `70` | Advanced Ship Notice Not Received | No 856 before the shipment arrived | | `72` | Authorized Return | Credit for goods returned with authorization | | `99` | Late Shipment of Goods | Shipped outside the PO window | | `A5` | Overage | More received than ordered | | `A6` | Packing Violations | Cartons or labels not to the vendor guide | | `L3` | Penalty | A penalty the partner's guide defines | Partners use different codes for the same problem, and some send mutually defined codes. The reason code is a starting point for the dispute, not the whole story: the proof is in your bill of lading, proof of delivery, ASN and price agreement. ### LIN, N9 and N1 `LIN` inside a CDD loop identifies the item, with the same qualifier pairs as the 810 (`UP` for UPC, `VN` for vendor item number, `IN` for buyer item number). `N9` carries references: `RV` receiving number, `BM` bill of lading, `RZ` returned goods authorization, `IV` invoice. The N1 loop is mandatory in the 004010 812 and usually names the buyer and supplier, sometimes with a remit-to or bill-to. ## EDI 812 vs 810, 820, 824 and 844 | Document | Sent by | Purpose | Relationship to the 812 | |---|---|---|---| | **[810 Invoice](/guides/edi/810-invoice)** | Supplier | Bills for goods shipped | The document the 812 adjusts | | **812 Credit/Debit Adjustment** | Either party | Itemizes a credit or debit against an invoice | | | **[820 Payment Order/Remittance](/guides/edi/820-payment-order)** | Buyer | Says what was paid and what was deducted | Often references the 812 memo number in its adjustment detail | | **[824 Application Advice](/guides/edi/824-application-advice)** | Either party | Accepts or rejects a document for business reasons | Rejects an invoice outright; the 812 adjusts one that was accepted | | **[844 Product Transfer Account Adjustment](/guides/edi/844-product-transfer-account-adjustment)** | Distributor | Claims contract chargebacks against a manufacturer | A separate process for contract pricing support, answered by an [849](/guides/edi/849-response-to-product-transfer-account-adjustment) | | **[997 Functional Acknowledgment](/guides/edi/997-functional-acknowledgment)** | Receiver | Confirms the 812 arrived and was valid X12 | Says nothing about whether the adjustment is accepted | The short version: the 810 bills, the 812 adjusts, the 820 pays. Contract pricing claims between distributors and manufacturers run on the 844 and 849 instead, often against prices set on an [845 Price Authorization](/guides/edi/845-price-authorization-acknowledgment). ## Where the 812 Sits in the Order Lifecycle 1. **[850 Purchase Order](/guides/edi/850-purchase-order)**: the buyer orders at an agreed cost 2. **[855 Purchase Order Acknowledgment](/guides/edi/855-purchase-order-acknowledgment)**: you confirm quantities, prices and dates 3. **[856 Ship Notice/ASN](/guides/edi/856-ship-notice)**: you describe what shipped 4. **[810 Invoice](/guides/edi/810-invoice)**: you bill 5. **812 Credit/Debit Adjustment**: the buyer debits, or you credit, against that invoice 6. **[820 Remittance](/guides/edi/820-payment-order)**: the buyer pays the invoice net of the adjustment Most debit reasons trace back to an earlier document: a cost on the 850 that never reached your price list, an 856 that went out late or not at all, a quantity on the 810 that did not match what shipped. Clean upstream documents are the cheapest way to get fewer 812s. ## Common 812 Errors and How to Prevent Them | Error | What happens | Prevention | |---|---|---| | **Implied decimal misread in `BCD04` or `CDD04`** | $1,071.52 posted as $107,152 | Treat element 610 amounts as two implied decimals unless the partner's guide says otherwise | | **Lines do not add up to `BCD04`** | Cash application cannot balance the memo | Sum the CDD amounts by flag and compare to the header on receipt | | **No invoice reference** | Deduction cannot be matched to an open item | Require `BCD07` or an `N9*IV`; chase the buyer when it is missing | | **Debit and credit direction misread** | Credits booked as deductions, or the reverse | Map `BCD05` and `CDD02` explicitly; do not infer from the sign of the amount | | **Reason code mapped to "other"** | Disputes and root-cause reports lose their detail | Keep the raw `CDD01` code alongside your internal reason | | **812 never matched to the 820** | Short payment sits unapplied | Match on the memo number in `BCD02` when the remittance arrives | | **Dispute window missed** | Invalid deductions become permanent | Log every 812 on receipt with the buyer's dispute deadline | For the wider picture on retail deductions, see [EDI chargebacks](/edi-chargebacks) and our glossary entry on [retail chargebacks](/glossary/retail-chargeback). ## 812 Implementation Checklist Before you take 812s from a new partner: - Get its 812 guide, and confirm the X12 version it uses - Confirm the `BCD05` direction convention and the `BCD03` handling codes it sends - Get its list of `CDD01` reason codes and what proof it accepts for each - Confirm whether amounts use implied decimals (`107152`) as element 610 defines - Confirm which references it sends: invoice, PO, receiving number, bill of lading - Map the memo number so it can be matched to the 820 remittance - Agree how disputes are raised and the window for raising them - Test with a debit, a credit and a multi-line memo before going live To check a file before you map it, paste it into the [free EDI inspector](/edi-inspector), or use the [EDI remittance reader](/tools/edi-remittance-reader) for the 820 that follows it. ## Handling 812s With OrderSync Most deductions are the last link in a chain that starts with the order: a PO keyed with the wrong cost, a unit of measure mixed up, a ship-to that did not match. OrderSync works at the start of that chain. It reads incoming orders in any format, from EDI 850s and 875s to emails, PDFs and spreadsheets, matches customers, items and units to your catalog, and outputs valid X12 or clean data for your ERP. For the 812 itself, paste any file into the [free EDI inspector](/edi-inspector) to see it parsed segment by segment with a plain-English summary of every adjustment line. If you are weighing how much of your EDI needs to touch the ERP, see [EDI without ERP integration](/blog/edi-without-erp-integration), or [book a 15-minute walkthrough](/book) to see your own orders processed. ## Frequently Asked Questions
### What is the difference between EDI 812 and EDI 810? The 810 is the invoice that bills for goods shipped. The 812 is the adjustment against that invoice: a debit the buyer applies for a shortage, price difference or compliance failure, or a credit the supplier issues. The 812 points back to the 810 through the invoice number in BCD07. ### Is an EDI 812 the same as a chargeback? A chargeback is one common type of 812. The 812 carries any credit or debit adjustment, including shortages, damages, pricing errors, and compliance penalties. Retail compliance chargebacks are often delivered as 812 debit adjustments. Distributor contract chargebacks, where a distributor claims back the difference between its cost and a contract price, use a different document: the [EDI 844 Product Transfer Account Adjustment](/guides/edi/844-product-transfer-account-adjustment). ### What does the BCD segment contain in an EDI 812? BCD is the 812 header. It carries the adjustment date, the memo number, a transaction handling code saying what happens to the money, the net amount with two implied decimals, the credit or debit flag, and the invoice and purchase order the adjustment applies to. ### What are EDI 812 adjustment reason codes? They are the codes in CDD01, from X12 element 426, that say why each line exists. Common ones are 01 pricing error, 06 quantity contested, 04 item not accepted as damaged, 59 item not received, 70 advance ship notice not received and 72 authorized return. Each partner's guide lists the codes it uses. ### How do I dispute an invalid 812 deduction? Match each CDD line to its reason code and to the original 810, PO, bill of lading and proof of delivery. Accept the valid lines and send the buyer your evidence for the rest through the dispute process in its vendor guide, before its dispute window closes. ### Does the 812 replace the 820 remittance advice? No. The 812 itemizes the adjustment; the 820 reports the payment. A buyer that deducts usually sends both, and the 820 references the 812 memo number so you can match the short payment to the debit. ### Does the 812 flow back into an ERP? It can. Each 812 becomes a credit or debit memo against an open invoice in accounts receivable, coded by reason. Whether you post it automatically or review it first depends on your volume and how often the deductions are wrong.
--- # EDI 816 Organizational Relationships: Store Lists Source: https://ordersync.io/guides/edi/816-organizational-relationships > EDI 816 explained: how Walmart and other retailers send store and DC location lists, the BHT, HL, N1 and ASI segments, full and change file examples. The EDI 816 Organizational Relationships is the X12 transaction a retailer or other parent organization uses to send partners its locations and how they relate: head office, stores and distribution centers, each with an ID such as a GLN, an address and a store number. Suppliers load it to turn store codes on orders into real addresses. **The EDI 816 is the retailer's location master, sent to you as EDI.** A store-level purchase order often names the ship-to by a store number or a GLN and nothing else. The 816 is the document that tells you store 0147 is a real building at a real address, which DC sits above it, and when it opens, moves or closes. This guide covers what the 816 carries, how retailers such as Walmart use it, every segment you will map, two live examples (a full location list and a change file), and the errors that leave orders pointing at stores your system has never heard of. ## What Is an EDI 816? **An EDI 816 is the Organizational Relationships transaction set defined by the [ASC X12 standards body](https://x12.org/products/transaction-sets), used to send information about a parent organization, its members, and how each member relates to the parent or to another member.** X12 describes the parent as an association, a multi-hospital system, a chain of retail stores or a holding company. In retail supply chains, the parent is the retailer and the members are its stores, distribution centers and offices. Authoritative references for 816 work: - The [X12 transaction set catalog](https://x12.org/products/transaction-sets) defines the 816 structure: a BHT header, then an HL loop per organization or location, each with its own name, address, contact and reference segments - [GS1's Global Location Number (GLN) standard](https://www.gs1.org/standards/id-keys/gln) governs the 13-digit location identifiers many retailers use in the 816 to name each store and DC - Each retailer that sends an 816 publishes its own implementation guide, which sets the version, the codes it uses, how often it sends the list and whether it expects a 997 back **Who sends it?** The parent organization. In retail, that is the retailer, sending to its suppliers. **Who receives it?** The supplier, or the supplier's EDI provider, which loads it into a customer location table in the ERP or EDI system. **When is it sent?** On the retailer's schedule. A common pattern is one full list when you start trading, followed by regular change files as stores open, move or close. **Why does it matter?** Your [850 purchase orders](/guides/edi/850-purchase-order) and the [856 ASNs](/guides/edi/856-ship-notice) you send back use location codes. If your location table is out of date, a new store's order cannot be routed, and an ASN or invoice can go out with a ship-to the retailer no longer recognizes. ## Why Suppliers Receive an 816 Retail orders are built around location codes, not addresses. A store replenishment 850 typically identifies its ship-to in the `N1` segment with a qualifier and a code, for example `N1*ST*STORE 0147*92*0147` (a buyer-assigned store number) or `N1*ST**UL*0851234001475` (a GLN). Orders that split one PO across many stores often carry the store numbers in `SDQ` segments, with no address at all. Your system has to turn each of those codes into a delivery address, a carrier route and, for DC-bound freight, the right DC. That needs a location table keyed by the same codes the retailer uses, and kept current. The 816 is how many retailers keep that table current for you, rather than emailing a spreadsheet of store openings every month. | Without an 816 | With an 816 | |---|---| | Store list comes as a spreadsheet, a portal download, or not at all | Location data arrives as EDI on a schedule | | New store numbers fail order import until someone adds them by hand | New stores are in your table before their first order | | Relocated stores keep their old address in your system | Address changes arrive with an effective date | | Closed stores stay active, so freight can be routed to them | Deletes arrive as explicit actions | | GLN to store number cross-reference kept by hand | Both identifiers arrive together for each location | ## How Walmart Uses the EDI 816 Walmart is one of the best-known senders of the 816, which is why "EDI 816 Walmart" is a common search. Walmart lists the 816 among the documents in its supplier EDI program and uses it to send location address information: each location's GLN, shipping address, phone number, internal store or DC number, and effective dates. In practice it works as an address listing that suppliers load into their own systems. What varies by supplier, and what only Walmart's own documentation can tell you: - Whether you are set up to receive the 816 at all. It is not part of every supplier's document set - Which X12 version you receive, and which locations are included - How often full lists and change files are sent - Whether a 997 is expected in return Get those answers from the implementation guide in your Walmart supplier EDI documentation, or from your EDI provider. For the wider list of documents Walmart requires, see our [Walmart EDI requirements](/edi-compliance/walmart) guide. Other retail chains and buying groups use the 816 for the same purpose, and some use it for membership lists or purchasing eligibility instead, which is why the retailer's guide matters more than the standard here. ## Full Lists and Change Files Most retail 816 programs send two kinds of file, told apart by the purpose code in `BHT02`: | | Full list | Change file | |---|---|---| | **BHT02** | `00` (original) | `04` (change) | | **Contents** | Every location in scope | Only locations that were added, changed or removed | | **ASI segment** | Usually absent | Present on each location, saying what to do with it | | **How to load it** | Replace or reconcile your whole table for that retailer | Apply each action to the one location it names | | **Typical use** | Onboarding, or a periodic resync | Ongoing maintenance | The most damaging 816 bug comes from mixing these up. Treat a change file as a full list and every location not in it looks closed. Treat a full list as a change file and stores that closed months ago stay active forever. ## Interactive Example: Full Location List (816, Purpose 00) A fictional grocery chain, Lakeshore Markets, sends its full location list to a supplier. `BHT` flags it as an original (`00`). The heading `N1*FR` names the sender. The first `HL` (level `35`, company) is the corporate office. Each following `HL` (level `36`, operating unit) points to the corporate office as its parent and describes one location: two stores with GLN, address, phone and store number, and the distribution center (`N1*WH`). Use the **Plain English** tab for a readable summary, or click any segment to break it down element by element. ## Interactive Example: Location Change File (816, Purpose 04) A week later the chain sends a change file. `BHT02` is `04`. Store 0152 is relocating: its loop carries the full new address, an effective date in `DTM*007`, and `ASI*2*001`, which tells you to replace the whole record. Store 0133 is closing: `ASI*2*002` deletes it from the effective date. Only the affected locations are included. ## 816 Structure at a Glance The 816 has a short heading that identifies the sender, then one HL loop per organization or location. | Position | Segment | Name | Usage | Notes | |---|---|---|---|---| | Heading | **ST** | Transaction Set Header | Mandatory | `ST01` = `816` | | Heading | **BHT** | Beginning of Hierarchical Transaction | Mandatory | Structure code, purpose, reference number and date | | Heading | **DTM** | Date/Time Reference | Optional | Dates that apply to the whole list | | Heading | **REF** | Reference Identification | Optional | References for the whole list | | Heading N1 loop | **N1** | Name | Mandatory | Usually `FR`, the organization sending the list | | Heading N1 loop | **N2, N3, N4, PER, REF** | Name, address, contact, references | Optional | Details for the sender | | Detail HL loop | **HL** | Hierarchical Level | Mandatory, repeats | One per organization or location | | Detail N1 loop | **N1** | Name | Mandatory | The organization or location: entity code, name, ID | | Detail N1 loop | **N2** | Additional Name Information | Optional | Longer names | | Detail N1 loop | **N3** | Address Information | Optional | Street address | | Detail N1 loop | **N4** | Geographic Location | Optional | City, state, postal code, country | | Detail N1 loop | **PER** | Administrative Communications Contact | Optional | Phone, fax or email for the location | | Detail N1 loop | **REF** | Reference Identification | Optional | Store number, DUNS or other IDs | | Detail N1 loop | **QTY** | Quantity | Optional | Counts some partners attach to a location | | Detail N1 loop | **DTM** | Date/Time Reference | Optional | Effective dates for this location | | Detail N1 loop | **LQ** | Industry Code | Optional | Classification codes some partners use | | Detail N1 loop | **ASI** | Action or Status Indicator | Optional | What to do with this location in a change file | | Summary | **SE** | Transaction Set Trailer | Mandatory | Segment count and control number | The functional group code in `GS01` is **OR**. Retailers use only a subset of these segments. Treat "optional" as "optional unless your partner's guide says otherwise". ## Key Segments Explained ### BHT: Beginning of Hierarchical Transaction `BHT` says how the HL loops are organized and whether this is a full list or a change. ``` BHT*0065*00*LM20261102FULL*20261102~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **BHT01** | Hierarchical Structure Code | `0065` | The order of HL levels. Retail store lists commonly use `0065`, company then operating unit | | **BHT02** | Transaction Set Purpose Code | `00` | `00` original (full list), `04` change. The retailer's guide lists any others it uses | | **BHT03** | Reference Identification | `LM20261102FULL` | The sender's ID for this list. Mandatory in the 816 | | **BHT04** | Date | `20261102` | The date the list was created. Mandatory in the 816 | | **BHT05** | Time | | Optional creation time | ### HL: Hierarchical Level Each `HL` starts one organization or location. ``` HL*2*1*36~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **HL01** | Hierarchical ID Number | `2` | A unique number for this level within the transaction | | **HL02** | Hierarchical Parent ID Number | `1` | The `HL01` of the parent. Blank on the top level | | **HL03** | Hierarchical Level Code | `36` | What this level is. Retail lists commonly use `35` (company) and `36` (operating unit) | The parent link is where the "relationships" in the name come from. In the examples every store and the DC point to the corporate office. A retailer that wants to tell you which DC serves which store can nest store levels under DC levels instead. Its guide will show the structure it uses, and your loader should follow `HL02` rather than assume a flat list. ### N1: Name (the location itself) The `N1` inside each HL loop identifies the organization or location. ``` N1*SN*LAKESHORE MARKET 0147*UL*0851234001475~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **N101** | Entity Identifier Code | `SN` | What kind of party. `CQ` corporate office, `SN` store, `WH` warehouse are common in retail lists | | **N102** | Name | `LAKESHORE MARKET 0147` | The location's name | | **N103** | Identification Code Qualifier | `UL` | The ID type in `N104`. `UL` is a GS1 Global Location Number. `1` is a DUNS number, `92` a buyer-assigned code | | **N104** | Identification Code | `0851234001475` | The ID itself | The heading `N1` uses `FR` (message from) to name the sender of the list. That one does not describe a location. ### N3, N4 and PER: Address and Contact ``` N3*1820 BEACON AVENUE~ N4*MUSKEGON*MI*49441*US~ PER*IC**TE*2315550147~ ``` `N3` carries the street address, `N4` the city, state, postal code and country, and `PER` a contact. In the example, `IC` is an information contact and `TE` marks a telephone number. This is the data your carrier labels, routing and ASN ship-to blocks depend on. ### REF: Reference Identification ``` REF*ST*0147~ ``` `REF` carries other identifiers for the location. `ST` is the store number, the code that appears on most store-level orders. Retailers also use `REF` for DUNS-based IDs and other cross-references. Store numbers often have leading zeros, so store them as text, never as numbers. ### DTM: Effective Date ``` DTM*007*20261116~ ``` `DTM01` qualifier `007` means effective. The date in `DTM02` is when the location record, or the change to it, takes effect. A store relocating on the 16th should keep its old address in your system until then. ### ASI: Action or Status Indicator ``` ASI*2*001~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **ASI01** | Action Code | `2` | `2` is change (update) | | **ASI02** | Maintenance Type Code | `001` | `001` change, meaning replace the whole record for this location. `002` delete | | **ASI03** | Status Reason Code | | Optional reason | `ASI` usually appears only in change files. The maintenance codes a retailer uses, including the one it sends for a brand-new location, are listed in its guide. Map them from the guide, not from an example file, because a code you have not mapped will be ignored or misapplied. ## EDI 816 vs Other Master Data Documents The 816 is one of several documents that keep your data in line with a retailer's. People searching for it are often trying to work out which one carries what. | Document | Sent by | Carries | How it relates to the 816 | |---|---|---|---| | **816 Organizational Relationships** | Retailer | Locations: stores, DCs, offices, their IDs and addresses | The location master | | **[832 Price/Sales Catalog](/guides/edi/832-price-sales-catalog)** | Supplier (or retailer) | Items, prices and product attributes | The item master. Locations and items together drive order validation | | **[850 Purchase Order](/guides/edi/850-purchase-order)** | Retailer | An order, with ship-to as a store number or GLN | Uses the codes the 816 defines | | **[856 Ship Notice](/guides/edi/856-ship-notice)** | Supplier | Shipment contents and ship-to | Must carry a ship-to the retailer recognizes | | **[810 Invoice](/guides/edi/810-invoice)** | Supplier | Billing, often repeating the ship-to | A wrong location here can cause a matching failure | | **[997 Functional Acknowledgment](/guides/edi/997-functional-acknowledgment)** | Supplier | Receipt and syntax check of the 816 | Only if the retailer's guide asks for one | ## Loading an 816: Step by Step 1. **Receive and acknowledge.** Translate the file and send a 997 if the retailer's guide requires one. 2. **Check the purpose.** Read `BHT02`. A full list and a change file need different load logic. 3. **Walk the hierarchy.** Build each location from its HL loop, and record its parent from `HL02`. 4. **Key on the retailer's codes.** Store each location under the identifiers your orders will use: GLN, store number, or both. 5. **Apply actions with dates.** For change files, apply each `ASI` action from the `DTM` effective date, not the file date. 6. **Flag, don't silently drop.** A delete for a location that still has open orders, or a change for a location you have never seen, needs a person to look at it. 7. **Use it on the next order.** When the next 850 arrives, its ship-to codes resolve against the updated table. ## Common 816 Errors and How to Prevent Them | Error | What happens | Prevention | |---|---|---| | **Change file loaded as a full list** | Every location not in the file is marked closed | Branch on `BHT02` before loading | | **Full list loaded as changes** | Closed stores never get removed | Reconcile the whole table on a full list | | **Leading zeros stripped from store numbers** | `0147` becomes `147` and orders stop matching | Store IDs as text | | **Changes applied on receipt, not on the effective date** | Freight routed to a new address before the store moves in | Schedule changes from `DTM*007` | | **Unmapped ASI maintenance code** | New stores never added, or deletes treated as changes | Map every code in the retailer's guide | | **Hierarchy flattened** | DC-to-store relationships lost | Keep `HL02` parent links | | **Matching on name instead of ID** | Two stores with similar names merged | Key on GLN or store number | | **No 816 coming at all** | Store list drifts out of date silently | Confirm with the retailer whether you are set up to receive it, and on what schedule | Paste any 816 into the [free EDI inspector](/edi-inspector) to see each location listed with its IDs, address and action in plain English, which is the quickest way to check what a change file is really asking you to do. ## 816 Implementation Checklist Before you rely on an 816 feed from a retailer: - Get the retailer's 816 implementation guide and confirm the X12 version - Confirm which locations are included: stores, DCs, offices, or all of them - Confirm the schedule for full lists and change files - Map the `BHT02` purpose codes and every `ASI02` maintenance code the guide lists - Decide which identifiers you key on (GLN, store number, DUNS) and store them as text - Follow the HL parent links if the retailer uses them for DC relationships - Apply changes from effective dates, not receipt dates - Confirm whether the retailer expects a 997 - Alert when an 850 arrives with a ship-to code that is not in your table If you are new to retail EDI, our [EDI document types reference](/edi-document-types) and [EDI for grocery and retail suppliers](/edi-for/grocery-and-retail-suppliers) explain where the 816 sits among the documents your customers may send. ## Matching Store-Level Orders With OrderSync The 816 keeps a location table current. The table only pays off when every order is checked against it, and orders do not all arrive as EDI. The same retailer that sends an 850 may send a rush order by email, and a regional chain may send a PDF with a store number in the header. OrderSync reads inbound orders in any format (EDI 850 and 875, PDF, email, spreadsheets), matches each customer, store, item and unit to your records, and outputs valid X12 or clean data for your ERP. Orders with a store code it cannot match are flagged for review instead of being keyed in with a guess. Paste an 816 or an order into the [free EDI inspector](/edi-inspector) to see it parsed, or [book a 15-minute walkthrough](/book) to see your own store-level orders processed. ## Frequently Asked Questions
### What is an EDI 816 used for? The EDI 816 Organizational Relationships sends a list of an organization's members and how they relate. In retail, a retailer uses it to send suppliers its stores, distribution centers and offices, with identifiers such as GLNs and store numbers, addresses, contacts and effective dates, so suppliers can resolve the location codes on orders. ### Does Walmart send an EDI 816? Yes. Walmart uses the 816 in its supplier EDI program to send location address information, including GLNs, addresses, phone numbers, store or DC numbers and effective dates. Whether you receive it, in which version and how often depends on your setup, so check the 816 guide in your Walmart supplier EDI documentation. ### What is the difference between an EDI 816 and an EDI 850? The 850 is a purchase order. It names where to ship by a location code such as a store number or GLN. The 816 is the location list that tells you what those codes mean: the address, the parent organization and when each location opens, changes or closes. ### What is a GLN in an EDI 816? A GLN (Global Location Number) is a 13-digit GS1 identifier for a physical location or legal entity. In an 816, it usually appears in N104 with the qualifier UL in N103, alongside the retailer's own store number in a REF segment. ### What does the ASI segment mean in an 816? ASI tells you what to do with a location in a change file. ASI01 is the action code and ASI02 the maintenance type, for example a change that replaces the whole location record, or a delete. The retailer's guide lists the codes it uses, including the one for new locations. ### How do I tell an 816 full list from a change file? Check BHT02. A value of 00 is an original, which retailers use for full lists. A value of 04 is a change, which carries only the locations that were added, changed or removed, each with an ASI action and usually an effective date. ### Do I need to send a 997 for an 816? It depends on the retailer. Some require a 997 Functional Acknowledgment for every document, and some state that one is not required for the 816. The retailer's 816 implementation guide says which.
--- # EDI 820 Payment Order/Remittance Advice Guide Source: https://ordersync.io/guides/edi/820-payment-order > EDI 820 remittance advice explained: BPR, TRN, RMR and ADX segments, discounts and deductions, 820 vs ACH CTX and CCD+, live examples and reconciliation errors. The EDI 820 Payment Order/Remittance Advice is the X12 transaction a buyer sends a supplier to say how much it paid, how the money moved, and which invoices, credit memos and deductions the payment covers. The BPR segment carries the payment, TRN the trace number, and each RMR one open item with any ADX adjustments. **The EDI 820 is the document that tells you what a payment was for.** The bank tells you that $9,599.99 arrived. The 820 tells you it paid three invoices, took $200.51 in terms discounts and deducted $225.00 for a quantity dispute and a pricing error. Without it, someone in accounts receivable is matching a lump deposit to open invoices by hand and guessing at the short-pays. This guide covers what the 820 carries, how it relates to ACH, CTX and CCD+, every segment you will map, two live examples (an ACH remittance with deductions and a check remittance with a credit memo), how to reconcile one against your ledger, and the errors that leave cash unapplied. ## What Is an EDI 820? **An EDI 820 is the Payment Order/Remittance Advice transaction set defined by the [ASC X12 standards body](https://x12.org/products/transaction-sets), used by a payer to send payment instructions to its bank, remittance detail to the payee, or both.** In supply chain work you almost always meet it as remittance advice: the buyer's accounts payable system tells you which open items a payment settles. It travels in functional group `RA` (the `GS01` value). Authoritative references for 820 work: - The [X12 transaction set catalog](https://x12.org/products/transaction-sets) defines the 820, and the [Stedi X12 004010 820 reference](https://www.stedi.com/edi/x12-004010/820) lays out the BPR, TRN, ENT, RMR and ADX structure and code lists used in this guide - [NACHA](https://www.nacha.org/content/what-is-ach) governs the ACH network that usually moves the money, including the CTX format that can carry a full 820 inside the payment itself - The [ASC X9 TR 42 core adjustment reason codes](https://www.minneapolisfed.org/~/media/files/about/what-we-do/remittance%20coalition/tr-42-2014-core-adjustment-reason-codes.pdf?la=en), published through the Federal Reserve's Remittance Coalition, are the shared subset of deduction reason codes most suppliers see in `ADX02` **Who sends it?** The payer: a retailer, distributor or manufacturer paying its suppliers. Some buyers send it from their bank, which builds the 820 from the payment file. **Who receives it?** The payee's accounts receivable team, or the system that does cash application. **When is it sent?** With or around each payment run. It may arrive before the money, with it (inside the ACH addenda), or after it. **Why does it matter?** Cash application. Every invoice the 820 does not explain stays open on your ledger, and every deduction it does not explain turns into a dispute you cannot start. ## The 820 in the Order-to-Cash Cycle The 820 closes the standard EDI order-to-cash cycle: | Step | Document | Direction | What it does | |---|---|---|---| | 1 | [850 Purchase Order](/guides/edi/850-purchase-order) | Buyer to supplier | Places the order | | 2 | [855 PO Acknowledgment](/guides/edi/855-purchase-order-acknowledgment) | Supplier to buyer | Confirms what will ship | | 3 | [856 Ship Notice](/guides/edi/856-ship-notice) | Supplier to buyer | Describes the shipment | | 4 | [810 Invoice](/guides/edi/810-invoice) | Supplier to buyer | Bills for it | | 5 | [824 Application Advice](/guides/edi/824-application-advice) | Buyer to supplier | Only if the invoice fails a business rule | | 6 | [812 Credit/Debit Adjustment](/guides/edi/812-credit-debit-adjustment) | Either way | Some buyers announce deductions here first | | 7 | **820 Remittance Advice** | Buyer to supplier | Says what was paid, and what was taken | The 810 says "here is what you owe". The 820 says "here is what we paid, and why it differs". For the business view of the whole flow, see [order-to-cash automation](/blog/order-to-cash-automation) and [EDI payments explained](/blog/edi-payments-explained). ## Is EDI 820 the Same as ACH? **No. The 820 is the remittance advice and ACH is the payment rail.** They answer different questions and are governed by different bodies. | | EDI 820 | ACH | |---|---|---| | What it is | Remittance advice document | Electronic funds transfer network | | Governed by | ASC X12 | NACHA | | Carries money? | No | Yes | | Carries invoice detail? | Yes, item by item | Only in addenda records, and only some formats | | Travels over | VAN, AS2, SFTP, or inside ACH addenda | The banking network | You can send an 820 and settle by ACH, wire or check. You can also pay by ACH with no 820 at all, which is how a deposit ends up in the bank with nothing to say what it paid. ## EDI 820 vs NACHA CTX and CCD+ There are two delivery models, and which one your customer uses decides where you look for the remittance. **Separate delivery.** The buyer sends the 820 over the normal EDI connection and tells its bank to move the money. The remittance lands in your [EDI mailbox](/blog/edi-van-explained), the cash lands in your bank, and you match them on the trace number in `TRN02`. `BPR01` is often `I` (remittance information only) in this model. **Bundled delivery.** The remittance rides inside the ACH entry, in its addenda records. `BPR01` is `C` (payment accompanies remittance advice) and `BPR05` names the ACH format: | ACH format | `BPR05` code | Addenda | What fits | |---|---|---|---| | CCD+ | `CCP` | One addenda record, 80 characters of payment information | A single reference, usually one invoice number | | CTX | `CTX` | Up to 9,999 addenda records, 80 characters each | A complete X12 820, every RMR included | The one-addenda limit on CCD+ and the 9,999-record CTX structure are set out in [NACHA's third-party payment documentation](https://www.nacha.org/system/files/2023-06/TPP-User-Guide-Revised-07-13.pdf). The practical point: if a buyer says it sent remittance in a CTX and your AR team never saw it, ask your bank whether it reports addenda to you. Many accounts do not pass addenda through unless you ask. ## Interactive Example: ACH Remittance With Discounts and Deductions A home goods retailer pays three invoices from a camping-gear supplier in one ACH CTX payment. Each `RMR` carries the amount paid (`RMR04`), the invoice amount (`RMR05`) and the terms discount taken (`RMR06`). Two invoices were short-paid, and the `ADX` under each says why: `06` quantity contested ($180.00) and `01` pricing error ($45.00). The three amounts paid add up to the `BPR02` payment of $9,599.99. Use the **Plain English** tab for a readable summary, or click any segment to break it down element by element. Check the arithmetic on the second invoice: $3,200.00 billed, less a $64.00 terms discount, less the $180.00 deduction, is $2,956.00 paid. That is the reconciliation your cash application has to do on every line. ## Interactive Example: Check Remittance With a Credit Memo A distributor pays by check and sends the remittance separately (`BPR01` `I`, `BPR04` `CHK`). The `TRN02` trace is the check number. The payment covers a $2,500.00 invoice and applies a $360.00 seller's credit memo (`RMR01` `CL`) the supplier issued earlier, so the check is for $2,140.00. ## 820 Structure at a Glance The 820 has many optional loops for payroll, tax, premium and royalty payments. Supplier remittance uses a small part of it. | Area | Segment | Name | Usage | Notes | |---|---|---|---|---| | Header | **ST** | Transaction Set Header | Mandatory | `ST01` = `820` | | Header | **BPR** | Beginning Segment for Payment Order/Remittance Advice | Mandatory | Amount, handling, method, format, bank details, date | | Header | **NTE** | Note/Special Instruction | Optional | Free text | | Header | **TRN** | Trace | Optional, usually required | Ties the remittance to the money | | Header | **CUR** | Currency | Optional | Non-USD payments | | Header | **REF** | Reference Identification | Optional | Vendor number, payment batch | | Header | **DTM** | Date/Time Reference | Optional | Extra dates some payers send | | Header N1 loop | **N1** to **PER** | Name, address, contact | Optional | `PR` payer, `PE` payee | | Detail ENT loop | **ENT** | Entity | Optional | Groups remittance by entity, such as a division | | ENT loop | **ADX** | Adjustment | Optional | Adjustments not tied to one invoice | | RMR loop | **RMR** | Remittance Advice Accounts Receivable Open Item Reference | Optional, repeats | One per invoice, credit memo or debit memo | | RMR loop | **REF**, **DTM** | Reference, date | Optional | PO number, invoice date (`003`) | | RMR loop | **IT1** | Baseline Item Data | Optional | Line-level detail some payers add | | RMR loop | **ADX** | Adjustment | Optional, repeats | Deductions or additions to this open item | | Summary | **SE** | Transaction Set Trailer | Mandatory | Segment count and control number | The [Stedi 820 reference](https://www.stedi.com/edi/x12-004010/820) shows the full set of loops. Your customer's 820 guide says which ones it actually sends. ## Key Segments Explained ### BPR: Beginning Segment for Payment Order/Remittance Advice `BPR` is the payment itself. ``` BPR*C*9599.99*C*ACH*CTX*01*999000013*DA*48120017755*1999999999**01*999000026*DA*7730041185*20261105~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **BPR01** | Transaction Handling Code | `C` | `C` payment accompanies remittance advice, `I` remittance information only, `D` make payment only, `P` prenotification of future transfers | | **BPR02** | Monetary Amount | `9599.99` | Total payment, with an explicit decimal point | | **BPR03** | Credit/Debit Flag Code | `C` | `C` credit to the payee | | **BPR04** | Payment Method Code | `ACH` | `ACH`, `CHK` check, `FWT` Fedwire, `BOP` bank's option, `NON` non-payment data | | **BPR05** | Payment Format Code | `CTX` | ACH format: `CTX`, `CCP` (CCD+), `CCD`, `PPD` | | **BPR06** | (DFI) ID Number Qualifier | `01` | Type of the bank ID that follows. `01` is an ABA routing number | | **BPR07** | (DFI) Identification Number | `999000013` | Payer's bank routing number | | **BPR08** | Account Number Qualifier | `DA` | `DA` demand deposit (checking) | | **BPR09** | Account Number | `48120017755` | Payer's account | | **BPR10** | Originating Company Identifier | `1999999999` | The payer's ACH company ID | | **BPR12** to **BPR15** | Receiver bank details | `01`, `999000026`, `DA`, `7730041185` | Payee's routing and account | | **BPR16** | Date | `20261105` | Effective payment date | The routing and account numbers in these examples are fictional. Bank details are not needed for a check (`BPR04` `CHK`), so the second example leaves `BPR05` to `BPR15` empty. ### TRN: Trace ``` TRN*1*NG0001184405*1999999999~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **TRN01** | Trace Type Code | `1` | Current transaction trace number | | **TRN02** | Reference Identification | `NG0001184405` | The trace number. For ACH it should match the trace on the deposit; for a check it is often the check number | | **TRN03** | Originating Company Identifier | `1999999999` | The payer's identifier | `TRN02` is the key that joins the 820 to the bank. Store it, and reject a second 820 with the same trace until someone confirms it is a correction and not a duplicate. ### N1: Payer and Payee ``` N1*PR*NORTHGATE HOME STORES*92*NGHS~ N1*PE*CEDAR PEAK OUTDOOR CO*92*V-44710~ ``` `PR` is the payer and `PE` the payee. The payee ID is usually your vendor number in the buyer's system, which is the fastest way to route an 820 to the right customer account when one buyer pays you from several entities. ### ENT: Entity `ENT*1~` opens the detail. Payers that pay several of your accounts in one payment, or pay on behalf of several divisions, use one ENT loop per entity. Most supplier remittances have a single ENT. ### RMR: Remittance Advice Open Item Reference Each `RMR` is one open item on your ledger and the money applied to it. ``` RMR*IV*INV-50127**2956.00*3200.00*64.00~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **RMR01** | Reference Identification Qualifier | `IV` | What `RMR02` is (see the table below) | | **RMR02** | Reference Identification | `INV-50127` | Your invoice number, credit memo number or other open item | | **RMR03** | Payment Action Code | | How to apply the cash, where the payer uses it | | **RMR04** | Monetary Amount | `2956.00` | Amount paid on this item | | **RMR05** | Monetary Amount | `3200.00` | Invoice amount, or the amount of the referenced debit or credit | | **RMR06** | Monetary Amount | `64.00` | Discount taken | | **RMR07** | Adjustment Reason Code | | A single adjustment reason, paired with `RMR08` | | **RMR08** | Monetary Amount | | Late payment interest or anticipation amount | The common `RMR01` qualifiers: | RMR01 | Meaning | |---|---| | `IV` | Seller's invoice number | | `CL` | Seller's credit memo | | `DM` | Seller's debit memo | | `CM` | Buyer's credit memo | | `R7` | Accounts receivable open item | | `PO` | Purchase order number | An **open item** is any unpaid or partly paid entry on your accounts receivable ledger. A credit memo is applied as a negative amount (`RMR*CL*CR-7731**-360.00*-360.00~` in the second example), which nets it against the invoices paid in the same 820. ### ADX: Adjustment `ADX` explains why the amount paid differs from what was billed. ``` ADX*-180.00*06~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **ADX01** | Monetary Amount | `-180.00` | The adjustment. Negative reduces the payment, positive increases it | | **ADX02** | Adjustment Reason Code | `06` | Why (see the table below) | | **ADX03** | Reference Identification Qualifier | | Type of reference in `ADX04` | | **ADX04** | Reference Identification | | The buyer's deduction or claim number, where it sends one | When `ADX` follows an `RMR`, it applies to that open item. When it sits in the ENT loop before any `RMR`, it is an adjustment to the account as a whole, such as an advertising allowance not tied to one invoice. Common `ADX02` codes from X12 element 426: | Code | Meaning | |---|---| | `01` | Pricing error | | `02` | Allowance/charge error | | `03` | Extension error | | `04` | Item not accepted, damaged | | `05` | Item not accepted, quality | | `06` | Quantity contested | | `07` | Incorrect product | | `11` | Returns, damage | | `19` | Duplicate billing | | `24` | Incorrect discount | | `71` | Advertising allowance | | `79` | Cooperative advertising | | `A8` | Promotional allowance | | `CM` | Covered by credit memo | | `D3` | Unauthorized deduction | | `SF` | Shipping and freight charge | The full list has several hundred codes, and two retailers can use different codes for the same thing. Map the codes your customers actually send, not the whole list, and keep the mapping per customer. ### DTM: Date/Time Reference ``` DTM*003*20261007~ ``` Inside the RMR loop, `DTM` with qualifier `003` is the invoice date. It helps when a customer reuses invoice numbers across years or divisions, and when you need to age a deduction. ## Reconciling an 820 Against Your Ledger The checks, in order: 1. **Match the money.** Find the deposit or check that matches `TRN02` and `BPR02`. If there is no deposit yet, check `BPR16`; the effective date may not have arrived. 2. **Check the header total.** The `RMR04` amounts, plus any ADX adjustments that sit outside an RMR, should equal `BPR02`. If they do not, the 820 is incomplete or the payer split one payment across several remittances. 3. **Match each open item.** Find `RMR02` on your ledger by its qualifier. Unmatched items usually differ by a prefix, a stripped leading zero, or a credit memo you never posted. 4. **Explain each short-pay.** For each item, the invoice amount (`RMR05`), less the discount (`RMR06`), plus the ADX amounts, should equal what was paid (`RMR04`). Payers differ in how they apply this rule, so test it on real files from each customer before trusting it. 5. **Check the discount.** Compare `RMR06` with your terms and the payment date. A discount taken after the discount period is itself a deduction worth disputing. 6. **Route the deductions.** Each ADX reason code goes to the team that can prove or settle it: quantity disputes to shipping (with the [856](/guides/edi/856-ship-notice) and proof of delivery), pricing errors to whoever owns the price file, allowances to sales. Deductions you do not dispute within the customer's window are usually lost. The [retail chargebacks glossary entry](/glossary/retail-chargeback) and our [EDI chargebacks guide](/edi-chargebacks) cover how retailers raise them in the first place. To decode a remittance quickly, paste it into the free [EDI 820 remittance reader](/tools/edi-remittance-reader), which lists the invoices paid, decodes the reason codes and drafts a dispute. ## EDI 820 vs 810, 812, 824 and the Bank Statement | Document | Sent by | Purpose | |---|---|---| | **[810 Invoice](/guides/edi/810-invoice)** | Supplier | Requests payment | | **[812 Credit/Debit Adjustment](/guides/edi/812-credit-debit-adjustment)** | Either party | Announces a credit or debit, often a deduction, before or apart from payment | | **[824 Application Advice](/guides/edi/824-application-advice)** | Receiver of any document | Reports that a document's content failed a business rule. A payee can send one back about an 820 it could not apply | | **820 Remittance Advice** | Payer | Says what a payment covers | | **Bank statement or BAI2 file** | Bank | Says what money moved, with no invoice detail unless addenda are reported | ## Common 820 Errors and How to Prevent Them | Error | What happens | Prevention | |---|---|---| | **RMR amounts do not add up to `BPR02`** | Cash cannot be fully applied | Check for ENT-level ADX segments and split remittances before raising it with the payer | | **Invoice number not found** | Payment sits unapplied | Normalize prefixes and leading zeros per customer; check `RMR01` is `IV` and not a PO number | | **Deduction with no ADX** | Short-pay with no reason | Treat `RMR05` minus `RMR06` minus `RMR04` as an unexplained deduction and query it with the `TRN02` trace | | **Unknown `ADX02` code** | Deduction routed to nobody | Keep a per-customer reason code map and review new codes weekly | | **Duplicate `TRN02`** | Cash applied twice | Reject repeats until confirmed as corrections | | **Remittance arrived but money did not** | Items closed before cash lands | Apply cash on the bank deposit, not on the 820 alone | | **CTX remittance never seen** | AR reconciles by hand | Ask the bank to report ACH addenda | | **Credit memo applied that you never issued** | Negative item you cannot match | Ask for the buyer's backup; a buyer's credit memo is usually `CM`, not your `CL` | ## 820 Implementation Checklist - Get each paying customer's 820 guide and confirm the version (004010 is common in retail) - Confirm whether the remittance arrives separately, in a CTX, or both - Map `RMR01` qualifiers and `ADX02` reason codes per customer - Decide how you match open items: invoice number, invoice number plus date, or PO number - Store `TRN02` and block duplicates - Build the per-item check: billed, less discount, plus adjustments, equals paid - Route each deduction reason to an owner, with a dispute deadline - Send a [997](/guides/edi/997-functional-acknowledgment) or [999](/guides/edi/999-implementation-acknowledgment) for every 820 received, as agreed with the partner - Test with a full payment, a short-pay with ADX, a credit memo, and an 820 with no matching deposit ## Where OrderSync Fits OrderSync works at the other end of this cycle. Many of the deductions that show up in an 820 (wrong price, wrong item, wrong unit, quantity disputes) start with an order that was keyed by hand. OrderSync reads orders in any format, from EDI 850s and 875s to emails, PDFs and spreadsheets, matches customers, items and units to your catalog, and outputs valid X12 or clean data for your ERP, so the invoice that follows matches the order. For the 820 itself, paste any remittance into the [free EDI inspector](/edi-inspector) to see every BPR, RMR and ADX segment labelled, use the [remittance reader](/tools/edi-remittance-reader) to decode deductions, or [book a 15-minute walkthrough](/book) to see your own orders processed. ## Frequently Asked Questions
### What is an EDI 820 used for? The EDI 820 tells a supplier what a payment covers. It carries the payment amount and method in BPR, a trace number in TRN that links it to the bank deposit, and one RMR per invoice or credit memo with the amount paid, the invoice amount and any discount. ADX segments explain deductions. ### Is an EDI 820 the same as an ACH payment? No. ACH moves the money; the 820 explains it. They often travel together, either as an 820 sent over EDI alongside an ACH payment, or as an 820 carried inside a CTX ACH entry's addenda records. An 820 can also accompany a check or a wire. ### What is the RMR segment in an EDI 820? RMR is the Remittance Advice Accounts Receivable Open Item Reference. Each RMR names one open item, usually an invoice (RMR01 IV), and states the amount paid (RMR04), the invoice amount (RMR05) and the discount taken (RMR06). ### What does the ADX segment mean in an 820? ADX is an adjustment to the payment. ADX01 is the amount, negative when it reduces the payment, and ADX02 is the reason code, such as 01 pricing error or 06 quantity contested. An ADX after an RMR applies to that invoice. ### What is the difference between CTX and CCD+ for remittance? Both are ACH formats. CCD+ carries one addenda record of 80 characters, enough for a single invoice reference. CTX carries up to 9,999 addenda records and can hold a complete X12 820, so it suits payments covering many invoices. ### Why does the 820 total not match my bank deposit? Check the effective date in BPR16 first, since the money may not have settled. Then check whether the payer combined several 820s into one deposit, or split one payment across several 820s. If neither explains it, send the TRN02 trace number to the payer's accounts payable team. ### Do I need to acknowledge an EDI 820? Usually yes, with a 997 or 999 as agreed in the trading partner setup. If the 820 parsed but you cannot apply it, for example because it references invoices you do not have, some partners also expect an 824 Application Advice.
--- # EDI 822 Account Analysis: Bank Fee Statements Source: https://ordersync.io/guides/edi/822-account-analysis > EDI 822 Account Analysis explained: BLN balances, RTE earnings credit, SER service charges, ADJ adjustments, AFP service codes, a live example and errors. The EDI 822 Account Analysis is the X12 transaction a bank sends a corporate client each month to report account balances, the earnings credit those balances earned, and every service charge with its volume and unit price. BLN carries the balances, RTE the rates, SER each fee by AFP service code, and ADJ any corrections. **The EDI 822 is your bank's itemized bill, in a form a system can read.** A paper or PDF account analysis tells a treasury analyst that lockbox fees went up. The 822 tells a fee-analysis tool that 412 lockbox items were processed at $0.30 each, that the account's collected balance earned $180.48 of credit against $332.60 of charges, and that a $25.00 wire fee from last month was reversed. Without it, someone retypes the statement into a spreadsheet every month to check whether the bank is charging what was agreed. This guide covers what the 822 carries, how earnings credit and service charges net out, every segment you will map, a live example of a monthly statement, how AFP service codes fit in, and the errors that make fee reviews go wrong. ## What Is an EDI 822? **An EDI 822 is the Account Analysis transaction set defined by the [ASC X12 standards body](https://x12.org/products/transaction-sets), used to send detailed balance, service charge and adjustment information, mainly from a bank to its corporate clients.** It travels in functional group `AA` (the `GS01` value). The X12 definition also allows it between or within companies, for example a shared-services center billing business units, but in practice you will meet it from banks. Authoritative references for 822 work: - The [X12 transaction set catalog](https://x12.org/products/transaction-sets) defines the 822, and the [Stedi X12 004010 822 reference](https://www.stedi.com/edi/x12-004010/822) lays out the BGN, RTE, ENT, ACT, ADJ, BLN and SER structure used in this guide - The [Association for Financial Professionals (AFP) Service Codes](https://www.financialprofessionals.org/training-resources/resources/afp-service-codes) are the standard list banks use to identify balances and charges on account analysis statements. Domestic codes are 6 digits; the global set used with the camt.086 and TWIST BSB formats is 8 digits - Each bank publishes its own 822 specification, which names the AFP codes it sends, the rate qualifiers it uses, and how it reports adjustments **Who sends it?** Your bank's treasury or cash management group, from its account analysis system. **Who receives it?** Corporate treasury, accounts payable, or a bank fee analysis tool that compares charges against the agreed price schedule. **When is it sent?** Once per analysis period, usually monthly, a few business days after the period closes. **Why does it matter?** Bank fees are often paid by debiting the account or offsetting them against earnings credit, so nobody approves an invoice. The 822 is the only line-by-line record of what you were charged, and the only practical way to check it at volume. ## How Bank Account Analysis Works Most US business accounts are priced through account analysis rather than a flat monthly fee. The statement has three moving parts. **Balances.** The bank reports your average ledger balance (what the books show), average float (deposits not yet collected) and average collected balance (ledger less float). Collected balance is what earns credit. **Earnings credit.** The bank applies an earnings credit rate (ECR) to the collected balance for the period. A simplified version of the calculation is collected balance times ECR times days in the period, divided by days in the year. Some banks first deduct a reserve requirement; the Federal Reserve [set reserve requirement ratios to zero in March 2020](https://www.federalreserve.gov/monetarypolicy/reservereq.htm), so that deduction is usually zero today, but the 822 still has room to report it. The day counts and any reserve rule come from your account agreement. **Service charges.** Every billable activity in the period (maintenance fees, deposited items, ACH credits, wires, lockbox items, images) is priced at a unit rate and multiplied by the volume. The net is service charges less earnings credit. If charges are higher, the bank collects the difference, usually by debiting the account. If credit is higher, whether the surplus carries forward or is lost depends on your agreement. The 822 shows each of these numbers so you can recalculate them yourself. | Statement area | What it tells you | Where it sits in the 822 | |---|---|---| | Period and dates | Which month the analysis covers | `DTM` in the heading, and `DTM` with `709` in the balance loop | | Rates | Earnings credit rate, reserve rate, overdraft rate | `RTE` | | Bank and account | Who is reporting, on which account | `N1`, `ENT`, `ACT` | | Balances | Ledger, float, collected, earnings credit, totals | `LX` loop with one `BLN` per balance type | | Service charges | Each fee, its volume, unit price and charge | `SER`, one per service | | Adjustments | Corrections to earlier balances or fees | `ADJ` under the account | ## Interactive Example: Monthly Account Analysis Statement A bank sends a camping-gear supplier its October analysis for one operating account. `RTE` reports a 0% reserve rate and a 1.25% earnings credit rate. The balance loop shows an average ledger balance of $185,420.17, float of $15,420.17 and a collected balance of $170,000.00, which earned $180.48 of credit over 31 days. Four `SER` lines total $332.60 in charges, so the net service charge is $152.12. An `ADJ` reverses a $25.00 September wire fee. Use the **Plain English** tab for a readable summary, or click any segment to break it down element by element. Check the arithmetic the way a fee analyst would: - $185,420.17 ledger less $15,420.17 float is $170,000.00 collected - $170,000.00 times 1.25% times 31/365 is $180.48 of earnings credit - $45.00 + $75.00 + (412 x $0.30 = $123.60) + (890 x $0.10 = $89.00) is $332.60 of charges - $332.60 less $180.48 is $152.12 net, before the $25.00 reversal The six-digit balance and service codes in this sample (`000100`, `050100` and so on) are illustrative. The AFP list is licensed, and each bank maps its own services to it, so use your bank's 822 specification for the real code meanings. ## 822 Structure at a Glance | Area | Segment | Name | Usage | Notes | |---|---|---|---|---| | Heading | **ST** | Transaction Set Header | Mandatory | `ST01` = `822` | | Heading | **BGN** | Beginning Segment | Mandatory | Purpose, statement reference, statement date | | Heading | **DTM** | Date/Time Reference | Mandatory, up to 3 | Period start, period end, issue or process date | | Heading | **CUR** | Currency | Optional | Used when the statement is not in the default currency | | Heading, N1 loop | **N1** / N2 / N3 / N4 / PER | Name and contact | Usually sent | The bank or forwarder sending the statement | | Heading, RTE loop | **RTE** / DTM | Rate Information | Optional, repeats | Default rates for the whole analysis | | Detail, ENT loop | **ENT** | Entity | Mandatory, repeats | Identifies the sending bank and receiving company | | ENT, N1 loop | **N1** / PER | Name | Optional | The company receiving the statement | | ENT, ACT loop | **ACT** | Account Identification | Repeats | One loop per account analyzed | | ACT loop | **CUR** | Currency | Optional | Account currency | | ACT loop | **ADJ** | Adjustments to Balances or Services | Optional, up to 1000 | Corrections to earlier balances or fees | | ACT, RTE loop | **RTE** / DTM | Rate Information | Optional | Account-level rates that override the heading | | ACT, LX loop | **LX** / **BLN** / DTM | Balance Information | Repeats | One `BLN` per balance type | | ACT, SER loop | **SER** / CTP / DTM | Service Charges | Repeats | One `SER` per service | | Trailer | **SE** | Transaction Set Trailer | Mandatory | Segment count and control number | Loop nesting differs slightly between X12 releases and between banks. Treat the bank's specification as the source of truth for which loops it sends. ## Key Segments Explained ### BGN: Beginning Segment ``` BGN*00*AA2610-48120017755*20261105~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **BGN01** | Transaction Set Purpose Code | `00` | `00` = original statement | | **BGN02** | Reference Identification | `AA2610-48120017755` | The bank's statement reference. Store it to detect duplicates | | **BGN03** | Date | `20261105` | The date the statement was created | | **BGN04** | Time | | Optional creation time | ### DTM: Statement Period ``` DTM*150*20261001~ DTM*151*20261031~ ``` At least one heading `DTM` is required, for the period-ending date. Banks commonly use `150` (service period start) and `151` (service period end); some add a process or issue date. Inside the balance loop, a `DTM` with qualifier `709` (analysis month ending) dates the balances. Confirm the qualifiers your bank uses before you key period logic off them. ### N1 and ENT: Bank and Company ``` N1*BK*FIRST LAKESHORE BANK*13*999000013~ ENT*1*BK*13*999000013~ N1*AO*CEDAR PEAK OUTDOOR CO~ ``` The heading `N1` with `BK` names the bank, with `13` (Federal Reserve routing code) and its routing number. `ENT` opens the detail area: `ENT01` is a sequence number, and `ENT02` to `ENT04` can identify the sending bank. A bank that analyzes accounts for several companies under one relationship can use `ENT05` to `ENT07` to identify each receiving entity. The `N1` with `AO` (account of) inside the ENT loop names the company the statement is for. ### RTE: Rate Information ``` RTE*1*0~ RTE*2*1.25~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **RTE01** | Rate Qualifier | `2` | The type of rate. Common values include `1` (reserve requirement rate for demand deposit accounts), `2` (analysis earnings credit rate, not yet net of reserves) and `4` (collected balance overdraft interest rate) | | **RTE02** | Interest Rate | `1.25` | The rate, as a percentage | | **RTE03** | Monetary Amount | | Net collected amount needed per $1.00 of service charge, net of reserves | | **RTE04** | Number | | Days in the analysis month used in the calculation | | **RTE05** | Number | | Days in the analysis year used in the calculation | A heading `RTE` sets the default for the whole statement. An `RTE` inside an account loop overrides it for that account. If your bank sends `RTE04` and `RTE05`, use them in your recalculation instead of assuming 365 days. ### ACT: Account Identification ``` ACT*48120017755*CEDAR PEAK OPERATING~ ``` `ACT01` is the account number and `ACT02` its name. `ACT05` and `ACT06` can point to a related account, for example the account that a sub-account's fees roll up to. Everything after `ACT`, until the next `ACT`, belongs to that account. ### ADJ: Adjustments to Balances or Services ``` ADJ*S*-25.00**20260915*20261020**SEPT WIRE FEE REVERSAL*TB*350100~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **ADJ01** | Adjustment Application Code | `S` | The area adjusted. `S` = service charge | | **ADJ02** | Monetary Amount | `-25.00` | The adjustment amount. Negative is in your favor here | | **ADJ03** | Monetary Amount | | Adjustment to the average collected balance, for balance corrections | | **ADJ04** | Date | `20260915` | Date of the original transaction | | **ADJ05** | Date | `20261020` | Date the adjustment was processed | | **ADJ06** | Number of days | | Days between the original and the adjustment, used for float and ledger corrections | | **ADJ07** | Description | `SEPT WIRE FEE REVERSAL` | Free-form explanation | | **ADJ08** / **ADJ09** | Product/Service ID Qualifier and ID | `TB` / `350100` | The service the adjustment applies to | `ADJ10` to `ADJ15` report a price or volume change on a service (old value, new value and the difference). They are how a bank tells you it re-billed a service at the correct price, and they are worth reading closely. ### LX and BLN: Balance Information ``` LX*1~ BLN*TE*000120*170000.00~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **BLN01** | Code List Qualifier Code | `TE` | Which code list `BLN02` comes from. Bank specifications commonly use `TE` for AFP (formerly Treasury Management Association) service codes | | **BLN02** | Industry Code | `000120` | The balance type, as a code from that list | | **BLN03** | Monetary Amount | `170000.00` | The balance | `LX` only starts the loop; one `LX` can hold every balance for the period. Each balance type gets its own `BLN`. In this sample the bank's codes are: `000100` average ledger, `000110` average float, `000120` average collected, `000250` earnings credit, `000300` total service charges and `000400` net service charges. Those assignments are the sample bank's, not AFP's; your bank's mapping governs. ### SER: Service Charges ``` SER*TB*050100*116423.23*123.60*0.30*412*LOCKBOX ITEM PROCESSED~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **SER01** | Product/Service ID Qualifier | `TB` | AFP service code and bank service code | | **SER02** | Product/Service ID | `050100` | The service code | | **SER03** | Monetary Amount | `116423.23` | Collected balance required: the balance you would need to offset this charge with earnings credit | | **SER04** | Monetary Amount | `123.60` | The service charge | | **SER05** | Unit Price | `0.30` | Price per unit | | **SER06** | Quantity | `412` | Volume for the period | | **SER07** | Description | `LOCKBOX ITEM PROCESSED` | The bank's description | | **SER08** | Price Identifier Code | | The pricing structure, where the bank sends it | | **SER09** | Payment Method Code | | How the charge is compensated, where the bank sends it | | **SER10** / **SER11** | Subservice qualifier and number | | Identifies a subservice under the main code | At least one of `SER03` or `SER04` must be present. The check that matters most is `SER05` times `SER06` against `SER04`, and `SER05` against the price in your fee schedule. In the sample, `SER03` is the $123.60 charge divided by the credit each dollar of collected balance earned in October (1.25% times 31/365), which gives $116,423.23. ## AFP Service Codes in the 822 The AFP Service Codes are why 822s from different banks can be compared at all. Each bank maps its internal fee names (which differ by bank and change over time) to a shared code, so "lockbox item processed" at one bank and "LBX per check" at another can land in the same bucket in your analysis. What to know before you rely on them: - **Length.** Domestic codes are 6 characters; the AFP Global Service Codes are 8 digits, designed for the ISO 20022 camt.086 and TWIST BSB bank billing formats rather than the X12 822. - **Bank mapping.** Banks choose which AFP code each service maps to, and some revise mappings when the code list is updated. A code that moves between statements can make a fee look new or missing. - **Licensing.** The full code list is published by AFP under license. Your bank's 822 specification and its own code list are the practical reference. - **Bank-specific codes.** Some services have no AFP equivalent, so banks send their own codes alongside AFP ones. Map them explicitly instead of discarding them. ## EDI 822 vs 821, 820, 823 and BAI2 The 822 is one of several bank-to-company files, and they are often confused. | Document | Sent by | What it reports | |---|---|---| | **822 Account Analysis** | Bank | Monthly balances, earnings credit, service charges and adjustments | | **821 Financial Information Reporting** | Bank | Account balances and transaction detail, the X12 equivalent of a balance report | | **BAI2 file** | Bank | Prior-day and current-day balances and transactions, in the BAI format many banks use instead of the 821 | | **[820 Payment Order/Remittance Advice](/guides/edi/820-payment-order)** | Payer, or its bank | What a payment covers, invoice by invoice | | **[823 Lockbox](/guides/edi/823-lockbox)** | Lockbox bank | Checks received in a lockbox and the invoices they pay | | **camt.086** | Bank | ISO 20022 bank services billing statement, the international counterpart of the 822 | The short version: the BAI2 or 821 tells you what moved through the account each day, and the 822 tells you what it cost. The 823 is one of the services the 822 bills for. ## Where the 822 Sits in the Treasury Cycle 1. **Daily activity.** Deposits, lockbox items, ACH, wires and checks move through the account. The bank reports them daily in BAI2 or 821 files, and lockbox detail in [823s](/guides/edi/823-lockbox). 2. **Period close.** At month end the bank calculates average balances, earnings credit and volumes for each service. 3. **822 Account Analysis.** The bank sends the statement, typically within the first days of the next month. 4. **Acknowledgment.** Your translator returns a [997](/guides/edi/997-functional-acknowledgment) if the bank asks for one. 5. **Settlement.** The net charge is debited from the account or billed, as your agreement sets. 6. **Review.** Treasury compares volumes and prices against the fee schedule and raises disputes with the bank. Corrections arrive as `ADJ` segments on a later 822. ## Common 822 Errors and How to Prevent Them | Error | What happens | Prevention | |---|---|---| | **Unknown AFP or bank service code** | Charge lands in an "unmapped" bucket and nobody reviews it | Keep a code map per bank and review unmapped codes every month | | **Code mapping changed by the bank** | A service looks new one month and missing the next | Track `SER02` and `SER07` together and flag description changes | | **Recalculating earnings credit with the wrong day count** | Your figure never matches the bank's | Use `RTE04` and `RTE05` if sent, otherwise the day basis in the agreement | | **Unit price differs from the fee schedule** | Overbilling goes unnoticed | Compare `SER05` to the contracted price for every code | | **`SER05` times `SER06` does not equal `SER04`** | Rounding or minimum charges hide real differences | Flag any line where the difference is above a few cents and ask the bank why | | **Adjustments ignored** | Credits the bank already gave you are disputed again, or reversals are missed | Post `ADJ` lines against the original period, using `ADJ04` | | **Several accounts read as one** | Fees from a sub-account inflate the main account | Split by `ACT01` and use `ACT05`/`ACT06` for roll-ups | | **Duplicate statements** | Fees counted twice in a fee report | Store `BGN02` and the period dates, and block repeats | ## 822 Implementation Checklist - Get your bank's 822 specification and confirm the version (004010 is common) - Confirm the delivery channel and schedule (AS2, SFTP or the bank's portal) and whether it expects a 997 - Get the bank's AFP code mapping, including any bank-specific codes - Load your contracted fee schedule by service code - Decide how you store balances: one row per account, period and `BLN02` code - Build the checks: ledger less float equals collected, credit recalculates, price times volume equals charge - Map `ADJ` lines back to the original period - Handle multi-account statements, split by `ACT` - Test with a normal month, a month with adjustments, and a statement covering several accounts ## Where OrderSync Fits OrderSync works on the order side of the business, not the bank side. It reads inbound orders in any format, from EDI 850s and 875s to emails, PDFs and spreadsheets, matches customers, items and units to your catalog, and outputs valid X12 or clean data for your ERP. Clean orders lead to clean invoices, which is what keeps the lockbox and remittance items your bank bills for simple to apply. For the 822 itself, paste any statement into the [free EDI inspector](/edi-inspector) to see every BLN, SER and ADJ segment labelled, with a plain-English summary of balances and charges. For the rest of the cash cycle, see our guides to [EDI payments](/blog/edi-payments-explained) and [order-to-cash automation](/blog/order-to-cash-automation), or [book a 15-minute walkthrough](/book-call) to see your own orders processed. ## Frequently Asked Questions
### What is an EDI 822 used for? The EDI 822 Account Analysis is a bank's monthly fee statement in X12 form. It reports average balances, the earnings credit rate and credit earned, each service charge with volume and unit price, and any adjustments, so a company can check bank fees automatically instead of reading a PDF statement. ### What is the difference between the EDI 822 and BAI2? A BAI2 file reports daily balances and transactions: what moved through the account. The 822 reports a period's account analysis: what those services cost and how much earnings credit the balances earned. Most companies receive both, BAI2 daily and the 822 monthly. ### What are AFP service codes? AFP Service Codes are a standard list, maintained by the Association for Financial Professionals, that banks use to identify balances and service charges on account analysis statements. Domestic codes are 6 characters. In the 822 they appear in SER02 for charges and in BLN02 for balance types. ### What does the SER segment contain in an 822? Each SER is one service charge. SER01 is the code qualifier, SER02 the service code, SER03 the collected balance needed to offset the charge, SER04 the charge, SER05 the unit price, SER06 the volume and SER07 the bank's description. ### How is earnings credit calculated on an account analysis? In simple form, average collected balance times the earnings credit rate times the days in the period, divided by the days in the year. Banks may deduct reserves first and use their own day counts. The 822 reports the rate in RTE and can carry the day counts in RTE04 and RTE05. ### Who sends an EDI 822? Banks send it to their corporate clients, usually from the treasury or cash management group, once per analysis period. The X12 standard also allows it between or within companies, for example a shared-services center reporting charges to business units, but bank-to-company is by far the most common use. ### Do I need to acknowledge an EDI 822? If your bank's specification asks for one, return a 997 Functional Acknowledgment for the functional group. The 997 only confirms the file was valid X12. Fee disputes go to the bank through your relationship manager or its service channel, not through EDI.
--- # EDI 823 Lockbox: Deposit and Remittance File Source: https://ordersync.io/guides/edi/823-lockbox > EDI 823 Lockbox explained: DEP, AMT, QTY, BAT, BPR and RMR segments, how wholesale lockbox works, a live three-check deposit, cash application and errors. The EDI 823 Lockbox is the X12 transaction a bank sends a company to report the payments it received and deposited in the company's lockbox. It lists each deposit and batch with totals, each check with its amount and the payer's bank details, and the invoices each check pays, so accounts receivable can apply cash automatically. **The EDI 823 is the lockbox's report of what came in the mail.** Your customers mail checks to a post office box. The bank collects them, deposits them, captures the remittance stubs, and sends you an 823: one deposit of $14,327.50, three checks, five invoice references, one short-pay. Your cash application system matches each check to open invoices and posts it. Without the 823, someone in AR works from check images and a deposit total, one stub at a time. This guide covers how a wholesale lockbox works, what the 823 carries, every segment you will map, a live example of a three-check deposit, how to apply cash from it, and the errors that leave payments unapplied. ## What Is an EDI 823? **An EDI 823 is the Lockbox transaction set defined by the [ASC X12 standards body](https://x12.org/products/transaction-sets), used to send lockbox (incoming payment) information and totals from a bank or other lockbox service provider to a company.** It travels in functional group `LB` (the `GS01` value). Authoritative references for 823 work: - The [X12 transaction set catalog](https://x12.org/products/transaction-sets) defines the 823, and the [Stedi X12 004010 823 reference](https://www.stedi.com/edi/x12-004010/823) shows the full structure: the DEP deposit loop, the BAT batch loop, and the BPR payment loop with its RMR open items - Published trading partner guides, such as [J.R. Simplot's 004010 823 specification](https://techsheets.simplot.com/EDI/823_FG_4010.pdf), show the subset banks send in practice: `AMT` qualifier `3` for the deposit total and `2` for the batch total, `QTY` qualifiers `41` and `42` for the number of batches and checks, and `REF` `CK` for check numbers - Your lockbox bank's own file specification governs which segments it sends and how it keys remittance data. Many banks offer the same data in BAI or their own fixed-width layouts too **Who sends it?** The bank that runs your lockbox, or a lockbox processing provider working for it. **Who receives it?** Accounts receivable, or the cash application module of your ERP. **When is it sent?** After each deposit. Banks often run several deposit cycles a day, and you may receive an 823 for each, or one per day. **Why does it matter?** The 823 is what turns a deposit into applied cash. Every check the 823 does not tie to an invoice stays unapplied, and every short-pay it reports has to be researched. ## How a Wholesale Lockbox Works A lockbox is a payment collection service. Customers send payments to a post office box the bank controls instead of to your office. 1. **Mail pickup.** The bank collects mail from the lockbox address several times a day. 2. **Open and image.** Staff or machines open each envelope, image the check and the remittance documents, and record the postmark date where your agreement asks for it. 3. **Capture.** The bank reads the check's MICR line (routing number, account number, check number) and keys or scans the remittance data: invoice numbers and amounts from stubs, letters or attached statements. 4. **Batch and deposit.** Checks are grouped into batches, and batches into a deposit credited to your account the same day. 5. **Transmit.** The bank builds an 823 per deposit or per day and sends it to you, typically with images available in its portal. 6. **Apply.** Your system reads the 823 and matches each check to open invoices. There are two flavors. **Wholesale lockbox** handles business-to-business payments: fewer, larger checks with varied remittance documents. **Retail lockbox** handles high volumes of consumer payments with a standard scannable coupon. The 823 serves both, but wholesale is where most supply chain companies meet it. Healthcare lockboxes are different again: many banks convert paper explanation-of-benefits documents into an [835 Health Care Claim Payment/Advice](/guides/edi/835-health-care-claim-payment-advice) instead. ## Interactive Example: Lockbox Deposit With Three Checks A camping-gear supplier's lockbox receives three customer checks on November 6. The bank deposits them as one deposit (`DEP`) of $14,327.50 (`AMT` `3`), in one batch (`QTY` `41`) of three checks (`QTY` `42`). Each check is a `BPR` with the drawer's bank routing and account number, followed by its check number (`REF` `CK`), postmark date (`DTM` `108`) and the invoices it pays (`RMR`). The first check pays two invoices. The third pays $2,000.00 against a $2,450.00 invoice, a $450.00 short-pay with no explanation on the stub. Use the **Plain English** tab for a readable summary, or click any segment to break it down element by element. The arithmetic your cash application should check: $8,240.00 + $4,087.50 + $2,000.00 = $14,327.50, which equals both the batch total and the deposit total. The first check's two invoices ($5,000.00 + $3,240.00) equal its $8,240.00. ## 823 Structure at a Glance | Area | Segment | Name | Usage | Notes | |---|---|---|---|---| | Heading | **ST** | Transaction Set Header | Mandatory | `ST01` = `823` | | Heading, N1 loop | **N1** / N2 / N3 / N4 / REF / PER | Name | Mandatory, up to 2 | The lockbox bank (`BK`), and optionally the company that owns the lockbox (`PE`) | | Heading | **TRN** / **DTM** | Trace, Date/Time | Optional | Some banks add a file trace and creation date | | DEP loop | **DEP** | Deposit | Mandatory, repeats | Lockbox number, deposit date, deposit number, bank and account | | DEP loop | **AMT** | Monetary Amount | Mandatory | Deposit total | | DEP loop | **QTY** | Quantity | Mandatory, up to 2 | Number of batches, number of checks | | DEP loop | **REF** / **DTM** | Reference, Date/Time | Optional | Deposit references and dates | | BAT loop | **BAT** | Batch | Optional, repeats | Batch date and number | | BAT loop | **AMT** | Monetary Amount | Optional | Batch total | | BPR loop | **BPR** | Beginning Segment for Payment Order/Remittance Advice | Repeats | One per check or payment | | BPR loop | **REF** | Reference Identification | Optional | Check number, and other references such as a scan line | | BPR loop | **DTM** | Date/Time Reference | Optional | Postmark, check date or receipt date | | BPR, N1 loop | **N1** | Name | Optional | The remitter, where the bank captures it | | BPR, RMR loop | **RMR** | Remittance Advice Accounts Receivable Open Item Reference | Optional, repeats | One per invoice or open item paid | | Trailer | **SE** | Transaction Set Trailer | Mandatory | Segment count and control number | The X12 structure also allows adjustments, line-item detail and other loops under each payment. Most banks send only the core shown here; check your bank's specification before you build for the rest. ## Key Segments Explained ### N1: Lockbox Bank and Payee ``` N1*BK*FIRST LAKESHORE BANK*13*999000013~ N1*PE*CEDAR PEAK OUTDOOR CO~ ``` The heading `N1` loop identifies the lockbox's depository bank (`BK`), commonly by Federal Reserve routing number with qualifier `13`. A second `N1` with `PE` (payee) can name the company that owns the lockbox. ### DEP: Deposit ``` DEP*40217*20261106*1030*D1106-01*01*999000013*DA*48120017755~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **DEP01** | Reference Identification | `40217` | The lockbox number | | **DEP02** | Date | `20261106` | The deposit date | | **DEP03** | Time | `1030` | The deposit time, when sent | | **DEP04** | Reference Identification | `D1106-01` | The deposit number | | **DEP05** | (DFI) ID Number Qualifier | `01` | `01` = ABA routing number | | **DEP06** | (DFI) Identification Number | `999000013` | The depository bank's routing number | | **DEP07** | Account Number Qualifier | `DA` | `DA` = demand deposit account | | **DEP08** | Account Number | `48120017755` | The account the deposit was credited to | `DEP04` is what you match to the credit on your bank statement or BAI2 file. Two 823s on the same day with the same lockbox number are normal when the bank runs several deposit cycles; they are told apart by the deposit number. ### AMT and QTY: Deposit Totals ``` AMT*3*14327.50~ QTY*41*1~ QTY*42*3~ ``` In the DEP loop, `AMT01` = `3` marks the deposit total, `QTY01` = `41` the number of batches and `QTY01` = `42` the number of checks. Reconcile all three before posting: the sum of the `BPR02` amounts must equal the deposit total, and the count of `BPR` segments must equal the check count. A mismatch means the file is incomplete or a check was keyed twice. ### BAT: Batch ``` BAT*20261106**001~ AMT*2*14327.50~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **BAT01** | Date | `20261106` | The batch date | | **BAT02** | Time | | Optional batch time | | **BAT03** | Reference Identification | `001` | The batch number | | **BAT04** | Batch Type Code | | The batch's status, where the bank sends it | At least one of `BAT01` or `BAT03` is required. The `AMT` with qualifier `2` that follows is the batch total. ### BPR: The Check ``` BPR*I*8240.00*C*CHK*PBC*01*999000026*DA*7730041185~ ``` The 823 reuses the `BPR` segment from the [820](/guides/edi/820-payment-order), but here it describes a check the bank received, not a payment instruction. | Element | Name | Example | What it means | |---|---|---|---| | **BPR01** | Transaction Handling Code | `I` | `I` = remittance information only. The money is already in the deposit | | **BPR02** | Monetary Amount | `8240.00` | The check amount | | **BPR03** | Credit/Debit Flag Code | `C` | Credit | | **BPR04** | Payment Method Code | `CHK` | Check | | **BPR05** | Payment Format Code | `PBC` | Commercial/corporate check | | **BPR06** | (DFI) ID Number Qualifier | `01` | ABA routing number | | **BPR07** | (DFI) Identification Number | `999000026` | The routing number of the bank the check is drawn on, from the MICR line | | **BPR08** | Account Number Qualifier | `DA` | Demand deposit account | | **BPR09** | Account Number | `7730041185` | The drawer's account number, from the MICR line | The routing and account pair in `BPR07` and `BPR09` is the most reliable way to identify who paid, more reliable than the name on the check. Many cash application systems keep a table of MICR pairs per customer and learn new ones as AR confirms them. ### REF and DTM: Check References ``` REF*CK*104552~ DTM*108*20261103~ ``` `REF` with `CK` carries the check number. Banks may add other `REF` qualifiers for a batch number, a payee code or the scan line from a remittance coupon. `DTM` with `108` is the postmark date; banks may also send the check date or the date the lockbox received the item. Postmark dates matter when a customer takes an early-payment discount: they show whether the payment was sent in time. ### RMR: The Invoices Paid ``` RMR*IV*INV-50190**2000.00*2450.00~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **RMR01** | Reference Identification Qualifier | `IV` | `IV` = seller's invoice number | | **RMR02** | Reference Identification | `INV-50190` | The invoice number, as captured from the remittance | | **RMR03** | Payment Action Code | | Optional instruction for how to apply the item | | **RMR04** | Monetary Amount | `2000.00` | The amount applied to this item | | **RMR05** | Monetary Amount | `2450.00` | The invoice amount, where the remittance shows it | An `RMR` with an invoice number pays that open item. An `RMR` with only an amount is a payment on account. A check with no `RMR` at all means the bank found no remittance data, and the cash sits unapplied until someone looks at the image. The lockbox reports what the stub said, nothing more. It does not know why a customer paid $2,000.00 on a $2,450.00 invoice. If your customer sends an [820](/guides/edi/820-payment-order) or emails a remittance with `ADX`-style reasons, that is where the explanation lives. ## Applying Cash From an 823 A practical matching order: 1. **Reconcile the file.** Sum of checks equals batch totals equals deposit total; check count equals `QTY` `42`. Match `DEP04` and the total to the bank credit. 2. **Identify the customer.** Use the `BPR07`/`BPR09` MICR pair first, then any remitter name, then the invoice numbers themselves. 3. **Match invoices exactly.** Look up each `RMR02` among that customer's open items. Normalize prefixes and leading zeros, because keyed or scanned stubs drop them. 4. **Match on amount when references fail.** A check that equals one open invoice, or an exact combination of open invoices, can be applied with review. 5. **Handle differences.** Short-pays become deductions to research. Overpayments become credits on account. Discounts taken late are deductions too. 6. **Route the rest.** Anything unmatched goes to a queue with the check image link, ordered by amount. The free [remittance reader](/tools/edi-remittance-reader) decodes 820 remittances and their deduction codes if your customers send them alongside their lockbox payments. ## EDI 823 vs 820, 835, 822 and BAI2 | Document | Sent by | What it reports | |---|---|---| | **823 Lockbox** | Your lockbox bank | Checks received in your lockbox and the open items each one pays | | **[820 Payment Order/Remittance Advice](/guides/edi/820-payment-order)** | Your customer, or its bank | What an electronic payment covers, with deduction reasons | | **[835 Health Care Claim Payment/Advice](/guides/edi/835-health-care-claim-payment-advice)** | A health plan | Claim payments and adjustments, including paper EOBs a healthcare lockbox converts | | **[822 Account Analysis](/guides/edi/822-account-analysis)** | Your bank | What the bank charged for services, including lockbox items | | **BAI2 file** | Your bank | Daily balances and transactions, including the lockbox deposit credit | The 823 and 820 do the same job for different payment types. Checks mailed to a lockbox produce an 823 from your bank. Electronic payments with remittance produce an 820 from your customer, or ACH addenda your bank reports. Most AR teams need to apply cash from both. ## Common 823 Errors and How to Prevent Them | Error | What happens | Prevention | |---|---|---| | **Check totals do not equal the deposit `AMT`** | Cash posted does not match the bank credit | Reconcile every file before posting, and reject partial files | | **Invoice number keyed wrong or truncated** | Check sits unapplied | Fuzzy-match on prefixes and leading zeros, then fall back to amount | | **Unknown MICR routing and account** | Payer not identified | Keep a per-customer MICR table and add confirmed pairs | | **Check with no `RMR`** | Payment on account, or no stub at all | Route to the image queue; ask repeat offenders to include remittance | | **Duplicate file** | Cash applied twice | Store lockbox, deposit number and date, and block repeats | | **Short-pay treated as paid in full** | Deduction never researched | Compare `RMR04` to the open balance, not just to `RMR05` | | **Several deposit cycles in one day** | Second file overwrites the first | Key on `DEP04`, not just the lockbox and date | | **Late discount accepted** | Lost margin | Compare the discount taken with the `DTM` postmark date and your terms | ## 823 Implementation Checklist - Get your bank's lockbox file specification and confirm it offers the 823 (some banks default to BAI or a fixed-width file) - Confirm the version (004010 is common), delivery channel and cut-off times for each deposit cycle - Confirm which `REF` and `DTM` qualifiers the bank sends, and whether it captures invoice amounts in `RMR05` - Decide what the bank should key from stubs, and agree on handling for checks with no stub - Build the file reconciliation: checks to batch to deposit to bank credit - Load customer MICR pairs and build the invoice matching rules - Send a [997](/guides/edi/997-functional-acknowledgment) if the bank asks for one - Test with a clean deposit, a short-pay, a payment on account, a check with no remittance, and a multi-batch deposit ## Where OrderSync Fits OrderSync works at the front of the order-to-cash cycle. A wrong price, item or unit on an order becomes a wrong invoice, and a wrong invoice becomes a lockbox short-pay. OrderSync reads inbound orders in any format, from EDI 850s and 875s to emails, PDFs and spreadsheets, matches customers, items and units to your catalog, and outputs valid X12 or clean data for your ERP. To read an 823, paste it into the [free EDI inspector](/edi-inspector) to see every DEP, BPR and RMR segment labelled, with a plain-English summary of each check and the invoices it pays. See our guide to [order-to-cash automation](/blog/order-to-cash-automation) for the wider cycle, or [book a 15-minute walkthrough](/book-call) to see your own orders processed. ## Frequently Asked Questions
### What is an EDI 823 lockbox file? The EDI 823 is the X12 file a bank sends to report payments received in a company's lockbox. It lists each deposit with its total, each batch, each check with its amount and MICR details, and the invoices each check pays, so the company can apply cash automatically. ### What is the difference between an EDI 823 and an EDI 820? The 823 comes from your bank and reports checks your customers mailed to your lockbox. The 820 comes from a customer, or its bank, and describes what an electronic payment covers, often with deduction reason codes. Both feed cash application. ### What does the DEP segment contain in an 823? DEP identifies one deposit: DEP01 is the lockbox number, DEP02 the deposit date, DEP03 an optional time, DEP04 the deposit number, DEP05 and DEP06 the depository bank's routing number, and DEP07 and DEP08 the account credited. ### Why is BPR used in an 823? The 823 reuses the BPR segment from the 820 to describe each check the bank received: the amount, the payment method (CHK), and the routing and account number of the bank it is drawn on, read from the MICR line. BPR01 is usually I, remittance information only. ### What is a wholesale lockbox? A wholesale lockbox is a bank service for business-to-business payments. Customers mail checks to a post office box the bank controls. The bank opens, images, deposits and reports them, typically the same day, so the payee receives the cash and the remittance data faster than through its own mailroom. ### What happens to a check with no remittance in an 823? It arrives as a BPR with no RMR segments, or with an RMR that has only an amount. That means the bank found no invoice reference. The payment is unapplied cash until someone reviews the check image and remittance documents and assigns it. ### Does every bank send lockbox data as an EDI 823? No. Many banks offer lockbox data in several formats: the X12 823, BAI files, or their own fixed-width layouts, plus images in a web portal. Ask your bank which formats it supports and what each one includes before choosing.
--- # EDI 824 Application Advice: Errors and Example Source: https://ordersync.io/guides/edi/824-application-advice > What an EDI 824 application advice tells you: OTI and TED segments, real error codes, live 810 rejection and 856 examples, 824 vs 997 and 999, and how to fix 824 errors. The EDI 824 Application Advice is the X12 transaction a trading partner sends to report whether a document it already received, such as an 810 invoice or 856 ship notice, was accepted, accepted with errors, or rejected by its business application. OTI identifies the original document and TED gives each error code and location. **The EDI 824 is the rejection that arrives after the 997 said everything was fine.** Your invoice passed the syntax check, the acknowledgment came back accepted, and two days later an 824 says the PO number does not exist or the price does not match the order. Until someone fixes and resends it, that invoice is not getting paid. This guide covers what the 824 reports, how it differs from the 997 and 999, every segment you will read, two live examples (a rejected invoice and an ASN accepted with an error), the real X12 error codes, and a process for clearing 824s before they turn into late payments. ## What Is an EDI 824? **An EDI 824 is the Application Advice transaction set defined by the [ASC X12 standards body](https://x12.org/products/transaction-sets), used to report the results of an application system's data content edits on a document it received: accepted, accepted with errors, or rejected.** It travels in functional group `AG` (the `GS01` value), and it can report on any transaction set, though most suppliers meet it against invoices and ship notices. Authoritative references for 824 work: - The [X12 transaction set catalog](https://x12.org/products/transaction-sets) defines the 824, and the [Stedi X12 004010 824 reference](https://www.stedi.com/edi/x12-004010/824) lays out the BGN, OTI, TED and NTE structure used in this guide - The [X12 element 647 code list](https://www.stedi.com/edi/x12-004010/element/647) (Application Error Condition Code) is the source for the `TED01` error codes. Each partner's implementation guide says which ones it uses - Each retailer publishes its own 824 implementation guide, which sets the documents it reports on, the error codes it sends, and whether it sends acceptances or only rejections **Who sends it?** Whoever received the original document and ran it through their application: usually a retailer reporting on your 810s and 856s, but a supplier can send one back about a buyer's 850 or 820. **When is it sent?** After the document has been processed, which can be minutes or days after the 997. **Why does it matter?** A rejected invoice is an invoice that does not exist in the payer's system. Its payment terms do not start until a corrected one is accepted. ## 824 vs 997 and 999: Which Check Failed? | | 997 / 999 | 824 Application Advice | |---|---|---| | **Checks** | Syntax and structure against the X12 standard (997) or the implementation guide (999) | Business content against the partner's own data | | **Timing** | Shortly after receipt | After the document is processed | | **Example error** | Required segment missing, element too long | PO number not found, unit price does not match the order | | **Scope** | Functional group and transaction set | One document, down to a single element | | **What to fix** | Your map or translator | Your data | A clean [997](/guides/edi/997-functional-acknowledgment) or [999](/guides/edi/999-implementation-acknowledgment) only means the file was well formed. A typical sequence on an invoice looks like this: 1. You send an 810 invoice 2. The partner returns a 997 with `AK5*A` (accepted) 3. The partner's AP system checks the invoice against its PO and receipt 4. The partner sends an 824 with `OTI01` `TR` (rejected) If you only ever get a 997 rejection, the problem is structural. If you get an accepted 997 followed by an 824, the structure is fine and the data is wrong. ## Interactive Example: 824 Rejecting an 810 Invoice A retailer rejects invoice `INV-50188`. The `OTI` identifies the original document precisely: invoice number, sender and receiver codes, the date and time it was sent, its group and transaction control numbers, and the transaction set (`810`). Two `TED` loops give the errors: `POI` (purchase order number invalid) pointing at `BIG04`, and `UNP` (invalid unit price) pointing at `IT104` in the tenth segment of the original, each with a copy of the bad value and a note. Use the **Plain English** tab for a readable summary, or click any segment to break it down element by element. ## Interactive Example: 824 Accepting an ASN With an Error Not every 824 is a rejection. Here the retailer accepted ship notice `SH-771205` (`OTI01` `TE`, accepted with error) but reports that one carton's `MAN` segment had no SSCC, so the DC had to receive it by hand. Nothing needs resending, but the same gap on the next shipment may be treated more harshly under the retailer's compliance program. ## 824 Structure at a Glance | Area | Segment | Name | Usage | Notes | |---|---|---|---|---| | Header | **ST** | Transaction Set Header | Mandatory | `ST01` = `824` | | Header | **BGN** | Beginning Segment | Mandatory | The 824's own reference number and date | | Header N1 loop | **N1** to **PER** | Name, address, contact | Optional | The parties, often by vendor number | | Detail OTI loop | **OTI** | Original Transaction Identification | Mandatory, repeats | One per document being reported on | | OTI loop | **REF** | Reference Identification | Optional | Related references such as the PO number | | OTI loop | **DTM** | Date/Time Reference | Optional | Dates from the original document | | OTI loop | **PER** | Contact | Optional | Who to call about it | | OTI loop | **AMT**, **QTY** | Amount, quantity | Optional | Totals from the original document | | OTI loop | **NM1** | Name | Optional | Additional parties | | TED loop | **TED** | Technical Error Description | Optional, repeats | One per error | | TED loop | **NTE** | Note/Special Instruction | Optional | Free-text explanation of that error | | TED loop | **RED** | Related Data | Optional | Related data values | | OTI loop | **LM**, **LQ** | Code source, industry code | Optional | Error codes from a non-X12 code list | | Summary | **SE** | Transaction Set Trailer | Mandatory | Segment count and control number | One 824 can report on many documents: each `OTI` loop is one original document, with its own errors underneath. ## Key Segments Explained ### BGN: Beginning Segment ``` BGN*00*AA-20261104-0007*20261104*0815~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **BGN01** | Transaction Set Purpose Code | `00` | Original | | **BGN02** | Reference Identification | `AA-20261104-0007` | The 824's own number. Quote it when you contact the partner | | **BGN03** | Date | `20261104` | Date the advice was created | | **BGN04** | Time | `0815` | Time it was created | ### OTI: Original Transaction Identification `OTI` is the most important segment. It says which document is being reported on, and what happened to it. ``` OTI*TR*IV*INV-50188*CEDARPEAK*NORTHGATE*20261103*1642*5012*0001*810~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **OTI01** | Application Acknowledgment Code | `TR` | The verdict (see the table below) | | **OTI02** | Reference Identification Qualifier | `IV` | What `OTI03` is: `IV` seller's invoice number, `PO` purchase order, `SI` shipper's identifying number for the shipment, `BM` bill of lading | | **OTI03** | Reference Identification | `INV-50188` | The business number of the original document | | **OTI04** | Application Sender's Code | `CEDARPEAK` | The sender code from the original's `GS02` | | **OTI05** | Application Receiver's Code | `NORTHGATE` | The receiver code from the original's `GS03` | | **OTI06** | Date | `20261103` | Date of the original group | | **OTI07** | Time | `1642` | Time of the original group | | **OTI08** | Group Control Number | `5012` | The original's `GS06` | | **OTI09** | Transaction Set Control Number | `0001` | The original's `ST02` | | **OTI10** | Transaction Set Identifier Code | `810` | The original transaction set | | **OTI11** | Version/Release/Industry Identifier Code | | The original's version, where sent | The `OTI01` codes for transaction sets: | Code | Meaning | What to do | |---|---|---| | `TA` | Transaction set accept | Nothing. Some partners send these for every document | | `TC` | Transaction set accept with data content change | Check what the partner changed; post the change to your records | | `TE` | Transaction set accept with error | Fix the cause before the next document; no resend needed unless the partner asks | | `TP` | Transaction set partial accept/reject | Find which part was rejected and resend or correct it | | `TR` | Transaction set reject | Fix and resend. The document does not exist on the partner's side | The same element has matching codes at other levels: `IA`, `IE`, `IR` for single items, `BA` to `BR` for batches, and `GA` to `GR` for functional groups. Use `OTI08` and `OTI09` to find the exact original in your outbound archive, since invoice numbers can be reused across corrected resends. ### TED: Technical Error Description Each `TED` is one error. ``` TED*POI*PO NUMBER NOT FOUND*BIG*2*4*324*NG-4500817~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **TED01** | Application Error Condition Code | `POI` | The error code, from X12 element 647 | | **TED02** | Free Form Message | `PO NUMBER NOT FOUND` | Short text | | **TED03** | Segment ID Code | `BIG` | The segment in the original where the error is | | **TED04** | Segment Position in Transaction Set | `2` | Its position, counting `ST` as 1 | | **TED05** | Element Position in Segment | `4` | The element, here `BIG04` | | **TED06** | Data Element Reference Number | `324` | The X12 element number (324 is the purchase order number) | | **TED07** | Copy of Bad Data Element | `NG-4500817` | The value you sent | | **TED08** | Data Element New Content | | The value the partner expected or substituted, where it says | `TED03` to `TED07` are optional, and many partners send only `TED01` and `TED02`. When they are present, they take you straight to the bad value. Codes from the X12 element 647 list that suppliers commonly see: | Code | Meaning | |---|---| | `006` | Duplicate | | `007` | Missing data | | `008` | Out of range | | `009` | Invalid date | | `010` | Total out of balance | | `011` | Not matching | | `012` | Invalid combination | | `024` | Other unlisted reason | | `848` | Incorrect data | | `DUP` | Duplicate transaction | | `IID` | Invalid identification code | | `IQT` | Invalid quantity | | `MB` | Missing or invalid purchase order number | | `POI` | Purchase order number invalid | | `UNP` | Invalid unit price | | `ZZZ` | Mutually defined | The full list has well over a hundred codes, and partners pick different codes for the same problem. Read `TED02` and the `NTE` before building an automatic rule on a code alone. ### NTE: Note/Special Instruction ``` NTE**PO NG-4500817 DOES NOT MATCH AN OPEN ORDER FOR VENDOR V-44710~ ``` `NTE02` is free text, up to 80 characters, that explains the error above it. It is often the most useful line in the 824: retailers spell out what they expected and what they received. `NTE01` is an optional note code that many partners leave empty. ## Common 824 Rejections and Their Fixes | What the 824 says | Usual cause | Fix | |---|---|---| | **PO number not found** (`POI`, `MB`) | PO keyed wrong on the order, or invoice built against a cancelled or changed PO | Correct the PO reference in your ERP and resend; check the original [850](/guides/edi/850-purchase-order) and any [860](/guides/edi/860-purchase-order-change) | | **Invalid unit price** (`UNP`, `011`) | Invoice price differs from the PO price | Bill at the PO price, or get a PO change before invoicing | | **Invalid quantity** (`IQT`) | Invoiced more than ordered or received | Invoice what shipped, matching the [856](/guides/edi/856-ship-notice) | | **Duplicate** (`006`, `DUP`) | Same invoice number sent twice | Use a new number for a genuinely new invoice; do not resend a paid one | | **Invalid identification code** (`IID`) | Unknown UPC, item number or location code | Confirm item setup and the store or DC code with the buyer | | **Total out of balance** (`010`) | `TDS` does not equal the lines plus charges | Calculate totals from the lines, never key them | | **Missing data** (`007`) | A field the partner requires is absent | Add it to your map; the 997 will not catch partner-specific requirements | ## When Should an 824 Be Generated? Send an 824 when a document parsed cleanly but your application could not accept its content. That applies in both directions. A supplier receiving an [820 remittance advice](/guides/edi/820-payment-order) might send one when: - RMR segments reference invoices that do not exist in your accounts receivable ledger - The RMR amounts do not add up to the `BPR02` payment - The 820 repeats a `TRN` trace number you have already applied Do not send an 824 for a syntax problem; that is what the 997 or 999 is for. The usual sequence is a 997 first, then an 824 only if the application later rejects the content. Agree with each partner whether it wants 824s from you at all: plenty of retailers send them but do not accept them. ## 824 vs 864 Text Message and EDIFACT APERAK | Document | Standard | How it reports a problem | |---|---|---| | **824 Application Advice** | X12 | Coded status in `OTI01`, coded errors in `TED`, tied to a specific document | | **[864 Text Message](/guides/edi/864-text-message)** | X12 | Free text for a person to read, with no coded link to the document | | **[APERAK](/guides/edi/edifact-aperak)** | EDIFACT | The EDIFACT equivalent of the 824, sent by the receiving application | An 824 can be routed and tracked automatically. An 864 has to be read. If a partner rejects documents by 864, someone has to match each message to the document by hand. ## How to Work an 824 Queue 1. **Find the original.** Use `OTI08`, `OTI09` and `OTI10` to pull the exact document from your outbound archive. 2. **Read every TED.** One 824 can carry several errors. Fixing the first and resending usually earns a second rejection. 3. **Fix the data at the source.** Correct the ERP record, not just the outbound file, or the next document repeats the error. 4. **Resend as the partner requires.** Some want the same invoice number, some a new one. The partner's guide says which. 5. **Track by code and partner.** The same `TED01` from the same partner every week is a mapping or master data problem. Paste an 824 into the free [EDI rejection explainer](/tools/edi-rejection-explainer) to decode the OTI and TED codes, then open your original document in the [EDI inspector](/edi-inspector) to find the segment the error points to. ## 824 Implementation Checklist - Get each partner's 824 guide and the list of documents it reports on - Confirm whether it sends acceptances (`TA`) or only errors - Map `OTI01` to an action: close, review, or fix and resend - Keep an outbound archive searchable by group and transaction control number - Route errors by type: PO and item errors to order management, price errors to pricing, structural errors to the EDI team - Alert on `TR` and `TP` the same day; invoices sit unpaid until resolved - Send a [997](/guides/edi/997-functional-acknowledgment) or 999 for each 824 received - Review recurring codes monthly and fix the root cause ## Where OrderSync Fits Most 824s on invoices trace back to the order: a PO number keyed with a typo, a price taken from the wrong list, an item matched to the wrong SKU. OrderSync reads inbound orders in any format, from EDI 850s and 875s to emails, PDFs and spreadsheets, matches customers, items and units to your catalog, and outputs valid X12 or clean ERP data, so the invoice built from that order carries the right references. To read an 824 you have now, paste it into the [free EDI inspector](/edi-inspector) or the [rejection explainer](/tools/edi-rejection-explainer), see our [EDI compliance guide](/edi-compliance) for the wider picture, or [book a 15-minute walkthrough](/book) to see your own orders processed. ## Frequently Asked Questions
### What is an EDI 824 used for? The 824 Application Advice reports the result of a partner's business checks on a document you sent, such as an 810 invoice or 856 ship notice. It says whether the document was accepted, accepted with errors, or rejected, and lists each error with a code and, often, its exact segment and element. ### What is the difference between an EDI 824 and a 997? The 997 confirms that a file was structurally valid X12. The 824 reports whether the content passed the partner's business rules, such as a valid PO number and matching prices. You can receive an accepted 997 and still get an 824 rejection for the same document. ### What does OTI01 TR mean in an 824? TR means Transaction Set Reject: the partner's application rejected the whole document, so it does not exist on their side. TE means accepted with error, TP partially accepted, TC accepted with changes, and TA accepted. ### What is TED01 in an EDI 824? TED01 is the Application Error Condition Code, X12 element 647. It classifies the error, for example 006 duplicate, 007 missing data, POI purchase order number invalid, or UNP invalid unit price. TED02 adds free text, and TED03 to TED07 can point to the exact segment, element and bad value. ### How quickly should I respond to an 824? As quickly as the partner's guide requires. There is no X12 deadline, but a rejected invoice does not start its payment terms until a corrected one is accepted, so most suppliers work rejections within a business day or two. ### Do I need to send a 997 for an 824 I receive? Usually yes. The 824 is a transaction set like any other, so your system acknowledges it with a 997 or 999 as agreed with the partner. ### Can a supplier send an 824? Yes. Any receiver can send an 824 about a document it could not accept, such as a buyer's 850 with an unknown item or an 820 that references invoices you do not have. Agree with the partner first, since not every buyer accepts inbound 824s.
--- # EDI 830 Planning Schedule: Forecasts and Example Source: https://ordersync.io/guides/edi/830-planning-schedule > How the EDI 830 planning schedule works: firm vs planning FST codes, BFR, ATH, SDP and SHP segments, a live example, 830 vs 862, and common errors. The EDI 830 Planning Schedule with Release Capability is the X12 transaction a manufacturer sends a supplier to share demand over time against a blanket agreement. Each dated quantity is flagged firm, meaning release it, or planning, meaning forecast only. It can also authorize the supplier to commit material and labor ahead of firm releases. **The EDI 830 Planning Schedule is how manufacturers tell their suppliers what to build and when, across weeks or months, against a single [blanket purchase order](/blog/blanket-purchase-order).** Instead of cutting a fresh 850 for every shipment, the buyer sends a rolling 830 that carries both firm release quantities and forward-looking forecast. Reading it correctly is the difference between shipping on time and either sitting on dead inventory or missing a line-down deadline. For how the 830 splits planning from firm ship instructions, see [EDI 830 vs 862](/blog/edi-830-vs-862). This guide covers what the 830 contains, how to tell forecast from firm, a live example you can open segment by segment, every segment you will map (BFR, LIN, ATH, SDP, FST, SHP), how the 830 relates to the 862 and 866, and the mistakes that lead to over-build or missed shipments. ## What Is an EDI 830? **An EDI 830 is the Planning Schedule with Release Capability transaction set defined by the [ASC X12 standards body](https://x12.org/products/transaction-sets), used by a buyer to send a supplier forecast and release information for materials over a defined horizon.** The X12 definition allows three uses: a plain forecast, a forecast that also authorizes the supplier to commit labor or material, and an order release mechanism that replaces separate purchase orders. It is most common in manufacturing supply chains, where an OEM issues a blanket PO and then drives shipments through successive planning schedules. Authoritative references for 830 work: - The [X12 transaction set catalog](https://x12.org/products/transaction-sets) lists the 830 with the 862 and 866 schedules it works alongside - The [Stedi X12 004010 reference for the 830](https://www.stedi.com/edi/x12-004010/830) shows the segment order and loops, and its [FST segment page](https://www.stedi.com/edi/x12-004010/segment/FST) lists the forecast qualifier and timing codes - The [EDI Academy 830 and 862 reference](https://ediacademy.com/blog/830-and-862-edi-transactions/) explains how the 830 carries forecast and release information and how the 862 supplements it - Each OEM publishes its own 830 implementation guide, which sets the horizon, cadence, codes and cumulative rules it uses **Who sends it?** The buyer (an OEM, assembler, or other manufacturer) sends the 830 to its supplier or contract manufacturer. **When is it sent?** On a regular cadence, often weekly and sometimes daily, usually straight out of the buyer's MRP run. Whether a new 830 replaces the previous one or only changes part of it depends on its purpose code in BFR01. **Why does it matter?** The 830 is the demand signal that drives production planning and raw-material purchasing on the supplier side. Misreading a forecast bucket as a firm release, or the reverse, leads directly to over-build, stockouts or premium freight. ## Forecast vs Firm: the Distinction That Matters Every FST bucket in an 830 carries a forecast qualifier in FST02, and the whole point of the document is to separate the two main kinds: - **Firm (`C`)** quantities are committed releases. The supplier should produce and ship them to the dated requirement. - **Planning (`D`)** quantities are a heads-up so the supplier can buy material and reserve capacity. They are not authorized to ship and can change in the next schedule. Between the two sits the ATH segment, which tells you how far the buyer will pay for work in progress if the forecast changes: finished goods up to one date, raw material up to a later one. When an 830 is used as the release mechanism against a blanket PO, its firm buckets replace discrete 850s entirely. ## Interactive Example: OEM Planning Schedule (830, BFR01 05) An assembly plant sends a replacement schedule (`BFR01` `05`) for one molded part against blanket PO `4500188421`. Dates are delivery dates (`DL`) and quantities are discrete (`A`). Three weekly buckets of 2,000 are firm (`C`). Two weekly buckets of 1,500 and one monthly bucket of 6,000 are planning (`D`). `ATH` authorizes finished goods through November 23 and raw material through December 7, and `SHP` reports the last receipt and the cumulative received since January 5. `CTT` closes with one line item and a hash total of 15,000. Use the **Plain English** tab for a readable summary, or click any segment to break it down element by element. ## 830 Structure at a Glance | Area | Segment | Name | Usage | Notes | |---|---|---|---|---| | Header | **ST** | Transaction Set Header | Mandatory | `ST01` = `830` | | Header | **BFR** | Beginning Segment for Planning Schedule | Mandatory | Purpose, schedule ID, date and quantity type, horizon | | Header | **REF**, **PER**, **DTM** | References, contact, dates | Optional | Header-level details | | Header N1 loop | **N1** to **N4** | Party identification | Optional | Issuer (`MI`), supplier (`SU`), ship-to (`ST`) | | LIN loop | **LIN** | Item Identification | Mandatory, repeats | Buyer part (`BP`), vendor part (`VP`), other IDs | | LIN loop | **UIT** | Unit Detail | Optional | Unit of measure, and price where sent | | LIN loop | **PRS** | Part Release Status | Optional | Model-year and part status flags | | LIN loop | **REF**, **PER** | References, contact | Optional | Often the scheduler or material planner | | LIN loop | **ATH** | Resource Authorization | Optional, up to 20 | Fabrication and material authorizations | | LIN loop | **N1** loop | Item-level parties | Optional | Ship-to by item, when it differs | | FST loop | **FST** | Forecast Schedule | Repeats | Quantity, firm or planning, bucket type, date | | SDP loop | **SDP** + **FST** | Ship/Delivery Pattern | Repeats | Day and time pattern, with its FST buckets | | SHP loop | **SHP** | Shipped/Received Information | Optional, up to 25 | Last receipt and cumulative quantities | | Summary | **CTT** | Transaction Totals | Optional | Number of LIN segments, and optionally the sum of FST01 | | Summary | **SE** | Transaction Set Trailer | Mandatory | Segment count and control number | For each item, the FST buckets go either directly in the FST loop or inside SDP loops, not both. Your partner's guide says which it uses. ## Key Segments Explained ### BFR: Beginning Segment for Planning Schedule BFR sets the purpose of the schedule, whether dates mean delivery or shipment, whether quantities are discrete or cumulative, and the window the schedule covers. ``` BFR*05*SCH-2026-W45**DL*A*20261109*20270503*20261105***4500188421~ ``` | Element | Name | Req | Example | Meaning | |---|---|---|---|---| | **BFR01** | Transaction Set Purpose Code | M | `05` | Replace (see below) | | **BFR02** | Reference Identification | C | `SCH-2026-W45` | The buyer's forecast or schedule number | | **BFR03** | Release Number | C | | A release number against a previously placed PO | | **BFR04** | Schedule Type Qualifier | M | `DL` | Dates are delivery based | | **BFR05** | Schedule Quantity Qualifier | M | `A` | Quantities are actual discrete amounts | | **BFR06** | Date | M | `20261109` | Horizon start | | **BFR07** | Date | O | `20270503` | Horizon end | | **BFR08** | Date | M | `20261105` | Date the forecast was generated | | **BFR09** | Date | O | | Net change update date, required when BFR01 is `04` | | **BFR10** | Contract Number | O | | Contract reference | | **BFR11** | Purchase Order Number | O | `4500188421` | The blanket PO | | **BFR12** | Planning Schedule Type Code | O | | Type of planning schedule, where used | At least one of BFR02 and BFR03 must be present. Some buyers put the blanket PO in BFR03 or in a REF segment instead of BFR11, so check your partner's guide before you map it. ### BFR01 Transaction Set Purpose Codes This is the element behind a schedule that arrives and unexpectedly wipes out the previous one. | Code | Meaning | Effect on the prior schedule | |---|---|---| | `00` | Original | First schedule for this horizon | | `01` | Cancellation | Cancels the referenced schedule | | `04` | Change | Net change: modifies only what this transmission contains. BFR09 carries the update date | | `05` | Replace | Supersedes the entire prior schedule for the horizon | | `22` | Information Copy | Informational only | `BFR*05` is the one to watch. Replace means the schedule you just received is now the whole picture for that horizon. Any bucket that existed in the previous 830 and is absent from this one is gone, not unchanged. Treating a `05` as if it were a `04` leaves you building to demand the buyer already deleted. ### BFR04 and BFR05 Qualifiers | Element | Code | Meaning | |---|---|---| | BFR04 | `DL` | Dates are delivery dates | | BFR04 | `SH` | Dates are shipment dates | | BFR04 | `PD`, `PS` | Planned delivery or planned shipment dates | | BFR05 | `A` | Actual discrete quantities | | BFR05 | `C` | Cumulative quantities | | BFR05 | `D` | Net change quantities | | BFR05 | `R` | Replacement quantities | BFR04 decides whether a date in an FST bucket is the day the goods must be on the buyer's dock or the day they must leave yours. Getting it backwards costs you the transit time. BFR05 decides how to read every FST01: a cumulative schedule that is read as discrete inflates demand, because a bucket showing 40,000 means 40,000 to date, not 40,000 more. ### LIN and UIT: The Part ``` LIN**BP*430-00012-A*VP*SHROUD100~ UIT*EA~ ``` LIN identifies the part with qualifier and ID pairs: `BP` is the buyer's part number and `VP` the vendor's. Some OEMs add an engineering change level or a PO line reference here. UIT gives the unit of measure every FST quantity is counted in. ### ATH: Resource Authorization ``` ATH*FI*20261123*47800**20260105~ ATH*MT*20261207*50800**20260105~ ``` | Element | Name | Example | Meaning | |---|---|---|---| | **ATH01** | Resource Authorization Code | `FI` | `FI` finished goods (labor, material and overhead), `MT` material, `LB` labor, `LM` labor and material, `PQ` cumulative quantity required before the first period | | **ATH02** | Date | `20261123` | The authorization runs through this date | | **ATH03** | Quantity | `47800` | Current cumulative requirement covered by the authorization | | **ATH04** | Quantity | | Maximum cumulative requirement, a high-water mark that does not drop when the forecast does | | **ATH05** | Date | `20260105` | The cumulative start date the quantities count from | ATH is the buyer's financial commitment. In the example, the buyer authorizes finished parts up to a cumulative 47,800 through November 23 and raw material up to 50,800 through December 7. The X12 notes for ATH assume buyer and seller have already agreed what that commitment means commercially, so your supply agreement governs what you can recover if demand is cut. For the reconciliation math, see [cumulative quantity and CUM accounting](/blog/cumulative-quantity-cum-accounting). ### SDP: Ship/Delivery Pattern ``` SDP*A*D~ ``` SDP sets a routine pattern for the FST buckets that follow it in the SDP loop. SDP01 is the day pattern (`A` Monday to Friday, `D` Monday, `H` Friday, `N` as directed, `Y` none) and SDP02 the time (`A` first shift, `D` morning, `E` afternoon, `Y` none). The example above reads "Monday to Friday, mornings". Buyers that do not use patterns send FST directly, as in the live example. ### FST: Forecast Schedule FST carries the dated quantity buckets. It is the segment that actually says what to build and when. ``` FST*2000*C*W*20261109~ ``` | Element | Name | Example | Meaning | |---|---|---|---| | **FST01** | Quantity | `2000` | 2,000 units in this bucket | | **FST02** | Forecast Qualifier | `C` | Firm | | **FST03** | Forecast Timing Qualifier | `W` | Weekly bucket, Monday to Sunday | | **FST04** | Date | `20261109` | The bucket date (start of the week here) | | **FST05** | Date | | End date, required for a flexible interval (`F`) | | **FST06**, **FST07** | Date/Time Qualifier, Time | | A specific time for just-in-time needs | | **FST08**, **FST09** | Reference Qualifier, Reference | | A reference for this bucket | ### FST02 Forecast Qualifier Codes This is the firm versus planning flag, and it is the most important code in the document. | Code | Meaning | Authorized to ship? | |---|---|---| | `A` | Immediate | Yes, ship now | | `B` | Pilot or pre-volume | Per the partner's launch process | | `C` | Firm | Yes, a committed release | | `D` | Planning | No, plan material and capacity only | | `H` | First time reported firm | Yes, newly moved into the firm window | | `L` | Engineering change pending | Confirm the revision before you build | | `P` | Prototype | Per the partner's prototype process | | `W` | Cancellation | The quantity is cancelled | | `Z` | Mutually defined | Per the partner's guide | Element 680 has a few more codes for tooling capacity and defense programs. The practical rule: build to `C`, buy long-lead material for `D` within your ATH authorization, and never ship against `D`. If you ship a planning bucket, you have shipped unauthorized inventory. ### FST03 Forecast Timing Qualifier Codes FST03 tells you what span the date in FST04 represents. A quantity of 2,000 against a weekly bucket is a very different instruction from 2,000 on a discrete day. | Code | Meaning | |---|---| | `C` | Daily | | `D` | Discrete, a single date | | `F` | Flexible interval from FST04 to FST05 | | `W` | Weekly, Monday through Sunday | | `X` | Weekly, any 7-day interval | | `T` | Four-week period (13 per year) | | `M` | Monthly, by calendar month | | `Q` | Quarterly, by calendar quarter | | `S` | Semi-annual | | `A` | Annual, by calendar year | | `Z` | Mutually defined | A common 830 shape is daily or weekly buckets for the near term and monthly or quarterly buckets further out, as in the example. ### SHP: Shipped/Received Information ``` SHP*01*1800*050*20261103~ SHP*02*41800*051*20260105**20261103~ ``` | Element | Name | Example | Meaning | |---|---|---|---| | **SHP01** | Quantity Qualifier | `02` | `01` discrete quantity, `02` cumulative quantity | | **SHP02** | Quantity | `41800` | The quantity | | **SHP03** | Date/Time Qualifier | `051` | `050` received, `011` shipped, `051` cumulative start | | **SHP04** | Date | `20260105` | The date, or the cumulative start date | | **SHP06** | Date | `20261103` | Cumulative end date | The first line says the buyer last received 1,800 on November 3. The second says it has received 41,800 cumulative from January 5 to November 3. Compare that with your own shipped cumulative before you trust any firm bucket: if the buyer has not counted a shipment that is in transit, its next schedule will ask for it again. ### CTT: Transaction Totals `CTT*1*15000~` says the 830 has one LIN item and that its FST quantities add up to 15,000. A receiver that checks the hash total catches a dropped or duplicated bucket before it reaches planning. ## How 830 Releases Drive MRP The 830 is normally machine output, not a human document. Understanding where it comes from explains most of its odd behavior. 1. The buyer's MRP run explodes finished-goods demand through the bill of materials down to your part. 2. Netting subtracts on-hand inventory and open receipts, leaving net requirements by date. 3. The planning time fence splits the horizon. Inside the fence, requirements become firm and go out with FST02 of `C`. Outside it, they stay planning and go out as `D`. 4. The result is written to an 830 and transmitted, usually on a fixed weekly cycle. Two consequences follow directly, and both surprise suppliers the first time: **Quantities move week to week even when nothing was ordered.** A forecast bucket is a calculation, not a commitment. If the buyer's own demand or inventory position shifted, your planning buckets shift with it. This is normal, and it is what [demand forecasting](/glossary/demand-forecasting) looks like from the supplier side. **The firm window is the only thing you can plan production against.** Anything outside the planning time fence can and will change. Suppliers who build to `D` buckets to smooth their own capacity carry that risk themselves, beyond whatever ATH covers. ## EDI 830 vs 862, 866 and 850 | | EDI 830 Planning Schedule | [EDI 862 Shipping Schedule](/guides/edi/862-shipping-schedule) | [EDI 866 Production Sequence](/guides/edi/866-production-sequence) | [EDI 850 Purchase Order](/guides/edi/850-purchase-order) | |---|---|---|---|---| | Purpose | Rolling demand plan and releases | Near-term ship or delivery instructions | Order in which parts must arrive for the line | One discrete order | | Horizon | Weeks to months | Days to a few weeks | Hours to days | One order | | Beginning segment | BFR | BSS | BSS | BEG | | Carries forecast? | Yes, firm and planning buckets | Firm requirements; some partners add a short look-ahead | No | No | | Authorizes material or labor? | Yes, through ATH | No | No | The order itself | | Typical cadence | Weekly | Daily, sometimes more often | Per sequence | Per order | | EDIFACT equivalent | DELFOR | DELJIT | Usually DELJIT | ORDERS | A supplier receiving both should treat the 862 as the authority for what leaves the dock this week, and the 830 as the authority for what to buy and staff for. The X12 definition of the 862 says it can supersede certain shipping and delivery information from the 830 but does not replace it and does not authorize labor or material. Not every buyer sends both: many run the 830 alone and rely on its firm buckets. ## Is DELFOR the Same as an 830? Close, but they are different standards. [DELFOR](/guides/edi/edifact-delfor) is the UN/EDIFACT Delivery Schedule message (often called a delivery forecast) and it fills the same role in the EDIFACT world that the 830 fills in X12. If a European OEM asks for DELFOR and your system speaks X12, you need a translation, not a remap of the same file. The same holds across the rest of the cycle, which we map out in [UBL vs X12 vs EDIFACT](/guides/e-invoicing/ubl-vs-x12-vs-edifact). | X12 | EDIFACT | Role | |---|---|---| | 830 | DELFOR | Rolling forecast and planning | | 862 | DELJIT | Near-term firm ship instruction | | 856 | DESADV | Ship notice | | 850 | ORDERS | Discrete purchase order | | 810 | INVOIC | Invoice | DELFOR and [DELJIT](/guides/edi/edifact-deljit) divide the work the same way the 830 and 862 do: DELFOR plans, DELJIT calls off. ## Where the 830 Sits in the Order Lifecycle 1. **Blanket [850 Purchase Order](/guides/edi/850-purchase-order)**: the buyer establishes the agreement, pricing and item list 2. **830 Planning Schedule**: the buyer sends rolling forecast, firm releases and authorizations 3. **[862 Shipping Schedule](/guides/edi/862-shipping-schedule)** (optional): tighter near-term ship instructions 4. **[866 Production Sequence](/guides/edi/866-production-sequence)** (optional): the build order for sequenced parts 5. **[856 Ship Notice/ASN](/guides/edi/856-ship-notice)**: you report each shipment, which updates the buyer's received cumulative 6. **[810 Invoice](/guides/edi/810-invoice)**: you bill against the blanket PO ## Common 830 Errors and How to Prevent Them | Error | What happens | Prevention | |---|---|---| | **Planning buckets (`D`) treated as firm** | Unauthorized inventory the buyer does not have to take | Ship only `C` (and `A`) buckets; buy for `D` only within ATH | | **Replace (`05`) processed as a change (`04`)** | Deleted demand stays in your plan | Clear the horizon for that item and ship-to before loading a `05` | | **Cumulative quantities read as discrete** | Demand inflated many times over | Check BFR05 before reading any FST01 | | **FST03 misread** | A weekly quantity planned as a daily one, or the reverse | Map every timing code your partner uses; reject unknown codes | | **Delivery dates read as ship dates** | Arrivals late by the transit time | Check BFR04 (`DL` vs `SH`) and offset by lane transit time | | **CUM out of sync with the buyer** | Next schedule asks for parts already shipped, or shorts you | Reconcile SHP cumulative against your shipments every schedule | | **Wrong blanket PO on the ASN or invoice** | 856 or 810 rejected | Map the PO from where your partner sends it (BFR11, BFR03 or REF) | | **Schedule not loaded on time** | Planning runs on last week's demand | Alert when an expected weekly 830 has not arrived | ## 830 Implementation Checklist - Get the buyer's 830 guide and confirm the X12 version - Confirm purpose codes in BFR01, and how the buyer uses `04` and `05` - Confirm BFR04 date type and BFR05 quantity type - List the FST02 and FST03 codes it sends, and whether it uses SDP patterns - Confirm the ATH codes it sends and what the supply agreement says they cover - Agree the cumulative start date and how SHP will be reported - Confirm where the blanket PO and release numbers travel, for your 856 and 810 - Test a replace, a change and a cumulative reconciliation before going live - Monitor 997s and alert on missing or late schedules ## Reading 830s With OrderSync Paste any 830 into the [free EDI inspector](/edi-inspector) to see it parsed segment by segment, with a plain-English summary that separates firm from planning quantities and totals each. It explains structural errors too, which helps when a new partner's first files will not load. The orders around your schedules are where OrderSync does its main work. Suppliers who get 830s from one large OEM often get POs from everyone else as 850s, emails, PDFs and spreadsheets. OrderSync reads those in any format, matches customers, items and units to your catalog, and outputs valid X12 or clean data for your ERP. Read more about [EDI for automotive parts suppliers](/edi-for/automotive-parts) and [injection molders](/edi-for/injection-molding), see [EDI without ERP integration](/blog/edi-without-erp-integration), or [book a 15-minute walkthrough](/book). ## Frequently Asked Questions
### What is the difference between EDI 830 and EDI 850? An 850 is a discrete purchase order for a specific set of line items. An 830 is a rolling planning schedule against a blanket agreement that carries both firm releases and forward forecast. In many manufacturing relationships the 830 replaces repeated 850s. ### What is the difference between EDI 830 and EDI 862? The 830 carries the longer-range plan, including forecast and the ATH authorizations for material and labor. The 862 Shipping Schedule is a tighter, near-term instruction for what to ship and when. The 862 supplements the 830; it does not replace it or authorize resources on its own. ### How do I tell forecast from firm in an 830? Look at FST02 on each dated bucket. `C` means firm and ship-authorized; `D` means planning only. Treating planning forecast as firm is the most common and costly 830 mistake. ### What does BFR05 mean in an 830? BFR05 is the Schedule Quantity Qualifier. `A` means actual discrete quantities, so each FST bucket stands alone. `C` means cumulative quantities, so each bucket is a running total. `D` means net change and `R` replacement quantities. Check BFR05 before you interpret a single FST quantity. ### What does BFR with a purpose code of 05 mean? `BFR*05` is a Replace. The schedule supersedes the entire prior schedule for that horizon. Any bucket present in the previous 830 and missing from this one has been removed, not left unchanged. Purpose code `04` is a net change, which only modifies the buckets it contains. ### What is the ATH segment in an EDI 830? ATH is the resource authorization. It tells the supplier the cumulative quantity, and the date through which, the buyer authorizes it to commit finished goods (`FI`), material (`MT`), labor or both. It is the buyer's financial commitment if demand later falls. ### Which EDI transaction set includes both firm and forecast? The 830 Planning Schedule. It carries both in one transmission, separated by FST02: `C` for firm and `D` for planning. The 862 Shipping Schedule is for near-term firm requirements, and an 850 carries a discrete order with no forward plan. ### Is DELFOR the same as an 830? They serve the same purpose in different standards. DELFOR is the UN/EDIFACT Delivery Schedule message and the 830 is its X12 counterpart. Moving between them requires translation. X12 862 corresponds to EDIFACT DELJIT in the same way.
--- # EDI 832 Price/Sales Catalog Guide Source: https://ordersync.io/guides/edi/832-price-sales-catalog > How the EDI 832 Price/Sales Catalog works: BCT, LIN, G53, PID, PO4 and CTP segments, new item and price change examples, 832 vs 888 and 879, and common errors. The EDI 832 Price/Sales Catalog is the X12 transaction a supplier uses to send a buyer its items and prices: identifiers such as UPC or GTIN, descriptions, pack and dimensions, and one or more price tiers. Retailers and distributors load it to set up new items, change prices, or discontinue items before ordering them. **The EDI 832 is the catalog behind every order a buyer sends you.** Before a retailer or distributor can put your item on an 850, its item file needs the UPC, the pack, the cost and the description. The 832 is one of the main ways that data gets there, and the item numbers and costs in it are the ones the buyer will later check your invoices against. This guide covers what the 832 carries, how full catalogs and changes work, three live examples (a new item catalog, a grocery item setup and a price change), every segment you will map, how the 832 compares with the 888, 879 and 845, and the catalog errors that come back as rejected orders and deductions. ## What Is an EDI 832? **An EDI 832 is the Price/Sales Catalog transaction set defined by the [ASC X12 standards body](https://x12.org/products/transaction-sets), used to furnish or request the prices of goods or services in the form of a catalog.** In practice a supplier sends it to a buyer to publish item data: identifiers, descriptions, measurements, pack configuration and prices, for new items, changed items and discontinued items. Authoritative references for 832 work: - The [X12 transaction set catalog](https://x12.org/products/transaction-sets) lists the 832 with the 888, 879 and 845 that cover parts of the same job - The [Stedi X12 004010 reference for the 832](https://www.stedi.com/edi/x12-004010/832) shows the segment order and loops, and its [BCT segment page](https://www.stedi.com/edi/x12-004010/segment/BCT) defines the header elements - [GS1 US](https://www.gs1us.org/industries-and-insights/standards) governs the UPCs and [GTINs](/glossary/gtin) most 832 lines carry, and the [GS1 GTIN Management Standard](https://ref.gs1.org/standards/gtin-management) decides when a product change needs a new GTIN - Each buyer publishes its own 832 guide, which sets the identifiers, price types and attributes it requires **Who sends it?** Usually the supplier or manufacturer. Some buyers also send 832s to their own customers, for example a distributor publishing its catalog to dealers. **When is it sent?** Before the first order for a new item, whenever an item or price changes, and when an item is discontinued. Some buyers also ask for a periodic full catalog. **Why does it matter?** The buyer's item file is what its POs, receiving and invoice matching run on. A wrong UPC fails the order line; a wrong pack makes every quantity off by the case size; a cost the buyer never loaded turns into a pricing deduction on an [812](/guides/edi/812-credit-debit-adjustment). ## Full Catalogs, Changes and Item Actions Two levels of the 832 say what the receiver should do with the data: - **The whole transaction.** `BCT10` is the transaction set purpose code: `00` original, `04` change, `05` replace. A `05` full catalog tells the receiver this file is the complete current list. - **Each item.** The `G53` segment, right after `LIN`, gives the maintenance type for that item: `003` add full item detail, `001` change, `002` delete, `PRI` price change only, `CEP` change excluding price. Where `BCT10` and `G53` disagree, the X12 note says `G53` takes precedence. Many buyers use only some of these. One may take adds and changes on 832s and handle discontinues in its vendor portal; another may want a full catalog every quarter. The buyer's guide decides. ## Interactive Example: New Items on a Sales Catalog A home goods supplier publishes two new items to a retailer. `BCT01` `SC` marks a sales catalog, `BCT02` is the catalog number and `BCT09` its description, and `DTM*007` says the data is effective December 1. Each item has a UPC and vendor item number in `LIN`, `G53*003` (add), a description in `PID`, the item weight in `MEA`, the case pack, size, gross weight and dimensions in `PO4`, and wholesale and MSRP prices in `CTP`. Use the **Plain English** tab for a readable summary, or click any segment to break it down element by element. The cleanser's MSRP of $9.99 on a $5.50 wholesale cost is an 81.6% markup, which is a 44.9% margin for the retailer; the [markup calculator](/tools/markup-calculator) shows that conversion for any pair of prices. ## Interactive Example: Grocery New Item Setup Grocery buyers order cases and sell consumer units, so they want both codes. Each `LIN` carries the case GTIN-14 (`UK`), the consumer UPC (`UP`) and the vendor item number. `PO4` gives 12 per case of 18 oz, with the case gross weight and dimensions, `CTP` gives the wholesale cost, and `G39` repeats the case dimensions in the grocery vendor selling unit segment. Grocery retailers that use the UCS item documents may ask for this data on an [888 Item Maintenance](/guides/edi/888-item-maintenance) instead, with costs on an [879 Price Information](/guides/edi/879-price-information). ## Interactive Example: Price Change Only Most price changes do not need a full catalog. This 832 is a price catalog (`BCT01` `PC`) sent as a change (`BCT10` `04`), revision 2 of the same catalog number. `DTM*007` sets the effective date, January 1, 2027, and each of the three items carries `G53*PRI` (price change only) with its new wholesale and MSRP prices and nothing else. The receiver keeps every other attribute from the earlier catalog and applies the new prices on the effective date. ## 832 Structure at a Glance | Area | Segment | Name | Usage | Notes | |---|---|---|---|---| | Header | **ST** | Transaction Set Header | Mandatory | `ST01` = `832` | | Header | **BCT** | Beginning Segment for Price/Sales Catalog | Mandatory | Catalog purpose, number, version, description, transaction purpose | | Header | **CTP**, **REF**, **PER**, **DTM** | Pricing, references, contact, dates | Optional | Effective date usually goes in `DTM*007` | | Header | **CUR**, **ITD**, **LDT**, **SAC**, **FOB** | Currency, terms, lead time, charges, FOB | Optional | Catalog-wide commercial terms | | Header N1 loop | **N1** to **N4** | Parties | Optional | Supplier, buyer | | LIN loop | **LIN** | Item Identification | Repeats | UPC, GTIN, vendor and buyer item numbers | | LIN loop | **G53** | Maintenance Type | Optional | Add, change, delete or price-only for this item | | LIN loop | **DTM**, **REF** | Dates, references | Optional | Item-level effective or discontinue dates | | LIN loop | **PID** | Product/Item Description | Optional, repeats | Free-form or coded descriptions | | LIN loop | **MEA** | Measurements | Optional | Weight and dimensions | | LIN loop | **PKG**, **PO4** | Packaging, Item Physical Details | Optional | Pack, size, case weight and dimensions | | LIN loop | **G55** | Item Characteristics, Consumer Unit | Optional | Consumer unit detail | | CTP loop | **CTP** | Pricing Information | Repeats, up to 100 | One per price type or quantity break | | CTP loop | **DTM**, **G40**, **CUR** | Price dates, bracket prices, currency | Optional | Dates or brackets for that price | | G39 loop | **G39** | Item Characteristics, Vendor's Selling Unit | Optional | Case-level codes, weights and dimensions | | LIN loop | **PKL**, **LFG**, **SLN** loops | Multi-pack, hazmat, sublines | Optional | Used where the buyer's guide asks | | Summary | **CTT** | Transaction Totals | Optional | Number of LIN items | | Summary | **SE** | Transaction Set Trailer | Mandatory | Segment count and control number | ## Key Segments Explained ### BCT: Beginning Segment for Price/Sales Catalog ``` BCT*SC*PHC-SPR27*1******SPRING 2027 CATALOG*00~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **BCT01** | Catalog Purpose Code | `SC` | Type of catalog (see below) | | **BCT02** | Catalog Number | `PHC-SPR27` | Up to 15 characters | | **BCT03** | Catalog Version Number | `1` | Up to 15 characters | | **BCT04** | Catalog Revision Number | | Up to 6 characters | | **BCT05** | Unit of Measure | | Rarely used | | **BCT06** to **BCT08** | Catalog Number, Version, Revision | | A second catalog reference, such as the catalog being superseded | | **BCT09** | Description | `SPRING 2027 CATALOG` | Free-form name, up to 80 characters | | **BCT10** | Transaction Set Purpose Code | `00` | `00` original, `04` change, `05` replace | `BCT01` has five codes in 004010: | Code | Meaning | |---|---| | `CP` | Customized Catalog | | `PC` | Price Catalog | | `PS` | Price Sheet | | `RC` | Resale Catalog | | `SC` | Sales Catalog | There is no add, change or delete code in `BCT01`. Those actions live in `BCT10` and `G53`. ### LIN: Item Identification ``` LIN*1*UK*10012345678902*UP*012345678905*VN*VCF-OAT-18~ ``` `LIN01` is the line number, followed by qualifier and ID pairs. Common qualifiers: `UP` UPC consumer package code, `UK` GTIN-14 shipping container code, `EN` EAN-13, `VN` vendor item number, `IN` buyer item number. Send every identifier the buyer's guide lists, in the order it lists them, and validate the check digit on every UPC and GTIN with a [check digit calculator](/tools/check-digit-calculator) before you send. ### G53: Maintenance Type `G53*003~` marks a new item with full detail. `001` is a change, `002` a delete, `PRI` a price change only and `CEP` a change that excludes price. `G53` is a single three-character element, and it overrides `BCT10` for its item. ### PID: Product/Item Description ``` PID*F*08***SPRING CLEANSER 8 OZ~ ``` `PID01` `F` means free-form text in `PID05` (up to 80 characters). `PID02` is a characteristic code: `08` product, `GEN` general description, `TRN` trade name. Buyers often want several PIDs per item: a short register description, a long description, a brand. ### MEA and PO4: Measurements and Pack ``` MEA*PD*WT*0.6*LB~ PO4*12*8*OZ*CTN*G*7.8*LB***10*8*6*IN~ ``` `MEA` gives one measurement per segment: `MEA02` says what (`WT` weight, `HT` height, `WD` width, `LN` length), `MEA03` the value and `MEA04` the unit. | Element | Name | Example | What it means | |---|---|---|---| | **PO401** | Pack | `12` | Inner units per outer pack | | **PO402** | Size | `8` | Size of each inner unit | | **PO403** | Unit of Measure | `OZ` | Unit for the size | | **PO404** | Packaging Code | `CTN` | Carton | | **PO405** | Weight Qualifier | `G` | Gross weight | | **PO406** | Gross Weight per Pack | `7.8` | Case weight | | **PO407** | Unit of Measure | `LB` | Weight unit | | **PO410** to **PO412** | Length, Width, Height | `10`, `8`, `6` | Case dimensions | | **PO413** | Unit of Measure | `IN` | Dimension unit | | **PO414** | Inner Pack | | Inner packs per case, for two-level packs | The X12 example for PO4 is a carton of 24 twelve-ounce packages: pack `24`, size `12`, unit `OZ`. The pack in PO401 is what every later order quantity is multiplied by, so it has to match what the buyer's system thinks a case is. ### CTP: Pricing Information ``` CTP**WHL*5.50*1*EA~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **CTP01** | Class of Trade Code | | Optional, for prices by trade class | | **CTP02** | Price Identifier Code | `WHL` | The kind of price (see below) | | **CTP03** | Unit Price | `5.50` | The price | | **CTP04** | Quantity | `1` | Quantity the price applies to, or a quantity break | | **CTP05** | Unit of Measure | `EA` | Unit for that quantity. Required with CTP04 | | **CTP06**, **CTP07** | Multiplier Qualifier, Multiplier | | A discount factor, for example `0.90` for 10% off | Common `CTP02` price identifiers: | Code | Meaning | |---|---| | `WHL` | Wholesale price | | `MSR` | Manufacturer's suggested retail | | `RTL` | Retail price | | `RES` | Resale price | | `LPR` | List price | | `CON` | Contract price | | `PRP` | Promotional price | | `NET` | Net item price | | `UCP` | Unit cost price | | `CAT` | Catalog price | Two codes are often mixed up. `RES` is resale price and `RTL` is retail price; `PRO` is producer's price, not promotional, which is `PRP`. Use the codes in the buyer's guide, because its item file loads each price type into a specific field. ### G39: Item Characteristics, Vendor's Selling Unit ``` G39**UK*10012345678902*****8*IN*9.5*IN*12.5*IN~ ``` `G39` describes the unit the vendor sells, usually the case. `G3902` and `G3903` identify it (here by GTIN-14), `G3905` to `G3907` give a weight, and `G3908` to `G3913` give height, width and length with their units. Later elements carry volume, pallet tiers and blocks, pack and size. It comes from the grocery item documents and is used mostly by grocery and foodservice buyers. ### CTT: Transaction Totals `CTT*2~` counts the LIN items. Some buyers check it against the lines received before they load anything. ## EDI 832 vs 888, 879, 845 and 846 | Document | Sent by | Purpose | Typical use | |---|---|---|---| | **832 Price/Sales Catalog** | Supplier | Items, attributes and prices in one document | General purpose across retail, distribution and grocery | | **[888 Item Maintenance](/guides/edi/888-item-maintenance)** | Supplier or broker | Set up, change or discontinue grocery items | Grocery buyers that use the UCS item documents | | **[879 Price Information](/guides/edi/879-price-information)** | Supplier or broker | Item cost changes with effective dates | Grocery cost changes, alongside the 888 | | **[845 Price Authorization](/guides/edi/845-price-authorization-acknowledgment)** | Manufacturer | Contract prices for named end customers | Distributor contract pricing and chargebacks | | **[846 Inventory Inquiry/Advice](/guides/edi/846-inventory-inquiry)** | Supplier | Stock available for the items in the catalog | Drop ship and replenishment | | **[EDIFACT PRICAT](/guides/edi/edifact-pricat)** | Supplier | Price/sales catalogue in UN/EDIFACT | UK and European buyers | The short version: the 832 tells a buyer what it can order and what it will pay. The 888 and 879 split that job for grocery. The 845 tells a distributor what someone else will pay and promises to make up the difference. ## Where the 832 Sits in the Order Lifecycle 1. **832 Price/Sales Catalog**: you publish items and prices; the buyer loads them 2. **[850 Purchase Order](/guides/edi/850-purchase-order)**: the buyer orders by the item numbers and units it loaded 3. **[855 Purchase Order Acknowledgment](/guides/edi/855-purchase-order-acknowledgment)**: you confirm, or reject lines for items not on file 4. **[856 Ship Notice/ASN](/guides/edi/856-ship-notice)**: you ship, with the same identifiers 5. **[810 Invoice](/guides/edi/810-invoice)**: you bill at the cost the buyer loaded from your catalog 6. **[812 Credit/Debit Adjustment](/guides/edi/812-credit-debit-adjustment)**: if the invoice cost does not match the buyer's file, the difference often comes back here Some buyers answer a catalog with an [824 Application Advice](/guides/edi/824-application-advice) listing items they rejected, for example for an invalid GTIN or a missing attribute. ## Common 832 Errors and How to Prevent Them | Error | What happens | Prevention | |---|---|---| | **Invalid UPC or GTIN check digit** | Item rejected at load | Validate every identifier before sending | | **Catalog number longer than 15 characters** | BCT fails validation | Keep `BCT02` and `BCT03` within 15 characters; put names in `BCT09` | | **Action codes put in `BCT01` or `BCT05`** | Catalog rejected or misread | Use `BCT10` for the file and `G53` for each item | | **Pack in PO4 differs from the buyer's case** | Every order quantity off by the case size | Confirm pack, inner pack and selling unit before the first 832 | | **Wrong price identifier** | Wholesale loaded as retail, or the reverse | Map each price to the buyer's codes; watch `RES`, `RTL`, `PRO` and `PRP` | | **No effective date on a price change** | New cost applied early, late or never | Send `DTM*007` and agree lead time with the buyer | | **Discontinued items simply left out** | Stale items stay orderable | Send `G53*002` or the buyer's discontinue process | | **Cost in the 832 differs from the 810** | Pricing deductions | Invoice from the same price list the catalog came from | ## 832 Implementation Checklist - Get the buyer's 832 guide and confirm the X12 version - Confirm which `BCT01`, `BCT10` and `G53` codes it accepts - List the identifiers it requires in `LIN`, and in what order - Confirm the price identifiers it loads and whether it wants quantity breaks - Confirm pack, inner pack and dimension rules, and whether it wants `PO4`, `G39` or both - Agree how far ahead price changes must arrive, and how discontinues are sent - Ask whether it replies with an 824 for rejected items - Test an add, a change, a price-only change and a delete before going live ## Keeping Catalogs and Orders in Step With OrderSync The 832 sets what your buyers can order. Every order after it has to match: the right item numbers, units, packs and costs, whatever format it arrives in. OrderSync reads incoming orders in any format, from EDI 850s and 875s to emails, PDFs and spreadsheets, matches customers, items and units to your catalog, and outputs valid X12 or clean data for your ERP. It can also generate 832 catalogs from your item master, mapped to each partner's guide. To check an 832 before you send it, paste it into the [free EDI inspector](/edi-inspector) to see every item parsed with its identifiers, pack and prices, and any structural errors explained. You can also [book a 15-minute walkthrough](/book) to see your own orders processed. ## Frequently Asked Questions
### What is an EDI 832 used for? The 832 sends a buyer a supplier's catalog: item identifiers, descriptions, pack, dimensions and prices. Buyers load it to set up new items, update prices and discontinue items, so their purchase orders, receiving and invoice matching use the same data you do. ### What does the BCT segment mean in an EDI 832? BCT is the 832 header. BCT01 is the catalog type (SC sales catalog, PC price catalog, PS price sheet, RC resale catalog, CP customized catalog), BCT02 to BCT04 are the catalog number, version and revision, BCT09 is a description and BCT10 is the transaction purpose (00 original, 04 change, 05 replace). ### How do I send only price changes on an EDI 832? Send the 832 as a change, with BCT10 set to 04, an effective date in DTM*007, and only the changed items. Mark each with G53 PRI (price change only) and send its new CTP prices. Some grocery buyers want price changes on an 879 instead. ### What is the difference between EDI 832 and EDI 879? The 832 can carry the full item record and its prices in one document. The 879 Price Information carries cost changes only, with effective dates, and is used mostly in grocery alongside the 888, where item details are already on file. ### What is the difference between EDI 832 and EDI 888? Both set up and maintain items. The 888 Item Maintenance is the grocery UCS document, with case and consumer unit detail and no prices. The 832 is the general-purpose catalog and can include prices. The buyer's guide says which it takes. ### How often should I send an EDI 832? Whenever an item is added, changed or discontinued, and whenever a price changes, early enough for the buyer's lead time. Some buyers also ask for a periodic full catalog to catch drift between your item file and theirs; their guide sets the schedule. ### Which price codes go in the CTP segment? CTP02 is the price identifier. Common codes are WHL wholesale, MSR manufacturer's suggested retail, RTL retail, RES resale, LPR list, CON contract, PRP promotional and NET net price. CTP03 is the price, and CTP04 and CTP05 give the quantity and unit it applies to.
--- # EDI 834 Benefit Enrollment and Maintenance Guide Source: https://ordersync.io/guides/edi/834-benefit-enrollment-and-maintenance > EDI 834 explained: the HIPAA 5010 enrollment file, INS, REF, NM1, HD and DTP segments, maintenance codes, full vs change files, examples and common errors. The EDI 834 Benefit Enrollment and Maintenance is the HIPAA X12 transaction an employer, union or government agency uses to tell a health plan who to enroll, change or terminate. Each member gets an INS loop with identifiers, demographics and one HD loop per coverage. Under HIPAA it uses the 005010X220 implementation guide. **The EDI 834 is how a health plan learns who it covers.** HR adds a new hire, a spouse joins at open enrollment, an employee leaves: each change reaches the carrier or third-party administrator as an 834. If the file is wrong, people show up at the pharmacy without active coverage, or stay on the plan months after they left and the premium bill goes with them. This guide covers what the 834 carries, who sends it, the difference between full and change files, every segment benefits teams map, two live examples (an addition and a termination), how the 834 relates to the 820 premium payment, and the errors that cause rejections and coverage gaps. It explains the file format only: your carrier's companion guide and your benefits and compliance advisers govern eligibility rules and legal obligations. ## What Is an EDI 834? **An EDI 834 is the Benefit Enrollment and Maintenance transaction set defined by [ASC X12](https://x12.org/products/transaction-sets), used by a plan sponsor to send enrollment, change, termination and verification data for its members to a health plan or administrator.** In the US it is one of the HIPAA standard transactions. The federal rule at [45 CFR 162.1502](https://www.ecfr.gov/current/title-45/subtitle-A/subchapter-C/part-162/subpart-O/section-162.1502) names the X12 technical report `005010X220` as the enrollment standard, and in practice files carry the errata version `005010X220A1` in `GS08` and `ST03`. Authoritative references for 834 work: - [45 CFR Part 162](https://www.ecfr.gov/current/title-45/subtitle-A/subchapter-C/part-162), administered by CMS, lists the adopted HIPAA transaction standards, including the 834, 835 and 837 - The X12 `005010X220A1` technical report (TR3) defines every loop, segment and code used in a HIPAA 834 - Carrier and state companion guides, such as the [Wisconsin ETF 834 companion guide](https://etf.wi.gov/sites/default/files/2024-07/Appendix%201%20-%20834%20Companion%20Guide.pdf), show which elements a specific receiver requires and which codes it accepts **Who sends it?** The plan sponsor: an employer's HR or benefits system, a benefits administration platform acting for the employer, a union trust, or a government program. Exchanges and state Medicaid agencies also send 834s to the plans they contract with. **Who receives it?** The health plan (insurer, HMO, dental or vision carrier) or a third-party administrator (TPA) running a self-funded plan. **When is it sent?** On a schedule the two sides agree: daily or weekly change files are common, with a full file sent periodically or after open enrollment. **Why does it matter?** The 834 is the carrier's record of who is covered and from when. Claims are adjudicated against it, eligibility responses ([271s](/guides/edi/271-eligibility-benefit-response)) are built from it, and premium bills are calculated from it. ## Full Files and Change Files The first decision in any 834 build is whether each file carries everyone or only what changed. `BGN08` (Action Code) declares it. | | Change file | Full file | |---|---|---| | **BGN08** | `2` (Change (Update)) | `4` (Verify) or `RX` (Replace), per the carrier's guide | | **What it contains** | Only members with an addition, change, termination or reinstatement since the last file | Every currently enrolled member | | **INS03 on members** | `021` addition, `001` change, `024` termination, `025` reinstatement | Often `030` (Audit or Compare), or the carrier's specified value | | **What the carrier does** | Applies each transaction | Compares against its own records, and may terminate anyone missing | | **Main risk** | A missed file means a missed change | A member accidentally left out may be terminated | Many carriers want both: daily or weekly change files plus a monthly full file to catch drift. Ask the carrier how it treats members missing from a full file before sending one. Some terminate them automatically; others report discrepancies for review. ## The 834 Enrollment Workflow, Step by Step 1. **Event in HR.** A hire, a qualifying life event, an open enrollment election or a termination is recorded in the HR or benefits system. 2. **Build the file.** The system collects members with changes since the last run and builds an 834, one INS loop per member, subscriber first and each dependent after. 3. **Send.** The file goes to the carrier or TPA, usually by SFTP or through a clearinghouse. 4. **Acknowledge.** The receiver returns a [999 Implementation Acknowledgment](/guides/edi/999-implementation-acknowledgment) saying whether the file passed X12 and TR3 validation. 5. **Load and report.** The carrier loads the members. Most carriers also send an error or discrepancy report in their own format for members they could not load (for example, an unknown plan code). 6. **Bill and pay.** The carrier bills premiums based on enrollment. The sponsor pays, often with an [EDI 820 premium payment](/guides/edi/820-payment-order) listing the members or groups the payment covers. ## Interactive Example: New Hire and Spouse (INS03 021) A fictional employer adds a new full-time employee and spouse to a PPO medical plan and a dental plan, both at the employee-and-spouse level, effective 1 December 2026. The subscriber's INS loop is `Y`, relationship `18` (self), maintenance type `021` (addition), reason `28` (initial enrollment). The spouse follows with `N` and relationship `01`. Each person carries one HD loop per coverage with a `348` coverage begin date. All names, IDs and organizations are fictional. Use the **Plain English** tab for a readable summary, or click any segment to see each element. ## Interactive Example: Termination of Employment (INS03 024) The same employer ends coverage for a different fictional employee and child after the employee leaves. Both INS loops use maintenance type `024` (cancellation or termination) and reason `08` (termination of employment), with an eligibility end date (`357`) at member level and a coverage end date (`349`) on each HD loop. ## 834 Structure at a Glance | Loop | Segment | Name | Usage | Notes | |---|---|---|---|---| | Header | **ST** | Transaction Set Header | Required | `ST01` = `834`, `ST03` = `005010X220A1` | | Header | **BGN** | Beginning Segment | Required | Purpose, reference, date, time, action code | | Header | **REF** | Transaction Set Policy Number | Situational | `REF01` = `38`, master policy number | | Header | **DTP** | File Effective Date | Situational | `007` effective, plus report dates where used | | Header | **QTY** | Transaction Set Control Totals | Situational | Counts some receivers use to check the file | | 1000A | **N1** | Sponsor Name | Required | `N101` = `P5` | | 1000B | **N1** | Payer | Required | `N101` = `IN` | | 1000C | **N1** | TPA/Broker Name | Situational | Broker or administrator, where relevant | | 2000 | **INS** | Member Level Detail | Required, repeats | One per member, subscriber first | | 2000 | **REF** | Subscriber Identifier | Required | `REF01` = `0F` | | 2000 | **REF** | Member Policy Number | Situational | `REF01` = `1L`, group or policy number | | 2000 | **DTP** | Member Level Dates | Situational | Eligibility begin `356`, end `357`, employment begin `336` | | 2100A | **NM1** | Member Name | Required | `NM101` = `IL` | | 2100A | **PER, N3, N4** | Communications and Address | Situational | Contact numbers and residence address | | 2100A | **DMG** | Member Demographics | Situational | Date of birth and gender | | 2300 | **HD** | Health Coverage | Situational, repeats | One per coverage line | | 2300 | **DTP** | Health Coverage Dates | Required with HD | Begin `348`, end `349` | | 2310 | **LX, NM1** | Provider Information | Situational | Primary care provider selection, where the plan requires one | | 2320 | **COB** | Coordination of Benefits | Situational | Other coverage the member has | | Trailer | **SE** | Transaction Set Trailer | Required | Segment count and control number | The TR3 has more loops (reporting categories, employer responsible party, custodial parent and others). Carriers' companion guides say which ones they read. ## Key Segments Explained ### BGN: Beginning Segment ``` BGN*00*ENR20261101A*20261101*0900****2~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **BGN01** | Transaction Set Purpose Code | `00` | Original. Some guides allow `15` (re-submission) | | **BGN02** | Reference Identification | `ENR20261101A` | Your file reference. Keep it unique | | **BGN03** | Date | `20261101` | File creation date | | **BGN04** | Time | `0900` | File creation time | | **BGN08** | Action Code | `2` | `2` Change (Update), `4` Verify, `RX` Replace | ### N1: Sponsor (1000A) and Payer (1000B) ``` N1*P5*SAMPLE MANUFACTURING CO*FI*990000010~ N1*IN*SAMPLEVILLE HEALTH PLAN*FI*990000001~ ``` `P5` identifies the plan sponsor and `IN` the insurer or administrator. Both usually carry a federal tax ID (`FI`) in `N104`, though the carrier's guide may ask for its own assigned group or sponsor ID instead. ### INS: Member Level Detail `INS` opens each member's loop and says what is happening to that member. ``` INS*Y*18*021*28*A***FT~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **INS01** | Member Indicator | `Y` | `Y` subscriber, `N` dependent | | **INS02** | Individual Relationship Code | `18` | `18` self, `01` spouse, `19` child, and other codes the TR3 lists | | **INS03** | Maintenance Type Code | `021` | `021` addition, `001` change, `024` cancellation or termination, `025` reinstatement, `030` audit or compare | | **INS04** | Maintenance Reason Code | `28` | Why: `28` initial enrollment, `08` termination of employment, `07` termination of benefits, `03` death, `01` divorce, `XN` notification only, `AI` no reason given | | **INS05** | Benefit Status Code | `A` | `A` active, `C` COBRA, `S` surviving insured | | **INS08** | Employment Status Code | `FT` | `FT` full-time, `PT` part-time, `TE` terminated, `RT` retired, and others | `INS06` (Medicare status), `INS07` (COBRA qualifying event), `INS10` (handicap indicator) and `INS12` (death date) are situational and appear only when they apply. Which reason codes a carrier accepts with each maintenance type is a common companion-guide restriction. ### REF: Subscriber Identifier and Policy Number ``` REF*0F*ZZE00451~ REF*1L*GRP778899~ ``` `REF*0F` carries the subscriber's identifier and repeats, unchanged, on every dependent's loop: it is how the carrier ties the family together. `REF*1L` carries the group or policy number. Other REF qualifiers (department, employee ID, prior coverage) appear when the carrier's guide asks for them. ### NM1, DMG and Address: Member Name and Demographics ``` NM1*IL*1*SAMPLE*TAYLOR****ZZ*ZZE00451~ DMG*D8*19880412*F~ ``` | Element | Name | What it means | |---|---|---| | **NM101** | Entity Identifier Code | `IL` for the member in loop 2100A | | **NM102** | Entity Type Qualifier | `1` person | | **NM103 / NM104** | Last and first name | The member's legal name as the carrier should hold it | | **NM108 / NM109** | ID qualifier and ID | `34` Social Security number, or `ZZ` a mutually defined identifier | | **DMG02** | Date of birth | `CCYYMMDD` | | **DMG03** | Gender code | Values per the TR3 and the carrier's guide | Whether to send a Social Security number is set by the carrier's guide and your own privacy policies. The samples on this page use a mutually defined ID (`ZZ`) and fictional values. ### HD: Health Coverage One `HD` loop per coverage the member is in: medical, dental, vision, and so on. ``` HD*021**HLT*PPO 500*ESP~ DTP*348*D8*20261201~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **HD01** | Maintenance Type Code | `021` | Same codes as INS03, applied to this coverage | | **HD03** | Insurance Line Code | `HLT` | `HLT` health, `DEN` dental, `VIS` vision, and others | | **HD04** | Plan Coverage Description | `PPO 500` | The carrier's plan or option code. Must match its setup exactly | | **HD05** | Coverage Level Code | `ESP` | `EMP` employee only, `ESP` employee and spouse, `ECH` employee and children, `E1D` employee and one dependent, `FAM` family, `IND` individual | The `DTP` under each `HD` carries `348` (benefit begin) and, on terminations, `349` (benefit end). An `HD` with a plan code the carrier does not recognize is the most common reason a member fails to load. ### DTP: Member and Coverage Dates | Qualifier | Where | Meaning | |---|---|---| | `007` | Header | Effective date of the file | | `336` | Member (2000) | Employment begin | | `356` | Member (2000) | Eligibility begin | | `357` | Member (2000) | Eligibility end | | `348` | Coverage (2300) | Benefit begin | | `349` | Coverage (2300) | Benefit end | A termination usually needs both: `357` says when the member's eligibility ends, and `349` on each HD says when that coverage ends. Sending only one is a frequent companion-guide rejection. ## How the 834 Relates to the 820, 270/271 and 835 | Transaction | Sent by | Purpose | Relation to the 834 | |---|---|---|---| | **834 Benefit Enrollment** | Plan sponsor | Who is covered, by which plan, from when | The source of enrollment | | **[820 Premium Payment](/guides/edi/820-payment-order)** | Plan sponsor | Pays premiums and lists what the payment covers | Pays for the coverage the 834 created. HIPAA names `005010X218` for premium payments | | **[270 Eligibility Inquiry](/guides/edi/270-eligibility-benefit-inquiry)** | Provider | Asks whether a patient is covered | Answered from enrollment data | | **[271 Eligibility Response](/guides/edi/271-eligibility-benefit-response)** | Health plan | Returns coverage and benefits | Reflects what the 834 loaded | | **[837 Health Care Claim](/guides/edi/837-health-care-claim)** | Provider | Bills for care | Adjudicated against enrollment | | **[835 Claim Payment/Advice](/guides/edi/835-health-care-claim-payment-advice)** | Health plan | Explains claim payments | Denials for "patient not eligible" often trace back to the 834 | | **[999 Implementation Acknowledgment](/guides/edi/999-implementation-acknowledgment)** | Receiver | Confirms the file passed X12 and TR3 validation | Returned for each 834 file | The 834 and 820 are a pair. Reconciling them (are we paying for exactly the people we enrolled?) is where many benefits teams find terminated employees still on the bill, or new hires the carrier never loaded. ## Common 834 Errors and How to Prevent Them | Error | What happens | Prevention | |---|---|---| | **Plan code in `HD04` not set up at the carrier** | Member rejected or loaded without coverage | Agree a plan code table with the carrier and validate against it before sending | | **Dependent missing `REF*0F` or using its own number** | Dependent not linked to the subscriber | Repeat the subscriber's identifier on every dependent loop | | **Dependent sent before its subscriber** | Dependent rejected | Always send the subscriber INS loop first, then its dependents | | **Termination without `349` on each HD** | Coverage stays active | Send member eligibility end and coverage end dates | | **Full file sent with `BGN08` = `2`** | Members missing from the file are not reconciled | Set the action code for the file type the carrier expects | | **Members omitted from a full file by mistake** | Carrier may terminate them | Count members before sending and compare with the last full file | | **Wrong relationship code in `INS02`** | Dependent rejected or mis-tiered | Map HR relationship values to X12 codes explicitly | | **Coverage level in `HD05` that does not match the dependents sent** | Premium and coverage mismatch | Derive the level from the dependents actually enrolled | | **Retroactive change outside the carrier's window** | Change rejected or held for review | Check the carrier's retro policy, and send changes as soon as HR records them | | **Ignoring the 999** | A rejected file looks like it was sent | Monitor every 999 and the carrier's load report | ## 834 Implementation Checklist Before going live with a carrier or TPA: - Get the carrier's 834 companion guide and confirm it uses `005010X220A1` - Agree full file, change file or both, and the schedule for each - Agree the action code (`BGN08`) and maintenance type for each file type - Build a plan code (`HD04`) and coverage level (`HD05`) mapping table with the carrier - Agree the identifiers: subscriber ID in `REF*0F`, member IDs in `NM109`, group numbers in `REF*1L` - Confirm how the carrier treats members missing from a full file - Confirm its retroactive add and termination windows - Test additions, changes, terminations, reinstatements and a full file - Set up monitoring for the 999 and the carrier's error report - Reconcile enrollment against premium bills or [820 payments](/guides/edi/820-payment-order) monthly For background on how X12 envelopes and acknowledgments work, see our [EDI document types reference](/edi-document-types) and the [997 functional acknowledgment guide](/guides/edi/997-functional-acknowledgment). ## Reading 834 Files With OrderSync's Free Inspector When a carrier rejects a file or a member does not load, the first step is reading the 834 itself. Paste any X12 file into the [free EDI inspector](/edi-inspector) to see the envelope, each member's INS loop, coverage lines and dates broken out segment by segment, with control-number and segment-count problems flagged. It runs in your browser and needs no signup. Use the sample files on this page, or files with personal data removed, when you are trying it out. For converting X12 to other formats, the [EDI to JSON converter](/edi-to-json) and [EDI translator](/edi-translator) work on the same files. ## Frequently Asked Questions
### What is an 834 file? An 834 file is the X12 Benefit Enrollment and Maintenance transaction. A plan sponsor, usually an employer, sends it to a health plan or administrator to add, change, terminate or verify members' coverage. Under HIPAA it follows the 005010X220 implementation guide, usually sent as 005010X220A1. ### What is the difference between a full 834 file and a change file? A change file carries only members with an addition, change, termination or reinstatement since the last file, flagged with BGN08 = 2. A full file carries every enrolled member so the carrier can compare its records. Carriers often want change files frequently and a full file periodically. ### What does INS03 mean in an 834? INS03 is the Maintenance Type Code. It says what is happening to the member: 021 addition, 001 change, 024 cancellation or termination, 025 reinstatement, or 030 audit or compare. INS04 gives the reason, such as 28 initial enrollment or 08 termination of employment. ### What is the HD segment in an 834? HD (Health Coverage) describes one coverage the member is enrolled in. HD01 is the maintenance type for that coverage, HD03 the insurance line (HLT, DEN, VIS and others), HD04 the carrier's plan code and HD05 the coverage level, such as EMP, ESP or FAM. Coverage dates follow in DTP 348 and 349. ### How are dependents sent in an 834? Each dependent gets its own INS loop after the subscriber's, with INS01 = N and a relationship code in INS02 such as 01 spouse or 19 child. The dependent repeats the subscriber's identifier in REF*0F so the carrier can link the family. ### How does the 834 relate to the 820? The 834 tells the carrier who is covered. The 820 pays the premiums for that coverage and lists what the payment covers. Reconciling the two shows whether you are paying for exactly the members you enrolled. ### What acknowledgment comes back for an 834? Under HIPAA 5010, receivers usually return a 999 Implementation Acknowledgment, which reports whether the file met X12 and implementation guide rules. Many carriers also send their own load or error report listing members they could not process. ### Is the 834 only for health insurance? No. The 834 carries any benefit line the TR3 supports, including dental, vision, prescription drug and disability coverage, through the insurance line code in HD03. The carrier's guide lists which lines it accepts on its files.
--- # EDI 835 Health Care Claim Payment/Advice (ERA) Source: https://ordersync.io/guides/edi/835-health-care-claim-payment-advice > EDI 835 ERA explained: BPR, TRN, CLP, CAS, SVC and PLB segments, CO/PR/OA/PI group codes, CARC and RARC, balancing, and matching CLP01 to the 837. The EDI 835 Health Care Claim Payment/Advice, or electronic remittance advice (ERA), is the HIPAA X12 transaction a health plan sends a provider to explain a payment. For each claim and service line it shows the billed, paid and adjusted amounts, with group codes (CO, PR, OA, PI), claim adjustment reason codes and remark codes explaining every difference. **The EDI 835 is the explanation behind every health care payment.** A deposit lands in the practice's account for $4,812.37. The 835 says which claims that money covers, why each one paid less than billed, what the patient owes, and what the payer took back from earlier overpayments. Billing teams post payments from it, work denials from it and bill patients from it, so reading CAS segments correctly is a core billing skill. This guide covers the 835's structure, every segment billing and health IT teams read, the claim adjustment group codes and reason codes, how the file balances, how to match an 835 claim back to the 837 that billed it, and a live example with a payment, a denial and a takeback. It explains the file format only. It is not billing, coding or legal advice; the payer's companion guide and your contracts govern how amounts are calculated. ## What Is an EDI 835? **An EDI 835 is the Health Care Claim Payment/Advice transaction set defined by [ASC X12](https://x12.org/products/transaction-sets), used by a health plan to send payment information and an explanation of each claim's adjudication to a provider or its billing agent.** It is the HIPAA standard for health care remittance advice. [45 CFR 162.1602](https://www.ecfr.gov/current/title-45/subtitle-A/subchapter-C/part-162/subpart-P/section-162.1602) names the X12 technical report `005010X221`, and files carry the errata version `005010X221A1` in `GS08` and `ST03`. The same section names the NACHA CCD+ format for the health care EFT that moves the money, with the 835's TRN reassociation trace number in the addenda record. Authoritative references for 835 work: - [45 CFR Part 162](https://www.ecfr.gov/current/title-45/subtitle-A/subchapter-C/part-162), administered by CMS, lists the HIPAA transaction standards, including the 835 and the EFT standard - [X12's claim adjustment group codes](https://x12.org/codes/claim-adjustment-group-codes), [claim adjustment reason codes (CARC)](https://x12.org/codes/claim-adjustment-reason-codes) and [remittance advice remark codes (RARC)](https://x12.org/codes/remittance-advice-remark-codes) are the external code lists every CAS and LQ segment draws from. X12 publishes all three; its code list index shows the RARC list as maintained by CMS - The [CMS Medicare 835 companion guide](https://www.cms.gov/medicare/billing/electronicbillingeditrans/downloads/5010a1835cg.pdf) shows how one large payer fills each element, including which codes Medicare does not use **Who sends it?** The health plan, or a clearinghouse or payment vendor acting for it. **Who receives it?** The payee named in loop 1000B: the provider, or a billing service or clearinghouse acting for it. Providers usually enroll for ERA with each payer before 835s start flowing. **When is it sent?** With each payment cycle, alongside the EFT or check. One 835 covers one payment (or one notification) to one payee. **Why does it matter?** The 835 is what posts payments, sets patient balances and starts denial follow-up. Misreading a CAS group code means billing a patient for an amount the provider was supposed to write off, or writing off an amount the patient actually owes. ## How Claim Payment and Remittance Works 1. **Provider bills.** The provider sends an [837 claim](/guides/edi/837-health-care-claim). `CLM01` carries its patient control number. 2. **Payer acknowledges.** A [999](/guides/edi/999-implementation-acknowledgment) confirms the file passed validation, and a 277CA claim acknowledgment says which claims were accepted into adjudication. 3. **Payer adjudicates.** Each line is priced against the contract or fee schedule, benefits are applied (deductible, coinsurance, copay), and edits run. 4. **Payer pays and explains.** The money moves by EFT (or check), and the 835 explains it. `TRN02` in the 835 matches the trace number in the EFT addenda so the two can be reassociated. 5. **Provider posts.** The billing system matches each `CLP01` back to the claim, posts payments and adjustments, moves patient responsibility to the patient's account, and queues denials. 6. **Follow-up.** Denied or underpaid claims are corrected and resent as replacement 837s, or appealed. Status questions in between go out as [276 claim status requests](/guides/edi/276-claim-status-request) and come back as [277 responses](/guides/edi/277-claim-status-response). ## Interactive Example: Payment, Denial and Takeback A fictional health plan pays a fictional family practice for two claims and recovers an earlier overpayment: - Claim `EFP26110301` (office visit plus rapid strep test, billed $160.00) is processed as primary. Each line is reduced to the contracted rate (`CO-45`) and the patient owes a $25.00 copay (`PR-3`). The plan pays $85.00. - Claim `EFP26110288` (billed $95.00) is denied with `CO-204` (service not covered under the patient's current benefit plan) and remark `N130`. - A `PLB` segment recovers a $40.00 overpayment on an earlier claim (`WO`). - The check is for $85.00 minus $40.00 = **$45.00**. The first claim's `CLP01` matches `CLM01` on the [837P sample in our 837 guide](/guides/edi/837-health-care-claim). All people, providers and IDs are fictional; NPI `1999999992` is a check-digit-valid test value. ## 835 Structure at a Glance | Loop | Segment | Name | Usage | Notes | |---|---|---|---|---| | Header | **ST** | Transaction Set Header | Required | `ST01` = `835`, `ST03` = `005010X221A1` | | Header | **BPR** | Financial Information | Required | Total payment, method, bank details, payment date | | Header | **TRN** | Reassociation Trace Number | Required | Check or EFT trace number, payer identifier | | Header | **REF** | Receiver / Version Identification | Situational | Receiver ID, payer's local version | | Header | **DTM** | Production Date | Required | When the payer produced the remittance | | 1000A | **N1, N3, N4** | Payer Identification and Address | Required | `N101` = `PR` | | 1000A | **PER** | Payer Contact | Required / Situational | Technical contact (`BL`) is required; business contact optional | | 1000B | **N1, N3, N4** | Payee Identification and Address | Required | `N101` = `PE`, usually with NPI (`XX`) | | 1000B | **REF** | Payee Additional Identification | Situational | Tax ID (`TJ`) and others | | 2000 | **LX** | Header Number | Situational | Groups claims (for example by bill type) | | 2100 | **CLP** | Claim Payment Information | Required, repeats | One per claim | | 2100 | **CAS** | Claim Adjustment | Situational | Claim-level adjustments | | 2100 | **NM1** | Patient Name | Required | `NM101` = `QC` | | 2100 | **NM1** | Insured, Corrected, Service Provider | Situational | When different from or in addition to the patient | | 2100 | **MIA / MOA** | Inpatient / Outpatient Adjudication | Situational | Remark codes and amounts at claim level | | 2100 | **REF, DTM, AMT** | Claim references, dates, amounts | Situational | Statement dates, claim received date, coverage amounts | | 2110 | **SVC** | Service Payment Information | Situational, repeats | One per service line | | 2110 | **DTM** | Service Date | Situational | `472` service date | | 2110 | **CAS** | Service Adjustment | Situational | Line-level adjustments | | 2110 | **REF** | Line Item Control Number | Situational | `6R`, echoes the 837 line control number | | 2110 | **AMT** | Service Supplemental Amount | Situational | `B6` allowed amount | | 2110 | **LQ** | Health Care Remark Codes | Situational | `HE` RARC | | Trailer | **PLB** | Provider Adjustment | Situational | Adjustments not tied to one claim | | Trailer | **SE** | Transaction Set Trailer | Required | Segment count and control number | ## Key Segments Explained ### BPR: Financial Information ``` BPR*I*45*C*CHK************20261120~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **BPR01** | Transaction Handling Code | `I` | `I` remittance with payment. `H` notification only, no money moves | | **BPR02** | Total Payment Amount | `45` | The payment total. Must equal the claim payments minus PLB adjustments | | **BPR03** | Credit/Debit Flag | `C` | `C` credit to the payee | | **BPR04** | Payment Method Code | `CHK` | `ACH`, `CHK`, `NON` (no payment), and others | | **BPR05 to BPR15** | Bank details | | Payer and payee bank routing and account details, used when `BPR04` = `ACH` | | **BPR16** | Payment Effective Date | `20261120` | The check issue date or EFT effective date | ### TRN: Reassociation Trace Number ``` TRN*1*CHK00412877*1990000001~ ``` `TRN02` is the check number or EFT trace number. It is the key that joins the 835 to the deposit on your bank statement. `TRN03` identifies the payer; the TR3 has it as a `1` followed by the payer's tax ID. When an EFT arrives without its 835 (or the other way round), matching `TRN02` to the trace number in the bank's CCD+ addenda is how the two are reassociated. ### N1: Payer (1000A) and Payee (1000B) ``` N1*PR*SAMPLEVILLE HEALTH PLAN~ N1*PE*EXAMPLE FAMILY PRACTICE*XX*1999999992~ ``` `PR` is the payer and `PE` the payee. The payee is normally identified by NPI (`XX`), with the tax ID in a following `REF*TJ`. The payer also sends a `PER` segment with its technical (`BL`) contact for EDI questions. ### CLP: Claim Payment Information ``` CLP*EFP26110301*1*160*85*25*12*SHP2611190001*11*1~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **CLP01** | Patient Control Number | `EFP26110301` | The provider's claim ID, echoed from `CLM01` on the 837 | | **CLP02** | Claim Status Code | `1` | `1` processed as primary, `2` secondary, `3` tertiary, `4` denied, `19` to `21` processed and forwarded to another payer, `22` reversal of previous payment, `23` not our claim, forwarded | | **CLP03** | Total Claim Charge | `160` | What the provider billed | | **CLP04** | Claim Payment Amount | `85` | What the payer paid on this claim | | **CLP05** | Patient Responsibility | `25` | What the patient owes, the total of PR adjustments | | **CLP06** | Claim Filing Indicator | `12` | The type of coverage, for example `12` PPO, `HM` HMO, `MB` Medicare Part B, `MC` Medicaid | | **CLP07** | Payer Claim Control Number | `SHP2611190001` | The payer's own ID for the claim. Quote it on corrections and appeals | | **CLP08** | Facility Type Code | `11` | Place of service (professional) or facility type (institutional) from the claim | | **CLP09** | Claim Frequency Code | `1` | `1` original, `7` replacement, `8` void, from the claim | ### CAS: Claim Adjustment `CAS` explains every difference between what was billed and what was paid. It appears at claim level (loop 2100) and service line level (loop 2110). ``` CAS*CO*45*33~ CAS*PR*3*25~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **CAS01** | Claim Adjustment Group Code | `CO` | Who carries the adjustment: `CO`, `PR`, `OA` or `PI` | | **CAS02** | Adjustment Reason Code | `45` | The CARC: why the amount was adjusted | | **CAS03** | Adjustment Amount | `33` | The amount adjusted. Positive reduces payment; negative increases it | | **CAS04** | Adjustment Quantity | | Units adjusted, when units differ | | **CAS05 to CAS19** | More reason, amount, quantity sets | | Up to six adjustments under one group code | One CAS segment holds up to six reason/amount/quantity sets that share a group code. A second group code needs a second CAS segment. ### SVC: Service Payment Information ``` SVC*HC:99213*125*67~ DTM*472*20261103~ CAS*CO*45*33~ CAS*PR*3*25~ AMT*B6*92~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **SVC01** | Composite Procedure Code | `HC:99213` | Qualifier (`HC` for HCPCS/CPT, others for revenue codes, NDC, dental) and the procedure, plus any modifiers | | **SVC02** | Line Item Charge | `125` | Billed for the line | | **SVC03** | Line Item Payment | `67` | Paid for the line | | **SVC04** | Revenue Code | | Institutional revenue code, where used | | **SVC05** | Units of Service Paid | | Units paid, when not 1 | | **SVC06** | Original Procedure Code | | The billed procedure, when the payer paid a different one | `AMT*B6` gives the allowed amount for the line. If the payer adjudicated a different procedure or units than you billed, `SVC06` and `SVC07` show what you originally sent, which is how you spot recoding. ### LQ: Remark Codes ``` LQ*HE*N130~ ``` `LQ01` = `HE` marks a remittance advice remark code (RARC) in `LQ02`. RARCs add detail to a CARC, or carry an informational alert. Some CARCs, such as `16` and `96`, carry a usage note in the X12 list saying a remark code must accompany them. Claim-level remark codes go in `MIA` (inpatient) or `MOA` (outpatient) instead. ### PLB: Provider Level Adjustment ``` PLB*1999999992*20261231*WO:EFP26100917*40~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **PLB01** | Provider Identifier | `1999999992` | The provider the adjustment applies to, usually its NPI | | **PLB02** | Fiscal Period Date | `20261231` | The last day of the provider's fiscal year, as the TR3 defines it | | **PLB03** | Adjustment Reason and Reference | `WO:EFP26100917` | Reason code and a reference, often the claim the adjustment relates to | | **PLB04** | Adjustment Amount | `40` | Positive reduces the payment; negative increases it | | **PLB05 to PLB14** | More reason and amount pairs | | Up to six adjustments per PLB | Common PLB reason codes include `WO` (overpayment recovery), `L6` (interest owed), `FB` (forwarding balance), `72` (authorized return) and `J1` (nonreimbursable). PLB adjustments are not tied to any claim in the same 835, so they are easy to miss during posting and are a common reason a deposit "does not match" the claims. ## Claim Adjustment Group Codes: CO, PR, OA, PI The group code is the first thing to read on any CAS segment, because it says who carries the amount. X12 publishes four group codes. | Code | X12 name | What it generally means | Who usually carries it | |---|---|---|---| | **CO** | Contractual Obligation | An amount adjusted under the provider's contract or a regulation, such as the difference between billed charges and the contracted rate | The provider. It is generally written off, not billed to the patient | | **PR** | Patient Responsibility | Deductible, coinsurance, copay and other amounts the patient owes under the plan | The patient (or a secondary payer) | | **OA** | Other Adjustment | An adjustment that fits neither CO nor PR, such as an exact duplicate claim or an amount already paid by another payer | Depends on the reason code | | **PI** | Payor Initiated Reduction | A reduction the payer initiates where, in the payer's view, the patient is not responsible and no contract between payer and provider covers it | Disputed between provider and payer | Not every payer uses all four. The CMS Medicare companion guide limits Medicare contractors to `CO`, `OA` and `PR`. Whether a provider may bill a patient for any adjusted amount is set by its contracts and applicable law, not by the 835 format. ## Claim Adjustment Reason Codes (CARC) and Remark Codes (RARC) CARCs explain why an amount was adjusted; RARCs add detail. Both lists are updated on a regular cycle, and codes are added, revised and deactivated with start and stop dates, so your billing system should load them from the published lists rather than hard-coding descriptions. A few CARCs you will see constantly: | CARC | X12 description (short) | Typical group | |---|---|---| | **1** | Deductible amount | PR | | **2** | Coinsurance amount | PR | | **3** | Co-payment amount | PR | | **45** | Charge exceeds fee schedule/maximum allowable or contracted/legislated fee arrangement | CO | | **97** | The benefit for this service is included in the payment/allowance for another service/procedure that has already been adjudicated | CO | | **16** | Claim/service lacks information or has submission/billing error(s) | CO, with a remark code | | **18** | Exact duplicate claim/service | OA | | **29** | The time limit for filing has expired | CO | | **50** | Non-covered services because this is not deemed a "medical necessity" by the payer | CO | | **96** | Non-covered charge(s) | CO, with a remark code | | **204** | This service/equipment/drug is not covered under the patient's current benefit plan | CO or PR, per the payer | A few RARCs that often travel with them: | RARC | Description (short) | |---|---| | **N130** | Consult plan benefit documents/guidelines for information about restrictions for this service | | **M15** | Separately billed services/tests have been bundled as they are considered components of the same procedure | | **MA130** | Your claim contains incomplete and/or invalid information, and no appeal rights are afforded because the claim is unprocessable | | **N381** | Alert: Consult our contractual agreement for restrictions/billing/payment information related to these charges | The "typical group" column reflects common usage, not a rule. The group code on the actual CAS segment is what counts, and the X12 list itself restricts some pairings (for example, its note on CARC `18`). ## How an 835 Balances The 835 is built to balance at three levels. A file that does not balance is a payer error worth raising, and a posting that does not balance is usually a missed PLB or CAS. | Level | Rule | Example from the sample | |---|---|---| | **Service line** | `SVC02` minus the line's CAS amounts = `SVC03` | 125 minus 33 minus 25 = 67 | | **Claim** | `CLP03` minus all claim and line CAS amounts = `CLP04` | 160 minus 33, 25 and 17 = 85 | | **Transaction** | Sum of `CLP04` minus sum of PLB amounts = `BPR02` | 85 plus 0 minus 40 = 45 | The transaction rule comes straight from the TR3, which X12 quotes in its published interpretation on [PLB amounts](https://x12.org/resources/requests-for-interpretation/rfi-1961-plb-adjustment-field-lengh): the sum of all claim payments minus the sum of all provider-level adjustments equals the total payment amount. ## Matching the 835 Back to the 837 Posting depends on finding the claim each CLP refers to. The identifiers that tie the two together: | 835 element | 837 element | What to use it for | |---|---|---| | **`CLP01`** Patient Control Number | **`CLM01`** Patient Control Number | Primary match. Keep `CLM01` unique per claim so this is never ambiguous | | **`CLP07`** Payer Claim Control Number | **`REF*F8`** in loop 2300 of a later claim | Quote it when you send a replacement (`7`) or void (`8`) claim | | **`REF*6R`** in loop 2110 | **`REF*6R`** Line Item Control Number in loop 2400 | Line-level match, when you send line control numbers | | **`SVC01`**, **`DTM*472`** | **`SV1`/`SV2`/`SV3`** and **`DTP*472`** | Fallback line match by procedure and date | | **`NM1*QC`** patient | Subscriber or patient loop | Sanity check, not a key | A few cases break naive matching: - **Reversals and corrections.** A payer that reprocesses a claim may send a reversal (`CLP02` = `22`, amounts negated) and the corrected claim in the same or a later 835. Post both. - **Split claims.** A payer may split one 837 claim into several CLPs with the same `CLP01`. Match on `CLP01` plus `CLP07`. - **Forwarded claims.** `CLP02` values `19` to `21` and `23` mean the payer forwarded the claim to another payer; expect a second 835 from that payer. ## Where the 835 Sits in the Claim Cycle | Transaction | Sent by | Purpose | |---|---|---| | **[270](/guides/edi/270-eligibility-benefit-inquiry) / [271](/guides/edi/271-eligibility-benefit-response)** | Provider / Payer | Check coverage and benefits before or at the visit | | **[837 Health Care Claim](/guides/edi/837-health-care-claim)** | Provider | Bill the payer | | **[999 Implementation Acknowledgment](/guides/edi/999-implementation-acknowledgment)** | Receiver | Confirm the claim file passed validation | | **277CA Claim Acknowledgment** | Payer | Accept or reject each claim into adjudication | | **[276](/guides/edi/276-claim-status-request) / [277](/guides/edi/277-claim-status-response)** | Provider / Payer | Ask about and report claim status before payment | | **835 Claim Payment/Advice** | Payer | Explain the payment and every adjustment | | **[834](/guides/edi/834-benefit-enrollment-and-maintenance) / [820](/guides/edi/820-payment-order)** | Plan sponsor | Enrollment and premium payment on the plan side; "patient not eligible" denials often trace back to enrollment | ## Common 835 Problems and How to Handle Them | Problem | What happens | What to do | |---|---|---| | **PLB not posted** | Deposit does not match the posted claims | Post PLB adjustments as their own entries, by reason code | | **CO amounts moved to the patient** | Patients billed for amounts the provider should write off | Drive patient balances from PR adjustments only | | **`CLP01` not unique** | Payments posted to the wrong claim | Generate unique patient control numbers per claim on the 837 | | **Reversal posted without its correction** | Account shows a takeback with no repayment | Post `CLP02` = `22` reversals together with the corrected claim | | **Hard-coded CARC/RARC descriptions** | Outdated or wrong denial text | Load the current X12 code lists on each update | | **835 arrives without EFT, or EFT without 835** | Cash cannot be applied | Reassociate on `TRN02` and the EFT trace number | | **Payer sends a different procedure in `SVC01`** | Line does not match the claim | Read `SVC06` for the original code, and review recoding | | **Unbalanced 835** | Posting cannot reconcile | Raise it with the payer's EDI contact in `PER*BL` | ## 835 Implementation Checklist - Enroll for ERA (and EFT) with each payer, and note which clearinghouse or payee ID will receive the 835 - Get each payer's 835 companion guide and confirm `005010X221A1` - Confirm your billing system loads current CARC and RARC lists - Map group codes to posting actions: CO write-off, PR patient balance, OA and PI by reason - Post PLB adjustments separately, with their reason codes and references - Set up reassociation between 835s and deposits on `TRN02` - Keep `CLM01` unique on outbound 837s so `CLP01` always finds one claim - Send line item control numbers (`REF*6R`) on 837 lines if you want line-level matching - Build a denial work queue keyed on CARC, RARC and payer - Monitor for 835s that do not balance and raise them with the payer ## Reading 835 Files With OrderSync's Free Inspector When a remittance does not match the deposit or a denial makes no sense, start with the raw file. Paste any X12 file into the [free EDI inspector](/edi-inspector) to see the payment, each claim, every service line and CAS adjustment broken out segment by segment, with control-number and segment-count problems flagged. It runs in your browser and needs no signup. Use sample files, or files with patient data removed, when you are trying it out. The same files can be converted with the [EDI to JSON converter](/edi-to-json), and our [EDI document types reference](/edi-document-types) covers how the 835 fits among other X12 transactions. ## Frequently Asked Questions
### What is an 835 file? An 835 file is the X12 Health Care Claim Payment/Advice transaction, also called an electronic remittance advice (ERA). A health plan sends it to a provider to explain a payment: which claims it covers, what was paid on each claim and service line, and why any amount differs from what was billed. ### What is the difference between an 835 and an 837? The provider sends the 837 to bill a health plan for care. The health plan sends the 835 back to explain how it paid or denied those claims. CLP01 on the 835 echoes CLM01 on the 837, which is how the two are matched. ### What do CO, PR, OA and PI mean on an 835? They are claim adjustment group codes in CAS01. CO is contractual obligation, generally written off by the provider. PR is patient responsibility, such as deductible, coinsurance and copay. OA is other adjustment. PI is a payer initiated reduction. Medicare uses only CO, OA and PR. ### What are CARC and RARC codes? Claim adjustment reason codes (CARCs) explain why an amount was adjusted, for example 45 (charge exceeds the fee schedule or contracted rate) or 1 (deductible). Remittance advice remark codes (RARCs) add detail or alerts. X12 publishes both lists and updates them regularly, so load the current versions rather than relying on old descriptions. ### What is the PLB segment in an 835? PLB is the provider level adjustment. It carries adjustments that are not tied to one claim in the 835, such as overpayment recoveries (WO), interest (L6) and forwarding balances (FB). A positive PLB amount reduces the payment, and the total payment equals claim payments minus PLB amounts. ### How do I match an 835 payment to the bank deposit? Use the TRN segment. TRN02 is the check number or EFT trace number, and for EFT payments the same trace number travels in the CCD+ addenda record. Matching the two reassociates the remittance with the money. ### What does CLP02 = 22 mean? CLP02 = 22 is a reversal of previous payment. The payer is taking back an earlier payment on that claim, with the amounts shown as negatives. It is usually followed by the claim reprocessed with a new CLP, and both need to be posted. ### Why doesn't my 835 match the deposit? The most common reasons are a PLB adjustment that was not posted, a reversal posted without its corrected claim, or the 835 and EFT belonging to different payments. Check that claim payments minus PLB amounts equal BPR02, and that TRN02 matches the EFT trace number.
--- # EDI 837 Health Care Claim: 837P, 837I, 837D Source: https://ordersync.io/guides/edi/837-health-care-claim > EDI 837 explained: 837P, 837I and 837D claims, the 2000A/2000B/2300/2400 loops, CLM, HI, SV1, SV2 and SV3 segments, validation and matching to the 835. The EDI 837 Health Care Claim is the HIPAA X12 transaction providers use to bill health plans. It comes in three variants: 837P for professional claims, 837I for institutional (hospital and facility) claims and 837D for dental. Each file nests billing provider, subscriber, claim and service line loops, and payers answer with a 999, a 277CA and later an 835. **The EDI 837 is how almost every US health care claim reaches a payer.** A physician's office visit, a hospital emergency department stay and a dental cleaning all travel as 837s, usually through a clearinghouse. The three variants share one loop structure and differ in the claim and service line detail, which is why one guide can cover all three and why a validator has to know which variant it is reading. This guide covers what the 837 carries, the HL loop structure (2000A, 2000B, 2000C, 2300, 2400), the segments billing and health IT teams map, live examples of an 837P, an 837I and an 837D, how 837s are validated and acknowledged, and how each claim is matched to its 835 payment. It explains the file format only. It is not coding, billing or legal advice; code sets, payer companion guides and your compliance team govern what goes on a claim. ## What Is an EDI 837? **An EDI 837 is the Health Care Claim transaction set defined by [ASC X12](https://x12.org/products/transaction-sets), used by health care providers (or billing services and clearinghouses acting for them) to submit claims and encounter information to health plans.** It is the HIPAA standard for health care claims. [45 CFR 162.1102](https://www.ecfr.gov/current/title-45/subtitle-A/subchapter-C/part-162/subpart-K/section-162.1102) names three X12 technical reports, one per variant: | Variant | Used for | Technical report named by HIPAA | Version commonly sent in `GS08` / `ST03` | |---|---|---|---| | **837P** Professional | Physicians, therapists, labs, ambulance, other non-facility services (the electronic counterpart of the CMS-1500 form) | `005010X222` | `005010X222A1` | | **837I** Institutional | Hospitals, skilled nursing, home health, hospice and other facilities (the counterpart of the UB-04) | `005010X223`, with errata `005010X223A1` | `005010X223A2` | | **837D** Dental | Dental services (the counterpart of the ADA dental claim form) | `005010X224`, with errata `005010X224A1` | `005010X224A2` | Authoritative references for 837 work: - [45 CFR Part 162](https://www.ecfr.gov/current/title-45/subtitle-A/subchapter-C/part-162), administered by CMS, lists the adopted HIPAA claim standards and the National Provider Identifier (NPI) requirement - The X12 `005010X222A1`, `X223A2` and `X224A2` technical reports (TR3s) define every loop, segment and code for each variant - Payer and state companion guides, such as the Indiana Department of Health [837I](https://www.in.gov/health/cshcs/files/837I_Companion_Guide_5010.pdf) and [837D](https://www.in.gov/health/cshcs/files/ISDH_Companion_Guide_837D_V2_2__3_.pdf) companion guides, say which situational segments a receiver requires **Who sends it?** The provider's practice management or hospital billing system, usually through a clearinghouse. **Who receives it?** The health plan, either directly or through the clearinghouse. Coordination-of-benefits claims also go from one payer or provider to a secondary payer. **When is it sent?** After the service, once the claim is coded and checked. Most systems batch claims and send files daily. **Why does it matter?** A claim the payer cannot accept is a claim that is not paid. Rejections at the 999 or 277CA stage cost days; claims that never arrive cost timely filing. ## How the 837 Claim Cycle Works 1. **Eligibility.** Before or at the visit, the provider checks coverage with a [270 eligibility inquiry](/guides/edi/270-eligibility-benefit-inquiry) and gets a [271 response](/guides/edi/271-eligibility-benefit-response). 2. **Coding and charge entry.** Diagnoses (ICD-10-CM), procedures (CPT/HCPCS, CDT for dental, revenue codes for facilities) and charges are entered. 3. **Claim build and scrub.** The billing system builds the 837 and the clearinghouse runs edits against the TR3 and payer rules. 4. **Submission.** The 837 file goes to the payer. 5. **Acknowledgments.** A [999](/guides/edi/999-implementation-acknowledgment) reports whether the file passed X12 and TR3 validation. A 277CA (claim acknowledgment, `005010X214`) reports which claims were accepted into adjudication and which were rejected. 6. **Status.** While a claim is pending, a [276 claim status request](/guides/edi/276-claim-status-request) returns a [277 status response](/guides/edi/277-claim-status-response). 7. **Payment.** The payer pays and explains with an [835 remittance advice](/guides/edi/835-health-care-claim-payment-advice). `CLP01` on the 835 echoes `CLM01` from the 837. 8. **Correction.** Denied or incorrect claims go back as replacement (`7`) or void (`8`) claims referencing the payer's claim number. ## The 837 Loop Structure Every 837 variant uses the same HL (hierarchical level) tree. Understanding it is most of the work in reading one. ``` ST / BHT Transaction header 1000A NM1*41 Submitter (with PER contact) 1000B NM1*40 Receiver 2000A HL*n**20*1 Billing provider level 2010AA NM1*85 Billing provider name, address, tax ID 2010AB NM1*87 Pay-to address (when different) 2000B HL*n*p*22*0|1 Subscriber level, SBR 2010BA NM1*IL Subscriber 2010BB NM1*PR Payer 2000C HL*n*p*23*0 Patient level, PAT (only when the patient is not the subscriber) 2010CA NM1*QC Patient 2300 CLM Claim (under 2000B, or under 2000C when present) 2310x NM1 Claim-level providers (referring, rendering, attending, facility) 2320 SBR Other payers (coordination of benefits) 2400 LX + SV1|SV2|SV3 Service lines 2410 LIN Drug identification 2420x NM1 Line-level providers 2430 SVD + CAS Prior payer's line adjudication (secondary claims) SE ``` | Loop | Level code (`HL03`) | What it holds | |---|---|---| | **2000A** | `20` | The billing provider: who is billing, with NPI and tax ID. One 2000A can hold many subscribers and claims | | **2000B** | `22` | The subscriber: the person who holds the coverage, the payer, and the group number in `SBR` | | **2000C** | `23` | The patient, when different from the subscriber and the payer does not identify the patient with their own member ID | | **2300** | (not an HL) | One claim: `CLM`, dates, diagnoses, claim-level providers and notes | | **2400** | (not an HL) | One service line: procedure, charge, units and date | `HL04` (hierarchical child code) is `1` when the level has children and `0` when it does not. A subscriber who is also the patient has `HL04` = `0` on the 2000B, and the claim sits directly under it. **Patient or subscriber?** In 5010, a dependent who can be uniquely identified by the payer, usually through their own member ID, is treated as the subscriber. X12's published [interpretation on subscriber versus dependent](https://x12.org/resources/requests-for-interpretation/rfi-2117-sub-vs-dependent-270271) states this for eligibility and says "the same logic exists in the 837 Claims". So that dependent is reported in 2000B, and the 2000C patient loop is used only when the payer identifies the patient through the subscriber. Payer companion guides can tighten this further. ## Interactive Example: 837P Professional Claim A fictional family practice bills an office visit and a rapid strep test for a patient who is also the subscriber. `CLM05` = `11:B:1` is place of service 11 (office), qualifier B, frequency 1 (original claim). The principal diagnosis is in `HI` with qualifier `ABK`, and each line is an `SV1`. The total in `CLM02` ($160.00) equals the sum of the lines. This claim's `CLM01` is the `CLP01` in the [835 guide's sample remittance](/guides/edi/835-health-care-claim-payment-advice). All people, providers and IDs are fictional; NPI `1999999992` is a check-digit-valid test value. ## Interactive Example: 837I Institutional Claim A fictional hospital bills an outpatient emergency department visit. `CLM05` = `13:A:1` gives the type of bill as facility type 13 with frequency 1 (bill type 131). The claim adds statement dates (`DTP*434`), institutional codes in `CL1`, a principal diagnosis and a patient's reason for visit (`HI` with `ABK` and `APR`), an attending provider (`NM1*71`) and three `SV2` lines, each with a revenue code and a procedure code. NPIs `1999999976` and `1999999984` are check-digit-valid test values. ## Interactive Example: 837D Dental Claim A fictional dental group bills a periodic evaluation, an adult prophylaxis and a one-surface posterior resin filling. Dental lines use `SV3` with the `AD` (ADA) qualifier, and the filling adds a `TOO` segment identifying tooth 30 and the occlusal surface. NPI `1999999968` is a check-digit-valid test value. ## 837P vs 837I vs 837D | | 837P Professional | 837I Institutional | 837D Dental | |---|---|---|---| | **Paper equivalent** | CMS-1500 | UB-04 | ADA dental claim form | | **Implementation guide** | `005010X222A1` | `005010X223A2` | `005010X224A2` | | **`CLM05` composite** | Place of service : `B` : frequency | Facility type : `A` : frequency (the type of bill) | Place of service : `B` : frequency | | **Service line segment** | `SV1` | `SV2` | `SV3` | | **Procedure codes** | CPT/HCPCS (`HC`) | Revenue code in `SV201`, plus CPT/HCPCS where required | CDT (`AD`) | | **Diagnosis codes** | ICD-10-CM in `HI`, pointed to from `SV107` | ICD-10-CM in `HI`, with admitting and reason-for-visit qualifiers | `HI` where the payer requires it | | **Facility detail** | | Statement dates, `CL1` admission and discharge codes, value, condition and occurrence codes in `HI` | | | **Dental detail** | | | `TOO` tooth and surface, oral cavity area in `SV304` | | **Key provider roles** | Billing, rendering, referring | Billing, attending, operating, other | Billing, rendering | ## Key Segments Explained ### BHT: Beginning of Hierarchical Transaction ``` BHT*0019*00*EFP20261103A*20261103*1015*CH~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **BHT01** | Hierarchical Structure Code | `0019` | Information source, subscriber, dependent structure | | **BHT02** | Transaction Set Purpose Code | `00` | Original | | **BHT03** | Reference Identification | `EFP20261103A` | The submitter's batch reference | | **BHT04 / BHT05** | Date and time | `20261103`, `1015` | When the file was created | | **BHT06** | Claim or Encounter Identifier | `CH` | `CH` chargeable (a claim for payment), `RP` reporting (encounters), `31` subrogation demand | ### NM1: Submitter, Receiver, Providers, Subscriber, Payer The 837 uses `NM1` for every party. `NM101` says which one, and `NM108`/`NM109` carry the identifier. | `NM101` | Party | Loop | Typical ID (`NM108`) | |---|---|---|---| | `41` | Submitter | 1000A | `46` electronic transmitter ID | | `40` | Receiver | 1000B | `46` | | `85` | Billing provider | 2010AA | `XX` NPI | | `87` | Pay-to provider | 2010AB | Address only | | `IL` | Subscriber | 2010BA | `MI` member ID | | `PR` | Payer | 2010BB | `PI` payer ID | | `QC` | Patient | 2010CA | | | `82` | Rendering provider | 2310B (837P, 837D) / 2420A | `XX` NPI | | `71` | Attending provider (837I) | 2310A | `XX` NPI | | `DN` | Referring provider | 2310A (837P) | `XX` NPI | The billing provider's NPI must pass the NPI check digit, and its address in `N3`/`N4` must be a street address with a nine-digit ZIP code in 5010. The tax ID follows in `REF*EI` (or `REF*SY` for an individual's SSN, where allowed). ### SBR: Subscriber Information ``` SBR*P*18*GRP778899******CI~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **SBR01** | Payer Responsibility Sequence | `P` | `P` primary, `S` secondary, `T` tertiary for this payer | | **SBR02** | Individual Relationship Code | `18` | `18` (self) when the subscriber is the patient; empty when a 2000C patient loop follows | | **SBR03** | Group or Policy Number | `GRP778899` | The group number from the member's card | | **SBR09** | Claim Filing Indicator Code | `CI` | Type of coverage, for example `CI` commercial, `MB` Medicare Part B, `MC` Medicaid, `HM` HMO | ### CLM: Claim Information ``` CLM*EFP26110301*160***11:B:1*Y*A*Y*Y~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **CLM01** | Patient Control Number | `EFP26110301` | Your claim ID. Returned as `CLP01` on the 835 and in 277 responses, so keep it unique | | **CLM02** | Total Claim Charge | `160` | Must equal the sum of the service line charges | | **CLM05-1** | Place of service or facility type | `11` | 837P/837D: place of service code. 837I: facility type code (first two digits of the type of bill) | | **CLM05-2** | Facility Code Qualifier | `B` | `B` place of service (837P/837D), `A` uniform billing claim form bill type (837I) | | **CLM05-3** | Claim Frequency Type Code | `1` | `1` original, `7` replacement of a prior claim, `8` void of a prior claim | | **CLM06** | Provider Signature Indicator | `Y` | 837P/837D only | | **CLM07** | Assignment or Plan Participation Code | `A` | Whether the provider accepts assignment | | **CLM08** | Benefits Assignment Certification | `Y` | Whether the patient assigned benefits to the provider | | **CLM09** | Release of Information Code | `Y` | Whether the provider has the patient's authorization to release information | Replacement and void claims also carry the payer's original claim number in `REF*F8` in loop 2300. That number comes from `CLP07` on the 835. ### HI: Health Care Diagnosis and Other Codes ``` HI*ABK:J029~ ``` `HI` carries up to 12 codes per segment as composites: a qualifier and a code. ICD-10-CM codes are sent without the decimal point (`J029` is J02.9). | Qualifier | Meaning | |---|---| | `ABK` | Principal diagnosis (ICD-10-CM) | | `ABF` | Other diagnosis (ICD-10-CM) | | `ABJ` | Admitting diagnosis (837I) | | `APR` | Patient's reason for visit (837I) | 837I claims use further `HI` qualifiers for condition, occurrence, value and procedure codes; the 837I TR3 and the payer's guide list them. In an 837P, `SV107` points from each line to the diagnoses in `HI` by position (1 to 12). ### SV1: Professional Service (837P) ``` SV1*HC:99213*125*UN*1***1~ DTP*472*D8*20261103~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **SV101** | Composite Procedure Code | `HC:99213` | `HC` (HCPCS, which includes CPT) and the code, then up to four modifiers | | **SV102** | Line Item Charge | `125` | Billed amount for the line | | **SV103** | Unit of Measure | `UN` | `UN` units, `MJ` minutes (anesthesia) | | **SV104** | Service Unit Count | `1` | Number of units | | **SV105** | Place of Service Code | | Only when different from `CLM05-1` | | **SV107** | Diagnosis Code Pointer | `1` | Which `HI` diagnoses support this line | ### SV2: Institutional Service (837I) ``` SV2*0450*HC:99284*950*UN*1~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **SV201** | Revenue Code | `0450` | The facility revenue code for the department or service | | **SV202** | Composite Procedure Code | `HC:99284` | CPT/HCPCS, where the payer or the revenue code requires it | | **SV203** | Line Item Charge | `950` | Billed amount | | **SV204** | Unit of Measure | `UN` | `UN` units or `DA` days | | **SV205** | Service Unit Count | `1` | Number of units or days | ### CL1: Institutional Claim Codes (837I) ``` CL1*1*1*01~ ``` `CL101` is the admission type, `CL102` the point of origin (admission source) and `CL103` the patient status (discharge status). The codes come from the National Uniform Billing Committee's UB-04 code sets. Inpatient claims need this segment; whether a payer also requires it on outpatient claims is set by its companion guide. ### SV3 and TOO: Dental Service (837D) ``` SV3*AD:D2391*140****1~ TOO*JP*30*O~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **SV301** | Composite Procedure Code | `AD:D2391` | `AD` (American Dental Association codes, CDT) and the procedure | | **SV302** | Line Item Charge | `140` | Billed amount | | **SV303** | Place of Service Code | | Only when different from the claim | | **SV304** | Oral Cavity Designation | | Area of the mouth, for procedures that apply to an area rather than a tooth | | **SV305** | Prosthesis, Crown or Inlay Code | | Initial placement or replacement | | **SV306** | Procedure Count | `1` | Number of times performed | | **TOO01** | Code List Qualifier | `JP` | Universal National Tooth Designation System | | **TOO02** | Tooth Number | `30` | The tooth treated | | **TOO03** | Tooth Surface | `O` | Surface codes, as a composite when more than one surface | `TOO` can repeat (up to 32 times) when a line covers several teeth. ### LX and DTP: Service Line Number and Date Each 2400 loop starts with `LX` (a line counter starting at 1) and carries the service date in `DTP*472`, as a single date (`D8`) or a range (`RD8`). Many payers also want a line item control number in `REF*6R`, which the payer returns on the 835 for line-level matching. ## 837 Validation: What an "EDI 837 Validator" Actually Checks Claim files are checked in layers. The industry commonly describes them as the WEDI SNIP validation types: | Layer | What it checks | Example failure | |---|---|---| | **1. Integrity** | X12 syntax: envelopes, segment terminators, control numbers, counts | `SE01` does not equal the segment count | | **2. Requirement** | TR3 rules: required segments and elements, element lengths and values | Missing `REF*EI` on the billing provider | | **3. Balancing** | Amounts that must add up | `CLM02` does not equal the sum of line charges | | **4. Situation** | Situational rules ("required when...") | Patient loop sent although the patient is the subscriber | | **5. External code sets** | Codes valid in the external lists on the date of service | Invalid or deleted ICD-10-CM, CPT or place of service code | | **6. Product or service type** | Rules specific to 837P, 837I or 837D | Revenue code missing on an institutional line | | **7. Trading partner** | The payer's companion guide | A payer-specific REF or payer ID | Layers 1 and 2 surface on the [999](/guides/edi/999-implementation-acknowledgment); claims that pass the file but fail payer edits are rejected on the 277CA. A free X12 parser handles layer 1 and makes layers 2 to 4 readable. Code set and payer rules (layers 5 to 7) need the clearinghouse's or payer's edits, because they depend on licensed code sets, dates of service and contracts. ## How the 837 Connects to the 835 | 837 | 835 | Notes | |---|---|---| | `CLM01` patient control number | `CLP01` | The primary match | | `CLM02` total charge | `CLP03` | What you billed | | `CLM05-1` place of service or facility type | `CLP08` | Echoed back | | `CLM05-3` frequency | `CLP09` | Echoed back | | `REF*6R` line item control number | `REF*6R` in loop 2110 | Line-level match | | `SV101` / `SV202` / `SV301` procedure | `SVC01` | `SVC06` shows the original code if the payer changed it | | `DTP*472` service date | `DTM*472` | Line date | | `REF*F8` on a replacement | `CLP07` from the earlier 835 | Ties a corrected claim to the original | See the [835 guide](/guides/edi/835-health-care-claim-payment-advice) for how the payer reports each adjustment with CAS group codes (CO, PR, OA, PI), CARCs and RARCs. ## Common 837 Errors and How to Prevent Them | Error | Where it surfaces | Prevention | |---|---|---| | **Invalid NPI check digit or NPI not matching the payer's enrollment** | 999 or 277CA | Validate the Luhn check digit and keep the NPI on file with each payer | | **Billing provider address is a PO box, or ZIP is five digits** | 277CA | Use a street address and nine-digit ZIP in 2010AA; put a PO box in the pay-to loop | | **`CLM02` does not equal the sum of line charges** | 999 or 277CA | Compute the total from the lines when the file is built | | **Patient loop used for a dependent with their own member ID** | 277CA | Report that member as the subscriber in 2000B | | **Wrong `GS08`/`ST03` for the variant** | 999 | `005010X222A1` for 837P, `X223A2` for 837I, `X224A2` for 837D, unless the payer's guide says otherwise | | **Diagnosis sent with a decimal point** | 999 | Strip the decimal: `J02.9` is sent as `J029` | | **Replacement claim without `REF*F8`** | 277CA or 835 denial | Send the payer claim control number from the 835's `CLP07` | | **Duplicate `CLM01` across claims** | 835 posting | Generate unique patient control numbers per claim | | **Missing diagnosis pointer in `SV107`** | 999 | Point every 837P line at one or more `HI` codes | | **Unchecked 999 and 277CA** | Silent | Claims rejected at either stage never reach adjudication. Work both every day | ## 837 Implementation Checklist - Get the clearinghouse and payer companion guides for each variant you send - Confirm `GS08`/`ST03` values for 837P, 837I and 837D - Confirm payer IDs (`NM1*PR`) and submitter and receiver IDs with the clearinghouse - Validate NPIs, tax IDs and the billing provider's street address and nine-digit ZIP - Decide subscriber versus patient loops using the payer's member ID rules - Keep `CLM01` unique and send `REF*6R` on lines if you want line-level 835 matching - Build replacement and void claim workflows using `CLM05-3` and `REF*F8` - Set up daily review of 999s, 277CAs and 277 status responses - Reconcile 835 payments back to claims on `CLP01` - Test each variant, including a secondary claim with 2320 and 2430 loops if you bill secondary payers For background on X12 envelopes and acknowledgments, see our [EDI document types reference](/edi-document-types), the [997 functional acknowledgment guide](/guides/edi/997-functional-acknowledgment) and the [834 enrollment guide](/guides/edi/834-benefit-enrollment-and-maintenance) for the plan side. ## Reading 837 Files With OrderSync's Free Inspector When a claim file is rejected, the fastest way in is to read it loop by loop. Paste any X12 file into the [free EDI inspector](/edi-inspector) to see the envelope, the billing provider, subscriber, claim and service line loops broken out segment by segment, with control-number and segment-count problems flagged. It runs in your browser and needs no signup. Use sample files, or files with patient data removed, when you are trying it out. The [EDI to JSON converter](/edi-to-json) and [EDI translator](/edi-translator) work on the same files. ## Frequently Asked Questions
### What is an 837 file? An 837 file is the X12 Health Care Claim transaction. Providers, billing services and clearinghouses use it to send claims and encounters to health plans. Under HIPAA it comes in three variants: 837P professional, 837I institutional and 837D dental, each with its own 5010 implementation guide. ### What is the difference between 837P and 837I? The 837P carries professional claims from physicians and other practitioners, with SV1 service lines and a place of service in CLM05. The 837I carries facility claims from hospitals and other institutions, with SV2 revenue-code lines, a type of bill in CLM05 and institutional detail such as statement dates and CL1 codes. ### What are the main loops in an 837? Loop 2000A is the billing provider, 2000B the subscriber and payer, 2000C the patient when different from the subscriber, 2300 the claim and 2400 the service lines. 1000A and 1000B before them identify the submitter and receiver. ### How do I validate an 837 file? Check it in layers: X12 syntax and envelopes, the implementation guide's required segments and values, balancing (line charges must add up to CLM02), situational rules, code sets, variant rules and the payer's companion guide. A parser covers the first layers; clearinghouse and payer edits cover the rest. The 999 and 277CA report what failed. ### What is CLM01 in an 837? CLM01 is the patient control number, the provider's own ID for the claim. The payer returns it in CLP01 on the 835 remittance and in claim status responses, so it should be unique for every claim. ### What does CLM05 mean? CLM05 is a composite. In 837P and 837D it holds the place of service code, the qualifier B and the claim frequency code. In 837I it holds the facility type code, the qualifier A and the frequency code, which together make the type of bill. Frequency 1 is an original claim, 7 a replacement and 8 a void. ### What acknowledgments come back for an 837? A 999 reports whether the file passed X12 and implementation guide validation. A 277CA reports which claims were accepted into adjudication or rejected. Later, 277 claim status responses answer 276 inquiries, and the 835 reports payment. ### How is an 837 matched to an 835? CLM01 on the 837 equals CLP01 on the 835. Line item control numbers in REF*6R match at line level, and the payer's claim control number in CLP07 is what you send back in REF*F8 on a replacement or void claim.
--- # EDI 840 Request for Quotation Guide Source: https://ordersync.io/guides/edi/840-request-for-quotation > EDI 840 Request for Quotation explained: BQT, PO1, PID and CTT segments, a live RFQ example, the 840 to 843 to 850 flow, and common mapping errors. The EDI 840 Request for Quotation is the X12 transaction a buyer sends to one or more suppliers to ask for prices, lead times and terms on a defined list of items before ordering. It commits the buyer to nothing. Suppliers answer with an EDI 843, and the buyer places the winning order on an EDI 850. **The EDI 840 is a buyer's question in a fixed format: what would these items cost, and how fast can you ship them?** It names the items, quantities, delivery location and the date quotes are due, and leaves the prices blank for the supplier to fill in. The answer comes back as an [843 Response to Request for Quotation](/guides/edi/843-response-to-request-for-quotation), and if the buyer accepts, the order follows as an [850 purchase order](/guides/edi/850-purchase-order). This guide covers what the 840 carries, where it is used, every segment in a typical RFQ, a live example you can click through, how it compares with the 843 and 850, and the mapping errors that make quotes impossible to match. ## What Is an EDI 840? **An EDI 840 is the Request for Quotation transaction set defined by [ASC X12](https://x12.org/products/transaction-sets). Potential buyers use it to ask potential sellers for price, delivery schedule and other terms for goods or services.** It travels in functional group `RQ` (the `GS01` value), and the supplier's answer, the 843, travels in group `RR`. Authoritative references for 840 work: - The [X12 transaction set catalog](https://x12.org/products/transaction-sets) defines the 840 and the 843 that answers it - The [Stedi X12 004010 reference for the 840](https://www.stedi.com/edi/x12-004010/840) lists the segment order, loops and usage, and notes the 840 is published as a Draft Standard for Trial Use - U.S. federal procurement is one of the heaviest users. The Defense Logistics Agency lists the 840 and 843 among its [common procurement EDI transactions](https://ndia.dtic.mil/wp-content/uploads/2024/dla/Wed_Breakout_DB_EDI.pdf) and publishes its own 840 implementation conventions - In UN/EDIFACT the equivalent message is REQOTE, answered by QUOTES, both in the [UN/EDIFACT directory](https://unece.org/trade/uncefact/unedifact) **Who sends it?** The buyer: a distributor, manufacturer, retailer or government agency sourcing a defined list of items. **Who receives it?** One supplier or several. The same request often goes to three or four vendors so the buyer can compare. **When is it sent?** Before any purchase order, during sourcing, a re-bid of an existing item, or a one-time buy of something not on contract. **Why does it matter?** A structured RFQ lets the buyer load every supplier's answer into a sourcing system and compare them line by line, instead of retyping quotes from emails and PDFs. ## How Common Is the 840? **The 840 and 843 pair is far less common than the 850, 856 and 810.** Most commercial quoting still happens by email, supplier portal or a configure-price-quote tool. Where the 840 does show up, it tends to be in procurement operations that already run sourcing electronically: government buying, large MRO and industrial distribution, and some healthcare supply chains (HIBCC publishes an 840 guideline for that sector). If your customers quote by email, you may never receive an 840. If one of them does start sending them, it is usually because their sourcing system expects quotes back as 843s, so plan for both directions at once. ## RFI vs RFP vs RFQ These three requests look alike but ask for different things. Only the RFQ maps cleanly to the 840. | Request | What it asks for | Typical answer | |---|---|---| | **RFI** (Request for Information) | Capabilities and background | A supplier profile, no price | | **RFP** (Request for Proposal) | A proposed solution and approach | A proposal with pricing tied to that approach | | **RFQ** (Request for Quotation) | A price against defined items and quantities | A quote you can compare line by line | The 840 assumes you already know the items and quantities. The code list for `BQT07` (Request for Quote Type Code) does include values for proposals and information requests, but in practice those requests carry narrative and attachments that fit poorly in a structured 840. ## The Quote-to-Order Flow 1. **Buyer sends the 840** to one or more suppliers with the items, quantities, ship-to and quote due date. 2. **Each supplier returns a [997](/guides/edi/997-functional-acknowledgment)** confirming the file parsed. This says nothing about price. 3. **Each supplier sends an 843** with prices, lead times and terms, echoing the RFQ number from `BQT02`. 4. **Buyer compares the 843s** on price, lead time, minimums and terms. 5. **Buyer sends an [850](/guides/edi/850-purchase-order)** to the winner, ideally referencing the quote. 6. **Supplier confirms with an [855](/guides/edi/855-purchase-order-acknowledgment)**, then ships and invoices on the usual [856](/guides/edi/856-ship-notice) and [810](/guides/edi/810-invoice). For the full chain from quote to payment, see the [EDI order lifecycle guide](/guides/edi/edi-order-lifecycle). ## Interactive Example: Distributor RFQ for Three Fastener Lines A marine supply distributor in Tacoma asks a fastener maker to quote three stainless lines for delivery to its DC. `BQT` carries the RFQ number `RFQ-260411`, the issue date, and the quote due date (qualifier `997`, Quote to be Received By). `DTM*002` gives the delivery date the buyer wants. Three `N1` loops name the buyer, the seller and the ship-to. Each `PO1` line has a quantity, unit and two part numbers, with no price, and `CTT` closes with 3 lines and 10,200 units. All names and IDs are fictional. Use the **Plain English** tab for a readable summary, or click any segment to break it down element by element. The supplier's answer to this exact request is the live example in our [843 guide](/guides/edi/843-response-to-request-for-quotation). ## 840 Structure at a Glance The 004010 840 has a long list of optional header segments. The table shows the ones you will meet most often. | Position | Segment | Name | Usage | Notes | |---|---|---|---|---| | Header | **ST** | Transaction Set Header | Mandatory | `ST01` = `840` | | Header | **BQT** | Beginning Segment for Request for Quotation | Mandatory | Purpose, RFQ number, date, due date, RFQ type | | Header | **CUR** | Currency | Optional | When quotes must be in a specific currency | | Header | **REF** | Reference Identification | Optional | Contract, project or solicitation numbers | | Header | **PER** | Administrative Communications Contact | Optional, up to 3 | The buyer to send questions to | | Header | **FOB** / **ITD** | F.O.B. instructions, terms of sale | Optional | Freight and payment terms the buyer expects | | Header | **DTM** | Date/Time Reference | Optional, up to 10 | Delivery requested and other dates | | Header loop | **N9** / MSG | Reference and message text | Optional | Long terms and conditions text | | Header loop | **N1** / N2 / N3 / N4 | Name and address | Optional, repeats | Buyer, seller, ship-to | | Detail loop | **PO1** | Baseline Item Data | Mandatory per line | Line number, quantity, unit, part numbers | | Detail loop | **PID** | Product/Item Description | Optional | Item description | | Detail loop | **DTM**, **SCH**, **MEA**, **PO4** | Dates, schedule, measurements, packaging | Optional | Line-level delivery dates, split schedules, specs | | Summary | **CTT** | Transaction Totals | Optional | Number of `PO1` lines, hash of quantities | | Summary | **SE** | Transaction Set Trailer | Mandatory | Segment count and control number | ## Key Segments Explained ### BQT: Beginning Segment for Request for Quotation ``` BQT*00*RFQ-260411*20261102*997*20261109**01~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **BQT01** | Transaction Set Purpose Code | `00` | `00` original, `01` cancellation, `04` change, `05` replace | | **BQT02** | Request for Quote Reference Number | `RFQ-260411` | The buyer's RFQ number. The 843 must echo it | | **BQT03** | Date | `20261102` | Reference date of the RFQ | | **BQT04** | Date/Time Qualifier | `997` | `997` = Quote to be Received By | | **BQT05** | Date | `20261109` | The date quotes are due | | **BQT06** | Purchase Order Type Code | | The type of order that would follow, when the guide uses it | | **BQT07** | Request for Quote Type Code | `01` | `01` request for quote. Other codes cover bids, proposals and amendments | `BQT04` and `BQT05` travel as a pair: send both or neither. Store `BQT02` against every supplier you sent the RFQ to, because that is the only key that ties their 843s back to your request. ### PER: Buyer Contact ``` PER*BD*DANA REYES*EM*SOURCING@HARBORPOINT.EXAMPLE~ ``` `PER01` = `BD` (Buyer Name or Department) tells the supplier who to ask about specifications. Quotes with questions attached are common, and a named contact keeps them out of a general inbox. ### DTM: Date/Time Reference ``` DTM*002*20261207~ ``` `DTM01` = `002` (Delivery Requested) is the date the buyer wants the goods. Suppliers use it to decide whether they can quote stock or need to quote production lead time. A header `DTM` applies to every line; a `DTM` inside a `PO1` loop applies to that line only. ### N1 Loop: Parties ``` N1*BY*HARBOR POINT MARINE SUPPLY*92*HPMS01~ N1*SE*CASCADE FASTENER CO*92*V20417~ N1*ST*HARBOR POINT MARINE SUPPLY DC*92*DC02~ N3*2200 HARBOR INDUSTRIAL WAY~ N4*TACOMA*WA*98421*US~ ``` `BY` is the buyer, `SE` the selling party being asked to quote, and `ST` the delivery location. The ship-to matters for price: freight and lead time depend on it, so suppliers quoting delivered prices need the full address. ### PO1: Baseline Item Data ``` PO1*1*5000*EA***BP*HP-SS316-HB0516*VP*CF-316-HX0516~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **PO101** | Assigned Identification | `1` | Line number. The 843 should echo it | | **PO102** | Quantity | `5000` | Quantity to be quoted | | **PO103** | Unit or Basis for Measurement Code | `EA` | `EA` each, `BX` box, `CA` case and so on | | **PO104** | Unit Price | | Usually empty on an RFQ. Some buyers send a target or last-paid price | | **PO105** | Basis of Unit Price Code | | Only with a price in `PO104` | | **PO106** / **PO107** | Product/Service ID Qualifier, ID | `BP`, `HP-SS316-HB0516` | Buyer's part number | | **PO108** / **PO109** | Product/Service ID Qualifier, ID | `VP`, `CF-316-HX0516` | Vendor's part number, when the buyer knows it | X12 syntax for `PO1` says that if `PO105` is present, `PO104` is required. An RFQ that sends a price basis with no price fails validation. Leave both empty unless you mean to send a target price. ### PID: Product/Item Description ``` PID*F****316 STAINLESS HEX BOLT 5/16-18 X 1 IN~ ``` `PID01` = `F` means free-form text in `PID05`. On an RFQ the description is often the only place a supplier sees the specification in words, so be precise: material, size, thread, pack. ### CTT: Transaction Totals ``` CTT*3*10200~ ``` `CTT01` is the number of `PO1` lines. `CTT02`, when sent, is the sum of the `PO102` quantities across all lines, regardless of unit. The supplier uses it to check that every line arrived. ## EDI 840 vs 843, 850 and 864 | Document | Sent by | Sent to | Purpose | |---|---|---|---| | **840 Request for Quotation** | Buyer | Supplier | What would these items cost, and when could you ship? | | **[843 Response to RFQ](/guides/edi/843-response-to-request-for-quotation)** | Supplier | Buyer | Here are my prices, lead times and terms | | **[850 Purchase Order](/guides/edi/850-purchase-order)** | Buyer | Supplier | Ship these items; this is a commitment to buy | | **[864 Text Message](/guides/edi/864-text-message)** | Either | Either | Free-form questions, clarifications or notices about a solicitation | The difference that matters most: an 840 is a question and creates no obligation, while an 850 is an order. If your system treats an inbound 840 as an order, you will ship goods nobody bought. ## Common 840 Errors and How to Prevent Them | Error | What happens | Prevention | |---|---|---| | **840 loaded as a purchase order** | Supplier picks and ships unordered goods | Route `ST01` = `840` to sourcing, never to order entry | | **RFQ number not stored** | 843s arrive with nothing to match against | Save `BQT02` with every supplier the RFQ went to | | **`PO105` sent without `PO104`** | 997 rejection for a syntax error | Leave both empty, or send a target price in `PO104` | | **Vague descriptions** | Suppliers quote the wrong grade or pack | Send buyer part numbers and a precise `PID` text | | **Unit of measure unclear** | One supplier quotes per each, another per box | Send the unit you want quoted in `PO103` and say so in the RFQ terms | | **No quote due date** | Quotes trickle in after the decision | Send `BQT04` = `997` with the due date in `BQT05` | | **Ship-to missing** | Delivered prices and lead times cannot be compared | Include an `N1*ST` loop with full address | | **`CTT` disagrees with the lines** | Supplier's translator flags the file | Generate `CTT01` and `CTT02` from the lines, never by hand | ## 840 Implementation Checklist - Confirm with each partner that they want RFQs as 840s and can return 843s, and agree the X12 release (usually 004010) - Agree what goes in `BQT02` and how suppliers echo it on the 843 - Decide which part numbers you send (`BP`, `VP`, `MG` and so on) and keep them consistent with your 850s - Agree the unit of measure for each item, and whether target prices are ever sent - Agree how cancellations (`BQT01` = `01`) and changes are handled once quotes are in - Map the 997 you expect back for each 840, and alert when one is missing - Test an original RFQ, a cancellation, and a multi-line request to several suppliers ## Where OrderSync Fits OrderSync works on the order side of this flow. When the quote turns into a purchase order, OrderSync reads it in any format, whether an EDI 850 or 875, a PDF, an email or a spreadsheet, matches customers, items and units to your catalog, and outputs valid X12 or ERP data. Paste any 840 into the [free EDI inspector](/edi-inspector) to see it parsed segment by segment with a plain-English summary. To see how orders in mixed formats are handled, read about [multi-format order processing](/multi-format-orders) or [book a 15-minute walkthrough](/book). ## Frequently Asked Questions
### What is an EDI 840? The EDI 840 Request for Quotation is an X12 transaction a buyer sends to suppliers to ask for prices, lead times and terms on defined items before ordering. It travels in functional group RQ and is answered with an EDI 843. ### What is the difference between an EDI 840 and an EDI 850? An 840 asks for a price and commits the buyer to nothing. An 850 is a purchase order and creates an obligation to buy. In a full cycle the 840 comes first, suppliers answer with 843s, and the buyer sends an 850 to the supplier it picks. ### What does the supplier send back in response to an 840? A 997 Functional Acknowledgment confirms the file was received and parsed. The business answer, with prices, lead times and terms, is the EDI 843 Response to Request for Quotation, which echoes the RFQ number from BQT02. ### What is the BQT segment in an EDI 840? BQT is the Beginning Segment for Request for Quotation. BQT01 is the purpose code, BQT02 the RFQ number, BQT03 the RFQ date, BQT04 and BQT05 a date qualifier and date such as 997 Quote to be Received By, and BQT07 the type of request. ### Should an 840 include prices? Usually not. The unit price in PO104 is normally left empty for the supplier to fill in. Some buyers send a target or last-paid price there. If you send a price basis in PO105, X12 syntax requires a price in PO104 as well. ### Is the EDI 840 the same as EDIFACT REQOTE? They do the same job. The 840 is the X12 transaction set used mainly in North America. REQOTE is the UN/EDIFACT request for quote message, answered with QUOTES. The structures differ, but both carry a buyer's request for prices on defined items. ### Who uses the EDI 840? Buyers that run sourcing electronically: U.S. federal agencies such as the Defense Logistics Agency, large industrial and MRO distributors, and some healthcare supply chains. Most commercial quoting still happens by email or portal, so the 840 is much rarer than the 850. ### Do I need an 840 to buy from a supplier? No. If prices are already set by contract or price list, buyers go straight to an 850. The 840 is for soliciting competing quotes before committing.
--- # EDI 842 Nonconformance Report: Quality Guide Source: https://ordersync.io/guides/edi/842-nonconformance-report > EDI 842 explained: how manufacturers report supplier defects, the BNR, HL, NCD and NCA segments, status and action codes, and a live example. The EDI 842 Nonconformance Report is the X12 transaction a manufacturer uses to tell a supplier that parts or material failed to meet requirements. It identifies the part, the shipment and the defect, records the measured deviation, and states the action required, such as return, scrap, rework or a corrective action report. Automotive and aerospace supply chains use it most. **The EDI 842 is the supplier quality complaint, sent as data.** When a receiving inspector or a line operator finds a bracket with a hole in the wrong place, the plant raises a nonconformance report. In many supply chains that report still goes out as an email with a PDF form, and the supplier's quality engineer retypes it into their own system. The 842 sends the part number, shipment, defect, measurement and required action in a structure both quality systems can file and track. This guide covers what the 842 carries, how it fits a supplier corrective action process, every segment you will map, a live example from a fictional automotive plant, the status and disposition codes, and the mistakes that leave reports unresolved. ## What Is an EDI 842? **An EDI 842 is the Nonconformance Report transaction set defined by [ASC X12](https://x12.org/products/transaction-sets), used to report the nonconformance of an item to an established specification or requirement, and the actions taken or requested.** Its functional group code in `GS01` is `NC`. The header opens with a `BNR` segment, and the detail is built from hierarchical `HL` loops, so a single 842 can describe several parts or several defects on one part. Authoritative references for 842 work: - The [X12 transaction set catalog](https://x12.org/products/transaction-sets) defines the 842 and its segment order - The [Stedi 004010 842 reference](https://www.stedi.com/edi/x12-004010/842) lists every loop, including the NCD (nonconformance description), NCA (nonconformance action), RC (root cause) and EFI/BIN (attached file) structures - The code lists for report status, nonconformance determination and resultant action are X12 elements 886, 888 and 887, listed on the [Stedi element reference](https://www.stedi.com/edi/x12-004010/element/887) - The customer's own supplier quality manual governs what triggers a report, which fields are required, and how fast the supplier must respond **Who sends it?** Usually the customer: the manufacturing plant, its receiving inspection, or its supplier quality team. Some suppliers also send 842s to their customers or to their own sub-tier suppliers. **Who receives it?** The supplier's quality team, ideally straight into its corrective action system. **When is it sent?** When a nonconformance is found, at receiving inspection, on the line, or in the field, and again when the report's status changes. **Why does it matter?** A nonconformance usually starts a clock. The customer contains the suspect stock, and the supplier is expected to respond with containment, root cause and corrective action within the time its customer's quality manual sets. Reports that sit in an inbox can turn into a supplier scorecard hit or a debit for sorting and scrap costs. ## How a Nonconformance Report Moves A typical automotive or aerospace cycle: 1. **Detection.** The plant finds a defect at receiving, in production or in a customer return. 2. **Containment.** Suspect stock is quarantined. The plant may sort its inventory, and may ask the supplier to sort stock in transit. 3. **842 sent.** The plant reports the part, the shipment or lot, what was wrong, how many pieces are affected, and what it wants: return, scrap, use as is, rework, or a cause and corrective action report. 4. **Supplier response.** The supplier contains its own stock, investigates, and replies through the customer's process. Many customers use a structured problem-solving format such as an 8D report, sent through a portal or a follow-up 842. 5. **Disposition.** Rejected material is returned, scrapped or reworked. Returns often move with a separate return authorization and, in some supply chains, a [180 return merchandise authorization](/guides/edi/180-return-merchandise-authorization). 6. **Closure.** When the corrective action is verified, the report status moves to closed. The `BNR05` status code tracks where a report sits in this cycle, from open and waiting for a corrective action report to final or closed. ## Interactive Example: Automotive Nonconformance Report (842) A fictional axle assembly plant receives 2,400 front mounting brackets from a fictional stamping supplier. Receiving inspection finds 240 with the mounting hole out of tolerance: measured at 10.6 mm against a 9.8 to 10.2 mm limit. The 842 carries report number `NCR-26-01187` with status `OC` (open, waiting for a cause and corrective action report), the part and its engineering change level, the ASN reference, the defect description and measurement in the `NCD` loop, and two `NCA` actions: return the 240 pieces, and send a corrective action report. Use the **Plain English** tab for a readable summary, or click any segment to break it down element by element. ## 842 Structure at a Glance | Area | Segment | Name | Usage | Notes | |---|---|---|---|---| | Header | **ST** | Transaction Set Header | Mandatory | `ST01` = `842` | | Header | **BNR** | Beginning Segment for Nonconformance Report | Mandatory | Purpose, report number, date, time, status | | Header | **REF** | Reference Identification | Optional | Purchase order, contract, supplier's references | | Header | **DTM** | Date/Time Reference | Optional | Date found, date received | | Header loops | **MEA / PWK** | Measurements and paperwork | Optional | Report-level measurements, attached paperwork references | | Header loop | **N1 / N3 / N4 / REF / PER** | Parties | Optional | Reporting plant, supplier, contacts | | Detail loop | **HL** | Hierarchical Level | Mandatory, repeats | One level per part (or shipment, or lot) being reported | | HL loop | **LIN / PID** | Item identification and description | Optional | Part number, revision, lot or serial | | HL loop | **REF / DTM / QTY** | Item references, dates and quantities | Optional | ASN or shipment ID, quantities received or inspected | | HL loop | **MEA / SPS / STA** | Measurements and sampling | Optional | Inspection data and sampling plan | | NCD loop | **NCD** | Nonconformance Description | Optional, repeats | One per defect | | NCD loop | **NTE / QTY / AMT / MEA / RC** | Defect detail | Optional | Notes, defective quantity, cost, measured value, root cause | | NCD loop | **EFI / BIN** | Attached file | Optional | Photos or drawings embedded in the transaction | | NCA loop | **NCA** | Nonconformance Action | Optional, repeats | Each action requested or taken | | Summary | **SE** | Transaction Set Trailer | Mandatory | Segment count and control number | Customer guides use a fraction of this. Read the guide to see which levels, quantities and actions it sends, and which it expects back. ## Key Segments Explained ### BNR: Beginning Segment for Nonconformance Report ``` BNR*00*NCR-26-01187*20261105*0930*OC~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **BNR01** | Transaction Set Purpose Code | `00` | `00` = original. Updates use the purpose codes in the customer's guide | | **BNR02** | Reference Identification | `NCR-26-01187` | The nonconformance report number. Every reply and update references it | | **BNR03** | Date | `20261105` | Date the report was created | | **BNR04** | Time | `0930` | Time the report was created | | **BNR05** | Nonconformance Report Status Code | `OC` | Where the report stands (see below) | | **BNR06** | Transaction Type Code | | Further classifies the report, when the guide uses it | #### BNR05 status codes | Code | Meaning (X12) | |---|---| | `OC` | Open, waiting for cause and corrective action report | | `OD` | Open, waiting for authorization for material disposition | | `OI` | Open, waiting for cause and corrective action implementation | | `OS` | Open, waiting for supplier feedback | | `OT` | Open, waiting for additional test data | | `RV` | Revised | | `RE` | Reopened | | `FI` | Final | | `CL` | Closed | Track the status per report number. An 842 with `OC` is asking you for something; an 842 with `CL` is telling you the matter is done. ### HL and LIN: What Is Nonconforming ``` HL*1**I~ LIN**BP*7731-4402-A*EC*C~ PID*F****FRONT MOUNTING BRACKET~ REF*SI*ASN-889102~ ``` `HL*1**I` opens an item level. `LIN` carries the part as qualifier and value pairs: `BP` is the buyer's part number and `EC` the engineering change level. The revision matters: a part made to revision B and inspected against revision C is a different conversation from a part made wrong. `REF*SI` is the shipper's identifying number, which ties the report to the ASN that delivered the stock. Some guides use lot (`LT`) or serial (`SN`) identifiers here too. ### NCD: Nonconformance Description ``` NCD*52*5*1****MOUNTING HOLE POSITION OUT OF TOLERANCE~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **NCD01** | Measurement Attribute Code | `52` | A coded assessment. `52` = non-conforming, `22` = fail, `14` = no good | | **NCD02** | Nonconformance Determination Code | `5` | What the deviation was from (see below) | | **NCD03** | Assigned Identification | `1` | Defect number within the report | | **NCD04** | Product/Process Characteristic Code | | The class of characteristic, such as visual or mechanical | | **NCD05 / NCD06** | Agency Qualifier and Product Description Code | | A defect code from an industry or customer code list | | **NCD07** | Description | `MOUNTING HOLE POSITION OUT OF TOLERANCE` | Free-text defect description | At least one of `NCD01` and `NCD02` is required. `NCD02` codes say what kind of requirement was missed: | Code | Nonconformance resulted from deviation from... | |---|---| | `1` | Order specifications or requirements | | `2` | Shipment specifications or requirements | | `3` | Billing specifications or requirements | | `4` | Receipt specifications or requirements | | `5` | Acceptable specifications or requirements | The segments inside the NCD loop add detail to that defect. In the example, `NTE` explains that 240 of 2,400 pieces failed the gauge check, and `MEA*TR**10.6*MM*9.8*10.2` records the measured value against its limits. `RC` carries a root cause when one is known, and `EFI` with `BIN` can embed a photo or drawing, though many customers send images through a portal instead. ### NCA: Nonconformance Action ``` NCA*1*RT**240*EA~ NCA*2*RS*SUPPLIER TO SUBMIT CAUSE AND CORRECTIVE ACTION REPORT~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **NCA01** | Assigned Identification | `1` | Action number | | **NCA02** | Nonconformance Resultant Response Code | `RT` | The action (see below) | | **NCA03** | Description | | Free text, required when `NCA02` is not sent | | **NCA04** | Quantity | `240` | How many pieces the action covers | | **NCA05** | Unit of Measure | `EA` | Unit for `NCA04`. If either is sent, both are | | Code | Action (X12) | |---|---| | `RT` | Return | | `SC` | Scrap | | `RW` | Rework | | `RP` | Repair | | `UA` | Use as is | | `CA` | Conditional use, as is | | `RJ` | Reject | | `HE` | Hold exhibit | | `IN` | Investigate deficiency | | `RQ` | Request for disposition | | `RS` | Response requirements follow | | `FR` | Follow-up report request | | `RE` | Reevaluate | | `P` | Prepare claim | | `UC` | Other action | `HE` (hold exhibit) is worth noticing: it means the customer is keeping samples as evidence, so do not expect them back with the return. `P` (prepare claim) signals the customer intends to recover costs, which its supplier agreement governs. ## 842 vs 863, 861 and 824 | Document | Sent by | What it reports | |---|---|---| | **842 Nonconformance Report** | Usually the customer | A part or material that failed a requirement, and the action required | | [863 Report of Test Results](/guides/edi/863-report-of-test-results) | Supplier | Test results for a lot, such as a certificate of analysis | | [861 Receiving Advice](/guides/edi/861-receiving-advice) | Customer | What was received, including quantities rejected at the dock | | [824 Application Advice](/guides/edi/824-application-advice) | Receiver | A document that failed business validation, not a physical defect | | [997 Functional Acknowledgment](/guides/edi/997-functional-acknowledgment) | Receiver | That a transaction arrived and was structurally valid | The 863 says "here are the results for this lot." The 842 says "this lot or part did not meet the requirement, and here is what we need from you." The 861 may record that quantities were rejected, but it does not carry the defect, the measurement or the corrective action request. ## Common 842 Errors and How to Prevent Them | Error | What happens | Prevention | |---|---|---| | **Report not linked to a shipment or lot** | Supplier cannot find the affected stock to contain it | Always send the ASN, lot or serial reference in the HL loop | | **Engineering change level missing** | Defect investigated against the wrong drawing revision | Send the revision in `LIN` with the part number | | **Free-text defect only** | Cannot trend defects across reports | Use the customer's defect code list in `NCD05`/`NCD06` where it has one | | **Quantity without a unit in `NCA`** | Syntax error | Send `NCA04` and `NCA05` together | | **Updates sent with a new report number** | Two open reports for one problem | Keep `BNR02` constant and change the status in `BNR05` | | **Status changes not processed** | Supplier keeps working a closed report, or misses a reopened one | Read `BNR05` on every inbound 842 and update your record | | **842 routed to the order desk** | Quality team never sees it; response deadline missed | Route GS `NC` groups straight to quality | | **No 997 sent back** | Customer cannot prove you received the report | Acknowledge every 842 | ## 842 Implementation Checklist - Get the customer's 842 guide and its supplier quality manual - Confirm whether you only receive 842s, or must also send them (for example, as status updates) - Map `BNR05` status codes to the states in your corrective action system - Map `NCA02` actions to your disposition workflow: return, scrap, rework, use as is - Load the customer's defect code list, if it has one - Make sure part numbers and revisions in `LIN` match your item master - Route `GS01` = `NC` groups to the quality team and send 997s - Agree how corrective action responses go back: follow-up 842, portal, or email - Test an original report, a status update, a reopened report and a closed report For more on X12 structure, see our [essential guide to EDI](/blog/essential-guide-to-edi) and the [EDI document types reference](/edi-document-types). ## Where OrderSync Fits OrderSync works on the order side of a manufacturer's EDI. It reads inbound purchase orders and releases in any format (EDI 850 and 830, PDF, email, spreadsheets), matches customers, parts and units to your item master, and outputs ERP data or valid X12. Parts suppliers can read more on [EDI for automotive parts](/edi-for/automotive-parts) and [EDI for contract manufacturing](/edi-for/contract-manufacturing). For the quality side, paste any 842 into the [free EDI inspector](/edi-inspector) to see the part, the defect, the measurement and the required actions explained in plain English. To see your own orders processed, [book a 15-minute walkthrough](/book-call). ## Frequently Asked Questions
### What is an EDI 842? The EDI 842 is the X12 Nonconformance Report. A manufacturer sends it to tell a supplier that parts or material failed a requirement. It names the part and shipment, describes the defect and measurement, and states the action required, such as return, scrap or a corrective action report. ### Who sends the EDI 842? Usually the customer: the manufacturing plant, receiving inspection or supplier quality team that found the problem. Suppliers can also send 842s, for example to report status or to raise a nonconformance with their own sub-tier suppliers. ### What industries use the EDI 842? Automotive and aerospace manufacturers use it most, along with other manufacturers that run formal supplier quality programs and want defect reports in a structured format. ### What is the NCD segment in an 842? NCD is the Nonconformance Description. It identifies one defect: a coded assessment such as non-conforming, what kind of requirement was missed, a defect number, an optional defect code, and a free-text description. Segments inside its loop add notes, quantities, measurements and root cause. ### What does NCA mean in an EDI 842? NCA is the Nonconformance Action segment. NCA02 carries a code for the action, such as RT return, SC scrap, RW rework, UA use as is or RS response requirements follow, and NCA04 and NCA05 give the quantity and unit the action covers. ### What does BNR05 OC mean? OC is the status "Open, waiting for cause and corrective action report." The customer expects the supplier to investigate and respond with root cause and corrective action. Other status codes cover waiting for disposition authorization, waiting for test data, final and closed. ### How is an 842 different from an 863? The supplier sends the 863 to report test results for a lot, such as a certificate of analysis. The customer sends the 842 when a lot or part fails a requirement, to report the defect and request action.
--- # EDI 843 Response to Request for Quotation Source: https://ordersync.io/guides/edi/843-response-to-request-for-quotation > EDI 843 explained: BQR, PO1, CTP, LDT and AMT segments, a live quote that answers an 840, how buyers match quotes, and the errors that get quotes ignored. The EDI 843 Response to Request for Quotation is the X12 transaction a supplier sends to answer a buyer's 840. It echoes the RFQ number and quotes a price, lead time and terms for each requested line. It is an offer, not a sale: nothing is ordered until the buyer sends an EDI 850 purchase order. **The EDI 843 is your quote, in a format the buyer's sourcing system can compare against everyone else's.** The buyer sent an [840 Request for Quotation](/guides/edi/840-request-for-quotation) to you and probably to two or three competitors. Each 843 that comes back is loaded side by side, line by line, on price, lead time and terms. A quote that cannot be matched to the request, or that prices a different unit than the one asked for, tends to lose by default. This guide covers what the 843 carries, how it pairs with the 840, every segment in a typical quote, a live example that answers the RFQ from our 840 guide, how the 843 differs from the 855, and the errors that get quotes ignored. ## What Is an EDI 843? **An EDI 843 is the Response to Request for Quotation transaction set defined by [ASC X12](https://x12.org/products/transaction-sets). Sellers use it to give potential buyers price, delivery schedule and other terms, normally in answer to an 840.** It travels in functional group `RR` (the `GS01` value). Authoritative references for 843 work: - The [X12 transaction set catalog](https://x12.org/products/transaction-sets) defines the 843 alongside the 840 it answers - The [Stedi X12 004010 reference for the 843](https://www.stedi.com/edi/x12-004010/843) lists the segment order and usage. Unlike the 840, the 843 makes the `CTT` summary mandatory - The Defense Logistics Agency lists the 843 among its [common procurement EDI transactions](https://ndia.dtic.mil/wp-content/uploads/2024/dla/Wed_Breakout_DB_EDI.pdf), and federal buyers publish implementation conventions for it - In UN/EDIFACT the equivalent is QUOTES, answering REQOTE, both in the [UN/EDIFACT directory](https://unece.org/trade/uncefact/unedifact) **Who sends it?** The supplier that received the 840. **Who receives it?** The buyer, usually its sourcing or purchasing system. **When is it sent?** After the supplier has priced the lines and checked availability, and before the due date the buyer set on the 840. **Why does it matter?** Buyers that send 840s compare quotes in software. An 843 that loads cleanly gets compared; a quote sent by email instead may not. ## The 843 Is an Offer, Not a Sale **An 843 binds nobody to buy.** It says: here is my price and lead time if you order. The buyer can accept it, ignore it or ask for a revised quote. Nothing ships until an [850 purchase order](/guides/edi/850-purchase-order) arrives. Two consequences for suppliers: - **Put an end date on your price.** A quote with no expiry can come back months later as a PO at a price you can no longer meet. The sample below sends one in a header `DTM`. Which qualifier the buyer expects is set by its guide. - **Check the 850 against the 843.** When the order arrives, compare its prices with the quote it came from. Differences are cheaper to fix at the [855 acknowledgment](/guides/edi/855-purchase-order-acknowledgment) than at the [810 invoice](/guides/edi/810-invoice). ## How the 840 and 843 Work Together 1. **The 840 arrives** with an RFQ number in `BQT02`, the lines in `PO1`, and often a due date in `BQT05`. 2. **Your translator returns a [997](/guides/edi/997-functional-acknowledgment)** for the `RQ` group. 3. **You price each line**, check stock and lead time, and decide on terms. 4. **You send the 843.** `BQR02` echoes the RFQ number, each `PO1` echoes the buyer's line number and part number and adds your price. 5. **The buyer returns a 997** for your `RR` group, then compares quotes. 6. **If you win, an 850 follows.** If not, you usually hear nothing at all. ## Interactive Example: Quote for Three Fastener Lines This 843 answers the RFQ in our [840 guide](/guides/edi/840-request-for-quotation): `RFQ-260411`, three stainless lines for a marine supply distributor. `BQR` echoes the RFQ number and marks the response `BI` (bid without exception). `PER` names the sales contact, `ITD` offers net 30 terms, and `DTM*036` sets the date the quote expires. Each `PO1` repeats the buyer's line, quantity and part number with a unit price. `CTP` repeats the price with the `QTE` (quote price) identifier, and line 1 adds a second `CTP` with a lower price at 10,000 pieces. `LDT` gives the lead time from PO receipt to shipment. `CTT` totals 3 lines and 10,200 units, and `AMT*TT` gives the quote total of $2,815.00 (5,000 x $0.184, plus 5,000 x $0.061, plus 200 x $7.95). All names and IDs are fictional. ## 843 Structure at a Glance | Position | Segment | Name | Usage | Notes | |---|---|---|---|---| | Header | **ST** | Transaction Set Header | Mandatory | `ST01` = `843` | | Header | **BQR** | Beginning Segment for Response to Request for Quotation | Mandatory | Purpose, RFQ number, date, bid type | | Header | **CUR** | Currency | Optional | Quote currency, when not the default | | Header | **REF** | Reference Identification | Optional | Your quote or contract references | | Header | **PER** | Administrative Communications Contact | Optional, up to 3 | Your sales contact | | Header | **FOB** / **ITD** | F.O.B. instructions, terms of sale | Optional | Freight terms and payment terms | | Header | **DTM** | Date/Time Reference | Optional, up to 10 | Quote expiry and other dates | | Header loop | **N1** / N2 / N3 / N4 | Name and address | Optional, repeats | Seller, buyer, ship-from | | Detail loop | **PO1** | Baseline Item Data | Mandatory per line | Quoted line with unit price | | Detail loop | **CTP** | Pricing Information | Optional, repeats | Price type, price breaks, multipliers | | Detail loop | **PID** | Product/Item Description | Optional | Item description | | Detail loop | **LDT** | Lead Time | Optional | Lead time for the line | | Summary | **CTT** | Transaction Totals | Mandatory | Number of lines, hash of quantities | | Summary | **AMT** | Monetary Amount | Optional | Total of the quote | | Summary | **SE** | Transaction Set Trailer | Mandatory | Segment count and control number | ## Key Segments Explained ### BQR: Beginning Segment for Response to Request for Quotation ``` BQR*00*RFQ-260411*20261105***BI~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **BQR01** | Transaction Set Purpose Code | `00` | `00` original, `01` cancellation, `05` replace | | **BQR02** | Request for Quote Reference Number | `RFQ-260411` | The buyer's RFQ number from `BQT02`, exactly as sent | | **BQR03** | Date | `20261105` | Reference date of the response | | **BQR04** / **BQR05** | Date/Time Qualifier, Date | | A second date, sent as a pair | | **BQR06** | Bid Type Response Code | `BI` | `BI` bid without exception, `BW` bid with exception, `DQ` decline to quote, `UQ` unable to quote, `AB` alternate bid | | **BQR08** | Change Order Sequence Number | | The revision number when you re-quote | `BQR02` is the matching key. Copy it from the 840 character for character, including prefixes and leading zeros. If you are declining, say so with `DQ` rather than not answering: some buyers track response rates by supplier. ### ITD: Terms of Sale ``` ITD*01*3*****30~ ``` `ITD01` = `01` (basic terms), `ITD02` = `3` (from invoice date) and `ITD07` = `30` (net days) mean net 30 from invoice. Discount terms go in `ITD03` to `ITD05`. Buyers compare terms as well as price, so send them even when they match your standard. ### DTM: Quote Expiry ``` DTM*036*20261204~ ``` `DTM01` = `036` is the X12 Expiration qualifier, used here for the last date the quoted prices apply. Some buyers' guides name a different qualifier or put the date in `BQR04`/`BQR05`; follow theirs. ### PO1: Quoted Line ``` PO1*1*5000*EA*0.184*PE*BP*HP-SS316-HB0516*VP*CF-316-HX0516~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **PO101** | Assigned Identification | `1` | The buyer's line number from the 840 | | **PO102** | Quantity | `5000` | The quantity you are quoting | | **PO103** | Unit or Basis for Measurement Code | `EA` | The unit of the quantity | | **PO104** | Unit Price | `0.184` | Your price per unit in `PO105` | | **PO105** | Basis of Unit Price Code | `PE` | `PE` price per each | | **PO106** / **PO107** | Product ID Qualifier, ID | `BP`, `HP-SS316-HB0516` | The buyer's part number, echoed | | **PO108** / **PO109** | Product ID Qualifier, ID | `VP`, `CF-316-HX0516` | Your part number | Echo the buyer's line number, unit and part number exactly. If you quote a different unit or pack, say so on the line and send a `BW` (bid with exception) in `BQR06`, so the buyer's comparison does not treat a box price as an each price. ### CTP: Pricing Information ``` CTP**QTE*0.184*5000*EA~ CTP**QTE*0.172*10000*EA~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **CTP01** | Class of Trade Code | | The class of trade, when prices differ by it | | **CTP02** | Price Identifier Code | `QTE` | `QTE` quote price. Others include `CON` contract and `PRP` promotional | | **CTP03** | Unit Price | `0.172` | The price | | **CTP04** / **CTP05** | Quantity, Unit | `10000`, `EA` | The quantity and unit the price applies to | | **CTP06** / **CTP07** | Price Multiplier Qualifier, Multiplier | | A discount factor, such as `0.90` for 10 percent off | `CTP` repeats, so one line can carry several prices. In this sample the second `CTP` offers a lower price at a higher quantity. How a buyer reads a quantity in `CTP04` (a break point or simply the quoted quantity) varies, so agree it before you send price breaks. ### LDT: Lead Time ``` LDT*AE*10*DA~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **LDT01** | Lead Time Code | `AE` | `AE` from date of PO receipt to shipment. `AF` runs to delivery instead | | **LDT02** | Quantity | `10` | The number of time units | | **LDT03** | Unit of Time Period | `DA` | `DA` calendar days, `WK` weeks | Lead time decides many quotes as often as price does. Quote it from the event the buyer cares about: `AE` (to shipment) and `AF` (to delivery) differ by the transit time. ### CTT and AMT: Totals ``` CTT*3*10200~ AMT*TT*2815.00~ ``` `CTT01` is the number of `PO1` lines and `CTT02` the sum of quoted quantities. `AMT01` = `TT` (Total Transaction Amount) carries the quote total. Calculate both from the lines, never type them. ## EDI 843 vs 840, 855 and 850 | Document | Sent by | Sent to | Purpose | |---|---|---|---| | **[840 Request for Quotation](/guides/edi/840-request-for-quotation)** | Buyer | Supplier | What would these items cost? | | **843 Response to RFQ** | Supplier | Buyer | My price, lead time and terms, if you order | | **[850 Purchase Order](/guides/edi/850-purchase-order)** | Buyer | Supplier | Ship these items; a commitment to buy | | **[855 PO Acknowledgment](/guides/edi/855-purchase-order-acknowledgment)** | Supplier | Buyer | I accept, change or reject your order, line by line | The 843 and the 855 are both supplier replies, but to different questions. The 843 answers "what would it cost?" before any order exists. The 855 answers "will you fill this order?" after the 850 arrives. A supplier that confuses them either quotes against an order or acknowledges an order that was never placed. ## Common 843 Errors and How to Prevent Them | Error | What happens | Prevention | |---|---|---| | **`BQR02` does not match the RFQ** | Quote cannot be matched and is ignored | Copy `BQT02` from the 840 exactly | | **Line numbers renumbered** | Prices land on the wrong lines | Echo `PO101` from the 840 | | **Different unit quoted silently** | A box price is compared with each prices | Quote the requested unit, or flag the exception with `BW` | | **No expiry date** | An old price comes back as a PO months later | Send the expiry in the field the buyer's guide names | | **Lead time missing** | Buyer assumes the worst, or calls | Send `LDT` on every line | | **Quote sent after the due date** | Not compared at all | Track `BQT05` from the 840 and alert before it passes | | **`CTT` missing** | Syntax rejection, since `CTT` is mandatory in the 843 | Always generate `CTT` from the lines | | **Totals typed by hand** | Total disagrees with the lines | Calculate `AMT` from `PO102` x `PO104` | ## 843 Implementation Checklist - Confirm the buyer's 843 guide, X12 release and `GS01` = `RR` - Map `BQT02` to `BQR02`, and the 840's line numbers, units and part numbers to your `PO1` - Agree how to send price breaks (`CTP`) and lead times (`LDT`) - Agree where the quote expiry goes and which qualifier to use - Decide how you decline (`DQ`, `UQ`) and how you re-quote (`BQR01` = `05`, `BQR08`) - Send `CTT` on every 843, and an `AMT` total if the buyer wants one - Store each 843 so you can check the prices on any 850 that follows - Test an original quote, a decline, a quote with exceptions and a revised quote ## Where OrderSync Fits Quotes are the step before the order. When the buyer accepts, the purchase order may arrive as an EDI 850, a PDF, an email or a spreadsheet. OrderSync reads it in any of those formats, matches customers, items and units to your catalog, and outputs valid X12 or ERP data, so the order enters your system the way it was priced. Paste any 843 into the [free EDI inspector](/edi-inspector) to see it parsed segment by segment with a plain-English summary. If you supply industrial or MRO customers, see [EDI for industrial supply](/edi-for/industrial-supply), or [book a 15-minute walkthrough](/book) to see your own orders processed. ## Frequently Asked Questions
### What is an EDI 843? The EDI 843 Response to Request for Quotation is an X12 transaction a supplier sends to answer a buyer's 840. It echoes the RFQ number and gives a price, lead time and terms for each requested line. It travels in functional group RR. ### What is the difference between an EDI 840 and an EDI 843? The 840 is the buyer's request for a quote. The 843 is the supplier's answer, with prices, lead times and terms. They are two halves of one exchange, matched on the RFQ number. ### Does an EDI 843 commit the buyer to purchase? No. The 843 is an offer. Nothing is ordered until the buyer sends an 850 purchase order. Suppliers usually include an expiry date so an old price cannot be accepted months later. ### How do I match an 843 back to the original 840? On the RFQ number. The buyer sends it in BQT02 of the 840 and the supplier echoes it in BQR02 of the 843. Line numbers in PO101 should also match the 840 so each price lands on the right line. ### What is the difference between an EDI 843 and an EDI 855? The 843 answers a request for quotation before any order exists. The 855 acknowledges a purchase order that has been placed, accepting, changing or rejecting its lines. One is a price offer, the other is an order confirmation. ### How do I decline an RFQ with an 843? Send an 843 with BQR06 set to DQ (decline to quote) or UQ (unable to quote), echoing the RFQ number in BQR02. Check the buyer's guide, since some want a reason or want the lines included. ### Where does the lead time go in an EDI 843? In the LDT segment inside each line. LDT01 says what the lead time measures, such as AE from PO receipt to shipment, LDT02 is the number and LDT03 the unit, such as DA for calendar days. ### Is the EDI 843 the same as EDIFACT QUOTES? They do the same job. The 843 is the X12 transaction set, and QUOTES is the UN/EDIFACT quote message that answers a REQOTE. The segment structures differ.
--- # EDI 844 Product Transfer Account Adjustment: Chargeback Guide Source: https://ordersync.io/guides/edi/844-product-transfer-account-adjustment > EDI 844 explained: how distributors claim contract-price chargebacks from manufacturers, the BAA, CON, SII and PAD segments, a live example, the 849 response and common errors. The EDI 844 Product Transfer Account Adjustment is the X12 transaction a distributor sends a manufacturer to claim a contract chargeback. When the distributor sells to a customer at a manufacturer-negotiated contract price below its own cost, the 844 lists each sale and claims the difference. The manufacturer answers with an 849. **The EDI 844 is how a distributor gets paid back for selling at someone else's price.** A manufacturer negotiates a contract price with a hospital, a group purchasing organization, a contractor or a restaurant chain. The distributor ships the product from its own stock, bought at its normal cost, and invoices the customer at the lower contract price. The 844 is the claim for the gap, line by line, so the manufacturer can check it against the contract and credit the distributor. This guide covers the full contract chargeback cycle, the 844's structure and every key segment, a live example that ties to the [845 contract](/guides/edi/845-price-authorization-acknowledgment) and the [849 response](/guides/edi/849-response-to-product-transfer-account-adjustment), and the errors that get claims rejected. ## What Is an EDI 844? **An EDI 844 is the Product Transfer Account Adjustment transaction set defined by the [ASC X12 standards body](https://x12.org/products/transaction-sets). X12 describes it as transmitting "a debit, credit, or request for credit relating to pre-authorized product transfer actions."** In practice, almost every 844 in production is a distributor's chargeback claim against a manufacturer's contract. References for 844 work: - The [X12 004010 844 structure on Stedi](https://www.stedi.com/edi/x12-004010/844) shows the full segment and loop layout, including the SII and PAD loops inside each contract - The [Healthcare Distribution Alliance (HDA)](https://hda.org/publications/edi-844-product-transfer-account-adjustment) publishes industry guidelines for the 844, 845 and 849 chargeback series used between pharmaceutical manufacturers and wholesalers - Large distributors publish their own guides. [AmerisourceBergen's 844 chargeback specification](https://www.amerisourcebergen.com/-/media/assets/amerisourcebergen/supplier_o844_4010_specification---june-2023.pdf) is a public example of a 4010 chargeback map **Who sends it?** The distributor or wholesaler that sold the product. **Who receives it?** The manufacturer (or the contract administration team or service that runs chargebacks for it). **When is it sent?** After the distributor has invoiced contract sales, usually in batches on a schedule the two parties agree, often daily or weekly. **Why does it matter?** For the distributor, unclaimed or rejected chargebacks are margin lost on sales already made at a loss. For the manufacturer, paying a chargeback on an ineligible customer or item gives away contract pricing it never agreed to. The 844 is where both sides' records meet. ## Distributor Chargebacks vs Retail Chargebacks "Chargeback" means two very different things in EDI, and searching for one often turns up the other. | | Distributor contract chargeback | Retail compliance chargeback | |---|---|---| | **Who claims money** | The distributor, from the manufacturer | The retailer, from the supplier | | **Why** | The distributor sold at a contract price below its cost | The supplier broke a rule: late ASN, bad label, short shipment | | **Is it a penalty?** | No. It is how contract pricing gets funded | Yes. It is a fine or deduction | | **EDI documents** | 845 contract, 844 claim, 849 response, 867 resale report | Usually an [812 Credit/Debit Adjustment](/guides/edi/812-credit-debit-adjustment) or a deduction on the [820 remittance](/guides/edi/820-payment-order) | | **Typical industries** | Pharma and medical supply, electronics, electrical, foodservice, industrial distribution | Retail and grocery | This guide is about the first kind. If you are dealing with fines from a retailer, see our explainer on [retail chargebacks](/glossary/retail-chargeback) instead. ## How the Contract Chargeback Cycle Works The 844 is one step in a four-document cycle. The same contract number runs through all of it. 1. **The manufacturer negotiates a contract.** It agrees a price with an end customer, or with a group purchasing organization (GPO) on behalf of its members, for a list of items and a date range. 2. **The manufacturer tells the distributor (845).** The [845 Price Authorization Acknowledgment/Status](/guides/edi/845-price-authorization-acknowledgment) gives the distributor the contract number, the eligible customers, the covered items, the contract prices and the dates. 3. **The distributor sells at the contract price.** The customer orders through its normal channel. The distributor ships from stock it bought at its own acquisition cost (in pharma, usually the wholesale acquisition cost, or WAC) and invoices the customer at the contract price. 4. **The distributor claims the difference (844).** For each contract sale, the 844 carries the item, the quantity, the distributor's cost, the contract price and the extended claim: (cost minus contract price) times quantity. 5. **The manufacturer validates and responds (849).** It checks every line against its own contract records: is the customer eligible, is the item covered, was the sale inside the contract dates, is the price right, is it a duplicate? The [849 Response to Product Transfer Account Adjustment](/guides/edi/849-response-to-product-transfer-account-adjustment) accepts, adjusts or rejects each line. 6. **Money moves.** The manufacturer issues a credit or payment for the allowed amount. Rejected lines are corrected and resubmitted, or written off, depending on the reason. 7. **Sales are reported (867).** Separately, many distributors send an [867 Product Transfer and Resale Report](/guides/edi/867-product-transfer-and-resale-report) with all sales of the manufacturer's products, contract or not. Manufacturers use it to trace product to end customers and to cross-check chargebacks. A worked example with real numbers: a distributor buys a case of exam gloves at $92.40. The manufacturer's contract with a health system sets the price at $71.25. The distributor sells 40 cases to that health system at $71.25 and then claims 40 x ($92.40 minus $71.25) = $846.00 on an 844. Without that credit, the distributor loses $21.15 on every case. ## Where the 844 Is Used Contract chargebacks exist wherever a manufacturer sets prices for end customers it does not ship to directly. - **Pharmaceuticals.** The largest user. Manufacturers hold contracts with GPOs, hospitals, pharmacies and government programs, and the big wholesalers claim chargebacks on every contract sale. HDA's guidelines and the wholesalers' own specs shape most of what you will see, including pharma identifiers such as DEA numbers, Health Industry Numbers (HINs) and NDCs. - **Medical and surgical supply.** The same model runs through med-surg distributors, with GPO contracts covering gloves, catheters, dressings and devices. - **Electronic components.** Distributors claim "ship and debit" credits when they sell below book price under a manufacturer's special pricing approval. The X12 code lists reflect this with product transfer types such as "Ship and Debit Sale", and [ECIA](https://www.ecianow.org/) publishes industry guidance for these transactions. - **Electrical, industrial and building products distribution.** Manufacturers grant special pricing agreements for specific contractors or projects, and distributors claim the difference on sales against them. - **Foodservice.** Manufacturers set deviated or contract prices for restaurant chains and operators, and broadline distributors claim the deviation. Some programs run on 844 and 849; many still run on spreadsheets and portals. The X12 structure is the same across industries. The identifiers, the required segments and the rules for what counts as a valid claim come from the industry guideline and each partner's implementation guide. ## Interactive Example: Med-Surg Contract Chargeback (844) A medical supply distributor, Lakeshore Medical Supply, claims chargebacks from the manufacturer Cedar Ridge Medical on contract `CRM-GPO-2026-118`, the contract Cedar Ridge published on the [845 example](/guides/edi/845-price-authorization-acknowledgment). Three lines were sold to the contracted health system on two invoices: | Line | Item | Qty | Distributor cost | Contract price | Claim | |---|---|---|---|---|---| | 1 | Nitrile exam gloves | 40 cases | $92.40 | $71.25 | $846.00 | | 2 | Foley catheter kit | 12 cases | $148.00 | $119.50 | $342.00 | | 3 | Foam dressing 4x4 | 25 boxes | $64.80 | $52.00 | $320.00 | | | | | | **Total** | **$1,508.00** | Line 2 has a problem the distributor has not spotted: the catheter kit is not on the contract. The [849 example](/guides/edi/849-response-to-product-transfer-account-adjustment) shows the manufacturer rejecting it. Use the **Plain English** tab for a readable summary, or click any segment to see each element. ## 844 Structure at a Glance The 844 is built around contracts. Each `CON` loop is one contract, with the customer and the claimed lines inside it. | Area | Segment | Name | Usage | Notes | |---|---|---|---|---| | Header | **ST** | Transaction Set Header | Mandatory | `ST01` = `844` | | Header | **BAA** | Beginning Segment for Product Transfer Account Adjustment | Mandatory | Purpose, transaction type, date, chargeback (debit memo) number | | Header | **CUR**, **NTE**, **REF**, **PER**, **DTM** | Currency, notes, references, contact, dates | Optional | Used where the partner guide asks | | Header N1 loop | **N1** (N2 to PER) | Name | Optional, repeats | The distributor and the manufacturer | | Detail CON loop | **CON** | Contract Number Detail | Mandatory, repeats | One per contract claimed against | | CON loop | **REF**, **PER**, **DTM** | References, contact, dates | Optional | | | CON N1 loop | **N1**, **N3**, **N4**, **REF** | Customer name, address, IDs | Optional, repeats | The end customer the contract sale went to | | CON SII loop | **SII** | Sales Item Information | Optional, repeats | Compact claim line: item, quantity, cost, contract price, extended amount | | SII loop | **N9** | Reference Identification | Optional | The distributor's invoice number and date | | CON PAD loop | **PAD** | Product Adjustment Detail | Optional, repeats | Alternative claim line structure | | PAD loop | **LIN**, **PID**, **UIT**, **QTY**, **AMT**, **REF**, **DTM** | Item, description, prices, quantities, amount, invoice | Optional | Used when the line is sent in PAD form | | Summary | **CTT** | Transaction Totals | Mandatory | Number of CON segments | | Summary | **AMT** | Monetary Amount | Optional | Total claim | | Summary | **SE** | Transaction Set Trailer | Mandatory | Segment count and control number | The 844 sits in functional group **CF** (`GS01`), which X12 shares between the 844 and the 849. ### SII or PAD? The 4010 844 offers two ways to send a claim line. The `SII` loop puts the whole line in one segment, and X12's own notes define its prices for chargebacks: `SII05` is the wholesale acquisition price, `SII06` the contract price and `SII07` the extended rebate amount. Pharmaceutical wholesalers commonly use this form. The `PAD` loop spreads the same facts over `LIN`, `UIT`, `QTY` and `AMT` segments, and is the shape the 849 response uses. Your partner's guide picks one. Do not mix them in one claim unless the guide says you can. ## Key Segments Explained ### BAA: Beginning Segment ``` BAA*00*RA*20261116*AM*LMS-CB-260115~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **BAA01** | Transaction Set Purpose Code | `00` | `00` = original. Resubmissions use the code the partner guide names | | **BAA02** | Transaction Type Code | `RA` | `RA` = request for credit, the usual value for a chargeback claim | | **BAA03** | Date | `20261116` | The date the claim was generated | | **BAA04** | Reference Identification Qualifier | `AM` | `AM` = adjustment memo (chargeback) | | **BAA05** | Reference Identification | `LMS-CB-260115` | The distributor's chargeback or debit memo number | | **BAA06** | Time | | Optional | `BAA05` is the number everything else hangs off. The manufacturer quotes it back in the 849, the credit memo references it, and your AR team uses it to clear the receivable. Keep it unique and never reuse it for a resubmission unless the guide tells you to. ### N1: Distributor and Manufacturer (Header) ``` N1*DS*LAKESHORE MEDICAL SUPPLY*ZZ*LKSMED~ N1*SU*CEDAR RIDGE MEDICAL*ZZ*CRMED~ ``` The header names both sides. `DS` (distributor) or `DB` (distributor branch) identifies who is claiming, and `SU` (supplier/manufacturer) who is paying. Pharma guides identify parties by DEA number (`N103` = `11`) or HIN; other industries use DUNS, GLNs or mutually agreed codes. The branch matters: in pharma the claim is usually tied to the specific distribution center that sold the product. ### CON: Contract Number Detail ``` CON*VC*CRM-GPO-2026-118*VA~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **CON01** | Reference Identification Qualifier | `VC` | `VC` = vendor contract number | | **CON02** | Reference Identification | `CRM-GPO-2026-118` | The contract number from the manufacturer's 845 or contract notice | | **CON03** | Contract Status Code | `VA` | `VA` = valid open contract | The contract number in `CON02` must be the manufacturer's number exactly as it published it. A contract number the manufacturer cannot find rejects every line underneath it. ### N1, N3, N4 and REF: The End Customer ``` N1*ST*RIVERBEND COMMUNITY HEALTH*ZZ*RCH-0001~ N3*400 HOSPITAL DRIVE~ N4*SPRINGFIELD*OH*45501~ ``` Inside the `CON` loop, `N1*ST` names the customer the distributor sold to. This is the party whose eligibility the manufacturer checks, so the identifier must match the one on the manufacturer's contract roster. In pharma that is typically the customer's DEA number or HIN, with `REF` segments for extra IDs such as a 340B identifier. A customer the manufacturer cannot match is one of the most common rejection reasons. ### SII: Sales Item Information ``` SII*VP*CRM-GLV-N200*40*CA*92.40*71.25*846.00~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **SII01** | Product/Service ID Qualifier | `VP` | Type of item ID. Pharma uses NDC qualifiers; others use vendor part numbers, UPCs or GTINs | | **SII02** | Product/Service ID | `CRM-GLV-N200` | The item, as the manufacturer identifies it on the contract | | **SII03** | Quantity | `40` | Units sold on this invoice line. Some guides send returns as a negative quantity | | **SII04** | Unit of Measure | `CA` | Must match the unit the contract price is quoted in | | **SII05** | Unit Price (wholesale acquisition price) | `92.40` | The distributor's cost basis per unit | | **SII06** | Unit Price (contract price) | `71.25` | The contract price per unit | | **SII07** | Monetary Amount (extended rebate) | `846.00` | (SII05 minus SII06) times SII03 | The arithmetic has to hold on every line. A claim where `SII07` does not equal the difference times the quantity is rejected or corrected by the manufacturer, and either way you wait longer to be paid. ### N9: Invoice Reference ``` N9*DI*LMS-INV-7781203**20261103~ ``` `N901` = `DI` (distributor invoice number), `N902` is the invoice to the end customer and `N904` its date. The invoice date is what the manufacturer checks against the contract's start and end dates, and against its claim submission window. Some guides also carry a unique line identifier or lot number in `N907`. ### CTT and AMT: Totals ``` CTT*1~ AMT*CC*1508.00~ ``` `CTT01` is the number of `CON` segments in the transaction, not the number of claim lines. `AMT01` = `CC` (chargeback claim amount) carries the total of all `SII07` values. Some guides make the summary `AMT` mandatory; the X12 standard leaves it optional. ## Where the 844 Sits Among Related Documents | Document | Sent by | Purpose | Role in chargebacks | |---|---|---|---| | **[845 Price Authorization](/guides/edi/845-price-authorization-acknowledgment)** | Manufacturer | Publishes the contract: customers, items, prices, dates | The rulebook every 844 is checked against | | **844 Product Transfer Account Adjustment** | Distributor | Claims the difference between cost and contract price | The claim | | **[849 Response](/guides/edi/849-response-to-product-transfer-account-adjustment)** | Manufacturer | Accepts, adjusts or rejects each claim line | The verdict | | **[867 Product Transfer and Resale Report](/guides/edi/867-product-transfer-and-resale-report)** | Distributor | Reports sales to end customers | Tracing and cross-checking | | **[812 Credit/Debit Adjustment](/guides/edi/812-credit-debit-adjustment)** | Either party | General credit or debit against an invoice | Used for other adjustments; not the contract chargeback claim | | **[820 Payment Order/Remittance](/guides/edi/820-payment-order)** | Payer | Payment and remittance detail | May carry the settlement of allowed chargebacks | | **[997 Functional Acknowledgment](/guides/edi/997-functional-acknowledgment)** | Receiver | Confirms the file arrived and parsed | Says nothing about whether the claim is valid | ## Common 844 Errors and How to Prevent Them | Error | What happens | Prevention | |---|---|---| | **Customer not on the contract** | Line rejected | Load the 845 eligibility roster and check the ship-to before you price the order | | **Item not covered by the contract** | Line rejected | Check the item against the contract's item list, not just the customer | | **Invoice date outside contract dates** | Line rejected | Compare the invoice date (not the claim date) with the contract and customer start and end dates | | **Contract price mismatch** | Line adjusted to the manufacturer's price | Price contract orders from the latest 845, including changes | | **Unit of measure mismatch** | Claim off by the pack size | Claim in the unit the contract price is quoted in | | **Extended amount does not compute** | Line adjusted or rejected | Calculate `SII07` from the other elements, never key it | | **Duplicate claim** | Second claim rejected | Track every invoice line claimed; resubmit only rejected lines, with the resubmission reference the guide requires | | **Claim filed too late** | Line rejected as too old | Claim on a regular schedule; the submission window is in your contract with the manufacturer | | **Wrong or missing party IDs** | Whole claim or contract loop rejected | Use the exact identifiers (DEA, HIN, GLN, DUNS or agreed codes) from the partner guide | Most of these trace back to the order. A sale priced at the contract price for a customer or item that is not actually covered creates a chargeback that will never be paid, which is a straight loss. Checking eligibility at order entry is far cheaper than disputing it at the 849. ## 844 Implementation Checklist - Get the manufacturer's 844 and 849 implementation guides, and the industry guideline they follow - Agree the line format (`SII` or `PAD`), the party identifiers and the product ID qualifier - Confirm how returns and credit-rebills are sent: negative quantities, separate claims or a transaction type code - Load 845 contracts, including customer rosters, item lists, prices and every date range - Build the claim from invoiced sales data, with the invoice number and date on every line - Calculate every extended amount and total in code - Agree the claim schedule and the submission window - Set up 849 processing to post allowed amounts and work rejected lines - Test with valid lines plus deliberate failures: ineligible customer, uncovered item, wrong price, duplicate - Watch 997s for structural rejections in the first weeks ## Handling the Orders Behind Chargebacks With OrderSync Chargeback accuracy starts with the order. If a hospital's order arrives as a PDF, an email or a phone note and is keyed into the ERP under the wrong ship-to or the wrong item, the contract price and the chargeback both go wrong with it. OrderSync reads customer orders in any format, from EDI 850s and 875s to emails, PDFs and spreadsheets, matches customers, items and units to your catalog, and sends clean orders to your ERP or outputs valid X12. Paste any 844 into the [free EDI inspector](/edi-inspector) to see it parsed segment by segment with a plain-English summary, read about [EDI for pharmaceutical distribution](/edi-for/pharmaceutical) and [EDI for distributors](/edi-distributors), or [book a 15-minute walkthrough](/book) to see your own orders processed. ## Frequently Asked Questions
### What is an EDI 844 used for? The EDI 844 is used by a distributor to claim a contract chargeback from a manufacturer. When the distributor sells to a contracted customer at a price below its own cost, the 844 lists each sale with the cost, contract price and quantity, and claims the difference as a credit. ### What is an EDI 844 chargeback? It is a claim for the difference between what a distributor paid for a product and the lower contract price the manufacturer agreed with the end customer. It is not a penalty. It is how manufacturers fund contract pricing that is delivered through distributors. ### What is the difference between EDI 844 and EDI 849? The distributor sends the 844 to claim chargebacks. The manufacturer sends the 849 back to accept, adjust or reject each claimed line, with reason codes and the allowed amounts. Together they form the claim and response pair of the chargeback cycle. ### What is the difference between an EDI 844 and an EDI 812? The 844 is specific to contract chargebacks: it is organized by contract, end customer and claimed sale. The 812 is a general credit or debit adjustment against an invoice, used for things like shortages, pricing errors and retail compliance deductions. ### What are the main segments in an EDI 844? BAA starts the claim and carries the chargeback number. N1 segments name the distributor and manufacturer. Each CON loop names a contract, with N1 for the end customer and SII or PAD loops for each claimed sale. CTT and AMT carry the totals. ### How is the chargeback amount calculated in an 844? For each line, the distributor's cost minus the contract price, times the quantity sold. In the SII segment that is SII05 minus SII06, times SII03, reported in SII07. The total of all lines goes in the summary AMT segment. ### Which industries use the EDI 844? Pharmaceutical and medical supply distribution use it most, followed by electronic components (ship and debit), electrical and industrial distribution, and foodservice. Any industry where manufacturers set end-customer prices that distributors fulfil from their own stock can use it. ### Does the 844 have anything to do with retail chargebacks? No. Retail chargebacks are penalties a retailer takes from a supplier for compliance failures, usually sent as 812 adjustments or deductions on a payment. The 844 is a distributor's claim for contract pricing support, and the two processes do not overlap.
--- # EDI 845 Price Authorization Acknowledgment/Status Guide Source: https://ordersync.io/guides/edi/845-price-authorization-acknowledgment > EDI 845 explained: how manufacturers send contract pricing to distributors, the BPA, CON, PAD, UIT and CTP segments, a live example, and how it drives 844 chargebacks. The EDI 845 Price Authorization Acknowledgment/Status is the X12 transaction a manufacturer sends a distributor to publish or change a pricing contract. It names the contract, the eligible end customers, the covered items, the contract prices and the start and end dates. Distributors price contract sales from it and later claim chargebacks against it on an 844. **The EDI 845 is the contract that every chargeback is judged against.** When a manufacturer agrees a special price with a hospital, a buying group, a contractor or a restaurant chain, the distributor that will actually ship the product has to know about it. The 845 tells the distributor which customers get which prices on which items, and for how long. When the distributor later claims the difference on an [844](/guides/edi/844-product-transfer-account-adjustment), the manufacturer checks the claim against what it sent here. This guide covers what the 845 carries, how it fits the contract chargeback cycle, its segments, a live example, and the errors that turn into rejected chargebacks months later. ## What Is an EDI 845? **An EDI 845 is the Price Authorization Acknowledgment/Status transaction set defined by the [ASC X12 standards body](https://x12.org/products/transaction-sets), used by a manufacturer or vendor to tell a distributor the status of, or changes to, outstanding price authorizations.** In distribution, a "price authorization" is a contract: an agreement that named customers may buy named items at a set price, which the distributor will fulfil and the manufacturer will fund through chargebacks. References for 845 work: - The [X12 004010 845 structure on Stedi](https://www.stedi.com/edi/x12-004010/845) lists every segment and loop, including the CON, PAD and CTP loops - The [Healthcare Distribution Alliance (HDA)](https://hda.org/publications/edi-845-price-authorization-acknowledgment-status) publishes the industry guideline pharmaceutical manufacturers use for 845 bid award and change notices - Distributor guides such as [AmerisourceBergen's 845 bid award specification](https://amerisourcebergen.com/-/media/assets/amerisourcebergen/i845---price-authorization-acknowledgment---original---june-2023.pdf) show how one large wholesaler expects contract dates, buying groups, eligible customers and prices to be sent **Who sends it?** The manufacturer, or the contract administration system that manages its pricing agreements. **Who receives it?** Each distributor authorized to sell under the contract. **When is it sent?** When a contract is awarded, and again whenever it changes: new customers, dropped customers, new items, price changes, extensions and terminations. **Why does it matter?** The distributor prices contract sales from the 845. If the distributor's copy of the contract is out of date, it either charges a customer the wrong price or claims a chargeback the manufacturer will reject. Both cost money. ## How the 845 Fits the Chargeback Cycle The 845 is the first document in a four-part cycle. The contract number it publishes is the key that every later document refers to. 1. **Contract award (845).** The manufacturer sends the contract: number, dates, eligible customers, items and prices. 2. **Contract sale.** A customer on the contract orders through the distributor. The distributor ships from its own stock, bought at its normal acquisition cost, and invoices the customer at the contract price. 3. **Chargeback claim ([844](/guides/edi/844-product-transfer-account-adjustment)).** The distributor claims the difference between its cost and the contract price, quoting the contract number. 4. **Chargeback response ([849](/guides/edi/849-response-to-product-transfer-account-adjustment)).** The manufacturer validates each line against the 845 data and accepts, adjusts or rejects it. 5. **Resale reporting ([867](/guides/edi/867-product-transfer-and-resale-report)).** The distributor reports its sales to end customers, which the manufacturer uses for tracing and for cross-checking chargebacks. Every rejection reason on an 849 maps back to something in the 845: customer not on the contract, item not covered, sale outside the dates, wrong price. Getting the 845 loaded correctly and promptly is the cheapest chargeback control there is. ## Where the 845 Is Used - **Pharmaceuticals.** Manufacturers send bid awards and changes for GPO, hospital and pharmacy contracts to the national and regional wholesalers. Customers are identified by DEA number or HIN, and items by NDC. - **Medical and surgical supply.** The same pattern for GPO and health system contracts on med-surg products. - **Electronic components.** Manufacturers authorize special prices for specific customers or design wins, which distributors later claim through ship and debit. - **Electrical, industrial and building products.** Special pricing agreements for contractors, projects or end users. - **Foodservice.** Contract or deviated prices for chains and operators, fulfilled by broadline distributors. Many contracts, especially outside pharma, are still sent as spreadsheets or published in portals. The 845 replaces that with a structured feed the distributor's ERP can load directly. ## Interactive Example: Med-Surg Contract Award (845) Cedar Ridge Medical awards contract `CRM-GPO-2026-118` to its distributor, Lakeshore Medical Supply. The contract runs from October 1, 2026 to September 30, 2027, covers one health system, and includes two items: | Line | Item | Contract price | Distributor cost (WH) | |---|---|---|---| | 1 | Nitrile exam gloves, medium, case | $71.25 | $92.40 | | 2 | Foam dressing 4x4, box of 10 | $52.00 | $64.80 | The same contract number flows into the [844 chargeback example](/guides/edi/844-product-transfer-account-adjustment) and the [849 response example](/guides/edi/849-response-to-product-transfer-account-adjustment). Note what is not on it: a Foley catheter kit. The distributor later claims a chargeback on that kit, and the manufacturer rejects it. ## 845 Structure at a Glance | Area | Segment | Name | Usage | Notes | |---|---|---|---|---| | Header | **ST** | Transaction Set Header | Mandatory | `ST01` = `845` | | Header | **BPA** | Beginning Segment for Price Authorization Acknowledgment/Status | Mandatory | Purpose and status date | | Header | **CUR**, **NTE**, **REF**, **PER** | Currency, notes, references, contact | Optional | | | Header | **DTM** | Date/Time Reference | Optional | Contract-level effective and expiration dates | | Header N1 loop | **N1**, **N2** to **PER**, **DTM** | Parties | Optional, repeats | Manufacturer, distributor, buying group | | Detail CON loop | **CON** | Contract Number Detail | Mandatory, repeats | One per contract | | CON loop | **REF**, **PER**, **DTM**, **CTB**, **ITD** | References, contact, dates, restrictions, terms | Optional | | | CON N1 loop | **N1**, **N3**, **N4**, **REF**, **DTM**, **CTB** | Eligible parties | Optional, repeats | Customers who may buy at the contract price, with their own dates if different | | CON PAD loop | **PAD** | Product Adjustment Detail | Optional, repeats | One per item | | PAD loop | **PID**, **UIT**, **QTY**, **AMT**, **DTM** | Description, prices, quantities, dates | Optional | `UIT` carries the contract and wholesale prices | | PAD LIN loop | **LIN**, **G53**, **SLN** | Item identification | Optional | The item the price applies to | | PAD CTP loop | **CTP**, **DTM**, **CTB** | Pricing information | Optional, repeats | Tiered or quantity-break prices | | Summary | **CTT** | Transaction Totals | Mandatory | Number of CON segments | | Summary | **SE** | Transaction Set Trailer | Mandatory | Segment count and control number | The 845 sits in functional group **PA** (`GS01`). One quirk of the 4010 layout: inside each `PAD` loop, the price segments (`UIT`) and item dates come before the `LIN` that identifies the item. Read a whole `PAD` loop as one item record, not segment by segment. ## Key Segments Explained ### BPA: Beginning Segment ``` BPA*00*20260901~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **BPA01** | Transaction Set Purpose Code | `00` | `00` = original. Changes and cancellations use the codes the partner guide lists | | **BPA02** | Date | `20260901` | The price authorization status date | | **BPA03** | Reference Identification Qualifier | | Optional reference qualifier | | **BPA04** | Reference Identification | | Optional reference, such as a notice number | | **BPA05** | Time | | Optional | Some distributors publish separate 845 maps for original awards and for changes. Check which purpose codes your partner accepts, and ask how it treats contract lines that a change notice leaves out, before you build the loader. ### DTM: Contract Dates ``` DTM*124*20261001~ DTM*125*20270930~ ``` X12 defines a family of date qualifiers for contracts: | Qualifier | Meaning | Typical level | |---|---|---| | `124` / `125` | Group contract effective / expiration | Header | | `126` / `127` | Wholesale contract effective / expiration | Header | | `129` / `130` | Customer contract effective / expiration | Customer (CON N1 loop) | | `131` / `132` | Item contract effective / expiration | Item (PAD loop) | Customer and item dates are only needed when they differ from the contract dates. Every chargeback line is checked against the most specific date that applies, so a customer added mid-contract must carry its own effective date. ### N1 and PER: The Parties ``` N1*SU*CEDAR RIDGE MEDICAL*ZZ*CRMED~ PER*AC*CONTRACT ADMINISTRATION*TE*5555550142~ N1*DS*LAKESHORE MEDICAL SUPPLY*ZZ*LKSMED~ ``` The header names the manufacturer (`SU` or `MF`), the distributor (`DS` or `DB`) and, where a GPO negotiated the contract, the buying group (`BG`). `PER` gives the contract administration contact the distributor calls with questions. Pharma guides identify parties by DEA number or HIN; other industries use DUNS, GLN or agreed codes. ### CON: Contract Number Detail ``` CON*VC*CRM-GPO-2026-118*OC~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **CON01** | Reference Identification Qualifier | `VC` | `VC` = vendor contract number | | **CON02** | Reference Identification | `CRM-GPO-2026-118` | The contract number the distributor must quote on every 844 | | **CON03** | Contract Status Code | `OC` | `OC` = original contract. Other X12 status codes include `CM` (contract modified), `CR` (contract renewed), `CC` (contract cancelled) and `EX` (expired contract); the partner guide lists the ones it uses | ### N1, N3, N4 in the CON Loop: Eligible Customers ``` N1*EB*RIVERBEND COMMUNITY HEALTH*ZZ*RCH-0001~ N3*400 HOSPITAL DRIVE~ N4*SPRINGFIELD*OH*45501~ ``` `N101` = `EB` (eligible party to the contract) names a customer who may buy at the contract price. The identifier in `N104` is the one the distributor's 844 must later carry for that customer, so it has to match the distributor's customer master. When a buying group contract covers hundreds of member facilities, this loop repeats for each one, which is why rosters are the part of the 845 most likely to drift out of date. ### PAD, UIT and LIN: Items and Prices ``` PAD*1~ PID*F****NITRILE EXAM GLOVE MEDIUM 10X100~ UIT*CA*71.25*CT~ UIT*CA*92.40*WH~ LIN**VP*CRM-GLV-N200~ ``` | Segment | Element | Example | What it means | |---|---|---|---| | **PAD** | PAD01 Assigned Identification | `1` | Item sequence within the contract | | **PID** | PID05 Description | `NITRILE EXAM GLOVE...` | Free-form item description, where the guide allows it | | **UIT** | UIT01 Unit of Measure | `CA` | The unit the price is quoted in | | **UIT** | UIT02 Unit Price | `71.25` | The price | | **UIT** | UIT03 Basis of Unit Price Code | `CT` / `WH` | `CT` = contract price, `WH` = wholesale price (the distributor's cost basis) | | **LIN** | LIN02 / LIN03 | `VP` / `CRM-GLV-N200` | The item ID and its qualifier. Pharma uses NDC qualifiers here | Both prices matter. The contract price is what the customer pays. The wholesale price shows the cost basis the manufacturer expects the distributor's chargeback to start from, so the expected chargeback per unit is the gap between them. ### CTP: Tiered Prices ``` CTP**PBQ*71.25*1*CA~ ``` Where a contract has quantity breaks, the `CTP` loop carries each tier: `CTP02` = `PBQ` (unit price beginning quantity), `CTP03` the price and `CTP04`/`CTP05` the quantity and unit where it starts. Contracts without tiers leave it out, as the example does. ### CTT: Totals ``` CTT*1~ ``` `CTT01` counts the `CON` segments in the transaction. ## EDI 845 vs 832 and 879 | Document | Sent by | What it prices | Who the price is for | |---|---|---|---| | **845 Price Authorization** | Manufacturer | Contract items | Named end customers buying through a distributor | | **[832 Price/Sales Catalog](/guides/edi/832-price-sales-catalog)** | Supplier | The catalog | The buyer receiving the catalog, usually at list or account price | | **879 Price Information** | Supplier | Price changes | The buyer receiving it, mostly in grocery | The short version: the 832 tells a buyer what it will pay. The 845 tells a distributor what someone else will pay, and promises to make up the difference. ## Common 845 Errors and How to Prevent Them | Error | What happens later | Prevention | |---|---|---| | **845 not loaded before the contract start date** | Distributor sells at the wrong price, or claims a chargeback that is rejected | Process 845s on receipt and alert on contracts starting soon | | **Customer IDs do not match the distributor's customer master** | Contract sales are not priced, or chargebacks are rejected as customer not eligible | Map 845 identifiers to customer accounts during onboarding and review unmatched customers daily | | **Customer or item dates ignored** | Chargebacks on sales before a customer joined or after an item dropped are rejected | Store dates at the customer and item level, not just the contract | | **Change handling misunderstood** | Lines removed or kept by mistake | Confirm with the manufacturer whether a change 845 is a full replacement or only the changed lines | | **Unit of measure mismatch** | Contract price applied per each instead of per case | Store the contract unit with the price and convert explicitly | | **Terminated contracts left active** | Rejected chargebacks after the end date | Apply expiration dates automatically and act on cancellation notices | ## 845 Implementation Checklist - Get the manufacturer's 845 guide and confirm which industry guideline it follows - Confirm which party and item identifiers it sends (DEA, HIN, GLN, DUNS, NDC, GTIN, part numbers) - Map eligible customer identifiers to your customer accounts - Store contract, customer and item dates separately - Confirm how changes, additions, deletions and cancellations are sent - Load contract prices with their unit of measure, and any tiered prices - Price contract orders from the loaded contracts, and check eligibility at order entry - Reconcile 849 rejections back to the 845 data to catch loading problems early - Return a 997 for every 845 ## Handling Contract Orders With OrderSync An 845 is only useful if every order lands under the right customer and item, because that is what triggers the contract price and, later, the chargeback. Orders from hospitals, clinics, contractors and restaurants still arrive as PDFs, emails and spreadsheets as often as EDI. OrderSync reads those orders in any format, from EDI 850s and 875s to emails, PDFs and spreadsheets, matches customers, items and units to your catalog, and sends clean orders to your ERP or outputs valid X12. Paste any 845 into the [free EDI inspector](/edi-inspector) to see it parsed with a plain-English summary, read about [EDI for industrial supply distributors](/edi-for/industrial-supply), or [book a 15-minute walkthrough](/book) to see your own orders processed. ## Frequently Asked Questions
### What is an EDI 845 used for? The EDI 845 is used by a manufacturer to send contract pricing to a distributor. It lists the contract number, the customers who are eligible, the items covered, the contract prices and the dates, so the distributor can sell at those prices and claim chargebacks later. ### What does price authorization mean in EDI? A price authorization is the manufacturer's permission for a distributor to sell specific items to specific customers at a specific price, usually below the distributor's own cost. The manufacturer then funds the difference through chargebacks claimed on an 844. ### What is the difference between EDI 845 and EDI 832? The 832 is a catalog: it tells a buyer the items and prices it can buy at. The 845 is a contract notice: it tells a distributor which of its customers get a special manufacturer price, and it is the basis for later chargeback claims. ### How does the 845 relate to the 844 and 849? The 845 publishes the contract. The distributor sells under it and claims the cost difference on an 844 that quotes the contract number. The manufacturer checks that claim against the 845 data and answers with an 849. ### What segments are in an EDI 845? BPA starts the transaction. Header DTM segments carry contract dates, and N1 names the manufacturer, distributor and any buying group. Each CON loop is a contract, with N1 loops for eligible customers and PAD loops for items, holding UIT prices and LIN item IDs. CTT counts the contracts. ### What is a bid award in pharmaceutical EDI? A bid award is the pharmaceutical term for a contract a manufacturer has won with a buying group, hospital or pharmacy chain. Manufacturers notify wholesalers of bid awards and their changes using the 845, following the HDA guideline and each wholesaler's specification. ### Who sends the EDI 845? The manufacturer or vendor sends it to each distributor or wholesaler authorized to sell under the contract. The distributor returns a 997 to confirm receipt and loads the contract into its pricing system.
--- # EDI 846 Inventory Advice: Segments and VMI Source: https://ordersync.io/guides/edi/846-inventory-inquiry > What the EDI 846 inventory inquiry/advice reports: BIA, LIN and QTY segments, the real quantity codes (17, 33, 27, 63), live examples, VMI and drop-ship use, and errors. The EDI 846 Inventory Inquiry/Advice is the X12 transaction a supplier, distributor or warehouse uses to report stock positions to a trading partner, item by item and usually by location. Each LIN item carries QTY segments for quantities such as on hand (17), committed (27), available for sale (33) and on order (63). **The EDI 846 is how a retailer finds out what you can actually ship before it sells it.** Drop-ship programs use it to decide whether to show an item as in stock on their website. Distributors use it to decide where to send an order. Warehouses use it to give the brand owner a daily balance. Get the numbers wrong and the result is either orders you cannot fill or sales you never got. This guide covers what the 846 reports, the segments and the real X12 quantity codes, two live examples (a single-DC feed and a multi-warehouse file), how drop-ship, VMI and 3PL programs use it, and the errors that lead to cancelled orders. ## What Is an EDI 846? **An EDI 846 is the Inventory Inquiry/Advice transaction set defined by the [ASC X12 standards body](https://x12.org/products/transaction-sets), used to communicate inventory levels, to ask a partner for them, or to report inventory held at another location.** It travels in functional group `IB` (the `GS01` value). Authoritative references for 846 work: - The [X12 transaction set catalog](https://x12.org/products/transaction-sets) defines the 846, and the [Stedi X12 004010 846 reference](https://www.stedi.com/edi/x12-004010/846) lays out the BIA, LIN, QTY and CTT structure used in this guide - The [X12 element 673 code list](https://www.stedi.com/edi/x12-004010/element/673) (Quantity Qualifier) is the source of every `QTY01` code below - [GS1 US](https://www.gs1us.org/upcs-barcodes-prefixes) governs the UPC and GTIN numbers that identify each item in `LIN` **Who sends it?** Most often the supplier or its warehouse, reporting to a retailer, marketplace or distributor. In some VMI programs the retailer sends it to the supplier, reporting stock it holds. A 3PL sends it to the brand owner whose stock it stores. **When is it sent?** On a schedule the partner sets: daily is common, drop-ship programs often ask for several updates a day. **Why does it matter?** The partner treats your 846 as a promise. A drop-ship retailer that sees 368 available will sell up to 368. If the real number is lower, the orders it takes become cancellations, and a cancelled order is a lost sale for both of you. ## How Partners Use the 846 | Program | Who sends | What the receiver does with it | |---|---|---| | **Drop ship** | Supplier | Shows the item as in stock or out of stock online and caps what it sells | | **Distributor availability** | Supplier | Decides which supplier or location gets an order | | **Vendor-managed inventory** | Retailer or distributor | Supplier plans replenishment from the partner's stock levels | | **3PL inventory** | Warehouse | Brand owner reconciles its books to the physical stock | | **Consignment** | Supplier or retailer | Tracks stock at the buyer's site that the supplier still owns | For the 3PL case, the 846 is the balance, and the [947 Warehouse Inventory Adjustment Advice](/guides/edi/947-warehouse-inventory-adjustment-advice) explains why it changed. For VMI with sales data, the [852 Product Activity Data](/guides/edi/852-product-activity-data) usually carries the retailer's sell-through and on-hand, while the 846 reports what the supplier can ship. ## Interactive Example: 846 With On Hand, Committed and Available A camping-gear supplier sends its daily 846 for its Reno DC. Each `LIN` carries the UPC and vendor item number, and `QTY` segments report on hand (`17`), committed to open orders (`27`), damaged (`74`) and available for sale (`33`). The stove is out of stock, with 600 on order (`63`) and an availability date (`DTM` `018`). `CTT` gives the item count and a hash total of every `QTY02`. Use the **Plain English** tab for a readable summary, or click any segment to break it down element by element. Check the arithmetic on the sleeping pad: 1,205 on hand, less 310 committed and 15 damaged, leaves 880 available. That is the number the partner should sell against. ## Interactive Example: One 846 per Warehouse Many drop-ship programs want availability by ship-from location so they can route each order. A common way is one transaction set per warehouse, each with its own `N1*WH`, inside one functional group. Here the Reno and Charlotte DCs report available-for-sale quantities for the same two items. The other ways to show locations are an `N1` loop inside each `LIN` or `SDQ` destination quantities. Which one your partner accepts is in its 846 guide. ## 846 Structure at a Glance | Area | Segment | Name | Usage | Notes | |---|---|---|---|---| | Header | **ST** | Transaction Set Header | Mandatory | `ST01` = `846` | | Header | **BIA** | Beginning Segment for Inventory Inquiry/Advice | Mandatory | Purpose, report type, reference, date | | Header | **CUR** | Currency | Optional | When prices are sent | | Header | **DTM** | Date/Time Reference | Optional | Snapshot date and time | | Header | **REF** | Reference Identification | Optional | Vendor number, program references | | Header N1 loop | **N1** to **PER** | Name, address, contact | Optional | Supplier (`SU`), warehouse (`WH`), and others | | Detail LIN loop | **LIN** | Item Identification | Mandatory, repeats | One per item | | LIN loop | **PID** | Product/Item Description | Optional | Item description | | LIN loop | **CTP** | Pricing Information | Optional | Cost or price, where the partner wants it | | LIN loop | **SDQ** | Destination Quantity | Optional | Quantities by location code | | QTY loop | **QTY** | Quantity | Optional, repeats | One per quantity type | | QTY loop | **DTM** | Date/Time Reference | Optional | Date for that quantity, such as when on-order stock is available | | LIN loop | **N1** | Name | Optional | Location for the item, where used | | Summary | **CTT** | Transaction Totals | Optional | Item count, and hash total of `QTY02` | | Summary | **SE** | Transaction Set Trailer | Mandatory | Segment count and control number | ## Key Segments Explained ### BIA: Beginning Segment for Inventory Inquiry/Advice ``` BIA*00*MM*CP-INV-20261105*20261105*0600~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **BIA01** | Transaction Set Purpose Code | `00` | `00` original. Some partners use other codes for a replacement or cancellation | | **BIA02** | Report Type Code | `MM` | The kind of report (see below) | | **BIA03** | Reference Identification | `CP-INV-20261105` | Your report number | | **BIA04** | Date | `20261105` | Date of the report | | **BIA05** | Time | `0600` | Time of the snapshot | | **BIA06** | Action Code | | Used by some partners | `BIA02` comes from X12 element 755. Codes partners commonly specify include `DD` distributor inventory report, `MM` manufacturer inventory report, `MB` manufacturer/distributor inventory report, `SI` seller inventory report and `PI` product availability inquiry. The code is set by the receiving partner's guide, so use the one it names even if another seems to fit better. ### LIN: Item Identification ``` LIN*1*UP*088123400204*VN*CP-TENT-2P~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **LIN01** | Assigned Identification | `1` | Line number | | **LIN02** | Product/Service ID Qualifier | `UP` | `UP` UPC, `EN` EAN, `UK` GTIN-14 shipping container code, `VN` vendor item number, `SK` SKU | | **LIN03** | Product/Service ID | `088123400204` | The item | | **LIN04**, **LIN05** | Second qualifier and ID | `VN`, `CP-TENT-2P` | A second identifier for the same item | The partner matches on the identifier its guide names first. For drop-ship that is often its own SKU or the UPC; an 846 keyed only by your internal item number will not match. ### QTY: Quantity ``` QTY*33*368*EA~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **QTY01** | Quantity Qualifier | `33` | Which quantity this is | | **QTY02** | Quantity | `368` | The number | | **QTY03** | Composite Unit of Measure | `EA` | Unit, such as `EA` each or `CA` case | The `QTY01` codes most 846s use, from X12 element 673: | Code | Meaning | Notes | |---|---|---| | `17` | Quantity on hand | Physical stock at the location | | `33` | Quantity available for sale (stock quantity) | The number most partners act on | | `27` | Committed quantity | Allocated to open orders not yet shipped | | `63` | On order quantity | Inbound on your own purchase orders | | `IQ` | In-transit quantity | Moving between locations | | `74` | Damaged goods | Not sellable | | `QH` | Quantity on hold | Cannot ship at present, excluding damaged | | `20` | Unusable quantity | Not sellable for other reasons | | `29` | Projected available inventory | Forward-looking availability | If you only send one quantity, send `33`. A partner that receives on-hand when it expected available will oversell by the amount already committed. ### DTM in the QTY Loop ``` QTY*63*600*EA~ DTM*018*20261119~ ``` A `DTM` right after a `QTY` belongs to that quantity. Qualifier `018` (available) or `169` (product availability date) tells the partner when on-order stock can ship, which lets some drop-ship programs show a back-in-stock date instead of removing the item. ### CTT: Transaction Totals ``` CTT*3*3834~ ``` `CTT01` is the number of `LIN` items and `CTT02` the hash total, the sum of every `QTY02`. Partners use it to detect a truncated file. Compute it from the segments you actually send. ## EDI 846 vs 852, 947 and EDIFACT INVRPT | Document | Usually sent by | What it reports | |---|---|---| | **846 Inventory Inquiry/Advice** | Supplier or warehouse | Current stock position: what is on hand and available now | | **[852 Product Activity Data](/guides/edi/852-product-activity-data)** | Retailer | Activity over a period: units sold, on hand, on order, by item and store | | **[947 Warehouse Inventory Adjustment Advice](/guides/edi/947-warehouse-inventory-adjustment-advice)** | 3PL | Individual adjustments, such as damage or cycle counts, with reasons | | **[867 Product Transfer and Resale Report](/guides/edi/867-product-transfer-and-resale-report)** | Distributor | What the distributor sold or transferred to its own customers | | **[EDIFACT INVRPT](/guides/edi/edifact-invrpt)** | Supplier or warehouse | The EDIFACT equivalent of the 846, used with UK and European partners | The short version: the 846 is a snapshot of supply, the 852 a record of demand at the retailer. VMI programs often use both. ## Where the 846 Sits in the Flow 1. **846 Inventory Advice.** The supplier tells the partner what it can ship. 2. **[850 Purchase Order](/guides/edi/850-purchase-order).** The partner orders against that availability. In drop ship, one per consumer order. 3. **[855 PO Acknowledgment](/guides/edi/855-purchase-order-acknowledgment).** The supplier confirms or backorders. A stale 846 shows up here as rejected lines. 4. **[856 Ship Notice](/guides/edi/856-ship-notice) and [810 Invoice](/guides/edi/810-invoice).** Shipment and billing. 5. **Next 846.** The next snapshot reflects the stock that shipped. ## Common 846 Errors and How to Prevent Them | Error | What happens | Prevention | |---|---|---| | **On hand sent as available** | Partner oversells by the committed quantity | Send `33` computed as on hand less committed, holds and damage | | **Wrong `QTY01` code** | Partner reads the wrong number, or rejects the file | Use the element 673 codes the partner's guide names. Letter codes such as `QA` and `QC` mean quantity approved and disapproved in element 673, not available and committed | | **Stale snapshot** | Orders taken against stock that already shipped | Build the 846 from the live inventory system at send time; put the snapshot time in `BIA05` | | **Items left out when at zero** | Partner keeps selling the last known quantity | Send every item in the feed, with `QTY*33*0` when out of stock | | **Wrong unit** | Cases read as eaches or the other way round | Send the unit the partner sells in, usually eaches for drop ship | | **Item identifier the partner does not use** | Lines ignored | Lead with the identifier the partner's guide names | | **Locations merged** | Orders routed to a DC with no stock | Report by location when the partner routes by location | | **Wrong `CTT` hash total** | File rejected as incomplete | Calculate from the QTY segments sent | The [EDI inspector](/edi-inspector) shows each item's quantities side by side with their qualifiers, which makes a wrong code or a missing item easy to spot in a test file. ## 846 Implementation Checklist - Get each partner's 846 guide: report type in `BIA02`, required `QTY01` codes, item identifiers, location method - Confirm the cadence and the cut-off times it expects - Decide how available is calculated: on hand, less committed, holds, damage and any safety buffer you choose to keep back - Send every item in the program, including zeros - Confirm units of measure per item - Add availability dates for out-of-stock items if the partner uses them - Compute `CTT` from the file you send - Monitor the [997](/guides/edi/997-functional-acknowledgment) for each 846, and alert when one is missing - After go-live, compare partner cancellations against the 846 you sent that day ## Where OrderSync Fits OrderSync works on the orders that come back after a partner reads your 846. Whether they arrive as EDI 850s, emails, PDFs or spreadsheets, OrderSync reads them in any format, matches customers, items and units to your catalog, and outputs valid X12 or clean data for your ERP, so the stock your 846 promised gets allocated to the right order. To check an 846 you send or receive, paste it into the [free EDI inspector](/edi-inspector). For the wider picture, see [inventory visibility and reporting](/blog/inventory-visibility-and-reporting) and our guide to [purchase order automation](/blog/purchase-order-automation), or [book a 15-minute walkthrough](/book) to see your own orders processed. ## Frequently Asked Questions
### What is an EDI 846 used for? The 846 reports inventory to a trading partner: on-hand, available, committed and on-order quantities per item, usually by location. Retailers use it to decide what to sell in drop-ship programs, distributors to route orders, and brand owners to reconcile stock held at a 3PL. ### Which QTY qualifier means available in an EDI 846? QTY01 code 33, Quantity Available for Sale (stock quantity). On hand is 17, committed is 27, on order is 63 and in transit is IQ. Partners name the codes they accept in their 846 guides. ### What is the difference between an 846 inquiry and an 846 advice? An advice reports inventory on your own initiative or on a schedule, which is how most 846s are used. An inquiry asks a partner to report its inventory. The BIA02 report type code, set by the partner's guide, says which kind of report it is. ### How often should I send an EDI 846? As often as the partner's guide requires. Daily is common, and drop-ship programs often want several updates a day. Send every item each time, including items at zero. ### How does the 846 differ from the 852? The 846 reports a current stock position, usually the supplier's. The 852 reports activity over a period, usually from the retailer: units sold, on hand and on order by item and store. The 846 describes supply; the 852 describes demand. ### Can one 846 report several warehouses? Yes. Partners use one of three methods: a separate 846 per warehouse with N1 WH in the header, an N1 loop inside each LIN item, or SDQ destination quantities. The partner's guide says which it accepts. ### Do I need to send zero quantities in an 846? Yes. If an item drops out of the file, many partners keep the last quantity they received and keep selling it. Send the item with QTY 33 set to zero.
--- # EDI 849 Response to Product Transfer Account Adjustment Source: https://ordersync.io/guides/edi/849-response-to-product-transfer-account-adjustment > EDI 849 explained: how manufacturers accept, adjust or reject distributor chargebacks, the BRC, CON, PAD, AAA, UIT and AMT segments, reject reason codes and a live example. The EDI 849 Response to Product Transfer Account Adjustment is the X12 transaction a manufacturer sends a distributor to answer an 844 chargeback claim. For each claimed line it confirms the amount allowed, or rejects or adjusts it with a reason code, and its totals show the submitted, adjusted and allowed amounts the credit is based on. **The EDI 849 is the manufacturer's verdict on a distributor's chargeback.** The distributor claimed the gap between its cost and a contract price on an [844](/guides/edi/844-product-transfer-account-adjustment). The manufacturer checked every line against its [845 contract](/guides/edi/845-price-authorization-acknowledgment) data. The 849 says what it found: which lines it will pay, which it corrected, which it rejected, and why. For the distributor, it is the document that turns a receivable into cash or into a dispute. This guide covers what the 849 carries, its segments, the reject reason codes, a live example that answers the 844 example line by line, and how to work the rejections. ## What Is an EDI 849? **An EDI 849 is the Response to Product Transfer Account Adjustment transaction set defined by the [ASC X12 standards body](https://x12.org/products/transaction-sets), used to send a detailed or summary response to a party requesting an accounting adjustment for a pre-authorized product transfer.** In distribution, that party is a distributor and the adjustment is a contract chargeback. References for 849 work: - The [X12 004010 849 structure on Stedi](https://www.stedi.com/edi/x12-004010/849) shows the BRC header, the CON and PAD loops and the AAA validation segment - The [Healthcare Distribution Alliance (HDA)](https://www.hda.org/publications/edi-849-response-to-product-transfer-account-adjustment-%282020%29/) publishes the industry guideline for the 849 in the pharmaceutical chargeback reconciliation process - [AmerisourceBergen's disputed chargeback 849 specification](https://amerisourcebergen.com/-/media/assets/amerisourcebergen/i849_disputed-chargebacks---june-2023.pdf) is a public example of a wholesaler's 849 rules, including the industry reject reason codes it uses **Who sends it?** The manufacturer, or the contract administration service that processes its chargebacks. **Who receives it?** The distributor that sent the 844. **When is it sent?** After the manufacturer has validated the claim. The timing is set by the agreement between the two parties. **Why does it matter?** The 849 decides what the distributor is actually paid. A distributor that cannot read 849s automatically ends up with an aging pile of short-paid chargebacks it cannot explain. ## How the 849 Closes the Chargeback Cycle 1. The manufacturer publishes a contract on an **845**. 2. The distributor sells to an eligible customer at the contract price. 3. The distributor claims the difference on an **844**. 4. The manufacturer validates each line: customer eligibility, item coverage, invoice date against contract dates, prices, quantities, duplicates and the claim's age. 5. **The manufacturer answers with an 849.** It references the original chargeback number, and for each line reports the submitted amount, the adjusted (allowed) amount and, for problems, a reject reason. 6. The manufacturer issues a credit or payment for the allowed total. 7. The distributor posts the allowed amounts, then corrects and resubmits rejected lines where the reason allows it, or writes them off. Partners differ on how much the 849 should contain. AmerisourceBergen, for example, publishes one 849 guide for chargebacks accepted in full and another for disputed ones, and asks that a disputed response list only the contracts, customers and lines in dispute. Other partners expect every claimed line back. Agree the rules before you go live, so a missing line is never ambiguous: it should mean "accepted", not "not processed yet". The [867 Product Transfer and Resale Report](/guides/edi/867-product-transfer-and-resale-report) runs alongside this cycle. Manufacturers use it to trace sales and to cross-check that a claimed sale really happened. ## Interactive Example: Chargeback Response (849) Cedar Ridge Medical answers Lakeshore Medical Supply's chargeback `LMS-CB-260115` from the [844 example](/guides/edi/844-product-transfer-account-adjustment), on contract `CRM-GPO-2026-118`: | Line | Item | Submitted | Allowed | Result | |---|---|---|---|---| | 1 | Nitrile exam gloves, 40 cases | $846.00 | $846.00 | Accepted | | 2 | Foley catheter kit, 12 cases | $342.00 | $0.00 | Rejected: product not on the price authorization | | 3 | Foam dressing 4x4, 25 boxes | $320.00 | $320.00 | Accepted | | | **Total** | **$1,508.00** | **$1,166.00** | Net adjustment $342.00 | The catheter kit was never on the [845 contract](/guides/edi/845-price-authorization-acknowledgment), so the manufacturer rejects line 2 with X12 reject reason `03` and follow-up code `N` (resubmission not allowed). The credit memo for $1,166.00 is `CRM-CM-55120`. These two partners have agreed that every claimed line comes back, so the accepted lines appear too. ## 849 Structure at a Glance | Area | Segment | Name | Usage | Notes | |---|---|---|---|---| | Header | **ST** | Transaction Set Header | Mandatory | `ST01` = `849` | | Header | **BRC** | Beginning Segment for Response to Product Transfer Account Adjustment | Mandatory | Purpose, date, the manufacturer's reference | | Header | **CUR** | Currency | Optional | | | Header | **AAA** | Request Validation | Optional | Validation of the claim as a whole | | Header | **NTE**, **REF**, **PER**, **DTM** | Notes, references, contact, dates | Optional | `REF` carries the original chargeback number in many guides | | Header N1 loop | **N1** (N2 to PER) | Name | Optional, repeats | Distributor and manufacturer | | Detail CON loop | **CON** | Contract Number Detail | Optional, repeats | One per contract answered | | CON loop | **AAA**, **REF**, **PER**, **DTM** | Validation, references, contact, dates | Optional | `REF` can carry a corrected contract number | | CON N1 loop | **N1** to **PER** | End customer | Optional, repeats | The customer the claimed sales went to | | CON PAD loop | **PAD** | Product Adjustment Detail | Mandatory in loop, repeats | One per claim line answered | | PAD loop | **LIN** | Item Identification | Optional | The item | | PAD loop | **AAA** | Request Validation | Optional, up to 10 | Line-level accept or reject, with reason | | PAD loop | **PID**, **MEA**, **UIT**, **QTY**, **AMT**, **RCD**, **REF**, **DTM**, **CUR**, **SSS** | Item detail, prices, quantities, amounts, invoice | Optional | | | Summary | **CTT** | Transaction Totals | Mandatory | Number of CON segments | | Summary | **AMT** | Monetary Amount | Optional, up to 5 | Submitted, net adjustment and allowed totals | | Summary | **SE** | Transaction Set Trailer | Mandatory | Segment count and control number | The 849 shares functional group **CF** (`GS01`) with the 844. ## Key Segments Explained ### BRC: Beginning Segment ``` BRC*00*20261201*CM*CRM-CM-55120~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **BRC01** | Transaction Set Purpose Code | `00` | `00` = original. Some guides use a separate code for a response to a resubmission | | **BRC02** | Date | `20261201` | The date of the response | | **BRC03** | Reference Identification Qualifier | `CM` | The type of reference in BRC04. `CM` (credit memo) is a common choice | | **BRC04** | Reference Identification | `CRM-CM-55120` | The manufacturer's credit memo or response number | | **BRC05** | Time | | Optional | ### REF: The Original Chargeback ``` REF*AM*LMS-CB-260115~ ``` `REF01` = `AM` (adjustment memo, chargeback) with the distributor's chargeback number from `BAA05` of the 844. This is the link that lets the distributor's AR team match the response, and the credit, to the open claim. Without it, the 849 has to be matched by contract and invoice, which is slow and error-prone. ### CON and N1: Contract and Customer ``` CON*VC*CRM-GPO-2026-118*VA~ N1*ST*RIVERBEND COMMUNITY HEALTH*ZZ*RCH-0001~ ``` The `CON` loop repeats the contract number from the 844, and `N1*ST` the end customer. If the manufacturer believes the distributor quoted the wrong contract, many guides let it send the corrected number in a `REF` in the `CON` loop (one public guide uses qualifier `C8`, corrected contract number) rather than simply rejecting the line. ### PAD and LIN: The Line Being Answered ``` PAD*2~ LIN**VP*CRM-FOL-16K~ ``` `PAD01` numbers the line within the contract, and `LIN` identifies the item in the same form the 844 did. The distributor matches each answered line back to the claimed line using the item, the invoice number and the invoice date in the same loop. ### AAA: Request Validation ``` AAA*N**03*N~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **AAA01** | Yes/No Condition or Response Code | `N` | `N` = the line is not valid as submitted. `Y` = valid | | **AAA02** | Agency Qualifier Code | (empty) | Empty means `AAA03` comes from the X12 code list. A value here means an industry list | | **AAA03** | Reject Reason Code | `03` | Why the line was rejected or adjusted | | **AAA04** | Follow-up Action Code | `N` | What the distributor should do next | X12's reject reason list (element 901) includes codes written for chargebacks and price authorizations, for example: | Code | Meaning | |---|---| | `01` | Price authorization invalid | | `02` | Price authorization expired | | `03` | Product not on the price authorization | | `04` | Authorized quantity exceeded | | `16` | Unit resale higher than authorized | | `19` | Ship date cannot be prior to price authorization issue date | | `28` | Duplicate invoice number | | `29` | Claim submitted past exercise period | The follow-up codes (element 889) include `C` (please correct and resubmit), `E` (resubmit this item only), `N` (resubmission not allowed) and `R` (resubmission allowed). **Industry code lists are common.** Pharmaceutical distribution uses a reject reason list maintained through the industry guideline, sent with an agency code in `AAA02`, with two-letter codes for situations such as contract expired, customer not covered, drug not covered or contract price incorrect. AmerisourceBergen's public guide notes that these codes do not match the X12 list and that some translators flag them as compliance errors, so set up your translator for the list your partner actually uses. ### UIT: Prices ``` UIT*CA*71.25*CT~ UIT*CA*71.25*SC~ ``` | UIT03 code | Meaning | |---|---| | `CT` | Contract price, as the manufacturer has it | | `SC` | Submitted contract price, as the distributor claimed it | | `WH` | Wholesale price, as the manufacturer has it | | `SW` | Submitted wholesale price, as the distributor claimed it | Pairs of `UIT` segments let the manufacturer show the distributor's figure next to its own. When the contract price on file differs from the one claimed, the distributor sees exactly what was corrected. In the example, the rejected catheter line carries only the submitted contract price, because the manufacturer has no contract price for an item that is not on the contract. ### QTY: Quantities ``` QTY*83*12*CA~ QTY*32*12*CA~ ``` `QTY01` = `83` (submitted quantity sold) is what the distributor claimed, and `32` (quantity sold) is what the manufacturer accepts. A difference between them is a quantity adjustment. X12 also defines `84` (submitted quantity returned) and `76` (returns) for return lines. ### AMT: Line and Summary Amounts ``` AMT*S*342.00~ AMT*A*0~ ``` At line level, `AMT01` = `S` (submitted chargeback claim amount) is what the distributor claimed and `A` (adjusted chargeback claim amount) is what the manufacturer allows. In the summary: ``` CTT*1~ AMT*S*1508.00~ AMT*NA*342.00~ AMT*A*1166.00~ ``` `S` is the total claimed, `NA` (net adjustment) the total reduction, and `A` the total allowed. The arithmetic must hold: `S` minus `NA` equals `A`. The allowed total is the amount the credit memo or payment should carry. ## EDI 849 vs 844, 812, 824 and 997 | Document | Sent by | Purpose | |---|---|---| | **[844 Product Transfer Account Adjustment](/guides/edi/844-product-transfer-account-adjustment)** | Distributor | The chargeback claim the 849 answers | | **849 Response** | Manufacturer | Business verdict on each claimed line | | **[812 Credit/Debit Adjustment](/guides/edi/812-credit-debit-adjustment)** | Either party | General credit or debit against an invoice; not the chargeback response | | **[824 Application Advice](/guides/edi/824-application-advice)** | Receiver | Reports that a document failed business or application edits | | **[997 Functional Acknowledgment](/guides/edi/997-functional-acknowledgment)** | Receiver | Confirms the 844 arrived and parsed; says nothing about the claim's validity | A 997 accepting the 844 is not acceptance of the chargeback. Only the 849 (or the credit itself) tells you that. ## Working 849 Rejections Group rejected lines by reason and fix the cause, not just the claim. | Reason family | Likely cause | Fix | |---|---|---| | **Customer not eligible or not covered** | Sale priced at contract for a customer not on the roster, or customer ID mismatch | Check the 845 roster and your customer ID mapping; resubmit only if the customer was eligible on the invoice date | | **Item not covered** | Contract price applied to an item not on the contract | Fix item eligibility in your pricing; these are usually not resubmittable | | **Outside contract dates** | Invoice date before the customer or item start date, or after expiration | Load customer and item dates, not just contract dates | | **Price incorrect or corrected** | Contract price changed and your system missed it | Load 845 changes promptly; post the corrected amount | | **Duplicate** | Same invoice line claimed twice, often after a resubmission | Track claimed lines by invoice and line; resubmit only rejected lines | | **Too old** | Claim filed after the agreed window | Claim on a schedule; watch for invoices that miss a run | Track rejection rates by reason, customer and contract every week. A rising "customer not covered" rate usually means a roster change you have not loaded, and it will keep costing money until you do. ## 849 Implementation Checklist - Get the manufacturer's 849 guide and confirm whether it sends full responses or exceptions only - Confirm how the original 844 is referenced (`REF*AM` or another qualifier) and what `BRC04` carries - Load the reject reason list your partner uses, X12 or industry, and map each code to an internal action - Match each answered line to the claimed line by contract, customer, item, invoice number and date - Post allowed amounts to AR and reconcile them to the credit memo or payment - Route rejected lines to a work queue by reason and follow-up code - Confirm how resubmissions are referenced, so they are not rejected as duplicates - Send a 997 for every 849 ## Handling the Orders Behind Chargebacks With OrderSync Rejected chargebacks are expensive, and most start with an order booked under the wrong customer or item. When hospital, clinic and contractor orders arrive as PDFs, emails and spreadsheets, that mistake happens at keying. OrderSync reads customer orders in any format, from EDI 850s and 875s to emails, PDFs and spreadsheets, matches customers, items and units to your catalog, and sends clean orders to your ERP or outputs valid X12. Paste any 849 into the [free EDI inspector](/edi-inspector) to see it parsed with a plain-English summary, read about [EDI for pharmaceutical distribution](/edi-for/pharmaceutical), or [book a 15-minute walkthrough](/book) to see your own orders processed. ## Frequently Asked Questions
### What is an EDI 849 used for? The EDI 849 is used by a manufacturer to respond to a distributor's 844 chargeback claim. It reports, line by line, which claimed amounts are allowed, which are adjusted, and which are rejected with a reason code, plus the totals the manufacturer's credit is based on. ### What is the difference between EDI 844 and 849? The 844 is the distributor's chargeback claim. The 849 is the manufacturer's response to it. The 849 quotes the 844's chargeback number, repeats the contract and line detail, and adds the allowed amounts and reject reasons. ### What does the AAA segment mean in an 849? AAA is the request validation segment. AAA01 says whether the line is valid (Y) or not (N), AAA03 gives the reject reason code, and AAA04 says what to do next, such as correct and resubmit or do not resubmit. AAA02, when present, names an industry code list. ### What are the AMT codes S, A and NA in an EDI 849? S is the submitted chargeback claim amount, A is the adjusted or allowed chargeback amount, and NA is the net adjustment. In the summary, the submitted total minus the net adjustment equals the allowed total. ### Does a manufacturer have to send an 849 for accepted chargebacks? It depends on the agreement. Some distributors require an 849 for every 844, even when all lines are accepted. Others want only exceptions, listing just the disputed contracts, customers and lines. The distributor's implementation guide says which. ### Can a rejected chargeback be resubmitted? Sometimes. The follow-up action code in AAA04, or the industry reason code, says whether the line can be corrected and resubmitted. Lines rejected because the customer or item was never on the contract usually cannot be. ### Is an EDI 849 the same as a 997? No. A 997 only confirms that the 844 was received and was structurally valid. The 849 is the business decision on the chargeback itself: what will be paid and what will not.
--- # EDI 850 Purchase Order: Segments and Examples Source: https://ordersync.io/guides/edi/850-purchase-order > EDI 850 purchase order explained: BEG, PO1, N1, DTM and ITD segments, Walmart, drop-ship and Amazon examples, and how it links to the 855, 856 and 810. The EDI 850 Purchase Order is the X12 transaction a buyer sends a supplier to place an order. BEG carries the PO number, type and date, N1 loops name the buyer and ship-to, DTM gives the requested dates, and each PO1 line gives quantity, unit, price and product IDs. The supplier answers with a 997 and often an 855. **The EDI 850 is the X12 transaction set for electronic purchase orders.** It is how retailers, distributors and manufacturers tell their suppliers what to ship, where, when and at what price. Almost every EDI order cycle in retail, grocery and distribution starts with an inbound 850, and every later document (the acknowledgment, the ship notice, the invoice) points back to its PO number. This guide covers what the 850 carries, the segments you will map, four live examples (a Walmart-style replenishment order, a drop-ship order, an Amazon Vendor Central order, and an order with a ship window and terms), how the 850 connects to the documents that follow it, and the errors that cause rejections and short-pays. ## What is an EDI 850? **An EDI 850 Purchase Order is the transaction set defined by the [ASC X12 standards body](https://x12.org/products/transaction-sets) that a buyer uses to order goods or services from a supplier.** It carries everything a supplier needs to fulfill the order (PO number, ship-to, line items, prices, dates and terms) in a fixed format that the supplier's ERP can load without anyone retyping it. It travels in functional group `PO` (the `GS01` value), and most retail partners still use release 004010. Authoritative references for 850 work: - The [X12 transaction set catalog](https://x12.org/products/transaction-sets) defines the 850 and its segment order. The [Stedi 004010 850 reference](https://www.stedi.com/edi/x12-004010/850) lists every segment and element in that release - [GS1 US standards](https://www.gs1us.org/industries-and-insights/standards) govern the UPC and GTIN identifiers carried in `PO1` product ID pairs, and the Global Location Numbers some buyers use for ship-to locations - Each large buyer publishes its own 850 implementation guide, which sets the segments it sends, the qualifiers it uses, and the response it expects **Who sends it?** The buyer: a retailer, distributor, manufacturer or marketplace. **Who receives it?** The supplier, usually through a VAN, AS2 or SFTP connection into its EDI translator. **When is it sent?** Whenever the buyer places a new order. Changes to an order already sent normally come as an [860 Purchase Order Change](/guides/edi/860-purchase-order-change), not a second 850. **Why does it matter?** The 850 is the source of truth for the rest of the cycle. The buyer checks your [855 acknowledgment](/guides/edi/855-purchase-order-acknowledgment), [856 ship notice](/guides/edi/856-ship-notice) and [810 invoice](/guides/edi/810-invoice) against it. An order loaded with the wrong ship-to, unit or price becomes a wrong shipment and a deduction weeks later. ## What's in an 850 An 850 contains everything a supplier needs to fulfill an order: | Field | Where it lives | Example | |---|---|---| | Order number | `BEG03` | `4500123456` | | Order date | `BEG05` | `20231120` (CCYYMMDD) | | Order type | `BEG02` | `SA` stand-alone, `DS` drop ship | | Ship-to address | `N1*ST` + `N3` + `N4` | A store or distribution center | | Bill-to address | `N1*BT` + `N3` + `N4` | The buyer's accounts payable address | | Line items | `PO1` (plus `PID` for the description) | Qty, unit, unit price, vendor item, UPC | | Requested delivery date | `DTM*002` | `20231123` | | Ship window | `DTM*037` / `DTM*038` | Ship not before / ship no later | | Payment terms | `ITD` | 2% 10, net 30 | | References | `REF` | Department (`DP`), customer order (`CO`) | | Totals check | `CTT` | Number of `PO1` lines and an optional hash total | ## Interactive example: Walmart 850 This is a Walmart-style replenishment order with fictional data: an original stand-alone PO (`BEG*00*SA`), a department reference, a requested delivery date, store ship-to and corporate bill-to, and three lines identified by vendor item number and UPC. Use the **Plain English** tab for a readable translation, the **Split View** to see raw and parsed side by side, or click any segment to break it down element by element. Walmart's own requirements are in its supplier implementation guides. Our [Walmart EDI compliance page](/edi-compliance/walmart) summarizes what suppliers usually need to set up. ## 850 Structure at a Glance The 850 has a heading (order-level data), a detail area (one `PO1` loop per line) and a short summary. The table lists the segments most suppliers see in release 004010. The standard defines many more optional segments; your partner's guide says which it sends. | Area | Segment | Name | Usage in 004010 | Notes | |---|---|---|---|---| | Heading | **ST** | Transaction Set Header | Mandatory | `ST01` = `850` | | Heading | **BEG** | Beginning Segment for Purchase Order | Mandatory | Purpose, PO type, PO number, date | | Heading | **CUR** | Currency | Optional | Used on cross-border orders | | Heading | **REF** | Reference Identification | Optional, repeats | Department, customer order, promotion numbers | | Heading | **PER** | Administrative Communications Contact | Optional | Buyer contact | | Heading | **FOB** | F.O.B. Related Instructions | Optional | Freight payment method and title transfer | | Heading | **SAC** | Service, Promotion, Allowance, or Charge | Optional loop | Order-level allowances or charges | | Heading | **ITD** | Terms of Sale | Optional | Payment terms | | Heading | **DTM** | Date/Time Reference | Optional, up to 10 | Delivery date, ship window, cancel date | | Heading | **TD5** | Carrier Details (Routing) | Optional | Requested carrier or routing | | Heading | **N1** loop | Name, with N2, N3, N4, REF, PER | Optional, repeats | Buyer, ship-to, bill-to, vendor | | Detail | **PO1** | Baseline Item Data | Mandatory loop | One per line: quantity, unit, price, product IDs | | Detail | **PID** | Product/Item Description | Optional | Free-text description | | Detail | **PO4** | Item Physical Details | Optional | Pack and inner pack | | Detail | **SAC**, **DTM**, **SDQ**, **N1** | Line-level allowances, dates, store distribution, ship-to | Optional | Used when a line differs from the header | | Summary | **CTT** | Transaction Totals | Optional | Line count, optional hash total | | Summary | **SE** | Transaction Set Trailer | Mandatory | Segment count and control number | "Optional" in the standard often means "required" in a retailer's guide. Build your map from the partner's guide, not from the standard alone. ## Key segments explained ### BEG: Beginning segment The header that opens every 850. ``` BEG*00*SA*4500123456**20231120~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **BEG01** | Transaction Set Purpose Code | `00` | `00` original. Some buyers also send `01` cancellation, `05` replace or `07` duplicate; most send changes as an 860 | | **BEG02** | Purchase Order Type Code | `SA` | `SA` stand-alone, `DS` dropship, `NE` new order, `BK` blanket order, `RL` release against a blanket | | **BEG03** | Purchase Order Number | `4500123456` | The buyer's PO number. You echo it on the 855, 856 and 810 | | **BEG04** | Release Number | | Used for releases against a [blanket order](/blog/blanket-purchase-order) | | **BEG05** | Date | `20231120` | The PO date in `CCYYMMDD` | ### PO1: Line item baseline One `PO1` loop per ordered line. ``` PO1*001*100*EA*15.99*PE*VN*PROD-12345*UP*012345678905~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **PO101** | Assigned Identification | `001` | The buyer's line number. Echo it on the 855 and, where asked, the 856 and 810 | | **PO102** | Quantity Ordered | `100` | How many units of `PO103` | | **PO103** | Unit or Basis for Measurement Code | `EA` | `EA` each, `CA` case, and other codes the buyer allows | | **PO104** | Unit Price | `15.99` | Price per unit. This element carries an explicit decimal point | | **PO105** | Basis of Unit Price Code | `PE` | `PE` price per each, `PC` price per case, and similar | | **PO106** / **PO107** | Product/Service ID Qualifier and ID | `VN` / `PROD-12345` | `VN` is the vendor's item number | | **PO108** / **PO109** | Second qualifier and ID | `UP` / `012345678905` | `UP` is the 12-digit U.P.C. consumer package code | More pairs can follow (`PO110` onward). Common qualifiers are `VN` vendor item, `UP` U.P.C., `EN` EAN, `UK` 14-digit GTIN shipping container code, `BP` buyer's part number and `IN` buyer's item number. A `PID*F` segment usually follows each `PO1` with the free-text description. The unit and the price have to agree with each other. A case price on an each line, or the reverse, multiplies the error by the pack size, and it carries straight through to your invoice. The [UOM codes reference](/tools/uom-codes) lists the X12 unit codes. ### N1: Name segments Each `N1` loop identifies a party. The code in `N101` says which one, and `N103`/`N104` carry an ID. ``` N1*ST*WALMART STORE 001*92*001~ N3*123 MAIN STREET~ N4*BENTONVILLE*AR*72712~ ``` | Code in N101 | Party | |---|---| | `ST` | Ship-to: the store, DC or consumer address | | `BT` | Bill-to | | `BY` | Buying party | | `SE` | Selling party | | `VN` | Vendor | | `SF` | Ship-from | `N103` is the ID qualifier: `92` means assigned by the buyer (a store or DC number), `1` is a D-U-N-S number, and `UL` is a 13-digit Global Location Number. Load ship-to locations by that code, not by name. Names change; store numbers rarely do. ### DTM: Date/time references | Code in DTM01 | Meaning in X12 | |---|---| | `002` | Delivery Requested | | `010` | Requested Ship | | `037` | Ship Not Before | | `038` | Ship No Later | | `063` | Do Not Deliver After | | `064` | Do Not Deliver Before | | `001` | Cancel After | A ship window is usually `037` plus `038`, and a delivery window `064` plus `063`. Read which pair your partner sends: shipping on the last day of a delivery window is late. ### ITD: Terms of sale ``` ITD*01*3*2**10**30~ ``` `ITD01` is the terms type (`01` basic), `ITD02` the date the terms count from (`3` invoice date), `ITD03` the discount percent, `ITD05` the discount days and `ITD07` the net days. This one reads "2% 10, net 30". The [810 guide](/guides/edi/810-invoice) covers ITD element by element, because the invoice is where terms are applied. ### CTT: Transaction totals `CTT01` is the number of `PO1` lines. `CTT02`, when sent, is a hash total, usually the sum of the `PO102` quantities. Check both when you load the order: a mismatch means lines were lost or duplicated in transit or in your translator. ## Interactive example: ship window, terms and a DC ship-to A home goods retailer orders three items for its Columbus distribution center. The order carries 2% 10, net 30 terms in `ITD`, a ship window from November 9 to 13 in `DTM*037` and `DTM*038`, and a `CTT` with three lines and a hash total of 46 units. All parties and IDs are fictional. ## Three real-world variants The 850 is a flexible spec, and every buyer uses it a little differently. These are the three patterns that cover most of the volume in B2B retail. ### 1. Retail replenishment (Walmart, Target, Kroger) Store or DC replenishment orders in case-pack quantities, to a requested date or window. The Walmart-style example above is the typical shape. What to expect: - Ship-to locations identified by a buyer-assigned store or DC number (`N103` = `92`) - A department number in `REF*DP` - Product IDs by U.P.C. or GTIN plus your vendor item number - A routing guide that sits outside the 850 and governs how you ship. On collect freight, routing often runs through a [753 request](/guides/edi/753-request-for-routing-instructions) and [754 routing instructions](/guides/edi/754-routing-instructions) ### 2. Drop-ship orders (Target, Amazon, Wayfair) The retailer takes the consumer's order, then sends you an 850 to ship directly to the consumer. The `N1*ST` becomes a residential address. What changes from a replenishment 850: - `BEG02` is `DS` (dropship) - `N1*ST` carries the consumer's name and address instead of a location code - A `REF*CO` (customer order number) usually carries the consumer-facing order ID, which you echo on the ship notice and invoice - Quantities are usually small, often one per line Our [EDI for ecommerce guide](/guides/edi/edi-for-ecommerce) covers drop-ship flows in more depth. ### 3. Amazon Vendor Central Amazon's 850 follows the same X12 structure with its own conventions, which are set out in its Vendor Central EDI guides. What this example shows: - The ship-to is a fulfillment center, identified by its FC code (`ONT8` here) - Items carry the ASIN as a buyer's part number (`BP`) next to your vendor item number (`VN`). An ASIN is Amazon's catalog ID, not a GTIN - `BEG02` is `NE` (new order) - Requested dates are in `DTM`. Check which date codes Amazon's current guide uses for the delivery window before you map them Our [Amazon EDI compliance page](/edi-compliance/amazon) and [Target page](/edi-compliance/target) summarize each retailer's setup. ## How the 850 Relates to Other EDI Documents The 850 is the first document in the order cycle, and the documents that follow all reference it. | Document | What it communicates | Direction | Timing | |---|---|---|---| | **850 Purchase Order** | What the buyer wants to buy | Buyer to supplier | Order placed | | **[997](/guides/edi/997-functional-acknowledgment) / [999](/guides/edi/999-implementation-acknowledgment)** | The 850 arrived and passed syntax checks | Supplier to buyer | Shortly after receipt | | **[855 PO Acknowledgment](/guides/edi/855-purchase-order-acknowledgment)** | Whether the supplier accepts, changes or rejects each line | Supplier to buyer | Within the partner's window | | **[860 PO Change](/guides/edi/860-purchase-order-change)** | A buyer change to an existing 850 | Buyer to supplier | Before fulfillment | | **[869](/guides/edi/869-order-status-inquiry) / [870](/guides/edi/870-order-status-report)** | Status inquiry and report on open orders | Buyer asks, supplier answers | While the order is open | | **[856 Ship Notice (ASN)](/guides/edi/856-ship-notice)** | What physically shipped and how it is packed | Supplier to buyer | At shipment | | **[810 Invoice](/guides/edi/810-invoice)** | The amount owed for what shipped | Supplier to buyer | After shipment | | **[820 Remittance](/guides/edi/820-payment-order)** | What was paid and deducted | Buyer to supplier | After the invoice is approved | Every one of these carries the original PO number from `BEG03`, which is how buyer and supplier systems tie the cycle together. The [EDI order lifecycle guide](/guides/edi/edi-order-lifecycle) walks through the whole sequence. ### 850 vs 875 vs 860 | | 850 Purchase Order | [875 Grocery Products PO](/guides/edi/875-grocery-product-purchase-order) | [860 PO Change](/guides/edi/860-purchase-order-change) | |---|---|---|---| | **Purpose** | Place a new order | Place a new order (grocery UCS format) | Change an order already sent | | **Header segment** | `BEG` | `G50` | `BCH` | | **Line segment** | `PO1` | `G68` | `POC` | | **Functional group** | `PO` | `OG` | `PC` | | **Who uses it** | Retail, distribution, manufacturing | Some grocery retailers, wholesalers and foodservice distributors | Any buyer that sends 850s | ## Implementation best practices ### Validate before you acknowledge Don't send an 855 accepting the order until you've checked the 850 against your own data: - **UPC/GTIN check**: Confirm each U.P.C. is 12 digits with a valid check digit and maps to a live item. The [check digit calculator](/tools/check-digit-calculator) verifies one by hand. - **Vendor item resolves**: Verify the `VN` item maps to an active SKU in your item master, not a discontinued or unmapped record. - **Unit and price agree**: Compare `PO103` and `PO104` with your price list for that customer. A price difference is cheaper to raise on the 855 than to argue after the invoice. - **Quantity sanity**: Flag zero quantities, or fractional quantities on an each unit, as likely mapping errors. - **Achievable dates**: Compare the requested delivery date or ship window with your lead time and cutoffs. - **Complete ship-to**: Flag an order whose `N1*ST` has no location code and no full `N3`/`N4` address. ### Respond on time After an 850 arrives, the buyer usually expects: | Response | Purpose | |---|---| | [997 Functional Acknowledgment](/guides/edi/997-functional-acknowledgment) | "The 850 arrived and parsed" | | [855 PO Acknowledgment](/guides/edi/855-purchase-order-acknowledgment) | "Here is what we will ship, line by line" | | [856 ASN](/guides/edi/856-ship-notice) | "Here is what is on the truck and how it is packed" | | [810 Invoice](/guides/edi/810-invoice) | "Here is what you owe for what shipped" | The deadline for each one is in the partner's guide or vendor agreement. Some buyers do not use the 855 at all; others treat a late or missing one as a compliance failure. ## Common 850 errors and how to prevent them | Error | What happens | Prevention | |---|---|---| | **Ship window codes misread** | Goods ship outside the window and arrive late or early | Map `037`/`038` (ship) and `064`/`063` (deliver) separately; never treat `010` or `002` as a window | | **Unit of measure mismatch** | Cases shipped against an each order, or the reverse | Map `PO103` to your selling unit explicitly for each partner | | **Unknown ship-to code** | Order loads with no address, or the wrong DC | Keep a location table from the partner's store and DC list; fail the order if the code is missing | | **Item not found** | Line skipped or loaded as a placeholder | Match on both the buyer's ID and your vendor item; route misses to a person, not a default SKU | | **Price not on your list** | Invoice price differs, buyer short-pays | Check `PO104` on receipt and raise it on the 855 | | **Duplicate PO loaded** | Goods shipped twice | Reject a second 850 with the same `BEG03` unless `BEG01` says it is a replacement | | **Change sent as a new 850** | Old and new versions both live | Agree with the buyer whether changes come as 860s, and handle `BEG01` codes they send | | **Lines lost in translation** | Short shipment, then a fill-rate complaint | Check `CTT01` against the number of `PO1` loops you loaded | | **Date format errors** | Translator rejects the segment | X12 dates are `CCYYMMDD`, with no separators | Most of these surface later as [EDI chargebacks](/edi-chargebacks) or deductions on an [812](/guides/edi/812-credit-debit-adjustment) or [820](/guides/edi/820-payment-order), far from the order that caused them. ## 850 implementation checklist Before your first live 850 with a new partner: - Get the partner's 850 implementation guide and its `GS08` version - List the `BEG02` order types it sends and how each one is fulfilled - Load its store and DC location codes for `N1*ST` - Confirm which product ID qualifiers it sends, and map each to your item master - Confirm units, pack sizes and price basis for every item - Confirm which date codes it uses for delivery dates and windows - Confirm whether it sends changes as 860s or replacement 850s - Confirm which responses it expects (997, 855, 856, 810) and their deadlines - Test an original, a drop-ship (if used), a multi-line order and a change - Watch your 997s and rejections closely for the first weeks of production If you are new to retail EDI, our [EDI compliance guide](/edi-compliance) and [EDI document types reference](/edi-document-types) show how the 850 fits with the other documents your partners may require. ## Test your own 850s Paste an 850 into our [free EDI inspector](/edi-inspector) to see every segment parsed and labelled, with a plain-English summary of the order. The inspector also explains structural rejections. To see what an 855 or 856 response would look like for the same order, the [EDI response builder](/tools/edi-response-builder) drafts one from the 850. ## Turning 850s Into Orders With OrderSync The 850 is one of several ways orders arrive. The same customers may also send PDFs, emails and spreadsheets, and grocery buyers may send 875s. OrderSync reads inbound orders in all of those formats, matches customers, ship-to locations, items and units to your catalog, and outputs clean data to your ERP or valid X12. Read more about [purchase order automation](/purchase-order-automation) and [multi-format order processing](/multi-format-orders), or [book a 15-minute walkthrough](/book) to see your own orders processed. ## Related transaction sets - **[855 Purchase Order Acknowledgment](/guides/edi/855-purchase-order-acknowledgment)**: your response to the 850 - **[860 Purchase Order Change](/guides/edi/860-purchase-order-change)**: when buyers modify an existing 850 - **[856 Ship Notice (ASN)](/guides/edi/856-ship-notice)**: advance ship notification - **[810 Invoice](/guides/edi/810-invoice)**: request for payment - **[997 Functional Acknowledgment](/guides/edi/997-functional-acknowledgment)**: receipt confirmation - **[875 Grocery Products Purchase Order](/guides/edi/875-grocery-product-purchase-order)**: the grocery UCS order - **[EDIFACT ORDERS](/guides/edi/edifact-orders)**: the EDIFACT equivalent of the 850, used by UK and European partners ## Frequently Asked Questions
### What is the difference between an EDI 850 and an EDI 875? The 850 is the general-purpose X12 purchase order used across retail, distribution and manufacturing. The 875 is the grocery purchase order from the UCS family, with G-prefixed segments: G50 for the header and G68 for each line. Which one you receive depends on the buyer, so check its implementation guide. ### Does an 850 have to be acknowledged? Almost always with a 997 Functional Acknowledgment, which confirms the 850 arrived and passed syntax checks. Many buyers also require an 855 Purchase Order Acknowledgment, which says line by line what you will ship. The deadlines for both are set in the buyer's guide or vendor agreement. ### What's the difference between BEG02 = "SA" and BEG02 = "DS"? BEG02 is the purchase order type. SA is a stand-alone order, the normal stocking order to a store or DC. DS is a dropship order, shipped directly to the buyer's customer. NE (new order) and BK (blanket order) are also common. The type changes how you fulfill the order and what the ship-to looks like. ### How do I match line items between an 850 and an 856 ASN? Carry the same product IDs through. The qualifier and ID pairs from PO106 onward on the 850 reappear on the 856 LIN segment (LIN02 and LIN03, then LIN04 and LIN05), and many buyers also want the original PO1 line number in LIN01. If your item numbers or UPCs drift between the 850 and 856, receiving cannot match them. ### Why does an 850 sometimes have more than one ship-to? Because one PO can supply several locations. In 004010 the buyer can put an N1 loop inside each PO1 loop to give that line its own ship-to, or use SDQ segments to split a line's quantity across store numbers. If your import keeps only the header ship-to, goods go to the wrong place. ### What is the difference between EDI 810 and 850? The 850 is the purchase order and the 810 is the invoice. The buyer sends the 850 to start the order, stating what it wants and the price it expects. The supplier sends the 810 after shipment to bill for what shipped, with the original PO number in BIG04 so the buyer can match the bill to the order. ### What is the difference between EDI 850 and 860? The 850 creates a new purchase order; the 860 changes one that already exists. To adjust quantities, add or remove lines, move a date or cancel an order already sent as an 850, the buyer sends an 860 Purchase Order Change that references the original PO number, so the supplier updates the order instead of creating a duplicate. ### Does the 850 exist outside X12? Yes, under different names. European partners send an EDIFACT ORDERS message, and buyers on the Peppol network send a UBL Order. It is the same business document in a different syntax. Our [UBL vs X12 vs EDIFACT mapping](/guides/e-invoicing/ubl-vs-x12-vs-edifact) lines the three up field by field.
--- # EDI 852 Product Activity Data: Sell-Through and Replenishment Guide Source: https://ordersync.io/guides/edi/852-product-activity-data > EDI 852 Product Activity Data explained: XQ, LIN, ZA and SDQ segments, the activity codes for sold, on hand and on order, store-level examples, and how suppliers use it. The EDI 852 Product Activity Data is the X12 transaction a retailer or distributor sends a supplier to report how its products moved over a period: units sold, on hand and on order, by item and often by store. Each LIN item carries ZA activity segments, with per-store quantities in ZA or SDQ. **The EDI 852 is how a retailer tells a supplier what is actually selling, store by store.** A purchase order tells you what the buyer wants to receive. The 852 tells you what consumers bought, what is left on the shelf and what is already on order, so you can see a stock-out coming before the next PO arrives, or spot a store sitting on product that is not moving. This guide covers what the 852 reports, the segments and activity codes, two live examples (a weekly store-level report and a DC report), how suppliers use it for replenishment and vendor-managed inventory, and the mistakes that make 852 data misleading. ## What Is an EDI 852? **An EDI 852 is the Product Activity Data transaction set defined by the [ASC X12 standards body](https://x12.org/products/transaction-sets), used to send inventory, sales and other product activity information from one party to another, typically from a retailer or distributor to its supplier.** It travels in functional group `PD` (the `GS01` value). Authoritative references for 852 work: - The [X12 transaction set catalog](https://x12.org/products/transaction-sets) defines the 852, and the [Stedi X12 004010 852 reference](https://www.stedi.com/edi/x12-004010/852) lays out the XQ, LIN, ZA and SDQ structure used in this guide - The [X12 element 859 code list](https://www.stedi.com/edi/x12-004010/element/859) (Activity Code) is the source of every `ZA01` code below - [GS1 US](https://www.gs1us.org/upcs-barcodes-prefixes) governs the UPC and GTIN identifiers that key each product line back to your catalog **Who sends it?** The buyer: a retailer reporting store and DC data, or a distributor reporting its own sales and stock of your products. **When is it sent?** On a schedule set by the partner, most often weekly, sometimes daily. Each 852 covers the period in its `XQ` segment. **Why does it matter?** It is the closest thing to point-of-sale data most suppliers get. Replenishment, VMI, forecasting and promotion analysis all run on it. ## What the 852 Reports Each item can carry several activity types, each a different number: - **Quantity sold** in the period: the sell-through. - **Quantity on hand**: stock at the store or DC at the end of the period. - **Quantity on order**: units on open purchase orders, not yet received. - **Quantity received**, **returned**, **out of stock**, **transferred** and others, where the retailer tracks them. Which activities a retailer sends, and whether it reports by store, by DC or in total, is set out in its 852 guide. ## Interactive Example: Weekly Sell-Through and On Hand by Store A home goods retailer sends its weekly 852 for 26 October to 1 November. For each item, one `ZA` per activity (`QS` sold, `QA` on hand and available, `QP` on order) is followed by an `SDQ` that breaks the quantity out for stores `0012`, `0027` and `0031`. The stove sold 24 units across three stores with only 5 left, two stores at one or zero, and 30 on order. Use the **Plain English** tab for a readable summary, or click any segment to break it down element by element. ## Interactive Example: Distribution Center Activity The same retailer also reports its DC. Here the reporting location is in the header (`N1*RL`) and each quantity sits in `ZA02` instead of an `SDQ`: units withdrawn to stores (`QW`), on hand (`QA`), on order (`QP`) and received (`QR`) for the week. Put the two reports side by side and you can see the whole chain: the DC shipped 210 stoves to stores in the week, stores sold 24 in the three stores shown, and the DC has 36 left with 480 on order. ## 852 Structure at a Glance | Area | Segment | Name | Usage | Notes | |---|---|---|---|---| | Header | **ST** | Transaction Set Header | Mandatory | `ST01` = `852` | | Header | **XQ** | Reporting Date/Action | Mandatory | Action code and the period covered | | Header | **XPO** | Preassigned Purchase Order Numbers | Optional | PO numbers the buyer assigns in advance, in some VMI programs | | Header | **N9** | Reference Identification | Optional | Vendor number, department, program | | Header N1 loop | **N1** to **PER** | Name, address, contact | Optional | Parties, and the reporting location (`RL`) when not using SDQ | | Detail LIN loop | **LIN** | Item Identification | Mandatory, repeats | One per item | | LIN loop | **CTP**, **PO4**, **AMT** | Price, pack, amounts | Optional | Retail price, pack size, sales dollars where sent | | ZA loop | **ZA** | Product Activity Reporting | Mandatory in each LIN, repeats | One per activity type | | ZA loop | **SDQ** | Destination Quantity | Optional, repeats | Quantities by store or location | | ZA loop | **G95**, **DTM** | Performance requirements, dates | Optional | Rarely used | | Summary | **CTT** | Transaction Totals | Required when LIN data is sent | Number of LIN items | | Summary | **SE** | Transaction Set Trailer | Mandatory | Segment count and control number | Two rules from the X12 notes shape every 852: the reporting location comes either from `N1` with code `RL` or from `SDQ`, not both, and each item's quantity goes either in `ZA02` or in `SDQ`. ## Key Segments Explained ### XQ: Reporting Date/Action ``` XQ*H*20261026*20261101~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **XQ01** | Transaction Handling Code | `H` | `H` notification only. Some VMI programs use other codes from the same list, such as `F` (plan and submit suggested purchase orders) or `G` (plan orders and ship product) | | **XQ02** | Date | `20261026` | Reporting date, or the start of the period | | **XQ03** | Date | `20261101` | End of the period, when a range is reported | Always store the period with the data. Two weekly files with overlapping dates usually mean a resend, not two weeks of sales. ### LIN: Item Identification ``` LIN*1*UP*088123400204*VN*CP-TENT-2P~ ``` `LIN01` is the line number, followed by qualifier and ID pairs: `UP` UPC, `VN` vendor item number, and often the retailer's own item number. Match on the identifier the retailer leads with, and keep a cross-reference for the rest. ### ZA: Product Activity Reporting ``` ZA*QW*210*EA~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **ZA01** | Activity Code | `QW` | Which activity (see the table below) | | **ZA02** | Quantity | `210` | The quantity, when not broken out in SDQ | | **ZA03** | Unit of Measure | `EA` | Required whenever `ZA02` is sent | | **ZA04** | Date/Time Qualifier | | Type of date for this activity, where used | | **ZA05** | Date | | The date | | **ZA06**, **ZA07** | Reference qualifier and ID | | A related reference, such as a PO | The `ZA01` activity codes suppliers see most, from X12 element 859: | Code | Meaning | |---|---| | `QS` | Quantity sold | | `Q1` | Quantity sold (net) | | `QA` | Current inventory quantity available for shipment or sale | | `OH` | Gross quantity on hand | | `QP` | Quantity on order, not yet received | | `QR` | Quantity received | | `QI` | Quantity in transit | | `QO` | Quantity out of stock | | `QC` | Quantity committed | | `QH` | Quantity damaged or on hold | | `QU` | Quantity returned by consumer | | `QW` | Quantity withdrawn from warehouse inventory | | `QT` | Adjustment to inventory quantity | | `LS` | Lost sales | Note that these are a different code list from the 846's `QTY01`. In an 852, `QA` means on hand and available; in an 846 `QTY01`, `QA` means quantity approved. Map each document with its own list. ### SDQ: Destination Quantity ``` SDQ*EA*92*0012*11*0027*8*0031*5~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **SDQ01** | Unit of Measure | `EA` | Unit for every quantity in the segment | | **SDQ02** | Identification Code Qualifier | `92` | How the locations are coded. `92` means assigned by the buyer, so these are the retailer's store numbers | | **SDQ03**, **SDQ04** | Location and quantity | `0012`, `11` | Store 0012 sold 11 | | **SDQ05** to **SDQ22** | Further pairs | `0027`, `8`, `0031`, `5` | Up to ten locations per segment | | **SDQ23** | Location Identifier | | An area within the locations, such as a back room, where used | An `SDQ` belongs to the `ZA` above it. When a retailer has more than ten stores to report, it repeats the `SDQ`. A large chain's weekly 852 can run to many thousands of segments, so load it into a table rather than reading it by eye. ### CTT: Transaction Totals `CTT01` is the number of `LIN` items. Check it against what you loaded; a short count usually means a truncated file. ## How Suppliers Use the 852 1. **Spot stock-outs early.** Compare each store's on-hand with its weekly sales. Two weeks of cover or less, with nothing on order, is a store that will run out. 2. **Plan replenishment.** In vendor-managed inventory, the supplier sets order quantities from sales, on-hand and on-order against agreed [safety stock](/glossary/safety-stock) and reorder points. Depending on the program, the supplier suggests the order or the retailer issues an [850](/guides/edi/850-purchase-order) based on it. 3. **Forecast.** Store-level sales history is the input to [demand forecasting](/glossary/demand-forecasting) and to judging whether a promotion worked. 4. **Find slow stores.** High on-hand with low sales points to a store with too much stock or poor shelf placement. 5. **Reconcile.** Units the DC withdrew should roughly equal what stores received. A persistent gap is shrink or a reporting error. ## EDI 852 vs 846, 867 and EDIFACT SLSRPT | Document | Usually sent by | What it reports | |---|---|---| | **852 Product Activity Data** | Retailer or distributor | Activity over a period at the buyer: sold, on hand, on order, by item and location | | **[846 Inventory Inquiry/Advice](/guides/edi/846-inventory-inquiry)** | Supplier or warehouse | A snapshot of stock the sender holds and can ship | | **[867 Product Transfer and Resale Report](/guides/edi/867-product-transfer-and-resale-report)** | Distributor | Who the distributor resold your product to, often for chargebacks and rebates | | **[947 Warehouse Inventory Adjustment Advice](/guides/edi/947-warehouse-inventory-adjustment-advice)** | 3PL | Individual adjustments to stock, with reasons | | **[EDIFACT SLSRPT](/guides/edi/edifact-slsrpt)** | Retailer | The EDIFACT sales data report used by UK and European retailers | The short version: the 846 describes supply, the 852 describes demand. The 867 tells you who bought from your distributor; the 852 tells you how fast it sold. ## Common 852 Mistakes | Mistake | What goes wrong | Prevention | |---|---|---| | **Reading `ZA01` with the 846 code list** | On hand read as approved quantity, or ignored | Map 852 activity codes from element 859 | | **Ignoring `SDQ02`** | Store numbers matched to the wrong list | Keep the retailer's store list, keyed by the qualifier it uses | | **Summing `ZA02` and `SDQ` together** | Quantities counted twice | Take the quantity from one or the other, never both | | **Overlapping periods** | A resent week counted as new sales | Key data by retailer, item, location and `XQ` dates; replace on resend | | **Mixed units** | Eaches compared with cases | Convert to one unit using the retailer's pack data | | **Missing items treated as zero sales** | Items look dead when they were just not reported | Distinguish "not in file" from "reported zero" | | **Unmatched identifiers** | Lines dropped on load | Cross-reference retailer item numbers to your SKUs before the first file | ## 852 Implementation Checklist - Get the retailer's 852 guide: activities sent, store or DC level, cadence, identifiers - Confirm how locations are sent (`N1*RL` or `SDQ`) and get the store list - Map `ZA01` codes from element 859 - Build a load that keys data by item, location and period, and replaces resends - Decide who reviews the data each week and what triggers action - Acknowledge each 852 with a [997](/guides/edi/997-functional-acknowledgment) as agreed - Compare the first few weeks against the retailer's portal reports, if it has one ## Where OrderSync Fits The 852 tells you what to send. The replenishment orders that follow still have to be entered, and they arrive as EDI 850s and 875s, emails, PDFs and spreadsheets. OrderSync reads orders in any format, matches customers, items and units to your catalog, and outputs valid X12 or clean data for your ERP. To read an 852 you have received, paste it into the [free EDI inspector](/edi-inspector) for a segment-by-segment breakdown with a plain-English summary. For the wider picture, see [inventory visibility and reporting](/blog/inventory-visibility-and-reporting) and our [grocery EDI requirements](/blog/grocery-edi) guide, or [book a 15-minute walkthrough](/book) to see your own orders processed. ## Frequently Asked Questions
### What is an EDI 852 used for? The 852 reports product activity from a retailer or distributor to a supplier: units sold, on hand and on order, by item and often by store, for a set period. Suppliers use it to see sell-through, plan replenishment and run vendor-managed inventory. ### What is the ZA segment in an EDI 852? ZA is Product Activity Reporting. ZA01 is the activity code, such as QS quantity sold, QA quantity on hand and available, or QP quantity on order. ZA02 and ZA03 carry the quantity and unit, unless the quantity is broken out by store in an SDQ segment. ### What is the SDQ segment in an EDI 852? SDQ is Destination Quantity. It lists up to ten location and quantity pairs for the ZA activity above it, such as the units sold in each store. SDQ02 says how the locations are coded, for example 92 for numbers assigned by the buyer. ### What is the difference between an EDI 852 and an EDI 846? The 846 reports a stock position, usually the supplier's available inventory. The 852 reports activity at the buyer over a period: what sold, what is on hand and what is on order. The 846 is about supply; the 852 is about demand. ### Does an EDI 852 authorize a shipment? No. The 852 is a data report with no instruction to ship. In replenishment and VMI programs, a purchase order, either issued by the retailer or suggested by the supplier under the program's rules, is what authorizes the shipment. ### How often is an EDI 852 sent? On the partner's schedule, most often weekly and sometimes daily. Each 852 covers the period in the XQ segment, and store-level files can be large because they report every item for every store.
--- # EDI 855: PO Acknowledgment Codes and Example Source: https://ordersync.io/guides/edi/855-purchase-order-acknowledgment > How the EDI 855 PO acknowledgment works: BAK and ACK codes, line status codes, live examples, 855 vs 856 and 997, and the errors that get it rejected. The EDI 855 Purchase Order Acknowledgment is the X12 transaction a supplier sends back after receiving an 850 purchase order. It confirms the order and states, line by line, what will ship: accepted, backordered, changed in quantity, price or date, or rejected. The buyer uses it to plan stock and to check the ASN and invoice later. **The EDI 855 is your answer to a purchase order.** The [997](/guides/edi/997-functional-acknowledgment) only says the 850 arrived and parsed. The 855 says what you will actually do about it: ship everything as ordered, ship part now and part later, ship at a different price, or decline a line. Buyers that require it plan replenishment from it and later hold your ASN and invoice up against it, so an 855 that promises something your warehouse cannot deliver causes as much trouble as a late one. This guide covers what the 855 carries, the BAK and ACK codes that do the work, every segment you will map, two live examples, how the 855 compares with the 856, 997, 865 and 870, and the errors that get it rejected. ## What Is an EDI 855? **An EDI 855 is the Purchase Order Acknowledgment transaction set defined by the [ASC X12 standards body](https://x12.org/products/transaction-sets). A seller sends it to a buyer to confirm receipt of a purchase order and to report, at header or line level, whether each item is accepted, changed or rejected.** It travels in functional group `PR` (the value in `GS01`). Authoritative references for 855 work: - The [X12 transaction set catalog](https://x12.org/products/transaction-sets) lists the 855 and its place among the order documents - The published [004010 855 structure](https://www.stedi.com/edi/x12-004010/855) shows the segment order, including the `ACK` loop that sits inside each `PO1` line - The [ACK01 line item status code list](https://www.stedi.com/edi/x12-004010/element/668) and [BAK02 acknowledgment type list](https://www.stedi.com/edi/x12-004010/element/587) define the codes this guide uses - [GS1 US](https://www.gs1us.org/industries-and-insights/standards) governs the UPC and GTIN identifiers echoed on each line - Each buyer's 855 implementation guide sets which codes it accepts, which segments it requires and how soon it expects the acknowledgment **Who sends it?** The supplier (seller), back to the buyer that sent the [850 Purchase Order](/guides/edi/850-purchase-order). **When is it sent?** After the 850 is received and checked against stock, price and item data. The buyer's guide sets the deadline. Some buyers want one 855 per 850; a few accept a header-only acceptance. **Why does it matter?** The buyer plans around it. Lines you backorder or reject on the 855 can be sourced elsewhere; lines you accept are expected on the truck. Many retail programs also track whether the 855 arrived on time and matched what later shipped, and treat misses as compliance failures. ## Where the 855 Sits in the Order Cycle 1. **[850 Purchase Order](/guides/edi/850-purchase-order).** The buyer sends the order. 2. **[997 Functional Acknowledgment](/guides/edi/997-functional-acknowledgment).** Your translator confirms the 850 arrived and was structurally valid. 3. **855 Purchase Order Acknowledgment.** You confirm what you will ship, line by line. 4. **[860 Purchase Order Change](/guides/edi/860-purchase-order-change) and [865 Change Acknowledgment](/guides/edi/865-purchase-order-change-acknowledgment)**, if the buyer changes the order or you need to propose a change. 5. **[869 Order Status Inquiry](/guides/edi/869-order-status-inquiry) and [870 Order Status Report](/guides/edi/870-order-status-report)**, if the buyer asks for an update on lines that have not shipped. 6. **[856 Ship Notice/ASN](/guides/edi/856-ship-notice).** What actually shipped. 7. **[810 Invoice](/guides/edi/810-invoice).** The bill, which the buyer matches against the PO and the receipt. The 855 is a commitment. Everything after it is measured against it. ## Interactive Example: Two Lines Accepted, One Backordered Home goods supplier Cedarline acknowledges purchase order `4500087321` from retailer Harbor Home (the same order the [869](/guides/edi/869-order-status-inquiry) and [870](/guides/edi/870-order-status-report) examples follow). `BAK01` is `00` (original) and `BAK02` is `AC` (acknowledged with detail and change), because one line is not shipping as ordered. `BAK04` repeats the PO date, `BAK08` carries Cedarline's own sales order number and `BAK09` the acknowledgment date. Each `PO1` echoes the buyer's line exactly as ordered. The `ACK` under it gives Cedarline's answer: lines 1 and 2 accepted (`IA`) with a current scheduled ship date of November 3 (`ACK04` = `068`), and line 3 backordered (`IB`) to November 24. `CTT01` counts the three `PO1` lines and `CTT02` is the hash total of the ordered quantities (24 + 6 + 12 = 42). Use the **Plain English** tab for a readable summary, or click any segment to break it down element by element. ## Interactive Example: Price Change, Split Line and Rejection A second Harbor Home order, `4500087398`, shows four different line outcomes in one 855: - **Line 1** is accepted as ordered (`IA`). - **Line 2** is accepted at a new price (`IP`). The echoed `PO104` carries the revised $19.50 cost in place of the $18.00 the buyer ordered at. Some buyers want the original price kept in `PO1` and the new one sent separately; their guide says which. - **Line 3** ordered 48 shades. Two `ACK` segments split it: 30 accepted to ship now (`IQ`, quantity changed) and 18 backordered (`IB`). The `ACK` loop repeats, so one line can carry several outcomes. - **Line 4** is rejected with `R2` (invalid item product number), because the UPC on the order is not an item Cedarline sells. The buyer answered this 855 with an 860 that deletes line 2 rather than pay the new price. That 860 is the second example in the [860 guide](/guides/edi/860-purchase-order-change). ## 855 Structure at a Glance | Position | Segment | Name | Usage | Notes | |---|---|---|---|---| | Header | **ST** | Transaction Set Header | Mandatory | `ST01` = `855` | | Header | **BAK** | Beginning Segment for PO Acknowledgment | Mandatory | Purpose, acknowledgment type, PO number and date | | Header | **CUR** | Currency | Optional | Non-USD orders | | Header | **REF** | Reference Identification | Optional | Department, vendor number, other references from the 850 | | Header | **DTM** | Date/Time Reference | Optional | Header-level ship or delivery dates | | Header | **N1 loop** | Name (with N3, N4) | Optional | Buyer, supplier, ship-to | | Detail | **PO1** | Baseline Item Data | Mandatory in the PO1 loop | Echo of the ordered line: line number, quantity, unit, price, item IDs | | Detail | **PID** | Product/Item Description | Optional | Item description | | Detail | **ACK** | Line Item Acknowledgment | Optional in the standard, required by most buyers | Status, quantity, date. Repeats per line | | Summary | **CTT** | Transaction Totals | Optional | Number of `PO1` lines, hash total of quantities | | Summary | **SE** | Transaction Set Trailer | Mandatory | Segment count and control number | The standard allows a header-only 855 with no `PO1` loop at all. In practice most retail guides require every line to be echoed with at least one `ACK`. ## Key Segments Explained ### BAK: Beginning Segment for Purchase Order Acknowledgment ``` BAK*00*AC*4500087321*20261020****CL-SO-30418*20261021~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **BAK01** | Transaction Set Purpose Code | `00` | `00` original. Some guides use `06` (confirmation) or `05` (replace) for a resent 855 | | **BAK02** | Acknowledgment Type | `AC` | How the PO is acknowledged (table below) | | **BAK03** | Purchase Order Number | `4500087321` | Must match `BEG03` on the 850 character for character | | **BAK04** | Date | `20261020` | The purchase order date, from `BEG05` on the 850 | | **BAK05** | Release Number | | For releases against a blanket order | | **BAK06** | Request Reference Number | | Rarely used | | **BAK07** | Contract Number | | Where the order is placed against a contract | | **BAK08** | Reference Identification | `CL-SO-30418` | Commonly your sales order number | | **BAK09** | Date | `20261021` | Commonly the date of the acknowledgment | `BAK04` trips people up. It is the PO date, not today's date. The acknowledgment date, where a buyer wants it, usually goes in `BAK09`. **BAK02 acknowledgment types** (element 587). The buyer's guide will list the subset it accepts: | Code | Meaning | Typical use | |---|---|---| | **AD** | Acknowledge with detail, no change | Every line accepted as ordered, lines echoed | | **AC** | Acknowledge with detail and change | At least one line is backordered, changed or rejected | | **AE** | Acknowledge with exception detail only | Only the lines that differ are sent | | **AK** | Acknowledge, no detail or change | Header-only acceptance, no lines | | **AT** | Accepted | Header-level acceptance, used by some buyers instead of AK | | **RD** | Rejected with detail | Whole order rejected, lines show why | | **RJ** | Rejected, no detail | Whole order rejected at header level | Other values exist (`AH` on hold, `AP` product replenishment, `RF`, `RN`, `RO`, `RV`, `NA`, `ZZ`), but most retail traffic uses the codes above. ### PO1: Baseline Item Data ``` PO1*1*24*EA*42.00**UP*085519001205*VN*CL-LAMP-BRS~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **PO101** | Assigned Identification | `1` | The buyer's line number from the 850. Echo it exactly | | **PO102** | Quantity Ordered | `24` | The quantity the buyer ordered | | **PO103** | Unit of Measure | `EA` | Unit from the 850 | | **PO104** | Unit Price | `42.00` | The ordered price, or the revised price where the buyer's guide puts it here | | **PO105** | Basis of Unit Price Code | | Optional, for example `PE` price per each | | **PO106 / PO107** | Product ID Qualifier / ID | `UP` / `085519001205` | UPC | | **PO108 / PO109** | Product ID Qualifier / ID | `VN` / `CL-LAMP-BRS` | Vendor item number | Echo `PO1` from the 850 rather than rebuilding it from your item master. The buyer matches on its own line number and identifiers, and a reformatted UPC or a different vendor number breaks the match. ### ACK: Line Item Acknowledgment ``` ACK*IB*12*EA*068*20261124~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **ACK01** | Line Item Status Code | `IB` | What you will do with the line (table below) | | **ACK02** | Quantity | `12` | The quantity this status applies to | | **ACK03** | Unit of Measure | `EA` | Unit for `ACK02` | | **ACK04** | Date/Time Qualifier | `068` | What the date in `ACK05` means. `068` current schedule ship, `067` current schedule delivery, `017` estimated delivery | | **ACK05** | Date | `20261124` | The date itself | | **ACK06** | Request Reference Number | | Rarely used | | **ACK07 onward** | Product ID Qualifier / ID pairs | | Used for a substituted item (`IS`) or where the buyer wants IDs repeated | `ACK04` is a qualifier, not a date. Older examples online (including an earlier version of this page) put the ship date straight into `ACK04`. A strict translator rejects that, and a lenient one may drop the date. ### CTT: Transaction Totals ``` CTT*3*42~ ``` `CTT01` is the number of `PO1` segments. `CTT02`, where used, is the sum of the `PO102` quantities. Both are computed from the lines, so generate them, never key them. ## ACK01 Line Item Status Codes The full 004010 list for element 668 has 26 codes. These are the ones retail buyers use most: | Code | Meaning | When to use it | |---|---|---| | **IA** | Item accepted | Line ships as ordered: same quantity, price and date | | **IB** | Item backordered | Line cannot ship now. Give the expected date in `ACK04`/`ACK05` | | **IC** | Item accepted, changes made | More than one thing changed, or the buyer's guide uses IC as the general change code | | **IQ** | Item accepted, quantity changed | Shipping a different quantity than ordered | | **IP** | Item accepted, price changed | Shipping at a different price | | **DR** | Item accepted, date rescheduled | Shipping, but on a different date | | **IS** | Item accepted, substitution made | Shipping a different item. Send its ID in the `ACK07` onward pairs | | **BP** | Item accepted, partial shipment, balance backordered | Part ships, the rest follows | | **IR** | Item rejected | Line will not ship at all | | **ID** | Item deleted | Line removed from the order | | **IH** | Item on hold | Not yet decided | The remaining codes cover narrower cases: `AA` (forwarded to an alternate supplier location), `AC` (accepted and shipped), `AR` (accepted and released for shipment), `IE` (accepted, price pending), `IF` (on hold, incomplete description), `IW` (on hold, waiver required), `SP` (accepted, schedule date pending), and the reasoned rejections `R1` (not a contract item), `R2` (invalid item product number), `R3` (invalid unit of issue), `R4` (contract item not available), and `R5` to `R8` (reorder as a just-in-time, extended delivery, drop shipment or surge order). Two practical rules. First, use the most specific code the buyer accepts: `IQ` tells the buyer more than `IC`. Second, a line can carry more than one `ACK`. Shipping 30 now and backordering 18 is `ACK*IQ*30` followed by `ACK*IB*18`, as in the second example. Some buyers prefer `BP` for the same situation. Their guide decides. ## Accepting, Changing and Rejecting at Header vs Line Level | Situation | BAK02 | Lines | |---|---|---| | Everything ships as ordered | `AD` (or `AK`/`AT` if the buyer accepts a header-only 855) | Every line `IA` | | Some lines backordered, changed or rejected | `AC` | Each line with its own `ACK` | | Only the exceptions are reported | `AE` | Only the lines that differ | | The whole order is declined | `RD` with lines, or `RJ` without | `IR` or an `R` code per line | If any `ACK` is anything other than `IA`, the header should not say "no change". A `BAK02` of `AD` over an `IB` line is a contradiction some buyers reject outright. ## EDI 855 vs 856, 997, 865 and 870 | Document | Sent by | Question it answers | Timing | |---|---|---|---| | **[997 Functional Acknowledgment](/guides/edi/997-functional-acknowledgment)** | Receiver of any document | Did the file arrive and parse? | Automatically, on receipt | | **855 PO Acknowledgment** | Supplier | What will you ship against this order? | After reviewing the order | | **[865 PO Change Acknowledgment](/guides/edi/865-purchase-order-change-acknowledgment)** | Supplier | Do you accept the buyer's change, or what change do you propose? | After an 860, or when the supplier needs a change | | **[870 Order Status Report](/guides/edi/870-order-status-report)** | Supplier | Where does the order stand now? | On request (869) or on a schedule | | **[856 Ship Notice/ASN](/guides/edi/856-ship-notice)** | Supplier | What actually shipped, in which cartons? | When the shipment leaves | The 855 and the 856 can legitimately disagree: committing 24 on the 855 and shipping 16 on the 856 is a short shipment, which is a fill-rate problem rather than an EDI error. Send an 870 or an 865 when the plan changes after the 855 has gone, rather than a second 855, unless the buyer's guide says to resend. ### Can you reject or return a line on an 855? You can reject a line. You cannot process a return with one. Rejecting means declining to supply the line before anything ships: send `IR`, or a specific `R` code if the buyer's guide wants a reason. The buyer then sources elsewhere or sends an [860 change](/guides/edi/860-purchase-order-change). Returning goods that already shipped is a separate flow, handled by a [180 Return Merchandise Authorization](/guides/edi/180-return-merchandise-authorization) or the buyer's returns portal. If you work in SAP and see a return order type such as `ZRET`, that is a sales document created for the return after the fact. No inbound 855 produces it, and no ACK01 code requests a return. ## Common 855 Errors and How to Prevent Them | Error | What happens | Prevention | |---|---|---| | **`BAK03` does not match `BEG03`** | 855 cannot be tied to the order; rejected or ignored | Copy the PO number from the 850, including leading zeros and dashes | | **`BAK04` set to today's date** | Mismatch against the PO date | `BAK04` is the PO date. Put the acknowledgment date in `BAK09` if the buyer wants it | | **Date placed in `ACK04`** | Rejected, or the date is lost | `ACK04` is the qualifier (`068`, `067`, `017`). The date goes in `ACK05` | | **Lines without an `ACK`** | Buyer cannot tell whether the line ships | Every `PO1` gets at least one `ACK` | | **`IA` with a different quantity** | Buyer plans for the wrong quantity | `IA` means as ordered. Use `IQ`, `IB` or a split | | **Header says no change, lines show changes** | Contradiction; rejected by stricter buyers | Derive `BAK02` from the line codes | | **Line numbers or item IDs re-keyed** | Lines do not match the 850 | Echo `PO101` and the product IDs from the 850 | | **Code the buyer does not accept** | Rejected at the buyer's application level, often by an [824](/guides/edi/824-application-advice) | Map only the codes in the buyer's guide | | **Wrong functional group** | Rejected at the envelope | `GS01` is `PR` for an 855. `PO` is the 850's group | | **`CTT` counts typed in** | Totals do not match the lines | Compute `CTT01` and `CTT02` at build time | To check a finished 855 against its 850 line by line, paste both into [Compare EDI documents](/tools/compare-edi). Draft one from an 850 with the free [EDI response builder](/tools/edi-response-builder), and run the result through the [EDI inspector](/edi-inspector) before it goes out. ## 855 Implementation Checklist - Get the buyer's 855 guide and list the `BAK02` and `ACK01` codes it accepts - Confirm whether it wants every line echoed, exceptions only, or a header-only acknowledgment - Confirm the deadline from receipt of the 850, and whether weekends count - Confirm where a changed price goes (`PO104`, `CTP`, or not allowed at all) - Confirm the date qualifier it expects in `ACK04` - Decide who in your business approves backorders, substitutions and rejections, and how fast - Map `PO1` as an echo of the 850, not a rebuild from your item master - Test an all-accepted order, a backorder, a split line, a rejection and a whole-order rejection - Monitor the 997s that come back for your 855s in the first weeks of production For the full list of documents a new trading partner may require, see the [EDI document types reference](/edi-document-types) and our [EDI compliance checklist](/blog/edi-compliance). ## Building 855s From Clean Orders With OrderSync Most 855 mistakes start before the 855: an order keyed by hand, an item number that did not match, a unit of measure read as eaches instead of cases. The acknowledgment then confirms the wrong thing. OrderSync reads inbound orders in any format, EDI 850s and 875s alongside PDFs, emails and spreadsheets, matches customers, items and units to your catalog, and outputs valid X12 or ERP data. Once you confirm the order, it generates the 855 to the partner's spec, line by line. Paste any 855 into the [free EDI inspector](/edi-inspector) to see it parsed with a plain-English summary of each line, read how [automated order processing](/order-processing-automation) fits your current setup, or [book a 15-minute walkthrough](/book) to see your own orders processed. ## Frequently Asked Questions
### What is an EDI 855 used for? A supplier sends the EDI 855 Purchase Order Acknowledgment to tell a buyer it received an 850 purchase order and what it will ship against it. Each line can be accepted, backordered, changed in quantity, price or date, substituted, or rejected, using the ACK segment. ### What is the difference between EDI 850 and 855? The 850 is the purchase order the buyer sends. The 855 is the supplier's reply to that order. The 855 references the 850's PO number in BAK03 and echoes each PO1 line with an ACK segment showing whether that line will ship as ordered. ### What is the difference between an EDI 855 and an 856? The 855 says what you intend to ship, shortly after the order arrives. The 856 Ship Notice says what actually shipped, carton by carton, when the shipment leaves. They can differ: a line accepted on the 855 and shipped short on the 856 is a fill-rate problem. ### What does ACK01 mean in an 855? ACK01 is the line item status code. IA means accepted as ordered, IB backordered, IQ accepted with a quantity change, IP accepted with a price change, IS accepted with a substitution, and IR rejected. ACK02 and ACK03 give the quantity and unit, and ACK04 and ACK05 a qualified date. ### What is BAK02 in an EDI 855? BAK02 is the acknowledgment type for the whole order. AD means acknowledged with detail and no change, AC acknowledged with detail and changes, AK acknowledged with no detail, AT accepted, and RD or RJ rejected. It should agree with the line-level ACK codes. ### Is the 855 the same as the 997? No. The 997 is a technical receipt generated by your translator, confirming the 850 arrived and parsed. The 855 is a business response, sent after someone or something has checked stock and price. Buyers that require an 855 expect both. ### Can one 855 line have more than one ACK segment? Yes. The ACK loop repeats within each PO1, so a line of 48 can be acknowledged as 30 accepted (IQ) and 18 backordered (IB) with a date for each. Some buyers prefer the single code BP for a partial shipment with the balance backordered. ### What happens if I do not send an 855? It depends on the buyer. Where the 855 is required, a missing or late one is usually logged as a compliance failure, and the buyer cannot tell which lines to expect. The buyer's vendor agreement and EDI guide set the deadline and any penalty.
## Related Transaction Sets - **[850 Purchase Order](/guides/edi/850-purchase-order)**: the order the 855 answers - **[860 Purchase Order Change](/guides/edi/860-purchase-order-change)**: the buyer's change to an order already acknowledged - **[865 PO Change Acknowledgment](/guides/edi/865-purchase-order-change-acknowledgment)**: the supplier's answer to an 860, or its own proposed change - **[870 Order Status Report](/guides/edi/870-order-status-report)**: progress against the 855 once the order is open - **[856 Ship Notice/ASN](/guides/edi/856-ship-notice)**: what actually shipped - **[EDIFACT ORDRSP](/guides/edi/edifact-ordrsp)**: the EDIFACT equivalent of the 855 - **[UBL vs X12 vs EDIFACT](/guides/e-invoicing/ubl-vs-x12-vs-edifact)**: the 855's counterparts in EDIFACT and Peppol --- # EDI 856 ASN: HL Hierarchy, Segments, Examples Source: https://ordersync.io/guides/edi/856-ship-notice > EDI 856 ASN explained: the HL hierarchy (shipment, order, tare, pack, item), BSN, TD1, TD5, PRF, MAN and SN1 segments, pallet examples and common errors. The EDI 856 Ship Notice/Manifest, or ASN, is the X12 transaction a supplier sends to tell a buyer what is in a shipment before it arrives. HL segments build a hierarchy of shipment, order, pallet, carton and item, with carrier details, purchase order numbers, SSCC carton labels and quantities shipped, so the receiving dock can scan instead of count. **The EDI 856 Advance Ship Notice (ASN) tells a buyer exactly what is coming, how it is packed and how it is traveling, before the truck reaches the dock.** Its official X12 name is Ship Notice/Manifest. Large retailers use it to plan receiving and to receive cartons by scanning their labels, so an ASN that is late, missing or wrong turns into a slow receipt, a manual count and, often, a compliance deduction. This guide covers the HL hierarchy that makes the 856 different from every other order document, the segments you will map, two live examples (a single carton and a pallet with three cartons), SSCC labels, how the 856 relates to the 855, 945, 810 and 857, and the errors that cause rejections. ## What is an EDI 856 ASN? **An EDI 856 is the Ship Notice/Manifest transaction set defined by the [ASC X12 standards body](https://x12.org/products/transaction-sets), used to list the contents of a shipment and give details about how it is packed and transported.** It travels in functional group `SH` (the `GS01` value). Most retail partners use release 004010, where the [Stedi 004010 856 reference](https://www.stedi.com/edi/x12-004010/856) lists every segment. Authoritative references for 856 work: - The [X12 transaction set catalog](https://x12.org/products/transaction-sets) defines the 856 structure and the hierarchical structure codes used in `BSN05` - [GS1](https://www.gs1.org/standards/id-keys/sscc) defines the Serial Shipping Container Code (SSCC), the 18-digit number on each pallet and carton label, and [GS1 US](https://www.gs1us.org/industries-and-insights/standards) governs the U.P.C. and GTIN item numbers - The [NMFTA](https://nmfta.org/what-is-scac-and-how-do-carriers-get-it) assigns the Standard Carrier Alpha Codes (SCACs) that identify the carrier in `TD5` - Each retailer publishes its own 856 implementation guide with its required hierarchy, segments and timing **Who sends it?** The supplier (or its 3PL on the supplier's behalf), from shipping and warehouse data. **Who receives it?** The buyer's receiving location: a distribution center, store or fulfillment center. **When is it sent?** After the shipment is packed and loaded, before it arrives. The exact deadline is in the buyer's guide. **Why does it matter?** The buyer's warehouse system loads the ASN as an expected receipt. When the truck arrives, receivers scan each SSCC label and the system already knows what is inside. If the ASN does not match the freight, receiving falls back to a manual count, and the difference shows up on a [861 receiving advice](/guides/edi/861-receiving-advice) or as a deduction. A standard 856 ASN contains: - Shipment details: carrier, bill of lading, ship date, package count and weight - The purchase order (or orders) being shipped - A packing hierarchy: pallets, cartons and the items inside each - The SSCC number printed on each pallet and carton label - Quantities shipped per item, and lot or serial numbers where required - Ship-from and ship-to locations ## Why ASNs Matter - **Faster receiving.** Cartons are received by scanning a label, not by opening and counting. - **Receiving and cross-dock planning.** The buyer knows what is arriving before it arrives, so it can plan labor and cross-dock freight to stores. - **Fewer deductions.** Many retailers treat a late, missing or inaccurate ASN as a compliance failure under their vendor agreement. - **Invoice matching.** The buyer matches your [810 invoice](/guides/edi/810-invoice) against the quantities on the ASN and its own receipt. - **In-transit visibility.** Inventory on the truck is visible to the buyer's planners before it lands. ## Interactive Example: Basic 856 ASN A single carton holding two items for one purchase order, shipped by motor carrier. The hierarchy is Shipment, Order, Pack, Item. Use the **Plain English** tab for a readable summary, or click any segment to break it down element by element. ## Understanding the Hierarchical Structure The 856 uses **Hierarchical Level (HL) segments** to describe how the shipment is packed. Every HL has its own ID and points to its parent, which turns a flat list of segments into a tree: ``` Shipment (S) └── Order (O) PO 4500091150 └── Tare (T) Pallet, SSCC 00008551900000041018 ├── Pack (P) Carton, SSCC 00008551900000041025 │ └── Item (I) 24 brass table lamps ├── Pack (P) Carton, SSCC 00008551900000041032 │ └── Item (I) 10 area rugs └── Pack (P) Carton, SSCC 00008551900000041049 └── Item (I) 12 lamp shades ``` ### HL - Hierarchical Level ``` HL*1**S~ HL*2*1*O~ HL*3*2*T~ HL*4*3*P~ HL*5*4*I~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **HL01** | Hierarchical ID Number | `4` | A unique ID for this level, usually numbered 1, 2, 3 in order | | **HL02** | Hierarchical Parent ID Number | `3` | The HL01 of the parent. Empty on the shipment level | | **HL03** | Hierarchical Level Code | `P` | What this level is (see the table below) | | **HL04** | Hierarchical Child Code | `1` | Optional. `1` if this level has children, `0` if not. Some retailers require it | ### Level Codes Explained | Code | X12 name | What it represents | Segments usually inside it | |---|---|---|---| | **S** | Shipment | The whole shipment, one per ASN | `TD1`, `TD5`, `TD3`, `REF*BM`, `DTM`, `N1` ship-from and ship-to | | **O** | Order | One purchase order in the shipment | `PRF` (PO number and date), `REF`, store `N1` | | **T** | Shipping Tare | A pallet or other unit holding several packs | `MAN*GM` pallet SSCC, sometimes `PAL` or `TD1` | | **P** | Pack | A carton or case | `MAN*GM` carton SSCC, sometimes `PO4` | | **I** | Item | A product inside the pack | `LIN` product IDs, `SN1` quantity shipped, `PID` | | **Q** | Subpack | An inner pack inside a carton | Used by some retailers for inner packs | ### BSN05: The Hierarchy Code `BSN05` tells the receiver which order the levels appear in. The three codes retail suppliers see most: | BSN05 | X12 description | Typical use | |---|---|---| | `0001` | Shipment, Order, Packaging, Item | Pick and pack shipments with carton labels. The packaging can be one level (P) or two (T then P) | | `0002` | Shipment, Order, Item, Packaging | Standard packs, where each item's cartons are listed under the item | | `0004` | Shipment, Order, Item | No carton detail. Used where the buyer does not need pack-level data | The hierarchy you build must match the code you send and the structure in your partner's guide. Many retail guides require `0001`. A Shipment-Order-Item structure is valid under `0004` and wrong under `0001`. ## Interactive Example: Pallet With Three Cartons (S-O-T-P-I) A home goods supplier ships one pallet to a retailer's distribution center against PO 4500091150. `BSN05` is `0001`. The tare level carries the pallet's SSCC, each pack level a carton's SSCC, and each item level the U.P.C., vendor item and quantity. `TD1` says one wooden pallet weighing 412 pounds, and `TD5` names the carrier by SCAC with qualifier `2`. The quantities match the 810 invoice in our [810 guide](/guides/edi/810-invoice). All parties, SCACs and SSCCs are fictional. ## 856 Structure at a Glance The 856 is short at the top and long in the middle: one heading, then one `HL` loop per level. | Area | Segment | Name | Usage in 004010 | Notes | |---|---|---|---|---| | Heading | **ST** | Transaction Set Header | Mandatory | `ST01` = `856` | | Heading | **BSN** | Beginning Segment for Ship Notice | Mandatory | Purpose, shipment ID, date, time, hierarchy code | | Heading | **DTM** | Date/Time Reference | Optional | Some partners want ship date here instead of in the HL loop | | Detail | **HL** | Hierarchical Level | Mandatory loop | Starts each shipment, order, tare, pack or item level | | Detail | **LIN** | Item Identification | Optional | Item level: product ID pairs | | Detail | **SN1** | Item Detail (Shipment) | Optional | Item level: quantity and unit shipped | | Detail | **PRF** | Purchase Order Reference | Optional | Order level: PO number and date | | Detail | **PO4** | Item Physical Details | Optional | Pack size, weights and dimensions | | Detail | **PID** | Product/Item Description | Optional | Item description | | Detail | **TD1** | Carrier Details (Quantity and Weight) | Optional | Shipment level: package count and weight | | Detail | **TD5** | Carrier Details (Routing) | Optional | Shipment level: carrier SCAC and mode | | Detail | **TD3** | Carrier Details (Equipment) | Optional | Trailer number and seal | | Detail | **REF** | Reference Identification | Optional | BOL, carrier PRO, department, appointment | | Detail | **MAN** | Marks and Numbers | Optional | Tare and pack levels: SSCC label numbers | | Detail | **DTM** | Date/Time Reference | Optional | Shipped and estimated delivery dates | | Detail | **FOB** | F.O.B. Related Instructions | Optional | Freight payment terms | | Detail | **N1** loop | Name, with N3, N4 | Optional | Ship-from, ship-to, buyer, mark-for store | | Summary | **CTT** | Transaction Totals | Optional | Number of HL segments, optional hash total | | Summary | **SE** | Transaction Set Trailer | Mandatory | Segment count and control number | Almost everything is optional in the standard and required in practice. The retailer's guide decides. ## Key Segments Explained ### BSN - Beginning Segment for Ship Notice ``` BSN*00*CL-SHP-55104*20261110*1430*0001~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **BSN01** | Transaction Set Purpose Code | `00` | `00` original. Some partners accept a replacement or cancellation code; check the guide | | **BSN02** | Shipment Identification | `CL-SHP-55104` | Your unique shipment or ASN number. Never reuse it | | **BSN03** | Date | `20261110` | The date the ASN was created, usually the ship date | | **BSN04** | Time | `1430` | Time in `HHMM` | | **BSN05** | Hierarchical Structure Code | `0001` | The order of the HL levels (see above) | ### TD1 - Carrier Details (Quantity and Weight) ``` TD1*PLT94*1****G*412*LB~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **TD101** | Packaging Code | `PLT94` | Package form plus material: `PLT94` wooden pallet, `CTN25` corrugated carton | | **TD102** | Lading Quantity | `1` | Number of packages of that type | | **TD106** | Weight Qualifier | `G` | `G` gross weight | | **TD107** | Weight | `412` | The weight | | **TD108** | Unit of Measure | `LB` | `LB` pounds, `KG` kilograms | `TD102` has to agree with what is in the hierarchy. If `TD1` says three cartons and the ASN has two pack levels, receiving cannot reconcile the shipment. ### TD5 - Carrier Details (Routing Sequence/Transit Time) ``` TD5**2*HRBL*M~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **TD501** | Routing Sequence Code | | Often empty; some guides ask for a routing sequence code | | **TD502** | Identification Code Qualifier | `2` | `2` means the next element is a SCAC | | **TD503** | Identification Code | `HRBL` | The carrier's SCAC (fictional here) | | **TD504** | Transportation Method/Type Code | `M` | `M` motor (common carrier), `U` private parcel service, `A` air, `R` rail, `LT` LTL | | **TD505** | Routing | | Free-text routing, where used | The value in `TD503` must be the carrier's SCAC, not its name. On routed (collect) freight, use the carrier the buyer assigned, usually from its routing guide or a [754 routing instruction](/guides/edi/754-routing-instructions). ### REF - Reference Identification ``` REF*BM*CL-BOL-55104~ REF*CN*PRO4471029~ ``` | REF01 | X12 meaning | Typical use in an 856 | |---|---|---| | `BM` | Bill of Lading Number | The BOL for the shipment, at the shipment level | | `CN` | Carrier's Reference Number (PRO/Invoice) | The LTL carrier's PRO number | | `2I` | Tracking Number | A parcel tracking number, where the partner wants it in REF | | `DP` | Department Number | At the order level | | `AO` | Appointment Number | The receiving appointment, where one was booked | | `IV` | Seller's Invoice Number | When the partner wants the invoice number on the ASN | For parcel shipments, many partners want each carton's tracking number at the pack level, in a `REF` or in a `MAN` segment with qualifier `CP` (carrier-assigned package ID). The guide says which. ### PRF - Purchase Order Reference ``` PRF*4500091150***20261102~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **PRF01** | Purchase Order Number | `4500091150` | The PO from `BEG03` of the 850 | | **PRF02** | Release Number | | For releases against a blanket order | | **PRF03** | Change Order Sequence Number | | Where the PO was changed | | **PRF04** | Date | `20261102` | The PO date | ### MAN - Marks and Numbers The `MAN` segment carries the number printed on the GS1-128 shipping label. ``` MAN*GM*00008551900000041025~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **MAN01** | Marks and Numbers Qualifier | `GM` | `GM` = SSCC-18 and Application Identifier. `AA` = SSCC-18 alone. `CP` = carrier-assigned package ID | | **MAN02** | Marks and Numbers | `00008551900000041025` | With `GM`, the `00` application identifier followed by the 18-digit SSCC: 20 digits in all | Which form your partner wants (20 digits with `GM`, or 18 with `AA`) is in its guide. The number must match the barcode on the physical label exactly. **SSCC structure:** ``` 00 0 0855190 000004102 5 │ │ │ │ └─ Check digit (GS1 mod 10) │ │ │ └─────────── Serial reference │ │ └─────────────────── GS1 Company Prefix │ └───────────────────── Extension digit └──────────────────────── Application identifier (not part of the SSCC) ``` The SSCC itself is 18 digits: an extension digit, your GS1 Company Prefix, a serial reference and a check digit. Company prefixes vary in length, and the serial reference gets shorter as the prefix gets longer, so the total always stays 18. ### LIN - Item Identification ``` LIN**UP*085519001205*VN*CL-LAMP-BRS~ ``` `LIN01` is an optional line number (some buyers want the `PO101` line number from the 850 here). Then come qualifier and ID pairs: `LIN02`/`LIN03`, `LIN04`/`LIN05` and so on. Use the same identifiers the buyer sent on the 850: typically `UP` (U.P.C.), `VN` (vendor item), `BP` (buyer's part number) or `IN` (buyer's item number). ### SN1 - Item Detail (Shipment) ``` SN1**24*EA~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **SN101** | Assigned Identification | | Optional line ID | | **SN102** | Number of Units Shipped | `24` | Quantity shipped in this pack | | **SN103** | Unit or Basis for Measurement Code | `EA` | The unit, matching the 850's unit | | **SN104** | Quantity Shipped to Date | | Some buyers want the cumulative quantity | | **SN105** | Quantity Ordered | | Some buyers want the original order quantity | ### CTT - Transaction Totals In the 856, `CTT01` is the number of `HL` segments, not the number of items. `CTT02`, where sent, is a hash total, usually the sum of the `SN102` quantities. ## Packing Hierarchy Examples ### Example 1: Single Carton (S-O-P-I) ``` HL*1**S~ Shipment HL*2*1*O~ Order: PO-123 HL*3*2*P~ Pack: carton 1 (MAN*GM) HL*4*3*I~ Item A: 50 units HL*5*3*I~ Item B: 30 units ``` ### Example 2: Multiple Cartons (S-O-P-I) ``` HL*1**S~ Shipment HL*2*1*O~ Order: PO-123 HL*3*2*P~ Pack: carton 1 HL*4*3*I~ Item A: 50 units HL*5*2*P~ Pack: carton 2 HL*6*5*I~ Item A: 50 units HL*7*2*P~ Pack: carton 3 HL*8*7*I~ Item B: 100 units ``` ### Example 3: Palletized Shipment (S-O-T-P-I) ``` HL*1**S~ Shipment HL*2*1*O~ Order: PO-123 HL*3*2*T~ Tare: pallet 1 (pallet SSCC) HL*4*3*P~ Pack: carton 1 (carton SSCC) HL*5*4*I~ Item A: 100 units HL*6*3*P~ Pack: carton 2 HL*7*6*I~ Item A: 100 units ``` ### Example 4: Two Purchase Orders on One Truck ``` HL*1**S~ Shipment HL*2*1*O~ Order: PO-123 HL*3*2*P~ Pack HL*4*3*I~ Item HL*5*1*O~ Order: PO-456 (parent is the shipment again) HL*6*5*P~ Pack HL*7*6*I~ Item ``` ## Timing Requirements Every retailer sets its own ASN deadline, and most tie it to the shipment rather than to delivery: the ASN must be received before the freight arrives, and often within a set time after it leaves your dock. The exact rule, and what happens when you miss it, is in the retailer's routing guide, EDI guide or vendor agreement. Our compliance pages for [Walmart](/edi-compliance/walmart), [Target](/edi-compliance/target) and [Amazon](/edi-compliance/amazon) summarize what each retailer asks suppliers to set up. The safe habit: build the ASN from the closed shipment (packed cartons, loaded pallet, BOL and carrier assigned) and send it as soon as the trailer is closed, before the carrier leaves. ## Common Use Cases ### 1. Retail Distribution Center Delivery Palletized or floor-loaded freight to a retailer DC. Each pallet and carton carries an SSCC label, the hierarchy is usually S-O-T-P-I or S-O-P-I, and the carrier often comes from the retailer's routing. ### 2. Store-Ready Cross-Dock Cartons packed for individual stores and shipped through the DC. Each order level or pack carries a mark-for store (`N1*BY` or a similar code in the partner's guide) so the DC can sort without opening anything. ### 3. Drop Ship to Consumer One or a few parcels to a consumer address. The hierarchy is short, and each carton usually carries its parcel tracking number. ### 4. Multiple POs on One Shipment One truck carrying several purchase orders to the same location. One shipment level, one order level per PO, each with its own packs and items. ## Implementation Best Practices ### 1. Generate SSCC Labels From the Same Data as the ASN Every pallet and carton needs a unique SSCC, printed on a GS1-128 label and repeated in `MAN`. The [SSCC label generator](/tools/sscc-label-generator) builds the numbers and prints 4x6 labels from your company prefix or straight from an 856. **Check digit example** for the 17 digits `00855190000004102`: multiply digits by 3 and 1 alternately, starting with 3 on the rightmost digit, sum them, and take the amount needed to reach the next multiple of 10. Here the weighted sum is 85, so the check digit is 5 and the SSCC is `008551900000041025`. The [check digit calculator](/tools/check-digit-calculator) does the same for any GS1 number. ### 2. Build the ASN From Pick and Pack Confirmation - Generate the ASN from what was packed and scanned, not from the PO - Record shorts and substitutions before the ASN is built - Include lot or serial numbers where the buyer requires them - Assign the carton SSCC at packing, so the label and the ASN cannot drift apart ### 3. Capture Carrier Data at Pickup - Use the carrier's SCAC in `TD503`, not its name - Put the BOL number in `REF*BM`, and the PRO number in `REF*CN` for LTL - Record parcel tracking numbers per carton where required - Add the appointment number if the delivery was booked ### 4. Validate Before Sending The free [EDI response builder](/tools/edi-response-builder) drafts an 856 from the 850 with SSCCs per carton, and [Compare EDI documents](/tools/compare-edi) checks the finished ASN against the PO and the invoice line by line. Before you send, check: - The PO number matches the 850 - Item IDs match what the buyer sent - Quantities do not exceed the order unless overshipment is allowed - Every SSCC is unique and matches a printed label - `TD1` counts and weights agree with the hierarchy - `CTT01` equals the number of `HL` segments ## Common Errors to Avoid | Error | What happens | Prevention | |---|---|---| | **Missing or wrong parent IDs** | The receiver cannot rebuild the hierarchy; ASN rejected | Generate `HL02` from the pack structure, never by hand | | **Hierarchy does not match BSN05** | Rejection or a failed load at the DC | Send the code your structure actually follows, and the one your partner's guide requires | | **Duplicate SSCC** | Second carton cannot be received by scan | Draw serial references from one sequence per company prefix and never reuse them | | **SSCC length wrong for the qualifier** | `MAN` rejected | 20 digits with `MAN*GM`, 18 with `MAN*AA`, unless the guide says otherwise | | **Carrier name instead of SCAC in TD5** | Carrier not recognized; routing compliance failure | Use `TD502` = `2` with the four-letter SCAC | | **BOL or tracking number missing** | Receiving cannot match the freight to the ASN | Capture `REF*BM` (and `REF*CN` or tracking) at pickup | | **TD1 count disagrees with packs** | Receipt flagged for investigation | Compute `TD102` from the packs in the hierarchy | | **ASN built from the PO, not the pack** | Quantities on the ASN do not match the freight; [861](/guides/edi/861-receiving-advice) shows shortages | Build from scan-confirmed pick and pack data | | **PO date in the wrong PRF element** | Validation error or failed PO match | The PO date goes in `PRF04` | | **ASN sent after the freight arrives** | Late ASN under the vendor agreement | Send when the trailer is closed | ``` Wrong: HL*1**S~HL*2**O~HL*3**I~ Right: HL*1**S~HL*2*1*O~HL*3*2*P~HL*4*3*I~ ``` The first version has no parent IDs, so the receiver cannot tell what belongs to what. The second version names each parent. ## How the 856 Relates to Other EDI Documents The 856 is one step in the order-to-cash sequence, and it is easy to confuse with the acknowledgment, the warehouse shipping advice and the invoice. | Document | What it communicates | Direction | Timing | |---|---|---|---| | **[850 Purchase Order](/guides/edi/850-purchase-order)** | What the buyer wants to buy | Buyer to supplier | Order placed | | **[855 PO Acknowledgment](/guides/edi/855-purchase-order-acknowledgment)** | Whether the supplier accepts or changes the order | Supplier to buyer | After the 850 arrives | | **[753](/guides/edi/753-request-for-routing-instructions) / [754](/guides/edi/754-routing-instructions)** | Request for routing and the buyer's routing answer | Supplier asks, buyer answers | Before pickup, on collect freight | | **[945 Warehouse Shipping Advice](/guides/edi/945-warehouse-shipping-advice)** | A 3PL's confirmation of what it shipped | Warehouse to supplier | After the warehouse ships | | **856 Ship Notice (ASN)** | What shipped and how it is packed | Supplier to buyer | At shipment, before arrival | | **[857 Shipment and Billing Notice](/guides/edi/857-shipment-and-billing-notice)** | Ship notice and invoice in one document | Supplier to buyer | At shipment, replacing both 856 and 810 | | **[861 Receiving Advice](/guides/edi/861-receiving-advice)** | What the buyer actually received | Buyer to supplier | After receipt | | **[810 Invoice](/guides/edi/810-invoice)** | The amount owed for what shipped | Supplier to buyer | After shipment | The 856 is the only one of these that carries the full packing hierarchy with SSCC labels. The 945 looks similar but flows the other way: a third-party warehouse uses it to tell you what it shipped, and you build the 856 from that data to notify the buyer. A buyer that asks for order status before shipment uses an [869 inquiry and 870 report](/guides/edi/870-order-status-report) instead. ## 856 Implementation Checklist Before your first live 856 with a new partner: - Get the partner's 856 guide, its `GS08` version and its ASN deadline - Confirm the required `BSN05` code and hierarchy (S-O-P-I, S-O-T-P-I or another) - Confirm the `MAN` qualifier and SSCC length, and get a GS1 Company Prefix if you don't have one - Confirm which product IDs it wants in `LIN` and whether it wants the 850 line number - Confirm which references it needs (BOL, PRO, tracking, department, appointment) and at which level - Confirm how mark-for stores are identified for store-ready freight - Print a test label and confirm the barcode matches the ASN exactly - Test a single carton, a pallet, a multi-PO shipment and a short shipment - Monitor 997s and 861s closely for the first weeks of production If you are new to retail EDI, our [EDI compliance guide](/edi-compliance) and [EDI document types reference](/edi-document-types) show how the ASN fits with the other documents your partners may require. ## Testing Your 856 Implementation Paste an 856 into our [free EDI inspector](/edi-inspector) to see every HL level parsed and labelled, with a plain-English summary of the shipment. It also explains structural rejections, such as a bad segment count or a missing parent ID. ## Where OrderSync Fits Most ASN errors start upstream. A PO loaded with the wrong ship-to, unit of measure or item number gets picked wrong, and the ASN faithfully reports the wrong shipment. Orders also arrive in more than one format: the same retailer may send 850s while its stores email PDFs. OrderSync reads inbound orders in any format, matches customers, ship-to locations, items and units to your catalog, and outputs clean ERP data or valid X12, so your warehouse picks and ships against the right order. It also generates outbound 856s from your shipment data, built to each partner's hierarchy and label requirements. Read more about [order processing automation](/order-processing-automation), or [book a 15-minute walkthrough](/book) to see your own orders processed. ## Related Transaction Sets - **[850 Purchase Order](/guides/edi/850-purchase-order)**: the original order - **[810 Invoice](/guides/edi/810-invoice)**: request for payment, after the ASN - **[857 Shipment and Billing Notice](/guides/edi/857-shipment-and-billing-notice)**: ASN and invoice combined - **[997 Functional Acknowledgment](/guides/edi/997-functional-acknowledgment)**: receipt confirmation - **[214 Transportation Carrier Shipment Status](/guides/edi/214-transportation-carrier-shipment-status)**: carrier tracking updates - **[EDIFACT DESADV](/guides/edi/edifact-desadv)**: the EDIFACT equivalent of the 856, with the CPS hierarchy and SSCCs ## Frequently Asked Questions
### What is the HL hierarchy in an EDI 856? The HL (Hierarchical Level) structure is how the 856 describes packing. The top level is the shipment (S), which contains order levels (O), which contain pallet (T) and carton (P) levels, which contain item levels (I). Each HL carries its own ID and its parent's ID, so the receiver can rebuild exactly which items are in which carton on which pallet. ### What is an SSCC-18 label and why does it matter? The SSCC (Serial Shipping Container Code) is an 18-digit GS1 number that uniquely identifies one pallet or carton. It is printed as a GS1-128 barcode on the shipping label and repeated in the MAN segment of the ASN. Receivers scan it to receive the carton against the ASN, so a missing, duplicated or mismatched SSCC forces a manual count. ### How soon must I send an 856 after shipment? Each retailer sets its own deadline in its EDI guide, routing guide or vendor agreement, and the rule is usually tied to the shipment leaving your dock. In every case the ASN must reach the buyer before the freight does. The safe practice is to send it as soon as the trailer is closed. ### What happens if my 856 quantities do not match what actually shipped? The buyer finds the difference at receiving. It may report it on an 861 Receiving Advice, adjust the invoice payment, or apply an ASN accuracy deduction under its vendor agreement. The fix is to build the 856 from scan-confirmed pick and pack data, not from the purchase order. ### Can one 856 cover multiple purchase orders? Yes. A single ASN can have several order (O) levels under one shipment (S) level, each with its own PRF segment and its own pack and item levels. This is common when one truck carries several open POs to the same location. Some partners limit an ASN to one PO, so check the guide. ### What is the difference between EDI 810 and 856? The 856 is the ship notice and the 810 is the invoice. The 856 goes out at shipment and describes what shipped and how it is packed. The 810 goes out after shipment and bills for it. The 810 should bill for what the 856 reported, not the original order quantity, or the buyer's match fails and payment is held. ### What is the difference between EDI 855 and 856? The 855 is the purchase order acknowledgment and the 856 is the ship notice. The 855 is sent soon after the 850 arrives and says what you will ship, including backorders and changes. The 856 is sent at shipment and reports what actually left your dock. The 855 is a promise about the order; the 856 is a record of the shipment. ### What is the difference between EDI 945 and 856? Both describe a shipment, but they flow in different directions. A 3PL sends the 945 Warehouse Shipping Advice to you, the supplier, to confirm what it shipped against your 940 order. You send the 856 to the buyer. If you use a 3PL, the 945 is your source data and the 856 is the notice you build from it. ### What is the difference between EDI 856 and 857? The 857 Shipment and Billing Notice combines the ship notice and the invoice in one document. A buyer that uses the 857 receives it instead of both the 856 and the 810. Most retail buyers use the separate 856 and 810, so only build an 857 when a partner's guide asks for it. ### A European partner asked for a DESADV instead of an 856 DESADV is the EDIFACT despatch advice, and it fills the role the 856 fills in X12. Peppol defines a Despatch Advice profile that does the same job in UBL. The [three-standard mapping](/guides/e-invoicing/ubl-vs-x12-vs-edifact) shows how the hierarchies line up.
--- # EDI 857 Shipment and Billing Notice: 856 + 810 Source: https://ordersync.io/guides/edi/857-shipment-and-billing-notice > EDI 857 explained: one document that replaces the 856 ASN and 810 invoice, its BHT and HL levels, the G05, TDS and IT1 segments, a live example and errors. The EDI 857 Shipment and Billing Notice is the X12 transaction a supplier sends to describe a shipment and bill for it in one document. It combines the 856 ship notice and the 810 invoice: carrier, packaging and carton labels for receiving, plus prices, terms and invoice totals for payment. It replaces both documents together, never just one. **The EDI 857 is an ASN and an invoice in one envelope.** Most trading partners want an [856 ship notice](/guides/edi/856-ship-notice) when the goods leave and an [810 invoice](/guides/edi/810-invoice) to bill them, even though the two documents repeat most of the same data. A few buyers, notably in the book trade and in US defense procurement, accept a single 857 instead. When they do, your one document has to satisfy both the receiving dock and accounts payable. This guide covers what the 857 carries, who uses it, the hierarchy it shares with the 856, every segment you will map, a live example, a side-by-side comparison with the 856 and 810, and the errors that block both receipt and payment. ## What Is an EDI 857? **An EDI 857 is the Shipment and Billing Notice transaction set defined by [ASC X12](https://x12.org/products/transaction-sets), which gives the recipient of a shipment the data it needs both to plan the receipt and to generate payment.** The X12 standard positions it as a consolidation of the Ship Notice/Manifest (856) and the Invoice (810). It travels in functional group `BS` (the `GS01` value). The standard attaches three conditions that shape every 857 implementation: - **It replaces the 856 and the 810 together.** The X12 notes say it is not to replace either one individually. Do not send an 857 and then also send a paper or EDI invoice for the same shipment. - **It fits when prices are not fully agreed in advance.** The 857 suits environments where the item prices and terms on the shipment are used to generate payment. - **It does not fit Evaluated Receipts Settlement (ERS).** Under ERS the buyer pays from its own receipt and agreed prices, so no invoice data is needed. Authoritative references for 857 work: - The [X12 857 structure (release 004010) on Stedi](https://www.stedi.com/edi/x12-004010/857) lists the segments, the BS1 to BS5 loops and the hierarchy notes - The [PUBNET 857 implementation guideline](https://info.pubnet.org/assets/media/support/pubnet_857-vers-3060_04-20-2020.pdf), a subset of the BISAC 857 standard used in the book trade, shows a working retail implementation - The Defense Logistics Agency's [DLMS 857 implementation convention](https://www.dla.mil/Portals/104/Documents/DLMS/Transformats/ICs/4010/41F857.pdf) covers the federal use of the 857 for WAWF "COMBO" documents (invoice and receiving report together) **Who sends it?** The supplier or its 3PL, from the shipping and billing systems together. **Who receives it?** The buyer. Its receiving system uses the shipment, pack and item levels; its payables system uses the prices, terms and totals. **When is it sent?** At shipment, in place of the 856. Because it is also the invoice, it has to be right at the moment it leaves, not corrected a day later. **Why does it matter?** A bad 856 causes a receiving problem. A bad 810 causes a payment problem. A bad 857 causes both, from the same mistake. ## Who Uses the EDI 857 The 857 is uncommon. Most retailers, including the large general merchandise chains, ask for a separate 856 and 810. Confirmed users include: | Sector | Example | How the 857 is used | |---|---|---| | **Book trade** | The BISAC 857 standard and the [PUBNET 857 guideline](https://info.pubnet.org/assets/media/support/pubnet_857-vers-3060_04-20-2020.pdf) | Publishers and distributors ship and bill booksellers in one document | | **US defense procurement** | DLA's [DLMS 857](https://www.dla.mil/Portals/104/Documents/DLMS/Transformats/ICs/4010/41F857.pdf) and WAWF | Vendors submit an invoice and receiving report together (a "COMBO") | Some EDI providers also list individual retailers that accept the 857. Treat those lists as leads and confirm with the buyer's own implementation guide. If a partner has not published an 857 guide, assume it wants an 856 and an 810. ## How an 857 Shipment Works 1. **Order.** The buyer sends an [850 purchase order](/guides/edi/850-purchase-order), and the supplier may confirm it with an [855](/guides/edi/855-purchase-order-acknowledgment). 2. **Pick, pack and label.** The warehouse packs cartons and prints [SSCC-18](/glossary/sscc) labels, exactly as for an 856. 3. **Price and bill.** The billing system prices each shipped line and applies terms, allowances and charges, exactly as for an 810. 4. **Build the 857.** The shipment level carries the carrier, weight and bill of lading. The order level carries the PO, invoice number, terms and invoice total. Pack levels carry carton labels, and item levels carry each priced line. 5. **Transmit.** The supplier sends the 857 when the truck leaves, and the buyer returns a [997](/guides/edi/997-functional-acknowledgment). 6. **Receive.** The buyer's dock scans cartons against the pack and item levels. 7. **Pay.** The buyer's AP matches the shipped and received quantities to the prices on the same document and pays, often with an [820](/guides/edi/820-payment-order). Because there is no separate invoice to fix later, a short-pick or price correction found after the 857 leaves needs whatever correction process the buyer's guide defines, such as a credit adjustment. ## The 857 Hierarchy and BS Loops Like the 856, the 857 uses `HL` loops. Unlike the 856, each level has its own named segment group (BS1 to BS5) with a mandatory first segment, which is how the standard fits invoice data into the hierarchy. | HL03 | Level | Loop | Mandatory first segment | Typical content | |---|---|---|---|---| | `S` | Shipment | BS1 | `G05` Total Shipment Information | Carrier, weight, ship date, BOL, ship-from and ship-to | | `O` | Order | BS2 | `TDS` Total Monetary Value Summary | PO reference, invoice number, terms, taxes, allowances, invoice total | | `T` | Tare (pallet) | BS3 | `PAL` Pallet Information | Pallet type and label | | `P` / `Q` | Pack / Subpack | BS4 | `LX` Assigned Number | Carton label (`MAN`), physical details | | `I` | Item | BS5 | `IT1` Baseline Item Data (Invoice) | Item, quantity, unit price, description | `BHT01` fixes the order of the levels. The X12 notes allow three values: - `0001`: Shipment, Order, Tare, Pack, Subpack, Item - `0002`: Shipment, Order, Item, Tare, Pack, Subpack - `0003`: Shipment, Tare, Pack, Subpack, Order, Item Levels must appear in that order, though some can be left out. The structure is always one shipment of one or more orders. Each order needs at least one item level, and the shipment level appears exactly once. ## Interactive Example: Publisher Shipment to a Bookseller DC A small press ships one order of three titles to a bookseller's distribution center in three cartons. `BHT01` is `0001`, so the levels run shipment, order, pack, item. The shipment level gives 3 cartons and 96 lb in `G05`, the carrier SCAC and the bill of lading. The order level carries the PO in `PRF`, the invoice number in `N9*IV`, net 60 terms in `ITD`, and the $988.44 invoice total in `TDS`. Each carton has its SSCC-18 in `MAN` and one priced `IT1` line. All names, numbers and the carrier code are fictional. Use the **Plain English** tab for a readable summary, or click any segment to see its elements. ## 857 Structure at a Glance | Level | Segment | Name | Usage | Notes | |---|---|---|---|---| | Header | **ST** | Transaction Set Header | Mandatory | `ST01` = `857` | | Header | **BHT** | Beginning of Hierarchical Transaction | Mandatory | Level order, purpose, shipment ID, date | | All | **HL** | Hierarchical Level | Mandatory, repeats | One per level | | Shipment | **G05** | Total Shipment Information | Mandatory in BS1 | Units, weight, volume | | Shipment | **TD1 / TD3 / TD4 / TD5** | Carrier details | Optional | Packaging and weight, equipment, hazmat, carrier and routing | | Shipment | **FOB** | F.O.B. Related Instructions | Optional | Freight terms | | Shipment | **DTM** | Date/Time Reference | Optional | Ship date (`011`) | | Shipment | **N9** | Reference Identification | Optional | Bill of lading (`BM`), PRO and similar | | Shipment | **CUR** | Currency | Optional | Currency of the amounts | | Shipment loop | **N1/N2/N3/N4** | Name and address | Optional | Ship from (`SF`), ship to (`ST`) | | Order | **TDS** | Total Monetary Value Summary | Mandatory in BS2 | Invoice total for the order | | Order | **PRF** | Purchase Order Reference | Optional | PO number and date | | Order | **N9** | Reference Identification | Optional | Invoice number (`IV`) and others | | Order | **ITD** | Terms of Sale | Optional | Payment terms | | Order | **TXI** | Tax Information | Optional | Taxes | | Order loop | **SAC** | Service, Promotion, Allowance, or Charge | Optional | Freight, allowances, other charges | | Order loop | **N1** | Name | Optional | Bill-to, remit-to | | Tare | **PAL / MAN** | Pallet Information / Marks and Numbers | `PAL` mandatory in BS3 | Pallet details and label | | Pack | **LX / MAN** | Assigned Number / Marks and Numbers | `LX` mandatory in BS4 | Carton number and label | | Item | **IT1** | Baseline Item Data (Invoice) | Mandatory in BS5 | Item, quantity, price | | Item | **IT3 / PO4 / CTP / PID** | Additional item data | Optional | Additional quantities, pack, pricing, description | | Trailer | **SE** | Transaction Set Trailer | Mandatory | Segment count and control number | The 857 has no summary area of its own: the invoice totals live in `TDS` at each order level. ## Key Segments Explained ### BHT: Beginning of Hierarchical Transaction ``` BHT*0001*00*CHP-SHP-7731*20261102*1430~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **BHT01** | Hierarchical Structure Code | `0001` | The level order (`0001`, `0002` or `0003`) | | **BHT02** | Transaction Set Purpose Code | `00` | `00` = original | | **BHT03** | Reference Identification | `CHP-SHP-7731` | The sender's shipment or transaction number | | **BHT04** | Date | `20261102` | Date the 857 was created | | **BHT05** | Time | `1430` | Time it was created | The X12 notes make `BHT03` and `BHT04` mandatory for the 857, even though they are optional in the generic segment. ### G05: Total Shipment Information ``` G05*3*CT*96*LB~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **G0501** | Number of Units Shipped | `3` | Shipping units in the shipment | | **G0502** | Unit of Measure | `CT` | Carton | | **G0503** | Weight | `96` | Total weight | | **G0504** | Unit of Measure | `LB` | Pounds | | **G0505** / **G0506** | Volume, unit | | Optional volume | | **G0507** / **G0508** | Lading quantity, unit | | Optional piece count | At least one of units, weight or volume must be present. The carton count here should equal the number of pack levels you send. ### HL: Hierarchical Level ``` HL*1**S*1~ HL*2*1*O*1~ HL*3*2*P*1~ HL*4*3*I*0~ ``` `HL01` numbers each level from 1, `HL02` points to the parent level, `HL03` is the level code (`S`, `O`, `T`, `P`, `Q` or `I`) and `HL04` says whether children follow. The X12 notes say `HL02` is 0 at the shipment level, while many guides and translators send it blank, as the example does. Follow the buyer's guide. ### TDS: Total Monetary Value Summary (Order Level) ``` TDS*98844~ ``` `TDS01` is the invoice total for the order, including charges and less allowances, before any terms discount. It has two implied decimals: `98844` is $988.44. `TDS02` to `TDS04` carry the amount subject to discount, the amount due if paid by the discount date, and the discount amount where terms include one. In the example, 24 × $14.95 + 12 × $22.50 + 36 × $9.99 = $358.80 + $270.00 + $359.64 = $988.44. With more than one order on the shipment, each order level has its own `TDS`. ### PRF and N9: Purchase Order and Invoice Number ``` PRF*RB-448120***20261020~ N9*IV*CHP-INV-90217~ ``` `PRF01` is the buyer's PO number and `PRF04` its date. The 857 has no `BIG` segment, so the invoice number travels in an order-level `N9` with qualifier `IV` (seller's invoice number), as in the PUBNET guide. The buyer's AP keys payment on it, so it must be unique across every 857 and 810 you send that buyer. ### ITD: Terms of Sale ``` ITD*05*3*****60~ ``` `ITD01` is the terms type, `ITD02` the date the terms count from (`3` = invoice date), and `ITD07` the net days. Here: no discount, net 60 from the invoice date. Payment terms belong at the order level because each order on the shipment can have different terms. ### MAN: Marks and Numbers (Pack Level) ``` MAN*GM*006141410000041213~ ``` `MAN01` = `GM` identifies an SSCC-18 serial shipping container code, and `MAN02` is the 18-digit number on the carton label. The buyer's dock scans the label and looks it up in the 857, so every label you print must appear once and only once. The example uses GS1's documentation company prefix 0614141 with valid check digits. ### IT1: Baseline Item Data (Invoice) ``` IT1*1*24*EA*14.95**VN*CHP-10417~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **IT101** | Assigned Identification | `1` | Line number, often the PO line number | | **IT102** | Quantity Invoiced | `24` | Quantity shipped and billed in this pack | | **IT103** | Unit of Measure | `EA` | Each | | **IT104** | Unit Price | `14.95` | Price per unit | | **IT106** / **IT107** | Product ID qualifier and ID | `VN`, `CHP-10417` | Vendor item number | The item level replaces both the 856 `LIN`/`SN1` pair and the 810 `IT1` line. One `IT1` therefore states what is in the carton and what it costs. Book trade guides usually identify items by ISBN, with the qualifier set in the guide; general merchandise guides use UPC or GTIN. ## EDI 857 vs 856 and 810 | | 856 Ship Notice/Manifest | 810 Invoice | 857 Shipment and Billing Notice | |---|---|---|---| | **Purpose** | Plan receiving | Request payment | Both | | **Functional group (`GS01`)** | `SH` | `IN` | `BS` | | **Header segment** | `BSN` | `BIG` | `BHT` | | **Structure** | HL hierarchy | Flat item lines | HL hierarchy with BS1 to BS5 loops | | **Item segment** | `LIN` + `SN1` | `IT1` | `IT1` | | **Totals** | Optional `CTT` | `TDS` in summary | `TDS` at each order level | | **Invoice number** | Not carried | `BIG02` | `N9` with `IV` at order level | | **Timing** | At shipment | At or after shipment | At shipment | | **Correction** | Resend or replace the ASN | Credit memo or new invoice | Buyer's defined process, since one document did both jobs | The trade-off is simple. The 857 halves the documents you send and removes any chance of the ASN and invoice disagreeing. In return, your billing has to be final at the moment you ship, and pricing data reaches the receiving system. The X12 notes suggest keeping prices away from the receiving area where that is current practice. ## Where the 857 Sits in the Order Flow 1. [850 Purchase Order](/guides/edi/850-purchase-order): buyer orders 2. [855 PO Acknowledgment](/guides/edi/855-purchase-order-acknowledgment): supplier confirms (if required) 3. **857 Shipment and Billing Notice**: supplier ships and bills 4. [997 Functional Acknowledgment](/guides/edi/997-functional-acknowledgment): buyer confirms receipt of the file 5. [861 Receiving Advice](/guides/edi/861-receiving-advice): buyer reports what it received (where used) 6. [820 Payment Order/Remittance](/guides/edi/820-payment-order): buyer pays The freight itself may move on carrier documents such as a [204 load tender](/guides/edi/204-motor-carrier-load-tender) and [214 status messages](/guides/edi/214-transportation-carrier-shipment-status), which are separate from the 857. For the full picture, see the [EDI order lifecycle guide](/guides/edi/edi-order-lifecycle). ## Common 857 Errors and How to Prevent Them | Error | What happens | Prevention | |---|---|---| | **Sending an 810 as well as the 857** | Duplicate invoice, double payment or rejection | Turn off the 810 for partners on the 857 | | **Missing `TDS` at an order level** | Order level invalid, invoice cannot be paid | Generate one `TDS` per order level, summed from its items | | **`TDS` does not equal item extensions plus charges** | AP holds or short-pays | Compute totals from the lines at build time | | **Implied decimal error in `TDS01`** | Total read 100 times too large or small | Send whole cents with no decimal point | | **Levels out of `BHT01` order** | Rejected by the buyer's translator | Build the tree from one structure code and validate it | | **Order with no item level** | Rejected | Every order level needs at least one `IT1` | | **Carton count in `G05` differs from pack levels** | Receiving discrepancy | Count `MAN` labels and set `G0501` from them | | **Duplicate or missing SSCC** | Cartons cannot be received by scan | Assign labels from a single serial sequence | | **Invoice number reused** | Payment applied to the wrong document | Number 857s and 810s from one invoice sequence per buyer | Paste a test 857 into the [free EDI inspector](/edi-inspector) to see its hierarchy, carton labels and line extensions side by side before your first live shipment. If you are new to the ASN half of the document, our [856 guide](/guides/edi/856-ship-notice) covers SSCC labels and packing hierarchies in more depth. ## 857 Implementation Checklist - Get the buyer's 857 guide and confirm it replaces both the 856 and 810 - Confirm the `BHT01` structure code and which levels are required - Confirm `HL02` handling at the shipment level (0 or blank) - Confirm item identifiers (UPC, GTIN, ISBN, buyer item number) - Confirm where the invoice number goes (`N9` qualifier) and its format - Map terms, allowances and charges to `ITD` and `SAC` at the order level - Generate SSCC-18 labels and `MAN` segments from the same pack data - Suppress the 810 and 856 for this partner - Agree the correction process for short shipments and price errors after transmission - Test a single-order shipment, a multi-order shipment and a shipment with a charge or allowance ## Where OrderSync Fits An 857 is only as good as the order behind it. If the PO was keyed with the wrong item, unit or price, the shipment and the invoice are wrong together. OrderSync reads inbound orders in any format, including EDI 850s, PDFs, emails and spreadsheets, matches customers, items and units to your catalog, and outputs clean orders to your ERP or valid X12. Paste an 857 into the [free EDI inspector](/edi-inspector) to see it in plain English, read about [automated order processing](/order-processing-automation), or [book a 15-minute walkthrough](/book) to see your own orders processed. ## Frequently Asked Questions
### What is an EDI 857 used for? The EDI 857 Shipment and Billing Notice tells a buyer what was shipped and bills for it in one document. The buyer's receiving system uses the shipment, carton and item data, and its payables system uses the prices, terms and invoice totals. ### What is the difference between EDI 856 and EDI 857? The 856 ASN describes a shipment for receiving only and carries no invoice data. The 857 carries the same shipment hierarchy plus prices, terms and invoice totals, so it also serves as the invoice. An 857 replaces both the 856 and the 810. ### Can an EDI 857 replace an 810 invoice? Yes, but only together with the 856. The X12 standard says the 857 should not replace either document on its own, so a partner on the 857 should receive no separate 810 or 856 for the same shipment. ### Who uses the EDI 857? It is used far less than the 856 and 810. Documented users include the book trade, through the BISAC 857 standard and the PUBNET guideline, and US defense procurement, where the DLMS 857 supports combined invoice and receiving report documents in WAWF. ### What functional group does the 857 use? The 857 travels in functional group BS, the value in GS01. The transaction set identifier in ST01 is 857. ### Where is the invoice number in an EDI 857? There is no BIG segment in the 857. The invoice number is usually sent in an order-level N9 segment with qualifier IV (seller's invoice number), and the invoice total is in the order-level TDS segment. ### What does BHT01 mean in an EDI 857? BHT01 is the hierarchical structure code. In the 857 it can be 0001, 0002 or 0003, and each fixes a different order of the shipment, order, tare, pack, subpack and item levels.
--- # EDI 858 Shipment Information: BOL Data Guide Source: https://ordersync.io/guides/edi/858-shipment-information > EDI 858 explained: how shippers send carriers bill-of-lading, rating and scheduling data, the BX, N7, L5, L0 and L3 segments, a live example and errors. The EDI 858 Shipment Information is the X12 transaction a shipper sends to a carrier with the detailed bill-of-lading, rating and scheduling information for a shipment: mode, payment terms, carrier SCAC, parties, equipment and seals, each lading line's description, pieces and weight, and shipment totals. It is used by government agencies, manufacturers and some retailers. **The EDI 858 is the shipper's full account of a shipment, written for the carrier.** Where a [204 load tender](/guides/edi/204-motor-carrier-load-tender) asks a carrier to take a load, the 858 tells the carrier what the load is: who ships it, who receives it, what equipment and seal it moves under, and the description, piece count and weight of every line on the bill of lading. It works across modes, which is why it shows up in rail, truckload, intermodal and government freight. This guide covers what the 858 carries, who uses it, every segment you will map, a live truckload example, how it compares with the 211, 204 and 856, and the errors that lead to wrong freight bills. ## What Is an EDI 858? **An EDI 858 is the Shipment Information transaction set defined by [ASC X12](https://x12.org/products/transaction-sets), which lets a sender transmit detailed bill-of-lading, rating and/or scheduling information for a shipment.** It travels in functional group `SI` (the `GS01` value). In release 004010 the X12 description adds that it can carry Government and Commercial Bills of Lading and related government movement documents, and that it may be used by US civilian agencies, the Department of Defense and their trading partners. Authoritative references for 858 work: - The [X12 858 structure (release 004010) on Stedi](https://www.stedi.com/edi/x12-004010/858) lists the heading, the HL detail loop and the `L3` summary - [U.S. Steel's 858 guide](https://edi.uss.com/documents/4417799/4738807/858%20Shipment%20Information) shows a rail implementation in release 003010, with origin and destination stations, route and rail car details - [FCA US's CENTS 858 guide](https://ps.nafta.extra.fcagroup.com/sites/itb-ebus/Shared%20Documents/858CENTSShipmentInformation.pdf) uses the 858 for its Carrier Electronic Notification of Trailer Status program - USTRANSCOM's [DoD transportation conventions](https://www.business.ustranscom.mil/cmd/associated/dteb/dod-transportation.cfm) include an 858 bill of lading version for defense shipments - The [NMFTA](https://nmfta.org/what-is-scac-and-how-do-carriers-get-it) issues the Standard Carrier Alpha Codes (SCACs) the 858 uses to name the carrier **Who sends it?** Usually the shipper or its 3PL. Some programs flow the other way, so read the guide: the name says "shipment information", not who holds the pen. **Who receives it?** The carrier, a freight payment provider, or a government transportation office. **When is it sent?** At or before pickup, so the carrier can build its waybill, rate the shipment and schedule equipment. Some rail programs send billing data with the release of the car. **Why does it matter?** Carriers bill from what the shipper declares. A wrong weight, piece count, payment term or consignee on the 858 turns into a wrong freight bill, a reweigh charge, or a misrouted load. ## Who Uses the EDI 858 | Sector | Example | What the 858 carries | |---|---|---| | **Rail shipping** | [U.S. Steel](https://edi.uss.com/documents/4417799/4738807/858%20Shipment%20Information) (release 003010) | Rail car, origin and destination stations, route, commodity (STCC), weights | | **Automotive** | [FCA US CENTS](https://ps.nafta.extra.fcagroup.com/sites/itb-ebus/Shared%20Documents/858CENTSShipmentInformation.pdf) (release 003010) | Trailer status information within a carrier program | | **US government freight** | USTRANSCOM DTEB conventions | Government bill of lading and movement document data | | **Retail** | Burlington publishes an 858 "Freight Activity Shipment Information" guide (release 004010) | WMS load number in `BX04`, carrier SCAC, references and ship-from/ship-to | Most commercial truckload and LTL shippers use the [211 bill of lading](/guides/edi/211-motor-carrier-bill-of-lading) or the bill-of-lading detail inside the [204](/guides/edi/204-motor-carrier-load-tender) instead. The 858 tends to appear where one document must serve several modes, or where a government program or a large shipper has standardized on it. ## Release Differences: LX Detail vs HL Detail The 858 changed shape over time, and older guides are still in production. | | U.S. Steel's guide (release 003010) | Release 004010 standard | |---|---|---| | **Detail loop** | `LX` loop: `LX`, `N9`, `L5`, `L0`, `L1` | `HL` loop: equipment, references, hazmat, `L0`/`L1`, `L5` and parties per level | | **Summary** | `L3` | `L3` | Check `GS08` and the guide's version before you reuse a map. A 004010 parser will not read an 003010 detail loop correctly. ## Interactive Example: Prepaid Dry-Van Truckload A food distributor in Toledo sends a carrier the shipment information for a prepaid truckload of canned goods to a grocery DC in Des Moines. `BX` sets the mode (motor), payment (prepaid), the shipper's shipment ID and the carrier SCAC. `N9` carries the bill of lading and PO, `G62` the requested pickup date, and `N1` the shipper and consignee. In the detail, the first `HL` is the trailer (`N7`, with seal `M7`), and two child `HL` levels carry the lading lines in `L5` and `L0`. `L3` totals 38,400 lb and 1,800 cartons. All names, IDs and the SCAC are fictional. Use the **Plain English** tab for a readable summary, or click any segment to see its elements. ## 858 Structure at a Glance (Release 004010) | Area | Segment | Name | Usage | Notes | |---|---|---|---|---| | Heading | **ST** | Transaction Set Header | Mandatory | `ST01` = `858` | | Heading | **ZC1** | Beginning Segment for Data Correction or Change | Optional | Corrections to a prior 858 | | Heading | **BX** | General Shipment Information | Mandatory | Purpose, mode, payment, shipment ID, SCAC | | Heading | **BNX** | Rail Shipment Information | Optional | Rail weighing and billing codes | | Heading | **M3** | Release | Optional | Whether the shipment is released for movement | | Heading | **N9** | Reference Identification | Optional | BOL, PO, contract and other references | | Heading | **G62** | Date/Time | Optional | Pickup and ship dates | | Heading | **PER** | Administrative Communications Contact | Optional | Shipper contact | | Heading | **F9 / D9** | Origin Station / Destination Station | Optional | Rail stations | | Heading | **R2 / R3** | Route Information | Optional | Rail and motor routing | | Heading | **H3** | Special Handling Instructions | Optional | Handling codes | | Heading | **L7** | Tariff Reference | Optional | Tariff the shipment moves under | | Heading | **NTE** | Note/Special Instruction | Optional | Free text | | Heading loop | **N7** | Equipment Details | Optional | Equipment at shipment level | | Heading loop | **N1/N2/N3/N4** | Name and address | Optional | Shipper (`SH`), consignee (`CN`), bill-to and others | | Heading loop | **S5** | Stop Off Details | Optional | Stops on a multi-stop move | | Heading loop | **FA1/FA2** | Accounting data | Optional | Government funding data | | Detail loop | **HL** | Hierarchical Level | Mandatory, repeats | Equipment and lading levels | | Detail loop | **N7 / M7** | Equipment Details / Seal Numbers | Optional | Trailer, car or container, and seals | | Detail loop | **L5** | Description, Marks and Numbers | Optional | Lading description and commodity code | | Detail loop | **L0 / L1** | Line Item Quantity and Weight / Rate and Charges | Optional | Pieces, weight, rate and charges | | Detail loop | **LH1 to LH4** | Hazardous material loop | Optional | Hazmat identification and shipping names | | Summary | **L3** | Total Weight and Charges | Optional | Shipment totals | | Summary | **SE** | Transaction Set Trailer | Mandatory | Segment count and control number | The 004010 standard has more than 60 segment positions. Most implementations use a small subset, and the guide decides which. ## Key Segments Explained ### BX: General Shipment Information ``` BX*00*M*PP*LKS3011804*HWLX*L*B~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **BX01** | Transaction Set Purpose Code | `00` | `00` = original | | **BX02** | Transportation Method/Type Code | `M` | `M` motor (common carrier), `R` rail, `X` intermodal (piggyback) | | **BX03** | Shipment Method of Payment | `PP` | `PP` prepaid by seller. Collect and third-party codes also exist | | **BX04** | Shipment Identification Number | `LKS3011804` | The shipper's ID for this shipment, unique from origin to destination | | **BX05** | Standard Carrier Alpha Code | `HWLX` | SCAC of the carrier receiving the shipment | | **BX06** | Weight Unit Code | `L` | `L` = pounds | | **BX07** | Shipment Qualifier | `B` | `B` = bill of lading for an individual shipment | | **BX08** to **BX14** | Section seven, capacity load, status report request, customs, confidential billing, GST, application type | | Used by specific programs | `BX04` is defined as fixed for the life of the shipment and free of blanks and special characters. Use the same value everywhere the shipment is referenced. `BX05` is optional in the standard, but guides such as Burlington's make it required. See the [SCAC glossary entry](/glossary/scac-code) for how carriers get their codes. ### N9 and G62: References and Dates ``` N9*BM*LKS-BOL-77120~ N9*PO*4500982211~ G62*10*20261109~ ``` `N901` qualifies the reference: `BM` is the [bill of lading](/glossary/bill-of-lading) number and `PO` the purchase order number. Carriers print these on their freight bill, so they are how you match the 858 to the [210 freight invoice](/guides/edi/210-motor-carrier-freight-invoice) later. `G6201` qualifies the date: `10` is the requested ship or pickup date, and `11` the date shipped. ### N1: Parties ``` N1*SH*LAKESIDE FOODS DISTRIBUTION~ N1*CN*GREAT PLAINS GROCERS DC~ ``` `SH` is the shipper and `CN` the consignee, each followed by `N3` and `N4` addresses. Rail guides also use station codes and Standard Point Location Codes (SPLC) to identify places. Add a bill-to or freight-bill party when someone other than the shipper pays. ### HL, N7 and M7: Equipment ``` HL*1**E*1~ N7*HWLX*530217*********TF~ M7*SL4471902~ ``` In 004010 the detail area is built from `HL` levels. The level codes and how deep the tree goes are set by the implementation convention. The example uses `E` (transportation equipment) for the trailer and `I` (item) for each lading line under it. | Element | Name | Example | What it means | |---|---|---|---| | **N701** | Equipment Initial | `HWLX` | The equipment owner's prefix, for example a rail car initial or a carrier's trailer prefix | | **N702** | Equipment Number | `530217` | The trailer, car or container number | | **N711** | Equipment Description Code | `TF` | `TF` = trailer, dry freight. `RT` = reefer, `RR` = rail car | | **M701** | Seal Number | `SL4471902` | Seal applied at loading | A seal number that does not match the seal on the trailer is a common reason a consignee refuses or holds a load. ### L5 and L0: Lading Lines ``` L5*1*CANNED TOMATOES 24/14.5 OZ~ L0*1***24000*G***1200*CTN**L~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **L501** | Lading Line Item Number | `1` | Line number, shared with the matching `L0` | | **L502** | Lading Description | `CANNED TOMATOES 24/14.5 OZ` | What the carrier is moving | | **L503** / **L504** | Commodity Code, Qualifier | | For example an NMFC item or an STCC code on rail | | **L001** | Lading Line Item Number | `1` | Same line number as the `L5` | | **L004** | Weight | `24000` | Weight of the line | | **L005** | Weight Qualifier | `G` | `G` = gross weight | | **L008** | Lading Quantity | `1200` | Number of pieces | | **L009** | Packaging Form Code | `CTN` | Carton | | **L011** | Weight Unit Code | `L` | Pounds | `L002` and `L003` carry a billed or rated-as quantity where the rate depends on something other than actual weight, and the `L1` segment carries rates and charges when the shipper rates the move. Commodity codes drive the rate, so send the code your carrier contract names. The example leaves them out rather than invent one. ### L3: Total Weight and Charges ``` L3*38400*G*********1800*L~ ``` `L301` is total weight (38,400) with `L302` qualifier `G` (gross), `L311` the total lading quantity (1,800 pieces) and `L312` the weight unit (`L`, pounds). `L303` to `L307` carry the freight rate, charges, advances and prepaid amount when the 858 includes rating. Totals must equal the sum of the `L0` lines: 24,000 + 14,400 lb and 1,200 + 600 cartons. ## EDI 858 vs 211, 204 and 856 | Document | Sent by | To | Purpose | |---|---|---|---| | **858 Shipment Information** | Shipper (usually) | Carrier or freight payment party | Detailed bill-of-lading, rating and scheduling data, any mode | | **[211 Motor Carrier Bill of Lading](/guides/edi/211-motor-carrier-bill-of-lading)** | Shipper | Motor carrier | The electronic bill of lading for a truck shipment | | **[204 Motor Carrier Load Tender](/guides/edi/204-motor-carrier-load-tender)** | Shipper | Motor carrier | Offers a load for the carrier to accept or decline with a 990 | | **[214 Shipment Status Message](/guides/edi/214-transportation-carrier-shipment-status)** | Carrier | Shipper or consignee | Reports pickup, transit and delivery events | | **[210 Motor Carrier Freight Invoice](/guides/edi/210-motor-carrier-freight-invoice)** | Carrier | Bill-to party | Bills the move | | **[856 Ship Notice/ASN](/guides/edi/856-ship-notice)** | Supplier | Buyer | Tells the buyer what is in the shipment, down to cartons and items | The 858 and 211 overlap the most: both carry bill-of-lading data to a carrier. The 211 is motor-specific. The 858 covers rail, motor, intermodal and government shipments in one standard, with room for rating, routing and stop-off detail. The 856 answers a different question for a different reader: it tells the buyer what to receive, while the 858 tells the carrier what to move. ## Where the 858 Sits in the Freight Flow 1. **Tender (motor).** The shipper offers the load with a [204](/guides/edi/204-motor-carrier-load-tender), and the carrier accepts with a [990](/guides/edi/990-response-to-load-tender). Rail and government programs may skip this step. 2. **Shipment information.** The shipper sends the 858 with the bill-of-lading detail, at or before pickup. 3. **Ship notice.** The supplier sends the buyer an [856](/guides/edi/856-ship-notice) for the same shipment where the buyer requires one. 4. **Status.** The carrier reports progress with [214 messages](/guides/edi/214-transportation-carrier-shipment-status). 5. **Freight bill.** The carrier bills with a [210](/guides/edi/210-motor-carrier-freight-invoice) (motor) or its mode's invoice, built from the 858 data. 6. **Payment.** The bill-to party audits the freight bill against the 858 and pays. ## Common 858 Errors and How to Prevent Them | Error | What happens | Prevention | |---|---|---| | **Wrong payment code in `BX03`** | Freight billed to the wrong party | Derive it from the order's freight terms, not a default | | **`BX04` changed between documents** | 858, 214 and 210 cannot be matched | Generate the shipment ID once and reuse it | | **Missing or wrong SCAC** | Carrier rejects the 858 or it routes to the wrong carrier | Pick the SCAC from a carrier table, never free text | | **`L3` totals do not equal the `L0` lines** | Rejection or a rerated freight bill | Compute totals from the lines at build time | | **Weight unit mismatch (`BX06`, `L011`, `L312`)** | Weights read as kilograms instead of pounds, or the reverse | Set the unit once and use it everywhere | | **Seal number not matching the trailer** | Load held or refused at the consignee | Capture the seal at the dock, not from the plan | | **Commodity code missing where the guide requires it** | Shipment rated at a default or higher class | Store the contract commodity code on each item | | **Wrong release version** | Detail loop misread (LX vs HL) | Confirm `GS08` and the guide version before mapping | Paste a test 858 into the [free EDI inspector](/edi-inspector) to see the equipment, lading lines and totals laid out side by side, which makes total and unit mismatches easy to catch. ## 858 Implementation Checklist - Get the partner's 858 guide and confirm the release (003010 and 004010 differ) - Confirm direction, timing and whether the 858 replaces a 211 or paper BOL - Confirm which `BX` elements are required and the code values allowed - Confirm the `HL` level codes and tree, or the detail loop an older release uses - Load SCACs, commodity codes and party IDs (station codes or SPLC for rail) - Capture equipment and seal numbers at loading - Compute `L3` totals from the `L0` lines - Test prepaid and collect shipments, a multi-line load and a correction - Monitor [997 acknowledgments](/guides/edi/997-functional-acknowledgment) for rejections in the first weeks ## Where OrderSync Fits The weight, ship-to and freight terms on an 858 come from the customer order. If that order was keyed from a PDF or email with the wrong ship-to or quantity, the shipment information is wrong before the truck arrives. OrderSync reads inbound orders in any format, including EDI 850s, PDFs, emails and spreadsheets, matches customers, items and units to your catalog, and outputs clean orders to your ERP or valid X12. Paste an 858 into the [free EDI inspector](/edi-inspector) to read it in plain English, see how [ERP integration](/erp-integration) works, or [book a 15-minute walkthrough](/book) to see your own orders processed. ## Frequently Asked Questions
### What is an EDI 858 used for? The EDI 858 Shipment Information sends a carrier the detailed bill-of-lading, rating and scheduling information for a shipment: mode, payment terms, carrier, parties, equipment and seals, each lading line's description, pieces and weight, and shipment totals. ### What is the difference between EDI 858 and EDI 211? Both carry bill-of-lading data to a carrier. The 211 is the motor carrier bill of lading. The 858 is a broader shipment information document that covers rail, motor, intermodal and government shipments, with room for rating, routing and stop-off detail. ### What functional group does the 858 use? The 858 travels in functional group SI, the value in GS01. The transaction set identifier in ST01 is 858. ### What is the BX segment in an EDI 858? BX is the 858 header. BX01 is the purpose code, BX02 the transportation mode, BX03 the freight payment method, BX04 the shipper's shipment ID, BX05 the carrier SCAC, BX06 the weight unit and BX07 the shipment qualifier. ### Who uses the EDI 858? Documented users include rail shippers such as U.S. Steel, automotive programs such as FCA US CENTS, US government freight under USTRANSCOM's conventions, and retailers such as Burlington. Most commercial truck shippers use the 211 or 204 instead. ### Is the EDI 858 the same as an ASN? No. An ASN (856) tells the buyer what is in a shipment so it can receive it. The 858 tells the carrier what it is moving so it can bill, rate and schedule the move. A shipment can have both. ### Does the 858 include freight charges? It can. L1 at line level and L3 at shipment level carry rates, charges, advances and prepaid amounts when the shipper rates the move. Many 858s carry only weights and quantities and leave rating to the carrier.
--- # EDI 860: PO Change Codes, Segments, Example Source: https://ordersync.io/guides/edi/860-purchase-order-change > How the EDI 860 purchase order change works: BCH and POC segments, POC02 change codes, live examples, cancelling a PO, the 865 reply and common errors. The EDI 860 Purchase Order Change Request is the X12 transaction a buyer sends to change a purchase order it already sent as an 850. It can add, delete or reschedule lines, change quantities or prices, or cancel the whole order, and it references the original PO number. The supplier answers with a 997 and, where required, an 865. **The EDI 860 is how a buyer edits an order without starting over.** Once an 850 has gone out and been acknowledged, the buyer's planner still changes things: more of one item, none of another, a later delivery date, a corrected cost. The 860 sends those changes against the original PO number, line by line, so the supplier can update the open order instead of receiving a second one. This guide covers what the 860 carries, the `BCH` and `POC` segments, the change codes, two live examples, how to cancel a whole PO, how the 860 differs from the 865 and the grocery 876, and the errors that ship the wrong quantity. ## What Is an EDI 860? **An EDI 860 is the Purchase Order Change Request (Buyer Initiated) transaction set defined by the [ASC X12 standards body](https://x12.org/products/transaction-sets). A buyer uses it to change or cancel a purchase order it has already sent, referencing the original PO number and identifying each changed line with a `POC` segment.** It travels in functional group `PC` (the value in `GS01`). Authoritative references for 860 work: - The [X12 transaction set catalog](https://x12.org/products/transaction-sets) lists the 860 alongside the 850, 855 and 865 - The published [004010 860 structure](https://www.stedi.com/edi/x12-004010/860) shows the segment order. Note there is no `PO1` in an 860: changed lines go in the `POC` loop - The [POC02 change or response type code list](https://www.stedi.com/edi/x12-004010/element/670) defines the change codes in this guide - Each buyer's 860 implementation guide decides which change codes it sends, whether unchanged lines are included, and how quantities are expressed **Who sends it?** The buyer. The X12 name says "Buyer Initiated" for a reason: a supplier that needs to change an order uses the [865](/guides/edi/865-purchase-order-change-acknowledgment), which is the seller-initiated counterpart. **When is it sent?** Any time after the 850 and before the goods ship. Changes received after the order is picked or shipped are the hard ones, so buyers' guides often set a cutoff. **Why does it matter?** An 860 that is missed, or applied to the wrong line, means you ship the old order. The buyer then receives quantities it no longer wants, and the difference shows up on the receipt and the payment. ## Which EDI Document Do I Send to Change an Order? | You are the | You want to | Send | You get back | |---|---|---|---| | Buyer | Change or cancel your own PO | **860** | 997, and an [865](/guides/edi/865-purchase-order-change-acknowledgment) where required | | Supplier | Answer a buyer's 860 | **[865](/guides/edi/865-purchase-order-change-acknowledgment)** | 997 | | Supplier | Change quantity, price or date before you have acknowledged | **[855](/guides/edi/855-purchase-order-acknowledgment)** with a change or reject status on the line | 997, sometimes an 860 confirming it | | Supplier | Propose a change after you have acknowledged | **[865](/guides/edi/865-purchase-order-change-acknowledgment)** with purpose `19` (seller initiated change) | 997, and the buyer's decision | | Grocery buyer | Change an 875 grocery order | **[876](/guides/edi/876-grocery-products-purchase-order-change)** | 997, sometimes an 855 or 865 | | Buyer | Ask where an open order stands | **[869](/guides/edi/869-order-status-inquiry)** | [870](/guides/edi/870-order-status-report) | ### Is the 940 an order change document? No. The [940 Warehouse Shipping Order](/guides/edi/940-warehouse-shipping-order) is an instruction from a brand to its 3PL to pick and ship an order. It has nothing to do with changing a purchase order between buyer and supplier. If the buyer's 860 changes an order you have already released to a 3PL, you then change or cancel the 940 the way your 3PL's guide specifies, usually by cancelling and resending it. ### What about cancellations and returns? Cancelling is a change, not a separate document. To cancel the whole PO, the buyer sends an 860 with `BCH01` = `01` (cancellation). To cancel one line, it sends a `POC` with `POC02` = `DI` (delete item). There is no separate cancellation transaction set in common retail use. Returns are different again. Goods that already shipped come back under a [180 Return Merchandise Authorization](/guides/edi/180-return-merchandise-authorization) or the buyer's returns process, not an 860. ## Interactive Example: Quantity Increase and Added Line Retailer Harbor Home changes purchase order `4500087321`, two days after the supplier's [855](/guides/edi/855-purchase-order-acknowledgment) accepted it. `BCH01` is `04` (change), `BCH03` the original PO number, `BCH05` the change order sequence number (`1`, the first change) and `BCH06` the original PO date. Two `POC` lines carry the changes. Line 2 goes from 6 rugs to 10 (`QI`): `POC03` holds the quantity before the change and `POC04` the new total. Line 4 is a new item (`AI`), so its "before" quantity is zero, and a `DTM*002` inside its loop gives the requested delivery date for the new line. Lines 1 and 3 are not sent, because this buyer only transmits changed lines. The supplier's reply to this 860 is the first example in the [865 guide](/guides/edi/865-purchase-order-change-acknowledgment). ## Interactive Example: Date Change, Deleted Line and Price Change On a second order, `4500087398`, the supplier's 855 accepted line 2 only at a higher price. The buyer responds with an 860 that: - Moves line 1's requested delivery date to November 20 (`CT`, change of dates, with the new date in a `DTM` in the line's loop). Quantity is unchanged, so `POC03` and `POC04` are both 36. - Deletes line 2 (`DI`) rather than pay the new price. `POC04` is zero. - Lowers line 3's cost to $8.95 (`PC`, price change). The new price is in `POC06`. Some buyers send zero in `POC04` for a date-only or price-only change, meaning "no quantity change". The example above repeats the quantity instead. Which convention your buyer uses is in its guide, and mapping the wrong one turns a price change into a cancellation. ## 860 Structure at a Glance | Position | Segment | Name | Usage | Notes | |---|---|---|---|---| | Header | **ST** | Transaction Set Header | Mandatory | `ST01` = `860` | | Header | **BCH** | Beginning Segment for Purchase Order Change | Mandatory | Purpose, PO type, PO number, change sequence, PO date | | Header | **REF** | Reference Identification | Optional | Department, vendor number | | Header | **DTM** | Date/Time Reference | Optional | Header-level date changes | | Header | **N1 loop** | Name (with N3, N4) | Optional | Buyer, supplier, ship-to. A changed ship-to goes here | | Detail | **POC** | Line Item Change | Mandatory in the POC loop | One per changed line: change code, quantities, price, item IDs | | Detail | **PID** | Product/Item Description | Optional | Description of the line | | Detail | **DTM** | Date/Time Reference | Optional | New dates for the line | | Detail | **SCH** | Line Item Schedule | Optional | Rescheduled delivery quantities and dates | | Summary | **CTT** | Transaction Totals | Optional | Number of `POC` lines | | Summary | **SE** | Transaction Set Trailer | Mandatory | Segment count and control number | The 860's header and line segments mirror the 850's, so most 850 maps can be reused for the parts that do not change. The `POC` segment is the difference. ## Key Segments Explained ### BCH: Beginning Segment for Purchase Order Change ``` BCH*04*SA*4500087321**1*20261020~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **BCH01** | Transaction Set Purpose Code | `04` | `04` change, `01` cancellation of the whole PO. Some buyers use `05` (replace) to resend the full order | | **BCH02** | Purchase Order Type Code | `SA` | From the original 850, for example `SA` stand-alone, `DS` drop ship | | **BCH03** | Purchase Order Number | `4500087321` | The original PO number, matching `BEG03` on the 850 | | **BCH04** | Release Number | | For releases against a blanket order | | **BCH05** | Change Order Sequence Number | `1` | Which change this is. Apply changes in sequence | | **BCH06** | Date | `20261020` | Usually the original PO date | | **BCH07 to BCH09** | Request reference, contract number, reference ID | | Rarely used | | **BCH10, BCH11** | Date | | Additional dates. Buyers use these differently, for example one guide puts the change request date in `BCH11` | An earlier version of this page described `BCH10` as the original PO number. It is a date element. The PO number is always `BCH03`. ### POC: Line Item Change ``` POC*2*QI*6*10*EA*64.00**UP*085519001229*VN*CL-RUG-0508~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **POC01** | Assigned Identification | `2` | The PO line number from the 850 (`PO101`). This is how the change finds its line | | **POC02** | Change or Response Type Code | `QI` | What kind of change (table below) | | **POC03** | Quantity Ordered | `6` | The quantity on the order before this change, in the common convention. Zero for an added line | | **POC04** | Quantity Left to Receive | `10` | The quantity after this change. Zero for a deleted line | | **POC05** | Unit of Measure | `EA` | Unit for the quantities | | **POC06** | Unit Price | `64.00` | The price, or the new price on a price change | | **POC07** | Basis of Unit Price Code | | Optional | | **POC08 / POC09** | Product ID Qualifier / ID | `UP` / `085519001229` | UPC | | **POC10 / POC11** | Product ID Qualifier / ID | `VN` / `CL-RUG-0508` | Vendor item number | `POC03` and `POC04` are where 860 maps go wrong. The element names are "Quantity Ordered" and "Quantity Left to Receive", and buyers fill them differently: some send the old and new totals, some send the change amount, some send what is still open after part of the order was received. Read the buyer's guide for this pair before anything else, and test an increase, a decrease and a delete. Another older mistake: `POC04` is not the unit of measure and `POC05` is not the price. The unit is `POC05` and the price is `POC06`. ## POC02 Change Codes Element 670 has 29 codes in 004010. These are the ones a buyer's 860 normally uses: | Code | Meaning | Use | |---|---|---| | **QI** | Quantity increase | More of an existing line | | **QD** | Quantity decrease | Less of an existing line | | **AI** | Add additional item(s) | A new line on the order | | **DI** | Delete item(s) | Remove a line (line-level cancellation) | | **PC** | Price change | New unit price | | **CT** | Change of dates | New ship or delivery date for the line | | **RS** | Reschedule | New schedule, often with `SCH` segments | | **RQ** | Reschedule/quantity change | Both at once | | **PQ** | Unit price/quantity change | Both at once | | **CA** | Changes to line items | General change to the line's details, such as pack or description | | **RZ** | Replace all values | Line resent in full; replace everything you hold | | **NC** | Concurrent item (no change) | Unchanged line, sent for completeness by buyers that restate the order | Two codes cause most confusion. `CA` is not "cancel": it means "changes to line items". To cancel a line, buyers use `DI`, or `QD` to zero where their guide says so. And `CF` (cancel previously transmitted purchase order) exists in the list, but whole-order cancellation is normally signalled in the header with `BCH01` = `01`. ## Cancelling a Whole Purchase Order A full cancellation is the simplest 860. The header says it all, and many buyers send no `POC` lines: ``` ST*860*0001~ BCH*01*SA*4500087455**1*20261021~ REF*DP*042~ N1*BY*HARBOR HOME STORE 318*92*0318~ SE*5*0001~ ``` When this arrives, close the order in your system before anything is picked, and stop any 940 already sent to a 3PL. If part of the order has shipped, call the buyer: the 860 cannot un-ship goods, and the receipt and invoice will still reflect what went out. ## EDI 860 vs 865, 855 and 876 | Document | Sent by | Purpose | |---|---|---| | **[850 Purchase Order](/guides/edi/850-purchase-order)** | Buyer | The original order | | **[855 PO Acknowledgment](/guides/edi/855-purchase-order-acknowledgment)** | Supplier | Answer to the original order, line by line | | **860 PO Change Request** | Buyer | Change or cancel the order | | **[865 PO Change Acknowledgment/Request](/guides/edi/865-purchase-order-change-acknowledgment)** | Supplier | Answer to an 860, or a change proposed by the supplier | | **[876 Grocery PO Change](/guides/edi/876-grocery-products-purchase-order-change)** | Grocery buyer | Change to an 875 grocery order. It restates lines instead of using `POC` codes | | **[EDIFACT ORDCHG](/guides/edi/edifact-ordchg)** | Buyer | The EDIFACT equivalent of the 860 | Think of it as two pairs: 850 and 855 for the order, 860 and 865 for each change. The 876 is the grocery cousin of the 860, and it works differently enough that an 860 map will misread it. ## Where the 860 Sits in the Order Flow 1. Buyer sends the **850**. 2. Supplier returns a **997**, then an **855**. 3. Buyer sends an **860** with the change. 4. Supplier returns a **997** for the 860, then an **865** if the buyer requires one. 5. If status is unclear, the buyer may send an **[869](/guides/edi/869-order-status-inquiry)** and the supplier answers with an **[870](/guides/edi/870-order-status-report)**. 6. Supplier ships and sends the **[856](/guides/edi/856-ship-notice)** against the changed order. 7. Supplier invoices with an **[810](/guides/edi/810-invoice)** at the changed quantities and prices. Not every buyer requires the 865. Some treat the change as agreed once your 997 is back, so a change you cannot meet has to be raised another way, quickly. ## Common 860 Errors and How to Prevent Them | Error | What happens | Prevention | |---|---|---| | **Change applied to the wrong line** | Wrong item increased or deleted | Match on `POC01` against `PO101` of the 850, then confirm the item IDs agree | | **`POC03`/`POC04` read the wrong way** | Increase applied twice, or a change read as a cancellation | Map the quantity convention from the buyer's guide and test every change type | | **`CA` read as cancel** | Lines cancelled that should have been updated | `CA` is "changes to line items". Line deletion is `DI` | | **Changes applied out of order** | An older change overwrites a newer one | Track `BCH05` per PO and apply in sequence | | **Duplicate 860 applied twice** | Quantity increased twice | Check the PO and change sequence before applying | | **Whole-PO cancellation missed** | Goods shipped against a cancelled order | Treat `BCH01` = `01` as a stop on picking and on any open 940 | | **Change arrives after picking** | Shipment does not match the changed order | Agree a cutoff with the buyer and flag late 860s for a person to handle | | **No 997 returned** | Buyer assumes you never received the change | Send a 997 for every 860, automatically | | **ASN and invoice built from the original 850** | Receipt and invoice mismatch the changed order | Build the 856 and 810 from the order as changed | Paste a problem 860 into the [EDI inspector](/edi-inspector) to see each `POC` decoded, or use [Compare EDI documents](/tools/compare-edi) to diff the original 850 against the changed order. ## 860 Implementation Checklist - Get the buyer's 860 guide and list the `BCH01` and `POC02` codes it sends - Confirm how it fills `POC03` and `POC04`, including for price-only and date-only changes - Confirm whether it sends only changed lines or restates the whole order with `NC` - Confirm whether it expects an 865, and the deadline - Confirm how it signals a full cancellation and a ship-to change - Agree the cutoff after which changes cannot be applied - Decide who approves changes your stock cannot meet, and how you respond - Test an increase, a decrease, an added line, a deleted line, a price change, a date change and a full cancellation ## Handling Order Changes With OrderSync Order changes reach most suppliers in several forms at once: EDI 860s from the larger accounts, and emails, revised PDFs and phone calls from everyone else. Each one has to land on the right open order before the warehouse picks it. OrderSync reads inbound orders in any format, EDI 850s and 875s alongside PDFs, emails and spreadsheets, matches customers, items and units to your catalog, and outputs valid X12 or ERP data. See how [multi-format order processing](/multi-format-orders) works, paste any 860 into the [free EDI inspector](/edi-inspector), or [book a 15-minute walkthrough](/book) to see your own orders processed. ## Frequently Asked Questions
### What is an EDI 860 used for? A buyer sends the EDI 860 Purchase Order Change Request to change or cancel a purchase order it already sent as an 850. It can increase or decrease quantities, add or delete lines, change prices or dates, change the ship-to, or cancel the whole order. ### Can a supplier send an EDI 860? No. The 860 is buyer initiated. A supplier answers an 860 with an 865, and proposes its own changes either on the 855 (before acknowledging) or on an 865 with purpose code 19, seller initiated change. The buyer then decides whether to accept. ### What is the difference between an EDI 860 and an 865? The 860 is the buyer's change request. The 865 is the supplier's response to it, accepting or rejecting each change, and can also carry a change the supplier proposes. They work as a pair, the way the 850 and 855 do for the original order. ### How do you cancel a purchase order with EDI? Send an 860 with BCH01 set to 01 (cancellation) and the original PO number in BCH03. To cancel only some lines, send BCH01 04 (change) with a POC segment per line using POC02 DI (delete item). The buyer's guide may specify a different convention. ### What does POC02 CA mean in an 860? CA means "changes to line items", a general change to a line's details such as pack or description. It does not mean cancel. Line cancellation normally uses DI (delete item) or a quantity decrease to zero, depending on the buyer's guide. ### Should a buyer send an 860 or cancel and reissue the 850? It depends on the trading partner. The 860 keeps the original PO number and history, which suits quantity, date and price changes. Some buyers cancel and reissue for large changes such as a new ship-to. The buyer's guide says which it does. ### How quickly do I need to respond to an 860? Send a 997 as soon as the 860 is received; most translators do this automatically. If the buyer requires an 865, its guide sets the deadline. Act on the change before the order is picked, because a change applied after shipping cannot fix the shipment.
## Related Transaction Sets - **[850 Purchase Order](/guides/edi/850-purchase-order)**: the order the 860 changes - **[865 PO Change Acknowledgment](/guides/edi/865-purchase-order-change-acknowledgment)**: the supplier's answer to an 860 - **[876 Grocery PO Change](/guides/edi/876-grocery-products-purchase-order-change)**: the grocery equivalent for 875 orders - **[870 Order Status Report](/guides/edi/870-order-status-report)**: where the changed order stands - **[997 Functional Acknowledgment](/guides/edi/997-functional-acknowledgment)**: receipt confirmation for the 860 - **[EDIFACT ORDCHG](/guides/edi/edifact-ordchg)**: the EDIFACT equivalent of the 860 - **[UBL vs X12 vs EDIFACT](/guides/e-invoicing/ubl-vs-x12-vs-edifact)**: how the standards compare --- # EDI 861 Receiving Advice: Codes and Example Source: https://ordersync.io/guides/edi/861-receiving-advice > EDI 861 Receiving Advice explained: BRA, RCD, SN1 and LIN segments, receiving condition codes, damage and overage examples, 861 vs 856 and 944, and common errors. The EDI 861 Receiving Advice is the X12 transaction a receiving location sends to report what actually arrived from a shipment. For each item it gives the quantity accepted, returned or in question, with a condition code for damage, shortage, overage or a wrong product. Suppliers use it to reconcile against their ASN and invoice before deductions appear. **The EDI 861 is the receiving dock's version of events.** Your [856 ASN](/guides/edi/856-ship-notice) said what you shipped. The 861 says what the buyer counted when the truck was unloaded, and every difference between the two is a line on a future short-pay. Not every buyer sends one, but those that do are telling you, item by item, what they will pay for. This guide covers what the 861 carries, who sends it, every segment you will map, the receiving condition codes, two live examples (a damaged and short receipt, and an overage returned to the supplier), how it relates to the 856, 810 and 944, and the errors that make discrepancies worse. ## What Is an EDI 861? **An EDI 861 is the Receiving Advice/Acceptance Certificate transaction set defined by the [ASC X12 standards body](https://x12.org/products/transaction-sets). The receiver of a shipment uses it to report the receipt of goods and services, including quantities accepted, returned or in question and the condition of what arrived.** It travels in functional group `RC` (the value in `GS01`). Authoritative references for 861 work: - The [X12 transaction set catalog](https://x12.org/products/transaction-sets) lists the 861 among the order-to-cash documents - The published [004010 861 structure](https://www.stedi.com/edi/x12-004010/861) shows the segment order, with one `RCD` loop per item received - The [receiving condition code list](https://www.stedi.com/edi/x12-004010/element/412) (element 412) defines the numeric codes used in `RCD` and `BRA` - [GS1 US](https://www.gs1us.org/industries-and-insights/standards) governs the UPCs on each line and the SSCC-18 carton labels the receiver scanned - Each trading partner's 861 guide decides which segments it fills, whether it reports every item or only exceptions, and how disputes work **Who sends it?** Whoever received the goods: a retailer's distribution center, a manufacturer's receiving dock, or a distributor's warehouse. It goes back to the supplier or shipper. **When is it sent?** After receiving is complete. Some partners send it per shipment, some per purchase order, and some only when there is a discrepancy. **Why does it matter?** The receipt drives payment. In a [three-way match](/glossary/three-way-match), the buyer checks your invoice against the order and the receipt before paying. If the 861 says 15 arrived in good condition and your [810 invoice](/guides/edi/810-invoice) bills 16, expect to be paid for 15. ## How Receiving Works, and Where the 861 Comes From 1. The buyer sends the [850](/guides/edi/850-purchase-order); you acknowledge it with an [855](/guides/edi/855-purchase-order-acknowledgment). 2. You ship and send the [856 ASN](/guides/edi/856-ship-notice), which tells the dock what to expect, down to carton labels. 3. The receiving location unloads, scans cartons against the ASN, and counts or samples the contents. 4. Damage, shortages, overages and wrong items are recorded at the dock. Overages may be refused or sent back. 5. The receipt posts in the buyer's system, and the 861 goes out with the result. 6. The buyer pays your invoice against the receipt, and any difference becomes a deduction, often explained later on an [812 credit/debit adjustment](/guides/edi/812-credit-debit-adjustment) or the remittance on an [820](/guides/edi/820-payment-order). For the receiving side of this process in more detail, see our guide to the [goods receipt process](/blog/goods-receipt-process). ## Interactive Example: Damaged and Short Units Harbor Home's DC 04 receives the first shipment against purchase order `4500087321` (the order acknowledged in the [855 examples](/guides/edi/855-purchase-order-acknowledgment)). `BRA01` is the DC's receipt number, `BRA02` the receipt date, `BRA03` the purpose (`00` original) and `BRA04` the advice type (`1`, receiving dock advice). `REF*SI` carries the supplier's shipment ID from the ASN and `REF*BM` the bill of lading. `DTM*050` is the received date and `PRF` names the purchase order. Each `RCD` loop is one item: - **Item 1, brass lamps.** 16 shipped (`SN102`). 15 received in good order (`RCD02`) and 1 in question (`RCD06`) for damaged product or container (`RCD08` = `01`). - **Item 2, rugs.** 10 shipped. 9 received and 1 in question for quantity short (`02`). ## Interactive Example: Overage Returned to Supplier On order `4500087398`, the supplier shipped 40 lamps against 36 ordered. The DC accepts 36 (`RCD02`), returns 4 (`RCD04`), and records the 4 as in question with condition `12` (quantity over, returned to supplier). The shades line arrived exactly as shipped: 30 against the 30 the supplier's 855 committed, with the remaining 18 still on backorder, so the `RCD` carries only the received quantity. ## 861 Structure at a Glance | Position | Segment | Name | Usage | Notes | |---|---|---|---|---| | Header | **ST** | Transaction Set Header | Mandatory | `ST01` = `861` | | Header | **BRA** | Beginning Segment for Receiving Advice or Acceptance Certificate | Mandatory | Receipt number, date, purpose, advice type | | Header | **REF** | Reference Identification | Optional | ASN or shipment ID, bill of lading, PRO number | | Header | **DTM** | Date/Time Reference | Mandatory | Received date, usually `DTM01` = `050` | | Header | **PRF** | Purchase Order Reference | Optional | PO number and date when the receipt covers one PO | | Header | **TD1, TD5, TD3** | Carrier details | Optional | Packaging, carrier and equipment | | Header | **N1 loop** | Name (with N3, N4) | Optional | Receiving location, supplier, buyer | | Detail | **RCD** | Receiving Conditions | Mandatory in the RCD loop | Quantities accepted, returned and in question, with condition codes | | Detail | **SN1** | Item Detail (Shipment) | Optional | Quantity shipped and ordered, for comparison | | Detail | **LIN** | Item Identification | Optional | UPC, vendor item number, PO line | | Detail | **PID, PO4, REF, DTM, PRF, MAN** | Item detail | Optional | Description, pack, references, dates, PO per item, carton marks | | Summary | **CTT** | Transaction Totals | Optional | Number of `RCD` loops | | Summary | **SE** | Transaction Set Trailer | Mandatory | Segment count and control number | ## Key Segments Explained ### BRA: Beginning Segment for Receiving Advice ``` BRA*RCV-0447815*20261106*00*1~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **BRA01** | Reference Identification | `RCV-0447815` | The receiver's receipt or receiving document number. Quote it in any dispute | | **BRA02** | Date | `20261106` | Date of the receipt or of the advice | | **BRA03** | Transaction Set Purpose Code | `00` | `00` original. A corrected receipt may use `05` (replace) or `01` (cancellation), per the partner's guide | | **BRA04** | Receiving Advice or Acceptance Certificate Type Code | `1` | `1` receiving dock advice, `2` post receipt advice, `3` disposition advice, `8` acceptance certificate | | **BRA05** | Time | | Time of the receipt | | **BRA06** | Receiving Condition Code | | An overall condition for the whole receipt, used by some partners | | **BRA07** | Action Code | | Used by some partners to mark additions or changes | ### RCD: Receiving Conditions `RCD` is the core of the 861. It carries up to three different quantities for one item, and up to five "in question" quantities, each with its own condition code. ``` RCD*1*15*EA***1*EA*01~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **RCD01** | Assigned Identification | `1` | Item sequence in this advice, often the PO line | | **RCD02** | Quantity Units Received or Accepted | `15` | Units received and accepted | | **RCD03** | Unit of Measure | `EA` | Unit for `RCD02` | | **RCD04** | Quantity Units Returned | | Units sent back to the supplier | | **RCD05** | Unit of Measure | | Unit for `RCD04` | | **RCD06** | Quantity in Question | `1` | Units with a problem | | **RCD07** | Unit of Measure | `EA` | Unit for `RCD06` | | **RCD08** | Receiving Condition Code | `01` | What the problem is (table below) | | **RCD09 to RCD20** | Quantity in question, unit, condition | | Up to four more problem quantities, each with its own code | | **RCD21** | Quantity | | An additional quantity, defined by the partner's guide | An earlier version of this page placed a condition code in `RCD01` and used letter codes such as "OS" and "DM". In 004010 the receiving condition codes are two-digit numbers, and they sit after each quantity in question, starting at `RCD08`. ### SN1: Item Detail (Shipment) ``` SN1*1*16*EA**24*EA~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **SN101** | Assigned Identification | `1` | Item sequence | | **SN102** | Number of Units Shipped | `16` | What the shipper said it sent | | **SN103** | Unit of Measure | `EA` | Unit for `SN102` | | **SN104** | Quantity Shipped to Date | | Cumulative shipped, used in some programs | | **SN105** | Quantity Ordered | `24` | The PO quantity | | **SN106** | Unit of Measure | `EA` | Unit for `SN105` | `SN1` lets the 861 show ordered, shipped and received side by side. `SN104` is a cumulative shipped quantity, not the quantity received; the received figure is always in `RCD`. ### LIN: Item Identification ``` LIN*1*UP*085519001205*VN*CL-LAMP-BRS~ ``` `LIN01` is an optional line identifier, followed by qualifier and ID pairs: `UP` UPC, `VN` vendor item number, `IN` buyer's item number, and others the partner's guide lists. Match on the identifiers you sent on the ASN. ## Receiving Condition Codes (RCD08) Element 412 has these codes in 004010: | Code | Meaning | What it usually means for you | |---|---|---| | **01** | Damaged product or container | Deduction for the damaged units; check packing and carrier | | **02** | Quantity short | Fewer units than the ASN or packing list said | | **03** | Quantity over | More units than ordered or shipped | | **04** | Quality problem | Product failed an inspection | | **05** | Incorrect product | Wrong item received | | **06** | Non-standard container | Pack or pallet did not meet the buyer's spec | | **07** | Good condition | No problem, used where the partner reports every item | | **08** | Rejected | Units refused | | **09** | Hold | Units held pending a decision | | **10** | Material scrapped | Units destroyed at the receiver | | **11** | Adjust supplier shipped cumulative quantity | Cumulative shipped figure corrected | | **12** | Quantity over, returned to supplier | Overage sent back | | **13** | Received but cannot process, no matching ship notice | Goods arrived without a usable ASN | | **14** | Received and processed with no matching ship notice/manifest | Received without an ASN match | | **16** | Not received, ship notice required | ASN expected, goods not taken in | Codes 13, 14 and 16 are the ones to watch if you sell to retailers with ASN programs: they mean your 856 was missing or did not match, which is a compliance issue on top of any quantity difference. ## EDI 861 vs 856, 810, 944 and 895 | Document | Sent by | Purpose | |---|---|---| | **[856 Ship Notice/ASN](/guides/edi/856-ship-notice)** | Shipper | What was shipped, before it arrives | | **861 Receiving Advice** | Receiver | What actually arrived, and its condition | | **[810 Invoice](/guides/edi/810-invoice)** | Supplier | What is billed. Paid against the receipt | | **[944 Warehouse Stock Transfer Receipt Advice](/guides/edi/944-warehouse-stock-transfer-receipt-advice)** | 3PL warehouse | What a third-party warehouse received into the depositor's stock | | **[894](/guides/edi/894-delivery-return-base-record) and 895** | Store and DSD supplier | Delivery record and the store's acceptance or adjustment, used in direct store delivery instead | | **[EDIFACT RECADV](/guides/edi/edifact-recadv)** | Receiver | The EDIFACT equivalent of the 861 | A brand using a 3PL will usually see a 944 from its own warehouse and, separately, an 861 or a portal receipt from its retail customers. They answer the same question at different docks. ## Common 861 Problems and How to Prevent Them | Problem | What happens | Prevention | |---|---|---| | **ASN does not match the cartons** | Short or over codes, plus ASN compliance failures (codes 13, 14, 16) | Build the 856 from scanned pack-out data, not from the order | | **Short picks** | `02` quantity short on the 861 and a deduction | Scan-verify quantities at pack-out | | **Overages** | `03` or `12`; units refused or returned at your cost | Ship to the ordered and acknowledged quantity, including any [860](/guides/edi/860-purchase-order-change) changes | | **Damage in transit** | `01`, deduction and a carrier claim to file | Check pack and pallet spec; keep proof of delivery and photos | | **Wrong item or wrong UPC** | `05` incorrect product, line refused | Keep UPCs in your item master matched to the buyer's item setup | | **Invoice built from the order, not the shipment** | Invoice exceeds the receipt; short-pay | Invoice what shipped, and reconcile against 861s before month end | | **861s not read at all** | Deductions arrive with no explanation you can trace | Route every 861 with a discrepancy to someone who can dispute it | Paste a received 861 into the [EDI inspector](/edi-inspector) to see each `RCD` decoded with its condition, and compare it with the ASN you sent. ## Disputing a Receiving Discrepancy When you believe the 861 is wrong, the evidence is what you can show about the shipment: the scanned pack-out record, the 856 you sent, the signed bill of lading, carrier proof of delivery, and photos. Quote the receipt number from `BRA01` and the PO from `PRF01`. Each buyer has its own dispute process and deadline, usually set out in its vendor agreement or [chargeback](/glossary/retail-chargeback) policy, so find it before you need it. Our [EDI chargebacks guide](/edi-chargebacks) covers the common deduction types. ## 861 Implementation Checklist - Confirm with each partner whether it sends 861s, portal receipts or neither - Get its 861 guide: every item or exceptions only, per shipment or per PO, which condition codes - Map `RCD02`, `RCD04` and `RCD06` separately; do not sum them into one received figure - Store the receipt number (`BRA01`) and PO (`PRF01`) against your shipment and invoice - Match each `LIN` to your item master by the identifiers you sent on the 856 - Send a 997 for every 861 received - Route discrepancies to the person who handles deductions, with the shipment's ASN and BOL attached - Review discrepancies by item and by ship-from location each month ## Preventing Discrepancies With OrderSync Many receiving problems start before the warehouse: an order keyed with the wrong unit, a line missed in an emailed PDF, or a change that never reached the pick list. The dock then counts exactly what you shipped, and it is still wrong. OrderSync reads inbound orders in any format, EDI 850s and 875s alongside PDFs, emails and spreadsheets, matches customers, items and units to your catalog, and outputs valid X12 or ERP data. Read how [ERP integration](/erp-integration) fits, paste any 861 into the [free EDI inspector](/edi-inspector), or [book a 15-minute walkthrough](/book) to see your own orders processed. ## Frequently Asked Questions
### What is an EDI 861 used for? The receiver of a shipment sends the EDI 861 Receiving Advice to report what arrived: quantities accepted, returned and in question for each item, with a condition code for problems such as damage, shortage, overage or the wrong product. The supplier uses it to reconcile its shipment and invoice. ### Who sends the EDI 861? The party that received the goods, usually a retailer's or manufacturer's distribution center or receiving dock. It goes to the supplier or shipper. Not every buyer sends 861s; some report receipts only in a supplier portal. ### What is the difference between an EDI 856 and an 861? The 856 ASN is sent by the shipper before the goods arrive and says what was shipped. The 861 is sent by the receiver after unloading and says what was actually received and in what condition. Differences between the two usually lead to deductions. ### What are the receiving condition codes in an 861? In 004010 they are two-digit codes in RCD08 and BRA06, for example 01 damaged product or container, 02 quantity short, 03 quantity over, 05 incorrect product, 07 good condition, 08 rejected, 12 quantity over returned to supplier, and 13, 14 and 16 for receipts without a matching ship notice. ### What does the RCD segment contain? RCD carries one item's receipt: RCD02 the quantity received or accepted, RCD04 the quantity returned, and RCD06 a quantity in question with its condition code in RCD08. Up to four more quantity and condition pairs can follow for items with several problems. ### Is the 861 the same as the 944? No. The 944 Warehouse Stock Transfer Receipt Advice is sent by a third-party warehouse to the brand that owns the stock, reporting what it received into storage. The 861 is a general receiving advice from any receiver, most often a customer reporting receipt of your shipment. ### What is the EDIFACT equivalent of the 861? RECADV, the EDIFACT receiving advice message. It does the same job for European and international trading partners: report what was received against a despatch advice (DESADV, the EDIFACT equivalent of the 856), with quantities and discrepancy reasons.
## Related Transaction Sets - **[856 Ship Notice/ASN](/guides/edi/856-ship-notice)**: what you said you shipped - **[850 Purchase Order](/guides/edi/850-purchase-order)**: the order the receipt is checked against - **[810 Invoice](/guides/edi/810-invoice)**: paid against the receipt - **[812 Credit/Debit Adjustment](/guides/edi/812-credit-debit-adjustment)**: how many deductions are explained - **[944 Warehouse Receipt Advice](/guides/edi/944-warehouse-stock-transfer-receipt-advice)**: the 3PL's receipt into your stock - **[EDIFACT RECADV](/guides/edi/edifact-recadv)**: the EDIFACT equivalent of the 861 --- # EDI 862 Shipping Schedule: Near-Term Release Guide Source: https://ordersync.io/guides/edi/862-shipping-schedule > How the EDI 862 Shipping Schedule works: how it supplements the 830, BSS, FST, JIT and SHP segments, a live example, 862 vs 830 and 866, and common errors. The EDI 862 Shipping Schedule is the X12 transaction a manufacturer sends a supplier to give exact near-term ship or delivery requirements against an existing 830 Planning Schedule and blanket purchase order. It lists firm quantities by day, sometimes by hour, and is sent often, commonly daily. It does not authorize material or labor. **The EDI 862 Shipping Schedule is how a buyer turns a longer-range 830 forecast into exact, dated ship instructions for the next few days.** It does not set prices or create a new agreement. It points back at a blanket purchase order and the planning schedule already in play, then says: deliver these quantities, to this dock, on these days and at these times. In just-in-time manufacturing, the 862 is the document that keeps an assembly line fed. This guide covers what the 862 contains, how it differs from the 830 and 866, a live example you can open segment by segment, every segment you will map (BSS, LIN, UIT, FST, JIT, SHP), and the mistakes that cause premium freight and line-down calls. ## What Is an EDI 862? **An EDI 862 is the Shipping Schedule transaction set defined by the [ASC X12 standards body](https://x12.org/products/transaction-sets), used by a customer to give a supplier precise shipping schedule requirements.** The X12 definition says it is meant to supplement the [830 Planning Schedule](/guides/edi/830-planning-schedule): it can supersede certain shipping and delivery information from a previous 830, but it does not replace the 830, and it "shall not be used to authorize labor, materials or other resources." Because it can be sent far more often than the 830, it supports just-in-time manufacturing. Authoritative references for 862 work: - The [X12 transaction set catalog](https://x12.org/products/transaction-sets) lists the 862 with the 830 and 866 schedules - The [Stedi X12 004010 reference for the 862](https://www.stedi.com/edi/x12-004010/862) shows the segment order and loops, including the JIT loop, and its [BSS segment page](https://www.stedi.com/edi/x12-004010/segment/BSS) defines each header element - The [EDI Academy 830 and 862 reference](https://ediacademy.com/blog/830-and-862-edi-transactions/) explains how the 862 supplements the 830 - Each OEM publishes its own 862 implementation guide, which sets the horizon, cadence, codes and how it reports cumulative receipts **Who sends it?** The buyer (an OEM, assembler or other manufacturer), often from the individual plant rather than the central planning group. **When is it sent?** On a short cadence, commonly daily and sometimes more than once a day, covering a horizon of days to a couple of weeks. **Why does it matter?** The 862 is the call-off. Reading it wrong, or shipping to a stale schedule, leads directly to premium freight, a line stoppage, or parts the plant did not ask for. ## EDI 862 vs EDI 830: Plan vs Ship The 830 and 862 work as a pair, and confusing them is the most common mistake on the supplier side. For the longer comparison, see [EDI 830 vs 862](/blog/edi-830-vs-862). | | EDI 830 Planning Schedule | EDI 862 Shipping Schedule | |---|---|---| | **Purpose** | Rolling demand: forecast plus firm releases | Exact near-term ship or delivery requirements | | **Horizon** | Weeks to months | Days to a couple of weeks | | **Carries forecast?** | Yes, firm and planning buckets | Firm requirements; some partners add a short look-ahead | | **Authorizes material or labor?** | Yes, through ATH | No, by definition | | **Time of day?** | Rarely | Often, through JIT segments | | **Cadence** | Weekly or daily | Daily, sometimes intra-day | | **Beginning segment** | BFR | BSS | | **EDIFACT equivalent** | DELFOR | DELJIT | The 830 lets a supplier buy material and reserve capacity. The 862 then says which of that demand to deliver now. Where the two disagree inside the 862's horizon, the 862 is the instruction for that window. If an 862 asks for more than the 830 ever authorized, treat it as a question for the buyer's scheduler before you ship. When parts must also arrive in build order, the [866 Production Sequence](/guides/edi/866-production-sequence) adds the sequence on top of the 862's quantities and times. ## Interactive Example: OEM Shipping Schedule (862, BSS01 05) The assembly plant from our 830 example sends a replacement shipping schedule (`BSS01` `05`) for November 10 to 13. `BSS07` is release `REL-0458`, `BSS08` points to the 830 it supplements (`SCH-2026-W45`) and `BSS10` is the blanket PO. Each of the four days has a firm (`C`) discrete (`D`) requirement of 400. The first two days split into two `JIT` deliveries: 200 at 06:00 and 200 at 14:00. `REF*DK` names the dock, and `SHP` reports the last receipt and the cumulative received. Use the **Plain English** tab for a readable summary, or click any segment to break it down element by element. ## 862 Structure at a Glance | Area | Segment | Name | Usage | Notes | |---|---|---|---|---| | Header | **ST** | Transaction Set Header | Mandatory | `ST01` = `862` | | Header | **BSS** | Beginning Segment for Shipping Schedule | Mandatory | Purpose, schedule number, date, date type, horizon, references | | Header | **DTM** | Date/Time Reference | Optional | Header dates | | Header N1 loop | **N1** to **N4**, **REF**, **PER**, **FOB** | Parties | Optional | Issuer (`MI`), supplier (`SU`), ship-to (`ST`) | | LIN loop | **LIN** | Item Identification | Mandatory, repeats | Buyer part (`BP`), vendor part (`VP`) | | LIN loop | **UIT** | Unit Detail | Mandatory | Unit of measure | | LIN loop | **PKG**, **PO4** | Packaging | Optional | Container requirements | | LIN loop | **PRS**, **QTY**, **REF**, **PER** | Status, quantities, references, contact | Optional | Dock, line feed or scheduler details | | LIN loop | **SDP** | Ship/Delivery Pattern | Optional | A routine day and time pattern | | FST loop | **FST** | Forecast Schedule | Repeats, up to 100 | Quantity, firm qualifier, timing, date | | FST loop | **DTM**, **SDQ** | Dates, destination quantities | Optional | Extra dates or split by destination | | JIT loop | **JIT** | Just-In-Time Schedule | Optional, up to 96 per FST | Quantity at a time of day | | SHP loop | **SHP** | Shipped/Received Information | Optional, up to 10 | Last receipt and cumulative quantities | | LIN loop | **TD1**, **TD3**, **TD5** | Carrier details | Optional | Routing instructions | | Summary | **CTT** | Transaction Totals | Optional | Number of LIN items, sum of FST quantities | | Summary | **SE** | Transaction Set Trailer | Mandatory | Segment count and control number | UIT is mandatory in every 862 LIN loop, which is a difference from the 830, where it is optional. ## Key Segments Explained ### BSS: Beginning Segment for Shipping Schedule ``` BSS*05*SS-20261106-01*20261106*DL*20261110*20261113*REL-0458*SCH-2026-W45**4500188421*A~ ``` | Element | Name | Req | Example | Meaning | |---|---|---|---|---| | **BSS01** | Transaction Set Purpose Code | M | `05` | `00` original, `05` replace, `04` change, `01` cancellation | | **BSS02** | Reference Identification | M | `SS-20261106-01` | The schedule's document number | | **BSS03** | Date | M | `20261106` | Date of this schedule | | **BSS04** | Schedule Type Qualifier | M | `DL` | `DL` delivery dates, `SH` shipment dates, `KB` kanban signal | | **BSS05** | Date | M | `20261110` | Horizon start | | **BSS06** | Date | M | `20261113` | Horizon end | | **BSS07** | Release Number | C | `REL-0458` | A release against the blanket PO | | **BSS08** | Reference Identification | C | `SCH-2026-W45` | The forecast number, which ties the 862 to its 830 | | **BSS09** | Contract Number | O | | Contract reference | | **BSS10** | Purchase Order Number | O | `4500188421` | The blanket PO | | **BSS11** | Schedule Quantity Qualifier | O | `A` | `A` discrete, `C` cumulative | At least one of BSS07 and BSS08 must be present. Your 856 ASN usually has to quote the release or PO from here, so map both. ### LIN and UIT ``` LIN**BP*430-00012-A*VP*SHROUD100~ UIT*EA~ ``` LIN carries the buyer's part number (`BP`) and the vendor's (`VP`), the same pair as in the 830. Map on the buyer's part number, because that is what the plant's receiving system matches against. UIT is the unit of measure for every quantity in the loop. ### FST: Forecast Schedule ``` FST*400*C*D*20261110~ ``` | Element | Name | Example | Meaning | |---|---|---|---| | **FST01** | Quantity | `400` | Units required | | **FST02** | Forecast Qualifier | `C` | `C` firm, `A` immediate | | **FST03** | Forecast Timing Qualifier | `D` | `D` discrete date, `C` daily, `W` weekly, `F` flexible interval | | **FST04** | Date | `20261110` | The ship or delivery date, per BSS04 | | **FST06**, **FST07** | Date/Time Qualifier, Time | | A single time for the requirement | The same FST segment and code lists as the 830 apply. In an 862 the near-term quantities are normally firm. If your partner also sends planning (`D`) buckets for a short look-ahead, treat them exactly as you would on an 830: information, not a release. ### JIT: Just-In-Time Schedule ``` JIT*200*0600~ JIT*200*1400~ ``` JIT follows an FST and splits its quantity by time of day: JIT01 is the quantity and JIT02 the time on a 24-hour clock. Here the 400 for November 10 arrives as 200 at 06:00 and 200 at 14:00. Whether the time is a ship time or a dock arrival time follows BSS04. ### REF: Dock and Line References `REF*DK*DOCK 7~` names the receiving dock. Plants also use REF in the LIN loop for line-feed locations, storage locations or kanban numbers, with qualifiers set in their guide. ### SHP: Shipped/Received Information ``` SHP*01*400*050*20261105~ SHP*02*42200*051*20260105**20261105~ ``` | Element | Name | Example | Meaning | |---|---|---|---| | **SHP01** | Quantity Qualifier | `02` | `01` discrete, `02` cumulative | | **SHP02** | Quantity | `42200` | The quantity | | **SHP03** | Date/Time Qualifier | `051` | `050` received, `011` shipped, `051` cumulative start | | **SHP04** | Date | `20260105` | The date, or the cumulative start date | | **SHP06** | Date | `20261105` | Cumulative end date | The plant last received 400 on November 5 and has received 42,200 cumulative since January 5. If that does not match your shipped cumulative, find the difference before you ship. Parts still in transit are not in the plant's received total yet, so they explain part of any gap; anything beyond that needs a call to the plant's scheduler. For the full reconciliation, see [cumulative quantity and CUM accounting](/blog/cumulative-quantity-cum-accounting). ### SDP: Ship/Delivery Pattern Some plants send a routine pattern instead of, or as well as, exact dates: `SDP*O*D~` reads "daily, Monday to Friday, mornings". The codes are the same as on the 830. ### CTT: Transaction Totals `CTT*1*1600~` reports one LIN item and FST quantities that add up to 1,600. Check it on receipt; a mismatch means a bucket went missing. ## Where the 862 Sits in the Order Lifecycle In a blanket-PO, just-in-time manufacturing relationship, the 862 is the trigger to ship: 1. **Blanket [850 Purchase Order](/guides/edi/850-purchase-order)**: the buyer establishes the agreement, pricing and item list 2. **[830 Planning Schedule](/guides/edi/830-planning-schedule)**: rolling forecast, firm releases and authorizations 3. **862 Shipping Schedule**: exact near-term ship or delivery requirements 4. **[866 Production Sequence](/guides/edi/866-production-sequence)** (sequenced parts only): the build order 5. **[856 Ship Notice/ASN](/guides/edi/856-ship-notice)**: you report each shipment, quoting the release and PO 6. **[810 Invoice](/guides/edi/810-invoice)**: you bill against the [blanket PO](/blog/blanket-purchase-order) A late or misread 862 ripples straight into the ASN and the delivery itself, which is why supplier schedulers watch it closely. ## Common 862 Errors and How to Prevent Them | Error | What happens | Prevention | |---|---|---| | **Replace (`05`) loaded as an addition** | Duplicate requirements, parts shipped twice | Clear the horizon for that part and ship-to before loading a `05` | | **Delivery dates read as ship dates** | Arrivals late by the transit time | Check BSS04 and offset by lane transit time | | **JIT times ignored** | Whole day's quantity arrives at one time; dock refuses or line runs short | Load JIT times into dispatch, not just daily totals | | **Cumulative out of sync** | Over- or under-shipment against the plant's count | Reconcile SHP against your shipments on every 862 | | **Shipping beyond the 830's authorization** | Parts the buyer is not committed to | Flag any 862 that exceeds the 830 firm and ATH quantities | | **Wrong release or PO on the ASN** | 856 rejected or receipt unmatched | Carry BSS07 and BSS10 through to the 856 | | **Stale schedule** | Shipping to yesterday's requirement | Alert when the expected daily 862 has not arrived | ## 862 Implementation Checklist - Get the plant's 862 guide and confirm the X12 version - Confirm BSS01 purpose codes and whether every 862 replaces the last - Confirm BSS04 (delivery or ship dates) and BSS11 (discrete or cumulative) - Confirm FST02 and FST03 codes, and whether it sends JIT times or SDP patterns - Confirm the references it expects back on your 856 (release, PO, dock) - Agree the cumulative start date and how SHP is reported - Test a replace, a cancellation and a JIT schedule before going live - Monitor 997s and alert on missing schedules ## Reading 862s With OrderSync Paste any 862 into the [free EDI inspector](/edi-inspector) to see it parsed segment by segment, with a plain-English summary of each day's firm quantity, the JIT delivery times under it, and the cumulative received. It also explains structural errors when a file will not load. OrderSync's main work is on the orders around your schedules. Suppliers who ship to an OEM on 830s and 862s usually also take POs from aftermarket, distribution and smaller industrial customers as 850s, emails, PDFs and spreadsheets. OrderSync reads those in any format, matches customers, items and units to your catalog, and outputs valid X12 or clean data for your ERP. Read more about [EDI for automotive parts suppliers](/edi-for/automotive-parts) and [contract manufacturers](/edi-for/contract-manufacturing), or [book a 15-minute walkthrough](/book). ## Frequently Asked Questions
### What is the difference between EDI 862 and EDI 830? The 830 Planning Schedule carries longer-range demand, with firm and planning buckets and ATH authorizations for material and labor. The 862 Shipping Schedule is a near-term instruction for exactly what to ship and when. The 862 supplements the 830; it does not replace it or authorize resources on its own. ### Does an EDI 862 carry forecast quantities? It is meant for firm near-term requirements. Some partners add a short planning look-ahead using the same FST codes as the 830, so check FST02 on every bucket. Forward forecast and material authorization belong in the 830. ### What is the BSS segment in an EDI 862? BSS is the 862 header. It carries the purpose code, the schedule number and date, whether dates are delivery or ship dates, the horizon start and end, and the references that tie the schedule to its release, its 830 forecast and its blanket purchase order. ### What is the JIT segment in an EDI 862? JIT follows an FST bucket and splits its quantity by time of day: a quantity and a 24-hour time. It lets a plant ask for 200 parts at 06:00 and 200 at 14:00 on the same day. ### What is the difference between EDI 862 and EDI 866? The 862 says how many parts to deliver and when. The 866 Production Sequence says the order in which individual parts must arrive, tied to the vehicles or jobs on the line. Sequenced suppliers often receive both. ### What is the EDIFACT equivalent of the 862? [DELJIT](/guides/edi/edifact-deljit), the UN/EDIFACT Delivery Just In Time message. [DELFOR](/guides/edi/edifact-delfor) corresponds to the 830 in the same way. ### Who uses the EDI 862 Shipping Schedule? It is most common in automotive and other just-in-time manufacturing supply chains, where OEM and Tier 1 plants call off daily or intra-day deliveries against a blanket purchase order.
--- # EDI 863 Report of Test Results: COA Guide Source: https://ordersync.io/guides/edi/863-report-of-test-results > EDI 863 explained: electronic certificates of analysis and mill test reports, the BTR, LIN, CID and MEA segments, a live COA example and common errors. The EDI 863 Report of Test Results is the X12 transaction a supplier uses to send lab results for a shipped lot, heat or batch. It is the electronic certificate of analysis (COA) or mill test report. Each 863 identifies the item and lot, then lists every test characteristic with its measured value and specification range. **The EDI 863 replaces the PDF certificate that travels with every lot.** Chemical, food ingredient, steel and pharmaceutical buyers will not release incoming material until quality has checked the supplier's test results against the specification. When that certificate arrives as a scanned PDF, someone retypes assay, moisture or tensile values into a quality system. The 863 sends the same numbers as structured data, tied to the lot number on the shipment. This guide covers what the 863 carries, who uses it, how it links to the ASN and the receipt, every segment you will map, a live certificate of analysis example, and the errors that put lots on hold. ## What Is an EDI 863? **An EDI 863 is the Report of Test Results transaction set defined by [ASC X12](https://x12.org/products/transaction-sets), used to transmit the results of tests performed to satisfy a product or process requirement.** X12 describes it as covering inspection data, certification data and statistical process control measurements. In practice it is most often the electronic form of a certificate of analysis (COA), certificate of compliance or mill test report. Its functional group code in `GS01` is `RT`. Authoritative references for 863 work: - The [X12 transaction set catalog](https://x12.org/products/transaction-sets) defines the 863 and its segment order - The [Stedi 004010 863 reference](https://www.stedi.com/edi/x12-004010/863) lists every segment and loop, including the LIN, CID, MEA, STA and TMD loops - A published trading-partner guide, such as [U.S. Steel's 863 implementation guide](https://edi.uss.com/documents/4417799/4738803/863%20Report%20of%20Test%20Results), shows how a steel mill sends mechanical and coating results with heat numbers and coil IDs - For US food manufacturers, the FDA preventive controls rule lists "sampling and testing of the raw material or other ingredient" as a supplier verification activity in [21 CFR 117.410](https://www.ecfr.gov/current/title-21/chapter-I/subchapter-B/part-117/subpart-G/section-117.410), which is one reason ingredient buyers ask for test results with every lot **Who sends it?** The supplier, mill or manufacturer that tested the material, or its outside lab. **Who receives it?** The customer's quality or receiving team, often straight into a laboratory information management system (LIMS) or the quality module of the ERP. **When is it sent?** With or just before the shipment, so results are on file when the lot arrives. Some customers want it before the truck leaves, so they can reject a failing lot before paying freight. **Why does it matter?** Many buyers place incoming lots on quality hold until the certificate is reviewed. A missing or unmatched 863 leaves product sitting on the dock, and a result outside specification can mean a rejected shipment. ## Who Uses the 863 The structure is generic, so each industry uses it differently. | Industry | Typical document | What the 863 carries | |---|---|---| | **Chemicals** | Certificate of analysis | Assay or purity, moisture, pH, specific gravity, color, impurities, per batch | | **Food ingredients** | Certificate of analysis | Composition, moisture, and where the buyer requires it, microbiological results, per lot | | **Steel and metals** | Mill test report (MTR) | Chemistry by element and mechanical properties (yield, tensile, elongation), per heat or coil | | **Pharmaceutical and excipients** | Certificate of analysis | Results against the compendial or customer specification, per batch | | **Automotive and industrial parts** | Inspection or SPC data | Dimensional or statistical process results for a production lot | The common thread is a lot or heat identifier. The test results only mean something if the customer can tie them to the physical material it received, which is why the lot number has to match the one on your [856 ship notice](/guides/edi/856-ship-notice) and on the label. ## How the 863 Fits the Shipment A typical certificate flow with an EDI customer: 1. **Order.** The customer sends an [850 purchase order](/guides/edi/850-purchase-order), often naming the specification the material must meet. 2. **Test and release.** Your lab tests the batch, lot or heat and releases it against the specification. 3. **Ship.** You send an [856 ASN](/guides/edi/856-ship-notice) that lists the lot numbers in each shipment. 4. **Report results.** You send an 863 for each lot (or one 863 covering several lots), with the same lot numbers. 5. **Customer review.** The customer's system matches the 863 to the receipt by PO, item and lot, and compares each result to its own copy of the specification. 6. **Release or reject.** Lots that pass are released from hold. A failing or missing result can trigger a rejection, often reported back on an [842 nonconformance report](/guides/edi/842-nonconformance-report) or a [861 receiving advice](/guides/edi/861-receiving-advice). The 863 does not replace your quality agreement. It is the delivery mechanism for the results that agreement requires. ## Interactive Example: Chemical Certificate of Analysis (863) A fictional chemical supplier ships one lot of food-grade citric acid to a fictional food plant. `BTR04` is `CA` (Certificate of Analysis), the item and lot are in `LIN`, and the lot's manufacture and expiration dates follow in `DTM`. Two `CID` groups hold the results: chemistry (assay 99.8% against 99.5 to 100.5%, moisture 0.12% against a 0.5% maximum) and physical (specific gravity 1.66 against 1.65 to 1.67). Use the **Plain English** tab for a readable summary, or click any segment to break it down element by element. ## 863 Structure at a Glance The 863 is flexible. Most certificates use a small subset of what the standard allows. | Area | Segment | Name | Usage | Notes | |---|---|---|---|---| | Header | **ST** | Transaction Set Header | Mandatory | `ST01` = `863` | | Header | **BTR** | Beginning Segment for Test Results | Mandatory | Purpose, date, report type, report number | | Header | **NTE** | Note/Special Instruction | Optional | Free-text statements, such as a conformance declaration | | Header | **REF** | Reference Identification | Optional | Purchase order, bill of lading, shipment ID | | Header | **DTM** | Date/Time Reference | Optional | Ship date and other report-level dates | | Header loop | **N1 / N3 / N4 / PER** | Parties | Optional | Supplier, manufacturer, ship-to, buyer, lab contact | | Detail loop | **LIN** | Item Identification | Optional, repeats | One per item and lot: part number, lot, heat, serial | | Detail loop | **PID** | Product/Item Description | Optional | Item description or grade | | Detail loop | **DTM / REF / QTY** | Item dates, references and quantities | Optional | Manufacture date, expiry, lot quantity | | CID loop | **CID** | Characteristic/Class ID | Optional, repeats | A group of tests, such as chemistry or mechanical | | CID loop | **PSD** | Physical Sample Description | Optional | Where and how the sample was taken | | MEA loop | **MEA** | Measurements | Optional, repeats | One result, its unit and its specification range | | TMD loop | **TMD** | Test Method | Optional | The test method or standard used | | STA loop | **STA** | Statistics | Optional | Statistical results such as mean or standard deviation | | Summary | **CTT** | Transaction Totals | Optional | Number of LIN line items | | Summary | **SE** | Transaction Set Trailer | Mandatory | Segment count and control number | Customer guides choose which of these loops they read. The U.S. Steel guide, for example, uses only `LIN`, `MEA`, `CID`, `PSD`, `TMD` and `MEA` in the detail. Build to your customer's guide. ## Key Segments Explained ### BTR: Beginning Segment for Test Results ``` BTR*00*20261106*1430*CA*COA-2611-0457~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **BTR01** | Transaction Set Purpose Code | `00` | `00` = original. Replacements and cancellations use other purpose codes | | **BTR02** | Date | `20261106` | Date the report was created | | **BTR03** | Time | `1430` | Time the report was created | | **BTR04** | Report Type Code | `CA` | `CA` = Certificate of Analysis. Steel mills often use `12` (Mechanical Properties) or `11` (Chemical Analysis); `CP` is Certificate of Compliance | | **BTR05** | Reference Identification | `COA-2611-0457` | Your certificate number | | **BTR06** | Reference Identification | | The original certificate number, required when the purpose code says this report replaces or cancels an earlier one | | **BTR07** | Security Level Code | | Confidentiality level, rarely used | If you correct a result after sending, send a new 863 with the right purpose code and the original certificate number in `BTR06`, so the customer replaces the old record rather than holding two conflicting certificates. The purpose codes your customer accepts for corrections are in its guide. ### LIN: Item and Lot Identification ``` LIN**VN*CA-ANH-25*LT*L2611-0457~ ``` `LIN` identifies the material the results belong to, as pairs of qualifier and value. In the example, `VN` is the vendor's item number and `LT` the lot number. Steel mill reports typically add `HN` (heat number) and a coil or serial ID; the U.S. Steel guide uses `VO`, `VN`, `HN` and `SN`. Whatever identifiers you send, they must match the ones on the ASN and the physical label. A certificate for lot `L2611-0457` is no use to a receiver holding a drum marked `L26110457`. The `DTM` segments that follow in the LIN loop carry item-level dates. The example uses `094` (manufacture) and `036` (expiration). ### CID: Characteristic/Class ID ``` CID**68~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **CID01** | Measurement Qualifier | | A specific characteristic, when the group is a single test | | **CID02** | Product/Process Characteristic Code | `68` | The class of test. `68` = Chemistry, `69` = Physical, `71` = Mechanical, `65` = Visual | | **CID03 / CID04** | Agency Qualifier and Product Description Code | | A characteristic from an industry code list, such as a steel grade | | **CID05** | Description | | Free-text name for the characteristic group | `CID` opens a group of related results. Everything until the next `CID` or `LIN` belongs to it. ### MEA: Measurements ``` MEA*TR*ASY*99.8*P1*99.5*100.5~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **MEA01** | Measurement Reference ID Code | `TR` | `TR` = test results | | **MEA02** | Measurement Qualifier | `ASY` | What was measured. `ASY` assay, `MOI` moisture, `PHA` pH, `SPG` specific gravity, `VIS` viscosity, `YB` yield, `TF` tensile, `EA` elongation | | **MEA03** | Measurement Value | `99.8` | The result | | **MEA04** | Composite Unit of Measure | `P1` | The unit. `P1` = percent, `MM` millimeter, `M8` megapascal | | **MEA05** | Range Minimum | `99.5` | Lower specification limit | | **MEA06** | Range Maximum | `100.5` | Upper specification limit | | **MEA07** | Measurement Significance Code | | Qualifies how the value relates to the range | | **MEA08** | Measurement Attribute Code | | A coded result instead of a number, such as `09` pass or `22` fail. Only one of `MEA03` and `MEA08` may be sent | | **MEA09** | Surface/Layer/Position Code | | For coated or layered product, such as `TP` top or `BT` bottom | Three syntax rules trip people up. At least one of `MEA03`, `MEA05`, `MEA06` or `MEA08` must be present. If you send a range (`MEA05` or `MEA06`), you must send the unit in `MEA04`. And a value and a coded attribute cannot share one `MEA`. For a "not detected" result, check whether your customer wants an attribute code in `MEA08` or a numeric value with a note. ### TMD, PSD and STA `TMD` names the test method, usually as an agency code and a method number from that agency's list. `PSD` describes the physical sample: the stage it was taken at, direction and position, which matters when a mill test report has to say where on a coil or plate the specimen came from. `STA` carries statistical results across several specimens, for customers that want process data rather than single results. The exact elements each customer reads are in its guide. ## COA vs Certificate of Compliance vs Mill Test Report | Document | What it states | How it appears in an 863 | |---|---|---| | **Certificate of analysis** | Measured results for this specific lot against the specification | `BTR04` = `CA`, with `MEA` results per characteristic | | **Certificate of compliance or conformance** | A statement that the lot meets the specification, sometimes without numbers | `BTR04` = `CP`, often with an `NTE` statement and fewer measurements | | **Mill test report** | Chemistry and mechanical properties of a specific heat of metal | `BTR04` such as `11` or `12`, with heat number in `LIN` | | **Inspection report** | Dimensional or functional checks on a production lot | `CID` groups for the inspected characteristics, possibly with `STA` statistics | Ask your customer which of these it expects. A buyer that wants numeric results will not accept a compliance statement, and the 863 can carry either. ## Where the 863 Sits Among Related Documents | Document | Sent by | Role | |---|---|---| | [850 Purchase Order](/guides/edi/850-purchase-order) | Customer | Orders the material and may name the specification | | [856 Ship Notice](/guides/edi/856-ship-notice) | Supplier | Lists the lots in each shipment | | **863 Report of Test Results** | Supplier | Sends the lot's test results | | [861 Receiving Advice](/guides/edi/861-receiving-advice) | Customer | Reports what was received and accepted or rejected | | [842 Nonconformance Report](/guides/edi/842-nonconformance-report) | Customer | Reports a defect or failed result and the action required | | [997 Functional Acknowledgment](/guides/edi/997-functional-acknowledgment) | Receiver | Confirms the 863 arrived and was structurally valid | ## Common 863 Errors and How to Prevent Them | Error | What happens | Prevention | |---|---|---| | **Lot number does not match the ASN or label** | Certificate cannot be matched; lot stays on hold | Use one lot field for the label, the 856 and the 863 | | **Certificate sent after the shipment arrives** | Material waits on the dock | Send the 863 when the lot is released, before or with the ASN | | **Range sent without a unit** | Syntax error; 997 rejection | Always send `MEA04` with `MEA05` or `MEA06` | | **Wrong measurement qualifier** | Customer's system compares assay against a moisture limit, or ignores the result | Map each lab test to the qualifier in the customer's guide, not a guessed code | | **Unit mismatch** | Results in ppm compared against a percent limit | Send results in the unit the specification uses | | **Specification range differs from the customer's** | Customer sees a "pass" it disagrees with | Load the customer's limits, not your internal release limits, when they differ | | **Corrections sent as a second original** | Two conflicting certificates for one lot | Use the correction purpose code and reference the original in `BTR06` | | **One 863 per shipment when the customer wants one per lot** | Results attached to the wrong lot | Confirm whether the guide expects one LIN loop per lot or one 863 per lot | ## 863 Implementation Checklist - Get the customer's 863 guide and the list of characteristics it requires for each item - Confirm the report type code it expects in `BTR04` - Map each lab test to a `MEA02` qualifier and unit, and agree how to send non-numeric results - Confirm the item identifiers in `LIN` (part number, lot, heat, serial) and that they match your 856 - Decide which limits you send in `MEA05` and `MEA06`: the customer's specification or yours - Agree timing: before shipment, with the ASN, or on lot release - Agree how corrections and cancellations are sent - Test a passing lot, a lot with a result at the limit, and a corrected certificate - Monitor 997s and any quality holds in the first weeks For a primer on X12 structure, see our [essential guide to EDI](/blog/essential-guide-to-edi) and the [EDI document types reference](/edi-document-types). ## Where OrderSync Fits OrderSync reads the orders that start this flow. Purchase orders arrive as EDI 850s, PDFs, emails and spreadsheets, and OrderSync matches the customer, items and units to your catalog and outputs ERP data or valid X12. Chemical and ingredient suppliers can read more on [EDI for chemical distributors](/edi-for/chemical-distributors) and [EDI for specialty food suppliers](/edi-for/specialty-food-suppliers). For the certificate itself, paste any 863 into the [free EDI inspector](/edi-inspector) to see each lot, characteristic and result explained in plain English, and catch a missing unit or mismatched lot before your customer does. To see your own orders processed, [book a 15-minute walkthrough](/book-call). ## Frequently Asked Questions
### What is an EDI 863? The EDI 863 is the X12 Report of Test Results. A supplier uses it to send the results of tests on a shipped lot, batch or heat, such as a certificate of analysis or mill test report, so the customer's quality system can check them against the specification without retyping a PDF. ### Is the EDI 863 a certificate of analysis? It is the most common electronic form of one. When BTR04 is CA, the 863 is a certificate of analysis. The same transaction also carries certificates of compliance, mill test reports and inspection data, identified by other report type codes. ### What segments are in an EDI 863? The header has ST and BTR, with optional REF, DTM and N1 parties. The detail repeats LIN for each item and lot, CID for each group of characteristics, and MEA for each result with its unit and specification range. TMD, PSD and STA add test method, sample and statistical detail. ### How does an 863 link to the shipment? Through the purchase order in REF and, most importantly, the lot, batch or heat number in LIN. Those identifiers must match the ones on the 856 ship notice and on the product label, or the customer cannot match results to the material it received. ### What does MEA*TR*ASY mean in an 863? TR in MEA01 means the segment carries a test result, and ASY in MEA02 means the characteristic measured is assay. MEA03 is the result, MEA04 the unit, and MEA05 and MEA06 the lower and upper specification limits. ### Who uses the EDI 863? Suppliers of chemicals, food ingredients, steel and metals, pharmaceutical materials and manufactured parts, wherever the customer requires test results with each lot before releasing it for use. ### What happens if an 863 shows a result out of specification? The customer's quality team usually holds or rejects the lot under its quality agreement with you. Many customers report the problem back with an 842 nonconformance report, which names the defect and the action required, such as return or scrap.
--- # EDI 864 Text Message: Implementation Guide Source: https://ordersync.io/guides/edi/864-text-message > EDI 864 Text Message explained: BMG, MIT and MSG segments, vendor notice and invoice rejection examples, 864 vs 824, and how to make sure someone reads them. The EDI 864 Text Message is the X12 transaction trading partners use to send free-form messages over an EDI connection: notices, policy changes, explanations and rejections written in prose. It carries a subject in BMG, messages opened by MIT, and lines of text in MSG. It is meant for people to read, not for systems to process. **The EDI 864 is email that travels over your EDI connection.** A retailer tells you an invoice was not paid and why. A supplier announces a holiday shipping cutoff. A government buyer sends a clarification on a solicitation. None of these fit a coded document, so they arrive as an 864: a subject, a sender, and lines of plain text. The risk is simple. Your translator accepts the 864, sends back a clean 997, and files it somewhere nobody looks. This guide covers what the 864 carries, its segments, two live examples (a retailer's invoice rejection and a supplier's shipping notice), how it compares to the 824, and how to make sure a person actually reads each one. ## What Is an EDI 864? **An EDI 864 is the Text Message transaction set defined by the [ASC X12 standards body](https://x12.org/products/transaction-sets). Its X12 purpose statement says it gives users a way to electronically move messages, contracts, explanations and other one-time communications, and that it is intended to provide messages for people, not for computer processing.** The same statement discourages using the 864 to carry "quasi" or home-grown transaction formats. It travels in functional group `TX`. Authoritative references for 864 work: - The [X12 transaction set catalog](https://x12.org/products/transaction-sets) defines the 864 and its segment order - The [Stedi X12 4010 reference](https://www.stedi.com/edi/x12-004010/864) lists the BMG, MIT and MSG segments with their element limits - The [Defense Logistics Agency's 864 implementation convention](https://www.dla.mil/Portals/104/Documents/InformationOperations/EBS%20Supplier%20Information/DLA%20BSM%20864%20IC.pdf) is a public example of a large buyer's 864 rules, including how to reference a related transaction - Each trading partner that sends or accepts 864s says so in its EDI requirements, along with what it uses them for **Who sends it?** Either side. Retailers and manufacturers send notices to suppliers. Suppliers send notices to customers. Government agencies and their vendors exchange clarifications on solicitations and awards. **Who receives it?** In theory, a person. In practice, your EDI translator, which then has to hand the text to a person. **When is it sent?** Whenever there is something to say that no structured document covers: a rejected document explained in words, a schedule change, a new requirement, a contact change. **Why does it matter?** Because the content is prose, no system will act on it for you. If an 864 tells you an invoice will not be paid until you correct it, the only way that gets fixed is if someone reads it. ## What 864s Are Used For | Use | Typical sender | Example | |---|---|---| | **Rejections explained in prose** | Retailer, buyer AP | An invoice could not be matched to a PO, or duplicates one already received | | **Vendor notices** | Supplier | Plant closures, holiday shipping cutoffs, new remit-to details | | **Policy and requirement changes** | Retailer, manufacturer | New labeling rules, a change in routing contacts, a new EDI requirement date | | **Clarifications** | Buyer or seller | Questions and answers on a quote or award, such as an [843 quote response](/guides/edi/843-response-to-request-for-quotation), referencing the related transaction | | **Production or schedule messages** | Manufacturer | Notes that accompany planning or shipping schedules | Which of these your partners actually send is in their EDI requirements. Many retailers have moved notices to supplier portals and email, and use the 824 for document rejections. The 864 is still common in automotive, manufacturing, government and some retail relationships. ## Interactive Example: Invoice Rejection Notice A grocery retailer's accounts payable desk tells a food supplier why two invoices were not processed. `BMG02` gives the overall subject. Two `N1` loops name the sender (`FR`, message from, with a `PER` contact) and the recipient (`TO`, message to). Each problem gets its own `MIT` loop with a message number and subject, followed by `MSG` lines of text. Use the **Plain English** tab for a readable summary, or click any segment to break it down element by element. Notice what the 864 does not give you: no invoice number in a coded field, no error code, no status a system can branch on. The invoice number is only in the text. That is the trade-off of a text message. ## Interactive Example: Supplier Holiday Shipping Notice Going the other way, the food supplier tells the grocery customer its plant will not ship over Thanksgiving, when the order cutoff is, and who to call. Two `MIT` loops separate the schedule from the contact details. ## 864 Structure at a Glance The 864 is one of the simplest X12 sets. | Area | Segment | Name | Usage | Notes | |---|---|---|---|---| | Heading | **ST** | Transaction Set Header | Mandatory | `ST01` = `864` | | Heading | **BMG** | Beginning Segment for Text Message | Mandatory | Purpose code and overall subject | | Heading | **DTM** | Date/Time Reference | Optional, up to 10 | Dates relevant to the message | | Heading loop | **N1** | Name | Optional loop, up to 200 | Sender, recipient and other parties | | Heading loop | **N2, N3, N4** | Name and address | Optional | | | Heading loop | **REF** | Reference Identification | Optional, up to 12 | References to related documents | | Heading loop | **PER** | Administrative Communications Contact | Optional, up to 3 | Who to contact | | Detail loop | **MIT** | Message Identification | Mandatory, repeats | Opens each message: number and subject | | Detail loop | **N1 loop** | Name, address, REF, PER | Optional | Parties for this one message | | Detail loop | **MSG** | Message Text | Mandatory, up to 100,000 per message | One line of text per segment | | Trailer | **SE** | Transaction Set Trailer | Mandatory | Segment count and control number | In the envelope, `GS01` is **TX**. Many partners use release 004010, and the version is set by their guide. ## Key Segments Explained ### BMG: Beginning Segment for Text Message ``` BMG*00*INVOICE REJECTION NOTICE~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **BMG01** | Transaction Set Purpose Code | `00` | `00` = original | | **BMG02** | Description | `INVOICE REJECTION NOTICE` | The subject of the whole transaction, up to 80 characters | | **BMG03** | Transaction Type Code | | Optional code classifying the message. Its use and values are set by the partner's guide | `BMG02` is the closest thing the 864 has to a routing key. If your partner uses consistent subjects, you can route on them. If not, route every 864 from that partner to a person. ### DTM: Date/Time Reference ``` DTM*097*20261112*0805~ ``` `DTM01` is the date qualifier (`097` = transaction creation), `DTM02` the date and `DTM03` the time. Partners use other qualifiers for effective dates or deadlines mentioned in the text. ### N1, REF and PER: Who It Is From and To ``` N1*FR*HARBOR GROCERY AP*1*069854900~ PER*IC*ACCOUNTS PAYABLE EDI DESK*TE*5035550100~ N1*TO*PINE HOLLOW FOODS*1*081234567~ ``` `N101` codes `FR` (message from) and `TO` (message to) identify the two ends of the message, with an ID in `N103`/`N104` (here `1` = DUNS). `PER` gives a contact with a name and number. A `REF` in the same loop can point to a related transaction. The DLA convention, for example, requires the reference number of the related transaction when an 864 accompanies another document. ### MIT: Message Identification ``` MIT*001*INVOICE 30418 NOT PROCESSED*80~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **MIT01** | Reference Identification | `001` | The message number within this 864 | | **MIT02** | Description | `INVOICE 30418 NOT PROCESSED` | The subject of this message, up to 80 characters | | **MIT03** | Page Width | `80` | Maximum characters per line. Defaults to 80 | | **MIT04** | Page Length Lines | | Maximum lines per page. Defaults to 66 | One 864 can hold many messages. Separate topics into separate `MIT` loops so each can be routed and answered on its own. ### MSG: Message Text ``` MSG*YOUR INVOICE 30418 DATED 11/10/2026 COULD NOT BE MATCHED TO AN OPEN ORDER.~ ``` | Element | Name | What it means | |---|---|---| | **MSG01** | Free-Form Message Text | One line of text, up to 264 characters | | **MSG02** | Printer Carriage Control Code | Optional layout control, such as advancing lines or starting a new page | | **MSG03** | Number | Lines to advance before printing. Requires `MSG02` | Each `MSG` is one line. Keep lines within the `MIT03` page width and avoid the delimiter characters your interchange uses (`*`, `~` and the component separator), which will break the segment. ## EDI 864 vs 824, 997 and Email | Document | Purpose | Machine-readable? | Typical use | |---|---|---|---| | **864 Text Message** | Free-form messages for people | No. The content is prose | Notices, explanations, rejections in words | | **[824 Application Advice](/guides/edi/824-application-advice)** | Reports accepted, rejected or errored documents | Yes. Coded status in `OTI`, error codes in `TED` | Business-rule rejections of 810s, 856s and 850s | | **[997 Functional Acknowledgment](/guides/edi/997-functional-acknowledgment)** | Confirms receipt and syntax of a functional group | Yes | Every transaction, including the 864 itself | | **Email** | Anything | No | Most notices today | The short version: the 824 tells your system that a document failed and which one, so the fix can be tracked. The 864 tells a person, in words. When a partner rejects documents with 864s instead of 824s, you lose the automatic link between the rejection and the document, and have to rebuild it by reading the text. ## How to Make Sure Someone Reads Your 864s The most common 864 failure is not a mapping error. It is a message that was received, acknowledged and never seen. 1. **Route every 864 to a monitored inbox or queue.** Convert the `BMG`, `MIT` and `MSG` content into an email or ticket, with the sender and date. 2. **Route by partner and subject where you can.** An AP rejection from a retailer belongs with your billing team; a routing change belongs with shipping. 3. **Pull references out of the text.** Invoice and PO numbers in `MSG` lines are just text. Matching them to your documents, even with a simple pattern search, turns an 864 into something you can act on. 4. **Keep the original.** Store the raw 864 alongside the converted message, so you can show what the partner actually said. 5. **Answer through the channel the partner asks for.** Many partners do not accept 864s back. Their guide or the message itself says how to respond. Rejections that are never read turn into short-pays and [EDI chargebacks](/edi-chargebacks) weeks later. Pasting a raw 864 into the [EDI inspector](/edi-inspector) lays out the subject, parties and each message as readable text. ## Common 864 Errors and How to Prevent Them | Error | What happens | Prevention | |---|---|---| | **864 acknowledged but never read** | Notice ignored, problem repeats | Route every 864 to a person, not just the archive | | **Delimiter characters inside message text** | Segment split or syntax error on the 997 | Strip or replace `*`, `~` and the component separator before sending | | **Lines longer than 264 characters** | Element too long, syntax rejection | Wrap text into multiple `MSG` segments | | **All topics in one `MIT` loop** | Hard to route or answer | One `MIT` per topic, with a clear subject | | **No sender contact** | Recipient cannot follow up | Include `PER` with a name and number | | **Structured data sent as text** | Receiver cannot process it, against the X12 purpose | Use the proper transaction set (824, 855, 865) when one exists | | **Missing reference to the related document** | Message cannot be matched to the order or invoice | Use `REF` where the partner's guide allows, and name the document in the text | ## 864 Implementation Checklist - Ask each partner whether it sends or accepts 864s, and for what - Get its guide: which heading segments it uses, which `N1` codes, and whether it uses `BMG03` - Decide where inbound 864s go: an inbox, a ticket queue, a named person per partner - Convert `MIT` and `MSG` content into readable text, keeping line breaks - Store the raw transaction with the converted message - If you send 864s, wrap text to the page width and strip delimiter characters - Confirm the 997 handling: an 864 needs a 997 like any other set For the wider set of documents your partners may exchange, see the [EDI document types reference](/edi-document-types) and the [EDI compliance guide](/edi-compliance). ## Fewer Rejections Start With Clean Orders, With OrderSync Many 864s are rejections, and many rejections trace back to order data: a PO number keyed wrong, an item the customer does not recognize, a unit that does not match. Orders arrive as EDI 850s, emails, PDFs and spreadsheets, and each one has to be matched correctly before it turns into an acknowledgment, a shipment and an invoice. OrderSync reads inbound orders in any format, matches customers, items and units to your catalog, and outputs valid X12 or clean data to your ERP. Paste any 864 into the [free EDI inspector](/edi-inspector) to read it as plain text, or [book a 15-minute walkthrough](/book) to see your own orders processed. ## Frequently Asked Questions
### What is an EDI 864 used for? The EDI 864 Text Message carries free-form messages between trading partners over an EDI connection: notices, policy changes, explanations and rejections written in prose. X12 defines it for communication meant for people to read, not for systems to process. ### What segments are in an EDI 864? An 864 opens with BMG, which carries the purpose code and overall subject, plus optional DTM dates and N1 loops for the parties. Each message starts with an MIT segment holding a message number and subject, followed by one or more MSG segments, each holding one line of text. ### What is the difference between EDI 864 and EDI 824? The 824 Application Advice reports that a document was accepted, rejected or had errors, using coded status and error segments a system can process. The 864 carries the same kind of news, or anything else, as plain text for a person. An 824 can be tracked automatically; an 864 has to be read. ### How long can an MSG line be in an EDI 864? MSG01 holds up to 264 characters. MIT03 can set a page width, which defaults to 80 characters, so most senders keep each line within 80 characters and use as many MSG segments as the message needs. ### Do I need to send a 997 for an EDI 864? Usually yes. An 864 is a transaction set like any other, and partners that require 997s expect one for it. The 997 only confirms the 864 arrived and passed syntax checks. It says nothing about whether anyone read it. ### What functional group does the EDI 864 use? The 864 travels in functional group TX in GS01. The X12 release, commonly 004010, is set by each partner's implementation guide. ### Can I reply to an EDI 864? Only if the partner accepts inbound 864s. Many send them one way and expect replies by email, phone or portal. The partner's EDI guide, or the contact in the PER segment of the message, tells you how to respond.
--- # EDI 865 PO Change Acknowledgment/Request: Seller Guide Source: https://ordersync.io/guides/edi/865-purchase-order-change-acknowledgment > How the EDI 865 works: acknowledging a buyer's 860 or proposing a seller-initiated change. BCA, POC and ACK segments, live examples and common errors. The EDI 865 is the Purchase Order Change Acknowledgment/Request, Seller Initiated. A supplier sends it to accept or reject a buyer's 860 change line by line, or to propose its own change to an open order, such as a new ship date or a replacement item. It is the supplier's side of the purchase order change loop. **The EDI 865 is how a supplier answers a change, or starts one.** When a buyer sends an [860 Purchase Order Change](/guides/edi/860-purchase-order-change), the 865 tells it which changes you accept, which you accept with a difference, and which you cannot meet. When nothing came from the buyer but your plan has changed, the same document carries your proposal. Without it, a change is one-sided, and the shipment drifts away from what the buyer expects to receive. This guide covers the two jobs the 865 does, its segments, two live examples (a reply to an 860 and a seller-initiated change), how it compares with the 855, 860 and 870, and the errors that leave buyer and supplier with different versions of the same order. ## What Is an EDI 865? **An EDI 865 is the Purchase Order Change Acknowledgment/Request (Seller Initiated) transaction set defined by the [ASC X12 standards body](https://x12.org/products/transaction-sets). A seller uses it to acknowledge a buyer's change to a purchase order, or to request a change of its own, at header or line level.** It travels in functional group `CA` (the value in `GS01`). Authoritative references for 865 work: - The [X12 transaction set catalog](https://x12.org/products/transaction-sets) lists the 865 alongside the 860 it answers - The published [004010 865 structure](https://www.stedi.com/edi/x12-004010/865) shows the `BCA` header and the `POC` loop, with an `ACK` loop inside each line - The [BCA segment definition](https://www.stedi.com/edi/x12-004010/segment/BCA) and the [POC02 change code list](https://www.stedi.com/edi/x12-004010/element/670) define the elements and codes in this guide - [GS1 US](https://www.gs1us.org/industries-and-insights/standards) governs the UPC and GTIN identifiers on each changed line - Each buyer's 865 guide decides whether it wants an 865 at all, which purpose and acknowledgment codes it accepts, and whether it takes seller-initiated changes **Who sends it?** The supplier (seller). **When is it sent?** In reply to a buyer's 860, within the deadline in the buyer's guide, or on the supplier's own initiative when an open order has to change after the [855](/guides/edi/855-purchase-order-acknowledgment) went out. **Why does it matter?** A change is only reliable when both sides agree to it. An 860 you never answered, or a backorder you only mentioned by email, leaves the buyer planning around an order you are not going to ship. ## The Two Jobs of the 865 **Change acknowledgment.** The buyer sent an 860. You reply with an 865 that references the same PO and change sequence, repeats each changed line in a `POC`, and gives your answer in an `ACK` under it: accepted as changed, accepted with a different quantity or date, or rejected. **Seller-initiated change request.** Nothing came from the buyer, but you need to change the order: a ship date slips, an item is replaced, a quantity is short. You send an 865 with the purpose code for a seller-initiated change and a `POC` per affected line. The buyer accepts or rejects it, often by sending an 860 that confirms the change, or by the method its guide sets out. `BCA01` tells the buyer which job this 865 is doing. ## Interactive Example: Reply to a Buyer's 860 Retailer Harbor Home sent an 860 against purchase order `4500087321`, increasing line 2 from 6 rugs to 10 and adding a line 4 of 18 wool throws (the first example in the [860 guide](/guides/edi/860-purchase-order-change)). Supplier Cedarline replies: - `BCA01` = `06` (confirmation) and `BCA02` = `AC` (acknowledged with detail and change), because one line is not accepted exactly as requested. `BCA05` repeats the buyer's change sequence `1`, and `BCA06` the PO date. - Line 2 echoes the buyer's `POC` (`QI`, 6 to 10) and its `ACK` accepts all 10 (`IA`) to ship November 3. - Line 4 echoes the added line (`AI`, 18 throws) and its `ACK` accepts only 12 (`IQ`, quantity changed) to ship November 10. ## Interactive Example: Seller-Initiated Change On purchase order `4500087412`, Cedarline needs to change two lines before anything ships. `BCA01` is `19` (seller initiated change) and `BCA02` is left out, because there is nothing from the buyer to acknowledge. - Line 1's ship date moves to December 1 (`POC02` = `RS`, reschedule, with `DTM*068` current scheduled ship date in the line's loop). - Line 2 offers a replacement item (`RE`): the white ceramic vase in place of the one ordered, at the same price, with the reason in `PID`. Some buyers require `BCA02` on every 865, or a particular purpose code for seller-initiated changes. Check its guide before you send the first one. ## 865 Structure at a Glance | Position | Segment | Name | Usage | Notes | |---|---|---|---|---| | Header | **ST** | Transaction Set Header | Mandatory | `ST01` = `865` | | Header | **BCA** | Beginning Segment for Purchase Order Change Acknowledgment | Mandatory | Purpose, acknowledgment type, PO number, change sequence, date | | Header | **REF** | Reference Identification | Optional | Department, vendor and order references | | Header | **DTM** | Date/Time Reference | Optional | Header-level dates | | Header | **N1 loop** | Name (with N3, N4) | Optional | Buyer, supplier, ship-to | | Detail | **POC** | Line Item Change | Mandatory in the POC loop | One per line: change code, quantities, price, item IDs | | Detail | **PID** | Product/Item Description | Optional | Description, or the reason for a replacement | | Detail | **DTM** | Date/Time Reference | Optional | New dates for the line | | Detail | **ACK** | Line Item Acknowledgment | Optional | Your answer to the line: status, quantity, qualified date. Repeats | | Detail | **SCH** | Line Item Schedule | Optional | A revised delivery schedule | | Summary | **CTT** | Transaction Totals | Optional | Number of `POC` lines | | Summary | **SE** | Transaction Set Trailer | Mandatory | Segment count and control number | ## Key Segments Explained ### BCA: Beginning Segment for Purchase Order Change Acknowledgment ``` BCA*06*AC*4500087321**1*20261020~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **BCA01** | Transaction Set Purpose Code | `06` | Why this 865 exists. Common values: `06` confirmation, `04` change, `00` original, `19` seller initiated change. Buyers' guides differ | | **BCA02** | Acknowledgment Type | `AC` | `AC` with detail and change, `AD` with detail and no change, `AK` no detail, `RD` or `RJ` rejected. Optional in the standard | | **BCA03** | Purchase Order Number | `4500087321` | The PO being changed. Must match the 850 and 860 | | **BCA04** | Release Number | | For releases against a blanket order | | **BCA05** | Change Order Sequence Number | `1` | The 860's `BCH05`, so the buyer knows which change you are answering | | **BCA06** | Date | `20261020` | Mandatory. Usually the PO date | | **BCA07 to BCA09** | Request reference, contract number, reference ID | | Rarely used | | **BCA10 to BCA12** | Date | | Further dates as the buyer's guide defines them | | **BCA13** | Purchase Order Type Code | | From the original 850 | ### POC: Line Item Change ``` POC*4*AI*0*18*EA*14.50**UP*085519001236*VN*CL-THROW-WOL~ ``` The `POC` layout is the same as in the 860: `POC01` the PO line number, `POC02` the change code, `POC03` and `POC04` the quantities, `POC05` the unit, `POC06` the price, and product ID pairs from `POC08`. When answering an 860, echo the buyer's `POC` for each line; when proposing your own change, use the code that describes it. The codes you will use most: | Code | Meaning | Typical 865 use | |---|---|---| | **QI / QD** | Quantity increase / decrease | Echoing the buyer's change, or proposing a new quantity | | **AI** | Add item | Echoing a line the buyer added | | **DI** | Delete item | Echoing a deletion, or proposing to drop a line you cannot supply | | **PC** | Price change | Echoing a price change, or proposing one | | **CT / RS** | Change of dates / reschedule | A new ship or delivery date | | **RE** | Replacement item | Offering a substitute | | **RC** | Reject item change | Refusing the change the buyer requested on this line | | **NC** | Concurrent item (no change) | Unchanged line, where the buyer wants the whole order restated | ### ACK: Line Item Acknowledgment ``` ACK*IQ*12*EA*068*20261110~ ``` Inside the `POC` loop, `ACK` works exactly as on the [855](/guides/edi/855-purchase-order-acknowledgment): `ACK01` the line status (`IA` accepted, `IQ` quantity changed, `IP` price changed, `DR` date rescheduled, `IB` backordered, `IR` rejected and others), `ACK02` and `ACK03` the quantity and unit, `ACK04` a date qualifier such as `068` current schedule ship, and `ACK05` the date. The loop repeats, so a line can be part accepted and part backordered. Whether a buyer expects a rejection as `POC02` = `RC`, as `ACK01` = `IR`, or both, is a guide-level choice. Map exactly what it asks for. ## EDI 865 vs 855, 860 and 870 | Document | Sent by | Answers | |---|---|---| | **[855 PO Acknowledgment](/guides/edi/855-purchase-order-acknowledgment)** | Supplier | The original 850: what will ship | | **[860 PO Change Request](/guides/edi/860-purchase-order-change)** | Buyer | Nothing. It asks for a change | | **865 PO Change Acknowledgment/Request** | Supplier | A buyer's 860, or proposes the supplier's own change | | **[870 Order Status Report](/guides/edi/870-order-status-report)** | Supplier | Where the order stands, often in reply to an [869](/guides/edi/869-order-status-inquiry) | | **[EDIFACT ORDRSP](/guides/edi/edifact-ordrsp)** | Supplier | The EDIFACT response to both ORDERS and ORDCHG | The 870 reports; the 865 asks for agreement. If a line is simply running late, the buyer may only want an 870. If you need the buyer to accept a different item, quantity or price, that is an 865. ## Where the 865 Sits in the Change Loop 1. **[850 Purchase Order](/guides/edi/850-purchase-order)**: buyer places the order. 2. **[855 PO Acknowledgment](/guides/edi/855-purchase-order-acknowledgment)**: supplier confirms what will ship. 3. **[860 PO Change](/guides/edi/860-purchase-order-change)**: buyer changes the order. 4. **865**: supplier accepts or rejects the change, or proposes its own. 5. **[856 Ship Notice/ASN](/guides/edi/856-ship-notice)**: supplier ships against the order as agreed. 6. **[810 Invoice](/guides/edi/810-invoice)**: billed at the agreed quantities and prices. The 855 answers the order once. The 865 answers every change after that. ## Common 865 Errors and How to Prevent Them | Error | What happens | Prevention | |---|---|---| | **Change sequence missing or wrong** | Buyer cannot tell which 860 you are answering | Copy the 860's `BCH05` into `BCA05` | | **Lines not echoed as sent** | Buyer cannot match your answer to its change | Echo `POC01`, the change code and the item IDs from the 860 | | **Header says no change, lines show changes** | Contradiction; stricter buyers reject it | Derive `BCA02` from the line-level `ACK` codes | | **Date placed in `ACK04`** | Date lost or rejected | `ACK04` is the qualifier; the date goes in `ACK05` | | **Seller-initiated change sent to a buyer that does not accept them** | Ignored, and the buyer still expects the original order | Confirm in the buyer's guide; otherwise agree the change by phone or email and let the buyer send the 860 | | **Wrong functional group** | Rejected at the envelope | `GS01` is `CA` for an 865 | | **ASN built from the original order** | Receipt disagrees with the agreed change | Ship and invoice from the order as changed | Paste any 865 into the [EDI inspector](/edi-inspector) to see each line's change and answer decoded, or diff it against the 860 with [Compare EDI documents](/tools/compare-edi). ## 865 Implementation Checklist - Ask each buyer whether it requires an 865 after an 860, and by when - List the `BCA01`, `BCA02`, `POC02` and `ACK01` codes it accepts - Confirm whether it accepts seller-initiated 865s, and how it answers them - Confirm whether it wants every line restated or only the changed lines - Map `POC` from the 860 as an echo, and generate `ACK` from your actual decision - Decide who in your business approves a change you cannot fully meet - Test acceptance, partial acceptance, rejection and a seller-initiated change ## Handling Changes Cleanly With OrderSync Change handling is where small suppliers lose track: an 860 lands in an [EDI mailbox](/blog/edi-van-explained), a revised PDF arrives by email, and someone has to work out which open order each one touches before the warehouse picks it. OrderSync reads inbound orders in any format, EDI 850s and 875s alongside PDFs, emails and spreadsheets, matches customers, items and units to your catalog, and outputs valid X12 or ERP data. See how it handles [B2B order management](/order-management-systems), paste any 865 or 860 into the [free EDI inspector](/edi-inspector), or [book a 15-minute walkthrough](/book) to see your own orders processed. ## Frequently Asked Questions
### What is an EDI 865 used for? A supplier uses the EDI 865 to acknowledge a buyer's 860 purchase order change, line by line, or to propose a change of its own to an open order, such as a new ship date, a different quantity or a replacement item. It keeps both sides working from the same version of the order. ### What is the difference between an EDI 860 and an EDI 865? The 860 is buyer initiated: the buyer asks to change or cancel a purchase order. The 865 is the supplier's answer to that request, and can also carry a supplier-initiated change. The 860 asks; the 865 answers or proposes. ### What is the difference between an EDI 855 and an EDI 865? The 855 acknowledges the original 850 purchase order. The 865 acknowledges a change to that order, or proposes one. A supplier sends one 855 per order, then an 865 for each change that needs an answer. ### What does BCA01 19 mean? Purpose code 19 means seller initiated change. It tells the buyer the 865 is a proposal from the supplier, not a reply to an 860. Other common BCA01 values are 06 confirmation, 04 change and 00 original, depending on the buyer's guide. ### Is an EDI 865 required? It depends on the buyer. Some require an 865 for every 860 so both sides confirm the changed order before it ships. Others treat the change as agreed once the 997 comes back. The buyer's EDI guide says which. ### How do I reject a change on an 865? Echo the buyer's POC for the line and give your answer in the ACK segment, for example IR for rejected, or use POC02 RC (reject item change), depending on what the buyer's guide asks for. Set BCA02 to show the acknowledgment includes changes.
--- # EDI 866 Production Sequence Guide Source: https://ordersync.io/guides/edi/866-production-sequence > EDI 866 Production Sequence explained: just-in-sequence delivery, BSS, DTM, LIN and QTY segments, a live truck-plant example, and how it fits with the 862. The EDI 866 Production Sequence is the X12 transaction a manufacturer, usually a vehicle assembly plant, sends a supplier to give the exact order in which parts must arrive or be unloaded for the line. It drives just-in-sequence delivery: each part is tied to a sequence number and often a specific vehicle or chassis. **The EDI 866 tells a supplier not just what to deliver, but in what order.** On a mixed-model assembly line, a truck with air-ride seats in grey may be followed by one with standard seats in black. The seat supplier has to load its trailer so the seats come off in that build order. The 866 is the list that sets the order, delivery window by delivery window. This guide covers what the 866 carries, how just-in-sequence differs from just-in-time, where the 866 sits next to the 830 and 862, every segment in a typical sequence, a live example from a truck plant, and the errors that stop a line. ## What Is an EDI 866? **An EDI 866 is the Production Sequence transaction set defined by [ASC X12](https://x12.org/products/transaction-sets). The standard describes it as a way for the receiver of goods to request the order in which shipments arrive at one or more locations, the order in which goods are unloaded from the conveyance, or both, so the goods enter material handling or production in that sequence.** It travels in functional group `SQ` (the `GS01` value). The same standard text adds two limits: the 866 is not used to authorize labor, materials or other resources, and not used to change product specifications. Authorization comes from the planning and shipping schedules; the 866 only sets the order. Authoritative references for 866 work: - The [X12 transaction set catalog](https://x12.org/products/transaction-sets) defines the 866 alongside the 830 and 862 schedules - The [Stedi X12 004010 reference for the 866](https://www.stedi.com/edi/x12-004010/866) shows the segment order: a `BSS` header, `N1` parties, and repeating `DTM` and `LIN` loops - OEMs publish their own 866 guides. The [Volvo Group 866 implementation guide](https://www.edi.volvogroup.com/content/dam/volvo-group/markets/edi/specifications-and-guidelines/jit-jis/ts866vm.pdf) (004010, used for Mack and Volvo trucks) is a public example, and the qualifier choices below follow its pattern - In UN/EDIFACT, sequenced call-offs are usually sent with DELJIT, from the [UN/EDIFACT directory](https://unece.org/trade/uncefact/unedifact) **Who sends it?** The manufacturer's plant, usually an automotive or truck assembly plant. **Who receives it?** A supplier delivering sequenced parts to the line: seats, cockpit modules, fuel tanks, tires and wheels, bumpers and similar large or high-variant parts. Some suppliers run a sequencing center close to the plant for this. **When is it sent?** Close to production, once the build order is fixed. The Volvo guide describes daily transmissions by plant and build date; other plants send updates far more often. **Why does it matter?** In sequenced supply there is little or no line-side stock to fall back on. A part delivered in the wrong position can stop the line or end up on the wrong vehicle. ## JIT vs JIS **Just-in-time (JIT) controls quantity and timing. Just-in-sequence (JIS) adds order.** | Model | What it controls | Example | |---|---|---| | **JIT** (just-in-time) | Quantity and timing, so parts arrive as needed without excess stock | 200 brake calipers delivered for the morning shift | | **JIS** (just-in-sequence) | Quantity, timing and the exact order of each part | Seat sets delivered in the same order the cabs reach the line | With JIS, sorting moves from the plant floor to the supplier. Parts come off the trailer already in build order and go straight to the station. The 866 carries the order that makes that possible. ## Where the 866 Fits With the 830 and 862 Automotive suppliers typically receive a cascade of schedules, each closer to production than the last: 1. **[830 Planning Schedule](/guides/edi/830-planning-schedule).** The longer-range forecast for capacity and material planning. 2. **[862 Shipping Schedule](/guides/edi/862-shipping-schedule).** Short-term, firm shipping requirements. 3. **866 Production Sequence.** The order in which those parts must arrive or be unloaded. After shipping, the supplier sends an [856 ship notice](/guides/edi/856-ship-notice). Our post on [EDI 830 vs 862](/blog/edi-830-vs-862) explains how the two schedules divide forecast and firm demand, and which document authorizes what. Some plants also send sequence detail in other ways, so the 866 is not used by every OEM or for every part. ## Interactive Example: Driver Seats for Five Trucks A truck assembly plant sends its seat supplier the sequence for 6 November 2026. `BSS` carries the schedule number, the issue date, schedule type `JS` (Buyer Production Sequence Schedule), the horizon and a release number. Two `N1` segments name the plant (`ST`) and the supplier (`SF`). Each `DTM*002` opens a delivery window: 06:00 and 08:00. Under each window, one `LIN` per seat gives the load sequence number (`LS`), the job sequence number (`JS`), the chassis serial number (`CF`), the buyer's part number (`BP`) and the position (`PS`), and `QTY` gives one each. `CTT` reports 2 windows and 5 units. All names, numbers and parts are fictional. Use the **Plain English** tab for a readable summary, or click any segment to break it down element by element. Read the sequence top to bottom. The supplier loads so that seat `0001` comes off first, then `0002`, and so on, and each seat's label carries the chassis number it is built for. ## 866 Structure at a Glance | Position | Segment | Name | Usage | Notes | |---|---|---|---|---| | Header | **ST** | Transaction Set Header | Mandatory | `ST01` = `866` | | Header | **BSS** | Beginning Segment for Shipping Schedule/Production Sequence | Mandatory | Purpose, schedule number, dates, schedule type, release or reference | | Header | **UIT** | Unit Detail | Optional | Default unit of measure | | Header loop | **N1** / N2 / N3 / N4 / REF / PER / FOB | Parties | Mandatory, repeats | Plant, supplier and other locations | | Detail loop (DTM) | **DTM** | Date/Time Reference | Mandatory per loop, up to 100 loops | Opens a delivery or sequence window | | Detail loop | **UIT** / **QTY** / **REF** | Window-level detail | Optional | Quantity or references for the window | | Item loop (LIN) | **LIN** | Item Identification | Mandatory per item | Sequence numbers, vehicle ID, part number | | Item loop | **REF** / **QTY** / **PID** / **OQS** | References, quantity, description, order sequence | Optional | Detail for the sequenced part | | Nested loops | **SLN**, **PID** / MEA | Sub-lines, descriptions and measurements | Optional | Used by some OEMs for build detail | | Summary | **CTT** | Transaction Totals | Mandatory | Counts and hash total, as the guide defines | | Summary | **SE** | Transaction Set Trailer | Mandatory | Segment count and control number | The 866 has no prices. It is not an order and not an invoice; the commercial terms sit on the contract, the schedule agreement and the [810](/guides/edi/810-invoice) or [self-billing](/blog/self-billing-ers-explained) flow. ## Key Segments Explained ### BSS: Beginning Segment ``` BSS*00*SEQ-261106-A*20261105*JS*20261106*20261106*R26110601~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **BSS01** | Transaction Set Purpose Code | `00` | `00` original, `05` replace. Some OEMs send every 866 as `05`, replacing the previous sequence | | **BSS02** | Reference Identification | `SEQ-261106-A` | The schedule's document number | | **BSS03** | Date | `20261105` | Date the schedule was issued | | **BSS04** | Schedule Type Qualifier | `JS` | `JS` Buyer Production Sequence Schedule. Other codes in the list include `DL` delivery based and `SH` shipment based | | **BSS05** | Date | `20261106` | Horizon start | | **BSS06** | Date | `20261106` | Horizon end | | **BSS07** | Release Number | `R26110601` | A release against a purchase order or schedule agreement | | **BSS08** | Reference Identification | | A forecast number assigned by the buyer | X12 syntax requires at least one of `BSS07` or `BSS08`. Published OEM guides do not always follow that rule, so test your translator against the plant's real files, not only the standard. ### N1: Plant and Supplier ``` N1*ST*NORTHRIDGE TRUCK ASSEMBLY PLANT 2*92*PLT02~ N1*SF*KESTREL SEATING SYSTEMS*92*S48210~ ``` `ST` is the plant receiving the parts and `SF` the supplier shipping them, each with the code the OEM assigned (`N103` = `92`). Suppliers that serve several plants or lines route each 866 by the `ST` code, so map it to the right dock and sequencing operation. ### DTM: Delivery Window ``` DTM*002*20261106*0600~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **DTM01** | Date/Time Qualifier | `002` | `002` Delivery Requested | | **DTM02** | Date | `20261106` | The delivery date | | **DTM03** | Time | `0600` | The delivery time, when the OEM sends one | Each `DTM` starts a loop, and every `LIN` that follows belongs to it until the next `DTM`. In the Volvo guide a new `DTM` appears for each change of date in line-sequence order; plants with several deliveries a day may also use the time. ### LIN: Sequenced Part ``` LIN**LS*0001*JS*B261106001*CF*481207*BP*SEAT-DRV-AIR-GRY*PS*DRIVER SIDE~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **LIN01** | Assigned Identification | | Often left empty on the 866 | | **LIN02** / **LIN03** | Qualifier, ID | `LS`, `0001` | Load sequence number: the position in the delivery | | **LIN04** / **LIN05** | Qualifier, ID | `JS`, `B261106001` | Job sequence number from the plant's build schedule | | **LIN06** / **LIN07** | Qualifier, ID | `CF`, `481207` | Chassis serial number of the vehicle the part is for | | **LIN08** / **LIN09** | Qualifier, ID | `BP`, `SEAT-DRV-AIR-GRY` | Buyer's part number | | **LIN10** / **LIN11** | Qualifier, ID | `PS`, `DRIVER SIDE` | Position on the vehicle | `LIN` is a list of qualifier and value pairs, and each OEM chooses which pairs to send and in what order. The Volvo guide, for example, sends load sequence, job sequence, chassis number, a rotation or service order number, assembly point, buyer's part number, purchase order, color and position. Map by qualifier, not by position: if you read `LIN07` as the chassis number and the plant adds a pair, every seat gets the wrong label. A vehicle identification number (VIN) is another common way to tie a part to a vehicle. Which qualifier carries it, and whether it appears in `LIN` or in a `REF`, is set by the OEM's guide. ### QTY: Quantity ``` QTY*01*1*EA~ ``` `QTY01` = `01` (Discrete Quantity), `QTY02` is the number of parts and `QTY03` the unit. In sequenced supply this is usually one part, or one set, per vehicle. ### CTT: Totals ``` CTT*2*5~ ``` `CTT01` is a count and `CTT02` a hash total. What `CTT01` counts is set by the guide: in the Volvo guide it is the number of `DTM` segments and `CTT02` the sum of the `QTY02` values, which is the convention this example follows. ## EDI 866 vs 862, 830 and 856 | Document | Sent by | Sent to | Purpose | |---|---|---|---| | **[830 Planning Schedule](/guides/edi/830-planning-schedule)** | Manufacturer | Supplier | Forecast for capacity and material planning | | **[862 Shipping Schedule](/guides/edi/862-shipping-schedule)** | Manufacturer | Supplier | Firm short-term shipping requirements | | **866 Production Sequence** | Manufacturer | Supplier | The order in which parts arrive or are unloaded | | **[856 Ship Notice](/guides/edi/856-ship-notice)** | Supplier | Manufacturer | What shipped, how it is packed and labeled | The 862 answers "how many, and when?" The 866 answers "in which order?" The 856 confirms what left the dock. ## Common 866 Errors and How to Prevent Them | Error | What happens | Prevention | |---|---|---| | **`LIN` mapped by position** | Parts labeled with the wrong vehicle or part number | Map each `LIN` pair by its qualifier | | **Replacement not applied** | Supplier builds to an old sequence | Treat `BSS01` = `05` as replacing the previous schedule for that plant and horizon | | **Sequence sorted by part number** | Trailer loaded out of build order | Keep file order and the `LS` and `JS` numbers through picking and loading | | **Late processing** | Sequence arrives but is not acted on before the window | Process 866s automatically on arrival and alert on any gap | | **Wrong plant or line** | Parts go to the wrong dock | Route by the `N1*ST` code | | **`CTT` checked the wrong way** | Valid files rejected, or bad files accepted | Implement `CTT` exactly as the OEM's guide defines it | | **Gaps or duplicates in sequence numbers** | A vehicle has no part, or two | Check each window for missing and repeated sequence numbers before loading | ## 866 Implementation Checklist - Get the OEM's 866 guide for each plant, and confirm X12 release (usually 004010) and `GS01` = `SQ` - List the `LIN` qualifiers the plant sends and map each one by qualifier - Confirm whether each 866 replaces the last, and over what horizon - Confirm what `DTM` marks (date only, or date and time) and how often files arrive - Confirm what `CTT01` and `CTT02` count - Tie the sequence to your 862 quantities and your 856 labels and ASN - Return a 997 for every 866 group, and alert when a file is late or missing - Test a normal day, a replacement, a skipped sequence number and a plant change If you supply the automotive industry, our page on [EDI for automotive parts](/edi-for/automotive-parts) covers the wider document set. ## Where OrderSync Fits Sequenced schedules are usually only part of a supplier's order book. Spare parts, aftermarket and non-automotive customers still send purchase orders as EDI 850s, PDFs, emails and spreadsheets. OrderSync reads those orders in any format, matches customers, items and units to your catalog, and outputs valid X12 or ERP data. Paste any 866 into the [free EDI inspector](/edi-inspector) to see it parsed segment by segment with a plain-English summary. Read about [ERP integration](/erp-integration), or [book a 15-minute walkthrough](/book) to see your own orders processed. ## Frequently Asked Questions
### What is an EDI 866? The EDI 866 Production Sequence is an X12 transaction a manufacturer sends a supplier to set the order in which parts arrive or are unloaded for production. It is used mainly in automotive and truck assembly for just-in-sequence delivery, and travels in functional group SQ. ### What is the difference between an EDI 866 and an EDI 862? The 862 Shipping Schedule gives firm quantities and dates to ship. The 866 Production Sequence gives the order in which those parts must arrive, often tied to individual vehicles. The 862 answers how many and when; the 866 answers in which order. ### What is just-in-sequence (JIS) delivery? Just-in-sequence is a delivery model where parts arrive already sorted into the build order of the vehicles they are for. It goes beyond just-in-time, which controls quantity and timing but not order. The EDI 866 carries the sequence. ### What segments does an EDI 866 use? A BSS header, N1 parties, and repeating DTM loops, each holding LIN loops for the sequenced parts with optional REF, QTY and PID, then a CTT summary. The LIN segment carries the sequence numbers, vehicle or chassis reference and part number as qualifier and value pairs. ### Where does the sequence number go in an 866? Usually in the LIN segment, as a qualifier and value pair. In the Volvo Group guide, for example, LS carries the load sequence number and JS the job sequence number. Each OEM's guide sets the qualifiers it uses. ### Does the EDI 866 authorize shipment or payment? No. The X12 standard says the 866 is not used to authorize labor, materials or other resources. Authorization comes from the planning and shipping schedules and the supply agreement; the 866 only sets the order. ### Which industries use the EDI 866? Mainly automotive and heavy truck manufacturing, where mixed-model assembly lines need high-variant parts such as seats, cockpits and tires delivered in build order. It is rare outside those supply chains. ### Is the EDI 866 the same as EDIFACT DELJIT? They cover similar ground. The 866 is the X12 production sequence. In EDIFACT, OEMs usually send sequenced call-offs with DELJIT, the delivery just-in-time message. Structures and usage differ by OEM.
--- # EDI 867 Product Transfer and Resale Report Guide Source: https://ordersync.io/guides/edi/867-product-transfer-and-resale-report > EDI 867 explained: how distributors report sales and transfers to manufacturers for tracing and chargeback validation, the BPT, PTD, QTY and CTT segments, 867 vs 852, and an example. The EDI 867 Product Transfer and Resale Report is the X12 transaction a distributor or other reseller uses to report what it sold or transferred, to whom, and when. Manufacturers use it to trace product to end customers, validate contract chargebacks and pay distributor fees. Unlike the retail 852, it reports individual sales to named customers. **The EDI 867 tells a manufacturer where its product went after it left the distributor's warehouse.** A manufacturer that sells through distributors does not see the end customer on its own invoices. The 867 fills that gap: the distributor reports each sale or transfer of the manufacturer's products, with the customer, the quantity, the price and the invoice. Manufacturers use it for sales tracing, for checking chargeback claims, for paying fee-for-service and rebate programs, and for knowing what is actually selling. This guide covers what the 867 reports, how it relates to the contract chargeback cycle, its segments, a live example, and the difference between the 867 and the 852. ## What Is an EDI 867? **An EDI 867 is the Product Transfer and Resale Report transaction set defined by the [ASC X12 standards body](https://x12.org/products/transaction-sets). X12 defines three uses: reporting product transferred from one location to another, reporting sales of product from one or more locations to an end customer, and reporting sales plus demand beyond actual sales (lost orders).** The standard says the report may be issued by either buyer or seller. References for 867 work: - The [X12 004010 867 structure on Stedi](https://www.stedi.com/edi/x12-004010/867) lists the BPT header, the PTD detail loop and its nested N1, SII, QTY and LX loops - The [Healthcare Distribution Alliance (HDA)](https://www.hda.org/publications/edi-guidelines-for-867-product-transfer-resale-report,-to-support-distributor-svce-agreemnts-%28elec/) publishes an 867 guideline for pharmaceutical distributor service agreements - [AmerisourceBergen's 867 specification](https://amerisourcebergen.com/-/media/assets/amerisourcebergen/867-product-transfer-and-resale-report-v5.pdf) is a public example of a wholesaler's sales report to manufacturers, detailed by customer **Who sends it?** In distribution, the distributor or wholesaler, sending to each manufacturer whose products it sells. **Who receives it?** The manufacturer, or a data service that processes sales tracing on its behalf. **When is it sent?** On a schedule agreed between the parties, commonly daily, weekly or monthly. Each report covers a stated period. **Why does it matter?** Manufacturers that pay for distribution services, run contract pricing or pay rebates need to know who bought their product. If the distributor's 867 is late, incomplete or does not match its 844 claims, payments are delayed or disputed. The 867 is also used well outside distribution. US energy markets use it to report meter usage between utilities and retail suppliers, and the Department of Defense uses it for issue reporting. Those implementations share the transaction set number and nothing else, so make sure any guide you read is for your industry. ## How the 867 Fits the Contract Chargeback Cycle The 867 is not a claim and asks for nothing. It sits beside the chargeback documents: 1. The manufacturer publishes contract pricing on an [845](/guides/edi/845-price-authorization-acknowledgment). 2. The distributor sells to customers, some at contract prices and some at its own prices. 3. The distributor claims chargebacks on contract sales with an [844](/guides/edi/844-product-transfer-account-adjustment). 4. The manufacturer responds with an [849](/guides/edi/849-response-to-product-transfer-account-adjustment). 5. **The distributor reports all sales on an 867**, contract and non-contract alike. The 867 gives the manufacturer an independent view of the same sales. A contract sale on the 844 should appear on the 867 with the same customer, item, quantity and invoice. A customer buying the product who is not on any contract shows up too, which tells the manufacturer's sales team where its product is going without a contract behind it. ## Where the 867 Is Used - **Pharmaceutical and medical supply distribution.** Wholesalers report sales by customer to manufacturers, supporting distributor service agreements, chargeback validation and tracing. - **Electronic components.** Distributors send point-of-sale (POS) or resale reports so manufacturers can credit their sales teams and reconcile ship and debit claims. - **Technology distribution.** Distributors and vendors exchange point-of-sale reports on the 867 so manufacturers can see which resellers bought their products. - **Industrial, electrical and foodservice.** Manufacturers that pay rebates or run contract programs through distributors ask for resale data to validate them, by 867 where both sides support it. - **Inventory transfers.** The standard also covers reporting product moved between locations, for example between a supplier's consigned stock and a customer's sites. ## Interactive Example: Monthly Resale Report (867) Lakeshore Medical Supply reports November 2026 sales of Cedar Ridge Medical products. Two customers bought product: | Customer | Item | Qty | Price paid | Basis | Invoice | |---|---|---|---|---|---| | Riverbend Community Health | Nitrile exam gloves | 40 cases | $71.25 | Contract | LMS-INV-7781203 | | Riverbend Community Health | Foley catheter kit | 12 cases | $165.00 | Resale | LMS-INV-7781203 | | Riverbend Community Health | Foam dressing 4x4 | 25 boxes | $52.00 | Contract | LMS-INV-7781266 | | Maple Grove Surgery Center | Nitrile exam gloves | 10 cases | $98.50 | Resale | LMS-INV-7781310 | The Riverbend sales carry contract `CRM-GPO-2026-118`, the same contract as the [845](/guides/edi/845-price-authorization-acknowledgment), [844](/guides/edi/844-product-transfer-account-adjustment) and [849](/guides/edi/849-response-to-product-transfer-account-adjustment) examples. The 867 shows what the 844 got wrong: the catheter kit was sold to Riverbend at the distributor's own resale price, not a contract price, so the chargeback claimed on it was never valid. Maple Grove has no contract, so its sale appears here and nowhere in the chargeback documents. ## 867 Structure at a Glance | Area | Segment | Name | Usage | Notes | |---|---|---|---|---| | Header | **ST** | Transaction Set Header | Mandatory | `ST01` = `867` | | Header | **BPT** | Beginning Segment for Product Transfer and Resale | Mandatory | Purpose, report number, date, report type | | Header | **CUR**, **DTM**, **REF**, **PER**, **MEA**, **PSA** | Currency, dates, references, contact, measurements | Optional | `DTM` carries the reporting period | | Header N1 loop | **N1** to **PER** | Name | Optional, up to 5 | Distributor and manufacturer | | Header LM loop | **LM**, **LQ** | Code source and industry codes | Optional | | | Detail PTD loop | **PTD** | Product Transfer and Resale Detail | Mandatory, repeats | One per transfer type and customer grouping | | PTD loop | **DTM**, **REF**, **PRF**, **PER**, **MAN** | Dates, references, PO, contact, marks | Optional | `REF` can carry the contract number | | PTD N1 loop | **N1**, **N2**, **N3**, **N4**, **REF**, **PER** | The customer or location | Optional, up to 5 | | | PTD N1 SII loop | **SII**, **N9** | Sales item and invoice reference | Optional | Compact one-segment sale lines, used by many pharma guides | | PTD QTY loop | **QTY** | Quantity | Optional, repeats | Starts each item line in the standard form | | QTY loop | **LIN**, **PO3**, **PO4**, **UIT**, **AMT**, **ITA**, **PID**, **MEA**, **PWK**, **PKG**, **REF**, **PER**, **DTM**, **CUR**, **DD**, **LDT** | Item, prices, amounts, references, dates | Optional | | | QTY LX loop | **LX**, **REF**, **DTM**, **N1** | Assigned number | Optional | Per-transaction detail where needed | | PTD FA1 loop | **FA1**, **FA2** | Accounting data | Optional | Mostly government use | | Summary CTT loop | **CTT**, **AMT**, **ITA** | Totals | Optional | | | Summary | **SE** | Transaction Set Trailer | Mandatory | Segment count and control number | The 867 sits in functional group **PT** (`GS01`). ### Two Ways to Send a Sale Like the 844, the 867 offers a compact and a detailed line format. The compact form puts each sale in one `SII` segment (item, quantity, unit, price and extended amount) with an `N9` for the invoice, nested under the customer's `N1`. The detailed form starts each line with `QTY`, followed by `LIN`, `UIT`, `REF` and `DTM`. The example uses the detailed form. Your partner's guide chooses, and some pharma guides that use the `SII` form report a line count of zero in `CTT01` because they send no `LIN` segments. ## Key Segments Explained ### BPT: Beginning Segment ``` BPT*00*LMS-867-202611*20261203*SS~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **BPT01** | Transaction Set Purpose Code | `00` | `00` = original | | **BPT02** | Reference Identification | `LMS-867-202611` | The report number | | **BPT03** | Date | `20261203` | The report date | | **BPT04** | Report Type Code | `SS` | `SS` = seller sales report. Other report types exist for other uses | | **BPT05** to **BPT06** | Price Multiplier Qualifier, Multiplier | | Optional, used together | | **BPT07** | Action Code | | Optional | | **BPT08** | Time | | Optional | | **BPT09** | Reference Identification | | A previous report number, for replacements | ### DTM: Reporting Period ``` DTM*090*20261101~ DTM*091*20261130~ ``` `090` (report start) and `091` (report end) bound the period the report covers. Every sale in the report should have an invoice date inside it. ### PTD: Product Transfer and Resale Detail ``` PTD*SS~ REF*CT*CRM-GPO-2026-118~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **PTD01** | Product Transfer Type Code | `SS` | `SS` = stock sale. Other X12 codes include `DS` (drop ship sale), `SD` (ship and debit sale), `CS` (contract sale), `BN` (return), `RV` (return to vendor) and `IB` (interbranch) | | **PTD02** / **PTD03** | Price Multiplier Qualifier, Multiplier | | Optional pair | | **PTD04** / **PTD05** | Reference Identification Qualifier, Reference | | Optional reference pair, such as an invoice number | | **PTD06** | Product Transfer Movement Type Code | | Optional | Each `PTD` starts a new group. A common pattern is one `PTD` per customer, with the customer's `N1` loop and its item lines inside. The `REF` in the `PTD` loop can carry the contract number that applies to the group, as the example does with `REF01` = `CT`. ### N1, N3, N4: The Customer ``` N1*ST*RIVERBEND COMMUNITY HEALTH*ZZ*RCH-0001~ N3*400 HOSPITAL DRIVE~ N4*SPRINGFIELD*OH*45501~ ``` `N1*ST` (ship-to) identifies the customer that bought the product. Use the same identifier the 844 uses for the same customer. If the manufacturer cannot match the customer on the 867 to the customer on the chargeback, the 867 cannot do its job as a cross-check. ### QTY, LIN, UIT, REF and DTM: The Sale ``` QTY*32*40*CA~ LIN**VP*CRM-GLV-N200~ UIT*CA*71.25*CT~ REF*DI*LMS-INV-7781203~ DTM*003*20261103~ ``` | Segment | Key elements | Example | What it means | |---|---|---|---| | **QTY** | QTY01 qualifier, QTY02 quantity, QTY03 unit | `32`, `40`, `CA` | `32` = quantity sold. Returns use the return qualifier the guide names | | **LIN** | LIN02 qualifier, LIN03 ID | `VP`, `CRM-GLV-N200` | The item, using the identifier the manufacturer recognizes | | **UIT** | UIT01 unit, UIT02 price, UIT03 basis | `CA`, `71.25`, `CT` | The price the customer paid. `CT` = contract price, `RS` = resale price | | **REF** | REF01 `DI`, REF02 invoice | `LMS-INV-7781203` | The distributor's invoice to the customer | | **DTM** | DTM01 `003`, DTM02 date | `20261103` | The invoice date | ### CTT and AMT: Totals ``` CTT*4*87~ AMT*TT*7115.00~ ``` `CTT01` is the number of `LIN` segments (4 item lines), and `CTT02` the hash total of the `QTY02` quantities (40 + 12 + 25 + 10 = 87). `AMT01` = `TT` (total transaction amount) carries the value of all reported sales: $2,850.00 + $1,980.00 + $1,300.00 + $985.00 = $7,115.00. The receiver recomputes these, so build them from the lines. ## EDI 867 vs 852 The 852 and the 867 are both "what sold" reports, which is why they are often confused. They come from different parts of the supply chain and answer different questions. | | 867 Product Transfer and Resale Report | [852 Product Activity Data](/guides/edi/852-product-activity-data) | |---|---|---| | **Typical sender** | Distributor or reseller | Retailer | | **Typical receiver** | Manufacturer | Supplier | | **What it reports** | Individual sales and transfers, with the customer, invoice and price | Activity by item and location: units sold, on hand, on order | | **Who the buyer is** | Named end customers (hospitals, contractors, resellers) | Anonymous shoppers, summarized by store | | **Main uses** | Sales tracing, chargeback validation, distributor fees, rebates, sales credit | Replenishment, vendor-managed inventory, forecasting | | **Inventory data** | Not its job | Core content | | **Granularity** | Invoice line | Item, location and period | A short way to remember it: the 852 tells a supplier how much sold and what is left on the shelf, so it can replenish. The 867 tells a manufacturer who bought, at what price, on which invoice, so it can pay and audit. A manufacturer selling both through retail and through distribution may receive both, and they do not substitute for each other. ## Common 867 Errors and How to Prevent Them | Error | What happens | Prevention | |---|---|---| | **Customer IDs differ from the 844** | Manufacturer cannot match sales to chargebacks; claims are questioned | Use one customer identifier source for both documents | | **Missing sales** | Chargebacks with no matching 867 line are disputed; fee or rebate payments are short | Build the 867 from invoiced sales, not from shipments or orders | | **Invoice dates outside the reporting period** | Lines rejected or double counted across periods | Select by invoice date and stamp the period in `DTM*090` and `DTM*091` | | **Returns sent as positive sales** | Sales overstated | Use the return transfer type or quantity qualifier the guide specifies | | **Wrong item identifier** | Product not recognized by the manufacturer | Send the identifier the manufacturer's guide asks for (NDC, GTIN, manufacturer part number) | | **Totals do not compute** | Report rejected | Calculate `CTT` and `AMT` from the lines | | **Report sent to the wrong manufacturer** | Data disclosure problem and a missing report for the right one | Filter by manufacturer at the item level, not the vendor of record alone | ## 867 Implementation Checklist - Get the manufacturer's 867 guide and confirm the industry guideline it follows - Confirm the format: compact `SII` lines or detailed `QTY` loops - Agree the reporting frequency, the period and the cut-off - Agree the customer and item identifiers, and keep them consistent with your 844s - Confirm how returns, credits and rebills are reported - Confirm what price the manufacturer wants: invoice price, contract price, cost or all of them - Build from invoiced sales and calculate all totals from the lines - Test with contract sales, non-contract sales, returns and a zero-sales period - Monitor 997s and any manufacturer feedback on unmatched customers or items ## Handling the Orders Behind the 867 With OrderSync Every line on an 867 started as a customer order. When those orders arrive by email, PDF or spreadsheet and are keyed by hand, a wrong ship-to or item shows up later as an 867 line that does not match the chargeback or the contract. OrderSync reads customer orders in any format, from EDI 850s and 875s to emails, PDFs and spreadsheets, matches customers, items and units to your catalog, and sends clean orders to your ERP or outputs valid X12. Paste any 867 into the [free EDI inspector](/edi-inspector) to see it parsed with a plain-English summary, read about [EDI for distributors](/edi-distributors) and [EDI for consumer electronics](/edi-for/consumer-electronics), or [book a 15-minute walkthrough](/book) to see your own orders processed. ## Frequently Asked Questions
### What is an EDI 867 used for? The EDI 867 is used to report sales and transfers of product. In distribution, a distributor sends it to a manufacturer to show which customers bought the manufacturer's products, in what quantity, at what price and on which invoice, for tracing, chargeback validation, fees and rebates. ### What is the difference between EDI 852 and 867? The 852 is sent by a retailer to a supplier and reports units sold, on hand and on order by item and location, for replenishment. The 867 is usually sent by a distributor to a manufacturer and reports individual sales to named customers, for tracing and contract validation. ### Who sends the EDI 867? In distribution, the distributor or wholesaler sends it to each manufacturer whose products it sells. The X12 standard allows either buyer or seller to issue it, and other industries, such as energy, use it between different parties for different purposes. ### How does the 867 relate to chargebacks? The 867 reports all of a distributor's sales of a manufacturer's products, including contract sales. The manufacturer compares those sales with the distributor's 844 chargeback claims, so a claimed sale should appear on the 867 with the same customer, item, quantity and invoice. ### What are the main segments in an EDI 867? BPT starts the report, DTM gives the reporting period, and N1 names the parties. Each PTD loop groups sales by transfer type, with N1 for the customer and either SII lines or QTY loops holding LIN, UIT, REF and DTM for each sale. CTT and AMT carry the totals. ### What does PTD*SS mean in an 867? PTD01 is the product transfer type code, and SS means stock sale: product sold from the distributor's own inventory. Other codes include DS for drop ship sale, SD for ship and debit sale and BN for return. Your partner's guide lists the codes it accepts. ### Is the EDI 867 the same as a point-of-sale report? In electronics and technology distribution, the 867 is often called a POS or point-of-sale report, because it reports the distributor's sales to its customers. It is different from retail point-of-sale data, which is usually sent on the 852 and summarizes store register sales.
--- # EDI 869 Order Status Inquiry: Segments and Example Source: https://ordersync.io/guides/edi/869-order-status-inquiry > EDI 869 explained: how buyers ask suppliers for order status, the BSI, HL, PRF and LIN segments, order vs line inquiries, drop-ship use and the 870 reply. The EDI 869 Order Status Inquiry is the X12 transaction a buyer sends to ask a supplier for the current status of one or more purchase orders, either whole orders or specific lines. The supplier answers with an 870 Order Status Report; some buyers also accept an 856 ship notice once the goods have shipped. **The EDI 869 is the buyer asking "where is my order?" in a form your system can answer automatically.** It names the purchase orders, and optionally the exact lines, the buyer wants status on. On its own it changes nothing. What matters is the answer you send back, and how fast. This guide covers what the 869 carries, when buyers send it, two live examples (a line-level inquiry and a drop-ship order inquiry), every segment you will map, and how to answer it with an [870 Order Status Report](/guides/edi/870-order-status-report). ## What Is an EDI 869? **An EDI 869 is the Order Status Inquiry transaction set defined by the [ASC X12 standards body](https://x12.org/products/transaction-sets), used by a buyer to request the current status of purchase orders, or selected items on them, from the seller.** It travels in the order status functional group (`GS01` = `RS`), the same group as the 870 reply. Authoritative references for 869 work: - The [X12 transaction set catalog](https://x12.org/products/transaction-sets) defines the 869 and 870 and their segment order - The [X12 004010 869 reference](https://www.stedi.com/edi/x12-004010/869) lists every segment and loop the standard allows, and the [870 reference](https://www.stedi.com/edi/x12-004010/870) shows the reply structure - Each buyer's 869 implementation guide sets which segments it sends, how many purchase orders it puts in one inquiry, and how fast it expects an answer **Who sends it?** The buyer: a retailer, distributor or manufacturer with open purchase orders. **Who receives it?** The supplier that received those purchase orders. **When is it sent?** When the buyer wants status it does not have. Commonly that is when a ship date is close or has passed with no [856 ship notice](/guides/edi/856-ship-notice), or when a consumer or store asks about an order. **Why does it matter?** An unanswered 869 does not go away. Buyers that automate inquiries tend to send them again until they get a reply, and an order that stays unexplained is the one that gets canceled or escalated to your account manager. ## When Buyers Send an 869 Buyers use the 869 in a few recurring situations: - **Past-due orders.** The ship date has passed and no 856 or 870 has arrived. Some buyers generate the 869 automatically a set number of days after the requested ship date and expect an 856 or 870 back within a fixed window, sometimes as short as a day. - **Drop-ship orders.** A consumer asks the retailer where their order is. The retailer has no warehouse receipt to check, so it asks the supplier who ships direct. - **Backorder follow-up.** A line was acknowledged as backordered on the [855](/guides/edi/855-purchase-order-acknowledgment), and the buyer wants the current expected date before deciding whether to keep waiting. - **Planning.** Before a promotion or a reset, a buyer checks the status of every open order that feeds it. In each case the buyer is asking a question your order system already knows the answer to. The 869 lets it ask that question without an email or a phone call, and the 870 lets you answer the same way. ## Order-Level vs Line-Level Inquiries `BSI03` sets the scope of the question. The two values retail buyers use most: | `BSI03` | Meaning | What the 869 contains | What your 870 should cover | |---|---|---|---| | `PA` | Selected orders, all items | An order-level `HL` with the PO reference, no item levels | Every line on that PO | | `PP` | Selected orders, selected items | An order-level `HL`, plus one item-level `HL` with a `LIN` per line asked about | Only the lines listed | The full X12 code list for this element also covers "all orders" scopes (`CA`, `CO`, `CI`, `AO`) and "shipped only" or "unshipped only" variants (`PI`, `PO`). Those are rare in retail. The buyer's guide will list the ones it sends. ## Interactive Example: Line-Level 869 (Selected Items) A home goods retailer asks about two lines on purchase order `4500087321`. `BSI03` is `PP` (selected orders, selected items). The order-level `HL` carries the PO number and date in `PRF`, the buying department in `REF*DP` and the buying store in `N1*BY`. Two item-level `HL` loops follow, each with a `LIN` naming the PO line number, the UPC and the vendor item number. `CTT01` counts the three `HL` segments. Use the **Plain English** tab for a readable summary, or click any segment to break it down element by element. The supplier's reply to this inquiry is the first example in the [EDI 870 guide](/guides/edi/870-order-status-report): one line part-shipped with the rest backordered, the other fully backordered with a new date. ## Interactive Example: Drop-Ship 869 (Whole Order) A consumer has asked the retailer about a web order that has not arrived. The retailer sends an 869 for the whole drop-ship purchase order (`BSI03` = `PA`), with the consumer's web order number in `REF*CO` so the supplier can find it either way. There are no item-level loops, so the answer should cover every line. ## 869 Structure at a Glance The 004010 869 is short. Most retail inquiries use only a few of the segments the standard allows: | Position | Segment | Name | Usage | Notes | |---|---|---|---|---| | Header | **ST** | Transaction Set Header | Mandatory | `ST01` = `869` | | Header | **BSI** | Beginning Segment for Order Status Inquiry | Mandatory | Inquiry number, date, scope, time | | Header | **NTE** | Note/Special Instruction | Optional | Free-text notes | | Detail | **HL** | Hierarchical Level | Mandatory | An order level (`O`), and item levels (`I`) for a line inquiry | | Detail | **PRF** | Purchase Order Reference | Optional, usually sent | The PO number and date being asked about | | Detail | **DTM** | Date/Time Reference | Optional | Dates related to the order | | Detail | **LIN** | Item Identification | Optional | The PO line and product IDs, in item-level loops | | Detail | **QTY** | Quantity | Optional | A quantity for the item, where the buyer sends one | | Detail | **REF** loop | Reference Identification | Optional | Department, internal vendor number, consumer order number | | Detail | **N1** loop | Name | Optional | The buying party or location | | Summary | **CTT** | Transaction Totals | Optional | Often the count of `HL` segments | | Summary | **SE** | Transaction Set Trailer | Mandatory | Segment count and control number | The standard allows many purchase orders in one 869. Many buyers send only one PO per inquiry, which makes the reply simpler: one 869 in, one 870 out. ## Key Segments Explained ### BSI: Beginning Segment for Order Status Inquiry ``` BSI*INQ-20261104-0031*20261104*PP***0915~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **BSI01** | Reference Identification | `INQ-20261104-0031` | The buyer's inquiry number. Send it back in your 870 | | **BSI02** | Date | `20261104` | Inquiry date, CCYYMMDD | | **BSI03** | Order/Item Code | `PP` | The scope: `PA` whole orders, `PP` selected lines, and others in the table above | | **BSI04** | Product/Date Code | | Rarely used in retail | | **BSI05** | Location Code | | Rarely used in retail | | **BSI06** | Time | `0915` | Inquiry time, 24-hour clock | The 004010 segment has three more optional elements (purpose, transaction type and action codes) that retail guides generally leave unused. `BSI01` is the one element you must keep. In most 870 implementations it goes back to the buyer in `BSR08`, and it is how the buyer's system closes the inquiry. Lose it, and the buyer may treat your 870 as a separate, unsolicited report and keep asking. ### HL: Hierarchical Level ``` HL*1**O~ HL*2*1*I~ ``` `HL01` is a sequence number, `HL02` the parent's `HL01` (empty at the order level), and `HL03` the level code: `O` for order, `I` for item. An order-only inquiry has a single `HL*1**O`. A line inquiry adds one `I` level per line, each pointing back to the order. ### PRF: Purchase Order Reference ``` PRF*4500087321***20261020~ ``` `PRF01` is the buyer's PO number and `PRF04` the PO date. These are the keys you look the order up by. Match on both: buyers reuse PO number ranges, and a number alone can land on an old order. ### LIN: Item Identification ``` LIN*1*UP*085519001205*VN*CL-LAMP-BRS~ ``` In a line-level inquiry, each `LIN` names one line. `LIN01` is the line number from the original [850 purchase order](/guides/edi/850-purchase-order), followed by product ID qualifier and value pairs (here `UP` for the UPC and `VN` for your vendor item number). Look the line up by `LIN01` first, then confirm the product IDs match. If they do not, the buyer's copy of the order differs from yours, which is worth knowing before you answer. ### REF and N1: Order Context ``` REF*DP*042~ N1*BY*HARBOR HOME STORE 318*92*0318~ ``` Buyers use `REF` for references that help you find the order: a department number (`DP`), your internal vendor number at the buyer (`IA`), or for drop ship, the consumer's order number (`CO`). `N1` usually identifies the buying party or store. Which ones appear depends on the buyer. ### CTT: Transaction Totals ``` CTT*3~ ``` On the 869, `CTT01` is commonly the number of `HL` segments in the transaction. Check the buyer's guide; some count line items instead. ## How to Answer an 869 A good 869 process is mostly automatic: 1. **Receive and acknowledge.** Send a [997 Functional Acknowledgment](/guides/edi/997-functional-acknowledgment) like any other inbound document. 2. **Find the order.** Look up each `PRF` by PO number and date. For a line inquiry, find each `LIN01` line. 3. **Read current status.** Pull what has shipped, what is allocated, what is backordered and the expected dates from your order system. 4. **Reply.** If everything asked about has shipped and you have not sent the 856, send the 856. Otherwise send an 870 with `BSR01` = `1`, the same scope in `BSR02`, the inquiry number in `BSR08`, and an `ISR` status per line. 5. **Watch the clock.** Buyers that send 869s automatically usually set a reply window. Answer even when the order is on schedule; "in process, scheduled to ship on" is still an answer. If the order is not in your system at all, that is the real problem the 869 has surfaced. The PO was never received, was rejected, or was keyed under a different number. ## EDI 869 vs 870, 850, 855 and 856 | Document | Sent by | Purpose | |---|---|---| | **869 Order Status Inquiry** | Buyer | Asks for the status of orders or lines | | **[870 Order Status Report](/guides/edi/870-order-status-report)** | Supplier | Reports status: in reply to an 869, on a schedule, or unsolicited | | **[850 Purchase Order](/guides/edi/850-purchase-order)** | Buyer | Places the order the 869 asks about | | **[855 PO Acknowledgment](/guides/edi/855-purchase-order-acknowledgment)** | Supplier | Accepts, changes or backorders each line when the order arrives | | **[856 Ship Notice](/guides/edi/856-ship-notice)** | Supplier | Confirms what shipped; also answers an 869 once goods have left | | **[860 PO Change](/guides/edi/860-purchase-order-change)** | Buyer | Changes the order. An 869 only asks about it | The 869 and 870 are a pair, the way the 860 and [865](/guides/edi/865-purchase-order-change-acknowledgment) are a pair for changes. The difference is that a supplier can send an 870 without ever receiving an 869. ## Where the 869 Sits in the Order Flow 1. **850 Purchase Order.** The buyer orders. 2. **997.** You confirm receipt. 3. **855 PO Acknowledgment.** You confirm what you will ship. 4. **869 Order Status Inquiry.** The buyer asks for status, often near or after the ship date. 5. **870 Order Status Report.** You answer. 6. **856 Ship Notice.** Goods ship. 7. **[810 Invoice](/guides/edi/810-invoice).** You bill. ## Common 869 Problems and How to Prevent Them | Problem | What happens | Prevention | |---|---|---| | **No reply** | Buyer keeps sending inquiries, then escalates or cancels | Route every 869 to an automatic 870 reply, with a person reviewing exceptions only | | **PO not found** | You cannot answer; buyer assumes the order is lost | Look up by PO number and date; check rejected or unprocessed 850s | | **Inquiry number not returned** | Buyer cannot match your 870 to its 869 | Carry `BSI01` into `BSR08` | | **Answering the wrong scope** | Buyer gets status for lines it did not ask about, or misses ones it did | Echo `BSI03` in `BSR02` and cover exactly the lines in the `LIN` loops | | **Line numbers out of sync** | Status applied to the wrong line | Answer by the buyer's `LIN01`, never by your internal line sequence | | **Replying with an 870 after shipping** | Buyer sees "in process" for goods already on a truck | If the goods shipped, send the 856 the buyer is missing | | **869 treated as a change** | Order edited in error | The 869 never changes an order. Changes come on an 860 | Many of these trace back to the original order: a PO keyed in late, under the wrong number, or with lines renumbered. When the order data starts right, answering an 869 is a lookup. ## 869 Implementation Checklist Before trading 869s with a new partner: - Get the buyer's 869 and 870 guides together, since you will build both sides of the exchange - Confirm which `BSI03` scopes it sends (`PA`, `PP` or others) - Confirm whether one 869 can carry more than one PO - Confirm the reply window and whether it accepts an 856 as an answer for shipped orders - Confirm the `REF` and `N1` qualifiers it sends, especially for drop-ship orders - Map `BSI01` through to `BSR08` on your 870 - Store every 850 exactly as received, so `PRF` and `LIN` lookups match - Test an order-level inquiry, a line-level inquiry, an inquiry on a shipped order and an inquiry on an unknown PO For the documents around the 869, see our [EDI document types reference](/edi-document-types) and the [EDI compliance guide](/edi-compliance). ## Getting the Order Right With OrderSync The 869 asks about an order your system should already have, exactly as the buyer sent it. Suppliers that receive orders from many customers often have some arriving as EDI and others as PDFs, emails or spreadsheets, and the manually keyed ones are where PO numbers and line numbers drift from the buyer's copy. OrderSync reads inbound orders in any format (EDI 850 and 875, PDF, email, spreadsheets), matches customers, items and units to your catalog, and outputs valid X12 or clean data to your ERP, so the order an 869 asks about is the one the buyer sent. Paste any 869 or 870 into the [free EDI inspector](/edi-inspector) to see it parsed segment by segment with a plain-English summary, read about [automated order processing](/order-processing-automation), or [book a 15-minute walkthrough](/book) to see your own orders processed. ## Frequently Asked Questions
### What is an EDI 869 used for? The EDI 869 Order Status Inquiry lets a buyer ask a supplier for the current status of purchase orders, either whole orders or specific lines. Buyers send it for past-due orders, drop-ship orders a consumer is asking about, and backordered lines. The supplier answers with an 870 Order Status Report. ### What is the response to an EDI 869? The usual response is an EDI 870 Order Status Report with BSR01 set to 1 (a response to an 869) and the inquiry number from BSI01 returned in BSR08. If the goods have already shipped, some buyers also accept the 856 ship notice as the answer. ### What is the difference between EDI 869 and EDI 870? The 869 is the question and the 870 is the answer. The buyer sends the 869 to ask about specific orders or lines. The supplier sends the 870 to report their status. A supplier can also send an 870 unsolicited or on a schedule, without any 869. ### What does BSI03 mean in an EDI 869? BSI03 is the Order/Item Code, which sets the scope of the inquiry. PA means selected orders with all their items, so the 869 lists purchase orders only. PP means selected orders and selected items, so the 869 also lists the specific lines in LIN segments. ### Does an EDI 869 change the purchase order? No. The 869 only asks for status. A buyer that wants to change quantities, dates or items sends an 860 Purchase Order Change, and the supplier answers changes with an 865. ### How quickly should you answer an EDI 869? The buyer's implementation guide sets the window, and buyers that generate 869s automatically can expect an answer within a day. Answer every inquiry, including orders that are on schedule, or expect repeat inquiries. ### What functional group is the EDI 869 in? The 869 is sent in the order status functional group, with GS01 set to RS, the same group used for the 870 reply.
--- # EDI 870 Order Status Report: Codes and Example Source: https://ordersync.io/guides/edi/870-order-status-report > EDI 870 explained: BSR, HL, PO1 and ISR segments, status codes, solicited vs unsolicited reports, backorder and drop-ship examples, and common errors. The EDI 870 Order Status Report is the X12 transaction a supplier sends to tell a buyer where its purchase orders stand: shipped, partly shipped, backordered, delayed or canceled, line by line, with new dates. It is sent in reply to an 869 Order Status Inquiry, on an agreed schedule, or unsolicited whenever status changes. **The EDI 870 is the supplier's answer to "where is my order?"** It sits between the order acknowledgment and the ship notice. The 855 said what you would ship. The 856 says what you did ship. The 870 covers everything in between: lines that slipped, lines on backorder, lines you canceled, and the date each one will move. This guide covers what the 870 carries, the three reasons one gets sent (a reply to an 869, a scheduled report, or an unsolicited update), two live examples (a backorder reply and a drop-ship status feed), every segment you will map, the ISR status codes, and the errors that cause rejections. ## What Is an EDI 870? **An EDI 870 is the Order Status Report transaction set defined by the [ASC X12 standards body](https://x12.org/products/transaction-sets), used by a seller to report the current status of one or more purchase orders, or selected lines on them, to the buyer.** It travels in the order status functional group (`GS01` = `RS`), the same group as the [869 Order Status Inquiry](/guides/edi/869-order-status-inquiry) that often triggers it. Authoritative references for 870 work: - The [X12 transaction set catalog](https://x12.org/products/transaction-sets) defines the 870 and 869 and their segment order - The [X12 004010 870 reference](https://www.stedi.com/edi/x12-004010/870) shows every segment and loop in the standard, and its [Shipment/Order Status Code list](https://www.stedi.com/edi/x12-004010/element/368) holds the full set of values used in the `ISR` segment - Each buyer's 870 implementation guide sets which of those segments and codes it accepts, and when it wants the report **Who sends it?** The supplier (seller, vendor), from its order management or ERP system. **Who receives it?** The buyer: a retailer, distributor or manufacturer that issued the purchase order. **When is it sent?** In reply to an 869 inquiry, on a schedule the partners agreed (often daily for open orders), or whenever the status of an order changes. **Why does it matter?** A buyer that cannot see a delay plans around the original date. It promises stock to stores or delivery dates to consumers that you cannot meet. The 870 is how the delay reaches its system before the date passes, not after. ## Three Reasons an 870 Gets Sent The first element of the 870, `BSR01`, says why the report exists. Three values cover nearly every commercial use. | `BSR01` | Meaning | Trigger | Typical use | |---|---|---|---| | `1` | Response to an Order Status Inquiry (869) | The buyer sent an 869 | Answering a buyer that is chasing late or open orders | | `2` | Prearranged Schedule or Agreement | A schedule in the trading agreement | Daily or weekly status on every open PO | | `3` | Unsolicited Report | Your own system, when status changes | Pushing a backorder, delay or cancellation as it happens | The X12 code list for `BSR01` has more values (twelve in 004010), most of them used in government and military supply. Your partner's guide will name the one or two it expects. **Solicited (reply to an 869).** The buyer asks, you answer. The 869 names the purchase orders and, optionally, the specific lines. Your 870 returns status for exactly that scope and carries the inquiry's reference number so the buyer can match the answer to the question. Some buyers generate the 869 automatically when no ship notice or status report has arrived by the scheduled ship date, and keep sending it until they get one, so a missing 870 can produce a steady stream of inquiries. **Unsolicited.** You report without being asked, usually when something changes. This is the common pattern in drop ship, where the retailer has promised a delivery date to a consumer and needs to hear about a delay the same day. **Scheduled.** You report on a fixed cadence, often every open order or every order with a change. This suits buyers that want a full picture of open orders rather than individual exceptions. ## Backorders, Delays and Drop Ship: What the 870 Is For The 870 earns its place in three situations. **Backorders.** You accepted a line on the 855, but stock did not arrive. The 870 tells the buyer how much shipped, how much is on [backorder](/glossary/backorder), and when the rest will ship. That lets the buyer decide whether to wait, cancel the balance, or buy elsewhere, instead of finding out at receiving. **Late shipments and ship date changes.** The order is still coming, but not on the promised date. An 870 with a revised expected ship date moves the buyer's plan before the original date passes. That matters most for buyers that measure [on-time in-full](/glossary/otif) against the date you committed to. **Drop ship.** In a [drop-shipping](/glossary/drop-shipping) program, the retailer takes the consumer's order and payment, and you ship from your warehouse to the consumer's door. The retailer's customer service team answers "where is my order?" from whatever you have told it. Many drop-ship programs use the [856 ship notice](/guides/edi/856-ship-notice) for shipment confirmation with tracking, and the 870 for everything that is not a shipment yet: a delay, a backorder, or a line you cannot fill and are canceling. The retailer's drop-ship guide says which status codes it accepts and how fast it expects to hear. ## Interactive Example: 870 Reply to an 869 (Backorder) A home goods retailer sent an 869 asking about lines 1 and 3 on purchase order `4500087321`. The supplier answers with an 870. `BSR01` is `1` (a response to an 869), `BSR02` is `PP` (selected orders, selected items), and `BSR08` carries the retailer's inquiry number `INQ-20261104-0031` so the two documents tie together. Line 1 ordered 24 lamps. Sixteen shipped and eight are on backorder to ship on November 18 (`ISR*BP`, with a shipped `QTY` and a backorder `QTY`). Line 3 is fully backordered and expected to ship by December 2 (`ISR*ED`). Use the **Plain English** tab for a readable summary, or click any segment to break it down element by element. ## Interactive Example: Unsolicited Drop-Ship 870 The same supplier sends unsolicited status on drop-ship orders each afternoon (`BSR01` = `3`). This interchange carries two 870s, one per purchase order, because many retailers allow only one PO per 870. Each order carries the consumer's web order number in `REF*CO`. The first order shipped on November 3 (`ISR*SH`). On the second, the lamp is late and now scheduled to ship November 9 (`ISR*SI`), and the shade line is canceled (`ISR*IC`). The retailer can tell the consumer about the delay and refund the shade the same day. ## 870 Structure at a Glance The 004010 standard allows many optional segments (carrier details, addresses, measurements, allowances). Most retail 870s use a small subset: | Position | Segment | Name | Usage | Notes | |---|---|---|---|---| | Header | **ST** | Transaction Set Header | Mandatory | `ST01` = `870` | | Header | **BSR** | Beginning Segment for Order Status Report | Mandatory | Reason, scope, report number and date | | Header | **DTM** | Date/Time Reference | Optional | Header-level dates some buyers require | | Header | **N1** loop | Name | Optional | Buyer, supplier or ship-to parties | | Detail | **HL** | Hierarchical Level | Mandatory | Usually an order level (`O`) and item levels (`I`) | | Detail | **PRF** | Purchase Order Reference | Optional, usually required | The PO number and date being reported | | Detail | **REF** | Reference Identification | Optional | Extra references, such as a consumer order number in drop ship | | Detail | **DTM** | Date/Time Reference | Optional | Order-level dates | | Detail | **PO1** loop | Baseline Item Data | Optional, usually required | The PO line being reported | | Detail | **ISR** | Item Status Report | Mandatory in its loop | The status code and date for the line | | Detail | **QTY** | Quantity | Optional | Shipped, backordered, canceled or other quantities | | Summary | **CTT** | Transaction Totals | Optional | A count, usually of line items | | Summary | **SE** | Transaction Set Trailer | Mandatory | Segment count and control number | The `ISR` loop can appear at the order level (status for the whole PO) or inside the `PO1` loop (status for one line). Line-level status is the more common pattern in retail. Treat "optional" as "optional unless your partner's guide says otherwise". ## Key Segments Explained ### BSR: Beginning Segment for Order Status Report ``` BSR*1*PP*OSR-77120*20261104***1130*INQ-20261104-0031*20261104~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **BSR01** | Status Report Code | `1` | Why the report was sent: `1` reply to an 869, `2` prearranged schedule, `3` unsolicited | | **BSR02** | Order/Item Code | `PP` | What the report covers (see the scope table below) | | **BSR03** | Reference Identification | `OSR-77120` | Your status report number | | **BSR04** | Date | `20261104` | Report date, CCYYMMDD | | **BSR05** | Product/Date Code | | Rarely used in retail | | **BSR06** | Location Code | | Rarely used in retail | | **BSR07** | Time | `1130` | Report time | | **BSR08** | Reference Identification | `INQ-20261104-0031` | The inquirer's reference: the 869 number you are answering | | **BSR09** | Date | `20261104` | The date of that inquiry | `BSR02` uses the same code list as `BSI03` on the 869, so a reply normally echoes the scope of the question: | Code | Scope | |---|---| | `PP` | Selected orders, selected items | | `PA` | Selected orders, all items | | `PO` | Selected orders, unshipped items | | `PI` | Selected orders, shipped items | | `CA` | All orders, all items | | `CO` | All orders, unshipped items | | `CI` | All orders, shipped items | | `AO` | All orders, items with changed status | ### HL: Hierarchical Level ``` HL*1**O~ HL*2*1*I~ ``` `HL01` is a sequence number, `HL02` points to the parent level, and `HL03` names the level. In most 870s, `O` (order) carries the PO reference and `I` (item) carries each line. Unlike the 856, there is no shipment level at the top, because nothing has necessarily shipped. ### PRF: Purchase Order Reference ``` PRF*4500087321***20261020~ ``` `PRF01` is the buyer's PO number and `PRF04` the PO date. The buyer matches your report to its open order on these two values, so send them exactly as they appeared on the [850 purchase order](/guides/edi/850-purchase-order). A PO number with an extra prefix, dropped leading zeros, or the wrong date is the most common reason an 870 lands in the buyer's error queue. ### PO1: Baseline Item Data ``` PO1*1*24*EA*42.00**UP*085519001205*VN*CL-LAMP-BRS~ ``` The 870 repeats the PO line so the buyer can identify it: `PO101` is the line number from the original order, `PO102` the quantity ordered, `PO103` the unit, `PO104` the unit price, then product ID qualifier and value pairs (here a UPC and the vendor item number). Echo the line number and identifiers from the 850. Many buyers match on `PO101` first and reject a line number they did not send. ### ISR: Item Status Report ``` ISR*BP*20261118~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **ISR01** | Shipment/Order Status Code | `BP` | The status of the line or order | | **ISR02** | Date | `20261118` | The date that goes with the status. Required when the code names a date | | **ISR03** | Status Reason Code | | An optional reason, from a separate code list | `ISR` is the heart of the 870. The 004010 code list has more than a hundred values. These are the ones retail and drop-ship guides use most: | Code | Meaning | Date in `ISR02` | |---|---|---| | `SH` | Shipped | The ship date | | `BP` | Shipment partial, back order to ship on (date) | When the balance ships | | `BO` | Back ordered | Optional | | `CP` | Partial shipment on (date), considered no backorder | The ship date | | `ED` | Expect to ship by (date) | The expected ship date | | `RD` | Revised expect to ship by (date) | The new expected ship date | | `SI` | Shipment late, scheduled to ship on (date) | The new scheduled date | | `IN` | In process | Optional | | `IC` | Item canceled | Optional | | `DI` | Discontinued | Optional | | `IS` | Item represents substitution from original order | Optional | | `CC` | Shipment complete on (date) | The completion date | Most buyers accept only a handful of these. A code that is valid X12 but missing from the buyer's list is a common rejection, so build your status mapping from the buyer's guide, not from the full standard. ### QTY: Quantity ``` QTY*39*16*EA~ QTY*BQ*8*EA~ ``` `QTY01` qualifies the quantity, `QTY02` is the number and `QTY03` the unit. Qualifiers seen on 870s include `39` (shipped quantity), `BQ` (backorder quantity), `QV` (quantity cancelled) and `01` (discrete quantity). Some buyers ask for a single `QTY` per status; others want shipped and backordered quantities side by side, as in the example. The quantities on a line should add up to `PO102`. ### CTT: Transaction Totals ``` CTT*2~ ``` `CTT01` is a count the receiver checks. On the 870 it is usually the number of `PO1` line items; some guides count `HL` segments instead. Generate it from the data you are sending, never as a constant. ## EDI 870 vs 855, 856, 865 and 869 These documents are easy to mix up because they all talk about the same purchase order. | Document | Sent by | Answers the question | When | |---|---|---|---| | **[855 PO Acknowledgment](/guides/edi/855-purchase-order-acknowledgment)** | Supplier | Will you fill this order, and on what terms? | Once, soon after the 850 arrives | | **870 Order Status Report** | Supplier | Where does this order stand right now? | On request, on a schedule, or when status changes | | **[856 Ship Notice](/guides/edi/856-ship-notice)** | Supplier | What exactly shipped, in which cartons, on which truck? | When goods leave the dock | | **[865 PO Change Acknowledgment](/guides/edi/865-purchase-order-change-acknowledgment)** | Supplier | Do you accept the buyer's change, or propose one of your own? | In reply to an 860, or to propose a change | | **[869 Order Status Inquiry](/guides/edi/869-order-status-inquiry)** | Buyer | Where is my order? | When the buyer wants status | The short version: the 855 is a commitment, the 870 is a progress report against it, and the 856 is proof of shipment. An 870 does not change the order. If you need the buyer to agree to a different quantity, price or item, that is an 865 (or a buyer's [860 change](/guides/edi/860-purchase-order-change)), not an 870. ## Where the 870 Sits in the Order Flow 1. **[850 Purchase Order](/guides/edi/850-purchase-order).** The buyer orders. 2. **[997 Functional Acknowledgment](/guides/edi/997-functional-acknowledgment).** You confirm the 850 arrived and parsed. 3. **[855 PO Acknowledgment](/guides/edi/855-purchase-order-acknowledgment).** You accept, change or backorder each line. 4. **869 Order Status Inquiry (optional).** The buyer asks for status, often when a date is close or has passed. 5. **870 Order Status Report.** You report status: in reply to the 869, on schedule, or unsolicited. 6. **[856 Ship Notice](/guides/edi/856-ship-notice).** Goods ship. 7. **[810 Invoice](/guides/edi/810-invoice).** You bill for what shipped. Steps 4 and 5 can repeat for as long as a line stays open. A backordered line might get an 870 when it goes on backorder, another when its date moves, and finally an 856 when it ships. ## Common 870 Errors and How to Prevent Them | Error | What happens | Prevention | |---|---|---| | **PO number or date does not match the 850** | Report cannot be matched to an open order; rejected or ignored | Copy `PRF01` and `PRF04` from the stored 850, never from a re-keyed sales order | | **Line number does not match** | Status applied to the wrong line, or the line is rejected | Echo `PO101` exactly as the buyer sent it | | **Status code not in the buyer's list** | Line or whole report rejected | Map internal statuses to the buyer's accepted `ISR01` codes only | | **Date missing on a dated status** | Rejected under X12 syntax rules | Always send `ISR02` with codes that name a date (`BP`, `ED`, `SI`, `SH`, `RD`) | | **Reply missing the inquiry reference** | Buyer cannot tie the answer to its 869 and keeps asking | Send the 869's `BSI01` back in `BSR08` when the guide uses it | | **Quantities do not add up** | Buyer's system flags the line, or plans for the wrong amount | Shipped plus backordered plus canceled should equal the ordered quantity | | **Using the 870 to change the order** | Buyer ignores the change; you ship something it did not agree to | Use the 865 for changes that need the buyer's agreement | | **No reply to an 869** | Repeated inquiries, and often a manual escalation from the buyer | Answer every 869 within the buyer's window, even when the answer is "on schedule" | | **870 sent after the 856** | Buyer sees "backordered" after the goods arrived | Suppress status reports for lines already confirmed on an 856 | | **`CTT01` count wrong** | Transaction rejected | Compute the count from the segments you built | Most of these show up later as a confused buyer, a missed [fill rate](/glossary/fill-rate) target or a [retail chargeback](/glossary/retail-chargeback) rather than as an EDI error, which is why they persist. ## 870 Implementation Checklist Before your first live 870 with a new trading partner: - Get the partner's 870 guide and confirm whether it expects replies to 869s, scheduled reports, unsolicited reports, or a mix - Confirm the `BSR01` and `BSR02` values it accepts - Confirm whether it allows more than one PO per 870 - Get its list of accepted `ISR01` status codes, and map each of your internal order statuses to one of them - Confirm which `QTY` qualifiers it wants and whether `ISR02` dates are required on every line - Store the 850 exactly as received, so `PRF` and `PO1` can echo it - Decide what triggers an unsolicited 870 in your system (backorder created, date changed, line canceled) - For drop ship, agree how fast a delay must be reported and whether cancellations go on the 870 or another document - Test a reply to an 869, a backorder, a date change and a cancellation - Monitor 997s and any 824 application advice for rejections in the first weeks If you are new to EDI, our [EDI document types reference](/edi-document-types) and [EDI compliance guide](/edi-compliance) show how the 870 fits alongside the documents your retailers require. ## Keeping Order Status Accurate With OrderSync An 870 is only as good as the order data behind it. If a purchase order was keyed in late or with a wrong line number, every status report on it starts wrong. And most suppliers that send 870s to one retailer still receive orders from other customers as PDFs, emails and spreadsheets. OrderSync reads inbound orders in any format (EDI 850 and 875, PDF, email, spreadsheets), matches customers, items and units to your catalog, and outputs valid X12 or clean data to your ERP. Your order and status data starts from the PO the buyer actually sent. Paste any 870 or 869 into the [free EDI inspector](/edi-inspector) to see it parsed segment by segment with a plain-English summary, read about [multi-format order processing](/multi-format-orders), or [book a 15-minute walkthrough](/book) to see your own orders processed. ## Frequently Asked Questions
### What is an EDI 870 used for? The EDI 870 Order Status Report lets a supplier tell a buyer the current status of its purchase orders: shipped, partly shipped, backordered, delayed or canceled, usually line by line with a date. It is sent in reply to an 869 inquiry, on an agreed schedule, or unsolicited when status changes. ### What is the difference between an EDI 869 and an EDI 870? The buyer sends the 869 Order Status Inquiry to ask about specific orders or lines. The supplier sends the 870 Order Status Report with the answer. A reply 870 sets BSR01 to 1 and normally carries the 869's reference number in BSR08 so the two can be matched. ### What is the difference between an EDI 855 and an EDI 870? The 855 is a one-time acknowledgment of a new purchase order, accepting, changing or backordering each line. The 870 reports progress afterwards and can be sent many times while the order is open. If a line goes on backorder after you acknowledged it, the 870 is how you report that. ### Can an 870 be sent without an 869? Yes. An unsolicited 870 (BSR01 = 3) reports status whenever it changes, and a scheduled 870 (BSR01 = 2) reports on an agreed cadence. Drop-ship programs commonly ask for unsolicited 870s so delays and cancellations reach the retailer quickly. ### What does the ISR segment mean in an EDI 870? ISR is the Item Status Report segment. ISR01 holds the status code, such as SH (shipped), BP (partial shipment, back order to ship on a date), ED (expect to ship by a date) or IC (item canceled). ISR02 holds the date that goes with the status. ### How do you report a backorder on an EDI 870? Send the PO line in a PO1 loop with an ISR status such as BP (partial shipment, balance on backorder to ship on a date) or BO (back ordered), the expected date in ISR02, and QTY segments for the shipped and backordered quantities, using the qualifiers your buyer's guide lists. ### Is the EDI 870 used for drop ship orders? Often, yes. Retailers that run drop-ship programs use the 870 to hear about delays, backorders and cancellations on consumer orders before the promised date, and the 856 to confirm shipment with tracking. The retailer's drop-ship guide sets which status codes and timings apply. ### What functional group is the EDI 870 in? The 870 is sent in the order status functional group, with GS01 set to RS. The 869 Order Status Inquiry uses the same RS group, so a buyer that sends 869s already has that group set up with you.
--- # EDI 875 Grocery Purchase Order: Segments and Example Source: https://ordersync.io/guides/edi/875-grocery-product-purchase-order > EDI 875 explained: the G50 header, G68 lines, catch-weight pricing, G72 allowances, G76 totals, 875 vs 850, and the errors that ship the wrong order. The EDI 875 Grocery Products Purchase Order is the X12 transaction a grocery retailer, wholesaler or foodservice distributor sends to order goods from a supplier. A G50 segment names the order, G68 lines carry each item's case UPC, quantity, unit and cost, and a G76 segment totals the order. It travels in functional group OG. **The EDI 875 is the purchase order of the grocery supply chain.** It does the same job as the [850 Purchase Order](/guides/edi/850-purchase-order), but with its own segments: `G50` instead of `BEG`, `G68` instead of `PO1`, `G76` instead of `CTT`. A supplier that maps it like an 850 gets an empty order, or one with every line in the wrong place. This guide covers what the 875 carries, how grocery buyers order fixed-weight and by-the-pound items, every segment you will map, three live examples, how it compares to the 850, and the errors that ship the wrong product. ## What Is an EDI 875? **An EDI 875 is the Grocery Products Purchase Order transaction set defined by the [ASC X12 standards body](https://x12.org/products/transaction-sets), used by a retailer or wholesaler to request delivery of finished grocery goods from a supplier or broker.** It belongs to the grocery family of X12 documents that grew out of the Uniform Communication Standard (UCS). That is why its segments carry a "G" prefix and why grocery buyers often label the version `004010UCS` in `GS08`. Authoritative references for 875 work: - The [X12 transaction set catalog](https://x12.org/products/transaction-sets) defines the 875 and its segment order. [Stedi's 004010 875 reference](https://www.stedi.com/edi/x12-004010/875) shows the full structure in a readable form - [GS1 US](https://www.gs1us.org/industries-and-insights/standards) governs the UPC and GTIN identifiers on every 875 line - Buyers publish their own 875 guides. [C&S Wholesale Grocers' 4010 875 specification](https://ecgrid.freshdesk.com/support/solutions/articles/6000285018-c-s-wholesale-875-grocery-products-purchase-order-specifications) and the [Harris Teeter 875 guide on Kroger's EDI portal](https://edi.kroger.com/EDIPortal/documents/Maps/ht/HT_WHS_875_UCS_4010_Guidelines.pdf) are two public examples **Who sends it?** The buyer: a grocery chain, a wholesaler, or a distributor ordering from a manufacturer. **Who receives it?** The supplier, or the broker acting for it. **When is it sent?** Whenever the buyer replenishes. Warehouse buyers often order on a fixed weekly cycle per supplier. **Why does it matter?** The 875 is the source of everything that follows: the pick, the [ASN](/guides/edi/856-ship-notice), the [880 invoice](/guides/edi/880-grocery-products-invoice), and the buyer's payment. A line that is misread here ships wrong, invoices wrong and comes back as a deduction. ## How Grocery Buyers Order on the 875 Grocery orders look simple, cases of product to a DC on a date, but three things set them apart from general merchandise. **Items are identified by case code.** The `G68` line carries a 12-digit U.P.C. case code in `G6804`, built from the grocery system digits (00, 06 or 07), a 5-digit manufacturer code and a 5-digit case code. Many buyers now send the 14-digit GTIN instead, with qualifier `UK` in `G6805`; the Harris Teeter guide's sample does exactly that. Most add their own item code too. There is no line number, so lines are matched by these identifiers. **Some items are priced by weight.** Cheese wheels, cuts of meat and some produce are "catch-weight": the case weight varies, so the buyer pays for actual pounds shipped. The 875 handles this in two ways: 1. Order the item in pounds. `G6801` is a quantity of pounds, `G6802` is `LB`, and `G6803` is the cost per pound. 2. Order in cases and price by the pound. `G6801`/`G6802` give the cases, and `G6810`/`G6811` give a cost in a different unit, here per `LB`. The standard defines `G6810` as the cost per unit in `G6811` when that unit differs from the ordered unit. Either way, the order amount is an estimate. The invoice bills the weight that actually shipped. Which method a buyer uses, and how much over or under the ordered weight it accepts, is in its guide and vendor agreement. **Deals ride on the order.** Grocery runs on trade promotions. The buyer can put an allowance on the order with `G72`, at order level or under a line, so the order cost already reflects the deal the supplier agreed. The supplier is expected to bill the same deal on the invoice. What the 875 does **not** carry is a date per line. In 4010 the only date segment, `G62`, sits in the header. Freshness rules such as minimum days of shelf life on arrival are usually set in the buyer's vendor agreement and item setup, not sent on each order. Lot and traceability data for [FSMA 204](/fsma-204) moves on the shipment records, such as the 856, after the supplier picks. ## Interactive Example: Wholesaler Order With a Catch-Weight Line This is order `GRO-456789`, the same order our [876 guide](/guides/edi/876-grocery-products-purchase-order-change) later changes. A grocery wholesaler orders from a supplier for delivery to its Reno DC on May 16: - `G50*N` marks it as an original order, dated May 9 - `G62*02` gives the requested delivery date - Line 1 is **5 cases** of whole wheat bread at $14.99 a case, packed 12 x 24 oz - Line 2 is **40 lb** of sharp cheddar at $6.49 a pound, a catch-weight item ordered in pounds - `G76` totals the order: 45 as a hash of the line quantities, 130 lb, and $334.55 Use the **Plain English** tab for a readable summary, or click any segment to break it down element by element. The `G76` amount is $74.95 for the bread plus $259.60 for the cheddar. If the supplier ships 41.2 lb of cheddar, the invoice bills 41.2 lb, not 40. ## Interactive Example: Catch-Weight Cases Priced by the Pound A natural foods distributor orders three refrigerated catch-weight items. Here the lines are in **cases**, and the cost per pound sits in `G6810` with `LB` in `G6811`. `G6810` has four implied decimals, so `124900` is $12.49 a pound. `G70` gives the nominal pack, such as 2 wheels of about 7 lb, which is how the buyer estimates the order amount in `G76`. The $3,532.20 in `G76` is built on 260 nominal pounds. The [880 catch-weight invoice](/guides/edi/880-grocery-products-invoice) for this order bills 261.4 actual pounds. ## Interactive Example: Fixed-Weight Order With an Allowance A regional grocery chain orders four lines of shelf-stable organic product by the case. The marinara line carries a promotional allowance: `G72*47*02` is a price and marketing allowance (code 47), taken off invoice (method 02), at $1.50 a case on 30 cases. `G73` describes the deal, and `N9*PD` in the header gives the promotion number. The lines extend to $3,449.60. The `G76` amount of $3,404.60 is that figure less the $45.00 allowance. The Harris Teeter guide's sample works the same way: its `G7608` equals the line extensions less its allowances. ## 875 Structure at a Glance In the version 4010 standard: | Area | Segment | Name | Usage | Notes | |---|---|---|---|---| | Header | **ST** | Transaction Set Header | Mandatory | `ST01` = `875` | | Header | **G50** | Purchase Order Identification | Mandatory | Order status, PO date, PO number | | Header | **N9** | Reference Identification | Optional | Promotion, contract or related PO numbers | | Header | **G61** | Contact | Optional | Buyer name and phone | | Header | **G62** | Date/Time | Optional, up to 10 | Delivery, ship and cancel dates | | Header | **NTE** | Note/Special Instruction | Optional | Free text | | Header | **G66** | Transportation Instructions | Optional | Delivered, collect or pick-up | | Header | **G23** | Terms of Sale | Optional | Header or detail, not both | | Header loop | **N1** to **N4** | Name and address | Mandatory, up to 10 | Ship-to, bill-to, vendor | | Header loop | **G72** / **G73** | Allowance or Charge | Optional | Order-level allowances and charges | | Detail loop | **G68** | Line Item Detail (Product) | Mandatory, repeats | Quantity, unit, cost, case UPC, item IDs | | Detail loop | **G69** | Line Item Detail (Description) | Optional | Item description | | Detail loop | **G70** | Line Item Detail (Miscellaneous) | Optional | Pack, size, pallet tie and tier | | Detail loop | **N9**, **G23** | References, terms | Optional | Line-level references and terms | | Detail loop | **G72** / **G73** | Allowance or Charge | Optional | Line-level allowances and charges | | Detail loop | **N1** / **QTY** / **N9** | Store or location quantity | Optional | Splits a line across stores or DCs | | Detail loop | **SLN** / **G72** | Subline Item Detail | Optional | Components of an assortment or display | | Summary | **G76** | Total Purchase Order | Mandatory | Total quantity, weight, volume and amount | | Summary | **SE** | Transaction Set Trailer | Mandatory | Segment count and control number | The functional group code in `GS01` is **OG**, shared with the 876. Buyers' guides narrow these rules, and many use only a handful of the optional segments. ## Key Segments Explained ### G50: Purchase Order Identification ``` G50*N*20260509*GRO-456789~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **G5001** | Order Status Code | `N` | `N` = original. Other codes exist in the standard, but buyers' guides usually allow only `N` | | **G5002** | Date | `20260509` | The date the buyer assigned to the PO | | **G5003** | Purchase Order Number | `GRO-456789` | Your match key for every document that follows | | **G5004** | Tax Exempt Code | | Rarely used | | **G5005** / **G5006** | Link number, link sequence | | Group related orders. Sent together or not at all | | **G5007** | Purchase Order Type Code | | For example `NE` for a new order, if the buyer sends it | `G50` replaces the 850's `BEG`. Note what is missing: there is no purpose code like `BEG01`. Changes to an order come on an [876](/guides/edi/876-grocery-products-purchase-order-change), not on a second 875. Grocery buyers' guides state this outright, so a repeated PO number on a new 875 is a duplicate to investigate, not an update. ### G62: Date/Time ``` G62*02*20260516~ ``` `G6201` qualifies the date and `G6202` holds it. Common grocery qualifiers: | Code | Meaning | |---|---| | `02` | Delivery requested on this date | | `10` | Requested ship or pick-up date | | `01` | Cancel after this date | | `53` / `54` | Deliver not before / no later than | | `37` / `38` | Ship not before / no later than | `G6203` and `G6204` can add a time. A buyer that books dock appointments may send a delivery window rather than one date, so map every `G62` the guide lists, not just the first. ### N1 Loop: Parties ``` N1*ST*ACME GROCERY DC #001*92*001~ ``` `N101` gives the role (`ST` ship-to, `BT` bill-to, `VN` vendor, `BY` buyer), `N102` the name, and `N103`/`N104` the ID qualifier and code. Grocery buyers often use a GLN (qualifier `UL`) or their own DC number (`92`). The ship-to code is what routes the order to the right warehouse, so map it to your ship-to master, not by name. ### G68: Line Item Detail (Product) ``` G68*5*CA*14.99*001234567895*VN*BREAD-WW-24*UP*012345678905~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **G6801** | Quantity Ordered | `5` | Quantity in the unit in `G6802` | | **G6802** | Unit of Measure | `CA` | `CA` case, `LB` pound, `EA` each, and others the buyer allows | | **G6803** | Item List Cost | `14.99` | Cost per unit of `G6802` | | **G6804** | U.P.C. Case Code | `001234567895` | 12-digit case code. `G6804` or `G6805` must be present | | **G6805** / **G6806** | ID qualifier, ID | `VN`, `BREAD-WW-24` | `VN` vendor item, `IN` buyer item, `UK` GTIN-14, `UP` consumer UPC | | **G6807** / **G6808** | ID qualifier, ID | `UP`, `012345678905` | A second identifier | | **G6809** | Price Bracket Identifier | | Which price bracket applies | | **G6810** / **G6811** | Quantity Cost, unit | `124900`, `LB` | Cost in a different unit, four implied decimals | | **G6812** / **G6813** | Price list number, issue | | Which price list the cost comes from | | **G6814** / **G6815** | Pre-price quantity, retail pre-price | | For pre-priced packs | Two checks matter more than the rest. Validate the cost against your price file in the same unit: $14.99 a case and $14.99 a pound are very different orders. And confirm which identifier the buyer treats as the key. C&S's guide, for example, sends its own product code with qualifier `IN`. ### G69 and G70: Description, Pack and Size ``` G69*WHOLE WHEAT BREAD 24OZ~ G70*12*24*OZ~ ``` `G6901` is a free-text description of up to 45 characters. `G70` carries the pack (`G7001`, units per case), the size (`G7002` and `G7003`, here 24 ounces) and optional codes. `G7009` is the pallet tie and tier as six digits: the first three are cases per layer, the last three are layers per pallet. A pack on the order that differs from your item file usually means the buyer's item setup is out of date. Fix it through [item maintenance](/guides/edi/888-item-maintenance) before you ship. ### G72 and G73: Allowances and Charges ``` G72*47*02***1.50*30*CA~ G73*SPRING ITALIAN PROMOTION~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **G7201** | Allowance or Charge Code | `47` | Price and marketing allowance. `97` cents off, `66` slotting, `504` freight | | **G7202** | Method of Handling | `02` | `02` off invoice, `01` bill back | | **G7205** | Rate | `1.50` | Per unit. Only one of rate, total amount or percent is sent | | **G7206** / **G7207** | Quantity, unit | `30`, `CA` | The quantity the rate applies to | | **G7208** | Total Amount | | Two implied decimals | | **G7209** | Percent | | A percentage allowance | Sign conventions differ. The Harris Teeter guide's sample sends allowance rates and amounts as negative numbers; others send them positive and let the code say it is an allowance. Follow the buyer's guide, and make sure the same deal reaches the 880. ### G76: Total Purchase Order ``` G76*45*UN*130*LB****33455~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **G7601** | Quantity Ordered | `45` | Total quantity | | **G7602** | Unit of Measure | `UN` | Unit of the total | | **G7603** / **G7604** | Weight, unit | `130`, `LB` | Total weight | | **G7605** / **G7606** | Volume, unit | | Total cube | | **G7608** | Amount | `33455` | Total order amount as the buyer calculates it, two implied decimals: $334.55 | Guides define `G7601` differently. The Harris Teeter guide says it is the hash total of every `G6801`, so a mixed order adds cases and pounds together. C&S's guide calls it the total cases. Recompute the total from the lines when the 875 arrives and stop the order if it does not match. A mismatch usually means a line was dropped in translation. ## EDI 875 vs EDI 850 | | 850 Purchase Order | 875 Grocery Products PO | |---|---|---| | **Header segment** | `BEG` | `G50` | | **Purpose code** | `BEG01` (original, replace, cancel and so on) | None. Changes go on an 876 | | **Dates** | `DTM` | `G62`, header only | | **Line segment** | `PO1` | `G68` | | **Line number** | `PO101` | None. Match on identifiers | | **Description** | `PID` | `G69` | | **Pack and size** | `PO4` | `G70` | | **Allowances and charges** | `SAC` | `G72` / `G73` | | **Totals** | `CTT` (optional) | `G76` (mandatory) | | **Change document** | [860](/guides/edi/860-purchase-order-change) | [876](/guides/edi/876-grocery-products-purchase-order-change) | | **Invoice usually paired with it** | [810](/guides/edi/810-invoice) | [880](/guides/edi/880-grocery-products-invoice) or 810, per the buyer | | **Functional group (`GS01`)** | `PO` | `OG` | Which one a grocery buyer sends is its choice, not yours. Many grocery chains and wholesalers send the 875 for warehouse orders, while others use the 850 even for food. If you sell into both, you need both maps. ## Where the 875 Sits in the Grocery Order Flow 1. **[888 Item Maintenance](/guides/edi/888-item-maintenance)** and **[889 Promotion Announcement](/guides/edi/889-promotion-announcement).** Items and deals are set up before anyone orders. 2. **875 Grocery Products Purchase Order.** The buyer orders. 3. **[997 Functional Acknowledgment](/guides/edi/997-functional-acknowledgment).** The supplier confirms the 875 arrived and parsed. 4. **[855 PO Acknowledgment](/guides/edi/855-purchase-order-acknowledgment)**, if the buyer asks for one. 5. **[876 Grocery PO Change](/guides/edi/876-grocery-products-purchase-order-change).** The buyer changes or cancels the order. 6. **[856 Ship Notice](/guides/edi/856-ship-notice).** The supplier describes the shipment. 7. **[880 Grocery Products Invoice](/guides/edi/880-grocery-products-invoice)** or an 810. The supplier bills, at actual weight for catch-weight items. 8. **[820 Payment Order/Remittance Advice](/guides/edi/820-payment-order).** The buyer pays and reports deductions. For direct store delivery the flow is different: the delivery is recorded on an [894](/guides/edi/894-delivery-return-base-record) at the store, and some buyers send a DSD version of the 875 to the route ahead of time. For the wider picture, see our guide to [grocery EDI requirements](/blog/grocery-edi). ## Common 875 Errors and How to Prevent Them | Error | What happens | Prevention | |---|---|---| | **875 mapped like an 850** | Order loads empty or partial | Build a separate map: `G50`, `G68`, `G76`, not `BEG`, `PO1`, `CTT` | | **Lines matched by position** | Items swapped between lines | Match on case UPC, GTIN or buyer item code | | **Pound quantity read as cases** | Ships 40 cases instead of 40 lb | Always read `G6801` with `G6802` | | **`G6810` read without implied decimals** | Cost off by a factor of 10,000 | Divide `G6810` by 10,000; it is an N4 field | | **`G7608` read as dollars** | Totals off by a factor of 100 | Two implied decimals: `33455` is $334.55 | | **Allowance dropped** | Invoice bills the full cost, buyer deducts the deal | Carry `G72` from the 875 through to the 880 | | **Second 875 with the same PO number treated as a change** | Order shipped twice, or the change lost | Changes come on the 876; flag duplicate PO numbers | | **Unknown case code** | Order held or rejected | Keep the buyer's item file in step with yours | | **`G76` not checked** | Dropped lines go unnoticed | Recompute totals on receipt | Paste any 875 you are unsure about into the [free EDI inspector](/edi-inspector) to see each line's quantity, unit, cost and identifiers, with the totals checked. ## 875 Implementation Checklist Before your first live 875 with a grocery buyer: - Get the buyer's 875 guide and confirm `GS01` `OG` and the `GS08` version (often `004010UCS`) - List the `G62` qualifiers it sends and map each one - Confirm which identifier it uses as the line key: 12-digit case code, GTIN-14 or its own item code - Find out how it orders catch-weight items: pounds in `G6801`, or cases with a per-pound cost in `G6810` - Load its allowance codes and handling methods for `G72` - Confirm how it calculates `G7601` and `G7608` - Confirm whether it expects an 855, and whether it sends changes on an 876 - Make sure your 856 and invoice are built from the order, including deals - Test with fixed-weight, catch-weight and allowance lines, and a multi-store split if the buyer uses one - Watch 997s and early invoices for mismatches in the first weeks The [EDI document types reference](/edi-document-types) shows how the 875 fits with the rest of the grocery family, and our page on [EDI for grocery suppliers](/edi-for/grocery-and-retail-suppliers) covers the wider requirements. ## Handling Grocery Orders With OrderSync Your EDI buyers send 875s and 850s. Your independent stores and foodservice accounts send PDFs, emails and spreadsheets, and someone keys them in. Either way, the same problems come up: case codes that do not match your item master, pounds read as cases, and deals that never reach the invoice. OrderSync reads inbound orders in any format, including EDI 875s and 850s, PDFs, emails and spreadsheets. It matches customers, items and units to your catalog, and outputs valid X12 or clean data to your ERP. Paste any 875 into the [free EDI inspector](/edi-inspector) for a plain-English summary, read more about [purchase order automation](/purchase-order-automation), or [book a 15-minute walkthrough](/book) to see your own grocery orders processed. ## Frequently Asked Questions
### What is an EDI 875 used for? A grocery retailer, wholesaler or foodservice distributor sends the EDI 875 to order products from a supplier. It names the order in G50, gives delivery dates in G62, lists each item in G68 with quantity, unit, cost and case UPC, and totals the order in G76. ### What is the difference between EDI 875 and EDI 850? Both are purchase orders. The 850 uses BEG, PO1 and CTT, and is used across retail and manufacturing. The 875 uses the grocery G-segments: G50 for the header, G68 for lines with no line number, G72 for allowances and a mandatory G76 total. It travels in functional group OG, not PO. ### How does an EDI 875 handle catch-weight items? The buyer either orders the item in pounds, with LB in G6802 and a cost per pound in G6803, or orders cases and gives a per-pound cost in G6810 with LB in G6811. Either way the order amount is an estimate, and the invoice bills the actual weight shipped. ### Does the EDI 875 carry sell-by dates or lot numbers? Not per line. In version 4010 the only date segment, G62, is in the header. Shelf-life requirements are usually set in the buyer's vendor agreement and item setup, and lot numbers for traceability travel on the shipment records the supplier sends after picking. ### What does G50 mean in an EDI 875? G50 is the 875 header. G5001 is the order status code, usually N for an original order, G5002 is the purchase order date, and G5003 is the purchase order number. Optional elements add a tax exempt code, link numbers for related orders, and a purchase order type. ### What functional group code does an EDI 875 use? GS01 is OG, the grocery order group code shared with the 876 change. Grocery buyers commonly put 004010UCS, or a later UCS version named in their guide, in GS08. ### How do grocery buyers change an EDI 875? With an EDI 876 Grocery Products Purchase Order Change, not a second 875. The 876 names the original PO in G92 and restates the new values, with a zero quantity deleting a line and change type CF cancelling the order. ### What invoice pairs with the EDI 875? The EDI 880 Grocery Products Invoice is the grocery invoice built on the same G-segments, but some buyers that order on the 875 want an 810 instead. The buyer's guide says which one it accepts.
--- # EDI 876 Grocery PO Change: Segments and Example Source: https://ordersync.io/guides/edi/876-grocery-products-purchase-order-change > EDI 876 explained: how grocery buyers change an 875 order, G92 change type codes, the G68 restated line, zero-quantity deletes, 876 vs 860, and common errors. The EDI 876 Grocery Products Purchase Order Change is the X12 transaction a grocery retailer or wholesaler sends to change an 875 purchase order it already sent. It names the original PO, states the type of change, and restates the new values. A zero quantity deletes a line, and change type CF cancels the order. **The EDI 876 is the grocery version of the purchase order change.** When a grocery buyer moves a delivery date, raises a promoted item, or cuts a line from an order it sent on an [875 Grocery Products Purchase Order](/guides/edi/875-grocery-product-purchase-order), the 876 is how that change reaches the supplier. It does the job the [860 Purchase Order Change](/guides/edi/860-purchase-order-change) does for an 850, but it works differently, and the difference trips up suppliers who map it like an 860. This guide covers what the 876 carries, the restatement rule that governs every change, the G92 change type codes, every segment you will map, two live examples (a restated order and a cancellation), how it compares to the 860, and the errors that ship the wrong quantity. ## What Is an EDI 876? **An EDI 876 is the Grocery Products Purchase Order Change transaction set defined by the [ASC X12 standards body](https://x12.org/products/transaction-sets), sent by a retailer or wholesaler to request a change to a grocery purchase order it previously submitted.** It belongs to the grocery family of X12 documents that grew out of the Uniform Communication Standard (UCS), which is why its segments carry the "G" prefix and why many grocery guides label the version `004010UCS`. Authoritative references for 876 work: - The [X12 transaction set catalog](https://x12.org/products/transaction-sets) defines the 876 structure, its segment order, and the G92 change type codes - [GS1 US](https://www.gs1us.org/industries-and-insights/standards) governs the UPC and GTIN identifiers carried on every 876 line, including the case code in `G6804` - Each grocery buyer publishes its own 876 implementation guide, which narrows the change types it sends and says how its changes should be applied **Who sends it?** The buyer: a grocery retailer, a wholesaler, or a distributor ordering from a manufacturer. **Who receives it?** The supplier that received the original 875. **When is it sent?** Any time after the 875 and before the order ships. Late changes, sent after the supplier has picked the order, are where most disputes start. **Why does it matter?** An 876 that is missed or applied wrongly means the supplier ships the old order. In grocery that turns into refused product at the dock, short-pays on the [880 invoice](/guides/edi/880-grocery-products-invoice), and perishables that cannot be resold. ## How the 876 Restates an Order The X12 standard sets one rule for the 876 that shapes everything else: **changes are made by sending the new value of each field, not the difference.** To take a line from 5 cases to 8, the 876 says 8, not "plus 3". To delete an item, the buyer restates its quantity as zero. Three practical consequences follow: 1. **There is no line-level change code.** The 860 marks each changed line with a `POC` segment and a code such as "quantity increase". The 876's line segment, `G68`, has no element for that. The change type lives once, in the header `G92`, and the lines carry the new values. 2. **There is no line number.** `G68` has no assigned line number element. You match each restated line to the original order by its item identifiers (the case UPC in `G6804`, or the product IDs in `G6805` to `G6808`), never by position. 3. **You have to compare against the original.** To know what actually changed, your system diffs the 876 against the 875 it already holds. A supplier that overwrites the order without that comparison cannot tell its warehouse which lines moved. Some grocery buyers send every 876 as a full restatement of the order (change type `RZ`, replace all values). In that case the 876 carries the whole order again, including lines that did not change. Others send only the lines that changed. The buyer's guide says which, and it is the first thing to confirm, because it decides what a line missing from the 876 means: unchanged, or removed. ## G92 Change Type Codes `G9201` holds one code for the whole transaction. The X12 code list (element 670) is long, and a grocery buyer uses only a few of them. Some grocery buyers' published 876 guides list just two: `RZ` and `CF`. | Code | Meaning | What the supplier does | |---|---|---| | **RZ** | Replace All Values | Replace the values on the original order with the values on the 876 | | **CF** | Cancel Previously Transmitted Purchase Order | Cancel the whole order. Nothing ships | | **QI** | Quantity Increase | Raise quantities to the restated values | | **QD** | Quantity Decrease | Lower quantities to the restated values | | **AI** | Add Additional Item(s) | Add the new lines to the order | | **DI** | Delete Item(s) | Remove the lines restated with zero quantity | | **PC** | Price Change | Update the item list cost on the restated lines | | **CT** | Change of Dates | Apply the new dates in `G62` | | **CA** | Changes to Line Items | General line changes, applied as restated | Treat the buyer's guide as the source of truth. A code your map does not recognize should stop the change for review, not fall through as a no-op. ## Interactive Example: Restated Grocery Order (876, Change Type RZ) This 876 changes PO `GRO-456789`, the wholesaler order in our [875 guide](/guides/edi/875-grocery-product-purchase-order). The original asked for 5 cases of whole wheat bread and 40 lb of sharp cheddar for delivery on May 16. Three days later the buyer sends this change: - `G92*RZ` says the values replace the original order, and repeats the original PO number and PO date so the supplier can find it - `G62*02` moves the requested delivery date to May 18 - The bread line is restated at **8 cases** - The cheddar line is restated at **0 lb**, which deletes it - `NTE` spells out the change for the people reading it, which buyers often include and suppliers should not rely on Use the **Plain English** tab for a readable summary, or click any segment to break it down element by element. Notice that neither line says what it was before. The only way to report "bread up 3 cases, cheddar removed" to your warehouse is to compare against the stored 875. ## Interactive Example: Grocery Order Cancellation (876, Change Type CF) A cancellation is the shortest 876. `G92*CF` names the order and the date the buyer gave it, and no line items follow. The ship-to `N1` stays because the standard requires at least one party loop. If the order is already picked or on a truck when a `CF` arrives, call the buyer. The 876 does not tell you whether a load in transit will be refused or received. ## 876 Structure at a Glance The 876 mirrors the 875. The header identifies the change and the order, the detail loop restates items, and an optional summary closes it. In the version 4010 standard: | Area | Segment | Name | Usage | Notes | |---|---|---|---|---| | Header | **ST** | Transaction Set Header | Mandatory | `ST01` = `876` | | Header | **G92** | Purchase Order Change Type | Mandatory | Change type, original PO date, PO number | | Header | **N9** | Reference Identification | Optional | Related references, such as associated POs | | Header | **G61** | Contact | Optional | Buyer name and phone | | Header | **G62** | Date/Time | Optional | Requested delivery or ship date | | Header | **NTE** | Note/Special Instruction | Optional | Free-text notes | | Header | **G66** | Transportation Instructions | Optional | Delivered, collect or customer pick-up | | Header | **G23** | Terms of Sale | Optional | Payment terms | | Header loop | **N1** to **N4** | Name and address | Mandatory, repeats | Ship-to, bill-to, vendor | | Header loop | **G72** / **G73** | Allowance or Charge | Optional | Order-level allowances and charges | | Detail loop | **G68** | Line Item Detail (Product) | Optional, repeats | Restated quantity, unit, cost and item IDs | | Detail loop | **G69** | Line Item Detail (Description) | Optional | Item description | | Detail loop | **G70** | Line Item Detail (Miscellaneous) | Optional | Pack and size | | Detail loop | **N9**, **G23** | References, terms | Optional | Line-level references and terms | | Detail loop | **G72** / **G73** | Allowance or Charge | Optional | Line-level allowances and charges | | Detail loop | **N1** / **QTY** | Store or location quantity | Optional | Splits a line across stores or DCs | | Detail loop | **SLN** | Subline Item Detail | Optional | Components of an assortment or display | | Summary | **G76** | Total Purchase Order | Optional | Total quantity, weight, volume and amount | | Summary | **SE** | Transaction Set Trailer | Mandatory | Segment count and control number | In the GS envelope, the functional group code in `GS01` is **OG**, the same group code the 875 uses. Buyers' guides tighten these rules, so read "optional" as "optional unless the guide says otherwise". ## Key Segments Explained ### G92: Purchase Order Change Type ``` G92*RZ*20260509*GRO-456789~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **G9201** | Change or Response Type Code | `RZ` | The type of change. See the code table above | | **G9202** | Date | `20260509` | The date the buyer assigned to the **original** purchase order, not the date of the change | | **G9203** | Purchase Order Number | `GRO-456789` | The original PO number. This is your match key | `G92` replaces the 875's `G50` header. The most common mapping mistake is reading `G9202` as the change date. It is the PO date, and it helps you find the right order when a buyer reuses PO numbers across years. The date and time the change was sent sit in the GS envelope. ### G62: Date/Time ``` G62*02*20260518~ ``` `G6201` qualifies the date: `02` is the requested delivery date and `10` the requested ship or pick-up date, among others. `G6202` is the date. On an `RZ` change, a `G62` that differs from the original is the new date. A grocery buyer that runs delivery appointments may treat a changed date as a new appointment request, so check that your scheduling side sees it, not just order entry. ### N1 Loop: Parties ``` N1*ST*ACME GROCERY DC #001*92*001~ ``` The 876 restates the parties so the supplier can confirm the order. `N101` names the role (`ST` ship-to, `BT` bill-to, `VN` vendor), `N102` the name, and `N103`/`N104` the ID qualifier and code. A changed ship-to on an 876 is a real change. Treat it as one, not as a formatting difference. ### G68: Line Item Detail (Product) `G68` is the restated line. Every value on it is the new value. ``` G68*8*CA*14.99*001234567895*VN*BREAD-WW-24*UP*012345678905~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **G6801** | Quantity Ordered | `8` | The new total quantity. `0` deletes the line | | **G6802** | Unit of Measure | `CA` | `CA` case, `LB` pound, `EA` each, and other codes the buyer allows | | **G6803** | Item List Cost | `14.99` | Cost per unit of measure | | **G6804** | U.P.C. Case Code | `001234567895` | The 12-digit case code | | **G6805** | Product/Service ID Qualifier | `VN` | What the next element is. `VN` = vendor item number | | **G6806** | Product/Service ID | `BREAD-WW-24` | Your item number | | **G6807** | Product/Service ID Qualifier | `UP` | A second identifier. `UP` = consumer UPC | | **G6808** | Product/Service ID | `012345678905` | The consumer UPC | Later elements carry price brackets, a cost in a different unit (`G6810`/`G6811`), price list references and a retail pre-price. Most buyers leave them empty. Two rules matter more than the rest. Match lines on the identifiers, since `G68` has no line number, and confirm with the buyer which identifier it treats as the key: some grocery buyers use the case code, others their own item code in `G6805`/`G6806`. And read the cost with its unit: a catch-weight line in `LB` carries a cost per pound, so a change from `CA` to `LB` on the same item changes what the cost means. ### G69 and G70: Description and Pack ``` G69*WHOLE WHEAT BREAD 24OZ~ G70*12*24*OZ~ ``` `G6901` is a free-text description. `G70` carries the pack (`G7001`, consumer units per case) and size (`G7002` and `G7003`, here 24 ounces). A pack change on an 876 means the buyer expects a different case configuration. If your item file disagrees, resolve it before you ship. ### G72 and G73: Allowances and Charges `G72` carries an allowance or charge at order level (in the header) or line level (in the detail). It holds an allowance or charge code, a handling method (for example off-invoice or bill-back), and a rate, quantity or total amount. `G73` adds a free-text description. The codes a buyer uses are listed in its guide and must match the deal agreed with the category buyer. When an 876 changes a deal, the 880 that follows has to bill the changed deal, not the original. ### G76: Total Purchase Order ``` G76*8*CA~ ``` `G76` gives the order's total quantity and unit, with optional weight, volume and total amount (`G7608`, with two implied decimals). It is optional on the 876, and some buyers' guides leave it out of the change entirely. If it is present, recompute it from the restated lines and compare. ## EDI 876 vs EDI 860 Both change a purchase order that was already sent. They do it differently. | | 860 Purchase Order Change | 876 Grocery PO Change | |---|---|---| | **Changes which order** | An [850](/guides/edi/850-purchase-order) | An [875](/guides/edi/875-grocery-product-purchase-order) | | **Header segment** | `BCH` | `G92` | | **Line segment** | `POC` | `G68` | | **Change type** | Per line, in `POC02` | Once, for the whole transaction, in `G9201` | | **Line identification** | Line number in `POC01` plus item IDs | Item IDs only, no line number | | **How quantities change** | Quantity ordered plus the quantity left to receive | The new total quantity, restated | | **Deleting a line** | Line-level delete code | Restate the quantity as zero | | **Functional group (`GS01`)** | `PC` | `OG` | | **Typical users** | General merchandise retail, manufacturing | Grocery retailers, wholesalers, foodservice | If your map treats the 876 as "an 860 with different segment names", it will miss deletions (a zero quantity looks like a valid line) and apply changes to the wrong lines (because there is no line number to anchor on). ## Where the 876 Sits in the Grocery Order Flow 1. **[875 Grocery Products Purchase Order](/guides/edi/875-grocery-product-purchase-order).** The buyer orders. 2. **[997 Functional Acknowledgment](/guides/edi/997-functional-acknowledgment).** The supplier confirms receipt of the 875. 3. **[855 PO Acknowledgment](/guides/edi/855-purchase-order-acknowledgment)**, if the buyer requires one. 4. **876 Grocery Products Purchase Order Change.** The buyer changes or cancels the order. The supplier answers with a 997 to confirm receipt. 5. **Change response**, if the buyer requires one. The general X12 answer to a PO change is the [865 Purchase Order Change Acknowledgment](/guides/edi/865-purchase-order-change-acknowledgment). Many grocery buyers ask for none, so check the guide. 6. **[856 Ship Notice](/guides/edi/856-ship-notice).** The ASN must reflect the changed order, not the original. 7. **[880 Grocery Products Invoice](/guides/edi/880-grocery-products-invoice).** Bills the changed quantities and costs. 8. **[820 Payment Order/Remittance Advice](/guides/edi/820-payment-order).** The buyer pays, and deducts for anything that did not match. For direct store delivery, the order (where there is one) often goes straight to the route, and the record of what arrived is the [894 Delivery/Return Base Record](/guides/edi/894-delivery-return-base-record), not an ASN. An 876 against a DSD store order still has to reach the route before the truck loads. For the wider picture, see our guide to [grocery EDI requirements](/blog/grocery-edi). ## Common 876 Errors and How to Prevent Them | Error | What happens | Prevention | |---|---|---| | **Zero-quantity line treated as a valid line** | Item stays on the order at quantity 0, or the change is rejected | Map `G6801` = `0` to a line delete | | **Lines matched by position** | Changes land on the wrong items | Match on case UPC or the buyer's item ID, never order of appearance | | **`G9202` read as the change date** | Change filed against the wrong order or flagged as a duplicate | `G9202` is the original PO date; use it with `G9203` to find the order | | **Restatement vs changed-lines-only confused** | Lines missing from the 876 are silently dropped, or kept when they should go | Confirm the buyer's convention and code it per partner | | **Change applied after pick** | Wrong quantities ship; refused at the dock | Route 876s to the warehouse, not just order entry, and set a change cut-off with the buyer | | **Unit changed without the cost** | Case cost applied to a pound line, or the reverse | Validate cost against the unit on every restated line | | **Cancellation missed** | Full order ships and is refused | Alert on every `CF`, even when the order is already closed | | **Allowance change not carried to the 880** | Deduction on the invoice | Carry 876 deal changes through to billing | | **ASN built from the original order** | ASN does not match the changed PO | Build the 856 from the current order version | Run any 876 you are unsure about through the [free EDI inspector](/edi-inspector) to see each restated line with its quantity, unit, cost and identifiers side by side. ## 876 Implementation Checklist Before your first live 876 with a grocery buyer: - Get the buyer's 876 guide and list the `G9201` codes it sends - Confirm whether it restates the full order or only changed lines - Confirm which identifier it uses to match lines (case UPC, consumer UPC or its own item code) - Map `G6801` = `0` to a line delete, and test it - Store every 875 so the 876 can be compared against it - Agree a change cut-off, and what happens to changes received after the order is picked - Confirm whether the buyer expects an 865, an updated 855, or no response - Make sure the 856 and 880 are built from the changed order - Test with a quantity change, a date change, a deleted line, an added line and a cancellation - Monitor 997s for structural rejections in the first weeks of production If you are mapping the grocery family for the first time, the [EDI document types reference](/edi-document-types) shows how the 875, 876, 880 and the DSD documents fit together, and our page on [EDI for grocery suppliers](/edi-for/grocery-and-retail-suppliers) covers the wider requirements. ## Handling Grocery Orders and Changes With OrderSync Grocery buyers change orders constantly: a delivery date moves, a promotion lifts a quantity, a line gets cut. EDI partners send those changes as 876s and 860s. Everyone else sends a revised PDF, an email that says "make it 8 cases", or a phone call to the sales desk. OrderSync reads inbound orders in any format, including EDI 850s and 875s, PDFs, emails and spreadsheets, matches customers, items and units to your catalog, and outputs valid X12 or clean data to your ERP. When a customer sends a revised order document, OrderSync handles the change as part of order intake, so the order in your ERP reflects the latest version. Paste any 876 into the [free EDI inspector](/edi-inspector) to see it parsed with a plain-English summary, read more about [purchase order automation](/purchase-order-automation), or [book a 15-minute walkthrough](/book) to see your own orders processed. ## Frequently Asked Questions
### What is an EDI 876 used for? A grocery retailer, wholesaler or distributor sends the EDI 876 to change or cancel an 875 grocery purchase order it already sent. It identifies the original order, states the type of change in the G92 segment, and restates the new values for the order and its lines. ### What is the difference between EDI 876 and EDI 860? Both change a purchase order. The 860 changes an 850 and marks each changed line with its own change code in the POC segment. The 876 changes an 875, carries a single change type in G92, and restates lines in G68 with no line number and no per-line change code. ### How do you delete a line on an EDI 876? Restate the line in G68 with a quantity of zero in G6801. The X12 standard expresses deletions as zero quantities, not as a separate delete segment. Some buyers also use change type DI, but the zero quantity is what removes the item. ### What does G92 mean in an EDI 876? G92 is the 876 header. G9201 is the change type code (for example RZ to replace all values or CF to cancel), G9202 is the date of the original purchase order, and G9203 is the original purchase order number. ### How do I cancel a grocery purchase order with an 876? The buyer sends an 876 with G9201 set to CF, which cancels the previously transmitted purchase order. No line items are needed. The supplier should stop the order and contact the buyer if it has already been picked or shipped. ### Does an EDI 876 need a response? The supplier always returns a 997 to confirm the 876 arrived and was structurally valid. A business response is up to the buyer: some require an 865 Purchase Order Change Acknowledgment or an updated 855, and many grocery buyers ask for none. The buyer's guide says which. ### Are quantities on an EDI 876 the change or the new total? The new total. The X12 standard says changes are made by restating the new value of each field, not the difference between old and new. An 876 that takes a line from 5 cases to 8 says 8. ### What functional group code does an EDI 876 use? GS01 is OG, the grocery order group code shared by the 875 and 876. The version in GS08 is commonly 004010UCS or a later UCS release named in the buyer's guide.
--- # EDI 879 Price Information: Grocery Cost Guide Source: https://ordersync.io/guides/edi/879-price-information > EDI 879 Price Information explained: G91 change types, effective dates, G28 items, G40 old and new cost, G93 price brackets, examples, and 879 vs 832 and 888. The EDI 879 Price Information is the X12 transaction a grocery manufacturer, supplier or broker uses to send item costs to a retailer or wholesaler: initial costs for new items, cost increases and decreases, and the dates they take effect. Each item carries its case and consumer codes, pack, and the new and old cost, optionally by quantity bracket. **The EDI 879 is how a grocery supplier changes its cost in the retailer's system.** When a manufacturer raises a case cost, the retailer's buying system, its receiving and its accounts payable all need the new figure on the same date. If they do not get it, orders go out at the old cost, invoices come in at the new one, and the difference returns as a deduction. The 879 is the price half of grocery item data. The [888 Item Maintenance](/guides/edi/888-item-maintenance) sets up the item and leaves price changes out; the 879 carries them. This guide covers what the 879 holds, its change types and dates, two live examples (a cost increase and new item bracket pricing), every segment you will map, and the errors that turn into short-pays. ## What Is an EDI 879? **An EDI 879 is the Price Information transaction set defined by the [ASC X12 standards body](https://x12.org/products/transaction-sets). Its X12 purpose statement says it enables a manufacturer, supplier, broker or agent to provide a trading partner with pricing information.** It belongs to the grocery Uniform Communication Standard (UCS) family alongside the 888 and the [889 Promotion Announcement](/guides/edi/889-promotion-announcement), uses grocery "G" segments, and travels in functional group `QG` (Product Information). Authoritative references for 879 work: - The [X12 transaction set catalog](https://x12.org/products/transaction-sets) defines the 879 structure and the change type and date code lists - The [Stedi X12 4010 reference](https://www.stedi.com/edi/x12-004010/879) lists every 879 segment with its usage and repeat counts - The [Army and Air Force Exchange Service 879 guide](https://www.aafes.com/EDI/pdf/879r41UCS.pdf) is a public 4010 UCS implementation, including the note that its 879 must accompany the 888 when a new item is set up - [Kroger's published 879 specification](https://edi.kroger.com/EDIPortal/documents/Maps/kroger/5010_879.pdf) for retail price changes shows a 5010 UCS implementation with first order, ship and arrival dates and bracket pricing - [GS1 US](https://www.gs1us.org/industries-and-insights/standards) governs the UPC case codes, consumer UPCs and GTINs that identify each item **Who sends it?** The supplier side: a manufacturer, its broker or agent. **Who receives it?** A grocery retailer or wholesaler, into the cost file its buying, receiving and payables systems share. **When is it sent?** With or soon after an 888 for a new item, and ahead of every cost change, with enough lead time for the retailer's guide. The dates inside the 879 tell the retailer when the new cost applies. **Why does it matter?** Grocery margins are thin and orders are frequent. A cost change that reaches the retailer late, or with the wrong date, affects every order and invoice in between, and each one becomes a deduction to research. ## Where the 879 Sits in Grocery Item and Cost Data Grocery item data moves in a fixed order, and the 879 is the cost step: 1. **Item setup.** The supplier sends the case and consumer unit data on an 888, or through the retailer's chosen catalog route. 2. **Initial cost.** The 879 with change type `W` (new) gives the starting cost. Some retailers require it to travel with the 888. 3. **Promotions.** Temporary deals and allowances go on the 889, separate from the list cost. 4. **Orders and invoices.** The retailer orders on an [875](/guides/edi/875-grocery-product-purchase-order) or [850](/guides/edi/850-purchase-order) at the cost on file, and the supplier bills on an [880](/guides/edi/880-grocery-products-invoice) or [810](/guides/edi/810-invoice). For direct store delivery, the [894](/guides/edi/894-delivery-return-base-record) is checked against the same cost file at the back door. 5. **Cost changes.** Every later increase or decrease goes on a new 879 with change type `B`, dated ahead of the change. Retailers that do not take the 879 usually take costs on an [832 Price/Sales Catalog](/guides/edi/832-price-sales-catalog), a GS1 data pool, or their own portal. Which one applies is the retailer's choice, set out in its guide. ## Interactive Example: Case Cost Increase (G91 Change Type B) A granola manufacturer raises the case cost of two 16 oz items from $39.84 to $42.60, starting with orders placed on January 4. `G91*B` marks this as a price change. Two `N1` loops name the vendor and the buyer. Three heading `G62` dates give the first order date (`87`), first ship date (`88`) and first arrival date (`89`) for the new cost. Each item is a `G28` (case code and consumer UPC), a `G20` (12 per case, 16 oz), a `G69` description and a `G40` with the new cost, the old cost and the unit (`CA`). Use the **Plain English** tab for a readable summary, or click any segment to break it down element by element. ## Interactive Example: New Item Pricing With Brackets (G91 Change Type W) When the same two items were first set up on an 888, the supplier sent their starting costs on an 879 with `G91*W` (new). This file defines two quantity brackets in the heading with `G93` (1 to 49 cases, and 50 cases or more), then gives each item a `G40` per bracket: $39.84 and $38.40 per case. ## 879 Structure at a Glance | Area | Segment | Name | Usage | Notes | |---|---|---|---|---| | Heading | **ST** | Transaction Set Header | Mandatory | `ST01` = `879` | | Heading | **G91** | Price Change Status | Mandatory | The change type for the whole file | | Heading loop | **N1, N2, N3, N4** | Name and address | Mandatory loop, up to 999 | Vendor, buyer, broker; buyer loops can define price areas | | Heading | **N9** | Reference Identification | Optional | | | Heading | **G61** | Contact | Optional | | | Heading | **NTE** | Note/Special Instruction | Optional | | | Heading | **G36** | Price List Reference | Optional | The supplier's price list number and date | | Heading | **G26** | Pricing Conditions | Optional | Conditions that apply to the prices | | Heading | **G43** | Promotion/Price List Area | Optional | Pricing market or store numbers | | Heading | **G62** | Date/Time | Mandatory, up to 10 | Effective dates for every item in the file | | Heading | **G93** | Price Bracket Identification | Optional, up to 50 | Defines quantity or weight brackets | | Heading | **G46** | Promotion Allowance/Charge | Optional | | | Detail loop | **G28** | Line Item Numbers | Mandatory, repeats | The item: case code, consumer UPC or other IDs | | Detail loop | **G20** | Item Packing Detail | Optional | Pack, size, weight, volume, inner pack | | Detail loop | **G69** | Line Item Detail, Description | Optional | | | Detail loop | **G26, G43** | Pricing conditions and area | Optional | Item-level overrides | | Detail loop | **G62** | Date/Time | Optional, up to 4 | Item-level dates that override the heading | | Detail loop | **G46, G22, SAC** | Allowances, prepricing, charges | Optional | | | Bracket loop | **G40** | Bracket Price | Mandatory in loop, up to 100 per item | New and old cost per bracket | | Bracket loop | **G46** | Promotion Allowance/Charge | Optional | Allowance tied to that bracket | | Trailer | **SE** | Transaction Set Trailer | Mandatory | Segment count and control number | In the envelope, `GS01` is **QG** and `GS08` is commonly `004010UCS`, or the UCS release the retailer names. Retailer guides cut this down sharply: many use only `G91`, the `N1` loops, `G62`, `G28`, `G20`, `G69` and `G40`. ## Key Segments Explained ### G91: Price Change Status ``` G91*B~ ``` `G91` has one element, the change type, and it sets how the receiver treats everything in the file. | Code | X12 meaning | Typical use | |---|---|---| | `W` | New | Initial costs, often for items just set up on an 888 | | `B` | Original Price Change Transaction | A cost change to existing items | | `C` | Cancel Previous Price Change Transaction | Withdraw a change sent earlier | | `G` | Add Items to a Previous Change Transaction | Add items you left off a change | | `H` | Delete Items from a Previous Change Transaction | Remove items from a change | | `J` | Replace All Dates Shown in a Previous Change | Move the effective dates | | `K` | Replace Prices Shown in a Previous Change Transaction | Correct the prices; some retailers use it for a full price file refresh | | `Q` | Replace Previous Change Transaction Entirely | Several kinds of change at once | | `I` / `D` | Increase Rate / Decrease Rate | Rate changes, where the guide uses them | The X12 list has 21 codes. Retailers accept a handful, and some give them specific meanings. One public guide, for example, uses `K` for a full item price file refresh. Use only the codes in your partner's guide. ### N1 Loop: Vendor, Buyer and Price Areas ``` N1*VN*PINE HOLLOW FOODS*1*081234567~ N1*BY*HARBOR GROCERY*1*069854900~ ``` `N101` names the role: `VN` for the vendor whose prices these are, `BY` for the buyer, and in some guides `BO` for the broker. `N103`/`N104` carry the ID (here `1` = DUNS). Some retailers use repeated `BY` loops to say which zones, divisions or locations a price applies to, and treat a file with no location as applying everywhere. That is a partner rule, so check the guide before relying on it. ### G62: Effective Dates ``` G62*87*20270104~ G62*88*20270104~ G62*89*20270106~ ``` `G6201` is the date qualifier and `G6202` the date. Heading `G62` dates apply to every item. A `G62` inside an item loop overrides the heading for that item. | Qualifier | Meaning | How retailers use it | |---|---|---| | `87` | First order date | The first date purchase orders go out at the new cost | | `88` | First ship date | The first date orders ship at the new cost | | `89` | First arrival date | The first date orders can arrive at the new cost | | `07` | Effective date | A single effective date; one public guide limits it to DSD items | | `09` | Process date | When the file was generated, sometimes with a time | Which of these your retailer requires, and which one drives its cost file, is in its guide. Get it wrong and the cost can switch a week earlier or later than you intended. ### G28: Line Item Numbers ``` G28*008451200116*084512001168~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **G2801** | U.P.C. Case Code | `008451200116` | The 12-character grocery case code | | **G2802** | U.P.C. Consumer Package Code | `084512001168` | The consumer UPC on the shelf unit | | **G2803 / G2804** | Product ID qualifier and ID | | For example `UK` with a 14-digit GTIN, or `VN` with your item number | | **G2805 / G2806** | Second qualifier and ID | | Another identifier, such as `UP` with a UPC | X12 requires at least one of `G2801`, `G2802` or `G2803`. The codes must match the item exactly as set up on the 888, since the retailer looks the cost up by them. Newer UCS guides move the case identifier to a 14-digit GTIN with qualifier `UK` in `G2803`/`G2804`. ### G20: Item Packing Detail ``` G20*12*16*OZ~ ``` `G2001` is the pack (consumer units per case), `G2002`/`G2003` the size and unit. Weight, volume, color and inner pack follow. It matters when the cost is per case: a retailer that stores unit costs divides the case cost by this pack, so a wrong pack here produces a wrong unit cost even when the case cost is right. ### G40: Bracket Price ``` G40**42.60*39.84****CA~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **G4001** | Price Bracket Identifier | | Links to a `G93` bracket in the heading. Empty when there are no brackets | | **G4002** | Item List Cost, New | `42.60` | The cost from the effective date. Mandatory | | **G4003** | Item List Cost, Old | `39.84` | The cost before the effective date | | **G4004** | Description | | Free text | | **G4005 / G4006** | Suggested retail, new and old | | Consumer price, where the retailer takes it here | | **G4007** | Unit of Measure | `CA` | The invoicing unit for the costs in `G4002` and `G4003` | | **G4008** | Price Identifier Code | | Optional pricing specification | | **G4009** | Number | | The shipping unit to billing unit conversion factor | Sending the old cost in `G4003` is optional in the standard but worth doing. It lets the retailer check that both sides agree on the starting point, and it makes a mistyped new cost easier to catch. Make sure `G4007` matches how you invoice: a case cost labeled `EA` is read as a cost per unit. ### G93: Price Bracket Identification ``` G93*1*1*CA*1 TO 49 CASES~ G93*2*50*CA*50 CASES OR MORE~ ``` `G9301` is the bracket identifier that `G4001` points to. `G9302`/`G9303` give the bracket's minimum quantity or weight and its unit, and `G9304` describes it. `G9308` can say whether freight is included in the bracket's price (`Y` or `N`). If a `G40` names a bracket, the heading must define it with a `G93`. ### G22: Pricing Information `G22` carries prepricing: whether the item is pre-priced and, if it is, the new suggested retail price and multiple (for example 2 for $5.00), with an effective date. One public guide accepts it on the 879 only when the pre-price changes together with the cost, and wants it on the 888 otherwise. ### G36, G26, G43 and G46 - **G36** names the supplier's price list and its date, so the retailer can tie the 879 to a published price sheet. - **G26** sets pricing conditions, such as a date basis or a minimum quantity. - **G43** identifies a pricing market or store number the price applies to. - **G46** carries an allowance or charge. Trade promotions belong on the 889; retailers that accept `G46` on the 879 say which kinds. ## EDI 879 vs 832, 888 and 889 | Document | Sent by | Purpose | Notes | |---|---|---|---| | **879 Price Information** | Manufacturer, supplier, broker | New costs, cost changes and their dates | Grocery UCS; price only | | **[888 Item Maintenance](/guides/edi/888-item-maintenance)** | Manufacturer, supplier, broker | Add, change, withdraw or delete items | Item data; price changes go on the 879 | | **[889 Promotion Announcement](/guides/edi/889-promotion-announcement)** | Manufacturer, broker | Temporary deals and allowances | Promotional money, not list cost | | **[832 Price/Sales Catalog](/guides/edi/832-price-sales-catalog)** | Vendor | Catalog with items, attributes and prices | General purpose; used across retail, distribution and grocery | The short version: the 879 changes list cost, the 889 announces temporary deals on top of it, and the 888 describes the item the cost belongs to. The 832 can do the item and price jobs in one document, which is why retailers outside grocery, and many inside it, use it instead. ## Common 879 Errors and How to Prevent Them | Error | What happens | Prevention | |---|---|---| | **Cost sent after the effective date** | Orders and invoices in between disagree; deductions follow | Send with the lead time in the retailer's guide | | **Wrong date qualifier** | New cost switches on the wrong day | Use the qualifiers the guide names (`87`, `88`, `89` or `07`) | | **Item codes that differ from the 888** | Cost not applied, or applied to the wrong item | Pull `G28` from the same item master as the 888 | | **Case cost with unit `EA` in `G4007`** | Cost read as per unit, multiplying it by the pack | Label the invoicing unit correctly | | **Pack in `G20` does not match the item file** | Wrong unit cost after the retailer divides | Keep the pack consistent with the 888 | | **`G40` bracket with no `G93`** | Bracket cannot be resolved; file rejected | Define every bracket in the heading | | **Change type the retailer does not accept** | File rejected or misapplied | Use only the `G91` codes in the guide | | **Invoicing at the new cost before the retailer's date** | Short-pay on the difference | Bill at the cost in effect on the retailer's chosen date | Cost errors rarely fail at the 879. They surface as price discrepancy deductions and [retail chargebacks](/glossary/retail-chargeback) on later invoices. The [EDI inspector](/edi-inspector) lays out each `G28` and `G40` by name, which makes a cost file quick to check before it goes out. ## 879 Implementation Checklist - Confirm the retailer takes the 879, or wants costs on an 832, a data pool or its portal - Get its 879 guide and the `G91` change types it accepts - Confirm which `G62` qualifier drives its cost file, and the lead time it needs - Confirm the item identifiers it wants in `G28` (12-digit case code, GTIN-14, consumer UPC) - Confirm case or unit cost, and set `G4007` and `G20` to match - Decide whether to send old cost in `G4003` (recommended where allowed) - If you use brackets, define each one in `G93` - Test a new item, an increase, a decrease and a cancellation, and watch the 997 and any 824 - Line up your own order entry and invoicing with the same effective date If you are new to grocery EDI, the [grocery EDI requirements guide](/blog/grocery-edi) and [EDI for grocery and retail suppliers](/edi-for/grocery-and-retail-suppliers) show how the 879 fits with orders, deliveries and invoices. ## Checking Order Prices Against Your Costs With OrderSync A cost change only works if the orders that follow carry the new cost. Grocery and food suppliers receive orders as EDI 875s and 850s, but also as emails, PDFs and spreadsheets from wholesalers, independents and DSD accounts, and an old cost on any of them becomes a dispute later. OrderSync reads those orders in any format, matches each line to your catalog by UPC, case code or the customer's item number, converts units, and outputs valid X12 or clean data to your ERP. Paste any 879 into the [free EDI inspector](/edi-inspector) to see it parsed with a plain-English summary, or [book a 15-minute walkthrough](/book) to see your own orders processed. ## Frequently Asked Questions
### What is an EDI 879 used for? The EDI 879 Price Information sends item costs from a grocery manufacturer, supplier or broker to a retailer or wholesaler. It carries initial costs for new items and later cost increases and decreases, with the dates they take effect and, optionally, quantity price brackets. ### What is the difference between EDI 879 and EDI 888? The 888 Item Maintenance sets up and maintains the item itself: case and consumer codes, pack, size, weight and dimensions. The X12 standard leaves price changes out of the 888 and puts them on the 879. Some retailers require the 879 to arrive with the 888 for a new item. ### What is the difference between EDI 879 and EDI 832? The 879 is a grocery UCS set that carries costs only, for items already set up. The 832 Price/Sales Catalog is a general-purpose catalog that can carry items, attributes and prices together. Retailers choose which they accept, and many outside grocery use the 832. ### What does G91 mean in an EDI 879? G91 is the Price Change Status segment. Its one element says what the file does: W for new pricing, B for a price change, C to cancel a previous change, K to replace prices in a previous change, and other codes for adding or deleting items and replacing dates. ### Where is the price in an EDI 879? The cost is in the G40 Bracket Price segment. G4002 holds the new cost and G4003 the old cost, both in the unit of measure given in G4007. When a G40 names a price bracket in G4001, that bracket is defined by a G93 segment in the heading. ### What dates does an EDI 879 use? G62 segments carry the dates. Grocery guides commonly use qualifier 87 for the first order date, 88 for the first ship date and 89 for the first arrival date at the new cost, or 07 for a single effective date. Heading dates apply to every item; item-level G62 dates override them. ### What functional group does the EDI 879 use? The 879 uses functional group QG (Product Information), the same group as the 888 and 889. Grocery retailers commonly name 004010UCS or a later UCS release in GS08, as set out in their implementation guides.
--- # EDI 880 Grocery Products Invoice: Segments and Example Source: https://ordersync.io/guides/edi/880-grocery-products-invoice > EDI 880 explained: the G01 header, G17 lines billed by case or actual weight, G72 allowances, G31 and G33 totals, 880 vs 810, and common deduction errors. The EDI 880 Grocery Products Invoice is the X12 transaction a grocery supplier sends to bill a retailer or wholesaler for goods it delivered. A G01 segment names the invoice and purchase order, G17 lines bill each item by case or actual weight, G72 applies deals, and G31 and G33 give the totals. It travels in functional group GP. **The EDI 880 is the invoice of the grocery supply chain.** It does the job of the [810 Invoice](/guides/edi/810-invoice) using the same grocery G-segments as the [875 purchase order](/guides/edi/875-grocery-product-purchase-order): `G01` instead of `BIG`, `G17` instead of `IT1`, `G72` instead of `SAC`, and `G31`/`G33` instead of `TDS`. A supplier that builds it like an 810 sends a document the buyer's translator cannot read. This guide covers what the 880 carries, how catch-weight items and deals are billed, every segment you will map, two live examples, how it compares to the 810, and the errors that turn into deductions. ## What Is an EDI 880? **An EDI 880 is the Grocery Products Invoice transaction set defined by the [ASC X12 standards body](https://x12.org/products/transaction-sets), used by a supplier or broker to request payment from a retailer or wholesaler for finished grocery goods.** The standard scopes it to stand-alone detail billing: one invoice with its item lines. It is not meant for statement billing or for credit and debit adjustments, which have their own documents. Authoritative references for 880 work: - The [X12 transaction set catalog](https://x12.org/products/transaction-sets) defines the 880. [Stedi's 004010 880 reference](https://www.stedi.com/edi/x12-004010/880) shows the full structure - [GS1 US](https://www.gs1us.org/industries-and-insights/standards) governs the UPC and GTIN identifiers on every 880 line - Buyers and distributors publish their own guides. [Dot Foods' 4010 UCS 880 guide](https://www.dotfoods.com/globalassets/corporate/pdfs/customer-edi/distributor-880-grocery-products-invoice.pdf) is a public example, including a full sample invoice **Who sends it?** The supplier, or a broker billing for it. **Who receives it?** The grocery retailer, wholesaler or distributor that ordered. **When is it sent?** After the goods ship or are delivered, depending on the buyer's terms. **Why does it matter?** The buyer matches the 880 against its order and its receipt. A line billed at the wrong weight, a deal left off, or a total that does not add up is short-paid, and the shortfall comes back as a deduction on the [820 remittance](/guides/edi/820-payment-order). ## How a Grocery Invoice Bills Three things make a grocery invoice harder than it looks. **Catch-weight items bill by actual weight.** A case of cheese wheels is ordered as cases, or as an estimated number of pounds, but paid by what the case actually weighed. On the 880 that means `G1701`/`G1702` carry the pounds invoiced, `G1703` the price per pound, and `G1710`/`G1711` the number of cases shipped. The standard defines `G1710` as units shipped in the manufacturer's shipping units, for when they differ from the invoiced unit, which is exactly the catch-weight case. Each buyer's guide says how it wants catch-weight lines laid out, so confirm before you go live. **Deals are billed, not assumed.** If a promotion gives the buyer $0.75 a case off invoice, the 880 has to show it in a `G72` and net it out of the total. A deal on the order that is missing from the invoice is deducted later, and recovering it takes paperwork. **The invoice follows the order as changed.** If the buyer sent an [876 change](/guides/edi/876-grocery-products-purchase-order-change), the 880 bills the changed quantities, not the original 875. Lines restated as zero are not billed at all. ## Interactive Example: Invoice for a Changed Order This 880 bills order `GRO-456789`. The original [875](/guides/edi/875-grocery-product-purchase-order) asked for 5 cases of bread and 40 lb of cheddar. The buyer's 876 raised the bread to 8 cases and deleted the cheddar, so this invoice bills: - `G01`: invoice `INV-30412` dated May 18, for PO `GRO-456789` dated May 9 - `G62*11`: shipped May 17 - `G23`: 1% if paid within 10 days, net 30, counted from the invoice date - **8 cases** of bread at $14.99, $119.92 - `G72*47*02`: a price and marketing allowance of $0.75 a case, off invoice, $6.00 - `G31`: 8 cases, 144 lb shipped. `G33`: **$113.92** due Use the **Plain English** tab for a readable summary, or click any segment to break it down element by element. No cheddar line appears. Billing it because it was on the original order is one of the most common grocery invoice errors. ## Interactive Example: Catch-Weight Invoice This 880 bills the natural foods distributor's catch-weight order from our 875 guide, which asked for 13 cases at an estimated 260 lb. Each line bills the actual pounds in `G1701`, with the cases shipped in `G1710`/`G1711`: - Manchego: 6 cases, **86 lb** at $12.49 = $1,074.14 - Prosciutto: 3 cases, **97 lb** at $18.99 = $1,842.03 - Gouda: 4 cases, **78.4 lb** at $8.25 = $646.80 `G31` totals 13 cases and 261.4 lb, and `G33` bills $3,562.97, against the $3,532.20 the order estimated. The $30.77 difference comes from actual weights running 2 lb over on the Manchego, 1 lb over on the prosciutto and 1.6 lb under on the Gouda. A buyer that caps how far actual weight can run over the order will hold lines that exceed it, so check your scales and your tolerance before the invoice goes out. ## 880 Structure at a Glance In the version 4010 standard: | Area | Segment | Name | Usage | Notes | |---|---|---|---|---| | Header | **ST** | Transaction Set Header | Mandatory | `ST01` = `880` | | Header | **G01** | Invoice Identification | Mandatory | Invoice date and number, PO date and number | | Header | **N9** | Reference Identification | Optional | Related references | | Header | **G61** | Contact | Optional | Contact name and phone | | Header | **G62** | Date/Time | Optional, up to 5 | Ship or delivery date | | Header | **NTE** | Note/Special Instruction | Optional | Free text | | Header | **G27** | Carrier Detail | Optional | Carrier and shipment detail | | Header | **G23** | Terms of Sale | Optional | Header or detail, not both | | Header | **G25** | F.O.B. Information | Optional | Shipping terms | | Header loop | **N1** to **N4** | Name and address | Mandatory, up to 10 | Ship-to, bill-to, vendor, remit-to | | Header loop | **G72** / **G73** | Allowance or Charge | Optional | Invoice-level allowances and charges | | Detail loop | **G17** | Item Detail (Invoice) | Mandatory in loop | Quantity, unit, cost, case UPC, item IDs | | Detail loop | **G69** | Line Item Detail (Description) | Optional | Item description | | Detail loop | **G19** | Quantity/UOM/Price Differences | Optional | Differences from the order | | Detail loop | **G20** | Item Packing Detail | Optional | Pack, size, weight, volume | | Detail loop | **N9**, **G23**, **G25** | References, terms, F.O.B. | Optional | Line-level detail | | Detail loop | **G72** / **G73** | Allowance or Charge | Optional | Line-level allowances and charges | | Detail loop (alternative) | **ENT** with **REF**, **QTY**, **AMT**, **G17** | Entity detail | Optional | Billing broken out by store or entity. Used instead of the item loop, not with it | | Summary | **G31** | Total Invoice Quantity | Mandatory | Units shipped, weight, volume | | Summary | **G33** | Total Dollars Summary | Mandatory | Invoice total | | Summary | **SE** | Transaction Set Trailer | Mandatory | Segment count and control number | The functional group code in `GS01` is **GP**. Grocery buyers commonly use `004010UCS` in `GS08`. Their guides narrow the optional segments, sometimes to just `G01`, `N1`, `G17`, `G69`, `G31` and `G33`. ## Key Segments Explained ### G01: Invoice Identification ``` G01*20260518*INV-30412*20260509*GRO-456789~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **G0101** | Date | `20260518` | Invoice date | | **G0102** | Invoice Number | `INV-30412` | Your invoice number | | **G0103** | Date | `20260509` | The date the buyer assigned to the PO | | **G0104** | Purchase Order Number | `GRO-456789` | The buyer's PO number, from `G5003` on the 875 | | **G0105** | Vendor Order Number | | Your own order number for the PO | | **G0106** / **G0107** | Link number, link sequence | | Group related invoices. Sent together or not at all | | **G0108** | Transaction Type Code | | The type of invoice, if the buyer uses it | `G01` replaces the 810's `BIG`. The PO number and PO date together are how the buyer finds the order, so copy them from the 875 exactly. A PO number typed from a paper copy, with a dropped prefix or leading zero, is the fastest route to an unmatched invoice. ### G62: Date/Time ``` G62*11*20260517~ ``` On an invoice the usual qualifier is `11`, shipped on this date. Some buyers ask for `35`, delivered on this date. `G6201` holds the qualifier and `G6202` the date. ### G23: Terms of Sale ``` G23*01*3***1**10**30~ ``` `G2301` is the terms type (`01` basic), `G2302` the date the terms count from (`3` invoice date, `1` ship date, `2` delivery date), `G2305` the discount percent, `G2307` the discount days and `G2309` the net days. This one reads 1% 10, net 30 from the invoice date. Unless the terms type says no discount applies, the standard expects a discount percent or amount and a discount date or days. Bill the terms in your agreement with the buyer, not your default terms. ### G17: Item Detail (Invoice) ``` G17*86*LB*12.49*006112200218*VN*CHEESE-MNCH-RAW*UP*061122002103**6*CA~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **G1701** | Quantity Invoiced | `86` | Quantity billed, in the unit in `G1702` | | **G1702** | Unit of Measure | `LB` | `CA` case, `LB` pound, `EA` each | | **G1703** | Item List Cost | `12.49` | Gross unit cost per `G1702`. `G1703` or `G1714` is required | | **G1704** | U.P.C. Case Code | `006112200218` | 12-digit case code. `G1704` or `G1705` must be present | | **G1705** / **G1706** | ID qualifier, ID | `VN`, `CHEESE-MNCH-RAW` | `VN` vendor item, `PI` buyer item, `UK` GTIN-14, `UP` consumer UPC | | **G1707** / **G1708** | ID qualifier, ID | `UP`, `061122002103` | A second identifier | | **G1709** | Price Bracket Identifier | | Which price bracket applies | | **G1710** / **G1711** | Units shipped, unit | `6`, `CA` | Shipped quantity when it differs in unit or count from `G1701` | | **G1712** / **G1713** | Price list number, issue | | Which price list the cost comes from | | **G1714** | Monetary Amount | | Cumulative amount of unsaleable merchandise | Identify each line the way the buyer ordered it. If the 875 came with a 14-digit GTIN under `UK`, or the buyer's own item code, bill with the same identifier. Dot Foods' guide, for example, notes that the 12-digit case code is being retired in favor of the 14-digit GTIN under qualifier `UK`, and its sample invoice carries the buyer's item code under `PI`. ### G69, G20 and G19: Description, Pack and Differences ``` G69*RAW MANCHEGO WHEEL AGED 6MO~ G20*2*7*LB~ ``` `G6901` is a free-text description of up to 45 characters. `G20` carries the pack (`G2001`), size and unit (`G2002`/`G2003`), and optional weight and volume. `G19` reports a difference from the order: units shipped, the quantity difference in `G1903` and a status code in `G1904` explaining it, such as a substitution or a cut. Not every buyer wants `G19`, so check the guide before you send it. ### G72 and G73: Allowances and Charges ``` G72*47*02***0.75~ G73*MAY BAKERY DEAL~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **G7201** | Allowance or Charge Code | `47` | Price and marketing allowance. Others include `51` trade discount, `6` pallet charge, `516` delivery charge | | **G7202** | Method of Handling | `02` | `02` off invoice, `06` charge paid by the customer | | **G7205** | Rate | `0.75` | Per unit of the line | | **G7206** / **G7207** | Quantity, unit | | Only when the allowance applies to a different quantity or unit than `G1701`/`G1702` | | **G7208** | Total Amount | | Two implied decimals | | **G7209** | Percent | | A percentage allowance | Only one of rate, total amount or percent is sent on a `G72`. A `G72` in the header applies to the whole invoice; one under a `G17` applies to that line. The codes and handling methods the buyer accepts are in its guide, and they must match the deal agreed with the category buyer and the [889 promotion](/guides/edi/889-promotion-announcement), if there was one. ### G31 and G33: Totals ``` G31*8*CA*144*LB~ G33*11392~ ``` `G3101`/`G3102` give the total units shipped and their unit, and `G3103`/`G3104` the total weight. `G3105`/`G3106` add volume. `G33` has one element: the total invoice amount, including charges and less allowances, before any terms discount. It has two implied decimals, so `11392` is $113.92. Build both from the lines at the moment you create the invoice. A `G33` that does not equal the line extensions less allowances plus charges is short-paid at the lower figure, or rejected. ## EDI 880 vs EDI 810 | | 810 Invoice | 880 Grocery Products Invoice | |---|---|---| | **Header segment** | `BIG` | `G01` | | **Line segment** | `IT1` | `G17` | | **Description** | `PID` | `G69` | | **Pack** | `PO4` or `IT1` detail | `G20` | | **Allowances and charges** | `SAC` | `G72` / `G73` | | **Terms** | `ITD` | `G23` | | **Totals** | `TDS` (amount), `CTT` (line count) | `G33` (amount), `G31` (quantity and weight) | | **Order it usually bills** | [850](/guides/edi/850-purchase-order) | [875](/guides/edi/875-grocery-product-purchase-order) | | **Functional group (`GS01`)** | `IN` | `GP` | The buyer decides which invoice it accepts. Some grocery buyers that order on an 875 take the 880, others want an 810, and some take either. For credits after the fact, such as a short-pay you agree with, the 880 is not the document: the [812 Credit/Debit Adjustment](/guides/edi/812-credit-debit-adjustment) is. ## Where the 880 Sits in the Grocery Order Flow 1. **[875 Grocery Products Purchase Order](/guides/edi/875-grocery-product-purchase-order).** The buyer orders. 2. **[876 Grocery PO Change](/guides/edi/876-grocery-products-purchase-order-change)**, if the buyer changes the order. 3. **[856 Ship Notice](/guides/edi/856-ship-notice).** The supplier describes the shipment. 4. **880 Grocery Products Invoice.** The supplier bills what shipped, at actual weight, with the agreed deals. 5. **[997 Functional Acknowledgment](/guides/edi/997-functional-acknowledgment).** The buyer confirms the 880 arrived and parsed. 6. **[820 Payment Order/Remittance Advice](/guides/edi/820-payment-order).** The buyer pays and lists deductions. 7. **[812 Credit/Debit Adjustment](/guides/edi/812-credit-debit-adjustment)**, if a correction is agreed. Direct store delivery runs differently: the store signs an [894 delivery record](/guides/edi/894-delivery-return-base-record) at the back door, and some retailers settle on an [882 summary statement](/guides/edi/882-direct-store-delivery-summary) instead of per-delivery invoices. Others want an 880 for each delivery. The retailer's DSD guide says which. For the wider picture, see our guide to [grocery EDI requirements](/blog/grocery-edi). ## Common 880 Errors and How to Prevent Them | Error | What happens | Prevention | |---|---|---| | **Built like an 810** | Rejected at translation | Separate map: `G01`, `G17`, `G31`, `G33` | | **PO number or PO date not copied from the 875** | Invoice cannot be matched; payment held | Carry `G5002` and `G5003` straight into `G0103` and `G0104` | | **Original order billed after an 876** | Over-billing; deduction | Build the invoice from the current order version | | **Catch-weight line billed at ordered weight** | Under- or over-billing against the receipt | Bill actual weight from your scale data | | **Cases and pounds mixed up** | Price applied to the wrong unit | Read `G1701` with `G1702`; send shipped cases in `G1710`/`G1711` | | **Deal left off** | Buyer deducts the allowance | Carry `G72` from the 875 or the 889 deal file | | **`G33` not equal to the lines** | Short-paid at the lower figure | Compute totals from the lines at build time | | **`G33` sent with a decimal point when the guide wants implied decimals** | Amount off by a factor of 100 | `G33` is N2: `11392` is $113.92, unless the guide says otherwise | | **Item identifier the buyer did not order with** | Line cannot be matched | Bill with the identifier from the 875 | | **Credit sent as a negative 880** | Rejected or misapplied | Use the document the buyer specifies for credits, often an 812 | Run any 880 through the [free EDI inspector](/edi-inspector) before it goes out to see each line extended and the totals checked. ## 880 Implementation Checklist Before your first live 880 with a grocery buyer: - Get the buyer's 880 guide and confirm `GS01` `GP` and the `GS08` version - Confirm the buyer wants an 880 and not an 810, for warehouse and for DSD orders - Find out how it wants catch-weight lines: pounds in `G1701` with cases in `G1710`, or another layout - Get its allowance and charge codes for `G72`, and load your deals against them - Confirm which identifiers it wants on `G17` - Confirm the `G62` qualifier it expects and the terms for `G23` - Make sure invoices are built from the order after any 876, and from actual ship weights - Agree how credits and corrections are handled - Test with a fixed-weight line, a catch-weight line, a line allowance and a header charge - Watch 997s and the first remittances for deductions you did not expect The [EDI document types reference](/edi-document-types) shows how the 880 fits with the rest of the grocery family, and our page on [EDI for grocery suppliers](/edi-for/grocery-and-retail-suppliers) covers the wider requirements. ## Getting Grocery Invoices Right With OrderSync Most grocery invoice deductions start before the invoice exists. An order keyed from a PDF with the wrong case code, a change email that never reached the warehouse, a deal that was on the order but not in the system: by the time the 880 goes out, the error is already in it. OrderSync works at that first step. It reads inbound orders in any format, including EDI 875s and 850s, PDFs, emails and spreadsheets, matches customers, items and units to your catalog, and outputs valid X12 or clean data to your ERP, so the invoice your system builds starts from a clean order. Paste any 880 into the [free EDI inspector](/edi-inspector) for a plain-English summary with the totals checked, read about [purchase order automation](/purchase-order-automation), or [book a 15-minute walkthrough](/book) to see your own grocery orders processed. ## Frequently Asked Questions
### What is an EDI 880 used for? A grocery supplier sends the EDI 880 to bill a retailer, wholesaler or distributor for goods it shipped. It names the invoice and the purchase order in G01, bills each item in G17 by case or actual weight, applies allowances and charges in G72, and totals the invoice in G31 and G33. ### What is the difference between an EDI 880 and an EDI 810? Both are invoices. The 810 uses BIG, IT1, SAC and TDS and is used across retail and manufacturing. The 880 uses the grocery G-segments: G01, G17, G72, and the G31 and G33 totals, and travels in functional group GP. The buyer's guide says which one it accepts. ### How is catch weight billed on an EDI 880? The line bills the actual weight: pounds in G1701 with LB in G1702 and the price per pound in G1703. The number of cases shipped goes in G1710 and G1711, which the standard provides for when the shipped unit differs from the invoiced unit. The buyer's guide confirms the layout it expects. ### What is the G01 segment in an EDI 880? G01 is the 880 header. G0101 is the invoice date, G0102 the invoice number, G0103 the purchase order date and G0104 the purchase order number. G0105 can carry the vendor's own order number. ### What do G31 and G33 mean on an EDI 880? G31 gives the total units shipped with their unit, and optionally the total weight and volume. G33 is the total invoice amount, including charges and less allowances, before any terms discount, with two implied decimals. ### What functional group code does an EDI 880 use? GS01 is GP for the grocery products invoice. Grocery buyers commonly put 004010UCS, or a later UCS version named in their guide, in GS08. ### What purchase order does the EDI 880 pair with? The 880 usually bills an 875 Grocery Products Purchase Order, as changed by any 876. It copies the PO number and PO date from the 875's G50 into G01 and bills lines with the same item identifiers. ### Can an EDI 880 be used for credits? Not as designed. The standard scopes the 880 to stand-alone detail billing, not statement billing or credit and debit adjustments. Agreed corrections usually go on an 812 Credit/Debit Adjustment, but the buyer's guide decides.
--- # EDI 882 Direct Store Delivery Summary Guide Source: https://ordersync.io/guides/edi/882-direct-store-delivery-summary > EDI 882 explained: how DSD suppliers summarize reconciled deliveries and returns to request payment, G47, G48, G33 and G49 segments, an example, and errors. The EDI 882 Direct Store Delivery Summary Information is the X12 transaction a DSD supplier uses to summarize deliveries, returns and adjustments already reconciled at the store, and to request payment for them. It lists each delivery or return ticket with its store and net amount, but carries no product detail. Totals close the statement. **The EDI 882 is the statement of direct store delivery.** Each store stop already produced its own records: an [894 Delivery/Return Base Record](/guides/edi/894-delivery-return-base-record) from the route driver, and an 895 from the store accepting or adjusting it. The 882 rolls those reconciled tickets into one document per statement period, so the retailer's accounts payable team can see what the supplier expects to be paid, ticket by ticket, without the item lines. This guide covers what the 882 carries, where it fits in DSD settlement, every segment you will map, a live example, how it compares to the 894, 895 and the grocery invoice, and the errors that leave tickets unpaid. ## What Is an EDI 882? **An EDI 882 is the Direct Store Delivery Summary Information transaction set defined by the [ASC X12 standards body](https://x12.org/products/transaction-sets). It summarizes detailed delivery, return and adjustment information that was reconciled at the time of delivery in a retail DSD environment, and can be used to request payment for the products delivered.** The standard is explicit that the 882 carries only a summary of deliveries and adjustments, without product detail. Authoritative references for 882 work: - The [X12 transaction set catalog](https://x12.org/products/transaction-sets) defines the 882 structure and segment order - [GS1 US](https://www.gs1us.org/industries-and-insights/standards) governs the company and location identifiers (GLNs, alongside DUNS numbers) that DSD retailers use to identify the supplier, the chain and each store - Each DSD retailer that uses the 882 publishes its own guide, which sets the statement cycle, the reference numbers it expects on each ticket, and how credits are signed **Who sends it?** The DSD supplier, usually from its route accounting or AR system. **Who receives it?** The retailer's accounts payable, often at head office rather than the store. **When is it sent?** On the statement cycle agreed with the retailer, for example weekly, after the deliveries and returns in it have been reconciled through the 894 and 895. **Why does it matter?** A DSD supplier can make hundreds of stops a week for one chain. Paying ticket by ticket from hundreds of 894s is slow for the retailer, and chasing them one at a time is slow for the supplier. The 882 turns a week of stops into one payable statement with a total both sides can agree on. ## Where the 882 Fits in DSD Settlement The 882 is the last supplier document in the DSD cycle. Everything in it should already have been settled at the store. 1. **Store delivery or return.** The driver records it on an [894](/guides/edi/894-delivery-return-base-record), with items, quantities, costs and the receiver's signature. 2. **Store reconciliation.** The retailer answers with an 895, accepting the 894 as sent or adjusting quantities and costs. 3. **Summary statement.** At the end of the period, the supplier sends an 882 listing each reconciled ticket and its net amount. 4. **Payment.** The retailer pays, often with an [820 remittance advice](/guides/edi/820-payment-order) that lists which tickets were paid and what was deducted. Some DSD categories also start with a store order. Where the retailer orders on an [875 Grocery Products Purchase Order](/guides/edi/875-grocery-product-purchase-order), it changes that order with an [876](/guides/edi/876-grocery-products-purchase-order-change), the grocery counterpart of the [860 Purchase Order Change](/guides/edi/860-purchase-order-change), and if it wants a response to a change, its guide names it (the general X12 response is the [865](/guides/edi/865-purchase-order-change-acknowledgment)). Those order documents settle what should be delivered; the 894, 895 and 882 settle what was delivered and what is owed. Not every DSD retailer uses the 882. Some pay directly from the reconciled 894 and 895. Others want an [810 invoice](/guides/edi/810-invoice) or an [880 Grocery Products Invoice](/guides/edi/880-grocery-products-invoice) per delivery. Under scan-based trading, payment follows [852 product activity data](/guides/edi/852-product-activity-data) instead. The retailer's DSD guide says which model it runs; the 882 is for retailers that settle DSD on a summary statement. ## Interactive Example: Weekly DSD Summary Statement (882) A beverage supplier sends its weekly statement to a grocery chain. It covers three tickets: the delivery and the return from store `0147` on November 3 (the same two records shown in our [894 guide](/guides/edi/894-delivery-return-base-record)), and a delivery to store `0152` on November 5. - `G47` dates the statement and gives it a number - The first `N1` names the supplier as the party to receive the remittance (`RI`), and the second names the retailer - Each `G48` opens one ticket, with its number, date and store, followed by its quantity (`G31`) and net amount (`G33`) - The return carries a negative amount in `G33`, which is how this example shows a credit - `G49` totals the statement: $178.90 less $23.40 plus $412.60 is $568.10 Use the **Plain English** tab for a readable summary, or click any segment to break it down element by element. Notice what is missing: no UPCs, no item costs, no case packs. The retailer already holds that detail from the 894s and 895s. The 882 only has to point at each ticket and state the amount. ## 882 Structure at a Glance In the version 4010 standard, the 882 has a short header, one loop per ticket, and a statement total. | Area | Segment | Name | Usage | Notes | |---|---|---|---|---| | Header | **ST** | Transaction Set Header | Mandatory | `ST01` = `882` | | Header | **G47** | Statement Identification | Mandatory | Statement date and number | | Header loop | **N1** to **N4** | Name and address | Mandatory, repeats | One `N1` must identify the party to receive the remittance | | Header | **N9** | Reference Identification | Optional | Statement-level references | | Header | **G61** | Contact | Optional | Supplier AR contact | | Header | **G23** | Terms of Sale | Optional | Statement-level terms | | Detail loop | **G48** | Statement/Invoice Identification | Mandatory, repeats | One per delivery, return or adjustment | | Detail loop | **G72** / **G73** | Allowance or Charge | Optional | Ticket-level allowances and charges | | Detail loop | **G23** | Terms of Sale | Optional | Ticket-level terms | | Detail loop | **G25** | F.O.B. Information | Optional | Delivery terms where the retailer wants them | | Detail loop | **G31** | Total Invoice Quantity | Optional | Units on the ticket | | Detail loop | **G33** | Total Dollars Summary | Mandatory | Net amount of the ticket | | Summary | **G49** | Statement Total | Mandatory | Statement totals | | Summary | **SE** | Transaction Set Trailer | Mandatory | Segment count and control number | The functional group code in `GS01` is **IG**. Version `004010UCS` or a later UCS release is common in grocery, but the retailer's guide sets it. ## Key Segments Explained ### G47: Statement Identification ``` G47*20261108*STMT-2026-W45~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **G4701** | Date | `20261108` | The statement date | | **G4702** | Statement Number | `STMT-2026-W45` | Your statement number, up to 16 characters. Keep it unique | The retailer pays and disputes against the statement number, so never reuse one, even after a statement is rejected and resent with corrections. Ask the retailer how it wants a corrected statement numbered. ### N1 Loop: Remit-To and Other Parties ``` N1*RI*SUMMIT BEVERAGE CO*1*123456789~ N1*BY*HARBOR GROCERS INC*1*069854900~ ``` The standard requires one `N1` to identify the party that receives the remittance. Here that is the supplier, as `RI` (remit to), with its DUNS number. Other `N1` loops name the retailer or a bill-to party. Use the identifiers the retailer's guide asks for: the same DUNS numbers or GLNs that appear on your 894s keep both sides' records aligned. ### G48: Statement/Invoice Identification Each `G48` opens one entry on the statement: a delivery, a return or an adjustment. ``` G48*DSD-118734*20261103*0147~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **G4801** | Invoice Number | `DSD-118734` | The ticket or invoice number for this entry | | **G4802** | Invoice Date | `20261103` | The date of the ticket | | **G4803** | Store Number | `0147` | The store the delivery or return belongs to | | **G4804** | Purchase Order Date | | Where the delivery was against a store order | | **G4805** | Purchase Order Number | | That store order's number | | **G4806** | Vendor Order Number | | Your own order number, if the retailer wants it | | **G4807** | Reference Identification Qualifier | | Qualifies a reference used in place of, or alongside, the invoice number | | **G4808** | Reference Identification | | The reference itself | | **G4809** | Date | | A further date the retailer's guide defines | Either an invoice number (`G4801`, with its date in `G4802`) or a reference (`G4807` with `G4808`) is required. In this example the invoice number is the 894 delivery or return number, because that is the key the store reconciled on. Use the number your retailer's guide names. A ticket the retailer cannot match to its own records is the most common reason an 882 line goes unpaid. ### G72 and G73: Allowances and Charges `G72` applies an allowance or charge to a ticket: a deal, a promotional allowance, a delivery charge. It carries an allowance or charge code, a handling method, and a rate, quantity or total amount, with `G73` for a description. The codes come from the retailer's guide and must match the deal agreed with the category buyer. The ticket's `G33` amount is net of them. ### G31: Total Invoice Quantity ``` G31*20*CA~ ``` `G3101` is the number of units on the ticket and `G3102` the unit of measure. Further elements can carry weight, volume and third-party pallet counts. It is optional, and the example leaves it off the return because the return mixes cases and loose bottles. ### G33: Total Dollars Summary ``` G33*17890~ ``` `G3301` is the ticket's total amount, including charges and less allowances, before any terms discount. It has two implied decimals: `17890` is $178.90. This amount should equal the reconciled figure, meaning the total after the store's 895 adjustments, not what the driver's 894 originally said. Billing the pre-adjustment figure is the fastest way to have an 882 short-paid. ### G49: Statement Total ``` G49*56810~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **G4901** | Amount | `56810` | Total of all charges billed on this statement since the last one ($568.10) | | **G4902** | Amount | | Amount of unpaid charges from before this statement | | **G4903** | Amount | | Total amount now due | All three use two implied decimals. `G4901` should equal the sum of the `G33` amounts. Whether the retailer wants a carried-forward balance in `G4902` and `G4903` is set in its guide. The example sends `G4901` alone. ## Returns, Credits and the Sign of the Amount The 882 has no credit/debit flag. The 894 marks a return with `G8201` = `C`, but `G48` has no equivalent element. That leaves the retailer's guide to decide how a credit appears on the statement. Two approaches you may see are a negative `G33` amount, as in the example above, or a separate adjustment entry identified through a reference in `G4807` and `G4808`. Whichever convention the retailer uses, two checks catch most problems: - The statement total in `G4901` must equal the signed sum of every `G33`. A return entered as a positive amount bills the store for product you took back - Every return ticket from your 894s for the period should appear on the statement. A credit you leave off comes back as a deduction later, usually without the ticket number attached ## EDI 882 vs 894, 895, 880 and 820 | Document | Sent by | Level of detail | Purpose | |---|---|---|---| | **[894 Delivery/Return Base Record](/guides/edi/894-delivery-return-base-record)** | Supplier | Item lines, one store, one event | Records what was delivered to or returned from a store | | **895 Delivery/Return Acknowledgment or Adjustment** | Retailer | Item lines | Accepts or adjusts an 894 | | **882 Direct Store Delivery Summary Information** | Supplier | One line per ticket, no product detail | Summarizes reconciled tickets for a period and requests payment | | **[880 Grocery Products Invoice](/guides/edi/880-grocery-products-invoice)** | Supplier | Item lines | Bills one grocery order or delivery | | **[810 Invoice](/guides/edi/810-invoice)** | Supplier | Item lines | General-purpose invoice | | **[820 Payment Order/Remittance Advice](/guides/edi/820-payment-order)** | Retailer | One line per paid ticket | Reports what was paid and deducted | The short version: the 894 and 895 settle each stop, the 882 asks to be paid for a period's worth of settled stops, and the 820 says what was actually paid. If you see an 820 deduction against a ticket, the 895 for that ticket is the first place to look. ## Common 882 Errors and How to Prevent Them | Error | What happens | Prevention | |---|---|---| | **Pre-adjustment amounts billed** | Statement short-paid by the 895 adjustments | Build `G33` from the reconciled figures, after 895s are posted | | **Ticket number the retailer cannot match** | Entry held or unpaid | Use the 894 number, or the reference the guide names, exactly as sent | | **Return entered as a positive amount** | Store billed for product taken back; dispute | Apply the retailer's credit convention and test it | | **Return left off the statement** | Later deduction with no ticket reference | Reconcile the statement against every 894 return in the period | | **`G49` does not equal the sum of `G33`** | Statement rejected or paid at the lower figure | Compute totals from the entries at build time | | **Implied decimal error** | Amounts read as 100 times too large or small | Send whole cents with no decimal point | | **Ticket billed on two statements** | Duplicate rejected, or paid twice and clawed back | Mark tickets as billed when the 882 is sent | | **Ticket billed before its 895 arrives** | Amount disputed after payment | Hold unreconciled tickets for the next statement | | **Statement number reused** | Second statement rejected as a duplicate | Number from one sequence per retailer | The [EDI inspector](/edi-inspector) shows each `G48` entry with its store, date and amount, plus the statement total, which makes a statement that does not add up easy to spot before you send it. ## 882 Implementation Checklist Before your first live 882 with a DSD retailer: - Confirm the retailer settles DSD on an 882, and not on the 894 and 895 alone or on an 810 or 880 - Get its 882 guide and agree the statement cycle - Confirm which number goes in `G48` for each ticket, and whether it wants store numbers in `G4803` - Confirm how returns and other credits are signed or identified - Confirm the identifiers for the remit-to `N1` and the retailer - Confirm whether `G4902` and `G4903` are expected - Build statements only from tickets whose 895 has been posted - Agree how a corrected statement is numbered and sent - Match each 820 back to the statement and its tickets - Monitor 997s for structural rejections in the first weeks of production For the wider DSD document set, see our [EDI document types reference](/edi-document-types), our page on [EDI for DSD distributors](/edi-for/dsd-distributors), and our guide to [grocery EDI requirements](/blog/grocery-edi). ## Handling DSD Orders With OrderSync The 882 sits at the end of the DSD cycle. The start of it is the order: store and head-office orders that arrive as EDI 850s and 875s, emails, PDFs, spreadsheets and phone calls, and that someone keys into the route system before the truck leaves. OrderSync reads those orders in any format, matches the stores, items and units to your catalog, and outputs clean data to your ERP or route system, so each delivery starts from the right order and the tickets that end up on your statement match what the store expected. Paste any 882 into the [free EDI inspector](/edi-inspector) to see it parsed with a plain-English summary, read more about [EDI for beverage distribution](/edi-for/beverage-distribution), or [book a 15-minute walkthrough](/book) to see your own orders processed. ## Frequently Asked Questions
### What is an EDI 882 used for? A direct store delivery supplier uses the EDI 882 to summarize the deliveries, returns and adjustments it has already reconciled with a retailer's stores, and to request payment for them. It lists each ticket with its store and net amount, with no product detail. ### What is the difference between an EDI 882 and an EDI 894? The 894 records one delivery or return at one store, item by item, with costs and the receiver's signature. The 882 summarizes many reconciled 894 tickets over a statement period, one line per ticket with its net amount, and requests payment. The 894 comes first; the 882 comes after the store has accepted or adjusted each 894. ### Does the EDI 882 include item detail? No. The X12 standard defines the 882 as a summary of direct store deliveries and adjustments without product detail. Item lines, UPCs and costs stay on the 894 and 895. ### Who sends the EDI 882? The DSD supplier sends the 882 to the retailer, usually from its route accounting or accounts receivable system. The retailer's accounts payable team uses it to pay for the period's deliveries net of returns and adjustments. ### How are returns shown on an EDI 882? The 882 has no credit/debit flag, so the retailer's guide sets the convention. One approach is a negative total amount in G33 for the return ticket. Whatever the convention, the statement total in G49 must equal the signed sum of every ticket. ### What does G49 mean in an EDI 882? G49 is the statement total. G4901 is the total billed on this statement, G4902 the unpaid amount from earlier statements, and G4903 the total now due. All three use two implied decimals. ### Do all DSD retailers use the EDI 882? No. Many retailers pay directly from the reconciled 894 and 895, or require an 810 or 880 invoice per delivery. The 882 is for retailers that settle direct store delivery on a periodic summary statement. The retailer's DSD guide says which model it uses. ### What functional group code does an EDI 882 use? GS01 is IG, the functional group code X12 assigns to Direct Store Delivery Summary Information. The 894 and 895 use DX.
--- # EDI 888 Item Maintenance: Grocery Item Setup Guide Source: https://ordersync.io/guides/edi/888-item-maintenance > EDI 888 Item Maintenance explained: G53 maintenance types, G39 case data, G55 consumer units, new item and discontinue examples, and how it compares to 832. The EDI 888 Item Maintenance is the X12 transaction a manufacturer, supplier or broker uses to set up new grocery items at a retailer or wholesaler, change existing item details, or discontinue items. It carries case and consumer unit identifiers, pack, size, weight, dimensions and pallet configuration. Price changes are sent separately, on the 879. **The EDI 888 is how a grocery supplier gets an item into a retailer's item file.** Before a store can order it, receive it at the back door or scan it at the register, the retailer needs the case code, the consumer UPC, the pack, the size, the weight and the pallet pattern on file. The 888 delivers that data in a structured form, and then keeps it current as packaging changes and items are retired. This guide covers what the 888 carries, how its maintenance types work, two live examples (a new item setup and a change plus a discontinue), every segment you are likely to map, how it compares to the 832, and the item data errors that later show up as rejected orders and DSD deliveries. ## What Is an EDI 888? **An EDI 888 is the Item Maintenance transaction set defined by the [ASC X12 standards body](https://x12.org/products/transaction-sets). It lets a manufacturer, supplier, broker or agent send finished-goods product information to a trading partner in a consumer goods market, both for new products and for changes to existing product specifications.** Like the 894 and 889, it comes from the Uniform Communication Standard (UCS) used in US grocery, so its item segments use the grocery "G" prefix and implementation guides often name the version `004010UCS`. Authoritative references for 888 work: - The [X12 transaction set catalog](https://x12.org/products/transaction-sets) defines the 888 structure and segment order, and places it in functional group `QG` (Product Information) with the 889 - [GS1 US](https://www.gs1us.org/industries-and-insights/standards) governs the UPCs and GTINs every 888 carries - The [GS1 GTIN Management Standard](https://ref.gs1.org/standards/gtin-management) decides when a packaging change needs a new GTIN rather than an 888 change to an existing item - Each retailer or wholesaler that accepts the 888 publishes an implementation guide listing the segments it requires and the maintenance types it accepts **Who sends it?** The supplier side: a manufacturer, its broker, or a data service acting for it. **Who receives it?** A grocery retailer or wholesaler, into the merchandising system that holds its item file. **When is it sent?** Ahead of a new item's first order, whenever case or consumer unit data changes, and when an item is withdrawn or discontinued. The effective date in the transaction tells the retailer when to apply it. **Why does it matter?** Every downstream document matches against the item file. A [875 grocery purchase order](/guides/edi/875-grocery-product-purchase-order) can only order what is set up, an [880 grocery invoice](/guides/edi/880-grocery-products-invoice) line fails if the case code is unknown, and a [DSD 894 delivery](/guides/edi/894-delivery-return-base-record) is held at the back door when the store has never seen the UPC. Bad item data costs money weeks later, far from where it was keyed. **What it does not carry:** price changes. The X12 purpose statement sends those to the 879 Price Information set. Some retailers carry cost data in their 888 implementation anyway, so check the guide. ## Where the 888 Sits in Grocery Item Setup Item setup in grocery runs in a fairly fixed order, and the 888 is one step in it: 1. **Commercial agreement.** The category buyer accepts the item, agrees cost, and often negotiates new item or slotting allowances. 2. **Item data.** The supplier sends the item's identifiers, pack and physical data, on an 888 or through the retailer's chosen catalog route (an [832 Price/Sales Catalog](/guides/edi/832-price-sales-catalog), a GS1 data pool, or a vendor portal). 3. **Cost and price.** Cost goes on an 879, an 832, or the retailer's own process. 4. **Launch promotion.** Introductory deals arrive on an [889 Promotion Announcement](/guides/edi/889-promotion-announcement). 5. **Orders and deliveries.** The retailer orders on an 875 or [850](/guides/edi/850-purchase-order), or, for direct store delivery, the route driver delivers against the store's item file on an 894. 6. **Ongoing maintenance.** Packaging changes, temporary withdrawals and discontinues go back through the 888. Many large retailers have moved new item setup to GS1 data synchronization or their own portals and use EDI only for some steps. Whether a given chain still takes an 888 is a question for its EDI team, not something to assume. ## Interactive Example: New Item Setup (G53 Maintenance Type 003) A granola manufacturer sets up two new 16 oz items at a grocery chain, effective December 1. The header names the buyer and supplier, each with its own `G62` date. The detail opens with `G53*003` (add full item detail), then one block per item: `G39` for the case (case code, vendor item number, gross weight, dimensions, volume, pallet pattern, pack and size), `G69` for the description, and `G55` for the consumer unit (UPC, shelf package dimensions, size and the 16-character register description). Use the **Plain English** tab for a readable summary, or click any segment to break it down element by element. ## Interactive Example: Item Change and Discontinue (001 and 002) Six weeks later the same supplier sends one 888 with two maintenance actions, both effective January 4. A packaging update made the honey almond case slightly lighter and shorter, so `G53*001` (change) carries the updated `G39`. The 32 oz original is being dropped, so `G53*002` (delete) identifies it by case code and item number only. ## 888 Structure at a Glance The 888 has a short header and a nested detail section: one loop per maintenance action, one loop per item inside it, and an optional consumer unit loop inside each item. | Area | Segment | Name | Usage | Notes | |---|---|---|---|---| | Header | **ST** | Transaction Set Header | Mandatory | `ST01` = `888` | | Header | **BGN** | Beginning Segment | Optional | Purpose, reference number, date | | Header loop | **N1** | Name | Mandatory, repeats | One loop per party (buyer, supplier, broker) | | Header loop | **N2, N3, N4** | Name and address | Optional | | | Header loop | **N9** | Reference Identification | Optional | | | Header loop | **G61** | Contact | Optional | Item data contact | | Header loop | **NTE** | Note | Optional | | | Header loop | **G93** | Price Bracket Identification | Optional | | | Header loop | **G62** | Date/Time | Mandatory | One per N1 loop | | Header loop | **LM / LQ** | Code Source and Industry Code | Optional | Industry code lists | | Detail loop | **G53** | Maintenance Type | Mandatory, repeats | Add, change, delete and others | | Detail loop | **G62** | Date/Time | Optional | Effective date for this action | | Item loop | **G39** | Item Characteristics, Vendor's Selling Unit | Mandatory, repeats | The case | | Item loop | **G69** | Line Item Detail, Description | Optional | | | Item loop | **G23, G36, G26, G43, G24, G40, G22, G46** | Terms, pricing and promotion | Optional | Used where the retailer's guide asks | | Item loop | **H1** | Hazardous Material | Optional | | | Item loop | **G54, N9, UIT, MEA, TD1** | Module, references, units, measurements | Optional | | | Item loop | **N1, PAL** | Name and pallet information | Optional loop | | | Consumer unit loop | **G55** | Item Characteristics, Consumer Unit | Optional loop | The shelf unit | | Consumer unit loop | **G69, QTY** | Description and quantity | Optional | | | Trailer | **SE** | Transaction Set Trailer | Mandatory | Segment count and control number | In the envelope, `GS01` is **QG** and `GS08` is commonly `004010UCS` or the release named in the retailer's guide. As with every grocery set, a retailer's guide can make an optional segment required. ## Key Segments Explained ### BGN: Beginning Segment ``` BGN*00*IM-20261104-01*20261104~ ``` `BGN01` is the transaction set purpose (`00` = original), `BGN02` your reference number for this maintenance file, and `BGN03` the date it was created. Use a reference that is unique per file, so the retailer can tell you exactly which 888 a rejection refers to. ### N1 and G62: Parties and Their Dates ``` N1*BY*HARBOR GROCERY*1*069854900~ G62*07*20261201~ N1*SU*PINE HOLLOW FOODS*1*081234567~ G61*IC*D OKAFOR*TE*5035550142~ G62*07*20261201~ ``` Each `N1` loop names one party: here `BY` for the buying retailer and `SU` for the supplier, identified by DUNS (`N103` = `1`). In 004010 each N1 loop must close with a `G62` date. The sample uses qualifier `07` (effective date); which date and qualifier your retailer expects in that position is set by its guide. `G61` names the person to call about the item data, with a communication qualifier (`TE` = telephone) and number. ### G53: Maintenance Type ``` G53*003~ ``` `G53` has one element, the maintenance type code, and it sets what happens to every item in the loop that follows. The codes grocery suppliers use most: | Code | Meaning | Typical use | |---|---|---| | `003` | Add Full Item Detail | New item setup, with full case and consumer unit data | | `001` | Change | Updated weight, dimensions, pallet pattern or description | | `002` | Delete | Item discontinued at this retailer | | `004` | Withdraw Item (Temporary) | Temporarily unavailable, for example a seasonal or supply gap | | `005` | Restore Item | Bring back a withdrawn item | | `CEP` | Change Excluding Price | Change where price is explicitly not affected | | `PRI` | Price Change Only | Price-only update, where the retailer takes prices on the 888 | The X12 code list for this element is long and shared with other industries, so most of it does not apply. The retailer's guide lists the handful it accepts. A `G62` right after `G53` gives the effective date for that action. ### G39: Item Characteristics, Vendor's Selling Unit `G39` describes the case: the unit you sell to the retailer and the retailer orders. ``` G39*008451200116*VN*PH-GRN-HNY16**14.2*G*L*9.5*IN*12.25*IN*10*IN*0.67*CF*010006*12*16*OZ~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **G3901** | U.P.C. Case Code | `008451200116` | The 12-character grocery case code. The X12 note describes a leading system code (`00`, `06` or `07` for US grocery) followed by the 5-digit manufacturer and 5-digit case number | | **G3902** | Product/Service ID Qualifier | `VN` | What the next element is. `VN` = vendor item number | | **G3903** | Product/Service ID | `PH-GRN-HNY16` | Your item number | | **G3904** | Special Handling Code | | Handling requirements, where the retailer uses them | | **G3905** | Unit Weight | `14.2` | Case weight | | **G3906** | Weight Qualifier | `G` | `G` = gross weight | | **G3907** | Weight Unit Code | `L` | `L` = pounds | | **G3908 / G3909** | Height and unit | `9.5` / `IN` | Case height in inches | | **G3910 / G3911** | Width and unit | `12.25` / `IN` | Case width | | **G3912 / G3913** | Length and unit | `10` / `IN` | Case length | | **G3914 / G3915** | Volume and unit | `0.67` / `CF` | Cubic feet. Should agree with the three dimensions | | **G3916** | Pallet Block and Tiers | `010006` | First three digits: cases per layer. Last three: layers per pallet. Here 10 x 6 = 60 cases | | **G3917** | Pack | `12` | Consumer units per case | | **G3918 / G3919** | Size and unit | `16` / `OZ` | Size of each consumer unit | `G39` continues past position 19 with color, order sizing factor, alternate tiers, a second product ID pair, a second weight, inner pack and packaging code. Send those only when the retailer's guide asks. The standard pairs several elements (a weight needs its qualifier and unit; a dimension needs its unit), so a value without its partner is a syntax error, not just a data gap. ### G69: Line Item Detail, Description ``` G69*HONEY ALMOND GRANOLA 16 OZ~ ``` A free-form description of up to 45 characters. Retailers often build their own item description from it, so keep it consistent with the label. ### G55: Item Characteristics, Consumer Unit `G55` describes the unit the shopper buys. It sits in its own loop under the `G39` it belongs to. ``` G55*UP*084512001168***9*IN*6*IN*2.25*IN****16*OZ*PH HNY ALM GRNLA~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **G5501** | Product/Service ID Qualifier | `UP` | `UP` = 12-digit UPC consumer package code | | **G5502** | Product/Service ID | `084512001168` | The UPC the register scans, with its check digit | | **G5503 / G5504** | Second ID qualifier and ID | | An optional second identifier | | **G5505 to G5510** | Height, width, length and units | `9`, `6`, `2.25` `IN` | Shelf package dimensions, used for planograms | | **G5511 / G5512** | Volume and unit | | Optional | | **G5513** | Pack | | Optional | | **G5514 / G5515** | Size and unit | `16` / `OZ` | Net content as labeled | | **G5516** | Cash Register Item Description | `PH HNY ALM GRNLA` | What prints on the receipt. The X12 note limits it to 16 characters | Later `G55` elements cover a second register description, coupon family code, dated product number of days (shelf life), deposit value, a prepriced flag, color, weights, a third identifier, a longer description, inner pack and packaging code. These are the fields stores use for receipts, shelf tags, coupons and bottle deposits, so they matter more than their position suggests. ### Optional Item Segments - **G23, G36, G26, G43, G24, G40, G22, G46** carry terms, price list references, pricing conditions, promotion areas and allowances. A retailer that takes cost and launch deals on the 888 says so in its guide. Most send promotions on the 889. - **H1** identifies hazardous material, for items such as aerosols or lighter fluid. - **MEA** and **TD1** add measurements and shipping weight beyond what `G39` holds. - **N1 / PAL** give pallet information, sometimes per ship-from location. - **LM / LQ** carry industry code lists (for example, product category codes) named by the retailer. ## Case vs Consumer Unit, and When You Need a New GTIN The 888 keeps two levels apart: `G39` is the case, `G55` is the consumer unit inside it. Most item data mistakes come from mixing them up, such as a case weight in a consumer unit field, a consumer UPC in the case code, or a pack that does not match the case code's actual contents. The harder question is when a change belongs in an 888 `001` change and when it needs a new item. The [GS1 GTIN Management Standard](https://ref.gs1.org/standards/gtin-management) sets the rules. Among them: - A change of over 20% to any physical dimension or to gross weight requires a new GTIN - A change in the number of items in a case requires a new GTIN for the case - A change in declared net content (the 16 oz on the label) requires a new GTIN So the change sample above (a case that got about 4% lighter and 3% shorter) is a legitimate 888 change, and GS1 still expects trading partners to be told about it. Going from 12 to 8 bags per case is not an 888 change. It is a new case code, set up with `003`, and the old one discontinued with `002`. Sending a pack change as `001` against the old case code is how a retailer ends up receiving 8 when its system expects 12. ## EDI 888 vs 832, 879 and 889 | Document | Sent by | Purpose | Notes | |---|---|---|---| | **888 Item Maintenance** | Manufacturer, supplier, broker | Add, change, withdraw or delete items, with case and consumer unit detail | Grocery-specific `G39` and `G55` segments; no price changes | | **[832 Price/Sales Catalog](/guides/edi/832-price-sales-catalog)** | Vendor | Publish a catalog with item IDs, descriptions, attributes and prices | General-purpose; used across retail, distribution and grocery | | **879 Price Information** | Supplier | Communicate cost and price changes | The X12 home for price changes the 888 excludes | | **[889 Promotion Announcement](/guides/edi/889-promotion-announcement)** | Manufacturer, broker | Announce deals, allowances, dates and performance conditions | References the items the 888 set up | | **[846 Inventory Inquiry](/guides/edi/846-inventory-inquiry)** | Supplier | Report stock availability | Inventory, not item master data | The short version: the 832 is the general catalog document, and plenty of retailers, grocery included, take it for item setup. The 888 is the older grocery-specific route, with a richer case and consumer unit structure built for grocery receiving and store systems. Which one you send is the retailer's choice. If both are offered, the 888 maps more naturally to grocery case data, and the 832 is easier to reuse across non-grocery customers. ## Common 888 Errors and How to Prevent Them | Error | What happens | Prevention | |---|---|---| | **UPC check digit wrong in `G5502`** | Item rejected, or set up with a code that never scans | Validate check digits before sending, never key them | | **Case and consumer codes swapped** | Orders and receipts match the wrong level | Map `G3901` from the case GTIN and `G5502` from the unit UPC, from separate source fields | | **Pack change sent as `001`** | Retailer receives a different count than its item file says | Follow GS1 rules: new case code, `003` add, `002` for the old one | | **Dimensions and volume disagree** | Warehouse slotting and cube calculations go wrong | Compute `G3914` from the three dimensions | | **Pallet pattern in the wrong format** | Retailer reads 6 layers of 10 as 10 layers of 6, or rejects it | Send `G3916` as six digits: cases per layer, then layers | | **Register description too long** | Truncated or rejected | Keep `G5516` within 16 characters | | **Effective date too close** | Item not live when the first order or delivery arrives | Send with the lead time in the retailer's guide | | **Discontinue sent but item still ordered** | Orders for an item the retailer has deleted | Confirm the last order date with the buyer before sending `002` | | **Missing paired elements** | Syntax rejection on the 997 | Send each value with its qualifier and unit | Item data errors rarely fail loudly at the 888. They show up as rejected order lines, [retail chargebacks](/glossary/retail-chargeback) for receiving mismatches, and DSD deliveries held at the door. The [EDI inspector](/edi-inspector) lays out every `G39` and `G55` element by name, which makes it quick to check a sample file before you send it to a new retailer. ## 888 Implementation Checklist - Confirm the retailer accepts the 888 at all, or wants an 832, a GS1 data pool or its portal instead - Get its 888 implementation guide and the maintenance type codes it accepts - Confirm the parties and identifiers it wants in the N1 loops, and the date qualifier for each `G62` - Confirm which `G39` and `G55` elements are required (many retailers require dimensions, Ti/Hi and register description) - Pull case and consumer unit data from one item master, with GTIN check digits validated - Agree how cost reaches it: 879, 832, the 888 itself, or outside EDI - Test an add, a change and a delete, and check the 997 and any 824 application advice that comes back - Set a rule for pack and net content changes: new GTIN, not an 888 change If you are new to grocery EDI, our [grocery EDI requirements guide](/blog/grocery-edi) and the [EDI document types reference](/edi-document-types) show how the 888 fits next to the order, invoice and delivery documents. ## Keeping Orders Matched to Your Item Data With OrderSync Item setup is only worth doing if the orders that follow match it. In practice, grocery and food suppliers receive orders as EDI 875s and 850s, but also as emails, PDFs and spreadsheets from wholesalers, independents and DSD accounts, each with its own item codes and units. OrderSync reads those orders in any format, matches each line to your catalog by UPC, case code or the customer's own item number, converts units, and outputs valid X12 or clean data to your ERP. Paste any 888 into the [free EDI inspector](/edi-inspector) to see it parsed with a plain-English summary, read more about [EDI for grocery and retail suppliers](/edi-for/grocery-and-retail-suppliers), or [book a 15-minute walkthrough](/book) to see your own orders processed. ## Frequently Asked Questions
### What is an EDI 888 document? The EDI 888 Item Maintenance is an X12 transaction set used in grocery and consumer goods to set up new items at a retailer or wholesaler, change existing item details, or withdraw and discontinue items. It carries case and consumer unit identifiers, pack, size, weight, dimensions and pallet pattern. ### Who sends an EDI 888? The supplier side sends it: a manufacturer, its broker or agent, or a data service acting for the manufacturer. The receiver is the grocery retailer or wholesaler that keeps the item file its orders, receiving and stores rely on. ### What is the difference between EDI 888 and EDI 832? Both set up and maintain items. The 832 Price/Sales Catalog is a general-purpose catalog used across industries and can include prices. The 888 is the grocery-specific UCS set, with separate case (G39) and consumer unit (G55) segments and no price changes, which go on the 879. The retailer decides which it accepts. ### What does the G53 segment mean in an EDI 888? G53 is the maintenance type. Its single element says what happens to the items that follow: 003 adds full item detail, 001 changes an item, 002 deletes it, 004 withdraws it temporarily and 005 restores it. The retailer's guide lists which codes it accepts. ### What is the G39 segment? G39 describes the vendor's selling unit, usually the case: its 12-character UPC case code, your item number, gross weight, height, width, length, volume, pallet blocks and tiers, pack and size. It is the segment every 888 item loop starts with. ### Can I send a pack size change as an 888 change? Usually not. Under the GS1 GTIN Management Standard, a change in the number of items in a case needs a new case GTIN. Set up the new case with maintenance type 003 and discontinue the old one with 002, rather than changing the old item with 001. ### Does the EDI 888 include prices? The X12 standard leaves price changes out of the 888 and sends them on the 879 Price Information set. Some retailers' implementations carry cost or pricing segments in the 888 anyway, so the retailer's guide is the authority for your trading relationship. ### What functional group code does the EDI 888 use? The 888 uses functional group QG (Product Information) in GS01, the same group as the 889 Promotion Announcement. Grocery retailers commonly name the version 004010UCS in GS08, but the version is set by each retailer's implementation guide.
--- # EDI 889 Promotion Announcement: Trade Deal Guide Source: https://ordersync.io/guides/edi/889-promotion-announcement > EDI 889 Promotion Announcement explained: G42 status codes, promotion dates, G46 allowances, G94/G95 performance options and G45 items, with live examples. The EDI 889 Promotion Announcement is the X12 transaction a manufacturer, broker or distributor uses to announce a trade promotion to a grocery retailer or wholesaler: the allowance amounts, how they are paid (off invoice or bill back), the order, ship and promotion dates, the performance required, and the items covered. It also changes, replaces, cancels and accepts promotions. **The EDI 889 is the trade deal in structured form.** When a grocery manufacturer funds a holiday feature, a temporary price reduction or a display, the retailer needs to know which items, how much per case, which dates count, and what it has to do to earn the money. The 889 carries all of that, so the deal reaches the retailer's buying and deal systems as data instead of a PDF deal sheet someone keys in. This guide covers what the 889 carries, how grocery promotion dates and allowance types work, two live examples (a new promotion and a date change), every segment you will map, and the errors that turn into disputed deductions months later. ## What Is an EDI 889? **An EDI 889 is the Promotion Announcement transaction set defined by the [ASC X12 standards body](https://x12.org/products/transaction-sets). It lets a broker, distributor or manufacturer announce promotion allowance amounts, dates and performance conditions, and also replace, cancel or change the dates of a promotion, or accept one that was offered.** It belongs to the grocery UCS family, uses grocery "G" segments, and travels in functional group `QG` (Product Information) with the [888 Item Maintenance](/guides/edi/888-item-maintenance). Authoritative references for 889 work: - The [X12 transaction set catalog](https://x12.org/products/transaction-sets) defines the 889 structure, its segment order and the code lists for promotion status, date qualifiers, allowance codes and promotion conditions - [GS1 US](https://www.gs1us.org/industries-and-insights/standards) governs the UPC case codes and consumer UPCs that identify each promoted item - Each retailer's promotion or deal implementation guide sets which allowance codes, handling methods and performance conditions it accepts **Who sends it?** Usually the manufacturer or its broker. X12 defines the 889 as multidirectional, so a retailer or wholesaler can send one back to accept a promotion and state which options it chose. **Who receives it?** A grocery retailer or wholesaler, into the system its buyers use to plan promotions and that its accounts payable team later uses to settle them. **When is it sent?** Ahead of the promotion's order window, and again whenever the deal changes: new dates, a replacement, a cancellation. **Why does it matter?** Trade promotion money moves through deductions and bill-backs long after the event. If the retailer's deal record does not match yours (different dates, a different per-case rate, an item you did not fund), the difference comes back as a deduction you have to research and dispute. An 889 that both sides load from the same data is the simplest way to avoid that. ## How Grocery Trade Promotions Are Structured Three ideas cover most of what an 889 expresses. **Allowance types.** The money is described by an allowance code (what it is for) and a method of handling (how it is paid). The common pairings in grocery: | Deal type | How it is paid | 889 method of handling (`G4602`) | |---|---|---| | Off-invoice allowance | Deducted from the invoice price on cases bought in the window | `02` Off Invoice | | Bill-back allowance | Retailer buys at full cost, then bills the supplier after proving performance | `01` Bill Back | | Scan allowance | Paid on units sold at the register during the event | Set by the retailer's guide; often an allowance code such as `68` Scanner Allowance with its own settlement process | | Accrual or flat fund | A fund earned on prior purchases, or a fixed amount | `20` Accrual Fund, `21` Flat Fund | **Date windows.** A promotion has more than one date range, and each has its own `G62` qualifier. The retailer orders during the order window, receives during the ship window, and runs the event in the store during the promotion or performance window. Off-invoice deals are usually tied to the ship or order dates. Performance and scan deals are tied to the in-store dates. **Performance options.** A deal can offer more than one way to earn it. Option 1 might be a plain off-invoice allowance with a minimum order. Option 2 might add a bill-back for running an ad and an end-aisle display. The 889 numbers each option, ties each allowance to an option, and lists the conditions with AND or OR logic. ## Interactive Example: New Promotion (G42 Status 01) A granola manufacturer announces a December holiday baking event to a grocery chain. The header sets status `01` (new) and the promotion number, then four dates: the promotion runs December 1 to 31 and the ship window is November 15 to December 15. The detail has two allowances. Option 1 is a $1.50 per case off-invoice allowance with a 10-case minimum. Option 2 is a $0.75 per case bill-back for running an ad and an end-aisle display. Both apply to the two items listed in `G45`. Use the **Plain English** tab for a readable summary, or click any segment to break it down element by element. ## Interactive Example: Promotion Date Change (G42 Status 06) Two weeks later the retailer asks to move the event back a week. The supplier sends a short 889 with status `06` (replace all dates) and the same promotion number. It restates the four dates and the parties, and leaves the allowances and items as announced. ## 889 Structure at a Glance | Area | Segment | Name | Usage | Notes | |---|---|---|---|---| | Header | **ST** | Transaction Set Header | Mandatory | `ST01` = `889` | | Header | **G42** | Promotion Announcement Identification | Mandatory | Status and promotion number | | Header | **N9** | Reference Identification | Optional | Extra references | | Header | **G61** | Contact | Optional | | | Header | **G62** | Date/Time | Mandatory, up to 50 | Promotion, order, ship and performance dates | | Header | **NTE** | Note | Optional | Free-text deal notes | | Header | **G43** | Promotion/Price List Area | Optional | Areas the promotion covers | | Header | **G23** | Terms of Sale | Optional | | | Header loop | **N1, N2, N3, N4, G62** | Party name, address and dates | Mandatory loop | Buyer, supplier, broker | | Header loop | **G94 / G95** | Promotion Conditions and Performance Requirements | Optional loop | Header-level options | | Detail loop | **LX** | Assigned Number | Mandatory per loop | Starts each promotion detail group | | Detail loop | **G46** | Promotion Allowance/Charge | Optional, up to 20 | The money | | Detail loop | **G51** | Free Goods/Product Condition | Optional | Free goods deals | | Option loop | **G94** | Promotion Conditions | Mandatory per option | Option number | | Requirement loop | **G95, G62** | Performance Requirements and dates | Mandatory per requirement | What the retailer must do | | Item loop | **G45** | Line Item Detail, Promotion | Mandatory per item | Promoted item | | Item loop | **G69, G43, G51, G23, G62, G22, QTY** | Description, area, free goods, terms, dates, pricing, quantity | Optional | | | Trailer | **SE** | Transaction Set Trailer | Mandatory | Segment count and control number | `GS01` is **QG**. Retailer guides commonly name the version `004010UCS` in `GS08`. ## Key Segments Explained ### G42: Promotion Announcement Identification ``` G42*01*PRM-26-0417~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **G4201** | Promotion Status Code | `01` | What this 889 does to the promotion (table below) | | **G4202** | Allowance or Charge Number | `PRM-26-0417` | Your promotion number. Every later change, invoice deduction and dispute refers to it | | **G4203** | Transaction Type Code | | Optional, where the retailer's guide uses it | | `G4201` | Status | Use | |---|---|---| | `01` | New | First announcement of a promotion | | `02` | Change | Change to part of an announced promotion | | `03` | Cancel | Withdraw the promotion | | `04` | Replace | Full replacement of a previous announcement | | `05` | Confirmation | Confirm a promotion | | `06` | Replace All Dates | Replace the dates of a previous announcement with the dates in this one | | `07` | Accept | Retailer accepts the promotion and states which options it selected | Keep the promotion number stable across every status. A changed number turns a date change into a second promotion in the retailer's deal system. ### G62: Promotion Dates ``` G62*15*20261201~ G62*16*20261231~ G62*25*20261115~ G62*26*20261215~ ``` `G6201` is the date qualifier and `G6202` the date. The promotion qualifiers in the X12 code list come in start and end pairs: | Qualifier | Meaning | |---|---| | `15` / `16` | Promotion start / end | | `23` / `24` | Promotion order date start / end | | `25` / `26` | Promotion ship date start / end | | `27` / `28` | Promotion requested delivery date start / end | | `29` / `30` | Promotion performance date start / end | | `31` / `32` | Promotion invoice protection start / end | | `33` / `34` | Promotion floor stock protection start / end | The header requires at least one `G62`. Which pairs a retailer requires, and which window it applies each allowance to, is defined in its guide. Get this wrong and an off-invoice allowance is missing from invoices for cases shipped in the right window. ### N1: Parties ``` N1*BY*HARBOR GROCERY*1*069854900~ N1*SU*PINE HOLLOW FOODS*1*081234567~ ``` The N1 loop is mandatory and names the buyer and supplier (and a broker, where one is involved), here by DUNS number. Each N1 loop can carry its own `G62` dates. ### LX and G46: Promotion Allowance/Charge Each detail group starts with `LX` and lists its allowances in `G46`. ``` G46*101*02*1.50*CA*****1*OFF INVOICE CASE ALLOWANCE~ G46*90*01*0.75*CA*****2*AD AND DISPLAY PERFORMANCE~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **G4601** | Allowance or Charge Code | `101` | What the allowance is for, from the X12 list | | **G4602** | Method of Handling | `02` | How it is paid. `02` off invoice, `01` bill back | | **G4603** | Allowance or Charge Rate | `1.50` | Amount per unit | | **G4604** | Unit of Measure | `CA` | The unit the rate applies to | | **G4605** | Amount | | A total amount instead of a rate (two implied decimals) | | **G4606 / G4607** | Percent qualifier and percent | | A percentage instead of a rate | | **G4608** | Exception Number | | Identifies an exception to an offered promotion | | **G4609** | Option Number | `1` | Ties this allowance to the matching `G94` option | | **G4610** | Description | `OFF INVOICE CASE ALLOWANCE` | Free text | A `G46` carries a rate, an amount or a percent, never more than one. Some allowance codes that grocery deals use: `43` Display Allowance, `47` Price and Marketing Allowance, `65` New Item Allowance, `66` Slotting Allowance, `68` Scanner Allowance, `90` Performance Allowance, `97` Cents Off, `100` Advertising Allowance and `101` Voluntary Price Reduction. The sample uses `101` for the off-invoice case allowance and `90` for the performance bill-back. Retailers map these codes to their own deal types differently, so the code list in the retailer's guide decides which to send. ### G94 and G95: Options and Performance Requirements ``` G94**1~ G95**06**10*CA~ G94**2~ G95**10~ G95*01*41~ ``` `G94` opens an option: `G9402` is the option number that `G4609` points to. `G95` lists what the retailer must do for that option. | Element | Name | Example | What it means | |---|---|---|---| | **G9501** | Promotion Condition Qualifier | `01` | Links this requirement to the one before it. `01` = AND, `02` = OR | | **G9502** | Promotion Condition Code | `41` | The requirement (codes below) | | **G9503** | Assigned Number | | Sequence number | | **G9504 / G9505** | Quantity and unit | `10` / `CA` | For conditions with a quantity, such as a minimum order | | **G9506** | Description | | Free text. Required when `G9502` is `99` | | **G9507** | Number | | Number of days in the promotion period | Read the sample as: option 1 requires a minimum order of 10 cases (`06`). Option 2 requires an advertisement (`10`) AND an end-aisle display (`41`). Common condition codes include `06` minimum order quantity, `10` advertisement (size not specified), `17` full-page advertisement, `33` circular advertisement, `40` display, `41` end-aisle display, `60` reduced price, `84` product scanning report required and `99` free-form text. ### G45: Line Item Detail, Promotion ``` G45*008451200116*084512001168*PRM-26-0417**VN*PH-GRN-HNY16*12*16*OZ~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **G4501** | U.P.C. Case Code | `008451200116` | The case the allowance applies to | | **G4502** | Consumer UPC | `084512001168` | The shelf unit's UPC | | **G4503** | Allowance or Charge Number | `PRM-26-0417` | The promotion number | | **G4504** | Exception Number | | An exception to the offered promotion | | **G4505 / G4506** | Product ID qualifier and ID | `VN` / `PH-GRN-HNY16` | Your item number | | **G4507** | Pack | `12` | Units per case | | **G4508 / G4509** | Size and unit | `16` / `OZ` | Consumer unit size | | **G4510 / G4511** | Date qualifier and date | | Item-specific date, such as the next promotion date | | **G4512** | Inner Pack | | Eaches per inner | | **G4513** | Allowance or Charge Rate | | An item-specific rate where it differs from the `G46` rate | The case code and UPC must match what the retailer set up from your [888](/guides/edi/888-item-maintenance) or [832](/guides/edi/832-price-sales-catalog). An item the retailer cannot match is dropped from the deal, and the allowance you meant to fund on it never reaches the invoice. ### Other 889 Segments - **G43** names the promotion or price list areas the deal covers. How those areas are coded is set by the retailer's guide. - **G51** describes free goods deals (buy a quantity, get product free) at the promotion or item level, but not both. - **G22** gives the suggested promoted retail price and multiple. - **NTE** carries free-text deal notes. Put anything a system must act on in a coded segment, not in a note. ## Where 889 Money Shows Up Later An 889 is a promise. It turns into money on other documents, and each one has to agree with it: 1. **Order.** The retailer orders in the window on an [875](/guides/edi/875-grocery-product-purchase-order) or [850](/guides/edi/850-purchase-order), often expecting the deal cost. 2. **Invoice.** Off-invoice allowances appear as allowance lines on the [880 grocery invoice](/guides/edi/880-grocery-products-invoice) or [810](/guides/edi/810-invoice), against the promotion number. 3. **DSD deliveries.** For direct store delivery, deals are applied at the back door through `G72` allowances on the [894 Delivery/Return Base Record](/guides/edi/894-delivery-return-base-record). An allowance the store has no record of is removed at check-in. 4. **Bill-backs and scans.** After the event, the retailer bills or deducts for performance and scan allowances, sometimes on an [812 credit/debit adjustment](/guides/edi/812-credit-debit-adjustment). 5. **Payment.** The [820 remittance](/guides/edi/820-payment-order) shows what was deducted against which promotion. Scan allowances are often reconciled against [852 product activity data](/guides/edi/852-product-activity-data). If the dates, rates or items differ anywhere in that chain, the deduction lands on whichever side has the weaker record. ## EDI 889 vs 888, 832 and 879 | Document | Purpose | Relationship to the 889 | |---|---|---| | **889 Promotion Announcement** | Announce, change, cancel or accept a trade promotion | | | **[888 Item Maintenance](/guides/edi/888-item-maintenance)** | Set up and maintain grocery items | The items in `G45` must already be set up | | **[832 Price/Sales Catalog](/guides/edi/832-price-sales-catalog)** | General catalog with items and prices | Some retailers accept promotional pricing on the 832 instead | | **879 Price Information** | List cost and price changes | Permanent cost changes go here, not on the 889 | | **[894 Delivery/Return Base Record](/guides/edi/894-delivery-return-base-record)** | DSD delivery record | Applies deal allowances at the store door | ## Common 889 Errors and How to Prevent Them | Error | What happens | Prevention | |---|---|---| | **Wrong date qualifier** | Allowance applied to the wrong window, or missing from invoices | Map each window to its qualifier pair from the retailer's guide | | **Promotion number changes between versions** | Duplicate deals, or a change applied to nothing | Keep `G4202` fixed for the life of the promotion | | **Rate and amount both sent in `G46`** | Syntax rejection | Send one of rate, amount or percent | | **Option numbers do not tie out** | Allowances not linked to their performance conditions | Make every `G4609` match a `G9402` | | **Item not set up at the retailer** | Item dropped from the deal | Confirm the 888 or 832 setup before announcing | | **Unit mismatch** | Per-case allowance applied per each, or the reverse | Send the unit in `G4604` that the retailer buys in | | **Cancel sent late** | Retailer runs the event and bills back for it | Send status `03` as soon as the deal is withdrawn, and confirm receipt with the buyer | | **Allowance code the retailer does not map** | Deal held for manual review | Use the code list in the retailer's guide | These problems usually surface as [retail chargebacks](/glossary/retail-chargeback) and deductions after the event. The [EDI inspector](/edi-inspector) shows every `G46`, `G94`, `G95` and `G45` element by name, so you can check that options, rates and items tie out before the 889 goes out. ## 889 Implementation Checklist - Confirm the retailer takes deals on the 889, and not through a portal or a deal sheet - Get its guide: the date qualifiers it requires, allowance codes, handling methods and condition codes - Confirm whether it sends 889s back with status `07` to accept, and how you should process them - Use one promotion number per deal from your trade promotion system, and keep it for every change - Check each promoted item is set up at the retailer - Test a new promotion, a date change, a replacement and a cancellation - Reconcile invoices, deductions and remittances against the promotion number after each event For the wider picture, see our [grocery EDI requirements guide](/blog/grocery-edi) and the [EDI document types reference](/edi-document-types). ## Getting Promotional Orders Right With OrderSync Promotions bring order spikes, and many of those orders do not arrive as clean EDI. Wholesalers email spreadsheets, independents send PDFs, and DSD accounts phone in extra cases for the display. OrderSync reads orders in any format, including EDI 875s and 850s, emails, PDFs and spreadsheets, matches each line to your items and units, and outputs valid X12 or clean data to your ERP, so the promotional volume is entered once and correctly. Paste any 889 into the [free EDI inspector](/edi-inspector) to see it parsed with a plain-English summary, read about [EDI for food distributors](/edi-for/food-distributors), or [book a 15-minute walkthrough](/book) to see your own orders processed. ## Frequently Asked Questions
### What is an EDI 889? The EDI 889 Promotion Announcement is an X12 transaction set used in grocery to announce trade promotions. It carries the promotion number and status, the order, ship and promotion dates, the allowances and how they are paid, the performance conditions, and the promoted items. ### Who sends the EDI 889? Usually a manufacturer or its broker sends it to a grocery retailer or wholesaler. X12 defines it as multidirectional, so the retailer can also send an 889 back with status 07 to accept a promotion and say which options it selected. ### What is the difference between off-invoice and bill-back in an 889? The method of handling in G4602 sets it. Off invoice (02) means the allowance is deducted from the invoice for cases bought in the window. Bill back (01) means the retailer pays full cost and bills the supplier afterwards, usually after proving the required performance. ### What does the G42 segment contain? G42 identifies the promotion. G4201 is the status code (01 new, 02 change, 03 cancel, 04 replace, 05 confirmation, 06 replace all dates, 07 accept) and G4202 is the promotion number that every later change, invoice and deduction refers to. ### How do you change promotion dates on an EDI 889? Send a new 889 with the same promotion number in G4202 and status 06 (replace all dates), carrying the new G62 dates. The allowances and items from the original announcement stay in place. For broader changes, use status 02 or 04 as the retailer's guide directs. ### What are G94 and G95 in an EDI 889? G94 opens a promotion option and gives its option number, which allowances reference in G4609. G95 lists the performance requirements for that option, such as a minimum order, an advertisement or an end-aisle display, linked with AND (01) or OR (02). ### How does the 889 relate to the 888 and 894? The 888 sets up the items, the 889 announces deals on those items, and for direct store delivery the 894 applies the deal allowances at the store door. The case codes and UPCs must match across all three.
--- # EDI 894 Delivery/Return Base Record: DSD Guide Source: https://ordersync.io/guides/edi/894-delivery-return-base-record > EDI 894 explained for direct store delivery: G82, G83, G84, G86 and G85 segments, delivery vs return examples, DEX vs NEX, the 895 response, and common errors. The EDI 894 Delivery/Return Base Record is the X12 transaction a direct store delivery (DSD) supplier uses to record what a route driver delivered to, or picked up from, one retail store. It lists each item, quantity, unit cost and total, and carries the store receiver's electronic signature. The retailer answers with an 895 to accept or adjust it. **The EDI 894 is the electronic delivery ticket of direct store delivery.** When a beverage, bread, snack or dairy route driver backs up to a grocery store, the 894 is the record of exactly what came off the truck (or went back on it), at what cost, signed by the store receiver. For many grocery chains it is the document the store's books are built from, so an error on the 894 turns straight into a short-pay. This guide covers what the 894 carries, how it moves (DEX at the back door or NEX ahead of the truck), every segment you will map, two live examples (a delivery and a return), the 895 response, and the errors that cause rejections and deductions. ## What Is an EDI 894? **An EDI 894 is the Delivery/Return Base Record transaction set defined by the [ASC X12 standards body](https://x12.org/products/transaction-sets), used by a DSD supplier to tell a retailer what was delivered to or returned from a specific store, item by item, with costs and totals.** It grew out of the Uniform Communication Standard (UCS) used across the US grocery industry, which is why its segments use the grocery "G" prefix and why implementation guides often label the version `004010UCS`. Authoritative references for 894 work: - The [X12 transaction set catalog](https://x12.org/products/transaction-sets) defines the 894 and 895 structures and their segment order - [GS1 US](https://www.gs1us.org/industries-and-insights/standards) governs the UPC and GTIN identifiers carried in every 894 line, and the Global Location Numbers some retailers use in place of DUNS-plus-store codes - Each DSD retailer publishes its own 894/895 implementation guide, which sets the required elements, the allowance codes it accepts, and its rules for returns and credits **Who sends it?** The supplier, usually from the route driver's handheld or the route accounting system behind it. **Who receives it?** The retailer: either the store's back-door receiving system or the chain's head-office EDI system. **When is it sent?** At or just before the store delivery. One 894 covers one store, one delivery or return event. **Why does it matter?** In DSD there is no distribution center to count the goods and no 856 ASN to reconcile against. The 894 is the count. If the store's receiver adjusts it, or the retailer cannot match it to its item and cost files, the difference comes off your payment. ## How Direct Store Delivery Works Most retail EDI follows the warehouse model: purchase order, ASN, receipt at a DC, invoice. DSD skips the DC. The supplier owns the product until it is on the shelf, and often places the order itself. | | Warehouse model | Direct store delivery | |---|---|---| | **Who decides the order** | Retailer buyer sends an 850 | Supplier's route rep, often from a store walk or scan data | | **Where goods arrive** | Retailer distribution center | Each individual store, through the back door | | **Shipment notice** | 856 ASN before arrival | 894 at or before the delivery | | **Who counts the goods** | DC receiving | Store receiver, at the back door, with the driver | | **Returns** | Separate RMA and credit process | Picked up on the same stop, recorded as an 894 credit | | **Typical categories** | General merchandise, center-store grocery | Soft drinks, beer, bread, snacks, dairy, ice, greeting cards | DSD suppliers make hundreds of stops a day, so every manual step multiplies. The 894 and its partner documents exist to make each stop a quick electronic exchange instead of a paper ticket that someone keys in later. For the wider landscape, see our guide to [grocery EDI requirements](/blog/grocery-edi). ## DEX and NEX: Two Ways an 894 Travels The same 894 structure moves through two channels. Your retailer's guide will say which it expects, and some chains accept both. **DEX (Direct Exchange).** The driver's handheld connects to the store's receiving system at the back door, historically through a cable or cradle and on newer systems over a local network. The handheld sends the 894, the store system checks every item and cost against its own files, and the receiver accepts or adjusts on the spot. The store system returns an 895 to the handheld before the driver leaves. DEX is the original UCS use case, and the reason the 894 carries a signature segment and an integrity check. **NEX (Network Exchange).** The supplier sends the 894 over a normal EDI connection (VAN, AS2 or SFTP) before or at the time of delivery, and the store receiver works from that record during check-in. The retailer returns an 895 later, through the same EDI channel. NEX removes the cable, but the record still has to match what the receiver counts. In both cases the functional group code in `GS01` is **DX**, and the version in `GS08` is commonly `004010UCS` or a later UCS release named in the retailer's guide. ## The DSD Back-Door Check-In, Step by Step A typical DEX delivery at a grocery store runs like this: 1. **Route prep.** The route accounting system loads the day's stops, the store-level item list and the agreed costs onto the driver's handheld. Item and cost data usually came from the retailer earlier, through [888 item maintenance or 832 price catalogs](/guides/edi/832-price-sales-catalog). 2. **Build the delivery.** At the store, the driver scans or keys what is coming off the truck. The handheld builds an 894 with `G82` flagged `D` (delivery) and one `G83` line per item. 3. **Record returns.** Out-of-code, damaged or recalled product picked up from the shelf goes into a separate 894 with `G82` flagged `C` (return, a credit to the store). 4. **Transmit.** The handheld sends the 894s to the store's DEX receiving system. 5. **Store verifies.** The store system compares each UPC and cost against its own item file. Unknown items and cost mismatches are flagged for the receiver. 6. **Receiver accepts or adjusts.** The receiver counts the product. If everything matches, they accept. If not, they adjust quantity or cost. 7. **Store responds.** The store system sends an 895 back: accepted as sent, or accepted with adjustments. 8. **Signature and close.** The receiver's electronic signature is captured into `G86`, and the record is closed. The adjusted figures, not the driver's original ones, are what the retailer pays against. Step 5 is where most DSD money is lost. A cost in the handheld that does not match the retailer's cost file gets adjusted down at the door, every time, until someone fixes the source data. ## Interactive Example: DSD Delivery (894, Credit/Debit Flag D) A beverage route driver delivers three case-packed lines to store `0147`. The `G82` header flags the record as a delivery (`D`), names the receiver by DUNS and store number, and dates it. Each `G83` carries the consumer UPC, the supplier's item number, the case UPC, the cost per case and the pack. `G84` totals 20 cases and $178.90 (sent as `17890` with two implied decimals). `G86` holds the receiver's signature and `G85` the integrity check. Use the **Plain English** tab for a readable summary, or click any segment to break it down element by element. ## Interactive Example: DSD Return (894, Credit/Debit Flag C) On the same stop, the driver picks up a damaged case of cola and five loose out-of-date iced tea bottles. Returns go in their own 894 with `G82` flagged `C`, so the amount is a credit to the store. Note line 2 is in eaches (`EA`) at the unit cost, because loose bottles are not a full case. ## 894 Structure at a Glance The 894 is short. A typical record is a header, one loop per item, and a summary. | Position | Segment | Name | Usage | Notes | |---|---|---|---|---| | Header | **ST** | Transaction Set Header | Mandatory | `ST01` = `894` | | Header | **G82** | Delivery/Return Base Record Identifier | Mandatory | Delivery or return, record number, receiver, supplier, date | | Header | **N9** | Reference Identification | Optional | Extra references some retailers require (route, driver, order) | | Header | **G62** | Date/Time | Optional | Delivery time window or actual arrival time | | Detail loop | **G83** | Line Item Detail (DSD) | Mandatory, repeats | One per item: quantity, UOM, UPC, item ID, cost, pack | | Detail loop | **G22** | Pricing Information | Optional | Retail price and price multiple for the store shelf | | Detail loop | **G72** | Allowance or Charge | Optional | Line-level allowances, deals or charges | | Detail loop | **G23** | Terms of Sale | Optional | Line-level terms where the retailer uses them | | Summary | **G84** | Delivery/Return Record of Totals | Mandatory | Total quantity and total amount | | Summary | **G86** | Signature Identification | Optional, often required | Receiver's electronic signature and name | | Summary | **G85** | Record Integrity Check | Mandatory in most DEX guides | Check value computed over the record | | Summary | **SE** | Transaction Set Trailer | Mandatory | Segment count and control number | Retailer guides tighten these rules. Treat "optional" as "optional unless your partner's guide says otherwise", and read the guide before you build the map. ## Key Segments Explained ### G82: Delivery/Return Base Record Identifier `G82` is the header. It decides whether the record is a delivery or a return, and identifies both sides down to the store. ``` G82*D*DSD-118734*069854900*0147*123456789*0001*20261103~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **G8201** | Credit/Debit Flag Code | `D` | `D` = delivery (a debit to the store). `C` = return (a credit to the store) | | **G8202** | Supplier's Delivery/Return Number | `DSD-118734` | Your ticket number. The retailer pays and adjusts against it, so it must be unique | | **G8203** | Receiver ID | `069854900` | The retailer, usually by DUNS number | | **G8204** | Receiver Location Number | `0147` | The store number | | **G8205** | Supplier ID | `123456789` | The supplier, usually by DUNS number | | **G8206** | Supplier Location Number | `0001` | The supplier's depot or branch that ran the route | | **G8207** | Delivery/Return Date | `20261103` | The date of the delivery or pickup | | **G8208** | Purchase Order Number | | Used where the retailer issued a store order | | **G8209** | Purchase Order Date | | The date of that order | The delivery/return number is the key the retailer reconciles on. Reusing one, even across stores, is a common reason an 894 is rejected as a duplicate. ### G83: Line Item Detail (DSD) Each `G83` is one item on the delivery or return. ``` G83*1*10*CA*614141001293*VN*SBC-COLA-12C*614141001286*8.95*2*COLA 12PK CAN~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **G8301** | Assigned Number | `1` | Line sequence number | | **G8302** | Quantity | `10` | Units delivered or returned | | **G8303** | Unit of Measure | `CA` | `CA` case, `EA` each, and other codes the retailer allows | | **G8304** | UPC (Consumer Package Code) | `614141001293` | The UPC the store scans at the register | | **G8305** | Product/Service ID Qualifier | `VN` | What the next element is. `VN` = vendor item number | | **G8306** | Product/Service ID | `SBC-COLA-12C` | Your item number | | **G8307** | UPC Case Code | `614141001286` | The case-level code, when the line is in cases | | **G8308** | Item List Cost | `8.95` | Cost per unit of measure. Must match the retailer's cost file | | **G8309** | Pack | `2` | Consumer units inside one case | | **G8310** | Cash Register Item Description | `COLA 12PK CAN` | The short description the store prints on receipts | Two details cause most G83 trouble. The store matches on the UPC in `G8304` (and sometimes the case code in `G8307`), so a UPC the store has never set up fails the line. And the cost in `G8308` must be the cost for the unit in `G8303`: a case cost on an each line, or the other way round, multiplies the error by the pack. ### G22: Pricing Information `G22` carries the shelf retail price and price multiple (for example 2 for $5.00) for the item. It matters for suppliers that maintain store pricing as part of the DSD service, and for retailers that check the supplier's suggested retail at receipt. Most deliveries omit it unless the retailer's guide asks for it. ### G72: Allowance or Charge `G72` applies a deal, allowance or charge to an item line, or to the whole record when it appears in the summary. It carries an allowance or charge code, a handling method (for example, taken off invoice), a rate, the quantity it applies to, and a total amount. The codes a retailer accepts are listed in its 894 guide, and they must match the deal agreed with the category buyer. An allowance the retailer has no record of is removed at check-in. One the retailer expected and you left off becomes a later deduction. ### G23: Terms of Sale `G23` carries payment terms where a retailer wants them on the delivery record itself. Many DSD retailers set terms in the vendor agreement instead, so this segment is often absent. ### G84: Delivery/Return Record of Totals ``` G84*20*17890~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **G8401** | Quantity | `20` | Sum of `G8302` across all lines | | **G8402** | Monetary Amount | `17890` | Total cost of the record, with two implied decimals ($178.90) | | **G8403** | Amount | | Total deposit amount, used for bottle and container deposits where they apply | The store system recomputes both totals from the lines. If your G84 does not equal the sum of quantity times cost, net of allowances, the whole record is rejected, not just the line that is off. The implied decimal catches people out: `17890` means $178.90, and `178.90` in that element is read differently by many systems. ### G86: Signature Identification ``` G86*B7E4D21A*M ALVAREZ~ ``` `G8601` holds the receiver's electronic signature (a code generated by the store system or captured on the handheld) and `G8602` the receiver's name. It is the electronic equivalent of the receiver signing the paper ticket, and it is your proof of delivery if a quantity is disputed weeks later. ### G85: Record Integrity Check ``` G85*3C9A7F21~ ``` `G85` carries a check value computed over the record's content. The store system computes the same value. If the two differ, the record was altered after it was built, and the store rejects it. Generate it with the algorithm in your retailer's guide, as the final step after every other element is final. Any edit after the check value is calculated, including a cost correction at the door, means recalculating it. ## Deliveries and Returns: The Credit/Debit Flag The single most important element in the 894 is `G8201`. | | Delivery | Return | |---|---|---| | **G8201** | `D` (debit) | `C` (credit) | | **Effect on the store** | Store owes the supplier | Supplier owes the store | | **Typical reasons** | Scheduled delivery, fill-in order, new item launch | Out of code, damaged, recalled, discontinued, overstock pull | | **Quantities and amounts** | Positive | Positive. The flag, not a minus sign, makes it a credit | | **Who else cares** | Store receiving, AP | Store receiving, AP, and often a category or loss team tracking shrink | Keep deliveries and returns in separate 894s, even when they happen on the same stop. Do not net them into one record with negative lines; most store systems reject negative quantities in `G8302`. Where the retailer wants a return reason (out of code, damaged, recall), its guide names the segment and code list to use. ## Units, Packs and Costs DSD product moves in several units: a case of 24 bottles, a tray of bread, a single bottle pulled off the shelf. The 894 handles this through three elements on each `G83` line that have to agree with each other and with the retailer's item file. - **Unit of measure (`G8303`)** says what the quantity counts. - **Pack (`G8309`)** says how many consumer units are inside one case. - **Item list cost (`G8308`)** is the cost of one unit of the stated unit of measure. If the retailer's item file says a cola case is 24 cans at $8.95 per case, an 894 line of `12*EA*...*8.95` bills twelve cans at the case cost, which the store system flags (or worse, accepts). Returns of loose product are the usual source of this error, because the handheld defaults to cases. The [EDI inspector](/edi-inspector) shows each line's quantity, unit and cost side by side, which makes these mismatches easy to spot in a sample file. ## The 895 Response **The EDI 895 Delivery/Return Acknowledgment or Adjustment is the retailer's answer to an 894.** It references the original record (by the delivery/return number and the integrity check) and either accepts it as sent or lists the adjustments the store receiver made. The [EDI 895 guide](/guides/edi/895-delivery-return-acknowledgment-or-adjustment) covers its segments and a worked adjustment. An 895 typically carries: - The original record's identification from `G82`, so you can match it - Adjustment detail only where something changed: an 895 with no adjustments is the acceptance - For adjusted lines, the corrected quantity or cost per item - The adjusted totals, a signature, and its own integrity check Treat the 895 as the source of truth for what you will be paid. Post the adjusted quantities back to your route accounting, inventory and AR, and review the adjustments by store and by reason every week. Repeated cost adjustments on the same item point to a cost file that is out of sync; repeated quantity adjustments at the same store point to a receiving problem worth raising with the store manager. The 895 is a business response. The [997 Functional Acknowledgment](/guides/edi/997-functional-acknowledgment) still confirms only that the 894 arrived and was structurally valid. ## EDI 894 vs 856, 810, 880 and 861 The 894 overlaps with several documents, which is why people searching "894 vs 856" are usually trying to work out which one their retailer actually wants. | Document | Sent by | Purpose | Used in DSD? | |---|---|---|---| | **894 Delivery/Return Base Record** | Supplier | Records items delivered to or returned from one store, with cost and receiver signature | Core DSD document | | **[856 Ship Notice/ASN](/guides/edi/856-ship-notice)** | Supplier | Tells a DC what is in a shipment before it arrives, down to pallet and carton | Rarely. Some retailers ask for an 856 on DSD, most use the 894 | | **[810 Invoice](/guides/edi/810-invoice)** | Supplier | Bills for goods. General purpose | Some retailers require an 810 after the 894 is reconciled | | **[880 Grocery Products Invoice](/guides/edi/880-grocery-products-invoice)** | Supplier | Grocery invoice with catch-weight and allowance detail | Some grocery chains bill DSD on the 880 | | **[861 Receiving Advice](/guides/edi/861-receiving-advice)** | Retailer | Reports what a DC actually received | The 895 does this job in DSD | | **[895 Delivery/Return Acknowledgment](/guides/edi/895-delivery-return-acknowledgment-or-adjustment)** | Retailer | Accepts or adjusts an 894 | Core DSD document | The short version: the 856 describes a shipment going to a warehouse, the 894 records a delivery that already happened at a store. Whether the 894 also serves as the invoice depends on the retailer. Some pay directly from the reconciled 894 and 895. Others need an 810 or 880 that references the 894 number. Check the retailer's DSD guide, not its warehouse guide, since they often differ. ## Where the 894 Sits in the DSD Document Flow A full DSD relationship uses a small family of documents around the 894: 1. **Item and cost setup.** The retailer and supplier agree on the items and costs each store will receive, often through 888 Item Maintenance or an [832 Price/Sales Catalog](/guides/edi/832-price-sales-catalog). Promotional deals may arrive on an 889 Promotion Announcement. 2. **Store order (optional).** Some retailers send a store-level [850](/guides/edi/850-purchase-order) or [875](/guides/edi/875-grocery-product-purchase-order). Many DSD categories have no PO at all; the route rep decides. 3. **894 Delivery/Return Base Record.** Sent at or before delivery for each store, one for the delivery and one for any returns. 4. **895 Delivery/Return Acknowledgment or Adjustment.** The store accepts or adjusts. 5. **Invoice (if required).** An [810](/guides/edi/810-invoice) or [880](/guides/edi/880-grocery-products-invoice), for retailers that do not pay from the 894. 6. **Payment.** The retailer pays, often with an [820 remittance advice](/guides/edi/820-payment-order) that lists which delivery numbers were paid and what was deducted. 7. **Sales data (scan-based trading).** Under scan-based trading, the supplier owns the stock until it scans at the register, and the retailer pays from [852 product activity data](/guides/edi/852-product-activity-data) instead of from the delivery. The 894 still records what went into the store, so you can reconcile deliveries against scans and measure shrink. ## Common 894 Errors and How to Prevent Them | Error | What happens | Prevention | |---|---|---| | **Cost mismatch in `G8308`** | Store adjusts every line down to its cost file; you get paid less | Sync costs from the retailer before routes load. Review 895 cost adjustments weekly | | **Unknown UPC** | Line rejected or held at the door | Confirm new items are set up at the retailer (888 or 832) before the first delivery | | **Wrong unit of measure on returns** | Loose units credited at case cost, or cases at unit cost | Force the unit and cost together on the handheld; check pack in `G8309` | | **`G84` totals do not match lines** | Whole record rejected | Compute totals from the lines at build time, never key them | | **Implied decimal error in `G8402`** | Amount read as 100 times too large or small | Send whole cents with no decimal point, per the guide | | **Integrity check out of date** | Record rejected after a late edit | Recalculate `G85` after every change | | **Duplicate delivery/return number** | Second record rejected as a duplicate | Number from a single sequence per supplier, never per handheld | | **Delivery and return netted together** | Negative quantities rejected, or credit lost | Always send returns as their own 894 with flag `C` | | **Missing signature** | No proof of delivery when the quantity is disputed | Do not close the stop without `G86` | | **Allowance not on file** | `G72` removed at check-in; deal disputed later | Load deal codes and dates from the buyer agreement, and end them on time | Most of these surface as [retail chargebacks](/glossary/retail-chargeback) or short-pays weeks later, far from the stop that caused them. Tracking 895 adjustments by reason code is the cheapest early warning you have. ## 894 Implementation Checklist Before your first live 894 with a new retailer: - Get the retailer's DSD 894/895 guide, and confirm DEX, NEX or both - Confirm the identifiers it expects in `G8203` to `G8206` (DUNS, store numbers, GLNs) - Load its item list and costs, and confirm every UPC you deliver is set up - Confirm unit-of-measure codes and how loose returns must be sent - Confirm whether it pays from the 894 or needs an 810 or 880 as well - Get its allowance and charge code list for `G72` - Implement the `G85` integrity algorithm exactly as specified - Agree a test plan: deliveries, returns, an adjusted delivery, and a rejected record - Set up a process to post 895 adjustments back to your AR and route accounting - Monitor 997s for structural rejections in the first weeks of production If you are new to EDI as a whole, our [EDI compliance guide](/edi-compliance) and the [EDI document types reference](/edi-document-types) explain how the 894 fits alongside the other documents your retailers may require. ## Handling DSD Orders With OrderSync DSD suppliers usually have two order streams: the route, and everything else. Store and head-office orders arrive as EDI 850s and 875s, emails, PDFs, spreadsheets and phone calls, and someone keys them into the route system before the truck leaves. OrderSync reads those orders in any format, matches the stores, items and units to your catalog, and outputs clean data to your ERP or route system, so the handheld starts each stop from the right order. Paste any 894 into the [free EDI inspector](/edi-inspector) to see it parsed segment by segment with a plain-English summary, read more about [EDI for DSD distributors](/edi-for/dsd-distributors) and [beverage distribution](/edi-for/beverage-distribution), or [book a 15-minute walkthrough](/book) to see your own orders processed. ## Frequently Asked Questions
### What is an EDI 894 used for? The EDI 894 records a direct store delivery. A DSD supplier uses it to tell a retailer exactly which items, quantities and costs were delivered to or returned from a specific store, with the receiver's electronic signature. The retailer checks it against its own item and cost files and replies with an 895. ### What is the difference between an EDI 894 and an EDI 856? The 856 ASN describes a shipment heading to a retailer's distribution center, down to pallets and cartons, before it arrives. The 894 records a delivery made directly to a store, item by item with cost, at the time of check-in. DSD retailers use the 894 because there is no DC receipt to reconcile against. ### What is the G82 segment in an EDI 894? G82 is the 894 header. G8201 flags the record as a delivery (D) or a return (C), G8202 is the supplier's delivery or return number, G8203 and G8204 identify the retailer and store, G8205 and G8206 identify the supplier and its depot, and G8207 is the date. ### How are returns sent on an EDI 894? Returns go in their own 894 with G8201 set to C, which makes the record a credit to the store. Quantities stay positive; the flag makes them a credit. Do not net returns into a delivery record with negative lines. ### What is the difference between the EDI 894 and EDI 895? The supplier sends the 894 to record a delivery or return. The retailer sends the 895 back to accept the 894 as sent or to report the quantity and cost adjustments the store receiver made. The adjusted 895 figures are what the retailer pays against. ### What is DEX in direct store delivery? DEX (Direct Exchange) is the in-store exchange of 894 and 895 records between the driver's handheld and the store's receiving system at the back door, completed before the driver leaves. NEX (Network Exchange) sends the same records over a normal EDI connection instead. ### Is the EDI 894 an invoice? It depends on the retailer. Some pay directly from the reconciled 894 and 895, so the 894 works as the invoice of record. Others require a separate 810 or 880 invoice that references the 894 delivery number. The retailer's DSD implementation guide says which. ### What does G85 mean in an EDI 894? G85 is the record integrity check, a value computed over the content of the record using the algorithm in the retailer's guide. The store system computes the same value and rejects the record if they differ, so G85 must be recalculated after any change.
--- # EDI 895 Delivery/Return Acknowledgment: DSD Guide Source: https://ordersync.io/guides/edi/895-delivery-return-acknowledgment-or-adjustment > EDI 895 explained for direct store delivery: G87, G88, G89 and G84 segments, how stores accept or adjust an 894, a live adjustment example and common errors. The EDI 895 Delivery/Return Acknowledgment or Adjustment is the X12 transaction a retailer sends back to a direct store delivery (DSD) supplier after checking in an 894. An 895 with no changes accepts the delivery as sent. Otherwise it lists only the lines the store changed, with corrected quantities or costs, and the adjusted totals. **The EDI 895 tells a DSD supplier what the store actually agreed to receive.** The route driver's [894 delivery/return base record](/guides/edi/894-delivery-return-base-record) is the supplier's version of the stop. The 895 is the store's version after the receiver has counted the product and the store system has checked every cost against its own file. Where the two differ, the 895 wins, because it is the figure the retailer pays against. This guide covers what the 895 carries, how it pairs with the 894 at the back door (DEX) and over the network (NEX), every segment you will map, a live example that adjusts the delivery from our 894 guide, and how to post 895 adjustments so they stop turning into short-pays you cannot explain. ## What Is an EDI 895? **An EDI 895 is the Delivery/Return Acknowledgment or Adjustment transaction set defined by the [ASC X12 standards body](https://x12.org/products/transaction-sets), used in direct store delivery to acknowledge an 894 delivery or return record, or to communicate adjustments to it identified during check-in.** Like the 894, it comes from the grocery Uniform Communication Standard (UCS), uses grocery "G" segments, and travels in a functional group with `GS01` = `DX`. Retailer guides commonly label the version `004010UCS` or a later UCS release. Authoritative references for 895 work: - The [X12 transaction set catalog](https://x12.org/products/transaction-sets) defines the 894 and 895 pair - The [Stedi 004010 895 reference](https://www.stedi.com/edi/x12-004010/895) lists the 895's segments: `G87`, `G88`, the `LS`/`LE` loop of `G89` line adjustments, and the `G84`, `G86` and `G85` summary - Published retailer guides show it in use. The [Harris Teeter 895 guideline](https://edi.kroger.com/EDIPortal/documents/Maps/ht/HT_895_UCS_X12_5010_Guidelines.pdf) on Kroger's EDI portal states that an 895 containing no changes is considered an acceptance of the preceding base record, and that the transaction carries only the detail data being changed - [GS1 US](https://www.gs1us.org/industries-and-insights/standards) governs the UPCs and case codes the 895 uses to identify adjusted items **Who sends it?** Usually the retailer: the store's DSD receiving system at the back door, or the chain's head-office EDI system. The `G87` segment also allows the supplier to be the initiator, for retailers whose process lets the supplier send a correction. **Who receives it?** The DSD supplier, through the driver's handheld (DEX) or the supplier's EDI system (NEX), and from there the route accounting system. **When is it sent?** After the store checks in an 894. With DEX, before the driver leaves the store. With NEX, later the same day or on the retailer's schedule. **Why does it matter?** The 895 is the store's record of the stop. If you post the driver's 894 to AR and ignore the 895, your receivable is overstated by every adjustment, and the gap shows up later as a deduction on the retailer's payment. ## How the 894 and 895 Work Together | Step | Who | Document | What happens | |---|---|---|---| | 1 | Supplier | **894** | Driver's handheld builds the delivery or return record, with a `G85` integrity check | | 2 | Store system | | Checks UPCs and costs against the store's item and cost file | | 3 | Store receiver | | Counts the product and accepts or adjusts quantities and costs | | 4 | Store system | **895** | Sends an acknowledgment (no changes) or an adjustment (changed lines only), quoting the 894's integrity check | | 5 | Supplier | | Posts the accepted or adjusted figures to route accounting, inventory and AR | | 6 | Retailer | Payment | Pays against the reconciled figures, often with an [820 remittance](/guides/edi/820-payment-order) | Two details from the standard drive the whole exchange: - **The 895 identifies the record by its integrity check.** `G8704` must contain the `G85` value from the base record (or previous adjustment) it responds to. If your driver edits the 894 after it was sent and does not recalculate `G85`, the store's 895 will not match the record your system holds. - **Adjustments are numbered.** `G8705` starts at `1` and increases by one for each further adjustment to the same record, whichever party sends it. A second 895 for the same delivery is not a duplicate; it is adjustment `2`. ## DEX and NEX for the 895 The 895 follows the same channel as the 894 it answers. **DEX (Direct Exchange).** The store's receiving system returns the 895 to the driver's handheld at the back door. The driver sees adjustments before leaving and can dispute a count while the product is still there. The handheld then uploads the 895 to route accounting with the rest of the day's records. **NEX (Network Exchange).** The retailer sends the 895 over a normal EDI connection (VAN, AS2 or SFTP). There is no driver in the loop, so the 895 lands in your EDI system and has to be matched to the 894 by delivery number and integrity check before anyone sees it. ## Interactive Example: Store Adjustment of a DSD Delivery (895) This 895 answers the beverage delivery in our [894 guide](/guides/edi/894-delivery-return-base-record): record `DSD-118734` for 20 cases and $178.90, with integrity check `3C9A7F21`. The store makes two changes. Line 1 (cola 12-packs) is accepted at the store's file cost of $8.75 per case instead of $8.95. Line 2 (lemon-lime 2L) is counted at 5 cases instead of 6. Line 3 is unchanged, so it is not repeated. `G84` restates the record at 19 cases and $165.50: - Line 1: 10 cases at $8.75 = $87.50 - Line 2: 5 cases at $11.40 = $57.00 - Line 3: 4 cases at $5.25 = $21.00 (unchanged) Use the **Plain English** tab for a readable summary, or click any segment to break it down element by element. ## 895 Structure at a Glance | Position | Segment | Name | Usage | Notes | |---|---|---|---|---| | Header | **ST** | Transaction Set Header | Mandatory | `ST01` = `895` | | Header | **G87** | Delivery/Return Adjustment Identification | Mandatory | Initiator, credit/debit flag, delivery number, integrity check, adjustment number | | Header | **G88** | Delivery/Return Identification Adjustment | Optional | Changes to dates, PO or store location | | Detail | **LS** | Loop Header | Optional | `LS*0100`, sent once when any line adjustments follow | | Detail loop | **G89** | Line Item Detail - Adjustment | Repeats | One per changed line | | Detail loop | **G22** | Pricing Information | Optional | Replacement shelf pricing for the line | | Detail loop | **G72** | Allowance or Charge | Optional | Changed line-level allowances or charges | | Detail loop | **G23** | Terms of Sale | Optional | Changed line-level terms | | Detail | **LE** | Loop Trailer | Optional | `LE*0100`, closes the line loop | | Summary | **G72** | Allowance or Charge | Optional | Changed record-level allowances or charges | | Summary | **G23** | Terms of Sale | Optional | Changed record-level terms | | Summary | **G84** | Delivery/Return Record of Totals | Optional | Adjusted totals for the whole record | | Summary | **G86** | Signature Identification | Mandatory | Electronic signature of the party sending the 895 | | Summary | **G85** | Record Integrity Check | Mandatory | Check value computed over this 895 | | Summary | **SE** | Transaction Set Trailer | Mandatory | Segment count and control number | An acknowledgment with no changes is the shortest possible 895: `ST`, `G87`, `G86`, `G85` and `SE`. Retailer guides may require more, such as `G84` on every 895. ## Key Segments Explained ### G87: Delivery/Return Adjustment Identification ``` G87*R*D*DSD-118734*3C9A7F21*1*R0147-261103~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **G8701** | Initiator Code | `R` | `R` = receiver (the store or retailer). `S` = supplier | | **G8702** | Credit/Debit Flag Code | `D` | `D` = debit, `C` = credit. Retailer samples use `D` when answering a delivery; the guide says how returns are flagged | | **G8703** | Supplier's Delivery/Return Number | `DSD-118734` | The `G8202` number from your 894 | | **G8704** | Integrity Check Value | `3C9A7F21` | The `G85` value from the 894 (or previous adjustment) being answered | | **G8705** | Adjustment Number | `1` | Starts at 1, plus one for each further adjustment to the same record | | **G8706** | Receiver Delivery/Return Number | `R0147-261103` | The retailer's own reference for the receipt | Match every 895 on `G8703` and `G8704` together. The delivery number alone can match a record that was edited after sending; the integrity check proves which version the store responded to. ### G88: Delivery/Return Identification Adjustment ``` G88*20261103~ ``` | Element | Name | What it means | |---|---|---| | **G8801** | Physical Delivery or Return Date | The actual date of the delivery or pickup | | **G8802** | Product Ownership Transfer Date | A date both parties agree on, such as when ownership passed | | **G8803** | Purchase Order Number | A corrected PO number | | **G8804** | Purchase Order Date | A corrected PO date | | **G8805** | Receiver's Location Number | A corrected store number | `G88` corrects header facts from the 894's `G82`. A changed store number in `G8805` matters: it moves the delivery to a different store's books. ### G89: Line Item Detail - Adjustment ``` G89*1**CA*614141001293****8.75~ G89*2*5*CA*614141002122~ ``` | Element | Name | Example (line 1) | What it means | |---|---|---|---| | **G8901** | DSD Sequence Number | `1` | The `G8301` line number on the 894, or a new number for an added line | | **G8902** | Quantity | | The corrected quantity, when the quantity changed | | **G8903** | Unit of Measure | `CA` | `CA` case, `EA` each, and other codes the retailer allows | | **G8904** | UPC (Consumer Package Code) | `614141001293` | The item's consumer UPC | | **G8905** | Product/Service ID Qualifier | | Qualifier for `G8906` | | **G8906** | Product/Service ID | | Another item identifier | | **G8907** | UPC Case Code | | The case-level code | | **G8908** | Item List Cost | `8.75` | The corrected cost, when the cost changed | | **G8909** | Pack | | Consumer units per case | | **G8910** | Inner Pack | | Units per inner pack | The 895 carries only what changed. On line 1 the quantity element is empty and the cost is `8.75`: the store accepted 10 cases but at its own file cost. On line 2 the quantity is `5` and the cost is empty: the cost stands, the count changed. The Harris Teeter guide's own sample uses the same pattern, with the quantity left empty on cost-only adjustments. The exact rules for which elements must be repeated on an adjusted line (for example, whether the UPC is always sent) are in each retailer's guide. `LS*0100` and `LE*0100` wrap the whole set of adjusted lines once. They are not repeated per line, and they are not sent at all when there are no line adjustments. ### G84: Delivery/Return Record of Totals ``` G84*19*16550~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **G8401** | Quantity | `19` | Total quantity for the record after adjustment | | **G8402** | Total Invoice Amount | `16550` | Total amount after adjustment, with two implied decimals ($165.50) | | **G8403** | Total Deposit Dollar Amount | | Total container deposits, where they apply | `G84` restates the totals for the whole record, not just the changed lines. That makes it the easiest number to reconcile: the 894's `G8402` minus the 895's `G8402` is the dollar value of the store's adjustments ($178.90 minus $165.50 is $13.40 here: $2.00 of cost and $11.40 of quantity). ### G86 and G85: Signature and Integrity Check ``` G86*5D2E91C4*M ALVAREZ~ G85*A41F06B2~ ``` `G86` carries the electronic signature of the party that generated the 895, produced the same way as in the base record. It is mandatory in the 895. `G85` is a check value computed over this 895's content, using the algorithm in the retailer's guide. If a later adjustment follows, its `G8704` will quote this value. ## Acknowledgment vs Adjustment | | Acknowledgment | Adjustment | |---|---|---| | **Meaning** | The store accepts the 894 as sent | The store changed one or more lines or header facts | | **G89 lines** | None (no `LS`/`LE`) | One per changed line | | **G84** | Optional; when sent, equals the 894 totals | Adjusted totals for the whole record | | **What you post** | The 894 figures | The 894 figures with the 895 changes applied | | **What to review** | Nothing, beyond confirming you received it | The reason for each change: cost file, count, or damaged product | ## Posting 895 Adjustments Most DSD money is lost between the 894 and the 895, and most of it is recoverable only if you see the pattern. 1. **Match.** Find the 894 by `G8703` and confirm `G8704` equals its `G85`. Hold anything that does not match. 2. **Apply.** For each `G89`, replace the quantity or cost on the matching `G83` line. Leave lines without a `G89` as sent. 3. **Check.** Recompute the record total and compare it to `G84`. A mismatch means a line was missed or applied twice. 4. **Post.** Update AR, route settlement and inventory with the adjusted figures, so the driver's truck count, the store's receipt and your invoice agree. 5. **Review.** Report adjustments weekly by store, by item and by type. Repeated cost adjustments on one item mean your cost file and the retailer's disagree, usually because a price change was not loaded on both sides through [888 item maintenance or an 832 price catalog](/guides/edi/832-price-sales-catalog). Repeated count adjustments at one store point to a receiving or route problem. ## EDI 895 vs 894, 861 and 824 | Document | Sent by | Purpose | |---|---|---| | [894 Delivery/Return Base Record](/guides/edi/894-delivery-return-base-record) | Supplier | Records the items delivered to or returned from one store | | **895 Delivery/Return Acknowledgment or Adjustment** | Retailer (or supplier) | Accepts or adjusts an 894 | | [861 Receiving Advice](/guides/edi/861-receiving-advice) | Retailer | Reports what a warehouse received against an ASN | | [824 Application Advice](/guides/edi/824-application-advice) | Retailer | Reports that a document failed business validation | | [997 Functional Acknowledgment](/guides/edi/997-functional-acknowledgment) | Receiver | Confirms a transaction arrived and was structurally valid | The 895 does in DSD what the 861 does at a distribution center: it reports what was actually received. A 997 for your 894 only proves the file arrived. The 895 tells you what the store agreed to. ## Common 895 Errors and How to Prevent Them | Error | What happens | Prevention | |---|---|---| | **895 matched on delivery number only** | Adjustment applied to the wrong version of a record | Match on `G8703` and `G8704` together | | **894 edited after sending without a new `G85`** | 895 integrity check does not match any record you hold | Recalculate `G85` after every change, before transmitting | | **Second adjustment treated as a duplicate** | Later correction ignored | Process adjustments in `G8705` order | | **Empty `G89` elements read as zero** | Quantity or cost wiped out on a cost-only or count-only change | Treat empty elements as "unchanged" | | **`LS`/`LE` sent per line** | Structural rejection | Send one `LS*0100` before the first `G89` and one `LE*0100` after the last | | **`G84` read as the change amount** | AR reduced by the full record value | `G84` is the adjusted total for the whole record | | **895s not loaded into AR** | Receivable overstated; deductions look unexplained | Post every 895 before invoicing or reconciling payments | | **Cost adjustments never reviewed** | Same item adjusted on every stop for months | Weekly adjustment report by item and store | Unresolved DSD adjustments usually show up later as [retail chargebacks](/glossary/retail-chargeback) or short-pays on the remittance. The 895 is the earliest warning you get. ## 895 Implementation Checklist - Get the retailer's DSD 894/895 guide and confirm DEX, NEX or both - Confirm whether the retailer sends an 895 for every 894, or only when it adjusts - Confirm which `G89` elements it sends on a changed line, and how it marks an added line - Confirm whether it sends `G84` on every 895 - Match on delivery number and integrity check; build a hold queue for mismatches - Apply adjustments line by line, then check against `G84` - Post adjusted figures to AR, route settlement and inventory - Set up a weekly review of adjustments by item, store and type - Test an acceptance, a cost adjustment, a quantity adjustment and a second adjustment to the same record For the wider DSD picture, see [grocery EDI requirements](/blog/grocery-edi) and the [EDI document types reference](/edi-document-types). ## Handling DSD Orders With OrderSync DSD suppliers live on two streams: the route, and the orders that set it up. Store and head-office orders arrive as EDI 850s and 875s, emails, PDFs, spreadsheets and phone calls, and someone keys them in before the truck leaves. OrderSync reads those orders in any format, matches stores, items and units to your catalog, and outputs clean data to your ERP or route system, so every stop starts from the right order. Paste any 895 into the [free EDI inspector](/edi-inspector) to see the delivery it adjusts and each changed line in plain English, read more about [EDI for DSD distributors](/edi-for/dsd-distributors) and [beverage distribution](/edi-for/beverage-distribution), or [book a 15-minute walkthrough](/book-call) to see your own orders processed. ## Frequently Asked Questions
### What is an EDI 895? The EDI 895 is the X12 Delivery/Return Acknowledgment or Adjustment. In direct store delivery, the retailer sends it after checking in a supplier's 894 to accept the delivery or return as sent, or to report the quantity and cost changes the store made. ### What is the difference between the EDI 894 and the EDI 895? The supplier sends the 894 to record a delivery or return at a store. The retailer answers with the 895, which either accepts the 894 or lists the changed lines and the adjusted totals. The retailer pays against the reconciled figures. ### Does an 895 list every line of the delivery? No. An adjustment carries only the lines that changed, each in a G89 segment identified by the 894 line number. An 895 with no G89 lines accepts the record as sent. ### What is the G87 segment in an EDI 895? G87 identifies what the 895 responds to. G8701 says who initiated it (R receiver or S supplier), G8702 is the credit or debit flag, G8703 is the supplier's delivery number, G8704 is the integrity check from the record being answered, and G8705 is the adjustment number. ### Why does the 895 carry the 894's integrity check? So both sides know exactly which version of the record the store responded to. G8704 must equal the G85 value of the base record or previous adjustment. If the 894 was changed after sending, the values will not match. ### What does an empty quantity in G89 mean? On an adjustment line, an empty quantity means the quantity was not changed. A cost-only adjustment sends the line number and the corrected cost in G8908 and leaves G8902 empty. Check the retailer's guide for its exact rules. ### Is the 895 the same as a 997? No. A 997 only confirms that your 894 arrived and was structurally valid. The 895 is a business response that says what the store accepted, and it is the record the retailer pays against.
--- # EDI 940 Warehouse Shipping Order Guide Source: https://ordersync.io/guides/edi/940-warehouse-shipping-order > EDI 940 explained: W05, W01, W66, G62 and W76 segments, three live 3PL examples, how the 940 pairs with the 945, and errors that get orders rejected. The EDI 940 Warehouse Shipping Order is the X12 transaction an inventory owner sends to its third-party warehouse to ship an order: the order number, ship-to, requested ship date, carrier and the items and quantities to pick. The warehouse ships it and confirms what actually went out with an EDI 945 Warehouse Shipping Advice. **The EDI 940 is how you tell your 3PL to ship an order.** Your customer's order arrives as an EDI 850, a marketplace order, an email or a PDF. Your ERP turns it into a 940, and the warehouse picks, packs and ships from it. Everything the warehouse knows about that order (where it goes, by when, by which carrier, which items in which units) comes from the 940, so its mistakes become the warehouse's mistakes. This guide covers what the 940 carries, where it sits in the 3PL document set, every segment you will map, three live examples (a parcel order, a refrigerated shipment to a foodservice DC and a single-item drop-ship), and the errors that make warehouses reject or misship orders. ## What Is an EDI 940? **An EDI 940 is the Warehouse Shipping Order transaction set defined by the [ASC X12 standards body](https://x12.org/products/transaction-sets). The depositor (the company that owns the goods) sends it to a warehouse (the custodian) to authorize a shipment from stock the warehouse holds for it.** It travels in functional group `OW` (the `GS01` value). The goods do not change hands between depositor and warehouse. Ownership stays with you; the warehouse only holds and ships. That is why the 940 is a list of what to ship and where, with no unit prices on its item lines. Authoritative references for 940 work: - The [X12 transaction set catalog](https://x12.org/products/transaction-sets) defines the 940 and the rest of the warehouse series (940, 943, 944, 945, 947) - The [Stedi X12 004010 reference for the 940](https://www.stedi.com/edi/x12-004010/940) shows the segment order, loops and usage, and links to each segment's elements - [GS1 US](https://www.gs1us.org/industries-and-insights/standards) governs the UPC case codes and GTINs that identify items on 940 lines - Your warehouse's own 940 implementation guide governs. It sets the required segments, the item identifiers it matches on, and the carrier and date rules **Who sends it?** The depositor: a brand, manufacturer, importer or distributor, usually from its ERP or order management system. **Who receives it?** The warehouse: a 3PL, a public or cold-storage warehouse, or your own warehouse if it runs a separate warehouse management system. **When is it sent?** As soon as an order is released for shipment. Each warehouse has its own cut-off for same-day shipping, set in your service agreement. **Why does it matter?** The 940 is the only instruction the warehouse works from. A wrong unit, item number or address on the 940 ships wrong, and the [945](/guides/edi/945-warehouse-shipping-advice) will confirm the wrong shipment accurately. ## The 3PL Document Set The 940 is one of five warehouse transaction sets. Each travels in its own functional group. | Set | Name | Direction | GS01 | What it says | |---|---|---|---|---| | **940** | Warehouse Shipping Order | Depositor to warehouse | `OW` | Ship this order | | **[945](/guides/edi/945-warehouse-shipping-advice)** | Warehouse Shipping Advice | Warehouse to depositor | `SW` | This is what we shipped | | **[943](/guides/edi/943-warehouse-stock-transfer-shipment-advice)** | Warehouse Stock Transfer Shipment Advice | Depositor to warehouse | `AR` | Stock is on its way to you | | **[944](/guides/edi/944-warehouse-stock-transfer-receipt-advice)** | Warehouse Stock Transfer Receipt Advice | Warehouse to depositor | `RE` | This is what we received | | **[947](/guides/edi/947-warehouse-inventory-adjustment-advice)** | Warehouse Inventory Adjustment Advice | Warehouse to depositor | `AW` | Your stock changed for another reason | The 940 and 945 close the outbound loop; the 943 and 944 close the inbound one; the 947 covers everything else. Many warehouses also send an [846 inventory report](/guides/edi/846-inventory-inquiry) so you can check balances. ## How the 940 to 945 Loop Works 1. **Order arrives.** A customer order reaches you as an [EDI 850](/guides/edi/850-purchase-order), a marketplace order, an email or a PDF, and is entered in your ERP. 2. **940 goes out.** Your system sends the warehouse your order number in `W0502`, the ship-to, the ship date, the carrier and one `W01` per line. 3. **Warehouse acknowledges.** Its translator returns a [997](/guides/edi/997-functional-acknowledgment) for the `OW` group. Some warehouses also report orders they cannot accept, by EDI or by email; the guide says how. 4. **Warehouse ships.** It picks, packs, labels, books the carrier and gets tracking numbers or a bill of lading. 5. **945 comes back.** The `W06` header echoes your order number in `W0602`, and each `W12` line reports ordered, shipped and the difference. 6. **You reconcile.** Match the 945 to the 940 line by line, then build the customer's [856 ship notice](/guides/edi/856-ship-notice) and [810 invoice](/guides/edi/810-invoice) from what shipped, not from what you ordered. Step 6 only works if the 940 and 945 identify items the same way, which is why item identification on `W01` matters so much. ## Interactive Example: Parcel Order to a 3PL The brand sends order `ORD-78901234` to its 3PL: twelve black tees in eaches and four cases of white tees, to Acme Customer in Austin. `W05*N` marks it as an original order. Three `N1` segments name the ship-to (`ST`), the depositor (`DE`) and the warehouse (`WH`). `G62*10` is the requested ship date and `W66` asks for UPS parcel service, freight prepaid. Line 1 identifies the tees by vendor item and consumer UPC. Line 2 identifies the case by its 12-digit UPC case code in `W0103`, plus the vendor item. `W76` gives a hash total of 16 units and an estimated 77 pounds. This is the order our [945 guide](/guides/edi/945-warehouse-shipping-advice) answers: the warehouse ships all twelve tees and three of the four cases. Use the **Plain English** tab for a readable summary, or click any segment to break it down element by element. ## 940 Structure at a Glance The 940 in release 004010 has a header, a detail loop per line, and a short summary. | Position | Segment | Name | Usage | Notes | |---|---|---|---|---| | Header | **ST** | Transaction Set Header | Mandatory | `ST01` = `940` | | Header | **W05** | Shipping Order Identification | Mandatory | Order status, your order number, customer PO | | Header loop | **N1** / N2 / N3 / N4 / PER | Name, address, contact | Optional, up to 10 loops | Ship-to, depositor, warehouse, bill-to | | Header | **N9** | Reference Identification | Optional, up to 10 | Customer, department, load and other references | | Header | **G61** | Contact | Optional | A contact for the shipment | | Header | **G62** | Date/Time | Optional, up to 10 | Requested ship, delivery, cancel-after dates | | Header | **NTE** | Note/Special Instruction | Optional | Warehouse or handling instructions | | Header | **W09** | Equipment and Temperature | Optional | Equipment type and temperature range | | Header | **W66** | Warehouse Carrier Information | Optional | Freight payment, mode, routing, SCAC | | Header | **W6** / R2 / BNX | Special handling, route, rail | Optional | Used by some guides | | Detail loop | **LX** | Assigned Number | Mandatory per loop | Starts each line group | | Detail loop | **MAN** / SDQ / N1 / G62 | Marks, store quantities, party, dates | Optional | Pre-assigned labels, line-level ship-to or dates | | Item loop | **W01** | Line Item Detail - Warehouse | Mandatory per item | Quantity, unit, item identifiers | | Item loop | **G69** | Line Item Detail - Description | Optional, up to 5 | Item description | | Item loop | **N9** / NTE / W20 / QTY / AMT / G62 | References, notes, weights, quantities, amounts, dates | Optional | Lot, serial, line notes | | Item loop | **LH2** / LHR / LH6 and others | Hazardous material detail | Optional | Hazmat lines | | Summary | **W76** | Total Shipping Order | Optional | Hash total of quantities, weight, volume | | Summary | **SE** | Transaction Set Trailer | Mandatory | Segment count and control number | Two segments people expect are not there. The 940 in 004010 has no `TD5`: carrier detail goes in `W66`. And it has no `PO1` or price: items are on `W01`, which carries quantities and identifiers only. ## Key Segments Explained ### W05: Shipping Order Identification ``` W05*N*ORD-78901234~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **W0501** | Order Status Code | `N` | `N` original, `F` cancel, `R` change, `T` resubmission. Other codes cover backorders, deletes and line replacements | | **W0502** | Depositor Order Number | `ORD-78901234` | Your order number. The 945 echoes it in `W0602` | | **W0503** | Purchase Order Number | | Your customer's PO, which the warehouse may print on the packing list and bill of lading | | **W0504** / **W0505** | Link Sequence Number, Master Reference (Link) Number | | A pair that links related orders, when the guide uses it | | **W0506** | Transaction Type Code | | A further classification, when the guide uses it | | **W0507** | Action Code | | An action code, when the guide uses it | `W0502` is the matching key for the whole loop. Keep it unique, keep its format stable (prefixes, leading zeros), and never reuse it for a different order. Which `W0501` codes a warehouse accepts, and whether it handles changes and cancellations at all once an order is released for picking, is set by its guide. Many warehouses want a cancellation (`F`) followed by a new original rather than a change. ### N1 Loop: Parties ``` N1*ST*ACME CUSTOMER INC~ N3*123 MAIN STREET~ N4*AUSTIN*TX*78701*US~ N1*DE*BRAND COMPANY LLC*ZZ*BRAND123~ N1*WH*NORTHGATE FULFILLMENT DALLAS*ZZ*WHSE-001~ ``` | Code | Party | Typical use | |---|---|---| | `ST` | Ship To | The delivery address. Required by almost every guide | | `DE` | Depositor | You, with the account code the warehouse assigned | | `WH` | Warehouse | The building to ship from, when you use several | | `BT` | Bill To | Third-party freight billing, when used | | `SF` | Ship From | The return address to print on labels, when it differs | For retail orders, the ship-to usually needs the retailer's DC or store number in `N103`/`N104`, because the warehouse prints it on labels and you will need it again on the 856. ### G62: Dates ``` G62*10*20260512~ ``` | Code | Name | |---|---| | `10` | Requested Ship Date/Pick-up Date | | `02` | Delivery Requested on This Date | | `37` | Ship Not Before Date | | `38` | Ship Not Later Than Date | | `01` | Cancel After This Date | Use the codes your warehouse's guide lists. A retailer's ship window from the 850 usually maps to `37` and `38`; a consumer order usually only needs `10`. ### NTE: Instructions ``` NTE*WHI*FIFO BY LOT. NO MIXED LOTS ON A PALLET~ ``` `NTE01` says what kind of note it is (`WHI` warehouse instruction, `SPH` special handling, `GEN` general) and `NTE02` carries the text. Free text is read by people, not systems, so put anything the warehouse must act on automatically, such as dates, carrier and lots, in coded segments. ### W09: Equipment and Temperature ``` W09*RT*33*FA*38*FA~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **W0901** | Equipment Description Code | `RT` | `RT` controlled temperature trailer (reefer). `TF` is a dry freight trailer | | **W0902** / **W0903** | Temperature, Unit | `33`, `FA` | Minimum temperature, `FA` Fahrenheit or `CE` Celsius | | **W0904** / **W0905** | Temperature, Unit | `38`, `FA` | Maximum temperature | Cold-storage warehouses use `W09` to book the right equipment. If your products need a temperature range, send it on every order; do not rely on item master settings alone. ### W66: Warehouse Carrier Information ``` W66*PP*U***UPS GROUND*****UPSN~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **W6601** | Shipment Method of Payment | `PP` | `PP` prepaid, `CC` collect, `TP` third party | | **W6602** | Transportation Method/Type Code | `U` | `U` private parcel service, `M` motor (common carrier), `LT` less than trailer load, `H` customer pickup | | **W6605** | Routing | `UPS GROUND` | Service level or routing text | | **W6606** / **W6607** | F.O.B. Point Code, F.O.B. Point | | Freight terms point, when used | | **W6608** / **W6609** | COD Method of Payment, Amount | | Cash on delivery, sent as a pair | | **W6610** | Standard Carrier Alpha Code | `UPSN` | The carrier's SCAC | For retail orders, the carrier and service usually come from the retailer's routing guide or a [754 routing instruction](/guides/edi/754-routing-instructions), and the warehouse must use exactly what you send. For consumer orders, many warehouses pick the service from rate tables; agree which side decides. Our [SCAC code glossary entry](/glossary/scac-code) explains carrier codes. ### LX and W01: Line Item Detail ``` LX*2~ W01*4*CA*012345678912*VN*BRAND-SKU-002~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **W0101** | Quantity Ordered | `4` | Quantity to ship | | **W0102** | Unit or Basis for Measurement Code | `CA` | `EA` each, `CA` case, and other X12 unit codes | | **W0103** | U.P.C. Case Code | `012345678912` | The 12-digit case code, when the line is identified by it | | **W0104** / **W0105** | Product/Service ID Qualifier, ID | `VN`, `BRAND-SKU-002` | Your item number (`VN`), or another ID such as `UP` for a consumer UPC | | **W0106** / **W0107** | Product/Service ID Qualifier, ID | | A second identifier | | **W0108** / **W0109** | Freight Class Code, Rate Class Code | | Freight classification for LTL | | **W0113** | Warehouse Lot Number | | A required lot, when you specify one | | **W0115** / **W0116** | Product/Service ID Qualifier, ID | | A third identifier | The standard requires either `W0103` or the `W0104`/`W0105` pair. `W0103` holds the UPC case code value itself, with no qualifier: there is no "UPC" qualifier element in front of it. A line written `W01*12*EA*UPC*012345678905` puts the text `UPC` into the case code element and the number into the qualifier element, and a validator or the warehouse will reject it. For an each identified by its consumer UPC, use a qualifier pair instead: `W01*12*EA**VN*BRAND-SKU-001*UP*012345678905`. Whatever you send, it has to match the warehouse's item master and come back on the 945. On the 945, `W1205` to `W1208` mirror `W0102` to `W0105` (unit, UPC case code, then a qualifier and ID pair), so the identifiers line up. ### G69: Description ``` G69*PERFORMANCE TEE WHITE LARGE CASE OF 12~ ``` A free-text description for pickers and packing lists. Useful, but never a substitute for an item identifier. ### N9 at Line Level: Lots and Other References ``` N9*LT*L2610281~ ``` `N9*LT` asks for a specific lot. Line-level `N9` also carries customer line numbers, serial numbers and similar references when a guide wants them. If one item must ship from two lots, send two lines. ### W76: Total Shipping Order ``` W76*16*77*LB~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **W7601** | Quantity Ordered | `16` | Sum of `W0101` across all lines | | **W7602** / **W7603** | Weight, Unit | `77`, `LB` | Estimated total weight, sent as a pair | | **W7604** / **W7605** | Volume, Unit | | Estimated volume, sent as a pair | The standard calls `W7601` a hash total: it adds quantities regardless of unit, so 12 eaches plus 4 cases is 16. It is a completeness check, not a unit count. ## Interactive Example: Refrigerated Order to a Foodservice DC A food manufacturer stores product at a cold-storage warehouse and sells to a foodservice distributor. It sends the warehouse a 940 to ship three lot-controlled lines to the distributor's DC. `W0503` carries the distributor's PO. `G62*10` and `G62*02` give the ship date and the delivery date the customer asked for. `NTE*WHI` asks for first-in, first-out by lot, `W09` sets a reefer at 33 to 38 degrees Fahrenheit, and `W66` names an LTL reefer carrier, freight prepaid. Each line has a UPC case code in `W0103`, a vendor item and a required lot in `N9*LT`. `W76` totals 74 cases and 872 pounds. All names, codes and the SCAC are fictional. If you sell into foodservice through a 3PL, our page on [EDI for food distributors](/edi-for/food-distributors) covers the customer side. ## Interactive Example: Drop-Ship to a Consumer A direct-to-consumer brand sends its fulfillment center one 940 per web order. The ship-to is a residential address, there is a single line, `W66` asks for UPS Ground, and two `NTE` segments carry gift-wrap and a gift note. The candle is identified by vendor item and consumer UPC in the qualifier pairs, with `W0103` left empty. Gift messages and other text the customer wrote are fine in `NTE`, but keep them short and free of special characters that clash with your delimiters. A `*` or `~` inside a gift note breaks the file. ## EDI 940 vs 945, 850 and 856 | Document | Sent by | To | Purpose | |---|---|---|---| | **[850 Purchase Order](/guides/edi/850-purchase-order)** | Customer | You | The customer's order | | **940 Warehouse Shipping Order** | You (depositor) | Warehouse | Ship this order from my stock | | **[945 Warehouse Shipping Advice](/guides/edi/945-warehouse-shipping-advice)** | Warehouse | You | What actually shipped against the 940 | | **[856 Ship Notice/Manifest](/guides/edi/856-ship-notice)** | You | Customer | What is arriving, built from the 945 | | **[943 Stock Transfer Shipment Advice](/guides/edi/943-warehouse-stock-transfer-shipment-advice)** | You | Warehouse | Stock is coming in, the inbound counterpart | The 850 and 856 face your customer; the 940 and 945 face your warehouse. Most problems in 3PL EDI come from mixing the two: building the 856 from the 940 instead of the 945, or sending the customer's item numbers to a warehouse that knows only yours. ## Common 940 Errors and How to Prevent Them | Error | What happens | Prevention | |---|---|---| | **Literal `UPC` sent in `W0103`** | 997 rejection or an unmatched line | `W0103` holds the 12-digit case code only; use a qualifier pair (`UP`, `VN`) for other IDs | | **Item ID not in the warehouse's item master** | Order held as "unknown item" | Send the identifier the warehouse matches on, usually your item number | | **Wrong unit of measure** | 4 eaches shipped instead of 4 cases | Send the unit the warehouse stores the item in, per item | | **`W0502` reused or reformatted** | 945 cannot be matched; duplicate shipments | Unique order numbers, stable format, echoed exactly on the 945 | | **Carrier sent in `TD5`** | Segment rejected; the 004010 940 has no `TD5` | Put carrier detail in `W66`, SCAC in `W6610` | | **Malformed ship-to** | Label fails or parcel is undeliverable | Validate addresses before the 940 goes out | | **Retail ship window missing** | Shipped early or late; customer compliance issues | Map the 850's dates to `G62` codes the warehouse uses | | **Change sent after picking started** | Warehouse ships the old version | Agree cut-offs and how changes and cancellations (`W0501`) are handled | | **Delimiter characters in free text** | File breaks at the bad character | Strip `*`, `~` and your sub-element separator from notes | | **No 945 back for a 940** | Order shows open while the customer has the goods | Alert when a 940 has no 945 by the agreed cut-off | ## 940 Implementation Checklist - Get the warehouse's 940 guide and confirm release (usually 004010) and `GS01` = `OW` - Agree your depositor code and how the warehouse identifies each building (`N1*DE`, `N1*WH`) - Agree the item identifier per item (`W0103` case code, `VN`, `UP`) and the unit the warehouse stores it in - Map `G62` dates, `W66` carrier rules and any `W09` temperature requirements - Agree which `W0501` codes the warehouse accepts and its cut-offs for changes and cancellations - Send lots, serials and hazmat detail where your products need them - Confirm the warehouse echoes `W0502` on the 945, and build the 940 to 945 reconciliation - Return and monitor 997s in both directions - Test a parcel order, an LTL or retail order, a multi-line order, a cancellation and a short shipment end to end If you are setting up a 3PL connection from scratch, our post on [3PL EDI integration](/blog/3pl-edi-integration) and the page on [EDI for third-party logistics](/edi-for/third-party-logistics) show which documents each side usually owns. ## Where OrderSync Fits A 940 can only be as good as the order behind it. If the customer's order was keyed with the wrong item, unit or ship-to, the warehouse ships exactly that. OrderSync works on the order side. It reads customer orders in any format, from EDI 850s and 875s to PDFs, emails and spreadsheets, matches customers, items and units to your catalog, and outputs valid X12 or ERP data, so the order your system releases to the warehouse starts out right. Paste any 940 into the [free EDI inspector](/edi-inspector) to see it parsed segment by segment with a plain-English summary, or [book a 15-minute walkthrough](/book) to see your own orders processed. ## Frequently Asked Questions
### What is an EDI 940 used for? The EDI 940 tells a warehouse, usually a 3PL, to ship an order from stock it holds for the depositor. It carries the depositor's order number, the ship-to, dates, carrier, and the items and quantities to ship. It travels in functional group OW. ### What is the difference between EDI 940 and EDI 945? The 940 is the instruction from the depositor to the warehouse: ship this order. The 945 is the warehouse's confirmation of what actually shipped. They are matched on the depositor order number, sent in W0502 on the 940 and echoed in W0602 on the 945. ### What is the W01 segment in an EDI 940? W01 is Line Item Detail - Warehouse, one per line. W0101 is the quantity, W0102 the unit of measure, W0103 the 12-digit UPC case code, and W0104 to W0107 qualifier and ID pairs such as VN for your item number or UP for a consumer UPC. ### What does W05 N mean in a 940? W0501 is the order status code and N means Original: a new order. Other codes include F for cancel, R for change and T for resubmission. The warehouse's guide lists which ones it accepts. ### How do I cancel a 940? Send a 940 with the same depositor order number in W0502 and W0501 set to F (Cancel), if the warehouse's guide supports it. Check the cut-off: once picking has started, many warehouses need a call as well, and some only accept cancellations by email or portal. ### Where does the carrier go in an EDI 940? In the W66 Warehouse Carrier Information segment. W6601 is the freight payment method, W6602 the transportation mode, W6605 the routing or service, and W6610 the carrier's SCAC. The 004010 940 has no TD5 segment. ### What is the difference between EDI 940 and EDI 850? The 850 is a purchase order from a customer to a supplier: a sale. The 940 is an instruction from the owner of the goods to its warehouse: a shipment from stock the owner still owns. A customer's 850 often leads to a 940 to the warehouse that holds the stock. ### Can I send a 940 to my own warehouse? Yes. Companies whose own warehouse runs a separate warehouse management system often use the 940 and 945 internally. It keeps the interface the same if they later add or switch to a 3PL.
--- # EDI 943 Warehouse Stock Transfer Shipment Advice Source: https://ordersync.io/guides/edi/943-warehouse-stock-transfer-shipment-advice > EDI 943 explained: how a brand tells its 3PL that inbound stock is on the way. W06, W27, W04 and W03 segments, a live example, and the 944 that answers it. The EDI 943 Warehouse Stock Transfer Shipment Advice is the X12 transaction a brand, manufacturer or other inventory owner sends to its warehouse or 3PL to say that a shipment of its stock is on the way. It lists each item, quantity, lot and carrier so the warehouse can plan receiving. The warehouse answers with a 944 receipt. **The EDI 943 is the inbound half of 3PL EDI.** The [940 and 945](/guides/edi/940-warehouse-shipping-order) move orders out of the warehouse. The 943 and its answer, the [944 receipt advice](/guides/edi/944-warehouse-stock-transfer-receipt-advice), move your inventory in. When a trailer leaves your plant, a co-packer or another warehouse bound for your 3PL, the 943 tells the receiving dock what to expect, so the receipt can be checked against it line by line. This guide covers what the 943 carries, who sends it and when, every segment you will map, a live example, how it differs from the 856 ASN, and the errors that turn a simple receipt into a week of emails. ## What Is an EDI 943? **An EDI 943 is the Warehouse Stock Transfer Shipment Advice transaction set defined by the [ASC X12 standards body](https://x12.org/products/transaction-sets). The depositor (the company that owns the inventory) sends it to a warehouse to advise that a transfer shipment has been made, with detail on the products shipped to that location.** In the X12 envelope it travels in a functional group with the code `AR` in `GS01`. "Stock transfer" is the key phrase. The goods are not being sold to the warehouse. Ownership stays with the depositor; only custody moves. That is why the 943 has no prices, no terms and no invoice reference. It is a list of what is on the truck. Authoritative references for 943 work: - The [X12 transaction set catalog](https://x12.org/products/transaction-sets) defines the 943 and the rest of the warehouse series (940, 943, 944, 945, 947) - [GS1 US](https://www.gs1us.org/industries-and-insights/standards) governs the UPC case codes and GTINs that identify each item on a 943 line - Each 3PL publishes its own 943 implementation guide, which sets which segments it requires, which item identifiers it matches on, and whether lot numbers are mandatory **Who sends it?** The depositor: a brand, manufacturer, importer or distributor, usually from its ERP when a transfer order ships. Sometimes a co-packer or a freight forwarder sends it on the depositor's behalf. **Who receives it?** The warehouse, usually a 3PL or public warehouse, into its warehouse management system (WMS). **When is it sent?** When the shipment leaves the origin, and in any case before it reaches the receiving dock. **Why does it matter?** A warehouse that receives a trailer with no 943 has to count everything blind, key in the items, and guess at lots and expected quantities. That is slower, and it is where receiving errors and "unknown item" holds come from. With a 943 on file, the dock scans against an expected receipt and only investigates the differences. ## How the 943 and 944 Work Together The 943 is an advance notice. The 944 is the confirmation. Together they close the inbound loop the same way the 940 and 945 close the outbound one. 1. **Transfer ships.** Your plant, supplier or another warehouse loads a trailer bound for the 3PL. Your ERP records a transfer order. 2. **943 sent.** Your system sends a 943 listing the shipment ID, carrier, expected delivery date and every item, quantity and lot on the trailer. 3. **Warehouse prepares.** The 3PL's WMS creates an expected receipt (often called an ASN or receiving order) from the 943, and schedules a dock appointment. 4. **Trailer arrives.** The dock scans pallets and cases against the expected receipt. Matches post automatically; differences are flagged. 5. **944 returned.** The warehouse sends a [944 Warehouse Stock Transfer Receipt Advice](/guides/edi/944-warehouse-stock-transfer-receipt-advice) with what actually arrived, including any short, over or damaged quantities. 6. **Inventory available.** Your ERP moves the stock from in-transit to available at that warehouse, and your [846 inventory feed](/guides/edi/846-inventory-inquiry) from the 3PL starts to include it. If anything changes after receipt (damage found during putaway, a lot put on hold, a cycle count correction), the warehouse reports it on a [947 Warehouse Inventory Adjustment Advice](/guides/edi/947-warehouse-inventory-adjustment-advice). ## Interactive Example: Plant-to-3PL Stock Transfer (943) A food brand ships a trailer from its Boise plant to its 3PL in Reno. The `W06` header carries the brand's transfer number `TR-260412`, the ship date and the shipment ID. Three `N1` loops name the depositor, the ship-from plant and the receiving warehouse. `N9*BM` gives the bill of lading, `G62*17` the estimated delivery date, and `W27` the carrier's SCAC. Each `W04` line carries the case quantity, UPC case code and item number, with the product description in `G69` and the lot in `N9*LT`. `W03` totals 108 cases and 2,064 pounds. Use the **Plain English** tab for a readable summary, or click any segment to break it down element by element. Two days later, the warehouse answers this 943 with a 944 reporting 106 of the 108 cases received. You can see that receipt in the [944 guide](/guides/edi/944-warehouse-stock-transfer-receipt-advice). ## 943 Structure at a Glance | Position | Segment | Name | Usage | Notes | |---|---|---|---|---| | Header | **ST** | Transaction Set Header | Mandatory | `ST01` = `943` | | Header | **W06** | Warehouse Shipment Identification | Mandatory | Reporting code, depositor order number, ship date, shipment ID | | Header loop | **N1** / N2 / N3 / N4 / PER | Name and address | Mandatory, repeats | Depositor, ship-from, receiving warehouse | | Header | **N9** | Reference Identification | Optional | Bill of lading, PO, container or seal numbers | | Header | **G62** | Date/Time | Optional | Estimated or scheduled delivery date | | Header | **W27** | Carrier Detail | Required by most guides | Transportation method and carrier SCAC | | Detail loop | **W04** | Item Detail Total | Mandatory, repeats | One per item (or item and lot): quantity, unit, item IDs | | Detail loop | **G69** | Line Item Detail - Description | Optional | Free-text item description | | Detail loop | **N9** | Reference Identification | Optional | Lot, pallet, case or serial numbers for the line | | Detail loop | **W20** | Line Item Detail - Miscellaneous | Optional | Pack, weight and volume details | | Summary | **W03** | Total Shipment Information | Mandatory | Total units, weight and volume | | Summary | **SE** | Transaction Set Trailer | Mandatory | Segment count and control number | As with every warehouse set, the 3PL's guide decides which optional segments it actually needs. Many make the lot `N9` mandatory for food, pharma and other lot-controlled goods. ## Key Segments Explained ### W06: Warehouse Shipment Identification ``` W06*F*TR-260412*20261102*SHP-88412~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **W0601** | Reporting Code | `F` | The basis of the report. `F` (full detail) is the usual value on a 943; some guides also accept a book-transfer code | | **W0602** | Depositor Order Number | `TR-260412` | Your transfer or shipment order number. The 944 echoes it back, so it is your matching key | | **W0603** | Date | `20261102` | The ship date, as CCYYMMDD | | **W0604** | Shipment Identification Number | `SHP-88412` | The shipment's unique ID, often the BOL or a load number | | **W0605** | Agent Shipment ID Number | | Used when a forwarder or agent assigns its own ID | | **W0606** | Purchase Order Number | | A related PO, for example when a supplier ships straight to your 3PL against your PO | The W06 segment is shared with the [945 Warehouse Shipping Advice](/guides/edi/945-warehouse-shipping-advice), where it identifies an outbound shipment instead. ### N1 Loop: The Parties ``` N1*DE*NORTHFIELD PANTRY CO~ N1*SF*NORTHFIELD PANTRY PLANT 1~ N3*4100 MILLRACE RD~ N4*BOISE*ID*83716*US~ N1*WH*RIDGELINE LOGISTICS RENO*91*RNO2~ ``` The 943 usually names three parties: the depositor (`DE`, or `MF` for manufacturer in some guides), the ship-from location (`SF`), and the receiving warehouse (`WH`). The warehouse code in `N104` matters most. Many 3PLs run several buildings under one EDI ID and route the 943 to the right dock by that code. A wrong or missing warehouse code is one of the most common reasons a 943 is rejected. ### W27: Carrier Detail ``` W27*M*SRLX~ ``` `W2701` is the transportation method (`M` for motor common carrier, `R` rail, `H` customer pickup and so on) and `W2702` the carrier's Standard Carrier Alpha Code (SCAC). The dock uses the SCAC to match the 943 to the trailer when the driver checks in. Routing text and payment method can follow in `W2703` and `W2704` where the guide asks for them. ### W04: Item Detail Total ``` W04*48*CA*086123450014*VN*NFP-GRN-12~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **W0401** | Number of Units Shipped | `48` | Quantity on this line | | **W0402** | Unit of Measure | `CA` | `CA` case, `EA` each, `PL` pallet, or whatever unit the 3PL stores the item in | | **W0403** | UPC Case Code | `086123450014` | The 12-digit case-level UPC | | **W0404** | Product/Service ID Qualifier | `VN` | What the next element is. `VN` = vendor (your) item number | | **W0405** | Product/Service ID | `NFP-GRN-12` | Your item number | | **W0406** | Product/Service ID Qualifier | | A second identifier, such as `UK` for a GTIN-14 | | **W0407** | Product/Service ID | | The second identifier's value | Every line needs at least one identifier: the UPC case code, an item number, or both. Most 3PLs match on whichever one they loaded into the WMS item master, so send the identifier they asked for, not just the one your ERP prefers. ### N9 at Line Level: Lots and Packages ``` N9*LT*L2610A~ ``` Lot-controlled goods need the lot on every line. `N9*LT` is the usual way to send it. If one item ships in two lots, send two `W04` lines, one per lot, rather than one line with two lot references. Pallet IDs (`QQ`), case numbers (`97`) and serial numbers (`SE`) also travel in line-level `N9` segments when a guide wants them. ### W03: Total Shipment Information ``` W03*108*2064*LB~ ``` `W0301` is the total units shipped, which should equal the sum of the `W0401` quantities. `W0302` and `W0303` give the total weight and its unit. Some guides add total volume in `W0304` and `W0305`. ## EDI 943 vs 856, 940 and 944 The 943 is often confused with the 856 ASN, because both describe a shipment before it arrives. | Document | Sent by | Sent to | Purpose | |---|---|---|---| | **943 Warehouse Stock Transfer Shipment Advice** | Depositor (inventory owner) | Its own warehouse or 3PL | Inventory you still own is coming into storage | | **[856 Ship Notice/ASN](/guides/edi/856-ship-notice)** | Seller | Buyer (retailer or distributor) | Goods you sold are coming to the buyer's DC, down to pallet and carton | | **[940 Warehouse Shipping Order](/guides/edi/940-warehouse-shipping-order)** | Depositor | Warehouse | Ship this order out of the warehouse to a customer | | **[944 Warehouse Stock Transfer Receipt Advice](/guides/edi/944-warehouse-stock-transfer-receipt-advice)** | Warehouse | Depositor | This is what we actually received from your 943 | | **[945 Warehouse Shipping Advice](/guides/edi/945-warehouse-shipping-advice)** | Warehouse | Depositor | This is what we actually shipped against your 940 | The short version: the 856 describes a sale in transit, the 943 describes a transfer in transit. Some 3PLs accept an 856 from your suppliers in place of a 943, especially when a supplier ships directly to the 3PL against your PO. Check the 3PL's guide before you ask a supplier to build anything new. ## Where the 943 Sits in 3PL EDI A full 3PL relationship usually runs these documents: | Flow | Document | Direction | |---|---|---| | Inbound | **943** Stock Transfer Shipment Advice | Depositor to warehouse | | Inbound | **944** Stock Transfer Receipt Advice | Warehouse to depositor | | Outbound | **940** Warehouse Shipping Order | Depositor to warehouse | | Outbound | **945** Warehouse Shipping Advice | Warehouse to depositor | | Inventory | **[846](/guides/edi/846-inventory-inquiry)** Inventory Inquiry/Advice | Warehouse to depositor (snapshot) | | Inventory | **947** Warehouse Inventory Adjustment Advice | Warehouse to depositor (each change) | | All | **[997](/guides/edi/997-functional-acknowledgment)** Functional Acknowledgment | Both ways | For the wider picture of setting up these flows with a 3PL, see our guide to [3PL EDI integration](/blog/3pl-edi-integration). ## Common 943 Errors and How to Prevent Them | Error | What happens | Prevention | |---|---|---| | **Item not in the 3PL item master** | Line rejected, or stock received to a holding location until someone sets it up | Send new items to the 3PL before the first transfer ships | | **Wrong unit of measure** | 48 cases received as 48 eaches, or the other way round | Agree a storage unit per item and send it in `W0402` every time | | **Missing lot number** | Lot-controlled stock held at the dock, or received without lot traceability | Make `N9*LT` mandatory in your map for lot-tracked items | | **Two lots on one line** | Receipt cannot be split correctly by lot | One `W04` line per item per lot | | **Wrong warehouse code in `N1*WH`** | 943 routed to the wrong building, receipt never matched | Keep a table of 3PL building codes and validate before sending | | **943 sent after the trailer arrives** | Dock receives blind; 944 does not match | Trigger the 943 from the ship confirmation, not from an end-of-day batch | | **Totals do not match lines** | Some 3PLs reject the whole document | Compute `W0301` from the lines at build time | | **Reused depositor order number** | 944 matched to the wrong transfer | Number transfers from one sequence that never repeats | ## 943 Implementation Checklist - Get the 3PL's 943 guide and its list of building or warehouse codes - Confirm the item identifier it matches on (UPC case code, GTIN, your item number) and load your items into its WMS first - Confirm unit of measure per item and whether lots, expiry dates or serial numbers are required - Decide what triggers the 943 in your ERP (transfer ship confirmation is the usual choice) - Map `W0602` to a transfer number your ERP can find again when the 944 arrives - Agree how suppliers or co-packers shipping straight to the 3PL will notify it (their own 943 on your behalf, an 856, or a 943 from you) - Test a full receipt, a short receipt and a multi-lot receipt end to end with the matching 944s - Watch 997s for structural rejections in the first weeks If you are new to EDI document numbers in general, our [EDI document types reference](/edi-document-types) lists the full set and how they relate. ## Handling 3PL and Order Data With OrderSync Inbound transfers are usually the tidy part of 3PL EDI. The messy part is upstream: customer orders that arrive as EDI 850s, PDFs, emails and spreadsheets and have to be keyed into the ERP before anything can ship from the 3PL. OrderSync reads those orders in any format, matches customers, items and units to your catalog, and outputs clean data to your ERP or valid X12, so the orders that drive your 940s start out right. Paste any 943 into the [free EDI inspector](/edi-inspector) to see it parsed segment by segment with a plain-English summary, read about [EDI for food distributors](/edi-for/food-distributors), or [book a 15-minute walkthrough](/book) to see your own orders processed. ## Frequently Asked Questions
### What is an EDI 943 used for? The EDI 943 tells a warehouse or 3PL that inventory owned by the depositor is on its way to that warehouse. It lists the shipment ID, carrier, expected delivery date and each item, quantity and lot, so the warehouse can schedule the dock and receive against an expected list instead of counting blind. ### What is the 943 EDI document type? The 943 is the X12 Warehouse Stock Transfer Shipment Advice. It belongs to the warehouse series of transaction sets alongside the 940, 944, 945 and 947, and travels in a functional group with the code AR. It records a transfer of custody, not a sale, so it carries no prices. ### What is the difference between an EDI 943 and an EDI 944? The depositor sends the 943 to say what it shipped to the warehouse. The warehouse sends the 944 back to confirm what it actually received, including any short, over or damaged quantities. The 944 references the 943's depositor order number so the two can be matched. ### What is the difference between an EDI 943 and an EDI 856? An 856 ASN tells a buyer what a seller is shipping to it, so the goods change owner. A 943 tells a warehouse what the inventory owner is shipping into storage, so only custody changes. Some 3PLs accept an 856 in place of a 943 from suppliers shipping directly to them. ### What is the W04 segment in an EDI 943? W04 is the Item Detail Total segment, one per item line. W0401 is the quantity shipped, W0402 the unit of measure, W0403 the UPC case code, and W0404 and W0405 an item ID qualifier and number such as VN and your item code. ### Who sends the EDI 943? The depositor, meaning the company that owns the inventory: a brand, manufacturer, importer or distributor. A co-packer, supplier or freight forwarder can send it on the depositor's behalf when it ships straight to the 3PL, if the 3PL's guide allows that. ### Does every 3PL require an EDI 943? No. Many 3PLs accept inbound notices through a portal, a spreadsheet upload or an API as well as EDI. Larger 3PLs and public warehouses commonly require a 943 for EDI-connected depositors, because it lets them receive against an expected list. The 3PL's onboarding guide says which.
--- # EDI 944 Warehouse Stock Transfer Receipt Advice Source: https://ordersync.io/guides/edi/944-warehouse-stock-transfer-receipt-advice > EDI 944 definition and example: how a 3PL confirms what it received. W17, W07, W13 and W14 segments, short and damaged receipts, and the 943 it answers. The EDI 944 Warehouse Stock Transfer Receipt Advice is the X12 transaction a warehouse or 3PL sends to the inventory owner to confirm that an inbound shipment has been received. It reports, item by item, the quantity actually received and any short, over or damaged units, and usually answers the owner's 943 shipment advice. **The EDI 944 is the warehouse's receiving report.** When a trailer of your stock arrives at your 3PL, the 944 is the record of what was counted into the building. Your ERP uses it to move inventory from in-transit to available, and to open a claim when the count comes up short. If the 944 is wrong or late, every downstream number (available to promise, the [846 inventory feed](/guides/edi/846-inventory-inquiry), the orders you release on [940s](/guides/edi/940-warehouse-shipping-order)) is wrong with it. This guide covers the 944 definition, what it carries, how it matches back to the [943 shipment advice](/guides/edi/943-warehouse-stock-transfer-shipment-advice), every segment you will map, a live example with a short line, and the errors that leave stock stuck in transit on your books. ## What Is an EDI 944? **An EDI 944 is the Warehouse Stock Transfer Receipt Advice transaction set defined by the [ASC X12 standards body](https://x12.org/products/transaction-sets). The receiving warehouse generates it to advise the depositor (the inventory owner), or the depositor's agent, that a transfer shipment has been received, with detail on the product received.** In the X12 envelope it travels in a functional group with the code `RE` in `GS01`. Authoritative references for 944 work: - The [X12 transaction set catalog](https://x12.org/products/transaction-sets) defines the 944 and the other warehouse transaction sets - [GS1 US](https://www.gs1us.org/industries-and-insights/standards) governs the UPC case codes, GTINs and SSCC pallet labels the warehouse scans at receipt - Each 3PL publishes a 944 implementation guide stating what it sends: which identifiers, whether lots and pallet IDs are included, and how exceptions are reported **Who sends it?** The warehouse: a 3PL, public warehouse, cold storage operator, or your own distribution center if it runs a separate WMS. **Who receives it?** The depositor, into its ERP or inventory system. **When is it sent?** After the receipt is checked and closed in the WMS. How soon after unloading is set in your warehouse agreement, so agree it before go-live. **What triggers it?** Usually a 943 from the depositor, but not always. A 944 is also sent for supplier shipments that arrive without a 943, and for customer returns received into the warehouse. ## How the 944 Answers the 943 The 943 says what left the origin. The 944 says what arrived. Matching the two is the whole point. | | 943 Shipment Advice | 944 Receipt Advice | |---|---|---| | **Sent by** | Depositor | Warehouse | | **Header segment** | `W06` | `W17` | | **Matching key** | `W0602` depositor order number | `W1704` depositor order number (the same value) | | **Shipment ID** | `W0604` | `W1705` (the same value) | | **Line segment** | `W04`, quantity shipped | `W07`, quantity received | | **Exceptions** | None | `W13`: damaged, short or over | | **Totals** | `W03`, units shipped | `W14`, units received and shipped | Your system should match each 944 to its 943 on the depositor order number, then compare line by line on item and lot. Every difference is either a carrier claim, a supplier claim, or a count error to resolve with the 3PL. Leaving differences unresolved is how in-transit balances grow for months. ## Interactive Example: Receipt With a Short Line (944) The Reno 3PL receives the Boise transfer announced in the [943 example](/guides/edi/943-warehouse-stock-transfer-shipment-advice). `W17` reports a full-detail receipt dated 4 November, the warehouse's own receipt number `RCV-50931`, and echoes back the depositor's transfer number `TR-260412` and shipment ID `SHP-88412`. Lines 1 and 3 arrived in full. Line 2 (almond butter) received 34 cases, and a `W13` exception with condition code `02` reports 2 cases short. `W14` closes with 106 cases received against 108 shipped. Use the **Plain English** tab for a readable summary, or click any segment to break it down element by element. ## 944 Structure at a Glance | Position | Segment | Name | Usage | Notes | |---|---|---|---|---| | Header | **ST** | Transaction Set Header | Mandatory | `ST01` = `944` | | Header | **W17** | Warehouse Receipt Identification | Mandatory | Reporting code, receipt date, receipt number, depositor order, shipment ID | | Header loop | **N1** / N2 / N3 / N4 / PER | Name and address | Mandatory, repeats | Warehouse, depositor, ship-from (for returns), carrier | | Header | **N9** | Reference Identification | Optional | Bill of lading, PO, container numbers | | Header | **G62** | Date/Time | Optional | Extra dates, such as the time the trailer arrived | | Header | **W08** | Receipt Carrier Information | Optional | Carrier and trailer details at receipt | | Detail loop | **W07** | Item Detail for Stock Receipt | Mandatory, repeats | Quantity received, unit, item IDs | | Detail loop | **G69** | Line Item Detail - Description | Optional | Item description | | Detail loop | **N9** | Reference Identification | Optional | Lot, pallet, case and serial numbers | | Detail loop | **W20** | Line Item Detail - Miscellaneous | Optional | Pack, weight and volume | | Exception loop | **W13** | Item Detail Exception | Optional | Damaged, short or over quantities for the line | | Summary | **W14** | Total Receipt Information | Mandatory | Total quantity received | | Summary | **SE** | Transaction Set Trailer | Mandatory | Segment count and control number | ## Key Segments Explained ### W17: Warehouse Receipt Identification ``` W17*F*20261104*RCV-50931*TR-260412*SHP-88412~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **W1701** | Reporting Code | `F` | The basis of the report. `F` = full detail. Many guides use `C` for a customer return reported in full detail | | **W1702** | Date | `20261104` | The date the receipt was made, as CCYYMMDD | | **W1703** | Warehouse Receipt Number | `RCV-50931` | The warehouse's own receipt ID. Quote it in any dispute | | **W1704** | Depositor Order Number | `TR-260412` | Your transfer number from the 943's `W0602`. Your key for matching | | **W1705** | Shipment Identification Number | `SHP-88412` | The shipment ID from the 943's `W0604` | | **W1706** / **W1707** | Time Qualifier / Time | | An optional receipt time, sent as a pair | If `W1704` is blank, the warehouse received something it could not tie to a 943. That is worth an alert in your system, not a silent post to inventory. ### W07: Item Detail for Stock Receipt ``` W07*34*CA*086123450021*VN*NFP-ALB-16~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **W0701** | Quantity Received | `34` | Units received on this line | | **W0702** | Unit of Measure | `CA` | The unit the quantity is counted in | | **W0703** | UPC Case Code | `086123450021` | The 12-digit case-level UPC | | **W0704** | Product/Service ID Qualifier | `VN` | What the next element is. `VN` = vendor item number | | **W0705** | Product/Service ID | `NFP-ALB-16` | Your item number | | **W0706** / **W0707** | Second qualifier and ID | | A second identifier, such as a GTIN | | **W0708** | Warehouse Lot Number | | A lot number, where the guide uses this element rather than `N9*LT` | Whether `W0701` includes damaged units or only good stock varies between warehouses. Some report total received in `W07` and the damaged part in `W13`. Others report only saleable stock in `W07`. Ask, and write the answer into your mapping notes, because it changes how you post the receipt. ### W13: Item Detail Exception ``` W13*2*CA*02~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **W1301** | Quantity | `2` | The quantity affected | | **W1302** | Unit of Measure | `CA` | Its unit | | **W1303** | Receiving Condition Code | `02` | `01` damaged product or container, `02` quantity short, `03` quantity over | | **W1304** | Warehouse Lot Number | | The lot affected, where relevant | | **W1305** | Damage Reason Code | | Why it was damaged. Guides typically require it when `W1303` is `01` | `W13` is how a 944 tells you about a problem without a phone call. Route it to whoever files freight claims. A shortage noted on the carrier's delivery receipt at the dock is far easier to claim than one discovered later. ### N9 at Line Level: Lots, Pallets and Serials ``` N9*LT*L2610B~ ``` Line-level `N9` segments carry the lot (`LT`), pallet or unit number (`QQ`), case number (`97`) and serial number (`SE`). Check that the lots on the 944 match the lots you shipped on the 943. A mismatch usually means the dock received against the wrong line, which will cause a pick error the first time someone orders that lot. ### W14: Total Receipt Information ``` W14*106*108~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **W1401** | Quantity Received | `106` | Total quantity received across all lines | | **W1402** | Number of Units Shipped | `108` | Total the shipper said was on the load | | **W1403** | Quantity Damaged/On Hold | | Units received that cannot ship as they are | `W1401` is a control total. Recompute it from the `W07` lines when you load the 944, and reject or flag the document if it does not agree. ## EDI 944 vs 861, 945 and 947 | Document | Sent by | Purpose | When you see it | |---|---|---|---| | **944 Warehouse Stock Transfer Receipt Advice** | Warehouse | Confirms what it received into storage for the depositor | 3PL and public warehouse receipts | | **[861 Receiving Advice/Acceptance Certificate](/guides/edi/861-receiving-advice)** | Buyer | Reports what a buyer received from a seller against a purchase | Retail and manufacturing purchasing | | **[945 Warehouse Shipping Advice](/guides/edi/945-warehouse-shipping-advice)** | Warehouse | Confirms what it shipped out against a 940 | Outbound 3PL orders | | **[947 Warehouse Inventory Adjustment Advice](/guides/edi/947-warehouse-inventory-adjustment-advice)** | Warehouse | Reports a change to stock already in the building | Damage, holds, cycle counts | The 861 and the 944 both report a receipt, but between different parties. The 861 comes from a customer who bought your goods. The 944 comes from a warehouse holding your goods. If a discrepancy shows up after the 944 is sent (damage found during putaway, for example), the warehouse reports it on a 947 rather than resending the 944. ## Where the 944 Sits in 3PL EDI 1. **[943](/guides/edi/943-warehouse-stock-transfer-shipment-advice)**: depositor announces an inbound transfer 2. **944**: warehouse confirms the receipt 3. **[846](/guides/edi/846-inventory-inquiry)**: warehouse reports on-hand inventory, now including the receipt 4. **[940](/guides/edi/940-warehouse-shipping-order)**: depositor orders shipments out of that stock 5. **[945](/guides/edi/945-warehouse-shipping-advice)**: warehouse confirms each shipment 6. **[947](/guides/edi/947-warehouse-inventory-adjustment-advice)**: warehouse reports adjustments between receipts and shipments 7. **[997](/guides/edi/997-functional-acknowledgment)**: each side acknowledges every document it receives Our guide to [3PL EDI integration](/blog/3pl-edi-integration) covers how to stage these with a new warehouse. ## Common 944 Errors and How to Prevent Them | Error | What happens | Prevention | |---|---|---| | **Missing or wrong depositor order number in `W1704`** | 944 cannot be matched; stock stays in transit on your books | Require `W1704` in the 3PL agreement and alert on any 944 without a match | | **Receipt posted without comparing to the 943** | Shortages absorbed silently; no claim filed | Compare by item and lot, and route every difference to a person | | **Damaged units counted as available** | You sell stock the warehouse cannot ship | Agree whether `W0701` includes damaged units, and post `W13` code `01` to a hold location | | **Unit of measure mismatch** | 34 cases posted as 34 eaches | Convert from the warehouse unit to your stock unit with a maintained item table | | **Lot on the 944 differs from the 943** | Wrong lot on hand; recalls and FEFO picking go wrong | Validate lots at receipt and query the 3PL on any mismatch | | **Late 944** | Inventory not available to sell; orders back up | Track 944 time against trailer arrival in your 3PL scorecard | | **Duplicate 944 for one receipt** | Inventory counted twice | Deduplicate on `W1703` warehouse receipt number | ## 944 Implementation Checklist - Get the 3PL's 944 guide and a sample file from a real receipt - Confirm it echoes your 943 depositor order number in `W1704` and shipment ID in `W1705` - Confirm how it reports damaged, short and over quantities (`W13`, `W1403`, or a separate 947) - Confirm whether lots, expiry dates and pallet IDs come at line level - Decide where damaged and held stock posts in your ERP - Decide who gets alerted on discrepancies, and how fast - Test a full receipt, a short receipt, a damaged receipt and a receipt with no 943 behind it - Send a 997 for every 944 and watch for structural errors in the first weeks For a list of every X12 document number and what it does, see our [EDI document types reference](/edi-document-types). ## Handling 3PL and Order Data With OrderSync A clean 944 tells you what you have to sell. The harder part for most distributors is the orders that consume it: EDI 850s from retailers, PDFs and emails from smaller accounts, spreadsheets from reps, all of which have to be entered before the 3PL can ship. OrderSync reads those orders in any format, matches customers, items and units to your catalog, and outputs clean data to your ERP or valid X12. Paste any 944 into the [free EDI inspector](/edi-inspector) to see it parsed segment by segment with a plain-English summary, read about [multi-format order processing](/multi-format-orders), or [book a 15-minute walkthrough](/book) to see your own orders processed. ## Frequently Asked Questions
### What is the EDI 944 definition? The EDI 944 is the X12 Warehouse Stock Transfer Receipt Advice. A warehouse sends it to the inventory owner (the depositor) to confirm that an inbound shipment was received, with the quantity received for each item and any damaged, short or over quantities. ### What is the 944 EDI document type? The 944 belongs to the X12 warehouse series with the 940, 943, 945 and 947. It travels in a functional group with the code RE. It is a receiving report from a storage provider, not a purchase document, so it carries quantities and identifiers but no prices. ### What is the difference between an EDI 943 and an EDI 944? The 943 comes from the depositor before the shipment arrives and says what was shipped. The 944 comes from the warehouse after receipt and says what actually arrived. The 944 repeats the 943's depositor order number and shipment ID so the two can be matched line by line. ### How does an EDI 944 report a shortage or damage? Through the W13 Item Detail Exception segment under the affected line. W1301 is the quantity, W1302 the unit, and W1303 the condition: 01 for damaged product or container, 02 for quantity short, 03 for quantity over. The W14 summary can also carry a total damaged or on-hold quantity. ### What is the difference between an EDI 944 and an EDI 861? Both report a receipt. The 861 Receiving Advice comes from a buyer that purchased your goods. The 944 comes from a warehouse that stores your goods for you. Use the 944 with a 3PL, the 861 with customers that require it. ### Can a 944 be sent without a 943? Yes. Warehouses send 944s for supplier shipments that arrived without a 943, and for customer returns. In those cases the depositor order number may be blank or carry a reference the warehouse assigned, so your system needs a way to match them by hand. ### What is the W17 segment in an EDI 944? W17 is the 944 header. W1701 is the reporting code, W1702 the receipt date, W1703 the warehouse's receipt number, W1704 the depositor order number from the 943, and W1705 the shipment ID.
--- # EDI 945 Warehouse Shipping Advice Guide Source: https://ordersync.io/guides/edi/945-warehouse-shipping-advice > EDI 945 explained: W06, W27, MAN, W12 and W03 segments, short-ship and backorder codes, three live 3PL examples, and how to reconcile 945s to the 940. The EDI 945 Warehouse Shipping Advice is the X12 transaction a third-party warehouse sends to the inventory owner after it ships an order received on a 940. It confirms the ship date, carrier, tracking and carton labels, and reports per line what shipped, what was short, and whether the balance is backordered or canceled. **The EDI 945 is the warehouse telling you what actually left the building.** You sent your 3PL a [940 shipping order](/guides/edi/940-warehouse-shipping-order) for twelve shirts and four cases. The 945 comes back with what really shipped: twelve shirts, three cases, one case short with no backorder, four cartons, four tracking numbers. Everything downstream (the customer's shipping email, the retailer's ASN, the invoice, your inventory balance) runs on those numbers, not on the 940. This guide covers what the 945 carries, where it sits in the 3PL document set, every segment you will map, three live examples (a parcel order with a short line, a carton-level LTL shipment and a daily batch), the W12 status codes that explain short shipments, and the errors that break reconciliation. ## What Is an EDI 945? **An EDI 945 is the Warehouse Shipping Advice transaction set defined by the [ASC X12 standards body](https://x12.org/products/transaction-sets). A warehouse (the custodian of the goods) sends it to the depositor (the owner of the goods) to confirm that a shipment was made, with the shipment's identifiers, carrier and line-by-line quantities.** Authoritative references for 945 work: - The [X12 transaction set catalog](https://x12.org/products/transaction-sets) defines the 945 and the rest of the warehouse series (940, 943, 944, 945, 947) - The [Stedi X12 004010 reference for the 945](https://www.stedi.com/edi/x12-004010/945) shows the segment order, loops and usage, and links to each segment's elements and code lists - Published 3PL mapping guides, such as [Infoplus's 945 specification](https://www.infopluscommerce.com/knowledge-base/945-warehouse-shipping-advice), show how much warehouses differ in where they put tracking numbers, item IDs and totals - Your warehouse's own 945 implementation guide governs. It sets the required segments, the qualifiers and the timing **Who sends it?** The warehouse: a 3PL, a fulfillment center, or your own warehouse if it runs a separate warehouse management system. **Who receives it?** The depositor: the brand, manufacturer or distributor that owns the stock and sent the 940. **When is it sent?** After the order is picked, packed and handed to the carrier, usually once per order. Some warehouses send one file per order, others send a batch at the end of each shipping day. **Why does it matter?** Until the 945 arrives you do not know what shipped. It is the source for tracking numbers, the 856 you owe a retail customer, the invoice quantity and the inventory you still have at the warehouse. ## The 3PL Document Set The 945 is one of five warehouse transaction sets. Each travels in its own functional group, with its own code in `GS01`. | Set | Name | Direction | GS01 | What it says | |---|---|---|---|---| | **[940](/guides/edi/940-warehouse-shipping-order)** | Warehouse Shipping Order | Depositor to warehouse | `OW` | Ship this order | | **945** | Warehouse Shipping Advice | Warehouse to depositor | `SW` | This is what we shipped | | **[943](/guides/edi/943-warehouse-stock-transfer-shipment-advice)** | Warehouse Stock Transfer Shipment Advice | Depositor to warehouse | `AR` | Stock is on its way to you | | **[944](/guides/edi/944-warehouse-stock-transfer-receipt-advice)** | Warehouse Stock Transfer Receipt Advice | Warehouse to depositor | `RE` | This is what we received | | **[947](/guides/edi/947-warehouse-inventory-adjustment-advice)** | Warehouse Inventory Adjustment Advice | Warehouse to depositor | `AW` | Your stock changed for another reason | The 940 and 945 close the outbound loop. The 943 and 944 close the inbound loop. The 947 covers everything else. Your inventory at the warehouse should equal yesterday's balance plus 944 receipts, minus 945 shipments, plus or minus 947 adjustments, and an [846 inventory report](/guides/edi/846-inventory-inquiry) from the warehouse is the check. The 943 and the 945 share their header segment, `W06`. On the 943 it identifies an inbound transfer; on the 945 it identifies an outbound shipment. ## How the 940 to 945 Loop Works 1. **Order arrives.** A customer order reaches you as an EDI 850, a marketplace order, an email or a PDF, and lands in your ERP or order system. 2. **940 goes out.** You send the 940 to the warehouse with your order number in `W0502`, the ship-to, the requested ship date and the lines. 3. **Warehouse ships.** The warehouse picks, packs, labels each carton with an SSCC-18, books the carrier and gets tracking numbers or a bill of lading. 4. **945 comes back.** The `W06` header echoes your order number, the ship date and the warehouse's shipment ID. Each line reports ordered, shipped and the difference, with a status code. 5. **You acknowledge it.** Your translator returns a [997](/guides/edi/997-functional-acknowledgment) for the `SW` group. 6. **You act on it.** Update the order, send the tracking to the customer, build the [856 ship notice](/guides/edi/856-ship-notice) and the [810 invoice](/guides/edi/810-invoice) if the customer is a retailer, and post the shipment against your inventory. Step 6 is where the 945 earns its keep. If the 856 and invoice are built from the 940 instead, every short shipment becomes a retailer chargeback or a short-pay. ## Interactive Example: Parcel Order With a Short Line This 945 answers the 940 in our [940 guide](/guides/edi/940-warehouse-shipping-order): order `ORD-78901234`, twelve black tees and four cases of white tees, to Acme Customer in Austin. `W06*F` reports full detail, `G62*11` gives the ship date and `W27*U*UPSN` names UPS parcel service, freight prepaid. Line 1 shipped complete (`W12*CC`) in one carton. Line 2 shipped 3 of 4 cases (`W12*CP`, a partial shipment with no backorder), each case its own carton. Every carton has a `MAN` segment carrying its SSCC-18 and, in the second qualifier pair, its carrier tracking number. `W03` totals 15 units, 61.5 pounds and 4 cartons. Use the **Plain English** tab for a readable summary, or click any segment to break it down element by element. ## 945 Structure at a Glance The 945 in release 004010 has a header, a detail loop per shipped group, and one summary segment. | Position | Segment | Name | Usage | Notes | |---|---|---|---|---| | Header | **ST** | Transaction Set Header | Mandatory | `ST01` = `945` | | Header | **W06** | Warehouse Shipment Identification | Mandatory | Reporting code, your order number, ship date, shipment ID, PO | | Header loop | **N1** / N2 / N3 / N4 / PER | Name, address, contact | Mandatory, up to 10 loops | Ship-to, warehouse, depositor, bill-to | | Header | **N9** | Reference Identification | Optional, up to 10 | Bill of lading, PRO, load, customer references | | Header | **G62** | Date/Time | Optional, up to 5 | `11` shipped date; others as the guide requires | | Header | **NTE** | Note/Special Instruction | Optional | Free text | | Header | **W27** | Carrier Detail | Optional | Transport mode, SCAC, routing, freight payment | | Header | **W10** | Warehouse Additional Carrier Information | Optional | Extra carrier detail some guides use | | Header | **G72** | Allowance or Charge | Optional | Warehouse charges, where the guide uses them | | Detail loop | **LX** | Assigned Number | Mandatory per loop | Starts each group: a carton, a pallet or an order line, by guide | | Detail loop | **MAN** | Marks and Numbers | Optional, repeats | SSCC-18, carrier package IDs | | Detail loop | **PAL** | Pallet Information | Optional | Pallet type and dimensions | | Detail loop | **N9** | Reference Identification | Optional, up to 5 | Group-level references such as tracking | | Item loop | **W12** | Warehouse Item Detail | Mandatory per item | Status, ordered, shipped, difference, unit, item IDs | | Item loop | **G69** | Line Item Detail, Description | Optional | Item description | | Item loop | **N9** / G62 / QTY / MEA | References, dates, quantities, measurements | Optional | Lot, serial, expiry and similar | | Summary | **W03** | Total Shipment Information | Optional | Total units, weight, volume, lading quantity | | Summary | **SE** | Transaction Set Trailer | Mandatory | Segment count and control number | Two things are not in that table. The 945 has no `HL` hierarchical loop: pallet-to-carton-to-item nesting belongs on the 856. And the 945 has no prices: it is a custody report, not an invoice. ## Key Segments Explained ### W06: Warehouse Shipment Identification ``` W06*F*ORD-78901234*20260510*WHSE-SHIP-99821~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **W0601** | Reporting Code | `F` | The basis of the report. `F` = full detail | | **W0602** | Depositor Order Number | `ORD-78901234` | Your order number from `W0502` on the 940. This is the matching key | | **W0603** | Date | `20260510` | The ship date, as CCYYMMDD | | **W0604** | Shipment Identification Number | `WHSE-SHIP-99821` | The warehouse's shipment ID | | **W0605** | Agent Shipment ID Number | | An agent's or forwarder's reference, when there is one | | **W0606** | Purchase Order Number | | The end customer's PO, which you need for the 856 and invoice | | **W0607** / **W0608** | Master Reference (Link) Number, Link Sequence Number | | A master reference and sequence number, sent as a pair, when the warehouse's guide uses them to link related transactions | `F` (Full Detail) is the reporting code most 945 guides specify: every shipped line is reported. The 004010 list for this element also includes `N` (No Exceptions), `X` (Exceptions Only) and `C` (Customer Return, Full Detail), among others. Use the code your warehouse's guide names. If a guide lists `N`, ask whether the warehouse really sends a 945 with no line detail when nothing is short, because your reconciliation has to handle it. ### N1 Loop: Parties ``` N1*ST*ACME CUSTOMER INC~ N3*123 MAIN STREET~ N4*AUSTIN*TX*78701*US~ ``` At least one `N1` is required. Most guides ask for the ship-to (`ST`), and many also want the warehouse (`WH`), the ship-from (`SF`) or the depositor (`DE`). For retail shipments the ship-to often carries a DC or store number in `N103`/`N104`, which you will need on the 856. ### N9: References ``` N9*BM*BOL-22455013~ N9*CN*PRO-71530288~ ``` `N9` carries references at the header (up to 10), at each LX group and on each item. Common qualifiers on a 945: | Qualifier | Name | Typical use | |---|---|---| | `BM` | Bill of Lading Number | LTL and truckload shipments | | `CN` | Carrier's Reference Number (PRO/Invoice) | The LTL carrier's PRO number | | `2I` | Tracking Number | Parcel tracking, when the guide puts it in N9 | | `08` | Carrier Assigned Package Identification Number | Another place guides put parcel tracking | | `PO` | Purchase Order Number | Customer PO, when not in `W0606` | | `LT` | Lot Number | At item level, for lot-controlled goods | There is no single standard home for parcel tracking numbers. Some warehouses send them in `N9` at the header or LX level, some in `MAN` against each carton (as in our examples), and some in both. Your warehouse's guide decides, and your map has to read from the right place. ### G62: Date/Time ``` G62*11*20260510~ ``` `G6201` = `11` means "shipped on this date". Some guides add a time, an estimated delivery date (`17`) or an actual pickup date (`86`). ### W27: Carrier Detail ``` W27*U*UPSN*UPS GROUND*PP~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **W2701** | Transportation Method/Type Code | `U` | `U` private parcel service, `M` motor (common carrier), `LT` less than trailer load, `H` customer pickup, `A` air | | **W2702** | Standard Carrier Alpha Code | `UPSN` | The carrier's SCAC. Required for most modes | | **W2703** | Routing | `UPS GROUND` | Service level or routing text | | **W2704** | Shipment Method of Payment | `PP` | `PP` prepaid, `CC` collect, `TP` third party | | **W2705** to **W2707** | Equipment description, initial and number | | Trailer details for truckload | Compare `W27` with what the 940 asked for. A shipment that went out on a different carrier or service than the customer's routing guide required is a chargeback risk, and the 945 is your first chance to catch it. ### LX and MAN: Shipped Groups and Carton Labels ``` LX*1~ MAN*GM*00008123456000001015**CP*1Z999AA10123456784~ ``` `LX` starts each detail group. The standard does not say what a group is; the warehouse's guide does. One LX per carton (the most useful for building an 856), one per order line, or one per pallet are all common. `MAN` carries the marks on the container. It has two qualifier and value pairs, so one segment can describe one physical carton two ways: | Element | Name | Example | What it means | |---|---|---|---| | **MAN01** | Marks and Numbers Qualifier | `GM` | `GM` = SSCC-18 and application identifier, so the value starts with `00` | | **MAN02** | Marks and Numbers | `00008123456000001015` | The carton's SSCC-18 with its `00` prefix | | **MAN03** | Marks and Numbers | | End of a range, when a range is sent | | **MAN04** | Marks and Numbers Qualifier | `CP` | `CP` = carrier-assigned package ID | | **MAN05** | Marks and Numbers | `1Z999AA10123456784` | The tracking number for that carton | If you ship to retailers, these SSCC-18s are the ones printed on the GS1-128 labels, and the retailer's 856 must carry the same numbers. Taking them from the 945 instead of generating new ones keeps the labels and the ASN in step. Our [SSCC label generator](/tools/sscc-label-generator) shows how the number and its check digit are built. ### W12: Warehouse Item Detail ``` W12*CP*4*3*1*CA*012345678912*VN*BRAND-SKU-002~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **W1201** | Shipment/Order Status Code | `CP` | What happened to this line (codes below) | | **W1202** | Quantity Ordered | `4` | The quantity from the 940 | | **W1203** | Number of Units Shipped | `3` | What actually shipped | | **W1204** | Quantity Difference | `1` | Ordered minus shipped | | **W1205** | Unit of Measure | `CA` | `EA` each, `CA` case, and other X12 unit codes | | **W1206** | U.P.C. Case Code | `012345678912` | The 12-digit case code, when the line is identified by it | | **W1207** / **W1208** | Product/Service ID Qualifier, ID | `VN`, `BRAND-SKU-002` | Your item number (`VN`), or another ID such as `UP` for a consumer UPC | | **W1209** | Warehouse Lot Number | | The lot shipped, for lot-controlled goods | | **W1210** to **W1215** | Weights | | Line weights with qualifier and unit, when the guide asks | | **W1216** to **W1218** | UPC case code and a second product ID pair | | When `W1201` is `IS`, these identify the original item ordered | | **W1219** | Line Item Change Reason Code | | Why the line changed, where the guide uses it | The standard requires either `W1206` or the `W1207`/`W1208` pair, so every line carries at least one item identifier. Make sure it is one your 940 sent, or the line cannot be matched. **W1201 status codes you will see on a 945** | Code | Name | Read it as | |---|---|---| | `CC` | Shipment Complete on (Date) | Shipped in full | | `CL` | Complete | Shipped in full (some guides use this instead of `CC`) | | `CP` | Partial Shipment on (Date), Considered No Backorder | Short, and the balance is not coming | | `BP` | Shipment Partial, Back Order to Ship on (Date) | Short, and the balance will follow on a later 945 | | `PR` | Partial Shipment | Short; the guide says what happens to the balance | | `BO` | Back Ordered | Nothing shipped yet; the line is backordered | | `IC` | Item Canceled | Not shipped and canceled | | `DS` | Out Of Stock Condition | Not shipped because there was no stock | | `IS` | Item Represents Substitution from Original Order | A substitute shipped; the original item is in `W1216` to `W1218` | | `CS` | Shipment Complete with Substitution | Shipped in full, partly with a substitute | | `SS` | Split Shipment | Part of a line shipped separately | Element 368 has over a hundred codes in total. Your warehouse's guide lists the handful it uses; map those and alert on anything else. ### G69: Description ``` G69*PERFORMANCE TEE WHITE LARGE CASE OF 12~ ``` A free-text description of the item. Useful for people reading the file; never match on it. ### W03: Total Shipment Information ``` W03*15*61.5*LB***4*CT~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **W0301** | Number of Units Shipped | `15` | Sum of `W1203` across the transaction set | | **W0302** / **W0303** | Weight, Unit of Measure | `61.5`, `LB` | Total shipped weight | | **W0304** / **W0305** | Volume, Unit of Measure | | Total volume, when sent | | **W0306** / **W0307** | Lading Quantity, Unit of Measure | `4`, `CT` | Number of handling units: cartons, pallets | `W0301` adds up units across lines whatever their unit of measure, so a 945 with eaches and cases has a total that mixes both. Reconcile on the lines, and use `W03` as a check that you received every line. ## Short Shipments, Backorders and Substitutions The difference between the 940 and the 945 is where the money is. Three cases cover almost every exception: **Short, no backorder (`CP`, or `PR` where the guide says so).** The warehouse shipped what it had and the rest is closed. Cancel the balance in your order system, ship-confirm the shipped quantity, and tell the customer before their receiving dock does. For retail orders, the 856 and the invoice must show the shipped quantity, not the ordered one. **Short, backordered (`BP` or `BO`).** The balance stays open and a later 945 will report it. Keep the order line open for the difference in `W1204`, and expect a second 945 with the same `W0602` and a different `W0604` shipment ID. Some warehouses do not backorder at all and want a new 940 for the balance; the guide says which. **Substituted (`IS` or `CS`).** A different item shipped. Under `IS`, `W1216` to `W1218` identify the item originally ordered, so you can match the line back to the 940 and still invoice the item that really shipped. Substitutions you did not authorize are worth raising with the warehouse the same day. Whatever the code, alert on every line where `W1203` does not equal `W1202`. Status codes vary by warehouse; the arithmetic does not. ## Interactive Example: Carton-Level Detail to a Retail DC A less-than-truckload shipment to a retailer's distribution center. `W0606` carries the retailer's PO, `N9*BM` the bill of lading and `N9*CN` the carrier's PRO number, and `W27*M*SRLX` the LTL carrier's SCAC. Each `LX` is one carton with its SSCC-18 in `MAN*GM`, followed by the `W12` for the item inside it. `W03` totals 96 units, 38 pounds and 2 cartons. This is the 945 shape to ask for if you sell to retailers through a 3PL. One LX per carton gives you everything the 856's pack level needs: the SSCC-18, the item and the quantity in each carton. What the 945 cannot give you is pallet-to-carton nesting, because it has no `HL` loop. If the retailer wants a pallet level on the 856, agree with the warehouse how it will report pallet SSCCs (for example, a separate LX per pallet with its own `MAN`) and build the hierarchy on your side. ## Interactive Example: Daily Batch of Three Orders Many 3PLs send one file per shipping day. The right way to do that in X12 is one 945 transaction set per order, all inside one functional group: three `ST`/`SE` pairs between a single `GS` and `GE`, with `GE01` = `3`. Each 945 has its own `W06`, ship-to, carrier, cartons and `W03`. The third order shipped 1 of 2 cases with the balance backordered (`W12*BP`). A 945 transaction set has exactly one `W06`, so one transaction set describes one shipment for one depositor order. A file with several `W06` segments inside a single ST to SE is not valid X12, and a validator will reject it. ## EDI 945 vs 940, 856, 944 and 810 | Document | Sent by | To | Purpose | |---|---|---|---| | **[940 Warehouse Shipping Order](/guides/edi/940-warehouse-shipping-order)** | Depositor | Warehouse | Instruction to ship an order | | **945 Warehouse Shipping Advice** | Warehouse | Depositor | Confirmation of what shipped against the 940 | | **[856 Ship Notice/Manifest](/guides/edi/856-ship-notice)** | Seller | Buyer | Advance notice to the customer of what is arriving, with a full pallet, carton and item hierarchy | | **[944 Receipt Advice](/guides/edi/944-warehouse-stock-transfer-receipt-advice)** | Warehouse | Depositor | Confirmation of stock received into the warehouse | | **[810 Invoice](/guides/edi/810-invoice)** | Seller | Buyer | Bill for the goods shipped | The 945 and the 856 look alike because both describe a shipment, but they face different directions. The 945 is internal to your supply chain: your warehouse reporting to you. The 856 is external: you reporting to your customer. When a 3PL ships to your retail customer, the 945 comes in first and your 856 goes out built from it. ## Where the 945 Sits in the Flow For a supplier selling to a retailer through a 3PL: 1. Retailer sends an [850 purchase order](/guides/edi/850-purchase-order) to you. 2. You send a 940 to the 3PL. 3. The 3PL ships and sends the 945 to you. 4. You send the [856](/guides/edi/856-ship-notice) to the retailer, built from the 945's cartons, SSCCs and quantities. 5. You send the [810](/guides/edi/810-invoice) for the shipped quantities. 6. Every document gets a [997](/guides/edi/997-functional-acknowledgment) in return. For a direct-to-consumer brand the chain is shorter: the 945's tracking numbers go to the shopping platform and the customer's shipping email. Our guide to [3PL EDI integration](/blog/3pl-edi-integration) covers the setup on both sides. ## Common 945 Errors and How to Prevent Them | Error | What happens | Prevention | |---|---|---| | **`W0602` does not match any 940** | 945 cannot be matched; shipment goes unrecorded | Agree that the warehouse echoes `W0502` exactly, including prefixes and leading zeros | | **Several `W06` in one transaction set** | File rejected by your translator | One 945 per order; batch them as several ST/SE pairs in one group | | **Invalid `W1201` code** | 997 rejection, or a line your map cannot classify | Agree the code list in the guide; alert on anything outside it | | **Item ID in the wrong W12 position** | Line cannot be matched; 997 may reject it | UPC case code in `W1206`, qualifier and ID in `W1207`/`W1208` | | **SSCC-18 sent with `MAN*UC`** | Downstream 856 carries the wrong qualifier | `GM` for an SSCC-18 with its `00` prefix; `UC` is for a 14-digit shipping container code | | **Tracking numbers in an unexpected place** | Customer never gets a tracking email | Map tracking from where the guide puts it: `MAN`, `N9*2I` or `N9*08` | | **Short lines with no difference reported** | Invoice and 856 overstate the shipment | Alert whenever `W1203` and `W1202` differ, whatever the status code says | | **Backorder shipped with no link to the original** | Order stays open, or ships twice | Match follow-up 945s on `W0602`, and track quantity open per line | | **`W03` total ignored** | Missing lines go unnoticed | Compare `W0301` with the sum of `W1203` | | **945 never arrives** | Order shows as unshipped while the customer has the goods | Alert when a 940 has no 945 by the warehouse's agreed cut-off | ## 945 Implementation Checklist Before going live with a warehouse: - Get the warehouse's 945 guide and confirm release (usually 004010) and `GS01` = `SW` - Confirm one 945 per order or per shipment, and whether daily batches arrive as several transaction sets in one group - Confirm `W0602` echoes your 940 order number exactly, and where the customer PO goes - Confirm what one `LX` represents: a carton, a pallet or an order line - Confirm where tracking numbers, bills of lading and PRO numbers are sent - Get the list of `W1201` status codes the warehouse uses, and its backorder policy - Confirm the item identifiers in `W12` match the ones on your 940 - Map lots, serials and expiry dates if you sell regulated or dated goods - Build reconciliation: every 940 has a 945, every line's shipped quantity is posted, `W03` matches the lines - Return a 997 for every 945 group, and test a short line, a backorder and a substitution before go-live If you are setting up a 3PL connection from scratch, our page on [EDI for third-party logistics](/edi-for/third-party-logistics) and the [EDI document types reference](/edi-document-types) show which documents each side usually owns. ## Getting Orders to Your Warehouse With OrderSync The 945 can only be as good as the 940 it answers. If the order that went to the warehouse had the wrong item number, unit or ship-to, the 945 confirms the wrong shipment accurately. OrderSync works on the order side. It reads customer orders in any format, from EDI 850s and 875s to PDFs, emails and spreadsheets, matches customers, items and units to your catalog, and outputs valid X12 or ERP data, so the order your warehouse works from is right the first time. Paste any 945 into the [free EDI inspector](/edi-inspector) to see it parsed segment by segment with a plain-English summary, or [book a 15-minute walkthrough](/book) to see your own orders processed. ## Frequently Asked Questions
### What is an EDI 945 used for? A warehouse sends the EDI 945 to confirm that it shipped an order. It carries the depositor's order number, ship date, carrier, tracking or bill of lading, carton labels, and for each line the quantity ordered, shipped and short, with a status code explaining any difference. ### What is the difference between EDI 940 and EDI 945? The 940 is the instruction: the depositor tells the warehouse to ship an order. The 945 is the confirmation: the warehouse tells the depositor what actually shipped. They are matched on the depositor order number, which the 945 carries in W0602. ### What is the difference between EDI 945 and 856? The 945 goes from your warehouse to you and confirms a shipment against your 940. The 856 goes from you to your customer and describes what is arriving, with a pallet, carton and item hierarchy. When a 3PL ships to your retail customer, you build the 856 from the 945. ### What does W06 F mean in a 945? W0601 is the reporting code, and F means Full Detail: the 945 reports every shipped line. It is the code most 945 guides specify. The same element can carry other codes, such as N (No Exceptions) or X (Exceptions Only), when the warehouse's guide calls for them. ### How does a 945 report a short shipment? On the W12 line. W1202 is the quantity ordered, W1203 the quantity shipped and W1204 the difference. W1201 says what happens to the balance: CP for a partial shipment with no backorder, BP or BO when the balance is backordered, IC when the line is canceled. ### Can one 945 cover several orders? One 945 transaction set covers one shipment, because it has a single W06 header. A warehouse that sends one file per day puts several 945 transaction sets, one per order, inside one functional group. Several W06 segments inside one transaction set is not valid X12. ### Where does the tracking number go in a 945? It depends on the warehouse's guide. Common places are MAN at carton level (with qualifier CP), N9 with qualifier 2I or 08 at header or group level, or both. Map from the place your warehouse uses. ### Do I need to send a 997 for a 945? Yes, if the warehouse's guide asks for functional acknowledgments, which most do. Your translator returns a 997 for the functional group with AK101 set to SW.
--- # EDI 947 Warehouse Inventory Adjustment Advice Source: https://ordersync.io/guides/edi/947-warehouse-inventory-adjustment-advice > EDI 947 explained with an example: how a 3PL reports damage, holds and cycle count changes. W15 and W19 segments, reason codes, and 947 vs 846. The EDI 947 Warehouse Inventory Adjustment Advice is the X12 transaction a warehouse or 3PL sends to the inventory owner to report a change in the quantity or status of stock it holds. Each line gives the item, the quantity adjusted and a reason code, such as warehouse damage, a quality hold or a cycle count correction. **The EDI 947 explains why your inventory changed when nothing shipped or arrived.** Receipts come in on the [944](/guides/edi/944-warehouse-stock-transfer-receipt-advice) and shipments go out on the [945](/guides/edi/945-warehouse-shipping-advice). Everything else that moves the number (a pallet dropped by a forklift, a lot put on quality hold, a cycle count that finds two extra cases) arrives on a 947. Without it, your on-hand balance and the warehouse's drift apart, and you find out when an order cannot be filled. This guide covers what the 947 carries, the reason codes that drive it, every segment you will map, a live example with increases and decreases, how it differs from the 846, and the errors that leave your books out of step with the warehouse floor. ## What Is an EDI 947? **An EDI 947 is the Warehouse Inventory Adjustment Advice transaction set defined by the [ASC X12 standards body](https://x12.org/products/transaction-sets). The warehouse sends it to the depositor (the inventory owner) to report adjustments to inventory levels or status that happen inside the warehouse.** In the X12 envelope it travels in a functional group with the code `AW` in `GS01`. Two points from the X12 definition shape how it is used. First, the adjustment types that are reported by EDI are set by agreement between the warehouse and the depositor, so no two 3PLs send exactly the same mix. Second, a 947 covers one storage location: a warehouse with adjustments in two buildings sends two 947s for the period, each listing only the products that changed. Authoritative references for 947 work: - The [X12 transaction set catalog](https://x12.org/products/transaction-sets) defines the 947 alongside the 940, 943, 944 and 945 - [GS1 US](https://www.gs1us.org/industries-and-insights/standards) governs the UPC case codes and GTINs that identify each adjusted item - Your 3PL's 947 implementation guide and warehouse agreement list which adjustment reasons it reports, how often, and whether it reports status changes (holds) as well as quantity changes **Who sends it?** The warehouse or 3PL, from its WMS. **Who receives it?** The depositor, into its ERP or inventory system. **When is it sent?** Either as each adjustment is posted, or in a batch per reporting period (often daily), depending on the agreement. **Why does it matter?** The [846 Inventory Inquiry/Advice](/guides/edi/846-inventory-inquiry) tells you what the warehouse has now. The 947 tells you why that differs from what you expected. Finance needs the reason to write off damage, file a claim or charge it back to the warehouse under the agreement, and customer service needs to know stock is on hold before it promises it. ## Common Reasons for a 947 | Situation | Effect on available stock | Typical reason code (W1901) | |---|---|---| | Forklift or handling damage in the warehouse | Decrease | `02` Warehousing damage | | Quality, regulatory or customer hold on a lot | Decrease (moved to hold) | `05` Product put on hold | | Hold released | Increase | `55` Product taken off hold | | Cycle count finds less than the system | Decrease | `06` Book adjustment decrease | | Cycle count finds more than the system | Increase | `56` Book adjustment increase | | Stock destroyed (expired, recalled, contaminated) | Decrease | `07` Product dumped or destroyed | | Receipt was wrong and is corrected later | Decrease or increase | `04` / `54` Receipt less / greater than previously reported | | Shipment was wrong and is corrected later | Decrease or increase | `03` / `53` Shipment greater / less than previously reported | | Lost stock later found | Increase | `51` Unable-to-locate product located | The codes in the 01 to 07 range are stock decreases and the codes in the 51 to 56 range are the matching increases. The quantity in `W1902` is reported as a number of units, and the reason code says which way it moves. Your 3PL's guide lists the exact subset it uses, and some add qualifiers to say which stock bucket (available, damaged, hold) the adjustment applies to. ## Interactive Example: Damage, Hold and Cycle Count (947) A week after receiving the Boise transfer, the Reno 3PL reports three adjustments for the depositor's stock in one 947. `W15` carries the date the report was created. `N1*WH` names the reporting warehouse, and `G62*07` the effective date of the adjustments. Each `W19` line gives a reason code, a quantity, a unit and the item; `G69` holds the warehouse's free-text reason and `N9*TN` its transaction number. - Line 1: 2 cases of granola damaged by a forklift (`02`, a decrease) - Line 2: 4 cases of almond butter, lot `L2610B`, put on QC hold (`05`, a decrease to available stock) - Line 3: 1 case of trail mix found in a cycle count (`56`, an increase) Use the **Plain English** tab for a readable summary, or click any segment to break it down element by element. ## 947 Structure at a Glance | Position | Segment | Name | Usage | Notes | |---|---|---|---|---| | Header | **ST** | Transaction Set Header | Mandatory | `ST01` = `947` | | Header | **W15** | Warehouse Adjustment Identification | Mandatory | Report date and adjustment numbers | | Header loop | **N1** / N2 / N3 / N4 / PER | Name and address | Mandatory | The reporting warehouse, sometimes the depositor too | | Header | **N9** | Reference Identification | Optional | Extra references for the whole report | | Header | **G62** | Date/Time | Optional | Effective date of the adjustments | | Header | **NTE** | Note/Special Instruction | Optional | Free-text notes | | Detail loop | **W19** | Warehouse Adjustment Item Detail | Mandatory, repeats | One per item adjustment: reason, quantity, unit, item IDs | | Detail loop | **G69** | Line Item Detail - Description | Optional | Free-text reason for the adjustment | | Detail loop | **N9** | Reference Identification | Optional | Warehouse transaction number, lot, stock status | | Summary | **SE** | Transaction Set Trailer | Mandatory | Segment count and control number | Unlike the 943 and 944, the 947 has no totals segment. Each `W19` line stands on its own. ## Key Segments Explained ### W15: Warehouse Adjustment Identification ``` W15*20261113~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **W1501** | Date | `20261113` | The date the report was created, as CCYYMMDD | | **W1502** | Adjustment Number | | The warehouse's ID for this adjustment | | **W1503** | Adjustment Number | | The depositor's ID for this adjustment | | **W1504** | Transaction Set Purpose Code | | Original, replacement and so on, where the guide uses it | `W1502` and `W1503` are a pair in the X12 syntax: if one is sent, the other must be too. That suits adjustments the depositor asked for (a hold it requested, for example) where both sides have a number. For routine adjustments the warehouse often leaves both blank and puts its own transaction number on each line in `N9*TN`, as in the example. ### W19: Warehouse Adjustment Item Detail ``` W19*05*4*CA*086123450021*VN*NFP-ALB-16***L2610B~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **W1901** | Quantity or Status Adjustment Reason Code | `05` | Why the stock changed, and in which direction. See the table above | | **W1902** | Credit/Debit Quantity | `4` | How many units were adjusted | | **W1903** | Unit of Measure | `CA` | The unit of `W1902` | | **W1904** | UPC Case Code | `086123450021` | The 12-digit case-level UPC | | **W1905** | Product/Service ID Qualifier | `VN` | What the next element is. `VN` = vendor item number | | **W1906** | Product/Service ID | `NFP-ALB-16` | Your item number | | **W1907** / **W1908** | Second qualifier and ID | | A second identifier, where needed | | **W1909** | Warehouse Lot Number | `L2610B` | The lot affected | Further elements carry weights (`W1910` to `W1915`) and an inventory transaction type code (`W1916`) for warehouses that use them. Read the reason code before the quantity: a `4` with code `05` takes four cases out of available stock; the same `4` with code `55` puts them back. ### G69 and N9: The Story Behind the Number ``` G69*QC HOLD REQUESTED BY DEPOSITOR~ N9*TN*WT-77121~ ``` `G69` is free text, and it is often the only place the warehouse says what actually happened. Keep it with the adjustment in your system; it is the first thing anyone asks for in a damage dispute. `N9*TN` carries the warehouse's transaction reference, which is what you quote back to the 3PL. Some guides also use an `N9` to say which stock status (available, damaged, hold) the line applies to. ## EDI 947 vs 846, 944 and 945 | Document | Sent by | What it tells you | |---|---|---| | **947 Warehouse Inventory Adjustment Advice** | Warehouse | Each change to stock, with a reason | | **[846 Inventory Inquiry/Advice](/guides/edi/846-inventory-inquiry)** | Warehouse (or supplier) | The current balance, as a snapshot | | **[944 Warehouse Stock Transfer Receipt Advice](/guides/edi/944-warehouse-stock-transfer-receipt-advice)** | Warehouse | Stock received into the building | | **[945 Warehouse Shipping Advice](/guides/edi/945-warehouse-shipping-advice)** | Warehouse | Stock shipped out against a 940 | Think of the 846 as a bank balance and the 947 as the statement lines that are not deposits or withdrawals. You can run a 3PL relationship on the 846 alone and simply overwrite your balance every day, but you lose the reasons. That is fine for a small catalog. It is a problem for anyone who has to account for damage, track holds by lot, or hold a 3PL to an inventory accuracy clause. A good reconciliation is simple to state: yesterday's balance plus 944 receipts, minus 945 shipments, plus or minus 947 adjustments, should equal today's 846. When it does not, one of the four documents is missing. ## Where the 947 Sits in 3PL EDI | Flow | Document | Direction | |---|---|---| | Inbound | **[943](/guides/edi/943-warehouse-stock-transfer-shipment-advice)** Stock Transfer Shipment Advice | Depositor to warehouse | | Inbound | **[944](/guides/edi/944-warehouse-stock-transfer-receipt-advice)** Stock Transfer Receipt Advice | Warehouse to depositor | | Outbound | **[940](/guides/edi/940-warehouse-shipping-order)** Warehouse Shipping Order | Depositor to warehouse | | Outbound | **[945](/guides/edi/945-warehouse-shipping-advice)** Warehouse Shipping Advice | Warehouse to depositor | | Inventory | **[846](/guides/edi/846-inventory-inquiry)** Inventory Inquiry/Advice | Warehouse to depositor | | Inventory | **947** Warehouse Inventory Adjustment Advice | Warehouse to depositor | | All | **[997](/guides/edi/997-functional-acknowledgment)** Functional Acknowledgment | Both ways | For the full setup with a new 3PL, see our guide to [3PL EDI integration](/blog/3pl-edi-integration). ## Common 947 Errors and How to Prevent Them | Error | What happens | Prevention | |---|---|---| | **Reason code direction ignored** | A hold release posted as a second decrease | Map every reason code your 3PL uses to increase or decrease explicitly | | **Negative quantity in `W1902`** | Double reversal, or the line rejected | Agree that quantities are positive and the reason code sets direction, unless the guide says otherwise | | **Holds posted as write-offs** | Stock that will come back is written off, then reappears | Post hold codes to a hold location, not to scrap | | **Lot missing on a lot-specific hold** | The whole item is blocked instead of one lot | Require `W1909` or a lot `N9` on hold and release lines | | **947 not sent for a reason the 3PL treats as internal** | 846 balance changes with no explanation | List in the agreement which adjustments must be reported | | **Unit of measure mismatch** | Cases adjusted as eaches | Convert with a maintained item table, same as for 944s | | **Duplicate 947** | Adjustment applied twice | Deduplicate on the warehouse transaction number | ## 947 Implementation Checklist - Get the 3PL's 947 guide and the exact list of reason codes it sends - Map each reason code to an ERP adjustment type, a direction and a stock location (available, hold, damaged, scrap) - Agree whether adjustments are sent as they happen or in a daily batch - Agree how damage is charged under the warehouse agreement, and capture the warehouse transaction number for it - Confirm lot reporting for holds, releases and destruction - Build the daily reconciliation: opening balance, 944s, 945s, 947s, against the 846 - Test a decrease, an increase, a hold and its release, and a destruction - Send a 997 for every 947 For the full list of X12 document numbers, see our [EDI document types reference](/edi-document-types). ## Handling 3PL and Order Data With OrderSync Accurate inventory only pays off if the orders that consume it are entered correctly. For most distributors those orders arrive in every shape: EDI 850s from retailers, PDFs and emails from independents, spreadsheets from reps. OrderSync reads those orders in any format, matches customers, items and units to your catalog, and outputs clean data to your ERP or valid X12. Paste any 947 into the [free EDI inspector](/edi-inspector) to see it parsed segment by segment with a plain-English summary, read about [ERP integration](/erp-integration), or [book a 15-minute walkthrough](/book) to see your own orders processed. ## Frequently Asked Questions
### What is an EDI 947 used for? The EDI 947 lets a warehouse tell the inventory owner that stock changed inside the warehouse for a reason other than a receipt or a shipment: damage, a hold, a hold release, destruction, or a correction after a cycle count. Each line carries the item, quantity and a reason code. ### What is the 947 EDI document type? The 947 is the X12 Warehouse Inventory Adjustment Advice, part of the warehouse series with the 940, 943, 944 and 945. It travels in a functional group with the code AW. It reports changes in quantity or status, not balances. ### What does an EDI 947 example look like? A typical 947 has a W15 header with the report date, an N1 naming the warehouse, a G62 effective date, then one W19 line per adjustment. For example, W19*02*2*CA followed by the item's UPC case code and item number reports two cases lost to warehouse damage. ### What is the difference between an EDI 947 and an EDI 846? The 846 reports the current inventory balance as a snapshot. The 947 reports individual changes and the reason for each. The 846 tells you what you have; the 947 tells you why it changed. Many depositors use both and reconcile them daily. ### How does an EDI 947 show an increase or a decrease? Through the reason code in W1901. Codes 01 to 07 are decreases (for example 02 warehousing damage, 05 product put on hold) and codes 51 to 56 are increases (for example 55 product taken off hold, 56 book adjustment increase). The quantity in W1902 is the number of units adjusted. ### What is the W19 segment in an EDI 947? W19 is the Warehouse Adjustment Item Detail segment, one per adjusted item. W1901 is the reason code, W1902 the quantity, W1903 the unit of measure, W1904 the UPC case code, W1905 and W1906 an item ID qualifier and number, and W1909 the lot. ### Does every 3PL send EDI 947s? No. Some 3PLs only send an 846 and let the balance speak for itself. Others send 947s for every adjustment. Which adjustments are reported by EDI is a matter for the warehouse agreement, so ask before you sign rather than after the first unexplained write-off.
--- # EDI 990 Response to a Load Tender: Complete Guide Source: https://ordersync.io/guides/edi/990-response-to-load-tender > EDI 990 Response to a Load Tender explained: how a carrier accepts or declines a 204, the B1 segment and reservation action codes, live examples and common errors. The EDI 990 Response to a Load Tender is the X12 transaction a motor carrier sends back after receiving a 204 load tender. Its B1 segment echoes the shipper's shipment number and carries a reservation action code, A to accept or D to decline, so the shipper knows whether the load is covered or must go to another carrier. **The EDI 990 is the carrier's yes or no to a load.** When a shipper, retailer or broker sends a [204 Motor Carrier Load Tender](/guides/edi/204-motor-carrier-load-tender), the carrier answers with a 990. It is one of the shortest documents in freight EDI, sometimes only two or three segments between `ST` and `SE`, but until it arrives the load is not booked, and a decline that goes unnoticed becomes a missed pickup. This guide covers what the 990 says, the segments and codes you will map, two live examples (an acceptance and a decline), how it differs from the 997 and the 204, and the errors that leave loads uncovered. ## What Is an EDI 990? **An EDI 990 is the Response to a Load Tender transaction set defined by [ASC X12](https://x12.org/products/transaction-sets), used by a motor carrier to answer a 204 that was sent as a load tender.** The standard describes it as the response to a 204 used as a load tender, carrying general information about a specific shipment. It travels in functional group `GF` (the `GS01` value) and most implementations use X12 004010, the same release as the 204 it answers. Authoritative references for 990 work: - The [X12 transaction set catalog](https://x12.org/products/transaction-sets) defines the 990 and its segment order, and [Stedi's X12 004010 reference for the 990](https://www.stedi.com/edi/x12-004010/990) lists every segment, element and code value - The [National Motor Freight Traffic Association (NMFTA)](https://nmfta.org/what-is-scac-and-how-do-carriers-get-it) issues the SCAC that identifies the responding carrier in `B101` - Each shipper or broker publishes a 990 implementation guide that sets which action codes it accepts, which references it wants back, and how long the carrier has to answer **Who sends it?** The carrier that received the 204. **Who receives it?** The party that tendered the load: a shipper, a retailer moving collect freight, a broker or a 3PL. **When is it sent?** After the carrier decides, and before any respond-by deadline the 204 carries (often a `G62` with qualifier `64`, must respond by). The shipper's guide sets the window. **Why does it matter?** A load is not covered until the carrier accepts. A fast decline lets the shipper move to the next carrier on its routing guide while there is still time to make the pickup. ## Accept or Decline: the Reservation Action Code The decision lives in `B104`, the Reservation Action Code. The X12 code list for that element has seven values: | Code | X12 name | How it is used | |---|---|---| | `A` | Reservation Accepted | The carrier takes the load as tendered | | `D` | Reservation Cancelled | Used by carriers to decline the tender | | `B` | Conditional Acceptance | Accepted with conditions; only if the shipper's guide allows it | | `C` | Counter Proposal Made | The carrier proposes different terms; rarely supported | | `N` | New | Rarely used on a 990 | | `R` | Delete | Rarely used on a 990 | | `U` | Change | Rarely used on a 990 | Many shipper guides support only `A` and `D`. If a carrier sends `B` or `C` to a shipper whose system only reads `A` and `D`, the load can sit in limbo, so agree the list before go-live. ## Interactive Example: 990 Accepting a Load Tender This continues the story from our [204 guide](/guides/edi/204-motor-carrier-load-tender). The retailer tendered truckload `TL-90217` (one pickup at Lakeshore Home Goods in Grand Rapids, two drops at its DCs) to carrier `QTLX`. The carrier accepts: `B1` gives its SCAC, echoes the shipment number from the 204's `B204`, dates the response and sends action code `A`. `N9` returns the carrier's own reference for the load (`CN`, which the carrier will also use as the PRO on its [214 status messages](/guides/edi/214-transportation-carrier-shipment-status) and [210 invoice](/guides/edi/210-motor-carrier-freight-invoice)), and `G62` confirms the scheduled pickup. The sample uses X12 004010. All names, IDs and SCACs are fictional. Use the **Plain English** tab for a readable summary, or click any segment to break it down element by element. ## Interactive Example: 990 Declining a Load Tender The day before, the retailer had offered the same load to `RDGX`, the first carrier on its routing guide for that lane. That carrier declined with action code `D` and a `K1` remark explaining why. The retailer's system read the decline and tendered the load to `QTLX` next. The `K1` remark is free text. It helps a person, but a system cannot act on it, so do not build logic on its wording. ## 990 Structure at a Glance The table follows X12 004010. | Area | Segment | Name | Usage | Notes | |---|---|---|---|---| | Heading | **ST** | Transaction Set Header | Mandatory | `ST01` = `990` | | Heading | **B1** | Beginning Segment for Booking or Pick-up/Delivery | Mandatory | SCAC, shipment number, date, action code | | Heading | **N9** | Reference Identification | Optional, 1 | One reference, often the carrier's load or PRO number | | Heading | **G62** | Date/Time | Optional, up to 6 | Confirmed pickup or delivery dates | | Heading | **N7** | Equipment Details | Optional, 1 | The equipment assigned, when known | | Heading | **L9** | Charge Detail | Optional, up to 40 | Charges, used by some guides | | Heading | **V9** | Event Detail | Optional, up to 10 | Event codes, used by some guides for decline reasons | | Heading | **K1** | Remarks | Optional, up to 10 | Free-text comments | | Loop 0100 | **S5 / N9 / G62 / K1** | Stop Off Details | Optional, up to 999 | Stop-level confirmation, used by some guides | | Summary | **SE** | Transaction Set Trailer | Mandatory | Segment count and control number | Only `B1` is required between the envelope segments. Everything else is there for the shipper's guide to ask for. ## Key Segments Explained ### B1: Beginning Segment for Booking or Pick-up/Delivery ``` B1*QTLX*TL-90217*20261106*A~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **B101** | Standard Carrier Alpha Code | `QTLX` | The SCAC of the carrier sending the 990 | | **B102** | Shipment Identification Number | `TL-90217` | Mandatory. The shipment number from the 204's `B204` | | **B103** | Date | `20261106` | The standard describes it as the booking date accepted by the carrier | | **B104** | Reservation Action Code | `A` | `A` accept, `D` decline; see the table above | `B102` is how the shipper matches the response to its tender. If it does not match a `B204` the shipper sent to that SCAC, the 990 is an orphan. Carriers should copy the value exactly, including dashes and leading zeros. ### N9: Reference Identification ``` N9*CN*QTLX-TL-558210~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **N901** | Reference Identification Qualifier | `CN` | `CN` carrier's reference (PRO), `LO` load planning number, `BM` bill of lading, or the qualifier the guide names | | **N902** | Reference Identification | `QTLX-TL-558210` | The reference value | The 990 allows only one `N9` in the heading. Guides commonly use it to get the carrier's own reference back, because that is the number the carrier will quote on status messages and invoices. ### G62: Date/Time ``` G62*69*20261113*U*0700~ ``` `G6201` qualifies the date (`69` scheduled pick-up, `70` scheduled delivery) and `G6203` the time (`U` scheduled pick-up time, `X` scheduled delivery time). Some guides want the carrier to confirm the pickup it is committing to; others ignore any dates on a 990. ### K1: Remarks ``` K1*NO DRY VAN CAPACITY GRAND RAPIDS 11/13~ ``` `K101` and `K102` carry free text. Use them for the reason behind a decline or a condition on an acceptance, and keep the coded decision in `B104`. ## 990 vs 997 vs 204 | Document | Sent by | What it tells you | |---|---|---| | **[204 Motor Carrier Load Tender](/guides/edi/204-motor-carrier-load-tender)** | Shipper | Here is a load: stops, freight, timing, terms | | **[997 Functional Acknowledgment](/guides/edi/997-functional-acknowledgment)** | Carrier | The 204 arrived and passed syntax checks | | **990 Response to a Load Tender** | Carrier | The carrier accepts or declines the load | A 997 says nothing about whether the carrier will haul the load. Only the 990 does. Treat a 204 that has a 997 but no 990 as uncovered. ## Where the 990 Sits in the Freight Flow 1. **[204 Motor Carrier Load Tender](/guides/edi/204-motor-carrier-load-tender)**: the shipper offers the load 2. **990 Response to a Load Tender**: the carrier accepts or declines; on a decline, back to step 1 with the next carrier 3. **[211 Motor Carrier Bill of Lading](/guides/edi/211-motor-carrier-bill-of-lading)** or a paper BOL: the shipper documents the freight at pickup 4. **[214 Shipment Status](/guides/edi/214-transportation-carrier-shipment-status)**: the carrier reports pickup, transit and delivery events 5. **[210 Motor Carrier Freight Invoice](/guides/edi/210-motor-carrier-freight-invoice)**: the carrier bills the move On LTL freight into retail DCs, the carrier may also send the consignee a [212 delivery trailer manifest](/guides/edi/212-motor-carrier-delivery-trailer-manifest) before delivery. On retail collect freight, the retailer passes the booked carrier to its supplier with a [754 Routing Instructions](/guides/edi/754-routing-instructions). ## Common 990 Errors and How to Prevent Them | Error | What happens | Prevention | |---|---|---| | **`B102` does not match the 204** | Response cannot be matched; load shows as unanswered | Copy `B204` from the tender exactly | | **997 treated as acceptance** | Load assumed covered; no truck arrives | Track 990s, not 997s, as the booking signal | | **No 990 before the respond-by deadline** | Tender expires and moves to the next carrier | Alert on any 204 without a 990 as the `G62*64` deadline approaches | | **Unsupported action code (`B`, `C`, `U`)** | Shipper's system ignores the response | Agree the action code list in the guide; many support only `A` and `D` | | **Decline reason only in free text** | Shipper cannot report on why loads are declined | Agree a coded reason (some guides use `V9` or a reference qualifier) alongside `K1` | | **Acceptance sent for a cancelled tender** | Carrier dispatches a truck to a load that no longer exists | Process 204 cancellations (`B2A01` = `01`) before answering | | **Wrong SCAC in `B101`** | Response attributed to another carrier | Send the SCAC the shipper tendered to in `B202` | ## 990 Implementation Checklist - Confirm each partner's 990 guide, X12 release and `GS01` = `GF` - Confirm which action codes the partner accepts in `B104` - Agree which reference goes back in `N9` and with which qualifier - Confirm the response window and how the 204 states it - Decide whether to confirm dates in `G62` or stops in the `S5` loop - Agree how decline reasons are sent - Match every outbound 204 to its 990 and alert on declines and silence - Test an acceptance, a decline, and a response to a changed and a cancelled tender Our [EDI document types reference](/edi-document-types) shows how the transportation sets sit next to the order, ship notice and invoice documents, and the [SCAC code glossary entry](/glossary/scac-code) explains how carriers are identified. ## Where OrderSync Fits A 990 confirms the truck. What goes on that truck, and where it goes, comes from purchase orders that arrived as EDI 850s or 875s, PDFs, emails or spreadsheets and had to be entered correctly before anything could ship. OrderSync reads those inbound orders in any format, matches customers, items and units to your catalog, and outputs clean ERP data or valid X12, so the loads you tender start from accurate orders. Paste any 990 into the [free EDI inspector](/edi-inspector) to see it parsed segment by segment with a plain-English summary, or [book a 15-minute walkthrough](/book) to see your own orders processed. ## Frequently Asked Questions
### What is an EDI 990 used for? The 990 is used by a motor carrier to answer a 204 load tender. It tells the shipper whether the carrier accepts or declines the load, and usually returns the carrier's own reference number for it. ### What are the EDI 990 accept and decline codes? They are in B104, the Reservation Action Code. A means reservation accepted. D, which X12 names reservation cancelled, is the code carriers use to decline. The code list also includes B conditional acceptance and C counter proposal, but many shipper guides accept only A and D. ### What is the difference between an EDI 204 and an EDI 990? The 204 is the load tender the shipper sends to offer a load. The 990 is the carrier's response that accepts or declines it. The 990's B102 echoes the 204's B204 shipment number so the two can be matched. ### Is a 997 enough to confirm a load? No. A 997 only confirms that the 204 was received and passed syntax checks. The carrier commits to the load with a 990 accept code. ### What happens when a carrier declines an EDI 204? The shipper tenders the load to the next carrier, usually the next one on its routing guide for that lane, by sending a new 204 to that carrier's SCAC. Systems that read the 990 decline code can do this without anyone picking up the phone. ### How fast does a carrier have to send a 990? The shipper sets the window, either in its implementation guide or in the tender itself with a must-respond-by date and time in G62. The guide also says what happens when no 990 arrives in time; typically the load moves to the next carrier. ### Can a carrier change the load in a 990? The code list includes conditional acceptance and counter proposal, but many shippers do not process them. If the load needs to change, the usual route is to decline or call, and the shipper sends a changed 204.
--- # EDI 997: Acknowledgment Error Codes Explained Source: https://ordersync.io/guides/edi/997-functional-acknowledgment > How EDI 997 acknowledgments work: AK1 to AK9 segments, AK304 and AK403 error codes, rejected and partial examples, TA1 vs 997 vs 999, and missing 997s. The EDI 997 Functional Acknowledgment is the X12 transaction a receiver sends back to confirm it received a functional group and to say whether each transaction set in it passed syntax checks. It accepts, rejects or partially accepts, and points to failing segments and elements with AK3 and AK4 error codes. It does not confirm business acceptance. **The EDI 997 is the receipt for an EDI file.** Every time you send a partner an 850, 810 or 856, their translator checks the file against the X12 standard and returns a 997 that says, transaction set by transaction set, whether it passed. When it did not, the 997 names the segment position and the element that failed, with a code for what went wrong. Read correctly, a rejected 997 tells you exactly which field to fix. This guide covers what the 997 reports and what it does not, how it differs from the TA1 and the 999, every segment you will read, three live examples (accepted, rejected and partially accepted), the full AK304 and AK403 code lists, and how to find out why a 997 never arrived. ## What Is an EDI 997? **An EDI 997 is the Functional Acknowledgment transaction set defined by the [ASC X12 standards body](https://x12.org/products/transaction-sets). The receiver of a functional group (a GS to GE envelope) returns it to report whether the group, and each transaction set inside it, was syntactically valid, and to identify the segments and elements that were not.** Authoritative references for 997 work: - The [X12 transaction set catalog](https://x12.org/products/transaction-sets) defines the 997 alongside the 999 and the TA1 interchange acknowledgment - The [Stedi X12 004010 reference for the 997](https://www.stedi.com/edi/x12-004010/997) shows the segment order and the purpose notes from the standard, including the rules on when a 997 is and is not sent - [Microsoft's X12 TA1 documentation](https://learn.microsoft.com/en-us/azure/logic-apps/logic-apps-enterprise-integration-x12-ta1-acknowledgment) lists the TA1 interchange note codes and explains how the TA1 differs from the 997 - Each trading partner's implementation guide says whether it expects a 997 or a 999, which documents it acknowledges, and how quickly **Who sends it?** Whoever received the functional group. If you send an 850, your customer's or supplier's translator sends the 997. If they send you an 850, you owe them one. **When is it sent?** After the receiving translator has opened and validated the group. Most translators generate it automatically within minutes. The deadline is whatever the partner's guide says. **Why does it matter?** It is the only standard proof that a partner received your file and could read it. A missing 997 usually means a file did not arrive or could not be opened. A rejected one means the partner received a document and threw it away. ### Three rules from the standard The X12 purpose notes for the 997 set three rules that settle most arguments about how it should behave: 1. **One 997 per functional group.** A 997 carries exactly one AK1, which names one group. Three groups received means three 997 transaction sets, which can travel in one interchange. 2. **A 997 is never acknowledged.** The standard says a functional acknowledgment shall not be acknowledged, to prevent an endless loop. Nor is a 997 sent to report errors in a previous 997. 3. **The envelope is reversed.** The sender and receiver codes from the acknowledged group's GS swap places in the GS of the group carrying the 997, and `GS01` is `FA`. ### What a 997 does not tell you A 997 confirms that the document followed the X12 syntax rules for the version in `GS08`: required segments present, segments in order, elements the right type and length, code values on the X12 list. It does not say the partner accepted your prices, can ship your quantities or recognizes your item numbers. That comes later in an [855 acknowledgment](/guides/edi/855-purchase-order-acknowledgment), an [824 application advice](/guides/edi/824-application-advice) or a short-pay. A clean 997 followed by a business rejection is normal. ## TA1, 997, 999 and 824: Four Levels of Acknowledgment People often use "997" to mean any EDI acknowledgment. There are four, and each answers a different question. | Acknowledgment | Checks | Requested by | Answers | |---|---|---|---| | **TA1 Interchange Acknowledgment** | The ISA/IEA envelope only | `ISA14` = `1`, or the partner agreement | Could the interchange be opened at all? | | **997 Functional Acknowledgment** | Each functional group and transaction set against the X12 standard | The trading partner agreement | Is each document valid X12? | | **[999 Implementation Acknowledgment](/guides/edi/999-implementation-acknowledgment)** | The same, plus the partner's implementation guide | The trading partner agreement | Is each document valid X12 and valid for this partner's guide? | | **[824 Application Advice](/guides/edi/824-application-advice)** | Business content | The partner's guide | Did the partner's application accept the data? | ### ISA14 requests a TA1, not a 997 `ISA14` is the Acknowledgment Requested flag. Its two values are `0` (no interchange acknowledgment requested) and `1` (interchange acknowledgment requested), and the acknowledgment it requests is the **TA1**, which reports on the ISA and IEA envelope. Setting `ISA14` to `1` does not ask for a 997, and setting it to `0` does not switch the 997 off. Whether a partner returns a 997, a 999 or nothing is set by the trading partner agreement and configured in their translator. A TA1 is short: `TA101` to `TA103` echo the interchange control number, date and time from your ISA, `TA104` gives the verdict (`A` accepted, `E` accepted with errors, `R` rejected), and `TA105` gives a three-digit note code such as `000` (no error), `001` (control numbers in ISA and IEA do not match) or `025` (duplicate interchange control number). If an interchange fails at this level, no 997 can follow, because the receiver never got as far as the GS. ### 997 vs 999 Both acknowledge a functional group and give a verdict for each transaction set. The 999, introduced with version 005010, keeps the 997's `AK1`, `AK2` and `AK9` segments and uses `IK3`, `IK4` and `IK5` **in place of** `AK3`, `AK4` and `AK5`. The IK segments carry the same standard error codes plus "I" codes for implementation guide violations, and can be followed by `CTX` context segments. Our [999 guide](/guides/edi/999-implementation-acknowledgment) covers it in depth. | | 997 Functional Acknowledgment | 999 Implementation Acknowledgment | |---|---|---| | **Introduced** | Early X12 releases; standard in 004010 | 005010 | | **Group header and trailer** | `AK1`, `AK9` | `AK1`, `AK9` | | **Transaction set header** | `AK2` | `AK2` | | **Segment error** | `AK3` | `IK3` | | **Element error** | `AK4` | `IK4` | | **Transaction set verdict** | `AK5` | `IK5` | | **Context segment** | None | `CTX` | | **Checks the partner's guide** | No, X12 syntax only | Yes | | **Typical users** | Retail and supply chain on 004010 | HIPAA 5010 healthcare, some 5010 supply chain partners | The practical rule: your partner's guide says which one it sends and which one it expects from you. Never return both for the same group. ## How a 997 Is Built When a translator receives an interchange, the 997 comes out of the same validation pass: 1. **Open the interchange.** Check the ISA and IEA. Send a TA1 if `ISA14` asks for one or the agreement requires it. 2. **Open each functional group.** Read `GS01` (the functional identifier, such as `PO` for 850s) and `GS06` (the group control number). These become `AK101` and `AK102`. 3. **Validate each transaction set.** For every ST to SE, check segment order, requirements, element types and lengths, and code values against the version in `GS08`. 4. **Write one AK2 loop per transaction set.** `AK2` echoes `ST01` and `ST02`. Each failing segment gets an `AK3`, each failing element inside it an `AK4`, and `AK5` gives the verdict. 5. **Summarize the group in AK9.** The verdict for the whole group, and how many transaction sets were included, received and accepted. 6. **Envelope and send.** Wrap the 997 in a new GS with `GS01` = `FA` and the sender and receiver reversed, and return it on the same connection. Many translators send `AK2` loops only for rejected transaction sets, or none at all when the whole group is accepted. Both are allowed; the `AK9` counts still tell you what happened. ## Interactive Example: Accepted 997 A buyer's translator acknowledges purchase order group `1`, one 850 with control number `0001`. `AK5*A` accepts the transaction set and `AK9*A*1*1*1` accepts the group: one included, one received, one accepted. Use the **Plain English** tab for a summary, or click any segment for its elements. ## Interactive Example: Rejected 850 with Element Errors A supplier, Ridgeline, rejects an 850 from its distributor customer, Northwind. Two segments failed. `AK3*N4*7**8` points at the `N4` segment at position 7, with code `8` (the segment has data element errors), and `AK4*2*156*5*TEXAS` says element 2 of it (data element 156, the state code) is too long and copies the value sent. `AK3*PO1*9**8` and `AK4*3*355*7*XX` flag an invalid unit of measure code on the line at position 9. `AK5*R*5` rejects the transaction set because one or more segments are in error, and `AK9*R*1*1*0` rejects the group. ## Interactive Example: Partially Accepted Group Three 850s arrive in one group. The first two pass. The third has a `PO1` with no quantity, so `AK4*2*330*1` reports element `PO102` (data element 330) as a mandatory element missing. `AK9*P*3*3*2` marks the group as partially accepted: three included, three received, two accepted. The partner will process the first two orders and discard the third, so only order `0003` needs to be fixed and resent. ## 997 Structure at a Glance | Position | Segment | Name | Usage | Notes | |---|---|---|---|---| | Header | **ST** | Transaction Set Header | Mandatory | `ST01` = `997` | | Header | **AK1** | Functional Group Response Header | Mandatory, once | Which group is being acknowledged | | AK2 loop | **AK2** | Transaction Set Response Header | Optional, repeats | One per transaction set reported on | | AK3 loop | **AK3** | Data Segment Note | Optional, repeats | One per segment in error | | AK3 loop | **AK4** | Data Element Note | Optional, up to 99 per AK3 | One per element in error | | AK2 loop | **AK5** | Transaction Set Response Trailer | Mandatory in each AK2 loop | Verdict on that transaction set | | Summary | **AK9** | Functional Group Response Trailer | Mandatory | Verdict and counts for the group | | Summary | **SE** | Transaction Set Trailer | Mandatory | Segment count and control number | ## Key Segments Explained ### AK1: Functional Group Response Header ``` AK1*PO*1052~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **AK101** | Functional Identifier Code | `PO` | `GS01` of the group being acknowledged: `PO` for 850s, `IN` for 810s, `SH` for 856s, `SW` for 945s | | **AK102** | Group Control Number | `1052` | `GS06` of that group | ### AK2: Transaction Set Response Header ``` AK2*850*0001~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **AK201** | Transaction Set Identifier Code | `850` | `ST01` of the transaction set | | **AK202** | Transaction Set Control Number | `0001` | `ST02` of the transaction set | Match acknowledgments to what you sent on the pair `AK102` and `AK202`, not on `AK202` alone. Transaction set control numbers restart or roll over, and two different groups can both contain an `ST*850*0001`. ### AK3: Data Segment Note ``` AK3*N4*7**8~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **AK301** | Segment ID Code | `N4` | The segment in error | | **AK302** | Segment Position in Transaction Set | `7` | Its position, counting `ST` as 1 | | **AK303** | Loop Identifier Code | | The loop it sits in, when the receiver reports it | | **AK304** | Segment Syntax Error Code | `8` | What is wrong with the segment | **AK304 segment error codes** | Code | Meaning | What it usually means in practice | |---|---|---| | `1` | Unrecognized segment ID | The segment does not exist in the version declared in `GS08` | | `2` | Unexpected segment | A valid segment in the wrong place | | `3` | Mandatory segment missing | A required segment was never sent | | `4` | Loop occurs over maximum times | Too many repeats of a loop | | `5` | Segment exceeds maximum use | The segment repeated more often than its own maximum | | `6` | Segment not in defined transaction set | The segment is X12 but does not belong to this set | | `7` | Segment not in proper sequence | Right segment, wrong order | | `8` | Segment has data element errors | The segment is fine; look at the AK4s that follow | Code `8` is the one you will see most. It means "the problem is inside this segment", and the `AK4` segments after it name the elements. ### AK4: Data Element Note ``` AK4*2*156*5*TEXAS~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **AK401** | Position in Segment | `2` | The element's position in the segment named by the AK3 above, so `N402` here. A composite adds the component position | | **AK402** | Data Element Reference Number | `156` | The X12 dictionary number of the element | | **AK403** | Data Element Syntax Error Code | `5` | What is wrong with the element | | **AK404** | Copy of Bad Data Element | `TEXAS` | The value that failed, when the receiver includes it | **AK403 data element error codes (004010)** | Code | Meaning | Example | |---|---|---| | `1` | Mandatory data element missing | `PO102` (quantity) is empty | | `2` | Conditional required data element missing | A qualifier was sent without the value it qualifies | | `3` | Too many data elements | More elements than the segment defines | | `4` | Data element too short | A 12-digit UPC field holding 10 digits | | `5` | Data element too long | `TEXAS` in a two-character state code | | `6` | Invalid character in data element | Letters in a numeric field | | `7` | Invalid code value | Unit of measure `XX`, which is not on the X12 list | | `8` | Invalid date | `20261132` | | `9` | Invalid time | `2561` | | `10` | Exclusion condition violated | Two elements sent that the syntax rules say cannot appear together | Later releases add `12` (too many repetitions) and `13` (too many components) for repeating and composite elements, and the 999 adds the "I" codes. ### AK5: Transaction Set Response Trailer ``` AK5*R*5~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **AK501** | Transaction Set Acknowledgment Code | `R` | The verdict on this transaction set | | **AK502** to **AK506** | Transaction Set Syntax Error Code | `5` | Up to five reasons for that verdict | **AK501 codes:** `A` accepted, `E` accepted but errors were noted, `M` rejected because the message authentication code failed, `R` rejected, `W` rejected because assurance failed validity tests, `X` rejected because content after decryption could not be analyzed. There is no `P` for a single transaction set; partial acceptance only exists at the group level in `AK901`. **Common AK502 reasons:** `1` transaction set not supported, `2` trailer missing, `3` control numbers in ST and SE do not match, `4` the segment count in SE does not match the actual count, `5` one or more segments in error, `6` missing or invalid transaction set identifier, `7` missing or invalid transaction set control number. The `M`, `W` and `X` verdicts and reasons `8` to `17` relate to X12 security features most trading relationships never use. ### AK9: Functional Group Response Trailer ``` AK9*P*3*3*2~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **AK901** | Functional Group Acknowledge Code | `P` | Verdict on the whole group | | **AK902** | Number of Transaction Sets Included | `3` | The count in your `GE01` | | **AK903** | Number of Received Transaction Sets | `3` | How many the receiver found | | **AK904** | Number of Accepted Transaction Sets | `2` | How many it accepted | | **AK905** to **AK909** | Functional Group Syntax Error Code | | Reasons the group itself failed | **AK901 codes:** `A` accepted, `E` accepted but errors were noted, `P` partially accepted (at least one transaction set was rejected), `R` rejected, and the security codes `M`, `W` and `X`. The common AK905 reasons are `1` functional group not supported, `2` functional group version not supported, `3` group trailer missing, `4` group control numbers in GS and GE do not agree, and `5` the number of included transaction sets does not match the actual count. When `AK902` and `AK903` differ, the receiver did not find every transaction set your `GE01` promised. That is an envelope problem, not a content problem. ## How to Read a 997 Rejection: Worked Example Every AK3 and AK4 element is positional, so a rejection fragment can be read left to right with no other context. To skip the decoding, paste the whole 997 into the [EDI rejection explainer](/tools/edi-rejection-explainer), which names each rejected segment and element in plain words and says what to fix. ### Decoding `AK3*N2*48` ``` AK3*N2*48 | | | +-- AK302: segment position 48 in the transaction set +------ AK301: segment ID N2 (Additional Name Information) ``` Read it as: "the N2 segment at position 48 failed." There is no AK303 loop identifier and no AK304 error code here, so the partner told you where the problem is but not what kind. That is legal. Look at the AK4 segments that follow, and if there are none, check the segment against the partner's guide for the version in `GS08`. Position 48 counts every segment in the transaction set starting with ST as 1. It is not the line number in the file and not the position within the loop. Off-by-one errors here usually mean you counted from ISA or GS. ### Decoding `AK4*2*373*8` ``` AK4*2*373*8 | | | | | +-- AK403: error code 8, invalid date | +----- AK402: data element reference number 373 (a date) +-------- AK401: element position 2 within the segment ``` Read it as: "element 2 of the segment named in the preceding AK3 holds an invalid date." Pair it with the AK3 above it. If that was `AK3*DTM*12**8`, the failing value is `DTM02` in the DTM at position 12. Note the empty AK303 in that AK3: the error code is always the fourth element, so `AK3*DTM*12*8` would put `8` in the loop identifier and mean something else. ### Mapper errors that point at a loop path Some translators report the same failure as a document path rather than an AK3. A string like `edi_004010_204/loop/s5_loop/n1_loop/n1, segment counter = 48` is the mapper's version of `AK3*N1*48`. Read the path right to left: the failing segment is N1, inside the N1 loop, inside the S5 loop, in a 204 on version 004010. The segment counter is the same number AK302 would carry. Paste the raw file into the [EDI Inspector](/edi-inspector) and jump to that segment position to see the actual values rather than guessing from the path. ## Where the 997 Sits in the Document Flow The 997 travels behind every other document. In a typical retail order-to-cash flow: 1. Buyer sends an [850 purchase order](/guides/edi/850-purchase-order). Supplier returns a 997 for the PO group. 2. Supplier sends an [855 acknowledgment](/guides/edi/855-purchase-order-acknowledgment). Buyer returns a 997. 3. Supplier sends an [856 ship notice](/guides/edi/856-ship-notice). Buyer returns a 997. 4. Supplier sends an [810 invoice](/guides/edi/810-invoice). Buyer returns a 997. 5. Buyer may send an [824 application advice](/guides/edi/824-application-advice) if the content of any of these fails its business rules, and that 824 gets a 997 too. Warehouse documents work the same way. A 3PL that sends a [945 warehouse shipping advice](/guides/edi/945-warehouse-shipping-advice) expects a 997 with `AK101` = `SW` back from the depositor. ## Why Am I Not Getting a 997? A missing acknowledgment is more often a configuration problem than a transmission problem. Work through these in order. | Cause | How to confirm | Fix | |---|---|---| | Partner has not enabled acknowledgments for you | Their guide lists the 997 as optional, or their setup for your ID has it off | Ask them to turn on functional acknowledgments for your ISA qualifier and ID | | The interchange failed at the envelope | You received a TA1 with `TA104` = `R`, or nothing at all | Fix the ISA or GS (IDs, qualifiers, control numbers, separators) and resend | | `GS08` version mismatch | Your `GS08` does not match what the partner has mapped | Align `GS08` with their guide | | They send a 999, not a 997 | Their guide refers to IK3, IK4 and IK5 segments | Configure your translator to accept and reconcile 999s | | VAN or AS2 routing gap | The 997 reached your mailbox or gateway but not your translator | Check mailbox routing rules and the VAN or AS2 audit trail | | Wrong ISA receiver on the return | The partner is sending to an ISA ID you retired | Confirm the qualifier and ID pair they have on file | | Your translator discards acknowledgments it cannot match | The 997 arrived but references a group control number you do not have | Check for control number resets or duplicate GS06 values on your side | `ISA14` is not on this list for a reason. Setting it to `1` asks for a TA1, which is useful for confirming the envelope arrived, but it does not turn a 997 on or off. ## 997 Reconciliation: Missing, Late and Duplicate Acknowledgments Once volume is above a few hundred documents a month, the useful question stops being "did this file get a 997" and becomes "which files did not." A reconciliation report answers that by joining every outbound transaction set against the acknowledgments received. | Column | Definition | |---|---| | Total sent | Outbound transaction sets in the period | | Accepted | `AK501` of `A` or `E`, or covered by an `AK901` of `A` or `E` with no AK2 for it | | Rejected | `AK501` of `R`, `M`, `W` or `X` | | In a partial group | `AK901` of `P`; read each AK2 to see which sets failed | | Missing 997 | No acknowledgment inside the partner's stated window | | Late 997 | Acknowledgment received after the window | | Duplicate 997 | More than one 997 for the same `GS06` and `ST02` pair | Match on the pair of group control number and transaction set control number. Matching on `ST02` alone produces false duplicates as soon as a counter rolls over. Duplicates are usually harmless and come from a partner re-running a batch. Missing acknowledgments are the column worth alerting on, and the alert should fire at the window in each partner's guide rather than a single fixed number. Partner guides state that window in hours or business days, and some treat a late or missing 997 as a compliance failure, so read the number from the guide rather than assuming one. ## Common 997 Errors and How to Prevent Them | Error | What happens | Prevention | |---|---|---| | **Not returning 997s at all** | Partner assumes your side never received its files, resends, or flags you | Turn on automatic 997s for every partner whose guide requires them | | **Wrong `AK102` or `AK202`** | Partner cannot match the 997 to what it sent | Copy `GS06` and `ST02` from the inbound file, never generate them | | **Wrong `AK101`** | 997 rejected or ignored | Copy `GS01` from the inbound group | | **Several groups in one 997** | Invalid 997; only one AK1 is allowed | One 997 transaction set per functional group received | | **Acknowledging a 997** | Loops of acknowledgments; X12 says not to | Exclude `FA` groups from 997 generation | | **Rejecting for business reasons in the 997** | The 997 says "syntax error" when the real problem is a price or item | Accept valid syntax in the 997 and report business problems on an 855, 824 or by the channel the partner's guide names | | **`AK5*R` with no AK3 or AK4** | Partner cannot tell what to fix | Include AK3 and AK4 detail whenever a segment or element failed | | **AK304 in the AK303 position** | Error code read as a loop ID | Keep the empty AK303 when there is no loop ID: `AK3*N4*7**8` | | **Sending both a 997 and a 999** | Partner sees conflicting acknowledgments | Return the one type the partner's guide asks for | | **Counting AK302 from ISA** | You fix the wrong segment | Count from ST as position 1 | ## 997 Implementation Checklist Before going live with a new partner: - Confirm from the partner's guide whether it sends and expects a 997 or a 999 - Confirm which of your outbound documents it acknowledges, and its time window - Confirm whether it wants a TA1, and set `ISA14` accordingly - Generate 997s automatically for every inbound functional group, one per group - Exclude inbound 997 and 999 groups from acknowledgment generation - Copy `GS01`, `GS06`, `ST01` and `ST02` into `AK101`, `AK102`, `AK201` and `AK202` - Store every outbound `GS06` and `ST02` pair so inbound 997s can be matched - Alert on missing acknowledgments at each partner's window, and on any `R` or `P` - Test with a deliberately broken file and confirm both sides read the AK3 and AK4 detail the same way - Keep 997s with the documents they acknowledge for audit and dispute work If you are new to EDI as a whole, our [EDI compliance guide](/edi-compliance) and the [EDI document types reference](/edi-document-types) explain where acknowledgments sit among the documents your partners may require. ## Handling Orders Upstream With OrderSync Most 997 rejections on outbound documents trace back to the data the document was built from: an item number keyed wrong when the order came in, a unit of measure that was never mapped, a ship-to that does not match the partner's list. OrderSync works at that starting point. It reads inbound orders in any format, from EDI 850s and 875s to PDFs, emails and spreadsheets, matches customers, items and units to your catalog, and outputs valid X12 or ERP data, sending a 997 for every inbound EDI transaction it receives. Paste any 997 or 999 into the [free EDI inspector](/edi-inspector) to see each acknowledgment decoded segment by segment, read about [multi-format order processing](/multi-format-orders), or [book a 15-minute walkthrough](/book) to see your own orders processed. ## Related Guides - **[EDI 999 Implementation Acknowledgment](/guides/edi/999-implementation-acknowledgment)**: the 5010 acknowledgment that also checks the partner's guide - **[EDI 824 Application Advice](/guides/edi/824-application-advice)**: business-level rejections after a clean 997 - **[EDI 850 Purchase Order](/guides/edi/850-purchase-order)**, **[856 Ship Notice](/guides/edi/856-ship-notice)** and **[810 Invoice](/guides/edi/810-invoice)**: the documents a 997 most often acknowledges - **[EDIFACT CONTRL](/guides/edi/edifact-contrl)**: the EDIFACT equivalent of the 997, with UCI, UCM, UCS and UCD error codes ## Frequently Asked Questions
### What does AK5 A vs AK5 R mean in a 997? AK5 is the verdict on one transaction set. `A` means accepted: it passed the X12 syntax checks. `R` means rejected: it had errors that stopped processing. When you see `R`, read the AK3 and AK4 segments just before it in the same AK2 loop; they give the failing segment position and element, and AK502 gives the reason. ### What is the difference between a 997 and a 999? The 997 checks a document against the X12 standard. The 999, introduced with version 005010, also checks it against the partner's implementation guide. The 999 keeps AK1, AK2 and AK9 and uses IK3, IK4 and IK5 in place of AK3, AK4 and AK5, adding implementation "I" codes and CTX context segments. ### What is the difference between a TA1 and a 997? A TA1 acknowledges the interchange envelope (ISA and IEA) and says whether it could be opened. A 997 acknowledges a functional group and reports on each transaction set's syntax. `ISA14` = `1` requests a TA1. The 997 is set up by the trading partner agreement, not by ISA14. ### Does ISA14 = 1 request a 997? No. `ISA14` is the Acknowledgment Requested flag, and `1` requests an interchange acknowledgment, the TA1. Partners return 997s or 999s because their agreement and translator setup say so. If you are not getting 997s, ask the partner to enable functional acknowledgments for your ID. ### How quickly do I have to send a 997? The X12 standard sets no deadline. Each partner's implementation guide states its own window, and translators generate 997s within minutes of receiving a file, so automatic generation meets almost any requirement. Check each guide for the exact window and any penalties. ### Can one 997 acknowledge several transactions or groups? Several transactions, yes: one 997 has an AK2 loop per transaction set in the group. Several groups, no. The standard allows one AK1 per 997, so each functional group gets its own 997 transaction set, though they can travel together in one interchange. ### Should I send a 997 for a 997 I receive? No. The X12 standard says a functional acknowledgment shall not be acknowledged, to avoid an endless loop, and a 997 is never sent to report errors in another 997. Configure your translator to skip acknowledgment for inbound `FA` groups. ### What is error "invalid request (m997)"? It is not an X12 code. No AK304, AK403 or AK502 value produces "m997", and the 997 has no "invalid request" status. It is an application message from a specific portal or middleware product. Look it up in that product's error catalog, and check whether the file itself produced a 997 at all.
--- # EDI 999 Implementation Acknowledgment Explained Source: https://ordersync.io/guides/edi/999-implementation-acknowledgment > EDI 999 acknowledgement explained: AK1, AK2, IK3, IK4, IK5 and CTX segments, I-codes, accepted and rejected examples, and how the 999 differs from the 997. The EDI 999 Implementation Acknowledgment is the X12 version 5010 transaction a receiver sends back to confirm it received a functional group and to report whether each transaction set met both the X12 standard and the partner's implementation guide. It points to errors with IK3, IK4 and CTX segments and gives a verdict for each transaction set in IK5. **The EDI 999 is a 997 that also checks your file against the partner's implementation guide.** A 997 tells you whether a document follows the X12 standard. A 999 can also tell you that a value the standard allows is one your partner's guide does not, that a segment the guide makes required is missing, or that a field breaks the guide's format rules. Those are the rejections that confuse people, because the file looks valid to every generic X12 validator. This guide covers what the 999 reports, how it differs from the 997, every segment you will read, two live examples (an accepted 850 and a rejected one), the IK3 and IK4 error codes, and how to work a 999 rejection back to the field that caused it. ## What Is an EDI 999? **An EDI 999 is the Implementation Acknowledgment transaction set defined by the [ASC X12 standards body](https://x12.org/products/transaction-sets) for version 005010 and later, used to report whether each transaction set in a received functional group was accepted, accepted with errors, or rejected, measured against both the X12 standard and the implementation guide the sender declared.** The implementation guide for the 999 itself is the X12 technical report `005010X231`, most often used in its errata version `005010X231A1`, which is the value you will see in `GS08` and `ST03`. Authoritative references for 999 work: - The [X12 transaction set catalog](https://x12.org/products/transaction-sets) defines the 999 and its segments, including the IK3, IK4 and IK5 error segments and the CTX context segment - Published 999 companion guides, such as the [Wisconsin Department of Health Services 999 companion guide](https://www.dhs.wisconsin.gov/publications/p0/p00268.pdf), show how a receiver fills each element and include worked examples of accepted and rejected transactions - Your trading partner's own guide says whether it sends a 997 or a 999, and which version of each document it validates against **Who sends it?** Whoever received the functional group: a retailer acknowledging your 856 or 810, or you acknowledging a customer's 850. **Who receives it?** The original sender. **When is it sent?** Shortly after the receiver's translator validates the file, usually automatically. **Why does it matter?** A rejected transaction set in a 999 was not processed. If nobody reads the 999, the 850, ASN or invoice it refers to simply never happened as far as the partner is concerned. The 999 is common in healthcare, where the HIPAA 5010 transactions use it as the standard acknowledgment. Outside healthcare, some retail and supply chain partners that run on 5010 also send it in place of the 997. The spelling varies in searches ("999 acknowledgement"), but the X12 name uses "acknowledgment". ## EDI 999 vs 997 Both acknowledge receipt at the functional group level and report per transaction set. The difference is what they check and how they report it. Our [EDI 997 guide](/guides/edi/997-functional-acknowledgment) covers the 997 in depth. | | 997 Functional Acknowledgment | 999 Implementation Acknowledgment | |---|---|---| | **Versions** | All X12 versions, including 004010 and 005010 | 005010 and later | | **Checks against** | The X12 standard | The X12 standard and the implementation guide | | **Group header and trailer** | AK1 and AK9 | AK1 and AK9 | | **Transaction set header** | AK2 | AK2 | | **Segment error** | AK3 | IK3 | | **Element error** | AK4 | IK4 | | **Transaction set verdict** | AK5 | IK5 | | **Context for the error** | None | CTX | | **Error codes** | Standard codes only | Standard codes plus implementation "I" codes | | **Typical users** | Retail and most 004010 partners | Healthcare 5010, and some 5010 supply chain partners | Read it this way: the 999 keeps the 997's group-level segments (AK1, AK2, AK9) and uses IK3, IK4 and IK5 in place of AK3, AK4 and AK5. Those IK segments carry the same standard error codes as their AK counterparts, plus a set of "I" codes for implementation guide violations, and they can be followed by CTX segments that explain the situation behind an error. ## What "Implementation" Means in a 999 The X12 standard defines every segment, element and code list in broad terms. An implementation guide narrows that down for one use: which segments are required, which codes are allowed, how long a field can be, and which rules depend on other fields. A concrete example. In an 850, `N103` is the identification code qualifier for the party in that `N1`. The X12 standard allows dozens of values, including `ZZ` (mutually defined). Your customer's guide might allow only `92` (buyer-assigned) and `UL` (GLN). If your file sends `ZZ`: - A **997** checks against the standard, finds `ZZ` valid, and accepts - A **999** checks against the guide, finds `ZZ` is not used in this implementation, and reports it with code `I6` That is the whole point of the 999, and the reason a file can pass a generic validator and still be rejected. ## Interactive Example: Accepted 999 A distributor, Northwind, sent purchase order group `4471` containing one 850 to its supplier, Ridgeline. Ridgeline's translator validated it and returned this 999. `AK1` names the group (`PO`, control number `4471`, version `005010`), `AK2` names the transaction set (850, control number `0001`), `IK5*A` accepts it, and `AK9*A*1*1*1` accepts the group: one included, one received, one accepted. Use the **Plain English** tab for a readable summary, or click any segment to break it down element by element. ## Interactive Example: Rejected 999 With a Segment Error The next PO, group `4472`, comes back rejected. Its fifth segment (counting `ST` as 1) was an `N1` ship-to whose `N103` qualifier was `ZZ`. - `IK3*N1*5**8` points to the `N1` segment at position 5 and says it has data element errors (code `8`) - `IK4*3*66*I6*ZZ` names element 3 of that segment (data element 66, the identification code qualifier), gives error `I6` (code value not used in the implementation) and copies the bad value `ZZ` - `IK5*R*I5` rejects the transaction set because of implementation errors in one or more segments - `AK9*R*1*1*0` rejects the group: one received, none accepted ## 999 Structure at a Glance | Level | Segment | Name | Usage | Notes | |---|---|---|---|---| | Header | **ST** | Transaction Set Header | Mandatory | `ST01` = `999`, `ST03` = `005010X231A1` | | Header | **AK1** | Functional Group Response Header | Mandatory | The group being acknowledged | | AK2 loop | **AK2** | Transaction Set Response Header | Repeats, one per transaction set | The transaction set being acknowledged | | IK3 loop | **IK3** | Error Identification | Repeats when errors exist | The segment in error | | IK3 loop | **CTX** | Segment Context / Business Unit Identifier | Situational | Why the segment was required, or which business record failed | | IK4 loop | **IK4** | Implementation Data Element Note | Repeats when element errors exist | The element in error | | IK4 loop | **CTX** | Element Context | Situational | Why the element was required | | AK2 loop | **IK5** | Implementation Transaction Set Response Trailer | Mandatory in each AK2 loop | The verdict on that transaction set | | Trailer | **AK9** | Functional Group Response Trailer | Mandatory | The verdict on the whole group, with counts | | Trailer | **SE** | Transaction Set Trailer | Mandatory | Segment count and control number | The functional group code in `GS01` is **FA**, the same as for a 997. The version in `GS08` (`005010X231A1`) is how a translator tells a 999 group apart from a 997 group. ## Key Segments Explained ### AK1: Functional Group Response Header ``` AK1*PO*4472*005010~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **AK101** | Functional Identifier Code | `PO` | The `GS01` of the group being acknowledged. `PO` is purchase orders | | **AK102** | Group Control Number | `4472` | The `GS06` of that group | | **AK103** | Version / Release / Industry Identifier Code | `005010` | The `GS08` of that group | ### AK2: Transaction Set Response Header ``` AK2*850*0001~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **AK201** | Transaction Set Identifier Code | `850` | The `ST01` of the transaction set | | **AK202** | Transaction Set Control Number | `0001` | The `ST02` of the transaction set | | **AK203** | Implementation Convention Reference | | The `ST03` of the transaction set, when it had one | Match acknowledgments to what you sent on the pair `AK102` and `AK202` (group control number and transaction set control number), the same way as for a 997. ### IK3: Error Identification ``` IK3*N1*5**8~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **IK301** | Segment ID Code | `N1` | The segment in error | | **IK302** | Segment Position in Transaction Set | `5` | Its position, counting `ST` as 1 | | **IK303** | Loop Identifier Code | | The loop it sits in, when the receiver reports it | | **IK304** | Implementation Segment Syntax Error Code | `8` | What is wrong with the segment | **IK304 error codes** | Code | Meaning | |---|---| | **1** | Unrecognized segment ID | | **2** | Unexpected segment | | **3** | Required segment missing | | **4** | Loop occurs over maximum times | | **5** | Segment exceeds maximum use | | **6** | Segment not in defined transaction set | | **7** | Segment not in proper sequence | | **8** | Segment has data element errors | | **I4** | Implementation "Not Used" segment present | | **I6** | Implementation dependent segment missing | | **I7** | Implementation loop occurs under minimum times | | **I8** | Implementation segment below minimum use | | **I9** | Implementation dependent "Not Used" segment present | Codes 1 to 8 match the 997's AK304 list. The "I" codes are the ones only a guide-aware check can produce: a segment the guide marks "Not Used" was sent, or a segment the guide requires in a given situation was missing. Code `8` means "look at the IK4 segments that follow". ### IK4: Implementation Data Element Note ``` IK4*3*66*I6*ZZ~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **IK401** | Position in Segment | `3` | The element position in the segment named by the IK3 above. A composite value adds the component position and, for repeating elements, the repetition | | **IK402** | Data Element Reference Number | `66` | The X12 dictionary number of the element | | **IK403** | Implementation Data Element Syntax Error Code | `I6` | What is wrong with the element | | **IK404** | Copy of Bad Data Element | `ZZ` | The value that failed, when the receiver includes it | **IK403 error codes** | Code | Meaning | |---|---| | **1** | Required data element missing | | **2** | Conditional required data element missing | | **3** | Too many data elements | | **4** | Data element too short | | **5** | Data element too long | | **6** | Invalid character in data element | | **7** | Invalid code value | | **8** | Invalid date | | **9** | Invalid time | | **10** | Exclusion condition violated | | **12** | Too many repetitions | | **13** | Too many components | | **I6** | Code value not used in implementation | | **I9** | Implementation dependent data element missing | | **I10** | Implementation "Not Used" data element present | | **I11** | Implementation too few repetitions | | **I12** | Implementation pattern match failure | | **I13** | Implementation dependent "Not Used" data element present | Two of these deserve a note. Code `7` means the value is not in the X12 code list at all. Code `I6` means the value is valid X12 but not in the subset your partner's guide allows. The fix for `7` is usually a typo; the fix for `I6` is reading the partner's guide for that element. Code `I12` means the value broke a format rule in the guide, for example a pattern for an identifier. ### CTX: Context CTX is the one segment with no equivalent in the 997. It appears after an IK3 or an IK4 and adds context in one of two ways: - **Situational trigger.** Many guide rules are conditional: "this segment is required when that element has this value". When the receiver reports a missing or unexpected segment or element because of such a rule, a CTX can point to the segment and element whose value triggered the rule. Its first element starts with the text `SITUATIONAL TRIGGER`. - **Business unit identifier.** A CTX can also name the business record that failed, by an element name and its value from your file, so you can find it without counting segments. The CTX structure is the same in both uses: a context name and reference, then the triggering segment ID, its position, its loop, the position within that segment and the element reference. Which of these a receiver fills in is set by the 999 implementation guide and the receiver's own companion guide. Retail partners send CTX far less often than healthcare payers do. ### IK5: Implementation Transaction Set Response Trailer ``` IK5*R*I5~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **IK501** | Transaction Set Acknowledgment Code | `R` | The verdict on this transaction set | | **IK502** to **IK506** | Implementation Transaction Set Syntax Error Code | `I5` | Up to five reasons for that verdict | **IK501 codes:** `A` accepted, `E` accepted but errors were noted, `M` rejected because the message authentication code failed, `R` rejected, `W` rejected because assurance failed validity tests, `X` rejected because content after decryption could not be analyzed. The most common IK502 reasons are `5` (one or more segments in error), `I5` (implementation one or more segments in error), `4` (the segment count in SE does not match), `3` (the control numbers in ST and SE do not match) and `I6` (the implementation convention named in ST03 is not supported). ### AK9: Functional Group Response Trailer ``` AK9*R*1*1*0~ ``` | Element | Name | Example | What it means | |---|---|---|---| | **AK901** | Functional Group Acknowledge Code | `R` | `A` accepted, `E` accepted with errors, `P` partially accepted, `R` rejected, plus the security codes `M`, `W` and `X` | | **AK902** | Number of Transaction Sets Included | `1` | The count your GE01 declared | | **AK903** | Number of Received Transaction Sets | `1` | The count the receiver found | | **AK904** | Number of Accepted Transaction Sets | `0` | How many were accepted | | **AK905** to **AK909** | Functional Group Syntax Error Code | | Group-level problems, such as a GE count or control number mismatch | `P` matters most in practice. A partially accepted group means some transaction sets went through and others did not, and you have to read each IK5 to find out which. ## How to Read a 999 Rejection 1. **Find the group.** Match `AK102` to the `GS06` of the file you sent. 2. **Find the transaction set.** Match `AK202` to the `ST02`. If several AK2 loops are present, check each `IK5`. 3. **Find the segment.** Count from your `ST` (as position 1) to the `IK302` position. Do not count from ISA or from the top of the file. 4. **Find the element.** `IK401` is the element position in that segment. `IK404`, when present, shows you the value that failed. 5. **Decode the error.** Plain numbers are standard X12 errors. "I" codes are implementation guide errors, so the fix is in the partner's guide, not the X12 standard. 6. **Read any CTX.** It names the field that triggered a conditional rule, or the business record that failed. 7. **Fix and resend.** Correct the data or the map, and resend the transaction set with new control numbers. The [EDI rejection explainer](/tools/edi-rejection-explainer) does most of this for you: paste the 999 and it explains every error code in plain English and locates each one in your original file. The [free EDI inspector](/edi-inspector) parses the original file segment by segment, so you can see the values at the reported position. ## 999 vs TA1, 997 and 824 Four documents can tell you something went wrong. They check different layers. | Document | Checks | Answers the question | |---|---|---| | **TA1 Interchange Acknowledgment** | The ISA/IEA envelope | Could the interchange be opened at all? | | **[997 Functional Acknowledgment](/guides/edi/997-functional-acknowledgment)** | Each transaction set against the X12 standard | Is the document valid X12? | | **999 Implementation Acknowledgment** | Each transaction set against the standard and the implementation guide | Is the document valid for this partner's guide? | | **[824 Application Advice](/guides/edi/824-application-advice)** | The business content, after processing | Does the data make sense: does the PO exist, does the price match? | A clean 999 means the file was structurally right for the guide. It does not mean the partner accepted the order, shipment or invoice as a business matter. That still comes later, through an 855, an 824, or a payment that does or does not arrive. ## Common Causes of 999 Rejections | Error | Typical 999 code | Prevention | |---|---|---| | **Qualifier valid in X12 but not in the partner's guide** | IK403 `I6` | Build code lists from the partner's guide, not the X12 dictionary | | **Segment the guide marks "Not Used" sent anyway** | IK304 `I4` | Suppress optional segments your map fills by default | | **Conditionally required segment missing** | IK304 `I6`, often with CTX | Read the guide's situational rules for each segment | | **Element too long for the guide's limit** | IK403 `5` | Truncate or validate at the source, per the guide | | **Wrong segment count in SE** | IK502 `4` | Let the translator compute SE01 | | **Invalid date** | IK403 `8` | Validate dates before mapping | | **Wrong implementation convention in ST03** | IK502 `I6` | Send the exact convention reference the partner expects | | **997 expected, 999 returned (or the reverse)** | No error, just a missing acknowledgment | Confirm which acknowledgment the partner sends, and set your translator to accept it | ## Handling 999s in Production - **Reconcile every outbound group.** Match each 999 to the group and transaction set it answers, on group control number and transaction set control number. Alert on groups with no acknowledgment inside the partner's window. - **Treat `E` with care.** "Accepted with errors" means the partner processed the document, but something is wrong that may fail next time or under a stricter partner. - **Read partial acceptances line by line.** An `AK9*P` hides one or more rejected transaction sets inside a group that looks mostly fine. - **Fix the map, not just the file.** An "I" code usually means the map is wrong for this partner, so every future document will fail the same way until the map changes. - **Keep the 999s.** They are your record that a document was received and accepted, which matters when a partner later says it never got an ASN or an invoice. ## 999 Implementation Checklist - Confirm with each partner whether it sends a 997 or a 999, and in which version - Make sure your translator accepts `GS08` `005010X231A1` groups and routes them to the same tracking as 997s - Get the partner's implementation guide for every document you send, and build code lists from it - Map IK304, IK403 and IK502 codes, including the "I" codes, to readable messages for your team - Alert on rejected (`R`) and partially accepted (`P`) groups, and on missing acknowledgments - Decide who owns fixing a rejection: the person who keyed the data, or the person who owns the map - If you receive documents on 5010, decide whether you will send a 999 or a 997 back, and confirm it with the partner ## Getting Fewer 999 Rejections With OrderSync Most 999 rejections trace back to data that was never checked against the partner's rules before it went out: an order keyed from a PDF with a ship-to code the customer does not use, or an item number that does not match the catalog. OrderSync reads inbound orders in any format (EDI 850 and 875, PDF, email, spreadsheets), matches customers, stores, items and units to your records, and outputs valid X12 or clean data for your ERP, so problems are caught before a document is built from them. Paste any 999 or 997 into the [free EDI inspector](/edi-inspector) to see what was rejected and why, read more about [multi-format order processing](/multi-format-orders), or [book a 15-minute walkthrough](/book) to see your own orders processed. ## Frequently Asked Questions
### What is an EDI 999 acknowledgement? An EDI 999 Implementation Acknowledgment is the X12 5010 transaction a receiver returns to confirm it received a functional group and to say whether each transaction set was accepted, accepted with errors, or rejected. It checks the documents against the X12 standard and the partner's implementation guide, and reports errors with IK3, IK4 and CTX segments. ### What is the difference between a 997 and a 999? The 997 checks a transaction set against the X12 standard and reports errors in AK3, AK4 and AK5. The 999, introduced with version 005010, also checks it against the implementation guide and reports errors in IK3, IK4 and IK5, with implementation "I" codes and optional CTX context. Both use AK1, AK2 and AK9. ### What does IK3 mean in a 999? IK3 identifies a segment in error. IK301 is the segment ID, IK302 its position in the transaction set counting ST as 1, IK303 the loop, and IK304 the error code. Code 8 means the segment has element errors, which the IK4 segments that follow describe. ### What does IK5 R mean? IK5 is the verdict on one transaction set, and R in IK501 means it was rejected. IK502 to IK506 give the reasons, for example 5 (one or more segments in error) or I5 (implementation errors in one or more segments). A rejected transaction set was not processed and must be fixed and resent. ### What is the CTX segment in a 999? CTX adds context to an IK3 or IK4 error. It either points to the segment and element whose value made a situational rule apply, starting with the text SITUATIONAL TRIGGER, or names the business record that failed by an element and its value from the original file. ### What does error code I6 mean in a 999? In IK403, I6 means the code value is valid in the X12 standard but not used in this implementation guide. In IK304, I6 means a segment the guide requires in this situation is missing. In IK502, I6 means the implementation convention named in ST03 is not supported. ### Is the 999 only used in healthcare? No. It is the standard acknowledgment for HIPAA 5010 healthcare transactions, which is where most people meet it, but any trading partners on version 005010 or later can use it. Some retail and supply chain partners send a 999 instead of a 997. The partner's guide says which to expect. ### Why did my file pass validation but get rejected in a 999? Most generic validators check against the X12 standard only. A 999 also checks against the partner's implementation guide, which can restrict code values, require segments in certain situations or forbid segments the standard allows. Errors with "I" codes are guide violations of this kind.
--- # EDIFACT APERAK: Application Error Guide Source: https://ordersync.io/guides/edi/edifact-aperak > EDIFACT APERAK explained: BGM+305, ERC error codes, DOC status, acceptance vs rejection, three live EANCOM examples and how it maps to the X12 824. EDIFACT APERAK is the application error and acknowledgement message, the equivalent of the X12 824. The receiving business application, not the EDI translator, sends it to confirm a message was processed or to report errors in its content. BGM+305 identifies it, RFF names the original document, and each ERC segment carries an error code agreed between the partners. A CONTRL tells you your order file was readable. APERAK tells you whether the system behind it could actually use it. The delivery point GLN might not exist in the buyer's master data, the GTIN might not be on your price file, or the invoice might quote an order that was never placed. None of those are syntax errors, so CONTRL passes them. APERAK is where they surface. This guide follows the [GS1 EANCOM 2002 APERAK](https://www.gs1.org/sites/default/files/docs/eancom/ean02s3/part2/aperak/toc.htm) layout (subset version EAN004, directory D.01B). The examples use the same fictional trading partners as the [ORDERS](/guides/edi/edifact-orders) and [INVOIC](/guides/edi/edifact-invoic) guides. ## What is an EDIFACT APERAK? **APERAK (application error and acknowledgement) is the UN/EDIFACT message that the receiving application sends back to the sender of a message, either to confirm the application received and processed it, or to report errors found while processing it.** It works on one business document at a time: an order, a despatch advice, an invoice. GS1's principles for APERAK are short and worth knowing before you build anything: - **It comes from the application, not the translator.** The EDI translator checks syntax and answers with [CONTRL](/guides/edi/edifact-contrl). APERAK is generated after the message has reached the ERP, warehouse or finance system. - **It never acknowledges an interchange.** That is CONTRL's job. - **One APERAK covers one message.** You cannot acknowledge two orders in one APERAK. - **Name the business parties, not the mailbox.** The `NAD` segments repeat the buyer and supplier from the original document, not the interchange sender and recipient in `UNB`. ## Where APERAK sits in the flow ``` Sender Receiver | ORDERS interchange ------------------> EDI translator | <------------------- CONTRL (syntax: readable?) | | | v | ERP / order system | <------------------- APERAK (content: usable?) | <------------------- ORDRSP (business: will we supply?) ``` APERAK can follow any business message. In UK and European retail it is most often seen in two places: suppliers receiving APERAK from retailers against their DESADV and INVOIC, and retailers receiving APERAK from suppliers against ORDERS. Which documents get one, and how quickly, is set in the trading partner agreement. ## Example 1: acknowledging an order Kestrel Valley Homeware's order system has loaded Harbour Lane Stores' order HL-PO-88231 without problems. It confirms that with an APERAK containing no errors, the same pattern as GS1's own first example. | Segment | What it says | |---|---| | `BGM+305+KV-AP-10233+6'` | Document 305 (application error and acknowledgement), APERAK number KV-AP-10233, function 6 (confirmation) | | `DTM+137:202610110940:203'` | When the APERAK was created: 09:40 on 11 October 2026 | | `RFF+ON:HL-PO-88231'` | The document acknowledged: buyer's order HL-PO-88231 | | `DTM+171:20261011:102'` | The date of that document | | `NAD+BY` / `NAD+SU` | The parties named in the order | The number in `BGM` is the APERAK's own number. GS1 is explicit that it is not the number of the document being acknowledged; that goes in `RFF`. ## Example 2: application errors on an order A second order, HL-PO-88294, fails to load. Its delivery point GLN is not set up in the supplier's customer master, and line 3 carries a GTIN the supplier does not sell. The supplier rejects the order and reports both errors, the second one pointed at the exact order line. | Segment | What it says | |---|---| | `BGM+305+KV-AP-10241+27'` | Function 27: the referenced document is not accepted | | `ERC+DP01::91'` | Application error code DP01, from a code list assigned by the supplier (agency 91) | | `FTX+AAO+++...'` | AAO: error description in free text | | `ERC+IT02::91'` | Second error, code IT02 | | `RFF+ON:HL-PO-88294:3'` | The error relates to line 3 of the order | | `FTX+AAO+++LINE 3 GTIN 5098765100214'` | More detail on that line | Note that `DP01` and `IT02` are invented codes. That is not a shortcut in the example: it is how APERAK works. EANCOM does not publish a list of application error codes. The code in `ERC` is agreed between the partners, and the third component says whose list it is: `91` assigned by the supplier, `92` assigned by the buyer, or `ZZZ` in the second component for mutually defined. ## Example 3: rejecting a duplicate invoice Harbour Lane Stores' finance system receives invoice KV-INV-20918 a second time and rejects the copy. This time the document is identified both in a `DOC` segment, which can carry a status for the referenced document, and in `RFF`. | Segment | What it says | |---|---| | `UNB+UNOC:3+5012345000008:14+...` | This time the buyer sends the APERAK, because the buyer received the invoice | | `DOC+380+KV-INV-20918:8'` | Document 380 (commercial invoice) number KV-INV-20918, status 8 (rejected) | | `DTM+137:20261009:102'` | The date of that invoice | | `RFF+IV:KV-INV-20918'` | Invoice number reference | | `ERC+DUP01::92'` | Error code DUP01 from the buyer's list (agency 92) | GS1's own second APERAK example reports exactly this case, a duplicate invoice number, with a buyer-assigned code. ## APERAK segment reference Status and repeats follow the EANCOM 2002 message structure chart. M is mandatory, C conditional, R required in EANCOM. | Segment | Name | Status | Repeats | Carries | X12 824 equivalent | |---|---|---|---|---|---| | UNH | Message header | M | 1 | `APERAK:D:01B:UN:EAN004` | ST | | BGM | Beginning of message | M | 1 | 305, APERAK number, function | BGN | | DTM | Date/time | C | 9 | 137 APERAK date | BGN date | | DOC (SG1) | Document details | C | 99 in a group of 1 | Document type and number, status | OTI | | DTM (SG1) | Document date | R | 99 | 137 date of the referenced document | OTI date | | RFF (SG2) | Reference | C | 9 | ON, IV, AAN, AGG, APQ | OTI, REF | | DTM (SG2) | Reference date | C | 9 | 171 | DTM | | NAD (SG3) | Name and address | C | 9 | BY and SU from the original document | N1 | | ERC (SG4) | Application error | C | 99999 | Error code and whose list it is from | TED01 | | FTX | Error text | C | 1 | AAO error description | TED02 | | RFF (SG5) | Error reference | C | 9 | Document and line number the error relates to | REF | | FTX (SG5) | Further text | C | 9 | AAO detail | NTE | | UNT | Message trailer | M | 1 | Segment count | SE | ## Code tables ### BGM message function | Code | Meaning in EANCOM APERAK | |---|---| | `6` | Confirmation: the document was received and processed | | `9` | Original | | `23` | Transaction on hold | | `27` | Not accepted | ### DOC document name codes | Code | Document | |---|---| | `220` | Order | | `351` | Despatch advice | | `380` | Commercial invoice | | `381` | Credit note | | `389` | Self-billed invoice | | `261` | Self-billed credit note | ### DOC document status (second component of the document number) | Code | Meaning | |---|---| | `1` | Accepted | | `3` | Conditionally accepted | | `8` | Rejected | | `10` | Document currently valid | | `39` | On hold | ### RFF qualifiers for the acknowledged document | Qualifier | Document | |---|---| | `ON` | Buyer's order number | | `IV` | Invoice number | | `AAN` | Delivery schedule number | | `AGG` | Dispute number | | `APQ` | Commercial account summary reference | ### ERC code list responsible agency | Value | Position | Meaning | |---|---|---| | `91` | Third component | Code assigned by the supplier or supplier's agent | | `92` | Third component | Code assigned by the buyer or buyer's agent | | `ZZZ` | Second component | Mutually defined; GS1 recommends it when free text replaces a code | ## APERAK vs the X12 824 | Data | EDIFACT APERAK | X12 824 | |---|---|---| | Message identity | `BGM+305` with its own number | `BGN` | | Accepted or rejected | `BGM` function (`6`, `27`) and `DOC` status | `OTI01` application acknowledgment code | | Original document | `DOC` and `RFF` (ON, IV) | `OTI` reference and transaction set ID | | Error code | `ERC` (partner-agreed codes) | `TED01` (X12 element 818 code list) | | Error text | `FTX+AAO` | `TED02` | | Line reference | `RFF` with line number in SG5 | `REF` or `TED` context | The biggest practical difference is the error code. X12 `TED01` draws on a published code list (element 818), even though partners give some codes their own meaning. APERAK `ERC` codes are entirely partner-defined, so you need each partner's code list before you can automate anything. The [EDI 824 guide](/guides/edi/824-application-advice) covers the X12 side. ## APERAK vs CONTRL | | CONTRL | APERAK | |---|---|---| | Question answered | Is the interchange syntactically valid? | Could the application use the content? | | Generated by | EDI translator | Business application | | Scope | One interchange, many messages | One message | | Error codes | Standard syntax codes (12, 13, 39...) | Partner-agreed application codes | | X12 equivalent | [997](/guides/edi/997-functional-acknowledgment) | [824](/guides/edi/824-application-advice) | Many partners use both. A message can pass [CONTRL](/guides/edi/edifact-contrl) and fail APERAK; the reverse cannot happen, because a message rejected at syntax level never reaches the application. ## Common APERAK errors and fixes - **Putting the original document number in BGM.** BGM carries the APERAK's own number. The acknowledged document goes in `RFF` (and optionally `DOC`). - **Using the UNB mailbox IDs in NAD.** GS1 says the parties named are those in the acknowledged message. If you trade through a hub or VAN, these will differ from the interchange IDs. - **Acknowledging several documents in one APERAK.** One per message. Ten orders, ten APERAKs. - **Generating APERAK from the translator.** If your translator sends APERAK the moment a file arrives, it is really a CONTRL in disguise and tells the partner nothing about whether the order loaded. - **No code list.** Error codes without an agreed list force the recipient to read free text. Exchange code lists during onboarding and map them to actions. - **Silent rejections.** An APERAK with function 27 means the document was not processed. If nobody watches for them, the order simply never ships. Route rejections to a person the same day. ## Testing checklist 1. Agree which documents get an APERAK (orders, despatch advices, invoices) and in which direction. 2. Agree whether a positive APERAK (function 6) is sent for clean documents, or only rejections. 3. Exchange application error code lists and decide what each code triggers. 4. Confirm whether the partner uses `DOC`, `RFF` or both to identify the document. 5. Test rejections for unknown GLN, unknown GTIN, unknown order number and duplicate document number. 6. Confirm the response time and who handles rejections on each side. 7. Paste test files into the [EDIFACT inspector](/edifact-inspector) to check references and counts. OrderSync links each APERAK to the document it refers to, so a rejected order or invoice shows up against that document with the partner's error text, ready for someone to fix and resend. ## Frequently Asked Questions ### What is APERAK in EDI? APERAK is the UN/EDIFACT application error and acknowledgement message. The receiving business application sends it to confirm a message was processed or to report errors in its content, such as an unknown product or delivery point. It is the EDIFACT equivalent of the X12 824 application advice. ### What is the difference between APERAK and CONTRL? CONTRL is generated by the EDI translator and reports on syntax: can the interchange be read? APERAK is generated by the business application and reports on content: can the document be used? CONTRL covers a whole interchange; APERAK covers a single message. ### What does BGM+305 mean? 305 is the document name code for an application error and acknowledgement message. The third element gives the function, for example 6 for confirmation or 27 for not accepted. ### Where do APERAK error codes come from? The trading partners agree them. EANCOM does not publish a list of application error codes for the ERC segment. The code list responsible agency in ERC shows whose list a code comes from: 91 for the supplier, 92 for the buyer. ### Is APERAK the same as ORDRSP? No. APERAK says whether the application could process the order. ORDRSP says whether the supplier will fulfil it, and on what terms. A supplier might send a positive APERAK and then an ORDRSP that changes quantities. ### Should I send a CONTRL for an APERAK I receive? If your interchange agreement says CONTRL is used for all messages, yes, because APERAK is an ordinary business message at syntax level. You never send an APERAK in response to an APERAK. ### What is the X12 equivalent of APERAK? The X12 824 Application Advice. Both report application-level problems with a previously sent document. The 824 uses TED for error codes from a published list; APERAK uses ERC with codes agreed by the partners. ## Related guides - **[EDIFACT explained](/guides/edi/edifact)**: syntax, envelopes and the full X12 mapping - **[EDIFACT CONTRL](/guides/edi/edifact-contrl)**: syntax-level acknowledgements - **[EDIFACT ORDERS](/guides/edi/edifact-orders)** and **[ORDRSP](/guides/edi/edifact-ordrsp)**: the order and the supplier's business response - **[EDIFACT INVOIC](/guides/edi/edifact-invoic)**: invoices, a common source of APERAK rejections - **[EDIFACT RECADV](/guides/edi/edifact-recadv)**: goods discrepancies after delivery - **[EDIFACT message types](/guides/edi/edifact-message-types)**: every EDIFACT message and its X12 equivalent - **[EDI 824 application advice](/guides/edi/824-application-advice)**: the X12 counterpart ## Sources - [EANCOM 2002 S3: APERAK application error and acknowledgement message](https://www.gs1.org/sites/default/files/docs/eancom/ean02s3/part2/aperak/toc.htm), GS1 - [UN/EDIFACT D.01B APERAK message](https://service.unece.org/trade/untdid/d01b/trmd/aperak_c.htm), UNECE - [Global Location Number (GLN)](https://www.gs1.org/standards/id-keys/gln), GS1 Paste any APERAK into the free [EDIFACT inspector](/edifact-inspector) to see the document it refers to and each error it reports. --- # EDIFACT CONTRL: Syntax Acknowledgement Guide Source: https://ordersync.io/guides/edi/edifact-contrl > EDIFACT CONTRL explained: UCI, UCM, UCS and UCD segments, action codes 4, 7 and 8, syntax error codes, four live examples and how it maps to the X12 997. EDIFACT CONTRL is the syntax and service report message, the equivalent of the X12 997. The receiver sends it back to say an interchange arrived and whether its syntax was accepted or rejected. UCI reports on the interchange, UCM on each message, and UCS and UCD pinpoint the segment and data element in error. CONTRL answers one question: did my file get there, and could the other side read it? It says nothing about whether the order makes commercial sense, whether the price is right or whether the product exists. Those are application questions, and they come back in [APERAK](/guides/edi/edifact-aperak) or [ORDRSP](/guides/edi/edifact-ordrsp). Keeping that line clear is most of the battle with CONTRL. This guide follows the [GS1 EANCOM 2002 CONTRL](https://www.gs1.org/sites/default/files/docs/eancom/ean02s3/part2/contrl/toc.htm) specification (subset version EAN004, syntax version 3), which is what most UK and European retail partners use. The examples acknowledge the fictional order interchange from the [ORDERS guide](/guides/edi/edifact-orders). ## What is an EDIFACT CONTRL message? **CONTRL (syntax and service report) is the UN/EDIFACT message that acknowledges or rejects a received interchange, and the messages in it, at syntax level.** The receiver generates it, usually from its EDI translator, and sends it back to the sender of the original interchange. A sender asks for a CONTRL by setting the acknowledgement request (data element 0031) in its `UNB` to `1`. In an ORDERS interchange that looks like this, with the `1` in the ninth data element: ``` UNB+UNOC:3+5012345000008:14+5098765000002:14+261011:0915+HLS000451++ORDERS++1' ``` GS1 sets out several rules that shape every CONTRL: - **CONTRL is only sent where the recipient supports it**, as agreed in the interchange agreement. If the sender requests one in `UNB`, it must be able to receive it. - **A CONTRL always travels in its own interchange.** Never bundle it with business messages. - **One CONTRL reports on one interchange.** It cannot cover several, or parts of several. - **At most two CONTRLs per interchange:** an optional "received" acknowledgement, and the result of the full syntax check. - **Nothing is ever sent in reply to a CONTRL.** Errors in a CONTRL are reported by other means, such as email or phone. - **EANCOM does not use functional groups**, so the UN segment for group responses (UCF) does not appear. ## The four reporting levels CONTRL is built from four segments, each pointing at a different part of the original interchange: | CONTRL segment | Reports on | In the original interchange | |---|---|---| | `UCI` Interchange response | The interchange envelope | `UNA`, `UNB`, `UNZ` | | `UCM` Message response | One message | `UNH` to `UNT` | | `UCS` Segment error indication | One segment in that message | Any segment, by position | | `UCD` Data element error indication | One data element in that segment | Simple, composite or component element | Each `UCM` can be followed by repeating `UCS` and `UCD` pairs, one for each error found. The levels nest: you cannot report a segment error without first identifying the message it is in. ## Action codes: received, accepted, rejected The action code (data element 0083) sits in `UCI` and `UCM`. EANCOM allows these: | Code | Meaning | Where | |---|---|---| | `8` | Interchange received. Only the envelope has been checked | UCI only | | `7` | This level acknowledged; the next lower level is acknowledged unless explicitly rejected | UCI, UCM | | `4` | This level and all lower levels rejected | UCI, UCM | | `6` | UNB/UNZ rejected (GS1 code) | UCI only | GS1 notes that codes 4 and 7 are only used after a complete check of the interchange, and code 8 only to acknowledge receipt. Not every translator follows those definitions to the letter: Microsoft's Azure Logic Apps documentation, for example, describes 8 as "accepted" and 7 as "accepted with some messages rejected". When a partner's CONTRL reads oddly, ask which translator generated it. ## Example 1: interchange received The supplier, Kestrel Valley Homeware, has received Harbour Lane Stores' order interchange HLS000451 and checked the envelope. This is the minimal CONTRL: three segments inside the message. | Segment | What it says | |---|---| | `UNB+...+5098765000002:14+5012345000008:14+...` | The CONTRL travels from the supplier back to the buyer, in its own interchange | | `UNH+1+CONTRL:D:3:UN:EAN004'` | CONTRL, syntax version 3 release, EANCOM version EAN004 | | `UCI+HLS000451+...` | The control reference of the interchange being acknowledged, copied from its UNB | | `5012345000008:14+5098765000002:14` | The original sender and recipient, copied in their original order. The buyer is still the sender here | | `+8'` | Action 8: interchange received | The sender and recipient in `UCI` are copied from the original `UNB`, not swapped. This is the detail people get wrong most often when building CONTRL by hand. ## Example 2: interchange and message accepted After the full syntax check the supplier confirms the interchange and its one ORDERS message. | Segment | What it says | |---|---| | `UCI+HLS000451+...+7'` | Interchange acknowledged | | `UCM+1+ORDERS:D:01B:UN:EAN010+7'` | Message reference 1, with the message identifier copied from its `UNH`, acknowledged | Because action 7 at UCI level means "lower levels acknowledged unless explicitly rejected", a partner may send only the `UCI` line and leave out `UCM` for accepted messages. Both forms are valid. ## Example 3: one message rejected with segment and element errors Interchange HLS000452 contains two orders. Message 1 is fine. Message 2 has an impossible delivery date (31 November) in its fourth segment, and a 15-digit item number in its tenth segment, longer than any GTIN. | Segment | What it says | |---|---| | `UCM+2+ORDERS:D:01B:UN:EAN010+4'` | Message 2 and everything in it rejected | | `UCS+4'` | The error is in segment 4 of that message, counting `UNH` as segment 1 | | `UCD+12+2:2'` | Error 12 (invalid value) in data element position 2, component 2: the date inside `DTM+2:20261131:102` | | `UCS+10'` | A second error, in segment 10 | | `UCD+39+4:1'` | Error 39 (data element too long) in position 4, component 1: the item number in `LIN` | **How the positions are counted.** `UCS` counts segments from `UNH` as 1. In `UCD` (and in the element part of `UCI` and `UCM`), the segment tag itself is position 1, so the first data element after the tag is position 2. In a `LIN+1++509876510001612:SRV` segment, `LIN` is 1, the line number 2, the empty action code 3, and the item composite 4. The component number counts within the composite from 1. To report a missing segment, `UCS` gives the position of the last segment processed before the one that should have been there, with error 13. GS1's own example rejects an INVOIC with `UCS+3+13'`: a mandatory segment expected after segment 3 is missing. ## Example 4: whole interchange rejected as a duplicate The buyer's system resent HLS000451 after a timeout. The supplier's translator has already processed that control reference, so it rejects the second copy at interchange level. | Element | What it says | |---|---| | `4` | Interchange and everything in it rejected. No business data will be processed | | `26` | Syntax error: duplicate detected | | `UNB` | The service segment where the problem lies | | `6` | Data element position 6 in UNB, counting the tag as 1: the interchange control reference | Duplicate rejections are the main reason to keep `UNB` control references unique and never reuse them on a resend. If you resend deliberately, use a new reference. ## CONTRL segment reference Status and repeats follow the EANCOM 2002 structure chart. M is mandatory, C conditional. | Segment | Name | Status | Repeats | Carries | X12 997 equivalent | |---|---|---|---|---|---| | UNH | Message header | M | 1 | `CONTRL:D:3:UN:EAN004` | ST | | UCI | Interchange response | M | 1 | Original UNB reference, sender, recipient, action, error | TA1, AK9 | | UCM (SG1) | Message response | C | 999999 | Original UNH reference and identifier, action, error | AK2, AK5 | | UCS (SG2) | Segment error indication | C | 999 per message | Segment position, error | AK3 | | UCD | Data element error indication | C | 99 per segment | Error, element and component position | AK4 | | UNT | Message trailer | M | 1 | Segment count | SE | ## Syntax error codes (data element 0085) These are the values EANCOM allows. The UN/EDIFACT syntax defines more; not every code is valid at every level. | Code | Meaning | Typical level | |---|---|---| | `2` | Syntax level or version not supported | UCI | | `3` | Message version/release not supported (GS1) | UCM | | `6` | Data segment missing or invalid (GS1) | UCS | | `7` | Interchange recipient not actual recipient | UCI | | `9` | Mandatory data element missing (GS1) | UCD | | `12` | Invalid value | All | | `13` | Missing | All | | `14` | Value not supported in this position | All | | `15` | Not supported in this position | All | | `16` | Too many constituents | All | | `17` | No agreement | UCI, UCM | | `18` | Unspecified error | All | | `19` | Invalid decimal notation | UCI, UCD | | `21` | Invalid character(s) | All | | `22` | Invalid service character(s) | All | | `23` | Unknown interchange sender | UCI, UCM | | `24` | Too old | UCI | | `25` | Test indicator not supported | UCI, UCM | | `26` | Duplicate detected | UCI, UCM | | `28` | References do not match (for example UNH and UNT) | UCI, UCM | | `29` | Control count does not match number of instances received | UCI, UCM | | `35` | Too many segment repetitions | UCS | | `36` | Too many segment group repetitions | UCS | | `37` | Invalid type of character(s) | UCD | | `38` | Missing digit in front of decimal sign | UCD | | `39` | Data element too long | UCD | | `40` | Data element too short | UCD | GS1 strongly discourages general codes such as 18 when a precise one exists. If you receive a CONTRL full of 18s, ask the partner for the underlying error. ## CONTRL vs the X12 997 | Concept | EDIFACT CONTRL | X12 997 | |---|---|---| | Interchange status | `UCI` action code | `TA1` (separate segment) and `AK9` for the group | | Group status | Not used in EANCOM | `AK1` and `AK9` | | Message status | `UCM` action 7 or 4 | `AK2` and `AK501` (A, E, R) | | Segment error | `UCS` position and code | `AK3` | | Element error | `UCD` position and code | `AK4` | | "Accepted with errors" | No equivalent | `AK501` = E | | Request for ack | `UNB` 0031 = 1 | `ISA14` (for TA1); 997 by agreement | Two differences matter when you run both standards. CONTRL has no "accepted with errors": a message is acknowledged or rejected. And X12 acknowledges at functional group level (`GS`), which EANCOM does not use. See the [EDI 997 guide](/guides/edi/997-functional-acknowledgment) for the X12 side. ## CONTRL vs APERAK vs ORDRSP | Message | Answers | Generated by | X12 equivalent | |---|---|---|---| | CONTRL | Did the interchange arrive, and is the syntax valid? | EDI translator | [997](/guides/edi/997-functional-acknowledgment) | | [APERAK](/guides/edi/edifact-aperak) | Did the receiving application accept the message's content? | Business application | [824](/guides/edi/824-application-advice) | | [ORDRSP](/guides/edi/edifact-ordrsp) | Will the supplier fulfil the order, and on what terms? | Order management | 855 | An order can pass CONTRL and still fail in APERAK, for example when the syntax is perfect but the delivery point GLN is unknown. ## Syntax version 3 vs version 4 EANCOM 2002 uses syntax version 3, where CONTRL is identified as `CONTRL:D:3:UN:EAN004`. Partners on syntax version 4 identify it as `CONTRL:4:1:UN` and may use additional segments and codes, such as the data element occurrence in `UCD`. If a partner sends a version you do not expect, the [EDIFACT explained guide](/guides/edi/edifact) covers how the `UNB` syntax identifier works. ## Common CONTRL errors and fixes - **Swapping sender and recipient in UCI.** `UCI` copies the original `UNB` sender and recipient as they were. Your own ID goes in the CONTRL's `UNB`, not in `UCI` as sender. - **Sending CONTRL inside a business interchange.** It must be its own interchange. - **Acknowledging a CONTRL.** Never. Two systems that both do this loop forever. - **Positions off by one.** `UCS` counts from `UNH` as 1. `UCD` counts the segment tag as 1. - **Treating CONTRL acceptance as order acceptance.** Action 7 means "readable", not "agreed". Wait for ORDRSP or APERAK where the partner sends them. - **Not monitoring missing CONTRLs.** If you requested one and nothing arrives within the agreed time, the interchange may never have been delivered. Chase it before the delivery date, not after. - **Copying broken data.** GS1 notes that if the original `UNH` or `UNB` data is itself invalid, a valid CONTRL cannot be built. Report that error by other means. ## Testing checklist 1. Agree in the interchange agreement whether CONTRL is used, in which direction, and how quickly it should arrive. 2. Confirm syntax version (3 or 4) and EANCOM version (`EAN004` in EANCOM 2002). 3. Confirm whether the partner sends UCM lines for accepted messages or only for rejected ones. 4. Send a valid test interchange and check `UCI` copies your reference, sender and recipient exactly. 5. Send a deliberately broken message (bad date, overlong field, wrong segment count) and check the rejection points at the right position. 6. Resend an interchange with the same control reference and check you get error 26. 7. Paste each CONTRL into the [EDIFACT inspector](/edifact-inspector) and confirm the references line up. OrderSync tracks every outbound interchange against its CONTRL, so a missing or rejected acknowledgement shows up as an exception the same day, not as a missed delivery. ## Frequently Asked Questions ### What is a CONTRL message in EDIFACT? CONTRL is the syntax and service report message. The receiver of an interchange sends it to the sender to confirm receipt and report whether the interchange and its messages passed the syntax check. It is the EDIFACT equivalent of the X12 997 functional acknowledgment. ### What is the difference between CONTRL and APERAK? CONTRL checks syntax and is generated by the EDI translator. APERAK checks business content and is generated by the receiving application. A message can pass CONTRL and still be rejected in APERAK because, for example, the order number is unknown. ### What do UCI action codes 4, 7 and 8 mean? 8 means the interchange was received and its envelope checked. 7 means the interchange was acknowledged after a full syntax check, with lower levels acknowledged unless rejected. 4 means the interchange and everything in it is rejected. ### How do I request a CONTRL? Set the acknowledgement request, data element 0031 in UNB, to 1. The recipient must have agreed to send CONTRL, and you must be able to receive it. ### Do I send a CONTRL in response to a CONTRL? No. GS1 and the UN/EDIFACT rules say no CONTRL, or any other message, is sent in response to a CONTRL. Errors in a received CONTRL are reported by other means. ### Is CONTRL the same as the X12 997? It does the same job. The main differences: CONTRL has no "accepted with errors" status, EANCOM does not acknowledge functional groups, and CONTRL reports interchange status in UCI where X12 uses a separate TA1. ### What does UCS+4 mean? UCS identifies a segment in error by its position in the message, counting UNH as 1. UCS+4 means the fourth segment of the referenced message. A following UCD gives the element and the error code. ## Related guides - **[EDIFACT explained](/guides/edi/edifact)**: syntax, envelopes and the full X12 mapping - **[EDIFACT APERAK](/guides/edi/edifact-aperak)**: application-level errors and acknowledgements - **[EDIFACT ORDERS](/guides/edi/edifact-orders)**: the interchange acknowledged in these examples - **[EDIFACT ORDRSP](/guides/edi/edifact-ordrsp)**: the business response to an order - **[EDIFACT message types](/guides/edi/edifact-message-types)**: every EDIFACT message and its X12 equivalent - **[EDI 997 functional acknowledgment](/guides/edi/997-functional-acknowledgment)**: the X12 counterpart ## Sources - [EANCOM 2002 S3: CONTRL syntax and service report message](https://www.gs1.org/sites/default/files/docs/eancom/ean02s3/part2/contrl/toc.htm), GS1 - [Syntax and service report message CONTRL](https://unece.org/sites/default/files/datastore/fileadmin/DAM/trade/untdid/download/r1186.pdf), UNECE - [EDIFACT CONTRL acknowledgments and error codes](https://learn.microsoft.com/en-us/azure/logic-apps/logic-apps-enterprise-integration-edifact-contrl-acknowledgment), Microsoft Learn Paste any CONTRL into the free [EDIFACT inspector](/edifact-inspector) to see which interchange and message it refers to. --- # TRADACOMS CREHDR: The UK Credit Note File Source: https://ordersync.io/guides/edi/tradacoms-crehdr > TRADACOMS CREHDR credit note files explained: CREDIT, VATTLR and CRETLR messages, CLD lines and reason codes, live shortage and damage credits, and EANCOM 381. CREHDR is the TRADACOMS credit note file a UK supplier sends to reduce what a customer owes. It holds a CREHDR header, one CREDIT message per credit note with CLD lines, reason codes and CST VAT sub-totals, a VATTLR VAT summary and a CRETLR file trailer. Its EANCOM equivalent is an INVOIC message with document code 381. Short deliveries, damaged cases, price mistakes and returns all end the same way: a credit note. In TRADACOMS that is the credit note file, named after its CREHDR header. It mirrors the [INVFIL invoice file](/guides/edi/tradacoms-invfil) closely, with its own line segment that carries a reason for every credited line. Credit notes are where suppliers lose money quietly. A retailer deducts a shortage from your remittance; if you never send the matching credit, the invoice and the payment never reconcile, and someone in your finance team spends an afternoon working out why. This guide covers how the file is built, the reason codes, two live examples and the mapping to the EANCOM credit note. ## What is a TRADACOMS CREHDR file? **CREHDR is the credit note file in TRADACOMS, the UK retail EDI standard created by the Article Numbering Association, now GS1 UK.** A supplier sends it to a customer to credit goods or charges already invoiced. The file can carry one credit note or many, each in its own `CREDIT` message. The transaction code in the header says what kind of document it is. The code list defines `0740` for credit notes, `0741` for self-billed credit notes raised by the customer, `0749` for copy credit notes, and `0720` for debit notes raised by the customer. The same file layout serves all of them: M&S's TRADACOMS debit note guide, for example, sends debit notes to suppliers in the CREHDR layout with `TYP=0720`. ## CREHDR file structure ``` STX Start of transmission (supplier to customer, APRF CREHDR) │ ├── MHD CREHDR Credit note file header once per file │ TYP SDT CDT FIL (DNA) │ MTR │ ├── MHD CREDIT Credit note details once per credit note, repeats │ CLO CRF (PYT) OIR (DNA) │ CLD CLD ... one per credited line │ CST CST ... one per VAT rate on this credit │ CTR credit note totals │ MTR │ ├── MHD VATTLR VAT trailer once per file │ VRS VRS ... one per VAT rate in the file │ MTR │ ├── MHD CRETLR Credit note file trailer once per file │ TOT file totals and credit count │ MTR │ END End of transmission (number of messages) ``` The VAT trailer is the same `VATTLR` message used in invoice files, and `CRETLR` uses the same `TOT` segment as the invoice file trailer. In `TOT`, the last element counts credit notes instead of invoices. ## Example: credit for a short delivery Kestrel Valley Homeware invoiced fictional retailer Harbour Lane Stores for three cases of tea towels to its Leeds store, but only two arrived. Harbour Lane raised debit note HL-DBN-5521 for the missing case, and Kestrel Valley credits it, quoting both the original invoice and the debit note. Identifiers are made up, with valid GS1 check digits. | Segment | What it says | |---|---| | `TYP=0740+CREDIT-NOTES'` | Transaction code 0740: credit notes only | | `FIL=88+1+261019'` | File generation number 88 for credit note files to this customer, version 1 | | `CLO=5012345000114:0114+...` | The location the credit relates to | | `CRF=KV-CRN-04416+261019+261019+HL-DBN-5521+261018'` | Credit note number, credit note date, tax point date, then the customer's debit note number and date | | `OIR=1+KV-INV-20932'` | The original invoice being credited | | `CLD=1+...+10+1+38000+38000+S+20000+38::SHORT DELIVERY...` | One case of ten credited at £3.80, net £3.80, standard rate 20%, reason 38 short delivery | | `CST=1+S+20000+1+380...` | VAT sub-trailer: one line at 20%, £3.80 net, £0.76 VAT, £4.56 to credit | | `CTR=1+380...` | Credit note totals | | `VRS` / `TOT` | File VAT summary and file totals, one credit note | | `END=4'` | Four messages | Amounts follow the same implied-decimal convention as the invoice file in this guide: four places on line values (`38000` is £3.8000) and two on sub-totals and totals (`456` is £4.56). The John Lewis Partnership's published invoice specification uses those formats; confirm the credit note precision in your own partner's guide. ## Segment reference Version 9 layouts. "M" is mandatory and "O" optional in the standard. The EANCOM column refers to an [EDIFACT INVOIC](/guides/edi/edifact-invoic) sent as a credit note. ### CREHDR: credit note file header | Segment | Name | Status | What it carries | EANCOM equivalent | |---|---|---|---|---| | `MHD` | Message header | M | Message number and `CREHDR:version` | `UNH` | | `TYP` | Transaction type | M | 0740 credit notes, 0741 self-billed, 0720 debit notes | `BGM+381` (or `383` for a debit note) | | `SDT` | Supplier details | M | Supplier GLN and code, name, address, VAT number | `NAD+SU` with `RFF+VA` | | `CDT` | Customer details | M | Customer GLN, name, address, VAT number | `NAD+BY` | | `DNA` | Data narrative | O | File-level notes | `FTX` | | `FIL` | File details | M | File generation number, version and date | No direct equivalent | | `MTR` | Message trailer | M | Segment count | `UNT` | ### CREDIT: one per credit note | Segment | Name | Status | What it carries | EANCOM equivalent | |---|---|---|---|---| | `CLO` | Customer's location | M | Location the credit relates to | `NAD+DP` | | `CRF` | Credit note references | M | Credit note number and date, tax point date, customer's debit note number and date, collection note number and date | `BGM` number, `DTM+137`, `DTM+131`, `RFF` | | `PYT` | Settlement terms | O | Settlement discount terms | `PAT` | | `OIR` | Original invoice references | O | The invoice (or invoices) being credited | `RFF+IV` | | `DNA` | Data narrative | O | Credit-level notes | `FTX` | | `CLD` | Credit note line details | M, repeats | Product, pack, quantity, unit credit value, line value, VAT, reason code | `LIN`, `QTY+47`, `PRI+AAA`, `MOA+203`, `TAX+7` | | `DNB` | Data narrative | O, per line | Line-level notes | `FTX` at line level | | `CST` | VAT rate credit sub-trailer | M, one per rate | Lines, net, discounts reclaimed, VAT and amount for one VAT rate | Summary `TAX+7` with `MOA+125` and `MOA+124` | | `CTR` | Credit note trailer | M | Totals across the CST segments | `MOA+79`, `MOA+125`, `MOA+176`, `MOA+86` | ### VATTLR and CRETLR: file trailers | Message | Segment | What it carries | EANCOM equivalent | |---|---|---|---| | `VATTLR` | `VRS`, one per VAT rate | Net, VAT and total for one rate across every credit in the file | None; each EANCOM credit note stands alone | | `CRETLR` | `TOT` | File totals and the number of credit notes | None | ## Reading the CLD credit line | Position | Field | In the short-delivery example | |---|---|---| | 1 | `SEQA` sequence number | `1` | | 2 | `SPRO` GTIN of the traded unit, supplier's code, DUN-14 | `5098765100047:KV-1004` | | 3 | `SACU` consumer unit EAN | empty | | 4 | `CPRO` customer's own-brand EAN and item code | empty | | 5 | `UNOR` consumer units per traded unit | `10` | | 6 | `QTYC` traded units credited | `1` | | 7 | `UCRV` credit value per unit, after line discount, before VAT | `38000` (£3.80) | | 8 | `EXLV` net credit value, `UCRV` x `QTYC` | `38000` (£3.80) | | 9 | `VATC` VAT category | `S` | | 10 | `VATP` VAT rate | `20000` (20%) | | 11 | `CRRE` credit reason: ANA code, partner's own code, description | `38::SHORT DELIVERY` | | 12 to 13 | `MIXI` mixed VAT indicator, `DRLI` debit line indicator | empty | | 14 | `TDES` description | `LINEN TEA TOWEL TWIN PACK` | Later optional positions carry the unit credit value before discount (`UCRB`) and the credited discount (`CDSV`). ### Credit reason codes `CRRE` takes a code from TRADACOMS code list 13. The ones UK suppliers use most: | Code | Reason | Code | Reason | |---|---|---|---| | `38` | Short delivery | `08` | Damage in transit | | `39` | Incorrect product delivered | `09` | Loss in transit | | `40` | Non delivery | `17` | Trade price error | | `11` | Delivery refused, late | `18` | VAT rate error | | `21` | Out of date | `20` | Damage on premises | | `27` | Promotion allowance | `28` | Rebate | | `42` | Order cancelled | `44` | Defective product | Send the code, not just the text. A retailer's matching system can route a `38` shortage straight to the goods-in record, while free text in `CRRE` description goes to a person. ## Example: two credit notes, two VAT rates One file, two credit notes. The first credits a case of chopping boards that arrived damaged at the distribution centre (reason `08`). The second corrects a price: six recipe books were invoiced at £4.50 instead of the agreed £4.20, so 30p a book is credited (reason `17`). Books are zero-rated, so the VATTLR carries one `VRS` for each rate. The damages credit is £10.80 including VAT and the price correction £1.80, so `TOT` closes the file at £12.60 (`1260`) across two credit notes. The price credit uses the difference per unit (`3000`, 30p) as the unit credit value, not the full price. Two cautions on sequence numbers. In these examples `OIR`, `CLD` and `CST` each start at 1. M&S's published CREHDR sample numbers its first-level segments in one running sequence instead (`PYT` 1, `OIR` 2, `CLD` 3, `CST` 4). Partner guides differ, so number them the way yours shows. ## CREHDR to EANCOM INVOIC 381 EANCOM has no separate credit note message. A credit note is an INVOIC with document code `381`, as the [EDIFACT INVOIC guide](/guides/edi/edifact-invoic) shows with the same damaged-boards scenario. | Business data | TRADACOMS credit note file | EANCOM INVOIC credit note | |---|---|---| | Document type | `TYP=0740` | `BGM+381` | | Credit note number and date | `CRF` | `BGM` and `DTM+137` | | Tax point date | `CRF` third element | `DTM+131` | | Invoice being credited | `OIR` | `RFF+IV` | | Customer's debit note | `CRF` fourth and fifth elements | `RFF` with the partner's agreed qualifier | | Reason | `CLD` `CRRE`, per line | `AJT` (for example `AJT+3` damaged goods) | | Quantity credited | `CLD` `QTYC` | `QTY+47` | | Unit credit value | `CLD` `UCRV`, implied decimals | `PRI+AAA`, explicit decimal | | Line value | `CLD` `EXLV` | `MOA+203` | | VAT per rate | `CST` | Summary `TAX` with `MOA+125` and `MOA+124` | | Totals | `CTR` | `MOA+79`, `MOA+125`, `MOA+176`, `MOA+86` | | File VAT summary and totals | `VATTLR`, `CRETLR` | None | In both standards the amounts are positive. The document type, not a minus sign, tells the receiver to treat them as a credit. In X12 a credit is usually an [810](/guides/edi/810-invoice) with a credit indicator or an [812 credit/debit adjustment](/guides/edi/812-credit-debit-adjustment), depending on the partner. ## Which UK retailers take CREHDR Not every retailer accepts credit notes by EDI, so check before you build one. - **Co-op** exchanges credit notes by EDI in TRADACOMS version 9, or through its SNC portal, and asks for the uplift note serial number on credits for uplifted goods, per its [supplier guidelines](https://supplier.coop.co.uk/supplierguidelines). See the [Co-op page](/edi-compliance/co-op). - **Asda** trades invoices and credit notes in TRADACOMS, per ecosio. See the [Asda page](/edi-compliance/asda). - **Boots** needs credit notes by EDI from pharmacy suppliers only, per ecosio. See the [Boots page](/edi-compliance/boots). - **M&S** sends its own debit notes to Food suppliers in the TRADACOMS CREHDR layout with transaction code 0720. See the [Marks & Spencer page](/edi-compliance/marks-and-spencer). - **Ocado** does not accept credit or debit notes by EDI, per ecosio, so credits go by another route. See the [Ocado page](/edi-compliance/ocado). ## Common CREHDR errors 1. **No reference to the original invoice.** Without `OIR`, the retailer cannot match the credit to anything. Quote the invoice number, and the customer's debit note in `CRF` if they raised one. 2. **Negative amounts.** All values are positive. A minus sign in `EXLV` or `CST` will fail the file or, worse, turn the credit into a charge. 3. **Crediting the full price for a price error.** Credit the difference per unit, at the VAT rate of the original line. 4. **Free text instead of a reason code.** Put the code list 13 code in the first component of `CRRE`; the description is optional. 5. **Trailer counts.** `MTR` counts from `MHD` to `MTR` inclusive, `CTR` `NCST` counts the CST segments, `TOT` counts credit notes, and `END` counts every message including the header and both trailers. 6. **Reusing the invoice file's generation number.** `FIL` generation numbers run per file type and per trading partner, so credit note files have their own sequence, separate from invoice files. 7. **Mixing invoices and credits in one file.** Invoices go in an INVFIL and credits in a CREHDR, each with its own trailers. ## How OrderSync handles CREHDR OrderSync raises credit notes against the invoices already in your system, so the original invoice reference, the reason code and the VAT rate of the credited line come from the record, not from someone retyping them. Each credit goes out in the format the customer trades: TRADACOMS CREHDR, EANCOM INVOIC 381, X12 or PDF. To check a credit note file you already have, paste it into the free [EDIFACT inspector](/edifact-inspector). ## Frequently Asked Questions ### What is CREHDR in EDI? CREHDR is the TRADACOMS credit note file used in UK retail. Strictly it is the header message, but the whole file is usually called CREHDR. It contains the header, one CREDIT message per credit note, a VATTLR VAT summary and a CRETLR file trailer. ### What is the difference between CREHDR and CREDIT? CREHDR is the file header, sent once with the supplier, customer and file number. CREDIT is the detail message sent once per credit note, with the original invoice reference, the credited lines and the VAT sub-totals. ### Can a debit note be sent as CREHDR? Yes. The TRADACOMS code list defines transaction code 0720 for debit notes raised by the customer, and they use the same credit note file layout. M&S, for example, sends its debit notes to Food suppliers this way. ### What reason codes can a TRADACOMS credit note carry? The CLD segment's CRRE element takes a code from TRADACOMS code list 13, such as 38 short delivery, 08 damage in transit, 17 trade price error or 21 out of date, plus an optional partner code and description. ### What is the EDIFACT equivalent of CREHDR? An EANCOM INVOIC message with document code `BGM+381`, referencing the original invoice with `RFF+IV` and giving the reason in `AJT`. There is no separate credit note message in EANCOM. ### Do credit note amounts have to be negative? No. Amounts in a TRADACOMS credit note file are positive. The file type and the transaction code tell the receiver they are credits. ## Related guides - **[TRADACOMS INVFIL](/guides/edi/tradacoms-invfil)**: the invoice file a credit note corrects - **[TRADACOMS DLCHDR](/guides/edi/tradacoms-dlchdr)**: the delivery confirmation that often triggers a credit - **[TRADACOMS explained](/guides/edi/tradacoms)**: syntax, STX and END, and how files work - **[TRADACOMS file types](/guides/edi/tradacoms-file-types)**: every file type and its EANCOM equivalent - **[EDIFACT INVOIC](/guides/edi/edifact-invoic)**: the EANCOM invoice and credit note ## Sources - [TRADACOMS release 9 CREDIT layout](https://www.kasoftware.com/schema/edi/tradacoms/9/messages/CREDIT/), KA Software schema reference, including the CRF, CLD, CST, CTR and TYP code list pages - [M&S Debit Note implementation guide (TRADACOMS CREHDR)](https://mands.gxs.co.uk/content/Implementation_Guides/MS_Message_Implementation_Guide_Debit_Note_tradacom_250211.pdf), Marks & Spencer via GXS - [EDI - Tradacoms invoice specifications](https://www.jlpsuppliers.com/supplier-finance-queries/new-connections/edi-tradacoms-invoice-specifications), John Lewis Partnership - [Co-op supplier guidelines](https://supplier.coop.co.uk/supplierguidelines), Co-op - [Doing EDI with Boots](https://ecosio.com/en/blog/doing-edi-with-boots-a-suppliers-guide/) and [Setting up an EDI connection with Ocado](https://ecosio.com/en/blog/setting-up-an-edi-connection-with-ocado/), ecosio - [Ending support for TRADACOMS](https://www.gs1uk.org/insights/news/ending-support-for-tradacoms), GS1 UK Check a CREHDR's structure, counts and trailers in the free [EDIFACT inspector](/edifact-inspector). --- # EDIFACT DELFOR: Delivery Schedule Guide Source: https://ordersync.io/guides/edi/edifact-delfor > EDIFACT DELFOR explained: firm and forecast SCC codes, cumulative quantities, Global DELFOR on D.04A, VDA 4905 and 4984, a full example and the X12 830 map. EDIFACT DELFOR is the UN/EDIFACT delivery schedule message, the counterpart of the X12 830. A manufacturer sends it to a supplier to share rolling demand for each part: firm call-offs, forecast quantities, cumulative received totals and how far the supplier may commit material and production. In automotive it follows Odette and VDA guidelines, usually on directory D.04A. **DELFOR is the message that tells an automotive or industrial supplier what to build, and how much of that plan the customer will actually pay for if it changes.** Every week, often every day, the customer's MRP run produces a new schedule per part. The supplier's job is to read each bucket correctly: ship the firm ones, plan around the forecast ones, and never build beyond what the customer has authorised. This guide covers what DELFOR carries, the directories you will meet (D.96A and D.97A in older OEM guides, D.04A in the current Global DELFOR), how VDA 4905 and 4984 fit in, a full example, the segments you will map, and how DELFOR lines up with the [EDI 830 planning schedule](/guides/edi/830-planning-schedule). ## What Is an EDIFACT DELFOR? **DELFOR is the UN/EDIFACT Delivery schedule message: "a message from buyer to supplier giving product requirements regarding details for short term delivery instructions and/or medium to long term product/service forecast for planning purposes according to conditions set out in a contract or order."** That is the definition in the UN/EDIFACT directory, which adds that the message "can be used to authorize the commitment of labour and materials resources." It is often called the delivery forecast, and the 830 and 862 guides on this site use that name too, but its official title is the delivery schedule message. Authoritative references for DELFOR work: - The [UN/EDIFACT D.96A DELFOR message](https://service.unece.org/trade/untdid/d96a/trmd/delfor_c.htm) from UNECE gives the definition and segment table; the same message in [D.04A on EDIFACTORY](https://www.edifactory.de/edifact/directory/D04A/message/DELFOR) shows the layout the current automotive guidelines use - The [VDA list of EDI recommendations](https://vda.de/dam/jcr:0f97444c-dc98-4216-8b5d-51ff7a3e9258/ListeDer%20EmpfehlungenEDIundWarenbegleitendePapiere-2024-08.pdf) (August 2024) records which flat-file VDA formats VDA 4984 Global DELFOR replaces - OEM profiles, such as [Volvo Group's Global DELFOR D.04A guideline](https://www.edi.volvogroup.com/content/dam/volvo-group/markets/edi/specifications-and-guidelines/delivery-schedule-and-mrl/volvo-delfor-d04a-2-2-implementation-guideline.pdf), show how one customer fills each segment, with full examples **Who sends it?** The buyer: an OEM, a tier-one supplier ordering from its own suppliers, or any manufacturer running scheduling agreements. It is usually generated by the plant or the central planning system. **When is it sent?** On a fixed cadence, most often weekly and sometimes daily, straight out of the buyer's MRP run. Each new DELFOR normally replaces the previous schedule for the same part, ship-to and delivery point. **Why does it matter?** DELFOR drives your production planning and raw-material buying. Misreading a forecast bucket as firm leads to overproduction. Missing a firm bucket leads to premium freight or a line stoppage at the customer. ## Directories: D.96A, D.97A and D.04A DELFOR has changed shape between directories, and the directory in `UNH` tells you which layout you are reading. | Directory | Where you meet it | Shape of the detail section | |---|---|---| | D.96A | Older OEM and supplier guides | `UNS` separates header and detail; detail is grouped either by delivery point or by product | | D.97A | Some OEM and supplier guides | `GIS` opens each delivery-point group; no `UNS` | | D.04A | Global DELFOR (Odette's joint automotive guideline and VDA 4984) | `GEI` opens each delivery-point group; no `UNS` | Volvo Group's guide describes its current profile as "the Joint Automotive Industries (JAI) Global DELFOR. Based on EDIFACT Directory, D04A", and lists the differences from its older D.96A message. The VDA's own recommendation, VDA 4984, is also a Global DELFOR on D.04A. That is why the example in this guide uses D.04A rather than the D.96A used elsewhere on this site. If your customer still runs a D.96A or D.97A profile, the business content is the same; the grouping segments differ. ## Odette, VDA and the Flat Files DELFOR Replaced European automotive EDI grew up on two families of guidelines: Odette, the pan-European automotive organisation, and the VDA, the German automotive association. The VDA list of recommendations records how the old VDA flat files map to the EDIFACT messages that replace them: | Old VDA recommendation | What it carried | Replaced by | Status in the VDA list | |---|---|---|---| | VDA 4905 (April 1996) | Delivery schedules (Lieferabrufe), flat file | VDA 4984 Global DELFOR | Outdated, still used occasionally | | VDA 4915 | Detailed JIT call-offs (Feinabrufe), flat file | VDA 4984 (delivery schedules with DELFOR) and VDA 4985 (JIT call-offs with DELJIT) | Still widely used | | VDA 4916 | Production-synchronous call-offs, flat file | VDA 4986 (JIS call-offs with DELJIT) | Still widely used | So a German OEM moving off VDA 4905 will send you DELFOR, and one moving off VDA 4915 will send DELFOR for the plan and [DELJIT](/guides/edi/edifact-deljit) for the near-term calls. Many suppliers receive both the old flat file and the new message during a migration, so confirm with the customer which one is authoritative. ## Firm, Commitment and Forecast: the SCC Codes Every quantity bucket in DELFOR sits under an `SCC` (scheduling conditions) segment whose first element says what kind of demand it is. The UN/EDIFACT code list for that element (delivery plan status indicator, 4017) defines: | SCC code | Meaning | What the supplier does | |---|---|---| | `1` | Firm | Ship it on the date given | | `2` | Commitment for manufacturing and material | Build it: the customer authorises production | | `3` | Commitment for material | Buy the material for it, but do not build yet | | `4` | Planning/forecast | Plan capacity only; it can change in the next schedule | Codes 2 and 3 are the EDIFACT version of the X12 830's `ATH` segment: they set the fabrication and raw-material authorisation the customer is liable for. Our article on [cumulative quantity (CUM) accounting](/blog/cumulative-quantity-cum-accounting) covers how these zones work against the cumulative totals. ## Example: Weekly Global DELFOR for One Part The fictional axle plant Northbrook Axle (buyer code `0410`) sends its weekly schedule to the fictional foundry Kestrel Castings (supplier code `4471`) for one cast brake carrier. Two weeks are firm, three are forecast, and the message authorises fabrication to 29 November and material to 13 December. Reading it as the supplier's planner would: | Segment | What it says | |---|---| | `BGM+241+NB-DF-261106-01+9'` | Delivery schedule (`241`), number NB-DF-261106-01, original (`9`) | | `DTM+137` / `DTM+157` | Issued 6 November; valid from 9 November | | `NAD+BY` / `NAD+SE` | Buyer and seller, by codes the buyer assigned (`92`) | | `GEI+3'` then `NAD+ST` | Start of the detail for ship-to plant 0410. Volvo's guide calls `GEI+3` the section separator | | `LIN` / `PIA` | The buyer's part number (`IN`) and your own part number (`SA`) | | `LOC+11+D07::92'` | Unloading point: dock D07 | | `RFF+ON` / `RFF+AIF` | The scheduling agreement or order, and the previous schedule this one replaces | | `QTY+70:18400'` with `DTM+51` and `DTM+52` | 18,400 received since 5 January, up to 6 November | | `QTY+48` / `DTM+50` / `RFF+AAK` | The last receipt the buyer booked: 1,200 on 4 November against despatch advice KC-ASN-30982 | | `SCC+1` buckets | Firm: ship 1,200 on 11 November and 1,200 on 18 November | | `SCC+4` buckets | Forecast: 1,400, 1,400 and 1,000 for the following three weeks | | `SCC+2` / `QTY+1:3800'` | You may manufacture up to 3,800 between 9 and 29 November | | `SCC+3` / `QTY+1:6200'` | You may buy material for up to 6,200 between 9 November and 13 December | The fabrication commitment covers the two firm weeks plus the first forecast week (1,200 + 1,200 + 1,400 = 3,800). The material commitment covers all five weeks (3,800 + 1,400 + 1,000 = 6,200). Check that arithmetic on your partner's real schedules: when an authorisation is lower than the firm buckets it covers, that is a question for the scheduler, not something to resolve in your ERP. Note there is no `UNS` and no `CNT` in a D.04A DELFOR: the last bucket is followed directly by `UNT`. The [free EDIFACT inspector](/edifact-inspector) checks the UNT and UNZ counts for you. ## DELFOR Structure at a Glance (D.04A) | Area | Segment or group | Status | What it holds | |---|---|---|---| | Header | `UNH` | M | Message reference and type `DELFOR:D:04A:UN` | | Header | `BGM` | M | Document code (`241`), schedule number, function | | Header | `DTM` | M | Message date; validity dates | | Header | `FTX` | C | Free text | | Header | `RFF` group (SG1) | C | References for the whole message | | Header | `NAD` group (SG2) | C | Buyer, seller, other parties, with contacts | | Header | `TDT` group (SG5) | C | Transport details | | Detail | `GEI` group (SG6) | C | One group per delivery point and its parts | | Detail | `NAD` (SG7) | C | Ship-to or delivery point for this group | | Detail | `LIN` group (SG12) | C | One part: `PIA`, `IMD`, `LOC`, `DTM`, `RFF` | | Detail | `QTY` group (SG16) | C | Cumulative, received, in-transit and backorder quantities | | Detail | `SCC` group (SG18) | C | Scheduling condition, then its `QTY` and `DTM` buckets | | Detail | `PAC` group (SG21) | C | Packaging requirements | | Trailer | `UNT` | M | Segment count and message reference | Statuses are from the UN/EDIFACT D.04A message. Automotive guidelines make many of the conditional groups required. ## Key Segments Explained ### BGM: Beginning of Message ``` BGM+241+NB-DF-261106-01+9' ``` | Element | Name | Example | Notes | |---|---|---|---| | 1001 | Document name code | `241` | Delivery schedule. Some guides allow other codes for a forecast-only schedule; follow your partner's list | | 1004 | Document identifier | `NB-DF-261106-01` | The schedule number. Later messages quote it in `RFF+AIF` | | 1225 | Message function code | `9` | Original. Your partner's guide says whether it also sends replacements or changes | ### DTM: Dates ``` DTM+137:20261106:102' ``` | Qualifier (2005) | Meaning | Where | |---|---|---| | `137` | Document/message date | Header | | `157` | Validity start date | Header | | `257` | Calculation date | Line | | `51` / `52` | Cumulative quantity start and end date | With `QTY+70` | | `50` | Goods receipt date | With `QTY+48` | | `10` | Shipment date requested | With a schedule bucket | | `2` | Delivery date requested | With a schedule bucket, when the partner schedules by delivery | | `194` / `206` | Start and end of a period | With commitment quantities | Format `102` is CCYYMMDD and `203` is CCYYMMDDHHMM. Whether buckets carry a ship date (`10`) or a delivery date (`2`) is set by the partner, and confusing the two moves every shipment by the transit time. ### LIN, PIA and LOC: The Part and Where It Goes ``` LIN+++7731-220-04:IN' PIA+1+KC-88120:SA' LOC+11+D07::92' ``` The third element of `LIN` carries the buyer's part number with type `IN`. `PIA` with function `1` adds other numbers, here your own part number (`SA`); some OEMs also send a drawing or engineering change level here. `LOC+11` is the place of discharge, usually the dock or unloading point, and some guides add `LOC+159` for a further internal destination. In Volvo's guide, the combination of part, order number, unloading point and parties is what identifies a schedule, so a change to any of them starts a new schedule rather than updating the old one. ### QTY: Cumulative and Receipt Quantities ``` QTY+70:18400' DTM+51:20260105:102' DTM+52:20261106:102' ``` | Qualifier (6063) | Meaning | |---|---| | `70` | Cumulative quantity received | | `48` | Received quantity (the last receipts, each with `DTM+50` and `RFF+AAK`) | | `57` | In transit quantity | | `83` | Backorder quantity | | `113` | Quantity to be delivered (inside an `SCC` group) | | `1` | Discrete quantity (used with `SCC+2` and `SCC+3` commitments) | Compare the buyer's `QTY+70` with your own shipped cumulative every time. If they differ, the difference is usually a shipment in transit or a receipt the buyer has not booked, and the `QTY+48` lines tell you which despatch advices the buyer has counted. ### SCC: Scheduling Conditions ``` SCC+1' QTY+113:1200' DTM+10:20261111:102' ``` Each `SCC` opens a group, and every `QTY` and `DTM` pair under it inherits its status. A message can repeat `SCC+1` once per firm bucket, as in the example, or carry several `QTY`/`DTM` pairs under one `SCC`; both shapes are valid, so your mapping should handle both. Some profiles add a later element to flag the delivery process: Volvo uses `SCC+4++J'` to mark a forecast for a part delivered through a JIT or JIS flow. ## DELFOR vs the X12 830 | Data | EDIFACT DELFOR | X12 830 | |---|---|---| | Message | DELFOR | 830 Planning Schedule with Release Capability | | Schedule number and type | `BGM` | `BFR` | | Horizon dates | `DTM+157`, and dates per bucket | `BFR` start and end dates | | Parties | `NAD+BY`, `NAD+SE`, `NAD+ST` | `N1` loops | | Part number | `LIN` (`IN`) and `PIA` (`SA`) | `LIN` with `BP`, `VP` and other qualifiers | | Unloading point | `LOC+11` | `N1` or `REF` per partner | | Firm vs forecast | `SCC` code `1` or `4` | `FST02` code `C` or `D` | | Fabrication and material authorisation | `SCC+2` and `SCC+3` with a quantity and period | `ATH` | | Cumulative received | `QTY+70` with `DTM+51`/`52` | `ATH` or `SHP` per partner | | Last receipts | `QTY+48`, `DTM+50`, `RFF+AAK` | `SHP` and `REF` | | Trailer count | `UNT` | `SE` | The two do the same job, but the mapping is not one-to-one, so treat a DELFOR-to-830 conversion as a remap built from the partner's guide. The [830 guide](/guides/edi/830-planning-schedule) covers the X12 side, and [EDI 830 vs 862](/blog/edi-830-vs-862) explains how planning and shipping schedules divide the work. ## Where DELFOR Sits in the Flow | Step | Message | Direction | X12 equivalent | |---|---|---|---| | 1 | Scheduling agreement or blanket order (often outside EDI) | Buyer to supplier | [850](/guides/edi/850-purchase-order) | | 2 | **DELFOR** | Buyer to supplier | [830](/guides/edi/830-planning-schedule) | | 3 | [DELJIT](/guides/edi/edifact-deljit), when the plant calls off in more detail | Buyer to supplier | [862](/guides/edi/862-shipping-schedule) or [866](/guides/edi/866-production-sequence) | | 4 | [DESADV](/guides/edi/edifact-desadv) | Supplier to buyer | [856](/guides/edi/856-ship-notice) | | 5 | [INVOIC](/guides/edi/edifact-invoic), or self-billing by the buyer | Either | [810](/guides/edi/810-invoice) | The scheduling agreement sets prices and terms once; DELFOR then drives quantities. Our article on [scheduling agreements vs blanket orders](/blog/scheduling-agreement-vs-blanket-order) explains that structure, and many automotive buyers pay by [self-billing](/blog/self-billing-ers-explained) from your DESADV instead of waiting for an invoice. ## Common DELFOR Errors and How to Prevent Them | Problem | What happens | Prevention | |---|---|---| | Forecast buckets loaded as firm | Overproduction and excess stock | Map each `SCC` code explicitly; never default an unknown code to firm | | New schedule added to the old one instead of replacing it | Demand doubles in your MRP | Replace by the key the partner defines (part, order, unloading point, parties) | | Ship date read as delivery date, or the reverse | Every shipment early or late by the transit time | Check whether buckets use `DTM+10` or `DTM+2` | | Cumulative mismatch ignored | Shortages or overshipments build up quietly | Reconcile `QTY+70` with your shipped cumulative on every schedule | | Wrong directory assumed | Parser fails or groups are misread | Read the version in `UNH` and keep one map per partner profile | | Commitments ignored | Material bought with no authorisation behind it | Load `SCC+2` and `SCC+3` into planning as limits | | Zero schedule not handled | Old demand stays open after a part or order changes | Treat a zero-quantity schedule as a cancellation of that key | ## DELFOR Implementation Checklist 1. **Get the partner's profile.** Directory (D.96A, D.97A or D.04A), Odette or VDA basis, and any OEM-specific codes. 2. **Agree identifiers.** Your supplier code in `NAD+SE`, the plant and dock codes in `NAD+ST` and `LOC`, and both part numbers. 3. **Confirm the replacement key.** Which combination of part, order, unloading point and parties identifies one schedule. 4. **Map every `SCC` code** the partner uses, including any JIT or JIS flags in later elements. 5. **Decide ship-date or delivery-date planning** from the `DTM` qualifiers. 6. **Load cumulative quantities** and set an alert when the buyer's `QTY+70` differs from yours. 7. **Load commitments** as fabrication and material limits in planning. 8. **Test with real schedules**, including a zero schedule, a part change and a cumulative reset at year end. ## Reading DELFOR With OrderSync DELFOR is a planning message, and most suppliers receive it alongside orders that arrive in other ways: EDI 850s from some customers, PDFs and emails from others, and spreadsheets from the rest. OrderSync reads those inbound orders in any format, matches customers, items and units to your catalog, and outputs clean ERP data or valid X12, and it generates the outbound 856 ship notice and 810 invoice your US customers expect. Paste any DELFOR into the [free EDIFACT inspector](/edifact-inspector) to see it parsed segment by segment, use the [free EDI inspector](/edi-inspector) for the X12 830s and 862s from your US customers, or [book a 15-minute walkthrough](/book-call) to see your own orders processed. ## Frequently Asked Questions
### What is the X12 equivalent of DELFOR? The 830 Planning Schedule with Release Capability. Both carry firm and forecast quantities per part over a rolling horizon, and both can authorise fabrication and material. DELJIT is the EDIFACT counterpart of the 862 shipping schedule. ### What does SCC+1 mean in DELFOR? `SCC` is the scheduling conditions segment and code `1` means firm. The quantities and dates that follow are committed call-offs to ship. Code `4` means planning or forecast, while `2` and `3` authorise manufacturing and material purchases. ### Which directory does DELFOR use? It depends on the partner. Older OEM guides use D.96A or D.97A. The Global DELFOR published for the joint automotive industry, and VDA 4984 in Germany, use D.04A. The version in the `UNH` segment tells you which layout you are reading. ### What is VDA 4984? VDA 4984 is the German automotive association's recommendation for delivery schedules in EDIFACT, a Global DELFOR based on D.04A. The VDA lists it as the replacement for the VDA 4905 flat file and, together with VDA 4985 for DELJIT, for VDA 4915. ### Does DELFOR have a UNS segment? In D.96A, yes: `UNS` separates the header from the detail. In D.97A and D.04A it does not; the detail starts with `GIS` or `GEI` groups instead. Sending a `UNS` in a D.04A message will usually fail validation. ### What is QTY+70 in DELFOR? `QTY+70` is the cumulative quantity received by the buyer, with its start date in `DTM+51` and usually its end date in `DTM+52`. Suppliers reconcile it against their own shipped cumulative to catch missing receipts or shipments still in transit. ### Is DELFOR used outside automotive? Yes. Any manufacturer running scheduling agreements can use it, and DELFOR is part of the GS1 EANCOM subset as well. Automotive is where suppliers meet it most, under Odette and VDA guidelines.
## Related guides - **[EDIFACT DELJIT](/guides/edi/edifact-deljit)**: the just-in-time call-off that follows DELFOR - **[EDI 830 planning schedule](/guides/edi/830-planning-schedule)**: the X12 counterpart - **[EDI 862 shipping schedule](/guides/edi/862-shipping-schedule)** and **[EDI 866 production sequence](/guides/edi/866-production-sequence)**: the X12 near-term schedules - **[EDIFACT DESADV](/guides/edi/edifact-desadv)**: the despatch advice you send against each call-off - **[EDIFACT explained](/guides/edi/edifact)** and **[EDIFACT message types](/guides/edi/edifact-message-types)**: syntax, envelopes and the full catalogue ## Sources - [UN/EDIFACT D.96A DELFOR message](https://service.unece.org/trade/untdid/d96a/trmd/delfor_c.htm), UNECE: definition and D.96A structure - [DELFOR in directory D.04A](https://www.edifactory.de/edifact/directory/D04A/message/DELFOR), EDIFACTORY: D.04A segment groups - [Liste der Empfehlungen: EDI und warenbegleitende Papiere](https://vda.de/dam/jcr:0f97444c-dc98-4216-8b5d-51ff7a3e9258/ListeDer%20EmpfehlungenEDIundWarenbegleitendePapiere-2024-08.pdf), VDA, August 2024: status of VDA 4905, 4915, 4916, 4984, 4985 and 4986 - [Volvo Group Global DELFOR D.04A guidelines and examples](https://www.edi.volvogroup.com/content/dam/volvo-group/markets/edi/specifications-and-guidelines/delivery-schedule-and-mrl/volvo-delfor-d04a-2-2-implementation-guideline.pdf), Volvo Group: JAI Global DELFOR basis, segment usage and examples - [VDA 4984 planning schedule](https://seeburger.com/info/vda-4984-edi-planning-schedule), SEEBURGER: VDA 4984 as the successor of VDA 4905, based on DELFOR D.04 - [Ordering message guidelines](https://www.odette.org/process/ordering), Odette Check any DELFOR or DELJIT in the free [EDIFACT inspector](/edifact-inspector). --- # EDIFACT DELJIT: Just-in-Time Call-Offs Source: https://ordersync.io/guides/edi/edifact-deljit > EDIFACT DELJIT explained: JIT and JIS call-offs, the SEQ group, Global DELJIT on D.04B, VDA 4915, 4985 and 4986, two full examples and the X12 862 map. EDIFACT DELJIT is the delivery just-in-time message, the counterpart of the X12 862. A manufacturing plant sends it to a supplier to call off exact quantities for exact delivery times, or parts in build sequence, against the longer plan already sent in DELFOR. In automotive it follows the Odette Global DELJIT and VDA 4985 and 4986 guidelines. **DELJIT is the call-off a supplier ships to, hour by hour.** DELFOR tells you what to plan for the coming weeks. DELJIT tells you what the line needs tomorrow morning at 06:00, at which dock and line station, and sometimes in which order, vehicle by vehicle. Read it wrong and the result is not a planning error but a stopped assembly line. This guide covers what DELJIT carries, how it relates to DELFOR, the directories and guidelines you will meet (Global DELJIT on D.04B, VDA 4985 and 4986), a just-in-time example, a sequenced example, the segments you will map, and how DELJIT compares with the [EDI 862 shipping schedule](/guides/edi/862-shipping-schedule). ## What Is an EDIFACT DELJIT? **DELJIT is the UN/EDIFACT Delivery just in time message: it "provides the ability for a customer to convey precise delivery sequence and Just In Time schedule requirements to a supplier, and is intended to supplement the Delivery Schedule Message (DELFOR)."** That definition, from the UN/EDIFACT directory, is the key to using it: DELJIT does not replace the plan in [DELFOR](/guides/edi/edifact-delfor). It narrows the near-term part of it to exact times, places and sequences. Authoritative references for DELJIT work: - The [UN/EDIFACT D.96A DELJIT message](https://service.unece.org/trade/untdid/d96a/trmd/deljit_c.htm) from UNECE gives the definition and segment table, and the [D.04B layout on EDIFACTORY](https://www.edifactory.de/edifact/directory/D04B/message/DELJIT) shows the directory the Global DELJIT uses - The [VDA list of EDI recommendations](https://vda.de/dam/jcr:0f97444c-dc98-4216-8b5d-51ff7a3e9258/ListeDer%20EmpfehlungenEDIundWarenbegleitendePapiere-2024-08.pdf) (August 2024) records VDA 4985 (JIT call-offs with DELJIT) and VDA 4986 (JIS call-offs with DELJIT) as the replacements for the VDA 4915 and 4916 flat files - Supplier-published guides such as [SEG Automotive's Global DELJIT D.04B guideline](https://www.seg-automotive.com/file/editorial-content/purchasing-documents/jit-delivery-instruction_deljitd04b_en.pdf) and [Volvo Group's DELJIT D.04B guidelines](https://www.edi.volvogroup.com/content/dam/volvo-group/markets/edi/specifications-and-guidelines/jit-jis/volvo-deljit-d04b-implementation-guideline.pdf) show complete messages for KANBAN, JIT and sequenced flows **Who sends it?** The customer's plant, usually from its production control or line-feeding system rather than central planning. **When is it sent?** Much more often than DELFOR: daily, several times a day, or per sequence event. Volvo's guide, for example, describes sequence information sent once a day, 7 to 23 days before assembly depending on the plant. **Why does it matter?** It is the instruction the line actually runs on. A missed or misread DELJIT means premium freight at best and a line stoppage at worst. ## Directories and Guidelines DELJIT is a UN/EDIFACT message but it is not part of the GS1 EANCOM subset, so retail suppliers rarely meet it. Automotive suppliers do, under these guidelines: | Guideline | Directory | Used for | |---|---|---| | Odette Global DELJIT | D.04B | JIT, KANBAN and sequenced call-offs; SEG Automotive and Volvo publish profiles of it | | VDA 4985 | EDIFACT DELJIT | JIT call-offs in German automotive, replacing part of VDA 4915 | | VDA 4986 | EDIFACT DELJIT | JIS (production-synchronous) call-offs, replacing VDA 4916 | | Older OEM profiles | D.96A, D.97A and others | Customer-specific implementations still in use | The examples in this guide use D.04B, because that is the directory of the published Global DELJIT guidelines we checked. The D.96A and D.04B layouts share the same backbone (`SEQ` group, then `LIN` group, then `QTY` and `DTM`), so the reading is the same; D.04B adds a transport group and a price group under each line. The VDA list is clear that the old flat files have not gone away: it marks VDA 4915 and 4916 as replaced but still widely used. During a migration you may receive a VDA 4915 call-off and a DELJIT for the same parts, so agree with the customer which one you ship to. ## JIT, KANBAN and JIS: Three Ways DELJIT Is Used | Flow | What the call-off says | How DELJIT shows it | |---|---|---| | JIT call-off | Deliver these quantities at these times | One `SEQ` group with `LIN` lines, each with `QTY` and `DTM` pairs | | KANBAN | Replenish what the line consumed | Same shape, often triggered per card or bin; SEG Automotive's guide covers it in the same profile | | JIS (sequenced) | Deliver one part per vehicle, in build order | One `SEQ` group per vehicle or sequence position, with the vehicle identifier in `GIR` | The X12 world splits these between the [862 shipping schedule](/guides/edi/862-shipping-schedule) for timed call-offs and the [866 production sequence](/guides/edi/866-production-sequence) for build order. In EDIFACT both run through DELJIT. ## Example 1: JIT Call-Off for Two Parts The fictional axle plant Northbrook Axle calls off two cast parts from the fictional foundry Kestrel Castings for delivery on Thursday 12 November, in three-shift slots, against the DELFOR schedule it sent the previous week. | Segment | What it says | |---|---| | `BGM+242+NB-JIT-0005521+9'` | Delivery just-in-time (`242`), call-off number NB-JIT-0005521, original | | `DTM+137:202611101405:203'` | Issued 10 November at 14:05 | | `NAD+BY` / `SE` / `ST` | Buyer, seller and ship-to plant, by codes the buyer assigned | | `SEQ+40'` | Opens the delivery instruction group. In SEG Automotive's KANBAN and JIT profile, `SEQ` is a trigger with code `40` | | `LOC+7+D07::92'` | Place of delivery: unloading point D07 | | `LIN` / `PIA` | The buyer's part number (`IN`) and the supplier's (`SA`) | | `RFF+AAN:NB-DF-261106-01'` | The delivery schedule (DELFOR) this call-off belongs to | | `LOC+159+L2-STA14::92'` | Additional internal destination: line 2, station 14 | | `QTY+113` / `DTM+2` | 240 to be delivered at 06:00, 14:00 and 22:00; 180 of the second part at 06:00 and 14:00 | Times are in format `203` (CCYYMMDDHHMM). Whether `DTM+2` means arrival at the dock or at the line station is set by the customer's guide, so confirm it before you plan transport. ## Example 2: Sequenced (JIS) Call-Off For a sequenced part, the plant sends one `SEQ` group per vehicle in build order. Each group carries the sequence number, the planned time, the vehicle identifier and the one variant that vehicle needs. This example follows the shape of Volvo Group's published Global DELJIT sequence examples, with fictional codes. | Segment | What it says | |---|---| | `BGM+307+...'` | Sequenced delivery schedule (`307`), the code Volvo's sequence profile uses | | `SEQ+39+004417'` | Action code `39` (new) and sequence number 004417 | | `DTM+194:202611180640:203'` | Start date/time for this sequence position: 18 November at 06:40 | | `GIR+4+NB26-0044171:VV'` | The vehicle this part is for, in the identifier format the OEM's guide defines | | `LIN` | The variant needed: 7731-305-11 for the first and third vehicles, 7731-305-14 for the second | | `LOC+11` / `LOC+159` | Unloading point and line station | | `QTY+113:1'` | One part per vehicle | You load the parts in sequence-number order, so the rack or trailer arrives with the variants in the order the line builds the vehicles. Volvo's guide lists the action codes it uses in `SEQ`: `39` new (preliminary), `40` agreed (firm), `38` replaced and `2` deleted. Other OEMs choose differently, so load the code list from your customer's guide. ## DELJIT Structure at a Glance (D.04B) | Area | Segment or group | Status | What it holds | |---|---|---|---| | Header | `UNH` | M | Message reference and type | | Header | `BGM` | M | Document code (`242`, or a sequence code), number, function | | Header | `DTM` | M | Message date and time | | Header | `FTX` | C | Free text | | Header | `RFF` group (SG1) | C | References for the whole message | | Header | `NAD` group (SG2) | C | Buyer, seller, ship-to, with `LOC` and contacts | | Detail | `SEQ` group (SG4) | M | One delivery instruction or sequence position: `DTM`, `GIR`, `LOC` | | Detail | `PAC` group (SG5) | C | Packaging, with `PCI` and `GIN` identification | | Detail | `LIN` group (SG7) | C | One part: `PIA`, `IMD`, `ALI`, `GIR`, `FTX`, `PAC`, `DTM` | | Detail | `RFF` group (SG8) | C | References for the line, such as the DELFOR number | | Detail | `TDT` group (SG9) | C | Transport for the line | | Detail | `LOC` group (SG10) | C | Delivery locations for the line | | Detail | `QTY` group (SG12) | C | Quantity, `SCC` and `DTM` | | Detail | `PRI` group (SG14) | C | Price details | | Trailer | `UNT` | M | Segment count and message reference | There is no `UNS` and no `CNT` in DELJIT. The `SEQ` group is the only mandatory group in the detail. ## Key Segments Explained ### BGM: Beginning of Message ``` BGM+242+NB-JIT-0005521+9' ``` | Element | Name | Example | Notes | |---|---|---|---| | 1001 | Document name code | `242` | Delivery just-in-time. `307` (sequenced delivery schedule) is also defined and used in Volvo's sequence profile | | 1004 | Document identifier | `NB-JIT-0005521` | The call-off number; quote it on your DESADV if the customer asks | | 1225 | Message function code | `9` | Original | ### SEQ: Sequence Details ``` SEQ+39+004417' ``` | Element | Name | Notes | |---|---|---| | 1229 | Action request/notification description code | What to do with this group. The D.04B code list includes `39` new, `40` agreed, `38` replaced and `2` deleted | | C286 | Sequence information | The sequence number, used in sequenced flows; left out in simple JIT call-offs | ### QTY and DTM: What, and When ``` QTY+113:240' DTM+2:202611120600:203' ``` `QTY+113` is the quantity to be delivered. Each `QTY` is followed by its own `DTM`, so read them as pairs: the time belongs to the quantity directly before it. `DTM+2` is the requested delivery date and time; `DTM+194` is used for the start time of a sequence position. Some profiles add `SCC` between `QTY` and `DTM` to mark a quantity as firm or planned. ### LOC: Where on the Customer's Site ``` LOC+7+D07::92' LOC+159+L2-STA14::92' ``` | Qualifier (3227) | Meaning | |---|---| | `7` | Place of delivery | | `11` | Place of discharge (unloading point) | | `159` | Additional internal destination, such as a line station | | `54` | Manufacturing department | Print the same location codes on your transport label as the call-off gives. The plant's receiving staff route parts by them. ### GIR: Related Identification Numbers ``` GIR+4+NB26-0044171:VV' ``` In sequenced flows `GIR` carries the vehicle or build identifier that ties each part to one vehicle. The qualifier codes and the format of the identifier come from the OEM's guide, so map them from there rather than from this example. ## DELJIT vs the X12 862 and 866 | Data | EDIFACT DELJIT | X12 862 | X12 866 | |---|---|---|---| | Purpose | JIT and sequenced call-offs | Near-term ship or delivery schedule | Order in which parts must arrive | | Beginning segment | `BGM` (`242` or a sequence code) | `BSS` | `BSS` | | Plan it supplements | DELFOR | 830 | 830 or 862 | | Delivery quantity | `QTY+113` | `SHP` and `FST` | `QTY` per sequence | | Delivery time | `DTM+2` with time | `FST` dates and `JIT` segments | `DTM` per sequence | | Sequence or vehicle | `SEQ` and `GIR` | Not used | The sequence and vehicle references | | Location on site | `LOC+7`, `LOC+11`, `LOC+159` | `N1` and `REF` per partner | `N1` and `REF` per partner | | Trailer count | `UNT` | `SE` | `SE` | One EDIFACT message covers the work of two X12 sets. If a customer moves you from 862s to DELJIT, expect the sequenced parts to arrive in the same message type as the timed ones, told apart by the `BGM` code and the `SEQ` content. ## Where DELJIT Sits in the Flow | Step | Message | Direction | X12 equivalent | |---|---|---|---| | 1 | [DELFOR](/guides/edi/edifact-delfor) | Buyer to supplier | [830](/guides/edi/830-planning-schedule) | | 2 | **DELJIT** | Buyer to supplier | [862](/guides/edi/862-shipping-schedule) or [866](/guides/edi/866-production-sequence) | | 3 | [DESADV](/guides/edi/edifact-desadv), at each shipment | Supplier to buyer | [856](/guides/edi/856-ship-notice) | | 4 | Self-billing by the buyer, or your [INVOIC](/guides/edi/edifact-invoic) | Either | [810](/guides/edi/810-invoice) | The [EDI 830 vs 862](/blog/edi-830-vs-862) article explains the plan-versus-call-off split in X12 terms, and the same logic holds here: DELFOR is the authority for what to buy and staff for, DELJIT for what leaves the dock today. ## Common DELJIT Errors and How to Prevent Them | Problem | What happens | Prevention | |---|---|---| | DELJIT quantities added to DELFOR demand | Demand counted twice in MRP | Let DELJIT consume the matching DELFOR window, using the `RFF+AAN` link | | Time read as dispatch instead of arrival | Parts arrive early or late by the transit time | Confirm in the partner's guide what `DTM+2` means | | Sequence loaded out of order | Wrong variant at the line | Load by sequence number, scan each part against the sequence at loading | | Replaced or deleted sequences ignored | Parts built for vehicles that changed | Process `SEQ` action codes for replace and delete, not only new | | Unknown location codes | Receiving cannot route the parts | Keep the plant's dock and station codes in your master data and alert on new ones | | Old VDA call-off and DELJIT both loaded | Double shipments during migration | Agree one authoritative source per part | ## DELJIT Implementation Checklist 1. **Get the partner's profile.** Directory, Global DELJIT or VDA basis, and which flows it covers (JIT, KANBAN, JIS). 2. **Map the `BGM` codes** the partner uses and what each means for your planning. 3. **Map `SEQ` action codes**, including replace and delete. 4. **Agree what the delivery time means**: arrival at the dock, at the line, or dispatch from your site. 5. **Load location codes** for docks and line stations. 6. **Link each call-off to its DELFOR** with `RFF+AAN` so the two do not double count. 7. **Set up labels and DESADV** to carry the call-off and sequence references the plant expects. 8. **Test with real call-offs**, including a changed sequence, a deleted sequence and a call-off sent late in the day. ## Reading DELJIT With OrderSync DELJIT is a scheduling message. The orders the rest of your business takes in, as EDI 850s, PDFs, emails and spreadsheets, still need someone to key them. OrderSync reads those inbound orders in any format, matches customers, items and units to your catalog, and outputs clean ERP data or valid X12, and it generates the outbound 856 ship notice and 810 invoice your US customers expect. Paste any DELJIT into the [free EDIFACT inspector](/edifact-inspector) to see it parsed segment by segment, use the [free EDI inspector](/edi-inspector) for X12 862s and 866s, or [book a 15-minute walkthrough](/book-call) to see your own orders processed. ## Frequently Asked Questions
### What is the X12 equivalent of DELJIT? The 862 shipping schedule for timed call-offs, and the 866 production sequence for build-order deliveries. DELJIT covers both jobs in one EDIFACT message, and DELFOR plays the part of the 830. ### What is the difference between DELFOR and DELJIT? DELFOR is the rolling plan: firm and forecast quantities over weeks or months, with material and production authorisations. DELJIT supplements it with exact delivery times, places and sequences for the next hours or days. The UN definition says DELJIT is intended to supplement DELFOR. ### What does BGM+242 mean? `242` is the UN/EDIFACT document code for a delivery just-in-time. The second element is the call-off number and the third is the message function, usually `9` for an original. ### What does the SEQ segment do in DELJIT? `SEQ` opens each delivery instruction group and is mandatory. Its action code says whether the group is new, agreed, replaced or deleted, and in sequenced flows it also carries the sequence number. In simple JIT profiles it can be a plain trigger, such as `SEQ+40'`. ### What is VDA 4985? VDA 4985 is the German automotive association's recommendation for JIT call-offs in EDIFACT DELJIT. Together with VDA 4984 for DELFOR, it replaces the VDA 4915 flat file, which the VDA notes is still widely used. VDA 4986 does the same for sequenced (JIS) call-offs. ### Is DELJIT part of EANCOM? No. DELJIT is a UN/EDIFACT message but not part of the GS1 EANCOM subset, so retail suppliers rarely see it. Automotive suppliers receive it under Odette and VDA guidelines. ### Which directory does DELJIT use? The Global DELJIT guidelines published by SEG Automotive and Volvo use D.04B. Older OEM profiles use D.96A or other directories. The version in `UNH` tells you which one you are reading.
## Related guides - **[EDIFACT DELFOR](/guides/edi/edifact-delfor)**: the delivery schedule DELJIT supplements - **[EDI 862 shipping schedule](/guides/edi/862-shipping-schedule)** and **[EDI 866 production sequence](/guides/edi/866-production-sequence)**: the X12 counterparts - **[EDI 830 planning schedule](/guides/edi/830-planning-schedule)**: the X12 plan - **[EDIFACT DESADV](/guides/edi/edifact-desadv)**: the despatch advice for each delivery - **[EDIFACT explained](/guides/edi/edifact)** and **[EDIFACT message types](/guides/edi/edifact-message-types)**: syntax and the full catalogue ## Sources - [UN/EDIFACT D.96A DELJIT message](https://service.unece.org/trade/untdid/d96a/trmd/deljit_c.htm), UNECE: definition and structure - [DELJIT in directory D.04B](https://www.edifactory.de/edifact/directory/D04B/message/DELJIT), EDIFACTORY: D.04B segment groups - [Liste der Empfehlungen: EDI und warenbegleitende Papiere](https://vda.de/dam/jcr:0f97444c-dc98-4216-8b5d-51ff7a3e9258/ListeDer%20EmpfehlungenEDIundWarenbegleitendePapiere-2024-08.pdf), VDA, August 2024: VDA 4915, 4916, 4984, 4985 and 4986 - [Global DELJIT D.04B JIT delivery instruction](https://www.seg-automotive.com/file/editorial-content/purchasing-documents/jit-delivery-instruction_deljitd04b_en.pdf), SEG Automotive: Odette-based JIT and KANBAN profile - [Volvo Group DELJIT D.04B guidelines and examples](https://www.edi.volvogroup.com/content/dam/volvo-group/markets/edi/specifications-and-guidelines/jit-jis/volvo-deljit-d04b-implementation-guideline.pdf), Volvo Group: sequence profiles and SEQ action codes - [Ordering message guidelines](https://www.odette.org/process/ordering), Odette Check any DELJIT or DELFOR in the free [EDIFACT inspector](/edifact-inspector). --- # EDIFACT DESADV: Despatch Advice, CPS and SSCC Source: https://ordersync.io/guides/edi/edifact-desadv > EDIFACT DESADV despatch advice explained: live EANCOM examples for single, multi-pallet and partial despatches, the CPS hierarchy, SSCCs and the X12 856 map. EDIFACT DESADV is the despatch advice message, the equivalent of the X12 856 advance ship notice. The supplier sends it when goods leave, describing the shipment as a hierarchy of CPS packing levels. Each pallet or carton is identified by its SSCC in a GIN segment, and each product line by its GTIN in LIN with a despatched quantity. For UK and European retail, DESADV is the message that decides how smoothly your delivery is received. The buyer's warehouse scans the SSCC on each pallet label, looks it up in your DESADV, and books the contents in without counting. When the label and the message disagree, the pallet gets counted by hand, and that is when queries, delays and deductions start. This guide follows the [GS1 EANCOM 2002 DESADV](https://www.gs1.org/sites/default/files/docs/eancom/ean02s3/part2/desadv/toc.htm) layout (directory D.01B). All four examples are live: they are parsed in your browser by the same engine as our EDIFACT inspector, with SSCC and GTIN check digits verified. If you know the X12 856, the concepts carry over directly; the [856 guide](/guides/edi/856-ship-notice) covers the HL hierarchy that CPS replaces. ## What is an EDIFACT DESADV? **DESADV (despatch advice) is the UN/EDIFACT message a supplier sends to tell the buyer exactly what has been despatched: which orders, on which pallets or cartons, with which products and quantities.** It relates to one seller and one buyer, one despatch point and one or more destinations. GS1's principle for the message is that each unit delivered (pallet, carton) should be uniquely identified, and the DESADV describes what is in each one. When the goods arrive, the physical delivery and the electronic message can be cross-checked, and discrepancies show up immediately. "Despatch" is the British and EDIFACT spelling. The message is the same thing US partners call an ASN. ## When DESADV is sent in the order-to-cash flow | Step | Message | Direction | Timing | |---|---|---|---| | 1 | [ORDERS](/guides/edi/edifact-orders) | Buyer to supplier | Order placed | | 2 | [ORDRSP](/guides/edi/edifact-ordrsp) | Supplier to buyer | Before picking, if required | | 3 | **DESADV** | Supplier to buyer | At despatch, always before the goods arrive | | 4 | [RECADV](/guides/edi/edifact-recadv) | Buyer to supplier | After the delivery is booked in | | 5 | [INVOIC](/guides/edi/edifact-invoic) | Supplier to buyer | Quoting the DESADV number in `RFF+DQ` | GS1 is explicit that the despatch advice should always be sent before the goods are physically delivered, so the receiving site can prepare. In practice, build it when the vehicle is loaded and the pallet labels are printed, not at the end of the day. ## The CPS packing hierarchy X12 describes packing with `HL` loops. DESADV does it with **CPS (consignment packing sequence)** groups. Each CPS has its own level number and, optionally, a parent number, which builds a tree: ``` CPS+1 Consignment (whole shipment) ├── CPS+2+1 Pallet 1, parent is level 1 │ └── LIN ... Products on pallet 1 └── CPS+3+1 Pallet 2, parent is level 1 ├── CPS+4+3 Carton on pallet 2 │ └── LIN ... Products in that carton └── CPS+5+3 Another carton on pallet 2 ``` Under each CPS, a `PAC` group describes the physical unit at that level: - **PAC**: how many packages and what type (`PAC+1++201::9'` is one ISO 1 / Euro pallet, GS1 code 201) - **MEA**: measurements, such as gross weight (`MEA+PD+AAB+KGM:412.5'`) or length and width - **PCI**: what the package is marked with, such as an SSCC label - **GIN**: the identification number itself, the SSCC (`GIN+BJ+350987650000000010'`) Then `LIN` groups list the products in that package with their despatched quantities (`QTY+12`). GS1 describes four levels of detail a DESADV can carry, from simplest to fullest: | Option | What it describes | When partners use it | |---|---|---| | 1 | Products and total quantities only, one dummy `CPS+1` | Small suppliers, parcel deliveries | | 2 | Products and quantities, with the SSCC of each carton but no pallet structure | Carton-picked deliveries | | 3 | Pallets with SSCCs and the products on each | Most retail DC deliveries | | 4 | Pallets and cartons, both with SSCCs | Mixed pallets, cross-docking, store-picked deliveries | Your partner's guide will say which level they need. Most UK grocery DCs expect at least option 3. ## Example 1: single pallet, single order The fictional supplier Kestrel Valley Homeware despatches order HL-PO-88355 from the fictional retailer Harbour Lane Stores on one Euro pallet. Every identifier is made up, with a valid GS1 check digit. | Segment | What it says | |---|---| | `UNH+1+DESADV:D:01B:UN:EAN008'` | DESADV, directory D.01B, EANCOM subset version 008 | | `BGM+351+KV-DES-7790+9'` | Despatch advice (351), number KV-DES-7790, original (9) | | `DTM+137` / `DTM+11` / `DTM+17` | Message date, despatch date, estimated delivery date | | `RFF+ON:HL-PO-88355'` / `DTM+171` | The buyer's order number and its date | | `NAD+SU` / `BY` / `DP` | Supplier, buyer and delivery point GLNs | | `CPS+1'` / `PAC+1++201::9'` | Level 1, the consignment: one Euro pallet | | `CPS+2+1'` | Level 2, parent level 1: the pallet itself | | `MEA+PD+AAB+KGM:318.4'` | Gross weight 318.4 kg | | `PCI+33E'` / `GIN+BJ+...'` | The pallet carries an SSCC label, and this is its SSCC | | `LIN` / `QTY+12` | 60 and 120 units of two GTINs on this pallet | | `CNT+2:2'` | Two LIN lines in the message | Unlike ORDERS and INVOIC, DESADV has no `UNS` summary separator. The detail section runs straight into `CNT`. Many partners want the consignment level even for a single pallet, so build both levels every time and you will not need a special case. ## DESADV segment reference Status is M (mandatory) or C (conditional); repeats are the EANCOM 2002 maximum. | Segment | Name | Status | Repeats | What it carries | X12 856 equivalent | |---|---|---|---|---|---| | `UNH` | Message header | M | 1 | Message reference, type and version | `ST` | | `BGM` | Beginning of message | M | 1 | Despatch number and function | `BSN01`, `BSN02` | | `DTM` | Date/time/period | C | 10 | Message, despatch and delivery dates | `BSN03`, `DTM` | | `MEA` | Measurements | C | 5 | Whole-shipment measurements | `TD1` | | `RFF` (SG1) | Reference | C | 10 | Order number (`ON`), delivery note, contract | `PRF`, `REF` | | `NAD` (SG2) | Name and address | C | 99 | Supplier, buyer, delivery party, shipper | `N1` loop | | `TOD` (SG5) | Terms of delivery | C | 10 | Delivery terms | `FOB` | | `TDT` (SG6) | Transport | C | 10 | Mode, carrier, vehicle | `TD5`, `TD3` | | `EQD` (SG8) | Equipment | C | 10 | Trailer or container, with seals (`SEL`) | `TD3` | | `CPS` (SG10) | Consignment packing sequence | C | 9999 | Hierarchy level and parent | `HL01`, `HL02` | | `PAC` (SG11) | Package | C | 9999 | Number and type of packages | `TD1`, `PO4` | | `MEA` | Measurements | C | 10 | Weight and dimensions of the package | `TD1`, `MEA` | | `QTY` | Quantity | C | 10 | Quantity per pack (`52`) | `PO4` | | `HAN` (SG12) | Handling instructions | C | 10 | Fragile, keep frozen and similar | none direct | | `PCI` (SG13) | Package identification | C | 1000 | Marked with SSCC | `MAN01` | | `GIN` (SG15) | Goods identity number | C | 99 | SSCC of the package (`BJ`) | `MAN02` | | `LIN` (SG17) | Line item | C | 9999 | Line number and GTIN | `LIN` | | `PIA` | Additional product id | C | 10 | Supplier code, substitute GTIN | `LIN` qualifiers | | `IMD` | Item description | C | 25 | Description | `PID` | | `QTY` | Quantity | C | 10 | Despatched (`12`), ordered (`21`) | `SN102`, `SN105` | | `DTM` | Date/time/period | C | 5 | Best before, expiry, production date | `DTM` | | `RFF` (SG18) | Reference | C | 99 | Line order number when one DESADV covers several orders | `PRF` | | `LOC` (SG20) | Place/location | C | 100 | Split delivery destination | `N1` at order or store level | | `PCI` / `GIN` (SG22, SG23) | Line package identification | C | 9999 | SSCCs or batch numbers for this line | `MAN` | | `QVR` (SG25) | Quantity variances | C | 10 | Difference from ordered, with reason | `SN108` | | `CNT` | Control total | C | 5 | Line count, packages, weight | `CTT` | | `UNT` | Message trailer | M | 1 | Segment count and reference | `SE` | ## Qualifier and code tables ### BGM document and function codes `BGM+351+KV-DES-7790+9'`. Document code `351` is a despatch advice; EANCOM also defines `345` ready for despatch advice and `729` returns advice. The number is your despatch reference, and your [INVOIC](/guides/edi/edifact-invoic) quotes it back in `RFF+DQ`. | Function | Meaning | |---|---| | `9` | Original | | `1` | Cancellation of a previous DESADV, identified in `RFF` | | `4` | Change: only the changing areas are re-sent | | `5` | Replace: cancels and replaces a previous DESADV | | `7` | Duplicate, on the receiver's request | | `31` | Copy, for a third party | ### DTM qualifiers | Qualifier | Level | Meaning | |---|---|---| | `137` | Header | Message date (mandatory) | | `11` | Header | Despatch date | | `17` | Header | Estimated delivery date | | `358` / `359` | Header | Scheduled for delivery on or after / on or before | | `2` | Header | Requested delivery date | | `361` | Line | Best before date | | `36` | Line | Expiry date | | `94` | Line | Production date | ### QTY qualifiers | Qualifier | Level | Meaning | |---|---|---| | `12` | Line | Despatch quantity | | `21` | Line | Ordered quantity | | `59` | Line | Consumer units in the traded unit | | `121` | Line | Over shipped | | `192` | Line | Free goods quantity | | `52` | Package | Quantity per pack | ### PAC, PCI and GIN codes | Code | Meaning | |---|---| | `PAC+n++201::9` | n ISO 1 (Euro) pallets, GS1 code | | `PAC+n++09::9` | n returnable pallets, GS1 code | | `PAC+n++CT` | n cartons | | `PCI+33E` | Marked with SSCC, as used in GS1's own DESADV examples | | `PCI+39` | Marked with SSCC, as listed in the current segment code list | | `GIN+BJ` | Serial shipping container code | | `GIN+BX` | Batch number | On `33E` versus `39`: the EANCOM 2002 manual's DESADV examples use `33E`, while the segment's code list in the current edition gives `39`. Partner guides specify which they expect, so follow theirs. ### CNT qualifiers `CNT+2:n` counts LIN segments and is the one nearly everyone uses. EANCOM also defines `CNT+1` (total of line quantities), `CNT+11` (total packages, the sum of every `PAC` package quantity in the message) and `CNT+7` (total gross weight, the sum of line-level `MEA` gross weights). Because `CNT+11` adds every `PAC`, including the consignment level, agree with the partner exactly what they expect before sending it. ## Example 2: multi-pallet despatch with transport details Three pallets for one order: two single-product pallets and a third carrying two products. `TDT` records road transport by truck. Points to notice: - **The same GTIN can appear on several pallets.** GTIN 5098765100047 is on pallet 1 (160) and pallet 3 (80), as two separate LIN lines. The buyer adds them up to match the order line. - **Line numbers run through the message**, 1 to 4, not per pallet. EANCOM recommends sequential numbering starting at 1 in each message. - **`DTM+358`** says delivery is scheduled on or after 21 October. Some partners use it instead of `DTM+17`. - **`TDT+20++30+31'`** is main carriage (`20`) by road (`30`) on a truck (`31`). Add the carrier GLN or the vehicle registration if your partner asks for them. ## SSCC and GS1 labelling The **SSCC (Serial Shipping Container Code)** is an 18-digit GS1 number that identifies one logistic unit, such as a pallet or a carton, for its whole journey. It is made of an extension digit, your GS1 company prefix, a serial reference you allocate, and a check digit. GS1 sets out the rules on its [SSCC page](https://www.gs1.org/standards/id-keys/sscc). The same SSCC appears in two places, and they must match: 1. **On the pallet**, on a GS1 logistic label as a GS1-128 barcode with [application identifier](https://www.gs1.org/standards/barcodes/application-identifiers) (00). 2. **In the DESADV**, in `GIN+BJ+'`, under the CPS level for that pallet. A few practical rules: - **Never reuse an SSCC.** Each pallet or carton gets a new serial reference. The GS1 General Specifications say an SSCC must not be reallocated within one year of the shipment date, and industry or regulatory rules can extend that. - **Label what you describe.** If the DESADV describes cartons inside the pallet with their own SSCCs, those cartons need their own labels too. - **Generate both from one source.** Print the label and build the DESADV from the same shipment record. Typing an SSCC into one system and printing it from another is how mismatches happen. For more on the identifiers, see our glossary entries on the [SSCC](/glossary/sscc), [GS1-128](/glossary/gs1-128) and [GTIN](/glossary/gtin). ## Example 3: mixed pallet with SSCC-labelled cartons When a pallet is built from cartons that the buyer will break down and send on (to stores, for example), the buyer needs each carton's SSCC as well as the pallet's. That is a three-level tree: consignment, pallet, cartons. The parent numbers carry the structure: `CPS+3+2'` means "level 3, inside level 2", so each carton points at the pallet, and the pallet points at the consignment. A receiving system builds the tree from those numbers alone, so every parent must refer to a CPS level already sent in the message. There is a lighter alternative, GS1's option 2 and 4 pattern: keep the pallet as the lowest CPS level and list the carton SSCCs under each line in a `PCI`/`GIN` group, for example `GIN+BJ+:'` for a range. It produces a shorter message but tells the buyer less about which carton holds what. Use whichever your partner's guide specifies. ## Example 4: partial despatch against an order This despatches [order HL-PO-88231](/guides/edi/edifact-orders) after the supplier's [ORDRSP](/guides/edi/edifact-ordrsp) confirmed 40 of the 60 salt and pepper mill sets, with 20 on backorder. The DESADV says exactly that. | Segment | What it says | |---|---| | `QTY+12:40'` | 40 despatched | | `QTY+21:60'` | 60 were ordered | | `QVR+-20:21+BP'` | 20 fewer than ordered (`21`); partial shipment, backorder to follow (`BP`) | Use `CP` instead of `BP` if the shortfall will not be sent later and the line should be closed. EANCOM also defines the reason `WR` (temporarily unavailable) in the fourth element. Line 3 of the order (the tea towels, promised for 19 October in the ORDRSP) is simply absent: it will travel on its own DESADV when it ships. A DESADV must describe what is physically on the vehicle, not what was ordered. If you pick 40, the message says 40, even if your ERP still thinks 60 are allocated. ## Other variations you will meet **Several orders in one delivery.** The header `RFF+ON` can repeat, but then the buyer cannot tell which line belongs to which order. Put the order number on each line instead, in the line's reference group: ``` LIN+1++5098765100016:SRV' QTY+12:120' RFF+ON:HL-PO-88231' ``` Some partners require one DESADV per order instead. Check before you combine. **Best before and expiry dates.** Food and health suppliers add dates under the line: ``` LIN+1++5098765100078:SRV' QTY+12:96' DTM+361:20270430:102' ``` `DTM+361` is the best before date, `DTM+36` expiry and `DTM+94` production date. Batch numbers go in the line's package identification group as `GIN+BX`, in the layout your partner specifies. **Cancelling a DESADV.** Send a new DESADV with BGM function `1` and the original despatch number in `RFF`, then the corrected one as an original. Or use function `5` (replace) if the partner supports it. ## DESADV vs the X12 856 | Data | EDIFACT DESADV | X12 856 | |---|---|---| | Despatch / shipment number | `BGM` second element | `BSN02` | | Despatch date | `DTM+11` | `BSN03`, or `DTM*011` | | Packing hierarchy | `CPS` level and parent | `HL01` and `HL02` | | Level type | Implied by `PAC` content | `HL03` (`S`, `O`, `P`, `I`) | | Order reference | `RFF+ON` | `PRF01` at order level | | Pallet or carton ID | `GIN+BJ` (SSCC) | `MAN*GM` (SSCC-18) | | Package count and type | `PAC` | `TD1` | | Weight | `MEA+PD+AAB` | `TD1` weight elements | | Carrier and mode | `TDT` | `TD5` | | Product | `LIN` with GTIN (`SRV`) | `LIN` with `UP`, `EN`, `VN` or other qualifiers | | Despatched quantity | `QTY+12` | `SN102` | | Ordered quantity and status | `QTY+21` and `QVR` | `SN105` and `SN108` | | Line count | `CNT+2` | `CTT01` | The biggest conceptual difference is that the X12 856 normally has an explicit order level (`HL*O`) between shipment and pack. Many DESADV implementations carry the order reference once in the header `RFF+ON`, with one DESADV per order. If a single delivery covers several orders, check whether your partner wants one DESADV per order or line-level order references. ## UK retailer DESADV requirements The despatch advice is where UK retailers are strictest, because their depots book goods in by scanning the SSCC on each pallet against it. Confirm the current specification with each retailer during onboarding. ### Tesco - Send a despatch advice for deliveries into Tesco distribution centres before the goods arrive. - Label every pallet with a GS1 logistics label carrying a unique SSCC that matches the despatch advice. The SSCC section earlier in this guide covers the label. See the [Tesco EDI requirements](/edi-compliance/tesco) page. ### Morrisons - Morrisons has made advance shipping notices mandatory, sent as EDIFACT D96A DESADV. - If an [ORDCHG](/guides/edi/edifact-ordchg) amended the order, the DESADV must reflect the amended quantities, so apply amendments before you pick. See the [Morrisons EDI requirements](/edi-compliance/morrisons) page. ### Marks & Spencer - Send an ASN for each delivery. - Under self-billing, M&S raises the invoice from your ASN, so an error in the DESADV becomes an error in what you are paid. Our guide to [self-billing (ERS)](/blog/self-billing-ers-explained) explains how that works. See the [Marks & Spencer EDI requirements](/edi-compliance/marks-and-spencer) page. ### Sainsbury's - Sainsbury's sets up advance shipping notices and proof of delivery per account. Requirements differ for suppliers delivering direct to depot and those delivering to a second-tier site such as a bonded warehouse. See the [Sainsbury's EDI requirements](/edi-compliance/sainsburys) page. ### Co-op and Boots (TRADACOMS) The [Co-op](/edi-compliance/co-op) and [Boots](/edi-compliance/boots) take ASNs in TRADACOMS rather than EANCOM DESADV. The Co-op publishes precise timings: - Send the ASN no later than despatch, and make sure it is in Co-op's systems before the goods arrive. - For chilled orders, send it before 02:00 on the day of delivery. - For direct-to-store orders, send it before the delivery arrives and no later than 16:00 on the day of delivery. - Label each pallet with an SSCC in a GS1-128 barcode, plus the product code, quantity, best-before or expiry date and batch code. The TRADACOMS delivery notification file is `DELHDR`, the equivalent of DESADV. Don't confuse it with `DLCHDR`, the [delivery confirmation](/guides/edi/tradacoms-dlchdr) the retailer sends back after receipt. The [TRADACOMS file types](/guides/edi/tradacoms-file-types) reference lists both. ## Common DESADV errors and how to fix them | Problem | What happens | Fix | |---|---|---| | SSCC on the label does not match the message | Pallet booked in manually or refused | Print labels and build the DESADV from the same despatch record; scan each label at loading to confirm | | Duplicate SSCC | The buyer's system rejects the second pallet or overwrites the first | Allocate serial references from one counter per company prefix, never reset | | Invalid check digit | Scanners reject the label; the message fails validation | Calculate check digits in software, never type them | | Wrong CPS parent | A carton points at a level that does not exist, and the tree breaks | Number CPS levels sequentially and check that every parent was already sent | | Quantities that do not add up | Receiving discrepancy, RECADV query, then an invoice deduction | Send what was loaded, not what was ordered; use `QVR` for shortages | | Sent too late | The DC cannot plan the delivery; some partners treat it as non-compliant | Send at despatch, before the vehicle arrives | | Line on the wrong pallet | Store or DC stock records are wrong after cross-docking | Build lines from the pallet scan, not from the order | | Missing or wrong order reference | The delivery cannot be matched to an order | Quote the BGM number of the ORDERS exactly in `RFF+ON` | The [EDIFACT inspector](/edifact-inspector) checks UNT, UNZ and CNT counts, and validates every SSCC and GTIN check digit, before your partner's system does. ## Testing and onboarding checklist 1. **Confirm the hierarchy level** the partner expects (GS1 option 1 to 4), and whether cartons need their own SSCCs. 2. **Confirm the codes**: `PCI+33E` or `PCI+39`, pallet type codes in `PAC`, and which `DTM` qualifiers are mandatory. 3. **Confirm timing**: how long before arrival the DESADV must be received. 4. **Confirm one DESADV per order, per delivery, or per vehicle.** 5. **Set up SSCC allocation** from your GS1 company prefix, with a single counter and no reuse. 6. **Print test labels and test messages from the same record**, scan the labels, and compare every SSCC with the message. 7. **Test the variations in this guide**: single pallet, multi-pallet, mixed pallet, short shipment, and a cancellation. 8. **Reconcile to the invoice**: the quantities in the DESADV should be the quantities on the [INVOIC](/guides/edi/edifact-invoic), which quotes the DESADV number. ## Frequently Asked Questions ### What is the difference between DESADV and ASN? They describe the same business document. ASN (advance ship notice) is the common US name and the X12 856 is its format. DESADV is the UN/EDIFACT despatch advice message used in the UK, Europe and elsewhere. Both tell the buyer what was shipped, how it is packed, and how each pallet or carton is identified. ### What does BGM+351 mean? `351` is the UN/EDIFACT document name code for a despatch advice. The second element is your despatch number and the third is the message function, usually `9` for an original. ### What does CPS mean in DESADV? CPS is the consignment packing sequence segment. Each CPS opens a level of the packing hierarchy and gives its own level number and its parent's level number, so a message can describe consignment, pallets, cartons and items as a tree. ### What does GIN+BJ mean? `GIN` is the goods identity number segment and `BJ` is the qualifier for a Serial Shipping Container Code. `GIN+BJ+350987650000000010'` says the package described at this CPS level carries that SSCC. ### Does a DESADV need a UNS segment? No. The EANCOM DESADV structure has no `UNS`. The last `LIN` group is followed directly by `CNT` and `UNT`. Adding a `UNS` can cause a partner's parser to reject the message. ### Can one DESADV cover several purchase orders? Yes, if the partner allows it. Put each order number on its lines in `RFF+ON` rather than relying on the header. Many partners require one DESADV per order, so check the implementation guide. ### Is DESADV the same as a delivery note? It does the same job as a paper delivery note, electronically and in advance. In TRADACOMS, the older UK standard, the equivalent is the delivery notification file. See [TRADACOMS file types](/guides/edi/tradacoms-file-types). ### What comes after DESADV? The buyer may send [RECADV](/guides/edi/edifact-recadv), the receiving advice (X12 [861](/guides/edi/861-receiving-advice)), to report what arrived. You then bill with [INVOIC](/guides/edi/edifact-invoic), quoting the DESADV number. ## Related guides - **[EDIFACT explained](/guides/edi/edifact)**: syntax, envelopes and the X12 mapping - **[EDIFACT message types](/guides/edi/edifact-message-types)**: the full catalogue - **[EDIFACT ORDERS](/guides/edi/edifact-orders)** and **[ORDRSP](/guides/edi/edifact-ordrsp)**: the order and response before despatch - **[EDIFACT RECADV](/guides/edi/edifact-recadv)**: what the buyer received - **[EDIFACT INVOIC](/guides/edi/edifact-invoic)**: the invoice that follows - **[EDI 856 ship notice](/guides/edi/856-ship-notice)**: the X12 counterpart and its HL hierarchy ## Sources - [EANCOM 2002 S3: DESADV despatch advice message](https://www.gs1.org/sites/default/files/docs/eancom/ean02s3/part2/desadv/toc.htm), GS1 (structure, principles, examples and code lists) - [EANCOM 2002 S3: DESADV introduction](https://www.gs1.org/sites/default/files/docs/eancom/ean02s3/part2/desadv/intro.htm), GS1 (the four levels of hierarchy detail) - [EANCOM 2002 S3: DESADV CPS segment](https://www.gs1.org/sites/default/files/docs/eancom/ean02s3/part2/desadv/0524.htm), GS1 - [Serial Shipping Container Code (SSCC)](https://www.gs1.org/standards/id-keys/sscc), GS1 - [UN/EDIFACT D.01B DESADV message](https://service.unece.org/trade/untdid/d01b/trmd/desadv_c.htm), UNECE Check your DESADV hierarchy, counts and SSCC check digits in the free [EDIFACT inspector](/edifact-inspector). --- # TRADACOMS DLCHDR: Delivery Confirmation Explained Source: https://ordersync.io/guides/edi/tradacoms-dlchdr > TRADACOMS DLCHDR delivery confirmation files explained: DLCDET and DLCTLR, DST and DCD variance codes, live proof of delivery examples and EANCOM RECADV. DLCHDR is the TRADACOMS delivery confirmation file a UK customer sends its supplier after goods arrive, often called the proof of delivery. It holds a DLCHDR header, one DLCDET message per delivery with DCD lines for the quantities received and variance codes for shortages or damage, and a DLCTLR trailer. Its EANCOM equivalent is RECADV. The delivery confirmation is the retailer telling you what it actually received. Not what you picked, not what your delivery note says, but what was counted at goods-in. If those differ, this file is your first warning, and it usually arrives before the deduction on your remittance does. Not every UK retailer sends one. Where they do, it is the document to invoice against. M&S's EDI guides for Food suppliers say it plainly: the proof of delivery tells suppliers the quantities M&S received, and suppliers should invoice those quantities. This guide explains how a DLCHDR file is built, how to read its variance codes, and how it maps to the [EDIFACT RECADV](/guides/edi/edifact-recadv) receiving advice. ## What is a TRADACOMS DLCHDR file? **DLCHDR is the delivery confirmation file in TRADACOMS, the UK retail EDI standard created by the Article Numbering Association, now GS1 UK.** The customer sends it to the supplier to confirm the goods and quantities delivered at a location. Its transaction code, `0670`, is defined in the TRADACOMS code list as "Confirmation of Delivery: confirms the goods and quantities which have been delivered at a location". Do not confuse it with **DELHDR**, the delivery notification file. They flow in opposite directions: | | DELHDR delivery notification | DLCHDR delivery confirmation | |---|---|---| | Sent by | Supplier | Customer | | When | At or before despatch | After the goods are received | | Says | "This is what we are sending" | "This is what we received" | | Detail message | `DELIVR` | `DLCDET` | | EANCOM equivalent | [DESADV](/guides/edi/edifact-desadv) | [RECADV](/guides/edi/edifact-recadv) | | X12 equivalent | [856](/guides/edi/856-ship-notice) | [861](/guides/edi/861-receiving-advice) | ## DLCHDR file structure ``` STX Start of transmission (customer to supplier, APRF DLCHDR) │ ├── MHD DLCHDR Delivery confirmation header once per file │ TYP SDT CDT FIL (DNA FDT) │ MTR │ ├── MHD DLCDET Delivery confirmation details once per delivery, repeats │ CLO where it was delivered │ ODD order, delivery note, POD reference │ DST overall delivery status │ DCD (DPI DNB) ... one per product line received │ RCD (RPI RNB) ... one per product line returned │ DCT number of DCD and RCD lines │ MTR │ ├── MHD DLCTLR Delivery confirmation trailer once per file │ COT confirmations in this file │ MTR │ END End of transmission (number of messages) ``` Each message carries its own version number in `MHD`, and for this file they are not 9. The TRADACOMS table in IBM's Gentran:Server documentation lists version 4 for all three release 9 delivery confirmation messages, so the examples below use 4. Other tools list other versions, so use whatever your partner's guide names. ## Example: confirmation with one damaged case Fictional retailer Harbour Lane Stores confirms a delivery from fictional supplier Kestrel Valley Homeware to its northern distribution centre. Forty cases of chopping boards were ordered and delivered, but one case arrived damaged. The other two lines were received in full. Identifiers are made up, with valid GS1 check digits. | Segment | What it says | |---|---| | `STX=...+DLCHDR+B'` | Customer to supplier; application reference `DLCHDR` | | `TYP=0670+...` | Transaction code 0670: confirmation of delivery | | `SDT` / `CDT` | Supplier and customer, sent once for the whole file | | `FIL=611+1+261015'` | File generation number 611, version 1 | | `CLO=5012345000107:00212+...` | The location that received the goods | | `ODD=1+HL-PO-88340::261012+KV-DN-55120:261015+++HL-POD-77310:261015'` | The order and its date, your delivery note and its date, and the customer's proof of delivery number and the date the goods were delivered | | `DST=1+D'` | Delivery status `1`: variance from the instruction; reason `D`: damaged goods | | `DCD=1+...+6+39+...+1++40'` | 39 cases of 6 received in prime condition (stock status `1`) against 40 required | | `DCD=2+...+6+1+...+2+D'` | 1 case received damaged (stock status `2`), reason `D` | | `DCD=3` / `DCD=4` | The other two lines, received in full | | `DCT=4'` | Four confirmation lines in the message | | `COT=1'` | One delivery confirmation in the file | | `END=3'` | Three messages | How partners record damaged stock varies. Splitting a product across two DCD lines with different stock status codes, as here, is one way the segment allows; others send a single line with the accepted quantity and a variance reason. Check your partner's guide. ## Segment reference Release 9 layouts. "M" is mandatory and "O" optional in the standard. The EANCOM column gives the closest equivalent in the [RECADV receiving advice](/guides/edi/edifact-recadv). ### DLCHDR: file header | Segment | Name | Status | What it carries | EANCOM equivalent | |---|---|---|---|---| | `MHD` | Message header | M | Message number and `DLCHDR:version` | `UNH` | | `TYP` | Transaction type | M | 0670 confirmation of delivery | `BGM+632` | | `SDT` | Supplier details | M | Supplier GLN and code | `NAD+SU` | | `CDT` | Customer details | M | Customer GLN and name | `NAD+BY` | | `DNA` | Data narrative | O | File-level notes | `FTX` | | `FIL` | File details | M | File generation number, version and date | No direct equivalent | | `FDT` | File period dates | O | Period end dates covered by the file | `DTM` period | | `MTR` | Message trailer | M | Segment count | `UNT` | ### DLCDET: one per delivery | Segment | Name | Status | What it carries | EANCOM equivalent | |---|---|---|---|---| | `CLO` | Customer's location | M | Receiving location: GLN and codes | `NAD+DP` | | `ODD` | Order and delivery references | M, repeats | Order number and date, delivery note number and date, number of units, weights, proof of delivery number and delivery date, carrier | `RFF+ON`, `RFF+AAK`, `DTM+50` | | `DST` | Delivery status | M | Delivery condition code, reason for variance, action (cancel or rebook) | `QVR` reason, or no variance | | `DNA` | Data narrative | O | Delivery-level notes | `FTX` | | `DCD` | Delivery confirmation details | O, repeats | Product, pack, quantity delivered, stock status, variance reason, quantity required | `LIN`, `QTY+194`, `QTY+21`, `QVR` | | `DPI` | Delivered pallet identity | O, per line | Identity of the pallets the line arrived on | `GIN+BJ` (SSCC) | | `DNB` | Data narrative | O, per line | Line-level notes | `FTX` | | `RCD` | Returns confirmation details | O, repeats | Product and quantity returned or uplifted | `LIN` with a returns quantity | | `RPI` / `RNB` | Returned pallet identity, returns narrative | O | Pallet IDs and notes for returns | `GIN`, `FTX` | | `DCT` | Delivery confirmation trailer | O | Number of DCD and RCD lines | `CNT+2` | ### DLCTLR: file trailer | Segment | Name | Status | What it carries | EANCOM equivalent | |---|---|---|---|---| | `COT` | Confirmation file totals | M | Number of DLCDET messages in the file | None | ## Reading DST and DCD The delivery status segment `DST` gives the overall result; each `DCD` gives the line. **DST delivery condition codes (code list 21), the ones you will see most:** | Code | Meaning | |---|---| | `0` | Delivered as instructed | | `1` | Delivery variance from a previously transmitted instruction | | `2` | Completely undelivered; not to be replanned | | `3` | Delivery variance with no prior transmitted instruction | | `4` | Completely undelivered; to be replanned | | `M` | Proof of delivery | **DCD line layout:** | Position | Field | In `DCD=1+5098765100016:KV-1001+++6+39+BAMBOO CHOPPING BOARD:LARGE+1++40'` | |---|---|---| | 1 | `SEQA` line number | `1` | | 2 | `SPRO` GTIN of the traded unit, supplier's code, DUN-14 | `5098765100016:KV-1001` | | 3 to 4 | `SACU` consumer unit EAN, `CPRO` customer's codes | empty | | 5 | `UNOR` consumer units per traded unit | `6` | | 6 | `DELQ` traded units in the delivery | `39` | | 7 | `TDES` description | `BAMBOO CHOPPING BOARD:LARGE` | | 8 | `SSTC` stock status: 1 prime, 2 damaged, 3 out of date, 4 quarantined, 5 written off | `1` | | 9 | `DUAC` reason for variance and action | empty | | 10 | `AQTY` traded units required | `40` | | 11 | `SREF` secondary reference | empty | **Reasons for variance (code list 17)** appear in both `DST` and `DCD`. Common ones: `A` out of stock, `C` refused delivery, `D` damaged goods, `E` driver short delivered, `N` over delivery, `Q` product delivered not ordered, `V` late delivery, `Z` substitute product, and `AA` confirmation of no variance. The optional second component is an action: `C` cancel or `R` rebook. Like every TRADACOMS quantity, `DELQ` and `AQTY` count traded units, so 39 here means 39 cases of 6, not 39 boards. ## Example: a file covering two store deliveries Store suppliers often receive one file covering several drops. Here the Leeds store received only two of three cases of tea towels (reason `E`, driver short delivered), while York received its order in full. The supplier details travel once, in the header. The Leeds shortfall is now on record from the customer's side. Invoice two cases, not three, or expect a debit note for the third and send a [credit note (CREHDR)](/guides/edi/tradacoms-crehdr) with reason code `38` to match it. ## What to do when a DLCHDR arrives 1. **Match it to the delivery.** Use the order number and delivery note number in `ODD` to find your despatch record. 2. **Compare line by line.** For each `DCD`, compare `DELQ` with what you despatched, not just what was ordered. Look at `SSTC` for damaged or out-of-date stock. 3. **Read the reason.** `E` driver short delivered points at the carrier; `D` damaged goods at packing or transit; `A` out of stock usually means you short-shipped and already know. 4. **Invoice the confirmed quantity**, where your partner asks for that. M&S's Food guides ask suppliers to invoice the POD quantities. 5. **Dispute quickly.** If you hold a signed delivery note or carrier proof showing a different count, raise it now, while the delivery is recent. ## DLCHDR to EANCOM RECADV M&S publishes the same proof of delivery flow both ways: its TRADACOMS guides name DLCHDR, and its EANCOM proof of delivery guide is built on the RECADV message. Here is how the content lines up. | Business data | TRADACOMS delivery confirmation | EANCOM RECADV | |---|---|---| | Document type | `TYP=0670` | `BGM+632` | | Receiving location | `CLO` | `NAD+DP` | | Order reference | `ODD` order number | `RFF+ON` | | Your delivery note or despatch reference | `ODD` delivery note number | `RFF+AAK` (despatch advice) | | Date received | `ODD` proof of delivery date | `DTM+50` | | Overall result | `DST` | No single segment; implied by line variances | | Product | `DCD` `SPRO` | `LIN` GTIN | | Quantity received | `DCD` `DELQ` | `QTY+194` (received and accepted) | | Quantity expected | `DCD` `AQTY` | `QTY+21` or `QTY+12` | | Variance reason | `DCD` `DUAC`, `SSTC` | `QVR` with a discrepancy code | | Pallet received | `DPI` | `GIN+BJ` SSCC | | Line count | `DCT` | `CNT+2` | | Confirmations in file | `COT` | None | The X12 counterpart is the [861 receiving advice](/guides/edi/861-receiving-advice). ## Which UK retailers send DLCHDR Public evidence is thinner for DLCHDR than for orders and invoices, because fewer retailers send it. - **M&S** sends a proof of delivery to Food suppliers. Its TRADACOMS implementation guides name DLCHDR as the TRADACOMS message and its EANCOM guide for the same flow uses RECADV. See the [Marks & Spencer page](/edi-compliance/marks-and-spencer). - **Sainsbury's** lists proof of delivery among the messages commonly set up with suppliers, and trades both EDIFACT and TRADACOMS, per Cegedim. Which standard carries it for your account is for Sainsbury's EDI team to confirm. See the [Sainsbury's page](/edi-compliance/sainsburys). If your partner does not send one, you will usually learn about shortages from a debit note or a remittance deduction instead, which is later and harder to dispute. ## Common DLCHDR problems 1. **Reading DELQ as consumer units.** Delivered quantities are traded units, with the pack size in `UNOR`. 2. **Treating it as the despatch notice.** DLCHDR comes from the customer after receipt. Your outbound notice is DELHDR, or DESADV in EANCOM. 3. **Ignoring stock status.** A line can show the full quantity delivered with `SSTC` 2 (damaged). Count it as a shortfall for invoicing. 4. **Not matching on the delivery note.** One order can arrive in several deliveries. Match on the order number and the delivery note number in `ODD` together. 5. **Envelope counts.** As with every TRADACOMS file, `MTR` counts from `MHD` to `MTR` inclusive and `END` counts every message, so a file with two confirmations has `END=4`. Checking `COT` against the number of `DLCDET` messages catches truncated files. ## How OrderSync handles DLCHDR OrderSync reads delivery confirmations in TRADACOMS and EANCOM and matches each line to the order and despatch already in your system, so a short or damaged line becomes an exception to review before you invoice, not a deduction you find a month later. Paste a file into the free [EDIFACT inspector](/edifact-inspector) to see what it contains first. ## Frequently Asked Questions ### What is DLCHDR in EDI? DLCHDR is the TRADACOMS delivery confirmation file used in UK retail. The customer sends it after goods are received to confirm what arrived. It contains a DLCHDR header, one DLCDET message per delivery and a DLCTLR trailer. ### Is DLCHDR the same as a proof of delivery? In practice, yes. Retailers that send a proof of delivery in TRADACOMS use the delivery confirmation file, and the ODD segment carries the proof of delivery number and the date of delivery. M&S's EDI guides use the terms together. ### What is the difference between DLCHDR and DELHDR? DELHDR is the delivery notification the supplier sends before or at despatch, saying what is on its way. DLCHDR is the delivery confirmation the customer sends after receipt, saying what arrived. They are the TRADACOMS counterparts of DESADV and RECADV. ### What is the EDIFACT equivalent of DLCHDR? The EANCOM RECADV receiving advice, with document code `BGM+632`. In X12, the closest equivalent is the 861 receiving advice. ### What does DST=0 mean in a delivery confirmation? `DST` is the delivery status segment and `0` means the delivery was made as instructed. `1` means there is a variance from the instruction, and the second element gives the reason, such as `D` damaged goods or `E` driver short delivered. ### Should I invoice the ordered or the confirmed quantity? Invoice what your partner will pay for. Where a retailer sends a delivery confirmation, that is usually the confirmed quantity: M&S tells Food suppliers to invoice the POD quantities. Invoicing more leads to a debit note and a credit note to clear it. ## Related guides - **[TRADACOMS explained](/guides/edi/tradacoms)**: syntax, STX and END, and how files work - **[TRADACOMS file types](/guides/edi/tradacoms-file-types)**: every file type and its EANCOM equivalent - **[TRADACOMS INVFIL](/guides/edi/tradacoms-invfil)**: invoicing the confirmed quantities - **[TRADACOMS CREHDR](/guides/edi/tradacoms-crehdr)**: crediting shortages and damages - **[EDIFACT RECADV](/guides/edi/edifact-recadv)**: the EANCOM receiving advice ## Sources - [TRADACOMS release 9 DLCDET layout](https://www.kasoftware.com/schema/edi/tradacoms/9/messages/DLCDET/), KA Software schema reference, including the DLCHDR, DLCTLR, DST, DCD, DCT, COT and TYP code list pages - [M&S Purchase Order implementation guide (TRADACOMS)](https://mands.gxs.co.uk/content/Implementation_Guides/MS%20Message_Implementation%20Guide_Purchase_Order_tradacom_071110.pdf) and [M&S Proof of Delivery implementation guide (EANCOM RECADV)](https://mands.gxs.co.uk/content/Implementation_Guides/MS_Message_Implementation_Guide_%20Proof_of_Delivery_Eancom.pdf), Marks & Spencer via GXS - [Using proprietary TRADACOMS standards](https://public.dhe.ibm.com/software/commerce/doc/gentran/server/unix/61/TB_tcom.pdf), Gentran:Server technical bulletin, IBM: the TRADACOMS header, detail and trailer message table with message versions - [Connect to Sainsbury's via EDI](https://www.cegedim-business-services.co.uk/resources/blog/connect-to-sainsburys-via-edi), Cegedim - [TRADACOMS](https://en.wikipedia.org/wiki/TRADACOMS), Wikipedia: the delivery confirmation file in the list of 25 transaction files - [Ending support for TRADACOMS](https://www.gs1uk.org/insights/news/ending-support-for-tradacoms), GS1 UK Check a DLCHDR's structure and counts in the free [EDIFACT inspector](/edifact-inspector). --- # EDIFACT Explained: Format, Envelope and X12 Mapping Source: https://ordersync.io/guides/edi/edifact > What UN/EDIFACT is, how its syntax and UNB/UNH envelope work, how to read an interchange, D96A vs D01B, EANCOM, every message family, and EDIFACT vs X12. EDIFACT (UN/EDIFACT) is the United Nations standard for electronic data interchange, used across Europe, the UK and most trade outside North America. It sends business documents such as ORDERS, DESADV and INVOIC as delimited text segments inside a UNB/UNZ envelope. It does the same job as ANSI X12 with different syntax and message names. If you already run X12 with US retailers, EDIFACT will feel familiar within an hour. The documents are the same ones you already exchange: purchase order, acknowledgment, ship notice, invoice. What changes is the punctuation, the envelope, the names, and the way versions are labelled. This guide covers the history, the syntax, the envelope, how to read an interchange step by step, directory versions, the GS1 EANCOM subset most retail partners use, every message family, and a detailed comparison with X12 and with the UK's older TRADACOMS standard. The live example below is a complete, valid interchange you can open in the free [EDIFACT inspector](/edifact-inspector). ## What is EDIFACT? **UN/EDIFACT (United Nations/Electronic Data Interchange for Administration, Commerce and Transport) is an international EDI standard developed under the United Nations and published by [UNECE](https://unece.org/trade/uncefact/introducing-unedifact).** It defines three things: syntax rules for structuring data, a library of standard messages (ORDERS, INVOIC, DESADV and about two hundred more), and the data elements and code lists those messages draw on. In practice, "EDIFACT" covers three layers: | Layer | What it is | Who maintains it | |---|---|---| | Syntax rules | How segments, elements and envelopes are written | UN/CEFACT, published as ISO 9735 | | Directories | Dated releases of every message, segment and code list (D.96A, D.01B) | UN/CEFACT | | Subsets and guides | Cut-down versions for one industry, plus each partner's own rules | GS1 (EANCOM), industry bodies, trading partners | When a UK grocer or a European distributor says "we send EDIFACT", they almost always mean a specific subset plus their own implementation guide on top of it, the same way Walmart's 850 is X12 plus Walmart's rules. ## A short history of EDIFACT | Year | Milestone | |---|---| | Early 1980s | National and UN syntaxes compete. The UK's [TRADACOMS](/guides/edi/tradacoms), launched in 1982, is built on the UN/GTDI syntax, a precursor of EDIFACT | | 1987 | After the UN and US/ANSI syntax proposals converge, the UN/EDIFACT syntax rules are approved as ISO 9735, according to UNECE's [syntax implementation guidelines](https://unece.org/fileadmin/DAM/trade/edifact/untdid/d4231_s1.htm) | | 1997 | GS1's retail subset, EANCOM 1997, is published on directory D.96A | | 2001 | UN/CEFACT releases directory D.01B, the basis of EANCOM 2002 | | 2017 | GS1 UK ends support for TRADACOMS and backs EANCOM and GS1 XML instead | Maintenance and development sit with UN/CEFACT, the UN Centre for Trade Facilitation and Electronic Business, under UNECE. New directories are still published, but retail and logistics partners mostly stay on the older ones their systems were built for. ## How to read an EDIFACT interchange, step by step Faced with a raw file from a new partner, work through it in this order. The live example further down follows the same steps. 1. **Find the separators.** If the file starts with `UNA`, the next six characters declare the separators. If not, assume the defaults: `:` `+` `.` `?` space `'`. 2. **Read the UNB.** It tells you the character set (`UNOA`, `UNOC`), syntax version, sender, recipient, date and the interchange control reference. 3. **Split the messages.** Each `UNH` starts a message and names its type and version, for example `ORDERS:D:01B:UN:EAN010`. Each `UNT` ends it. 4. **Read the BGM.** It gives the document code (`220` order, `380` invoice, `351` despatch advice), the document number, and whether it is an original (`9`), a replacement (`5`) or a cancellation (`1`). 5. **Decode the qualifiers.** Most segments are generic. `DTM+137` is the document date, `DTM+2` the requested delivery date. `NAD+BY` is the buyer, `NAD+SU` the supplier, `NAD+DP` the delivery point. 6. **Walk the lines.** Each `LIN` starts an item. The segments after it (`PIA`, `IMD`, `QTY`, `PRI`, `MOA`, `TAX`) belong to that line until the next `LIN` or the `UNS` section control. 7. **Check the controls.** `CNT` totals in the summary, the segment count in `UNT`, and the message count and reference in `UNZ` must all match what is in the file. ## EDIFACT syntax: segments, elements and separators An EDIFACT file is plain text made of **segments**, each starting with a three-letter tag. Segments contain **data elements**, and some data elements are **composites** made of several **component elements**. ``` NAD + BY + 5012345000008 : : 9 ' | | | | | | | | | | | | | segment terminator | | | | | code list agency: 9 = GS1 | | | | empty component (code list) | | | component separator | | party identifier: the buyer's GLN | party qualifier: BY = buyer segment tag: NAD = name and address ``` The same pattern, a tag followed by a qualifier and a value, runs through the whole standard: ``` DTM + 137 : 20261011 : 102 ' | | | | | format: 102 = CCYYMMDD | the date qualifier: 137 = document date ``` ### The service characters | Character | Role | Default | |---|---|---| | Component data element separator | Splits parts of a composite | `:` | | Data element separator | Splits elements within a segment | `+` | | Decimal mark | Separates whole and fractional numbers | `.` in EANCOM | | Release character | Escapes the next character so it is read as text | `?` | | Segment terminator | Ends a segment | `'` | ### The UNA service string advice A file can open with a `UNA` segment that declares which characters it uses. It is always exactly nine characters: `UNA` plus six service characters in a fixed order. ``` UNA:+.? ' ``` Position by position: `:` component separator, `+` element separator, `.` decimal mark, `?` release character, a space (reserved in syntax version 3), and `'` segment terminator. GS1 adds that the same character must not be used in more than one position. UNA is optional when a file uses the defaults with character set level A. The EANCOM manual says it must be sent when partners use a character set from B to F with the default separators, which covers the common `UNOC` case in European retail. In syntax version 4, the reserved fifth position becomes the repetition separator. ### The release character The release character `?` lets a separator appear inside data. A product description of "Salt + Pepper Mill Set" has to be written: ``` IMD+F++:::SALT ?+ PEPPER MILL SET' ``` Without the `?`, a parser would split the description at the `+`. The same applies to `:`, `'` and `?` itself (`??` is a literal question mark). Unescaped apostrophes in names such as "O'Neill" are the most common cause of broken EDIFACT files in UK trade, because the `'` ends the segment mid-name. ### Empty and missing data The EANCOM manual sets out how empty data is left out: - **Empty conditional segments are omitted** entirely, tag and all. - **An empty element in the middle keeps its separator**, so position is preserved: `NAD+BY+5012345000008::9'` has an empty code list component between the two colons. - **Trailing empty elements are truncated.** The segment ends at the last element with data. Parsers must not assume a fixed element count. - **Line breaks are not part of the format.** Real files are often one continuous line. Examples on this page put one segment per line for readability, and the inspector accepts both. ### Numbers EANCOM uses the point as the decimal mark, with at least one digit either side when a decimal is sent. Thousands separators are not allowed: `2500000`, never `2,500,000`. Values are treated as positive. A credit note carries positive amounts and the document code tells the receiver to treat them as negative. Where a negative value is needed, a minus sign goes immediately before the number. The underlying UN/EDIFACT syntax versions 1 to 3 define the comma as the default decimal mark, which is why `UNA` declares it explicitly. If your partner sends `UNA:+.? '`, the dot is the decimal mark and `1406.40` means what it looks like. ### Character sets The first part of the UNB syntax identifier names the character set. GS1 recommends level A for EANCOM and asks partners to agree anything else first. | Identifier | Character set | Covers | |---|---|---| | `UNOA` | Level A, ISO 646 subset | Upper case letters, digits, space and basic punctuation | | `UNOB` | Level B, ISO 646 subset | Level A plus lower case letters | | `UNOC` | Level C, ISO 8859-1 | Western European languages, including accented letters | | `UNOD` | Level D, ISO 8859-2 | Central European languages | | `UNOE` | Level E, ISO 8859-5 | Cyrillic | | `UNOF` | Level F, ISO 8859-7 | Greek | ## The EDIFACT envelope: UNB, UNG, UNH EDIFACT nests data in three levels, like X12. The interchange is the outer envelope, an optional functional group sits inside it, and each business document is a message. ``` UNA Service string advice (optional) UNB Interchange header UNG Functional group header (optional, rarely used) UNH Message header BGM, DTM, NAD, LIN ... the business document UNT Message trailer: segment count UNE Functional group trailer UNZ Interchange trailer: message count ``` ### UNB: interchange header ``` UNB+UNOC:3+5012345000008:14+5098765000002:14+261011:0915+HLS000451++ORDERS' ``` | Element | Value | Meaning | |---|---|---| | Syntax identifier | `UNOC:3` | Character set level C (Latin-1), syntax version 3 | | Sender | `5012345000008:14` | Sender ID, qualifier `14` = GS1 GLN | | Recipient | `5098765000002:14` | Recipient ID, also a GLN | | Date and time | `261011:0915` | YYMMDD:HHMM in syntax version 3 | | Control reference | `HLS000451` | Unique interchange number, repeated in UNZ | | Application reference | `ORDERS` | Optional, often the message type inside | ### UNH and UNT: message header and trailer ``` UNH+1+ORDERS:D:01B:UN:EAN010' ... UNT+26+1' ``` The UNH carries a message reference (`1`) and the message identifier: type `ORDERS`, version `D` (the code for a UN/EDIFACT directory), release `01B`, controlling agency `UN`, and an association code. `EAN010` identifies the EANCOM 2002 version of ORDERS. UNT carries the number of segments in the message **including UNH and UNT themselves**, plus the same message reference. ### UNZ: interchange trailer ``` UNZ+1+HLS000451' ``` The count of messages (or groups, if UNG is used) and the control reference, which must match the UNB. A mismatch here, or a wrong UNT count, is the most common reason a partner rejects an interchange outright. ### UNG and UNE UNG/UNE functional groups exist in the standard but are optional and uncommon in retail EDIFACT. Most partners send messages directly inside UNB/UNZ. This is a real difference from X12, where GS/GE is mandatory. ## A complete EDIFACT interchange This is a valid EANCOM purchase order from the fictional UK retailer Harbour Lane Stores to the fictional supplier Kestrel Valley Homeware, with three order lines. GLNs and GTINs are made up, with valid GS1 check digits. Read it with the seven steps above. The separators are the defaults, declared in `UNA`. The `UNB` says Latin-1, syntax 3, from one GLN to another. The single `UNH` is an EANCOM 2002 ORDERS. `BGM+220` is an original purchase order, `DTM+137` its date and `DTM+2` the delivery date requested. Three `LIN` groups each carry a GTIN, the supplier's own code (`PIA+1`), a description, the ordered quantity (`QTY+21`) and a net price. `CNT+2:3` confirms three lines, `UNT+26` counts 26 segments, and `UNZ+1` closes one message with the same reference as the `UNB`. The [EDIFACT ORDERS guide](/guides/edi/edifact-orders) walks through every segment in this message. ## EDIFACT directories: D96A, D01B and the rest EDIFACT messages are versioned by **directory**. A directory is a dated release of every message, segment, data element and code list, named by year and release letter: `D.96A`, `D.01B`, `D.21A`. | | D.96A | D.01B | |---|---|---| | Released | 1996 | 2001 | | EANCOM edition | EANCOM 1997 | EANCOM 2002 (syntax 3 and 4 editions) | | UNH example | `ORDERS:D:96A:UN:EAN008` | `ORDERS:D:01B:UN:EAN010` | | Status in GS1 | Replaced by EANCOM 2002 | The current EANCOM standard | | Where you meet it | Long-running retail links that never upgraded | Most current retail and FMCG partners | What this means in practice: - **Your partner picks the directory.** It appears in every UNH. You map to what they send, not to the newest release. - **Old directories stay in production for decades.** D.96A and D.01B are the two you will see most in retail, because the two main EANCOM editions are built on them. - **Differences between directories are usually small** for core messages, but code lists and segment groups do move. A map built for D.96A ORDERS will not always read D.01B cleanly. ## EANCOM and GS1 [GS1 EANCOM](https://www.gs1.org/edi/eancom/s3) is GS1's subset of UN/EDIFACT for retail and consumer goods supply chains. GS1 describes EANCOM 2002 as a subset of selected messages from directory D.01B, including only the parts that are mandatory or relevant to GS1 users. It requires GS1 identifiers throughout: GLNs for parties and locations, GTINs for products, SSCCs for pallets and cartons. EANCOM 2002 replaced EANCOM 1997 (built on D.96A) and exists in a syntax version 3 and a syntax version 4 edition. Each EANCOM message carries its own subset version number, `EAN` plus three digits, at the end of the UNH message identifier. In EANCOM 2002 syntax 3: | Message | EANCOM version | Message | EANCOM version | |---|---|---|---| | ORDERS | `EAN010` | INVOIC | `EAN011` | | ORDRSP | `EAN009` | RECADV | `EAN008` | | ORDCHG | `EAN007` | PRICAT | `EAN009` | | DESADV | `EAN007` | INVRPT | `EAN007` | | APERAK | `EAN003` | SLSRPT | `EAN007` | If a UK or European retailer sends you an "EDIFACT spec", expect an EANCOM-based guide with their own mandatory segments and codes layered on top. ## EDIFACT message families The EANCOM 2002 syntax 3 edition alone has 46 messages. These are the ones a retail or wholesale supplier meets most, grouped by the job they do. The [EDIFACT message types reference](/guides/edi/edifact-message-types) lists every message by business flow. | Flow | Message | What it does | Direction | X12 | |---|---|---|---|---| | Ordering | [ORDERS](/guides/edi/edifact-orders) | Purchase order | Buyer to supplier | [850](/guides/edi/850-purchase-order) | | Ordering | [ORDRSP](/guides/edi/edifact-ordrsp) | Order response: accept, change or reject | Supplier to buyer | [855](/guides/edi/855-purchase-order-acknowledgment) | | Ordering | [ORDCHG](/guides/edi/edifact-ordchg) | Change to an order already sent | Buyer to supplier | [860](/guides/edi/860-purchase-order-change) | | Delivery | [DESADV](/guides/edi/edifact-desadv) | Despatch advice: what is on the lorry | Supplier to buyer | [856](/guides/edi/856-ship-notice) | | Delivery | [RECADV](/guides/edi/edifact-recadv) | Receiving advice: what arrived | Buyer to supplier | [861](/guides/edi/861-receiving-advice) | | Invoicing | [INVOIC](/guides/edi/edifact-invoic) | Invoice, credit note, debit note | Supplier to buyer | [810](/guides/edi/810-invoice) | | Acknowledgement | [CONTRL](/guides/edi/edifact-contrl) | Syntax and service report | Either | [997](/guides/edi/997-functional-acknowledgment) | | Acknowledgement | [APERAK](/guides/edi/edifact-aperak) | Application error and acknowledgement | Either | [824](/guides/edi/824-application-advice) | | Product | [PRICAT](/guides/edi/edifact-pricat) | Price and sales catalogue | Supplier to buyer | [832](/guides/edi/832-price-sales-catalog) | | Reporting | [INVRPT](/guides/edi/edifact-invrpt) | Inventory report | Either | [846](/guides/edi/846-inventory-inquiry) | | Reporting | [SLSRPT](/guides/edi/edifact-slsrpt) | Sales data report | Buyer to supplier | [852](/guides/edi/852-product-activity-data) | | Payment | REMADV | Remittance advice | Buyer to supplier | [820](/guides/edi/820-payment-order) | | Planning | DELFOR | Delivery schedule | Buyer to supplier | [830](/guides/edi/830-planning-schedule) | The mapping to X12 is at the document level. Field-level mapping is never one-to-one: an X12 `PO1` line carries quantity, price and product IDs in one segment, while EDIFACT spreads the same data across `LIN`, `PIA`, `QTY` and `PRI`. ## EDIFACT vs X12 The two standards solve the same problem. The differences are syntax, governance and geography. | | EDIFACT | X12 | |---|---|---| | Governed by | UN/CEFACT (UNECE); syntax is ISO 9735 | ASC X12 (ANSI accredited) | | Main regions | Europe, UK, Asia, Middle East, global logistics and customs | United States, Canada, Mexico | | Document names | Six-letter codes: ORDERS, INVOIC | Three-digit numbers: 850, 810 | | Default separators | `+` element, `:` component, `'` terminator | Set in the ISA, commonly `*`, `>`, `~` | | Separator declaration | Optional UNA segment | Fixed positions in the ISA | | Escape character | Release character `?` | None | | Character set | Declared in UNB (`UNOA`, `UNOC`) | Not declared in the envelope | | Versioning | Directory (D.96A, D.01B) plus subset version (EAN010) | Version/release (004010, 005010) | | Functional group | Optional (UNG/UNE) | Mandatory (GS/GE) | | Segment style | Generic segments with qualifiers (`DTM+137`, `NAD+BY`) | More purpose-built segments (`BEG`, `PO1`, `N1`) | | Dates | `DTM` with a format code (`102` = CCYYMMDD) | Fixed formats per element (CCYYMMDD) | | Decimals | Explicit decimal mark | Explicit in `R` fields, implied in `N2` fields such as `TDS01` | | Credit notes | Same INVOIC message, `BGM+381`, positive amounts | 810 with a credit code, or a separate 812 | | Syntax acknowledgement | CONTRL | 997 or 999 | | Business acknowledgement | APERAK, or a response message such as ORDRSP | 824, or 855 | | Retail identifiers | GLN for parties, GTIN for items (via EANCOM) | Partner-assigned codes, DUNS or GLN for parties, UPC/GTIN for items | | Typical transport | AS2, SFTP, VAN, and OFTP2 in automotive | AS2, SFTP, VAN | ### Envelope mapping | Level | EDIFACT | X12 | |---|---|---| | Interchange header | UNB | ISA | | Functional group header | UNG (optional) | GS | | Message / transaction set header | UNH | ST | | Message / transaction set trailer | UNT | SE | | Functional group trailer | UNE (optional) | GE | | Interchange trailer | UNZ | IEA | ### Same order, both syntaxes The header of the order above, side by side: ``` X12: BEG*00*SA*HL-PO-88231**20261011~ EDIFACT: BGM+220+HL-PO-88231+9' DTM+137:20261011:102' ``` X12 packs purpose, type, PO number and date into one `BEG`. EDIFACT splits it: `BGM` for document type (`220` order), number and function (`9` original), and a separate `DTM` for the date with a qualifier (`137` document date) and a format code (`102` CCYYMMDD). Our [UBL vs X12 vs EDIFACT comparison](/guides/e-invoicing/ubl-vs-x12-vs-edifact) adds the Peppol UBL column if you also deal with e-invoicing. ## EDIFACT vs TRADACOMS UK suppliers sometimes meet both. [TRADACOMS](/guides/edi/tradacoms) is the UK retail standard from 1982 that EANCOM is replacing. | | EDIFACT / EANCOM | TRADACOMS | |---|---|---| | Scope | International | UK only, sterling and UK VAT | | Status | Actively maintained | No longer developed; GS1 UK support ended 2017 | | Envelope | `UNB` / `UNZ`, messages in `UNH` / `UNT` | `STX` / `END`, messages in `MHD` / `MTR` | | Tag separator | `+` (`NAD+BY`) | `=` (`CDT=`) | | Structure | Each message stands alone | Files of header, detail and trailer messages | | Numbers | Explicit decimal point | Implied decimals set per field | The free [EDIFACT inspector](/edifact-inspector) reads both, and the [TRADACOMS file types reference](/guides/edi/tradacoms-file-types) lists every TRADACOMS file. ## Other standards you may meet GS1 UK's [EDI guidance for new users](https://www.gs1uk.org/sites/default/files/EDI_guidance_for_new_users.pdf) lists the standards around EDIFACT that UK companies run into. Two matter outside retail: - **ODETTE**, a regional standard for Europe's automotive industry. - **VDA**, an automotive standard used mainly in Germany. If an automotive customer asks for EDI, ask which of these it means before assuming EANCOM. ## Who uses EDIFACT - **UK retail and consumer goods.** UK grocers and retailers trade in EANCOM, and some still run TRADACOMS alongside it. Each publishes its own requirements: see our pages for [Tesco](/edi-compliance/tesco), [Sainsbury's](/edi-compliance/sainsburys), [Asda](/edi-compliance/asda), [Morrisons](/edi-compliance/morrisons), [Ocado](/edi-compliance/ocado), [Waitrose](/edi-compliance/waitrose), [Marks & Spencer](/edi-compliance/marks-and-spencer), [Boots](/edi-compliance/boots) and the [Co-op](/edi-compliance/co-op). - **Continental Europe.** EDIFACT is the usual EDI syntax for retail, wholesale and manufacturing across the EU, supported by national GS1 organisations. - **Global logistics, customs and transport.** Carriers, ports and customs authorities use EDIFACT messages such as IFTMIN and IFTSTA, wherever their customers are based. - **Multinationals.** A US company with European subsidiaries often runs X12 with US customers and EDIFACT with European ones from the same ERP. ## How to start trading EDIFACT 1. **Get the partner's implementation guide.** Confirm the subset (usually EANCOM), the directory (D.96A or D.01B), the syntax identifier (`UNOA`, `UNOC`) and the message list. 2. **Get GS1 identifiers in place.** Most EANCOM partners require your GLN in the UNB and NAD segments and GTINs on every line. A UK supplier gets these from GS1 UK. 3. **Agree the transport.** AS2 and SFTP are common; some partners still use a [VAN](/glossary/value-added-network-van). 4. **Map once to your ERP data model**, not per message. Customer, product and unit-of-measure mapping is the expensive part, and it is shared with your X12 flows. See [ERP EDI integration](/guides/edi/erp-edi-integration). 5. **Test with real files.** Paste the partner's samples into the [EDIFACT inspector](/edifact-inspector) to check envelopes, counts and escapes before you go live. ## Frequently Asked Questions ### What does EDIFACT stand for? EDIFACT stands for Electronic Data Interchange for Administration, Commerce and Transport. The full name of the standard is UN/EDIFACT because it is developed under the United Nations and published by UNECE. Its syntax rules are the international standard ISO 9735. ### Is EDIFACT the same as EANCOM? No. EANCOM is a subset of EDIFACT maintained by GS1 for retail and consumer goods. Every EANCOM message is a valid UN/EDIFACT message, but EANCOM removes segments that retail does not use, restricts code lists, and requires GS1 identifiers (GLN, GTIN, SSCC). Most European retail partners trade EANCOM, not raw UN/EDIFACT. ### What is the difference between D96A and D01B? They are two releases of the UN/EDIFACT directories, from 1996 and 2001. EANCOM 1997 is built on D.96A and EANCOM 2002, the current GS1 edition, on D.01B. Your partner's UNH tells you which one they use. ### Is EDIFACT harder than X12? No, once you know the separators. EDIFACT uses more generic, qualifier-driven segments (one `DTM` segment for every kind of date), so messages have more segments than the X12 equivalent. The optional UNA, the release character and the dropped trailing elements are the parts X12 teams most often get wrong. ### Can one EDI system handle both EDIFACT and X12? Yes. Both standards carry the same business documents, so the work splits into a syntax layer (parsing and generating each format) and a business layer (orders, products, customers) that is shared. OrderSync supports EDIFACT, EANCOM and TRADACOMS alongside X12, PDF, CSV and email, through the same pipeline into your ERP. ### What is the EDIFACT equivalent of the 997? CONTRL, the syntax and service report message. Like the 997, it reports whether an interchange or message was received and parsed, not whether the business content was accepted. Business-level rejections in EDIFACT usually travel as APERAK or as a response message such as ORDRSP. ### Which EDIFACT version should I use? The one your trading partner specifies. Retail partners mostly use EANCOM 2002 (D.01B) or EANCOM 1997 (D.96A). The version is in the UNH segment of every message they send, so a sample file tells you the answer. ### Why does my EDIFACT file fail with an apostrophe in a name? The apostrophe is the default segment terminator, so "O'Neill" ends the segment after the O. Escape it with the release character: `O?'NEILL`. The same goes for `+`, `:` and `?` inside data. ## Related guides - **[EDIFACT message types](/guides/edi/edifact-message-types)**: every EDIFACT message, grouped by business flow - **[EDIFACT ORDERS](/guides/edi/edifact-orders)**: the purchase order message, segment by segment - **[EDIFACT ORDRSP](/guides/edi/edifact-ordrsp)** and **[ORDCHG](/guides/edi/edifact-ordchg)**: responses and changes - **[EDIFACT DESADV](/guides/edi/edifact-desadv)** and **[RECADV](/guides/edi/edifact-recadv)**: despatch and receipt - **[EDIFACT INVOIC](/guides/edi/edifact-invoic)**: the invoice, including VAT - **[EDIFACT CONTRL](/guides/edi/edifact-contrl)** and **[APERAK](/guides/edi/edifact-aperak)**: acknowledgements - **[TRADACOMS](/guides/edi/tradacoms)**: the older UK retail standard still in use - **[EDI order lifecycle](/guides/edi/edi-order-lifecycle)**: how the X12 documents connect, which maps directly onto EDIFACT ## Sources - [Introducing UN/EDIFACT](https://unece.org/trade/uncefact/introducing-unedifact), UNECE - [UN/EDIFACT syntax implementation guidelines](https://unece.org/fileadmin/DAM/trade/edifact/untdid/d4231_s1.htm), UNECE - [UN/EDIFACT syntax rules (ISO 9735)](https://unece.org/trade/uncefact/unedifact/part-4-chapter-22-syntax-rules), UNECE - [EANCOM 2002 syntax 3 manual](https://www.gs1.org/edi/eancom/s3), including [Part 1 syntax rules](https://www.gs1.org/sites/default/files/docs/eancom/ean02s3/part1/part1_05.htm) and the [message list](https://www.gs1.org/sites/default/files/docs/eancom/ean02s3/part2/part2toc.htm), GS1 - [GS1 EDI standards](https://www.gs1.org/standards/edi), GS1 - [EDI guidance for new users](https://www.gs1uk.org/sites/default/files/EDI_guidance_for_new_users.pdf), GS1 UK Paste any EDIFACT file into the free [EDIFACT inspector](/edifact-inspector) to check its envelope and segment counts, or use the [X12 EDI inspector](/edi-inspector) for your US partners. --- # EDIFACT Message Types: The Complete List Source: https://ordersync.io/guides/edi/edifact-message-types > Every EANCOM EDIFACT message type in plain English: ORDERS, DESADV, INVOIC and 44 more, grouped by business flow with TRADACOMS and X12 equivalents. EDIFACT message types are six-letter codes such as ORDERS (purchase order), DESADV (despatch advice) and INVOIC (invoice), defined in UN/EDIFACT directories like D.96A and D.01B. Retail uses the GS1 EANCOM subset of 46 messages. Most suppliers exchange six: ORDERS, ORDRSP, DESADV, RECADV, INVOIC and the CONTRL acknowledgement. When a European retailer or distributor sends you its EDI specification, it lists the messages it expects by code: ORDERS, ORDRSP, DESADV, INVOIC, perhaps PRICAT and APERAK. The UN/EDIFACT directories define around 200 message types across every sector, from customs to healthcare, which is why a raw list of codes is so hard to use. This page narrows it to what a consumer goods or retail supplier actually meets: every message in GS1 EANCOM 2002, the retail subset of EDIFACT, plus the one non-EANCOM message suppliers to manufacturers sometimes see. Each one has a plain-English summary and its TRADACOMS and X12 equivalents. If EDIFACT syntax is new to you, start with [EDIFACT explained](/guides/edi/edifact). ## How EDIFACT message types are named **An EDIFACT message type is a six-letter code that identifies a business document, such as ORDERS for a purchase order or INVOIC for an invoice.** It appears in the `UNH` segment at the start of every message, together with the directory it comes from: ``` UNH+1+INVOIC:D:01B:UN:EAN011' ``` Read that from left to right: | Part | Meaning | |---|---| | `1` | Message reference, unique within the interchange | | `INVOIC` | Message type: invoice | | `D:01B` | Directory D.01B. Directories are released by UN/CEFACT and named by year and release, so D.96A is 1996's first release | | `UN` | Controlling agency: the United Nations | | `EAN011` | Association code: GS1 EANCOM, version 011 of the INVOIC message | The same message type exists in many directories, and the segments allowed in it change slightly between them. That is why a partner's spec says "INVOIC D.96A" or "ORDERS D.01B EAN010" rather than just the code. D.96A is still common in older European implementations; EANCOM 2002 is based on D.01B. **EANCOM is GS1's subset of EDIFACT for retail and consumer goods.** It takes the full UN messages, removes the segments and codes retail does not need, and adds GS1 identifiers: GTINs for products, GLNs for parties and SSCCs for pallets and cartons. Most European retailers that ask for "EDIFACT" mean EANCOM, which is why this catalogue follows the [GS1 EANCOM 2002 message list](https://www.gs1.org/sites/default/files/docs/eancom/ean02s3/part2/part2toc.htm). ## The six you will actually meet Most retail suppliers never touch more than a handful of these messages. These six cover the order-to-cash cycle with almost any European retail customer. | Message | What it is | Direction | X12 | |---|---|---|---| | [`ORDERS`](/guides/edi/edifact-orders) | Purchase order | Buyer to you | 850 | | [`ORDRSP`](/guides/edi/edifact-ordrsp) | Order response: accept, change or reject | You to buyer | 855 | | [`DESADV`](/guides/edi/edifact-desadv) | Despatch advice (ASN), with SSCCs | You to buyer | 856 | | [`RECADV`](/guides/edi/edifact-recadv) | Receiving advice: what actually arrived | Buyer to you | 861 | | [`INVOIC`](/guides/edi/edifact-invoic) | Invoice, and credit notes with code 381 | You to buyer | 810 | | [`CONTRL`](/guides/edi/edifact-contrl) | Syntax acknowledgement | Both ways | 997 | The next tier depends on the partner: [`ORDCHG`](/guides/edi/edifact-ordchg) for order changes, [`APERAK`](/guides/edi/edifact-aperak) for business-level errors, [`PRICAT`](/guides/edi/edifact-pricat) for product and price data, and [`SLSRPT`](/guides/edi/edifact-slsrpt) and [`INVRPT`](/guides/edi/edifact-invrpt) for sales and stock data. Master data can also travel as [`PARTIN`](/guides/edi/edifact-partin) for locations and [`PRODAT`](/guides/edi/edifact-prodat) for product data without prices. UK retailers that use EDIFACT, such as [Tesco](/edi-compliance/tesco), [Sainsbury's](/edi-compliance/sainsburys), [Morrisons](/edi-compliance/morrisons) and [Marks & Spencer](/edi-compliance/marks-and-spencer), each publish their own list. ## Every EANCOM message type All 46 EANCOM 2002 messages, plus [DELJIT](/guides/edi/edifact-deljit), grouped by business flow. "Specialist" covers messages that are real and in use, but mostly between parties other than a supplier and its retail customer, such as banks, carriers and third-party warehouses. ## EDIFACT, TRADACOMS and X12 side by side The same business documents exist in all three standards. This table maps the common flows by purpose; the fields inside differ, so converting between standards is a remap rather than a rename. | Business document | EANCOM (EDIFACT) | TRADACOMS | X12 | |---|---|---|---| | Purchase order | [`ORDERS`](/guides/edi/edifact-orders) | [`ORDHDR`](/guides/edi/tradacoms-ordhdr) | [850](/guides/edi/850-purchase-order) | | Order response | [`ORDRSP`](/guides/edi/edifact-ordrsp) | `ACKHDR` | [855](/guides/edi/855-purchase-order-acknowledgment) | | Order change | [`ORDCHG`](/guides/edi/edifact-ordchg) | Amendments sent within `ORDHDR` | [860](/guides/edi/860-purchase-order-change) | | Ship notice (ASN) | [`DESADV`](/guides/edi/edifact-desadv) | `DELHDR` | [856](/guides/edi/856-ship-notice) | | Receiving advice | [`RECADV`](/guides/edi/edifact-recadv) | [`DLCHDR`](/guides/edi/tradacoms-dlchdr) | [861](/guides/edi/861-receiving-advice) | | Invoice | [`INVOIC`](/guides/edi/edifact-invoic) | [`INVFIL`](/guides/edi/tradacoms-invfil) | [810](/guides/edi/810-invoice) | | Credit note | `INVOIC` with code 381 | [`CREHDR`](/guides/edi/tradacoms-crehdr) | 810 or 812, depending on the partner | | Remittance advice | [`REMADV`](/guides/edi/edifact-remadv) | `SRMHDR` | [820](/guides/edi/820-payment-order) | | Price catalogue | [`PRICAT`](/guides/edi/edifact-pricat) | `PRIHDR` | [832](/guides/edi/832-price-sales-catalog) | | Inventory report | [`INVRPT`](/guides/edi/edifact-invrpt) | `SNPSTS` | [846](/guides/edi/846-inventory-inquiry) | | Sales report | [`SLSRPT`](/guides/edi/edifact-slsrpt) | No equivalent file | [852](/guides/edi/852-product-activity-data) | | Syntax acknowledgement | [`CONTRL`](/guides/edi/edifact-contrl) | No equivalent file | [997](/guides/edi/997-functional-acknowledgment) | | Application error | [`APERAK`](/guides/edi/edifact-aperak) | No equivalent file | [824](/guides/edi/824-application-advice) | For the full TRADACOMS list, including the book trade and other industry files, see [TRADACOMS file types](/guides/edi/tradacoms-file-types). ## Order to cash in EDIFACT Here is how the core messages fit together for one order from a European retailer: 1. **The retailer sends ORDERS.** Products are identified by GTIN and the delivery point by GLN. Your translator or network may return a CONTRL to confirm the interchange was readable. 2. **You reply with ORDRSP.** Confirm the order, or flag lines you cannot supply in full or on time. If the retailer changes its mind, it sends ORDCHG and you answer with another ORDRSP. 3. **You ship and send DESADV.** It lists every pallet or carton by SSCC and what is in it, and it has to match the labels on the goods. 4. **The retailer sends RECADV.** This is what the depot booked in. If it differs from your DESADV, that is your early warning of an invoice query. 5. **You invoice with INVOIC.** Quote the order number and, where the partner asks for it, the despatch advice number. Credits for shortages or returns use INVOIC with document code 381. 6. **The retailer pays and sends [REMADV](/guides/edi/edifact-remadv).** It lists which invoices and credits the payment settles, and any deductions. At any step the retailer's system may return an APERAK if a message is readable but its content is wrong, such as an unknown GTIN or a price that does not match. Fix the data and resend. ## Frequently Asked Questions ### How many EDIFACT message types are there? The UN/EDIFACT directories define around 200 message types across all sectors. GS1 EANCOM 2002, the subset used in retail and consumer goods, has 46. A typical supplier exchanges between four and eight of them with any one customer. ### What is the difference between EDIFACT and EANCOM? EDIFACT is the UN standard: the syntax, the directories and the full message definitions. EANCOM is GS1's subset of it for retail, with fewer optional segments, GS1 code lists, and GTIN, GLN and SSCC identifiers. An EANCOM message is a valid EDIFACT message; it carries `EAN` plus a version number in the `UNH` segment. ### What does D.96A or D.01B mean? They are UN/EDIFACT directory releases, named by year and release letter, so D.96A is the first release of 1996. Each directory fixes the segments and codes allowed in each message. Your partner's spec will name one, and your messages must follow that directory. ### What is the EDIFACT equivalent of the X12 850? ORDERS. The other common pairs are ORDRSP for the 855, DESADV for the 856, RECADV for the 861, INVOIC for the 810, REMADV for the 820 and CONTRL for the 997. The table above lists the rest. ### What is the difference between CONTRL and APERAK? CONTRL reports on syntax: whether the interchange could be read. APERAK reports on content: whether the receiving business system could process it, for example because a GTIN or GLN is unknown. GS1 specifies that APERAK comes from the application, never from the EDI translator. ### Do UK retailers use EDIFACT or TRADACOMS? Both. Many UK retailers built their EDI on TRADACOMS and still run it, while newer links and international retailers use EANCOM. Some accept either. Check each retailer's specification; our UK retailer pages, such as [Ocado](/edi-compliance/ocado), [Waitrose](/edi-compliance/waitrose) and [Boots](/edi-compliance/boots), summarise what each one asks for. ### Which EDIFACT messages are used in automotive? Automotive suppliers mostly use [DELFOR](/guides/edi/edifact-delfor) delivery schedules and [DELJIT](/guides/edi/edifact-deljit) just-in-time call-offs, under guidelines published by [Odette](https://www.odette.org/process/ordering) and its sister organisations, together with DESADV and INVOIC. DELJIT is not part of EANCOM, so retail suppliers rarely see it. ## Related guides - **[EDIFACT explained](/guides/edi/edifact)**: syntax, envelopes and separators - **[TRADACOMS file types](/guides/edi/tradacoms-file-types)**: every UK TRADACOMS file in plain English - **[TRADACOMS explained](/guides/edi/tradacoms)**: the UK standard EANCOM is replacing - **[EDI order lifecycle](/guides/edi/edi-order-lifecycle)**: the order-to-cash cycle in X12 terms ## Sources - [EANCOM 2002 S3, Part II: the messages](https://www.gs1.org/sites/default/files/docs/eancom/ean02s3/part2/part2toc.htm), GS1: the message list and version numbers - [EANCOM 2002 S3, Part I: EANCOM messages](https://www.gs1.org/sites/default/files/docs/eancom/ean02s3/part1/part1_02.htm), GS1: the purpose of each message - [EANCOM 2002 Syntax 3](https://www.gs1.org/edi/eancom/s3), GS1 - [Ordering message guidelines](https://www.odette.org/process/ordering), Odette: DELFOR and DELJIT in automotive - [UN/EDIFACT D.16B: DELJIT](https://unece.org/fileadmin/DAM/trade/untdid/d16b/trmd/deljit_c.htm), UNECE Check any EDIFACT or TRADACOMS file in the free [EDIFACT inspector](/edifact-inspector). If a European or UK retailer has sent you an EDIFACT spec and you want those orders flowing into your ERP, [book an intro call](/book). --- # EDI for Ecommerce: Complete Guide Source: https://ordersync.io/guides/edi/edi-for-ecommerce > How EDI works in ecommerce. Connecting Shopify, WooCommerce, BigCommerce, and Magento to retailer EDI requirements like Walmart, Target, and Amazon. **EDI for ecommerce is the use of Electronic Data Interchange to exchange purchase orders, invoices, and shipping notices between an ecommerce store and its retailer or wholesaler trading partners.** If you sell on Shopify, WooCommerce, BigCommerce, or Magento and have moved beyond DTC into B2B wholesale or dropship, you'll hit retailer EDI requirements within your first ten wholesale accounts. This guide covers what EDI in ecommerce actually means, how it differs from API integrations, and the patterns for each major ecommerce platform. ## What is EDI in ecommerce? **EDI in ecommerce is the automated exchange of standardized [X12 business documents](https://x12.org/products/transaction-sets) between an ecommerce store and trading partners, replacing manual PO entry and email handoffs with a direct, auditable data pipeline.** The most common documents are: - **EDI 850** (Purchase Order): the wholesale buyer sends this to your store - **EDI 855** (PO Acknowledgment): you confirm receipt and item availability - **EDI 856** (Advance Ship Notice): you tell the buyer what shipped, when, with carton-level detail - **EDI 810** (Invoice): the financial settlement document - **EDI 997** (Functional Acknowledgment): low-level "I got your message" confirmation - **EDI 846** (Inventory Inquiry): stock levels for dropship retailers like Costco and Target+ Key authoritative context on why EDI remains the standard for ecommerce B2B: - The [ASC X12 standards body](https://x12.org) maintains the transaction sets that every major retailer uses, from Walmart to Whole Foods, making X12 the universal B2B retail protocol - [GS1 US standards](https://www.gs1us.org/industries-and-insights/standards) govern the GTIN/UPC identifiers and SSCC-18 carton labels that compliant ASN (856) documents require for retail receiving For an ecommerce store, EDI usually shows up in two scenarios. First, you sell wholesale to retailers and a buyer like Whole Foods Market sends 850 POs that need to flow into your fulfillment workflow. Second, you dropship for retailers like Walmart Marketplace or Target+, where the retailer sends orders to you via 850 and expects 856 ASN responses. ## How EDI differs from API integrations People sometimes ask why EDI exists when modern ecommerce uses REST APIs. Two reasons. First, EDI is the established standard for B2B retail trading. Walmart, Target, Costco, Kroger, Albertsons, and most other major retailers exchange documents in X12 format because that's what their internal systems and their thousands of other suppliers use. They won't accept REST API submissions. Your store's API doesn't matter; the retailer dictates the protocol. Second, EDI is batch-friendly and idempotent in ways that suit B2B retail volume. A 5,000-line PO from a major retailer is one EDI document, not 5,000 API calls. Returns, chargebacks, and ASN mismatches all work against well-defined X12 segments rather than against an evolving API contract. For comparison, the AWS [Electronic Data Interchange overview](https://aws.amazon.com/what-is/electronic-data-interchange/) covers the historical context of why EDI persisted as the B2B retail standard. ## EDI by ecommerce platform ### Shopify and Shopify Plus Shopify has the largest ecommerce-EDI ecosystem because of Shopify Plus B2B's traction with wholesale brands. Most Shopify Plus brands that hit a retail wholesale channel pick one of three patterns: a Shopify App Store EDI app like Crstl or SPS Commerce, a managed platform that runs alongside Shopify, or a direct ERP-side integration if the brand also runs NetSuite or Acumatica behind the storefront. See the [Shopify EDI integration](/integrations/shopify) page for the full breakdown. Time to first wholesale partner: 1 to 3 weeks via App Store or managed platform. ### WooCommerce WooCommerce powers the WordPress ecommerce ecosystem, which skews smaller and more SMB-focused than Shopify Plus. EDI on WooCommerce typically goes through a WordPress plugin or a managed platform connected via the WooCommerce REST API. There's less SaaS app saturation than Shopify, which means lower competition for the platform-specific EDI plugin keyword. See the [WooCommerce EDI integration](/integrations/woocommerce) page. Time to first wholesale partner: 1 to 3 weeks. ### BigCommerce BigCommerce skews toward mid-market B2B and headless commerce setups. Its REST and GraphQL APIs make it integration-friendly, but the EDI ecosystem is smaller than Shopify's. Most BigCommerce B2B brands use a managed EDI platform that connects via the BigCommerce API rather than installing a marketplace app. ### Magento (Adobe Commerce) Magento has a long history of B2B usage and a long history of complex ERP integrations. Most Magento B2B installs run an ERP behind the storefront (Sage, NetSuite, SAP), and EDI integration usually happens at the ERP layer, not the Magento layer. The Magento store stays focused on order capture and product catalog while the ERP handles the EDI document flow. ## Common EDI documents for ecommerce sellers A typical wholesale or dropship ecommerce flow uses five core documents: 1. **EDI 850 (Purchase Order)**: the buyer sends this when they want to buy. For dropship, this is the customer order. For wholesale, this is a bulk order from a retailer's purchasing system. 2. **EDI 855 (PO Acknowledgment)**: you respond confirming the order, with availability and any pricing exceptions. 3. **EDI 856 (Advance Ship Notice)**: at pack time, you tell the buyer what's in the box, in carton-level detail with UCC-128 labels for compliant retailers. ASN timing is the #1 chargeback driver in ecommerce-B2B. 4. **EDI 810 (Invoice)**: post-shipment, you bill the buyer. 5. **EDI 997 (Functional Acknowledgment)**: every inbound document gets a 997 confirming you received and parsed it. Detailed guides for each: [EDI 850](/guides/edi/850-purchase-order), [EDI 855](/guides/edi/855-purchase-order-acknowledgment), [EDI 856](/guides/edi/856-ship-notice), [EDI 810](/guides/edi/810-invoice), [EDI 997](/guides/edi/997-functional-acknowledgment). ## EDI vs API for Ecommerce: Quick Reference | Factor | EDI | API | |---|---|---| | **Required by retailers** | Yes (Walmart, Target, Costco, Kroger) | No | | **Data format** | X12 (850, 856, 810, 997) | JSON/REST | | **Communication style** | Batch documents | Real-time requests | | **Setup time per partner** | 1-3 weeks | Days to weeks | | **Dropship support** | Yes (850 PO, 856 ASN required) | Platform-dependent | | **Best for** | B2B wholesale, retail compliance | Inventory sync, DTC platforms | **Key rule**: Retailers dictate the protocol. If Walmart or Target is in your customer pipeline, you need EDI regardless of your ecommerce platform's API capabilities. **Practical split**: Most ecommerce sellers end up using both: EDI for retail trading partners and APIs for inventory sync with their warehouse or ecommerce platform. These are complementary layers, not competing choices. ## When you need EDI vs. when API integrations are enough If your wholesale buyers are small independent retailers and they place orders through a B2B portal or via email, you don't need EDI. Stick with order capture through the ecommerce platform's standard B2B features. You need EDI when: - A major retailer (Walmart, Target, Costco, Kroger, Whole Foods, Amazon Vendor Central) is in your customer pipeline. They'll require it during onboarding. - You're selling on a dropship marketplace (Walmart Marketplace, Target+) that uses EDI for order routing. - You have more than 20 wholesale accounts and are spending real time keying POs from emails and spreadsheets. - A 3PL is involved and they need 856 ASN data flowing back to retailers automatically. The [Cleo "EDI in eCommerce" guide](https://www.cleo.com/blog/knowledge-base-edi-in-ecommerce) goes deeper on the marketplace-specific scenarios. ## Common pitfalls Three patterns trip up ecommerce sellers during EDI rollout: 1. **Underestimating compliance work per retailer.** Each major retailer has its own routing guide. Walmart's spec is not Target's spec is not Costco's spec. Plan for partner-specific configuration, not a generic implementation. 2. **Skipping ASN testing.** ASN timing and content drive chargebacks. Test against the retailer's pre-production environment until they sign off, not just against your own validator. 3. **Treating EDI as a Shopify app problem.** If you also run an ERP (NetSuite, Sage, Acumatica) behind your Shopify store, EDI integration belongs at the ERP layer, not the Shopify layer. The ERP is the system of record. See the [ERP EDI integration guide](/guides/edi/erp-edi-integration) for the integration architecture decisions. Test your inbound and outbound EDI files against partner specs with the free [EDI Inspector](/edi-inspector) before going live. ## Frequently Asked Questions ### Do I need EDI if I only sell on Shopify? Not for DTC sales. Shopify orders flow through Shopify's own APIs. You need EDI when a wholesale buyer or retail trading partner requires it during onboarding. That threshold typically arrives when you land your first major retail account (Walmart, Target, Whole Foods) or when you start dropshipping for a marketplace that routes orders via 850 purchase order. ### What is the difference between EDI and API for ecommerce? EDI is a batch-oriented document exchange standard that retailers mandate for purchase orders, invoices, and ship notices. APIs are real-time, request-response interfaces used by modern platforms. Major retailers will not accept REST API submissions for their core transactions. Your ecommerce platform's API is irrelevant to Walmart's EDI requirement. Most ecommerce sellers end up using both: EDI for retail compliance and APIs for inventory sync with modern tools. ### How long does EDI setup take for an ecommerce store? For a Shopify Plus brand using a managed platform or App Store app, plan 1 to 3 weeks to go live with the first trading partner. Each additional partner requires partner-specific configuration (routing guides, UCC-128 label formats, ASN timing rules) that adds days, not weeks, once your platform is connected. Custom ERP-side integrations take longer. ### What is the ASN and why does it cause chargebacks? The EDI 856 Advance Ship Notice (ASN) tells the retailer what is on the truck before it arrives, including carton-level detail and UCC-128 labels. Retailers use it to automate receiving. If the ASN arrives late, has wrong carton counts, or references incorrect SKUs, the retailer's system cannot match the delivery and issues a chargeback. ASN accuracy is the single biggest compliance variable for ecommerce sellers in their first year of retail EDI. ### Can I use the same EDI setup for multiple retailers? Yes. A single EDI platform connection covers all your trading partners. The transport layer (your AS2 connection or VAN) is shared. What changes per retailer is the implementation guide: each retailer has specific segment requirements, reference codes, and timing rules. A managed EDI platform handles those per-partner configurations so you do not rebuild the integration each time. ## Where to go next Pick the platform you're on: - [Shopify EDI integration](/integrations/shopify) - [WooCommerce EDI integration](/integrations/woocommerce) Or jump to a retailer compliance page if you have a specific partner you're onboarding: [Walmart](/edi-compliance/walmart), [Target](/edi-compliance/target), [Costco](/edi-compliance/costco), [Kroger](/edi-compliance/kroger), [Amazon](/edi-compliance/amazon), [Whole Foods](/edi-compliance/whole-foods). --- # EDI Transaction Flow: Order Lifecycle 850 to 820 Source: https://ordersync.io/guides/edi/edi-order-lifecycle > The retail EDI transaction flow as a diagram: 850, 855, 856, 810 and 820 in order, with 860 changes, 997 receipts, carrier 204 and 214, and typical timing. An EDI order moves through a sequence of transactions, each a standardized document. The buyer plans demand, sends an 850 purchase order, and the supplier returns an 855 acknowledgment. Changes flow as 860 and 865. The supplier ships with an 856 ASN, the buyer confirms receipt with an 861, the supplier bills with an 810 invoice, and the buyer pays with an 820. A 997 confirms receipt of every document along the way. **Every B2B order in EDI follows the same lifecycle: a sequence of standardized documents that hand the order from buyer to supplier and back, with no one re-keying the data.** Once you see how the transactions connect, the whole alphabet soup of numbers becomes a single, predictable flow. This is the map that ties together every transaction guide on this site. This guide walks the order from forecast to payment, names the document at each stage, and links the deep guide for each one. Use it as the starting point, then drill into any transaction. ## What Is the EDI Order Lifecycle? **The EDI order lifecycle is the standardized sequence of [ASC X12](https://x12.org/) transactions that carries a single order from demand planning through purchase order, shipment, receipt, invoice, and payment, with each document handed system to system and no manual re-keying.** Every transaction in the sequence is defined by the same standards body, which is why a purchase order from a national retailer and one from a regional grocer share the same 850 structure. Authoritative references for the transactions in this lifecycle: - The [X12.org Transaction Sets reference](https://x12.org/products/transaction-sets) defines every transaction named below, from the 850 purchase order through the 820 payment - [GS1 US](https://www.gs1us.org/industries-and-insights/standards) governs the UPC, GTIN, and SSCC identifiers that tie these documents to physical products and cartons across the flow The lifecycle is a convention rather than a single specification: a well-worn order of documents that trading partners follow, adding or dropping stages based on their industry and relationship. A grocery distributor and an auto-parts supplier run the same backbone with different variants. The sections below walk that order from start to finish. ## The Lifecycle at a Glance The same flow as a table, with every planning and warehouse variant: | Stage | Document | Direction | What happens | |-------|----------|-----------|--------------| | Plan | [830](/guides/edi/830-planning-schedule), [862](/guides/edi/862-shipping-schedule), [866](/guides/edi/866-production-sequence), 846, 852, 832 | Both | Demand, inventory, sell-through, and catalog are shared | | Quote | [840](/guides/edi/840-request-for-quotation) / [843](/guides/edi/843-response-to-request-for-quotation) | Both | Buyer requests quotes; supplier returns pricing | | Order | [850](/guides/edi/850-purchase-order) | Buyer to supplier | The purchase order is placed | | Acknowledge | [855](/guides/edi/855-purchase-order-acknowledgment) | Supplier to buyer | The supplier accepts, rejects, or changes lines | | Change | [860](/guides/edi/860-purchase-order-change) / [865](/guides/edi/865-purchase-order-change-acknowledgment) | Both | The order is revised and the change is acknowledged | | Ship | [856](/guides/edi/856-ship-notice), [940/945](/guides/edi/940-warehouse-shipping-order) | Supplier to buyer | The shipment is announced with pack detail | | Receive | [861](/guides/edi/861-receiving-advice) | Buyer to supplier | What actually arrived is reported | | Bill and pay | [810](/guides/edi/810-invoice) / [820](/guides/edi/820-payment-order) | Both | The invoice is sent and payment is remitted | | Confirm | [997](/guides/edi/997-functional-acknowledgment) | Both | Every document gets a receipt | ## Stage 1: Plan and Forecast Before any order, trading partners share the data that shapes demand. A buyer may send an [830 Planning Schedule](/guides/edi/830-planning-schedule) with forecast and firm releases, or an [852 Product Activity Data](/guides/edi/852-product-activity-data) feed showing what is actually selling so the supplier can replenish. The [846 Inventory Inquiry/Advice](/guides/edi/846-inventory-inquiry) communicates stock levels, and the [832 Price/Sales Catalog](/guides/edi/832-price-sales-catalog) publishes the supplier's items and prices so both sides agree on what can be ordered. Not every relationship uses this stage, but when it exists, it is what turns reactive order-taking into planned replenishment. ## Stage 2: Place the Order The order starts with the [850 Purchase Order](/guides/edi/850-purchase-order). The buyer's system sends it, and the supplier's system turns it into a [sales order](/glossary/sales-order) automatically, with no manual keying. The 850 carries the line items, quantities, prices, ship-to, and dates. In a blanket-PO relationship, the planning schedule (830) can drive releases instead of a fresh 850 each time. ## Stage 3: Acknowledge and Change The supplier returns an [855 Purchase Order Acknowledgment](/guides/edi/855-purchase-order-acknowledgment) to confirm the order, accept or reject each line, or propose changes. If the buyer needs to revise the order, it sends an [860 Purchase Order Change](/guides/edi/860-purchase-order-change), and the supplier replies with an [865 Change Acknowledgment](/guides/edi/865-purchase-order-change-acknowledgment). Together the 855 and 865 keep both sides agreed on the current state of the order before anything ships. ## Stage 4: Ship When the goods go out, the supplier sends an [856 Ship Notice (ASN)](/guides/edi/856-ship-notice) ahead of the truck, with full pack-level detail and SSCC-18 carton labels so the buyer can receive by scanning. See the [advance ship notice](/glossary/advance-ship-notice) definition for how the pack hierarchy works. When a brand uses a third-party warehouse, the [940 Warehouse Shipping Order](/guides/edi/940-warehouse-shipping-order) instructs the 3PL to ship and the [945 Warehouse Shipping Advice](/guides/edi/945-warehouse-shipping-advice) confirms what left the dock. Moving the freight itself runs on a parallel set of documents: the shipper or 3PL tenders the load to a carrier with a [204 Load Tender](/guides/edi/204-motor-carrier-load-tender), the carrier accepts with a [990](/guides/edi/990-response-to-load-tender), and reports progress with [214 status messages](/guides/edi/214-transportation-carrier-shipment-status) until delivery. ## Stage 5: Receive After the shipment arrives, the buyer sends an [861 Receiving Advice](/guides/edi/861-receiving-advice) reporting what actually came in against what the ASN and purchase order said. Discrepancies, short shipments, overages, or damage, surface here, before the invoice is paid. ## Stage 6: Invoice and Pay The supplier bills with an [810 Invoice](/guides/edi/810-invoice), referencing the original PO so the buyer can run a [three-way match](/blog/three-way-match) against the order and the receiving record. Grocery orders are billed with the [880 Grocery Products Invoice](/guides/edi/880-grocery-products-invoice) instead. The buyer then sends an [820 Payment/Remittance Advice](/guides/edi/820-payment-order) reporting which invoices were paid and how. If something is deducted, an [812 Credit/Debit Adjustment](/guides/edi/812-credit-debit-adjustment) or [824 Application Advice](/guides/edi/824-application-advice) explains it. ## How Fast Each Step Is Expected Deadlines come from each retailer's implementation guide, so yours govern. These are the windows most suppliers work to: | Document | Typical expectation | What happens when it's late | |----------|---------------------|-----------------------------| | [997](/guides/edi/997-functional-acknowledgment) | Within 24 hours of receiving any document | The sender assumes the file never arrived and may resend or escalate | | [855](/guides/edi/855-purchase-order-acknowledgment) | Within 24 to 48 hours of the 850 | Counts against you on supplier scorecards, and the buyer can't plan around lines you haven't confirmed | | [856](/guides/edi/856-ship-notice) | When the goods ship, and always before they arrive | The receiving dock can't scan the cartons in; ASN chargebacks are the most common EDI penalty | | [810](/guides/edi/810-invoice) | After shipment, once quantities are final | Payment terms often start from a valid invoice, so a late or wrong 810 delays payment | | [820](/guides/edi/820-payment-order) | On the buyer's payment terms | Without it, matching payments to invoices is manual | For what these misses cost at specific retailers, see the [EDI chargeback database](/edi-chargebacks) and the [retailer compliance guides](/edi-compliance). ## Where Orders Usually Break Most problems happen at a handoff, not inside a document: - **850 to 855.** Lines the supplier can't fill are accepted anyway and shorted later, so the 855 says one thing and the 856 another. - **860 without an 865.** The buyer changes quantities or dates, the change never reaches the warehouse, and the original order ships. - **856 that doesn't match the truck.** Carton counts or SSCC-18 labels don't match what's physically received, which triggers receiving delays and chargebacks. - **810 that doesn't match the 850 and 856.** Prices in different units, or quantities invoiced as ordered rather than as shipped, fail the buyer's three-way match and come back as an [824](/guides/edi/824-application-advice). - **No 997 tracking.** A file that silently failed looks the same as one that was received until someone asks where the order is. ## The 997 Underneath Every Step One document runs beneath the whole lifecycle: the [997 Functional Acknowledgment](/guides/edi/997-functional-acknowledgment). Every transaction above gets a 997 in return, confirming the file arrived and passed structural validation. A missing 997 is treated as a failed transmission, which is why partners track them closely. The 997 is the receipt; it does not say the order was accepted, only that the document was received. ## Why the Lifecycle Matters Each handoff is a place an order can break: an unacknowledged change, a late ASN, an invoice that does not match receipt. Most chargebacks trace back to one of these gaps. Seeing the lifecycle as a connected flow, rather than isolated documents, is what lets you find the weak handoff and fix it. Every step above assumes both sides are EDI-capable. Orders that arrive by email, PDF, or spreadsheet fall outside this flow entirely, which is why distributors increasingly pair EDI with document extraction so every channel lands in the same pipeline. Upload any document to the [free EDI inspector](/edi-inspector) to see it parsed, or [book a 15-minute walkthrough](/book) to see a full order cycle on real data. ## Frequently Asked Questions
### How does EDI work in an order? An EDI order is a sequence of standardized documents. The buyer sends an 850 purchase order, the supplier returns an 855 acknowledgment, the supplier ships with an 856 ASN, the buyer confirms receipt with an 861, the supplier bills with an 810 invoice, and the buyer pays with an 820. A 997 confirms receipt of each document. ### What is the order of EDI transactions? The common sequence is: planning (830, 852, 846, 832), then 850 purchase order, 855 acknowledgment, 860 and 865 for changes, 856 ship notice, 861 receiving advice, 810 invoice, and 820 payment. A 997 functional acknowledgment is returned for every document. ### What is the difference between an 855 and an 856? The 855 is the purchase order acknowledgment, sent right after the 850 to confirm the order. The 856 is the advance ship notice, sent later when the goods actually ship. The 855 answers "can you fill it"; the 856 says "here is what is on the truck." ### Do all EDI orders use every transaction? No. The core retail flow is 850, 855, 856, 810, with a 997 for each. Planning documents (830, 852), change documents (860, 865), warehouse documents (940, 945), and grocery variants (875, 880) are added when the relationship and industry call for them. ### What comes after an EDI 850? The supplier returns a 997 to confirm the 850 arrived, then an 855 purchase order acknowledgment to accept, reject or change each line. Next comes the 856 advance ship notice when the order ships, then the 810 invoice. ### Is a 997 required for every EDI document? In practice, yes. Most trading partners expect a 997 functional acknowledgment for every document they send, usually within 24 hours. The 997 only confirms the file arrived and parsed; it doesn't mean the order was accepted. That's the 855's job. ### What is the difference between a 997 and an 855? A 997 is a technical receipt: the document arrived and its structure is valid. An 855 is a business answer: the supplier can fill these lines, at these quantities, by this date. An 850 usually gets both. ### Where do carrier documents like the 204 and 214 fit in? They run alongside the order flow, between the shipper and the carrier rather than between buyer and supplier. The shipper tenders the load with a 204, the carrier accepts with a 990, reports progress with 214 status messages, and bills freight with a 210.
--- # ERP EDI Integration: Complete Guide for 2026 Source: https://ordersync.io/guides/edi/erp-edi-integration > How EDI connects to NetSuite, SAP, Oracle, Microsoft Dynamics, Sage, Odoo, Acumatica, and JD Edwards. Architectures, time-to-live, and tradeoffs for each ERP. **ERP EDI integration is how purchase orders, invoices, and shipping notices move automatically between your ERP and your trading partners' systems, eliminating the manual re-keying that slows wholesale-distribution and manufacturing operations.** Done right, it kills the "EDI team manually keys POs into NetSuite" meeting that haunts every wholesale-distribution and manufacturing org. Done wrong, every new retailer becomes a six-month consulting engagement. This guide covers what ERP EDI integration actually means, the three integration architectures used in practice, and the per-ERP playbook for NetSuite, SAP, Oracle, Microsoft Dynamics, Sage, Odoo, Acumatica, and JD Edwards. ## What is ERP EDI integration? **ERP EDI integration connects an Electronic Data Interchange (EDI) platform with an Enterprise Resource Planning (ERP) system so business documents flow automatically between trading partners and the ERP without manual data entry, using [ASC X12 transaction sets](https://x12.org/products/transaction-sets) as the structured format both sides understand.** The most common documents are EDI 850 (purchase order), EDI 856 (advance ship notice or ASN), EDI 810 (invoice), and EDI 855 (PO acknowledgment). Key reference points for ERP EDI integration: - The [ASC X12 standards body](https://x12.org) defines the transaction sets (850, 856, 810, 997) that every ERP EDI integration translates to and from its native data model - [Microsoft Dynamics 365 Business Central](https://learn.microsoft.com/en-us/dynamics365/business-central/) and Oracle NetSuite both expose REST APIs that modern EDI platforms use to push sales orders and pull inventory without manual import steps When a retailer like Kroger sends an 850, the integration translates it from X12 syntax into the ERP's native order format, posts it as a sales order, and sends back a 997 functional acknowledgment to confirm receipt. When the warehouse ships, the ERP triggers an outbound 856 with the ASN data the retailer expects. The hard part is not translation. The hard part is everything around it: partner-specific item code mapping, retailer compliance rules (UCC-128 labels, mark-for instructions, routing guides), exception handling when an order references a SKU that doesn't exist in the ERP, and surviving ERP upgrades. ## ERP EDI Integration Architecture Comparison | Architecture | Best For | Setup Time | Ongoing Maintenance | EDI Coverage | |---|---|---|---|---| | **Native ERP module** | 1-2 simple partners, IT resources available | 2-6 weeks | High (ERP upgrades break it) | Limited (translation hooks only) | | **Middleware / iPaaS** | Large enterprise with dedicated integration team | 4-12 weeks | High (new partner = new flow) | Full X12 + EDIFACT | | **Managed EDI platform** | Mid-market wholesale-distribution, most SMBs | 1-3 weeks | Low (vendor manages compliance) | Full with partner-specific guides | **Native module caveat**: SAP IDoc and Oracle e-Commerce Gateway are translation hooks, not complete EDI platforms. You still need a trading partner network, AS2 connectivity, X12 mapping, and exception handling layered on top of any native ERP EDI feature. **Managed platform advantage**: When you switch ERPs, a managed platform preserves your trading partner relationships because the partner connections live in the platform, not in the ERP. Native ERP EDI means rebuilding all partner connections from scratch on every ERP migration. ## Three integration architectures ### 1. Native ERP module A few ERPs ship some EDI capability out of the box. NetSuite has WMS-driven ASN configuration in the Oracle Help Center documentation. SAP provides the IDoc framework and partner profiles. JD Edwards has F47 EDI tables. None of these are complete EDI platforms. They're translation hooks. You still need a trading partner network, AS2 connectivity, X12 mapping, and exception handling layered on top. When this architecture works: the ERP vendor maintains the connectors, you have one or two simple trading partners, and your IT team has spare cycles for ongoing maintenance. When it breaks: when partner #5 has different item code requirements, when EDIFACT enters the picture for European partners, or when the ERP undergoes a major upgrade. ### 2. Middleware / iPaaS Tools like Boomi, MuleSoft, Workato, Celigo, or SAP Integration Suite sit between the ERP and the trading partners. They handle translation and orchestration. Most large enterprise SAP and Oracle shops run this pattern. The tradeoff is that middleware is a developer tool, not a managed EDI service. Adding a new partner means writing new flows, mapping their X12 quirks, and testing the path end-to-end. A 200-trading-partner retail vendor running middleware-only will have an integration team of three to five people just to keep up. ### 3. Managed EDI platform Platforms like SPS Commerce, TrueCommerce, Orderful, and OrderSync handle the trading partner network, X12 and EDIFACT translation, partner-specific compliance, and ERP integration as one product. The vendor takes on partner onboarding and ongoing maintenance. This is what most modern wholesale-distribution and ecommerce-B2B companies adopt. The tradeoff is that you outsource the translation layer, which means picking a vendor that supports your ERP and your trading partner mix. ## ERP-by-ERP playbook ### NetSuite NetSuite is the most common cloud ERP for mid-market wholesale-distribution and DTC brands. Native EDI is limited to ASN configuration in the Oracle Help Center [documentation](https://docs.oracle.com/en/cloud/saas/netsuite/ns-online-help/section_156840265669.html). Real EDI requires either the SuiteApp.com marketplace or a managed platform. See the [NetSuite EDI integration page](/integrations/netsuite) for the full breakdown. Time to first partner: 1 to 2 weeks with a managed platform. 2 to 6 months with a custom SuiteScript build. ### SAP SAP runs the back office of most Fortune 500 supply chains. Its IDoc framework (ORDERS, INVOIC, DESADV, ORDRSP) is well-documented and reliable. Trading partner setup happens through WE20 partner profiles and WE21 ports. The pain is partner onboarding work in SAP PI/PO or SAP Integration Suite (BTP) iFlows, which often gets outsourced to consulting partners with quotes measured in thousands of hours. See the [SAP EDI integration page](/integrations/sap) for the modern approach. Time to first partner: 2 to 8 weeks depending on EDIFACT vs X12. SI-led BTP rebuilds run 3 to 6 months. ### Oracle Oracle ERP spans E-Business Suite (EBS), Fusion Cloud, ERP Cloud, and JD Edwards. The e-Commerce Gateway documentation hasn't been refreshed since the 11i era. Modern flows go through Oracle Integration Cloud (OIC) B2B. JD Edwards customers running EnterpriseOne use AIS and Orchestrator Studio for API access. Full coverage on the [Oracle EDI integration page](/integrations/oracle) and the [JD Edwards EDI integration page](/integrations/jd-edwards). Time to first partner: 3 to 8 weeks for Fusion. EBS varies from 6 to 16 weeks based on customization depth. ### Microsoft Dynamics 365 Dynamics 365 splits into Finance & Operations (large enterprise), Business Central (SMB and mid-market), and Supply Chain Management. Integration patterns differ by SKU: Dataverse virtual tables and Power Automate for Business Central, Azure Logic Apps and dual-write for F&O. See the [Microsoft Dynamics 365 integration page](/integrations/microsoft-dynamics-365). Time to first partner: 2 to 6 weeks for Business Central, 4 to 10 weeks for F&O. ### Sage Sage covers four distinct products that confuse procurement teams: Sage 100, Sage 300, Sage X3, and Sage Intacct. Sage 100 is North American mid-market wholesale-distribution. Sage X3 is larger global manufacturing-distribution. Sage Intacct is cloud financials. Each integrates differently. See the [Sage 100](/integrations/sage-100) and [Sage X3](/integrations/sage-x3) integration pages. Time to first partner: 1 to 3 weeks for Sage 100, 4 to 8 weeks for Sage X3. ### Odoo Odoo is open source ERP with 12 million users. Native EDI is limited to community modules that lack production reliability. Most production Odoo customers either run SPS Commerce alongside Odoo or layer a managed platform on top. See the [Odoo EDI integration page](/integrations/odoo). Time to first partner: 1 to 2 weeks. ### Acumatica Acumatica is the fastest-growing cloud xRP for SMB wholesale-distribution. Its Web Services API and ISV Solutions program make integration straightforward. Most Acumatica customers come from Sage 100 or QuickBooks migrations. See the [Acumatica integration page](/integrations/acumatica). Time to first partner: 1 to 3 weeks. ## Best practices that pay off A few patterns separate ERP EDI projects that ship on time from the ones that drag for quarters: 1. **Set up your master data before integration.** EDI orders fail when the SKUs they reference don't exist in the ERP. Audit your item master, customer master, and pricelists before turning on the first partner. 2. **Pick a platform that supports your migration path.** If you're on Sage 100 today and considering Acumatica or NetSuite in 18 months, choose a platform that connects to all three so your trading partner relationships survive the ERP cutover. 3. **Plan for partner-specific compliance up front.** Walmart, Target, Kroger, and Costco all have distinct routing guides and ASN requirements. Don't try to map them generically. See the [retailer compliance pages](/edi-compliance) for partner-specific specs. 4. **Test ASN-driven invoice matching.** Most chargebacks come from ASN timing mismatches with deliveries. Your integration must generate ASNs at the right point in the warehouse process. ## Common mistakes The IBM "EDI and ERP Integration" [guide](https://www.ibm.com/think/insights/edi-erp-integration) catalogs the standard mistakes: skipping the master data audit, treating EDI as an afterthought during ERP implementation, building partner mappings as one-offs instead of templated flows, and underestimating ongoing maintenance once partner count crosses 20. Test your inbound EDI documents against actual partner specs before going live. The free [EDI Inspector](/edi-inspector) catches the issues most often surfaced as chargebacks: missing PO references, incorrect ISA/GS envelope IDs, and segment ordering problems. ## Frequently Asked Questions ### What is ERP EDI integration? ERP EDI integration is the automated connection between an EDI platform and an ERP system so purchase orders, invoices, and ship notices flow in and out without manual data entry. When a retailer sends an 850, the integration translates it from X12 format and creates a sales order in your ERP. When your warehouse ships, the ERP generates an 856 ASN automatically. No one keys data by hand on either side. ### Which ERPs are easiest to integrate with EDI? NetSuite and Acumatica are generally the fastest to connect because they expose well-documented REST APIs that modern EDI platforms use directly. SAP and Oracle ERP (Fusion/EBS) require more configuration because their native EDI hooks (IDoc for SAP, e-Commerce Gateway for Oracle) are older frameworks built around file-based exchange rather than APIs. Microsoft Dynamics 365 Business Central is in the middle: the API is modern, but EDI ISV options are more limited than NetSuite's. ### How long does ERP EDI integration take? With a managed EDI platform and a cloud ERP like NetSuite or Acumatica, expect 1 to 3 weeks for the first trading partner. SAP and Oracle deployments typically run 4 to 10 weeks depending on whether you use a middleware layer. The biggest time variable is master data preparation: auditing your item master and customer master before go-live saves more time than any platform choice. ### Do I need a VAN or AS2 for ERP EDI integration? You need a transport layer, but which one depends on your trading partners. Walmart requires AS2. Smaller trading partners often accept SFTP or VAN connectivity. Most managed EDI platforms handle transport alongside the ERP integration, so you do not need to run separate AS2 software. The ERP side (creating orders, generating ASNs) is distinct from the transport side (moving documents to and from trading partners). ### What happens to my ERP EDI integration when I switch ERPs? If your EDI platform supports both your current and target ERP, your trading partner relationships survive the cutover. The platform re-maps the same X12 transactions to the new ERP's data model. If your EDI is embedded in the old ERP (native modules or custom code), migration requires rebuilding those connections from scratch. This is one of the strongest arguments for using a standalone managed EDI platform rather than ERP-native EDI. ## Where to go next For a deep technical walkthrough of each ERP, see the integration guides for [SAP](/blog/edi-sap-integration), [Oracle](/blog/edi-oracle-integration), [JD Edwards](/blog/edi-jd-edwards-integration), [Dynamics 365](/blog/edi-dynamics-365-integration), [Business Central](/blog/edi-business-central-integration), [Acumatica](/blog/edi-acumatica-integration), [Epicor](/blog/edi-epicor-integration), [Infor](/blog/edi-infor-integration), and [Sage](/blog/edi-sage-integration). If you have a target ERP in mind, jump to the integration page for it: [NetSuite](/integrations/netsuite), [SAP](/integrations/sap), [Oracle](/integrations/oracle), [JD Edwards](/integrations/jd-edwards), [Microsoft Dynamics 365](/integrations/microsoft-dynamics-365), [Sage 100](/integrations/sage-100), [Sage X3](/integrations/sage-x3), [Acumatica](/integrations/acumatica), [Odoo](/integrations/odoo), or [SAP Business One](/integrations/sap-business-one). If you're earlier in the process and figuring out which transactions you need, the [EDI transaction guides](/guides/edi) cover 850, 855, 856, 810, 860, and the rest of the X12 standards in detail. --- # EDIFACT IFTMIN: Transport Instruction Source: https://ordersync.io/guides/edi/edifact-iftmin > EDIFACT IFTMIN explained: the shipper's instruction to a carrier or forwarder, BGM 610, NAD parties, GID goods items, a D.96A example and the 204 and 304 map. EDIFACT IFTMIN is the UN/EDIFACT instruction message for transport. A shipper sends it to a carrier or freight forwarder to book the movement of one consignment: the parties, pickup and delivery dates, transport mode, goods items, packages and weights. It does the job of the X12 204 load tender for road freight and of the 304 shipping instructions for ocean. **IFTMIN is the work order for a shipment.** When a European shipper hands freight to a forwarder or road carrier by EDI, this is usually the message: who is sending, who is receiving, what is moving, how heavy it is, and when it must be collected and delivered. If it is wrong, the driver turns up on the wrong day, with the wrong vehicle, or the consignment is billed to the wrong party. This guide covers what IFTMIN carries, who sends it and to whom, the directories you will meet, a full example, the segments you will map, and how it compares with the X12 [204 load tender](/guides/edi/204-motor-carrier-load-tender) and [304 shipping instructions](/guides/edi/304-shipping-instructions). ## What Is an EDIFACT IFTMIN? **IFTMIN is the UN/EDIFACT Instruction message: "a message from the party issuing an instruction regarding forwarding/transport services for a consignment under conditions agreed, to the party arranging the forwarding and/or transport services."** It belongs to the IFTM family of transport and forwarding messages, alongside IFTMBF (firm booking), IFTMBC (booking confirmation) and [IFTSTA](/guides/edi/edifact-iftsta) (status report). GS1's EANCOM manual sets out the principles: the instruction results in a transport contract for one consignment, it is "the message from shipper to carrier or forwarder containing the final details of the consignment", and one instruction message should always equal one consignment. GS1 also says it should not be used to instruct the despatch of products; that is the job of INSDES. Authoritative references for IFTMIN work: - The [UN/EDIFACT D.96A IFTMIN message](https://service.unece.org/trade/untdid/d96a/trmd/iftmin_c.htm) from UNECE, also laid out group by group on [EDIFACTORY](https://www.edifactory.de/edifact/directory/D96A/message/IFTMIN) - The [GS1 EANCOM 2002 IFTMIN specification](https://www.gs1.org/sites/default/files/docs/eancom/s3/iftmin.pdf), directory D.01B, with its principles, code lists and a worked example using GLNs and SSCCs - Each carrier, forwarder and transport platform publishes its own IFTMIN guide, which sets the references, codes and services it accepts **Who sends it?** The party that orders the transport: a manufacturer or retailer shipping goods, or a forwarder passing an instruction on to a subcontracted carrier. **Who receives it?** The party arranging the move: a freight forwarder, a road carrier, a parcel or groupage network, or an ocean carrier. **When is it sent?** Once the consignment is ready to be booked: packed, weighed and with a collection date. Changes and cancellations follow as further IFTMINs with a different message function in `BGM`. **Why does it matter?** The carrier plans collection, vehicle type and delivery from it, and invoices from it later. Data missing from the IFTMIN becomes a phone call, a failed collection or a freight invoice query. ## Who Uses IFTMIN | Sector | Sender | Receiver | Typical use | |---|---|---|---| | Road and groupage | Shipper | Forwarder or road carrier | Book a collection of pallets or parcels to a consignee | | Forwarding | Forwarder | Subcontracted haulier | Pass the move on, with the forwarder's own references | | Retail and consumer goods | Supplier or retailer | Carrier or 3PL | EANCOM IFTMIN with GLNs for parties and SSCCs for pallets | | Ocean | Shipper, forwarder or NVOCC | Ocean carrier or booking portal | Shipping instructions for the bill of lading, after the booking | | Automotive | Supplier or OEM logistics | Carrier or logistics provider | Collection instructions against a JIT call-off | In ocean freight the IFTM messages divide the work the way the X12 300 series does: IFTMBF requests the booking (the [300](/guides/edi/300-reservation-booking-request-ocean)), IFTMBC confirms it (the [301](/guides/edi/301-confirmation-ocean)), and IFTMIN carries the shipping instructions (the [304](/guides/edi/304-shipping-instructions)). Road freight usually skips the booking pair and sends IFTMIN on its own. ## Directories There is no single directory every transport partner uses: | Directory | Where you meet it | |---|---| | D.96A | Many forwarder and road carrier guides; the example below uses it | | D.01B | GS1 EANCOM 2002 IFTMIN (subset version EAN004) for retail and consumer goods | | Later directories (D.99B, D.00B and beyond) | Ocean carriers and booking portals, which publish their own guides | The segment groups are similar across these directories, but positions, code lists and mandatory segments vary. Build to the guide of the carrier or forwarder you are sending to, and read the version in `UNH` on anything you receive. ## Example: Road Instruction to a Forwarder The fictional foundry Kestrel Castings books two pallets of brake carriers with the fictional forwarder Alder Freight Forwarding, for collection in the UK on 12 November and delivery to its customer's plant in Germany on 13 November. | Segment | What it says | |---|---| | `BGM+610+KC-TI-26-04412+9'` | Forwarding instructions (`610`), instruction number KC-TI-26-04412, original (`9`) | | `DTM+137` | Message date: 11 November at 15:30 | | `DTM+200` | Pick-up/collection date and time of cargo: 12 November at 10:00 | | `DTM+2` | Delivery date and time requested: 13 November at 08:00 | | `FTX+DEL` | Delivery information in free text | | `CNT+7:812:KGM'` / `CNT+11:2'` | Total gross weight 812 kg; total number of packages 2 | | `RFF+CU` / `RFF+ON` | The consignor's shipment reference and the customer's order number | | `TDT+20++3'` | Main-carriage transport (`20`) by road (`3`) | | `NAD+CZ` / `CN` / `FW` | Consignor, consignee and freight forwarder | | `GID+1+2:PX'` | Goods item 1: two pallets (`PX`) | | `FTX+AAA` | Goods description | | `MEA+AAE+G+KGM:812'` | Gross weight of the goods item: 812 kg | The totals in `CNT` must agree with the goods items: two packages and 812 kg here, matching the single `GID` and its `MEA`. Forwarders use them as a check, and a mismatch is a common reason for a rejected instruction. ## IFTMIN Structure at a Glance (D.96A) | Area | Segment or group | Status | What it holds | |---|---|---|---| | Header | `UNH` | M | Message reference and type | | Header | `BGM` | M | Document code, instruction number, function | | Header | `CTA`, `COM` | C | Contact for the instruction | | Header | `DTM` | C | Message, collection and delivery dates | | Header | `TSR` | C | Transport service requirements | | Header | `CUX`, `MOA` | C | Currencies and amounts, such as declared value | | Header | `FTX` | C | Instructions in free text | | Header | `CNT` | C | Control totals: packages, weight | | Header | `LOC` group (SG1) | C | Places relevant to the whole consignment | | Header | `TOD` group (SG2) | C | Terms of delivery | | Header | `RFF` group (SG3) | C | References: consignor's reference, order numbers | | Header | `GOR` group (SG4) | C | Customs and other government requirements | | Header | `CPI` group (SG6) | C | Charge payment instructions | | Header | `TDT` group (SG8) | C | Transport stage, mode and means, with locations | | Header | `NAD` group (SG11) | M | Parties: consignor, consignee, carrier, forwarder, delivery party | | Detail | `GID` group (SG18) | C | Goods items: packages, description, measurements, marks, dangerous goods | | Detail | `EQD` group (SG37) | C | Equipment such as containers or trailers, with seals | | Trailer | `UNT` | M | Segment count and message reference | Statuses are from the UN/EDIFACT D.96A message. Carrier guides make many conditional groups required. ## Key Segments Explained ### BGM: Beginning of Message ``` BGM+610+KC-TI-26-04412+9' ``` | Element | Name | Example | Notes | |---|---|---|---| | 1001 | Document name code | `610` | Forwarding instructions. Carrier guides may list other codes for other services | | 1004 | Document number | `KC-TI-26-04412` | Your instruction number; the carrier quotes it back | | 1225 | Message function | `9` | Original. GS1 also lists `1` cancellation, `5` replace, `7` duplicate and `31` copy | ### NAD: The Parties ``` NAD+CZ+++Kestrel Castings Ltd+Unit 4 Foundry Way+Walsall++WS2 9ZZ+GB' ``` | Qualifier (3035) | Party | |---|---| | `CZ` | Consignor: the party sending the goods | | `CN` | Consignee: the party the goods are consigned to | | `CA` | Carrier | | `FW` | Freight forwarder | | `DP` | Delivery party, when different from the consignee | After the qualifier come the party code (with its code list, such as a GLN in EANCOM), then the name and the structured address: street, city, postcode and country. Many carriers want both a code and a full address, because the driver needs the address and the carrier's billing needs the code. ### TDT: Transport Details ``` TDT+20++3' ``` The first element is the transport stage (`20` main carriage); the third is the mode, from UN/ECE Recommendation 19 (`3` road). Pre-carriage and on-carriage, when the instruction covers several legs, each get their own `TDT` group with their own locations and dates. ### GID, MEA and FTX: The Goods ``` GID+1+2:PX' FTX+AAA+++Machined brake carriers, cast iron' MEA+AAE+G+KGM:812' ``` `GID` numbers the goods item and gives the number and type of packages, with package types from UN/ECE Recommendation 21 (`PX` pallet, `CT` carton). `FTX+AAA` is the goods description, and `MEA+AAE+G` the gross weight. In EANCOM, each pallet's SSCC goes in a package identification group under the goods item, as `PCI` followed by `GIN+BJ`, the same identifier the [DESADV guide](/guides/edi/edifact-desadv) covers. Dangerous goods go in the `DGS` group under the goods item. ### CNT: Control Totals ``` CNT+7:812:KGM' CNT+11:2' ``` | Qualifier (6069) | Meaning | |---|---| | `7` | Total gross weight | | `11` | Total number of packages | ## IFTMIN vs the X12 204 and 304 | Data | EDIFACT IFTMIN | X12 204 (road load tender) | X12 304 (ocean shipping instructions) | |---|---|---|---| | Who sends it | Shipper or forwarder | Shipper, broker or 3PL | Shipper, forwarder or NVOCC | | Who receives it | Forwarder or carrier | Truckload carrier | Ocean carrier | | Instruction number | `BGM` | `B2` shipment ID | `B2` and booking references | | Parties | `NAD` group | `N1` loops at stops | `N1` loops | | Dates | `DTM` (`200` collection, `2` delivery) | `G62` at each stop | `R4` port details, with dates per the carrier's guide | | Mode and legs | `TDT` groups | Implied: motor carrier | `R4` ports, vessel and voyage | | Goods | `GID`, `FTX`, `MEA` | `L5`, `L3` | `L0`, `L5`, `L3` | | Equipment | `EQD` | `N7` | `N7` | | Answer | Carrier guide sets it | [990](/guides/edi/990-response-to-load-tender) accept or decline | Bill of lading data in the [310](/guides/edi/310-freight-receipt-and-invoice-ocean) | The biggest difference from the 204 is the stop model. A 204 lists every pickup and delivery stop in sequence for one truck. An IFTMIN describes one consignment from consignor to consignee and leaves the routing to the forwarder or carrier. ## Where IFTMIN Sits in the Flow | Step | Message | Direction | X12 equivalent | |---|---|---|---| | 1 | [ORDERS](/guides/edi/edifact-orders) | Buyer to supplier | [850](/guides/edi/850-purchase-order) | | 2 | [DESADV](/guides/edi/edifact-desadv) | Supplier to buyer | [856](/guides/edi/856-ship-notice) | | 3 | **IFTMIN** (after IFTMBF and IFTMBC in ocean) | Shipper to carrier or forwarder | [204](/guides/edi/204-motor-carrier-load-tender) or [304](/guides/edi/304-shipping-instructions) | | 4 | [IFTSTA](/guides/edi/edifact-iftsta) status reports | Carrier to shipper | [214](/guides/edi/214-transportation-carrier-shipment-status) or [315](/guides/edi/315-status-details-ocean) | | 5 | Freight invoice | Carrier to payer | [210](/guides/edi/210-motor-carrier-freight-invoice) or 310 | The DESADV goes to the customer and the IFTMIN goes to the carrier, but they describe the same pallets. Build both from the same despatch record so weights, package counts and SSCCs agree. ## Common IFTMIN Errors and How to Prevent Them | Problem | What happens | Prevention | |---|---|---| | `CNT` totals disagree with the goods items | Instruction rejected or queried | Calculate totals from the `GID` and `MEA` values in the same message | | Consignor or consignee address incomplete | Failed collection or delivery | Send structured addresses as well as party codes | | Collection date in the past or missing | No vehicle planned | Validate dates before sending; send changes as a replacement | | Wrong mode or service | Wrong vehicle, wrong price | Map services from the carrier's code list, not free text | | Several consignments in one IFTMIN | Carrier merges or drops them | One IFTMIN per consignment, as GS1 specifies | | Weights in the wrong unit | Overweight vehicle or billing dispute | Always send the unit (`KGM`) with each weight | | Change sent as a new original | Duplicate collection booked | Use the replace or cancel function the carrier supports | ## IFTMIN Implementation Checklist 1. **Get the carrier's or forwarder's guide**: directory, mandatory segments, services and codes. 2. **Agree party identification**: GLNs, customer account numbers or the carrier's own codes. 3. **Agree references** the carrier must quote back on status reports and invoices. 4. **Map package types and services** to the carrier's code lists. 5. **Build totals from the goods items** so `CNT` always agrees. 6. **Decide how changes and cancellations are sent**, and test both. 7. **Test with real consignments**: a single pallet, a multi-item load, and dangerous goods if you ship them. 8. **Set up status reporting** so the carrier's [IFTSTA](/guides/edi/edifact-iftsta) messages update the same shipment record. ## Where OrderSync Fits Every transport instruction starts with an order. The consignee, the order numbers, the quantities and the delivery date on an IFTMIN all come from purchase orders someone had to get into your ERP, whether they arrived as EDI, a PDF, an email or a spreadsheet. OrderSync reads those inbound orders in any format, matches customers, items and units to your catalog, and outputs clean ERP data or valid X12, so your shipping and transport systems start from accurate orders. Paste any IFTMIN into the [free EDIFACT inspector](/edifact-inspector) to see it parsed segment by segment, use the [free EDI inspector](/edi-inspector) for X12 204s and 304s, or [book a 15-minute walkthrough](/book-call) to see your own orders processed. ## Frequently Asked Questions
### What is the X12 equivalent of IFTMIN? For road freight, the 204 motor carrier load tender. For ocean freight, the 304 shipping instructions. IFTMIN covers both jobs: an instruction to a carrier or forwarder to move one consignment. ### What does BGM+610 mean? `610` is the UN/EDIFACT document code for forwarding instructions. The second element is your instruction number and the third is the message function, usually `9` for an original. ### Can one IFTMIN contain several consignments? GS1 says one transport instruction message should always equal one consignment. A consignment can contain several goods items and packages. To book several consignments, send several messages, which can travel in one interchange. ### What is the difference between IFTMIN and IFTMBF? IFTMBF is a firm booking request, mostly used in ocean freight to reserve space before the cargo details are final; the carrier confirms it with IFTMBC. IFTMIN carries the final instructions for the consignment, which GS1 describes as the message that results in the transport contract. ### Does IFTMIN replace the DESADV? No. DESADV tells your customer what is coming and how it is packed. IFTMIN tells the carrier what to collect and deliver. They describe the same pallets to different parties, so build both from the same despatch data. ### What reply should I expect to an IFTMIN? It depends on the carrier. Some confirm with an acknowledgement or an application response, and most report progress with IFTSTA status messages. The carrier's guide says which messages it returns and what they mean. ### Which directory should I use for IFTMIN? The one your carrier or forwarder specifies. Many road and forwarding guides use D.96A, EANCOM 2002 uses D.01B, and ocean carriers often use later directories. The segment groups are similar, but codes and mandatory segments differ.
## Related guides - **[EDIFACT IFTSTA](/guides/edi/edifact-iftsta)**: the status reports that follow - **[EDI 204 load tender](/guides/edi/204-motor-carrier-load-tender)** and **[EDI 990](/guides/edi/990-response-to-load-tender)**: the X12 road tender cycle - **[EDI 304 shipping instructions](/guides/edi/304-shipping-instructions)** and **[EDI 300 booking request](/guides/edi/300-reservation-booking-request-ocean)**: the X12 ocean equivalents - **[EDIFACT DESADV](/guides/edi/edifact-desadv)**: the despatch advice for the same goods - **[EDIFACT explained](/guides/edi/edifact)** and **[EDIFACT message types](/guides/edi/edifact-message-types)**: syntax and the full catalogue ## Sources - [UN/EDIFACT D.96A IFTMIN message](https://service.unece.org/trade/untdid/d96a/trmd/iftmin_c.htm), UNECE: definition and structure - [IFTMIN in directory D.96A](https://www.edifactory.de/edifact/directory/D96A/message/IFTMIN), EDIFACTORY: segment groups - [EANCOM 2002 S3 IFTMIN instruction message](https://www.gs1.org/sites/default/files/docs/eancom/s3/iftmin.pdf), GS1: principles, code lists and example - [EANCOM 2002 Syntax 3](https://www.gs1.org/edi/eancom/s3), GS1 Check any IFTMIN or IFTSTA in the free [EDIFACT inspector](/edifact-inspector). --- # EDIFACT IFTSTA: Transport Status Report Source: https://ordersync.io/guides/edi/edifact-iftsta > EDIFACT IFTSTA explained: CNI consignments, STS status codes for collected, en route, delivered and delayed, two D.96A examples and the 214 and 315 map. EDIFACT IFTSTA is the international multimodal status report, the UN/EDIFACT counterpart of the X12 214 and 315. A carrier or forwarder sends it to report where a consignment is in the transport chain: collected, en route, delayed, delivered or lost. Each consignment sits in a CNI group, and each event is an STS status code with a date and time. **IFTSTA turns a booked consignment into a tracked one.** Once the carrier has your [IFTMIN](/guides/edi/edifact-iftmin), its status reports tell you when the goods were collected, when they are due, and whether they arrived. Those events feed delivery confirmation, on-time measurement and the delay alerts that let you warn a customer before they chase you. This guide covers what IFTSTA carries, when carriers send it, the status codes, two full examples, the segments you will map, and how IFTSTA compares with the X12 [214 shipment status](/guides/edi/214-transportation-carrier-shipment-status) and [315 ocean status](/guides/edi/315-status-details-ocean). ## What Is an EDIFACT IFTSTA? **IFTSTA is the UN/EDIFACT International multimodal status report message: "a message to report the transport status and/or a change in the transport status (i.e. event) between agreed parties."** "Multimodal" means the same message serves road, rail, air and ocean, which is why one EDIFACT message covers what X12 splits across the 214 for most modes and the 315 for ocean containers. GS1's EANCOM manual says a status message may be sent: - as the result of a request for information about one or more consignments - on a scheduled basis at predetermined times - when a selected event or events happen - when an exceptional event happens, as agreed by the partners It can report a status that has been reached and, for exceptions, the reason. Authoritative references for IFTSTA work: - The [UN/EDIFACT D.96A IFTSTA message](https://service.unece.org/trade/untdid/d96a/trmd/iftsta_c.htm) from UNECE, also laid out group by group on [EDIFACTORY](https://www.edifactory.de/edifact/directory/D96A/message/IFTSTA) - The [GS1 EANCOM 2002 IFTSTA specification](https://www.gs1.org/sites/default/files/docs/eancom/s3/iftsta.pdf), directory D.01B, with its principles, status codes and a worked example of delivered, en route, customs-refused and lost consignments - Each carrier, forwarder and port community publishes its own IFTSTA guide listing the events it actually reports **Who sends it?** The carrier or forwarder moving the goods, or a port, terminal or visibility platform passing events on. **Who receives it?** Whoever the carrier agreed to report to: the shipper, the consignee, the forwarder that subcontracted the move, or a logistics provider acting for one of them. **When is it sent?** At the events agreed during onboarding: collection, departure, arrival at hubs, out for delivery, delivery, and exceptions such as delays and damage. ## Where IFTSTA Fits Among Carriers and Forwarders | Party | Sends IFTSTA to | Typical events | |---|---|---| | Road carrier or groupage network | Shipper, forwarder | Collected, en route, delivered, delayed | | Freight forwarder | Shipper or consignee | Events from its own network and from subcontracted carriers | | Ocean carrier | Shipper, forwarder, consignee | Container events from empty pickup to empty return | | Port or terminal community system | Carriers and forwarders | Gate-in, loaded, discharged, released | A forwarder often sits in the middle: it receives status from the hauliers and carriers it subcontracts and sends its own IFTSTA to the shipper, using the shipper's references. If you receive status from several parties for the same consignment, decide which feed is authoritative before you build alerts on it. ## Status Codes The event is coded in the `STS` segment. In D.96A the second composite is the status event, and its code list includes: | Code | Status event (D.96A) | Typical use | |---|---|---| | `1` | Arrived | Means of transport arrived at a location | | `13` | Collected | Picked up from the consignor | | `20` | Delayed | Delayed in the course of transportation | | `21` | Delivered | Delivered to a location or party in the transport chain | | `22` | Delivery completed | Delivery completed as per instructions | | `23` | Delivery not completed | Delivery not completed as instructed | | `24` | Departed | Means of transport departed from a location | | `31` | En route | In the normal course of transportation | The first composite is the status type, where `1` means the status is related to transport. In later directories, such as the D.01B base of EANCOM 2002, the status composite uses a renamed element and GS1 lists its own selection of codes, including `13` collection or pick-up completed, `21` delivery completed and `31` en route. A third composite can carry a status reason, and carriers usually publish their own list of reasons and the events they report. Load the list from your carrier's guide rather than assuming every code is used. ## Example 1: Collected and En Route The fictional forwarder Alder Freight Forwarding reports on the consignment the fictional foundry Kestrel Castings booked with IFTMIN: collected at 10:40, en route at 18:50 with an estimated arrival of 08:00 the next morning. | Segment | What it says | |---|---| | `BGM+77+AF-ST-0098812+9'` | Status report (`77`, consignment status), report number AF-ST-0098812, original | | `NAD+FW` / `NAD+CZ` | Report from the freight forwarder, about a consignment from this consignor | | `CNI+1+KC-SHP-30991'` | Consignment 1, identified by the consignor's shipment reference | | `STS+1+13'` | Transport status: collected | | `RFF+AAM` | The forwarder's waybill number | | `DTM+334` | Status change date/time: 12 November at 10:40 | | `STS+1+31'` | Transport status: en route, at 18:50 | | `DTM+132` | Estimated arrival: 13 November at 08:00 | The consignment number in `CNI` is the consignor's own reference from the IFTMIN, which is what lets your system match the event to the right shipment without a lookup table. Agree during onboarding which reference the carrier will put there. ## Example 2: One Delivered, One Delayed One report can cover several consignments, each in its own `CNI` group. Here the first consignment was delivered and the second missed its linehaul and has a new estimated arrival. | Segment | What it says | |---|---| | `CNI+1` / `STS+1+21'` | Consignment KC-SHP-30991 delivered at 07:46 on 13 November | | `FTX+AAI` | General information: who received it | | `CNI+2` / `STS+1+20'` | Consignment KC-SHP-31004 delayed, reported at 15:10 | | `DTM+132` | New estimated arrival: 16 November at 08:00 | | `FTX+AAI` | The reason, in free text | This example gives the delay reason as free text. Many carriers send a coded reason in the third `STS` composite instead, which is easier to report on. If yours does, map its code list and keep the free text as a fallback. ## IFTSTA Structure at a Glance (D.96A) | Area | Segment or group | Status | What it holds | |---|---|---|---| | Header | `UNH` | M | Message reference and type | | Header | `BGM` | M | Document code, report number, function | | Header | `DTM` | C | Message date | | Header | `TSR` | C | Transport service requirements | | Header | `NAD` group (SG1) | C | Parties, with contacts | | Header | `RFF` group (SG3) | C | References for the whole report | | Header | `LOC`, `FTX`, `CNT` | C | Locations, free text, control totals | | Detail | `CNI` group (SG4) | C | One consignment, with `LOC` and `CNT` | | Detail | `STS` group (SG5) | M | One status: `RFF`, `DTM`, `DOC`, `FTX`, `NAD`, `LOC`, `PCI` | | Detail | `TDT` group (SG6) | C | The transport the status relates to | | Detail | `EQD` group (SG7) | C | Equipment, such as a container or trailer, with seals | | Detail | `GID` group (SG9) | C | Goods items, with measurements and package marks | | Trailer | `UNT` | M | Segment count and message reference | The `STS` group is mandatory inside each `CNI` group, so a consignment is never reported without a status. Goods items in the `GID` group let a carrier report a status per package, which GS1's example uses to show some cartons of a consignment delivered and one lost. ## Key Segments Explained ### BGM: Beginning of Message ``` BGM+77+AF-ST-0098812+9' ``` | Element | Name | Example | Notes | |---|---|---|---| | 1001 | Document name code | `77` | Status report covering consignment status. The code list also defines `23` (status information), and `44` (transport status report) appears in later directories and in EANCOM's list | | 1004 | Document number | `AF-ST-0098812` | The report number | | 1225 | Message function | `9` | Original | ### CNI: Consignment Information ``` CNI+1+KC-SHP-30991' ``` The first element is a sequence number within the message. The second carries the consignment's document number: GS1 identifies a consignment by the consignor's reference number, the same reference sent in `RFF+CU` on the IFTMIN. ### STS: Status ``` STS+1+13' ``` | Composite | Content | Example | |---|---|---| | Status type (C601) | Category of status | `1` transport | | Status event (C555) | What happened | `13` collected, `31` en route, `21` delivered | | Status reason (C556) | Why, for exceptions; can repeat | Carrier's or UN code list | ### DTM: When ``` DTM+334:202611121040:203' ``` | Qualifier (2005) | Meaning | |---|---| | `334` | Status change date/time: when the event happened | | `132` | Arrival date/time, estimated | | `178` | Arrival date/time, actual | | `35` | Delivery date/time, actual | | `137` | Document/message date/time (header) | Store the event time in `DTM+334`, not the message time in the header. A carrier that batches events may send a morning collection in an evening report, and on-time measurement should use the time the event happened. ### RFF: References ``` RFF+AAM:AF-HWB-7740321' ``` Status reports are only useful if you can match them. Carriers commonly send their waybill number (`AAM`), and many also echo your consignor's reference (`CU`), your order number (`ON`) or a booking reference (`BN`). Ask for every reference you will need to look the shipment up. ## IFTSTA vs the X12 214 and 315 | Data | EDIFACT IFTSTA | X12 214 | X12 315 | |---|---|---|---| | Modes | Any (multimodal) | Truck and most other modes | Ocean | | Unit reported | Consignment (`CNI`), optionally goods items and equipment | Shipment, with `LX` loops | Container or shipment | | Status code | `STS` status event | `AT7` status code | `B4` status code | | Reason code | `STS` status reason | `AT7` reason code | Per carrier guide | | Event time | `DTM+334` | `AT7` date and time | `B4` date and time | | Location | `LOC` or `NAD` in the `STS` group | `MS1` | `B4` and `R4` | | Equipment | `EQD` | `MS2` | `B4` container number | | References | `RFF` | `L11` | `N9` | | Trailer count | `UNT` | `SE` | `SE` | The status codes themselves do not map one to one. Build a translation table per carrier from its guide, rather than mapping by name. ## Where IFTSTA Sits in the Flow | Step | Message | Direction | X12 equivalent | |---|---|---|---| | 1 | [IFTMIN](/guides/edi/edifact-iftmin) (with IFTMBF and IFTMBC in ocean) | Shipper to carrier or forwarder | [204](/guides/edi/204-motor-carrier-load-tender) or [304](/guides/edi/304-shipping-instructions) | | 2 | **IFTSTA**, at each agreed event | Carrier to shipper | [214](/guides/edi/214-transportation-carrier-shipment-status) or [315](/guides/edi/315-status-details-ocean) | | 3 | [RECADV](/guides/edi/edifact-recadv), after the consignee books the goods in | Consignee to supplier | [861](/guides/edi/861-receiving-advice) | | 4 | Freight invoice | Carrier to payer | [210](/guides/edi/210-motor-carrier-freight-invoice) or [310](/guides/edi/310-freight-receipt-and-invoice-ocean) | A delivered status from the carrier and a RECADV from your customer answer different questions. IFTSTA says the goods reached the dock. RECADV says what the customer accepted, line by line. ## Common IFTSTA Errors and How to Prevent Them | Problem | What happens | Prevention | |---|---|---| | Status cannot be matched to a shipment | Events pile up unassigned | Agree the reference in `CNI` and `RFF` during onboarding | | Message time used as event time | On-time figures wrong | Read `DTM+334` for the event | | Unknown status code treated as delivered | Shipments closed too early | Map codes explicitly and hold unknown ones for review | | Duplicate events from several parties | Conflicting timelines | Choose one authoritative feed per consignment | | Estimated arrival not updated | Customers told the old time | Overwrite the estimate from each new `DTM+132` | | Time zone assumed | Events hours out | Agree whether times are local to the event or a fixed zone | ## IFTSTA Implementation Checklist 1. **Get the carrier's guide**: directory, events reported, status and reason code lists. 2. **Agree the references** in `CNI` and `RFF` so every report matches a shipment. 3. **Agree which events** you want: collection, departure, delivery and exceptions at minimum. 4. **Map status codes** to your own milestones, per carrier. 5. **Store event times from `DTM+334`** and keep estimates separate from actuals. 6. **Agree time zones** and how a late correction to an earlier event is sent. 7. **Set alerts on exceptions**, such as delayed or not delivered, not on every event. 8. **Test with real shipments**, including a delay, a partial delivery and a failed delivery. ## Where OrderSync Fits A status report tells you where a shipment is. Whether it is the right shipment, going to the right place with the right order numbers, was decided earlier, when the order was entered. Orders that arrive as PDFs, emails or spreadsheets and get keyed by hand carry their mistakes all the way to delivery. OrderSync reads inbound orders in any format, from EDI 850s and 875s to PDFs, emails and spreadsheets, matches customers, items and units to your catalog, and outputs clean ERP data or valid X12. Paste any IFTSTA into the [free EDIFACT inspector](/edifact-inspector) to see it parsed segment by segment, use the [free EDI inspector](/edi-inspector) for X12 214s and 315s, or [book a 15-minute walkthrough](/book-call) to see your own orders processed. ## Frequently Asked Questions
### What is the X12 equivalent of IFTSTA? The 214 shipment status message for truck and most other modes, and the 315 status details for ocean containers. IFTSTA is multimodal, so one EDIFACT message covers both. ### What does STS+1+21 mean? `STS` is the status segment. `1` says the status is related to transport, and `21` in the D.96A status event list means delivered. The time of the event is in the `DTM+334` that follows. ### What is the CNI segment in IFTSTA? `CNI` (consignment information) opens one consignment in the report, with a sequence number and the consignment's reference. Every `CNI` group must contain at least one `STS` status group. ### Can one IFTSTA report on several consignments? Yes. Each consignment gets its own `CNI` group, and each can carry several status events. GS1's example reports four consignments in one message, with different statuses. ### Who sends IFTSTA, the carrier or the forwarder? Either. A carrier reports on what it moves, and a forwarder often collects status from its subcontracted carriers and sends its own IFTSTA to the shipper. Ports and visibility platforms send it too. ### How is IFTSTA different from RECADV? IFTSTA comes from the transport side and reports events such as collected, en route and delivered. RECADV comes from the customer and reports what was received and accepted after checking the goods. A delivered status does not mean every line was accepted. ### Which directory does IFTSTA use? The one your carrier specifies. D.96A is common with road carriers and forwarders, EANCOM 2002 uses D.01B, and ocean carriers often publish guides in later directories. The status codes and segment groups are similar but not identical.
## Related guides - **[EDIFACT IFTMIN](/guides/edi/edifact-iftmin)**: the transport instruction that starts the move - **[EDI 214 shipment status](/guides/edi/214-transportation-carrier-shipment-status)** and **[EDI 315 ocean status](/guides/edi/315-status-details-ocean)**: the X12 counterparts - **[EDIFACT DESADV](/guides/edi/edifact-desadv)** and **[EDIFACT RECADV](/guides/edi/edifact-recadv)**: what was shipped and what was received - **[EDIFACT explained](/guides/edi/edifact)** and **[EDIFACT message types](/guides/edi/edifact-message-types)**: syntax and the full catalogue ## Sources - [UN/EDIFACT D.96A IFTSTA message](https://service.unece.org/trade/untdid/d96a/trmd/iftsta_c.htm), UNECE: definition and structure - [IFTSTA in directory D.96A](https://www.edifactory.de/edifact/directory/D96A/message/IFTSTA), EDIFACTORY: segment groups and status event codes - [EANCOM 2002 S3 IFTSTA status report message](https://www.gs1.org/sites/default/files/docs/eancom/s3/iftsta.pdf), GS1: principles, code lists and example - [EANCOM 2002 Syntax 3](https://www.gs1.org/edi/eancom/s3), GS1 Check any IFTSTA or IFTMIN in the free [EDIFACT inspector](/edifact-inspector). --- # TRADACOMS INVFIL: The UK Invoice File Explained Source: https://ordersync.io/guides/edi/tradacoms-invfil > TRADACOMS INVFIL invoice files explained: INVFIL, INVOIC, VATTLR and INVTLR, ILD lines, STL VAT sub-totals, implied decimals, live examples and EANCOM INVOIC. INVFIL is the TRADACOMS invoice file a UK supplier sends to its customer. It holds an INVFIL header with supplier, customer and file number, one INVOIC message per invoice with ILD lines and STL VAT sub-totals, a VATTLR message summarising VAT by rate for the whole file, and an INVTLR trailer with file totals. Its EANCOM equivalent is INVOIC. The invoice file is the TRADACOMS document that gets you paid, and the one retailers check hardest. Every line, every VAT sub-total and every file total has to add up, and the numbers have no decimal points. A file that fails those checks is usually rejected rather than queried, and the invoice is not paid until a corrected file arrives. This guide covers the four messages in an INVFIL, how the VAT arithmetic chains from line to file, and two live examples. For the EANCOM equivalent, see the [EDIFACT INVOIC guide](/guides/edi/edifact-invoic). ## What is a TRADACOMS INVFIL? **INVFIL is the invoice file in TRADACOMS, the UK retail EDI standard maintained by the Article Numbering Association, now GS1 UK, until support ended in 2017.** The supplier sends it to the customer to bill for goods or services. One file can carry a single invoice or a whole day's invoicing to that customer. Unlike the order file, the invoice file has **two** trailer messages. `VATTLR` summarises VAT by rate across every invoice in the file, and `INVTLR` gives the file totals. That structure reflects the standard's UK design: VAT is built into the file, rate by rate, at every level. ## INVFIL file structure ``` STX Start of transmission (supplier to customer, APRF INVFIL) │ ├── MHD INVFIL Invoice file header once per file │ TYP SDT CDT FIL (DNA FDT ACD) │ MTR │ ├── MHD INVOIC Invoice details once per invoice, repeats │ CLO IRF (PYT DNA) │ ODD order and delivery reference │ ILD ILD ... one per invoice line │ STL STL ... one per VAT rate on this invoice │ TLR invoice totals │ MTR │ ├── MHD VATTLR VAT trailer once per file │ VRS VRS ... one per VAT rate in the file │ MTR │ ├── MHD INVTLR Invoice file trailer once per file │ TOT file totals and invoice count │ MTR │ END End of transmission (number of messages) ``` The VATTLR and INVTLR come once, after all the invoices. A translator that writes a VATTLR after every INVOIC produces a file the customer's system does not expect; a Software AG community thread describes exactly that mistake. ## Example: one invoice, one VAT rate Kestrel Valley Homeware invoices fictional retailer Harbour Lane Stores for the order it delivered to Harbour Lane's northern DC: 40 cases of chopping boards, 20 cases of mill sets and 10 cases of utensil sets, all standard-rated. Identifiers are made up, with valid GS1 check digits. | Segment | What it says | |---|---| | `STX=...+INVFIL+B'` | Supplier to customer; application reference `INVFIL` | | `MHD=1+INVFIL:9'` | Message 1 is the invoice file header, version 9 | | `TYP=0700+INVOICES'` | Transaction code 0700: invoices only | | `SDT=...++987654321'` | Supplier GLN, supplier number at the retailer, name, (no address), VAT registration number | | `FIL=1207+1+261016'` | File generation number 1207, version 1, created 16 October 2026 | | `CLO=5012345000107:00212+...` | The delivery location being invoiced | | `IRF=KV-INV-20931+261016+261016'` | Invoice number, invoice date and tax point date | | `ODD=1+HL-PO-88340::261012+KV-DN-55120:261015'` | The retailer's order number and date, and your delivery note number and date | | `ILD=1+1+...` | Invoice line 1 under order and delivery reference 1 (broken down below) | | `STL=1+S+20000+3+71000...` | VAT sub-trailer: standard rate, 20%, 3 lines, £710.00 net, £142.00 VAT, £852.00 payable | | `TLR=1+71000...` | Invoice totals across one STL | | `MTR=10'` | Ten segments in the INVOIC message | | `VRS=1+S+20000+...` | VAT rate summary for the whole file | | `TOT=71000+71000+14200+85200+85200+1'` | File totals: net, net after discount, VAT, payable before and after discount, and 1 invoice | | `END=4'` | Four messages | ## Implied decimals: reading the numbers Nothing in an INVFIL has a decimal point. Each numeric field has a fixed number of implied decimal places set by the specification. The John Lewis Partnership publishes the formats it uses, and they match how the example above is written: | Field | Format in the JLP spec | Example value | Means | |---|---|---|---| | `AUCT` unit cost price | `n10.4` | `90000` | £9.0000 | | `LEXC` extended line cost | `n10.4` | `3600000` | £360.0000 | | `VATP` VAT percentage | `n3.3` | `20000` | 20.000% | | `LVLA`, `VATA` and other STL, TLR, VRS and TOT amounts | `n10.2` | `71000` | £710.00 | Line values carry four decimal places and totals two, so the move from `LEXC` to `LVLA` is where you round. Sum the line values first, then round the sub-total; rounding each line separately can leave the STL a penny out. Confirm the formats in your own partner's specification before you build. ## Segment reference Version 9 layouts. "M" is mandatory and "O" optional in the standard. The EANCOM column gives the closest equivalent in [EDIFACT INVOIC](/guides/edi/edifact-invoic). ### INVFIL: invoice file header | Segment | Name | Status | What it carries | EANCOM equivalent | |---|---|---|---|---| | `MHD` | Message header | M | Message number and `INVFIL:version` | `UNH` | | `TYP` | Transaction type | M | 0700 invoices, 0701 self-billed, 0709 copy invoices and others | `BGM+380` and function | | `SDT` | Supplier details | M | Supplier GLN and code, name, address, VAT number | `NAD+SU` with `RFF+VA` | | `CDT` | Customer details | M | Customer GLN, name, address, VAT number | `NAD+BY` / `NAD+IV` | | `DNA` | Data narrative | O | File-level notes and registered codes | `FTX` | | `FIL` | File details | M | File generation number, version and date | No direct equivalent | | `FDT` | File period dates | O | Invoice and delivery period end dates | `DTM` period | | `ACD` | Audit control details | O | Location of the system that generated the file | None | | `MTR` | Message trailer | M | Segment count | `UNT` | ### INVOIC: one per invoice | Segment | Name | Status | What it carries | EANCOM equivalent | |---|---|---|---|---| | `CLO` | Customer's location | M | Delivery or invoiced location: GLN and codes | `NAD+DP` | | `IRF` | Invoice references | M | Invoice number, invoice date, tax point date | `BGM` number, `DTM+137`, `DTM+131` | | `PYT` | Settlement terms | O | Settlement discount terms | `PAT` | | `DNA` | Data narrative | O | Invoice-level notes | `FTX` | | `ODD` | Order and delivery references | M, repeats | Customer order number and date, delivery note number and date, proof of delivery | `RFF+ON`, `RFF+DQ` | | `ILD` | Invoice line details | M, repeats | Product, pack, quantity, unit cost, line cost, VAT category and rate | `LIN`, `QTY+47`, `PRI+AAA`, `MOA+203`, `TAX+7` | | `CIA` | Complex invoice line adjustments | O | Line-level allowances and charges | `ALC` at line level | | `DNC` | Narrative details | O | Line-level notes | `FTX` at line level | | `STL` | VAT rate invoice sub-trailer | M, one per rate | Lines, net value, discounts, surcharges, VAT and payable for one VAT rate | Summary `TAX+7` with `MOA+125` and `MOA+124` | | `TLR` | Invoice trailer | M | Totals across all STL segments | `MOA+79`, `MOA+125`, `MOA+176`, `MOA+86` | ### VATTLR and INVTLR: file trailers | Message | Segment | What it carries | EANCOM equivalent | |---|---|---|---| | `VATTLR` | `VRS` VAT rate summary, one per rate | Net, VAT and payable totals for one VAT rate across every invoice in the file | None; each EANCOM invoice stands alone | | `INVTLR` | `TOT` file totals | Net, VAT and payable totals for the file, and the number of invoices | None | ## Reading the ILD invoice line | Position | Field | In `ILD=1+1+5098765100016:KV-1001+++6+40+90000+3600000+S+20000+++BAMBOO CHOPPING BOARD:LARGE'` | |---|---|---| | 1 | `SEQA` links the line to its `ODD` order and delivery reference | `1` | | 2 | `SEQB` line number within that reference | `1` | | 3 | `SPRO` GTIN of the traded unit, supplier's code, DUN-14 | `5098765100016:KV-1001` | | 4 | `SACU` consumer unit EAN | empty | | 5 | `CPRO` customer's own-brand EAN and item code | empty | | 6 | `UNOR` consumer units per traded unit | `6` | | 7 | `QTYI` traded units invoiced | `40` | | 8 | `AUCT` unit cost after line discount, before VAT | `90000` (£9.00) | | 9 | `LEXC` extended line cost, `AUCT` x `QTYI` | `3600000` (£360.00) | | 10 | `VATC` VAT category | `S` | | 11 | `VATP` VAT rate | `20000` (20%) | | 12 to 13 | `MIXI` mixed VAT indicator, `CRLI` credit line indicator | empty | | 14 | `TDES` description | `BAMBOO CHOPPING BOARD:LARGE` | Further optional positions carry recommended and marked retail prices, unit cost before discount (`BUCT`), discount value and percentage, and the VAT type of supply. The common VAT category codes are `S` standard, `Z` zero, `L` lower (reduced) rate, `X` exempt and `A` mixed-rate item. ## How the VAT arithmetic chains together The totals in an INVFIL are layered, and each layer must equal the sum of the one below: 1. **ILD:** `LEXC` = `AUCT` x `QTYI` for each line. 2. **STL, one per VAT rate per invoice:** `LVLA` is the sum of `LEXC` at that rate. `EVLA` = `LVLA` less quantity and value discounts plus surcharges. `ASDA` = `EVLA` less settlement discount. `VATA` is the VAT. `APSE` = `EVLA` + `VATA` and `APSI` = `ASDA` + `VATA`. 3. **TLR, one per invoice:** each total is the sum of the matching STL field, and `NSTL` counts the STLs. 4. **VRS, one per VAT rate per file:** sums of the STL values at that rate across every invoice. 5. **TOT, one per file:** sums of the VRS values, plus `FTNI`, the number of invoices. A retailer's system re-adds every layer. If your ERP calculates VAT per line and the retailer's per rate, the totals can disagree by a penny, and a penny is enough to fail the file. ## Example: two invoices, two VAT rates Two store invoices in one file. The Leeds invoice is all standard-rated. The York invoice adds a recipe book, which is zero-rated under UK VAT, so it has two `STL` segments. The `VATTLR` then carries one `VRS` per rate across both invoices, and `TOT` adds them up. Check the chain: Leeds pays £56.88 and York £48.60, so the file total payable is £105.48 (`10548`). The standard-rate `VRS` adds the two standard-rate STLs (£47.40 + £18.00 = £65.40 net, £13.08 VAT), and the zero-rate `VRS` carries the book alone. ## Settlement discount, surcharges and reconciliation - **Settlement discount.** If you offer a prompt payment discount, show it in `PYT` and carry the discount in each STL's `SEDA`. `ASDA` and `APSI` then show the after-discount values, and `TLR` and `TOT` repeat both sets of totals. - **Carriage and other surcharges.** These go in the STL `SURA` field for the VAT rate they attract, and roll up into `EVLA`. The JLP spec, for instance, lists registered codes in `DNA` for carriage and miscellaneous charges. - **The RSGRSG reconciliation message.** Some partners want an extra message at the end of the transmission, `RSGRSG`, which repeats the sender's transmission reference and the receiver's code so the file can be reconciled. The JLP invoice specification asks for it, and changes the `STX` syntax identifier from `ANA` to `ANAA` when it is sent. - **Test and live references.** JLP also uses the `STX` application reference to separate test files (`INVTES`) from live ones (`INVFIL`). Ask your partner whether they do the same before you go live. ## INVFIL to EANCOM INVOIC | Business data | TRADACOMS invoice file | EANCOM INVOIC | |---|---|---| | Document type | `TYP=0700` | `BGM+380` | | Invoice number and date | `IRF` | `BGM` and `DTM+137` | | Tax point date | `IRF` third element | `DTM+131` | | Order and delivery note | `ODD` | `RFF+ON` and `RFF+DQ` | | Supplier VAT number | `SDT` | `NAD+SU` with `RFF+VA` | | Line quantity | `ILD` `QTYI` | `QTY+47` | | Unit price | `ILD` `AUCT`, implied decimals | `PRI+AAA`, explicit decimal | | Line amount | `ILD` `LEXC` | `MOA+203` | | Line VAT rate | `ILD` `VATC`, `VATP` | `TAX+7+VAT+++:::20+S` | | VAT per rate | `STL` | Summary `TAX` with `MOA+125` and `MOA+124` | | Invoice totals | `TLR` | `MOA+79`, `MOA+125`, `MOA+176`, `MOA+86` | | File VAT summary and totals | `VATTLR`, `INVTLR` | None; each invoice is self-contained | The X12 counterpart is the [810 invoice](/guides/edi/810-invoice). Credit notes do not go in an INVFIL: TRADACOMS has a separate [credit note file, CREHDR](/guides/edi/tradacoms-crehdr). ## Which UK retailers take INVFIL - **Waitrose** and the wider John Lewis Partnership take TRADACOMS INVFIL invoices, and publish the field-level specification on the JLP supplier site. See the [Waitrose page](/edi-compliance/waitrose). - **Ocado** takes INVFIL invoices but does not accept credit or debit notes by EDI, per ecosio. See the [Ocado page](/edi-compliance/ocado). - **Co-op** requires invoices by EDI in TRADACOMS version 9, or through its SNC portal, and warns that late invoices can be paid late. See the [Co-op page](/edi-compliance/co-op). - **Asda** trades invoices and credit notes in TRADACOMS, per ecosio. See the [Asda page](/edi-compliance/asda). - **Boots** trades invoices in TRADACOMS, per Cegedim. See the [Boots page](/edi-compliance/boots). ## Common INVFIL errors 1. **A VATTLR after every invoice.** VATTLR and INVTLR appear once per file, after the last INVOIC. 2. **Rounding per line instead of per rate.** Sum `LEXC` values, then round the STL. Recalculate VAT from the STL net, not by adding line VAT. 3. **STL count wrong.** `TLR` `NSTL` must equal the number of STL segments in that invoice, and each STL `NRIL` the number of ILD lines at that rate. 4. **MTR and END counts.** `MTR` counts every segment from `MHD` to `MTR` inclusive. `END` counts every message, including the INVFIL header and both trailers, so one invoice gives `END=4`. 5. **File generation number out of sequence.** `FIL` generation numbers run in sequence per file type and trading partner. The JLP specification states that files out of sequence are rejected, so never reuse or skip one, and send a corrected file with the next number unless your partner says otherwise. 6. **Invoicing ordered quantities.** Invoice what was delivered and accepted. If the retailer sent a [delivery confirmation (DLCHDR)](/guides/edi/tradacoms-dlchdr) showing a shortage, invoice the received quantity or expect a debit. ## How OrderSync handles INVFIL OrderSync builds INVFIL files from the orders and deliveries already in your system, with VAT calculated per rate the way TRADACOMS expects, so the STL, TLR, VRS and TOT layers agree before the file leaves. The same order can be invoiced as TRADACOMS, EANCOM, X12 or PDF depending on the customer. ## Frequently Asked Questions ### What is INVFIL in EDI? INVFIL is the TRADACOMS invoice file used in UK retail. Strictly it is the name of the file header message, but the whole invoice file is usually called INVFIL. It contains the header, one INVOIC message per invoice, a VATTLR VAT summary and an INVTLR file trailer. ### What is the difference between INVFIL and INVOIC? INVFIL is the header message sent once per file with the supplier and customer details. INVOIC is the detail message sent once per invoice. The EDIFACT standard also has a message called INVOIC, but it is a different format with different segments. ### What do VATTLR and INVTLR do? VATTLR summarises VAT for the whole file, with one VRS segment per VAT rate. INVTLR closes the file with a TOT segment holding the file totals and the number of invoices. The customer's system checks both against the invoices before accepting the file. ### Can a TRADACOMS invoice file contain credit notes? Not in the standard layout. Credit notes go in a separate credit note file with a CREHDR header, CREDIT messages and their own trailers. Some partners do not accept credit notes by EDI at all, so check before you build one. ### What is the EDIFACT equivalent of INVFIL? The EANCOM INVOIC message with document code `BGM+380`. Each EANCOM invoice is self-contained, so the file-level VATTLR and INVTLR summaries have no direct equivalent. ## Related guides - **[TRADACOMS explained](/guides/edi/tradacoms)**: syntax, STX and END, and how files work - **[TRADACOMS ORDHDR](/guides/edi/tradacoms-ordhdr)**: the order file you are invoicing against - **[TRADACOMS CREHDR](/guides/edi/tradacoms-crehdr)**: the credit note file - **[TRADACOMS file types](/guides/edi/tradacoms-file-types)**: every file type and its EANCOM equivalent - **[EDIFACT INVOIC](/guides/edi/edifact-invoic)**: the EANCOM invoice ## Sources - [EDI - Tradacoms invoice specifications](https://www.jlpsuppliers.com/supplier-finance-queries/new-connections/edi-tradacoms-invoice-specifications), John Lewis Partnership - [TRADACOMS release 9 INVOIC layout](https://www.kasoftware.com/schema/edi/tradacoms/9/messages/INVOIC/), KA Software schema reference, including the ILD, STL, TLR and TOT segment pages - [TRADACOMS EDI Connector](https://docs.mulesoft.com/tradacoms-edi-connector/latest), MuleSoft: INVFIL, INVOIC, VATTLR and INVTLR file structure - [Tradacoms invoices](https://techcommunity.softwareag.com/t/tradacoms-invoices/108914), Software AG Tech Community - [Co-op supplier guidelines](https://supplier.coop.co.uk/supplierguidelines), Co-op - [Setting up an EDI connection with Ocado](https://ecosio.com/en/blog/setting-up-an-edi-connection-with-ocado/), ecosio - [Ending support for TRADACOMS](https://www.gs1uk.org/insights/news/ending-support-for-tradacoms), GS1 UK Check an INVFIL's structure, counts and trailers in the free [EDIFACT inspector](/edifact-inspector). --- # EDIFACT INVOIC: Invoice Segments, VAT and Example Source: https://ordersync.io/guides/edi/edifact-invoic > EDIFACT INVOIC explained: live EANCOM invoices with UK VAT, zero-rated lines, credit notes, allowances and charges, the segment table and the X12 810 mapping. EDIFACT INVOIC is the UN/EDIFACT invoice message, the equivalent of the X12 810. The supplier sends it to bill the buyer, quoting the order and despatch references. Each LIN line carries the invoiced quantity, net amount, price and a TAX segment with its VAT rate; the summary repeats totals in MOA segments and VAT per rate in TAX and MOA pairs. INVOIC is the message that gets you paid. Buyers match it against their order and their goods receipt before they release payment, so an INVOIC that disagrees with your DESADV, or whose VAT does not add up, sits in an exceptions queue until somebody fixes it by hand. This guide follows the [GS1 EANCOM 2002 INVOIC](https://www.gs1.org/sites/default/files/docs/eancom/ean02s3/part2/invoic/toc.htm) layout, with four live UK examples you can open in the inspector: a mixed-VAT invoice, an invoice with allowances and charges, a credit note, and an invoice built for three-way matching. For EDIFACT basics, start with [EDIFACT explained](/guides/edi/edifact). ## What is an EDIFACT INVOIC? **INVOIC is the UN/EDIFACT invoice message: a claim for payment for goods or services supplied under conditions agreed between seller and buyer.** GS1 states that the same message, with the right document code, also serves as the specification for credit notes and debit notes. One INVOIC can cover one or more orders and deliveries, and can carry payment terms and transport details. INVOIC comes near the end of the order-to-cash flow: [ORDERS](/guides/edi/edifact-orders), [ORDRSP](/guides/edi/edifact-ordrsp), [DESADV](/guides/edi/edifact-desadv), [RECADV](/guides/edi/edifact-recadv), then INVOIC, then the buyer's remittance advice. Like every EANCOM message, INVOIC has three sections. The **header** holds references, parties, currency, payment terms and invoice-level allowances or charges. The **detail** section holds one `LIN` group per invoiced item. The **summary** section, after `UNS+S`, holds the totals and the VAT breakdown. ``` UNH Message header BGM, DTM, RFF, NAD, CUX, PAT, ALC header: what, when, who, terms LIN QTY MOA PRI TAX/MOA ALC detail: one group per item UNS+S section control CNT MOA TAX/MOA ALC/MOA summary: totals and VAT by rate UNT Message trailer ``` ## Example 1: a UK invoice with standard-rated and zero-rated lines The fictional supplier Kestrel Valley Homeware invoices the fictional retailer Harbour Lane Stores for order HL-PO-88190. Two lines are standard-rated at 20%. The third is a printed cookbook, which is zero-rated in the UK. VAT numbers, GLNs and GTINs are made up, with valid GS1 check digits. | Segment | What it says | |---|---| | `UNH+1+INVOIC:D:01B:UN:EAN011'` | INVOIC, directory D.01B, EANCOM 2002 subset version 011 | | `BGM+380+KV-INV-20918+9'` | Commercial invoice (`380`), invoice number, original (`9`) | | `DTM+137` | Invoice date. GS1 makes `137` mandatory | | `RFF+ON` + `DTM+171` | The buyer's order number and its date | | `NAD+BY` / `NAD+SU` + `RFF+VA` | Buyer and supplier GLNs, each with a VAT number | | `CUX+2:GBP:4'` / `PAT+1++5:3:D:30'` | Invoiced in GBP, due 30 days after the invoice date | | `QTY+47` / `MOA+203` / `PRI+AAA` | Invoiced quantity, line amount excluding VAT, net unit price | | `TAX+7+VAT+++:::20+S'` + `MOA+124` | VAT at 20%, category S, and the VAT on this line | | `TAX+7+VAT+++:::0+Z'` + `MOA+124:0.00'` | Zero rate, category Z, no VAT due | | `MOA+86`, `79`, `125`, `176` | Invoice total, line total, taxable amount, total VAT | | Summary `TAX` + `MOA+125` + `MOA+124` | One block per rate: taxable amount and VAT at that rate | | `UNT+46+1'` | 46 segments from UNH to UNT inclusive | The arithmetic: 780.00 + 392.00 + 217.50 = 1,389.50 taxable. VAT is 20% of 1,172.00 = 234.40, plus nothing on the 217.50 at zero rate. Invoice total 1,389.50 + 234.40 = 1,623.90. ## INVOIC segment reference Status and repeat counts are from the GS1 EANCOM 2002 S3 INVOIC structure chart. "M" is mandatory, "C" conditional. Where a segment heads a segment group, the repeat count is for the group. | Segment | Name | Status | Repeats | Carries | X12 810 equivalent | |---|---|---|---|---|---| | `UNH` | Message header | M | 1 | Message type and version | `ST` | | `BGM` | Beginning of message | M | 1 | Document code (380, 381...), number, function | `BIG02`, `BIG07` | | `DTM` | Date/time/period | M | 35 | Invoice date (137), delivery date (35) | `BIG01`, `DTM` | | `PAI` | Payment instructions | C | 1 | How to pay | (by partner) | | `FTX` | Free text | C | 99 | Notes for the whole invoice | `NTE` | | `RFF` (SG1) | Reference | M in group | 99,999 | Order (ON), despatch advice (AAK), delivery note (DQ), invoice (IV) | `BIG04`, `REF` | | `NAD` (SG2) | Name and address | M in group | 99 | Buyer, supplier, delivery point, invoicee by GLN | `N1` to `N4` | | `RFF` (SG3) | Party reference | M in group | 9,999 | VAT number (VA) for that party | `REF` | | `TAX` (SG6) | Duty/tax/fee details | M in group | 5 | Tax for the whole invoice | `TXI` | | `CUX` (SG7) | Currencies | M in group | 99 | Invoicing currency | `CUR` | | `PAT` (SG8) | Payment terms basis | M in group | 10 | Terms, discounts for early payment | `ITD` | | `TOD` (SG12) | Terms of delivery | M in group | 5 | Incoterms or delivery terms | `FOB` | | `ALC` (SG16) | Allowance or charge | M in group | 9,999 | Invoice-level charges such as freight | `SAC` | | `AJT` (SG24) | Adjustment details | M in group | 1 | Reason for a credit or debit note | (by partner) | | `LIN` (SG26) | Line item | M in group | 9,999,999 | GTIN of the invoiced item | `IT1` | | `PIA` | Additional product id | C | 25 | Supplier or buyer item codes | `IT1` qualifiers | | `IMD` | Item description | C | 99 | Description | `PID` | | `QTY` | Quantity | C | 5 | Invoiced (47), delivered (46) | `IT102` | | `MOA` (SG27) | Monetary amount | M in group | 99 | Line amount (203) | Calculated, not sent | | `PRI` (SG29) | Price details | M in group | 25 | Net (AAA) or gross (AAB) unit price | `IT104` | | `RFF` (SG30) | Line reference | M in group | 10 | Line-level order or delivery reference | `REF` in IT1 loop | | `TAX` (SG34) | Line tax | M in group | 99 | VAT rate and category for the line | `TXI` in IT1 loop | | `ALC` (SG39) | Line allowance or charge | M in group | 30 | Line discounts and charges | `SAC` in IT1 loop | | `UNS` | Section control | M | 1 | Start of summary (`UNS+S`) | None | | `CNT` | Control total | C | 10 | Number of lines (2) | `CTT` | | `MOA` (SG50) | Summary amount | M in group | 100 | Totals: 86, 79, 125, 176, 131, 129, 9 | `TDS` | | `TAX` (SG52) | Summary tax | M in group | 10 | VAT per rate, with up to 9 MOA | `TXI` | | `ALC` (SG53) | Summary allowance or charge | M in group | 15 | Totals per allowance or charge type | `SAC` | | `UNT` | Message trailer | M | 1 | Segment count and reference | `SE` | ## How VAT works in INVOIC VAT is carried by **TAX and MOA pairs**, in up to three places: on each line, at header level for the whole invoice, and in the summary once per rate. ### The TAX segment `TAX+7+VAT+++:::20+S'` | Position | Value | Meaning | |---|---|---| | Function qualifier | `7` | Tax (`5` would be customs duty) | | Tax type | `VAT` | Value added tax (`GST` is also allowed) | | Rate | `:::20` | 20%, in the fourth component of the rate composite | | Category | `S` | Standard rate | ### UK rates and category codes The UK has three VAT rates: [standard 20%, reduced 5% and zero 0%](https://www.gov.uk/vat-rates). Exempt supplies are not a rate at all. | UK treatment | Rate in TAX | Category code | Where the code comes from | |---|---|---|---| | Standard rate | `:::20` | `S` | EANCOM restricted list | | Reduced rate | `:::5` | Partner-specific | Ask your customer | | Zero rate | `:::0` | `Z` (zero rated goods) | UN/EDIFACT code list 5305 | | Exempt | (no rate) | `E` | EANCOM restricted list | | Mixed rate | (varies) | `A` | EANCOM restricted list | This is where generic examples go wrong. EANCOM 2002 restricts the category code to `A` (mixed), `E` (exempt) and `S` (standard), and says that tax types and categories differ by country and are defined by national guidelines. `Z` for zero-rated goods comes from the full UN/EDIFACT 5305 code list, the same list [Peppol uses](https://docs.peppol.eu/poacc/billing/3.0/codelist/UNCL5305/). Some UK partners want `Z`, some want `S` with a 0 rate, and the reduced rate has no single agreed code. Take every category code from your customer's guide. ### Line, header and summary - **Line level.** Each LIN group has its own `TAX` and an `MOA+124` with the VAT on that line. EANCOM also allows `MOA+125` here for the taxable amount. - **Header level.** A `TAX` group in the header applies to the whole invoice. GS1 says header tax amounts are added to any amounts in the detail section to get the summary totals. Example 2 below uses this for VAT on a freight charge. - **Summary level.** One `TAX` per rate, each followed by `MOA+125` (taxable amount at that rate) and `MOA+124` (VAT at that rate). Example 1 has two summary TAX blocks, one at 20% and one at 0%. ### What HMRC expects on a VAT invoice HMRC's [record keeping notice (VAT Notice 700/21)](https://www.gov.uk/guidance/record-keeping-for-vat-notice-70021) lists what a full VAT invoice must show. The INVOIC fields that carry each one: | HMRC requirement | Where it goes in INVOIC | |---|---| | Unique sequential invoice number | `BGM` document number | | Time of supply (tax point), and date of issue if different | `DTM+137`, plus whatever date your partner specifies for the tax point | | Supplier's name, address and VAT number | `NAD+SU` and `RFF+VA` | | Customer's name and address | `NAD+BY` (and `NAD+IV` if the invoicee differs) | | Description, quantity and unit price | `IMD`, `QTY+47`, `PRI` | | VAT rate and amount excluding VAT per line | Line `TAX` and `MOA+203` | | Rate of any cash discount | `PAT` and `PCD` | | Total VAT in sterling | `MOA+176` | A GLN is a code, not a name and address. EANCOM only allows the name and address parts of `NAD` when a coded identifier cannot do the job, so agree with your customer how the legal invoice details are held: in the message, or in master data the customer holds against your GLN. ### Rounding Buyers' systems check every sum: line VAT against the summary, the summary against `MOA+176`, and `MOA+125` plus `MOA+176` against `MOA+86`. Rounding is the usual failure. If you round VAT per line and your customer rounds per rate, totals drift by a penny. Agree the rule before go-live and build your test invoices around awkward prices. ## Example 2: allowances and charges with ALC `ALC` groups carry discounts and surcharges. They appear in the header (for the whole invoice), on each line, and in the summary. GS1 is explicit that header and line allowances are independent: a line `ALC` does not override a header `ALC`, it adds to it. Here Kestrel Valley gives a 10% quantity discount on 200 tea towels and adds a 25.00 freight charge to the invoice. | Segment | What it says | |---|---| | `ALC+C++6++FC'` + `MOA+23:25.00'` | Header charge, paid by the customer (`6`), freight (`FC`), 25.00 | | `TAX` + `MOA+124:5.00'` after it | The freight charge carries 20% VAT | | `PRI+AAB:2.25'` | Gross price. With `AAB`, the allowances must follow so the buyer can calculate the net | | `ALC+A+++1+QD'` + `PCD+1:10'` + `MOA+204:45.00'` | Line allowance, calculation step 1, quantity discount, 10%, worth 45.00 | | `MOA+203:405.00'` | Line amount after the allowance: 200 x 2.25 less 45.00 | | Summary `MOA+131:25.00'` | Header charges, which turn the line total (795.00) into the taxable amount (820.00) | | `ALC+C++++FC'` + `MOA+131` | Summary total per charge type | Three rules from the EANCOM manual keep ALC sane: 1. **Allowances are sent as positive numbers.** `ALC+A` makes the amount a deduction. Do not add a minus sign. 2. **Gross or net, not both.** `PRI+AAB` (gross) means allowances and charges must follow for the calculation. `PRI+AAA` (net) means they are already included and any `ALC` is for information. 3. **Sequence matters when allowances stack.** The calculation sequence code (`1` to `9`) says which allowance applies first when each one is calculated on the price left by the previous one. ## Example 3: a credit note (BGM 381) Six chopping boards from invoice KV-INV-20931 arrived damaged. Kestrel Valley issues a credit note in the same INVOIC message, with document code `381`, a reference to the original invoice, and an adjustment reason. What makes this a credit note: - **`BGM+381`** is "credit note, goods and services". The message structure is identical to an invoice. - **`RFF+IV`** names the invoice being credited. GS1 says this is how a credit note points at its invoice. - **`AJT+3`** gives the reason: damaged goods. EANCOM also lists `5` (price query) and `9` (invoice error), and only allows AJT on credit and debit notes. - **Every amount is positive.** EANCOM's rule is that numeric values are positive and the receiving application uses the document code to turn a credit note's values negative. A credit sent as `380` with minus signs will be rejected by most buyers. ### Document codes and message functions The `BGM` document code says what kind of financial document this is. These are from the EANCOM 2002 restricted list: | Code | Document | |---|---| | `380` | Commercial invoice | | `381` | Credit note, goods and services | | `383` | Debit note, goods and services | | `384` | Corrected invoice | | `385` | Consolidated invoice | | `386` | Prepayment invoice | | `389` | Self-billed invoice | | `261` | Self-billed credit note | | `325` | Proforma invoice | GS1 advises checking with local tax authorities before using `384`, because some countries do not allow corrected invoices. Its recommended route for a wrong invoice is to cancel it and issue a new one, or to issue a credit or debit note that references it. The third element of `BGM` is the message function: `9` original, `1` cancellation, `5` replacement, `7` duplicate, `31` copy. ### Self-billing (BGM 389) In a self-billing arrangement the customer raises the invoice for the supplier. In INVOIC, that is document code `389` (or `261` for a self-billed credit note). For UK VAT, HMRC says a self-billed invoice [must include the reference "self billing"](https://www.gov.uk/guidance/vat-guide-notice-700), and the arrangement must meet the conditions in Self-billing (VAT Notice 700/62), including a written agreement between the parties. If your customer asks to self-bill, settle the agreement before you map the message. ## Example 4: an invoice built for three-way matching Retail accounts payable teams match three documents before they pay: the order, the goods receipt, and the invoice. Make the match easy by quoting both the order and the despatch advice, and by invoicing exactly what you shipped. Harbour Lane ordered 120 boards, 60 mill sets and 48 tea towels on [order HL-PO-88231](/guides/edi/edifact-orders). Kestrel Valley shipped 120 boards and 40 mill sets on [despatch advice KV-DES-7781](/guides/edi/edifact-desadv). The invoice bills those 160 items, not the 228 ordered. | Segment | Why it helps the match | |---|---| | `DTM+35:20261015:102'` | Actual delivery date, which the buyer compares with its goods receipt | | `RFF+ON:HL-PO-88231'` + `DTM+171` | Links the invoice to the order and its date | | `RFF+AAK:KV-DES-7781'` + `DTM+171` | Links the invoice to the despatch advice. EANCOM's code for a delivery note number is `DQ`; use whichever your customer's guide asks for | | `QTY+46` and `QTY+47` | Delivered quantity and invoiced quantity, side by side | | No line for tea towels | Nothing shipped, so nothing billed. Line numbering stays 1 and 2 | If the buyer sends a [RECADV](/guides/edi/edifact-recadv) showing fewer items received than you despatched, expect a deduction or a request for a credit note like Example 3. ## INVOIC vs the X12 810 | Data | EDIFACT INVOIC | X12 810 | |---|---|---| | Invoice number and date | `BGM` + `DTM+137` | `BIG02`, `BIG01` | | Order reference | `RFF+ON` | `BIG04` | | Despatch reference | `RFF+AAK` or `RFF+DQ` | `REF*BM` or `REF*PK`, by partner | | Credit vs invoice | `BGM` code (`380`, `381`) | `BIG07` transaction type, or an [812](/guides/edi/812-credit-debit-adjustment) | | Parties | `NAD+BY`, `NAD+SU`, `NAD+DP` with GLN | `N1*BT`, `N1*RE`, `N1*ST` | | Payment terms | `PAT` | `ITD` | | Line quantity and price | `QTY+47`, `PRI+AAA` | `IT102`, `IT104` | | Line amount | `MOA+203` | Calculated, not sent | | Allowances and charges | `ALC` + `PCD` / `MOA` | `SAC` | | Line tax | `TAX` + `MOA+124` | `TXI` (where used) | | Invoice total | `MOA+86` | `TDS01` (implied decimals) | | Tax total | `MOA+176`, plus `TAX`/`MOA` per rate | `TXI` at summary level | | Line count | `CNT+2` | `CTT01` | Two differences matter most in practice. First, EDIFACT sends amounts with an explicit decimal mark (`1406.40`), while the X12 `TDS01` total uses implied decimals (`140640`). Second, sales tax in US X12 invoices is often a single summary figure, while EDIFACT invoices to VAT-registered buyers carry VAT per line and per rate. A mapping from one to the other has to rebuild the VAT breakdown, not just copy a total. See the [EDI 810 guide](/guides/edi/810-invoice) for the X12 side. ## INVOIC and e-invoicing mandates EDIFACT INVOIC is an EDI format agreed between trading partners. Most new government e-invoicing mandates name other formats: - **Peppol** uses UBL-based [Peppol BIS Billing 3.0](https://docs.peppol.eu/poacc/billing/3.0/), exchanged through Peppol access points. - **Germany** requires B2B invoices that conform to the European standard EN 16931, typically XRechnung or ZUGFeRD. German guidance addresses when existing EDI invoice flows can continue, so check the current position for your case. - **France** requires structured e-invoices exchanged through approved platforms. Every VAT-registered business must be able to receive them from 1 September 2026; see our [France mandate guide](/guides/e-invoicing/france-e-invoicing-mandate-2026). - **The UK** will require all VAT invoices to be issued as e-invoices [from April 2029](https://www.gov.uk/government/publications/budget-2025-document/budget-2025-html), with an implementation roadmap due at Budget 2026. The format had not been fixed when this guide was updated. A mandate may require a compliant invoice flow alongside your EDIFACT one, or instead of it. Our [country-by-country mandate guide](/guides/e-invoicing/peppol-vs-e-invoicing-mandates) has the detail. ## UK retailer INVOIC requirements Every UK grocer takes invoices by EDI, but the format, the credit note rules and the move off paper differ. Confirm the current specification with each retailer during onboarding. ### Tesco - Send invoices and credit notes by EDI, as EANCOM INVOIC or TRADACOMS `INVFIL`, depending on your setup. See the [Tesco EDI requirements](/edi-compliance/tesco) page. ### Sainsbury's - Send invoices as EDIFACT INVOIC or TRADACOMS `INVFIL`, using the Supplier ID and GLN Sainsbury's issues to you. See the [Sainsbury's EDI requirements](/edi-compliance/sainsburys) page. ### Morrisons - Send invoices and credit or debit notes by EDI. Morrisons' message set is EDIFACT D96A, so invoices are INVOIC, with credit notes as INVOIC `BGM+381` (see Example 3 above). - Invoice the quantities on your DESADV, after any [ORDCHG](/guides/edi/edifact-ordchg) amendments. See the [Morrisons EDI requirements](/edi-compliance/morrisons) page. ### Marks & Spencer - Where your account is on self-billing, M&S raises the invoice from your ASN and you do not send INVOIC at all. Where it is not, send invoices by EDI. Our [self-billing (ERS) guide](/blog/self-billing-ers-explained) covers how to reconcile self-billed invoices. See the [Marks & Spencer EDI requirements](/edi-compliance/marks-and-spencer) page. ### Retailers that invoice in TRADACOMS - [Asda](/edi-compliance/asda), the [Co-op](/edi-compliance/co-op) and [Boots](/edi-compliance/boots) take invoices as TRADACOMS `INVFIL` and credit notes as `CREHDR`. - [Ocado](/edi-compliance/ocado) takes invoices as `INVFIL` but does not accept credit or debit notes by EDI. - [Waitrose](/edi-compliance/waitrose) runs a parallel phase in which you send EDI invoices with test qualifiers alongside paper copies, then moves you fully to EDI within a set window. The [TRADACOMS INVFIL guide](/guides/edi/tradacoms-invfil) and [CREHDR guide](/guides/edi/tradacoms-crehdr) map each field to its INVOIC equivalent. ## Common INVOIC errors and fixes | Error | What the buyer sees | Fix | |---|---|---| | Invoicing ordered quantities | Mismatch against the goods receipt | Invoice what the DESADV says you shipped | | Totals that do not reconcile | Invoice held or rejected | Check 79 + 131 = 125 and 125 + 176 = 86, to the penny | | VAT rounding drift | A penny out per rate | Agree per-line or per-rate rounding | | Missing supplier VAT number | Not valid for VAT recovery | Send `RFF+VA` after `NAD+SU` | | Wrong VAT category code | Tax validation failure | Use the codes in the customer's guide | | Credit sent as `380` with negatives | Rejected | Use `381`, positive amounts and `RFF+IV` | | Gross price with no allowance | Amount does not equal quantity x price | Send `ALC` with `PRI+AAB`, or use `PRI+AAA` | | Wrong UNT or CNT count | Syntax rejection, often via CONTRL | Recount after every mapping change | | Unescaped apostrophe or plus | Segment ends early | Escape as `?'` and `?+` | ## INVOIC testing checklist 1. **Get the customer's INVOIC guide** and confirm the directory (D.96A or D.01B), the EANCOM version in `UNH`, and the mandatory segments. 2. **Confirm VAT codes.** Write down the exact `TAX` category for each UK rate you invoice, including zero-rated and exempt lines. 3. **Agree the rounding rule** for line VAT and summary VAT. 4. **Build one test invoice per case:** standard rate only, mixed rates, a line allowance, a header charge, and a credit note. 5. **Check the references.** Every invoice should carry the order number, and the despatch or delivery note number if the customer matches on it. 6. **Paste each file into the [EDIFACT inspector](/edifact-inspector)** to check the envelope, `UNT` and `CNT` counts, escapes and GS1 check digits. 7. **Reconcile the totals by hand** for at least one invoice per case, then compare with what the customer's test system calculates. 8. **Send through the real connection** (AS2, SFTP or VAN) and confirm you receive the customer's CONTRL or APERAK. ## Frequently Asked Questions ### What does BGM+380 mean? `380` is the UN/EDIFACT document name code for a commercial invoice. A credit note uses `381` and a debit note `383`, all in the same INVOIC message structure. ### How is VAT shown in an EDIFACT invoice? With a `TAX` segment giving the tax type, rate and category, followed by an `MOA+124` with the tax amount. This appears on each line and again in the summary, once per VAT rate, with `MOA+125` for the taxable amount at that rate. `MOA+176` carries the total VAT for the invoice. ### How do I show a zero-rated line in INVOIC? Send the line with a 0 rate, for example `TAX+7+VAT+++:::0+Z'` and `MOA+124:0.00'`, and give the zero rate its own TAX block in the summary. `Z` is the UN/EDIFACT code for zero-rated goods, but EANCOM leaves category codes to national guidelines, so confirm the code with your customer. ### Are credit note amounts negative in EDIFACT? No. EANCOM says amounts are sent as positive values and the document code tells the receiver to treat them as negative. A credit note is `BGM+381` with positive quantities and amounts. ### What is the difference between MOA+79, MOA+125 and MOA+86? `MOA+79` is the total of the line amounts. `MOA+125` is the taxable amount: the line total adjusted by invoice-level allowances and charges. `MOA+86` is the taxable amount plus VAT. ### What is the TRADACOMS equivalent of INVOIC? The TRADACOMS invoice file, made of INVFIL (header), INVOIC (one per invoice), VATTLR (VAT trailer) and INVTLR (file trailer) messages. See the [TRADACOMS invoice file guide](/guides/edi/tradacoms-invfil) and the [TRADACOMS overview](/guides/edi/tradacoms). ### Can OrderSync handle EDIFACT invoices? Yes. OrderSync supports EDIFACT, EANCOM and TRADACOMS alongside X12, PDF, CSV and email. ## Related guides - **[EDIFACT explained](/guides/edi/edifact)**: syntax, envelopes and the full X12 mapping - **[EDIFACT ORDERS](/guides/edi/edifact-orders)** and **[DESADV](/guides/edi/edifact-desadv)**: the order and despatch the invoice references - **[EDIFACT RECADV](/guides/edi/edifact-recadv)**: the receiving advice that drives deductions - **[EDIFACT CONTRL](/guides/edi/edifact-contrl)** and **[APERAK](/guides/edi/edifact-aperak)**: the acknowledgements your invoice gets back - **[EDIFACT message types](/guides/edi/edifact-message-types)**: every message, grouped by business flow - **[UBL vs X12 vs EDIFACT](/guides/e-invoicing/ubl-vs-x12-vs-edifact)**: how the invoice maps across all three standards - **[EDI 810 invoice](/guides/edi/810-invoice)**: the X12 counterpart - UK retailer requirements: [Tesco](/edi-compliance/tesco), [Sainsbury's](/edi-compliance/sainsburys), [Asda](/edi-compliance/asda), [Morrisons](/edi-compliance/morrisons), [Waitrose](/edi-compliance/waitrose) ## Sources - [EANCOM 2002 S3: INVOIC invoice message](https://www.gs1.org/sites/default/files/docs/eancom/ean02s3/part2/invoic/toc.htm) (structure chart, segment layouts and example), GS1 - [EANCOM 2002 S3 Part 1: syntax and numeric representation](https://www.gs1.org/sites/default/files/docs/eancom/ean02s3/part1/part1_05.htm), GS1 - [UNCL5305 duty or tax or fee category code](https://docs.peppol.eu/poacc/billing/3.0/codelist/UNCL5305/), OpenPeppol - [VAT rates](https://www.gov.uk/vat-rates), GOV.UK - [Record keeping (VAT Notice 700/21)](https://www.gov.uk/guidance/record-keeping-for-vat-notice-70021), HMRC - [VAT guide (VAT Notice 700), section 17.4 on self-billing](https://www.gov.uk/guidance/vat-guide-notice-700), HMRC - [Budget 2025](https://www.gov.uk/government/publications/budget-2025-document/budget-2025-html), HM Treasury - [Peppol BIS Billing 3.0](https://docs.peppol.eu/poacc/billing/3.0/), OpenPeppol Check your INVOIC totals, counts and escapes in the free [EDIFACT inspector](/edifact-inspector) before your customer's accounts payable team does. --- # EDIFACT INVRPT: Inventory Report Message Guide Source: https://ordersync.io/guides/edi/edifact-invrpt > EDIFACT INVRPT explained: stock by location, batch and best-before, pallets by SSCC, with live EANCOM examples, quantity codes and the X12 846 mapping. EDIFACT INVRPT is the inventory report message, the equivalent of the X12 846. It reports stock held or planned for each product: actual stock, stock in transit, quality-held stock, minimum and reorder levels. Each LIN carries a GTIN, and each INV group under it carries one quantity, optionally split by location, batch, best-before date or pallet SSCC. INVRPT is how stock positions move between companies without anyone emailing a spreadsheet. A retailer sends it so a supplier can see what is sitting in each distribution centre. A third-party warehouse sends it so the goods owner can see stock by batch and date. When it is accurate and on time, replenishment can run on data instead of guesswork; when it is stale, every decision built on it is a day behind. This guide follows the [GS1 EANCOM 2002 INVRPT](https://www.gs1.org/sites/default/files/docs/eancom/ean02s3/part2/invrpt/toc.htm) layout (directory D.01B, subset version EAN007). Every example is live: it is parsed in your browser by the same engine as our [EDIFACT inspector](/edifact-inspector), and you can open each one in the full tool. ## What is an EDIFACT INVRPT? **INVRPT (inventory report) is the UN/EDIFACT message for reporting inventories that are held, and inventories that are planned or targeted, for each product.** GS1 states that it can be "used in either direction between trading partners": manufacturer to distributor, retailer to supplier, warehouse to goods owner, or head office to a service provider. The quantities it can carry fall into three groups: - **Held stock**: opening stock, actual stock, quality-control held stock, damaged stock. - **Movements**: receipts into and withdrawals out of inventory over a period. - **Planning levels**: model or target stock, minimum and maximum stock, and the reordering point. Each quantity can be broken down further by location, batch, production or best-before date, and by the pallets or cases it is stored on. ## Where INVRPT fits: replenishment and VMI INVRPT is a data message, not an instruction. It does not order or ship anything. Its value is what the receiver does with it. | Flow | Sender | Receiver | What the receiver does | |---|---|---|---| | Retailer stock report | Retailer | Supplier | Plans production and deliveries; in VMI, raises the orders | | Supplier availability | Supplier | Retailer or distributor | Sees what can be ordered before ordering it | | Warehouse stock report | Third-party warehouse | Goods owner | Reconciles stock by batch and date, plans rotation | | Consignment stock | Consignment holder | Owner | Tracks stock it owns but does not hold | In **vendor-managed inventory** (VMI), the supplier takes responsibility for keeping the buyer's stock between agreed levels. The buyer sends INVRPT with stock positions, often together with [SLSRPT](/guides/edi/edifact-slsrpt) sales data, and the supplier decides what to send. GS1's INVRPT introduction describes exactly this: actual and target inventories "used in combination with actual sales data" (SLSRPT) and sales forecasts (SLSFCT) to keep stock close to target or to trigger reordering. Whether the supplier then raises an [ORDERS](/guides/edi/edifact-orders) message on the buyer's behalf, or the buyer raises it, is set by the VMI agreement. The planning concepts behind the codes, such as [safety stock](/glossary/safety-stock), reorder points and [lead time](/glossary/lead-time), are covered in our glossary. ## Simple and extended reports The EANCOM manual describes two shapes of INVRPT: - **Simple**: one stock-holding location for the whole report. The location is identified in the header, usually as the sender's own `NAD`. - **Extended**: several locations. Each quantity carries a `LOC` segment saying which site holds it. Both shapes can split quantities by batch (`GIN+BX`), by date (`DTM+361` best before, `DTM+94` production) or by shipping container (a `CPS` group with SSCCs). The functions are not mutually exclusive, so a single report can split a location's stock by batch and list the pallets carrying each batch. ## INVRPT segment reference Status is M (mandatory) or C (conditional) and repeats are the maximum the EANCOM 2002 manual allows. The key structural fact: **every quantity lives in its own INV group (SG11), and each INV group carries exactly one QTY.** To report three different quantities for one product, repeat the INV group three times. | Segment | Name | Status | Repeats | Carries | X12 846 equivalent | |---|---|---|---|---|---| | `UNH` | Message header | M | 1 | Message reference, `INVRPT:D:01B:UN:EAN007` | `ST` | | `BGM` | Beginning of message | M | 1 | Report type (`35`, `78`), report number, function | `BIA` | | `DTM` | Date/time/period | M | 10 | Message date (`137`), inventory report date (`366`), period | `BIA03`, `DTM` | | `RFF` (SG1) | Reference | C | 10 | References for the whole report | `REF` | | `NAD` (SG2) | Name and address | C | 20 | Reporting party, supplier, goods owner, warehouse | `N1` loop | | `CUX` (SG5) | Currencies | C | 5 | Currency for any prices given | `CUR` | | `LIN` (SG9) | Line item | C | 9999999 | The product's GTIN with `SRV` | `LIN` | | `PIA` | Additional product id | C | 10 | Supplier's or buyer's item code | `LIN` qualifier pairs | | `IMD` | Item description | C | 10 | Description, if the partner wants it | `PID` | | `INV` (SG11) | Inventory management details | M | 1 | Snapshot balance (`INV++++1`) or movement in or out | No direct equivalent | | `QTY` | Quantity | M | 1 | One quantity: actual stock, in transit, held, target | `QTY` | | `GIN` | Goods identity number | C | 9999 | Batch (`BX`) or serial (`BN`) numbers for that quantity | `LIN` lot qualifier or `REF` | | `LOC` | Place/location | C | 5 | Warehouse (`18`) or location of goods (`14`) | `SDQ` or `N1` | | `DTM` | Date/time/period | C | 5 | Best before (`361`), production (`94`), expiry (`36`) | `DTM` | | `STS` | Status | C | 9 | Status of that stock, for example available or not | Partner-specific | | `PRI` (SG13) | Price details | C | 5 | Price used to value the stock | `CTP` | | `CPS` (SG15) | Consignment packing sequence | C | 9999 | Opens the shipping-container breakdown | No direct equivalent | | `PAC` / `PCI` / `GIN` | Package, marking, SSCC | C | per group | Number of pallets and their SSCCs (`GIN+BJ`) | `MAN` (in other X12 sets) | | `UNT` | Message trailer | M | 1 | Segment count and message reference | `SE` | Like PRICAT, **EANCOM INVRPT has no `UNS` or `CNT`**: after the last INV group comes `UNT`. ## Example 1: stock by location for VMI The fictional retailer Brackenfield Stores reports stock of two products from the fictional supplier Fenwold Foods at its two distribution centres, as counted at the end of 11 October. This is an extended report: each quantity has a `LOC`. All GLNs and GTINs are made up with valid check digits. | Segment | What it says | |---|---| | `BGM+35+BS-INV-261012+9'` | Document `35` (inventory report), number BS-INV-261012, original | | `DTM+366:20261011:102'` | The stock position is as at 11 October 2026 | | `NAD+GY` | The inventory reporting party: the retailer | | `NAD+SU` | The supplier the report is for | | `LIN+1++5067890100017:SRV'` | Product 1 by GTIN; INVRPT lines have no action code | | `INV++++1'` | Fourth element `1`: a book-keeping inventory balance (a snapshot) | | `QTY+145:1440'` + `LOC+18+5011122000101::9'` | 1,440 units actually in stock at warehouse 5011122000101 | | `QTY+198:480'` | 480 units in transit to the second warehouse | | `QTY+197:240'` | The reorder level for product 2 at that warehouse is 240 | | `UNT+27+1'` | 27 segments from UNH to UNT inclusive | Read product 2 at the second warehouse (GLN 5011122000200): 96 in stock against a reorder level of 240. In a VMI programme, that line is the reason the supplier plans a delivery today. Quantities are in the unit identified by the GTIN in `LIN`, so if the GTIN is a consumer unit, the numbers are consumer units, not cases. ## Example 2: warehouse stock by batch and best-before date The fictional warehouse operator Wrenfield Logistics stores cases for Fenwold Foods and reports them as a simple, single-location report. Fenwold is the goods owner (`NAD+GO`). Each batch is its own INV group with a batch number and a best-before date, and 40 cases from one batch are on quality hold. | Segment | What it says | |---|---| | `NAD+GY+5034567000000::9'` | The warehouse is the reporting party | | `NAD+GO+5067890000003::9'` | Fenwold owns the goods | | `LIN+1++5067890100116:SRV'` | The case GTIN, so quantities are cases | | `GIN+BX+FW26241'` | Batch FW26241 | | `DTM+361:20270601:102'` | Best before 1 June 2027 | | `QTY+89:40'` | 40 cases of batch FW26268 are held for quality control | Batch and date sit in the same INV group as the quantity they describe. The order inside the group is fixed by the message structure: `INV`, `QTY`, `GIN`, `LOC`, `DTM`, then `STS`. GS1 notes that if the goods do not all belong to the same owner, the owner is identified at line level, not in the header. ## Example 3: stock on SSCC-labelled pallets The same warehouse reports one product's stock by pallet. A `CPS` group under the INV group lists how many pallets hold that quantity and their SSCCs. This is the third function in GS1's simple report table: "total stock quantity divided in sub-quantities according to shipping container". `GIN+BJ` can list several SSCCs in one segment, one per element, as the first pallet group shows. The `PCI+33E` marking code comes from the EANCOM manual's own INVRPT example; check your partner's guide in case it expects a different code. For SSCC rules and labelling, see the [DESADV guide](/guides/edi/edifact-desadv) and our [SSCC glossary entry](/glossary/sscc). ## Code tables ### BGM document name | Code | Meaning | |---|---| | `35` | Inventory report: actual inventory at the time of the report | | `78` | Inventory movement advice: movements in and out during a period | | `172` | Authorisation to plan and suggest orders | | `173` | Authorisation to plan and ship orders | | `263` | Inventory adjustment status report | The message function (third element) is `9` original, `7` duplicate or `31` copy. EANCOM gives INVRPT no change or replace function, so a correction goes out as a new report. Agree with your partner how it treats the earlier one. ### INV: snapshot or movement | Usage | Meaning | |---|---| | `INV++++1'` | Book-keeping inventory balance (snapshot) | | `INV++++2'` | Formal inventory balance, for example a physical count | | `INV+1'` | Movement out of inventory | | `INV+2'` | Movement into inventory | GS1's note on the segment: use the first element for movements and the fourth for snapshots. ### QTY qualifiers you will meet most | Code | Meaning | |---|---| | `145` | Actual stock | | `198` | Quantity in transit | | `89` | Quality control held | | `124` | Damaged goods | | `66` | Committed quantity | | `157` | Opening stock balance | | `199` | Inventory withdrawal quantity | | `97` / `98` | Minimum / maximum inventory | | `146` | Model or target stock | | `197` | Reordering level | The full EANCOM list has around 30 codes, including consignment stock and promotional quantities. Partners normally use a handful; their guide lists which. ### LOC and DTM in the INV group | Segment | Code | Meaning | |---|---|---| | `LOC` | `18` | Warehouse | | `LOC` | `14` | Location of goods | | `LOC` | `19` | Factory or plant | | `DTM` | `361` | Best before date | | `DTM` | `94` | Production or manufacture date | | `DTM` | `36` | Expiry date | | `DTM` | `366` | Inventory report date for this sub-quantity | ## Timing and frequency The standard sets no schedule. Common patterns: - **Daily**, overnight after stock is booked, for VMI and fast-moving lines. - **Weekly** for slower lines or where INVRPT supports planning rather than daily replenishment. - **On request** or at month end for consignment and third-party warehouse reconciliation. Whatever the cadence, `DTM+366` should say when the stock was counted. A report sent on Monday describing Saturday night's position is fine, as long as both sides know it is Saturday's. ## INVRPT vs the X12 846 | Data | EDIFACT INVRPT | X12 846 | |---|---|---| | Report type and number | `BGM` document code and number | `BIA` | | Report date | `DTM+366` | `BIA03`, `DTM` | | Parties | `NAD` with GLNs (`GY`, `SU`, `GO`, `WH`) | `N1` loop | | Item | `LIN` with GTIN and `SRV` | `LIN` with qualifier pairs | | Quantity and its type | One `QTY` per `INV` group, typed by qualifier | `QTY` with qualifier | | Location breakdown | `LOC` inside each `INV` group | `SDQ` or location-level loops | | Batch or lot | `GIN+BX` | Lot qualifier in `LIN`, or `REF`, by partner | | Dates per quantity | `DTM` inside the `INV` group | `DTM` | | Pallet SSCCs | `CPS` group with `GIN+BJ` | Not usual in an 846 | | Line count | None | `CTT` | The difference that trips up mappers is grouping. In an 846, a line can carry several `QTY` segments in a row. In INVRPT, each quantity needs its own `INV` group, and its location, batch and date belong to that group. Converting one to the other is a restructure, not a rename. See the [EDI 846 guide](/guides/edi/846-inventory-inquiry) for the X12 side, and [TRADACOMS file types](/guides/edi/tradacoms-file-types) for the TRADACOMS stock report, `SNPSTS`. ## Common errors and fixes - **Two QTY segments in one INV group.** The structure allows one. Repeat `INV` for each quantity. - **No report date.** Without `DTM+366`, the receiver uses the message date and may compare stock to the wrong day's sales. - **Mixed units.** Reporting a consumer-unit GTIN with case quantities, or the reverse. The quantity follows the GTIN in `LIN`. - **Locations as free text.** Use GLNs in `LOC` with agency `9`. Store names and internal codes break matching. - **Sub-quantities that do not add up.** If you report a total and a breakdown, the parts must equal the total. Receivers check. - **Stale reports sent on schedule.** A report generated before stock is booked looks valid and is wrong. Run it after the stock update. - **Invalid check digits.** Validate every GTIN, GLN and SSCC before sending. ## Testing checklist 1. Agree the report shape (simple or extended), the quantity qualifiers and the cadence with your partner. 2. Confirm whether quantities are consumer units or cases, and use the matching GTIN. 3. Send a report for one product and one location and check the partner's figures match your stock system. 4. Add locations, batches and dates one at a time and recheck after each. 5. Test a zero-stock line: agree whether the partner wants `QTY+145:0` or the line omitted. 6. Check that the report runs after stock is booked, and that `DTM+366` matches the count time. 7. Paste each test message into the [EDIFACT inspector](/edifact-inspector) to check structure and counts before sending. ## Frequently Asked Questions ### What is an INVRPT message used for? INVRPT reports inventory: actual stock, stock in transit, held or damaged stock, movements, and planning levels such as minimum, target and reorder stock. Retailers use it to share stock with suppliers, and warehouses use it to report stock to the goods owner. ### Is INVRPT the same as the X12 846? They serve the same purpose. The 846 is the X12 inventory inquiry/advice; INVRPT is the UN/EDIFACT and EANCOM equivalent. The structure differs: INVRPT puts each quantity in its own INV group with its location, batch and dates. ### What does QTY+145 mean? `145` is the qualifier for actual stock. `QTY+145:1440'` means 1,440 units are in stock, in the unit identified by the GTIN in the preceding `LIN`. ### How do I report stock for several warehouses in one INVRPT? Use the extended structure. Under each `LIN`, repeat the `INV` group once per warehouse, each with its `QTY` and a `LOC+18` segment carrying the warehouse GLN. ### Does INVRPT replace purchase orders in VMI? No. INVRPT reports stock; it does not order anything. GS1 is explicit for sales reports that they never replace business transactions such as orders, and the same logic applies here. In VMI, an ORDERS message still follows, raised by whichever party the agreement names. ### Does INVRPT need UNS and CNT? No. The EANCOM 2002 INVRPT has no summary segments other than `UNT`. ## Related guides - **[EDIFACT explained](/guides/edi/edifact)**: syntax, envelopes and the full X12 mapping - **[EDIFACT SLSRPT](/guides/edi/edifact-slsrpt)**: the sales report that usually travels with INVRPT in VMI - **[EDIFACT PRICAT](/guides/edi/edifact-pricat)**: the catalogue that sets up the products being reported - **[EDIFACT ORDERS](/guides/edi/edifact-orders)**: the replenishment order that follows - **[EDIFACT DESADV](/guides/edi/edifact-desadv)**: SSCC pallets and the CPS structure in despatch - **[EDI 846 inventory inquiry/advice](/guides/edi/846-inventory-inquiry)**: the X12 counterpart ## Sources - [EANCOM 2002 S3: INVRPT inventory report message](https://www.gs1.org/sites/default/files/docs/eancom/ean02s3/part2/invrpt/toc.htm), GS1 - [UN/EDIFACT D.01B INVRPT message](https://service.unece.org/trade/untdid/d01b/trmd/invrpt_c.htm), UNECE - [Serial Shipping Container Code (SSCC)](https://www.gs1.org/standards/id-keys/sscc), GS1 - [Global Location Number (GLN)](https://www.gs1.org/standards/id-keys/gln), GS1 Check your INVRPT structure, counts and GTIN, GLN and SSCC check digits in the free [EDIFACT inspector](/edifact-inspector). --- # EDIFACT ORDCHG: Order Change Message Guide Source: https://ordersync.io/guides/edi/edifact-ordchg > EDIFACT ORDCHG purchase order change explained: BGM+230, LIN action codes for added, deleted and changed lines, four live EANCOM examples and the 860 mapping. EDIFACT ORDCHG is the purchase order change request, the equivalent of the X12 860. The buyer sends it to change or cancel an order already sent as ORDERS. BGM+230 identifies the message, RFF+ON names the original order, and each LIN carries an action code: 1 added, 2 deleted, 3 changed or 11 not amended. Orders change. The buyer's forecast moves, a store promotion gets pulled, a product is discontinued. ORDCHG is how those changes reach you in a form your system can apply automatically, instead of as an email saying "can you add two more cases to Tuesday's order". Get it wrong and you pick the old quantity, ship to the old date and end up with a short-shipment or late-delivery deduction for an order you thought you had filled perfectly. This guide follows the [GS1 EANCOM 2002 ORDCHG](https://www.gs1.org/sites/default/files/docs/eancom/ean02s3/part2/ordchg/toc.htm) layout (subset version EAN007, directory D.01B). The examples continue the fictional order HL-PO-88231 from the [ORDERS guide](/guides/edi/edifact-orders), after the supplier's [ORDRSP](/guides/edi/edifact-ordrsp) accepted line 1, part-shipped line 2 and rejected line 3. ## What is an EDIFACT ORDCHG? **ORDCHG (purchase order change request) is the UN/EDIFACT message a buyer sends to change or cancel a purchase order the supplier has already received.** It quotes the original order number and lists only what the buyer wants to change, line by line, with an action code on each `LIN` saying whether the line is new, deleted, changed or unchanged. GS1 gives ORDCHG two jobs: 1. **A buyer-initiated change.** The buyer wants more, less, a different date, an extra product or a cancelled line. 2. **Confirmation of a supplier's proposal.** When the supplier's ORDRSP changes a line (a lower quantity, a later date), the buyer can confirm the amended terms with an ORDCHG. ## Rules that define the message The EANCOM principles are short and strict. Learn these and most ORDCHG problems go away: - **Three things can never change:** the order number, the buyer and supplier identities, and the line item numbers. To change any of them, cancel the order and send a new one. - **Minimum content:** the mandatory segments, a `NAD` for the buyer and one for the supplier, and one `RFF` in segment group 1 identifying the order being changed. - **Re-send everything below a changed LIN.** If any segment under a line changes, all segments under that line are transmitted again. The data under `LIN` with action 3 replaces what you hold for that line. - **Re-sending unchanged data is not an error.** A partner may send action `11` lines purely for information. ## Where ORDCHG sits in the order-to-cash flow | Step | Message | Sent by | X12 equivalent | |---|---|---|---| | 1 | [ORDERS](/guides/edi/edifact-orders) | Buyer | 850 | | 2 | [ORDRSP](/guides/edi/edifact-ordrsp) | Supplier | 855 | | 3 | **ORDCHG** | Buyer, any time before despatch | **860** | | 4 | ORDRSP to the change (if the partner requires it) | Supplier | 865 | | 5 | [DESADV](/guides/edi/edifact-desadv) | Supplier | 856 | | 6 | [INVOIC](/guides/edi/edifact-invoic) | Supplier | 810 | EANCOM has no separate "change acknowledgment" message. A supplier responding to an ORDCHG sends another ORDRSP. The buyer can ask for one explicitly in the fourth element of `BGM` (response type code `AC` acknowledge with detail and change, `AI` acknowledge only changes, `NA` no acknowledgement needed). Timing matters more than anything else here. An ORDCHG that arrives after you have picked, or worse after the DESADV has gone, creates a mismatch between order, shipment and invoice. Agree a cut-off with each partner and make your system flag late changes rather than silently applying them. ## Example 1: quantity change Harbour Lane Stores raises line 1 from 120 to 144 chopping boards. Only the changed line is sent, with every segment under it re-transmitted. | Segment | What it says | |---|---| | `BGM+230+HL-PC-88231-1+4'` | Document 230 (purchase order change request), change number HL-PC-88231-1, function 4 (change) | | `RFF+ON:HL-PO-88231'` | The order being changed | | `DTM+171:20261011:102'` | Date of that order | | `LIN+1+3+5098765100016:SRV'` | Line 1, action 3 (changed), same GTIN | | `PIA+1+KV-1001:SA'` | Supplier's article number, re-sent because the line changed | | `QTY+21:144'` | The new ordered quantity. It replaces 120; it is not "add 144" | | `PRI+AAA:6.50'` | Net price, re-sent unchanged | | `RFF+ON:HL-PO-88231:1'` | Ties this line to line 1 of the original order | | `CNT+2:1'` | One LIN line in the change | **QTY in ORDCHG is the new total, not a delta.** This is the most common mapping mistake. If the buyer wants 24 more, the message says 144. EANCOM does also define `QTY+18` (previous quantity), which some partners include so you can check you are changing the right baseline. ## Example 2: delivery date change The DC has lost its Friday slot. Lines 1 and 2 move to Monday 19 October. Each changed line repeats its full detail, now with a line-level `DTM+2` requested delivery date. | Segment | What it says | |---|---| | `BGM+230+HL-PC-88231-2+4'` | A second change to the same order, with its own change number | | `NAD+DP+5012345000107::9'` | Delivery point, sent as clarification. Optional in a change | | `QTY+21:144'` | Line 1 keeps the quantity from the first change | | `DTM+2:20261019:102'` | New requested delivery date for the line | Two things to notice. First, line 1 carries 144, the quantity from change 1. Changes build on each other, so process them in order. Second, GS1 also allows `DTM+2` in the header to move the date for the whole order. Some partners prefer that; others always send dates per line. Support both. ## Example 3: cancel a line and add a substitute The supplier's ORDRSP rejected line 3 (cotton tea towels). The buyer deletes it and adds a substitute product as a new line 4. | Segment | What it says | |---|---| | `LIN+3+2+5098765100030:SRV'` | Line 3, action 2 (deleted). EANCOM says no other line data is needed | | `RFF+ON:HL-PO-88231:3'` | Which original line is being deleted | | `LIN+4+1+5098765100207:SRV'` | New line 4, action 1 (added). All required data must be sent, as for a new order line | | `IMD+F++:::LINEN TEA TOWEL 2 PACK'` | Description of the new product | | `QTY+21:48'`, `PRI+AAA:3.10'` | Quantity and price for the new line | The new line gets a new number. Line numbers cannot be reused or changed, so "replace line 3 with a different product" is always a delete plus an add. ## Example 4: cancel the whole order BGM message function `1` cancels the entire referenced order. EANCOM still requires the mandatory segments and both parties. Not every partner uses ORDCHG for cancellations. Some cancel through a portal or by email and expect nothing in EDI. Ask. ## ORDCHG segment reference Status and repeats follow the EANCOM 2002 message structure chart. M is mandatory, C conditional. | Segment | Name | Status | Repeats | Carries | X12 860 equivalent | |---|---|---|---|---|---| | UNH | Message header | M | 1 | `ORDCHG:D:01B:UN:EAN007` | ST | | BGM | Beginning of message | M | 1 | 230, change number, function, response request | BCH | | DTM | Date/time | M | 35 | 137 message date; 2, 63, 64 delivery dates | DTM | | PAI, ALI, FTX | Payment, additional info, free text | C | 1, 5, 99 | Header clarifications | NTE | | RFF (SG1) | Reference | C | 9999 | ON order being changed, POR response, PP change | BCH, REF | | NAD (SG3) | Name and address | C | 99 | BY and SU required; DP, IV, SN optional | N1 | | CUX (SG8) | Currencies | C | 5 | Currency | CUR | | PAT (SG9) | Payment terms | C | 10 | Terms | ITD | | TDT, TOD | Transport, delivery terms | C | 10, 5 | Carrier, Incoterms | TD5, FOB | | ALC (SG20) | Allowance or charge | C | 99 | Header allowances | SAC | | LIN (SG27) | Line item | C | 200000 | Line number, action code, GTIN | POC | | PIA | Additional product id | C | 25 | Supplier or buyer item number | POC | | IMD | Item description | C | 99 | Description | PID | | QTY | Quantity | C | 99 | 21 new ordered quantity, 18 previous | POC | | DTM | Line date | C | 35 | 2 requested delivery, 61 cancel-by | DTM | | QVR | Quantity variance | C | 1 | Variance and reason | | | PRI (SG32) | Price | C | 25 | AAA net, AAB gross | POC | | RFF (SG33) | Line reference | C | 9999 | ON with original line number | REF | | LOC, QTY, DTM (SG37) | Split delivery | C | 9999 | Quantity per location | SDQ | | UNS | Section control | M | 1 | `S` | | | MOA, CNT | Totals | C | 12, 10 | 2 = number of LIN lines | AMT, CTT | | UNT | Message trailer | M | 1 | Segment count | SE | ## Code tables ### BGM message function (third element) | Code | Meaning in EANCOM ORDCHG | |---|---| | `4` | Change: specified changes at line level to the referenced order | | `1` | Cancellation of the whole referenced order | | `9` | Original transmission of a change | | `31` | Copy for a third party, for information | | `42` | Confirmation of a change already made by other means, such as phone or email | ### LIN action code (second element) | Code | Meaning | What your system should do | |---|---|---| | `1` | Added | Create a new order line. All required data is present | | `2` | Deleted | Cancel the line referenced in RFF+ON. No other data needed | | `3` | Changed | Replace everything held for the line with the data sent | | `11` | Not amended | Information only. Change nothing | ### Line DTM qualifiers you will see | Qualifier | Meaning | |---|---| | `2` | Delivery date/time, requested | | `10` | Shipment date/time, requested | | `63` / `64` | Latest / earliest delivery date | | `61` | Cancel if not delivered by this date | ## ORDCHG vs the X12 860 | Data | EDIFACT ORDCHG | X12 860 | |---|---|---| | Change document | `BGM+230` with a change number | `BCH` | | Change vs cancel | `BGM` function `4` or `1` | `BCH01` purpose code | | Original PO number and date | `RFF+ON` with `DTM+171` | `BCH` PO number and date | | Line action | `LIN` action `1`, `2`, `3`, `11` | `POC02` change code (for example AI, DI, QI, QD, PC, NC) | | New quantity | `QTY+21` (new total) | `POC03` | | New price | `PRI` | `POC05` | | Dates | `DTM+2` header or line | `DTM` | | Line count | `CNT+2` | `CTT01` | The X12 860 tells you what kind of change happened at line level (quantity increase, price change and so on). ORDCHG only says "changed" and gives you the new state of the line. To work out what changed, compare the incoming line with the one you hold. That comparison is worth building anyway, because it is the only reliable way to catch a changed price hidden inside a line you thought was a date change. See the [EDI 860 guide](/guides/edi/860-purchase-order-change) for the X12 codes. ## Common ORDCHG errors and fixes - **Treating QTY as a delta.** `QTY+21` is the new ordered quantity. Adding it to the old figure doubles the line. - **Processing changes out of order.** Two ORDCHGs for the same order must be applied in sequence. Use the BGM change number and `DTM+137` to order them, and hold a change that arrives before its predecessor. - **Matching lines by position instead of reference.** Use `RFF+ON::` under each `LIN` to find the original line. Change messages often carry only one or two lines, so line 1 in the change may be line 7 of the order. - **Ignoring action 11.** Lines marked "not amended" must not overwrite anything, even if their data looks different from what you hold. Flag the difference instead. - **Accepting changes after despatch.** If the DESADV has gone, the change cannot be applied to that shipment. Reply through ORDRSP or the partner's agreed channel. - **Changing what cannot change.** An ORDCHG that alters the buyer GLN or tries to renumber lines breaks the EANCOM rules. Reject it back to the buyer, usually through [APERAK](/guides/edi/edifact-aperak). ## Testing checklist 1. Confirm the partner sends ORDCHG at all, and whether cancellations come as ORDCHG function `1` or outside EDI. 2. Ask whether they send only changed lines, or every line with action `11` on the unchanged ones. 3. Ask whether they expect an ORDRSP in reply, and in what time. 4. Test each action code: add, delete, change quantity, change date, change price. 5. Test two changes to the same order in sequence, and a change arriving after despatch. 6. Validate segment counts and GTIN check digits in the [EDIFACT inspector](/edifact-inspector). 7. Agree the cut-off after which changes are refused. OrderSync applies ORDCHG to the open order it already holds, shows the before and after for every line, and holds changes that arrive too late for a person to decide. ## Frequently Asked Questions ### What is ORDCHG in EDI? ORDCHG is the UN/EDIFACT purchase order change request. The buyer sends it to change or cancel an order already sent as ORDERS. It identifies the original order in RFF+ON and gives each changed line an action code. It is the EDIFACT equivalent of the X12 860. ### What does BGM+230 mean? 230 is the document name code for a purchase order change request. The third element of BGM gives the message function: 4 for a change, 1 to cancel the whole order. ### What are the LIN action codes in ORDCHG? The second element of LIN is the action request: 1 added, 2 deleted, 3 changed and 11 not amended. A changed line replaces everything previously held for that line. ### How do I cancel a single line in ORDCHG? Send that line with action code 2, for example `LIN+3+2+5098765100030:SRV'`, followed by `RFF+ON` quoting the order number and original line number. No other line data is needed. ### How do you respond to an ORDCHG? With an ORDRSP that references the change and gives the status of each line. EANCOM has no separate change acknowledgment message. Whether a response is required, and how quickly, is set by the trading partner. ### What is the difference between ORDCHG and ORDRSP? ORDCHG comes from the buyer and asks for a change. ORDRSP comes from the supplier and responds to an order or a change, accepting, amending or rejecting it. ### Can ORDCHG change the delivery address? Yes, within limits. A changed NAD+DP in the header or split deliveries at line level (LOC, QTY and DTM) can redirect goods. The buyer and supplier identities cannot change. ## Related guides - **[EDIFACT explained](/guides/edi/edifact)**: syntax, envelopes and the full X12 mapping - **[EDIFACT ORDERS](/guides/edi/edifact-orders)**: the order that ORDCHG modifies - **[EDIFACT ORDRSP](/guides/edi/edifact-ordrsp)**: the supplier's response to an order or a change - **[EDIFACT DESADV](/guides/edi/edifact-desadv)**: the despatch advice that should reflect the changed order - **[EDIFACT RECADV](/guides/edi/edifact-recadv)**: what the buyer reports after receipt - **[EDIFACT message types](/guides/edi/edifact-message-types)**: every EDIFACT message and its X12 equivalent - **[EDI 860 purchase order change](/guides/edi/860-purchase-order-change)**: the X12 counterpart ## Sources - [EANCOM 2002 S3: ORDCHG purchase order change request message](https://www.gs1.org/sites/default/files/docs/eancom/ean02s3/part2/ordchg/toc.htm), GS1 - [UN/EDIFACT D.01B ORDCHG message](https://service.unece.org/trade/untdid/d01b/trmd/ordchg_c.htm), UNECE - [Introducing UN/EDIFACT](https://unece.org/trade/uncefact/introducing-unedifact), UNECE Paste any ORDCHG into the free [EDIFACT inspector](/edifact-inspector) to see each line's action code and check the counts before you apply it. --- # EDIFACT ORDERS: Purchase Order Segments and Example Source: https://ordersync.io/guides/edi/edifact-orders > EDIFACT ORDERS purchase order explained: live EANCOM examples, BGM, NAD, LIN, QTY and PRI segments, multi-drop orders, allowances and the X12 850 mapping. EDIFACT ORDERS is the UN/EDIFACT purchase order message, the equivalent of the X12 850. A buyer sends it to order goods. The header carries the order number (BGM), dates (DTM) and parties as GLNs (NAD); each line starts with LIN and the product's GTIN, followed by quantity (QTY) and price (PRI). UNS and CNT close the message. ORDERS is the first message in nearly every EDIFACT order cycle. If you are taking on a UK or European retail customer, it is the message your system has to read first and get right, because every response you send afterwards (ORDRSP, DESADV, INVOIC) quotes back what it contained. Misread one quantity or one delivery point here and the error travels through the despatch advice, the invoice and the remittance. This guide uses the GS1 EANCOM 2002 layout of ORDERS (directory D.01B), which is what most retail partners base their specifications on. Every example below is live: it is parsed in your browser by the same engine as our EDIFACT inspector, so you can expand each segment, check the counts and open it in the full tool. If EDIFACT syntax is new to you, start with [EDIFACT explained](/guides/edi/edifact). ## What is an EDIFACT ORDERS message? **ORDERS is the UN/EDIFACT purchase order message: a buyer's request to a supplier for goods or services, with quantities, prices, dates and delivery locations.** It is defined in the UN/EDIFACT directories (for example D.96A and D.01B) and profiled for retail by [GS1 EANCOM](https://www.gs1.org/sites/default/files/docs/eancom/ean02s3/part2/orders/toc.htm), which restricts it to the segments and codes the consumer goods sector uses. The message has three sections: - **Header**: order number and type, dates, references, parties, currency, payment and delivery terms. - **Detail**: one segment group per line item, always starting with `LIN`. - **Summary**: `UNS+S` marks the end of the detail section, then optional totals (`MOA`) and a `CNT` control count. GS1's own principle for the message is simple: one purchase order for one delivery to one location at one time. Everything else (split deliveries, blanket orders, call-offs, promotions) is a variation on that, and each has a defined place in the structure. ## When ORDERS is sent in the order-to-cash flow ORDERS starts the cycle. Everything after it refers back to its order number in an `RFF+ON` segment. | Step | Message | Direction | Typical timing | |---|---|---|---| | 1 | **ORDERS** | Buyer to supplier | When the buyer's replenishment or buying system raises the order, often overnight in grocery | | 2 | [CONTRL](/guides/edi/edifact-contrl) | Supplier to buyer | Within minutes: the interchange arrived and parsed | | 3 | [ORDRSP](/guides/edi/edifact-ordrsp) | Supplier to buyer | Before picking starts, if the partner requires a response | | 4 | [ORDCHG](/guides/edi/edifact-ordchg) | Buyer to supplier | Any time before despatch, to amend or cancel the order | | 5 | [DESADV](/guides/edi/edifact-desadv) | Supplier to buyer | At despatch, before the goods arrive | | 6 | [RECADV](/guides/edi/edifact-recadv) | Buyer to supplier | After the delivery is booked in | | 7 | [INVOIC](/guides/edi/edifact-invoic) | Supplier to buyer | After despatch or delivery, per the partner's terms | The full catalogue of messages is in [EDIFACT message types](/guides/edi/edifact-message-types). UK grocery suppliers often see the TRADACOMS order file instead of, or alongside, ORDERS; see [TRADACOMS ORDHDR](/guides/edi/tradacoms-ordhdr) for that format. ## Example 1: a standard order, segment by segment A fictional UK retailer, Harbour Lane Stores, orders three homeware lines from a fictional supplier, Kestrel Valley Homeware, for delivery to its distribution centre. Every identifier is a made-up GS1-style number with a valid check digit. | Segment | What it says | |---|---| | `UNB+UNOC:3+...` | Interchange from GLN 5012345000008 to GLN 5098765000002 (qualifier `14` = GS1) | | `UNH+1+ORDERS:D:01B:UN:EAN010'` | An ORDERS, directory D.01B, EANCOM subset version 010 | | `BGM+220+HL-PO-88231+9'` | Order (220), number HL-PO-88231, original (9) | | `DTM+137` / `DTM+2` | Order date and requested delivery date, format 102 (CCYYMMDD) | | `NAD+BY` / `SU` / `DP` | Buyer, supplier and delivery party GLNs, agency `9` (GS1) | | `LIN+1++5098765100016:SRV'` | Line 1, GTIN 5098765100016 (`SRV` = GS1 GTIN) | | `PIA+1+KV-1001:SA'` | The supplier's own article number | | `QTY+21:120'` / `PRI+AAA:6.50'` | Ordered quantity 120 at a net price of 6.50 | | `SALT ?+ PEPPER` | The `?` releases the `+` so it is read as text | | `CNT+2:3'` | Control count: 3 line items | | `UNT+26+1'` | 26 segments, counting UNH and UNT | The association code at the end of the UNH (`EAN010` here) tells you which EANCOM subset version the sender built to. Partners name the exact value in their implementation guide. GS1's current ORDERS manual shows `EAN010` in its worked example while its UNH code list has moved on to `EAN011`, which is a good reminder to validate against your partner's guide rather than a single global rule. ## ORDERS segment reference The table follows the EANCOM 2002 message structure. Status is M (mandatory) or C (conditional), and repeats are the maximum the manual allows. "SG" is the segment group the segment sits in. | Segment | Name | Status | Repeats | What it carries | X12 850 equivalent | |---|---|---|---|---|---| | `UNH` | Message header | M | 1 | Message reference, type and version | `ST` | | `BGM` | Beginning of message | M | 1 | Order type, order number, function | `BEG` | | `DTM` | Date/time/period | M | 35 | Order date (`137`, mandatory) and delivery dates | `BEG05`, `DTM` | | `PAI` | Payment instructions | C | 1 | How payment is to be made | none direct | | `ALI` | Additional information | C | 5 | Special conditions for the whole order | none direct | | `FTX` | Free text | C | 99 | Coded or free-form notes | `MSG`, `NTE` | | `RFF` (SG1) | Reference | C | 9999 | Contract, promotion, price list numbers | `REF` | | `NAD` (SG2) | Name and address | C | 99 | Buyer, supplier, delivery party, invoicee | `N1` loop | | `CTA` / `COM` (SG5) | Contact | C | 5 | Order contact and phone or email | `PER` | | `TAX` (SG6) | Duty/tax/fee | C | 5 | Order-level VAT | `TXI` | | `CUX` (SG7) | Currencies | C | 5 | Order currency, exchange rate | `CUR` | | `PAT` (SG8) | Payment terms | C | 10 | Terms for this order only | `ITD` | | `TDT` (SG10) | Transport | C | 10 | Requested transport mode | `TD5` | | `TOD` (SG12) | Terms of delivery | C | 5 | Incoterms and similar | `FOB` | | `ALC` (SG19) | Allowance or charge | C | 99 | Order-level allowances and charges | `SAC` | | `LIN` (SG28) | Line item | C | 200000 | Line number and GTIN | `PO1` | | `PIA` | Additional product id | C | 25 | Buyer or supplier codes, substitutes | `PO106` to `PO125` | | `IMD` | Item description | C | 99 | Coded or free text description | `PID` | | `MEA` | Measurements | C | 99 | Size or weight for variable products | `MEA` | | `QTY` | Quantity | C | 99 | Ordered quantity (`21`), free goods (`192`) | `PO102` | | `DTM` | Date/time/period | C | 35 | Line delivery dates | `DTM` in PO1 loop | | `MOA` | Monetary amount | C | 10 | Line amount (`203`) | `AMT` | | `PRI` (SG32) | Price details | C | 25 | Net price (`AAA`), information prices | `PO104`, `CTP` | | `RFF` (SG33) | Reference | C | 9999 | Line references, such as price list line | `REF` | | `PAC` (SG34) | Package | C | 99 | Pack instructions where no despatch unit code exists | `PO4` | | `LOC` (SG37) | Place/location | C | 9999 | Split delivery location | `SDQ` | | `TAX` (SG38) | Duty/tax/fee | C | 10 | Line VAT if it differs from header | `TXI` | | `ALC` (SG43) | Allowance or charge | C | 99 | Line allowances and charges | `SAC` | | `UNS` | Section control | M | 1 | Separates detail from summary | none | | `MOA` | Monetary amount | C | 99 | Order totals (`79`, `86`, `259`, `260`) | `AMT` | | `CNT` | Control total | C | 10 | Line count (`2`) or quantity total (`1`) | `CTT` | | `UNT` | Message trailer | M | 1 | Segment count and reference | `SE` | In practice a typical retail order uses perhaps a dozen of these. The rest exist for specific business cases, which is why the partner's implementation guide matters more than the full list. ## Qualifier and code tables ### BGM: order type and function `BGM+220+HL-PO-88231+9'` has three parts: the document name code, the order number, and the message function. | Document code | Meaning | |---|---| | `220` | Order | | `221` | Blanket order | | `224` | Rush order | | `226` | Call off order | | `227` | Consignment order | | `258` | Standing order | | `402` | Cross docking order | EANCOM recommends the more specific code where one applies, rather than the general `220`. A blanket order (`221`) sets a global quantity per line over a period, and later call-offs (`226`) draw down parts of it with their own dates and locations. | Function code | Meaning | |---|---| | `9` | Original | | `5` | Replace: cancels and replaces an order identified in `RFF` | | `7` | Duplicate: re-sent at the receiver's request | | `31` | Copy: for a third party, information only | | `16` | Proposal: a suggested order | | `46` | Provisional | A fourth element can ask for a response: `BGM+220+HL-PO-88231+9+AC'` requests an acknowledgement with detail and changes, while `NA` says no acknowledgement is needed. If a partner sends `AC`, treat an [ORDRSP](/guides/edi/edifact-ordrsp) as required for that order. ### DTM: date qualifiers | Qualifier | Meaning | |---|---| | `137` | Document date (mandatory in every EANCOM message) | | `2` | Requested delivery date | | `64` / `63` | Earliest / latest delivery date | | `10` | Requested shipment date | | `37` / `38` | Ship not before / ship not later than | | `61` | Cancel if not delivered by this date | | `15` | Promotion start date (only where no promotion reference is sent) | | `X14` | Requested for delivery week commencing (format `616`, CCYYWW) | Format `102` is CCYYMMDD and `203` is CCYYMMDDHHMM, so `DTM+63:202610181430:203'` means "deliver by 14:30 on 18 October 2026". A delivery window is two segments: `DTM+64` and `DTM+63`. ### NAD: party qualifiers `BY` buyer and `SU` supplier are mandatory. `DP` delivery party and `IV` invoicee are added when they differ from the buyer; `SN` store number and `CO` corporate office also appear. Parties are identified by GLN, with `9` in the agency position. EANCOM allows a full name and address only where a coded identity cannot be used, so most partners send the GLN alone and expect you to hold the address in master data. ### PIA: other product codes `PIA+1+KV-1001:SA'` adds the supplier's article number and `PIA+1+...:IN` the buyer's item number. `PIA+2` offers a substitute GTIN, `PIA+X1` says no substitution is accepted, and `PIA+5` carries the primary code for a product with no GTIN. EANCOM makes the GTIN in `LIN` mandatory whenever one exists. ### QTY and PRI | Code | Meaning | |---|---| | `QTY+21` | Ordered quantity | | `QTY+192` | Free goods quantity | | `QTY+59` | Consumer units in the traded unit (confirmation only) | | `QTY+11` | Split quantity for one location (inside the `LOC` group) | | `PRI+AAA` | Net calculation price: gross plus charges minus allowances, excluding tax | | `PRI+AAF` | Information price, excluding allowances, charges and taxes | | `PRI+AAE` | Information price, excluding allowances and charges, including taxes | EANCOM is firm on one point: the calculation price in an order is always the net unit price. Allowances and charges in the same order are there for information, so do not subtract them again from `PRI+AAA`. ## Example 2: multi-drop order with deliveries to several stores Here the buyer orders for three stores at once. There is no header delivery party; instead, each line carries a `LOC+7` group per store with its own split quantity (`QTY+11`) and delivery date. Three rules make split deliveries work: 1. **The split quantities must add up.** EANCOM requires the `QTY+11` values in the `LOC` groups to equal the line's `QTY+21`. Line 1 orders 36 and splits 12, 12 and 12. 2. **The line-level location overrides the header.** If the header has a `NAD+DP`, it is the default delivery point for lines without their own `LOC` groups. 3. **Each location becomes its own delivery.** Your warehouse needs one pick, one despatch advice and usually one invoice per store, all quoting the same order number. This is where ERP imports most often go wrong. A sales order that can hold only one ship-to will either take the first `LOC` and send everything there, or reject the order. Decide before go-live how a multi-drop order becomes sales orders in your ERP (one per location is the usual answer), and keep the buyer's order number on each so the despatch advice and invoice can quote it. ## Example 3: promotional order with free goods Retailers order differently for promotions: larger quantities, a promotional price, sometimes free stock. EANCOM handles this with a promotion reference at header level and promotional price and free goods codes at line level. What to check on a promotional order: - **`RFF+PD`** is the promotion deal number. Carry it through to your invoice, because promotional pricing is usually reconciled against it. - **`PRI+AAA:7.20::PRP'`** is still the net price you will be paid; `PRP` in the price specification position flags it as promotional. If it differs from your price list, that is expected for the promotion period, not a pricing error to reject. - **`QTY+192:24'`** is a free goods quantity: pick and despatch it, but do not invoice it at the line price. - **Header `DTM+15`** (promotion start) is only used when there is no promotion reference. With `RFF+PD` present, the dates live in your promotion agreement. ## Example 4: order with a line allowance and order totals Some buyers show how the net price was reached: a list price, a discount and the resulting net price, with order totals in the summary. On line 1, `ALC+A+++1+TD'` is an allowance (`A`), calculation step 1, of type trade discount (`TD`). `PCD+3:5'` makes it 5 percent and `MOA+204:29.40'` gives the amount (5% of 60 x 9.80). `PRI+AAF:9.80'` is the list price for information, `PRI+AAA:9.31'` the net price that counts, and `MOA+203:558.60'` the line amount. In the summary, `MOA+79` totals the line amounts and `MOA+260` the allowances. Because `PRI+AAA` is already net, a mapper that applies the `ALC` discount again will under-price the order by 5%. Map the allowance to a separate, informational field. ## ORDERS vs the X12 850 | Data | EDIFACT ORDERS | X12 850 | |---|---|---| | Order number | `BGM` second element | `BEG03` | | Order type | `BGM` document code (`220`, `221`, `224`) | `BEG02` (`SA`, `BK`, `DS` and others) | | Original / replace | `BGM` message function (`9`, `5`) | `BEG01` (`00`, `05`) | | Order date | `DTM+137` | `BEG05` | | Requested delivery | `DTM+2` | `DTM*002` | | Buyer, supplier, ship-to | `NAD+BY`, `NAD+SU`, `NAD+DP` | `N1*BY`, `N1*SE` or `N1*VN`, `N1*ST` | | Party ID | GLN with agency `9` | Qualifier in `N103` (`UL` for GLN, `92`, `1`) | | Line item | `LIN` + `PIA` + `QTY` + `PRI` | `PO1` (one segment) | | Product ID | GTIN in `LIN` (`SRV`) | `PO106` to `PO109` (`UP`, `VN`, `IN`) | | Description | `IMD` | `PID` | | Split delivery | `LOC+7` / `QTY+11` per line | `SDQ` | | Allowance | `ALC` + `PCD` / `MOA` | `SAC` | | Line count | `CNT+2` | `CTT01` | | Currency | `CUX` | `CUR` | The structural difference is that X12 packs a line into one `PO1` segment by position, while EDIFACT uses a group of small qualified segments. At the business level the two map cleanly, which is how one system can take both. See the [EDI 850 guide](/guides/edi/850-purchase-order) for the X12 side and [EDIFACT explained](/guides/edi/edifact) for the envelope differences (`UNB`/`UNZ` against `ISA`/`IEA`). ## UK retailer ORDERS requirements UK grocers split between EANCOM ORDERS and the older TRADACOMS order file, and some run both. These are the points that shape your ORDERS mapping. Specs change, so confirm the current version with each retailer during onboarding. ### Tesco - Purchase orders arrive as EANCOM ORDERS or as TRADACOMS `ORDHDR`, depending on your setup, so check which one your account uses before you build. - Tesco trades over OpenText's network (formerly GXS Trading Grid). Connect directly or through a provider that is already connected. - Expect to pass testing with Tesco's EDI onboarding team before the first live order. See the [Tesco EDI requirements](/edi-compliance/tesco) page for the full message set. ### Morrisons - Morrisons trades EDIFACT D96A: ORDERS, [ORDCHG](/guides/edi/edifact-ordchg), [DESADV](/guides/edi/edifact-desadv) and [INVOIC](/guides/edi/edifact-invoic). - Purchase order amendments arrive as ORDCHG. Apply each one to the open order before you pick, or you will ship the original quantities. - Connect through OpenText's TRADANET network or a direct AS2 connection, then pass Supplier Onboarding Verification testing and a live-proving phase. See the [Morrisons EDI requirements](/edi-compliance/morrisons) page. ### Marks & Spencer - M&S sends purchase orders and expects an [order response](/guides/edi/edifact-ordrsp) back. - Whether your category trades EDIFACT or TRADACOMS varies, so confirm it with M&S before mapping. - Testing covers business scenarios such as different delivery types, so include them in your sample orders. See the [Marks & Spencer EDI requirements](/edi-compliance/marks-and-spencer) page. ### Retailers that order in TRADACOMS [Sainsbury's](/edi-compliance/sainsburys), [Asda](/edi-compliance/asda), [Ocado](/edi-compliance/ocado), [Waitrose](/edi-compliance/waitrose), [Boots](/edi-compliance/boots) and the [Co-op](/edi-compliance/co-op) send purchase orders as TRADACOMS order files rather than EANCOM ORDERS. The [TRADACOMS ORDHDR guide](/guides/edi/tradacoms-ordhdr) covers that file line by line, and maps each field to its ORDERS equivalent. ## Common ORDERS errors and how to fix them | Problem | What you see | Fix | |---|---|---| | Unescaped apostrophe | A store name like `O'BRIEN` ends the segment early; the next "segment" has a nonsense tag | The sender must write `O?'BRIEN`. On receipt, flag segments with invalid tags rather than guessing | | Wrong UNT count | Partner rejects the interchange, or a CONTRL comes back with an error | UNT counts every segment from UNH to UNT inclusive. Off-by-two errors (forgetting UNH and UNT) are the classic mistake | | CNT does not match LIN | `CNT+2:3` but only two `LIN` segments | The message was truncated or built wrongly. Reject it and ask for a resend; do not import a partial order | | GTIN only in PIA | `LIN+1'` with the GTIN in `PIA+5` | Read both positions. Use `LIN` first, `PIA+5` as fallback | | Pack and unit confusion | `QTY+21:10` on a case GTIN imported as 10 units | Check whether the GTIN is the consumer unit or the case. Hold both in your item master and convert before the ERP | | Decimal mark | Prices parsed as 650 instead of 6.50 | Without a UNA, syntax version 3 defaults to a comma decimal mark. Read the UNA, and accept both `.` and `,` if your partner's guide allows | | Split totals wrong | Store quantities add to 30 but the line says 36 | EANCOM requires them to match. Query the buyer before picking | | Allowance applied twice | Invoice under the order value by the discount | `PRI+AAA` is already net. Treat `ALC` in ORDERS as information | | Unknown GLN | `NAD+DP` with a GLN not in your master data | New stores open all the time. Hold the order, request the address, add the GLN, release | Paste a failing file into the [EDIFACT inspector](/edifact-inspector) to see which of these applies: it checks UNT, UNZ and CNT counts, GTIN and GLN check digits, dates and segment tags. ## Testing and onboarding checklist Before going live with a new ORDERS partner: 1. **Get the implementation guide.** Note the directory (`D:96A` or `D:01B`), the EANCOM association code, the character set (`UNOA` or `UNOC`) and whether the partner sends a UNA. 2. **Exchange GLNs.** Confirm the interchange GLNs in UNB, and get the full list of buyer, invoicee and delivery party GLNs with addresses. 3. **Load the item master.** Every GTIN the partner may order, with its pack size and whether it is a consumer unit or a case. 4. **Agree on responses.** Is ORDRSP required, and within what time? Is a CONTRL expected for every interchange? 5. **Ask for sample files** covering a standard order, a split delivery, a promotional order and a replacement (`BGM` function `5`). 6. **Run every sample through a validator** and your mapping, then compare the ERP sales order line by line with the file. 7. **Test the edge cases**: escaped characters in names, a GLN you do not know, a GTIN you do not stock, a line with a zero quantity. 8. **Run parallel** for the first live orders: check each one manually against the ERP before trusting automation. ## Frequently Asked Questions ### What does BGM+220 mean? `220` is the UN/EDIFACT document name code for an order. It tells the receiver the message is a standard purchase order rather than, for example, a blanket order (`221`), a rush order (`224`) or a call-off (`226`). The second element is the buyer's order number and the third is the message function, usually `9` for an original. ### What is the difference between ORDERS D96A and D01B? They are two directory releases of the same message. D.96A underlies EANCOM 1997 and D.01B underlies EANCOM 2002. The core segments (BGM, DTM, NAD, LIN, QTY, PRI) work the same way in both, but code lists and some segment groups differ, so map to the version your partner puts in the UNH. ### How do I cancel an EDIFACT order? The buyer sends an ORDCHG (purchase order change) with BGM document code `230` and function `1` (cancellation), referencing the original order number. ORDERS itself has no cancellation function, though a buyer can replace an order with `BGM` function `5`. See the [ORDCHG guide](/guides/edi/edifact-ordchg). ### Do I need a GLN to receive EDIFACT orders? For EANCOM-based retail partners, nearly always. They identify you in the UNB and NAD segments by GLN. UK companies get GLNs through GS1 UK membership. See GS1's [GLN overview](https://www.gs1.org/standards/id-keys/gln). ### Can one ORDERS message deliver to several locations? Yes. Each line can carry up to 9,999 `LOC+7` groups, each with a split quantity and date. GS1 still recommends one order per delivery location where possible, and many partners send one ORDERS per store or depot for that reason. ### Is ORDERS the same as the TRADACOMS order? No. TRADACOMS is a separate, older UK standard. Its order is a file of messages (ORDHDR, ORDERS, ORDTLR) with different syntax. See [TRADACOMS ORDHDR](/guides/edi/tradacoms-ordhdr) and [TRADACOMS file types](/guides/edi/tradacoms-file-types). ### How do I respond to an EDIFACT order? With an [ORDRSP](/guides/edi/edifact-ordrsp) if the partner requires one: BGM `231`, quoting the order number in `RFF+ON`, with `29` for accepted, `4` for changed or `27` for not accepted. A CONTRL may also be required to confirm receipt of the interchange. ## Related guides - **[EDIFACT explained](/guides/edi/edifact)**: syntax, envelopes and EDIFACT vs X12 - **[EDIFACT message types](/guides/edi/edifact-message-types)**: every message in the order-to-cash cycle - **[EDIFACT ORDRSP](/guides/edi/edifact-ordrsp)**: accept, change or reject the order - **[EDIFACT ORDCHG](/guides/edi/edifact-ordchg)**: buyer changes and cancellations - **[EDIFACT DESADV](/guides/edi/edifact-desadv)**: the despatch advice that follows - **[EDIFACT INVOIC](/guides/edi/edifact-invoic)**: the invoice - **[EDIFACT CONTRL](/guides/edi/edifact-contrl)** and **[APERAK](/guides/edi/edifact-aperak)**: syntax and application acknowledgements - **[EDIFACT PRICAT](/guides/edi/edifact-pricat)**: the price catalogue that orders are priced from - **[EDI 850 purchase order](/guides/edi/850-purchase-order)**: the X12 counterpart ## Sources - [EANCOM 2002 S3: ORDERS purchase order message](https://www.gs1.org/sites/default/files/docs/eancom/ean02s3/part2/orders/toc.htm), GS1 (message structure, segment layouts and code lists used throughout this guide) - [EANCOM 2002 S3: ORDERS BGM segment](https://www.gs1.org/sites/default/files/docs/eancom/ean02s3/part2/orders/054.htm), GS1 - [EANCOM 2002 S3: ORDERS PRI segment](https://www.gs1.org/sites/default/files/docs/eancom/ean02s3/part2/orders/0561.htm), GS1 (net calculation price rule) - [UN/EDIFACT D.01B ORDERS message](https://service.unece.org/trade/untdid/d01b/trmd/orders_c.htm), UNECE - [Global Location Number (GLN)](https://www.gs1.org/standards/id-keys/gln), GS1 Check your partner's sample orders in the free [EDIFACT inspector](/edifact-inspector), or see how OrderSync automates [X12 850 purchase orders](/guides/edi/850-purchase-order) and EDIFACT orders into your ERP. --- # TRADACOMS ORDHDR: The UK Order File Explained Source: https://ordersync.io/guides/edi/tradacoms-ordhdr > TRADACOMS ORDHDR order files explained: the ORDHDR, ORDERS and ORDTLR messages, OLD order lines, TYP codes, live examples and the EANCOM ORDERS mapping. ORDHDR is the TRADACOMS order file a UK retailer sends to its supplier. It holds three message types: one ORDHDR header with the supplier, customer and file number, one ORDERS message per order with an OLD segment per product line, and one ORDTLR trailer counting the orders. Its EANCOM equivalent is the EDIFACT ORDERS message. When a UK retailer says "we will send you ORDHDR", it means purchase orders in TRADACOMS, the UK retail EDI standard. Waitrose, Ocado, Co-op, Asda, Boots and the M&S Food business all publish or describe TRADACOMS order flows, so if you supply UK grocery or high street retail, this is often the first EDI file you have to read. ORDHDR is not one order. It is a file that can carry one order or several hundred, for one depot or every store in the estate. This guide shows how it is built, what each segment carries and how it maps to [EDIFACT ORDERS](/guides/edi/edifact-orders). ## What is a TRADACOMS ORDHDR file? **ORDHDR is the order file in TRADACOMS, the UK retail EDI standard first published in 1982 by the Article Numbering Association, now GS1 UK.** The customer (usually a retailer) sends it to the supplier to place new orders, amend them or cancel them. The file takes its name from its first message, the ORDHDR order header. TRADACOMS groups messages into files rather than sending each document on its own. Data that is the same for every order in the file, such as who the supplier and customer are, travels once in the header. Each order then follows as its own `ORDERS` message, and a trailer closes the file. The [TRADACOMS overview](/guides/edi/tradacoms) covers the syntax and envelope in more depth. ## ORDHDR file structure An order file always has the same three-part shape, wrapped in the `STX` and `END` transmission envelope. Every message inside it opens with `MHD` and closes with `MTR`. ``` STX Start of transmission (sender, receiver, date, references) │ ├── MHD ORDHDR Order file header once per file │ TYP SDT CDT FIL │ MTR │ ├── MHD ORDERS Order details once per order, repeats │ CLO ORD DIN │ OLD OLD OLD ... one per product line │ OTR lines in this order │ MTR │ ├── MHD ORDTLR Order file trailer once per file │ OFT orders in this file │ MTR │ END End of transmission (number of messages) ``` The order header, detail and trailer each have their own version number in `MHD`. Version 9 is the final release of the standard and is what Co-op's supplier guidelines specify ("the V9 Tradacoms format"), but older versions are still in use. M&S's own TRADACOMS purchase order guide, for example, shows `ORDHDR:6`, `ORDERS:8` and `ORDTLR:4` in the same file. Always build to the versions your partner names. ## Example: a single order to a distribution centre A fictional retailer, Harbour Lane Stores, orders three homeware lines from a fictional supplier, Kestrel Valley Homeware, for delivery to its northern distribution centre. All identifiers are made-up GS1-style numbers with valid check digits. | Segment | What it says | |---|---| | `STX=ANA:1+...` | Syntax `ANA:1`; sender and receiver as GLN plus name; transmission date and time (YYMMDD:HHMMSS); sender's reference `000452`; receiver's reference (often a mailbox password); application reference `ORDHDR`; priority `B` | | `MHD=1+ORDHDR:9'` | Message 1 is the order header, version 9 | | `TYP=0430+NEW-ORDERS'` | Transaction code 0430: new orders | | `SDT=5098765000002:000041207+...` | Supplier: GLN, then the supplier number the retailer allocated, then the supplier's name | | `CDT=5012345000008+...` | Customer: GLN and name | | `FIL=452+1+261012'` | File generation number 452, version 1 (an original), created 12 October 2026 | | `MTR=6'` | Six segments in this message, counting MHD and MTR | | `MHD=2+ORDERS:9'` | Message 2 is an order | | `CLO=5012345000107:00212+...` | Delivery location: the DC's GLN, the retailer's own code for it, and its name | | `ORD=HL-PO-88340::261012'` | The retailer's order number and order date | | `DIN=261015+261015++AM DELIVERY'` | Earliest and latest delivery dates, plus a delivery instruction | | `OLD=1+...` | Order line 1: product, pack size, quantity, cost price, description (broken down below) | | `OTR=3'` | Three order lines in this order | | `MTR=9'` | Nine segments in the ORDERS message | | `MHD=3+ORDTLR:9'` / `OFT=1'` | Order file trailer: one order in the file | | `END=3'` | Three messages in the transmission | ## Segment reference The tables below follow the version 9 message layouts. "M" is mandatory and "O" optional in the standard; your partner's guide can make an optional segment mandatory for them. The EANCOM column gives the closest equivalent in the [EDIFACT ORDERS](/guides/edi/edifact-orders) message. ### ORDHDR: order file header | Segment | Name | Status | What it carries | EANCOM equivalent | |---|---|---|---|---| | `MHD` | Message header | M | Message number and `ORDHDR:version` | `UNH` | | `TYP` | Transaction type | M | Code for the kind of orders in the file, such as 0430 new orders | `BGM` document code and function | | `SDT` | Supplier details | M | Supplier GLN and the supplier code the retailer uses | `NAD+SU` | | `CDT` | Customer details | M | Customer GLN and name | `NAD+BY` | | `DNA` | Data narrative | O | Coded or free-text notes for the whole file | `FTX` | | `FIL` | File details | M | File generation number, version and creation date | No direct equivalent; closest is the `UNB` control reference | | `MTR` | Message trailer | M | Segment count for the message | `UNT` | ### ORDERS: one per order | Segment | Name | Status | What it carries | EANCOM equivalent | |---|---|---|---|---| | `MHD` | Message header | M | Message number and `ORDERS:version` | `UNH` | | `CLO` | Customer's location | M | Delivery point: GLN, retailer's own code, supplier's code for it | `NAD+DP` (or `NAD+BY` for a store) | | `ORD` | Order references | M | Customer's order number, supplier's order number, order date | `BGM` number and `DTM+137` | | `DIN` | Delivery instructions | O | Earliest and latest delivery dates and free-text instructions | `DTM+2`, `DTM+64` / `DTM+63` | | `DNA` | Data narrative | O | Order-level notes and registered codes | `FTX` | | `OLD` | Order line details | M, repeats | Product, pack, quantity, price, description | `LIN`, `PIA`, `QTY+21`, `PRI`, `IMD` | | `DNB` | Data narrative | O, per line | Line-level notes, such as an original order line number | `FTX` at line level | | `OTR` | Order trailer | M | Number of `OLD` lines in this order | `CNT+2` | | `MTR` | Message trailer | M | Segment count for the message | `UNT` | ### ORDTLR: order file trailer | Segment | Name | Status | What it carries | EANCOM equivalent | |---|---|---|---|---| | `MHD` | Message header | M | Message number and `ORDTLR:version` | None | | `OFT` | Order file totals | M | Number of `ORDERS` messages in the file | None; the closest check is the `UNZ` message count | | `MTR` | Message trailer | M | Segment count for the message | None | ## Reading the OLD order line `OLD` is where the money is, so it is worth knowing position by position. The version 9 layout runs: | Position | Field | In the example `OLD=1+5098765100016:KV-1001+++6+40+90000+++BAMBOO CHOPPING BOARD:LARGE'` | |---|---|---| | 1 | `SEQA` line number | `1` | | 2 | `SPRO` supplier's product: EAN-13 (GTIN) of the traded unit, supplier's own code, DUN-14 | `5098765100016:KV-1001` | | 3 | `SACU` EAN of the consumer unit | empty | | 4 | `CPRO` customer's product: own-brand EAN, customer's item code | empty | | 5 | `UNOR` consumer units in the traded unit, ordering measure, measure indicator | `6` (a case of six) | | 6 | `OQTY` traded units ordered, total measure, measure indicator | `40` cases | | 7 | `OUCT` cost price per traded unit, net of line discounts and before VAT | `90000` | | 8 | `PIND` special price indicator | empty | | 9 | `TFIN` to-follow indicator | empty | | 10 | `TDES` description, two lines of 40 characters | `BAMBOO CHOPPING BOARD:LARGE` | Three rules to apply when you map it: - **Quantity is in traded units, not consumer units.** `OQTY` 40 with `UNOR` 6 means 40 cases of 6, or 240 boards. Mixing the two up is the most common ORDHDR mapping bug. - **Prices have no decimal point.** TRADACOMS numbers carry implied decimals, and the number of places is set field by field in the specification your partner uses. In this example `OUCT` has four implied places, so `90000` is £9.00 per case; the John Lewis Partnership's published TRADACOMS invoice specification, for instance, defines unit cost as `n10.4`. Confirm the precision before you load prices. - **The product may be identified by the retailer's code, not your GTIN.** M&S's order guide sends its own UPC in `CPRO` with a placeholder in `SPRO`. Map both positions and match on whichever your partner populates. ## Transaction codes in TYP `TYP` tells you what kind of orders the file holds. The codes come from TRADACOMS code list 2; these are the ones order files use most: | Code | Meaning | |---|---| | `0430` | New orders | | `0440` | Order amendment: changes to an outstanding order; only amended products need to be sent | | `0400` | Cancelled orders | | `0450` | Copy orders: a copy of an order sent before | | `0460` | Confirmation of an order placed by phone or fax | | `0470` | Mixed order types: each order states its own type in `ORD` | Partners sometimes use these codes their own way. M&S's purchase order guide labels `0430` as a customer order and uses `0460` for its standard orders, for example, so read the code against your partner's guide, not just the code list. ## Example: one file, three store orders Store-delivered suppliers usually receive one file per run with an order for each store. Here Harbour Lane sends three store orders in a single file. The supplier and customer appear once, in the header, and each store's order is its own `ORDERS` message with its own `CLO`. The file generation number has moved on to 453, one higher than the previous file. Load this as three orders in your ERP, not one. Each `ORD` number is a separate purchase order that your delivery notes and invoices must quote back. The equivalent in EANCOM would be three separate ORDERS messages, each repeating the buyer and supplier. ## Example: an order amendment A day later the retailer raises the mill set quantity on order HL-PO-88340 from 15 to 20 cases. With transaction code `0440`, only the changed line is sent; lines 1 and 3 stand as they were. Amendments are where automation pays for itself or goes wrong. Your system has to find the open order by its `ORD` number and replace line 2, not create a new order for 20 cases. In EANCOM the same change would usually arrive as an [ORDCHG](/guides/edi/edifact-ordchg) message. ## ORDHDR to EANCOM ORDERS If a retailer moves you from TRADACOMS to EANCOM, or you trade both, the business content is the same and the shape is different. TRADACOMS sends the parties once per file; EANCOM repeats them in every order. | Business data | TRADACOMS order file | EANCOM ORDERS | |---|---|---| | Document type | `TYP=0430` | `BGM+220` | | Order number | `ORD` first element | `BGM` second element | | Order date | `ORD` date component | `DTM+137` | | Delivery date | `DIN` | `DTM+2`, or `DTM+64` and `DTM+63` for a window | | Supplier | `SDT` (once per file) | `NAD+SU` (every message) | | Buyer | `CDT` (once per file) | `NAD+BY` (every message) | | Delivery point | `CLO` | `NAD+DP` | | Product | `OLD` `SPRO` / `CPRO` | `LIN` GTIN and `PIA` codes | | Pack size | `OLD` `UNOR` | `QTY+59` or `PAC` | | Quantity ordered | `OLD` `OQTY` | `QTY+21` | | Net price | `OLD` `OUCT`, implied decimals | `PRI+AAA`, explicit decimal | | Line count | `OTR` | `CNT+2` | | Orders in the file | `OFT` | None; each message stands alone | The X12 counterpart is the [850 purchase order](/guides/edi/850-purchase-order). For the full TRADACOMS to EANCOM picture across every file type, see [TRADACOMS file types](/guides/edi/tradacoms-file-types). ## Which UK retailers send ORDHDR Retailers change their EDI setups, so treat this as a starting point and confirm with each partner's EDI team. - **Waitrose** and **Ocado** exchange orders as ORDHDR and invoices as INVFIL in TRADACOMS, according to ecosio's onboarding guides. See the [Waitrose](/edi-compliance/waitrose) and [Ocado](/edi-compliance/ocado) pages. - **Co-op** exchanges purchase orders, ASNs, invoices and credit notes in TRADACOMS version 9, per its own [supplier guidelines](https://supplier.coop.co.uk/supplierguidelines). See the [Co-op page](/edi-compliance/co-op). - **M&S** publishes a TRADACOMS ORDHDR purchase order guide for its Food suppliers through its GXS (now OpenText) portal. See the [Marks & Spencer page](/edi-compliance/marks-and-spencer). - **Asda** supports TRADACOMS for orders, invoices, credit notes and remittances, per ecosio. See the [Asda page](/edi-compliance/asda). - **Boots** trades in TRADACOMS, with purchase orders and invoices the common message set, per Cegedim. See the [Boots page](/edi-compliance/boots). ## Common ORDHDR errors The free [EDIFACT inspector](/edifact-inspector) catches the first three automatically. 1. **MTR counts that leave out MHD or MTR.** The count in `MTR` includes both. An ORDERS message with `CLO`, `ORD`, `DIN`, three `OLD` and `OTR` has nine segments, not seven. 2. **END counting orders instead of messages.** `END` counts every `MHD` in the transmission, header and trailer included. A file with three orders has `END=5`, not `END=3`. 3. **MHD numbers out of sequence.** Messages are numbered 1, 2, 3 through the whole transmission. Restarting at 1 for each order fails the sequence check most translators run. 4. **OTR or OFT that do not match.** `OTR` must equal the number of `OLD` lines in that order, and `OFT` the number of `ORDERS` messages in the file. A mismatch usually means a truncated file. 5. **Skipped or repeated file generation numbers.** `FIL` generation numbers run in sequence per file type and per trading partner. Receivers use them to spot missing files, and some reject files that arrive out of sequence. If you see a gap, ask for the missing file before you pick. 6. **Cases loaded as units.** See the `OQTY` and `UNOR` note above. Check the first live orders line by line against the retailer's portal or a PDF copy. ## How OrderSync handles ORDHDR OrderSync reads ORDHDR files directly, alongside EDIFACT and EANCOM, X12, PDF, CSV and email orders. Each `ORDERS` message becomes its own order, with the delivery location from `CLO` and quantities converted from traded units using `UNOR`, before anything reaches your ERP. ## Frequently Asked Questions ### What is ORDHDR in EDI? ORDHDR is the TRADACOMS order file used in UK retail. Strictly, it is the header message that opens the file, but the whole order file is usually called ORDHDR. It contains an ORDHDR header, one ORDERS message for each purchase order, and an ORDTLR trailer. ### What is the difference between ORDHDR and ORDERS? ORDHDR is the file header, sent once, with the supplier, customer and file number. ORDERS is the detail message, sent once per purchase order, with the delivery location, order number and lines. Confusingly, EDIFACT also has a message called ORDERS, but it is a different format. ### What does the OLD segment contain? OLD is the order line. It carries the line number, the product codes (your GTIN or own code, and the retailer's code), the number of consumer units per traded unit, the quantity of traded units ordered, the cost price per traded unit and a description. ### What is the EDIFACT equivalent of ORDHDR? The EANCOM ORDERS message, with document code `BGM+220`. Amendments that TRADACOMS sends as ORDHDR files with transaction code 0440 usually map to the EANCOM ORDCHG message. ### Do I have to acknowledge an ORDHDR file? Only if your partner asks for it. TRADACOMS has an acknowledgement of order file (ACKHDR), but many UK retailers do not use it. Check your partner's specification for any order response or confirmation they expect. ## Related guides - **[TRADACOMS explained](/guides/edi/tradacoms)**: syntax, STX and END, and how files work - **[TRADACOMS file types](/guides/edi/tradacoms-file-types)**: every file type and its EANCOM equivalent - **[TRADACOMS INVFIL](/guides/edi/tradacoms-invfil)**: the invoice file you send back - **[TRADACOMS DLCHDR](/guides/edi/tradacoms-dlchdr)**: the delivery confirmation that tells you what was received - **[EDIFACT ORDERS](/guides/edi/edifact-orders)**: the EANCOM purchase order ## Sources - [TRADACOMS release 9 ORDERS and OLD layouts](https://www.kasoftware.com/schema/edi/tradacoms/9/messages/ORDERS/), KA Software schema reference - [M&S Purchase Order implementation guide (TRADACOMS ORDHDR)](https://mands.gxs.co.uk/content/Implementation_Guides/MS%20Message_Implementation%20Guide_Purchase_Order_tradacom_071110.pdf), Marks & Spencer via GXS - [Co-op supplier guidelines](https://supplier.coop.co.uk/supplierguidelines), Co-op - [EDI - Tradacoms invoice specifications](https://www.jlpsuppliers.com/supplier-finance-queries/new-connections/edi-tradacoms-invoice-specifications), John Lewis Partnership - [Waitrose EDI: where to start](https://ecosio.com/en/blog/waitrose-edi-where-to-start/) and [Setting up an EDI connection with Ocado](https://ecosio.com/en/blog/setting-up-an-edi-connection-with-ocado/), ecosio - [Ending support for TRADACOMS](https://www.gs1uk.org/insights/news/ending-support-for-tradacoms), GS1 UK - [TRADACOMS](https://en.wikipedia.org/wiki/TRADACOMS), Wikipedia Check an ORDHDR file's structure and counts in the free [EDIFACT inspector](/edifact-inspector). --- # EDIFACT ORDRSP: Order Response Segments and Example Source: https://ordersync.io/guides/edi/edifact-ordrsp > EDIFACT ORDRSP order response explained: live EANCOM examples for accepted, changed and rejected orders, BGM and LIN codes, and the X12 855 mapping. EDIFACT ORDRSP is the purchase order response message, the equivalent of the X12 855. A supplier sends it after receiving an ORDERS message to accept the order, accept it with changes, or reject it. BGM+231 identifies the response and its overall status; each LIN carries an action code saying whether that line is accepted, changed or not accepted. ORDRSP is how you tell a UK or European buyer what they will actually get. A clean "accepted" response takes seconds to generate. The hard cases are short quantities, later dates, substituted products and lines you cannot supply, and those are exactly the cases buyers rely on ORDRSP to flag before the lorry turns up. This guide follows the [GS1 EANCOM 2002 ORDRSP](https://www.gs1.org/sites/default/files/docs/eancom/ean02s3/part2/ordrsp/toc.htm) layout (directory D.01B). All four examples are live: they are parsed in your browser by the same engine as our EDIFACT inspector, and each one responds to an order from the [EDIFACT ORDERS guide](/guides/edi/edifact-orders), so you can compare request and response side by side. ## What is an EDIFACT ORDRSP? **ORDRSP (purchase order response) is the UN/EDIFACT message a supplier sends to accept, amend or reject a purchase order or order change.** It quotes the buyer's order number in `RFF+ON` and responds at two levels: a status for the order as a whole in `BGM`, and an action code in each `LIN` for individual lines. GS1 lists four things a response can be: an acknowledgement of receipt and understanding, a confirmation of acceptance, a proposal to amend, or a notice of non-acceptance for all or part of the order. One message can mix these, line by line. Not every partner requires ORDRSP. Many UK grocers do not ask for one at all; others, especially in wholesale, DIY and fashion, make it mandatory within a set window. A buyer can also ask for one on a specific order by putting `AC` in the fourth element of the order's BGM. Check the partner's implementation guide. ## When ORDRSP is sent in the order-to-cash flow | Step | Message | Direction | What it answers | |---|---|---|---| | 1 | [ORDERS](/guides/edi/edifact-orders) | Buyer to supplier | What do I want? | | 2 | [CONTRL](/guides/edi/edifact-contrl) | Supplier to buyer | Did the interchange arrive and parse? | | 3 | **ORDRSP** | Supplier to buyer | Will you supply it, and on what terms? | | 4 | [ORDCHG](/guides/edi/edifact-ordchg) | Buyer to supplier | Buyer confirms or changes the order after a "changed" response | | 5 | [DESADV](/guides/edi/edifact-desadv) | Supplier to buyer | What was despatched? | | 6 | [INVOIC](/guides/edi/edifact-invoic) | Supplier to buyer | What do I owe? | Timing matters more than the format. ORDRSP has to arrive while the buyer can still act on it: before their replenishment system plans the delivery slot and before your warehouse picks. An ORDRSP that arrives after the [DESADV](/guides/edi/edifact-desadv) tells the buyer nothing they can use. ## Example 1: order accepted without amendment The simplest response. BGM function `29` says the whole order is accepted as sent, and each line repeats `5` (accepted). | Segment | What it says | |---|---| | `UNB+UNOC:3+5098765000002:14+5012345000008:14+...` | The supplier is now the sender and the buyer the recipient | | `UNH+1+ORDRSP:D:01B:UN:EAN009'` | ORDRSP, directory D.01B, EANCOM subset version 009 | | `BGM+231+KV-OR-5535+29'` | Purchase order response (231), response number KV-OR-5535, accepted without amendment (29) | | `DTM+137` | Date of the response | | `RFF+ON:HL-PO-88355'` / `DTM+171` | The buyer's order number and its date | | `NAD+BY` / `NAD+SU` | Buyer and supplier GLNs: EANCOM requires both | | `LIN+1+5+...` | Line 1, action 5: accepted without amendment | | `UNS+S'` / `CNT+2:2'` | End of detail; two lines in the response | EANCOM says unamended lines do not have to be re-sent, so a `29` response could stop after the NADs. Many partners still want every ordered line returned so their system can close each one. Send all lines unless the partner's guide says otherwise. ## ORDRSP segment reference Status is M (mandatory) or C (conditional); repeats are the EANCOM 2002 maximum. | Segment | Name | Status | Repeats | What it carries | X12 855 equivalent | |---|---|---|---|---|---| | `UNH` | Message header | M | 1 | Message reference, type and version | `ST` | | `BGM` | Beginning of message | M | 1 | Response number and overall status | `BAK01`, `BAK02`, `BAK08` | | `DTM` | Date/time/period | M | 35 | Response date (`137`), delivery dates | `DTM` | | `FTX` | Free text | C | 99 | Reason or note for the whole response | `N9` / `MSG` | | `RFF` (SG1) | Reference | C | 9999 | Buyer's order number (`ON`), with `DTM+171` | `BAK03`, `BAK04` | | `NAD` (SG3) | Name and address | C | 99 | Buyer and supplier (both required) | `N1` loop | | `CUX` (SG8) | Currencies | C | 5 | Currency, if changed | `CUR` | | `TDT` (SG10) | Transport | C | 10 | Changed transport details | `TD5` | | `ALC` (SG19) | Allowance or charge | C | 99 | Header allowances and charges | `SAC` | | `LIN` (SG26) | Line item | C | 200000 | Line number, action code, GTIN | `PO1` + `ACK01` | | `PIA` | Additional product id | C | 25 | Supplier code, substitute GTIN (`3`) | `PO1` qualifiers | | `IMD` | Item description | C | 99 | Description | `PID` | | `QTY` | Quantity | C | 99 | Ordered, to be delivered, backorder | `ACK02` | | `DTM` | Date/time/period | C | 35 | Promised, backorder, availability dates | `ACK04`, `ACK05` | | `MOA` | Monetary amount | C | 10 | Line amount | `AMT` | | `QVR` | Quantity variances | C | 1 | Difference from ordered, with reason | none direct | | `FTX` | Free text | C | 99 | Line note | `MSG` | | `PRI` (SG30) | Price details | C | 25 | Confirmed or changed net price | `CTP`, `PO104` | | `LOC` (SG35) | Place/location | C | 9999 | Split delivery response | `SDQ` | | `ALC` (SG41) | Allowance or charge | C | 99 | Line allowances | `SAC` | | `UNS` | Section control | M | 1 | Separates detail from summary | none | | `MOA` | Monetary amount | C | 12 | Response totals | `AMT` | | `CNT` | Control total | C | 10 | Number of lines (`2`) | `CTT` | | `UNT` | Message trailer | M | 1 | Segment count and reference | `SE` | ## Response codes ### BGM message function: the order as a whole `BGM+231++` | Code | Meaning in EANCOM ORDRSP | |---|---| | `29` | Accepted without amendment: the supplier will supply as ordered | | `4` | Change: the supplier accepts but requires changes to one or more lines | | `27` | Not accepted: the supplier declines the whole order | | `12` | Not processed: received but not yet fully processed | | `45` | Accepted with reserves: a final ORDRSP follows later, referring back to this one | ### LIN action code: each line `LIN+++:SRV` | Code | Meaning | |---|---| | `5` | Accepted without amendment | | `3` | Changed: quantity, date, price, product or packaging differs from the order | | `7` | Not accepted | | `1` | Added: an extra line, typically when one ordered line is split into two deliveries | | `4` | No action: not yet processed | ### Quantity qualifiers | Qualifier | Meaning | |---|---| | `21` | Ordered quantity | | `113` | Quantity to be delivered | | `83` | Backorder quantity | | `12` | Despatch quantity | | `192` | Free goods quantity | | `53` / `54` | Minimum / maximum order quantity | ### Date qualifiers at line level | Qualifier | Meaning | |---|---| | `2` | Delivery date requested | | `69` | Delivery date promised | | `17` | Estimated delivery date | | `506` | Backorder delivery date | | `44` | Availability: when an unavailable item will be available again | ### QVR: quantity variance `QVR+-20:21+BP'` says the quantity differs from the ordered quantity (`21`) by minus 20, and the discrepancy is a partial shipment with backorder to follow (`BP`). `CP` means partial, considered complete, no backorder. EANCOM defines two coded reasons in the third element: `BJ` (item identification code unknown) and `PC` (pack difference). Negative variances must carry the minus sign. ## Example 2: changed quantity and changed date This responds to [order HL-PO-88231](/guides/edi/edifact-orders). Line 1 is accepted. Line 2 can only ship 40 of the 60 now, with 20 backordered for 23 October. Line 3 is accepted in full but for 19 October instead of the requested 16th. | Segment | What it says | |---|---| | `BGM+231+KV-OR-5531+4'` | Function 4: the order is accepted, but with changes | | `LIN+1+5+...` | Line 1 accepted as ordered; nothing else needs to follow | | `LIN+2+3+...` | Line 2 changed | | `QTY+21:60'` / `QTY+113:40'` / `QTY+83:20'` | Ordered 60, 40 to be delivered, 20 on backorder | | `DTM+506:20261023:102'` | Backorder delivery date | | `QVR+-20:21+BP'` | 20 short of ordered, backorder to follow | | `LIN+3+3+...` with `DTM+69` | Line 3 changed: full quantity, delivery promised for 19 October | GS1's rule for changed lines is strict: if any segment below a `LIN` changes, all the segments below that `LIN` must be re-transmitted. That is why lines 2 and 3 repeat the supplier article number, ordered quantity and price, even though only the quantity or date changed. Sending only the changed segment is a common reason buyers' systems misread a response. ## Example 3: substituted product and a rejected line This responds to the promotional [order HL-PO-88340](/guides/edi/edifact-orders). The roasting tin set has a new GTIN after a pack redesign, so line 1 is changed with a substitute. Line 2 cannot be supplied at all. Two details are easy to get wrong: - **Which GTIN goes where.** In ORDRSP, `PIA+3` (substituted by) means `LIN` keeps the GTIN the buyer ordered and `PIA` gives the one you will ship. `PIA+4` (substituted for) is the reverse: the new GTIN in `LIN`, the old one in `PIA`. Use the one your partner's guide specifies, and make sure the replacement GTIN is already in their item master, or the delivery will not book in. - **The header must agree with the lines.** With line 2 not accepted, the order as a whole is no longer accepted as sent, so the BGM function is `4`, not `29`. ## Example 4: whole order rejected Sometimes the answer is no. BGM function `27` declines the entire order. No lines are needed, though some partners ask for every line with action `7`. EANCOM discourages free-form `FTX` because a person has to read it, and recommends coded standard texts agreed between partners instead (for example `FTX+ZZZ+1+001::91'`). In practice a full rejection almost always ends in a phone call, so a clear sentence in `FTX` is better than nothing. Before rejecting a whole order, ask whether a `4` with some lines at `7` would serve the buyer better. ## ORDRSP vs the X12 855 | Data | EDIFACT ORDRSP | X12 855 | |---|---|---| | Response number | `BGM` second element | `BAK08` (if used) | | Overall status | `BGM` message function (`29`, `4`, `27`) | `BAK02` (`AC`, `AD`, `RJ` and others) | | Buyer's PO number | `RFF+ON` | `BAK03` | | PO date | `DTM+171` after `RFF+ON` | `BAK04` | | Line status | `LIN` action code (`5`, `3`, `7`) | `ACK01` (`IA`, `IQ`, `IR`, `IB`, `DR` and others) | | Confirmed quantity | `QTY+21`, `QTY+113` | `ACK02` | | Backorder | `QTY+83` and `DTM+506` | `ACK01` = `IB` with a date | | New delivery date | `DTM+69` | `ACK01` = `DR`, date in `ACK05` | | Substitution | `PIA+3` or `PIA+4` | `ACK01` = `IS`, product in `ACK06` onwards | | Line count | `CNT+2` | `CTT01` | X12 855 status codes are more granular at line level, with separate codes for backordered, quantity changed, date rescheduled, price changed and substituted. EDIFACT uses one "changed" action code and puts the detail in the following `QTY`, `DTM`, `PIA`, `PRI` and `QVR` segments. A mapper going from one to the other has to read those detail segments, not only the code. See the [EDI 855 guide](/guides/edi/855-purchase-order-acknowledgment) for the X12 codes. ## ORDRSP vs CONTRL vs APERAK Three different EDIFACT messages can come back after an ORDERS, and they answer different questions: | Message | Answers | X12 equivalent | |---|---|---| | [CONTRL](/guides/edi/edifact-contrl) | Did the interchange arrive and parse? | [997](/guides/edi/997-functional-acknowledgment) | | [APERAK](/guides/edi/edifact-aperak) | Did the receiving application accept the message, and if not, what error? | [824](/guides/edi/824-application-advice) | | ORDRSP | Will the supplier fulfil the order, and on what terms? | [855](/guides/edi/855-purchase-order-acknowledgment) | ## UK retailer ORDRSP requirements Order responses are less universal in UK retail than despatch advices and invoices. Check whether each partner wants one before you build it, and confirm the current specification during onboarding. ### Marks & Spencer - M&S sends purchase orders and expects an order response back, so ORDRSP is part of the core flow rather than an optional extra. - Confirm with M&S whether your category trades EDIFACT or TRADACOMS, because the response format follows that choice. - M&S testing covers business scenarios such as different delivery types. Build a response for each scenario you test. See the [Marks & Spencer EDI requirements](/edi-compliance/marks-and-spencer) page. ### Morrisons - Morrisons' EDIFACT D96A message set is ORDERS, [ORDCHG](/guides/edi/edifact-ordchg), DESADV and INVOIC. Amendments flow from Morrisons to you as ORDCHG. - Apply each ORDCHG to the open order before you pick. Ask during onboarding whether Morrisons also wants an ORDRSP from you for your category. See the [Morrisons EDI requirements](/edi-compliance/morrisons) page. ### Tesco and the TRADACOMS retailers Our [Tesco](/edi-compliance/tesco) summary does not list an order response, and the retailers that order in TRADACOMS, such as [Sainsbury's](/edi-compliance/sainsburys), [Asda](/edi-compliance/asda) and [Waitrose](/edi-compliance/waitrose), centre the flow on the order, the invoice and in some cases a delivery notification. If your account does need a response, the partner's implementation guide will say which format and deadline apply. The [TRADACOMS guide](/guides/edi/tradacoms) explains how those files fit together. ## Common ORDRSP errors and how to fix them | Problem | Why it fails | Fix | |---|---|---| | Header says `29` but a line is `3` or `7` | Buyer systems check that BGM and LIN agree | Derive the BGM function from the lines: all `5` gives `29`, any `3` or `7` gives `4`, all `7` gives `27` | | Order number does not match | `RFF+ON` is how the response is matched to the order | Copy the BGM document number from the ORDERS exactly, including prefixes and leading zeros | | One ORDRSP for several orders | Each response quotes one `RFF+ON` | Send one ORDRSP per ORDERS message, even when several orders arrived in one interchange | | Only the changed segment re-sent | The buyer reads missing segments as deleted | Re-send every segment below a changed `LIN` | | Quantities that do not add up | `QTY+113` plus `QTY+83` should equal what you commit to | Check the arithmetic, and carry the shortfall in `QVR` with a negative sign | | Response after despatch | The buyer has already planned receiving | Generate ORDRSP when the order is allocated, not when it ships | | Shipping the changed version immediately | Under EANCOM, the buyer confirms a change with a new order or an ORDCHG | Wait for the buyer's confirmation if the partner's process requires it | | Wrong direction in UNB | The supplier GLN must now be the sender | Swap sender and recipient relative to the incoming ORDERS | Run your outbound file through the [EDIFACT inspector](/edifact-inspector) before sending: it checks the UNT and CNT counts, GTIN and GLN check digits and the envelope references. ## Testing and onboarding checklist 1. **Confirm whether ORDRSP is required**, for which order types, and the deadline (for example, a set number of hours after the order). 2. **Confirm which lines to return**: all lines, or only changed and rejected ones. 3. **Agree the status codes** the partner accepts. Some do not support `45` (accepted with reserves) or `1` (added line). 4. **Agree how substitutions work**: `PIA+3` or `PIA+4`, and whether substitutes need prior approval. 5. **Agree reason codes** for changes and rejections: the EANCOM `QVR` reasons, mutually defined `FTX` codes, or none. 6. **Build test responses** for each case in this guide (full acceptance, quantity change with backorder, date change, substitution, line rejection, full rejection) against the partner's sample orders. 7. **Check the buyer's next step**: if they answer a changed response with an [ORDCHG](/guides/edi/edifact-ordchg), make sure you can receive and apply it. ## Frequently Asked Questions ### What does BGM+231 mean? `231` is the UN/EDIFACT document name code for a purchase order response. The third element of BGM then gives the overall status, such as `29` accepted without amendment, `4` change or `27` not accepted. ### Is ORDRSP mandatory? It depends on the trading partner. EANCOM defines the message but does not require it. Many UK grocers never ask for it, while others require an ORDRSP for every order within a fixed time. The partner's implementation guide is the authority. ### How do I reject a single line in ORDRSP? Send that line with action code `7` in the second element of `LIN`, for example `LIN+2+7+5098765100054:SRV'`, and set the BGM message function to `4` (change) because the order as a whole is no longer accepted as sent. ### Can ORDRSP change prices? Yes. Send the line with action code `3` and a `PRI` segment carrying the net price you will invoice, re-sending the line's other segments. Whether the buyer accepts a price change through ORDRSP or requires a new order is a commercial question set out in their guide. ### What is the difference between ORDRSP and the X12 855? They do the same job. The 855 puts a status code on each line (`IA`, `IQ`, `IB`, `IR` and others) inside an `ACK` segment; ORDRSP uses a simpler action code in `LIN` and describes the change with `QTY`, `DTM`, `PIA` and `QVR` segments. Both quote the buyer's order number. ### What is the difference between ORDRSP and CONTRL? CONTRL is a syntax acknowledgement: it confirms the interchange was received and could be parsed. ORDRSP is a business response: it says whether you will supply the goods. A partner can require both. ### What happens after I send a changed ORDRSP? Under the EANCOM definitions, the buyer acknowledges your changes by sending a new order or an ORDCHG that refers to the original order. Your DESADV and INVOIC should then match the confirmed quantities and dates. ## Related guides - **[EDIFACT explained](/guides/edi/edifact)**: syntax, envelopes and the X12 mapping - **[EDIFACT message types](/guides/edi/edifact-message-types)**: the full catalogue - **[EDIFACT ORDERS](/guides/edi/edifact-orders)**: the order ORDRSP responds to - **[EDIFACT ORDCHG](/guides/edi/edifact-ordchg)**: the buyer's change or confirmation - **[EDIFACT DESADV](/guides/edi/edifact-desadv)**: the despatch advice that follows - **[EDIFACT CONTRL](/guides/edi/edifact-contrl)** and **[APERAK](/guides/edi/edifact-aperak)**: acknowledgements - **[EDI 855 PO acknowledgment](/guides/edi/855-purchase-order-acknowledgment)**: the X12 counterpart ## Sources - [EANCOM 2002 S3: ORDRSP purchase order response message](https://www.gs1.org/sites/default/files/docs/eancom/ean02s3/part2/ordrsp/toc.htm), GS1 (structure, principles and code lists) - [EANCOM 2002 S3: ORDRSP BGM segment](https://www.gs1.org/sites/default/files/docs/eancom/ean02s3/part2/ordrsp/054.htm), GS1 (message function codes) - [EANCOM 2002 S3: ORDRSP LIN segment](https://www.gs1.org/sites/default/files/docs/eancom/ean02s3/part2/ordrsp/0550.htm), GS1 (line action codes) - [UN/EDIFACT D.01B ORDRSP message](https://service.unece.org/trade/untdid/d01b/trmd/ordrsp_c.htm), UNECE Paste your ORDRSP output into the free [EDIFACT inspector](/edifact-inspector) to check counts and references before your partner does. --- # EDIFACT PARTIN: Party Information Message Guide Source: https://ordersync.io/guides/edi/edifact-partin > EDIFACT PARTIN explained: how GLNs, store and DC addresses, delivery windows and parent links travel in EANCOM, with two examples and the X12 816 mapping. EDIFACT PARTIN is the party information message, the closest equivalent of the X12 816. A trading partner sends it to set up or update the locations it trades from: each GLN with its name, address, function, parent organisation, contacts, bank and VAT details, and delivery schedule. BGM+10 identifies it, and one NAD group describes each location. **PARTIN is the message that tells you what a GLN on an order actually means.** An EANCOM order names its delivery point as a 13-digit Global Location Number and nothing else. Your system can only ship it if that GLN is already on file with an address, a delivery window and the right parent account. PARTIN is how that location data arrives as EDI, and how it stays current when stores open, move or close. This guide follows the [GS1 EANCOM 2002 PARTIN](https://www.gs1.org/sites/default/files/docs/eancom/ean02s3/part2/partin/toc.htm) layout: directory D.01B, subset version EAN009. EANCOM 2002 is GS1's current edition and the basis of the other EDIFACT guides on this site. A partner still on EANCOM 1997 will send D.96A, and its `UNH` segment says which. ## What Is an EDIFACT PARTIN? **PARTIN (party information) is the UN/EDIFACT message for "the transmission of basic information regarding locations and the related operational, administrative, commercial and financial data", as GS1 defines it.** It maintains each partner's master data file of locations, so that later messages can refer to a location by its number alone. GS1 calls PARTIN "the first message exchanged between trading partners at the beginning of a commercial relationship", to be sent again whenever the details change. Its principles cover: - **Physical and functional locations.** A store and a distribution centre are physical locations. An accounts payable department or an ordering desk is a functional location. Both get a GLN and both can be described. - **One function per message.** GS1 requires a separate message for each message function: an addition, a change and a deletion go in three PARTINs, not one. - **Central address catalogues.** Partners can use PARTIN to feed a central catalogue of addresses that other parties read. **Who sends it?** Whichever side owns the locations. In retail that is usually the buyer sending its stores and DCs to suppliers. A supplier can also send its own despatch points, invoicing party and bank details. **When?** At onboarding, then each time a location is added, changed or closed. **Why does it matter?** An order to a GLN you do not hold cannot be shipped without someone looking it up. An order to a GLN with an out-of-date address gets shipped to the wrong place. In practice PARTIN is less common than ORDERS or INVOIC. Many retailers send location lists as spreadsheets or portal downloads instead. Ask during onboarding which route your partner uses. For the full list of EDIFACT messages, see [EDIFACT message types](/guides/edi/edifact-message-types). ## PARTIN, GLNs and Location Master Data A GLN is only a key. GS1 says a GLN can identify a legal entity, a function, a physical location or a digital location, and the [GS1 GLN standard](https://www.gs1.org/standards/id-keys/gln) sets management rules for what happens when a location is new, splits, merges, changes purpose, moves or changes name. None of that data is inside the number itself. It lives in each partner's location master file, and something has to keep the two files in step. | Source of location data | How it reaches you | Good for | |---|---|---| | **PARTIN** | EDIFACT message from the partner | Full location records with addresses, functions, parents, schedules and bank or tax details | | **[X12 816](/guides/edi/816-organizational-relationships)** | X12 message from the partner | The same job in North American retail | | **TRADACOMS `CUSHDR`** | TRADACOMS customer information file | UK retailers still on TRADACOMS | | Spreadsheet or supplier portal | File download, often monthly | Partners that do not send location data as EDI | | GS1 lookup services | Look up a GLN yourself | Checking who a GLN belongs to; coverage varies by country and service | Whatever the source, key your records on the GLN, store the partner's own store or DC number beside it, and validate every GLN's check digit before loading. The [check digit calculator](/tools/check-digit-calculator) validates a whole column of GLNs from a CSV. ## Example 1: A New Store and a New Distribution Centre The fictional retailer Calder Row Markets (head office GLN 5412345000013) tells its supplier Ashby Mill Bakery (GLN 5412345000020) about two new locations. Store 0218 opens on 23 November 2026 and orders for itself. A new northern DC starts receiving on 16 November. Both sit under the head office. All GLNs use GS1's documented example prefix 5412345 with valid check digits; the addresses and postcodes are fictional. | Segment | What it says | |---|---| | `BGM+10+CRM-PI-0331+2'` | Document `10` (party information), number CRM-PI-0331, function `2` (addition: new parties) | | `NAD+FR` / `NAD+MR` | Message from the head office, to the supplier | | `UNS+D'` | End of the heading, start of the detail section | | `NAD+SN+5412345000037::9++...'` | A store, by GLN, with its name and structured address | | `DTM+194:20261123:102'` | The location's start date | | `IDE+OB'` and `IDE+ST'` | Its functions: it places orders, and goods are shipped to it | | `HYN+PA+1++5412345000013:GLN::9'` | Its parent in the party hierarchy is the head office | | `RFF+YC1:0218'` | Additional party identification: the retailer's own store number | | `CTA+OC` / `COM` | The order contact and an email address | | `SCC+1++W:11:D'` | Firm delivery schedule: weekly pattern, Monday to Saturday, mornings | | `NAD+DP+5412345000044::9++...'` | The DC, as a delivery party | | `SCC+1++Y:10:H'` then `DTM+2:06001400:501'` | Daily, Monday to Friday, with a requested delivery window of 06:00 to 14:00 | | `UNT+23+1'` | 23 segments from `UNH` to `UNT` inclusive | The order of segments inside each location group is fixed by the message structure: `NAD`, `DTM`, `FII`, `IDE`, `FTX`, `TAX`, `HYN`, then the `LOC`, `RFF`, `CTA`/`COM`, `SCC`, `TOD`, payment, characteristic and process groups. A strict translator can reject segments sent out of this order. ## Example 2: A Store Closing Six weeks later, store 0146 is closing on 31 December. Calder Row sends a change (function `4`) that adds an end date to the location. Under GS1's rules for a change, only segments with modified data are sent, so the message is short. | Segment | What it says | |---|---| | `BGM+10+CRM-PI-0336+4'` | Function `4` (change): modifies a party the supplier already holds | | `NAD+SN+5412345000051::9'` | The store being changed, identified by GLN only | | `DTM+206:20261231:102'` | End date for this location: 31 December 2026 | When the store has actually closed and the partner wants the record gone, it sends function `3` (deletion) in a separate message. Do not delete a location the moment you receive an end date: open orders, deliveries and invoices can still reference it, and GS1's GLN rules restrict reusing a GLN once it is retired. ## PARTIN Structure at a Glance Status and repeats follow the EANCOM 2002 structure chart. M is mandatory, C conditional. | Section | Segment | Name | Status | Repeats | Carries | X12 816 equivalent | |---|---|---|---|---|---|---| | Heading | `UNH` | Message header | M | 1 | `PARTIN:D:01B:UN:EAN009` | `ST` | | Heading | `BGM` | Beginning of message | M | 1 | `10`, number, function | `BHT` | | Heading | `DTM` | Date/time/period | M | 5 | `137` message date, `194`/`206` validity | `DTM` | | Heading | `FII`, `FTX` | Bank details, free text | C | 10 / 5 | Sender-level details | | | SG1 | `RFF`, `DTM` | Reference | C | 5 | A previous message, for replace or cancel | `REF` | | SG2 | `NAD` | Name and address | C | 2 | `FR` from, `MR` recipient | Heading `N1` loop | | SG3 | `CTA`, `COM` | Contact | C | 5 | Sender's contact | `PER` | | Heading | `UNS` | Section control | M | 1 | `UNS+D` | | | SG4 | `NAD` | Name and address | M in group | 200000 | One location per group | Detail `HL` and `N1` loops | | SG4 | `DTM` | Date/time/period | C | 5 | `194` start, `206` end | `DTM` | | SG4 | `FII` | Financial institution | C | 10 | Bank account for this party | | | SG4 | `IDE` | Identity | C | 9 | The location's functions | `N101` entity code | | SG4 | `TAX` | Duty/tax/fee details | C | 9 | Usual VAT situation | | | SG4 | `HYN` | Hierarchy information | C | 9 | Parent or child GLN | `HL02` parent ID | | SG5 | `LOC` | Place/location | C | 99 | Coordinates when no address exists | | | SG6 | `RFF`, `DTM` | Reference | C | 15 | VAT number, store number, registration | `REF` | | SG7 | `CTA`, `COM` | Contact | C | 5 | Order or sales contact | `PER` | | SG8 | `SCC`, `DTM` | Scheduling conditions | C | 10 | Delivery days and windows | | | SG9 | `TOD`, `LOC` | Terms of delivery | C | 1 | Delivery terms for this party | | | SG10 | `PAI`, `PAT`, `CUX` and more | Payment details | C | 999 | Payment terms for this party | | | SG13 | `PRC`, `LIN`, `NAD`, `DOC` | Process identification | C | 999 | Who does what in a business process | | | Summary | `UNT` | Message trailer | M | 1 | Segment count | `SE` | PARTIN has no `CNT` and no summary `UNS`. The detail section ends with the last location group and goes straight to `UNT`. ## Key Segments Explained ### BGM: Message Function ``` BGM+10+CRM-PI-0331+2' ``` | Code (1225) | Meaning in EANCOM PARTIN | |---|---| | `9` | Original transmission | | `2` | Addition: new parties, or existing parties sent to this partner for the first time | | `4` | Change: only segments with modified data are sent, each with all its previous data and all its repetitions | | `3` | Deletion: remove the party records from the receiver's file | | `5` | Replace a previous message, identified in the heading `RFF` | | `1` | Cancellation of a previous message, identified in `RFF` | | `6` | Confirmation: party data sent again to confirm it | The document code in the first element is always `10` (party information). ### NAD: The Location ``` NAD+SN+5412345000037::9++CALDER ROW MARKETS 0218+14 BRIDGE STREET+CALDERBRIDGE++ZZ1 4QT+GB' ``` | Element | Example | What it means | |---|---|---| | 3035 | `SN` | Party function. See the qualifier table below | | C082 / 3039 | `5412345000037` | The GLN. GS1 recommends GLN, format n13 | | C082 / 3055 | `9` | Code list agency: GS1 | | C080 | `CALDER ROW MARKETS 0218` | Party name in clear text | | C059 | `14 BRIDGE STREET` | Street | | 3164 | `CALDERBRIDGE` | City | | 3251 | `ZZ1 4QT` | Postal code | | 3207 | `GB` | ISO 3166 country code | Detail-level `NAD` qualifiers in EANCOM 2002 PARTIN: | Qualifier | Meaning | |---|---| | `BY` | Buyer | | `SU` | Supplier | | `DP` | Delivery party | | `SN` | Store number | | `IV` | Invoicee | | `DGB` | Invoice processing party | | `DFZ` | Article information responsible party | | `DGA` | Price information responsible party | | `SR` | Supplier's agent or representative | | `IPA` | Party information party (GS1 temporary code) | | `X48` | Corporate identity (GS1 temporary code) | In the heading, only `FR` (message from) and `MR` (message recipient) are used, and GS1 makes both mandatory. ### IDE: What the Location Does ``` IDE+OB' IDE+ST' ``` `IDE` adds functions to the party named in `NAD`. One location can have several: a store can order (`OB`), receive goods (`ST`) and be invoiced (`IV`). EANCOM lists `BY`, `CO` (corporate office), `DP`, `II` (issuer of invoice), `IV`, `NFP` (no function priority), `OB`, `PE` (payee), `PR` (payer), `QP`, `SE`, `SF` (ship from), `SH`, `ST`, `SU` and `X48`. Map these to the roles your ERP holds against a customer: sold-to, ship-to, bill-to and payer. ### HYN: Parent and Child Locations ``` HYN+PA+1++5412345000013:GLN::9' ``` | Element | Example | What it means | |---|---|---| | 7173 | `PA` | Party or location hierarchy link (GS1 temporary code) | | 7171 | `1` | The GLN in this segment is the **parent** of the party in `NAD`. `2` would make it a child | | C212 / 7140 | `5412345000013` | The related GLN | | C212 / 7143 | `GLN` | Item type: Global Location Number | | C212 / 3055 | `9` | GS1 | The fourth element (1229) is empty; the GLN sits in the fifth. GS1's own worked example in the PARTIN manual puts the GLN one position early, but its segment layout and segment example both use the position shown here, so follow the layout and check your partner's sample files. ### RFF: Store Numbers and Registration Numbers ``` RFF+YC1:0218' ``` `YC1` (additional party identification, a GS1 temporary code) carries the partner's own number for the location, such as a store or DC number. Other qualifiers include `VA` (VAT registration number), `FC` (fiscal number), `XA` (company or place registration number), `CR` (customer reference number) and approval numbers for slaughterhouses and meat cutting plants. Store the `YC1` value alongside the GLN; some orders and paper documents will use only the store number. ### SCC and DTM: Delivery Schedules ``` SCC+1++Y:10:H' DTM+2:06001400:501' ``` | Element | Example | What it means | |---|---|---| | `SCC` 4017 | `1` | `1` firm, `4` planning or forecast | | `SCC` 4493 | (empty) | Optional: `DA` do not deliver after, `DB` do not deliver before | | `SCC` 2013 | `Y` | Frequency: `Y` daily, `W` weekly, `M` monthly, `Q` quarterly, `S` semi-annually | | `SCC` 2015 | `10` | Pattern: `10` Monday to Friday, `11` Monday to Saturday, `12` Monday to Sunday, `13` to `17` single weekdays | | `SCC` 2017 | `H` | Timing: `D` morning, `E` afternoon, `H` 24-hour clock | | `DTM` 2005 | `2` | Requested delivery date/time. Also `4` order date/time, `63` latest, `64` earliest | | `DTM` 2379 | `501` | Format `HHMMHHMM`: a time window, here 06:00 to 14:00 | Delivery windows from PARTIN are worth loading into your transport planning. What happens to a delivery outside the window is set by the trading agreement, not by EANCOM. ### FII and TAX: Bank and VAT Details `FII` gives the bank account for the party (`PB` paying or `RB` receiving financial institution) and `TAX` its usual tax situation, for example `TAX+7+VAT+++:::20+S'` for a standard-rated party. Bank details in PARTIN deserve the same care as any change of bank details: confirm a new or changed account through a channel you already trust before you pay to it. VAT numbers in `RFF+VA` can be checked with the [VAT number checker](/tools/vat-number-checker). ## PARTIN vs the X12 816 and TRADACOMS CUSHDR In TRADACOMS, location master data travels in the customer information file: a `CUSHDR` header with `CUSINF` detail messages. The table below compares PARTIN with the X12 816 field by field. | Data | EDIFACT PARTIN | X12 816 | |---|---|---| | Message | `UNH` `PARTIN` | `ST*816` | | Purpose of the file | `BGM` function: `2`, `4`, `3`, `9` | `BHT` purpose code, for example `00` original or `04` change | | Sender | `NAD+FR` | Heading `N1*FR` | | One location | `NAD` group (SG4) | `HL` loop with `N1` | | Location ID | GLN in `NAD` C082 | `N103` qualifier and `N104`, for example `UL` with a GLN | | Store number | `RFF+YC1` | `REF` | | Address | `NAD` structured name and address | `N3`, `N4` | | Parent | `HYN+PA+1` | `HL02` parent ID | | Function | `IDE` | `N101` entity identifier code | | Effective dates | `DTM+194` / `DTM+206` | `DTM` | | Contact | `CTA`, `COM` | `PER` | | Delivery schedule | `SCC` group | No dedicated segment in the 816 | The biggest difference is how the hierarchy is built. The 816 nests locations under parents with `HL` levels, so the parent usually comes before its children in the file. PARTIN lists each location flat and points to its parent by GLN in `HYN`, so a child can arrive before its parent or in a different message. Load all locations first, then resolve the parent links. Some mapping tables pair PARTIN with the X12 838 trading partner profile. In retail, the 816 is the closer match: both carry a partner's location list. The [EDI 816 guide](/guides/edi/816-organizational-relationships) covers the X12 side, and [TRADACOMS file types](/guides/edi/tradacoms-file-types) lists `CUSHDR`. ## Where PARTIN Sits in the Flow | Step | Message | What it depends on | |---|---|---| | 1 | **PARTIN** | The partner's location master | | 2 | [PRICAT](/guides/edi/edifact-pricat) | Your product master and agreed prices | | 3 | [ORDERS](/guides/edi/edifact-orders) | GLNs from step 1 and GTINs from step 2 | | 4 | [DESADV](/guides/edi/edifact-desadv) | The delivery point GLN from the order | | 5 | [INVOIC](/guides/edi/edifact-invoic) | The invoicee and buyer GLNs on file | PARTIN and PRICAT are master data: they come before the order cycle and make it possible. If either is missing or stale, the symptom shows up later, as an order for an unknown delivery point or an invoice sent to the wrong invoicee. ## Common PARTIN Errors and Fixes | Problem | What you see | Fix | |---|---|---| | GLN check digit wrong | Location fails to load, or loads under a mistyped key | Validate every GLN before loading | | Order to an unknown GLN | An ORDERS message references a delivery point you do not hold | Ask for a PARTIN, or the partner's location file, before go-live; hold the order rather than guessing | | Change treated as a full record | Fields you hold are blanked | Under function `4`, only changed segments arrive. Update those and keep the rest | | Mixed functions in one message | Additions and deletions in the same PARTIN | GS1 requires one message per function. Ask the partner to split them | | Deleting on an end date | Open orders and invoices lose their location | Keep the record until the end date has passed and open documents are closed | | Parent not found | `HYN` points to a GLN not yet loaded | Load all `NAD` groups first, then resolve `HYN` links | | Store number lost | Paper documents or portals quote a number you cannot match | Store `RFF+YC1` beside the GLN | | Wrong `UNT` count | Translator rejects the message | Count every segment from `UNH` to `UNT` inclusive | ## PARTIN Implementation Checklist 1. Ask whether the partner sends location data by PARTIN, another EDI message, a spreadsheet or a portal. 2. Get its PARTIN guide and confirm the directory, the EANCOM version in `UNH`, and which `NAD`, `IDE` and `RFF` qualifiers it uses. 3. Decide how each function maps to your customer roles: sold-to, ship-to, bill-to, payer. 4. Key every location on GLN, with the partner's store or DC number alongside. 5. Handle additions, changes and deletions as separate flows, and keep closed locations until their documents are settled. 6. Route bank detail changes to a person for confirmation. 7. Check each test file's envelope, `UNT` count and GLN check digits in the [EDIFACT inspector](/edifact-inspector). ## Where OrderSync Fits OrderSync does its work on the orders that use these locations. It reads inbound orders in any format, including EDIFACT ORDERS, X12 850s, PDFs, emails and spreadsheets, and matches each customer, ship-to, item and unit to the records in your ERP before the order is created. The free [EDIFACT inspector](/edifact-inspector) checks PARTIN files, and the [EDI inspector](/edi-inspector) does the same for an X12 816. To see order matching on your own customers' orders, [book a 15-minute walkthrough](/book-call). ## Frequently Asked Questions
### What is PARTIN in EDI? PARTIN is the UN/EDIFACT party information message. A trading partner uses it to send master data about its locations: GLNs, names and addresses, functions such as delivery point or invoicee, parent organisations, contacts, bank and tax details, and delivery schedules. ### What is the X12 equivalent of PARTIN? The closest is the X12 816 Organizational Relationships, which retailers use to send store and DC lists. Some mapping tables pair PARTIN with the X12 838 trading partner profile, but for location master data the 816 is the usual match. ### What is a GLN in a PARTIN message? A Global Location Number is a 13-digit GS1 identifier for a legal entity, function, physical location or digital location. In PARTIN it sits in the NAD segment with agency code 9, and the rest of the message describes what that GLN is. ### How do I add a new store with PARTIN? Send a PARTIN with BGM function 2 (addition), and one NAD group for the store with its GLN, address, start date in DTM+194, its functions in IDE, and its parent in HYN. ### How is a closed location shown in PARTIN? A change message (BGM function 4) can add an end date with DTM+206. A deletion message (function 3) removes the party record. GS1 requires a separate message for each function. ### Is PARTIN widely used? Less than ORDERS, DESADV or INVOIC. GS1 positions it as the first message in a new relationship, but many retailers share location lists through portals or spreadsheets. Check each partner's onboarding pack. ### What is the TRADACOMS equivalent of PARTIN? The customer information file, CUSHDR, with CUSINF detail messages. It carries the customer's locations so that the location codes on its orders resolve to real addresses.
## Related guides - **[EDIFACT explained](/guides/edi/edifact)**: syntax, envelopes and the full X12 mapping - **[EDIFACT ORDERS](/guides/edi/edifact-orders)**: the orders that quote these GLNs - **[EDIFACT PRICAT](/guides/edi/edifact-pricat)**: the product master that sits beside PARTIN - **[EDIFACT DESADV](/guides/edi/edifact-desadv)**: despatch advice to the delivery point - **[EDI 816 organizational relationships](/guides/edi/816-organizational-relationships)**: the X12 counterpart - **[TRADACOMS file types](/guides/edi/tradacoms-file-types)**: CUSHDR and the rest of the UK files - **[EDIFACT message types](/guides/edi/edifact-message-types)**: every message and its X12 equivalent ## Sources - [EANCOM 2002 S3: PARTIN party information message](https://www.gs1.org/sites/default/files/docs/eancom/ean02s3/part2/partin/toc.htm), GS1: structure chart, segment layouts, code lists and worked example - [EANCOM 2002 S3 Part I: message descriptions](https://www.gs1.org/sites/default/files/docs/eancom/ean02s3/part1/part1_02.htm), GS1 - [Global Location Number (GLN)](https://www.gs1.org/standards/id-keys/gln), GS1: what a GLN identifies and the GLN management rules - [UN/EDIFACT D.01B PARTIN message](https://service.unece.org/trade/untdid/d01b/trmd/partin_c.htm), UNECE Check any PARTIN's structure, counts and GLN check digits in the free [EDIFACT inspector](/edifact-inspector). --- # EDIFACT PRICAT: Price Catalogue Message Guide Source: https://ordersync.io/guides/edi/edifact-pricat > EDIFACT PRICAT explained: new listings, price changes with effective dates and delistings, with live EANCOM examples, code tables and the X12 832 mapping. EDIFACT PRICAT is the price/sales catalogue message, the equivalent of the X12 832. A supplier sends it to set up new products with a buyer, change prices from an effective date, or delist items. BGM gives the catalogue number and overall action; each LIN carries a GTIN and an action code: 1 added, 2 deleted, 3 changed. PRICAT is the message that has to be right before any order can be. A buyer's system will only accept an ORDERS line for a GTIN it already holds, at a cost price it already agreed. When item data is wrong or late, the first symptom is usually not an error message: it is a rejected order line, an invoice that does not match the buyer's price file, or a new product that misses its launch week. This guide follows the [GS1 EANCOM 2002 PRICAT](https://www.gs1.org/sites/default/files/docs/eancom/ean02s3/part2/pricat/toc.htm) layout (directory D.01B, subset version EAN009). Every example is live: it is parsed in your browser by the same engine as our [EDIFACT inspector](/edifact-inspector), and you can open each one in the full tool. ## What is an EDIFACT PRICAT? **PRICAT (price/sales catalogue) is the UN/EDIFACT message a seller uses to send product, logistic and pricing information to a buyer, so that later commercial messages can refer to those products by number.** GS1 defines it as a message for "pricing and catalogue details for goods and services offered by a seller to a buyer", which can also flow back from the buyer to accept or reject a catalogue. In practice a supplier sends PRICAT for four jobs: - **New listings.** Identify a new product, its case and pallet, descriptions, weights, dimensions and cost price. - **Price changes.** Send new prices with the date they take effect, or a promotional price for a fixed period. Before a cost increase goes out, check what it does to the buyer's markup and margin with the [markup calculator](/tools/markup-calculator). - **Delistings.** Tell the buyer to delete items from its file, with a last order date. - **Full catalogue refreshes.** Resend everything so both sides can check their files still agree. GS1's principles allow the message to carry either general information valid for all customers or prices and conditions specific to one customer. A full listing or "advance warning of particular changes" are both valid uses. ## Where PRICAT fits PRICAT sits before the order cycle, not inside it. Nothing in [ORDERS](/guides/edi/edifact-orders), [ORDRSP](/guides/edi/edifact-ordrsp), [DESADV](/guides/edi/edifact-desadv) or [INVOIC](/guides/edi/edifact-invoic) creates a product; they all refer to products the buyer already holds. | Step | Message | Direction | What it depends on | |---|---|---|---| | 1 | **PRICAT** | Supplier to buyer | Your product master and agreed cost prices | | 2 | PRICAT response (optional) | Buyer to supplier | The buyer's item set-up process | | 3 | ORDERS | Buyer to supplier | GTINs and prices loaded from step 1 | | 4 | INVOIC | Supplier to buyer | Prices that match the buyer's file on the order date | The last row is why price changes matter so much. A buyer's invoice matching compares your INVOIC price with the price on its file for that delivery date. If your new price reached your billing system but your PRICAT never reached the buyer, every invoice from the effective date is a mismatch. For the full list of EDIFACT messages and their X12 equivalents, see [EDIFACT message types](/guides/edi/edifact-message-types). ## PRICAT and GS1 GDSN PRICAT and the [GS1 Global Data Synchronisation Network](https://www.gs1.org/services/gdsn) (GDSN) solve overlapping problems in different ways, and many buyers use one or the other for item data. - **PRICAT is point to point.** You send a message to one trading partner, or to a central catalogue. The EANCOM manual explicitly allows a supplier to use PRICAT "to feed a central catalogue of products", and its NAD code list includes `GX` (central catalogue party) and `DER` (source data pool). - **GDSN is publish and subscribe.** GS1 describes it as a network where companies share master product information "by subscribing to a certified GS1 GDSN data pool". The supplier publishes once to its data pool and each subscribing retailer receives the data through its own pool, using GDSN's own messages rather than EDIFACT. If a buyer takes core product attributes from GDSN, its PRICAT requirement may shrink to commercial data such as cost prices and dates. Some buyers use neither and send a spreadsheet template. The partner's onboarding pack tells you which route it uses; do not assume. ## PRICAT segment reference The table follows the EANCOM 2002 message structure. Status is M (mandatory) or C (conditional) and repeats are the maximum the manual allows. The detail section always starts with `PGI`, and each product sits in its own `LIN` group (SG36). | Segment | Name | Status | Repeats | Carries | X12 832 equivalent | |---|---|---|---|---|---| | `UNH` | Message header | M | 1 | Message reference, `PRICAT:D:01B:UN:EAN009` | `ST` | | `BGM` | Beginning of message | M | 1 | Document code, catalogue number, message function | `BCT` | | `DTM` | Date/time/period | M | 35 | Message date (`137`), validity start (`157`) or period (`273`) | `DTM` | | `RFF` (SG1) | Reference | C | 99 | Contract (`CT`) or previous price list (`PL`) | `REF` | | `NAD` (SG2) | Name and address | C | 99 | Buyer (`BY`) and supplier (`SU`) GLNs | `N1` loop | | `CUX` (SG6) | Currencies | C | 20 | Price list currency, `CUX+2:GBP:8` | `CUR` | | `PGI` (SG17) | Product group information | C | 1000 | Starts the detail section; `PGI+2` when no grouping | No direct equivalent | | `LIN` (SG36) | Line item | C | 999999 | Line number, action code, GTIN with `SRV`, sub-line link | `LIN` | | `PIA` | Additional product id | C | 99 | Supplier's (`SA`) or buyer's (`IN`) code, substitutions | `LIN` qualifier pairs | | `IMD` | Item description | C | 999 | Unit type (`CU`, `TU`, `DU`) and free-text name | `PID` | | `MEA` | Measurements | C | 10 | Net weight, dimensions, storage temperature | `MEA` | | `QTY` | Quantity | C | 10 | Minimum order quantity, units per pack level | `PO4` | | `ALI` | Additional information | C | 5 | Country of origin, new or delisted flags | Partner-specific | | `DTM` | Date/time/period | C | 10 | First and last order date, end of availability, shelf life | `DTM` | | `TAX` (SG38) | Duty/tax/fee details | C | 10 | VAT rate and category | Partner-specific | | `PRI` (SG40) | Price details | C | 100 | Net (`AAA`), gross (`AAB`) or information price | `CTP` | | `DTM` (SG40) | Date/time/period | C | 5 | When that price starts (`194`) or its period (`273`) | `DTM` | | `PAC` (SG47) | Package | C | 999 | Package type for this unit | `PO4`, `PKG` | | `MEA` (SG47) | Measurements | C | 10 | Package dimensions and weight | `MEA` | | `UNT` | Message trailer | M | 1 | Segment count and message reference | `SE` | Two things stand out if you are used to other EANCOM messages. **There is no `UNS` or `CNT` in PRICAT**: the summary section is just `UNT`. And many partners use only a fraction of the 146 segment positions in the manual. Expect a buyer's implementation guide to mark which ones it needs. ## Example 1: a new product listing The fictional supplier Fenwold Foods lists a new granola with the fictional retailer Brackenfield Stores. The message describes two levels of the same product: the 450 g bag (consumer unit) and the case of six (traded unit). A third line links them. All GLNs and GTINs are made up and carry valid GS1 check digits. | Segment | What it says | |---|---| | `BGM+9+FW-PC-2026-018+9'` | Document `9` (price/sales catalogue), number FW-PC-2026-018, function `9` (original) | | `DTM+157:20261005:102'` | The catalogue is valid from 5 October 2026 | | `RFF+CT:BS-TA-2026'` and `DTM+171` | Prices are under trading agreement BS-TA-2026, dated 5 January 2026 | | `CUX+2:GBP:8'` | Prices are in sterling (`8` = price list currency) | | `PGI+2'` | No product grouping; the detail section starts here | | `LIN+1+1+5067890100031:SRV'` | Line 1, action `1` (added), the bag's GTIN | | `IMD+C++CU::9'` | This line is a consumer unit | | `ALI+GB++125'` | Country of origin GB; special condition `125` (new item, not yet available) | | `DTM+423` / `DTM+363:270:804'` | First order date 5 October; total shelf life 270 days | | `PRI+AAA:2.15:CA'` | Net cost price 2.15 per bag, catalogue price | | `PRI+AAE:4.25:CA'` | Information price including tax, used here for the recommended retail price | | `QTY+53:4'` | Minimum order: 4 cases | | `QTY+17E:6'` | The case contains 6 units of the level below | | `LIN+3+1+5067890100031:SRV+1:2'` | Sub-line of line 2: the bag inside the case | | `QTY+45E:6'` | Six bags per case | | `UNT+39+1'` | 39 segments from UNH to UNT inclusive | ## How PRICAT describes pack hierarchies GS1 builds the consumer unit, traded unit and despatch unit hierarchy out of extra `LIN` lines rather than a dedicated hierarchy segment. The rule in the manual is simple: the first `LIN` describes the smallest unit, the next describes the level above, and so on. A **sub-line** (the fifth element of `LIN`, `+1:2` above) says "this line sits inside line 2". Two quantity codes hold it together: - `QTY+17E` on the parent: the total number of units in the level below (looking down). - `QTY+45E` on the sub-line: how many of that child are in the parent (looking up). GS1 says the `45E` quantities across a parent's sub-lines should add up to its `17E`. To add a pallet, send a fourth line with `IMD+C++DU::9`, its own GTIN and `PAC+++201::9`, then a sub-line pointing the case at it with `QTY+45E:` cases per pallet. ## Example 2: a price change with an effective date A month later Fenwold raises cost prices on two existing products from 9 November, and agrees a promotional cost price for a two-week promotion. Function `4` in BGM says the message changes products the buyer already holds, so only the changed segments are sent. | Segment | What it says | |---|---| | `BGM+9+FW-PC-2026-021+4'` | Catalogue FW-PC-2026-021, function `4` (change) | | `LIN+1+3+5067890100017:SRV'` | Line 1, action `3` (changed) | | `PRI+AAA:1.98:CA'` then `DTM+194:20261109:102'` | New net price 1.98 from 9 November 2026 | | `PRI+AAA:1.70:CA:PRP'` | A second price for the same item: `PRP` marks it as promotional | | `DTM+273:2026113020261213:718'` | That promotional price applies 30 November to 13 December | | Lines 2 and 4 | The cases move in step: 6 × 1.98 = 11.88 and 6 × 2.10 = 12.60 | Each `PRI` opens its own segment group (SG40), so the date that follows applies only to that price. That is how one line carries a list price and a promotion without ambiguity. Under function `4`, GS1 asks that a changed segment is sent with all its previous data and that every repetition of a modified segment is resent, so if an item has three prices and one changes, send all three. The notice period for price changes is a commercial term, not an EANCOM rule. Your supplier agreement usually sets it. Send PRICAT early enough that the buyer can load the price before its first order for delivery on or after the effective date. ## Example 3: delisting a product Fenwold discontinues its muesli. Function `3` (deletion) in BGM and action `2` (deleted) on each line tell the buyer to remove the items. The order and availability dates tell the buyer's replenishment team how long they can keep ordering. GS1's own deletion example makes one point worth repeating: when you delete a main line, the receiver must delete its sub-lines. You do not need to send them. Sending the case and the bag explicitly, as here, is still common, because many buyers' systems key items by GTIN rather than by hierarchy. If a product is replaced by a new GTIN rather than discontinued, `PIA` qualifier `3` (substituted by) tells the buyer which number replaces it. The `LIN` carries the old GTIN and the `PIA` the new one. ## Example 4: the buyer's response PRICAT can also travel back. With document code `51` (price/sales catalogue response), the buyer accepts a whole catalogue with function `29` or rejects it with `27`. For full acceptance or rejection, GS1 says only the mandatory segments and the parties and reference need to be sent. To propose changes to individual lines, the buyer sends lines with action `3` and can explain why in `FTX`. Lines it does not resend are accepted by default. Not every buyer sends a response; many confirm listings by email or through their supplier portal. ## Code tables ### BGM document name (first element) | Code | Meaning | |---|---| | `9` | Price/sales catalogue | | `51` | Price/sales catalogue response | | `727` | Catalogue not containing commercial information (technical data only) | | `728` | Catalogue containing commercial information | | `2E` | Data distribution profile (GS1 code, `2E::9`) | GS1 notes that `727` and `728` exist so the receiver can route a message to the right team, for example pricing versus product data. Older partner guides sometimes show GS1 codes such as `25E`; follow the code your partner's guide specifies. ### BGM message function (third element) | Code | Meaning | |---|---| | `9` | Original | | `2` | Addition: new products, or existing products sent for the first time | | `3` | Deletion: each LIN to be deleted is sent | | `4` | Change: only segments with modified data are sent | | `5` | Replace a previously sent message | | `29` / `27` | In a response: accepted without amendment / not accepted | ### LIN action code (second element) | Code | Meaning | |---|---| | `1` | Added | | `2` | Deleted | | `3` | Changed | | `4` | No action (unchanged, sent for information or confirmation) | | `10` | Not found (used in a response) | GS1's rule: when every line has the same action, BGM carries it and each LIN should agree. If they differ, the LIN action overrides the BGM function for that line. ### PRI price qualifiers | Code | Meaning | |---|---| | `AAA` | Calculation net: allowances and charges included, tax excluded | | `AAB` | Calculation gross: before allowances and charges, which must then be sent | | `AAE` | Information price, excluding allowances or charges, including taxes | | `AAF` | Information price, excluding allowances, charges and taxes | | `INF` | Information only | The third component is the price type (`CA` catalogue, `CT` contract) and the fourth is a price specification such as `PRP` (promotional price) or `ACB` (marked retail price). ### Useful DTM qualifiers | Code | Level | Meaning | |---|---|---| | `137` | Header | Message date (mandatory) | | `157` | Header | Validity start date | | `273` | Header, line or price | Validity period (format `718`) | | `194` | Price | Price start date | | `423` / `424` | Line | First / last date of ordering | | `362` | Line | End availability date | | `363` | Line | Total shelf life (period, for example format `804` days) | ## Timing and frequency There is no fixed schedule in the standard. In practice: - **New listings** go before the buyer's item set-up deadline for a range review or launch, often weeks ahead of the first order. - **Price changes** go at least as far ahead of the effective date as your agreement requires. - **Delistings** go as soon as the decision is made, with a last order date that lets the buyer run down stock. - **Full refreshes** go on an agreed cycle, or whenever either side suspects the files have drifted. ## PRICAT vs the X12 832 | Data | EDIFACT PRICAT | X12 832 | |---|---|---| | Catalogue number and purpose | `BGM` document code, number and function | `BCT` | | Dates | `DTM` with qualifiers at header, line and price level | `DTM` | | Parties | `NAD+BY` / `NAD+SU` with GLNs | `N1` loop | | Item | `LIN` with GTIN and `SRV` | `LIN` with qualifier pairs (`UP`, `VN`, and others) | | Item action | `LIN` action code (`1`, `2`, `3`) | Partner-specific, often set by `BCT` purpose | | Description | `IMD` | `PID` | | Price | `PRI` group with its own `DTM` | `CTP`, with dates in `DTM` | | Pack hierarchy | Extra `LIN` lines with sub-line links and `QTY+17E` / `45E` | `PO4`, `PKG` | | Line count | None | `CTT` | The biggest practical difference is the hierarchy. An 832 usually describes pack levels as attributes of one item, while PRICAT gives each level its own GTIN and line. If you map 832 data into PRICAT, every case and pallet needs its own GTIN. See the [EDI 832 guide](/guides/edi/832-price-sales-catalog) for the X12 side. UK suppliers trading in TRADACOMS will know the price information file, `PRIHDR`; see [TRADACOMS file types](/guides/edi/tradacoms-file-types). ## Common errors and fixes - **GTIN check digit wrong.** The line is rejected or, worse, creates a phantom item. Validate every GTIN before sending. - **Case GTIN reused from the consumer unit.** Each pack level needs its own GTIN. Sending the bag's GTIN at case level breaks ordering in cases. - **Price change sent without a start date.** The buyer may apply it on receipt, or not at all. Always pair a new price with `DTM+194` or a validity period. - **Function and actions disagree.** `BGM` function `9` with lines marked `3` confuses some receivers. Match them, or follow your partner's guide on which wins. - **Missing segments in a change.** Under function `4`, a modified segment is resent in full, with all its repetitions. - **Units of measure that do not match ordering.** If the buyer orders in cases, the case line needs a price and a minimum order quantity in cases. - **Wrong UNT count.** Count every segment from `UNH` to `UNT`. PRICAT messages are long and hand-edited ones often miscount. ## Testing checklist 1. Agree with the buyer which segments and qualifiers it needs, and whether it takes core attributes from GDSN instead. 2. Validate every GTIN and GLN check digit. 3. Send a new listing for one product with all its pack levels and confirm it loads correctly. 4. Send a price change with a future effective date and confirm the buyer shows the new price from that date only. 5. Send a delisting and confirm the item stops appearing on new orders after the last order date. 6. Place a test order for the new item and check the ORDERS price matches your PRICAT. 7. Paste each test message into the [EDIFACT inspector](/edifact-inspector) to check structure and counts before sending. ## Frequently Asked Questions ### What is PRICAT used for? PRICAT sends product and price information from a supplier to a buyer: new product listings, price changes with effective dates, promotional prices and delistings. It sets up the items that later ORDERS, DESADV and INVOIC messages refer to by GTIN. ### Is PRICAT the same as the X12 832? They do the same job. The 832 is the North American X12 price/sales catalog; PRICAT is the UN/EDIFACT and EANCOM equivalent. The main difference is that PRICAT describes each pack level as its own line with its own GTIN. ### How do I send a price change in PRICAT? Send the line with action `3` (changed), a `PRI` segment with the new price and a `DTM+194` start date in the same price group. Use BGM function `4` if only changed data is sent. ### Does PRICAT have a UNS or CNT segment? No. In EANCOM 2002 the PRICAT summary section is just `UNT`. Do not add `UNS+S` or `CNT` unless your partner's guide asks for them. ### What is the difference between PRICAT and GDSN? PRICAT is a message you send directly to a trading partner. GDSN is a GS1 network of certified data pools: the supplier publishes product data once and each subscribing retailer receives it through its own pool. Some buyers use GDSN for product attributes and PRICAT, or another channel, for commercial terms. ### Does the buyer have to respond to PRICAT? Only if the trading agreement says so. EANCOM defines a response (`BGM+51` with function `29` or `27`), but many buyers confirm listings outside EDI. ## Related guides - **[EDIFACT explained](/guides/edi/edifact)**: syntax, envelopes and the full X12 mapping - **[EDIFACT ORDERS](/guides/edi/edifact-orders)**: the order that depends on your PRICAT data - **[EDIFACT INVRPT](/guides/edi/edifact-invrpt)** and **[SLSRPT](/guides/edi/edifact-slsrpt)**: stock and sales reports for the same products - **[EDIFACT INVOIC](/guides/edi/edifact-invoic)**: where a missed price change shows up - **[EDI 832 price/sales catalog](/guides/edi/832-price-sales-catalog)**: the X12 counterpart - **[EDIFACT message types](/guides/edi/edifact-message-types)**: every message and its X12 equivalent ## Sources - [EANCOM 2002 S3: PRICAT price/sales catalogue message](https://www.gs1.org/sites/default/files/docs/eancom/ean02s3/part2/pricat/toc.htm), GS1 - [UN/EDIFACT D.01B PRICAT message](https://service.unece.org/trade/untdid/d01b/trmd/pricat_c.htm), UNECE - [GS1 Global Data Synchronisation Network](https://www.gs1.org/services/gdsn), GS1 - [Global Trade Item Number (GTIN)](https://www.gs1.org/standards/id-keys/gtin), GS1 Check your PRICAT structure, counts and GTIN check digits in the free [EDIFACT inspector](/edifact-inspector). --- # EDIFACT PRODAT: Product Data Message Guide Source: https://ordersync.io/guides/edi/edifact-prodat > EDIFACT PRODAT explained: technical product data with no prices, two EANCOM examples, how it differs from PRICAT, and how it maps to the X12 832 and 888. EDIFACT PRODAT is the product data message. A supplier sends it to describe products by their technical and functional data, such as GTINs, dimensions, weights, handling, characteristics and pack hierarchy, with no prices or commercial terms. BGM+289 identifies it. GS1 advises using PRICAT for new implementations, which can carry the same data plus prices. **PRODAT is the product master message for data that does not change often and has no price attached.** It tells a buyer what a product is: its GTIN, its size and weight, how to handle it, what it is made of and how many go in a case. Prices, discounts and order terms belong elsewhere. If a partner's spec asks for PRODAT, it usually wants that split on purpose: technical data from one feed, commercial data from another. This guide follows the [GS1 EANCOM 2002 PRODAT](https://www.gs1.org/sites/default/files/docs/eancom/ean02s3/part2/prodat/toc.htm) layout: directory D.01B, subset version EAN004. EANCOM 2002 is GS1's current edition and the basis of the other EDIFACT guides on this site. A partner on EANCOM 1997 sends D.96A instead, and its `UNH` says which. ## What Is an EDIFACT PRODAT? **PRODAT (product data) is the UN/EDIFACT message for "master data, to identify and describe products available for supply or for information purposes", in GS1's words.** GS1 is specific about the scope: the data "changes infrequently" and "does not include commercial terms and conditions but technical and functional product descriptions". The message can carry: - product identification: GTIN, supplier and buyer article numbers, substitutions and number changes - product characteristics: material, composition, size, colour, style, finish - technical data: dimensions, weights, lead time, availability, certificates - handling information: handle with care, foodstuffs, unstackable, hazardous goods - the pack hierarchy: which products, and how many, sit inside which GS1 also notes that suppliers can use PRODAT to feed a central product catalogue, and that a catalogue can send PRODAT back out to interested parties. **Who sends it?** A supplier or manufacturer, or a central catalogue on its behalf. **When?** When a product is introduced, when its technical data changes, and when it is withdrawn. **Why does it matter?** A buyer's warehouse, ranging and compliance teams work from this data. Wrong dimensions break pallet plans and shelf plans; a missing handling code puts a fragile product at the bottom of a stack. ## PRODAT or PRICAT? This is the first question to settle, because GS1 has already answered it for new work. The EANCOM manual says PRODAT is "similar" to PRICAT, and the difference is that PRODAT carries technical and functional data with no commercial terms. Then it adds: > GS1 advises to implement the Price/Sales Catalogue message since it offers more functionality. However, some users have already implemented the Product Data message and have no business reason to replace it. | | PRODAT | [PRICAT](/guides/edi/edifact-pricat) | |---|---|---| | What it carries | Technical and functional product data | Product data **and** prices, validity dates and commercial conditions | | Prices | None | `PRI` groups with their own dates | | Typical change rate | Infrequent | Every price change, promotion and listing | | EANCOM 2002 version | `EAN004` | `EAN009` | | GS1 position | Keep it if you have it | Recommended for new implementations | | X12 counterpart | [888 Item Maintenance](/guides/edi/888-item-maintenance), or the item part of an [832](/guides/edi/832-price-sales-catalog) | [832 Price/Sales Catalog](/guides/edi/832-price-sales-catalog) | In practice you build PRODAT because a partner already runs it. If you are designing a new product data link with a European buyer, propose PRICAT, or ask whether the buyer takes product attributes through the [GS1 Global Data Synchronisation Network](https://www.gs1.org/services/gdsn) (GDSN) instead. ## Example 1: A New Product and Its Case The fictional supplier Brindle and Oak Homeware (GLN 5412345000068) sends technical data for a new cordless kettle to the fictional retailer Westmere Department Stores (GLN 5412345000075). It describes two levels: the kettle (consumer unit) and the case of four (traded unit). The message references the PRICAT that carries the prices. All identifiers use GS1's documented example prefix 5412345 and carry valid check digits. | Segment | What it says | |---|---| | `BGM+289+BOH-PD-0907+2'` | Product data message BOH-PD-0907, function `2` (addition: new products) | | `RFF+PL:BOH-PC-2026-11'` | The price list (PRICAT) these products relate to | | `LIN+1+1+5412345100171:SRV'` | Line 1, action `1` (added), the kettle's GTIN | | `PIA+1+BO-KT17:SA'` | Additional identification: the supplier's article number | | `DTM+44:20261201:102'` | Available from 1 December 2026 | | `MEA+PD+AAA+KGM:1.1'` | Unit net weight 1.1 kg | | `MEA+PD+HT` / `LN` / `DP` | Height, length and depth in millimetres | | `HAN+HWC::9'` | Handle with care (GS1 code) | | `DOC+2+BOH-COC-1741'` | A certificate of conformity exists, with its number | | `IMD+F++:::...'` and `IMD+C++CU::9'` | Free-text description, and the coded statement that this is a consumer unit | | `CCI+11++ZZZ:::POWER RATING'` / `CAV+:::3000 W'` | A product characteristic and its value, in free text | | `ALI+CN'` | Country of origin: China | | `LIN+2+1+15412345100178:SRV'` | Line 2: the case, with its own GTIN-14 | | `QTY+59:4'` | Four consumer units in the traded unit | | `HYN+2+2++5412345100171:SRV'` | The kettle is a child of this case in the product hierarchy | | `QTY+17E:4'` | Four of that child in this case | | `UNT+35+1'` | 35 segments from `UNH` to `UNT` inclusive | The case has its own GTIN because it is a different trade item from the kettle inside it. The weight on the case line is the net weight of four kettles; EANCOM's PRODAT `MEA` list has unit net weight (`AAA`) but no gross weight qualifier, so if your partner needs gross weight, ask how it wants it sent. ## Example 2: A GTIN Change on the Case From January, the kettle ships six to a case. A change of quantity in a case means a new case GTIN under the GS1 GTIN rules, so Brindle and Oak tells the buyer that the old case number is being replaced. PRODAT does this with `PIA` qualifier `3` (substituted by): the `LIN` keeps the old GTIN and the `PIA` gives the new one. | Segment | What it says | |---|---| | `BGM+289+BOH-PD-0931+4'` | Function `4` (change): only segments with modified data are sent | | `LIN+1+3+15412345100178:SRV'` | Action `3` (changed) on the old case GTIN | | `PIA+3+25412345100175:SRV'` | Substituted by: the new case GTIN | | `DTM+157:20270104:102'` | Validity start date for the change: 4 January 2027 | The new case of six is itself a new trade item. Send its full technical data, as in Example 1, in an addition message before the switch date, so the buyer can load it before it appears on a delivery. GS1 also defines `PIA` qualifier `4` (substituted for), which works the other way round: the `LIN` carries the new GTIN and the `PIA` the old one. ## PRODAT Structure at a Glance Status and repeats follow the EANCOM 2002 structure chart. M is mandatory, C conditional. | Section | Segment | Name | Status | Repeats | Carries | X12 832 / 888 equivalent | |---|---|---|---|---|---|---| | Heading | `UNH` | Message header | M | 1 | `PRODAT:D:01B:UN:EAN004` | `ST` | | Heading | `BGM` | Beginning of message | M | 1 | `289`, number, function | `BCT` / `G53` | | Heading | `DTM` | Date/time/period | M | 10 | `137` message date, `157` validity start, `273` validity period | `DTM` | | Heading | `FTX`, `PGI` | Free text, product group | C | 5 / 10 | Notes, product grouping | | | SG1 | `TRU`, `DTM` | Technical rules | C | 10 | Rules the data follows | | | SG3 | `RFF`, `DTM` | Reference | C | 99 | `PL` price list, `ASV` previous product data file | `REF` | | SG4 | `NAD` | Name and address | C | 99 | `SU`, `BY`, `GX` central catalogue | `N1` | | SG4 | `CTA`, `COM`, `RFF` | Contacts and references | C | 5 | Product data contact | `PER` | | SG7 | `CCI`, `CAV`, `MEA` | Characteristics | C | 999 | Characteristics for the whole message | | | SG9 | `LIN` | Line item | M in group | 999999 | Line number, action, GTIN | `LIN` / `G39`, `G55` | | SG9 | `PIA` | Additional product id | C | 10 | Supplier or buyer code, substitutions | `LIN` qualifier pairs | | SG9 | `DTM` | Date/time/period | C | 99 | `44` availability, `169` lead time, `157` / `799` validity | `DTM` | | SG9 | `MEA` | Measurements | C | 10 | Net weight, height, length, depth, thickness, diameter | `MEA` / `G39` | | SG9 | `HAN` | Handling instructions | C | 5 | Handling and hazard codes | | | SG9 | `DOC` | Document/message details | C | 99 | Certificates and marketing documents | | | SG10 | `IMD`, `FTX` | Item description | C | 10 | Unit type, descriptions, colour, size, style | `PID` / `G39` description | | SG11 | `TRU`, `DTM` | Technical rules | C | 10 | Rules for this line | | | SG13 | `QTY` | Quantity | C | 10 | `59` consumer units per traded unit | `PO4` / `G39` pack | | SG15 | `CCI`, `CAV`, `MEA` | Characteristics | C | 99999 | Material, composition, other attributes | | | SG16 | `ALI` | Additional information | C | 999 | Country of origin, special conditions | | | SG17 / SG18 | `RFF` / `NAD` | Line references and parties | C | 99 | Manufacturer, price list line | | | SG20 | `DGS`, `QTY`, `FTX` | Dangerous goods | C | 10 | Hazard class and quantities | | | SG21 | `PAC`, `MEA`, `HAN`, `PCI` | Package | C | 5 | Packaging of this item | `PKG`, `PO4` | | SG23 | `HYN`, `PIA`, `QTY` | Hierarchy | C | 999999 | Child or parent items and quantities | `G39` / `G55` pairing | | Summary | `UNT` | Message trailer | M | 1 | Segment count | `SE` | Like PRICAT, PRODAT has no `UNS` and no `CNT`: the summary section is just `UNT`. ## Key Segments Explained ### BGM: Message Function ``` BGM+289+BOH-PD-0907+2' ``` | Code (1225) | Meaning in EANCOM PRODAT | Matching LIN action | |---|---|---| | `2` | Addition: new products, or existing products sent to this partner for the first time | `1` added | | `3` | Deletion: only the `LIN` needs to be sent | `2` deleted | | `4` | Change: only segments with modified data, each with all previous data and all repetitions | `3` changed | | `6` | Confirmation: product data resent to confirm it | `4` no action | | `5` | Replace a previous message, quoted in `RFF` | | | `9` | Original | | | `16` | Proposal | | The document code is `289` for product data. EANCOM also lists `721` for a product data response. ### LIN and PIA: Identifying the Product ``` LIN+1+1+5412345100171:SRV' PIA+1+BO-KT17:SA' ``` | Element | Example | What it means | |---|---|---| | `LIN` 1082 | `1` | Line number | | `LIN` 1229 | `1` | Action: `1` added, `2` deleted, `3` changed, `4` no action, `10` not found (in a response) | | `LIN` C212 | `5412345100171:SRV` | The GTIN. GS1 makes it mandatory here when a GTIN exists | | `PIA` 4347 | `1` | `1` additional identification, `2` potential substitute, `3` substituted by, `4` substituted for, `5` primary ID when no GTIN, `X1` no substitution accepted | | `PIA` C212 | `BO-KT17:SA` | `SA` supplier's article number, `IN` buyer's item number, `IB` ISBN, `AC` HIBC, `PV` promotional variant | GS1 accepts GTIN-8, GTIN-12, GTIN-13 and GTIN-14 in `LIN`, using only the significant digits. ### MEA: Dimensions and Weight ``` MEA+PD+AAA+KGM:1.1' MEA+PD+HT+MMT:245' ``` | Element | Example | What it means | |---|---|---| | 6311 | `PD` | Physical dimensions. The only purpose code EANCOM allows here | | 6313 | `AAA` | `AAA` unit net weight, `HT` height, `LN` length, `DP` depth, `TH` thickness, `DI` diameter | | 6411 | `KGM` | Unit of measure. `KGM` kilograms, `MMT` millimetres, `MTR` metres, `GRM` grams | | 6314 | `1.1` | The value | GS1's own worked examples also show a width qualifier, `WD`, but it is not in the PRODAT `MEA` code list, which uses depth (`DP`) for the third dimension. Use the qualifiers your partner's guide lists. ### HAN and DOC: Handling and Certificates ``` HAN+HWC::9' DOC+2+BOH-COC-1741' ``` | Segment | Codes | |---|---| | `HAN` 4079 | `HWC` handle with care, `CRU` crushable, `EAT` foodstuffs, `UST` unstackable, `STR` stacking restricted, `BIG` outsized, `PSC` pest controlling. All GS1 temporary codes, sent with agency `9` | | `HAN` C218 | Hazardous material category, for example ADR classification | | `DOC` 1001 | `1` certificate of analysis, `2` certificate of conformity, `3` certificate of quality, `861` certificate of origin | ### IMD: Descriptions and Unit Type ``` IMD+F++:::CORDLESS KETTLE 1.7L BRUSHED STEEL' IMD+C++CU::9' ``` `IMD` with format `C` and a GS1 code in the third element states the unit type: `CU` consumer unit, `TU` traded unit, `DU` despatch unit, `IN` invoicing unit and others. With format `F` it carries free text. The second element can name what the text describes: `35` colour, `98` size, `4` finish, `219` style. GS1 says descriptions are needed when a product is new or its description changes, and not otherwise. ### CCI and CAV: Characteristics ``` CCI+11++ZZZ:::POWER RATING' CAV+:::3000 W' ``` `CCI` names a characteristic and `CAV` gives its value. Codes can come from GS1, a national trade agency (`60`), the supplier (`91`) or the buyer (`92`). Where no code exists, GS1's pattern is a dummy `ZZZ` in the code position and the characteristic in free text, as here. Free text is easy to send and hard to process, so agree a coded list with the partner for any attribute it filters or reports on. ### HYN and QTY: Pack Hierarchy ``` QTY+59:4' HYN+2+2++5412345100171:SRV' QTY+17E:4' ``` | Element | Example | What it means | |---|---|---| | `QTY` (SG13) 6063 | `59` | Number of consumer units in the traded unit. EANCOM also lists `17E` and `45E` here | | `HYN` 7173 | `2` | Product hierarchy. `33` would mark an associated accessory | | `HYN` 7171 | `2` | The GTIN in this segment is a **child** of the line's product. `1` would make it a parent | | `HYN` C212 | `5412345100171:SRV` | The related GTIN | | `QTY` (SG23) 6063 | `17E` | Number of units in the lower packaging level | PRODAT links levels differently from PRICAT. PRICAT adds a sub-line for each child, while PRODAT keeps one line per product and points to its children with `HYN`. One caution: the EANCOM segment layout lists only `17E` for the quantity under `HYN`, but GS1's own worked examples use `45E` there. Follow your partner's guide and sample files. ## PRODAT vs the X12 832 and 888 | Data | EDIFACT PRODAT | X12 832 | X12 888 | |---|---|---|---| | Purpose | Technical product data, no prices | Items and prices together | Grocery item setup, changes and discontinues, no prices | | Action | `BGM` function and `LIN` action | `BCT` purpose and partner rules | `G53` maintenance type | | Item ID | `LIN` GTIN, `PIA` other codes | `LIN` qualifier pairs | `G39` case code, `G55` consumer unit | | Description | `IMD` | `PID` | `G39` and related segments | | Dimensions and weight | `MEA` | `MEA` | `G39` weight and dimensions | | Pack | `QTY+59`, `HYN` | `PO4` | `G39` pack and `G55` consumer unit | | Prices | None | `CTP` | None; prices go on the [879](/guides/edi/879-price-information) | | Handling, certificates | `HAN`, `DOC` | Partner-specific | Partner-specific | The 888 is the closer match in spirit: both carry item data without prices and leave prices to another message, the 879 in X12 and PRICAT in EDIFACT. The 832 is closer to PRICAT, since it carries items and prices together. The [EDI 888 guide](/guides/edi/888-item-maintenance) and [EDI 832 guide](/guides/edi/832-price-sales-catalog) cover the X12 side. ## Where PRODAT Sits in the Flow | Step | Message | Direction | What it depends on | |---|---|---|---| | 1 | [PARTIN](/guides/edi/edifact-partin) | Either | Location master data | | 2 | **PRODAT** | Supplier to buyer | Your technical product master | | 3 | [PRICAT](/guides/edi/edifact-pricat) | Supplier to buyer | Agreed prices for the same GTINs | | 4 | [ORDERS](/guides/edi/edifact-orders) | Buyer to supplier | GTINs loaded from steps 2 and 3 | | 5 | [DESADV](/guides/edi/edifact-desadv) | Supplier to buyer | Pack hierarchy and case GTINs matching step 2 | A buyer can also ask for product data first, with the PROINQ product inquiry message, which GS1 says may be answered with PRICAT, PRODAT or both. ## Common PRODAT Errors and Fixes | Problem | What you see | Fix | |---|---|---| | GTIN check digit wrong | Line rejected, or a phantom item created | Validate every GTIN before sending; the [check digit calculator](/tools/check-digit-calculator) handles a CSV | | Case reuses the consumer unit GTIN | Buyer cannot order or receive by the case | Give each pack level its own GTIN | | Qualifier not in the code list | Translator rejects `MEA+PD+WD` or similar | Use only qualifiers the EANCOM layout and partner guide list | | BGM function and LIN action disagree | Some receivers apply the wrong action | Match them: function `2` with action `1`, `4` with `3`, `3` with `2` | | Change sent without the full segment | Buyer loses data it held | Under function `4`, resend each modified segment in full, with all repetitions | | Prices expected in PRODAT | There is no price segment to put them in | PRODAT carries no prices. Send them in PRICAT | | GTIN change sent without the new item | Buyer cannot receive the new case | Set up the new GTIN with an addition message first | | Wrong `UNT` count | Translator rejects the message | Count every segment from `UNH` to `UNT` inclusive | ## PRODAT Implementation Checklist 1. Ask whether the partner wants PRODAT, PRICAT, GDSN or a spreadsheet. If it is a new link, ask about PRICAT first. 2. Get its PRODAT guide and confirm the directory, the EANCOM version in `UNH`, and the mandatory segments. 3. Agree which characteristics are coded and which code lists apply. 4. Agree how the pack hierarchy is expressed, including the `HYN` quantity qualifier. 5. Validate every GTIN and GLN check digit. 6. Test an addition, a change, a GTIN substitution and a deletion before go-live. 7. Check each test file's envelope, counts and identifiers in the [EDIFACT inspector](/edifact-inspector). ## Where OrderSync Fits Product data is what makes order matching possible. OrderSync reads inbound orders in any format, including EDIFACT ORDERS, X12 850s, PDFs, emails and spreadsheets, and matches each line's customer, item and unit to your catalogue before the order reaches your ERP. When a buyer orders by case GTIN, the case and consumer unit data you sent in PRODAT or PRICAT is what that match depends on. Check PRODAT files in the free [EDIFACT inspector](/edifact-inspector), and X12 832 or 888 files in the [EDI inspector](/edi-inspector). To see order matching on your own customers' orders, [book a 15-minute walkthrough](/book-call). ## Frequently Asked Questions
### What is PRODAT in EDI? PRODAT is the UN/EDIFACT product data message. A supplier uses it to send technical and functional product master data to a buyer or a central catalogue: identifiers, descriptions, dimensions, weights, handling, characteristics and pack hierarchy. It carries no prices or commercial terms. ### What is the difference between PRODAT and PRICAT? PRODAT carries technical product data only. PRICAT can carry the same product data plus prices, validity dates and commercial conditions. GS1 advises implementing PRICAT because it offers more functionality, while accepting that existing PRODAT users have no reason to replace it. ### What is the X12 equivalent of PRODAT? The closest is the X12 888 Item Maintenance, which also carries item data without prices. The 832 Price/Sales Catalog carries items and prices together, so it matches PRICAT more closely. ### Is PRODAT still used? Yes, by partners that implemented it before PRICAT took over the role. GS1 recommends PRICAT for new work, and many buyers now take product attributes through GDSN instead. Check each partner's spec. ### How do I tell a buyer a GTIN has changed in PRODAT? Send a change (BGM function 4) with the old GTIN in LIN, action 3, and the new GTIN in PIA with qualifier 3 (substituted by), plus the date it takes effect. Set up the new GTIN with its own data first. ### Does PRODAT have UNS or CNT segments? No. In EANCOM 2002 the PRODAT summary section is just UNT. Do not add UNS or CNT unless your partner's guide asks for them.
## Related guides - **[EDIFACT PRICAT](/guides/edi/edifact-pricat)**: the price/sales catalogue GS1 recommends instead - **[EDIFACT PARTIN](/guides/edi/edifact-partin)**: location master data, the other half of master data alignment - **[EDIFACT explained](/guides/edi/edifact)**: syntax, envelopes and the full X12 mapping - **[EDIFACT ORDERS](/guides/edi/edifact-orders)**: the orders that depend on your product data - **[EDI 888 item maintenance](/guides/edi/888-item-maintenance)**: the closest X12 counterpart - **[EDI 832 price/sales catalog](/guides/edi/832-price-sales-catalog)**: X12 items and prices together - **[EDIFACT message types](/guides/edi/edifact-message-types)**: every message and its X12 equivalent ## Sources - [EANCOM 2002 S3: PRODAT product data message](https://www.gs1.org/sites/default/files/docs/eancom/ean02s3/part2/prodat/toc.htm), GS1: structure chart, segment layouts, code lists and worked examples - [EANCOM 2002 S3 Part I: message descriptions](https://www.gs1.org/sites/default/files/docs/eancom/ean02s3/part1/part1_02.htm), GS1: PRODAT vs PRICAT and the GS1 recommendation - [Global Trade Item Number (GTIN)](https://www.gs1.org/standards/id-keys/gtin), GS1 - [GS1 Global Data Synchronisation Network](https://www.gs1.org/services/gdsn), GS1 - [UN/EDIFACT D.01B PRODAT message](https://service.unece.org/trade/untdid/d01b/trmd/prodat_c.htm), UNECE Check any PRODAT's structure, counts and GTIN check digits in the free [EDIFACT inspector](/edifact-inspector). --- # EDIFACT RECADV: Receiving Advice and Examples Source: https://ordersync.io/guides/edi/edifact-recadv > EDIFACT RECADV receiving advice explained: QTY 194, QVR discrepancy codes, per-SSCC receipts, three live EANCOM examples and the X12 861 mapping. EDIFACT RECADV is the receiving advice message, the equivalent of the X12 861. The buyer sends it after goods arrive and are checked, confirming what was received and accepted. BGM+632 identifies it, QTY+194 carries the accepted quantity per GTIN, and QVR explains any shortfall, damage or over-delivery against the despatch advice or order. RECADV is the buyer telling you what actually made it onto their shelves. Your DESADV said 120 units on pallet one. The RECADV says 108 were accepted and 12 arrived crushed. That difference becomes a credit note, a deduction from your next payment, or a dispute, so the receiving advice is the document your finance team should be reading as closely as your warehouse team. This guide follows the [GS1 EANCOM 2002 RECADV](https://www.gs1.org/sites/default/files/docs/eancom/ean02s3/part2/recadv/toc.htm) layout (subset version EAN009, directory D.01B). Every example continues the same fictional order used in the [ORDERS](/guides/edi/edifact-orders), [ORDRSP](/guides/edi/edifact-ordrsp) and [DESADV](/guides/edi/edifact-desadv) guides, so you can follow one purchase order from start to finish. ## What is an EDIFACT RECADV? **RECADV (receiving advice) is the UN/EDIFACT message a buyer or receiving site sends to the supplier after goods have been physically received and inspected.** It confirms receipt, reports any differences between what was received and accepted and what was despatched or ordered, and can say what should happen to the difference: return it, destroy it, or keep the line open as a backorder. GS1 describes two uses for the message: - **Confirmation of receipt.** Only the header is sent. It names the despatch advice and order and says, in effect, "all arrived". - **Notification of discrepancies.** The detail section lists each item (and optionally each pallet) with the accepted quantity and a QVR variance explaining any gap. GS1 says the message should be sent within a commercially agreed period after receipt, giving 24 hours as an example. In practice the partner's implementation guide sets the deadline. ## Where RECADV sits in the order-to-cash flow | Step | Message | Sent by | X12 equivalent | |---|---|---|---| | 1 | [ORDERS](/guides/edi/edifact-orders) | Buyer | 850 | | 2 | [ORDRSP](/guides/edi/edifact-ordrsp) (optional) | Supplier | 855 | | 3 | [ORDCHG](/guides/edi/edifact-ordchg) (if the order changes) | Buyer | 860 | | 4 | [DESADV](/guides/edi/edifact-desadv) | Supplier, at despatch | 856 | | 5 | **RECADV** | Buyer, after receipt | **861** | | 6 | [INVOIC](/guides/edi/edifact-invoic) | Supplier | 810 | Some partners want the invoice to follow the RECADV, so you bill for what was accepted rather than what was despatched. Others invoice from the DESADV and use the RECADV to raise deductions afterwards. Find out which model your partner runs before go-live, because it decides whether a short receipt shows up as a smaller invoice or as a debit note weeks later. Each RECADV covers one despatch point and one receiving point. A delivery to two depots produces two receiving advices. ## Example 1: full receipt, header only The fictional retailer Harbour Lane Stores receives despatch advice KV-DES-7781 from Kestrel Valley Homeware at its distribution centre on 15 October 2026. Everything checks in. Following the GS1 "simple scenario", only the header is sent. | Segment | What it says | |---|---| | `BGM+632+HL-REC-30417+9'` | Document 632 (goods receipt), receiving advice number HL-REC-30417, function 9 (original) | | `DTM+137:20261015:102'` | Message date | | `DTM+50:202610150715:203'` | Goods receipt date and time: 07:15 on 15 October 2026 | | `RFF+AAK:KV-DES-7781'` | The despatch advice this receipt relates to | | `DTM+171:20261013:102'` | Date of that despatch advice | | `RFF+ON:HL-PO-88231'` | The buyer's order number | | `NAD+BY` / `NAD+SU` / `NAD+DP` | Buyer, supplier and the delivery point that received the goods | | `UNT+12+1'` | 12 segments from UNH to UNT inclusive | ## Example 2: short delivery and a backorder Same delivery, different outcome. On line 1 the DESADV said 120 chopping boards but only 114 were counted. On line 2 the supplier had already told the buyer, through ORDRSP, that only 40 of the 60 mill sets would ship now. The buyer accepts the 40 and keeps the remaining 20 open, but only until 30 October. | Segment | What it says | |---|---| | `CPS+1'` | Start of the detail section. GS1 recommends level 1 when you are not describing packing levels | | `LIN+1++5098765100016:SRV'` | Line 1, the GTIN received | | `QTY+194:114'` | Received and accepted: 114 | | `QTY+12:120'` | Despatch quantity from the DESADV: 120 | | `QVR+-6:12+CP'` | Variance of minus 6 against the despatch quantity. CP: shipment partial, considered complete, no backorder | | `QTY+21:60'` | Line 2 ordered quantity | | `QVR+-20:21+BP'` | Minus 20 against the ordered quantity. BP: partial shipment, back order to follow | | `DTM+61:20261030:102'` | Cancel the backorder if not delivered by 30 October | | `CNT+2:2'` | Two LIN lines | Read the QVR quantity qualifier carefully. It names the quantity the variance is measured against. `-6:12` means "6 fewer than despatched", which is a supplier or carrier problem. `-20:21` means "20 fewer than ordered", which the supplier already announced. The same minus sign means very different things for your invoice. ## Example 3: damaged pallet, goods to be returned This time the buyer reports by pallet. The first pallet, SSCC 350987650000000010, arrived with 12 boards damaged. They will be returned and the supplier must collect them on 20 October. The second pallet is fine. Reporting by SSCC uses the PCI, QTY, QVR and GIN group under each LIN, so the supplier can trace the damage to a specific pallet and, from there, to a carrier and a loading bay. | Segment | What it says | |---|---| | `QTY+194:108'` (under LIN) | Total accepted for the item across all pallets | | `QVR+-12:195+AF'` | 12 received but not accepted, to be returned (195), because goods were delivered damaged (AF) | | `DTM+200:20261020:102'` | Collection date for the returned goods | | `PCI+39'` | The following quantities relate to a package marked with an SSCC | | `QTY+194:108'` (under PCI) | Accepted quantity on this pallet | | `GIN+BJ+350987650000000010'` | The pallet's SSCC, matching the DESADV and the label | If the damaged goods are destroyed on site instead of returned, use quantity qualifier `196` (received, not accepted, to be destroyed) and drop the collection date. ## RECADV segment reference Status and repeats follow the EANCOM 2002 message structure chart. M is mandatory, C conditional. | Segment | Name | Status | Repeats | Carries | X12 861 equivalent | |---|---|---|---|---|---| | UNH | Message header | M | 1 | `RECADV:D:01B:UN:EAN009` | ST | | BGM | Beginning of message | M | 1 | 632, receiving advice number, function | BRA | | DTM | Date/time | M | 10 | 137 message date, 50 receipt date | BRA date, DTM | | ALI | Additional information | C | 5 | Special conditions | | | FTX | Free text | C | 99 | Header notes | NTE | | RFF (SG1) | Reference | M in group | 10 | AAK despatch advice, ON order | REF, PRF | | NAD (SG4) | Name and address | M | 99 | BY, SU, DP, DEQ, UC by GLN | N1 | | TDT (SG10) | Transport details | C | 10 | Carrier and vehicle | TD5 | | EQD, SEL, CDI | Equipment, seal, seal condition | C | 9999 | Broken or missing seals | | | CPS (SG16) | Consignment packing sequence | M in group | 9999 | Detail section start | | | PAC, QVR, PCI, GIN | Package level detail | C | 9999 | Pallets damaged or unknown | | | LIN (SG22) | Line item | M in group | 9999 | GTIN received | LIN | | PIA | Additional product id | C | 10 | Buyer or supplier item number, batch | LIN | | QTY | Quantity | C | 10 | 194 accepted, 12 despatched, 21 ordered, 46 delivered | RCD | | QVR | Quantity variance | C | 10 | Difference and reason | RCD | | DTM | Line date | C | 5 | 61 cancel-by, 200 collection, 360 sell-by | DTM | | PCI, QTY, QVR, GIN (SG29) | Per-SSCC receipt | C | 9999 | Quantity accepted per pallet | RCD | | CNT | Control total | C | 1 | 2 = number of LIN lines | CTT | | UNT | Message trailer | M | 1 | Segment count, reference | SE | ## Code tables ### BGM message function | Code | Meaning in EANCOM RECADV | |---|---| | `9` | Original receiving advice | | `5` | Replace: corrects an earlier RECADV, which is then quoted in `RFF+ALO` | | `29` | Accepted without amendment: the referenced message is entirely accepted | | `27` | Not accepted: the referenced message is not accepted | | `31` | Copy for a third party, for information | ### QTY qualifiers | Qualifier | Meaning | |---|---| | `194` | Received and accepted | | `46` | Delivered quantity | | `48` | Received quantity | | `12` | Despatch quantity (as advised in DESADV) | | `21` | Ordered quantity | | `192` | Free goods quantity | ### QVR: what the variance is measured against The second component of QVR is a quantity qualifier. A negative value means less than expected, positive means more. | Qualifier | Variance against | |---|---| | `12` | Despatch quantity | | `21` | Ordered quantity | | `46` | Delivered quantity | | `195` | Received, not accepted, to be returned | | `196` | Received, not accepted, to be destroyed | ### QVR discrepancy codes (third element) | Code | Meaning | |---|---| | `AC` | Over-shipped | | `AE` | Delivered but not advised | | `AF` | Goods delivered damaged | | `AG` | Delivered too late | | `BP` | Shipment partial, back order to follow | | `CP` | Shipment partial, considered complete, no backorder | QVR can also carry a change reason code in its fourth element, such as `AT` (item not ordered), `BH` (batch number difference), `BN` (temperature outside agreed range) or `PC` (pack difference). Which reasons a partner sends, and what each one triggers commercially, is set in their guide and trading agreement. ### Line-level DTM qualifiers | Qualifier | Use | |---|---| | `61` | Cancel if not delivered by this date (backorder deadline) | | `200` | Pick-up or collection date for returned goods | | `360` | Sell-by date, used when rejecting short-dated product | ## RECADV vs the X12 861 | Data | EDIFACT RECADV | X12 861 | |---|---|---| | Receiving advice number | `BGM` second element | `BRA01` | | Receipt date | `DTM+50` | `BRA02` | | Despatch advice reference | `RFF+AAK` | `REF` (qualifier set by the partner) | | Order number | `RFF+ON` | `PRF01` | | Item | `LIN` with GTIN | `LIN` | | Accepted quantity | `QTY+194` | `RCD` quantity received | | Discrepancy | `QVR` value, qualifier and reason code | `RCD` condition code and quantities | | Line count | `CNT+2` | `CTT01` | The biggest structural difference: X12 861 puts the condition and the quantity in one `RCD` segment. RECADV separates the accepted quantity (`QTY+194`) from the explanation (`QVR`), and lets you report the same item twice: once overall, and again per SSCC. When mapping between them, build each `RCD` from the `QTY` and `QVR` pair, not from `QTY` alone. The [EDI 861 guide](/guides/edi/861-receiving-advice) lists the X12 condition codes. ## Common RECADV errors and fixes - **Reading QTY+12 as the accepted quantity.** It is what you said you despatched. The figure that drives the invoice is `QTY+194`. Map the right one or you will invoice for goods that were rejected. - **Ignoring the QVR qualifier.** A variance against `12` is a despatch problem; against `21` it is an order shortfall the buyer may already have agreed. Route them to different queues. - **SSCCs that do not match the DESADV.** If the RECADV quotes an SSCC your system never sent, the pallet was relabelled or the DESADV was wrong. Check the [inspector](/edifact-inspector) for the GS1 check digit first, then compare against your despatch records. - **No RECADV is not the same as a clean receipt.** GS1 notes that a full, discrepancy-free receipt often produces no RECADV or a header-only one. Agree with the partner which applies, or you will wait for a message that never comes. - **Replacements treated as new receipts.** A `BGM` function `5` replaces an earlier RECADV quoted in `RFF+ALO`. Update the original receipt; do not add a second one. - **Backorder deadlines lost.** `DTM+61` under a line is a cancel-by date. If you ship after it, the buyer can refuse the delivery. ## Testing checklist 1. Agree whether the partner sends header-only RECADVs for clean receipts, or none at all. 2. Confirm which quantity qualifiers they send (`194` only, or `194` plus `12`, `21` and `46`). 3. Get their full list of QVR discrepancy and reason codes, and decide what each one does in your ERP. 4. Ask whether they report by item, by SSCC, or both. 5. Test a short receipt, an over-delivery and a damaged pallet before go-live. 6. Check that `UNT` counts and `CNT+2` match by pasting each test file into the [EDIFACT inspector](/edifact-inspector). 7. Agree how disputes are raised: through EDI, a portal or email. OrderSync reads RECADV, matches each line back to the order and despatch advice, and shows accepted, short and rejected quantities next to each other, so your team works the exceptions instead of re-keying them. ## Frequently Asked Questions ### What is a RECADV in EDI? RECADV is the UN/EDIFACT receiving advice message. The buyer or receiving warehouse sends it after goods arrive to confirm what was received and accepted and to report shortages, damage or over-deliveries against the despatch advice or the order. It is the EDIFACT equivalent of the X12 861. ### What is the difference between DESADV and RECADV? DESADV is sent by the supplier when goods leave and says what was shipped. RECADV is sent by the buyer after the goods arrive and says what was received and accepted. Comparing the two, line by line and SSCC by SSCC, is how both sides find and settle delivery discrepancies. ### What does QTY+194 mean? Qualifier 194 means "received and accepted". It is the quantity the buyer has taken into stock and will pay for. Other quantities in the same line, such as 12 (despatched) or 21 (ordered), are there for comparison. ### Is RECADV mandatory? No. EANCOM defines it but does not require it, and many retailers never send one. Where it is used, the trading partner agreement sets when it is sent and what it triggers, such as invoice matching or automatic deductions. ### How quickly is a RECADV sent? GS1 recommends sending it within a commercially agreed period after receipt and gives 24 hours as an example. The partner's guide sets the actual window. ### Can a RECADV reject a whole delivery? Yes. A rejected item is reported as its own line with a received and accepted quantity of zero and a QVR explaining why, for example item not ordered or goods damaged. GS1 also defines message function 27 (not accepted) in BGM for a receiving advice that does not accept the referenced message. ### What is the X12 equivalent of RECADV? The X12 861 Receiving Advice/Acceptance Certificate. The data is similar, but X12 combines condition and quantity in the RCD segment, while RECADV splits them into QTY and QVR. ## Related guides - **[EDIFACT explained](/guides/edi/edifact)**: syntax, envelopes and the full X12 mapping - **[EDIFACT DESADV](/guides/edi/edifact-desadv)**: the despatch advice RECADV is checked against - **[EDIFACT ORDERS](/guides/edi/edifact-orders)** and **[ORDRSP](/guides/edi/edifact-ordrsp)**: the order and the supplier's response - **[EDIFACT INVOIC](/guides/edi/edifact-invoic)**: the invoice that should agree with the receipt - **[EDIFACT APERAK](/guides/edi/edifact-aperak)**: application errors on a message, as opposed to goods discrepancies - **[EDIFACT message types](/guides/edi/edifact-message-types)**: every EDIFACT message and its X12 equivalent - **[EDI 861 receiving advice](/guides/edi/861-receiving-advice)**: the X12 counterpart ## Sources - [EANCOM 2002 S3: RECADV receiving advice message](https://www.gs1.org/sites/default/files/docs/eancom/ean02s3/part2/recadv/toc.htm), GS1 - [UN/EDIFACT D.01B RECADV message](https://service.unece.org/trade/untdid/d01b/trmd/recadv_c.htm), UNECE - [Serial Shipping Container Code (SSCC)](https://www.gs1.org/standards/id-keys/sscc), GS1 Paste any RECADV into the free [EDIFACT inspector](/edifact-inspector) to see each line, quantity and SSCC laid out and checked. --- # EDIFACT REMADV: Remittance Advice Guide Source: https://ordersync.io/guides/edi/edifact-remadv > EDIFACT REMADV remittance advice explained: DOC, MOA 9 and 12, AJT deduction codes, two EANCOM examples, and how it maps to the X12 820 and TRADACOMS SRMHDR. EDIFACT REMADV is the remittance advice message, the equivalent of the X12 820. The payer sends it to explain a payment: which invoices and credit notes it settles, how much was paid against each, and why anything was deducted. BGM+481 identifies it, DOC names each document, MOA 9 and 12 give amount due and remitted, and AJT gives the reason. **REMADV is the message that turns a lump sum on your bank statement into a list of settled invoices.** Your customer's bank tells you that 3,539.40 GBP arrived. The REMADV tells you it paid three invoices, deducted 72.00 for a short delivery and took a 30.60 cash discount. Without it, your accounts team matches cash to invoices by hand and finds the short-pays weeks later. This guide follows the [GS1 EANCOM 2002 REMADV](https://www.gs1.org/sites/default/files/docs/eancom/ean02s3/part2/remadv/toc.htm) layout: directory D.01B, subset version EAN005. EANCOM 2002 is GS1's current edition and the one the other EDIFACT guides on this site use. Partners still on EANCOM 1997 send D.96A, and their `UNH` segment tells you which one you have. ## What Is an EDIFACT REMADV? **REMADV (remittance advice) is the UN/EDIFACT message that gives "a detailed accounting relative to a payment, or other form of financial settlement, on a specified date", in GS1's words.** It is a notice of payment to be made. It does not move money. The money moves through the bank, and the REMADV tells the payee what that money is for. GS1's principles for the message are short and worth knowing before you map it: - One REMADV can cover many commercial documents: invoices, credit notes and debit notes. - It can quote a payment order, the instruction the payer sent its bank. - Every remitted amount, for the whole message, each document and each line, is in **one payment currency**. - Each REMADV relates to **one settlement date**. - Either party can initiate it, by agreement. In retail it is almost always the buyer. **Who sends it?** The payer's accounts payable system, usually a retailer or wholesaler paying its suppliers. **Who receives it?** The payee's accounts receivable or cash application team. **When?** With each payment run, normally a few days before the money lands. The `DTM+138` payment date tells you when to expect it. **Why does it matter?** Every invoice the REMADV does not explain stays open on your ledger, and every deduction it does not explain becomes a dispute you cannot start. For the full list of EDIFACT messages and their equivalents, see [EDIFACT message types](/guides/edi/edifact-message-types). For EDIFACT syntax and envelopes, start with [EDIFACT explained](/guides/edi/edifact). ## Where REMADV Sits in the Order-to-Cash Flow REMADV is the last message in the cycle. Everything before it decides how clean it will be. | Step | Message | Sent by | X12 | TRADACOMS | |---|---|---|---|---| | 1 | [ORDERS](/guides/edi/edifact-orders) | Buyer | [850](/guides/edi/850-purchase-order) | [ORDHDR](/guides/edi/tradacoms-ordhdr) | | 2 | [DESADV](/guides/edi/edifact-desadv) | Supplier | [856](/guides/edi/856-ship-notice) | `DELHDR` | | 3 | [RECADV](/guides/edi/edifact-recadv) | Buyer | [861](/guides/edi/861-receiving-advice) | [DLCHDR](/guides/edi/tradacoms-dlchdr) | | 4 | [INVOIC](/guides/edi/edifact-invoic) | Supplier | [810](/guides/edi/810-invoice) | [INVFIL](/guides/edi/tradacoms-invfil) | | 5 | **REMADV** | Payer | **[820](/guides/edi/820-payment-order)** | **`SRMHDR`** | The links between steps are where deductions come from. A RECADV that books in fewer units than your DESADV said is the early warning; the REMADV deduction with `AJT+4` (short delivery) is the bill for it. Reading the two side by side is usually enough to tell a genuine shortage from a receiving error. ## Example 1: Three Invoices, a Short-Delivery Deduction and a Cash Discount The fictional retailer Calder Row Markets (GLN 5412345000013) pays the fictional bakery Ashby Mill Bakery (GLN 5412345000020). The GLNs use GS1's documented example prefix 5412345 and carry valid check digits. The remittance is dated 6 November 2026 and the payment date is 10 November. - Invoice AMB-24101 for 1,248.00 is paid in full. - Invoice AMB-24117 for 864.00 is paid at 792.00: 72.00 is deducted for a short delivery. - Invoice AMB-24130 for 1,530.00 is paid at 1,499.40: a 2% cash discount of 30.60 is taken. | Segment | What it says | |---|---| | `BGM+481+CRM-RA-50077+9'` | Document `481` (remittance advice), number CRM-RA-50077, function `9` (original) | | `DTM+138:20261110:102'` | The payment date: 10 November 2026 | | `RFF+AEK:CRM-PAY-88120'` | The payment order this remittance relates to | | `FII+RB+40112233:ASHBY MILL BAKERY LTD'` | The account that receives the funds (`RB`, receiving financial institution). The account number is fictional | | `PAI+::42'` | Payment means `42`: payment to bank account | | `NAD+PR` / `NAD+PE` | Payer and payee by GLN | | `CUX+2:GBP:11'` | The payment currency is sterling | | `DOC+380+AMB-24117'` | The second document is commercial invoice AMB-24117 | | `MOA+9:864.00:GBP'` | Amount due on that invoice: 864.00 | | `MOA+12:792.00'` | Amount remitted against it: 792.00 | | `AJT+4'` then `MOA+165:-72.00'` | Adjustment reason `4` (short delivery), adjustment amount minus 72.00 | | `AJT+66'` then `MOA+165:-30.60'` | Reason `66` (cash discount), minus 30.60 | | `MOA+12:3539.40'` | Total remitted: 1,248.00 + 792.00 + 1,499.40 | | `UNT+31+1'` | 31 segments from `UNH` to `UNT` inclusive | Check the arithmetic the way your cash application system should: for each `DOC`, amount due plus adjustments equals amount remitted (864.00 minus 72.00 is 792.00), and the summary `MOA+12` equals the sum of the document `MOA+12` values. ## Example 2: A Line-Level Deduction for Damaged Goods A week later, Calder Row pays two more invoices. On invoice AMB-24152, line 3 (GTIN 5412345100256, worth 360.00) arrived partly damaged and the buyer deducts 120.00 against that line. REMADV can point at the exact invoice line with `DLI`, name the product with `PIA`, and attach the adjustment to the line rather than the whole invoice. | Segment | What it says | |---|---| | `DLI+1+3'` | Line 3 of the invoice, action `1` (included in the document) | | `MOA+38:360.00:GBP'` | Invoice item amount for that line | | `PIA+5+5412345100256:SRV'` | The product on the line, by GTIN | | `AJT+3'` | Adjustment reason `3`: damaged goods | | `MOA+5:-120.00'` | Adjusted amount for the line. At line level, EANCOM allows only qualifier `5` | | `MOA+12:2040.00'` (under the `DOC`) | The invoice is paid at 2,160.00 minus 120.00 | | `MOA+12:2655.00'` | Total remitted: 2,040.00 + 615.00 | GS1 also uses `DLI` action `2` (excluded from the document) for lines that were not paid at all, as in its own short-delivery example. Line-level detail is optional, and many payers send only document-level adjustments. If yours sends lines, map them: the GTIN in `PIA` is what lets you trace the deduction back to a DESADV line and a RECADV discrepancy. ## REMADV Structure at a Glance Status and repeats follow the EANCOM 2002 message structure chart. M is mandatory, C conditional. | Section | Segment | Name | Status | Repeats | Carries | X12 820 equivalent | |---|---|---|---|---|---|---| | Heading | `UNH` | Message header | M | 1 | `REMADV:D:01B:UN:EAN005` | `ST` | | Heading | `BGM` | Beginning of message | M | 1 | `481`, remittance number, function | `BPR`, `TRN` | | Heading | `DTM` | Date/time/period | M | 5 | `137` message date, `138` payment date | `BPR16`, `DTM` | | Heading | `RFF` | Reference | C | 5 | `AEK` payment order, `CT` contract | `REF` | | Heading | `FII` | Financial institution information | C | 5 | Paying or receiving account | `BPR06` to `BPR15` | | Heading | `PAI` | Payment instructions | C | 1 | How payment is made | `BPR04` | | SG1 | `NAD` | Name and address | M in group | 99 | `PR` payer, `PE` payee, `BY`, `SU` | `N1` loop | | SG3 | `CTA`, `COM` | Contact | C | 5 | Accounts payable contact | `PER` | | SG4 | `CUX` | Currencies | M in group | 5 | Payment currency, exchange rate | `CUR` | | SG5 | `DOC` | Document/message details | M in group | 999999 | `380` invoice, `381` credit note, `383` debit note | `RMR01`, `RMR02` | | SG5 | `MOA` | Monetary amount | M | 5 | `9` due, `12` remitted, `52` discount | `RMR04` to `RMR06` | | SG5 | `DTM`, `RFF` | Document date, references | C | 5 | Invoice date, `ON` order number | `DTM`, `REF` | | SG7 | `AJT` | Adjustment details | M in group | 100 | Reason code | `ADX02` | | SG7 | `MOA` | Adjustment amount | C | 1 | `5`, `165` | `ADX01` | | SG10 | `DLI` | Document line identification | M in group | 9999 | Line number on the invoice | `IT1` inside the `RMR` loop | | SG10 | `PIA` | Additional product id | C | 5 | GTIN of the line | `IT1` product IDs | | SG12 | `AJT`, `MOA` | Line adjustment | C | 10 | Reason and `MOA+5` | `ADX` | | Summary | `UNS` | Section control | M | 1 | `UNS+S` | | | Summary | `MOA` | Monetary amount | M | 99 | `12` total remitted | `BPR02` | | Summary | `UNT` | Message trailer | M | 1 | Segment count, reference | `SE` | The X12 column maps by purpose. The [EDI 820 guide](/guides/edi/820-payment-order) covers the X12 side in detail; payers differ in which line-level segments they send. ## Key Segments Explained ### BGM: Beginning of Message ``` BGM+481+CRM-RA-50077+9' ``` | Element | Name | Example | What it means | |---|---|---|---| | C002 / 1001 | Document name code | `481` | Remittance advice. The only code EANCOM allows here | | C106 / 1004 | Document identifier | `CRM-RA-50077` | The payer's remittance advice number | | 1225 | Message function code | `9` | `9` original, `5` replace, `31` copy | Function `5` replaces an earlier REMADV sent in error, which GS1 says should be identified in the `RFF` group. Treat a replacement as an update to the original remittance, not as a second payment. ### DTM: Payment and Document Dates ``` DTM+137:20261106:102' DTM+138:20261110:102' ``` | Qualifier | Level | Meaning | |---|---|---| | `137` | Heading | Message date | | `138` | Heading | Payment date | | `203` | Heading | Execution date requested: the date the payer asked its bank to make the payment | | `137` | Under `DOC` | Date of the referenced invoice or credit note | | `140` / `265` | Under `DOC` | Payment due date / due date | ### FII and PAI: Bank Account and Payment Means ``` FII+RB+40112233:ASHBY MILL BAKERY LTD' PAI+::42' ``` | Segment / element | Example | What it means | |---|---|---| | `FII` 3035 | `RB` | `RB` receiving financial institution (the payee's bank), `PB` paying financial institution | | `FII` C078 | `40112233:ASHBY MILL BAKERY LTD` | Account number and account holder name | | `FII` C088 | (not sent) | Optional bank identification, for example a code from list `25` under agency `5` (ISO) | | `PAI` 4461 | `42` | Payment means: `42` payment to bank account, `56` bankgiro | Check the account in `FII` against the one you expect to be paid into. A REMADV naming an account you do not recognise is worth a phone call before anyone updates bank details. ### DOC and MOA: Each Document Being Settled ``` DOC+380+AMB-24117' MOA+9:864.00:GBP' MOA+12:792.00' ``` | Element | Example | What it means | |---|---|---| | `DOC` 1001 | `380` | `380` commercial invoice, `381` credit note, `383` debit note, `82` metered services invoice, `83` and `84` credit and debit notes for financial adjustments | | `DOC` 1004 | `AMB-24117` | Your document number, exactly as it appeared in your INVOIC | | `MOA` 5025 | `9` | Amount due/amount payable: what the document was for | | `MOA` 5025 | `12` | Amount remitted against this document | | `MOA` 6345 | `GBP` | Currency. GS1 says it is not used with `12`, which is always in the payment currency, and is required with the other qualifiers | GS1 makes the amount due and the amount remitted mandatory for every `DOC`. Other qualifiers allowed at this level include `39` (invoice total amount), `52` (discount amount) and `124` (tax amount). If a payment has no previous document behind it, GS1 says to leave the document code empty, put a dummy name in the document name element and a reference in the identifier. ### AJT and MOA: Why the Amount Changed ``` AJT+4' MOA+165:-72.00' ``` | Code | Meaning | |---|---| | `1` | Agreed settlement | | `3` | Damaged goods | | `4` | Short delivery | | `5` | Price query | | `9` | Invoice error | | `40` | Deducted freight costs | | `66` | Cash discount | | `74` / `75` / `77` / `79` | Quantity, promotion, pricing and sundry discount | | `90` | Treasury management service charge | | `ZZZ` | Mutually defined | These are the codes EANCOM 2002 lists for `AJT` (UN/EDIFACT code list 4465). GS1 lets its member organisations add national codes for tax practices, and partner guides often narrow the list, so load the codes your payer actually uses. The adjustment amount follows in `MOA`. At document level EANCOM allows `5` (adjusted amount) and `165` (adjustment amount) among others; at line level only `5`. Two GS1 rules matter here: - **The adjustment is for information.** GS1 says it "will not necessarily equal the difference between the amount due and the amount remitted". Reconcile on `MOA+9` and `MOA+12`, and use the `AJT` group to explain the difference. - **Signs need agreeing.** GS1 says a negative adjustment must carry an explicit minus sign, yet its own worked example sends a short-delivery deduction as a positive `MOA+5`. The examples on this page show deductions as negatives. Ask each payer which convention it uses. `AJT` can be followed by `RFF` (for example `ON`, the order number), `FTX` and `QTY`, which help you find the order, delivery and line behind a deduction. ### UNS and the Summary MOA ``` UNS+S' MOA+12:3539.40' ``` `UNS+S` separates detail from summary, and the summary `MOA+12` is the total being remitted. It should match the amount that arrives in your bank account. If it does not, the difference is a bank charge, a currency conversion or a second remittance, and the REMADV alone will not tell you which. ## REMADV vs the X12 820 and TRADACOMS SRMHDR | Data | EDIFACT REMADV | X12 820 | |---|---|---| | Message | `UNH` `REMADV` | `ST*820` | | Payment total | Summary `MOA+12` | `BPR02` | | Payment date | `DTM+138` | `BPR16` | | Payment means and bank | `PAI`, `FII` | `BPR04` to `BPR15` | | Trace or reference | `BGM` number, `RFF+AEK` | `TRN02` | | Payer and payee | `NAD+PR` / `NAD+PE` with GLNs | `N1*PR` / `N1*PE` | | Each document | `DOC` with code `380`, `381`, `383` | `RMR01` qualifier, `RMR02` number | | Amount due / paid | `MOA+9` / `MOA+12` | `RMR05` / `RMR04` | | Discount | `MOA+52`, or `AJT+66` with `MOA` | `RMR06` | | Deduction | `AJT` reason + `MOA` amount | `ADX02` reason + `ADX01` amount | | Line detail | `DLI`, `PIA` | `IT1` inside the `RMR` loop, where used | Three differences matter when you map between them: - **The payment itself.** An 820 often travels with, or inside, the payment: `BPR` carries routing and account numbers and can sit inside an ACH CTX addenda. REMADV is a separate message; the money goes through the bank on its own, so the REMADV references it rather than carrying it. - **Currency.** REMADV states one payment currency in `CUX` and can carry the invoice currency and an exchange rate per document. Most 820s in US trade never need this. - **Codes.** 820 deduction reasons in `ADX02` come from the X12 adjustment reason list. REMADV uses UN/EDIFACT code list 4465 in `AJT`. The two lists are separate, so map reason codes through a table, never by number. In TRADACOMS, the remittance file is `SRMHDR` (statement or remittance), with `SRMINF` detail messages and an `SRMTLR` trailer. Its field layout is its own, so a TRADACOMS remittance converts to REMADV by remap, not rename. The payment order file `PAYHDR` is a different thing: an instruction from the customer to its bank, closer to EDIFACT `PAYMUL`. The [TRADACOMS file types guide](/guides/edi/tradacoms-file-types) lists both. ## Common REMADV Errors and Fixes | Problem | What you see | Fix | |---|---|---| | Invoice number does not match | `DOC` quotes a number your ledger does not hold | Check your INVOIC `BGM` number. Leading zeros and prefixes are the usual cause | | Reconciling on the adjustment | Adjustments do not add up to the shortfall | Reconcile on `MOA+9` and `MOA+12`. GS1 says adjustments are informative | | Sign convention assumed | Deductions applied as extra payments | Agree with each payer whether deductions are negative | | Summary total differs from the deposit | Bank amount and `MOA+12` disagree | Look for bank charges, conversion, or a split payment across two REMADVs | | Line-level detail ignored | Deduction cannot be traced to a delivery | Map `DLI` and `PIA`, then match the GTIN to your DESADV and RECADV | | Replacement processed as new | The same payment applied twice | `BGM` function `5` replaces an earlier REMADV; update it | | Unknown `AJT` code | Deduction lands in a suspense account | Load the payer's code list and route each code to the right team | | Wrong `UNT` count | Translator rejects the message | Count every segment from `UNH` to `UNT` inclusive | ## REMADV Implementation Checklist 1. Get the payer's REMADV guide and confirm the directory (`D.01B` or `D.96A`) and the EANCOM version in `UNH`. 2. Confirm which `MOA` qualifiers it sends at document level, and whether it sends line detail. 3. Get its full list of `AJT` reason codes and decide what each one does in your ledger. 4. Agree the sign convention for adjustments and credit notes. 5. Store the REMADV number, `RFF+AEK` and payment date so you can match the bank deposit. 6. Test with a full payment, a deduction and a credit note before go-live. 7. Check every test file's envelope, `UNT` count and GLNs in the [EDIFACT inspector](/edifact-inspector), and the payment detail in the [remittance reader](/tools/edi-remittance-reader). ## Where OrderSync Fits OrderSync works at the start of the cycle that REMADV closes. It reads inbound orders in any format, including EDIFACT ORDERS, X12 850s, PDFs, emails and spreadsheets, matches customers, items and units to your catalogue, and sends clean order data to your ERP. Orders that are right at intake produce fewer short-delivery and pricing deductions at the end. For the remittance itself, use the free tools: the [EDIFACT inspector](/edifact-inspector) for structure and counts, the [remittance reader](/tools/edi-remittance-reader) to list payments and deductions from a REMADV or an 820, and the [EDI inspector](/edi-inspector) for any X12 file. If you want to see how order intake would work with your customers, [book a 15-minute walkthrough](/book-call). ## Frequently Asked Questions
### What is a REMADV in EDI? REMADV is the UN/EDIFACT remittance advice message. A payer, usually a retailer or wholesaler, sends it to a supplier to explain a payment: which invoices, credit notes and debit notes it settles, the amount paid against each, and the reason for any deduction or discount. ### What is the X12 equivalent of REMADV? The X12 820 Payment Order/Remittance Advice. The 820 can also carry the payment instruction to the bank, while REMADV only explains the payment. In TRADACOMS the remittance file is SRMHDR. ### What do MOA 9 and MOA 12 mean in a REMADV? Under each DOC segment, MOA qualifier 9 is the amount due or payable on that document and qualifier 12 is the amount remitted against it. The summary MOA+12 after UNS is the total payment. ### What does AJT+4 mean? AJT is the adjustment segment and code 4 is short delivery, from UN/EDIFACT code list 4465. Other common codes are 3 damaged goods, 5 price query, 9 invoice error and 66 cash discount. The partner's guide lists which ones it sends. ### Can one REMADV cover payments in two currencies? No. GS1 says every remitted amount in a REMADV is in one payment currency, and each REMADV relates to one settlement date. A document invoiced in another currency can carry its own exchange rate in a CUX segment. ### Does a REMADV mean the money has arrived? No. GS1 describes it as a notice of payment to be made. The DTM+138 payment date says when the payer expects to pay. Match the summary MOA+12 to the actual bank credit before closing the invoices. ### Is REMADV the same as PAYMUL? No. PAYMUL is a multiple payment order the buyer sends to its bank to make the payments. REMADV goes to the supplier to say what the payment covers. The REMADV can reference the payment order in RFF+AEK.
## Related guides - **[EDIFACT explained](/guides/edi/edifact)**: syntax, envelopes and the full X12 mapping - **[EDIFACT INVOIC](/guides/edi/edifact-invoic)**: the invoices and credit notes a REMADV settles - **[EDIFACT RECADV](/guides/edi/edifact-recadv)**: receiving discrepancies that turn into deductions - **[EDIFACT DESADV](/guides/edi/edifact-desadv)**: the despatch advice that started the claim - **[EDI 820 payment order/remittance advice](/guides/edi/820-payment-order)**: the X12 counterpart - **[EDI 812 credit/debit adjustment](/guides/edi/812-credit-debit-adjustment)**: how X12 partners raise deductions as a separate document - **[TRADACOMS file types](/guides/edi/tradacoms-file-types)**: SRMHDR and PAYHDR in context - **[EDIFACT message types](/guides/edi/edifact-message-types)**: every message and its X12 equivalent ## Sources - [EANCOM 2002 S3: REMADV remittance advice message](https://www.gs1.org/sites/default/files/docs/eancom/ean02s3/part2/remadv/toc.htm), GS1: structure chart, segment layouts, code lists and worked example - [EANCOM 2002 S3 Part I: message descriptions](https://www.gs1.org/sites/default/files/docs/eancom/ean02s3/part1/part1_02.htm), GS1 - [UN/EDIFACT D.01B REMADV message](https://service.unece.org/trade/untdid/d01b/trmd/remadv_c.htm), UNECE - [Global Location Number (GLN)](https://www.gs1.org/standards/id-keys/gln), GS1 Paste any REMADV into the free [EDIFACT inspector](/edifact-inspector) to check its structure, or into the [remittance reader](/tools/edi-remittance-reader) to see each payment and deduction laid out. --- # EDIFACT SLSRPT: Sales Data Report Message Guide Source: https://ordersync.io/guides/edi/edifact-slsrpt > EDIFACT SLSRPT explained: weekly sales by store, promotional periods and cancellations, with live EANCOM examples, code tables and the X12 852 mapping. EDIFACT SLSRPT is the sales data report message, the equivalent of the X12 852. A retailer sends it to a supplier to report what sold, where and when. Each LOC identifies a store by GLN, with an optional sub-period in DTM; under it, each LIN gives a GTIN with quantity sold (QTY+153), sales value (MOA+203) and selling price (PRI). SLSRPT is the closest a supplier gets to seeing the till. Orders tell you what a retailer bought; sales data tells you what shoppers took home, store by store and week by week. That is the signal behind forecasting, vendor-managed replenishment and any honest review of whether a promotion worked. This guide follows the [GS1 EANCOM 2002 SLSRPT](https://www.gs1.org/sites/default/files/docs/eancom/ean02s3/part2/slsrpt/toc.htm) layout (directory D.01B, subset version EAN007). Every example is live: it is parsed in your browser by the same engine as our [EDIFACT inspector](/edifact-inspector), and you can open each one in the full tool. ## What is an EDIFACT SLSRPT? **SLSRPT (sales data report) is the UN/EDIFACT message for reporting basic sales data for products: the location of the sale, the period, the product, and the price, quantity and value sold.** GS1 defines it as a message that lets the recipient "process the information automatically and use it for production, marketing or statistical purposes". According to the EANCOM manual, a recipient can read from it: - the location of each sale - the period in which it was sold - the product, by GTIN - the selling price, quantity and value - extra identification such as promotional flags or product group codes The usual direction is retailer to supplier. GS1 also describes a headquarters or distribution centre compiling sales across its outlets and sending them to a third party such as a market research company. ## What SLSRPT is not GS1's introduction is unusually direct on this point: the message "should never be used to replace business transactions such as Purchase Orders, Delivery Schedules or Inventory Reports." A sales report carries no instruction to ship, and it is not a stock report. In a replenishment programme it travels alongside an [INVRPT](/guides/edi/edifact-invrpt), and the order still comes as [ORDERS](/guides/edi/edifact-orders). ## Where SLSRPT fits: planning, replenishment and VMI | Use | What the supplier does with SLSRPT | |---|---| | Vendor-managed inventory | Combines sales with INVRPT stock to decide what each site needs | | [Demand forecasting](/glossary/demand-forecasting) | Builds forecasts from real store-level sell-through instead of order history | | Promotion analysis | Compares sales in the promotional sub-period with the weeks either side | | Range and distribution checks | Spots stores that stock a product but never sell it, or never stock it | | Category reporting | Shares sell-through with the retailer's buying team in an agreed format | GS1's INVRPT manual draws the link explicitly: actual stock combined with actual sales data (SLSRPT) and sales forecasts (SLSFCT) lets a supplier keep stock close to a target level, or trigger reordering automatically. ## How the message is organised: location first SLSRPT is **location driven**. The detail section is a list of `LOC` groups, each identifying a place of sale by GLN. Under each location come the products sold there. ``` UNH ... header: BGM, DTM (report date and period), NAD, CUX LOC+162 Store A DTM optional sub-period for this location LIN Product 1: MOA (value), PRI (price), QTY (quantity sold) LIN Product 2: ... LOC+162 Store B LIN ... UNS+S end of detail UNT ``` The manual adds that, although the message is organised by location, the receiver can process it by any variable it likes, such as a product across all its stores. Because volumes are high, GS1 strongly recommends using codes only, GTINs and GLNs, rather than descriptions. ## SLSRPT segment reference Status is M (mandatory) or C (conditional) and repeats are the maximum the EANCOM 2002 manual allows. Unlike PRICAT and INVRPT, **SLSRPT ends with a mandatory `UNS+S`**. There is no `CNT`. | Segment | Name | Status | Repeats | Carries | X12 852 equivalent | |---|---|---|---|---|---| | `UNH` | Message header | M | 1 | Message reference, `SLSRPT:D:01B:UN:EAN007` | `ST` | | `BGM` | Beginning of message | M | 1 | Sales report document code, number and function | `XQ` | | `DTM` | Date/time/period | M | 5 | Message date (`137`), sales period (`356`) | `XQ02`, `XQ03` | | `RFF` (SG1) | Reference | C | 9 | Contract, or the report being replaced or cancelled | `N9`, `XPO` | | `NAD` (SG2) | Name and address | M | 5 | Seller (`SE`), supplier (`SU`) and other parties | `N1` loop | | `CUX` (SG5) | Currencies | C | 5 | Pricing currency, `CUX+2:GBP:10` | None common | | `LOC` (SG6) | Place of sale | C | 200000 | Store or outlet GLN, qualifier `162` | `SDQ` location IDs | | `DTM` | Date/time/period | C | 5 | Sub-period for this location | `DTM` | | `LIN` (SG8) | Line item | C | 200000 | The product's GTIN with `SRV` | `LIN` | | `PIA` | Additional product id | C | 5 | Buyer's item number, promotional variant | `LIN` qualifier pairs | | `IMD` | Item description | C | 5 | Description, if the partner wants it | `PID` | | `RFF` | Reference | C | 5 | Contract or price list for this line | `REF` | | `ALI` | Additional information | C | 5 | Promotion flags: advertising, price, display | Partner-specific | | `MOA` | Monetary amount | C | 5 | Value of sales, qualifier `203` | `ZA` amounts, where used | | `PRI` (SG9) | Price details | M | 1 | The price at which it sold | `CTP` | | `QTY` (SG10) | Quantity | M | 1 | Quantity sold (`153`), returns, promotion quantity | `ZA` with activity code | | `UNS` | Section control | M | 1 | `UNS+S`, end of the detail section | None | | `UNT` | Message trailer | M | 1 | Segment count and message reference | `SE` | ## Example 1: weekly sales by store The fictional retailer Brackenfield Stores reports a week of sales of two products from the fictional supplier Fenwold Foods across three stores. Store 5011122001252 does not range the second product, so it has only one line. All GLNs and GTINs are made up with valid check digits. | Segment | What it says | |---|---| | `BGM+73E::9+BS-SLS-2026W41+9'` | Sales data report (`73E`, a GS1 code, hence `::9`), number BS-SLS-2026W41, original | | `DTM+356:2026100520261011:718'` | Sales period 5 to 11 October 2026, format `718` (date range) | | `NAD+SE` / `NAD+SU` | Seller (the retailer) and supplier | | `CUX+2:GBP:10'` | Values and prices are in sterling (`10` = pricing currency) | | `LOC+162+5011122001016::9'` | Place of sale: the store with this GLN | | `LIN+1++5067890100017:SRV'` | Product sold, by GTIN | | `MOA+203:147.00'` | Sales value for the week: 147.00 | | `PRI+AAA:3.50'` | Selling price 3.50 | | `QTY+153:42'` | 42 units sold | | `UNS+S'` | End of the detail section; mandatory in SLSRPT | | `UNT+32+1'` | 32 segments from UNH to UNT inclusive | Two details matter for whoever loads this file. **Line numbers run across the whole message**, not per store, so the same GTIN appears as line 1, 3 and 5. And the value should equal price times quantity for each line (42 × 3.50 = 147.00); when it does not, the difference usually comes from a price change mid-period, which is what sub-periods are for. On the document code: the manual's segment example and worked example both use `73E::9`, while the code list table in the same edition prints `735` for "sales data report". Use whatever your partner's implementation guide shows. ## Example 2: separating a promotional period Brackenfield ran a price promotion on the oat and honey granola from Thursday 1 to Sunday 4 October, with a shelf display. To keep promotional and normal sales apart, the same store appears in three `LOC` groups: one for the whole week (the product not on promotion), and two with `DTM+356` sub-periods for the product before and during the promotion. | Segment | What it says | |---|---| | First `LOC+162` group, no `DTM` | The header period applies: the whole week, 28 September to 4 October | | `DTM+356:2026092820260930:718'` | Sub-period Monday to Wednesday, before the promotion | | `DTM+356:2026100120261004:718'` | Sub-period Thursday to Sunday, during the promotion | | `ALI+++97+98'` | Special conditions `97` (promotional price) and `98` (promotional shelf display) | | `PRI+AAA:3.00'` | The promotional selling price | | `QTY+153:39'` | 39 sold in four promotional days, against 13 in the three days before | GS1 allows up to five special condition codes in one `ALI`, one per element, so overlapping promotions can all be flagged. The location-level `DTM` is optional: the manual says it is not needed when the period is the same as the header's. ## Example 3: cancelling a report If a report was sent with wrong data, BGM function `1` cancels it. GS1 says only the mandatory segments need resending, with at least the sender and receiver `NAD`, and the number of the report being cancelled in `RFF`. To correct a report in one step instead, send the full corrected report with function `5` (replace), a new report number in `BGM`, and the replaced report's number in `RFF+ALS`. A replacement contains all the data again, not just the corrected stores. Function `2` (addition) is the exception: it adds products left out of the original by mistake, quoting the original report number in `BGM`. ## Code tables ### BGM message function | Code | Meaning in EANCOM SLSRPT | |---|---| | `9` | Original | | `1` | Cancellation of a previous report, identified in `RFF` | | `2` | Addition: products omitted from the original report | | `5` | Replace: a full report that replaces one identified in `RFF` | | `6` | Confirmation: a resend of a previous report, same number and date | | `31` | Copy for a third party, for information | ### DTM qualifiers | Code | Meaning | |---|---| | `137` | Message date (mandatory) | | `356` | Sales date or period | | `90` / `91` | Report start / end date | Formats are `102` (a date), `203` (date and time) and `718` (a date range, start date first). ### QTY qualifiers | Code | Meaning | |---|---| | `153` | Statistical sales quantity: units sold | | `61` | Return quantity | | `210` | Returned by consumer | | `26` | Promotion quantity | | `145` | Actual stock | | `217` | Out of inventory quantity | ### Other codes | Segment | Code | Meaning | |---|---|---| | `LOC` | `162` | Place or location of sale (the only qualifier) | | `MOA` | `203` | Line item amount: value of sales for the period | | `ALI` | `96` / `97` / `98` | Promotional advertising / price / shelf display | | `PRI` | `AAA` / `AAB` | Calculation net / gross price | | `PRI` | `AAE` / `AAF` | Information price including / excluding taxes | | `NAD` | `SE` / `SU` / `CO` | Seller / supplier / corporate office | ## Timing and frequency Most sales reports are **weekly**, covering the retailer's trading week, and sent a day or two after it closes. Fast-moving or VMI lines often move to **daily** reports. The trading week does not always start on Monday, so read the period from `DTM+356` rather than assuming. Files can be large: one line per product per store per period adds up quickly across a national estate. ## SLSRPT vs the X12 852 | Data | EDIFACT SLSRPT | X12 852 | |---|---|---| | Report number and purpose | `BGM` | `XQ` | | Reporting period | `DTM+356` with format `718` | `XQ02` and `XQ03` | | Parties | `NAD+SE`, `NAD+SU` with GLNs | `N1` loop | | Organising key | Location first: `LOC`, then `LIN` | Item first: `LIN`, then `ZA`, then `SDQ` by location | | Item | `LIN` with GTIN and `SRV` | `LIN` with qualifier pairs | | Quantity sold | `QTY+153` | `ZA` with a sold activity code | | Sales value | `MOA+203` | Partner-specific | | Selling price | `PRI` | `CTP` | | Promotion flag | `ALI` codes `96`, `97`, `98` | Partner-specific | | Stock on hand | Usually a separate INVRPT | Often another `ZA` in the same 852 | | End of detail | `UNS+S` | `CTT` | Two differences matter most. **The organising key is inverted**: SLSRPT lists products under each store, while the 852 lists stores under each product (in `SDQ`). And **the 852 often mixes sales and stock** in one transaction, while EANCOM usually splits them between SLSRPT and INVRPT, even though SLSRPT's QTY list includes an actual stock code. See the [EDI 852 guide](/guides/edi/852-product-activity-data) for the X12 side. ## Common errors and fixes - **Missing `UNS+S`.** It is mandatory in SLSRPT, unlike PRICAT and INVRPT. Receivers reject the message without it. - **Line numbers restarting per store.** Number `LIN` lines sequentially across the whole message. Duplicates confuse loaders. - **Value that does not equal price times quantity.** If a price changed mid-week, split the period with location-level `DTM`, or report the value and use the average price your partner specifies. - **Store codes instead of GLNs.** Internal store numbers mean nothing to the supplier. Use the store GLN in `LOC+162` with agency `9`. - **Ambiguous periods.** A report without `DTM+356` forces the receiver to guess the week. Always send it. - **Returns netted silently.** Agree whether `QTY+153` is gross or net of returns, and report returns separately with `QTY+61` if asked. - **Wrong UNT count.** Large files are generated, but hand-edited test files often miscount. ## Testing checklist 1. Agree the period definition, cadence, qualifiers and whether values include VAT with your partner. 2. Load one week for one store and check totals against the retailer's portal or your own EPOS extract. 3. Add stores and products, and check that every store GLN maps to a known location in your system. 4. Test a week with a promotion and confirm the sub-periods and `ALI` flags load into the right fields. 5. Test cancellation and replacement: make sure a replaced report overwrites, rather than adds to, the original. 6. Check that the file loads within your processing window at full national volume. 7. Paste each test message into the [EDIFACT inspector](/edifact-inspector) to check structure and counts before going live. ## Frequently Asked Questions ### What is an SLSRPT message? SLSRPT is the UN/EDIFACT sales data report. A retailer sends it to a supplier to report units sold, sales value and selling price for each product, by store and period. ### Is SLSRPT the same as the X12 852? They do the same job: the 852 product activity data is the X12 equivalent. SLSRPT is organised by location first and usually carries only sales, while the 852 is organised by item and often includes stock too. ### What does QTY+153 mean in SLSRPT? `153` is the qualifier for statistical sales quantity. `QTY+153:42'` means 42 units of the product in the preceding `LIN` were sold at that location in the reporting period. ### How are promotions shown in SLSRPT? With `ALI` special condition codes on the line: `96` promotional advertising, `97` promotional price and `98` promotional shelf display. Use a location-level `DTM+356` sub-period to separate promotional days from normal days. ### Does SLSRPT need UNS and CNT? `UNS+S` is mandatory in the EANCOM 2002 SLSRPT. There is no `CNT` segment in the message. ### Can SLSRPT replace purchase orders in a VMI programme? No. GS1 states that the message should never replace business transactions such as purchase orders, delivery schedules or inventory reports. Orders still flow as ORDERS, and stock as INVRPT. ## Related guides - **[EDIFACT explained](/guides/edi/edifact)**: syntax, envelopes and the full X12 mapping - **[EDIFACT INVRPT](/guides/edi/edifact-invrpt)**: the stock report that pairs with SLSRPT in VMI - **[EDIFACT PRICAT](/guides/edi/edifact-pricat)**: the product and price data behind each GTIN - **[EDIFACT ORDERS](/guides/edi/edifact-orders)**: the replenishment order that follows - **[EDI 852 product activity data](/guides/edi/852-product-activity-data)**: the X12 counterpart - **[EDIFACT message types](/guides/edi/edifact-message-types)**: every message and its X12 equivalent ## Sources - [EANCOM 2002 S3: SLSRPT sales data report message](https://www.gs1.org/sites/default/files/docs/eancom/ean02s3/part2/slsrpt/toc.htm), GS1 - [EANCOM 2002 S3: INVRPT inventory report message](https://www.gs1.org/sites/default/files/docs/eancom/ean02s3/part2/invrpt/toc.htm), GS1 - [UN/EDIFACT D.01B SLSRPT message](https://service.unece.org/trade/untdid/d01b/trmd/slsrpt_c.htm), UNECE - [Global Location Number (GLN)](https://www.gs1.org/standards/id-keys/gln), GS1 Check your SLSRPT structure, counts and GTIN and GLN check digits in the free [EDIFACT inspector](/edifact-inspector). --- # TA1 Interchange Acknowledgment: Codes and Examples Source: https://ordersync.io/guides/edi/ta1-interchange-acknowledgment > The X12 TA1 interchange acknowledgment explained: TA101 to TA105, A/E/R and TA105 note codes 000 to 031, ISA14, examples, and how TA1 relates to 997 and 999. The TA1 Interchange Acknowledgment is an X12 control segment that tells the sender whether an interchange's ISA and IEA envelope was received intact. TA101 to TA103 echo the original control number, date and time, TA104 gives the verdict (A accepted, E accepted with errors, R rejected), and TA105 a three-digit note code naming any envelope error. **The TA1 answers the first question in any EDI exchange: could the receiver open the envelope at all?** Before a translator looks at a single purchase order or invoice, it reads the ISA header and IEA trailer. If the control numbers do not match, the receiver ID is unknown or the separators are wrong, nothing inside gets processed, and no [997](/guides/edi/997-functional-acknowledgment) or [999](/guides/edi/999-implementation-acknowledgment) can follow. The TA1 is how the receiver tells you that, and which part of the envelope was at fault. This guide covers what the TA1 is (and why it is not a transaction set), each of its five elements, the full TA105 note code list, how `ISA14` requests it, two examples, and how the TA1 fits with the 997, 999 and 824. ## What Is a TA1 Interchange Acknowledgment? **A TA1 is the Interchange Acknowledgment segment defined in X12.5, the X12 Interchange Control Structures standard, used by the receiver of an interchange to report the status of its ISA/IEA envelope.** It is one of three basic interchange segments: X12 [states, citing section 4.4.1 of X12.5](https://x12.org/resources/requests-for-interpretation/rfi-1591-packaging-ta1), that "the basic interchange segments consist of the ISA, the IEA, and the TA1 segments." That makes the TA1 different from the 997 and 999: - **It is a segment, not a transaction set.** There is no ST, SE, GS or GE around it. It sits directly inside an ISA/IEA envelope, after the ISA and before any GS. - **It travels in its own interchange, or alongside groups.** A receiver can send an interchange containing only TA1 segments, with `IEA01` = `0` (no functional groups), or place TA1s at the start of an interchange that also carries 997s or other documents. - **It must be enveloped.** X12 has confirmed that a file containing only a bare TA1, with no ISA and IEA around it, [is not correct](https://x12.org/resources/requests-for-interpretation/rfi-1591-packaging-ta1), and that [no GS should come before the TA1](https://x12.org/resources/requests-for-interpretation/rfi-2487-ta1-and-isa14-connection). Authoritative references for TA1 work: - [X12's requests for interpretation](https://x12.org/resources/requests-for-interpretation/rfi-1591-packaging-ta1) on TA1 packaging and its connection to `ISA14`, which point to X12.5 and the X12 Acknowledgment Reference Model - [Microsoft's X12 TA1 reference](https://learn.microsoft.com/en-us/azure/logic-apps/logic-apps-enterprise-integration-x12-ta1-acknowledgment), which maps each TA1 element to the ISA field it echoes and lists the TA105 note codes - HIPAA companion guides, such as the [Indiana Health Coverage Programs TA1/999 guide](https://in.gov/medicaid/providers/files/TA1-999-ihcp-5010-companion-guide.pdf), which describe when a payer returns a TA1 in practice **Who sends it?** The receiver of an interchange: your trading partner, its VAN, or a clearinghouse. **When is it sent?** When the sender requests one with `ISA14` = `1`, or whenever the trading partner agreement says so. Many healthcare payers and clearinghouses send a TA1 only when the envelope has errors. **Why does it matter?** A rejected envelope means nothing inside it was processed. If you are waiting for a 997 that never comes, a TA1 is often the explanation. ## How the TA1 Is Requested: ISA14 `ISA14` is the Acknowledgment Requested flag in your outbound ISA. In the X12 standard it has two values: | `ISA14` | Meaning | |---|---| | `0` | No interchange acknowledgment requested | | `1` | Interchange acknowledgment requested (a TA1) | Setting `ISA14` to `1` asks for a TA1. It does not ask for a 997 or 999, and setting it to `0` does not switch those off; functional and implementation acknowledgments are set by the trading partner agreement. Some partners also return TA1s for rejected interchanges whatever `ISA14` says, and some EDI platforms add their own settings (for example, "send a TA1 only on errors") that are configuration choices, not X12 codes. An interchange that carries only TA1s is normally sent with `ISA14` = `0`, so the acknowledgment does not itself ask to be acknowledged. ## TA1 Examples The TA1 is not a transaction set, so it is shown here as raw X12 rather than as an interactive sample. To decode a TA1 you received, paste it into the free [EDI rejection explainer](/tools/edi-rejection-explainer), which translates `TA104` and `TA105` and, with your original file, shows where the envelope problem is. ### Accepted interchange A grocery chain acknowledges a supplier's interchange `000000894`, sent on November 3, 2026 at 06:12. The envelope was fine. ``` ISA*00* *00* *ZZ*HARBORGROCER *ZZ*SUMMITBEV *261103*0614*U*00401*000004512*0*P*:~ TA1*000000894*261103*0612*A*000~ IEA*0*000004512~ ``` The TA1 travels in the grocer's own interchange, with its own control number (`000004512`). `TA101` to `TA103` echo the supplier's `ISA13`, `ISA09` and `ISA10`. `IEA01` is `0` because the interchange contains no functional groups. ### Rejected interchange The supplier's next interchange, `000000895`, ended with an IEA whose control number did not match its ISA. ``` ISA*00* *00* *ZZ*HARBORGROCER *ZZ*SUMMITBEV *261103*0614*U*00401*000004513*0*P*:~ TA1*000000895*261103*0612*R*001~ IEA*0*000004513~ ``` `TA104` = `R` rejects the interchange, and `TA105` = `001` says why: the interchange control number in the header and trailer do not match. Nothing inside was processed, so no 997 will follow for it. The fix is in the supplier's translator: correct the IEA and resend under a new interchange control number. ## TA1 Structure | Element | Name | Example | What it means | |---|---|---|---| | **TA101** | Interchange Control Number | `000000895` | `ISA13` of the interchange being acknowledged | | **TA102** | Interchange Date | `261103` | `ISA09` of that interchange (YYMMDD) | | **TA103** | Interchange Time | `0612` | `ISA10` of that interchange (HHMM) | | **TA104** | Interchange Acknowledgment Code | `R` | The verdict: `A`, `E` or `R` | | **TA105** | Interchange Note Code | `001` | Three-digit code for the condition found; `000` when there is no error | The element layout is the same in 004010 and 005010. What changes between those releases is the ISA it reports on: in 004010, `ISA11` is the interchange control standards identifier (`U`), while in 005010 it carries the repetition separator. ### TA104: the verdict | Code | Meaning | What to do | |---|---|---| | **A** | The interchange header and trailer were received and have no errors | Nothing at envelope level. Watch for the 997 or 999 | | **E** | The header and trailer were received and accepted, but errors are noted | Do not resend the data. Fix the noted problem for future interchanges | | **R** | The header and trailer were rejected because of errors | Fix the envelope and resend under a new control number | Which conditions a receiver treats as `E` and which as `R` varies by translator. A duplicate control number, for example, is a rejection on some systems and accepted with a note on others. ### TA105: interchange note codes | Code | Condition | |---|---| | **000** | No error | | **001** | The interchange control number in the header and trailer do not match | | **002** | This standard as noted in the control standards identifier is not supported | | **003** | This version of the controls is not supported | | **004** | The segment terminator is invalid | | **005** | Invalid interchange ID qualifier for sender | | **006** | Invalid interchange sender ID | | **007** | Invalid interchange ID qualifier for receiver | | **008** | Invalid interchange receiver ID | | **009** | Unknown interchange receiver ID | | **010** | Invalid authorization information qualifier value | | **011** | Invalid authorization information value | | **012** | Invalid security information qualifier value | | **013** | Invalid security information value | | **014** | Invalid interchange date value | | **015** | Invalid interchange time value | | **016** | Invalid interchange standards identifier value | | **017** | Invalid interchange version ID value | | **018** | Invalid interchange control number value | | **019** | Invalid acknowledgment requested value | | **020** | Invalid test indicator value | | **021** | Invalid number of included groups value | | **022** | Invalid control structure | | **023** | Improper (premature) end-of-file (transmission) | | **024** | Invalid interchange content (for example, an invalid GS segment) | | **025** | Duplicate interchange control number | | **026** | Invalid data element separator | | **027** | Invalid component element separator | | **028** | Invalid delivery date in deferred delivery request | | **029** | Invalid delivery time in deferred delivery request | | **030** | Invalid delivery time code in deferred delivery request | | **031** | Invalid grade of service code | Later X12 releases add codes beyond `031`. If you receive one, check the release in the acknowledging ISA and your partner's guide. ## Fixing the Most Common TA1 Rejections | TA105 | Usual cause | Fix | |---|---|---| | **001** | The IEA control number was not updated when the ISA was, often after a manual edit or a resend | Generate ISA13 and IEA02 together in the translator; never hand-edit one | | **004**, **026**, **027** | The ISA is not fixed width, or separators clash with the data | Keep the ISA at exactly 106 characters with the terminator; choose separators that never appear in data | | **005** to **009** | Qualifier and ID pair does not match what the partner has on file, or ID not padded to 15 characters | Confirm `ISA05`/`ISA06` and `ISA07`/`ISA08` with the partner; pad IDs with spaces | | **014**, **015** | Date or time in the wrong format | `ISA09` is YYMMDD and `ISA10` is HHMM | | **017** | `ISA12` version the partner does not accept | Use the version in the partner's guide, for example `00401` or `00501` | | **019** | `ISA14` is not `0` or `1` | Send `0` or `1` only | | **020** | `ISA15` is not `P` or `T`, or test data sent to production | Send `T` while testing and `P` in production, as agreed | | **021** | `IEA01` does not equal the number of GS groups | Count groups at build time, never key the count | | **024** | The GS inside the envelope is invalid | Check `GS02`, `GS03` and `GS08` against the partner's guide | | **025** | The interchange control number was already used | Increment `ISA13` for every interchange, including resends | The free [EDI inspector](/edi-inspector) checks the envelope of the interchange you sent: ISA width, ISA and IEA control numbers, the IEA group count and duplicate control numbers. Running the original file through it usually finds the cause of a TA1 rejection in seconds. ## TA1 vs 997 vs 999 vs 824 The TA1 is the outermost of four acknowledgment layers. Each checks something different, and our [997 guide](/guides/edi/997-functional-acknowledgment) and [999 guide](/guides/edi/999-implementation-acknowledgment) use the same breakdown. | Acknowledgment | Checks | Requested by | Answers | |---|---|---|---| | **TA1 Interchange Acknowledgment** | The ISA/IEA envelope only | `ISA14` = `1`, or the partner agreement | Could the interchange be opened at all? | | **[997 Functional Acknowledgment](/guides/edi/997-functional-acknowledgment)** | Each functional group and transaction set against the X12 standard | The trading partner agreement | Is each document valid X12? | | **[999 Implementation Acknowledgment](/guides/edi/999-implementation-acknowledgment)** | The same, plus the partner's implementation guide | The trading partner agreement | Is each document valid for this partner's guide? | | **[824 Application Advice](/guides/edi/824-application-advice)** | Business content | The partner's guide | Did the partner's application accept the data? | How they interact in practice: - **TA1 rejected (`R`).** The receiver stopped at the envelope. No 997 or 999 will arrive for any group in that interchange. - **TA1 accepted (`A`) or accepted with errors (`E`).** The receiver went on to the groups. A 997 or 999 follows if the agreement calls for one. - **No TA1 at all.** Either you did not request one, or the partner only sends TA1s on errors. Absence is not proof the envelope was fine; the 997 or 999 is. - **Healthcare.** HIPAA trading partners commonly return a TA1 for envelope errors and a 999 for each functional group, then a business response such as a [277CA claim acknowledgment](/guides/edi/277-claim-status-response) or [835](/guides/edi/835-health-care-claim-payment-advice). The EDIFACT counterpart is the [CONTRL message](/guides/edi/edifact-contrl), which reports interchange-level results in its UCI segment and can also report on messages. ## Common TA1 Mistakes | Mistake | What happens | Prevention | |---|---|---| | **Expecting `ISA14` = `1` to produce a 997** | You wait for a 997 that is not coming | Set up 997s or 999s through the partner agreement | | **Sending a bare TA1 with no ISA/IEA** | The partner's translator rejects or ignores it | Always envelope TA1s, with `IEA01` = `0` if there are no groups | | **Placing the TA1 after a GS** | Envelope structure error | TA1 segments go after the ISA and before the first GS | | **Resending after a TA1 `E`** | Duplicate documents | `E` means accepted; fix the noted issue for the next interchange only | | **Resending after a TA1 `R` with the same `ISA13`** | A second rejection for a duplicate control number | Resend under a new interchange control number | | **Not matching TA1s back to interchanges** | Rejections go unnoticed | Reconcile `TA101` against every outbound `ISA13` | ## TA1 Implementation Checklist - Ask each partner whether it sends TA1s always, only on errors, or never, and whether it wants `ISA14` = `1` - Store every outbound `ISA13` with its date, time and partner - Match inbound TA1s on `TA101`, and alert on any `R` - Alert when neither a TA1 nor a 997/999 arrives within the partner's window - Decide whether you send TA1s for inbound interchanges, and configure your translator to match - Never reuse an interchange control number, including for resends - Test with an accepted interchange, a mismatched IEA, an unknown receiver ID and a duplicate control number ## Where OrderSync Fits Envelope errors are configuration problems: once the translator builds the ISA and IEA correctly, they stop. The errors that keep coming are in the documents themselves, and many of them start when an order is keyed by hand. OrderSync reads inbound orders in any format, from EDI 850s and 875s to emails, PDFs and spreadsheets, matches customers, items and units to your catalog, and outputs valid X12 or clean data for your ERP, sending a 997 for every inbound EDI transaction it receives. Paste the interchange a TA1 rejected into the [free EDI inspector](/edi-inspector) to check its envelope and contents, decode the acknowledgment itself with the [EDI rejection explainer](/tools/edi-rejection-explainer), or [book a 15-minute walkthrough](/book-call) to see your own orders processed. ## Frequently Asked Questions
### What is a TA1 in EDI? A TA1 is the X12 Interchange Acknowledgment. It is a control segment, not a transaction set, that reports whether the ISA/IEA envelope of an interchange was received intact. It echoes the original interchange control number, date and time, gives a verdict of A, E or R, and gives a three-digit note code. ### What is the difference between a TA1 and a 997? A TA1 acknowledges the interchange envelope (ISA and IEA). A 997 acknowledges a functional group and reports on each transaction set's syntax. If the TA1 rejects the interchange, no 997 follows, because the receiver never processed the groups inside it. ### What does ISA14 = 1 mean? ISA14 is the Acknowledgment Requested flag. A value of 1 asks the receiver for an interchange acknowledgment, the TA1. A value of 0 asks for none. ISA14 does not control 997 or 999 acknowledgments, which are set by the trading partner agreement. ### What does TA105 code 025 mean? Code 025 means duplicate interchange control number: the receiver has already seen an interchange with that ISA13 from you. Increment the control number for every interchange, including resends of corrected files, and check that your translator's counter was not reset. ### What does TA104 E mean? E means the interchange header and trailer were received and accepted, but errors were noted. The data inside is processed, so do not resend it. Fix whatever TA105 names before your next interchange. ### Can a TA1 be sent in the same interchange as a 997? Yes. TA1 segments sit after the ISA and before the first GS, so a receiver can return TA1s and 997 or 999 groups in one interchange. An interchange with only TA1s has IEA01 set to 0. ### Is the TA1 the same in 4010 and 5010? The TA1 segment has the same five elements in both releases. The difference is in the ISA it reports on: in 5010, ISA11 carries the repetition separator, while in 4010 it is the control standards identifier U. Use the version your partner's guide specifies. ### Do I need to send TA1 acknowledgments? Only if your trading partners ask for them. Many retail partners rely on 997s alone, while healthcare clearinghouses and payers commonly expect TA1s for envelope errors. Your partner's implementation guide says which acknowledgments to send and when.
--- # TRADACOMS: The UK Retail EDI Standard Explained Source: https://ordersync.io/guides/edi/tradacoms > What TRADACOMS is, why UK retail still uses it, how STX, MHD and MTR files work, live order and invoice examples, implied decimals, and the map to EANCOM. TRADACOMS is a UK EDI standard introduced in 1982 by the Article Numbering Association, now GS1 UK, and still used by UK retailers and the book trade. It groups messages into files: an order file is an ORDHDR header, one ORDERS message per order and an ORDTLR trailer, wrapped in STX and END. Development stopped in the 1990s in favour of EANCOM. If you are setting up EDI with a UK retailer, you may be handed a TRADACOMS specification rather than an EDIFACT one. It looks like EDIFACT at first glance, but it is a separate standard with its own envelope, its own file structure, prices with no decimal point, and a strongly UK-specific design. Plenty of established UK supplier relationships still run on it. This guide covers where TRADACOMS came from, why it is still here, how its syntax and files work, two live examples (an order file and an invoice file) you can open in the inspector, and how it maps to [EDIFACT](/guides/edi/edifact) and the GS1 EANCOM subset that UK retail is gradually moving to. ## What is TRADACOMS? **TRADACOMS (Trading Data Communications) is an EDI standard developed for the UK retail sector, introduced in 1982 and maintained by the Article Numbering Association (ANA), which is now GS1 UK.** It was built on the UN/GTDI syntax, one of the precursors of EDIFACT, which is why the two look alike. ### A short history | Year | What happened | |---|---| | 1982 | The ANA introduces TRADACOMS for UK retail trading | | 1987 | The UN/EDIFACT syntax is approved as ISO 9735, giving the world an international alternative | | Mid-1990s | Development of TRADACOMS effectively stops as the ANA backs the EDIFACT-based EANCOM subsets. Sources usually date this to 1995 | | 1 July 2017 | [GS1 UK ends support for TRADACOMS](https://www.gs1uk.org/insights/news/ending-support-for-tradacoms) and supports only GS1 EANCOM, GS1 XML and the GS1 UN/CEFACT XML profile | GS1 UK's own [EDI guidance for new users](https://www.gs1uk.org/sites/default/files/EDI_guidance_for_new_users.pdf) describes TRADACOMS as commonly used in the UK, designed only for the UK market, and not developed and only minimally supported since the 1990s. It says the industry is slowly moving to EANCOM and recommends EANCOM or GS1 XML for new implementations. ## Why UK retail still uses TRADACOMS - **It works.** The order, delivery and invoice files cover what UK grocery and general merchandise trading needs, and the links were built and tested decades ago. - **UK VAT is built in.** Every invoice carries VAT totals per rate, and every invoice file carries a VAT summary for the whole file. That suited UK accounts payable teams from day one. - **Migration costs both sides.** Moving a supplier community from TRADACOMS to EANCOM means every supplier re-mapping and re-testing. Retailers tend to move gradually, often starting with new suppliers. - **The book trade standardised on it.** The UK book trade uses TRADACOMS-based messages maintained for that industry by [BIC](https://bic.org.uk/), which publishes its own invoice specification. - **Retailers still publish TRADACOMS specs.** The John Lewis Partnership, for example, publishes a [TRADACOMS invoice specification](https://www.jlpsuppliers.com/supplier-finance-queries/new-connections/edi-tradacoms-invoice-specifications) on its supplier portal. Requirements differ by retailer, and many run TRADACOMS and EANCOM side by side. Check your customer's own guide: our UK pages for [Tesco](/edi-compliance/tesco), [Sainsbury's](/edi-compliance/sainsburys), [Asda](/edi-compliance/asda), [Morrisons](/edi-compliance/morrisons), [Ocado](/edi-compliance/ocado), [Waitrose](/edi-compliance/waitrose), [Marks & Spencer](/edi-compliance/marks-and-spencer), [Boots](/edi-compliance/boots) and the [Co-op](/edi-compliance/co-op) are a starting point. ## TRADACOMS syntax TRADACOMS uses the same separators as default EDIFACT, with one visible difference: the segment tag is followed by `=` instead of `+`. | Character | Role | |---|---| | `=` | Separates the segment tag from its data | | `+` | Separates data elements | | `:` | Separates components within an element | | `'` | Ends a segment | ``` EDIFACT: NAD+BY+5012345000008::9' TRADACOMS: CDT=5012345000008+HARBOUR LANE STORES LTD' ``` ### Specific segments, few qualifiers EDIFACT has one generic `NAD` segment and a qualifier for each party. TRADACOMS defines a separate segment for each purpose: `SDT` for supplier details, `CDT` for customer details, `CLO` for the customer's delivery location. Each field has a fixed position and a short mnemonic name in the specification, such as `SNAM` (supplier's name) or `QTYI` (invoiced quantity). Reading a TRADACOMS segment means counting `+` signs against the spec. ### Implied decimals TRADACOMS numbers carry no decimal mark. The specification of each field says how many decimal places are implied. BIC's [TRADACOMS trade invoice specification](https://bic.org.uk/wp-content/uploads/2023/01/WDO_UK-Trade-Invoice-TRADACOMS.pdf) shows how this works in the invoice file: | Field type | Format in the spec | Example | Means | |---|---|---|---| | Unit cost and extended line cost (`AUCT`, `LEXC`) | `9(10)V9(4)`: four implied decimals | `129900` | £12.99 | | VAT percentage (`VATP`) | `9(3)V9(3)`: three implied decimals | `17500` | 17.5% | | Money totals in the VAT sub-trailer and trailer | Two implied decimals | `4325` | £43.25 | The `V` marks where the decimal point would be. BIC also notes that all four decimal places should be sent on cost prices, padding with zeros. Implied decimals are where most TRADACOMS mapping bugs live: £6.50 sent as `650` in a four-decimal field is read as 6.5p. ### Dates and other conventions Dates are `YYMMDD` and times `HHMMSS`, so `261011:091500` is 11 October 2026 at 09:15:00. The UK VAT category codes in invoice files are single letters; the John Lewis spec lists `S` (standard), `Z` (zero), `X` (exempt) and `L` (lower rate). ## How a TRADACOMS transmission is built The biggest structural difference from EDIFACT is the **file**. In EDIFACT, each message stands alone. In TRADACOMS, a transmission contains files, and each file is a sequence of messages: a header message, one or more detail messages, and one or more trailer messages. Data common to every order or invoice is sent once in the header instead of being repeated. ``` STX start of transmission: sender, receiver, date, reference MHD 1 ORDHDR file header message TYP SDT CDT FIL MTR 6 segments MHD 2 ORDERS detail message: one order CLO ORD DIN OLD OLD OTR MTR 8 segments MHD 3 ORDERS detail message: another order ... MTR MHD 4 ORDTLR file trailer message OFT MTR 3 segments END end of transmission: 4 messages ``` Every message, whatever its role, is wrapped the same way: - **MHD** (message header) gives the message number within the transmission and the message type and version, for example `MHD=1+ORDHDR:9'`. - **MTR** (message trailer) gives the number of segments in the message, **counting MHD and MTR**. The whole transmission sits inside **STX** (start of transmission) and **END** (end of transmission), and `END` gives the number of messages. Optional **BAT** and **EOB** segments can group files into batches. Some partners also ask for a reconciliation message, `RSGRSG`, at the end of the transmission; John Lewis's spec pairs it with the syntax identifier `ANAA` in STX. ### The STX segment | Position | Field | Example | |---|---|---| | 1 | Syntax rules and version | `ANA:1` (or `ANAA:1` with a reconciliation message) | | 2 | Sender's code and name | `5012345000008:HARBOUR LANE STORES LTD` | | 3 | Recipient's code and name | `5098765000002:KESTREL VALLEY HOMEWARE` | | 4 | Date and time of transmission | `261011:091500` | | 5 | Sender's transmission reference | `000451` | | 6 | Recipient's transmission reference | Often left empty, or as the partner specifies | | 7 | Application reference | `ORDHDR`, `INVFIL`, or a test value such as John Lewis's `INVTES` | | 8 | Priority code | Usually not used | ### File types | File | Header | Detail | Trailer(s) | Direction | |---|---|---|---|---| | [Order](/guides/edi/tradacoms-ordhdr) | `ORDHDR` | `ORDERS` | `ORDTLR` | Customer to supplier | | Delivery notification | `DELHDR` | `DELIVR` | `DELTLR` | Supplier to customer | | [Delivery confirmation](/guides/edi/tradacoms-dlchdr) | `DLCHDR` | `DLCDET` | `DLCTLR` | Customer to supplier | | [Invoice](/guides/edi/tradacoms-invfil) | `INVFIL` | `INVOIC` | `VATTLR`, `INVTLR` | Supplier to customer | | [Credit note](/guides/edi/tradacoms-crehdr) | `CREHDR` | `CREDIT` | `VATTLR`, `CRETLR` | Supplier to customer | Product, price, stock, availability, payment and other files follow the same pattern. Our [TRADACOMS file types reference](/guides/edi/tradacoms-file-types) lists every one, grouped by business flow. ## Example 1: an order file with two orders The fictional retailer Harbour Lane Stores sends one order file to the fictional supplier Kestrel Valley Homeware, with an order for its York store and one for its Leeds store. Identifiers are made-up GS1-style numbers with valid check digits. | Segment | What it does | |---|---| | `STX=ANA:1+...` | Start of transmission: syntax, sender, recipient, date and time, reference, application reference `ORDHDR` | | `MHD=1+ORDHDR:9'` | Message 1 is the order file header, version 9 | | `TYP=0430+NEW-ORDERS'` | Transaction code 0430: new orders | | `SDT=5098765000002:KV001+...` | Supplier details: GLN, the customer's own code for the supplier, and name | | `CDT=5012345000008+...` | Customer details: GLN and name | | `FIL=451+1+261011'` | File generation number 451, version 1, file date | | `MTR=6'` | Six segments in the header message, MHD to MTR | | `CLO=5012345000114:0114+HARBOUR LANE YORK'` | Customer location: the store's GLN, the retailer's own store code, and its name | | `ORD=HL-PO-88240::261011'` | Customer's order number and order date | | `DIN=261016'` | Delivery instructions: the delivery date | | `OLD=1+5098765100016:KV-1001++:HL-310245+1+24+65000+++...` | Order line: line number, GTIN and supplier's code, customer's code, 1 consumer unit per traded unit, 24 ordered, cost price, description | | `OTR=3'` | Order trailer: three lines in this order | | `OFT=2'` | Order file trailer: two orders in the file | | `END=4'` | Four messages in the transmission | The cost price in each `OLD` (`OUCT`) is `65000`: £6.50 written with four implied decimals, the convention BIC's invoice spec uses for cost prices. Confirm the order file's number formats in your partner's spec before you rely on them. Three counts to check on every order file: each `MTR` matches the segments from its `MHD` to the `MTR` itself, `OTR` matches the `OLD` lines in each order, and `OFT` matches the number of `ORDERS` messages. `END` must equal the number of `MHD` segments. See the [TRADACOMS order file guide](/guides/edi/tradacoms-ordhdr) for every field. ## Example 2: an invoice file with mixed VAT Kestrel Valley invoices the York order. Two lines are standard-rated at 20%; the cookbook is zero-rated. The invoice file adds two things the order file does not have: VAT sub-totals inside each invoice (`STL`), and a VAT summary for the whole file (`VATTLR`). | Segment | What it does | Decoded | |---|---|---| | `TYP=0700+INVOICES'` | Transaction code 0700: invoices | | | `SDT=...++987654321'` | Supplier GLN, legal name, (no address), VAT number | VAT reg 987654321 | | `CLO=5012345000114'` | Delivery location the invoice relates to | York store | | `IRF=KV-INV-21004+261020+261020'` | Invoice number, invoice date, tax point date | 20 Oct 2026 | | `ODD=1+HL-PO-88240::261011+KV-DN-5521:261016'` | Order and delivery references: order number and date, delivery note and despatch date | | | `ILD=1+1+...+24+65000+1560000+S+20000+++...` | Line: 24 at £6.5000, extended cost £156.0000, VAT S at 20.000% | 24 x 6.50 = 156.00 | | `ILD=1+3+...+30+72500+2175000+Z+0+++...` | Line: 30 at £7.25, extended £217.50, zero-rated | | | `STL=1+S+20000+2+23700+...+4740++28440'` | VAT sub-trailer for 20%: 2 lines, £237.00 before VAT, £47.40 VAT, £284.40 payable | 237.00 x 20% = 47.40 | | `STL=2+Z+0+1+21750+...` | VAT sub-trailer for 0%: 1 line, £217.50 | | | `TLR=2+45450+...+4740++50190'` | Invoice trailer: 2 VAT rates, lines £454.50, VAT £47.40, payable £501.90 | 454.50 + 47.40 | | `VRS=1+S+20000+...` / `VRS=2+Z+0+...` | File VAT summary, one per rate used in the file | | | `TOT=45450+45450+4740+50190+50190+1'` | File totals: before VAT, after discount, VAT, payable twice, and 1 invoice | | | `RSG=KV000088+5012345000008'` | Reconciliation: repeats the STX reference and recipient | | | `END=5'` | Five messages | | The field positions follow the published BIC and John Lewis invoice specs: `ILD` runs line sequence, product codes, units per traded unit, quantity, unit cost (`AUCT`), extended cost (`LEXC`), VAT code (`VATC`), VAT rate (`VATP`), then description. `STL` and `TLR` leave discount and surcharge fields empty when there are none, which is why you see runs of `+++++`. The arithmetic has to hold at every level. Each `STL` totals the `ILD` lines at its rate. `TLR` totals the `STL` segments. Each `VRS` totals the `STL` segments at its rate across every invoice in the file, and `TOT` totals the `VRS` segments. For the full field list, see the [TRADACOMS invoice file guide](/guides/edi/tradacoms-invfil), and for credits, the [credit note file guide](/guides/edi/tradacoms-crehdr). ## How TRADACOMS maps to EANCOM The two standards carry the same business data in different shapes. The biggest shift is that file-level data in TRADACOMS (supplier, customer, VAT summary) has to appear inside every EANCOM message, because each EDIFACT message stands alone. | TRADACOMS | Purpose | EANCOM equivalent | |---|---|---| | `STX` / `END` | Transmission envelope | `UNB` / `UNZ` | | `MHD` / `MTR` | Message header and trailer | `UNH` / `UNT` | | `TYP` | Transaction type | `BGM` document code (`220` order, `380` invoice) | | `SDT` | Supplier details | `NAD+SU`, with `RFF+VA` for the VAT number | | `CDT` | Customer details | `NAD+BY` | | `CLO` | Customer delivery location | `NAD+DP` | | `FIL` | File generation number | No equivalent; `UNB` control reference is the closest | | `ORD` | Order number and date | `BGM` number and `DTM+137` | | `DIN` | Delivery date | `DTM+2` | | `OLD` | Order line | `LIN`, `PIA`, `IMD`, `QTY+21`, `PRI` | | `OTR` | Lines in an order | `CNT+2` | | `IRF` | Invoice number and dates | `BGM+380` and `DTM+137` | | `ODD` | Order and delivery references | `RFF+ON` and `RFF+DQ` with `DTM+171` | | `ILD` | Invoice line | `LIN`, `QTY+47`, `PRI`, `MOA+203`, `TAX` | | `STL` | VAT per rate in one invoice | Summary `TAX` with `MOA+125` and `MOA+124` | | `TLR` | Invoice totals | `MOA+79`, `MOA+176`, `MOA+86` | | `VATTLR` / `INVTLR` | File VAT summary and totals | None. Each INVOIC carries its own totals | | `OFT` / `TOT` count | Documents in the file | Message count in `UNZ` | Our [EDIFACT ORDERS guide](/guides/edi/edifact-orders) and [EDIFACT INVOIC guide](/guides/edi/edifact-invoic) show the EANCOM side of the same order and invoice. ## TRADACOMS vs EDIFACT | | TRADACOMS | EDIFACT / EANCOM | |---|---|---| | Origin | ANA (now GS1 UK), 1982 | UN/CEFACT; ISO 9735 syntax approved 1987 | | Status | No longer developed; GS1 UK support ended 2017 | Actively maintained (EANCOM by GS1) | | Scope | UK only, sterling and UK VAT | International, any currency and tax regime | | Interchange envelope | `STX` / `END` | `UNB` / `UNZ` | | Batch / group | `BAT` / `EOB` | `UNG` / `UNE` | | Message envelope | `MHD` / `MTR` | `UNH` / `UNT` | | Tag separator | `=` | `+` | | Structure | Files: header, detail and trailer messages | Self-contained messages | | Segments | Specific, one per purpose | Generic, distinguished by qualifiers | | Decimals | Implied, set per field | Explicit decimal point | | Dates | `YYMMDD` | `CCYYMMDD` with a format code | ### Message equivalents | Business document | TRADACOMS | EDIFACT | X12 | |---|---|---|---| | Purchase order | Order file (`ORDHDR`, `ORDERS`, `ORDTLR`) | [ORDERS](/guides/edi/edifact-orders) | [850](/guides/edi/850-purchase-order) | | Order acknowledgement | Acknowledgement of order file (`ACKHDR`) | [ORDRSP](/guides/edi/edifact-ordrsp) | [855](/guides/edi/855-purchase-order-acknowledgment) | | Delivery or ship notice | Delivery notification file (`DELHDR`) | [DESADV](/guides/edi/edifact-desadv) | [856](/guides/edi/856-ship-notice) | | Goods receipt | Delivery confirmation file (`DLCHDR`) | [RECADV](/guides/edi/edifact-recadv) | [861](/guides/edi/861-receiving-advice) | | Invoice | Invoice file (`INVFIL`) | [INVOIC](/guides/edi/edifact-invoic) | [810](/guides/edi/810-invoice) | | Credit note | Credit note file (`CREHDR`) | INVOIC with `BGM+381` | 810 credit or [812](/guides/edi/812-credit-debit-adjustment) | | Price list | Price information file (`PRIHDR`) | [PRICAT](/guides/edi/edifact-pricat) | [832](/guides/edi/832-price-sales-catalog) | Watch the names. TRADACOMS and EDIFACT both have messages called `ORDERS` and `INVOIC`, but they are different formats. A TRADACOMS `INVOIC` inside an invoice file cannot be read by an EDIFACT INVOIC parser. ## Moving from TRADACOMS to EANCOM 1. **Map business data, not segments.** A TRADACOMS order file and an EANCOM ORDERS carry the same order. Map both to your ERP's order model instead of converting one format into the other segment by segment. 2. **Expect one EDIFACT message per document.** Header data that TRADACOMS sends once per file is repeated in every EANCOM message, and the file-level VAT summary disappears. 3. **Recheck every number.** Implied decimals in TRADACOMS become explicit decimals in EANCOM. Quantity, price and VAT rate fields are where conversions go wrong. 4. **Re-agree VAT codes.** TRADACOMS uses `S`, `Z`, `X` and `L`. EANCOM's own list is `S`, `E` and `A`, with other codes set by national guidelines. Get the new codes from your customer. 5. **Keep GS1 identifiers.** Both standards use GLNs and GTINs, so your master data carries over. 6. **Run both in parallel** during cut-over and compare the orders and invoices that reach your ERP. OrderSync supports EDIFACT, EANCOM and TRADACOMS alongside X12, PDF, CSV and email, so you can run both formats with the same customer during a migration. ## Frequently Asked Questions ### Is TRADACOMS still used? Yes. GS1 UK stopped supporting it on 1 July 2017 and recommends EANCOM or GS1 XML for new users, but UK retailers and their suppliers still exchange orders, delivery notes and invoices in TRADACOMS, and the UK book trade has its own TRADACOMS-based messages. ### What is the difference between TRADACOMS and EDIFACT? TRADACOMS is a UK-only standard from 1982 that groups messages into files with header and trailer messages, uses `=` after the segment tag, sends numbers with implied decimals, and assumes sterling and UK VAT. EDIFACT is the international UN standard with self-contained messages, generic qualified segments, explicit decimals and any currency. EANCOM, the GS1 subset of EDIFACT, is the recommended replacement for TRADACOMS. ### What do STX and END mean in TRADACOMS? `STX` starts a transmission and identifies the syntax, sender, receiver, date and references. `END` closes it and states how many messages it contained. They do the job of `UNB` and `UNZ` in EDIFACT, or `ISA` and `IEA` in X12. ### What is ORDHDR in TRADACOMS? `ORDHDR` is the header message of a TRADACOMS order file. It carries data common to every order in the file, such as supplier and customer details and the file generation number. It is followed by one `ORDERS` message per order and an `ORDTLR` trailer. ### How do implied decimals work in TRADACOMS? Each numeric field has a fixed number of implied decimal places set by the specification. In the invoice file, BIC's spec gives unit and line costs four implied decimals (`129900` is £12.99), VAT rates three (`17500` is 17.5%) and VAT sub-totals two (`4325` is £43.25). Always take the format from your partner's spec. ### What is VATTLR? `VATTLR` is the file VAT trailer in a TRADACOMS invoice or credit note file. It comes after the last invoice and holds one `VRS` segment per VAT rate used anywhere in the file, totalling the amounts before VAT, the VAT, and the amounts payable. ### Can an EDI inspector read TRADACOMS? TRADACOMS shares separators with EDIFACT but has a different envelope and file structure, so a parser needs to support it explicitly. The free [EDIFACT inspector](/edifact-inspector) reads both and checks the MTR and END counts; for X12, use the [EDI inspector](/edi-inspector). ## Related guides - **[EDIFACT explained](/guides/edi/edifact)**: the international standard TRADACOMS is being replaced by - **[TRADACOMS file types](/guides/edi/tradacoms-file-types)**: every TRADACOMS file, grouped by business flow - **[TRADACOMS order file](/guides/edi/tradacoms-ordhdr)**, **[invoice file](/guides/edi/tradacoms-invfil)**, **[credit note file](/guides/edi/tradacoms-crehdr)** and **[delivery confirmation](/guides/edi/tradacoms-dlchdr)**: field-by-field guides - **[EDIFACT ORDERS](/guides/edi/edifact-orders)** and **[EDIFACT INVOIC](/guides/edi/edifact-invoic)**: the EANCOM equivalents - **[EDIFACT message types](/guides/edi/edifact-message-types)**: the EDIFACT catalogue for comparison ## Sources - [Ending support for TRADACOMS](https://www.gs1uk.org/insights/news/ending-support-for-tradacoms), GS1 UK - [How can GS1 UK support me with TRADACOMS?](https://www.gs1uk.org/knowledge-hub/standards/can-gs1-uk-support-me-with-tradacoms), GS1 UK - [EDI guidance for new users](https://www.gs1uk.org/sites/default/files/EDI_guidance_for_new_users.pdf), GS1 UK - [Trade Invoice TRADACOMS specification](https://bic.org.uk/wp-content/uploads/2023/01/WDO_UK-Trade-Invoice-TRADACOMS.pdf), BIC - [EDI TRADACOMS invoice specifications](https://www.jlpsuppliers.com/supplier-finance-queries/new-connections/edi-tradacoms-invoice-specifications), John Lewis Partnership - [Purchase order components for TRADACOMS](https://www.ibm.com/docs/he/SS6V3G_5.3.1/com.ibm.help.gswformsinttutprint.doc/GSW_Purchase_Order_Components_for_TRAD.html), IBM - [TRADACOMS](https://en.wikipedia.org/wiki/TRADACOMS), Wikipedia Check a TRADACOMS or EDIFACT file in the free [EDIFACT inspector](/edifact-inspector) before you send it to your customer. --- # TRADACOMS File Types: All 37 Explained Source: https://ordersync.io/guides/edi/tradacoms-file-types > Every TRADACOMS file type in plain English: ORDHDR, INVFIL, CREHDR, DLCHDR and the rest, with file structure, sector, and EANCOM and X12 equivalents. TRADACOMS defines 25 core file types, plus industry variants for the book trade, news trade, textiles and home shopping. Each file is a header message, repeating detail messages and a trailer. Most UK suppliers only exchange five: ORDHDR orders, DELHDR delivery notifications, DLCHDR delivery confirmations, INVFIL invoices and CREHDR credit notes. Most lists of TRADACOMS file types are a bare table of codes. That is no help when a retailer's onboarding pack says "we will send ORDHDR and expect INVFIL and CREHDR back" and you need to know what each one is, whether you have to support it, and what it maps to in your system. This page covers every file type you are likely to see listed, in plain English, grouped by what it does in the trading cycle. Where a type has no public specification we say so rather than guess. If TRADACOMS itself is new to you, start with [TRADACOMS explained](/guides/edi/tradacoms). ## How to read a TRADACOMS file type **A TRADACOMS file type is a business document, such as an order or an invoice, sent as a file of messages: a header message, one or more detail messages, and a trailer message.** The file type takes its name from the header, which is why an order file is called `ORDHDR` even though each individual order inside it is an `ORDERS` message. Take the invoice file as an example: | Message | Role | Where it sits | |---|---|---| | `INVFIL` | File header: supplier, customer, file generation number | First | | `INVOIC` | One invoice, with its lines | One message per invoice | | `VATTLR` | VAT summary by VAT rate | After the invoices | | `INVTLR` | File trailer: totals for the whole file | Last | Each message is wrapped in `MHD` (message header) and `MTR` (message trailer) segments, and the whole transmission is wrapped in `STX` and `END`. The header names the file type in the last element of `STX`, so the first line of a file tells you what you are dealing with: ``` STX=ANA:1+5012345000008:HARBOUR LANE STORES+5098765000002:KESTREL VALLEY+261012:0915+000451++ORDHDR' ``` Three things trip people up when matching a code to a file type: - **Some lists name the detail message, not the header.** The stock snapshot file is `SNPHDR` in the ANA layout, but most lists show it as `SNPSTS`, its detail message. The payment order file is `PAYHDR` with `PAYINF` details, yet lists such as OpenText's show `PAYORD`. - **The 25 core files are not the whole story.** The ANA, now GS1 UK, defined the core retail set. The book trade, maintained by BIC, and other industries added their own files with the same syntax. - **No new files have been added since the 1990s.** GS1 UK [ended support for TRADACOMS in 2017](https://www.gs1uk.org/insights/news/ending-support-for-tradacoms). What exists now is what you will see. ## The five you will actually meet A UK supplier trading with a grocer or high street retailer over TRADACOMS usually exchanges these five files and nothing else. Get them right and you have covered the order-to-cash cycle. | File | What it is | Direction | You need to | |---|---|---|---| | [`ORDHDR`](/guides/edi/tradacoms-ordhdr) | Order | Retailer to you | Read it and load it into your ERP | | `DELHDR` | Delivery notification | You to retailer | Send it before the goods arrive, if the retailer asks for it | | [`DLCHDR`](/guides/edi/tradacoms-dlchdr) | Delivery confirmation | Retailer to you | Check it against what you shipped before you invoice | | [`INVFIL`](/guides/edi/tradacoms-invfil) | Invoice | You to retailer | Send it with VAT broken down by rate | | [`CREHDR`](/guides/edi/tradacoms-crehdr) | Credit note | You to retailer | Send it for returns, shortages and price corrections | Some partners add an `ACKHDR` order acknowledgement or send an `SRMHDR` remittance, and a few still exchange `PRIHDR` price files. Everything else on this page is specialist, sector-specific or effectively retired. The [Tesco](/edi-compliance/tesco), [Sainsbury's](/edi-compliance/sainsburys), [Asda](/edi-compliance/asda) and [Co-op](/edi-compliance/co-op) pages cover what each retailer asks for. ## Every TRADACOMS file type Grouped by business flow. "Rarely used" means a type that is retired, sector-specific or has no public specification. If a partner asks for one of those, ask them for their implementation guide before you quote for the work. ## TRADACOMS, EANCOM and X12 side by side If you trade with retailers in more than one standard, this is how the common flows line up. EANCOM is the GS1 subset of EDIFACT that UK retail is gradually moving to; X12 is the North American standard. | Business document | TRADACOMS | EANCOM (EDIFACT) | X12 | |---|---|---|---| | Purchase order | `ORDHDR` | [`ORDERS`](/guides/edi/edifact-orders) | [850](/guides/edi/850-purchase-order) | | Order acknowledgement | `ACKHDR` | [`ORDRSP`](/guides/edi/edifact-ordrsp) | [855](/guides/edi/855-purchase-order-acknowledgment) | | Ship notice (ASN) | `DELHDR` | [`DESADV`](/guides/edi/edifact-desadv) | [856](/guides/edi/856-ship-notice) | | Receipt confirmation | `DLCHDR` | `RECADV` | [861](/guides/edi/861-receiving-advice) | | Invoice | `INVFIL` | [`INVOIC`](/guides/edi/edifact-invoic) | [810](/guides/edi/810-invoice) | | Credit note | `CREHDR` | `INVOIC` with document code 381 | 810 or 812, depending on the partner | | Remittance | `SRMHDR` | `REMADV` | [820](/guides/edi/820-payment-order) | | Price list | `PRIHDR` | `PRICAT` | [832](/guides/edi/832-price-sales-catalog) | | Stock report | `SNPSTS` | `INVRPT` | [846](/guides/edi/846-inventory-inquiry) | | Location master data | `CUSHDR` | `PARTIN` | No common equivalent | | Free text | `GENHDR` | `GENRAL` | No common equivalent | The mapping is by business purpose, not field for field. TRADACOMS assumes sterling and UK VAT and splits header data out into its own message, so converting a TRADACOMS invoice into an EANCOM one is a remap, not a rename. ## Order to cash in TRADACOMS Here is how the core files fit together for one order from a UK retailer: 1. **The retailer sends an `ORDHDR` file.** It can hold many orders, one `ORDERS` message each, often for different stores or depots identified by location code. 2. **You confirm the order, if asked.** Some retailers want an `ACKHDR` back; many do not. 3. **You ship and send a `DELHDR`.** It tells the depot what is arriving against which orders. 4. **The retailer sends a `DLCHDR`.** This is what it says it received. Differences here are the usual cause of invoice queries later. 5. **You invoice with an `INVFIL`.** Invoice what the retailer will accept: if the delivery confirmation shows a shortage, invoice the received quantity or expect to raise a credit. 6. **You credit with a `CREHDR` where needed.** Returns, shortages and price corrections all go here. 7. **The retailer pays and may send an `SRMHDR`.** It lists which invoices and credits the payment covers. The same cycle in EDIFACT is ORDERS, ORDRSP, DESADV, RECADV, INVOIC and REMADV. See [EDIFACT message types](/guides/edi/edifact-message-types) for the full EANCOM list. ## Frequently Asked Questions ### How many TRADACOMS file types are there? The core ANA standard defines 25 transaction files, from Product Information to Utility Bill. Vendor lists usually show more, around 37, because they add the book trade files maintained by BIC and other industry variants such as home shopping and textiles. ### What is the difference between ORDHDR and ORDERS? `ORDHDR` is the header message of the order file and the name of the file type. `ORDERS` is the detail message inside it, one per order. A file with ten orders has one `ORDHDR`, ten `ORDERS` messages and one `ORDTLR` trailer. ### Which TRADACOMS files does a UK supplier need? Usually `ORDHDR` in, and `INVFIL` and `CREHDR` out. Many retailers also want a `DELHDR` delivery notification and send a `DLCHDR` delivery confirmation. Your retailer's EDI specification is the final word, so check it before building anything else. ### Is TRADACOMS the same as EANCOM? No. Both use similar separators, but TRADACOMS is a UK-only standard from 1982 that groups messages into files, while EANCOM is the GS1 subset of the international EDIFACT standard with self-contained messages. GS1 UK now recommends EANCOM or GS1 XML for new implementations. ### Why can't I find a specification for SORDET, RIFHDR or DYEHDR? They are not in the core ANA standard. They come from industry variants that were documented for their own sectors and never widely published. If a partner asks for one, ask them for their file layout. ### Is SNPSTS the same as SNPHDR? They belong to the same file. In the ANA layout the stock snapshot file starts with an `SNPHDR` header, followed by `SNPSTS` detail messages and an `SNPTLR` trailer. Lists that show `SNPSTS` are naming the detail message. ### Can I convert TRADACOMS to EDIFACT or X12? Yes, by mapping each file to its business equivalent, as in the table above. It is a remap rather than a rename: headers, VAT handling and location codes differ. OrderSync reads TRADACOMS, EDIFACT and X12 and maps them all into the same order record in your ERP. ## Related guides - **[TRADACOMS explained](/guides/edi/tradacoms)**: syntax, envelope and an annotated order file - **[EDIFACT message types](/guides/edi/edifact-message-types)**: the full EANCOM message list - **[EDIFACT explained](/guides/edi/edifact)**: the international standard replacing TRADACOMS - **UK retailer requirements**: [Morrisons](/edi-compliance/morrisons), [Waitrose](/edi-compliance/waitrose), [Ocado](/edi-compliance/ocado), [Marks & Spencer](/edi-compliance/marks-and-spencer), [Boots](/edi-compliance/boots) ## Sources - [TRADACOMS](https://en.wikipedia.org/wiki/TRADACOMS), Wikipedia: the 25 core transaction files and industry variants - [Ending support for TRADACOMS](https://www.gs1uk.org/insights/news/ending-support-for-tradacoms), GS1 UK - [Tradacoms EDI document standard](https://www.edibasics.com/edi-resources/document-standards/tradacoms/), EDI Basics (OpenText): the application reference list - [EDI implementation for the book trade](https://bic.org.uk/resources/edi-implementation-for-the-book-trade), BIC - [TRADACOMS EDI Connector](https://docs.mulesoft.com/tradacoms-edi-connector/latest), MuleSoft: supported file and detail message names - [TRADACOMS messages list](https://arc.cdata.com/edi/standards/tradacoms), CData Arc Check any TRADACOMS or EDIFACT file in the free [EDIFACT inspector](/edifact-inspector). If you are taking on a UK retailer and want TRADACOMS orders flowing into your ERP without a translator in between, [book an intro call](/book). --- # Do You Need a Peppol Access Point? UK Costs 2026 Source: https://ordersync.io/guides/e-invoicing/do-i-need-a-peppol-access-point > Most UK businesses do not need a Peppol access point yet. Who does today, what changes in 2029, what it costs, and how to choose and switch providers. Most UK businesses do not need a Peppol access point yet. You need one today if you supply NHS Supply Chain, a customer demands Peppol invoices, or you invoice businesses in Belgium. From April 2029 every business issuing B2B VAT invoices needs a route onto Peppol, usually included in accounting software or bought from a provider. An access point is your connection to the Peppol network. It is the part that sends your invoices to your customer's access point and receives your suppliers' invoices for you. You almost never run one yourself. You get one through your accounting software or a service provider, the same way you get email through a provider rather than running a mail server. The question most UK businesses are really asking is when, not whether. This guide covers who needs one now, what changes in 2029, what it costs, and the contract terms that matter. Prices and counts were checked on 19 and 20 October 2026. ## Who needs an access point, and when | Situation | Need one now? | Why | | --- | --- | --- | | Supplier to NHS Supply Chain | Yes | NHS Supply Chain requires suppliers to invoice over Peppol, with GS1 GLNs | | Supplier to an NHS trust | Possibly | Depends on the trust and contract | | Customer asks for Peppol invoices | Yes, commercially | A buyer can make it a contract term | | Invoicing businesses in Belgium | Usually | Belgian businesses must exchange B2B e-invoices over Peppol since January 2026 | | Supplier to other UK public bodies | Not required | Public bodies must accept EN 16931 invoices, but suppliers are not required to send them | | Any VAT-registered UK business invoicing other businesses | From April 2029 | The UK mandate covers all B2B and B2G VAT invoices | | Selling only to consumers | No | B2C invoices are outside the mandate | The 2029 date is announced policy, not yet law. Phasing, the UK invoice specification and any provider accreditation are expected in the roadmap due with the Budget on 28 October 2026. Our guide to [what the Budget 2026 roadmap settles](/guides/e-invoicing/uk-e-invoicing-roadmap-budget-2026) covers each open question. ### Does the UK mandate require a certified access point? Not in so many words. The government's position is that businesses "exchange e-invoices directly through their chosen software providers", with Peppol as the "core interoperability network". Nothing published requires a UK-accredited provider. In practice, sending an invoice over Peppol already requires an access point certified by OpenPeppol, because only certified access points hold the network certificates. Whether any non-Peppol route survives, such as existing EDI, is one of the questions the roadmap is expected to answer. ## The parts of Peppol, in plain terms | Term | What it is | Do you deal with it? | | --- | --- | --- | | Access point | The service that sends and receives your Peppol documents | Through your provider | | SMP (Service Metadata Publisher) | Publishes which documents you can receive and where to send them | Through your provider. Needed to receive | | SML (Service Metadata Locator) | The central lookup that points to each business's SMP. Run by OpenPeppol | No | | Peppol Directory | A free public search of registered businesses. Listing is optional | Yes, to check customers | | Peppol ID (participant ID) | Your address on the network: a scheme code plus your identifier | Yes, you choose it | The four-corner model in one line: you (corner 1) send through your access point (corner 2), which looks up your customer's SMP and delivers to their access point (corner 3), which hands the invoice to your customer's system (corner 4). ## Which Peppol ID to use Your Peppol ID is a scheme code followed by an identifier. For UK businesses the options in the current Peppol code list are: | Scheme code | Identifier | Format | Use it if | | --- | --- | --- | --- | | 9932 | UK VAT number | 9932:GB123456789 | You are VAT registered. The default choice | | 0088 | GS1 Global Location Number | 0088:5012345000008 | You use GS1 identifiers, or supply the NHS | | 0060 | D-U-N-S number | 0060:123456789 | A customer or group policy requires it | There is no Peppol scheme for Companies House numbers or UTRs. Some published guides suggest registering under one, or show example IDs using another country's scheme code. Neither will route. Code 9914 is Austrian VAT, not UK. If you are not VAT registered you may struggle to register. Xero, for example, only registers VAT-registered UK businesses to receive. Since the mandate covers VAT invoices, most businesses without a VAT number are outside it anyway. ## Three ways to get an access point ### 1. Through your accounting software The cheapest route, if your software offers it. | Software | Peppol in the UK | | --- | --- | | Xero | Included. Free registration, send and receive, VAT-registered businesses only | | Odoo | Included. Odoo is a certified access point and SMP | | Business Central | Format built in. You contract separately with a supported access point | | NetSuite | Through the Electronic Business SuiteApp, paid licence | | Sage | No UK product yet, though Sage is a certified access point. See [Sage and Peppol in the UK](/guides/e-invoicing/sage-peppol-uk) | | QuickBooks Online UK | No native support yet | ### 2. Through a service provider For software without Peppol, or for businesses that want one connection across several systems. Published prices, as checked on 19 October 2026: | Provider | Published price | | --- | --- | | Qvalia | 9 euros a month for 25 messages, 39 euros for 100, from 99 euros for 1,000. Overage 1 euro a message | | B2Brouter | Free for 24 transactions a year, 110 euros a year Professional, 300 euros a year Business | | Paylists | From £5 a month, no per-invoice charges | | Transalis | £450 a licence a year, listed on the government's G-Cloud 14 framework | | Celtrino | From £750 a year for a portal and 3 trading partners, £1,500 a year with SFTP | | Pagero | Free for 36 documents a year, then quoted | | Tradeshift | Seller pays from 0.80 to 0.30 US dollars an invoice, first 30 a quarter free | Across about 80 providers, a September 2026 market survey found prices from nothing up to about 1 US dollar a document, with most between 0.08 and 0.50. For a typical UK SME sending a few hundred invoices a month, expect tens of pounds a month, not hundreds. Integration with an older on-premise system is where the real cost sits, not the access point. ### 3. Become an access point yourself Only worth it if Peppol transport is part of your product. OpenPeppol fees for new members: | Role | Sign-up fee | Annual fee | Certification fee, yearly | | --- | --- | --- | --- | | Access point and SMP | 1,800 to 5,400 euros | 2,750 to 8,250 euros | 2,500 euros | | Access point only | 1,050 to 2,950 euros | 1,850 to 5,500 euros | 1,500 euros | On top of the fees, certified providers must hold **ISO 27001 by 1 October 2027**, a requirement OpenPeppol's managing committee approved in June 2026. You also need to pass the Peppol testbed. Expect a couple of months at least. You do not need to be an OpenPeppol member to use Peppol as a buyer or supplier. ## UK-based certified providers OpenPeppol's register, updated 19 October 2026, lists **18 certified providers with a UK legal address**: - **Access point and SMP:** BluJay Solutions, Cegedim e-business, Clever Dynamics, Commerce-Connections, Crimson Partners, Data Interchange, DXC, Integrate Digital, Open ECX, Supply Lens, Transalis. - **Access point only:** Avalara Europe, EDI Plus, First B2B, GHX UK, Lovat Compliance, OneAdvanced, Sage. The register records legal residence, not where a provider operates. Many providers based elsewhere, including Pagero, Storecove, Qvalia and Xero's Tickstar, serve UK businesses. Some companies sell Peppol connectivity under their own name using another provider's access point. That is normal, but it means the company you contract with may not be on the register. Ask whose access point you are on. ## Switching providers and avoiding lock-in Your Peppol ID belongs to you, not the provider. Switching works like this: 1. Your current provider generates a **migration key** for your Peppol ID. 2. You give the key to your new provider. 3. The new provider uses it to move your registration, and from that point invoices to your ID route to the new provider. The ID itself does not change, so customers do not need to update anything. Each Peppol ID can only be registered with one SMP at a time, so you cannot receive the same documents through two providers on one ID. The risk is a slow handover. If the old provider is slow to issue the key, or the key expires, the move stalls. We could not find a published rule that forces a provider to hand over a key within a set time, so **put it in your contract**. ## How to check if a company is on Peppol Enter the company's VAT number, GLN or Peppol ID in our free [Peppol Lookup](/tools/peppol-lookup). It checks the network's own records and shows which documents the company can receive, including purchase orders. You can also search the [Peppol Directory](https://directory.peppol.eu) by company name, VAT number or country. Two things to know: - **Listing is optional.** A business can be registered to receive without appearing in the Directory, so a missing entry is not proof they are not on Peppol. For a definitive check on one ID, use OpenPeppol's [Peppol Lookup Service](https://lookup.peppol.org/), which checks whether a participant is currently published on the network rather than relying on the Directory's delayed updates. - **UK numbers are rising fast.** On 20 October 2026 the Directory held about **22,650 entries for the UK**, almost all under the VAT scheme 9932 and almost all registered during 2026. Bulk registration through accounting software accounts for most of them. For a business with hundreds of customers, ask your provider for a bulk lookup against your customer list. It will show which customers can already receive Peppol invoices, and which VAT numbers in your records are wrong. ## Questions to ask a provider 1. **Are you certified as an access point and an SMP, and do you hold ISO 27001?** If not, whose access point do you use? 2. **Which Peppol ID will you register for us, and in whose name?** It should be your VAT number or GLN, registered to your company. 3. **How quickly will you issue a migration key if we leave?** Get it in the contract. 4. **What validation do you run before sending,** and how do rejections reach the person who raised the invoice? 5. **What is your plan for PINT UK,** the UK invoice specification being drafted by the OpenPeppol UK Working Group? 6. **How do received invoices reach our finance system?** As UBL XML, through an API, or only as a PDF copy? 7. **Do you handle credit notes and self-billing?** 8. **For NHS suppliers: do you support purchase orders, despatch advice and GLN identifiers,** not just invoices? 9. **Pricing per document in each direction,** minimums, and what happens when you go over. 10. **Archiving period and where data is stored.** ## How long it takes Bundled software registration takes minutes. Xero says "a few minutes". A standalone provider with a web portal is usually a few days. Connecting an ERP through an API is a few weeks, most of it spent on mapping and testing. These are vendor figures. Leave more time for an older on-premise system. ## What an access point will not fix An access point delivers the invoice. It does not make the invoice right. The most common reason a valid Peppol invoice still fails at the customer's end is that it does not match the purchase order: the wrong PO number, quantities or prices. Peppol requires a buyer reference or order reference on every invoice, and the customer's system matches on it. For most UK suppliers those purchase orders still arrive by email as PDFs and spreadsheets and are keyed in by hand. [OrderSync](/) reads them and creates the sales order in your ERP with the customer's PO reference captured exactly, so the invoice built from that order quotes it correctly. If your orders arrive as EDI, the free [EDI Inspector](/edi-inspector) will show you what is in them. We set out the gap in [Peppol solved the invoice, nobody solved the order](/blog/peppol-solved-the-invoice-not-the-order). ## Sources - [Peppol certified service providers](https://peppol.org/members/peppol-certified-service-providers/), OpenPeppol, list updated 19 October 2026 - [OpenPeppol membership fees](https://peppol.org/join/fees/), OpenPeppol - [ISO 27001 requirement for service providers](https://openpeppol.atlassian.net/wiki/spaces/Security/pages/5232230408), OpenPeppol - [Peppol code lists, version 9.7](https://docs.peppol.eu/edelivery/codelists/), OpenPeppol, 2 July 2026 - [Peppol Directory](https://peppol.org/tools-support/peppol-directory/), OpenPeppol - [Promoting electronic invoicing across UK businesses and the public sector: consultation response](https://www.gov.uk/government/consultations/promoting-electronic-invoicing-across-uk-businesses-and-the-public-sector/outcome/promoting-electronic-invoicing-across-uk-businesses-and-the-public-sector-consultation-response), HMRC and Department for Business and Trade, 26 November 2025 - [Tax Update 2026: simplification, modernisation and fairness](https://www.gov.uk/government/publications/summary-of-tax-update-2026-simplification-modernisation-and-fairness/tax-update-2026-simplification-modernisation-and-fairness-summary), HM Treasury, 23 June 2026 - [England NHS country profile](https://peppol.org/learn-more/country-profiles/england-nhs/), OpenPeppol - [Electronic invoicing FAQ for Business Central](https://learn.microsoft.com/en-us/dynamics365/business-central/faq-electronic-invoicing), Microsoft Learn - [Peppol Lookup Service](https://peppol.org/peppol-lookup-service-is-now-available/), OpenPeppol - [Paylists UK e-invoicing software](https://paylists.com/uk/en/e-invoicing-software/) and [Transalis eInvoice and Peppol, G-Cloud 14](https://www.applytosupply.digitalmarketplace.service.gov.uk/g-cloud/services/328294112934625), checked 20 October 2026 - [Qvalia pricing](https://www.qvalia.com/pricing/) and [B2Brouter prices](https://www.b2brouter.net/global/prices/), checked 19 October 2026 ## Related reading - [Peppol in the UK: access points, Peppol IDs and the NHS](/guides/e-invoicing/peppol-uk) - [UK e-invoicing mandate 2029](/guides/e-invoicing/uk-e-invoicing-mandate-2029) - [UK e-invoicing roadmap: what Budget 2026 settles](/guides/e-invoicing/uk-e-invoicing-roadmap-budget-2026) - [Sage and Peppol in the UK](/guides/e-invoicing/sage-peppol-uk) - [Does your ERP support Peppol?](/guides/e-invoicing/does-your-erp-support-peppol) --- # Sage E-Invoicing and Peppol UK: 50, 200, Intacct Source: https://ordersync.io/guides/e-invoicing/sage-peppol-uk > No UK Sage product sends Peppol e-invoices natively yet. What Sage 50, Sage 200, Intacct and X3 support today, what Sage has said, and your options before 2029. As of October 2026, no UK Sage product sends or receives Peppol e-invoices natively. Sage is a certified Peppol access point and has built e-invoicing into its French products at no extra cost, but has announced no UK product or date. Sage 50 and Sage 200 users who need Peppol now use a third-party connector. Sage matters more to the UK mandate than any other software company. In HMRC's own survey of 800 small and medium-sized businesses, published in March 2026, **48% used Sage**. Whatever Sage ships, and when, decides how hard 2029 is for roughly half of UK SMEs. This guide sets out what each Sage product supports today, what Sage has said in public, and what you can do if you cannot wait. Every claim is dated, because this will change. We checked Sage's documentation, release notes and the OpenPeppol registers on 19 October 2026. ## Sage product by product | Product | UK Peppol today | What exists elsewhere | Notes | | --- | --- | --- | --- | | Sage 50 Accounts (UK) | No native support found | France: e-invoicing built in, no extra cost | No UK help article on Peppol or e-invoicing | | Sage 200 Standard and Professional | No native support found | None documented | Third-party connectors exist. Help covers emailed PDF invoices only | | Sage Intacct | No UK feature | Germany 2025 R4, France 2026 R3 | UK AP Automation captures invoices, not Peppol | | Sage X3 | UK not covered | France and Spain via Sage Network, Belgium via external Peppol solution | X3 e-invoicing pack announcements cover France | | Sage Accounting (cloud) | No UK feature found | France: built in | Sage UK expects an automatic update for cloud products | The pattern is clear. Sage has built e-invoicing where a mandate is already live, starting with France, and not yet where it is three years away. ## What Sage has built in other countries The UK picture looks thin, but the capability exists inside Sage. - **Sage is a certified Peppol access point.** OpenPeppol's register of certified service providers lists **Sage Global Services Ltd**, UK based, as access point certified. Sage has not announced a UK product built on it. - **France.** Sage is registered as an approved platform (plateforme agréée) for the French mandate. Sage France says the platform is "already integrated into all Sage software, at no extra cost", naming Sage 50, Sage 100, Sage Intacct, Sage Active and Sage FRP 1000. - **Belgium.** Sage Belgium says all of its invoicing software is already connected to Peppol. Sage X3's own documentation for Belgium describes an external solution for inbound Peppol, so check the specific product. - **Germany.** Sage Intacct added German e-invoicing in release 2025 R4, using the ZUGFeRD format of a PDF with embedded XML. - **Singapore.** Sage 300 is Peppol-ready for the InvoiceNow network, working through a third-party access point. The Sage Network developer documentation lists only French routes today and says "the list of access points will grow as we add additional routes such as the peppol for cross border connections." ## What Sage has said about the UK Sage has commented on the policy. It has not committed to a UK product date. - **November 2025, Budget blog.** "For businesses using cloud accounting software, this will be an automated feature update that will arrive well ahead of the deadline." This is a general statement about cloud software, not a dated Sage product commitment. - **2025, policy paper on e-invoicing.** "ERPs like Sage will move to embedding e-invoicing… removing the cost to comply. For example Sage will integrate e-invoicing compliance into all its solutions in France at no extra cost." - **September 2026, policy report.** HMRC's choice of Peppol "has given software providers the clarity to begin technical planning, but important questions remain open." Sage asked for the roadmap to set out final technical standards, the design of Peppol accreditation, and how businesses will be identified on the network. - **Ireland, community forum, mid 2026.** A Sage UK and Ireland staff reply said Sage could not yet confirm whether structured e-invoicing would be included in existing subscriptions, or the timelines. Reading those together: Sage intends to build it, has the network infrastructure, and is waiting for the same answers as everyone else. Those answers are due in the [Budget 2026 roadmap](/guides/e-invoicing/uk-e-invoicing-roadmap-budget-2026). The France precedent, built into existing products at no extra cost, is the most useful guide to what Sage may do in the UK. ## The on-premise question Sage's "automated feature update" line is about cloud software. Many UK mid-market businesses run Sage 200 Professional on their own servers, or Sage 50 on a desktop several versions behind. Those installations only get new features when they are upgraded, and some carry customisations that make upgrades a project in their own right. If that describes your setup, plan for one of two things before 2029: an upgrade to whichever version Sage ships with UK e-invoicing, or a connector that works with the version you have. Both take time to test. Neither should be left to early 2029. ## Your options today ### 1. Wait for Sage Reasonable for most Sage 50 and Sage Accounting users with no customer asking for Peppol yet. Use the time to fix your data (see below). Revisit after the roadmap on 28 October 2026 and after Sage's next UK announcement. ### 2. Use a third-party connector Needed now if you supply NHS Supply Chain, which already requires its suppliers to invoice over Peppol, or if a large customer is asking. Connectors take invoices out of Sage, convert them to Peppol BIS Billing 3.0 and send them through an access point. The main patterns: | Pattern | How it works | Fits | | --- | --- | --- | | Folder or CSV export | Sage exports invoices to a folder, the connector picks them up | Sage 50, older Sage 200 versions | | Desktop connector | A service on your server reads the Sage database directly | Sage 50 and Sage 200 on-premise | | Sage 200 API | The connector calls the Sage 200 REST API | Sage 200 Standard, and Professional from Spring 2018 with partner setup | | Inbound posting | Received Peppol invoices are posted to the purchase ledger | Any, if the connector supports receiving | Vendors on the Sage UK Marketplace and elsewhere advertise Sage 50 and Sage 200 Peppol connectors, with published prices from around £19 a month for low volumes. Some describe themselves as Peppol access points but do not appear under that name on OpenPeppol's register, which usually means they resell another provider's access point. That is fine, but ask whose it is. ### 3. Move to a system with Peppol built in Not worth doing for the mandate alone. If you are already reviewing your finance system, it is a fair question to include. See the comparison below. ## Questions to ask a Sage connector provider 1. **Which access point do you use, and is it on OpenPeppol's certified list?** 2. **Which Sage versions are supported?** Name your version and get a yes or no. 3. **Do you send credit notes as well as invoices?** A credit note is a separate Peppol document type. Some connectors only do invoices. 4. **Can you receive, and post into the purchase ledger?** The first UK obligation may be to receive. See our [roadmap guide](/guides/e-invoicing/uk-e-invoicing-roadmap-budget-2026). 5. **What happens when an invoice fails validation?** You want the error back in front of the person who raised the invoice, not in a portal nobody checks. 6. **Will you support PINT UK, and by when?** The UK specification is still in draft. 7. **Can we take our Peppol ID with us if we leave?** Ask how migration works before you register. Our guide to [whether you need a Peppol access point](/guides/e-invoicing/do-i-need-a-peppol-access-point) covers costs and contracts in more detail. ## Get your Sage data ready now This work pays off whichever route you choose, and it is the part most businesses leave too late. - **Customer VAT numbers.** Peppol routes UK businesses on their VAT number (scheme 9932) or a GS1 GLN (scheme 0088). Every customer record without a valid VAT number will fail at routing. Do not put a Companies House number in the VAT field. The [VAT number checker](/tools/vat-number-checker) takes a CSV export of your customer list, and the [EORI checker](/tools/eori-checker) covers customs numbers for import and export accounts. - **Customer order numbers.** Every Peppol invoice must carry a buyer reference or purchase order reference. If your team keys the customer's PO number into the order or invoice inconsistently, fix the process now. This is the field the customer's system matches on. - **VAT codes per line.** Zero-rated, exempt and reverse charge lines need the right category code. Check that your Sage tax codes map cleanly. - **Every invoice route.** List invoices raised outside Sage: from portals, a billing tool, or self-billing by customers. Each needs a structured route. ## Other UK finance systems For comparison, as of October 2026: | System | UK Peppol today | | --- | --- | | Xero | Yes. Send and receive, free registration for VAT-registered businesses | | Odoo | Yes. Odoo is an access point, registration free, UK eligible | | Microsoft Dynamics 365 Business Central | Peppol BIS 3.0 format built in, delivery through a contracted partner access point | | NetSuite | Yes, through the Electronic Business SuiteApp and a paid licence | | QuickBooks Online UK | No native support. Third-party app needed | | FreeAgent | E-invoicing on the roadmap, no date | | Access, Pegasus Opera, IRIS | No public Peppol evidence found | Our [ERP Peppol support guide](/guides/e-invoicing/does-your-erp-support-peppol) covers European coverage for the larger systems. ## The orders behind the invoices E-invoicing fixes the format of the invoice. It does nothing for the purchase orders the invoice is matched against, because a PO creates no VAT event and sits outside the mandate. For most Sage users those orders still arrive as PDFs and emails and are keyed into Sage by hand, and the customer's PO number is exactly the field that gets mistyped. [OrderSync](/) reads purchase orders from email, PDF, spreadsheets and EDI and creates the sales order in your ERP, including [Sage 50](/integrations/sage-50), [Sage Intacct](/integrations/sage-intacct) and [Sage X3](/integrations/sage-x3), with the PO reference captured exactly as the customer sent it. That is the reference your Peppol invoice will need to quote. We set out the wider gap in [Peppol solved the invoice, nobody solved the order](/blog/peppol-solved-the-invoice-not-the-order). ## Sources - [Peppol certified service providers](https://peppol.org/members/peppol-certified-service-providers/), OpenPeppol, checked 19 October 2026 - [Electronic invoicing: SME usage and attitudes](https://www.gov.uk/government/publications/electronic-invoicing-sme-usage-and-attitudes), HMRC, 26 March 2026 - [Sage, plateforme agréée](https://www.sage.com/fr-fr/dematerialisation/facture-electronique/sage-plateforme-de-dematerialisation-partenaire), Sage France - [Budget 2025: what your business needs to know and do](https://www.sage.com/en-gb/blog/budget-2025-what-your-business-needs-to-know-and-do/), Sage UK, 28 November 2025 - [The hidden cost of app-switching](https://www.sage.com/en-gb/-/media/files/company/documents/pdf/digital-newsroom/sage-the-hidden-cost-of-app-switching.pdf), Sage, September 2026 - [Unlocking growth: frictionless trade for SMEs powered by e-invoicing and AI](https://www.sage.com/en-gb/-/media/files/company/documents/pdf/digital-newsroom/unlocking-growth-frictionless-trade-for-smes-powered-by-e-invoicing-and-ai.pdf), Sage, 2025 - [Sage Network access point list](https://developer.sage.com/network/docs/v1.0.0/solutions/e-reporting/access-point-onboarding/access-point-list), Sage Developer - [Sage Intacct 2026 R3 release notes](https://www.intacct.com/ia/docs/en_US/releasenotes/2026/2026_Release_3/2026-R3-home.htm), Sage - [Sage X3 e-invoicing framework](https://online-help.sagex3.com/erp/12/howtoguides/en-US/financials/E-invoicingFramework/Content/How-to%20guides/Financials/E-invoicing-framework/T2%20Introduction.htm), Sage - [Electronic invoicing FAQ for Business Central](https://learn.microsoft.com/en-us/dynamics365/business-central/faq-electronic-invoicing), Microsoft Learn - [Xero e-invoicing software, UK](https://www.xero.com/uk/accounting-software/send-invoices/e-invoicing-software/), Xero ## Related reading - [UK e-invoicing roadmap: what Budget 2026 settles](/guides/e-invoicing/uk-e-invoicing-roadmap-budget-2026) - [UK e-invoicing mandate 2029](/guides/e-invoicing/uk-e-invoicing-mandate-2029) - [Do I need a Peppol access point?](/guides/e-invoicing/do-i-need-a-peppol-access-point) - [Peppol in the UK: access points, Peppol IDs and the NHS](/guides/e-invoicing/peppol-uk) - [Sage EDI integration](/blog/edi-sage-integration) - [Late payment interest calculator](/tools/late-payment-interest-calculator), statutory interest on overdue UK invoices --- # UK E-Invoicing Roadmap: What Budget 2026 Settles Source: https://ordersync.io/guides/e-invoicing/uk-e-invoicing-roadmap-budget-2026 > The UK e-invoicing roadmap is due with the 28 October 2026 Budget. The open questions, what the government promised, and what each answer means for you. The UK e-invoicing roadmap is due with Budget 2026 on 28 October 2026. It is expected to set the milestones to the April 2029 mandate, the standards or their timeline, and support for smaller businesses. Phasing, penalties, the legal route and how existing EDI fits in are the main open questions. The 2029 mandate has been policy since Budget 2025, and the network, Peppol, was confirmed in June 2026. What has been missing is the rulebook: who goes first, which standard, which legal route, and what happens if you get it wrong. The government promised that rulebook, in the form of an implementation roadmap, for **Budget 2026 on 28 October**. This page sets out what was promised, each open question and what the possible answers mean in practice. It is updated as the roadmap documents are read. For the background on the mandate itself, start with our [UK e-invoicing mandate 2029 guide](/guides/e-invoicing/uk-e-invoicing-mandate-2029). ## What the government said the roadmap would contain The commitments are spread across four documents. In their own words: - **Budget 2025:** "The government will work with stakeholders to develop an implementation roadmap to be published at Budget 2026." - **Overview of tax legislation and rates, Budget 2025:** "an implementation roadmap and standards for e-invoicing to be published at Budget 2026. This will give business time to prepare. We will also explore ways to support businesses with this transition." - **Consultation response, 26 November 2025:** support for businesses "will form a key part of the implementation roadmap, including ensuring that the UK regime supports the development of low cost, easy to use e-invoicing solutions", and the government "will ensure the timelines for publishing full standards and guidance in advance of the mandate are well understood." - **HMRC transformation roadmap update, July 2026:** the roadmap "will set out the milestones to implementation in April 2029 and build on co-creation work taking place with industry representatives in 2026." Read together, the safe expectation is a dated plan to 2029 and a timeline for the technical standards. The finished PINT UK specification itself is less likely on the day. The OpenPeppol UK Working Group has an 18-month mandate that started in late 2025, and the only published PINT UK artefact is a concept demonstration that is explicitly not an official specification. ## The open questions | Question | Position going in | What to look for | | --- | --- | --- | | Start date | "From April 2029" (Budget 2025). No day set in law | A fixed day, and whether receiving starts before sending | | Phasing | Not signalled. "All VAT invoices" reads as one date | Turnover thresholds, or a B2G-first stage | | Who is in scope | VAT invoices, B2B and B2G. B2C out | Non-UK suppliers, exempt supplies, low-value invoices | | Standard | EN 16931 baseline, PINT UK in draft | Whether PINT UK is named, and when it is final | | Peppol Authority | No national UK authority. NHS England's sits with NHS Supply Chain | Whether HMRC takes on the role | | Access points | No UK accreditation published | A UK accreditation or certification scheme | | Legal route | Not stated | Finance Bill clause, regulations, or new powers | | Penalties | Discussed in 2026 workshops, nothing published | Fixed fines, per-invoice fines, a tolerance period | | Existing EDI | "Continue to engage" on legacy systems | Whether EDI invoices stay valid, and until when | | Real-time reporting | Not in 2029, may follow later | Any date or design for later reporting to HMRC | | SME support | Promised: low-cost solutions and guidance | Free tools, grants, or a public directory of providers | ### Start date and phasing Budget 2025 said "from April 2029, businesses will be required to issue all VAT invoices as e-invoices." The consultation response recorded respondents who wanted a phased start, beginning with the public sector, and others who argued a single date is easier because "having one date where all VAT invoices must be issued electronically removes this challenge." The government did not pick a side. Several vendor sites describe a confirmed phased rollout with large businesses first. We found no official source for that. It may turn out to be right, but until the roadmap says so it is a guess. **Why it matters:** if there is one date, every VAT-registered business that invoices other businesses has the same deadline and the provider market gets crowded in late 2028. If larger businesses go first, smaller suppliers will still feel it early, because their large customers will start asking for structured invoices before the law requires them to send any. ### Receive before send Every EU mandate so far has required businesses to be able to receive e-invoices before they must issue them. Germany required receipt from January 2025 and issuing from 2027. France required everyone to receive from September 2026. If the UK follows the pattern, the first obligation could be on accounts payable, not accounts receivable. **Why it matters:** receiving is the cheaper half to switch on, but it changes your supplier invoice process. A structured invoice that lands and still goes to a person for keying has met the rule and saved nothing. ### The standard and PINT UK The baseline is the European standard EN 16931, which UK public bodies already accept under section 67 of the Procurement Act 2023. On top of that, the OpenPeppol UK Working Group is drafting a UK specification, PINT UK, to carry domestic VAT rules. The consultation response left open whether the UK adopts an existing standard or designs its own extensions for specific sectors. **Why it matters:** the `CustomizationID` in each invoice tells the receiver which rulebook it follows. If PINT UK becomes the requirement, software that only produces Peppol BIS Billing 3.0 will need an update. Ask providers which they will support, and by when. ### Peppol Authority and access point accreditation Most Peppol countries have a Peppol Authority that sets local rules and oversees access points. The UK does not have a national one. OpenPeppol lists NHS Supply Chain Coordination Ltd as the authority for the NHS in England, under an agreement originally signed by the Department of Health and Social Care, and all 18 UK-based certified providers are certified directly under OpenPeppol. Nothing has been published on whether HMRC will become the UK authority, or on how UK access points will be accredited. **Why it matters:** if HMRC introduces its own accreditation, a provider that is a certified Peppol access point today may still need UK approval. That is a reason to keep access point contracts short until the scheme is known. Our guide to [whether you need a Peppol access point](/guides/e-invoicing/do-i-need-a-peppol-access-point) covers the options. ### Penalties and the legal route April 2029 is policy, not law. The roadmap is expected to say how the requirement will be legislated. HMRC's 2026 policy workshops covered fraud prevention and penalty frameworks, but no figures have been published. For comparison, Belgium fines from 1,500 euros for lacking the means to send and receive e-invoices, after a three-month tolerance period. France charges 50 euros per non-compliant invoice and 500 euros per e-reporting failure, each capped at 15,000 euros a year. ### Existing EDI and supplier portals This is the question that matters most to large retail, grocery and construction supply chains, which already exchange invoices as EDI or through buyer portals. In June 2026 the government said only that it "will continue to engage with stakeholders regarding the role of legacy systems which cannot interoperate in the future system." Germany allowed EDI invoices to continue until the end of 2027 as a transition. **Why it matters:** if EDI invoices are allowed to continue, many suppliers to the big grocers already comply. If they are not, every EDI invoice flow needs a Peppol route as well, and that work falls on whoever runs the EDI connection. ### Real-time reporting The consultation response was clear that real-time reporting to HMRC "will not be implemented in 2029 but would be implemented once e-invoicing use was well established", and that any future reporting "will build on e-invoicing infrastructure." Look for any date or design. A later move to a five-corner model, where invoice data also goes to HMRC, would change what your access point needs to do. ## How other countries structured their roadmaps The UK roadmap will likely borrow from what came before. These are the levers other countries used. | | Belgium | Germany | France | Ireland | | --- | --- | --- | --- | --- | | Receive before send | No, same day | Yes, 2025 then 2027 | Yes, September 2026 | Reported, from 2028 | | Phasing | None | Turnover above 800,000 euros first | Large and mid-size first, SMEs 2027 | Large companies first, November 2028 | | Small-invoice exemption | No | Up to 250 euros | No | Not confirmed | | EDI transition | No | Until end of 2027 | No | Not confirmed | | Tolerance period | Three months | Not formal | Rest of 2026 | Not confirmed | | Network | Peppol | None mandated | Approved platforms | Not confirmed | | Reporting to tax authority | Planned for 2028 | No | Yes | Yes, with phase 1 | The pattern is consistent: receiving first, a threshold or phasing by size, some grace for existing EDI, a tolerance window, and reporting added later. The UK has already ruled out reporting in 2029. Expect the roadmap to choose from the rest. ## Where UK businesses are starting from HMRC's own research, published in March 2026, surveyed 800 small and medium-sized businesses: | Measure | Share of SMEs | | --- | --- | | Use e-invoicing in any form | 29% | | Send e-invoices | 15% | | Send invoices as PDF by email | 95% | | Receive invoices as PDF by email | 98% | | Still receive some paper invoices | 78% | | Did not recall any HMRC messaging on e-invoicing | 91% | | Use Sage | 48% | The interviews behind the survey found widespread confusion between e-invoicing and emailed PDFs. Most businesses that think they already e-invoice do not, in the sense the mandate means. Nearly half of the SMEs surveyed run Sage, which is why we wrote a separate guide on [Sage and Peppol in the UK](/guides/e-invoicing/sage-peppol-uk). ## What to do in the week after the Budget 1. **Read the roadmap for your answer, not the headline.** Check the start date for your size of business, whether receiving comes first, and whether your invoice types are in scope. 2. **Ask your finance system provider for a dated plan.** Not "we will be ready". A version number and a date for the standard the roadmap names. 3. **Check your EDI and portal invoice flows** against what the roadmap says about legacy systems. These are the flows most likely to need a second route. 4. **Count your customers' VAT numbers.** Peppol routes on identifiers. For UK businesses that is normally the VAT number (scheme 9932) or a GS1 GLN (scheme 0088). Every customer without one on file will fail at routing. The [VAT number checker](/tools/vat-number-checker) checks up to 500 at once, and the [EORI checker](/tools/eori-checker) does the same for the customs numbers on import and export accounts. 5. **Keep provider contracts short** until any UK accreditation scheme and the final standard are known. ## The part the roadmap will not cover The mandate is VAT law, and a purchase order creates no VAT event. Whatever the roadmap says about invoices, it will say nothing about the orders those invoices are matched against. In 2029 a UK supplier's invoice will be validated XML, while the purchase order it is matched to will often still be a PDF attached to an email. When the PO number, quantities or prices on the invoice do not match the order, automated matching fails no matter how compliant the XML is. That is the side [OrderSync](/) works on: it reads emailed, PDF and EDI purchase orders and posts them into your ERP as structured orders, so the data your invoices are built from is right in the first place. We explain the gap in [Peppol solved the invoice, nobody solved the order](/blog/peppol-solved-the-invoice-not-the-order). ## Sources - [Budget 2025](https://www.gov.uk/government/publications/budget-2025-document/budget-2025-html), HM Treasury, 26 November 2025 - [Budget 2025: overview of tax legislation and rates](https://www.gov.uk/government/publications/budget-2025-overview-of-tax-legislation-and-rates-ootlar/budget-2025-overview-of-tax-legislation-and-rates-ootlar), HMRC, paragraph 2.34 - [Promoting electronic invoicing across UK businesses and the public sector: consultation response](https://www.gov.uk/government/consultations/promoting-electronic-invoicing-across-uk-businesses-and-the-public-sector/outcome/promoting-electronic-invoicing-across-uk-businesses-and-the-public-sector-consultation-response), HMRC and Department for Business and Trade, 26 November 2025 - [Tax Update 2026: simplification, modernisation and fairness](https://www.gov.uk/government/publications/summary-of-tax-update-2026-simplification-modernisation-and-fairness/tax-update-2026-simplification-modernisation-and-fairness-summary), HM Treasury, 23 June 2026 - [HMRC transformation roadmap: update 2026](https://www.gov.uk/government/publications/hmrc-transformation-roadmap-progress-update-2026/hmrc-transformation-roadmap-update-2026), HMRC, July 2026 - [Electronic invoicing: SME usage and attitudes](https://www.gov.uk/government/publications/electronic-invoicing-sme-usage-and-attitudes), HMRC, 26 March 2026 - [UK eInvoicing mandate expected in 2029](https://peppol.org/uk-einvoicing-mandate-expected-in-2029), OpenPeppol, March 2026 - [Peppol Authorities](https://peppol.org/members/peppol-authorities), OpenPeppol - [E-invoicing in Belgium from 1 January 2026](https://www.loyensloeff.com/insights/news--events/news/e-invoicing-in-belgium-as-from-1-january-2026-key-provisions-of-the-long-awaited-royal-decree/), Loyens and Loeff - [Ireland sets timeline for mandatory B2B e-invoicing](https://www.comarch.com/trade-and-services/data-management/legal-regulation-changes/ireland-sets-timeline-for-mandatory-b2b-e-invoicing-and-real-time-vat-reporting/), Comarch ## Related reading - [UK e-invoicing mandate 2029: what Peppol means for you](/guides/e-invoicing/uk-e-invoicing-mandate-2029) - [Peppol in the UK: access points, Peppol IDs and the NHS](/guides/e-invoicing/peppol-uk) - [Do I need a Peppol access point?](/guides/e-invoicing/do-i-need-a-peppol-access-point) - [Sage and Peppol in the UK](/guides/e-invoicing/sage-peppol-uk) - [European e-invoicing mandate timeline](/e-invoicing) - [Late payment interest calculator](/tools/late-payment-interest-calculator), statutory interest on overdue UK invoices --- # Peppol in the UK: Access Points, Peppol IDs and the NHS Source: https://ordersync.io/guides/e-invoicing/peppol-uk > How UK businesses join Peppol: access points, which Peppol ID to use (VAT 9932 or GLN 0088), checking if a customer is on Peppol, and the NHS head start. Peppol is a network for exchanging structured invoices and orders between businesses through certified access points. UK businesses join by signing up with an access point provider, which registers a Peppol ID, usually scheme 9932 plus the VAT number. The UK will use Peppol for its April 2029 e-invoicing mandate. Until June 2026 Peppol in the UK meant one thing: selling to the NHS. Now it is the network every VAT-registered business will use to invoice other businesses from April 2029. The [UK e-invoicing mandate guide](/guides/e-invoicing/uk-e-invoicing-mandate-2029) covers the dates and the rules. This page covers the mechanics. ## What Peppol actually is Peppol is three things working together: - **A set of document formats.** The invoice format is Peppol BIS Billing 3.0, which is the European standard EN 16931 expressed in UBL XML. There are also formats for credit notes, purchase orders, order responses and despatch advices. - **A delivery network.** Certified access points send documents to each other over a secure protocol called AS4. - **A directory.** Every participant is listed by a Peppol ID, together with the document types it accepts and the access point that receives for it. It is governed by [OpenPeppol](https://peppol.org/), a non-profit association, and used across the EU, Norway, Australia, New Zealand, Singapore, Japan and Malaysia. That reach is why the government picked it: a UK supplier connected to Peppol can already invoice a Belgian or Australian customer the same way. ## Access points An access point is a certified provider that sends and receives Peppol documents on your behalf. You need one. Your customer needs one. They don't need to be the same. | Route | Who it suits | | --- | --- | | Built into your accounting software | Small and mid-sized businesses on Xero or Odoo today. Sage and QuickBooks have no UK Peppol feature yet | | Standalone access point with an API | Businesses on ERPs without native Peppol, or with high volumes | | Becoming an access point yourself | Software vendors only. Certification, testing and ongoing compliance cost far more than a subscription | Check your existing software before you buy anything. Our [ERP Peppol support guide](/guides/e-invoicing/does-your-erp-support-peppol) lists which systems ship native Peppol and which need a third-party access point. For costs, Peppol IDs and switching providers, see [do I need a Peppol access point?](/guides/e-invoicing/do-i-need-a-peppol-access-point), and for Sage users, [Sage and Peppol in the UK](/guides/e-invoicing/sage-peppol-uk). ### Questions to ask an access point provider 1. **Are you a certified Peppol access point, or reselling one?** Resellers are fine, but you want to know who you are actually depending on. OpenPeppol publishes the list of certified providers. 2. **Do you send and receive?** Some only send. You need both by 2029. 3. **What is your plan for PINT UK?** The UK specification is still being written. A provider should be able to tell you how it will ship it. 4. **How do validation errors reach us?** An invoice rejected at corner 2 is an invoice you haven't been paid for. You want the error in your finance system, not in a provider portal nobody checks. 5. **Which identifiers can you register?** At minimum UK VAT (9932). GLN (0088) too if you sell to the NHS or large retailers. 6. **Do you carry orders as well as invoices?** Only matters if your customers send Peppol purchase orders, which today means mainly the NHS. 7. **How is it priced?** Per document, per month, or bundled into your accounting software. Model it on your real invoice volume. ## Peppol IDs for UK businesses A Peppol ID is a scheme code plus an identifier. On the wire it carries a prefix, for example `iso6523-actorid-upis::9932:GB123456789`, but you will usually see just `9932:GB123456789`. | Scheme code | Identifier | When UK businesses use it | | --- | --- | --- | | **9932** | UK VAT number | The default for most UK businesses | | **0088** | GS1 Global Location Number (GLN) | NHS suppliers, and retail and grocery supply chains already using GS1 | | **0060** | Dun and Bradstreet DUNS number | Some multinationals | The codes come from the official [Peppol participant identifier scheme list](https://docs.peppol.eu/edelivery/codelists/). What matters in practice is that your customers can find you. If your largest customers already route on GLN, publish under GLN too. One business can hold more than one Peppol ID. ## Registering on Peppol There is no Peppol sign-up form for businesses. The process is: 1. Choose an access point, often through your finance software. 2. The provider verifies who you are. 3. It registers your Peppol ID in a Service Metadata Publisher (SMP), the record that tells other access points where to deliver your documents. 4. It optionally lists you in the public Peppol Directory so others can find you by name. From that point, anyone on Peppol can send you an invoice using your ID. ## How to check if a customer is on Peppol Enter the customer's VAT number, GLN or Peppol ID in our free [Peppol Lookup](/tools/peppol-lookup). It reads the same network records an access point uses and lists the document types the customer can receive. If it lists Peppol BIS Billing 3.0, you can send it invoices today. If you only know the name, search the [Peppol Directory](https://directory.peppol.eu/). A company can be reachable without being listed there, so a missing result is not proof. Ask the customer for its Peppol ID. ## Why NHS suppliers are ahead NHS England's eProcurement strategy has required suppliers to trade over Peppol for years, using GS1 GLNs to identify trusts, delivery locations and suppliers. It covers purchase orders, despatch advices and invoices, not just invoices. That makes NHS suppliers the only large UK group with both sides of the transaction already structured. Everyone else will arrive in 2029 with structured invoices and, in most cases, purchase orders that are still emailed PDFs. Our [Peppol ordering guide](/guides/e-invoicing/peppol-order-documents) explains why ordering has stayed behind outside the NHS. ## What Peppol will not fix Peppol guarantees an invoice is delivered and valid. It doesn't guarantee the invoice is right. If the PO number, quantity or price on the invoice doesn't match the buyer's order, the buyer's matching rejects it, however compliant the XML is. For most UK suppliers those numbers start life in a customer's PDF purchase order that someone re-keys into the ERP. OrderSync automates that step: it reads emailed and PDF purchase orders and creates the order in your ERP, so the invoice you later send over Peppol is built from the right data. ## Sources - [OpenPeppol](https://peppol.org/), network governance and specifications - [Peppol BIS Billing 3.0 specification](https://docs.peppol.eu/poacc/billing/3.0/), OpenPeppol - [Peppol participant identifier schemes](https://docs.peppol.eu/edelivery/codelists/), OpenPeppol code lists - [UK Government announces Peppol as core interoperability network](https://peppol.org/uk-einvoicing-mandate-expected-in-2029-2/), OpenPeppol ## Related reading - [UK e-invoicing mandate 2029](/guides/e-invoicing/uk-e-invoicing-mandate-2029) - [Peppol is not e-invoicing](/guides/e-invoicing/peppol-vs-e-invoicing-mandates) - [Does your ERP support Peppol?](/guides/e-invoicing/does-your-erp-support-peppol) - [European e-invoicing mandate timeline](/e-invoicing) - [EDI Inspector](/edi-inspector), free in-browser reader for EDI and invoice files - [EORI number checker](/tools/eori-checker), GB and EU customs numbers, with VAT and Peppol status - [Late payment interest calculator](/tools/late-payment-interest-calculator), statutory interest on overdue UK invoices --- # UK E-Invoicing Mandate 2029: What Peppol Means for You Source: https://ordersync.io/guides/e-invoicing/uk-e-invoicing-mandate-2029 > From April 2029 every UK B2B VAT invoice must be a structured e-invoice sent over Peppol. PDFs stop counting. What is confirmed, what is open, what to do now. From April 2029 every UK VAT invoice between businesses, and from businesses to the public sector, must be a structured e-invoice. The government confirmed in June 2026 that invoices will travel over the Peppol network through certified access points. PDFs will no longer count, and there is no real-time HMRC reporting in 2029. The UK is the last large European economy to set a date for mandatory e-invoicing. It has now set one, picked a network, and ruled out the most expensive option, real-time clearance with the tax authority. What it has not done yet is publish the rulebook. That arrives with the Budget on **28 October 2026**. This page separates what is confirmed from what is still open, and we update it when the roadmap lands. ## The timeline ## What is confirmed | Item | Status | Source | | --- | --- | --- | | Scope: all B2B and B2G VAT invoices | Confirmed, Budget 2025 | [GOV.UK consultation response](https://www.gov.uk/government/consultations/promoting-electronic-invoicing-across-uk-businesses-and-the-public-sector/outcome/promoting-electronic-invoicing-across-uk-businesses-and-the-public-sector-consultation-response) | | Start date: April 2029 | Announced, Budget 2025 | GOV.UK consultation response | | Network: Peppol | Confirmed, 23 June 2026 | [OpenPeppol announcement](https://peppol.org/uk-einvoicing-mandate-expected-in-2029-2/) | | Model: decentralised four-corner, no government portal | Confirmed, 23 June 2026 | OpenPeppol, [Sovos](https://sovos.com/regulatory-updates/vat/uk-confirms-adoption-of-peppol-as-the-framework-for-its-upcoming-e-invoicing-mandate/) | | Real-time reporting to HMRC | Not in 2029 | GOV.UK consultation response | | PDFs, Word, images and HTML | Not e-invoices | GOV.UK consultation response | | B2C invoices | Out of scope | GOV.UK consultation response | ## What is still open until 28 October - **Phasing.** Whether large businesses go first and smaller ones follow, as in Germany, France and Ireland. Nothing official signals it: Budget 2025 said "all VAT invoices" from April 2029, which reads as a single date. Our [Budget 2026 roadmap guide](/guides/e-invoicing/uk-e-invoicing-roadmap-budget-2026) tracks each open question. - **The data standard.** The working assumption is EN 16931 delivered as Peppol BIS Billing 3.0, with a UK flavour called PINT UK carrying domestic VAT rules such as reverse charge cases. The OpenPeppol UK Working Group is drafting it. It is not yet mandated. - **Legislation.** The April 2029 date is policy, not law. The roadmap is expected to set out how and when the legal requirement is made. - **Legacy networks.** The government has said it will keep talking to stakeholders about existing systems that cannot interoperate with Peppol. Large retail and construction supply chains run on EDI and supplier portals today, so this matters more than it sounds. - **Northern Ireland.** How the Windsor Framework interacts with the mandate for goods moving between Northern Ireland and the EU. ## How the four-corner model works Peppol is a network, not a piece of software. Every business that sends or receives invoices connects through a certified **access point**. Your access point and your customer's access point talk to each other. Neither of you needs to know which provider the other uses. In words: you (corner 1) create the invoice, your access point (corner 2) validates it and finds your customer in the Peppol directory, your customer's access point (corner 3) receives it, and your customer's finance system (corner 4) imports it. The UK chose this over a central clearance platform like Italy's SdI or Poland's KSeF. HMRC does not sit in the middle of each transaction. Our guide to [Peppol in the UK](/guides/e-invoicing/peppol-uk) covers access points, Peppol IDs and how to check whether a customer is already on the network. ## How the UK differs from the EU mandates UK teams with European entities will recognise most of this, but the UK has picked a lighter design than its neighbours. | | United Kingdom | France | Germany | Poland | Belgium | | --- | --- | --- | --- | --- | --- | | Start | April 2029 | 1 September 2026 | 1 January 2027 (issuing, large) | 1 February 2026 | 1 January 2026 | | Network | Peppol, four-corner | Certified platforms (PDP) | None mandated | KSeF government portal | Peppol | | Tax authority in the flow | No | Yes, via platforms | No | Yes, clearance | No | | Real-time reporting | Not in 2029 | Yes, e-reporting | No | Yes, by design | From 2028 | | Format | EN 16931, PINT UK expected | Factur-X, UBL or CII | XRechnung or ZUGFeRD | FA(3) XML | Peppol BIS Billing 3.0 | The UK model is closest to Belgium's: Peppol as the network, no clearance, no portal. That makes it the cheapest version of a mandate to comply with, and it means a UK business already on Peppol for an EU customer is most of the way there. Our [Peppol is not e-invoicing](/guides/e-invoicing/peppol-vs-e-invoicing-mandates) guide explains why the network and the format are separate questions. ## What changes for accounts receivable and accounts payable | | Accounts receivable (you send invoices) | Accounts payable (you receive invoices) | | --- | --- | --- | | The obligation | Issue every B2B and B2G VAT invoice as a structured e-invoice | Be able to receive structured e-invoices from suppliers | | What breaks first | Missing customer VAT numbers or Peppol IDs, and invoices that fail validation | Invoices that arrive structured but still go to a person to key in | | Data to fix | Customer master data, buyer PO references, VAT codes per line | Supplier master data, PO and goods receipt matching rules | | The win | Fewer disputes and faster payment, because the buyer's system can auto-match | Fewer manual touches per invoice and better fraud controls | Until then, an invoice the buyer's system cannot match tends to sit unpaid. If one runs past its due date, the [late payment interest calculator](/tools/late-payment-interest-calculator) works out the statutory interest and fixed compensation you can claim on it. ## What a UK Peppol invoice looks like This is a trimmed Peppol BIS Billing 3.0 invoice from a UK supplier to a UK customer at the 20% standard rate. Party names, addresses and payment details are cut for length. ```xml urn:cen.eu:en16931:2017#compliant#urn:fdc:peppol.eu:2017:poacc:billing:3.0 urn:fdc:peppol.eu:2017:poacc:billing:01:1.0 INV-10482 2029-04-03 2029-05-03 380 GBP PO-55120 PO-55120 GB123456789 GB987654321 240.00 1200.00 240.00 S 20 VAT 1200.00 1200.00 1440.00 1440.00 1 48 1200.00 Stainless steel hinge, 100mm S 20 VAT 25.00 ``` Four lines do most of the work: - **`EndpointID schemeID="9932"`** is each party's Peppol ID, here a UK VAT number. This is how the access points route the invoice. - **`BuyerReference` and `OrderReference`** carry the customer's purchase order number. Peppol requires a buyer reference or an order reference on every invoice, and it is the field the buyer's system matches on. - **`TaxCategory` `S` at `20`** is the UK standard rate. Zero-rated, exempt and reverse charge lines use other category codes, which is the area PINT UK is expected to tighten. - **`CustomizationID`** says which rulebook the invoice follows. When PINT UK is published this identifier will change, which is one reason not to hard-code a format before the roadmap. ## Why PDFs stop working Most UK businesses already call what they send an "e-invoice". It is usually a PDF attached to an email. Under the mandate that is no longer the invoice. An e-invoice in HMRC's sense is a data file, normally XML, built to a published structure. The buyer's system can read the supplier, the VAT breakdown, every line, and the purchase order reference without a person opening anything. You can still send a PDF alongside it so someone can read it, but the XML is the legal document. This is the bigger change for most finance teams. It is not new data. A UK VAT invoice already has to carry the same fields under [VAT Notice 700/21](https://www.gov.uk/guidance/record-keeping-for-vat-notice-70021). What changes is that every field must be machine readable and must pass validation before it is delivered. ## Who is already doing this UK e-invoicing over Peppol is not new. **NHS England** has required suppliers to trade over Peppol for years under its eProcurement strategy, covering orders and invoices, with GS1 GLNs as the identifiers. Suppliers to NHS trusts are the most prepared group in the country. Businesses with EU subsidiaries are also ahead. Belgium mandated Peppol for B2B in January 2026, and Germany and France are mid-rollout. Our [country-by-country timeline](/e-invoicing) has the dates. ## What to do before 2029 1. **Find out what your finance system already supports.** Xero, Sage, Business Central and NetSuite all have Peppol routes at different levels of maturity. Our [ERP Peppol support guide](/guides/e-invoicing/does-your-erp-support-peppol) has the list. 2. **Clean your customer and supplier master data.** Peppol routes on identifiers. For UK businesses that will usually be a VAT number (scheme 9932) or a GS1 GLN (scheme 0088). Missing or wrong VAT numbers fail at routing. Run the list through the free [VAT number checker](/tools/vat-number-checker), and for customers and suppliers you import from or export to, check their customs number with the [EORI checker](/tools/eori-checker) in the same pass. 3. **Fix purchase order references.** Automated matching depends on the invoice quoting the buyer's PO number correctly. If your customers' POs arrive as PDFs and get re-keyed, errors here flow straight into rejected invoices. 4. **Map every invoice you issue.** Self-billing, credit notes, invoices raised from portals and anything issued by a third party all need a structured route. 5. **Wait for 28 October before buying.** Phasing and the PINT UK spec will change what "compliant" means for your size of business. Prepare data now, sign contracts after the roadmap. ## The part the mandate does not cover The mandate is VAT law, so it covers invoices only. A purchase order creates no VAT event, which means nothing in the 2029 rules touches it. In April 2029 a UK supplier's invoice will be validated XML, while the order it is matched against will very often still be a PDF in a shared inbox. That gap is where invoice rejections will come from. If the PO number, the quantities or the prices on the invoice don't match the order, automated matching fails no matter how compliant the XML is. We wrote about why ordering was left behind in [Peppol solved the invoice, nobody solved the order](/blog/peppol-solved-the-invoice-not-the-order). OrderSync works on that side: it turns emailed and PDF purchase orders into structured orders in your ERP, so the data your invoices are built from is right in the first place. ## Sources - [Promoting electronic invoicing across UK businesses and the public sector: consultation response](https://www.gov.uk/government/consultations/promoting-electronic-invoicing-across-uk-businesses-and-the-public-sector/outcome/promoting-electronic-invoicing-across-uk-businesses-and-the-public-sector-consultation-response), HMRC and Department for Business and Trade - [UK Government announces Peppol as core interoperability network](https://peppol.org/uk-einvoicing-mandate-expected-in-2029-2/), OpenPeppol - [UK confirms adoption of Peppol](https://sovos.com/regulatory-updates/vat/uk-confirms-adoption-of-peppol-as-the-framework-for-its-upcoming-e-invoicing-mandate/), Sovos, 24 June 2026 - [Electronic invoicing (VAT Notice 700/63)](https://www.gov.uk/guidance/electronic-invoicing-notice-70063), HMRC ## Related reading - [Peppol in the UK: access points, Peppol IDs and the NHS](/guides/e-invoicing/peppol-uk) - [European e-invoicing mandate timeline](/e-invoicing) - [Does your ERP support Peppol?](/guides/e-invoicing/does-your-erp-support-peppol) - [UBL vs X12 vs EDIFACT](/guides/e-invoicing/ubl-vs-x12-vs-edifact) - [EDI Inspector](/edi-inspector), free in-browser reader for EDI and invoice files --- # Does Your ERP Support Peppol? What Ships Native and What Does Not Source: https://ordersync.io/guides/e-invoicing/does-your-erp-support-peppol > Odoo, NetSuite, Exact, and Business Central ship native Peppol support. Sage, SAP Business One, Access, Advanced, and Pegasus do not. And native often covers only a handful of countries, which is how Business Central shipped Peppol without France. Odoo, NetSuite, and Exact ship native Peppol support. Business Central ships it for a limited set of countries. Sage, SAP Business One, Access, Advanced, and Pegasus do not, and need a third-party access point reached over an API. Check your version and your country before buying anything. Before you buy an access point, check whether you already have one. A meaningful share of the mid-market has bought Peppol connectivity that duplicated something their ERP already shipped, and an equally meaningful share assumed "native support" meant every country when it meant four. ## What ships native | ERP | Native Peppol? | Detail | | --- | --- | --- | | Odoo | Yes | Built-in access point, included at no extra cost | | NetSuite | Yes | Electronic Invoicing SuiteApp, BIS Billing 3.0 plus regional PINT profiles | | Exact (NL) | Yes | Native module, Dutch and Belgian access points | | Microsoft Dynamics 365 Business Central | Partial | Native PEPPOL format support, but country-limited | | Sage | No | Varies by version and country. API or third-party connector | | SAP Business One | No | Third-party access point over an API | | Access, Advanced, Pegasus | No | Third-party access point with a REST API | ## The trap in the word "native" Business Central is the clearest example of why the table above needs a second column. Business Central does ship native PEPPOL format support. It also ships an E-Documents framework, and recent releases extended the purchase-draft preview to Peppol e-invoices. On paper it is covered. In practice that native support targets a specific list of countries: Denmark, Germany, Belgium, and Australia/New Zealand. **France is not among them**, and France is the mandate that lands on 1 September 2026. This is the general pattern, not a Microsoft quirk. ERP vendors ship the countries where the pressure landed first and where they have the most seats. "Does my ERP support Peppol" is the wrong question. The right one is "does my ERP support the specific obligation in the specific country where I trade." ## The four questions worth asking **1. Which countries, specifically?** Not "Europe". A named list. **2. Format or transport, or both?** Germany mandates the EN 16931 format and no transport at all, so a ZUGFeRD generator plus email satisfies it and an access point is beside the point. Belgium mandates the Peppol network. France mandates certified approved platforms that are not Peppol. Poland and Italy mandate government clearance portals. We set out [which countries mandate what](/guides/e-invoicing/peppol-vs-e-invoicing-mandates) in detail. **3. Which version and which deployment?** Sage is the hardest to answer in the abstract because coverage varies by product line, version, and country. For UK Sage users we cover each product in [Sage and Peppol in the UK](/guides/e-invoicing/sage-peppol-uk). An on-premise instance several versions back is a different conversation from current cloud. **4. Does it handle inbound, or only outbound?** The receiving obligation usually lands before the issuing one. Germany has required every business to be able to receive since January 2025. France requires it of everyone from September 2026. A module that emits compliant invoices but has nothing to say about the ones arriving has solved the later half of the problem. ## If your ERP does not ship it The realistic path is a white-label access point, reached over a REST API, rather than becoming a Peppol access point yourself. Self-certification requires ISO 27001 and OpenPeppol membership in order to provide transport that is already close to a commodity, which is a poor trade unless transport is your product. For Germany specifically, you may not need an access point at all. A valid ZUGFeRD file, which is a PDF/A-3 with the XML embedded, sent as an ordinary email attachment, is compliant. That is the dominant German pattern and it is considerably less work than joining a network. ## The half nobody ships Every option above is about invoices leaving your business. None of it touches the orders coming in. That gap is structural rather than an oversight. E-invoicing mandates are VAT law, and a purchase order creates no VAT event, so no tax authority has a reason to standardise one. Which is why a distributor in Belgium can have every outbound invoice flowing as structured XML over a managed network while the purchase orders that started those transactions still arrive as PDFs, emailed spreadsheets, and portal exports. That inbound side is what [OrderSync](/) does: it reads orders in whatever shape they arrive and posts them into the ERP as structured orders, alongside whatever you use for invoice compliance. ## Sources - [Electronic invoicing FAQ for Business Central](https://learn.microsoft.com/en-us/dynamics365/business-central/faq-electronic-invoicing), Microsoft Learn - [Peppol BIS specifications](https://docs.peppol.eu/poacc/upgrade-3/), OpenPeppol ## Related reading - [European e-invoicing mandate timeline](/e-invoicing) - [Peppol is not e-invoicing](/guides/e-invoicing/peppol-vs-e-invoicing-mandates) - [UBL vs X12 vs EDIFACT](/guides/e-invoicing/ubl-vs-x12-vs-edifact) - [EDI Inspector](/edi-inspector), free in-browser EDI file reader --- # France E-Invoicing Mandate, 1 September 2026: What You Actually Have to Do Source: https://ordersync.io/guides/e-invoicing/france-e-invoicing-mandate-2026 > Every VAT-registered business in France must receive structured e-invoices from 1 September 2026. Large and mid-sized firms must issue from the same date, SMEs from 2027. What changed when the public portal was dropped, and what an approved platform actually does. From 1 September 2026 every VAT-registered business in France must be able to receive structured electronic invoices. Large and mid-sized companies must also issue them from that date. SMEs and micro-enterprises have until 1 September 2027 to start issuing. Exchange runs through certified approved platforms, not directly and not through Peppol. Two things about the French mandate catch teams out. The first is that the receiving obligation applies to everyone on day one, regardless of size, while most coverage focuses on the issuing timetable. The second is that the scheme was significantly redesigned in October 2024, and a lot of published guidance still describes the original plan. ## The dates | Date | Obligation | Who | | --- | --- | --- | | 1 September 2026 | **Receive** structured e-invoices | Every VAT-registered business in France | | 1 September 2026 | **Issue** structured e-invoices | Large and mid-sized companies | | 1 September 2027 | **Issue** structured e-invoices | SMEs and micro-enterprises | If you sell into France, your French customers must be able to receive from September 2026. If you are established in France and above the SME threshold, you must also issue from that date. ## What changed in October 2024 The original design had three parts: a central business directory, a channel for passing tax data to the DGFiP, and a free public portal called the Portail Public de Facturation (PPF) through which any business could issue and receive invoices at no cost. On 15 October 2024 the DGFiP [dropped the third part](https://www.rmboulanger.com/blog/news-2024-13/france-discontinuation-of-the-public-billing-portal-ppf-96) to protect the deployment calendar. There is no free government portal. The PPF still exists and still matters, but it now does two things: 1. **The directory (annuaire).** The authoritative register of VAT-registered businesses and their e-invoicing addresses. This is how a sender discovers where to route an invoice. 2. **The data concentrator.** The pipe that carries tax data from the platforms to the DGFiP. If you read guidance that describes signing up to the PPF to send invoices, it predates October 2024 and is wrong. ## What an approved platform is Because the free portal is gone, every invoice moves through a certified private provider. These were called Plateformes de Dématérialisation Partenaires, almost always shortened to PDP, and are now formally Plateformes Agréées. Both names are in active use, and the search volume still sits on "PDP". An approved platform does four jobs: - Converts your invoice into one of the accepted structured formats - Looks up the recipient in the PPF directory and routes to their platform - Passes the required tax data to the DGFiP - Reports lifecycle statuses back to you You pick one. Your customer picks one, possibly a different one. The two platforms interoperate. ## Which formats are accepted Three, all conforming to EN 16931: - **Factur-X**, a hybrid PDF/A-3 with XML embedded as an attachment. A human sees a normal PDF invoice, a machine reads the XML. Identical in construction to Germany's ZUGFeRD. - **UBL 2.1**, pure XML - **UN/CEFACT CII**, pure XML Factur-X is the most common choice for companies whose customers still want something a person can read. ## France does not mandate Peppol This trips up teams who solved Belgium first. Belgium designates the Peppol network. France designates its own approved-platform model. They are different mechanisms and Peppol membership does not make you compliant in France. Plenty of approved platforms also connect to Peppol, and that is genuinely useful if you trade in both countries. But it is a commercial feature of the platform, not the legal route. We cover the general distinction in [Peppol is not e-invoicing](/guides/e-invoicing/peppol-vs-e-invoicing-mandates). ## E-reporting is a second, separate obligation E-invoicing covers domestic B2B transactions between French businesses. E-reporting covers the rest: B2C sales, and transactions with businesses outside France. For those you do not send a structured invoice through a platform, but you do have to report the transaction data. Teams routinely scope for the first and forget the second. If you sell to French consumers, or you are a foreign business selling into France, e-reporting is the part that applies to you. ## A practical order of work 1. **Confirm your size classification.** It decides whether your issuing deadline is 2026 or 2027. Receiving is 2026 either way. 2. **Check your ERP first.** Some systems already emit Factur-X. Business Central ships native Peppol format support but, as of this writing, not for France. Our [ERP support guide](/guides/e-invoicing/does-your-erp-support-peppol) covers who ships what. 3. **Choose an approved platform.** Check it is certified, check the formats it emits, and check whether it also handles e-reporting. 4. **Fix your customer master data.** The directory routes on identifiers. SIREN and SIRET numbers that are missing or wrong will fail at routing, and that is a data cleanup job you want to do before September, not during it. 5. **Work out what happens to inbound.** Receiving is the obligation that hits first. A structured invoice arriving from a supplier still has to reach your accounts payable process. That last point generalises. A compliant invoice going out does not help with the purchase order that came in, and in France as everywhere else that order is still routinely a PDF attached to an email. Nothing in the mandate touches it. ## Sources - [DGFiP discontinuation of the public billing portal](https://www.rmboulanger.com/blog/news-2024-13/france-discontinuation-of-the-public-billing-portal-ppf-96), RM Boulanger - [PPF refocus around the directory](https://www.kerhis.com/2024/11/29/le-portail-public-de-facturation-ppf-un-recentrage-strategique-de-la-dgfip-autour-de-lannuaire/), KERHIS ## Related reading - [European e-invoicing mandate timeline](/e-invoicing) - [Peppol is not e-invoicing](/guides/e-invoicing/peppol-vs-e-invoicing-mandates) - [Poland KSeF](/guides/e-invoicing/ksef-poland-e-invoicing), if you also have a Polish entity - [EDI Inspector](/edi-inspector), free in-browser EDI file reader --- # KSeF: Poland's E-Invoicing Mandate, and Whether Your Polish Entity Is In Scope Source: https://ordersync.io/guides/e-invoicing/ksef-poland-e-invoicing > KSeF became mandatory for large taxpayers on 1 February 2026 and for all Polish-VAT-registered businesses on 1 April 2026. What the FA(3) schema requires, and the fixed-establishment test that decides whether a foreign company is caught. KSeF is Poland's national e-invoicing clearance system. It became mandatory on 1 February 2026 for taxpayers turning over 43 million euros or more, and on 1 April 2026 for all businesses with a Polish VAT number plus foreign entities with a fixed establishment in Poland. Invoices must use the FA(3) XML schema. Most English-language searches for KSeF come from outside Poland. That is not an accident: the question that actually matters for a multinational is whether a Polish VAT registration alone drags you into the system. It usually does not, and the test is specific. ## The dates | Date | Who | Threshold | | --- | --- | --- | | 1 February 2026 | Large taxpayers | Annual turnover of 43 million euros or more | | 1 April 2026 | All Polish-VAT-registered businesses, plus foreign entities with a fixed establishment in Poland | No threshold | | 1 January 2027 | Micro businesses | Invoices under 450 PLN and monthly sales under 10,000 PLN | The FA(2) structure was retired on 1 February 2026 and fully replaced by FA(3). If you built against FA(2), that work needs revisiting. ## The fixed-establishment test This is the part worth reading carefully. A foreign company must use KSeF only if it has a **fixed establishment** in Poland that participates in the supply of the goods or services being invoiced. A foreign business that is registered for Polish VAT but has **no** fixed establishment is [not obliged to issue invoices through KSeF](https://marosavat.com/vat-news/e-invoicing-poland-guide-ksef). So the sequence for a group with Polish exposure is: 1. Do we have a fixed establishment in Poland? If no, the issuing obligation does not apply, even with a Polish VAT number. 2. If yes, does that establishment participate in the supply being invoiced? The obligation attaches to the transaction, not just to the entity. 3. Either way, can we **receive** through KSeF? Your Polish counterparties will be issuing through it, and their invoice is the one you need to book. That third point is the one most often missed. Scoping tends to focus on the issuing obligation, but if you buy from Polish suppliers, structured invoices are arriving whether or not you issue any. ## How clearance changes the model KSeF is not a network. It is a clearance system, and that distinction has practical consequences. In a network model like Peppol, you send to your counterparty through an access point and the state is not in the path. In a clearance model, the invoice goes to the tax authority first. KSeF validates it, assigns it an identification number, and only then is it a legally issued invoice. The document your customer receives is the cleared one. Three things follow: - **There is no access point to buy.** What you need is an integration with the government API and the FA(3) schema. - **The clearance number matters.** It is the proof the invoice legally exists, and it belongs in your records. - **Rejection is a business event, not a technical retry.** A schema failure means no invoice was issued at all. Italy's SdI works the same way. Peppol countries such as Belgium and Norway do not. Our guide to [what each country actually mandates](/guides/e-invoicing/peppol-vs-e-invoicing-mandates) covers which model applies where. ## What FA(3) requires FA(3) is a Polish national schema, not an EN 16931 CIUS, so a European invoice generator will not emit it without Poland-specific mapping. Expect to supply: - Seller and buyer NIP numbers - Invoice type codes drawn from the Polish list - Line-level VAT rates against Polish rate categories - Polish-specific fields for corrections and advance invoices If your ERP already emits Peppol BIS Billing 3.0 or ZUGFeRD, that gets you the semantic content but not the syntax. The mapping work is real. ## Where this sits against the rest of Europe Poland is one of four different mechanisms a group trading across the EU may hit at once: - **Poland and Italy**: government clearance portals, no private network - **Belgium, Norway, Slovakia**: the Peppol network - **France**: certified approved platforms, a model of its own - **Germany**: a format requirement with no mandated transport at all There is no single integration that satisfies all four. Vendors who suggest otherwise are generally reselling four integrations on one invoice. The [full mandate timeline](/e-invoicing) sets out which countries fall where. ## Sources - [E-invoicing in Poland: complete guide to KSeF](https://marosavat.com/vat-news/e-invoicing-poland-guide-ksef), Marosa VAT - [Poland implements mandatory B2B electronic invoicing with KSeF from 2026](https://edicomgroup.com/blog/poland-will-make-b2b-electronic-invoicing-mandatory), EDICOM ## Related reading - [European e-invoicing mandate timeline](/e-invoicing) - [France, 1 September 2026](/guides/e-invoicing/france-e-invoicing-mandate-2026) - [Does your ERP support Peppol?](/guides/e-invoicing/does-your-erp-support-peppol) - [EDI Inspector](/edi-inspector), free in-browser EDI file reader --- # Peppol Ordering: BIS Order Only 3.3, Ordering 3.3, and Order Response Source: https://ordersync.io/guides/e-invoicing/peppol-order-documents > Peppol carries purchase orders as well as invoices. The ordering profiles have existed for years and adoption stayed thin, because no mandate requires them and ordering needs both parties to move. What exists, who actually uses it, and why. Peppol defines ordering profiles including BIS Order Only 3.3, BIS Ordering 3.3, and Order Response 3.3. They use the same network and identifiers as Peppol invoicing. Adoption is thin because no government mandates them, and unlike invoicing, ordering requires the buyer to move first. Everyone knows Peppol carries invoices. Far fewer people know it was built for procurement first, and that the ordering documents are still there, fully specified, and largely unused. ## The profiles | Profile | What it covers | | --- | --- | | **BIS Order Only 3.3** | Buyer sends an order. No response expected. The simplest case. | | **BIS Ordering 3.3** | Order plus a formal Order Response, so the seller can accept, reject, or propose changes line by line. | | **BIS Advanced Ordering 3.0** | Adds order change and cancellation, for buyers automating procurement progressively. | | **BIS Order Agreement 3.0** | An auxiliary profile that feeds less formalised purchasing back into the procurement system so spend stays controlled and visible. | | **BIS Despatch Advice 3.1** | The shipment notification, equivalent to an EDI 856 or an EDIFACT DESADV. | The documents are UBL 2.1, the same syntax as a Peppol invoice, and they move over the same four-corner AS4 network using the same participant identifiers. If you are already connected to Peppol for invoicing, the transport work for ordering is done. ## Where it is genuinely used Ordering adoption clusters in public procurement, and it got there through purchasing power rather than legislation. - **Norway and Denmark** drove early adoption through the public sector, which used its position as a customer to require electronic ordering from suppliers. - **Finland** began moving public procurement to e-orders in 2024, the first market in Europe to do so at scale. - **The Nordic Smart Government initiative** completed a pilot on harmonising e-orders with e-invoices in 2022, with Peppol as the infrastructure. - **The UK NHS**, through its eProcurement Strategy, requires Peppol messaging from suppliers covering orders, despatch advices, and invoices. The pattern is consistent: a large buyer with procurement leverage mandates it in contracts. No tax authority is involved anywhere. ## Why adoption stayed thin Two structural reasons, and neither is about the technology. ### There is no fiscal reason to mandate an order Every e-invoicing mandate in Europe is VAT law. An invoice creates a tax liability that an authority can audit, which gives it standing to dictate the format. A purchase order creates nothing taxable. It is a statement of intent. So the mechanism that produced universal invoice adoption cannot reach ordering, and this is by design rather than oversight. ViDA, the EU's big e-invoicing reform running to 2030 and 2035, is scoped to invoices for exactly this reason. ### Invoicing is one-sided, ordering is two-sided This is the part that explains the adoption curve. You can adopt e-invoicing unilaterally. You start issuing structured invoices, and your counterparty is legally obliged to be able to receive them. Their readiness is somebody else's legal problem. Ordering does not work that way. You cannot receive a Peppol order unless your customer chooses to send one. Every connection needs both parties to have moved, and there is no law making either of them move first. That is a coordination problem, and coordination problems without a forcing function tend to stay unsolved. The result is visible in mandated markets right now. In Belgium, where every B2B invoice has been a structured document on a managed network since January 2026, the purchase order that started the transaction is still, very often, a PDF attached to an email. ## What this means practically **If you sell to Nordic or Finnish public bodies, or to the NHS**, Peppol ordering is likely already a contractual requirement, and it is worth checking your obligations rather than assuming invoicing covers it. **If you sell to private-sector European businesses**, you will see very few Peppol orders. Your inbound order flow will keep arriving as PDFs, emails, spreadsheets, portal exports, and EDIFACT, and that is not going to be fixed by a regulation. **If you already run Peppol for invoices**, adding inbound order support is a smaller job than it looks, since identity and transport are solved. The work is mapping the UBL Order into whatever your order pipeline expects. ## The honest summary Peppol ordering is well specified, technically sound, and mostly empty. It is not a failed standard so much as a standard with no forcing function behind it. Invoicing is one-sided, so a mandate could move it. Ordering is two-sided, so no mandate has tried. Which leaves inbound order automation exactly where it has always been: a document interpretation problem rather than a compliance problem. That is what [OrderSync](/) does, reading orders in whatever shape they turn up and posting them into the ERP as structured orders. ## Sources - [Peppol BIS Order Only 3.3](https://docs.peppol.eu/poacc/upgrade-3/profiles/3-order-only/), OpenPeppol - [Peppol BIS Ordering 3.3](https://docs.peppol.eu/poacc/upgrade-3/profiles/28-ordering/), OpenPeppol - [Peppol BIS Advanced Ordering 3.0](https://docs.peppol.eu/poacc/upgrade-3/profiles/65-advanced-ordering/), OpenPeppol ## Related reading - [European e-invoicing mandate timeline](/e-invoicing) - [Peppol is not e-invoicing](/guides/e-invoicing/peppol-vs-e-invoicing-mandates) - [UBL vs X12 vs EDIFACT](/guides/e-invoicing/ubl-vs-x12-vs-edifact) - [EDI Inspector](/edi-inspector), free in-browser EDI file reader --- # Peppol Is Not E-Invoicing: What Each Country Actually Mandates Source: https://ordersync.io/guides/e-invoicing/peppol-vs-e-invoicing-mandates > Peppol is a network. EN 16931 is a format. A mandate can require one, both, or neither. Which countries require which, and why conflating them leads teams to build the wrong thing. Peppol is a delivery network. EN 16931 is a data format. A country can mandate a format, a network, both, or neither. Belgium mandates Peppol. Germany mandates only the EN 16931 format and no transport at all. France mandates its own approved-platform model. Poland and Italy mandate a government portal instead. Almost every vendor page treats "Peppol" and "e-invoicing" as synonyms. They are not, and the difference decides what you actually have to build. Teams have bought Peppol access points to satisfy German rules that never mentioned Peppol, and teams have joined Peppol expecting it to cover France, where it does not. Here is the distinction, and then the country-by-country reality. ## Four layers, and mandates pick from them An e-invoicing regime is made of four separable parts. 1. **Identity.** Who you are on the network. In Peppol this is a participant ID plus a scheme code, such as a GLN or a VAT number. 2. **Transport.** How the document moves. Peppol uses AS4 over a four-corner model: you connect to one access point, your counterparty connects to theirs, and the two interoperate by rule. 3. **Format.** What the document is. `EN 16931-1:2017+A1:2019` is the European semantic standard, expressed either as UBL 2.1 or UN/CEFACT CII D16B. 4. **Rules.** What counts as valid. Peppol BIS Billing 3.0, XRechnung, and Factur-X are all national or sectoral narrowings of EN 16931, formally called CIUS documents, each enforced by its own schematron ruleset. A law can require any subset of those four. That is the whole source of the confusion. ## What each country actually requires | Country | Format mandated | Transport mandated | In practice | | --- | --- | --- | --- | | Belgium | Peppol BIS Billing 3.0 | Peppol network | Full Peppol stack | | Slovakia | EN 16931 | Peppol, five-corner | Full Peppol stack, from Jan 2027 | | Norway | EHF 3.0 | Peppol network | EHF 3.0 is aligned to Peppol BIS Billing 3.0 | | Germany | EN 16931 | **None** | Email a valid ZUGFeRD file and you are compliant | | France | Factur-X, UBL, or CII | Approved platform | Not Peppol. See below | | Poland | FA(3) XML | KSeF government portal | No private network involved | | Italy | FatturaPA XML | SdI government portal | No private network involved | ### Germany mandates the format and not the transport Germany's obligation comes from the Growth Opportunities Act, which amended Section 14 of the German VAT Act (UStG). It requires that an invoice conform to EN 16931. It says nothing about how the invoice travels. That is why the dominant German pattern is a ZUGFeRD invoice, which is a PDF/A-3 file with the XML embedded as an attachment, sent as an ordinary email. The recipient's tax adviser imports it into DATEV in one step. No access point, no participant lookup, no network membership. If you are selling into Germany and someone tells you that you need Peppol, ask them which provision requires it. There isn't one. ### France mandates a transport model, but not Peppol France runs its own scheme. Invoices must be exchanged through a certified provider, known as a Plateforme de Dématérialisation Partenaire (PDP) and since 2024 formally a Plateforme Agréée. The original design also included a free public portal, the Portail Public de Facturation, through which businesses could issue and receive invoices directly. On 15 October 2024 the DGFiP [announced that this function was being dropped](https://www.kerhis.com/2024/11/29/le-portail-public-de-facturation-ppf-un-recentrage-strategique-de-la-dgfip-autour-de-lannuaire/) to protect the deployment calendar. The PPF now does two things only: it maintains the central directory of VAT-registered businesses and their e-invoicing addresses, and it acts as the data concentrator that passes tax data to the DGFiP. Many approved platforms also connect to Peppol. That is a commercial choice by the platform, not a legal route. Peppol membership alone does not make you compliant in France. ### Belgium is the case where Peppol genuinely is the answer From 1 January 2026 all Belgian taxable persons must issue and receive structured e-invoices, and the Peppol network is the designated channel. If you trade in Belgium, a Peppol access point is not optional and not a workaround. It is the mechanism the law names. Slovakia has proposed the same shape from January 2027, using a decentralised five-corner Peppol model with certified service providers. ### Poland and Italy bypass private networks entirely Poland's KSeF and Italy's SdI are clearance systems. The invoice goes to the state, the state validates and stamps it, and the state passes it on. There is no access point to buy and no network to join. What you need is an integration with the government platform and its schema, which for Poland is FA(3). ## Why this matters commercially Three consequences follow directly. **You may need less than you were sold.** If Germany is your only mandated market, you need an EN 16931 generator and an email server. The access point contract, the participant registry, and the AS4 stack are all solving a problem you do not have. **You may need more than one thing.** A group trading in Belgium, France, Germany, and Poland needs a Peppol connection, a French approved platform, a ZUGFeRD generator, and a KSeF integration. There is no single switch. Vendors who claim otherwise are usually reselling four integrations behind one invoice. **Your ERP may already cover part of it.** Odoo ships a built-in Peppol access point. NetSuite has an Electronic Invoicing SuiteApp. Business Central ships native Peppol format support, though only for a handful of countries and, as of this writing, not France. Check before buying anything. Our [ERP Peppol support guide](/guides/e-invoicing/does-your-erp-support-peppol) covers which systems ship what. ## Three sentences worth remembering Peppol is a network, EN 16931 is a format, and a mandate can require one, both, or neither. Germany mandates the format and not the transport. France mandates the transport model and not Peppol. And every one of these mandates covers invoices. None of them touches the purchase order, because a purchase order creates no VAT event and tax authorities regulate what they can audit. Peppol does define ordering profiles, covered in our [Peppol ordering guide](/guides/e-invoicing/peppol-order-documents), but no government has ever required them. ## Sources - [Growth Opportunities Act and Section 14 UStG guidance](https://edicomgroup.com/blog/germany-b2b-electronic-invoice), EDICOM - [DGFiP announcement on the PPF refocus](https://www.kerhis.com/2024/11/29/le-portail-public-de-facturation-ppf-un-recentrage-strategique-de-la-dgfip-autour-de-lannuaire/), KERHIS - [Peppol BIS specifications](https://docs.peppol.eu/poacc/upgrade-3/), OpenPeppol ## Related reading - [European e-invoicing mandate timeline](/e-invoicing), country by country - [France, 1 September 2026](/guides/e-invoicing/france-e-invoicing-mandate-2026) - [UBL vs X12 vs EDIFACT](/guides/e-invoicing/ubl-vs-x12-vs-edifact), if you already run EDI - [EDI Inspector](/edi-inspector), a free tool for reading EDI files in the browser --- # UBL vs X12 vs EDIFACT: How the Three Standards Map onto Each Other Source: https://ordersync.io/guides/e-invoicing/ubl-vs-x12-vs-edifact > An EDI 850 is an EDIFACT ORDERS is a UBL Order. The same business documents exist in all three standards under different names. A field-by-field mapping for teams who already run X12 and are being asked about Europe. X12, EDIFACT, and UBL describe the same business documents under different names. An X12 850 purchase order is an EDIFACT ORDERS message and a UBL Order. X12 dominates North America, EDIFACT dominates Europe and Asia, and UBL is the syntax behind Peppol and most EN 16931 e-invoicing mandates. If you already run X12, you know more about European e-invoicing than you think. The business documents are the same. What changes is the syntax, the naming, and the assumptions about how a document travels. ## The mapping | Business document | X12 | EDIFACT | UBL 2.1 | | --- | --- | --- | --- | | Purchase order | [850](/guides/edi/850-purchase-order) | [ORDERS](/guides/edi/edifact-orders) | Order | | PO acknowledgment | [855](/guides/edi/855-purchase-order-acknowledgment) | [ORDRSP](/guides/edi/edifact-ordrsp) | Order Response | | PO change | [860](/guides/edi/860-purchase-order-change) | [ORDCHG](/guides/edi/edifact-ordchg) | Order Change | | Ship notice | [856](/guides/edi/856-ship-notice) | [DESADV](/guides/edi/edifact-desadv) | Despatch Advice | | Invoice | [810](/guides/edi/810-invoice) | [INVOIC](/guides/edi/edifact-invoic) | Invoice | | Price and sales catalog | [832](/guides/edi/832-price-sales-catalog) | [PRICAT](/guides/edi/edifact-pricat) | Catalogue | | Inventory report | [846](/guides/edi/846-inventory-inquiry) | [INVRPT](/guides/edi/edifact-invrpt) | (no direct equivalent) | | Planning schedule | [830](/guides/edi/830-planning-schedule) | DELFOR | (no direct equivalent) | | Technical acknowledgment | [997](/guides/edi/997-functional-acknowledgment) | [CONTRL](/guides/edi/edifact-contrl) | Message Level Response | The three families cover the same order-to-cash cycle. Where they diverge is at the edges: X12 has richer retail-specific documents, EDIFACT has stronger logistics and customs coverage, and UBL carries procurement documents that the other two never needed because procurement was not the problem they were built for. ## The structural difference that matters X12 and EDIFACT are both **positional and flat**. A segment is a line, elements are separated by a delimiter, and meaning comes from position. ``` BEG*00*SA*4500012345**20260812 ``` That is an X12 850 header. `4500012345` means "purchase order number" because it is in the third element of a `BEG` segment, not because anything in the file says so. EDIFACT does the same thing with different punctuation and a header that can redefine the delimiters: ``` BGM+220+4500012345+9' ``` UBL is **nested and named XML**: ```xml 4500012345 ``` This is why an X12 mapping tool does not port to UBL. Positional element addressing has no meaning in a namespaced tree. If you have a declarative X12 mapping layer, it is not reusable for UBL, and trying to force it produces a worse tool for both. What does port is everything either side of the syntax: your customer master, product matching, unit-of-measure normalisation, and pack-size logic. Those are the expensive parts, and they are format-independent. ## Units of measure, where the three actually converge UBL uses UN/ECE Recommendation 20 codes in the `unitCode` attribute. EDIFACT uses the same code list. X12 uses Element 355, which overlaps heavily but not completely. So `EA` is each in all three. `CS` is case in X12; UBL and EDIFACT prefer `CT` for carton. If you already maintain a UOM translation table for X12 trading partners, that table is most of what you need for UBL, with the Rec 20 subset filtered out. This matters more than it sounds. Getting a case quantity wrong by a factor of twelve is the single most expensive class of order error, and it does not announce itself. ## Transport assumptions differ more than the formats - **X12** typically moves over AS2, SFTP, or a VAN. The relationship is bilateral and set up per partner. - **EDIFACT** moves the same way in practice, over AS2 or SFTP, often through a VAN. - **UBL under Peppol** moves over AS4 in a four-corner model with a public participant directory. You connect once and reach anyone, without per-partner onboarding. That last point is the real innovation and it is worth understanding properly. In X12, adding a trading partner is a project: spec review, mapping, testing, certification. Under Peppol it is a directory lookup. That is why governments chose it for universal invoicing mandates, since it makes compliance reachable without every small business hiring an EDI consultant. But note that UBL does not require Peppol. Germany mandates EN 16931 and no transport whatsoever, so a UBL or CII invoice attached to an email is compliant there. See [what each country actually mandates](/guides/e-invoicing/peppol-vs-e-invoicing-mandates). ## EDIFACT is not going away, but it is not growing If you trade with European retailers or logistics providers, EDIFACT is what they run, and the e-invoicing mandates do not change that. The mandates cover invoices. ORDERS, DESADV, and DELFOR keep flowing exactly as before. What is changing is the invoice leg specifically, and only in mandated countries. A German supplier may well keep receiving ORDERS over AS2 while its INVOIC leg moves to ZUGFeRD over email, because those are two different obligations with two different drivers. ## The practical read for an X12 team 1. Your document knowledge transfers directly. An 850 is an ORDERS is a UBL Order. 2. Your mapping tooling does not transfer to UBL. Budget a separate emitter. 3. Your master data, matching logic, and UOM tables do transfer, and they are the expensive part. 4. Check what your ERP already emits before buying anything. See [does your ERP support Peppol](/guides/e-invoicing/does-your-erp-support-peppol). ## Sources - [Peppol BIS specifications](https://docs.peppol.eu/poacc/upgrade-3/), OpenPeppol - [UN/CEFACT Recommendation 20, units of measure](https://unece.org/trade/uncefact/cl-recommendations), UNECE ## Related reading - [European e-invoicing mandate timeline](/e-invoicing) - [EDI document types](/edi-document-types), the full X12 reference - [Peppol ordering profiles](/guides/e-invoicing/peppol-order-documents) - [EDI Inspector](/edi-inspector), free in-browser EDI file reader - [EDIFACT Inspector](/edifact-inspector), the same reader for EDIFACT, EANCOM and TRADACOMS files - [EDIFACT explained](/guides/edi/edifact), syntax, envelopes and every message type mapped to X12 --- # EDI (Electronic Data Interchange) Source: https://ordersync.io/glossary/what-is-edi EDI (Electronic Data Interchange) is the computer-to-computer exchange of business documents like purchase orders and invoices in a standard electronic format. It replaces paper, fax, and email so two trading partners' systems can transact directly, without anyone re-keying the data. ## How EDI works Two trading partners agree on a standard (ASC X12 in North America, EDIFACT internationally) and a transport method (AS2, SFTP, or a VAN). The sender's system maps an internal record, such as a sales order, into a structured EDI document built from segments and data elements. The receiver's system validates the file against the agreed specification and loads it straight into its ERP. A purchase order sent as an EDI 850 becomes a sales order in seconds with no manual entry. ## Common EDI transactions Each document type has a number. The 850 is a purchase order, the 810 is an invoice, the 856 is an advance ship notice, the 855 is a purchase order acknowledgment, and the 997 is a functional acknowledgment that confirms a file was received. Retailers like Walmart and Target mandate specific transaction sets and timing rules, and missing them triggers chargebacks. ## Why it still matters EDI is decades old but still carries the majority of retail and distribution order volume because it is fast, auditable, and standardized. Its weakness is that it only works when both sides are EDI-capable. Orders that arrive by email, PDF, or fax fall outside EDI entirely, which is why distributors increasingly pair EDI with AI extraction to cover every channel in one pipeline. ## FAQ ### What does EDI stand for? EDI stands for Electronic Data Interchange. It is the exchange of business documents between two companies' computer systems in a standard electronic format, without paper or manual re-keying. ### Is EDI still used in 2026? Yes. EDI carries most retail and distribution order volume and remains mandatory for trading with large retailers. It is increasingly paired with AI order processing to handle email and PDF orders that EDI cannot. ### What is the difference between EDI and an API? Both exchange data system-to-system. EDI uses standardized batch documents (X12, EDIFACT) and is the established standard for retail supply chains. APIs exchange real-time structured data, usually JSON, and are common in modern software integrations. ## Sources - [ASC X12 standards body](https://x12.org) --- # Advance Ship Notice (ASN) Source: https://ordersync.io/glossary/advance-ship-notice An Advance Ship Notice (ASN) is an electronic notification a supplier sends before a shipment arrives, detailing its contents, packing structure, and carrier. In EDI it is the 856 transaction. It tells the buyer exactly what is coming, how it is packed, and when, so receiving can be scanned and verified at the dock. ## What an ASN contains An ASN describes the shipment hierarchy: shipment, order, pack (carton or pallet), and item. Each pack is identified by an SSCC-18 barcode encoded in a GS1-128 label. The buyer scans that label at receiving and the ASN tells their system every item inside without opening the box. It also carries the carrier, tracking number, ship date, and expected delivery. ## Why retailers require it Large retailers mandate an accurate ASN before the truck arrives. It lets them plan dock labor, cross-dock to stores, and reconcile receipts automatically. An ASN that is late, missing, or does not match the physical shipment is one of the most common sources of vendor chargebacks. Walmart, Target, and Amazon all publish strict 856 timing and accuracy rules. ## FAQ ### What is an ASN in shipping? An ASN, or Advance Ship Notice, is an electronic message a supplier sends before goods arrive. It lists the shipment contents, packing structure, SSCC carton labels, and carrier details so the buyer can receive by scanning. ### What EDI document is an ASN? The ASN is the EDI 856 transaction set in ASC X12. It is sent after the 850 purchase order and before or with the physical shipment. ### What happens if an ASN is wrong? An inaccurate or late ASN is a leading cause of retail chargebacks. If the physical shipment does not match the 856, the retailer may fine the supplier and slow the receiving process. ## Sources - [GS1 US logistics labels](https://www.gs1us.org) --- # EDI Capable Source: https://ordersync.io/glossary/edi-capable Being EDI capable means a company can send and receive business documents electronically in a standard EDI format that its trading partners accept. A retailer asking if you are EDI capable wants to know whether you can exchange orders, invoices, and ship notices as compliant X12 transactions without manual handling. ## What it takes to be EDI capable Three things: a way to translate documents into the required standard (an EDI translator or platform), a connection to your partner (AS2, SFTP, or a VAN), and a mapping of your internal data to the exact specification each partner publishes. Being capable for one retailer does not make you capable for another, because every retailer has its own segment requirements, qualifiers, and timing rules. ## Becoming EDI capable quickly Suppliers are often told by a large customer that they must be EDI capable within weeks or risk losing the account. The traditional path is buying a translator and paying per-document VAN fees, which can take months to map and test. A modern alternative is a platform that processes EDI alongside PDF and email orders, so you become capable for the EDI partners that demand it and still handle the buyers who send orders by email. ## FAQ ### What does EDI capable mean? EDI capable means a business can electronically exchange standardized documents, such as purchase orders and invoices, with its trading partners in the EDI format they require, without manual data entry. ### How do I become EDI capable? You need an EDI translator or platform, a connection method (AS2, SFTP, or VAN), and a mapping to each trading partner's published specification. Modern platforms can make a supplier EDI capable in weeks rather than months. ### Do I need to be EDI capable for every retailer separately? Yes. Each retailer publishes its own EDI requirements, transaction sets, and timing rules, so being EDI capable for one does not automatically satisfy another. ## Sources - [ASC X12 standards body](https://x12.org) --- # Bill of Lading (BOL) Source: https://ordersync.io/glossary/bill-of-lading A bill of lading (BOL) is a legal document a carrier issues to a shipper that lists what is being transported, who ships it, who receives it, and the agreed terms. It serves three roles at once: a receipt for the goods, a contract of carriage, and a document of title. ## What a bill of lading contains A BOL lists the shipper and consignee names and addresses, the carrier, the ship date, a description of the freight, the piece count, the weight, the freight class, and any special handling. A BOL number ties the paperwork to the physical shipment so the load can be tracked and the receiver can reconcile what arrived against what was ordered. ## Types of bill of lading A straight BOL is non-negotiable and consigns goods to a named party. An order BOL is negotiable and can transfer title while the goods are in transit. A VICS BOL is the retail standard that pairs with an EDI 856 advance ship notice, and the SCAC and PRO number printed on it let the shipper, carrier, and receiver all reference the same load. ## Bill of lading vs packing slip vs commercial invoice These three documents often travel together but do different jobs. | Document | Prepared by | Purpose | | --- | --- | --- | | Bill of lading | Shipper, signed by the carrier | Receipt for freight, contract of carriage, document of title | | Packing slip | Shipper | Lists the contents of each package so the receiver can check them | | Commercial invoice | Seller | States value for customs on international shipments | ## What is on a VICS bill of lading The VICS BOL is the standard form for retail freight in the US. Retailers match its fields against the ASN, so a mismatch in piece count or PO numbers can hold up receiving. - BOL number assigned by the shipper - Ship-from and ship-to names and addresses - Third-party freight bill-to, if a 3PL or buyer pays - Carrier name, SCAC, and PRO number - Freight terms: prepaid, collect, or third party - Special instructions and appointment details - Customer order information: PO numbers, packages, weight, pallet or slip - Carrier information: handling units, package type, weight, NMFC number, and freight class - Shipper and carrier signatures ## Master bill of lading When one truck carries several shipments, each with its own BOL, a master bill of lading covers the whole load and lists the underlying BOLs. Retail consolidators and multi-stop truckload shipments use it so the carrier signs one document while each receiver still gets its own paperwork. ## FAQ ### What is a bill of lading used for? A bill of lading does three jobs at once: it is the carrier's receipt for the goods, the contract of carriage between shipper and carrier, and a document of title that proves who owns the freight. ### What is the difference between a bill of lading and an invoice? A bill of lading covers the physical movement of goods and travels with the shipment. An invoice, sent as an EDI 810, is the supplier's request for payment. They reference the same order but serve different purposes. ### Is a bill of lading the same as an ASN? No. The ASN, or EDI 856, is the electronic notice of a shipment's contents and packing. The bill of lading is the carrier's transport document. They describe the same shipment and usually travel together. ### Who fills out the bill of lading? The shipper prepares the BOL. The carrier's driver signs it at pickup, which confirms the carrier received the freight as described. ### What is the difference between a BOL number and a PRO number? The shipper assigns the BOL number to its paperwork. The carrier assigns the PRO number to track the shipment in its network. Both usually appear on the BOL. ## Sources - [FMCSA shipping documentation](https://www.fmcsa.dot.gov) - [GS1 US logistics labels](https://www.gs1us.org) --- # Three-Way Match Source: https://ordersync.io/glossary/three-way-match A three-way match is an accounts-payable control that compares three documents before an invoice is paid: the purchase order, the receiving record, and the supplier invoice. The quantities, prices, and terms must agree across all three. If they match, payment is approved. If they do not, the invoice is held for review. ## How the three-way match works The purchase order says what was ordered and at what price. The receiving record, often a packing slip or the EDI 856, says what physically arrived. The invoice, sent as an EDI 810, says what the supplier is billing. Matching the three catches over-billing, short shipments, and price discrepancies before any money leaves. ## Why it matters for order accuracy In distribution, a mismatch usually points to a keying error or a substitution. Reconciling the three documents by hand is slow, so most lines get rubber-stamped and the real exceptions slip through. Matching against structured order data flips that: clean lines clear automatically and only genuine discrepancies surface for a human to review. ## FAQ ### What are the three documents in a three-way match? The purchase order, the receiving report or packing slip, and the supplier invoice. All three must agree on quantity, price, and terms before payment is released. ### What is the difference between two-way and three-way match? A two-way match compares only the purchase order and the invoice. A three-way match adds the receiving record, so it also confirms that what was billed was actually delivered. ## Sources - [ASC X12 standards body](https://x12.org) --- # GTIN (Global Trade Item Number) Source: https://ordersync.io/glossary/gtin A GTIN (Global Trade Item Number) is the globally unique number that identifies a product so any trading partner can scan and reference it the same way. It is the number encoded in a UPC or EAN barcode. Common formats are GTIN-12 (UPC), GTIN-13 (EAN), and GTIN-14 for case quantities. ## How a GTIN is structured A GTIN is built from a GS1 company prefix, an item reference, and a check digit. The check digit is calculated from the other digits and confirms the number was scanned or keyed correctly. Retailers require valid GTINs on items, and often on cases, so the right product is identified at every step. ## GTIN in orders and catalogs GTINs appear in EDI price and sales catalogs (the 832) and on purchase orders so the buyer and supplier agree on exactly which item is being ordered. A wrong or missing GTIN causes the order line to fail item matching, which can short the shipment and trigger a chargeback at retail. ## FAQ ### Is a GTIN the same as a UPC? A UPC is one GTIN format, the 12-digit GTIN-12. GTIN is the umbrella term that also covers EAN (GTIN-13), the 8-digit GTIN-8, and the case-level GTIN-14. ### How many digits is a GTIN? A GTIN can be 8, 12, 13, or 14 digits depending on the format. In data systems shorter GTINs are often stored right-justified and zero-padded to 14 digits. ### What is a GTIN-14? A GTIN-14 identifies a packaging level above the consumer unit, such as a case or pallet. It lets a buyer order and scan a full case as a single trade item. ## Sources - [GS1 US standards](https://www.gs1us.org) --- # SSCC (Serial Shipping Container Code) Source: https://ordersync.io/glossary/sscc An SSCC (Serial Shipping Container Code) is an 18-digit GS1 number that uniquely identifies a logistics unit such as a pallet or carton. It is encoded in the GS1-128 shipping label and referenced in the EDI 856 advance ship notice, so a receiver can scan one label and know every item inside. ## How the SSCC works An SSCC is a GS1 company prefix, a serial reference, and a check digit, 18 digits in total. Each pallet or carton gets its own SSCC, used only once. The advance ship notice links that SSCC to its contents, so scanning the label at the dock confirms receipt without anyone opening the unit. ## Why retailers require SSCC labels Walmart, Target, and Amazon mandate SSCC-18 labels on cartons and pallets. A missing, duplicate, or malformed SSCC is a leading cause of ASN chargebacks because it breaks scan-based receiving. The number on the label must match the SSCC in the 856 exactly or the shipment fails verification. ## FAQ ### What does SSCC stand for? SSCC stands for Serial Shipping Container Code. It is the GS1 standard for uniquely identifying a logistics unit such as a carton or pallet. ### How many digits is an SSCC? An SSCC is 18 digits, including a single check digit at the end that validates the rest of the number. ### Where is the SSCC used? The SSCC is printed in the GS1-128 barcode on the shipping label and carried in the EDI 856 advance ship notice, which links the label to the items inside the unit. ## Sources - [GS1 US logistics labels](https://www.gs1us.org) --- # GS1-128 Barcode Source: https://ordersync.io/glossary/gs1-128 GS1-128 is a barcode standard used on shipping labels to carry structured data like the SSCC, GTIN, quantity, and lot number. Application Identifiers tell the scanner what each field means. It is the barcode that pairs with the EDI 856 advance ship notice for scan-based receiving at retail. ## How GS1-128 encodes data GS1-128 uses Application Identifiers, or AIs, to label each field. AI (00) is the SSCC, (01) is the GTIN, (37) is the count of units, and (10) is the batch or lot number. One label can carry several AIs, so the receiver scans once and captures the whole packing record. ## GS1-128 on the shipping label The retail compliance label combines human-readable text with the GS1-128 barcode. The data it encodes must match the advance ship notice exactly, or scan-based receiving fails. GS1-128 was formerly called UCC-128 or EAN-128, names you still see in older trading-partner specs. ## FAQ ### What is the difference between GS1-128 and Code 128? GS1-128 is Code 128 with the GS1 Application Identifier structure and a special function character. The AIs make the data self-describing, which plain Code 128 does not provide. ### What is GS1-128 used for? GS1-128 is used on shipping and compliance labels to encode logistics data such as the SSCC, GTIN, quantity, and lot, so a receiver can scan a pallet or carton and capture its full packing record. ## Sources - [GS1 US standards](https://www.gs1us.org) --- # EDI 997 Functional Acknowledgment Source: https://ordersync.io/glossary/edi-997-functional-acknowledgment An EDI 997 is a functional acknowledgment, the electronic receipt that confirms one trading partner received another's EDI transmission. It does not say the order was accepted, only that the file arrived and passed structural validation. Missing 997s are a common compliance failure because partners expect them within a set window. ## What the 997 confirms After you receive an 850 purchase order, your system returns a 997 to confirm the interchange arrived and was syntactically valid. The 997 reports accepted, accepted with errors, or rejected at the functional-group level. It is not a business response. Whether you can actually fill the order is answered by the 855 acknowledgment. ## Why the 997 matters for compliance Trading partners track 997s to prove delivery. If a retailer sends an 850 and gets no 997 back, they assume you never received it. Many programs require the 997 within minutes to an hour. Returning it automatically removes a silent source of missed orders and chargebacks. ## FAQ ### What is the difference between an EDI 997 and an EDI 855? The 997 confirms that an EDI file was received and was structurally valid. The 855 is the business acknowledgment of the order itself, telling the buyer whether each line is accepted, rejected, or changed. ### Is a 997 required? Most trading-partner specifications require a 997 for every inbound transaction, usually within a defined time window. Skipping it is treated as a compliance failure. ## Sources - [ASC X12 standards body](https://x12.org) --- # Purchase Order (PO) Source: https://ordersync.io/glossary/purchase-order A purchase order (PO) is a buyer's official offer to purchase goods, listing items, quantities, prices, delivery dates, and ship-to location. It becomes a binding contract once the seller accepts it. In EDI it is the 850 transaction, the document that starts most B2B order flows. ## What a purchase order includes A PO carries a PO number, the buyer and ship-to addresses, line items with SKU or GTIN, quantity, unit price, requested ship and delivery dates, and payment terms. The PO number threads through the whole order-to-cash cycle: the acknowledgment, the advance ship notice, the invoice, and the three-way match all reference it. ## Paper, email, and EDI purchase orders Large retailers send purchase orders as EDI 850s straight into your system. Smaller buyers still send POs by email, PDF, or spreadsheet, which is where manual keying and errors creep in. Handling EDI and document orders in one pipeline keeps every PO structured and out of someone's inbox. ## Types of purchase orders Buyers use different PO types depending on how much they know about quantities and dates up front. | Type | What is fixed | Typical use | | --- | --- | --- | | Standard PO | Items, quantities, prices, delivery dates | One-time or regular replenishment orders | | Planned PO | Items and prices; dates are estimates | Scheduled deliveries released later | | [Blanket PO](/blog/blanket-purchase-order) | Pricing and terms over a period; quantities released as needed | Repeat purchases of the same items | | Contract PO | Terms and conditions only | Framework that later POs reference | ## Purchase order example A typical B2B purchase order carries these fields. The values below are an illustrative example. - PO number: 4500118273 - PO date: 2026-09-14 - Buyer: Example Foods Co., Accounts Payable - Ship-to: Distribution Center 6094 - Line 1: 120 CS of item GTIN 10012345678902 at $18.40 per case - Requested delivery date: 2026-09-28 - Payment terms: 2% 10, Net 30 - Freight terms: FOB destination, freight prepaid - Authorized by: Purchasing Manager ## The purchase order lifecycle Each step after the PO references the PO number, which is why a wrong or missing PO number causes invoice rejections downstream. - The buyer raises and approves the PO, often from a purchase requisition. - The PO goes to the supplier as an EDI 850, an email, or a PDF. - The supplier enters it as a sales order and confirms it with an acknowledgment (EDI 855). - Any change to quantities or dates goes out as a PO change (EDI 860). - The supplier ships and sends an advance ship notice (EDI 856). - The supplier invoices (EDI 810). - The buyer runs a three-way match of PO, receipt, and invoice, then pays, often with remittance advice (EDI 820). ## FAQ ### What is a purchase order in EDI? In EDI, a purchase order is the 850 transaction set. The buyer's system sends it electronically and the supplier's system turns it into a sales order, ideally with no manual re-keying. ### What is the difference between a purchase order and an invoice? A purchase order is the buyer's order placed at the start of the transaction. An invoice, the EDI 810, is the seller's bill sent after the goods ship. The PO authorizes the purchase; the invoice requests payment. ### What is a PO number? A PO number is the buyer's unique reference for a purchase order. Suppliers must quote it on the acknowledgment, ship notice, and invoice so the buyer can match and pay. ### What is the difference between a purchase order and a sales order? The buyer creates the purchase order to request goods. The supplier creates a sales order from it to fulfill the request. They describe the same deal from opposite sides. ### Is a purchase order legally binding? A PO is an offer. It becomes a binding contract once the supplier accepts it, either with an acknowledgment or by shipping the goods. ## Sources - [ASC X12 standards body](https://x12.org) --- # Sales Order Source: https://ordersync.io/glossary/sales-order A sales order is the seller's internal record of a confirmed customer order, created from the buyer's purchase order. It drives picking, packing, shipping, and invoicing. When a retailer's EDI 850 purchase order lands, it becomes a sales order in the supplier's ERP, ideally with no manual re-keying. ## Purchase order vs sales order A purchase order and a sales order are the same transaction seen from two sides. The buyer issues a purchase order; the seller records a sales order from it. The buyer's PO number is carried on the sales order so both sides reference the same deal across the acknowledgment, the shipment, and the invoice. ## How sales orders get created A sales order is either keyed by hand from a PDF or email, or created automatically from an EDI 850 or an extracted document. Automatic creation is faster and removes the typos that cause short shipments, billing disputes, and chargebacks. The goal is a structured sales order without touching a keyboard. ## FAQ ### What is the difference between a sales order and a purchase order? They are two views of one transaction. The buyer creates a purchase order to place the order; the seller creates a sales order to fulfill it. The same PO number links both records. ### Where is a sales order created? A sales order lives in the seller's ERP or order management system. It is generated from the incoming purchase order, whether that arrives as an EDI 850, a PDF, or an email. ## Sources - [ASC X12 standards body](https://x12.org) --- # Retail Chargeback Source: https://ordersync.io/glossary/retail-chargeback A retail chargeback is a financial deduction a retailer takes from a supplier's payment for failing to meet a compliance rule, such as a late shipment, a missing or wrong ASN, a bad label, or an inaccurate invoice. Chargebacks erode margin and are usually preventable with accurate, on-time EDI. ## Common chargeback triggers The usual causes are a late or missing EDI 856 ASN, an SSCC label that does not scan, carton contents that do not match the ASN, a missing 997 acknowledgment, an OTIF miss, and invoice discrepancies. Each retailer publishes its own fine schedule, and the fees add up fast across hundreds of shipments. ## How to prevent chargebacks Meet the trading-partner spec exactly, send accurate ASNs with valid SSCCs, acknowledge orders inside the required window, and reconcile every invoice against the purchase order. Most chargebacks trace back to a manual step, so automating EDI removes the places where compliance quietly breaks. ## FAQ ### What is a chargeback in retail? A retail chargeback is a deduction a retailer takes from what it pays a supplier, applied when the supplier breaks a compliance rule like a late delivery, a bad ASN, or a non-scanning label. ### How do I avoid retail chargebacks? Ship complete and on time, send accurate spec-compliant ASNs with valid SSCC labels, return acknowledgments inside the required window, and match invoices to the purchase order. Automating EDI removes the manual errors behind most chargebacks. ## Sources - [GS1 US retail logistics labels](https://www.gs1us.org) --- # OTIF (On Time In Full) Source: https://ordersync.io/glossary/otif OTIF (On Time In Full) is a retail compliance metric that measures whether a supplier delivered the complete order, on the agreed date, with nothing short or late. Retailers like Walmart set an OTIF threshold and fine suppliers who fall below it. It rewards reliable, accurate fulfillment. ## How OTIF is measured OTIF has two parts. On Time means the shipment arrived inside the delivery window, often measured against a must-arrive-by date. In Full means every ordered unit was delivered with no shorts or substitutions. A line that is one day late or one case short fails OTIF for that order, even if everything else was perfect. ## Why OTIF drives order accuracy OTIF penalties push the accuracy problem back upstream to order entry. A mis-keyed quantity or a missed PO line shows up as an OTIF miss weeks later, long after the typo happened. Clean, structured orders and accurate ASNs are the foundation of a healthy OTIF score. ## FAQ ### What does OTIF stand for? OTIF stands for On Time In Full. It measures whether a supplier delivered the entire order on the agreed date with nothing late or short. ### What is a good OTIF score? Large retailers commonly target 95 percent or higher, though the exact threshold and measurement window vary by program. Falling below the threshold triggers fines. ### Who uses OTIF? Walmart popularized OTIF as a supplier scorecard, and other large retailers run similar on-time and in-full programs to hold suppliers accountable for fulfillment reliability. ## Sources - [GS1 US retail logistics](https://www.gs1us.org) --- # ERP (Enterprise Resource Planning) Source: https://ordersync.io/glossary/what-is-an-erp An ERP (Enterprise Resource Planning) system is the central software a company runs its operations on, tying together finance, inventory, purchasing, sales orders, and fulfillment in one database. When an order arrives, the ERP is where it becomes a sales order, gets picked and shipped, and is invoiced. Examples include NetSuite, SAP, and Microsoft Dynamics. ## What an ERP does An ERP is the single source of truth across departments, with modules for accounting, inventory, order management, purchasing, and the warehouse. Because everything shares one database, a posted order updates stock, cost, and the general ledger at once. For distributors, the order management and inventory modules carry the daily load. ## How orders reach the ERP Orders enter the ERP as EDI, as API calls, or by manual keying from PDFs and emails. The integration that maps an incoming order to the ERP's sales-order format is where most order-entry pain lives. A clean EDI or extraction pipeline drops structured orders straight into the ERP with no re-keying. ## FAQ ### What does ERP stand for? ERP stands for Enterprise Resource Planning. It is the central system that runs a company's finance, inventory, purchasing, and order operations from one shared database. ### What are examples of ERP systems? Common ERPs in distribution include NetSuite, SAP, Microsoft Dynamics 365 Business Central, Acumatica, Sage, Epicor, and SYSPRO. ### What is the difference between an ERP and an order management system? An ERP is the broad operational backbone covering finance, inventory, and more. An order management system focuses on the order lifecycle and often feeds orders into the ERP. ## Sources - [ASCM supply chain terminology](https://www.ascm.org) --- # Value-Added Network (VAN) Source: https://ordersync.io/glossary/value-added-network-van A value-added network (VAN) is a private, managed network that routes EDI documents between trading partners like a digital post office. The sender drops a file in their VAN mailbox and the VAN delivers it to the receiver's mailbox. VANs charge per document or per character, which is why high-volume traders look at alternatives like AS2. ## How a VAN works A VAN uses a mailbox model. Each company connects once to the VAN, which handles delivery, addressing, retries, and the audit trail. VANs interconnect with each other so a sender on one VAN can reach a receiver on another, much like email providers exchanging mail. ## VAN versus a direct connection A VAN is simple to set up but charges ongoing per-document or per-kilocharacter fees that scale with volume. AS2 is a direct internet connection with no per-document fee, but you manage the connection and certificates yourself. Many programs run a mix of both depending on what each partner supports. ## How VAN onboarding works Onboarding runs in a predictable sequence. You sign with a VAN and are issued a mailbox plus an interchange ID and qualifier pair, which becomes your address on the network. You give that pair to each trading partner, and they add it to their routing table. The VAN sets up interconnects to whichever other VANs your partners sit on. You then run test transmissions with each partner, usually a document and its acknowledgment, and the partner signs off. Only then does the partner switch you to production. The VAN side takes days; the partner testing queue is what actually sets the timeline, and with large retailers that can run weeks. ## What is a VAN ID? A VAN ID is the address other companies use to route documents to you, and it is always a pair: a qualifier and an identifier. The qualifier says what kind of ID it is, and the identifier is the value. Common qualifiers are 01 for a Duns Number, 12 for a phone number, 08 for a UCC EDI Communications ID, and ZZ for a mutually defined value. The pair appears in ISA05 and ISA06 for the sender and ISA07 and ISA08 for the receiver. A mismatch on either half is one of the most common reasons a file is accepted by the VAN and then never reaches the partner. ## Single VAN vs multiple VANs Running one VAN keeps billing, support, and the audit trail in one place, and it is the right default for most programs. Multiple VANs appear for three reasons: an acquisition brings its own contract, a specific partner mandates a specific VAN, or a company wants a second path for resilience. The costs of running several are real, since reconciling documents across two audit trails during an incident is genuinely painful and you lose volume leverage on pricing. The usual enterprise pattern is a single primary VAN plus direct AS2 connections to the highest-volume partners, rather than a second VAN. ## VAN pricing: kilocharacters, mailbox fees, and per-document costs VAN billing usually combines three things. A monthly mailbox fee covers the connection itself. A usage charge is levied either per document or per kilocharacter, which is per thousand characters transmitted. Interconnect fees apply when your document crosses to a partner on a different VAN, and they are charged on top. The kilocharacter model is the one that surprises people, because a large 856 with carton-level detail can cost many times what a short 850 costs. Setup and per-partner mapping charges are typically quoted separately. When comparing a VAN against AS2 or a managed service, model your actual document mix rather than a document count, or the estimate will be wrong in the expensive direction. ## FAQ ### What is a VAN in EDI? A VAN, or value-added network, is a private network that routes EDI files between trading partners using a mailbox model, handling delivery, tracking, and the audit trail. ### Is a VAN still needed for EDI? Not always. AS2 and SFTP let partners connect directly without a VAN, but some trading partners still require or prefer a VAN, so many companies use both. ### What does VAN ID mean in EDI? A VAN ID is your routing address on the network, expressed as a qualifier and identifier pair. The qualifier says what kind of ID it is, for example 01 for a Duns Number or ZZ for a mutually defined value, and the identifier is the value itself. The pair sits in ISA05 and ISA06 for the sender and ISA07 and ISA08 for the receiver. ### How does VAN onboarding work? You sign with a VAN, receive a mailbox and an interchange ID and qualifier pair, and give that pair to each trading partner so they can route to you. The VAN arranges interconnects to other VANs as needed. You then run test transmissions with each partner and they approve you for production. The partner testing queue, not the VAN setup, is usually what determines how long it takes. ### What does an EDI VAN or managed service cost? VANs bill a monthly mailbox fee plus usage, charged either per document or per kilocharacter, with interconnect fees when documents cross to another VAN. Managed service providers bundle the network with mapping and support and usually price per partner and per document. Because kilocharacter billing scales with document size, model your real document mix rather than a document count when comparing options. ## Sources - [ASC X12 standards body](https://x12.org) --- # AS2 (Applicability Statement 2) Source: https://ordersync.io/glossary/as2-protocol AS2 (Applicability Statement 2) is a secure internet protocol for sending EDI and other business documents directly between trading partners. It wraps the payload in encryption and a digital signature and returns a signed receipt called an MDN. AS2 is the most common direct connection method in retail EDI, avoiding per-document VAN fees. ## How AS2 works AS2 sends documents over HTTPS, encrypted and digitally signed using S/MIME. The receiver returns a signed MDN, a Message Disposition Notification, which proves the file arrived intact and was read. Partners exchange certificates and AS2 IDs once, then transmit files directly with no intermediary. ## AS2 versus a VAN AS2 is direct, real-time, and has no per-document fee, but you run the AS2 software and manage certificate renewals. A VAN is simpler to operate but bills by volume. Large partners like Walmart and Amazon support AS2, which is why high-volume suppliers favor it. ## What ports does AS2 use? AS2 runs over HTTP and HTTPS, so it uses port 80 or 443 by default. Nothing in the specification mandates those ports, and many partners listen on a non-standard port such as 4080 or 5443 to keep AS2 traffic separate from web traffic. The listening port is whatever your partner publishes in their connection profile, so take it from their setup sheet rather than assuming 443. Your firewall needs an outbound rule to their host and port, and an inbound rule to yours if you receive asynchronous MDNs. ## Does AS2 use FTP? No. AS2 runs over HTTP and HTTPS and has nothing to do with FTP. SFTP and FTPS are separate, alternative transports for moving EDI files, and a trading partner will typically offer one or the other rather than both. The confusion is common because all three are ways of getting an EDI file from A to B, but AS2 is the only one of the three that carries its own encryption, digital signature, and signed receipt inside the message itself. ## AS2 start to end: the full handshake One AS2 transfer runs through six steps. First, the partners exchange public certificates and AS2 identifiers, once, at onboarding. Second, the sender assembles the payload, usually an X12 or EDIFACT file. Third, the payload is signed with the sender's private key and encrypted with the receiver's public key using S/MIME. Fourth, the message is POSTed over HTTPS to the partner's AS2 URL. Fifth, the receiver decrypts with their private key and verifies the signature against the sender's certificate. Sixth, the receiver returns a signed MDN confirming the message arrived intact. A synchronous MDN comes back on the same HTTP connection; an asynchronous MDN arrives later as a separate inbound POST, which is why receiving partners need an inbound listener too. ## AS2 vs SFTP vs VAN vs API AS2 is direct, carries its own encryption and signed receipt, and has no per-document fee, but you run the software and manage certificates. SFTP is simpler and widely supported but has no built-in non-repudiation, so proof of delivery depends on logs rather than a signed receipt. A VAN needs almost no operational effort and gives you one connection to reach many partners, but bills per document or per kilocharacter. A REST API is the easiest to build against and gives immediate responses, but very few large retailers offer one for EDI. Most real programs run a mix, because the choice is usually made by the partner rather than by you. ## AS2 certificate expiry and renewal Certificates are the most common cause of an AS2 connection that worked for two years and then stopped overnight. They typically last one to three years, and when one expires transmissions fail immediately with a signature or decryption error at the partner end. Renewal has to be coordinated: both sides import the new certificate before the old one lapses, and most partners want two to four weeks of notice. Track expiry dates for every partner and alert at 60 days. Overlapping the old and new certificate for a short window avoids a hard cutover. ## FAQ ### What is AS2 used for? AS2 is used to transmit EDI and other business documents securely and directly between two trading partners over the internet, without a value-added network in between. ### What is an MDN in AS2? An MDN, or Message Disposition Notification, is the signed receipt the receiver sends back in AS2. It confirms the message was delivered and not altered, providing non-repudiation. ### Does AS2 replace a VAN? It can. AS2 connects you directly to a trading partner with no intermediary and no per-document fee, which is exactly what a VAN charges for. The catch is that AS2 is point to point: you need a separate connection to every partner, and each one means certificates to manage. A VAN gives you one connection that reaches many partners. Companies with a few high-volume partners usually move those to AS2 and keep a VAN for the long tail. ### What port does AS2 listen on? Whatever port your trading partner publishes. The defaults are 80 for HTTP and 443 for HTTPS, but non-standard ports such as 4080 and 5443 are common because they keep AS2 traffic off the public web server. Always take the port from the partner's connection profile. ### Can I connect AS2 to TrueCommerce? Yes. TrueCommerce supports AS2 connections, as do the other major EDI platforms. You exchange AS2 identifiers, URLs, and public certificates with them once, then transmit directly. The setup work is the same as with any AS2 partner: agree the IDs, import certificates on both sides, confirm whether MDNs are synchronous or asynchronous, and run a test transmission before going live. ### Is AS2 its own communication method or does it use FTP? AS2 is its own method and it runs over HTTP and HTTPS. It does not use FTP, SFTP, or FTPS. Those are separate transports that a partner may offer instead of AS2, not underneath it. ## Sources - [IETF RFC 4130 (AS2)](https://www.rfc-editor.org/rfc/rfc4130) --- # EDI 810 Invoice Source: https://ordersync.io/glossary/edi-810-invoice An EDI 810 is the electronic invoice a supplier sends to bill a buyer for goods shipped. It mirrors the EDI 850 purchase order and lists items, quantities, prices, and totals. The buyer's system matches it against the PO and receiving record in a three-way match before paying, with no paper invoice. ## What the 810 contains The 810 carries an invoice number, the referenced PO number, line items with quantity and price, allowances and charges, tax, and the invoice total. Because it carries the PO number, the buyer's accounts-payable system can auto-match it against the original order. ## Why accuracy matters An 810 that does not match the purchase order or the goods received gets held or short-paid, and at retail a wrong invoice can draw a chargeback. Generating the 810 from the same structured order data that produced the shipment keeps it consistent end to end. ## FAQ ### What is an EDI 810? An EDI 810 is the electronic invoice transaction. A supplier sends it to bill a buyer for shipped goods, referencing the original purchase order so it can be matched and paid automatically. ### What is the difference between an EDI 810 and an 850? The 850 is the buyer's purchase order that starts the transaction. The 810 is the supplier's invoice for that order, sent after the goods ship. ## Sources - [ASC X12 standards body](https://x12.org) --- # EDI 850 Purchase Order Source: https://ordersync.io/glossary/edi-850-purchase-order An EDI 850 is the electronic purchase order a buyer sends to a supplier. It is the document that starts most B2B order flows, listing items, quantities, prices, ship-to, and dates in the standard X12 format. The supplier's system turns the 850 into a sales order automatically, without anyone keying it. ## What the 850 carries An 850 carries the PO number, buyer and ship-to addresses, requested dates, and line items with SKU or GTIN, quantity, and price, expressed as X12 segments like BEG, N1, PO1, and CTT. Each retailer publishes which segments and qualifiers it requires. ## From 850 to fulfillment A received 850 becomes a sales order, then drives an 855 acknowledgment, an 856 advance ship notice, and an 810 invoice. Automating the 850 is the single biggest lever for removing manual order entry, because it is the document that arrives most often and starts everything. ## FAQ ### What is an EDI 850? An EDI 850 is the electronic purchase order transaction set. A buyer's system sends it to order goods, and the supplier's system converts it into a sales order automatically. ### What does an EDI 850 become? An incoming EDI 850 becomes a sales order in the supplier's ERP or order system, which then drives the acknowledgment, shipment, and invoice. ## Sources - [ASC X12 standards body](https://x12.org) --- # Minimum Order Quantity (MOQ) Source: https://ordersync.io/glossary/minimum-order-quantity A minimum order quantity (MOQ) is the smallest amount a supplier will accept on an order, set per item or per order value. It protects the supplier's margin on small orders and shapes how buyers plan purchases. Orders below the MOQ are rejected or adjusted, a common source of order exceptions. ## Why suppliers set an MOQ Fixed picking, packing, and shipping costs make very small orders unprofitable. An MOQ, expressed in units, cases, or dollar value, keeps each order economical to fulfill. It can vary by item, by customer, or by promotion, so the same product may have different MOQs in different deals. ## MOQ in order processing An order line under the MOQ has to be caught and corrected, ideally at entry rather than at the dock. Validating incoming orders against MOQ rules turns a silent short shipment into an exception a person can resolve before it ships. ## FAQ ### What does MOQ mean? MOQ stands for Minimum Order Quantity, the smallest quantity or order value a supplier will accept on a single order. ### Why do suppliers have an MOQ? Suppliers set an MOQ to cover the fixed handling and shipping costs of an order and to protect margin, since very small orders cost more to fulfill than they earn. ## Sources - [ASCM supply chain terminology](https://www.ascm.org) --- # Lead Time Source: https://ordersync.io/glossary/lead-time Lead time is the total elapsed time between placing an order and receiving it. In distribution it spans order processing, supplier production or picking, and transit. Shorter, more predictable lead times let buyers hold less safety stock. Order-entry delays are a hidden part of lead time that automation can remove. ## What makes up lead time Lead time is the sum of order processing time, supplier handling or production, and shipping transit. Each segment adds delay and variability. Manual order entry quietly extends the processing segment, sometimes by a full day, before the supplier has even seen the order. ## Why lead time matters Buyers size safety stock and reorder points around lead time and its variability. Faster, more consistent order handling shrinks both the average lead time and its swings, which frees up working capital that would otherwise sit in inventory as a buffer. ## Lead time formula Add up each stage between order placement and receipt. Measure each stage separately so you can see which one is slow. ``` Lead time = order processing time + production or pick/pack time + transit time ``` ## Types of lead time The term means different things depending on whose clock you are reading. | Type | Starts | Ends | | --- | --- | --- | | Customer lead time | Customer places the order | Customer receives the goods | | Supplier (procurement) lead time | Buyer sends the purchase order | Goods are received | | Manufacturing lead time | Production starts | Finished goods are ready | | Cumulative lead time | First raw material is ordered | Finished product is ready to ship | ## Worked example A retailer sends a PO on Monday morning. It sits in the supplier's shared inbox until Tuesday afternoon, 1.5 days, before anyone keys it in. Picking and packing take 1 day and transit takes 3 days, so lead time is 5.5 days. Entering the order the same morning removes the inbox delay and cuts lead time by about 27%, without touching the warehouse or the carrier. ## Lead time and the reorder point Lead time drives when to reorder. The longer and less predictable it is, the earlier the buyer has to order and the more safety stock they hold. ``` Reorder point = average daily demand × lead time (days) + safety stock ``` ## FAQ ### What is lead time in supply chain? Lead time is the time from placing an order to receiving it, covering order processing, supplier production or picking, and transit. ### How can I reduce lead time? Remove processing delays by automating order entry, and work with suppliers to shorten production and transit. Cutting the processing segment is often the fastest win. ### What is the difference between lead time and cycle time? Lead time is measured from the customer's point of view, from order to delivery. Cycle time measures how long one step or process takes to complete, such as picking an order. ## Sources - [ASCM supply chain terminology](https://www.ascm.org) --- # Unit of Measure (UOM) Source: https://ordersync.io/glossary/unit-of-measure A unit of measure (UOM) defines how a product is counted and sold, such as each, case, pallet, pound, or gallon. Orders, catalogs, and inventory must agree on UOM or quantities go wrong. A buyer ordering cases while the supplier reads eaches is a classic source of over- and under-shipments. ## UOM hierarchy Most distributed products have a hierarchy: eaches in a case, cases on a pallet. The same item carries a different GTIN at each level. An order specifies both the quantity and its unit of measure, and the conversions between levels have to be exact or the picked quantity will be wrong. ## UOM and order errors A mismatch in unit of measure is one of the most expensive quiet errors in order entry, because the totals still look plausible. Validating each line's UOM against the item master catches a case-versus-each slip before it becomes a wrong shipment. ## Common UOM abbreviations These are the abbreviations you will see on purchase orders, catalogs, and pick tickets. Two companies can use different abbreviations for the same unit, so check each trading partner's item setup. | Abbreviation | Meaning | Typical use | | --- | --- | --- | | EA | Each | Single sellable unit | | CS / CA | Case | Shipping carton of eaches; CA is the X12 code | | BX | Box | Inner or retail box | | PK | Pack | Multipack or inner pack | | DZ | Dozen | 12 units | | PL / PLT | Pallet | Full pallet quantity | | CT | Carton | Carton, often used like case | | BG | Bag | Bagged goods | | RL | Roll | Film, tape, labels | | PR | Pair | Gloves, footwear | | ST | Set | Kits sold together | | LB | Pound | Catch-weight and bulk items | | KG | Kilogram | Metric weight | | OZ | Ounce | Small weights | | GA / GAL | Gallon | Liquids; GA is the X12 code | | FT | Foot | Cable, pipe, lumber | ## UOM codes in EDI In X12 the unit of measure travels in data element 355, the Unit or Basis for Measurement Code. On an EDI 850 purchase order it sits in PO103, right after the quantity in PO102. X12 uses CA for case while many ERPs store CS, so the map has to translate one to the other. A missed translation either rejects the line or, worse, loads it with the wrong unit. ## UOM conversion example An item ships 12 eaches to a case and 60 cases to a pallet. An order for 2 pallets is 120 cases, which is 1,440 eaches. If a buyer sends a quantity of 120 with UOM EA and the ERP assumes CS, the warehouse picks 1,440 units instead of 120. The order total still looks like a normal number, which is why this error gets past manual review. | Level | Contains | Quantity for 2 pallets | | --- | --- | --- | | Pallet (PL) | 60 cases | 2 | | Case (CS) | 12 eaches | 120 | | Each (EA) | 1 unit | 1,440 | ## FAQ ### What does UOM stand for? UOM stands for Unit of Measure, the way a product is counted and sold, such as each, case, pallet, pound, or gallon. ### What is a UOM conversion? A UOM conversion translates a quantity from one unit to another, such as eaches to cases, using the item's pack hierarchy. Getting it wrong causes over- or under-shipments. ### What does EA mean on a purchase order? EA means each, a single sellable unit. A line for 24 EA is 24 individual units, not 24 cases. ### What is the difference between CS and CA? Both mean case. CA is the X12 EDI code for case, while many ERPs and catalogs use CS. EDI maps translate between them. ## Sources - [ASCM supply chain terminology](https://www.ascm.org) --- # SKU (Stock Keeping Unit) Source: https://ordersync.io/glossary/stock-keeping-unit A SKU (Stock Keeping Unit) is a seller's internal code for a distinct product variant, used to track inventory and fulfill orders. Unlike a GTIN, which is globally unique, a SKU is defined by each company, so the same item can have different SKUs at the buyer and the supplier. Mapping between them is essential. ## SKU versus GTIN A SKU is internal and seller-defined; a GTIN is global and standardized. A retailer's SKU, a distributor's SKU, and the manufacturer's GTIN can all point to the same physical item, which is why orders need a cross-reference to match lines correctly across partners. ## SKUs in order matching When an order arrives with the buyer's part number, the supplier's system has to map it to its own SKU. A missing or wrong mapping fails the line and stalls the order. Maintaining a customer-item cross-reference is what makes automated order matching work. ## SKU vs UPC vs GTIN A SKU is one company's internal code. UPCs and other GTINs are global identifiers issued through GS1. | Code | Who assigns it | Unique across | Format | | --- | --- | --- | --- | | SKU | Each seller | One company | Letters and numbers, any length | | UPC (GTIN-12) | Brand owner, via a GS1 company prefix | The world | 12 digits, e.g. 012345678905 | | EAN (GTIN-13) | Brand owner, via a GS1 company prefix | The world | 13 digits | | GTIN-14 | Brand owner, via a GS1 company prefix | The world | 14 digits for cases and pallets | ## How to build a SKU A good SKU is readable at a glance. A common pattern strings together category, product, and variant, such as OLV-EVOO-500-12 for extra virgin olive oil, 500 ml, case of 12. - Start with letters, not a zero. Spreadsheets strip leading zeros. - Avoid characters that look alike, such as O and 0 or I and 1. - Keep it short enough to read aloud and key in, around 8 to 12 characters. - Do not encode price or supplier. Both change and the SKU should not. - Never reuse a discontinued SKU for a different product. ## SKU cross-reference example Each customer may order the same item by its own part number. The cross-reference ties them together so an incoming PO line maps to the right SKU and unit of measure. | Customer part number | Supplier SKU | GTIN | UOM | | --- | --- | --- | --- | | KR-448120 | OLV-EVOO-500-12 | 10012345678902 | CS | | WF-00917 | OLV-EVOO-500-12 | 10012345678902 | CS | | Supplier catalog | OLV-EVOO-500-EA | 00012345678905 | EA | ## FAQ ### What does SKU stand for? SKU stands for Stock Keeping Unit, a company's internal code for a distinct product or variant used to track inventory and fulfill orders. ### What is the difference between a SKU and a UPC? A SKU is an internal, company-specific code. A UPC is a globally unique barcode number, a form of GTIN. The same item has one UPC but can have different SKUs at each company. ### How many characters should a SKU be? Most businesses use 8 to 12 characters. Long enough to encode category and variant, short enough to read and type without mistakes. ### Is a SKU the same as an item number? Usually. Many ERPs call the SKU the item number or part number. What matters is that it is unique within your company. ## Sources - [GS1 US standards](https://www.gs1us.org) --- # Cross-Docking Source: https://ordersync.io/glossary/cross-docking Cross-docking is a warehouse practice where incoming goods are unloaded and moved directly to outbound trucks with little or no storage in between. Product flows across the dock from receiving to shipping, cutting handling and holding costs. Retailers use it to push supplier shipments straight to stores. ## How cross-docking works An inbound truck arrives, goods are sorted by destination, and they are reloaded onto outbound trucks within hours. It depends on accurate advance ship notices so the receiver knows what is arriving and where each unit goes before the truck reaches the door. ## Why ASN accuracy is critical With no storage buffer, there is no time to fix a mismatch. A wrong or late EDI 856 ASN breaks the cross-dock flow and forces product into storage, defeating the purpose. Cross-docking rewards suppliers who ship exactly what the ASN says, when it says. ## FAQ ### What is cross-docking? Cross-docking is moving goods directly from inbound to outbound trucks with minimal or no storage in between, so product flows across the dock instead of sitting in the warehouse. ### What are the benefits of cross-docking? Cross-docking lowers handling and holding costs and speeds delivery, since goods are not put away and picked again. It depends on accurate, on-time advance ship notices to work. ## Sources - [ASCM supply chain terminology](https://www.ascm.org) --- # Drop Shipping Source: https://ordersync.io/glossary/drop-shipping Drop shipping is a fulfillment model where a seller takes an order but a supplier ships the goods directly to the end customer, so the seller never holds the inventory. In B2B distribution it appears as direct-ship, where a manufacturer ships on a distributor's behalf and the order data must flow between all three parties. ## How drop shipping works in distribution The buyer orders from the distributor; the distributor forwards the order to the manufacturer, who ships directly to the buyer and confirms with an advance ship notice. EDI ties the three parties together so the distributor stays in the loop on pricing, inventory, and shipment status. ## Order data is the hard part With three parties involved, the order, acknowledgment, ship notice, and invoice all have to route correctly. Manual handling between distributor and manufacturer is where drop-ship orders go wrong. Automated routing keeps every party in sync without re-keying. ## FAQ ### What is drop shipping? Drop shipping is a model where the seller takes the order but the supplier ships directly to the customer, so the seller never physically handles the inventory. ### How does drop shipping work in B2B? In B2B, the distributor forwards the buyer's order to the manufacturer, who ships directly to the buyer. EDI connects all three so order, ship notice, and invoice data stay aligned. ## Sources - [ASCM supply chain terminology](https://www.ascm.org) --- # Backorder Source: https://ordersync.io/glossary/backorder A backorder is an order, or part of an order, that cannot be filled now because the item is out of stock, but the buyer still wants it shipped when inventory returns. It is recorded against the original order and fulfilled later. High backorder rates signal demand outrunning supply or forecasting gaps. ## How backorders are handled The available quantity ships, the shortfall is flagged as backordered, and a second shipment follows when stock arrives. The order system tracks the open quantity so it is not lost or double-shipped. Buyers often set rules on whether to backorder or cancel the shortfall. ## Backorders and order accuracy A backorder is legitimate, but a short shipment that should have been flagged as a backorder and was not looks like an error and can trigger a chargeback. Capturing the backorder status in the acknowledgment and ASN keeps the buyer and supplier aligned. ## Backorder vs out of stock The difference is whether the order is still open. | | Backorder | Out of stock | | --- | --- | --- | | Order status | Accepted and kept open | May be rejected or cancelled | | Restock expected | Yes, with an expected date | Not necessarily | | What the buyer receives | The rest of the order later | Nothing for that line | | Effect on fill rate | Counts as unfilled until shipped | Counts as unfilled | ## Backorders in EDI On the EDI 855 purchase order acknowledgment, each line carries a status code in ACK01. The quantity and an expected ship date go in the elements that follow, so the buyer can plan around the gap. Many large retailers do not accept backorders on replenishment orders: unshipped quantity is cancelled and counts against fill rate, so check the vendor guide before promising a later shipment. | ACK01 code | Meaning | | --- | --- | | IA | Item accepted | | IB | Item backordered | | IC | Item accepted, changes made | | IQ | Item accepted, quantity changed | | IR | Item rejected | | ID | Item deleted | ## Backorder rate Backorder rate shows how often you cannot fill an order from stock. Measure it by orders or by lines, and track it by item to find the products where safety stock is too low. For example, 36 backordered lines out of 1,200 order lines is a 3% backorder rate. ``` Backorder rate = backordered orders (or lines) ÷ total orders (or lines) × 100 ``` ## FAQ ### What does backorder mean? A backorder is an out-of-stock item the buyer still wants, committed against the original order and shipped once inventory is replenished. ### What is the difference between a backorder and out of stock? Out of stock means the item is simply unavailable. A backorder is a committed order for that item, held and fulfilled when stock returns. ### How long does a backorder take? It depends on the supplier's lead time for restocking. The acknowledgment or order confirmation should carry an expected ship date for the backordered quantity. ### Can a buyer cancel a backorder? Usually yes. Buyers often set a rule to cancel any quantity not shipped by a set date, and many retailers cancel unshipped quantities automatically. ## Sources - [ASCM supply chain terminology](https://www.ascm.org) --- # Fill Rate Source: https://ordersync.io/glossary/fill-rate Fill rate is the percentage of customer demand met from available stock without backorders or shortages. A 95 percent fill rate means 95 of every 100 ordered units shipped on the first attempt. It measures how well inventory matches demand and feeds directly into OTIF and customer satisfaction. ## How fill rate is calculated Fill rate is units shipped divided by units ordered, measured by line, by order, or by unit. Line fill rate is stricter than order fill rate because a single short line fails the whole order. Tracking it shows where stockouts and forecasting gaps cost sales. ## Fill rate, safety stock, and OTIF A higher fill rate usually means more safety stock, which ties up cash, so distributors balance the two. A low fill rate shows up downstream as backorders and OTIF misses, which makes it an early warning metric for fulfillment problems. ## FAQ ### What is a good fill rate? A fill rate of 95 to 98 percent is common, though the target varies by industry and by how strictly it is measured, such as by line versus by order. ### How do you calculate fill rate? Divide the units shipped on the first attempt by the units ordered. Measuring by line is stricter than by order because one short line fails the line-level rate. ## Sources - [ASCM supply chain terminology](https://www.ascm.org) --- # Safety Stock Source: https://ordersync.io/glossary/safety-stock Safety stock is extra inventory held as a buffer against demand spikes and supply delays, so a stockout does not happen the moment forecasts are wrong. It is sized from demand variability, lead time, and the service level a business wants to hit. More safety stock raises service but ties up cash. ## Why safety stock exists Demand and lead time both vary. Safety stock absorbs that uncertainty so the business keeps filling orders when a shipment is late or a week sells faster than expected. It is the cushion that sits behind the reorder point. ## Sizing safety stock Common formulas combine demand variability, lead-time variability, and a service-level factor. Hold too little and fill rate drops; hold too much and cash sits on the shelf. Accurate lead-time data, including order-processing time, makes the calculation tighter. ## Safety stock formula The standard formula assumes lead time is fixed and daily demand varies. It multiplies a service-level factor by the standard deviation of daily demand and by the square root of the lead time. ``` Safety stock = Z × σd × √L Z = service-level factor (1.65 for a 95% service level) σd = standard deviation of daily demand, in units L = lead time, in days ``` ## When lead time varies too If supplier lead time swings as much as demand does, use the combined formula. It adds the lead-time variability term, so an unreliable supplier raises safety stock even when demand is steady. ``` Safety stock = Z × √( L × σd² + D² × σL² ) D = average daily demand, in units σL = standard deviation of lead time, in days ``` ## Worked example A distributor sells an average of 120 cases a day of one item, with a standard deviation of 30 cases. Supplier lead time is 9 days and the target service level is 95%. Safety stock = 1.65 × 30 × √9 = 1.65 × 30 × 3 = 148.5, so about 149 cases. The reorder point is average demand during the lead time plus safety stock: 120 × 9 + 149 = 1,229 cases. When on-hand stock falls to 1,229 cases, the buyer places the next purchase order. ## Service level factors The Z value comes from the normal distribution and sets how often you accept a stockout during a replenishment cycle. Each step up in service level costs more inventory than the last. | Target service level | Z factor | | --- | --- | | 80% | 0.84 | | 85% | 1.04 | | 90% | 1.28 | | 95% | 1.65 | | 97% | 1.88 | | 98% | 2.05 | | 99% | 2.33 | | 99.9% | 3.09 | ## The max-minus-average shortcut Teams without clean demand history often use a rule of thumb instead. It is easy to run from an ERP report, but it assumes the worst day and the worst lead time happen together, so it usually overstates the buffer. ``` Safety stock = (max daily sales × max lead time) − (average daily sales × average lead time) ``` ## How order processing time changes safety stock Lead time starts when the buyer sends the PO, not when the supplier keys it in. If a PO sits in an inbox for two days before anyone enters it, those two days are part of L. In the example above, cutting lead time from 9 days to 7 drops safety stock from 149 cases to 131 (1.65 × 30 × √7), 18 fewer cases of cash sitting on the shelf for one item. Same-day order entry shortens lead time for every item a customer buys. ## FAQ ### What is safety stock? Safety stock is buffer inventory held to protect against demand and supply variability, so a late shipment or a demand spike does not immediately cause a stockout. ### How is safety stock calculated? Safety stock is sized from demand variability, lead-time variability, and a target service level. Higher service levels and more variability require more safety stock. ### What is the difference between safety stock and reorder point? Safety stock is the buffer itself. The reorder point is the stock level that triggers a new purchase order, calculated as average daily demand times lead time, plus safety stock. ### What service level should I use for safety stock? Many distributors use 95% as a default and raise fast-moving or high-margin items to 98% or 99%. Slow, low-margin items often sit at 90%, because each step up in service level needs more inventory than the last. ### Is safety stock the same as buffer stock? Yes. Safety stock, buffer stock, and buffer inventory all describe extra inventory held to protect against demand and supply variability. ## Sources - [ASCM supply chain terminology](https://www.ascm.org) --- # Blanket Purchase Order Source: https://ordersync.io/glossary/blanket-purchase-order A blanket purchase order is a single PO that commits a buyer to purchase a quantity of goods over a period, released in scheduled or as-needed shipments rather than all at once. It locks in pricing and terms while spreading delivery, common for recurring or high-volume items in distribution. ## How a blanket PO works The buyer and supplier agree on items, total quantity, price, and a timeframe. The buyer then issues releases against the blanket as it needs stock, often by an EDI 850 referencing the blanket or by an 830 planning schedule. One negotiation covers many shipments. ## Why buyers use blanket POs Blanket POs lock in pricing, cut the paperwork per order, and secure a committed supply line, while giving the supplier demand visibility. The complexity is tracking releases against the remaining balance, which is where order automation earns its keep. ## FAQ ### What is a blanket purchase order? A blanket purchase order is one PO that covers multiple scheduled or as-needed releases over a set period, locking in price and terms across all of them. ### What is the difference between a blanket PO and a standard PO? A standard PO is a single order. A blanket PO authorizes many releases against an agreed total quantity and price over time. ## Sources - [ASC X12 standards body](https://x12.org) --- # SCAC (Standard Carrier Alpha Code) Source: https://ordersync.io/glossary/scac-code A SCAC (Standard Carrier Alpha Code) is a unique two-to-four-letter code that identifies a transportation carrier. It appears on bills of lading, EDI shipment documents, and ASNs so every party references the same carrier. The NMFTA assigns and maintains SCACs. ## What a SCAC identifies Each motor, rail, ocean, or air carrier has its own SCAC. It is the carrier's shorthand in logistics paperwork and EDI, removing ambiguity between similarly named carriers and letting systems route and track shipments automatically. ## SCAC in EDI and the BOL The SCAC is carried in the 856 advance ship notice and printed on the VICS bill of lading alongside the PRO number. Retail trading-partner specs require a valid SCAC so the receiver can match the inbound shipment to a known carrier. ## FAQ ### What does SCAC stand for? SCAC stands for Standard Carrier Alpha Code, a unique two-to-four-letter code that identifies a freight carrier in shipping documents and EDI. ### Where do I get a SCAC code? Carriers obtain and renew their SCAC from the NMFTA, the National Motor Freight Traffic Association, which assigns and maintains the codes. ## Sources - [NMFTA SCAC](https://nmfta.org) --- # FOB (Free on Board) Source: https://ordersync.io/glossary/fob-shipping FOB (Free on Board) is a shipping term that sets the point where ownership and risk pass from seller to buyer. FOB Origin means the buyer takes title and risk when the goods leave the supplier's dock; FOB Destination means the seller keeps risk until delivery. It also decides who pays freight. ## FOB Origin versus FOB Destination Under FOB Origin the buyer owns the goods in transit and usually arranges and pays freight. Under FOB Destination the seller owns them until they arrive and typically covers freight. The choice affects insurance, freight cost, and when revenue is recognized. ## FOB in orders and EDI The FOB terms appear on the purchase order and invoice, often in the FOB segment of the EDI 850 and 810. Getting them right matters for freight billing and for deciding who files the claim if a shipment arrives damaged. ## FOB shipping point vs FOB destination FOB shipping point and FOB origin mean the same thing. The table shows who carries each obligation under the two basic terms. | | FOB shipping point (origin) | FOB destination | | --- | --- | --- | | Title passes | When goods leave the seller's dock | When goods arrive at the buyer's dock | | Risk in transit | Buyer | Seller | | Freight usually paid by | Buyer | Seller | | Files a damage claim | Buyer | Seller | | Goods in transit belong on | Buyer's books | Seller's books | ## Freight payment variations The FOB point decides ownership. A second phrase decides who pays the carrier, and the two can be combined six ways. - FOB origin, freight collect: buyer owns the goods in transit and pays the carrier. - FOB origin, freight prepaid: buyer owns the goods in transit; seller pays the carrier. - FOB origin, freight prepaid and add: seller pays the carrier and adds the freight to the invoice. - FOB destination, freight collect: seller owns the goods in transit; buyer pays the carrier. - FOB destination, freight prepaid: seller owns the goods in transit and pays the carrier. - FOB destination, freight prepaid and add: seller owns the goods in transit, pays the carrier, and bills the freight to the buyer. ## FOB and month-end accounting FOB terms decide which company records goods that are on a truck at month end. Under FOB shipping point the sale generally belongs to the period the goods shipped, and the buyer counts them as inventory in transit. Under FOB destination the seller keeps them in inventory until delivery. Mismatched terms between the PO and the invoice cause cutoff errors that finance teams chase every close. ## FOB in Incoterms The FOB above comes from US domestic trade practice. Incoterms FOB (Free On Board) is a different rule used in international trade: it applies only to sea and inland waterway shipments, and risk passes when the goods are loaded on board the vessel at the named port of shipment. For container and multimodal shipments, FCA is usually the better Incoterm. ## FOB in EDI On the EDI 850 and 810, the FOB segment carries these terms. FOB01 holds the shipment method of payment, with codes such as CC for collect, PP for prepaid by seller, and PC for prepaid but charged to customer. The location and title-passage elements that follow say where ownership changes hands. ## FAQ ### What does FOB mean in shipping? FOB means Free on Board. It marks the point in a shipment where ownership and risk pass from the seller to the buyer, and it sets who pays the freight. ### What is the difference between FOB Origin and FOB Destination? FOB Origin passes title and risk to the buyer at the seller's dock. FOB Destination keeps risk with the seller until the goods are delivered. ### Who pays freight under FOB shipping point? Usually the buyer, because the buyer owns the goods once they leave the seller's dock. The parties can still agree on freight prepaid, where the seller pays the carrier. ### What does FOB freight prepaid and add mean? The seller pays the carrier up front and adds the freight charge to the customer's invoice. ### Is FOB the same in Incoterms? No. Incoterms FOB applies only to sea and inland waterway shipments and transfers risk when goods are loaded on the vessel. US domestic FOB terms are used for truck and rail shipping. ## Sources - [ASCM supply chain terminology](https://www.ascm.org) --- # Consignment Inventory Source: https://ordersync.io/glossary/consignment-inventory Consignment inventory is stock a supplier places at a buyer's location but still owns until it is sold or used. The buyer pays only as it consumes the goods. It lowers the buyer's carrying risk and gives the supplier shelf presence, but it requires careful tracking of what has actually sold. ## How consignment works The supplier ships and continues to own the stock; the buyer holds and sells it. Usage is reported back, often by EDI, and the buyer is invoiced only for what was consumed. Title transfers at the point of sale or use, not at delivery. ## Why tracking is the challenge Because ownership and physical location are split, both sides need an accurate, shared view of on-hand and sold quantities. Inventory inquiry, the EDI 846, and usage reporting keep the count honest and the billing correct. ## FAQ ### What is consignment inventory? Consignment inventory is supplier-owned stock held at the buyer's location. The buyer pays only for what it sells or uses, and the supplier retains ownership until then. ### Who owns consignment inventory? The supplier owns consignment inventory until the buyer sells or consumes it, at which point title transfers and the buyer is billed. ## Sources - [ASCM supply chain terminology](https://www.ascm.org) --- # Demand Forecasting Source: https://ordersync.io/glossary/demand-forecasting Demand forecasting is the practice of predicting future customer demand to plan inventory, purchasing, and production. Distributors use historical orders, seasonality, and trends to set reorder points and safety stock. Better forecasts mean fewer stockouts and less cash trapped in excess inventory. ## How demand forecasting works Forecasts combine historical sales, seasonality, promotions, and known events. The output drives purchasing, safety stock, and reorder points. EDI order history and 852 product activity data give suppliers cleaner inputs than guesswork or spreadsheets alone. ## Why forecast accuracy matters Over-forecast and cash sits in unsold stock; under-forecast and you stock out and miss OTIF. Clean, structured order data is the raw material for a good forecast, which is why accurate order capture feeds straight into planning quality. ## FAQ ### What is demand forecasting? Demand forecasting is predicting future customer demand to plan inventory, purchasing, and production, using history, seasonality, and trends. ### Why is demand forecasting important? It balances the risk of stocking out against the cost of holding excess inventory. Accurate forecasts cut both lost sales and trapped cash. ## Sources - [ASCM supply chain terminology](https://www.ascm.org) --- # Invoice Source: https://ordersync.io/glossary/invoice An invoice is the seller's request for payment. It lists what was sold, quantities, prices, taxes, the total due, and the payment terms, and it references the buyer's purchase order. The buyer matches it against the PO and the goods received before paying. In EDI the invoice is the 810 transaction. ## What an invoice includes Buyers reject invoices that are missing fields their accounts payable team needs to match and pay. A complete B2B invoice carries: - Invoice number, unique and sequential - Invoice date and payment due date - Seller and buyer legal names, addresses, and tax IDs where required - Buyer's PO number, and the ship-to or store number - Line items: item number or GTIN, description, quantity, unit of measure, unit price, line total - Freight, discounts, allowances, and taxes as separate lines - Total amount due and currency - Payment terms, such as Net 30 or 2% 10 Net 30, and remit-to details ## Invoice vs purchase order The purchase order and the invoice describe the same deal from opposite ends of it. | | Purchase order | Invoice | | --- | --- | --- | | Issued by | Buyer | Seller | | Sent | Before fulfillment | After shipment or delivery | | Purpose | Offer to buy | Request for payment | | Accounting effect | None until received | Accounts receivable for the seller, accounts payable for the buyer | | EDI transaction | 850 | 810 | ## Types of invoices Most B2B billing uses a standard invoice, but other types cover specific situations. - Standard invoice: bills for goods or services delivered. - Proforma invoice: a preliminary quote-style invoice sent before delivery, not a demand for payment. - Commercial invoice: states value for customs on international shipments. - Credit memo: reduces what the buyer owes, for returns, shortages, or pricing errors. - Debit memo: increases what the buyer owes, for undercharges or added fees. - Recurring invoice: bills the same amount on a schedule. - Progress invoice: bills part of a large order or project as milestones are met. ## Why invoices get rejected Most rejected invoices fail the buyer's match, not the math. The usual causes are a missing or wrong PO number, a price that differs from the PO, a quantity that differs from what the dock received, or a unit of measure mismatch such as cases billed against eaches ordered. Retail buyers often charge a fee on top of the delay. Invoicing straight from the order and shipment data, instead of re-keying it, removes most of these errors. ## Invoices in EDI The EDI 810 carries the invoice. The BIG segment holds the invoice date, invoice number, PO date, and PO number. IT1 segments carry each line, and the TDS segment carries the total. Grocery retailers often use the 880 instead. ## FAQ ### What is an invoice? An invoice is a seller's request for payment that lists the goods or services provided, prices, taxes, the total due, and payment terms. ### What is the difference between an invoice and a receipt? An invoice asks for payment. A receipt confirms that payment was made. ### What is the difference between an invoice and a bill? They are the same document seen from two sides. The seller sends an invoice; the buyer records it as a bill to pay. ### Does an invoice need a PO number? For most B2B buyers, yes. Accounts payable matches the invoice to the PO by that number, and invoices without it are often rejected or delayed. ## Sources - [X12 transaction set index](https://x12.org/codes) --- # Proforma Invoice Source: https://ordersync.io/glossary/proforma-invoice A proforma invoice is a preliminary bill sent before goods ship. It tells the buyer what they will be charged: items, quantities, prices, freight, and terms. It is not a demand for payment and is not booked as a receivable. Buyers use it to approve a purchase, arrange prepayment, open a letter of credit, or estimate import costs. ## When sellers issue a proforma invoice A proforma invoice comes before the sale is final, when the buyer needs a firm number to act on. - The buyer must prepay or pay a deposit before production or shipment. - The buyer needs internal approval or a purchase order raised against a firm price. - An importer needs to open a letter of credit or apply for an import license. - Customs or a freight forwarder needs an estimate of the shipment's value in advance. ## Proforma vs commercial invoice vs invoice The three documents look alike but do different jobs. | | Proforma invoice | Commercial invoice | Invoice | | --- | --- | --- | --- | | Sent | Before shipment | With an international shipment | After shipment or delivery | | Demands payment | No | Yes, for export sales | Yes | | Booked as receivable | No | Yes | Yes | | Main use | Quote, prepayment, approval | Customs clearance and duty | Billing and payment | | Can change | Yes, until the sale is final | No | Only by credit or debit memo | ## What a proforma invoice includes Include everything the final invoice will carry, and label it clearly so no one pays or books it by mistake. - The words Proforma Invoice at the top - A proforma number and date, plus an expiry or validity date - Seller and buyer details - Item descriptions, quantities, unit prices, and totals - Freight, insurance, and other charges - Payment terms and delivery terms, such as Incoterms - For exports: HS codes, country of origin, and estimated weights ## From proforma to final invoice Once the buyer accepts the proforma and the goods ship, the seller issues a standard or commercial invoice with its own invoice number. Any prepayment received against the proforma shows as a payment on that final invoice. If quantities or prices changed in the meantime, the final invoice reflects what actually shipped, not the proforma. ## FAQ ### Is a proforma invoice a legal document? A proforma invoice is a good-faith statement of what will be billed, but it is not a demand for payment and is not recorded as a receivable. The final invoice is the binding request for payment. ### Do you pay a proforma invoice? Sometimes. When the seller requires prepayment, the buyer pays against the proforma, and the payment is applied to the final invoice once the goods ship. ### Can a proforma invoice be used for customs? Some countries accept a proforma invoice when the commercial invoice is not yet available, often with a requirement to submit the commercial invoice later. Check with the customs broker for the destination country. ## Sources - [International Trade Administration: Pro Forma Invoice](https://www.trade.gov/pro-forma-invoice) --- # Net 30 Payment Terms Source: https://ordersync.io/glossary/net-30 Net 30 means the full invoice amount is due 30 calendar days after the invoice date. It is the most common trade credit term in B2B sales. Variations change the clock or add a discount: Net 60 allows 60 days, Net 30 EOM counts from the end of the month, and 2/10 Net 30 offers 2% off for paying within 10 days. ## How to calculate a Net 30 due date Count 30 calendar days from the invoice date, including weekends and holidays, unless the terms say the clock starts at shipment or receipt. An invoice dated September 5 is due October 5. ``` Due date = invoice date + 30 calendar days ``` ## Common payment terms These appear on purchase orders and invoices, and buyers expect the invoice to repeat the terms on the PO. | Term | Meaning | Invoice dated Sept 5 is due | | --- | --- | --- | | Due on receipt | Pay when the invoice arrives | On receipt | | Net 15 | Full amount in 15 days | Sept 20 | | Net 30 | Full amount in 30 days | Oct 5 | | Net 60 | Full amount in 60 days | Nov 4 | | Net 90 | Full amount in 90 days | Dec 4 | | Net 30 EOM | 30 days after the end of the invoice month | Oct 30 | | 2/10 Net 30 | 2% off if paid in 10 days, else full amount in 30 | Sept 15 with discount, Oct 5 without | ## What 2/10 Net 30 is worth Skipping a 2/10 Net 30 discount means paying 2% to hold the cash for 20 more days. Annualized, that is about 37%, which is why buyers with cash on hand take the discount. ``` Annualized cost = discount ÷ (100 − discount) × 365 ÷ (net days − discount days) = 2 ÷ 98 × 365 ÷ 20 ≈ 37.2% ``` ## Payment terms in EDI On the EDI 810 invoice, terms travel in the ITD segment: ITD03 holds the discount percent, ITD05 the discount days, and ITD07 the net days. A buyer's system checks them against the PO, so an invoice with Net 30 against a PO that says Net 60 gets flagged. ## Getting paid on time under Net 30 Late payment on Net 30 terms usually traces back to the invoice, not the buyer's cash. Invoices that fail the three-way match sit in an exception queue, and the 30 days effectively restart once the error is fixed. Accurate PO numbers, prices, and quantities on the first invoice are the most reliable way to shorten days sales outstanding. ## FAQ ### What does Net 30 mean? Net 30 means the buyer must pay the full invoice amount within 30 calendar days of the invoice date. ### Does Net 30 include weekends? Yes. Net 30 counts calendar days, including weekends and holidays. ### What does 2/10 Net 30 mean? The buyer can take a 2% discount by paying within 10 days of the invoice date. Otherwise the full amount is due in 30 days. ### What is Net 30 EOM? Payment is due 30 days after the end of the month in which the invoice was issued, so a September 5 invoice is due October 30. ## Sources - [X12 transaction set index](https://x12.org/codes) --- # Remittance Advice Source: https://ordersync.io/glossary/remittance-advice A remittance advice is a note from the buyer telling the seller which invoices a payment covers. It lists invoice numbers, amounts paid, and any deductions or discounts taken. Without it, the seller's accounts receivable team cannot apply a lump-sum payment to the right invoices. In EDI it travels as the 820. ## What a remittance advice includes A useful remittance advice lets the seller apply the payment without calling the buyer. - Payer name and payment reference, such as the check or ACH trace number - Payment date, method, and total amount - Each invoice number paid, with the invoice amount and the amount paid - Discounts taken, such as a 2% early payment discount - Deductions, with reason codes, for shortages, damages, or chargebacks ## How remittance advice is delivered The format usually follows the payment method. | Delivery | Typical use | | --- | --- | | Check stub | Paper checks | | Email or PDF | ACH and wire payments from smaller buyers | | EDI 820 | Large retailers and distributors with EDI programs | | ACH CTX addenda | Payment and remittance data travel together in one ACH transaction | | Supplier portal | Retailers that publish payment detail online | ## Why it matters for cash application A retailer may pay 40 invoices with one ACH deposit and short-pay several of them. The remittance advice is the only record of which invoices were paid in full and why the others were reduced. Deductions that are not captured and disputed within the retailer's window, often 30 to 90 days, usually become permanent losses. ## FAQ ### Is a remittance advice the same as a receipt? No. A receipt confirms the seller received payment. A remittance advice comes from the buyer and explains what a payment covers. ### Is a remittance advice required? It is not legally required, but most B2B sellers ask for one, because applying payments without it is slow and error-prone. ## Sources - [Nacha: ACH payment formats](https://www.nacha.org) - [X12 transaction set index](https://x12.org/codes) --- # Credit Memo Source: https://ordersync.io/glossary/credit-memo A credit memo is a document a seller issues to reduce the amount a buyer owes on an invoice. Sellers issue one for returns, short shipments, damaged goods, pricing errors, or agreed allowances. It references the original invoice and lowers the buyer's balance instead of refunding cash. Outside the US it is usually called a credit note. ## When sellers issue a credit memo The common trigger is a gap between what was invoiced and what the buyer should pay. - Returned goods, usually against an RMA number - Short shipment: the invoice billed more than the dock received - Damaged or defective goods accepted at a discount - Pricing error: the invoice price was above the PO price - Promotional or volume allowances agreed with the buyer - A retailer deduction the seller agrees is valid ## Credit memo vs debit memo vs refund Both memos adjust an existing invoice rather than replacing it. | | Credit memo | Debit memo | Refund | | --- | --- | --- | --- | | Effect on buyer's balance | Decreases it | Increases it | None; cash goes back | | Typical cause | Return, shortage, overcharge | Undercharge, added freight or fees | Overpayment already made | | Issued by | Seller | Seller | Seller | | EDI transaction | 812 | 812 | Payment, often ACH | ## Credit memo example and accounting A distributor invoices 100 cases at $20, a total of $2,000. The buyer receives 96 cases. The distributor issues a credit memo for 4 cases, $80, referencing the original invoice, and the buyer now owes $1,920. In the seller's books the credit memo debits sales returns and allowances and credits accounts receivable, so revenue and the receivable both drop by $80. ## Credit memos in EDI The EDI 812 Credit/Debit Adjustment carries credit and debit memos between trading partners, with the original invoice number and a reason code. Some retailers generate their own debit memos for deductions, so the 812 can arrive from either side. ## FAQ ### Is a credit memo the same as a credit note? Yes. Credit memo is the common US term and credit note is common in the UK, EU, and elsewhere. Both reduce what the buyer owes. ### Is a credit memo a refund? No. A credit memo lowers the buyer's balance for future or open invoices. A refund returns cash that was already paid. ### Who issues a credit memo? The seller issues it to the buyer, referencing the original invoice. ## Sources - [X12 transaction set index](https://x12.org/codes) --- # Packing Slip Source: https://ordersync.io/glossary/packing-slip A packing slip is a document included with a shipment that lists what is inside: items, quantities, and the order it fulfills. The receiver uses it to check the delivery against the purchase order before signing. Unlike an invoice, it usually shows no prices. It travels inside or attached to the carton, often in a pouch marked packing list enclosed. ## What a packing slip includes The receiving dock needs enough detail to check the delivery quickly and flag shortages. - Seller and ship-to addresses - Order number and the buyer's PO number - Ship date and carrier - Item numbers, descriptions, and GTINs - Quantity ordered, quantity shipped, and any backordered quantity - Number of cartons and which carton holds which items ## Packing slip vs packing list vs bill of lading vs invoice People use packing slip and packing list interchangeably, though in international trade the packing list is a more detailed export document. | Document | Prepared by | Shows prices | Main purpose | | --- | --- | --- | --- | | Packing slip | Seller or warehouse | No | Check contents on receipt | | Packing list | Seller | No | Export detail: weights, dimensions, marks per package | | Bill of lading | Shipper, signed by carrier | No | Contract of carriage and freight receipt | | Invoice | Seller | Yes | Request for payment | ## Packing slips and the ASN Retailers that receive an EDI 856 advance ship notice already know what is in each carton before the truck arrives. The packing slip is the paper backup, and its quantities should match the ASN. When they disagree, receiving stops to reconcile, and the retailer may charge back for the mismatch. ## FAQ ### Does a packing slip show prices? Usually not. Packing slips are for checking contents, and many B2B sellers leave prices off so warehouse and receiving staff do not see them. ### Is a packing slip the same as an invoice? No. The packing slip lists what shipped. The invoice asks for payment and shows prices and totals. ### Where does the packing slip go? Inside the carton or in a clear pouch attached to the outside, often marked packing list enclosed. For multi-carton shipments it usually goes in carton 1. ## Sources - [GS1 US logistics standards](https://www.gs1us.org) --- # Goods Received Note (GRN) Source: https://ordersync.io/glossary/goods-received-note A goods received note (GRN) is the buyer's record that a delivery arrived, listing what was received, in what quantity and condition, against which purchase order. Receiving staff create it at the dock. Accounts payable uses it as the second document in the three-way match, so an invoice is only paid for goods actually received. ## What a GRN records A GRN captures what physically arrived, which may differ from what was ordered or shipped. - GRN number and receipt date - Supplier name and the PO number - Delivery note, packing slip, or ASN reference - Item numbers and descriptions - Quantity ordered, quantity received, and quantity rejected - Condition notes: damage, shortages, wrong items - Who received and checked the goods ## GRN in the three-way match Accounts payable compares three documents before paying: the purchase order says what was ordered, the GRN says what arrived, and the invoice says what the supplier billed. If the invoice bills 100 cases and the GRN shows 96, AP pays for 96 and the supplier needs to issue a credit memo or dispute the receipt. ## GRN vs delivery note The supplier sends the delivery note or packing slip with the goods. The buyer creates the GRN after checking them. The delivery note says what should be there; the GRN says what was there. In SAP, the goods receipt is posted in transaction MIGO with movement type 101, and EDI buyers can send it back to the supplier as an 861 receiving advice. ## FAQ ### Who prepares a goods received note? The buyer's receiving or warehouse team prepares it when the delivery is checked in. ### Is a GRN the same as a receiving report? Yes. Goods received note, goods receipt, and receiving report all describe the buyer's record of what arrived. ## Sources - [X12 transaction set index](https://x12.org/codes) --- # Order Acknowledgement: What to Include Source: https://ordersync.io/blog/order-acknowledgement > What an order acknowledgement is, the fields it needs, a copy-ready email template, line statuses for backorders and changes, and how it differs from a 997. An order acknowledgement is the supplier's reply to a purchase order, confirming what it will ship, at what price, and when. It echoes the buyer's PO number, lists each line as accepted, changed, backordered or rejected, and gives the expected ship date. In EDI it is the 855 transaction; outside EDI it is usually an email or PDF. **An order acknowledgement tells the buyer, line by line, what will actually happen to their purchase order.** The buyer sent a PO for 40 lines. Your acknowledgement says 37 ship as ordered on Thursday, two are backordered to the 24th, and one item is discontinued. Without it, the buyer finds out when the shipment arrives short, and the first conversation you have is about a chargeback. The spelling varies. "Acknowledgement" is common in British English and in a lot of US business writing, "acknowledgment" is the US dictionary spelling, and EDI guides use both. They mean the same document. This guide covers what to include, a template you can copy, the line statuses that matter, how the acknowledgement differs from a confirmation and a 997, and how to stop writing them by hand. ## What Is an Order Acknowledgement? **An order acknowledgement is the supplier's written answer to a purchase order, and it turns the buyer's request into a shared plan.** A purchase order is the buyer's offer. The acknowledgement is your answer to it, and it does three jobs: 1. **Confirms receipt**: The buyer knows the PO reached someone who will act on it. 2. **Commits to what you will ship**: Quantities, prices and dates, per line, with any differences from the PO spelled out. 3. **Sets your terms**: If you sell under your own terms and conditions, the acknowledgement is where you state them. When buyer and seller terms conflict, [UCC section 2-207](https://www.law.cornell.edu/ucc/2/2-207) decides which ones survive between merchants, and a written acknowledgement puts your terms on the record. Check your own wording with a lawyer. The most useful acknowledgement is the one that reports problems early. "All lines accepted" is easy to send. "Line 14 is short 18 units until the 24th, do you want a partial shipment or should we hold?" is what saves the order. ## What to Include in an Order Acknowledgement **Every acknowledgement needs the buyer's PO number, your own order number, and a status for each line.** The full set of fields: | Field | Example | Notes | |---|---|---| | Buyer's PO number | 4500087321 | Copy it exactly. A missing or mistyped PO number breaks the buyer's matching | | PO date | 2026-11-10 | The date on the PO, not today's date | | Your sales order number | SO-30418 | So the buyer can quote it back to you | | Acknowledgement date | 2026-11-11 | When you sent it | | Ship-to | DC 7034, Joliet IL | Confirms you read the right delivery location | | Line number and item | Line 3, SKU 88-1204 | Use the buyer's line numbers and item numbers | | Quantity ordered vs confirmed | 48 ordered, 30 confirmed | Show both when they differ | | Unit of measure | CS (case of 12) | Confirms what "48" means | | Confirmed unit price | $14.20 | Flag any difference from the PO price | | Line status | Accepted, changed, backordered, rejected | The core of the document | | Expected ship or delivery date | Ships 2026-11-13 | Per line if dates differ | | Terms | Payment, shipping, your T&Cs | Or a link to them | ## Order Acknowledgement Template **Here is a plain-text template that works for email.** Replace the bracketed fields. Keep the line table even when every line is accepted, because buyers' teams scan it. ```text Subject: Order acknowledgement: PO [PO number] from [Your company] Hello [Buyer name], We have received purchase order [PO number] dated [PO date] and entered it as our sales order [SO number]. Line Item Ordered Confirmed Price Status Ships 1 [SKU] 24 CS 24 CS $14.20 Accepted [date] 2 [SKU] 6 CS 6 CS $31.00 Accepted [date] 3 [SKU] 48 CS 30 CS $9.75 Partial [date] 3 [SKU] 18 CS Backordered [date] 4 [SKU] 10 CS 0 - Rejected Discontinued Changes from your PO: - Line 3: 30 cases ship [date]; the remaining 18 follow on [date]. Reply by [date] if you would rather cancel the backorder. - Line 4: item discontinued. Suggested replacement: [SKU]. Ship-to: [address] Payment terms: [terms] This order is accepted under our terms of sale: [link] [Your name] [Company] | [phone] ``` If nothing changed, delete the "Changes" block and say "All lines accepted as ordered." ## Line Statuses: Accepted, Changed, Backordered, Rejected **The status on each line is what the buyer's planning team acts on.** EDI formalizes these as codes. The plain-language versions map to them directly: | Status | What it means | EDI 855 code | |---|---|---| | Accepted | Ships as ordered | IA | | Quantity changed | Ships, but a different quantity | IQ | | Price changed | Ships at a different price | IP | | Date changed | Ships on a different date | DR | | Backordered | Will ship later, when stock arrives | IB | | Substituted | A different item ships in its place | IS | | Rejected | Will not ship | IR | A single line can carry more than one status. The template above splits line 3 into 30 cases shipping now and 18 backordered, which is exactly how the EDI version works: the acknowledgement repeats the status segment for that line. The full code list and segment layout are in our [EDI 855 PO acknowledgment guide](/guides/edi/855-purchase-order-acknowledgment). "Backordered" means the order is still open for that quantity and you will ship when stock returns. If you will not restock, use rejected or substituted instead. A backorder you never fill looks like a broken promise, which is worse than a clear "no." More on the difference in our glossary entry on the [backorder](/glossary/backorder). ## Order Acknowledgement vs Order Confirmation vs 997 **Three documents get called "acknowledgement," and they answer different questions.** | Document | Who sends it | Question it answers | |---|---|---| | EDI 997 functional acknowledgment | Receiving system, automatically | Did the file arrive and parse correctly? | | Order acknowledgement (EDI 855) | Supplier | What will you ship, at what price, and when? | | Order confirmation | Seller, often a webshop | We got your order (usually no line-level changes) | The [EDI 997 functional acknowledgment](/guides/edi/997-functional-acknowledgment) is purely technical. Your EDI system sends it within minutes to say "file received and readable." It says nothing about whether you can fill the order. Suppliers who send 997s and no 855 to a buyer who requires the 855 still fail compliance. "Order confirmation" usually means the automatic "thanks for your order" message from an online store. In B2B the terms blur, and some buyers call the acknowledgement a confirmation. If their vendor guide says "confirmation," check whether they want line-level detail. They usually do. If the buyer later changes the PO, the change gets its own acknowledgement. In EDI that pair is the [EDI 860 PO change](/guides/edi/860-purchase-order-change) and the 865 change acknowledgment. ## When to Send It **Send the acknowledgement after you have checked stock, price and items, and before you start picking.** Acknowledging before you check makes it a receipt, not a commitment. Acknowledging after you ship makes it pointless. The buyer's vendor guide sets the deadline, and many retail EDI programs track late or missing acknowledgements as compliance failures. Without a written deadline, same business day is a good standard. Fast acknowledgements give the buyer time to source a backordered item elsewhere, which is the difference between a minor change and a cancelled order. ## How to Automate Order Acknowledgements **Acknowledgements are slow by hand because they need the order already entered and checked.** Someone keys the PO into the ERP, checks stock and prices line by line, then types the acknowledgement. For a supplier receiving 100 POs a day, that is a full-time job. Automating it means connecting the steps: 1. **Read the PO** from whatever format it arrives in: EDI, PDF, email or spreadsheet. 2. **Validate each line** against your item master, customer price list and available stock. 3. **Create the sales order** in the ERP. 4. **Generate the acknowledgement** from the validated order: an 855 for EDI buyers, an email or PDF for everyone else. 5. **Hold real exceptions** (unknown item, price mismatch, stock short) for a person, and send everything else straight through. OrderSync does this for [multi-format orders](/multi-format-orders): EDI 850s and emailed PDFs go through the same validation, and the acknowledgement goes back in the format each buyer expects. To check what your current 855s actually contain, paste one into the [free EDI Inspector](/edi-inspector). The underlying standard is maintained by [X12](https://x12.org/products/transaction-sets), which publishes the 855 transaction set alongside the 850, 856 and 810. For the document the acknowledgement answers, see [what is a purchase order](/blog/what-is-a-purchase-order). ## Standards and References - [X12 transaction sets](https://x12.org/products/transaction-sets): the 855 purchase order acknowledgment, 865 change acknowledgment and 997 functional acknowledgment are all X12 transaction sets. - [004010 855 structure](https://www.stedi.com/edi/x12-004010/855): the segment order of the EDI acknowledgement, including the ACK loop under each line. - [ACK01 line item status codes](https://www.stedi.com/edi/x12-004010/element/668): the full list of line statuses used in the table above. - [UCC section 2-207](https://www.law.cornell.edu/ucc/2/2-207): how US law treats an acceptance that adds or changes terms between merchants. ## Frequently Asked Questions ### What is an order acknowledgement? An order acknowledgement is a supplier's response to a purchase order. It confirms the order was received and states, for each line, what will ship, in what quantity, at what price and on what date. It flags anything that differs from the PO, such as backorders, price changes or rejected items. ### Is it acknowledgement or acknowledgment? Both spellings are correct. "Acknowledgment" is the standard US dictionary spelling, and "acknowledgement" is standard in British English and widely used in US business. EDI documentation uses both, for example "purchase order acknowledgment" for the 855 and "order acknowledgement" in many vendor guides. ### What is the difference between an order acknowledgement and an order confirmation? In B2B, an order acknowledgement gives line-level detail: what ships, what is backordered, what changed. An order confirmation is often just a notice that the order was received, typical of online stores. Some buyers use the terms interchangeably, so check their vendor guide for the detail they expect. ### What is a purchase order acknowledgement in EDI? In X12 EDI, the purchase order acknowledgement is the 855 transaction set. The supplier sends it in response to an 850 purchase order. It carries the PO number, an overall acknowledgement type, and a status code for each line, such as IA for accepted or IB for backordered. ### Does a 997 count as an order acknowledgement? No. A 997 functional acknowledgment only confirms that an EDI file arrived and was structurally valid. It says nothing about whether the supplier accepts the order. Buyers who require an 855 will treat a 997 alone as a missing acknowledgement. ### Is an order acknowledgement legally binding? An acknowledgement that accepts a purchase order generally forms the contract. If it adds or changes terms, US law under UCC section 2-207 decides which terms apply between merchants. Get legal advice on the terms you attach to acknowledgements. --- # What Is a Purchase Order? Fields and Terms Source: https://ordersync.io/blog/what-is-a-purchase-order > What a purchase order is, the fields every PO needs, how to create one, PO terms and conditions, open POs, and what a supplier does when one arrives. A purchase order (PO) is the document a buyer sends a supplier to order goods or services. It lists the items, quantities, agreed prices, delivery date, ship-to address and payment terms, under a unique PO number. Once the supplier accepts it, the PO becomes a binding agreement, and every later document references it: acknowledgement, ship notice, invoice and payment. **A purchase order is the buyer's written instruction to a supplier: send these items, in these quantities, at these prices, to this address, by this date.** It is the first document in a B2B order and the one every later document points back to. The supplier's acknowledgement quotes the PO number. So do the ship notice, the invoice and the payment remittance. When something goes wrong three weeks later, the PO is what both sides pull up to settle it. This guide covers the fields a PO carries, how to create one, the types buyers use, what the terms and conditions do, what "open" means, and what happens on the supplier side when the PO lands. ## What a Purchase Order Contains **Every purchase order carries the same core fields, whether it arrives as a PDF, an email or an EDI 850.** Layouts differ wildly between buyers. The data underneath is close to identical. | Field | What it holds | Why it matters | |---|---|---| | PO number | Unique reference set by the buyer | Ties together the acknowledgement, ship notice, invoice and payment | | PO date | When the order was issued | Starts the clock on acknowledgement and ship windows | | Buyer and bill-to | The ordering company and where invoices go | Wrong bill-to means the invoice sits unpaid | | Ship-to | Delivery address, often a specific DC or store | Many buyers have dozens; the wrong one is a misdirected shipment | | Line items | SKU, buyer item number or GTIN, description | What is being ordered, in the buyer's numbering | | Quantity and unit of measure | How many, and in what unit (each, case, pallet) | A case-versus-each mix-up turns 10 cases into 10 units | | Unit price | The agreed price per unit | Checked against your price list before you accept | | Requested ship or delivery date | When the buyer needs it | Drives your pick and ship schedule | | Payment terms | For example Net 30 or 2/10 Net 30 | Sets when the invoice is due and any early-pay discount | | Shipping terms | Incoterms or FOB point, carrier, routing | Decides who pays freight and who owns goods in transit | | Terms and conditions | The legal terms the buyer orders under | Governs disputes, returns, penalties and warranties | The unit of measure line causes more fulfillment errors than any other field. A buyer orders "12" meaning cases of 24, your system reads "12" as eaches, and the shipment arrives 276 units short. Check the UOM on every line before the order reaches the warehouse. ## How to Create a Purchase Order **Creating a purchase order takes six steps, and the first one happens before the PO exists.** Here is the sequence most buying teams follow: 1. **Raise a requisition.** Someone internal requests the goods. A [purchase requisition](/blog/purchase-requisition) records what is needed and why, before money is committed. 2. **Pick the supplier and confirm price.** Use an existing contract or price list, or get a quote. The PO price should match what the supplier agreed. 3. **Approve the spend.** The requisition or draft PO goes through your [purchase order approval workflow](/blog/purchase-order-approval-workflow), usually with thresholds by amount. 4. **Fill in the PO fields.** Assign the PO number and complete every field in the table above. Leave nothing to the supplier's interpretation. 5. **Send it.** By email, a supplier portal, or EDI. Large retailers send the [EDI 850 purchase order](/guides/edi/850-purchase-order); smaller buyers mostly email a PDF. 6. **Wait for the acknowledgement.** The supplier confirms, changes or rejects the order. Until they acknowledge, you do not know the order will ship as written. In an ERP, steps 2 to 5 often happen on one screen. Microsoft's Business Central guide to [recording purchases](https://learn.microsoft.com/en-us/dynamics365/business-central/purchasing-how-record-purchases) shows the standard flow: create the purchase order, add lines, release it, then post the receipt and invoice against it. ## Types of Purchase Orders **Buyers use four PO types, depending on how much they know up front about quantities, dates and prices.** | Type | What is fixed | Typical use | |---|---|---| | Standard PO | Items, quantities, prices, dates | One-off or regular replenishment orders | | Planned PO | Items, quantities, prices; dates are tentative | Known demand with flexible timing; releases set the dates | | Blanket PO | Price and total commitment; quantities and dates drawn down over time | Repeat buying of the same items over a year | | Contract PO | Terms and conditions only | Framework agreement that later standard POs reference | The [blanket purchase order](/blog/blanket-purchase-order) is the one suppliers see most after the standard PO. Each release against it arrives as its own order, carrying the blanket number as a reference. ## Purchase Order Terms and Conditions **Purchase order terms and conditions are the legal rules the buyer is ordering under, and they apply once the supplier accepts the PO.** They are usually printed on the back of a paper PO, linked from a PDF footer, or referenced in a trading partner agreement for EDI orders. Typical clauses cover: - **Acceptance**: What counts as accepting the order: a signed acknowledgement, shipping the goods, or failing to object within a set number of days. - **Delivery and title**: When risk and ownership pass to the buyer, and what happens if you deliver late. - **Inspection and rejection**: How long the buyer has to inspect goods and reject non-conforming items. - **Pricing and invoicing**: That the PO price is final, and what an invoice must reference to get paid. - **Warranties and indemnity**: What you guarantee about the goods. - **Penalties**: Chargebacks for late, short or non-compliant shipments, common with large retailers. - **Changes and cancellation**: Whether the buyer can change or cancel, and up to when. When the buyer's PO terms and your acknowledgement terms disagree, US law has a rule for it. Under the Uniform Commercial Code, an acceptance that adds or changes terms can still form a contract, and [UCC section 2-207](https://www.law.cornell.edu/ucc/2/2-207) decides which terms survive between merchants. That is one reason to send a written [order acknowledgement](/blog/order-acknowledgement) with your own terms rather than just shipping. Talk to a lawyer about your specific terms; this is not legal advice. ## What Is an Open Purchase Order? **An open purchase order is a PO that has been issued but not yet fully received and invoiced.** It stays open while any quantity is still to ship, be received or be billed. In most ERPs a PO moves through statuses like this: | Status | Meaning | |---|---| | Draft | Created, not yet approved or sent | | Open (or released) | Sent to the supplier, waiting on goods | | Partially received | Some lines or quantities delivered, the rest still open | | Received | All goods in; invoice may still be pending | | Closed | Received, invoiced and matched; nothing left to do | | Cancelled | Withdrawn before completion | "Open PO" has a second meaning in some industries: a standing agreement that stays open for repeat orders, close to a blanket PO. When a buyer says "we have an open PO with you," ask which one they mean. An open PO report is how both sides find stuck orders. Buyers run it to chase late deliveries. Suppliers run their own version, open sales orders, to see what they have promised and not yet shipped. ## Purchase Order vs Invoice vs Sales Order **The PO, the sales order and the invoice describe the same transaction from three angles.** | Document | Who creates it | When | Purpose | |---|---|---|---| | Purchase order | Buyer | Before delivery | Request and commitment to buy | | Sales order | Supplier | When the PO is accepted | The supplier's internal record of what to ship | | Invoice | Supplier | After shipping | Request for payment against the PO | The buyer pays the invoice only after matching it against the PO and the goods receipt, a check called the [three-way match](/blog/three-way-match). If your invoice quantity or price does not agree with the PO, payment stops until someone resolves it. ## What Happens When a Supplier Receives a PO **On the supplier side, every PO has to be read, checked, entered and confirmed before anything ships.** For a supplier, the PO is inbound work: 1. **Read it.** Pull the fields out of the PDF, email body, spreadsheet or EDI file. 2. **Validate it.** Check that the customer, ship-to, items, prices and UOMs match your records. Flag anything that does not. 3. **Enter it.** Create the sales order in your ERP. 4. **Acknowledge it.** Tell the buyer what you will ship and when, and call out any changes or backorders. 5. **Handle changes.** Buyers revise POs. In EDI that arrives as an [EDI 860 PO change](/guides/edi/860-purchase-order-change); by email, it is a "revised PO" attachment that looks almost identical to the original. Steps 1 to 3 are where manual entry eats time. A distributor taking 200 PDF and email POs a day has someone keying every line. [PDF order processing](/pdf-order-processing) and [email order processing](/email-order-processing) automate the reading and entry, then hold anything that fails validation for review. For EDI orders, you can paste any 850 into the [free EDI Inspector](/edi-inspector) to see every field in plain English. ## Standards and References - [UCC section 2-207](https://www.law.cornell.edu/ucc/2/2-207): additional terms in an acceptance, the rule behind conflicting PO and acknowledgement terms. - [UCC section 2-201](https://www.law.cornell.edu/ucc/2/2-201): when a contract for the sale of goods must be in writing to be enforceable. - [Business Central: record purchases](https://learn.microsoft.com/en-us/dynamics365/business-central/purchasing-how-record-purchases): how a standard ERP creates, releases and posts a purchase order. - [X12 transaction sets](https://x12.org/products/transaction-sets): the 850 purchase order and the related 855, 856, 860 and 810 documents. ## Frequently Asked Questions ### What is a purchase order in simple terms? A purchase order is a buyer's written order to a supplier. It says what the buyer wants, how many, at what price, where to deliver it, and when. It has a unique PO number that the supplier, the warehouse and the accounts team all use to track the order until it is paid. ### Is a purchase order legally binding? A purchase order is an offer. It becomes a binding contract when the supplier accepts it, either by sending an acknowledgement or by shipping the goods. In the US, sales of goods fall under the Uniform Commercial Code, which also covers what happens when the buyer's and seller's terms conflict. ### What is the difference between a purchase order and an invoice? The buyer issues the purchase order before delivery to request goods. The supplier issues the invoice after shipping to request payment. The invoice should reference the PO number and match its prices and quantities, or the buyer's accounts payable team will hold it. ### What does PO number mean? A PO number is the unique reference the buyer assigns to a purchase order. Suppliers quote it on the acknowledgement, packing slip, ship notice and invoice so the buyer can match every document to the original order. Invoices without the right PO number are a common reason payments get delayed. ### Can a purchase order be changed after it is sent? Yes. The buyer sends a revised PO or, in EDI, a PO change transaction (the 860). The supplier should acknowledge the change, especially if it affects price, quantity or dates. Most PO terms limit how late the buyer can change or cancel without paying for goods already made or shipped. ### What is an open purchase order? An open purchase order is one that has been sent to the supplier but not yet fully delivered, invoiced and closed. It stays open until every line is received and billed. Some industries also use "open PO" for a standing agreement that covers repeat orders. --- # Esker Alternatives: Orders, AP, AR and P2P Source: https://ordersync.io/blog/esker-alternatives > Esker is a ten-module suite, so the right alternative depends on which module you're replacing. Alternatives for Esker order management, AP, AR and source-to-pay, compared. The best Esker alternative depends on which module you're replacing. For order management, look at OrderSync, Conexiom or Workist. For accounts payable, Basware, Medius or SAP Concur Invoice. For receivables and collections, HighRadius, Billtrust or Versapay. For source-to-pay, Coupa, SAP Ariba or Oracle Fusion Cloud Procurement. Few companies replace all of Esker at once. **Esker is a suite, not a single product, so "Esker alternatives" has a different answer for each of its modules.** Most lists mix accounts receivable tools with procurement platforms and order automation, which is why they read as random. This one splits the alternatives by the job you need done. Some context first. Esker is a French company founded in 1985 that sells order management, accounts payable, accounts receivable, cash application, collections, credit, procurement, supplier management and expense tools on one platform. Bridgepoint and General Atlantic took it private in March 2025. Gartner named it a Leader for Accounts Payable Applications (2025) and Source-to-Pay (2024), so the product itself is not the usual reason people leave. The usual reasons are cost, implementation time, and paying for a suite when only one module is in use. ## Esker alternatives at a glance | If you're replacing Esker's... | Look at | Why | |---|---|---| | Order management (sales order automation) | OrderSync, Conexiom, Workist | Purpose-built order intake, faster to go live than a suite | | Accounts payable | Basware, Medius, SAP Concur Invoice | Dedicated AP automation and e-invoicing | | Accounts receivable and collections | HighRadius, Billtrust, Versapay, Sidetrade | AR, collections and customer payments as the core product | | Source-to-pay / procurement | Coupa, SAP Ariba, Oracle Fusion Cloud Procurement | Full sourcing and spend management | | EDI services | SPS Commerce, TrueCommerce | Retail EDI networks if EDI is all you used Esker for | ## Alternatives to Esker order management **If Esker's order management module is the one you use, a purpose-built order platform will usually be faster to deploy and cheaper to run.** Esker's order management reads orders arriving by email, PDF, fax, EDI and portal and turns them into ERP sales orders, and its Synergy AI claims over 92% recognition. The alternatives below do the same core job without the rest of the suite. **OrderSync** handles PDF, email, CSV and EDI orders in one platform, including full X12 round-trips (855, 856, 810, 997) with the trading partner connection handled on our side. Implementations run in weeks, and pricing is a flat monthly subscription rather than per-document. It does not replace Esker's AP, AR or procurement modules. See [OrderSync vs Esker](/ordersync-vs/esker) for the side-by-side, or drop a sample file into the free [EDI Inspector](/edi-inspector) to see how an 850 parses. **Conexiom** is the most widely deployed order automation tool in industrial distribution, using machine learning plus generative AI to turn email, PDF and spreadsheet orders into ERP sales orders. In October 2026 it opened early access to a [Headless Platform](https://www.prnewswire.com/news-releases/conexiom-unveils-headless-platform-that-embeds-ai-automation-for-orders-and-invoices-inside-internal-systems-302913711.html) with a REST API, SDKs and an MCP server. It parses EDI 850 as a document but does not run 810, 856 or 997 round-trips. Pricing is an annual subscription in customer packs, with fees per trading partner, per document or both according to [TrustRadius](https://www.trustradius.com/products/conexiom/pricing); see [Conexiom pricing](/edi-pricing/conexiom) and [OrderSync vs Conexiom](/ordersync-vs/conexiom). **Workist** is a German document AI vendor focused on incoming purchase orders and order confirmations for wholesalers and manufacturers, with a strong base in the DACH region. It doesn't publish pricing. ## Alternatives to Esker accounts payable **For AP, the alternatives are dedicated invoice automation platforms, and the right one depends on how much of your invoice volume is already electronic.** Gartner Peer Insights lists Concur Invoice, Oracle Fusion Cloud ERP, Basware and DocuWare as the most common alternatives buyers compare against Esker Accounts Payable. - **Basware** is AP-led, with a large e-invoicing network and strong matching. A good fit when invoice volume is high and you want e-invoicing compliance handled. - **Medius** covers AP automation and spend management, and it is popular with mid-to-large companies on Microsoft Dynamics, SAP and NetSuite. - **SAP Concur Invoice** makes sense if you already run Concur for travel and expenses and want invoices in the same place. For the evaluation itself, our guide to [accounts payable automation](/blog/accounts-payable-automation) covers what to test. ## Alternatives to Esker accounts receivable and collections **For receivables, the specialist vendors are deeper than any suite module, and Esker's own direct competitors here are AR platforms.** The common shortlist is HighRadius, Billtrust, Versapay, Sidetrade and Quadient AR. - **HighRadius** is built for large enterprises, with AI across cash application, collections, credit and deductions. - **Billtrust** combines invoicing, AR automation and B2B payments. - **Versapay** is built around a customer payment portal where buyers and sellers resolve invoices together. - **Sidetrade** is a European AI order-to-cash vendor with strong collections tooling. ## Alternatives to Esker source-to-pay **For procurement, the alternatives are the enterprise source-to-pay suites, and Gartner Peer Insights names Coupa, Oracle Fusion Cloud Procurement, SAP Ariba and Medius as the most compared.** Coupa suits large organizations on mixed ERPs, Ariba suits SAP shops with big supplier networks, and Oracle's procurement cloud fits Oracle Fusion customers. Our [procure-to-pay software guide](/blog/procure-to-pay-software) compares these suites and the lighter mid-market options. ## When to stay with Esker **Stay with Esker if you genuinely use three or more of its modules.** The value of a suite is one vendor, one data model and one support contract across AP, AR and orders. Replacing it with four best-of-breed tools means four contracts, four integrations to your ERP and four renewal negotiations. The case for switching is strongest when one module carries the cost of the whole platform, or when the module you use most is the one your team works around. ## FAQ ### Who are Esker's main competitors? It depends on the module. In order management, Conexiom and OrderSync. In accounts payable, Basware, Medius and SAP Concur Invoice. In receivables, HighRadius, Billtrust and Versapay. In source-to-pay, Coupa, SAP Ariba and Oracle Fusion Cloud Procurement. ### What is the best alternative to Esker for sales order processing? A purpose-built order platform. OrderSync handles EDI, PDF and email orders together with full EDI round-trips; Conexiom is the established choice for email and PDF orders in industrial distribution. Both go live faster than an Esker suite rollout. ### Does Esker support EDI? Yes. [Esker EDI Services](https://www.esker.com/eskers-edi-capabilities/) covers X12, EDIFACT and more than 35 standards over AS2, SFTP and OFTP2. If EDI is the only part of Esker you use, a retail EDI provider may cost less; see our [SPS Commerce alternatives](/blog/sps-commerce-alternatives) guide. ### How much does Esker cost? Esker doesn't publish pricing. Its vendor description on Gartner Peer Insights describes an annual subscription based on document volume with tiered rates, scoped per module, with implementation priced separately. ### Is Esker still a public company? No. Esker was listed on Euronext Paris until March 3, 2025, when Bridgepoint and General Atlantic completed a tender offer and took it private. --- # Best ERP for Distributors in 2026 Source: https://ordersync.io/blog/erp-for-distributors > 10 ERPs distributors actually run, compared on lot and catch weight, UOM, EDI, WMS, rebates and landed cost, plus the order-intake gap all of them share. The best ERP for distributors depends on size and vertical. NetSuite, Acumatica, and Business Central suit growing generalists. Epicor Prophet 21 and Infor CloudSuite Distribution fit industrial and MRO. VAI S2K, Aptean, and NECS entrée lead food and beverage on catch weight and lot tracking. Sage X3 and SAP Business One fit multi-entity and international operations. > **Distribution ERP** is an enterprise resource planning system configured for companies that buy, stock, and resell goods. On top of general ledger and purchasing, it handles multi-warehouse inventory, units of measure and case breaks, lot and serial tracking, customer-specific pricing, vendor rebates, landed cost, and warehouse execution. Most "best ERP for distributors" lists are written by the reseller that implements the product at number one. Our bias, stated up front: OrderSync sits in front of the ERP and handles order intake, so we see where each system makes your team re-key orders. Below are ten ERPs distributors actually run, the features that separate them, where each one hurts, and the gap all of them leave at the front door. For the broader feature-by-feature framework across the whole software category, read our [wholesale distribution software buyer's guide](/blog/wholesale-distribution-software). ## The Distribution Features That Actually Separate ERPs Every ERP vendor claims inventory, purchasing, and order management. These seven capabilities are where distribution ERPs actually differ. - **Lot, serial, and expiration tracking.** Required for food, pharma, chemicals, and anything with a recall risk. Ask whether lot is tracked through case breaks, repacks, and returns, or only at receipt. - **Catch weight.** Meat, seafood, cheese, and produce sell by actual weight. A catch weight ERP stores both a count and a weight per line, prices on the weight, and carries it through to the invoice. - **Units of measure.** Buying by the pallet, stocking by the case, selling by the each. Ask how the system converts, how it prices broken cases, and how it handles a customer who orders "2 CS" when your item is set up in eaches. - **EDI.** Whether X12 translation is native, sold as the vendor's own module, or handled by a third party like SPS Commerce or TrueCommerce. Most general-purpose ERPs need a third party. - **Warehouse management.** Native WMS with RF scanning, directed putaway, and wave or zone picking, or a bolt-on. - **Rebates and billbacks.** Vendor rebates, customer rebates, and promotional allowances are where distribution margin leaks. Generic suites often push these to a spreadsheet. - **Landed cost.** Freight, duty, and brokerage allocated to the item cost, so margin reports reflect what the product actually cost you to put on the shelf. The [landed cost calculator](/tools/landed-cost-calculator) shows the allocation on one invoice, and the [markup calculator](/tools/markup-calculator) turns the result into a price list. ## The 10 ERPs Distributors Shortlist ### 1. Oracle NetSuite **Best for:** Growing generalist distributors who want one cloud system for finance, inventory, and orders, and have the budget to configure it. NetSuite's wholesale distribution edition tracks items across bins, lots, and locations, runs min/max and safety stock replenishment, and supports multi-entity operations and complex pricing, per [NetSuite's wholesale distribution page](https://www.netsuite.com/portal/industries/wholesale.shtml). Its food and beverage distribution page adds multi-location inventory with farm-to-table traceability. The SuiteApp marketplace fills most gaps. **Watch-outs:** NetSuite does not parse raw X12 EDI. You need a SuiteApp from SPS Commerce or TrueCommerce, an iPaaS like Celigo, or a managed service (we cover the options in our [NetSuite EDI integration guide](/blog/edi-netsuite-integration)). Capterra reviewers rate it about 4.2 out of 5 across roughly 2,000 reviews, and several describe implementations as a "money pit," per [Proton's 2026 review roundup](https://www.proton.ai/blog/best-erp-software-for-distributors-an-honest-2026-buyers-guide). Confirm catch weight support with your implementation partner before you sign. **Pricing signal:** Not published. Quoted per deployment. ### 2. Acumatica Distribution Edition **Best for:** Small and mid-market distributors adding users fast. [Ultra Consultants](https://ultraconsultants.com/erp-software-blog/top-erp-systems-for-distribution/) puts the typical customer between $20M and $200M in revenue. The [Distribution Edition brochure](https://www.acumatica.com/media/2021/01/Distribution_Edition_Applications-BR-DST-20240229.pdf) lists matrix items, multi-warehouse inventory, lot and serial tracking, configurable units of measure with weights and packaging, blanket orders, drop shipments, and an embedded WMS with barcode scanning on phones and rugged scanners. Licensing is consumption-based, so you are not charged per user, which matters when you want warehouse staff, reps, and part-timers all logged in. **Watch-outs:** No native EDI translator. EDI comes from Marketplace connectors or middleware calling Acumatica's REST API (details in our [Acumatica EDI guide](/blog/edi-acumatica-integration)). Distributors with heavy lot and serial requirements disagree publicly on whether it goes deep enough, so demo it against your own lot scenarios. **Pricing signal:** Acumatica advertises its APEX for Distribution package at a starting price under $1,500, with implementation services included, on its [WMS page](https://www.acumatica.com/cloud-erp-software/warehouse-management-system). ### 3. Microsoft Dynamics 365 Business Central **Best for:** Small to mid-sized distributors already living in Microsoft 365, Excel, and Power BI. Business Central covers finance, sales, purchasing, inventory, and supply chain planning in the Essentials tier. Warehouse functions include batch and serial support, multiple picking strategies, and simple cross-docking. Its real strength for distribution is the partner ecosystem: Ultra Consultants reports the average customer runs two to five third-party apps on top of the base product, and vertical products like Aptean's food ERP are built on it. **Watch-outs:** No native EDI engine; you add an AppSource connector or middleware (see our [Dynamics 365 EDI guide](/blog/edi-dynamics-365-integration)). You buy through a partner, and the partner's distribution experience matters as much as the product. Reviewers repeatedly name reporting as the weak spot. **Pricing signal:** Published. Microsoft raised list prices on November 1, 2025 to $80 per user per month for Essentials and $110 for Premium, billed annually, per the [Microsoft Dynamics 365 blog](https://www.microsoft.com/en-us/dynamics-365/blog/business-leader/2025/05/06/new-microsoft-dynamics-365-business-central-pricing-effective-november-2025). Implementation is extra. ### 4. SAP Business One **Best for:** Distributors from roughly $20M to $250M in revenue with 50 to 100 office staff, especially in durable goods, food, and electrical, per Ultra Consultants. A common pick for subsidiaries of companies already on SAP. [SAP's Business One logistics training](https://learning.sap.com/courses/managing-logistics-in-sap-business-one/managing-serial-numbers-and-batches) covers batch and serial management, units of measure, bin locations, drop ship warehouses, and special prices per business partner. A serial/batch valuation method lets you cost each batch at its actual inbound cost. **Watch-outs:** Reviewers cite a steep learning curve and high license cost for its tier. EDI runs through partner add-ons or middleware (see our [SAP EDI guide](/blog/edi-sap-integration)). Ask your partner how catch weight would be handled. **Pricing signal:** Sold through partners. No public list price. ### 5. Epicor Prophet 21 **Best for:** Industrial, MRO, electrical, plumbing, HVAC, and fluid power distributors. Epicor markets Prophet 21 as the "only ERP designed by distributors for distributors" on its [Prophet 21 product page](https://www.epicor.com/en-us/products/enterprise-resource-planning-erp/prophet-21/). Epicor's distribution pages describe electronic vendor rebate tracking tied to price schedules and the general ledger, plus contract, quantity-break, and time-sensitive customer pricing from a single order screen. Epicor sells its own EDI products, and P21 runs in a dedicated-tenant cloud where each customer gets its own database. **Watch-outs:** Reporting. Capterra reviewers rate it about 3.9 out of 5 on around 90 reviews, per the same Proton roundup, and custom reports often get built outside P21 in Crystal Reports or SQL. Integrators describe the native API as costly and limited. For electrical and plumbing, also look at Epicor Eclipse. **Pricing signal:** Not published. ### 6. Infor CloudSuite Distribution (SX.e) **Best for:** Mid-market and larger specialized distributors in industrial supply, building materials, auto parts, and grocery. CloudSuite Distribution is the multi-tenant cloud successor to SX.e, running on AWS. [Infor's distribution page](https://www.infor.com/products/cloudsuite-distribution) lists high-volume order processing, complex pricing models, and supplier rebate management for industrial supply, plus food safety compliance, delivery scheduling, and re-packing for grocery distributors. Infor OS and its ION middleware connect Infor and non-Infor systems, and Birst analytics is embedded. **Watch-outs:** Depth comes with a learning curve, and reviewers ask for better documentation. EDI lands through ION and a translator (our [Infor EDI guide](/blog/edi-infor-integration) walks the order path). If you are on on-prem SX.e, weigh the cloud roadmap before you upgrade in place. **Pricing signal:** Not published. ### 7. Sage X3 (and Sage 100) **Best for:** Distributors with "multis": multiple entities, currencies, countries, or sites. Ultra Consultants puts the X3 sweet spot at $30M+ in revenue and 50+ employees, often importers bringing goods from overseas plants into US or Canadian warehouses. [Sage X3](https://www.sage.com/en-us/sage-business-cloud/sage-x3) offers native multi-site, multi-currency, and multi-country management, advanced WMS, and end-to-end batch genealogy, which makes it a credible food and beverage option. Sage's [wholesale distribution page](https://www.sage.com/en-us/industry/wholesale-distribution) calls out landed cost tracking and intercompany transactions. Sage 100 is the budget tier for smaller distributors that need inventory and order entry tied to accounting. **Watch-outs:** X3 is highly configurable, which means partner quality drives the outcome. Sage 100 is built for smaller operations, so confirm your WMS and multi-entity needs before choosing it over X3. EDI is partner-supplied (see our [Sage EDI guide](/blog/edi-sage-integration)). **Pricing signal:** Not published for X3. ### 8. VAI S2K Enterprise **Best for:** Food, pharmaceutical, and durable goods distributors who want vertical depth from a single vendor. VAI's [S2K Food](https://www.vai.net/solutions/s2k-enterprise-for-food/s2k-food-ebook) lists lot and date tracking, broken case unit conversions, catch weight pricing, truck routing, contract pricing, and a rebates, allowances, and billbacks application that tracks both customer and vendor programs. Purchasing includes import cargo tracking with unlimited cost factors per shipment for true landed cost. VAI also documents native catch weight processing and broken case tracking that keep lot traceability intact through the transactions that usually break it. **Watch-outs:** Smaller partner and consultant pool than NetSuite or Microsoft. Public review data is thin, so lean hard on reference calls. **Pricing signal:** Not published. ### 9. Aptean (Food & Beverage ERP and Distribution ERP) **Best for:** Food and beverage distributors and processors who want Business Central underneath with food features on top; consumer goods importers on Aptean Distribution ERP. [Aptean Food & Beverage ERP](https://www.aptean.com/en-US/solutions/erp/food-erp) is built on Microsoft Dynamics 365 Business Central and adds lot-level and item-level catch weight, built-in FEFO, one-click recall, allergen management, scale integration, and expiration alerts. Aptean Distribution ERP targets consumer goods importers and distributors from $10M to $300M in revenue and includes embedded EDI and chargeback management, per Ultra Consultants. **Watch-outs:** Users report exporting to Excel for specific reports. Aptean sells many products, so confirm exactly which one you are being quoted. **Pricing signal:** Business Central licenses apply to the food ERP; Aptean's add-on is quoted. ### 10. NECS entrée **Best for:** Broadline and specialty foodservice distributors. NECS says [over 1,500 food distributors](https://necs.com/entree-food-distribution-software) run entrée. It handles catch weights, case breaks, lot control, in-house processing with kitting, promotions, rebates, and bill backs. Standard order guides let an order taker fill in quantities against a customer's usual items without searching. **Watch-outs:** Built for food distribution only. If you also run an industrial or consumer goods division, it will not cover both. **Pricing signal:** Not published. ## Distribution ERP Comparison Table | ERP | Best fit | Lot / expiry | Catch weight | EDI | Native WMS | Rebates | Pricing published | |---|---|---|---|---|---|---|---| | NetSuite | Growing generalists | Yes | Ask | Third party | Yes | Ask | No | | Acumatica Distribution | SMB to mid-market | Yes | Ask | Third party | Yes, embedded | Ask | Starting price only | | Business Central | Microsoft shops | Batch and serial | Via ISV (e.g. Aptean) | Third party | Yes | Ask | Yes, $80 / $110 | | SAP Business One | $20M to $250M | Batch and serial | Ask | Third party | Bin locations | Ask | No | | Epicor Prophet 21 | Industrial, MRO, HVAC | Ask | Ask | Epicor EDI products | Yes | Yes | No | | Infor CloudSuite Distribution | Specialized mid to large | Food safety (grocery) | Ask | Via ION | Yes | Yes | No | | Sage X3 | Multi-entity, importers | Batch genealogy | Ask | Partner | Yes | Ask | No | | VAI S2K | Food, pharma, durables | Yes | Native | Ask | RF processing | Yes | No | | Aptean Food & Bev | Food and beverage | Yes | Native | Ask | Via Business Central | Ask | BC licenses + add-on | | NECS entrée | Foodservice | Yes | Native | Yes | Yes | Yes | No | "Ask" means we did not find the capability documented on the vendor's own pages or in the sources above. It may exist through configuration or a partner add-on, so demo it with your real data. ## Best ERP by Vertical ### Food and Beverage Distribution Software Food distributors should rank catch weight and lot traceability above everything else, because the regulatory clock is running. The FDA's Food Traceability Rule (FSMA 204) requires additional records for foods on the Food Traceability List, and the [FDA has moved the compliance date to July 20, 2028](https://www.fda.gov/food/food-safety-modernization-act-fsma/frequently-asked-questions-fsma-food-traceability-rule) after Congress directed the agency not to enforce it before then. Twenty-one months sounds like a lot. It is about one ERP selection and implementation cycle. The shortlist for food: **VAI S2K, Aptean Food & Beverage ERP, NECS entrée,** and for produce specifically **[Produce Pro](https://producepro.com/software)**, which was designed for lot-level traceability from day one and supports the Produce Traceability Initiative and country of origin labeling. Generalist suites like NetSuite and Sage X3 work when food is one line of business among several, usually with a partner add-on for catch weight. For more on the FSMA side, see our [FSMA 204 guide](/fsma-204) and [EDI for food distributors](/edi-for/food-distributors). **Beverage distribution software** has its own wrinkles: deposits and container fees, state-by-state alcohol reporting, keg tracking, and DSD route accounting. Aptean lists beverages among the segments its food ERP serves. Whichever finalist you test, ask for a beverage reference who files the same state reports you do. Our [beverage distribution EDI page](/edi-for/beverage-distribution) covers the retailer side. ### Industrial and MRO Distribution Industrial distributors live on pricing complexity: contract pricing, quantity breaks, manufacturer special pricing agreements, and quarterly vendor rebates. Catalogs run to six figures of SKUs, and customer part numbers rarely match yours. The shortlist: **Epicor Prophet 21, Infor CloudSuite Distribution,** and **Epicor Eclipse** for electrical and plumbing. Acumatica and Business Central work for smaller MRO houses with simpler rebate programs. Test any finalist by loading one real special pricing agreement and one real rebate program, then running a sale through both. See [EDI for industrial supply](/edi-for/industrial-supply) for the trading partner side. ### Wholesale Consumer Goods Consumer goods distributors and importers selling into retail need EDI depth, chargeback management, and landed cost on imported containers. Retailer compliance (routing guides, ASN timing, label formats) is a bigger risk than any warehouse feature. The shortlist: **Aptean Distribution ERP** (embedded EDI and chargeback management), **Sage X3** for importers with overseas entities, **NetSuite** and **Acumatica** for fast-growing brands and distributors. Whatever you pick, budget for EDI as a separate line item unless it is explicitly included. ## The Order-Intake Gap Every ERP Leaves Here is what ERP demos skip. Every system on this list has a sales order screen and an API to create orders. The order flow they demo starts with structured data: an EDI file, or a person typing. In a typical distributor, a share of orders arrives as clean EDI 850s from large retail and grocery accounts. The rest arrive as PDF purchase orders attached to emails, order text typed into the email body, spreadsheets, photos of handwritten order sheets, faxes, and voicemails. Someone on your team opens each one, finds the customer, matches their item descriptions to your SKUs, converts "3 cs" to the right unit of measure, checks the price, and types it into the ERP. A new ERP changes which screen your team types into. Many distributors discover this after go-live, when order desk headcount matches the pre-project number. Our [manual order entry statistics](/blog/manual-order-entry-statistics) put numbers on what that keying costs. This is the job of an AI order-entry layer. **OrderSync reads every inbound order, whether it arrives as EDI, PDF, email, spreadsheet, or image, extracts the header and line items, matches customer item descriptions and part numbers to your catalog, validates quantity, unit of measure, and price, and delivers a clean order to your ERP.** Orders that pass validation flow straight through. Orders with a problem land in an exception queue with the specific issue flagged, so your team reviews one line instead of re-keying a whole PO. On the ERP side, OrderSync has integration pages for [NetSuite](/integrations/netsuite), [Acumatica](/integrations/acumatica), [Microsoft Dynamics 365](/integrations/microsoft-dynamics-365), [SAP Business One](/integrations/sap-business-one), [Epicor Prophet 21](/integrations/epicor-prophet-21), [Infor CloudSuite](/integrations/infor), [Sage X3](/integrations/sage-x3), [Sage 100](/integrations/sage-100), [NECS entrée](/integrations/necs-entree), and [Produce Pro](/integrations/produce-pro). For each, OrderSync delivers orders today as EDI 850 purchase orders over SFTP, with 855 acknowledgments, 856 ship notices, 810 invoices, and 997s on the same channel. A native connector is available on request and scoped per deployment. You can fix order intake on the ERP you have now and keep the same layer if you switch later. For evaluating this category, read our guide to [AI order entry software for distributors](/blog/order-entry-software). ## Distribution ERP Selection Checklist Use this list in every demo. Make the vendor run each item live, on your data. 1. **Bring your ugliest five orders.** A PDF PO with a customer's own part numbers, an email with items typed in the body, an EDI 850 with a unit of measure mismatch, a repeat order with a price change, and a phone order. Watch how each one becomes a sales order, and count the keystrokes. 2. **Run one catch weight or case-break order end to end** (food) or **one special pricing agreement plus a rebate** (industrial). Check that the invoice and the rebate accrual are right. 3. **Trace a lot from receipt to customer.** Include a case break and a return. Ask for the recall report. 4. **Price EDI separately.** Ask who translates X12, who maintains the maps, what a new trading partner costs, and whether there are per-document fees. 5. **Post landed cost on a real import shipment** and check the margin report afterward. 6. **Ask for a reference** your size and in your vertical, live within 18 months, on the same version and modules you are being quoted. 7. **Get total cost in writing.** License, implementation, data migration, integrations, and EDI. The [McKinsey and Oxford study of large IT projects](https://www.mckinsey.com/~/media/McKinsey/Business%20Functions/McKinsey%20Digital/Our%20Insights/Delivering%20large%20scale%20IT%20projects%20on%20time%20on%20budget%20and%20on%20value/Delivering%20large%20scale%20IT%20projects%20on%20time%20on%20budget%20and%20on%20value.pdf) found large IT projects run 45% over budget on average while delivering 56% less value than predicted. Build that into your plan. 8. **Ask how data gets out.** Documented APIs, real-time or nightly, and what a full export costs if you leave. Ready to see how your current orders would flow into your ERP without re-keying? Send us five real POs and we will run them live on a call. **[Book My Intro Call](/book)** ## Frequently Asked Questions ### What is the best ERP for distributors? **There is no single best ERP for distributors; the right one depends on size and vertical.** For growing generalists, NetSuite, Acumatica, and Business Central are the common shortlist. For industrial and MRO, Epicor Prophet 21 and Infor CloudSuite Distribution. For food and beverage, VAI S2K, Aptean Food & Beverage ERP, and NECS entrée lead on catch weight and lot tracking. For multi-entity importers, Sage X3. ### What is the difference between distribution ERP and distribution management software? Distribution ERP owns your financials: general ledger, AP, AR, inventory valuation, and purchasing. Distribution management software sometimes means the same thing and sometimes a lighter orders-and-inventory tool without full accounting. Our [wholesale distribution software guide](/blog/wholesale-distribution-software) breaks down the categories. ### Which ERPs have native EDI? Most general-purpose ERPs, including NetSuite, Acumatica, Business Central, and SAP Business One, need a third-party connector or middleware for X12 translation. Epicor sells its own EDI products. Aptean Distribution ERP includes embedded EDI. Always confirm who maintains the trading partner maps and what each new partner costs. ### What ERP is best for food distribution? Prioritize native catch weight, lot and expiration tracking through case breaks and repacks, and FSMA 204 recordkeeping. VAI S2K, Aptean Food & Beverage ERP, and NECS entrée build these in, and Produce Pro fits produce distributors. ### How much does a distribution ERP cost? Only Microsoft publishes list pricing among the major options: Business Central costs $80 per user per month for Essentials and $110 for Premium. Acumatica advertises an APEX for Distribution starting price under $1,500. Everyone else quotes per deployment. Implementation, data migration, integrations, and EDI usually cost more than first-year licenses, so get all of them in writing. ### Will a new ERP eliminate manual order entry? Usually it moves the keying to a new screen. PDF, email, and spreadsheet purchase orders still need someone to turn them into structured sales orders. An AI order-entry layer like OrderSync reads those orders, validates them against your catalog and pricing, and delivers them to the ERP, so your team handles exceptions instead of data entry. --- # Document Extraction: Templates, Trained Models, and Agentic Pipelines Source: https://ordersync.io/blog/document-extraction > How the three generations of document extraction actually work — zone templates, trained IDP models, and agentic LLM loops — and which failure modes each one carries. Document extraction has moved through three generations. Zone templates map fixed pixel coordinates to fields and break when a layout shifts. Trained IDP models generalize across layouts within a document class but need retraining to handle a new one. Agentic extraction runs a vision-language model inside a loop that proposes values, grounds each one to a location on the page, checks the result against a schema and against the document's own arithmetic, and re-reads when a check fails. The loop is what separates the third generation from a single model call. **The useful distinction between extraction approaches is not which one uses AI, but what each one does when it is wrong — templates fail silently, trained models fail confidently, and agentic pipelines are built to catch their own errors before you see them.** Most comparisons of document extraction stop at "templates are rigid, AI is flexible." That was a fair summary in 2022. It no longer describes what the current systems actually do, and it leaves out the mechanism that matters most when you are deciding what to buy or build: error handling. Here is how each generation works, in enough detail to evaluate one. ## Generation one: zone templates A zone template is a coordinate map. You open a representative document, draw rectangles over the fields you care about, and bind each rectangle to a target field. On every subsequent document, the engine runs OCR, then reads whatever text falls inside those coordinates. The model has no concept of what a purchase order number *is*. It knows that on this vendor's document, the PO number lives 4.2 inches from the left edge and 1.8 inches from the top. This works remarkably well under one condition: the documents are genuinely identical. Government forms, standardized claim documents, and machine-generated statements from a single system all qualify. **The failure mode is silence.** When a layout shifts, the zone still returns text — just the wrong text. A template expecting a PO number reads the quote number that moved into that position. Nothing errors. The field is populated, the confidence score refers only to OCR character certainty, and a wrong value flows downstream looking exactly like a right one. The maintenance burden compounds with a second-order effect people underestimate: you need a template *per layout*, and you need to know which template to apply before you can extract anything. That means a document classification step, which is itself a thing that can be wrong. ## Generation two: trained IDP models Intelligent document processing replaced coordinates with learned features. Instead of "read the box at 4.2 inches," the model learns statistical associations — that a value near text reading "P.O. #" or "Order No." and formatted as six to ten alphanumerics is probably a purchase order number. This is a real improvement. The model generalizes to layouts it has never seen, within the document class it was trained on. Commercial pretrained models for invoices, receipts, and IDs work well out of the box because those classes are visually consistent across the world. **The failure mode is confident generalization.** A model trained on invoices applied to purchase orders will still return an answer. It will find something PO-number-shaped and something table-shaped and report reasonable confidence, because confidence is calibrated on the training distribution, not on how far your document sits outside it. This is worth stating plainly because it is an easy and expensive mistake: running a `prebuilt-invoice` model against purchase orders is not a fair test of that model, and it is also not an unusual thing for a team to do by accident. Document class matters more than vendor choice at this tier. The other constraint is table extraction. Header fields are largely solved. Line items are not. Multi-page tables, rows that wrap, merged cells for long descriptions, subtotal rows interleaved with item rows, and continuation markers are where second-generation systems lose data — often by returning a partial table rather than failing. ## Generation three: agentic extraction "Agentic" is doing real work as a term here, though it is often used loosely. The distinction is not that a language model is involved. It is that the model runs inside a control loop with verification steps, rather than being called once and trusted. A pipeline that sends a page image to a vision model and parses the JSON that comes back is a single-pass LLM extraction. Useful, but it inherits the second-generation failure mode with worse calibration — language models are fluent, and fluency reads as confidence. An agentic pipeline adds four things: **1. Constrained decoding.** The model emits into a schema rather than into free text. Quantity is typed as a number, unit of measure is an enum, dates are ISO-8601. Structurally invalid output cannot be produced in the first place, which eliminates a whole class of parse errors that single-pass pipelines handle with retries and regex. **2. Grounding.** Every extracted value carries the region of the page it came from — a page index and a bounding box. This is the load-bearing feature, for two reasons. It makes human review fast, because a reviewer checks a highlighted region instead of hunting the document. And it makes hallucination detectable: a value with no corresponding region on the page is, by construction, invented. **3. Self-verification.** The pipeline checks the extraction against the document's own internal consistency. Do the line extended prices sum to the stated subtotal? Does subtotal plus tax and freight equal the stated total? Does the line count match a stated count? Does every row have a quantity? These checks need no external data and no ground truth, and they catch the dropped-row failures that generation two produces silently. **4. Targeted re-reading.** When a check fails, the loop does not discard the result or escalate the whole document. It re-reads the specific region that failed — often at higher resolution, or with the failing constraint stated in the prompt — and re-runs the check. This is where the extra cost and latency of agentic extraction goes, and it is spent only on the documents that need it. The result is a system whose errors are *mostly* converted into flags. A document where the totals will not reconcile after re-reading gets routed to a human with the specific failing line marked, rather than posting a quietly wrong order. ## What agentic extraction does not solve Grounding and self-verification address whether the extraction faithfully represents the page. They say nothing about whether the page maps onto your business. A line reading `CHOC BAR DARK 70% 12CT` can be extracted perfectly — correct string, correct quantity, correct bounding box, all arithmetic reconciling — and still be unusable, because nothing in the document says it corresponds to SKU `MV-DK70-12` in your catalog, that this customer orders by the case, or that their contract price is 28.50. That resolution layer is separate from extraction and is usually where B2B order automation actually succeeds or fails. We covered the split in [document parsing APIs versus order extraction](/blog/document-parsing-api-b2b-orders). ## Comparison | | Zone templates | Trained IDP | Agentic | | --- | --- | --- | --- | | Generalizes to new layouts | No | Within document class | Yes | | Setup per layout | Template build | None if class matches | None | | Evidence for each value | No | Sometimes | Bounding box per field | | Detects its own errors | No | Weakly, via confidence | Schema, arithmetic, re-read | | Typical failure | Wrong value, no signal | Plausible value, high confidence | Flagged for review | | Line-item tables | Fragile | Partial extraction common | Verified against totals | | Cost per document | Lowest | Low | Higher, variable | | Latency | Fastest | Fast | Slower, varies by re-reads | ## How to evaluate a claim Extraction accuracy figures are close to meaningless without their denominator. Three questions make a vendor number interpretable: - **Field-level or document-level?** A system with 99% field accuracy across 40 fields gets the whole document right about 67% of the time. Vendors quote the first number; your operation experiences the second. - **Are line items included?** Header-only accuracy on purchase orders is the easy half. Ask for the rate on documents with more than twenty line items spanning a page break. - **What happened to low-confidence documents?** A 99% figure computed after excluding everything the system flagged is measuring a different thing than end-to-end accuracy. Straight-through rate and accuracy-on-processed are both needed; either alone is misleading. The same questions apply to your own testing. Score against documents that were never used to build or tune the system, and score line items separately from header fields — mixing them hides the failure that costs you money. ## Frequently asked questions ### Is agentic document extraction different from using GPT or Claude on a PDF? Yes, though the same underlying model may be involved. Sending a page to a vision model and parsing the response is a single pass with no verification. Agentic extraction wraps that call in schema constraints, per-field grounding, consistency checks, and targeted re-reads when a check fails. The loop is the difference. ### Do templates still make sense for anything? They do, when documents are genuinely identical and high-volume — output from a single upstream system, standardized regulatory forms. Templates are cheap and fast under those conditions. The economics invert as soon as you have many senders with independent layouts. ### Why does grounding matter if the extraction is already correct? Because you cannot tell that it is correct without it. Grounding is what makes review fast enough to be worth doing and what makes an invented value distinguishable from a read one. It is also what lets you audit a decision months later. ### Does agentic extraction eliminate human review? It changes what review is for. Instead of checking every document because any of them might be wrong, reviewers handle the subset the pipeline flagged, with the specific failing field highlighted. Review effort concentrates where the uncertainty actually is. ### How should I test extraction on my own documents? Take a sample that includes your messiest real inputs — scans, multi-page tables, documents from your newest trading partner — and hold it out entirely from setup. You can run POs through the [free PO Extractor](/tools/po-extractor) to see grounded extraction on your own files, and compare against how your current system handles the same set. Related reading: [AI order processing versus OCR](/blog/ai-order-processing-vs-ocr) and [document automation for B2B order processing](/blog/document-automation). --- # FSMA 204 Deadline: July 20, 2028, Not January 2026 Source: https://ordersync.io/blog/fsma-204-deadline-2028 > The FSMA 204 compliance date moved to July 20, 2028. Here is the full timeline, the statutory basis for the delay, and what did not change when the date did. The FSMA 204 compliance date is July 20, 2028. The Food Traceability Rule was finalized in November 2022 with a January 20, 2026 date. FDA proposed a 30-month extension in March 2025, and Congress made non-enforcement binding through the Continuing Appropriations Act of 2026. The requirements themselves did not change. If you searched for the FSMA 204 deadline and got two different answers, you are not confused. The date moved, and a large amount of published guidance never got updated. Here is the timeline, with sources, and what it means for work you may already have underway. ## The timeline | Date | What happened | | --- | --- | | November 2022 | FDA publishes the final Food Traceability Rule under FSMA Section 204 | | January 20, 2026 | Original compliance date | | March 2025 | FDA announces its intent to extend the compliance date by 30 months | | September 8, 2025 | Public comment period on the proposed extension closes | | November 2025 | Congress passes the Continuing Appropriations Act of 2026, directing FDA not to enforce the rule before July 20, 2028 | | **July 20, 2028** | **Current compliance date** | The important nuance is in that last row. This was not only an agency decision that a later agency could quietly reverse. Congress directed the non-enforcement through appropriations, which is a firmer floor than a proposed rule sitting in comment. ## What did not change The extension moved the date. It did not touch the substance: - The **Food Traceability List** is the same. Fresh leafy greens, fresh-cut fruits and vegetables, certain cheeses, shell eggs, nut butters, cucumbers, melons, peppers, sprouts, tropical tree fruits, herbs, tomatoes, finfish, crustaceans, and molluscan shellfish. - The **Critical Tracking Events** are the same six: harvesting, cooling, initial packing, shipping, receiving, and transformation. - The **Key Data Elements** required at each CTE are unchanged. - The **24-hour, electronically sortable** record production requirement is unchanged. If your team did readiness work against the January 2026 date, none of it was wasted. You got two more years to finish it. ## Why so much published guidance is wrong Search results for FSMA 204 are full of pages asserting the rule "went into effect in January 2026." Some are vendor pages that ranked well in 2024 and were never revisited. Some are law firm updates that predate the appropriations act. This matters practically. If you are building a compliance plan off a page that has the wrong date, you may also be reading the wrong things about scope and phase-in. Check the publication or update date on anything you read, and check the deadline against primary sources: - [FDA: FSMA Final Rule on Requirements for Additional Traceability Records for Certain Foods](https://www.fda.gov/food/food-safety-modernization-act-fsma/fsma-final-rule-requirements-additional-traceability-records-certain-foods) - [Federal Register: Compliance Date Extension](https://www.federalregister.gov/documents/2025/08/07/2025-14967/requirements-for-additional-traceability-records-for-certain-foods-compliance-date-extension) We keep a dated status block at the top of our [FSMA 204 compliance guide](/fsma-204) showing when we last verified the deadline against those sources. ## Two years is not as long as it sounds The temptation with a delay is to shelve the project. That works if your traceability gap is a software purchase. It works less well if the gap is in how data reaches you. Ask a narrower question: for the FTL items you handle, what fraction of inbound volume arrives with a usable Traceability Lot Code already in structured form? For most distributors the answer splits sharply. The large suppliers send an [EDI 856 advance ship notice](/guides/edi/856-ship-notice) and the data is there. The small growers and specialty producers send a PDF invoice or an emailed packing list, and the data is there too, just not in a form any system can sort. Closing that second gap means changing something on the supplier side or automating the document side. Both take longer than two years of calendar suggests once you multiply by a few hundred trading partners. We wrote about the practical options in [getting FSMA 204 KDEs from suppliers who do not send EDI](/blog/fsma-204-kde-capture-non-edi-suppliers). ## What to do with the extra time 1. **Inventory your FTL exposure.** Which SKUs you handle are actually on the list. This is usually smaller than people fear and never zero. 2. **Segment suppliers by how their documents arrive.** EDI, PDF, email body, fax, portal download. The split tells you the size of the manual problem. 3. **Confirm who owns the ledger.** Your food safety platform or ERP holds the lot history and answers the FDA request. Decide this before you buy anything else. 4. **Fix the intake, not just the storage.** A traceability system with nothing feeding it cleanly is a place to retype paperwork faster. If you want to see what your inbound documents actually contain today, our [free EDI Inspector](/edi-inspector) parses an 856 and shows you the hierarchy and reference segments in plain language. For the non-EDI side, [multi-format order processing](/multi-format-orders) covers how PDF, email, and CSV orders get normalized into the same structure. ## FAQ ### Is the FSMA 204 deadline definitely July 20, 2028? That is the current date, set by congressional direction through the Continuing Appropriations Act of 2026 and reflected in FDA's extension rulemaking. Deadlines have moved once already, so verify against FDA and the Federal Register before making a budget decision on it. ### Does the extension apply to everyone equally? The extension applies to the compliance date for the rule as a whole. It did not create new tiers or carve-outs. Existing exemptions in the original rule, such as those for certain small producers and farms below specified sales thresholds, are unchanged. ### Should we stop our FSMA 204 project? Pausing a software purchase is defensible. Pausing supplier data work is riskier, because that is the part with a long lead time and it depends on other companies changing their behavior, not just yours. --- # FSMA 204 Shipping CTE on an EDI 856: Segment by Segment Source: https://ordersync.io/blog/fsma-204-edi-856-shipping-cte > Where the Traceability Lot Code and FSMA 204 shipping KDEs actually sit in an EDI 856 ASN. The hierarchical loop, the LIN and N9 segments, and what breaks in practice. The FSMA 204 Shipping CTE maps onto the EDI 856 advance ship notice. GS1 US publishes guidance for this mapping. The Traceability Lot Code travels in an N9 reference segment at the item or pack level of the hierarchical loop, alongside the LIN product identifiers, with location KDEs in the N1 loops and ship date in DTM. If you already send an [EDI 856 advance ship notice](/guides/edi/856-ship-notice), you are closer to the FSMA 204 Shipping CTE than you probably think. GS1 US publishes guidance mapping that CTE onto the 856, and the reason is structural: the 856 is the only common X12 transaction that already describes a shipment as a hierarchy, from shipment down to order down to pack down to item. Traceability needs exactly that shape, because a lot code applies to some cartons on a pallet and not others. This post walks the mapping at the segment level. It assumes you know what an 856 is. If you do not, start with the [856 ship notice guide](/guides/edi/856-ship-notice) first. ## What the Shipping CTE asks for When you ship a food on the Food Traceability List, you record: - The Traceability Lot Code for each lot in the shipment - The quantity and unit of measure of each lot - The product description - The location identifier for the immediate subsequent recipient - The location identifier of where you shipped from - The ship date - A reference document type and number - The location where the food was assigned its TLC, or a reference to it Read that list against an ASN you already send and most of it is present. The lot code is usually the one that is not. ## The hierarchical loop is the whole trick An 856 is built out of `HL` segments that nest. The common pattern is Shipment to Order to Pack to Item, though partners vary. ``` ST*856*0001 BSN*00*ASN10025*20280715*1430*0002 HL*1**S Shipment level TD5, TD1, REF, DTM N1*ST ... Ship-to location N1*SF ... Ship-from location HL*2*1*O Order level PRF*PO4599871 HL*3*2*P Pack level MAN*GM*00012345600000000123 HL*4*3*I Item level LIN**UP*012345678905*VN*ROM-24CT SN1**24*CA N9*LO*ROM20280714-B2 DTM*036*20280801 ``` The nesting is what carries traceability. A pack level `HL` with an SSCC-18 in `MAN` gives you a carton identity. The item `HL` underneath it carries the lot. When the FDA asks which cartons contained lot `ROM20280714-B2`, the hierarchy answers it. ## Segment by segment | KDE | Segment | Notes | | --- | --- | --- | | Traceability Lot Code | `N9*LO` at the item or pack `HL` | `LO` is the lot qualifier. Some partners use `REF*LO` instead. Confirm which in the routing guide. | | Quantity and UOM | `SN1` at the item `HL` | Watch the UOM. A lot shipped as cases needs the case count, not eaches. | | Product description | `LIN` plus `PID` | `LIN` carries `UP` for UPC, `VN` for vendor part, `GT` where partners use GTIN. | | Ship-to location | `N1*ST` loop with `N4` | Use a GLN in `N1` when the partner supports it, since FSMA 204 speaks in location identifiers. | | Ship-from location | `N1*SF` loop | Frequently omitted by suppliers who only ever shipped from one place. Add it. | | Ship date | `DTM*011` at the shipment `HL` | Distinct from `DTM*036` expiration and `DTM*405` production date at the item level. | | Reference document | `PRF` for the PO, `BSN02` for the ASN number | The reference document type and number KDE usually resolves to one of these. | | Pack identity | `MAN*GM` with SSCC-18 | Not itself a KDE, but it is what makes a partial-lot shipment traceable. | ## Where this breaks in practice **Lot at the wrong level.** Suppliers who bolt lot support on late tend to put a single `N9*LO` at the shipment or order `HL`, which asserts the whole shipment is one lot. It usually is not. Mixed-lot pallets are normal in produce, and a shipment-level lot code is worse than none because it is confidently wrong during a recall. **Qualifier drift.** `N9*LO`, `REF*LO`, and partner-specific qualifiers all appear in the wild. Since nobody validates a lot code's meaning, a mismatched qualifier passes every syntax check and silently lands in the wrong field downstream. Our [free EDI Inspector](/edi-inspector) will show you which qualifiers a real file actually uses, which is faster than reading a 200-page routing guide. **UOM mismatch between SN1 and the lot.** If `SN1` reports cases and your traceability system stores eaches, the lot quantity is off by the pack factor. This is the same class of bug as ordinary [EDI unit of measure errors](/blog/grocery-edi), but during a recall the consequence is recalling the wrong volume. **Catch weight.** For variable-weight items the shipped quantity is a weight, not a count, and it arrives in `CB1` or a `MEA` segment rather than cleanly in `SN1`. Lot plus catch weight together is where most food ASN implementations get thin. ## The 810 is not a substitute A recurring question is whether the [810 invoice](/guides/edi/810-invoice) can carry traceability data instead. It cannot, for a structural reason: the 810 is flat at the line level and has no pack hierarchy. You can staple a lot reference onto an invoice line, but you cannot express that 6 cases of the 40 on this line were lot A and the rest were lot B. The 856 can. We go into this further in [what invoices can and cannot do for traceability](/blog/fsma-204-invoice-traceability). ## If your suppliers do not send an 856 This entire mapping assumes an ASN exists. For a meaningful share of most distributors' supplier base, it does not and will not by 2028. That case needs a different answer, which we cover in [capturing FSMA 204 KDEs from non-EDI suppliers](/blog/fsma-204-kde-capture-non-edi-suppliers). For background on the rule and the corrected 2028 deadline, see our [FSMA 204 compliance guide](/fsma-204). ## Sources - [FDA: FSMA Final Rule on Requirements for Additional Traceability Records for Certain Foods](https://www.fda.gov/food/food-safety-modernization-act-fsma/fsma-final-rule-requirements-additional-traceability-records-certain-foods) - [GS1 US: standards and guidance for food traceability](https://www.gs1us.org/industries-and-insights/standards) ## FAQ ### Does GS1 US require the 856 for FSMA 204? No. FSMA 204 is technology neutral and does not mandate EDI at all. GS1 US guidance maps the Shipping CTE onto the 856 because that is what most food suppliers already send, which makes it the cheapest path for partners who are already EDI-enabled. ### Should the Traceability Lot Code go at the pack level or the item level? Item level, under the pack `HL` that contains it. That combination lets you say which cartons held which lot. Putting it at pack level only works when a carton is single-lot, which is common but not universal. ### What if a partner's routing guide has no lot segment at all? Then their 856 spec predates their traceability requirement, which is extremely common. Ask them directly which qualifier they intend to use before you guess. Sending `N9*LO` into a spec that does not define it usually passes their translator and gets dropped silently. --- # Can an Invoice Carry FSMA 204 Traceability Data? Source: https://ordersync.io/blog/fsma-204-invoice-traceability > Why the EDI 810 invoice cannot carry lot-level traceability the way an 856 can, what a PDF invoice is genuinely useful for under FSMA 204, and where the reference document KDE fits. An invoice can carry a reference document number and, in simple cases, a lot code. It cannot express mixed-lot lines, because invoice lines are flat and have no pack hierarchy. Under FSMA 204 the EDI 856 ASN is the traceability vehicle. Invoices matter most when they are the only document a supplier sends. A question that comes up constantly once distributors start FSMA 204 scoping: we already receive invoices from everybody, so can we just pull traceability data off the invoice? The answer is a qualified no, and the qualification is where the useful part lives. ## What FSMA 204 asks an invoice to do Among the Key Data Elements at the Receiving CTE is a reference document type and number. An invoice satisfies that cleanly. So does a PO or a bill of lading. That part is genuinely easy. The problem is everything else. The rule wants the Traceability Lot Code tied to a specific quantity of a specific product received on a specific date. An invoice is a financial document that happens to describe goods. The mismatch shows up fast. ## The structural problem: invoice lines are flat An [EDI 810 invoice](/guides/edi/810-invoice) line looks roughly like this: ``` IT1*1*40*CA*18.50**UP*012345678905*VN*ROM-24CT ``` One line: 40 cases of romaine at $18.50. There is nowhere in that structure to say that 24 of those cases were lot `ROM20280714-B2` and 16 were lot `ROM20280715-A1`. You can attach a single lot reference to the line with an `REF*LO` and many suppliers do. That is fine when the line is single-lot. It is actively misleading when it is not, because it asserts something false in a record you will rely on during a recall. Compare the [856 ASN](/guides/edi/856-ship-notice), which nests `HL` loops from shipment down to order down to pack down to item. That hierarchy is exactly what expresses which cartons held which lot. We walk the full mapping in [the Shipping CTE on an 856](/blog/fsma-204-edi-856-shipping-cte). This is not an EDI quirk. A paper invoice has the same limitation for the same reason. A line item is one row. ## Where the mismatch bites **Mixed-lot lines are normal in produce.** A pallet of romaine assembled from two harvest days is routine. Any traceability approach that assumes one lot per invoice line will be wrong on a meaningful fraction of receipts, and wrong in the direction of under-reporting during a recall. **Invoices arrive after the goods.** Often days after. Your Receiving CTE record is due based on when you received the food, not when accounting got the paperwork. Building receiving records off invoices puts a lag into a record that is supposed to be contemporaneous. **Invoice quantities are billed, not received.** Short shipments, damages, and substitutions mean the invoice and the receipt disagree. Financial reconciliation handles that discrepancy. A traceability record that inherits the billed quantity records food you never took in. **Catch weight makes it worse.** For variable-weight items the invoice carries weight for pricing while the receiving record needs the lot and the count. These do not reconcile without the pack detail. ## So when do invoices matter for traceability? When they are the only document you get. This is not an edge case. For a large share of small growers, co-packers, and specialty producers, the invoice or a packing list attached to it is the entire electronic record of the shipment. There is no ASN because there is no EDI. In that situation the invoice is not the ideal traceability vehicle, it is the only one, and the practical question becomes how to get its contents into a structured, sortable form without hand-keying. Two things help: 1. **Ask for the packing list, not just the invoice.** A packing list is a shipping document and is far more likely to carry lot detail per line, because it was generated by the warehouse rather than by accounting. Suppliers often already produce one and simply do not send it. 2. **Automate the conversion.** Whatever document you settle on, it needs to stop being a PDF the moment it arrives. ## Where OrderSync fits We handle the second point. OrderSync reads inbound invoices, packing lists, and order documents, whether they arrive as [PDF](/pdf-order-processing), [email](/email-order-processing), fax, CSV, or EDI, into structured line-level records with a full audit trail. Which fields get captured is configurable per trading partner, so if a given supplier prints a lot code in a corner of their packing list, it can be mapped like any other field. What we do not do is hold the traceability ledger or model Critical Tracking Events. That belongs in your food safety platform or ERP. We are the intake layer that stops your traceability data from arriving as a scan. More on that boundary in [capturing KDEs from non-EDI suppliers](/blog/fsma-204-kde-capture-non-edi-suppliers). ## Practical guidance - **Use the invoice for the reference document KDE.** It is good at that. - **Do not build your Receiving CTE record off the invoice.** Use the receipt. - **Ask for a packing list from non-EDI suppliers.** Better lot fidelity, closer to the actual shipment. - **Push EDI suppliers toward lot detail in the 856**, at the item level under the pack loop, not a single lot code stapled to the shipment. - **Treat single-lot assumptions as a known risk**, and know which of your categories routinely ship mixed. For the corrected compliance timeline, which is July 20, 2028 rather than the January 2026 date still circulating, see our [FSMA 204 compliance guide](/fsma-204). To see what lot references a supplier's actual EDI file contains, paste it into our [free EDI Inspector](/edi-inspector). ## Sources - [FDA: FSMA Final Rule on Requirements for Additional Traceability Records for Certain Foods](https://www.fda.gov/food/food-safety-modernization-act-fsma/fsma-final-rule-requirements-additional-traceability-records-certain-foods) - [GS1 US: standards and guidance for food traceability](https://www.gs1us.org/industries-and-insights/standards) ## FAQ ### Does the EDI 810 have a lot number segment? You can carry a lot reference at the line level with `REF*LO`, and some trading partner specs define it. It works for single-lot lines. It cannot express multiple lots within one invoice line, which is the case that matters most for FTL produce. ### Is an invoice acceptable as the FSMA 204 reference document? Yes. The reference document type and number KDE is satisfied by an invoice, a purchase order, or a bill of lading. That is separate from whether the invoice can carry the lot and quantity KDEs, which is where it falls down. ### Our supplier only sends invoices. What should we ask for? Ask for a packing list per shipment with lot codes at the line level, sent at ship time rather than with the billing. Most warehouse systems already produce this document. Getting it emailed to a monitored address is usually a smaller ask than getting a supplier onto EDI. --- # FSMA 204 KDEs From Suppliers Who Do Not Send EDI Source: https://ordersync.io/blog/fsma-204-kde-capture-non-edi-suppliers > Half your supplier base will still be emailing PDFs in 2028. How to capture FSMA 204 Key Data Elements from invoices, packing lists, and faxes without hand-keying every one. Suppliers who do not send EDI still send the data, just on paperwork: PDF invoices, emailed packing lists, faxed bills of lading. FSMA 204 requires records in an electronically sortable format within 24 hours, so that paperwork has to become structured data. The realistic options are supplier pressure, portal entry, or automated document extraction. Most FSMA 204 readiness advice assumes a supply chain that already trades electronically. Buy the traceability platform, connect it to the ERP, map the [856 ASN](/blog/fsma-204-edi-856-shipping-cte), done. Then you look at your actual supplier list and find that a third of your Food Traceability List volume comes from growers, co-packers, and specialty producers who have never sent an EDI document and are not going to start because of an FDA rule aimed at you. This is the part of FSMA 204 readiness that does not solve itself, and it is worth being specific about it. ## Why the gap concentrates exactly where you do not want it There is an unhappy correlation here. The suppliers least likely to be EDI-enabled are small growers, regional produce houses, cheesemakers, egg producers, and seafood suppliers. Those are also, disproportionately, the people handling the categories on the Food Traceability List. Your national branded suppliers are already sending clean ASNs. Your traceability exposure is concentrated in the half of the supplier base that emails you a PDF. ## What the Receiving CTE actually needs If you are a distributor, wholesaler, or retailer, Receiving is your Critical Tracking Event. For each traceability lot you take in, you record: 1. The Traceability Lot Code 2. Quantity and unit of measure 3. Product description 4. The immediate previous source, meaning who shipped it to you 5. The location where you received it 6. The date you received it 7. A reference document type and number Six of those seven are already on an ordinary invoice or packing list. Supplier name, product, quantity, date, your receiving DC, the PO or invoice number. The one that frequently is not present is the Traceability Lot Code, and that one is the point of the entire rule. So there are really two problems, and it helps to keep them apart: - **A data problem**: is the lot code on the document at all? - **A format problem**: even when everything is on the document, a scanned PDF is not an electronically sortable record. ## Option 1: push the supplier This is the correct first move and it costs nothing but time. Ask each in-scope supplier when they will begin putting a Traceability Lot Code on shipping paperwork, and get a date. GS1 US guidance is clear that operational documents like ASNs, bills of lading, invoices, and case labels should carry the TLC for in-scope items. Be realistic about the hit rate. A supplier who ships to three distributors will do it. A supplier who ships to sixty and is already fielding sixty different data requests will deprioritize yours. Track the responses, because the ones who say no are your remaining scope. Note also that pushing a supplier to print the lot code solves the data problem and does nothing for the format problem. You still have a PDF. ## Option 2: manual entry at receiving Someone at the dock or in the back office keys the KDEs into a portal or spreadsheet as product arrives. This genuinely works at low volume, and for a distributor with a handful of FTL SKUs it may be the right answer. Do not build a system for a problem you do not have. It stops working on volume and on accuracy. Lot codes are long alphanumeric strings with no check digit and no validation, typed by someone under time pressure at a receiving dock. A transposed character produces a record that looks complete, passes every review, and fails at exactly the moment you need it: the trace-back. The failure mode is silent, which is what makes it dangerous. ## Option 3: automate the document The third option is to treat the inbound document as the data source it already is, and convert it automatically. The supplier keeps emailing a PDF. The PDF gets read into structured line-level records. Your traceability system receives data instead of an attachment. This is what OrderSync does, and it is worth being precise about the boundary, because the space is full of vendors implying they solve more than they do. **What we do.** OrderSync ingests inbound orders and invoices however they arrive: [PDF](/pdf-order-processing), [email body](/email-order-processing), [fax](/fax-order-processing), CSV, or EDI. It extracts them into structured line-level records and keeps a full audit trail of the original document, what was extracted, what a human corrected, and when it synced. Which fields get captured is configurable per trading partner, so the fields a given supplier prints can be mapped to the fields your downstream system expects. **What we are not.** We are not a traceability system. We do not hold your lot history, we do not model Critical Tracking Events, and we will not be the thing that answers an FDA trace-back request. That ledger belongs in your food safety platform or your ERP, alongside vendors who specialize in it. We are the layer that gets clean data into it. If you are evaluating us against a traceability platform, you are comparing the wrong two things. The honest comparison is: what is your plan for the documents that arrive as paperwork, and is that plan "someone retypes them"? ## A way to size your own gap Before buying anything, get one number. Take last quarter. For the SKUs on the Food Traceability List, what percentage of receipts arrived with a usable lot code in structured form? - **Above 80%**: your gap is supplier follow-up on a short list. Handle it with procurement, not software. - **40% to 80%**: you have a real intake problem and two years to fix it. Automating document extraction is likely cheaper than the headcount alternative. - **Below 40%**: the document side is your FSMA 204 project, whatever else you buy. That single percentage is more useful than most readiness assessments, and you can get it from your receiving records in an afternoon. ## What to do next Start with the corrected timeline in our [FSMA 204 compliance guide](/fsma-204). The deadline is July 20, 2028, not January 2026, and a surprising amount of published guidance still has this wrong. If your suppliers do send EDI, the [Shipping CTE to 856 mapping](/blog/fsma-204-edi-856-shipping-cte) shows where the lot code belongs, and you can check what a real file contains with our [free EDI Inspector](/edi-inspector). If they do not, look at how [multi-format order processing](/multi-format-orders) handles the documents you are getting today. ## Sources - [FDA: FSMA Final Rule on Requirements for Additional Traceability Records for Certain Foods](https://www.fda.gov/food/food-safety-modernization-act-fsma/fsma-final-rule-requirements-additional-traceability-records-certain-foods) - [GS1 US: standards and guidance for food traceability](https://www.gs1us.org/industries-and-insights/standards) ## FAQ ### Does FSMA 204 require EDI? No. The rule is technology neutral. It requires that records exist, contain the required Key Data Elements, and can be produced in an electronically sortable format within 24 hours of an FDA request. A spreadsheet that genuinely meets those conditions is compliant. EDI is popular because it satisfies them as a byproduct of trading. ### What if a supplier refuses to provide a Traceability Lot Code? Document the ask and the response, then decide commercially. For FTL items you are the one carrying the receiving obligation, so a supplier who will not provide a TLC is transferring risk to you. Some distributors have made TLC provision a condition of purchase orders for in-scope categories. ### Can OCR alone solve this? Partly. Reading characters off a page is the easy half. The hard half is knowing that a particular string is a lot code rather than a PO number, that a quantity is cases rather than eaches, and that this supplier writes dates day-first. That mapping is per-partner work, which is why template-free extraction with a correction loop tends to beat generic OCR on real supplier paperwork. --- # Peppol Solved the Invoice. Nobody Solved the Order. Source: https://ordersync.io/blog/peppol-solved-the-invoice-not-the-order > Europe mandated structured e-invoicing and it worked. The purchase order that starts the same transaction is still a PDF in an inbox, and no regulation is coming for it. Here is the structural reason why. Every European e-invoicing mandate covers invoices only, because mandates are VAT law and a purchase order creates no taxable event. Peppol does define ordering profiles, but nothing requires them. So in mandated markets the invoice is structured XML while the order that started it is still a PDF. In Belgium, since January 2026, every business-to-business invoice is a structured document travelling over a managed network with a public participant directory. It validates against a published ruleset. It arrives in a form a machine can book without a human reading it. The purchase order that started that same transaction is very often a PDF attached to an email. That gap is not a gap in adoption. It is the designed outcome of how these mandates came about, and understanding why explains something useful about which problems regulation can solve and which it structurally cannot. ## The mandates worked, and they worked fast It is worth being clear that European e-invoicing is a policy success. Belgium, Poland, Italy, and Greece already require structured B2B invoices. Germany has required every business to be able to receive one since January 2025, with issuing phased in through 2027 and 2028. France requires universal receiving capability from 1 September 2026. ViDA extends it across intra-EU B2B supplies from July 2030. Roughly half of Norway's estimated 140 million annual B2B and B2G invoices already move electronically over Peppol. Adoption at that scale, in under a decade, is not a small thing. ## Every one of those rules covers invoices Not one covers purchase orders. Not ViDA, not Germany's Growth Opportunities Act, not France's approved-platform regime, not Poland's KSeF, not Italy's SdI. The reason is that these are all VAT laws. A tax authority regulates what it can audit for tax, and an invoice creates a liability. It is the document that says money is owed and VAT is due. That gives the state both an interest and a legal basis. A purchase order creates nothing taxable. It is a statement of intent. No VAT event, no audit interest, no standing to dictate its format. So this is not a case of ordering being deferred to a later phase. It is out of scope by construction, and it will stay out of scope, because the mechanism that produced invoice adoption has nothing to grip. ## Peppol built the ordering side anyway The specifications exist and have for years. BIS Order Only 3.3 for a simple order. BIS Ordering 3.3 when you want a formal Order Response so the seller can accept, reject, or counter line by line. Advanced Ordering 3.0 for change and cancellation. Despatch Advice 3.1 for the shipment. All UBL, all over the same network, all using the same participant identifiers as the invoice. Adoption is thin. Where it exists, it got there through purchasing power rather than law: Norway and Denmark's public sectors, Finland moving public procurement to e-orders in 2024, the UK NHS requiring Peppol messaging from suppliers through its eProcurement Strategy. That is the Walmart-forced-EDI pattern, not the France-2026 pattern. It spreads contract by contract, sector by sector, and it never produces a dated national deadline. ## The asymmetry that keeps it that way Here is the part that actually explains the adoption curve, and it is not about technology at all. **Invoicing is one-sided.** You can adopt it alone. You start issuing structured invoices and your counterparty is legally obliged to be able to receive them. Their readiness is their own legal problem, not a precondition for you. **Ordering is two-sided.** You cannot receive a Peppol order unless your customer decides to send one. Every single connection requires both parties to have moved, and no law makes either of them move first. One of these can be solved by a mandate. The other is a coordination problem, and coordination problems without a forcing function stay unsolved more or less indefinitely. Which is why the invoice leg standardised in under a decade while the order leg did not move at all. ## What that means if you sell things If you are a distributor or manufacturer selling into Europe, the practical consequence is that your two document flows are diverging. Outbound invoices are becoming structured, validated, and machine-readable, because the law requires it and your ERP vendor is shipping it. That problem is being solved for you. Inbound orders are not. They still arrive as PDFs, as text in the body of an email, as spreadsheet attachments, as portal exports someone downloads manually, as EDI from your larger accounts, and occasionally as a voicemail. And unlike the invoice side, there is no standards body, no deadline, and no ERP vendor roadmap item coming to fix it. That asymmetry is worth sitting with. The half of the transaction that got regulated is the half that was already the most structured. The messy half stayed messy. ## Why nobody is coming for the messy half There is a reason that is worth naming plainly. Systems of record absorb defined work against a published standard. EN 16931 has a schema. Give an ERP vendor a specification and twenty-four months and they will ship a module, which is exactly what happened: Odoo shipped a built-in Peppol access point, NetSuite shipped an Electronic Invoicing SuiteApp, Business Central shipped native Peppol format support. Undefined work does not get absorbed that way. There is no standard for "a PDF that is laid out differently every time", so there is nothing to implement. It needs document interpretation, an evaluation harness to know whether the interpretation was right, and a review queue for the cases where it was not. That is a different kind of engineering than implementing a schema, and it is not on anyone's compliance roadmap. The absence of a mandate is precisely why nobody is coming. ## The practical read Solve invoice compliance with whatever fits the countries you actually trade in, and check what your ERP already ships before you buy anything, because the answer is often more than teams expect. Our [mandate timeline](/e-invoicing) sets out which country requires a format, a network, both, or neither, and the [ERP support guide](/guides/e-invoicing/does-your-erp-support-peppol) covers who ships what. Then treat inbound orders as the separate problem they are, because no regulation is going to merge them for you. That second half is what [OrderSync](/) does: it reads orders in whatever shape they arrive, PDF, email, spreadsheet, portal export, EDI, or voicemail, and posts them into your ERP as structured orders. It runs alongside your invoice compliance stack rather than replacing it, because they are genuinely different problems. ## Sources - [Peppol BIS Order Only 3.3](https://docs.peppol.eu/poacc/upgrade-3/profiles/3-order-only/), OpenPeppol - [VAT in the Digital Age (ViDA) digital reporting requirements](https://www.vatcalc.com/eu/eu-2028-digital-reporting-requirements-drr-e-invoice/), vatcalc ## Related reading - [European e-invoicing mandate timeline](/e-invoicing) - [Peppol ordering profiles in detail](/guides/e-invoicing/peppol-order-documents) - [Peppol is not e-invoicing](/guides/e-invoicing/peppol-vs-e-invoicing-mandates) - [EDI Inspector](/edi-inspector), free in-browser EDI file reader --- # Accounts Payable Automation: How It Works Source: https://ordersync.io/blog/accounts-payable-automation > How accounts payable automation digitizes invoice capture, coding, matching, approval, and payment, and where EDI 810 and 824 fit the flow. Accounts payable automation digitizes the invoice-to-pay flow: capturing invoices with OCR, extracting data, coding to the general ledger, matching against the purchase order and receipt, routing for approval, and paying with electronic remittance. It removes manual keying so AP teams handle more invoices with fewer errors, faster cycle times, and captured early-payment discounts. **Accounts payable automation replaces the manual keying, paper routing, and email chasing that slow the invoice-to-pay cycle with a connected pipeline that captures, codes, matches, approves, and pays supplier invoices.** Most AP teams do not have a payment problem. They have a data problem. Invoices arrive as PDFs, paper, EDI files, and email attachments, and someone keys each one into the ERP by hand. Every keystroke is a chance for a wrong amount, a miscoded GL account, or a duplicate payment. This guide walks through how AP automation actually works, step by step, and where electronic documents like the EDI 810 invoice and EDI 824 application advice fit in. ## What Accounts Payable Automation Does **AP automation digitizes every stage between receiving a supplier invoice and sending payment, so invoices flow through validation and approval without manual data entry.** Rather than a single feature, it is a chain of connected steps that each remove a manual handoff. The core stages look like this: 1. **Capture** the invoice through OCR or intelligent document processing, or receive it as structured EDI. 2. **Extract** header and line data: supplier, invoice number, PO number, amounts, tax, line items. 3. **Code** the invoice to the right general ledger accounts and cost centers. 4. **Match** it against the purchase order and the goods receipt. 5. **Route** it for approval based on amount, department, and policy. 6. **Pay** the supplier and send electronic remittance. The prize is "touchless" invoice processing, where an invoice moves from capture to payment approval without anyone keying or clicking. Not every invoice qualifies, but the ones that do free your team to work the exceptions that actually need judgment. On cost, manual invoice processing is commonly cited in the $10 to $15 per-invoice range once labor, rework, and exception chasing are counted, while automated processing lands closer to $2 to $4. Treat those as directional ranges rather than precise figures; for quartile data by industry and revenue band, [APQC's process benchmarking](https://www.apqc.org/process-frameworks) is the standard source. The gap between the two columns below is almost entirely manual effort and rework: | Measure | Manual AP | Automated AP | |---|---|---| | Cost per invoice | Commonly cited $10 to $15 | Commonly cited $2 to $4 | | Cycle time | Weeks from receipt to approval | Days, often same-day for clean PO-backed invoices | | Touchless rate | Near zero | A meaningful share of matched invoices clears with no touches | | Exception handling | Mixed into the queue with everything else | Isolated and routed to a reviewer with full context | ## The Invoice-to-Pay Flow, Step by Step **Each stage of AP automation hands clean, validated data to the next, which is what makes straight-through processing possible.** Here is what each step does. ### Capture and Data Extraction Paper and PDF invoices go through OCR or intelligent document processing, which reads the document and pulls structured fields. Good extraction handles the messy reality of supplier invoices: different layouts, line items that wrap, tax lines, and freight charges. This is the same document-extraction problem OrderSync solves on the sell side with [AI-powered order automation](/ai-order-automation), applied to inbound invoices. For trading partners set up on EDI, the invoice arrives as an [EDI 810 invoice](/guides/edi/810-invoice), already structured. No OCR needed. You can check the segments in any 810 with the [free EDI Inspector](/edi-inspector) before it hits your ERP. ### GL Coding Once data is extracted, the invoice needs to be coded to the correct general ledger accounts, cost centers, and tax codes. Automation applies rules and learns from history: this supplier's invoices usually code to this account, this PO carries this cost center. Non-PO invoices, like utilities or subscriptions, lean hardest on coding rules because there is no PO to match against. ### Matching This is the control that stops overpayment. A PO-based invoice gets matched against the purchase order and the goods receipt, a [three-way match](/blog/three-way-match) that confirms you were billed for what you ordered and what you actually received. When the invoice, PO, and receipt agree within tolerance, the invoice clears for payment automatically. Matching depends on receiving data being captured accurately, which is why the [goods receipt process](/blog/goods-receipt-process) is the quiet middle leg that most AP problems trace back to. No receipt, no match, stuck invoice. Some buyer-supplier pairs skip the supplier invoice entirely: under [self-billing and ERS](/blog/self-billing-ers-explained), the buyer generates the invoice from the PO and receipt and simply pays it, which removes the third leg instead of matching it. ### Approval Routing Matched invoices still need sign-off. Automated routing sends each invoice to the right approver based on amount thresholds, department, and budget, with escalation for larger spend. This mirrors the [purchase order approval workflow](/blog/purchase-order-approval-workflow) on the buying side, and the same segregation-of-duties rules apply: the person who approves the invoice should not be the person who cut the PO. ### Payment and Remittance Approved invoices move to payment: ACH, virtual card, check, or wire. For EDI trading partners, payment and remittance travel as an [EDI 820 payment order](/guides/edi/820-payment-order), so the supplier's AR team can auto-apply the cash. Clean remittance data is what lets both sides reconcile without a phone call. ## Where EDI Fits Accounts Payable **On the AP side, EDI carries two distinct signals: the supplier's invoice (810) and your business-rule response to it (824), and confusing the 824 with the 997 is a common mistake.** The 997 functional acknowledgment only confirms that a file arrived and was syntactically valid. It says nothing about whether the invoice passed your business rules. The [EDI 824 application advice](/guides/edi/824-application-advice) is different. It reports application-level acceptance or rejection: the invoice referenced a PO you do not recognize, the price does not match the contract, the quantity exceeds what was received. A 997 means "we got your file." An 824 means "we read your invoice and here is what our system thinks of it." Here is how the pieces line up on a PO-based purchase: | Document | Direction | What it carries | |---|---|---| | EDI 850 | You to supplier | The purchase order | | EDI 856 | Supplier to you | Ship notice (ASN) for the shipment | | EDI 810 | Supplier to you | The invoice | | EDI 824 | You to supplier | Business-rule accept or reject of the invoice | | EDI 820 | You to supplier | Payment order and remittance | Getting these right is the difference between a clean [procure-to-pay process](/blog/procure-to-pay-process) and an AP inbox full of exceptions. Wiring these documents into your ERP through [ERP integration](/erp-integration) is what keeps the 810-to-payment flow touchless. SAP's invoice verification documentation walks through how logistics invoice verification blocks an invoice when price or quantity falls outside tolerance ([SAP logistics invoice verification](https://help.sap.com/docs/SAP_S4HANA_ON-PREMISE)), which is the ERP-side mirror of the 824 you send back. ## Invoice Approval: Rules That Keep It Moving **Invoice approval stalls when the routing rules are vague, so write them down as amounts, owners and deadlines.** Matching proves the invoice is correct. Approval proves someone with authority agreed to pay it. Most AP delays live here, not in capture. A workable invoice approval policy answers five questions: | Question | Example rule | |---|---| | Which invoices skip approval? | PO-backed invoices that pass three-way match within 2% tolerance | | Who approves non-PO invoices? | The cost center owner | | What are the amount thresholds? | Up to $5,000: department head. Above that: finance controller. Above $50,000: CFO | | What happens if the approver is out? | Auto-delegate to a named backup after 2 business days | | When does it escalate? | 5 business days before the due date, or before a discount window closes | The first row does the most work. If a PO-backed invoice matched the PO and the receipt, the PO approval already authorized the spend. Asking a manager to approve it again adds a week and no control. Keep human approval for non-PO invoices, invoices outside tolerance, and new suppliers. Approval workflows usually fail for the same few reasons: approvers get the invoice by email with no PO or receipt attached, thresholds are not set so everything goes to one person, nobody covers for an absent approver, and there is no escalation before the due date. Fix those four and most "stuck in approval" invoices disappear. ## AI in Accounts Payable **AI in accounts payable mostly means intelligent document processing (IDP): models that read an invoice the way a person does, without a template per supplier.** Older OCR needed a template for each invoice layout and broke when a supplier changed theirs. IDP models read the layout, find the fields and line items, and return structured data with a confidence score for each field. Where AI helps in AP today: - **Invoice capture without templates.** New suppliers do not need setup. The model reads the first invoice from a supplier as well as the hundredth. - **Line-item extraction.** Pulling every line, including wrapped descriptions, freight and tax lines, so matching can run at line level instead of on the total. - **GL coding suggestions.** Proposing account and cost center from the supplier's history and the invoice description, for a person to confirm on non-PO invoices. - **Exception explanations.** Telling the reviewer why an invoice failed matching: "Line 3 billed 120 units, receipt shows 100." - **Duplicate detection.** Catching the same invoice sent twice with a different invoice number format or as a scanned copy of an email PDF. - **Supplier email triage.** Sorting the AP inbox into invoices, statements, credit notes and payment queries. ERP vendors now build this in. Microsoft's [invoice capture for Dynamics 365 Finance](https://learn.microsoft.com/en-us/dynamics365/finance/accounts-payable/invoice-capture-overview) is one example: it creates vendor invoices automatically from invoice images, using AI-based OCR that reads different vendors' invoice formats without much human intervention. ### Intelligent Document Processing Use Cases in AP | Use case | Document | What IDP extracts | What happens next | |---|---|---|---| | PO-backed invoice | PDF or scanned invoice | PO number, lines, quantities, prices | Three-way match, then straight to payment if clean | | Non-PO invoice | Utility, service, subscription bills | Supplier, amount, period, account | Suggested GL coding, then approval routing | | Credit note | Supplier credit memo | Original invoice reference, credited lines | Applied against the open invoice | | Supplier statement | Monthly statement of account | Open items and balances | Reconciled against your AP ledger to find missing invoices | | Remittance query | Supplier email | Invoice numbers, amounts in question | Routed to the right AP clerk with payment status | | Receipt evidence | Delivery note, proof of delivery | Quantities received, dates | Completes the receipt leg of the match | Two limits are worth knowing. AI extraction is probabilistic, so a well-built system checks low-confidence fields with a person rather than posting them. And AI does not fix missing data: if the goods receipt was never recorded, no model can complete the match. The same document reading works on the sales side of the same transaction. Suppliers use [AI-powered order automation](/ai-order-automation) to read the purchase orders that start the cycle, which is where the PO number your AP team matches against comes from. ## What Changes When You Automate **The measurable wins from AP automation are lower cost per invoice, shorter cycle time, fewer duplicate payments, and more captured early-payment discounts.** Manual AP loses discounts because invoices sit in approval limbo past the discount window; automated routing surfaces the 2/10 Net 30 invoices in time to actually take the 2%. Duplicate payments drop because the system flags a second invoice with the same number before it gets cut, not after. And every capture, code, match, and approval is timestamped, which is the audit trail email-based AP can never produce. For the capture-and-match core specifically, see [invoice processing automation](/blog/invoice-processing-automation), and compare tools in our guide to [invoice automation software](/blog/invoice-automation-software). ## Frequently Asked Questions ### What is touchless invoice processing? Touchless invoice processing means an invoice moves from capture through to payment approval without a person keying or manually reviewing it. The invoice is captured, extracted, coded, matched against the PO and receipt, and approved by rules. Only invoices that fail matching or exceed thresholds get routed to a human, which is exception handling rather than routine processing. ### What is the difference between an EDI 824 and a 997? The EDI 997 functional acknowledgment is syntactic. It confirms a file was received and structurally valid, nothing more. The EDI 824 application advice is a business-rule response: it reports whether the invoice passed application-level checks like PO matching, pricing, and quantity. You can receive a 997 accepting the file and still send back an 824 rejecting the invoice's contents. ### Do I need EDI to automate accounts payable? No. AP automation works for PDF, paper, and email invoices through OCR and intelligent document processing. EDI 810 invoices simply arrive already structured, so they skip the capture-and-extract step. Most mid-market AP teams run a mix: EDI with their largest suppliers and document extraction for the long tail of smaller vendors. ### How does three-way match fit into AP automation? Three-way match is the core validation control in PO-based AP. The system compares the invoice against the purchase order and the goods receipt. When all three agree within tolerance, the invoice clears for payment automatically. When they disagree, the invoice is blocked and routed for review. Accurate goods receipt data is what makes automated matching possible. ### What is the first step to automating accounts payable? Start with invoice capture and matching, because that is where the manual keying and the duplicate-payment risk live. Get invoices into structured data, whether through EDI 810 or document extraction, then match them against POs and receipts. Payment automation and remittance come next once the front of the pipeline is clean. ### How is AI used in accounts payable? AI in accounts payable mainly reads invoices. Intelligent document processing extracts supplier, PO number, line items and totals from PDF and scanned invoices without per-supplier templates. AI also suggests GL coding for non-PO invoices, explains why an invoice failed matching, and flags likely duplicates. People still review low-confidence fields and real exceptions. ### What should an invoice approval policy include? It should say which invoices skip approval (usually PO-backed invoices that pass three-way match), who approves non-PO invoices, the amount thresholds for each approver, who covers when an approver is out, and when an invoice escalates before its due date or discount deadline. --- # Blanket Purchase Order: How Releases Work Source: https://ordersync.io/blog/blanket-purchase-order > A blanket purchase order commits to a total quantity over a period, drawn down by releases. See how call-offs work, with a worked drawdown example. A blanket purchase order commits to a total quantity or value with a supplier over a set period, at agreed pricing. You do not receive it all at once. Instead you issue releases, also called call-offs, against the blanket as you need stock. Each release becomes a live order that consumes part of the committed total. **A blanket purchase order is a single agreement covering a total quantity or dollar value over a period, and you draw against it with releases each time you actually need stock.** Instead of cutting a fresh PO every week for the same item at the same price, you negotiate one blanket, lock the pricing, and call off deliveries as demand comes. It cuts paperwork, holds your price steady across the term, and gives the supplier a demand signal to plan against. The catch that trips people up is availability. A blanket commits you on paper, but the committed quantity usually does not touch inventory or promised-order availability until you release against it. Confuse the blanket total with real, orderable stock and your planning goes sideways. This guide explains how releases work, how a blanket differs from a standing order and a scheduling agreement, how the major ERPs model each one, and where blankets fit in the wider [procure-to-pay process](/blog/procure-to-pay-process). ## How Blanket PO Releases Work **A release, or call-off, is the transaction that converts part of a blanket's committed quantity into a live, deliverable order.** The blanket is the umbrella agreement. The release is the actual order for a specific quantity on a specific date. The flow works like this: 1. **Negotiate the blanket.** You agree a total, say 12,000 units over 12 months at $8 each, and issue the blanket purchase order to the supplier. 2. **Release as needed.** Each month you issue a call-off for the quantity you need, say 1,000 units. That release references the blanket and draws down the remaining balance. 3. **Receive and match.** The released quantity ships, you record the goods receipt, and the supplier invoices against it. The [three-way match](/blog/three-way-match) runs on the release, not the blanket total. 4. **Track the balance.** Each release reduces the open quantity on the blanket until the total is consumed or the term ends. The important mechanic is availability. Microsoft's own Business Central documentation states plainly that "quantities entered on a blanket order don't affect item availability," and the **Make Order** action is what converts a blanket line into a live order that does ([Microsoft Learn blanket purchase orders](https://learn.microsoft.com/en-us/dynamics365/business-central/sales-how-to-create-blanket-sales-orders)). Until you make that release, the blanket quantity is a commitment, not stock you can promise to a customer. ## A Release Drawdown in Practice **A drawdown ledger is the simplest way to see how releases consume a blanket.** Take a 12-month blanket for 12,000 units of packaging film at $8.00, issued January 2. Each release can travel to the supplier as its own [EDI 850 purchase order](/guides/edi/850-purchase-order) referencing the blanket number: | Release | Date | Quantity released | Open balance remaining | |---|---|---|---| | (Blanket issued) | Jan 2 | 0 | 12,000 | | REL-001 | Jan 20 | 2,000 | 10,000 | | REL-002 | Mar 14 | 3,500 | 6,500 | | REL-003 | Jun 9 | 2,500 | 4,000 | | REL-004 | Sep 1 | 3,000 | 1,000 | | REL-005 | Nov 17 | 1,000 | 0 | Each release is a real order: it ships, gets received, and gets invoiced on its own. When the balance hits zero, or the term expires with balance left, you have a decision. If demand continues, renegotiate a new blanket while your consumption history strengthens your hand on price. If the need was temporary, cover any remainder with a spot PO at market price. Do not let releases keep going out against an expired agreement, because the supplier is then free to fill them at whatever price they choose. ## Blanket Order vs Standing Order vs Scheduling Agreement These three arrangements all cover repeat buying, and they get used interchangeably even though they behave differently. Here is the distinction. | Type | How it works | Delivery trigger | |---|---|---| | **Blanket order** | Draws against a negotiated total quantity or value | Manual releases (call-offs) as needed | | **Standing order** | Fixed recurring quantity on a set template | Automatic on a fixed schedule | | **Scheduling agreement** | A blanket with the delivery schedule built in | Schedule lines, often fed by EDI | A **blanket order** commits to a total and lets you release against it flexibly, when and how much you decide within the agreed ceiling. A **standing order** is a fixed recurring order, the same 200 cases every week on a template, with no fresh decision each cycle. A **scheduling agreement** is a blanket with the delivery schedule embedded: the buyer publishes forecast and firm schedule lines, fed in automotive and high-volume manufacturing by the [EDI 830 planning schedule](/guides/edi/830-planning-schedule). If your releases and schedules travel over EDI, validate the 830 and 850 files with our [free EDI Inspector](/edi-inspector) before they reach the supplier. For the full three-way comparison, see [scheduling agreement vs blanket order](/blog/scheduling-agreement-vs-blanket-order). ## How the Major ERPs Model Blanket Orders The concept is standard, but each ERP names and structures it differently. - **JD Edwards.** Blanket orders use order types SB (blanket sales order) and OB (blanket purchase order). You enter the blanket, then generate releases against it that flow into the standard order process ([Oracle JD Edwards procurement documentation](https://docs.oracle.com/en/applications/jd-edwards/)). - **SAP.** SAP models the concept as a framework order, document type "FO," for value-limit purchasing, and as scheduling agreements when the delivery schedule is embedded and driven by releases ([SAP purchasing help](https://help.sap.com/docs/SAP_S4HANA_ON-PREMISE)). - **Microsoft Dynamics 365 Business Central.** Blanket purchase orders are a native document type, with the Make Order action converting a blanket line into a live purchase order ([Microsoft Learn blanket orders](https://learn.microsoft.com/en-us/dynamics365/business-central/sales-how-to-create-blanket-sales-orders)). - **Odoo.** Blanket orders live under Purchase Agreements, where you define the agreement, the products, and the negotiated pricing, then create purchase orders from it as needed ([Odoo purchase agreements documentation](https://www.odoo.com/documentation/17.0/applications/inventory_and_mrp/purchase.html)). Four different labels, one shared mechanic: a negotiated agreement up front, releases drawn against it over time. ## Where Blanket Orders Fit in Procurement Blanket orders solve a specific problem: repeat purchasing of the same items at a stable price without generating a mountain of individual POs. They belong wherever demand is predictable but not perfectly scheduled, MRO supplies, packaging, ingredients, components you consume steadily. The benefits are concrete. You lock pricing for the term, so a mid-year cost increase does not hit you. You cut administrative overhead, because one blanket replaces dozens of standalone POs. And you give the supplier a forecast to plan against, which usually earns you better pricing and availability. The risk is losing track of releases. Because the blanket total does not consume availability until released, it is easy to over-commit downstream if your systems do not tie releases back to the agreement. That is where [purchase order automation](/blog/purchase-order-automation) earns its keep, generating each release, tracking the remaining balance, and posting receipts against the right blanket line automatically. Connect it through [ERP integration](/erp-integration) and every call-off, receipt, and invoice reconciles without manual tracking. ## Best Practices for Automating Blanket Purchase Orders **Automating blanket orders works when every release is tied to its blanket line, checked against the remaining balance, and priced from the agreement rather than retyped.** Most blanket problems come from releases that lose that link. These practices apply on both sides of the agreement. 1. **Carry the blanket number on every release.** The release must reference the blanket and the blanket line. In EDI, the 850 marks the order type in `BEG02` (`BK` for the blanket itself, `RL` for a release) and carries the release number in `BEG04`. On emailed releases, make the blanket number a required field, not a note. 2. **Check the open balance before accepting a release.** A release that exceeds the remaining quantity or value should stop for review, not ship. The drawdown ledger above is the check: released to date plus this release must not pass the committed total. 3. **Price from the agreement, not the release document.** If the release shows a price that differs from the blanket, the blanket wins unless both sides agreed a change. Flag the mismatch before it reaches the invoice, where it becomes a three-way match failure. 4. **Enforce the validity dates.** Block releases dated after the blanket expires. Releases against an expired agreement are where off-contract pricing creeps in. 5. **Acknowledge each release.** The supplier confirms quantity and date per release, the same way as a standard PO. The [EDI 855 PO acknowledgment guide](/guides/edi/855-purchase-order-acknowledgment) covers `BAK05`, the field that echoes the release number. 6. **Alert before the balance runs out.** Set a threshold, say 20% remaining or 60 days to expiry, that tells the buyer to renegotiate and tells the supplier a new blanket is coming. 7. **Report consumption against plan.** Compare released quantity to the expected run rate. A blanket that is 80% consumed by month six will run out early. One that is 10% consumed by month six is a forecast the supplier is planning against wrongly. On the supplier side, releases often arrive in mixed formats: the largest customer sends EDI 850 releases while smaller ones email a PDF call-off referencing the blanket number. [Multi-format order processing](/multi-format-orders) reads both, matches each release to its blanket, and holds any release that breaks the balance or price for a person to check. For the basics of the documents themselves, see [what is a purchase order](/blog/what-is-a-purchase-order). ## Frequently Asked Questions ### What is a blanket purchase order? It is one negotiated agreement that covers many future deliveries: a committed total quantity or value, a locked price, and a validity period, typically a year. The individual releases against it are the actual orders. Buyers use blankets for items with steady, predictable demand, like MRO supplies, packaging, and ingredients, where cutting a fresh PO for every delivery adds cost without adding control. ### What is a release or call-off against a blanket order? A release, or call-off, is the transaction that converts part of a blanket's committed quantity into a live, deliverable order. The blanket is the overall agreement; the release is the specific order for a quantity on a date. Each release draws down the remaining balance on the blanket until the total is consumed. ### Does a blanket order affect inventory availability? Usually not until you release against it. Microsoft's Business Central documentation states that quantities on a blanket order do not affect item availability. The committed total is an agreement, not orderable stock. Only when you issue a release does the quantity become a live order that affects availability. ### What is the difference between a blanket order and a standing order? A blanket order commits to a total quantity and lets you issue releases flexibly as you need stock. A standing order is a fixed recurring order, the same quantity on the same schedule, delivered automatically without a fresh decision each cycle. Blanket orders are demand-driven; standing orders run on a set template. ### What is a scheduling agreement? A scheduling agreement is a blanket order with the delivery schedule built into it. Instead of issuing ad-hoc releases, the buyer publishes forecast and firm schedule lines that the supplier ships against. In high-volume manufacturing these schedules are often fed electronically by the EDI 830 planning schedule and EDI 862 shipping schedule. ### How do you automate blanket purchase orders? Tie every release to its blanket number and line, check each release against the remaining balance and the agreed price before accepting it, block releases after the blanket expires, and alert both sides when the balance runs low. In EDI, releases arrive as 850s with `RL` in `BEG02` and the release number in `BEG04`. --- # Cumulative Quantity (CUM) in Automotive EDI Source: https://ordersync.io/blog/cumulative-quantity-cum-accounting > How cumulative quantity accounting works in the EDI 830: ATH authorizations, SHP cumulative shipped, and the reconciliation math OEMs grade you on. Cumulative quantity (CUM) accounting tracks the running total of parts authorized, shipped, and received against a scheduling agreement since a fixed start date. In the EDI 830, the ATH segment carries cumulative authorizations and the SHP segment carries cumulative shipped or received. The OEM compares your CUM shipped against required CUM to flag whether you are ahead, behind, or on target. **Automotive OEMs do not manage supplier deliveries in discrete order quantities. They manage them in cumulative totals, and if your CUM does not match theirs, you take a scorecard hit before anyone picks up the phone.** Cumulative quantity accounting is the running-total system behind every automotive [EDI 830 planning schedule](/guides/edi/830-planning-schedule). It sounds simple, a running sum since a start date, but the segments that carry it and the reconciliation math trip up suppliers constantly. This is the part of the 830 that OEM implementation guides bury in appendices. Here is how it actually works. ## Why CUM Instead of Discrete Quantities? **Cumulative accounting lets the OEM and supplier reconcile against one continuous number instead of hundreds of individual releases.** Rather than tracking whether release 4471 for 500 units shipped complete, both parties track one figure: total units shipped against this part number since the agreed CUM start date. A single number is far harder to lose track of across thousands of daily releases. It also lets the OEM cap its financial exposure. In a cumulative model, the OEM can authorize you to fabricate up to one point and buy raw material to a further-out point. If the program is cancelled, the OEM owes you for authorized material and fabrication up to those cumulative points, and no further. That fabrication-versus-material distinction is the whole reason the authorization segment exists. The trade-off is precision. Because everything is a running total, one missed or double-counted shipment throws off every figure downstream until it is corrected. ## The ATH Segment: Cumulative Authorizations **The ATH (authorization) segment in the 830 carries the cumulative points up to which the OEM authorizes you to commit resources.** ATH01 is a type code that tells you what kind of authorization the number represents. | ATH01 code | Meaning | What it authorizes | |---|---|---| | **FI** | Fabrication / finished authorization | Build finished goods up to this cumulative quantity | | **MT** | Raw material authorization | Purchase raw material up to this cumulative quantity | | **PQ** | Prior cumulative quantity | Beginning inventory / CUM as of the start reference | The FI point is always at or behind the MT point. The OEM lets you buy material further out than it lets you build finished parts, because raw material is cheaper to hold and easier to redirect than completed assemblies. That is how the OEM limits its liability while still giving you lead time. The PQ value is the anchor. It states the prior cumulative quantity, the beginning point from which the current figures are measured. Get the PQ wrong and every calculation built on it is wrong. ## The SHP Segment: Cumulative Shipped and Received **The SHP segment reports shipped or received quantities, and its qualifiers tell you whether a figure is a discrete quantity or a cumulative total.** This is the segment the OEM populates back to you, and the one you reconcile against. - **SHP01 = 01**: the quantity is discrete (this shipment or this period) - **SHP01 = 02**: the quantity is cumulative (running total) - **SHP03 date qualifier 011**: shipped on this date - **SHP03 date qualifier 050**: received on this date - **SHP03 date qualifier 051**: cumulative start date (the CUM anchor date) When you read an inbound 830, the SHP segment with SHP01 = 02 and the 051 start date tells you the OEM's view of your cumulative shipped. If that disagrees with your own records, you have a reconciliation problem to resolve before it becomes a delivery-performance ding. ## The Reconciliation Math **The core check: the OEM's prior cumulative authorization plus the first firm requirement equals the total that should have shipped by the schedule generation date. Compare that against your cumulative shipped to know if you are ahead, behind, or exact.** OEM 830 implementation guidelines, including Stellantis's, publish this reconciliation formula. In segment terms: ``` ATH03 (prior cumulative required) + FST01 (current firm requirement) = total that should have shipped by the generation date (total that should have shipped) - SHP cumulative shipped = position ``` Read the position like this: - **0** means you have shipped exactly what was required. On target. - **Negative** (you shipped less than required) means you are behind. This is the number that generates expedite calls and premium freight. - **Positive** (you shipped more than required) means you shipped ahead. Not always welcome, because it inflates the OEM's on-hand inventory. The [EDI 856 ship notice](/guides/edi/856-ship-notice) closes the loop. Your ASN references the release number, and when the OEM receives goods against it, the OEM increments its cumulative-received figure. That is why a missing or mis-referenced ASN is a top source of CUM disagreement: the parts arrived, but the OEM's running total never moved. ## Where Suppliers Get Burned **When an automotive scorecard dings a supplier for delivery performance, the trail usually leads back to one of three CUM failures.** A wrong PQ anchor, a double-counted or missing shipment, and an ASN that failed to reference the correct release. Any one of them desynchronizes your running total from the OEM's, and every subsequent schedule reads as ahead or behind until you find the break. Named OEM guidelines are worth reading directly, because the qualifiers and formula vary slightly by partner. FCA/Stellantis, John Deere through the [JDSN supplier network](https://jdsn.deere.com/), and Volvo all publish 830 implementation guides that specify their CUM handling. The ASC X12 standard defines the base ATH, SHP, and FST segments used across all of them ([x12.org transaction sets](https://x12.org/products/transaction-sets)). The EDIFACT world models the same firm-versus-forecast zones through the DELFOR delivery-plan-status data element (DE 4017): firm, commitment for manufacturing and material, commitment for material only, and planning or forecast ([unece.org UN/EDIFACT directories](https://unece.org/trade/uncefact/introducing-unedifact)). It is the same fabrication-versus-material cap, expressed as status codes instead of ATH types. ## Catch CUM Problems Before They Hit Your Scorecard The practical defense is to parse every inbound 830, extract the ATH and SHP figures, and reconcile them against your own shipment history automatically. Doing that by hand across hundreds of part numbers is how errors slip through. You can inspect the ATH, SHP, and FST segments of any 830 with our [free EDI Inspector](/edi-inspector) to see exactly what the OEM is asserting. For the difference between the forecast document and the firm ship instruction that drives your daily CUM, read [EDI 830 vs 862](/blog/edi-830-vs-862). ## Frequently Asked Questions ### What is cumulative quantity in automotive EDI? Cumulative quantity, or CUM, is the running total of parts authorized, shipped, or received against a scheduling agreement since a fixed start date. Automotive OEMs manage deliveries by these running totals rather than by discrete order quantities, so both parties reconcile against one continuous number per part. ### What does the ATH segment do in an EDI 830? The ATH segment carries cumulative authorizations. ATH01 codes identify the type: FI is fabrication or finished authorization, MT is raw material authorization, and PQ is the prior cumulative quantity or beginning inventory. The FI and MT points let the OEM authorize building up to one cumulative point and buying material to a further-out point. ### How do you calculate whether you are ahead or behind on CUM? Add the prior cumulative required (ATH03) to the current firm requirement (FST01) to get the total that should have shipped by the schedule date. Subtract your cumulative shipped (from the SHP segment). Zero means on target, negative means behind, positive means shipped ahead. ### What is the difference between fabrication and material authorization? Fabrication authorization (ATH01 = FI) permits building finished goods up to a cumulative point. Material authorization (ATH01 = MT) permits buying raw material to a further-out cumulative point. The gap gives the supplier lead time while capping the OEM's liability to authorized material and fabrication if the program is cancelled. ### Why do CUM figures get out of sync? The three common causes are a wrong prior cumulative anchor (PQ), a shipment counted twice or missed, and an ASN that failed to reference the correct release so the OEM never incremented its cumulative-received total. Any one desynchronizes your running total from the OEM's until corrected. --- # EDI 830 vs 862: Planning vs Shipping Source: https://ordersync.io/blog/edi-830-vs-862 > EDI 830 is a planning and forecast schedule; EDI 862 is a firm shipping schedule. Here is how the two differ, and why buyers send them together. EDI 830 is a Planning Schedule with Release Capability: a longer-horizon forecast that can authorize the supplier to commit labor and material. EDI 862 is a Shipping Schedule: short-horizon, firm ship or delivery instructions. The 830 tells you what is coming for weeks or months; the 862 tells you exactly what to ship in the next few days. **The EDI 830 and the EDI 862 do two different jobs in the same relationship, and confusing them is expensive.** The 830 is the forecast. The 862 is the firm ship order. They are meant to be used together, with the 862 supplementing and tightening what the 830 already communicated. If you treat an 830 as a shipping instruction, you ship against a forecast that was never firm. If you ignore the 830 and wait for the 862, you have no lead time to buy material. Both ride on a scheduling agreement rather than a discrete purchase order. If you are still sorting out how those agreements work, start with [scheduling agreement vs blanket order](/blog/scheduling-agreement-vs-blanket-order). ## What Is the EDI 830? **The EDI 830 is the Planning Schedule with Release Capability, a forecast that spans weeks to months and can carry the buyer's authorization for the supplier to commit resources.** Its EDIFACT equivalent is the DELFOR message. The buyer sends it to give you visibility into upcoming demand so you can plan production, staffing, and raw-material purchasing. The word "release capability" matters. An 830 is not only a forecast. Depending on the trading partner's setup, it can act as an order-release mechanism and authorize you to spend money. In automotive, an 830 typically states one cumulative point up to which you may fabricate finished goods and a further-out point up to which you may buy raw material. That authorization caps the OEM's exposure if the program stops. The horizon is long. DELFOR forecasts commonly reach several months out, refreshed on a weekly cadence. Distant weeks are planning-only; near weeks may be firm. ## What Is the EDI 862? **The EDI 862 is the Shipping Schedule, a short-horizon transaction carrying firm ship or delivery instructions, usually covering a window from the next 24 hours out to roughly ten days.** Its EDIFACT equivalent is the DELJIT (delivery just-in-time) message. Buyers send it daily, or multiple times a day, to drive precise line-side delivery. Two constraints define the 862. First, it supersedes the shipping information in a prior 830 for the overlapping window, so the 862 is the authority on exactly what to ship now. Second, it does not authorize labor or material and cannot change firm commitments already stated in the DELFOR or the original ORDERS. The 862 tells you when to ship what you were already authorized to build. It does not expand your authorization. That division is deliberate. It lets the buyer adjust the daily ship plan without touching the commercial commitment, and it protects the supplier from being told to ship more than the forecast ever authorized. ## The Firm Versus Forecast Split **Both documents divide the horizon into zones: a firm zone where the buyer is committed, and a forecast zone that is planning-only.** The 830 defines those zones across a long horizon; the 862 operates almost entirely inside the firm near-term. | Attribute | EDI 830 | EDI 862 | |---|---|---| | Name | Planning Schedule with Release Capability | Shipping Schedule | | EDIFACT equivalent | DELFOR | DELJIT | | Horizon | Weeks to several months | 24 hours to ~10 days | | Primary purpose | Forecast, capacity and material planning | Firm ship / delivery instructions | | Authorizes labor and material? | Yes, can authorize fabrication and raw material | No | | Cadence | Weekly (typical) | Daily or intra-day | | Relationship | Sets the plan and the authorization | Supplements the 830, supersedes its ship info | The exact horizon split, a multi-month DELFOR forecast against a DELJIT window of roughly 24 hours to 10 days, is a convention set by EDIFACT implementation guidelines and individual OEM rules rather than a hard rule in the base standard. The ASC X12 standard defines the 830 and 862 transaction sets ([x12.org transaction sets](https://x12.org/products/transaction-sets)), and UNECE publishes the DELFOR and DELJIT message specifications ([unece.org UN/EDIFACT directories](https://unece.org/trade/uncefact/introducing-unedifact)). ## How They Work Together **The 830 gives you lead time; the 862 gives you precision.** A typical week looks like this: the 830 arrives with a rolling forecast and your cumulative fabrication and material authorizations. You buy raw material against the far-out authorization and schedule production against the nearer fabrication authorization. Then daily 862s arrive telling you exactly which quantities to ship to which dock door on which day, inside that already-authorized envelope. When the 862 and 830 disagree on near-term ship quantities, the 862 wins for shipping. But the 862 cannot authorize you to ship beyond what the 830 committed. If you see an 862 demanding more than the 830 ever authorized, that is a data problem to raise with the buyer, not a green light to over-ship. The downstream document after you ship is the [EDI 856 ship notice](/guides/edi/856-ship-notice), which references the schedule so the buyer can update cumulative-received quantities. Reconciling those cumulative figures is where automotive suppliers most often take scorecard damage. We cover the mechanics in [cumulative quantity accounting in automotive EDI](/blog/cumulative-quantity-cum-accounting). To see the FST, SHP, and ATH segments behind all of this in a real file, run an inbound 830 or 862 through our [free EDI Inspector](/edi-inspector), and use the [EDI 830 planning schedule guide](/guides/edi/830-planning-schedule) for the segment-level breakdown. ## Frequently Asked Questions ### What is the difference between EDI 830 and 862? The 830 is a planning schedule: a longer-horizon forecast, refreshed weekly, that can authorize the supplier to commit labor and material. The 862 is a shipping schedule: short-horizon, firm ship instructions, sent daily. The 830 sets the plan and the authorization; the 862 tells you exactly what to ship in the next few days. ### Is EDI 830 the same as DELFOR? Yes, functionally. EDI 830 is the ASC X12 Planning Schedule with Release Capability. DELFOR is its UN/EDIFACT equivalent, the Delivery Forecast message. Both carry forecast and planning schedules over a multi-week to multi-month horizon. ### Does an EDI 862 authorize the supplier to build? No. The 862 carries firm ship or delivery instructions only. It cannot authorize labor or raw material, and it cannot change firm commitments already stated in the 830 or the original order. Authorization to build comes from the 830. ### Why do buyers send both 830 and 862? They serve different needs. The 830 gives the supplier lead time to buy material and plan capacity across a long horizon. The 862 gives precise, firm ship instructions for the immediate window. Sending both lets the buyer plan far ahead while adjusting daily shipments without renegotiating the commitment. ### Which document wins when they conflict? For near-term shipping quantities, the 862 supersedes the shipping information in a prior 830. But the 862 cannot exceed the authorization the 830 established. If an 862 asks for more than the 830 ever authorized, treat it as a data error and confirm with the buyer before shipping. --- # Acumatica EDI Integration: 850 to Sales Orders Source: https://ordersync.io/blog/edi-acumatica-integration > How Acumatica EDI integration works. Map inbound 850 to sales order types, generate 856 and 810, and connect any order format through the REST API. Acumatica Cloud ERP has no native EDI engine. EDI is added through ISV connectors or middleware that calls Acumatica's contract-based REST API. An inbound EDI 850 becomes a sales order using an order type configured on the Order Types screen (SO301000), and the 856 ship notice and 810 invoice generate from the shipment and invoice. Acumatica is a cloud ERP built around an open API, which makes it a natural fit for order automation. It runs sales orders, shipments, and invoices through configurable order types that control exactly how each document behaves. What it does not include is an EDI translator. When a retailer sends you a compliance guide asking for 850, 856, and 810 support, that translation layer has to come from somewhere. This guide covers how EDI maps into Acumatica, the role of order types, the integration methods available, and how orders that never arrive as EDI still land in the system without manual entry. ## Does Acumatica Have Native EDI? **Acumatica does not include a built-in EDI translator. EDI is added through an ISV connector or middleware that calls the contract-based REST API.** Acumatica's design centers on an open, well-documented API, so integration partners handle the [X12](https://x12.org/) and EDIFACT specifics and write orders through that API rather than a native EDI module. The contract-based REST API exposes SalesOrder, Shipment, and SalesInvoice endpoints, among many others. Acumatica documents it in its [help portal's REST API reference](https://help.acumatica.com/). An EDI provider maps an inbound 850 to the SalesOrder endpoint, then reads Shipment and SalesInvoice records to build the outbound 856 and 810. Raw X12 never touches Acumatica directly. A translator receives the 850 over AS2, SFTP, or a VAN, converts it to the JSON the REST API expects, and creates the order. To inspect what the source EDI segments contain before mapping them, the [free EDI Inspector](/edi-inspector) parses any X12 file with no signup. ## How Order Types Shape EDI Processing **In Acumatica, the order type set on the Order Types screen (SO301000) determines how a sales order processes and which documents it generates.** This is the piece that makes Acumatica EDI different from other ERPs. Before you map a single segment, you decide which order type inbound EDI orders will use, because that type controls the whole downstream flow. An order type defines the document sequence, the automatic operations, the inventory and accounting behavior, and whether the order allocates stock, creates a shipment, and produces an invoice. Many Acumatica EDI setups create a dedicated order type for EDI orders so the processing rules stay separate from manually entered orders. When the translator writes an inbound 850, it stamps that EDI order type, and Acumatica applies the configured behavior automatically. That mapping between the retailer's part numbers and your Acumatica inventory IDs is the other core task. Our [EDI 850 purchase order guide](/guides/edi/850-purchase-order) breaks down every segment the retailer can send, including the item identifiers your cross-reference has to resolve. ## How EDI Documents Map to Acumatica **An inbound 850 creates a sales order, and outbound 856 and 810 documents generate from the shipment and the invoice.** The mapping follows Acumatica's document flow, so each EDI transaction lines up with a step your operations team already runs. | Direction | X12 Transaction | Acumatica Document | Endpoint / Screen | |---|---|---|---| | Inbound | 850 Purchase Order | Sales order | SalesOrder API / SO301000 | | Inbound | 860 PO Change | Sales order update | SalesOrder API | | Outbound | 855 PO Acknowledgment | Order confirmation | Confirmed sales order | | Outbound | 856 Ship Notice (ASN) | Shipment | Shipment API / SO302000 | | Outbound | 810 Invoice | Sales invoice | SalesInvoice API / SO303000 | Acumatica's Commerce and Retail-Commerce editions add pre-built connectors to Shopify, BigCommerce, and Amazon, and larger retail deployments layer EDI on top through an ISV. The order type approach still governs each channel, which keeps EDI orders, ecommerce orders, and manual orders on separate, controllable processing paths. ## Integration Methods for Acumatica **Acumatica offers two practical EDI paths: an ISV connector from the Acumatica Marketplace, or middleware over the contract-based REST API.** Both write through the same API surface, so the difference is who owns the mapping and how changes get made. - **ISV EDI connectors**: partners like SPS Commerce (which acquired Data Masons in 2020) and TrueCommerce publish Acumatica connectors with pre-built trading partner maps. Fastest to a known retailer, but priced with monthly plus per-document fees, and spec changes often route through a support queue. - **Middleware over the REST API**: an external service reads and writes through the contract-based REST API. This keeps EDI logic outside the ERP and works well when you also process PDF and email orders through the same tool. Because Acumatica exposes a clean, versioned REST API, a modern integration can create sales orders and read shipments and invoices without heavy per-partner infrastructure inside the ERP. For the general connection patterns, see our guide to [ERP integration](/erp-integration), and for the tradeoff between direct EDI and API approaches, our [EDI vs API comparison](/blog/edi-vs-api). ## The Full Order-to-Cash Flow **A complete Acumatica EDI cycle moves an inbound purchase order to a sales order, then generates outbound EDI as each document processes.** Here is the sequence for a distributor selling to a retailer. 1. **Inbound 850**: the translator maps the retailer's purchase order to the SalesOrder endpoint, stamps the EDI order type, and creates the order. A 997 functional acknowledgment confirms receipt back to the retailer. 2. **Outbound 855**: on order confirmation, the integration sends the acknowledgment, flagging any line quantity or substitution changes. 3. **Outbound 856**: when you create the shipment, the integration reads it and builds the EDI 856 ship notice with carton and SSCC-18 detail. Retailers usually require the ASN before delivery, and a late one triggers chargebacks. Our [EDI 856 ship notice guide](/guides/edi/856-ship-notice) covers the structure. 4. **Outbound 810**: after the sales invoice releases, the integration produces the EDI 810, reconciling allowances and freight against the original 850 to avoid payment disputes. For the wider view of how this chain runs across systems, read our overview of [order-to-cash automation](/blog/order-to-cash-automation). ## How OrderSync Connects Orders to Acumatica **OrderSync creates Acumatica sales orders from inbound orders in any format, then syncs shipments and invoices back out as EDI.** The clean EDI partners are the easy accounts. The hard ones are the retail customers who email a PDF purchase order or send a spreadsheet, which still get keyed into Acumatica by hand. To connect orders to Acumatica with OrderSync, see the [Acumatica integration page](/integrations/acumatica). OrderSync ingests EDI 850s, PDF purchase orders, emailed orders, and CSV files through one pipeline. It maps buyer part numbers to your Acumatica inventory IDs, validates quantities and pricing, and creates the sales order through the REST API with the right order type. When you post the shipment and release the invoice, OrderSync generates the outbound 856 and 810 for the trading partner. PDF and email orders flow through the same automation instead of landing in a manual queue. Distributors on Acumatica almost always have a long tail of smaller accounts that will never adopt EDI, which is where a single multi-format pipeline pays off. See how the [multi-format order pipeline](/multi-format-orders) handles them. For teams comparing platforms, we also document [NetSuite EDI integration](/blog/edi-netsuite-integration) and [Dynamics 365 EDI integration](/blog/edi-dynamics-365-integration). ## Frequently Asked Questions ### Does Acumatica have built-in EDI support? No. Acumatica does not include an EDI translation engine. EDI is added through an ISV connector from the Acumatica Marketplace or middleware that reads and writes through the contract-based REST API. Acumatica's open API design leaves X12 translation to integration partners. ### How does an EDI 850 become a sales order in Acumatica? A translation layer receives the X12 850, maps the retailer's part numbers to your Acumatica inventory IDs, and creates the order through the SalesOrder REST endpoint. It stamps the EDI order type configured on the Order Types screen (SO301000), which controls how the order processes, and a 997 acknowledgment confirms receipt back to the retailer. ### What is the role of order types in Acumatica EDI? The order type set on screen SO301000 determines how a sales order processes and which documents it generates, including allocation, shipment, and invoicing behavior. Many EDI setups use a dedicated order type for inbound EDI orders so their processing rules stay separate from manually entered orders and other channels. ### Can Acumatica handle EDI and ecommerce orders together? Yes. Acumatica's Commerce and Retail-Commerce editions add connectors for Shopify, BigCommerce, and Amazon, and EDI is layered on through an ISV or middleware. The order type approach keeps EDI orders, ecommerce orders, and manual orders on separate, controllable processing paths within the same ERP. ### How does OrderSync handle non-EDI orders in Acumatica? OrderSync processes PDF purchase orders, emailed orders, and CSV files through the same pipeline as EDI 850s and creates Acumatica sales orders from all of them. Retail accounts that do not send EDI never require a separate translator or manual keying, which removes the long tail of orders that Acumatica EDI setups usually leave for staff to enter by hand. --- # Business Central EDI Integration: 850 to Orders Source: https://ordersync.io/blog/edi-business-central-integration > How Business Central EDI integration works. Map inbound 850 to sales orders, generate 856 and 810 from posted documents, and connect any order format. Dynamics 365 Business Central has no native EDI engine. EDI is added through AppSource ISV apps, AL extensions, or middleware that calls the Business Central REST and OData APIs. An inbound EDI 850 becomes a sales order, and the 856 ship notice and 810 invoice generate from the posted shipment and posted sales invoice. Business Central is Microsoft's ERP for small and mid-size companies, the successor to Dynamics NAV. It handles sales quotes, sales orders, blanket orders, and the posted shipment and invoice documents that follow. What it does not do is read a raw EDI file. When a retailer sends you a vendor compliance guide asking for 850, 856, and 810 support, that gap is what you need to fill. This guide covers how EDI maps into Business Central, the integration methods available, and how orders that never arrive as EDI still land in the system without manual keying. If you run the larger Finance & Operations product, see our separate [Dynamics 365 EDI integration](/blog/edi-dynamics-365-integration) guide. ## Does Business Central Have Native EDI? **Business Central does not include an EDI translator. EDI is added through AppSource apps, AL extensions, or middleware that uses the Business Central REST and OData APIs.** Microsoft exposes a documented API surface and lets partners handle the [X12](https://x12.org/) and EDIFACT specifics, rather than building translation into the ERP itself. The Business Central API endpoints cover sales orders, sales invoices, shipments, customers, and items. Microsoft documents them in the [Business Central API reference](https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/api-reference/v2.0/). An EDI provider maps an inbound 850 to the salesOrder resource, then reads the shipment and posted invoice resources to build the outbound 856 and 810. Raw X12 does not touch Business Central directly. A translator receives the 850 over AS2, SFTP, or a VAN, converts it to the JSON the API expects, and creates the order. To inspect what the source EDI segments actually contain before mapping them, the [free EDI Inspector](/edi-inspector) parses any X12 file with no signup. ## How EDI Documents Map to Business Central **An inbound 850 creates a sales order, and outbound 856 and 810 documents generate from the posted shipment and posted sales invoice.** The mapping follows the standard Business Central document flow, so each EDI transaction lines up with a step your team already runs. | Direction | X12 Transaction | Business Central Document | Source | |---|---|---|---| | Inbound | 850 Purchase Order | Sales order | salesOrder API resource | | Inbound | 860 PO Change | Sales order update | salesOrder resource | | Outbound | 855 PO Acknowledgment | Order confirmation | Confirmed sales order | | Outbound | 856 Ship Notice (ASN) | Posted sales shipment | Posted shipment document | | Outbound | 810 Invoice | Posted sales invoice | salesInvoice resource | Business Central also supports sales quotes and blanket sales orders. A blanket order holds a total quantity commitment, and individual sales orders draw against it. For an EDI program where a retailer sends repeating 850s against a standing commitment, the integration can create each order as a draw from the blanket order rather than a standalone document. Our [EDI 850 purchase order guide](/guides/edi/850-purchase-order) breaks down every segment the retailer can include. ## Integration Methods for Business Central **Business Central offers three practical EDI paths: an AppSource EDI app, a custom AL extension, or middleware over the REST and OData APIs.** Each trades setup effort against control and ongoing cost. - **AppSource EDI apps**: partners like SPS Commerce, TrueCommerce, and Lanham EDI publish Business Central apps with pre-built trading partner maps. Fastest to a known retailer, but priced with monthly plus per-document fees, and spec changes usually route through a support queue. - **Custom AL extensions**: your partner or developer builds the mapping in AL against Business Central pages and APIs. Full control, but it needs someone who understands both X12 structure and the Business Central data model. - **Middleware over APIs**: an external service reads and writes through the REST and OData endpoints. This keeps EDI logic outside the ERP, which fits well when you also process PDF and email orders. The API-first design is the key point for smaller companies. Because Business Central publishes a stable REST surface, a modern integration can create orders and read posted documents without installing heavy per-partner infrastructure inside the ERP. For the broader connection patterns, see our guide to [ERP integration](/erp-integration), and for the choice between direct EDI and API approaches, our [EDI vs API comparison](/blog/edi-vs-api). ## The Full Order-to-Cash Flow **A complete Business Central EDI cycle moves an inbound purchase order to a sales order, then generates outbound EDI as each document posts.** Here is the sequence for a distributor selling to a retailer. 1. **Inbound 850**: the translator maps the retailer's purchase order to the salesOrder resource and creates the order. A 997 functional acknowledgment confirms receipt back to the retailer. 2. **Outbound 855**: on order confirmation, the integration sends the acknowledgment, flagging any line quantity or substitution changes. 3. **Outbound 856**: when you post the sales shipment, the integration reads the posted shipment and builds the EDI 856 ship notice with carton and SSCC-18 detail. Retailers usually require the ASN before delivery, and a late one triggers chargebacks. Our [EDI 856 ship notice guide](/guides/edi/856-ship-notice) covers the structure. 4. **Outbound 810**: after posting the sales invoice, the integration produces the EDI 810, reconciling allowances and freight against the original 850 to avoid payment disputes. For the wider view of how this chain runs across systems, read our overview of [order-to-cash automation](/blog/order-to-cash-automation). ## How OrderSync Connects Orders to Business Central **OrderSync creates Business Central sales orders from inbound orders in any format, then syncs shipments and invoices back out as EDI.** The clean EDI partners are the easy accounts. The hard ones are the retail customers who email a PDF purchase order or send a spreadsheet, which still get keyed into Business Central by hand. To connect orders to Business Central with OrderSync, see the [Dynamics 365 integration page](/integrations/microsoft-dynamics-365). OrderSync ingests EDI 850s, PDF purchase orders, emailed orders, and CSV files through one pipeline. It maps buyer part numbers to your Business Central item numbers, validates quantities and pricing, and creates the sales order through the API. When you post the shipment and invoice, OrderSync generates the outbound 856 and 810 for the trading partner. PDF and email orders flow through the same automation instead of landing in a manual queue. Smaller distributors on Business Central almost always have a long tail of accounts that will never adopt EDI, which is exactly where a single multi-format pipeline pays off. See how the [multi-format order pipeline](/multi-format-orders) handles them. For teams comparing platforms, we also document [NetSuite EDI integration](/blog/edi-netsuite-integration) and [QuickBooks EDI integration](/blog/edi-quickbooks-integration) in dedicated guides. ## Frequently Asked Questions ### Does Business Central have built-in EDI support? No. Business Central does not include an EDI translation engine. EDI is added through an AppSource ISV app, a custom AL extension, or middleware that reads and writes through the Business Central REST and OData APIs. Microsoft exposes a documented API surface and leaves X12 translation to integration partners. ### How does an EDI 850 become a sales order in Business Central? A translation layer receives the X12 850, maps the retailer's part numbers to your Business Central item numbers, and creates the order through the salesOrder API resource. Business Central then treats it as a standard sales order, and a 997 acknowledgment confirms receipt back to the retailer. ### Can I use blanket sales orders with EDI in Business Central? Yes. A blanket sales order holds a total quantity commitment, and individual sales orders draw against it. When a retailer sends recurring 850s against a standing commitment, the integration can create each order as a draw from the blanket order, keeping the remaining quantity accurate without re-keying the terms each time. ### What is the difference between Business Central EDI and Finance & Operations EDI? Both lack a native EDI engine and rely on connectors or API-based integration, but the surface differs. Business Central uses AL extensions and its REST and OData APIs and suits smaller companies. Finance & Operations uses X++ extensions, data entities, and the Data Management Framework and targets larger enterprises with more complex requirements. ### How does OrderSync handle non-EDI orders in Business Central? OrderSync processes PDF purchase orders, emailed orders, and CSV files through the same pipeline as EDI 850s and creates Business Central sales orders from all of them. Retail accounts that do not send EDI never require a separate translator or manual keying, which removes the long tail of orders that Business Central EDI setups usually leave for staff to enter by hand. --- # Dynamics 365 EDI Integration: 850 to Sales Orders Source: https://ordersync.io/blog/edi-dynamics-365-integration > How Dynamics 365 EDI integration works for Finance & Operations. Map inbound 850 to sales orders, generate 856 and 810, and connect any order format. Dynamics 365 has no native EDI engine. Finance & Operations and Business Central both need an ISV connector or a custom integration built on the Dataverse and OData APIs. An inbound EDI 850 becomes a sales order, and the 856 ship notice and 810 invoice are generated from posted packing slips and invoices. Middleware handles the X12 translation. Microsoft sells two very different ERPs under the Dynamics 365 name. Dynamics 365 Finance & Operations (also called F&O or Supply Chain Management) targets larger enterprises. Dynamics 365 Business Central targets small and mid-size companies. Neither one reads a raw EDI file out of the box. If a retailer just handed you a vendor compliance guide, that is the gap you need to close. This guide focuses on Finance & Operations, where most complex EDI programs run. Business Central has its own patterns, and we cover those in the dedicated [Business Central EDI integration](/blog/edi-business-central-integration) guide. What both share is that EDI translation happens outside the ERP, and orders flow in through APIs. ## Does Dynamics 365 Have Native EDI? **Dynamics 365 does not include a built-in EDI translator. EDI is added through ISV connectors, custom X++ or AL extensions, or middleware that calls the platform APIs.** Microsoft's design choice was to expose clean data APIs and let integration partners handle the X12 and EDIFACT specifics, rather than build a translation engine into the ERP. For Finance & Operations, integrations use data entities exposed over OData, the Data Management Framework for batch imports, or business events that fire on posting. Microsoft documents these in the [F&O data entities reference](https://learn.microsoft.com/en-us/dynamics365/fin-ops-core/dev-itpro/data-entities/data-entities). An EDI provider maps the inbound 850 to the sales order data entity, then reads shipment and invoice entities to build outbound documents. Raw X12 never touches F&O directly. A translator receives the 850 over AS2, SFTP, or a VAN, converts it to the JSON or XML the sales order entity expects, and writes the order. The [EDI to JSON converter](/edi-to-json) shows that conversion for a single file, and [XML to EDI](/xml-to-edi) shows the field mapping in the other direction. If you want to see what the underlying EDI segments contain before mapping them, the [free EDI Inspector](/edi-inspector) parses any X12 file with no signup required. ## How EDI Documents Map to F&O **An inbound 850 creates a sales order, and outbound 856 and 810 documents are generated from the posted packing slip and posted invoice.** The mapping follows the natural F&O document flow, so each EDI transaction lines up with a step your operations team already runs. | Direction | X12 Transaction | F&O Document | Source | |---|---|---|---| | Inbound | 850 Purchase Order | Sales order | Sales order data entity | | Inbound | 860 PO Change | Sales order update | Sales order entity | | Outbound | 855 PO Acknowledgment | Order confirmation | Confirmed sales order | | Outbound | 856 Ship Notice (ASN) | Advance ship notice | Posted packing slip | | Outbound | 810 Invoice | Customer invoice | Posted sales invoice | Finance & Operations also supports sales agreements, which matter for EDI programs with repeating volume commitments. A sales agreement holds negotiated pricing and quantity terms, and inbound release orders draw against it. When a retailer sends recurring 850s against a blanket commitment, the integration can validate lines against the agreement instead of treating every order as standalone. For the source document details, our [EDI 850 purchase order guide](/guides/edi/850-purchase-order) breaks down every segment. ## Integration Methods for Finance & Operations **F&O offers three practical EDI integration paths: an ISV connector from AppSource, a custom extension, or middleware over the OData and Dataverse APIs.** Each trades setup effort against control and cost. - **ISV EDI connectors**: partners like SPS Commerce (which acquired Data Masons) and TrueCommerce publish F&O connectors with pre-built trading partner maps. Fastest to a known-good retailer, but priced with monthly plus per-document fees, and spec changes often route through a support queue. - **Custom X++ extensions and data entities**: your team builds the mapping against F&O data entities and the Data Management Framework. Full control, but it needs developers who understand both X12 structure and the F&O data model. - **Middleware over APIs**: an external service reads and writes through OData, business events, and the Dataverse layer. This keeps EDI logic outside the ERP and works well when you also process non-EDI orders. The Dataverse point is worth calling out. Finance & Operations data can be surfaced through Dataverse using virtual and dual-write entities, which gives integration tools a consistent API surface across the Dynamics family. Microsoft documents this in the [dual-write overview](https://learn.microsoft.com/en-us/dynamics365/fin-ops-core/dev-itpro/data-entities/dual-write/dual-write-overview). For a deeper look at the general connection patterns, see our guide to [ERP integration](/erp-integration). ## The Full Order-to-Cash Flow **A complete Dynamics 365 EDI cycle moves an inbound purchase order to a sales order, then generates outbound EDI as each fulfillment step posts.** Here is the sequence for a distributor selling to a retailer. 1. **Inbound 850**: the translator maps the retailer's purchase order to the sales order entity and writes the order. A 997 functional acknowledgment confirms receipt back to the retailer. 2. **Outbound 855**: on order confirmation, the integration generates the acknowledgment, flagging any line quantity or substitution changes. 3. **Outbound 856**: when you post the packing slip, the integration reads it and builds the EDI 856 ship notice with carton and SSCC-18 detail. Most retailers require the ASN before the shipment arrives, and a late one triggers chargebacks. Our [EDI 856 ship notice guide](/guides/edi/856-ship-notice) covers the structure. 4. **Outbound 810**: after posting the customer invoice, the integration produces the EDI 810. It has to reconcile allowances, freight, and any quantity changes against the original 850 to avoid payment disputes. For the bigger picture of how this chain works across systems, read our overview of [order-to-cash automation](/blog/order-to-cash-automation). ## How OrderSync Connects Orders to Dynamics 365 **OrderSync creates Dynamics 365 sales orders from inbound orders in any format, then syncs shipments and invoices back out as EDI.** The accounts that already send clean EDI are the easy part. The hard part is the retail customers who email a PDF purchase order or send a spreadsheet, which still get keyed into F&O by hand. To connect orders to F&O with OrderSync, see the [Microsoft Dynamics 365 integration page](/integrations/microsoft-dynamics-365). OrderSync ingests EDI 850s, PDF purchase orders, emailed orders, and CSV files through one pipeline. It maps buyer part numbers to your F&O item numbers, validates quantities and pricing, and writes the sales order through the platform APIs. When you post the packing slip and invoice, OrderSync generates the outbound 856 and 810 for the trading partner. PDF and email orders flow through the same automation, so nothing lands in a manual queue. That coverage matters because most distributors have a long tail of smaller accounts that will never adopt EDI. See how the [multi-format order pipeline](/multi-format-orders) handles them. If you run the smaller Microsoft ERP instead, our [Business Central EDI integration](/blog/edi-business-central-integration) guide covers that path, and we also document [NetSuite EDI integration](/blog/edi-netsuite-integration) for teams comparing platforms. ## Frequently Asked Questions ### Does Dynamics 365 Finance & Operations have built-in EDI? No. F&O does not include an EDI translation engine. EDI is added through an ISV connector from AppSource, a custom extension against F&O data entities, or middleware that reads and writes through the OData and Dataverse APIs. Microsoft's design exposes clean data APIs and leaves X12 translation to integration partners. ### How does an EDI 850 become a sales order in Dynamics 365? A translation layer receives the X12 850, maps the retailer's part numbers to your F&O item numbers, and writes the order through the sales order data entity over OData or the Data Management Framework. F&O then treats it as a standard sales order, and a 997 acknowledgment confirms receipt back to the retailer. ### What is the difference between EDI in F&O and Business Central? Both lack a native EDI engine and rely on connectors or API-based integration, but the technical surface differs. F&O uses X++ extensions, data entities, and the Data Management Framework, while Business Central uses AL extensions and the Business Central REST and OData APIs. Sales agreements in F&O map well to blanket-order EDI programs. ### Can I use sales agreements with EDI orders in F&O? Yes. Finance & Operations sales agreements hold negotiated pricing and quantity commitments, and inbound release orders draw against them. When a retailer sends recurring 850s against a blanket agreement, the integration can validate each order's lines against the agreement rather than treating every purchase order as standalone. ### How does OrderSync handle orders that are not EDI in Dynamics 365? OrderSync processes PDF purchase orders, emailed orders, and CSV files through the same pipeline as EDI 850s and creates Dynamics 365 sales orders from all of them. Retail accounts that do not send EDI never require a separate translator or manual keying, which removes the long tail of orders that F&O EDI setups typically leave for staff to enter by hand. --- # Epicor EDI Integration: Kinetic Orders and Releases Source: https://ordersync.io/blog/edi-epicor-integration > How Epicor Kinetic EDI integration works. Map inbound 850 to sales orders, handle 830 releases with Demand Management and AIM, and connect any order format. Epicor Kinetic handles EDI through the Demand Management module and the SalesOrder business object, with the AIM AutoCOR add-on layering full OEM automotive EDI. An inbound 850 becomes a sales order, automotive releases arrive as 830 and 862, and 856 and 810 generate from shipments and invoices. Integration runs through Epicor REST services or Epicor Integration Cloud. Epicor is a manufacturing and distribution ERP, now branded Kinetic and covering the former Epicor ERP 10 and 11 lines. It runs quote-to-cash through Sales Order entry, and it has deeper EDI roots than most ERPs because so many Epicor customers supply the automotive industry, where EDI is not optional. If a customer just handed you a supplier EDI spec, the good news is Epicor has modules built for exactly this. This guide covers how EDI maps into Epicor Kinetic, the Demand Management module that handles automotive releases, the AIM add-on for full OEM automation, and how orders in any format land in the system without manual keying. ## Does Epicor Have Native EDI Support? **Epicor Kinetic includes EDI-oriented modules, notably Demand Management, but still relies on a translator and the SalesOrder business object to turn X12 into orders.** Epicor is closer to native EDI than most ERPs because Demand Management is built to consume customer schedules, yet the raw X12 translation and communication still sit in a translator or integration layer. Integration runs through Epicor REST services, which expose business objects like SalesOrder, or through Epicor Integration Cloud for hosted document exchange. Epicor documents its REST and integration surface in the [Epicor developer and integration resources](https://www.epicor.com/en-us/erp-systems/kinetic/). A translator receives the inbound EDI, maps it, and creates or updates the sales order through the SalesOrder business object. Raw X12 does not post to Epicor directly. The translator receives an 850 or an automotive release over AS2, SFTP, or a VAN, converts it, and writes the order. To inspect what the source EDI segments contain before mapping them, the [free EDI Inspector](/edi-inspector) parses any X12 file with no signup. ## How EDI Documents Map to Epicor **An inbound 850 creates a sales order through the SalesOrder business object, and outbound 856 and 810 generate from shipments and invoices.** Automotive customers add release schedules on top, which is where Epicor's Demand Management module does its work. | Direction | X12 Transaction | Epicor Document | Mechanism | |---|---|---|---| | Inbound | 850 Purchase Order | Sales order | SalesOrder business object | | Inbound | 830 Planning Schedule | Demand schedule | Demand Management | | Inbound | 862 Shipping Schedule | Firm ship release | Demand Management | | Inbound | 860 PO Change | Sales order change | SalesOrder business object | | Outbound | 856 Ship Notice (ASN) | Customer shipment | Shipment entry | | Outbound | 810 Invoice | AR invoice | Invoice entry | The distinction between a standard 850 and an automotive release matters. A discrete distributor selling to a retailer receives 850 purchase orders that map one to one to sales orders. An automotive supplier receives 830 planning schedules and 862 shipping schedules that represent forecast and firm demand against a standing part agreement, not new orders each time. Our guides to the [EDI 830 planning schedule](/guides/edi/830-planning-schedule) and the [EDI 850 purchase order](/guides/edi/850-purchase-order) cover both document types in detail. ## Demand Management and the AIM AutoCOR Add-On **Epicor's Demand Management module processes automotive customer releases, and the AIM AutoCOR add-on layers full OEM EDI with real-time CUM tracking and AIAG labels.** This is the part of Epicor EDI that general-purpose connectors handle poorly, because automotive EDI has requirements no retail spec imposes. Demand Management ingests 830 and 862 releases, converts them into demand schedules against a blanket sales order, and reconciles cumulative shipped quantities against the customer's stated CUM. That reconciliation is the core of automotive supply. If your shipped total drifts from the OEM's tracked cumulative, you either over-ship or fall behind, and both create problems. AIM AutoCOR, from AIM Computer Solutions, is a widely used Epicor add-on that extends this. AutoCOR layers OEM EDI across the full automotive document set, 830, 862, 856, 810, 850, and 860, with real-time CUM tracking and AIAG-compliant shipping labels. AIM Computer Solutions documents the module on its [AIM AutoCOR product pages](https://www.aimcom.com/aim-autocor/). For a supplier shipping to Ford, GM, or a Tier 1, this level of automation is the difference between meeting the OEM's requirements and eating chargebacks. ## The Full Order-to-Cash Flow **A complete Epicor EDI cycle moves inbound demand into a sales order, then generates outbound EDI as each shipment and invoice posts.** Here is the sequence, covering both a retail 850 and an automotive release. 1. **Inbound demand**: a retailer sends an 850, or an automotive customer sends an 830 or 862 release. The translator creates the sales order through the SalesOrder business object, or Demand Management updates the demand schedule against the blanket order. A 997 confirms receipt. 2. **Outbound 855**: if the customer requires acknowledgment, the integration sends it, flagging any line changes. 3. **Outbound 856**: when you post the shipment in Epicor, the integration builds the EDI 856 ship notice with carton and SSCC-18 detail, plus AIAG labels for automotive. Late ASNs trigger chargebacks. Our [EDI 856 ship notice guide](/guides/edi/856-ship-notice) covers the structure. 4. **Outbound 810**: after invoicing, the integration produces the EDI 810, reconciling allowances and freight against the original demand to avoid payment disputes. For the wider view of how this chain runs across systems, read our overview of [order-to-cash automation](/blog/order-to-cash-automation). ## How OrderSync Connects Orders to Epicor **OrderSync creates Epicor sales orders from inbound orders in any format, then syncs shipments and invoices back out as EDI.** The automotive releases and clean EDI partners are handled by Demand Management and AIM. The gap is the non-automotive and distribution accounts that email a PDF purchase order or send a spreadsheet, which still get keyed into Epicor by hand. To connect orders to Kinetic with OrderSync, see the [Epicor integration page](/integrations/epicor). OrderSync ingests EDI 850s, PDF purchase orders, emailed orders, and CSV files through one pipeline. It maps buyer part numbers to your Epicor part numbers, validates quantities and pricing, and creates the sales order through Epicor REST services and the SalesOrder business object. When you post the shipment and invoice, OrderSync generates the outbound 856 and 810. PDF and email orders flow through the same automation instead of landing in a manual queue. Epicor shops that mix automotive supply with retail or distribution accounts have exactly this split, and a single multi-format pipeline covers the non-EDI side. See how the [multi-format order pipeline](/multi-format-orders) handles them, and read more about the [ERP integration](/erp-integration) approach. For teams comparing platforms, we also document [NetSuite EDI integration](/blog/edi-netsuite-integration) and [Acumatica EDI integration](/blog/edi-acumatica-integration). ## Frequently Asked Questions ### Does Epicor Kinetic have built-in EDI? Epicor Kinetic includes EDI-oriented modules, notably Demand Management for automotive releases, but it still relies on a translator and the SalesOrder business object to turn raw X12 into orders. Integration runs through Epicor REST services or Epicor Integration Cloud, and many automotive suppliers add the AIM AutoCOR module for full OEM EDI. ### How does Epicor Demand Management handle automotive EDI? Demand Management ingests 830 planning schedules and 862 shipping schedules, converts them into demand schedules against a blanket sales order, and reconciles cumulative shipped quantities against the customer's stated CUM. This keeps a supplier's shipments aligned with the OEM's tracked cumulative so it neither over-ships nor falls behind on firm releases. ### What is the AIM AutoCOR add-on for Epicor? AIM AutoCOR is an add-on from AIM Computer Solutions that layers full OEM automotive EDI on Epicor, covering 830, 862, 856, 810, 850, and 860 with real-time CUM tracking and AIAG-compliant shipping labels. It is used by automotive suppliers shipping to OEMs and Tier 1 customers where standard retail EDI connectors fall short. ### How does an EDI 850 become a sales order in Epicor? A translation layer receives the X12 850, maps the customer's part numbers to your Epicor part numbers, and creates the order through the SalesOrder business object over Epicor REST services. Epicor then treats it as a standard sales order, and a 997 acknowledgment confirms receipt back to the customer. ### How does OrderSync handle non-EDI orders in Epicor? OrderSync processes PDF purchase orders, emailed orders, and CSV files through the same pipeline as EDI 850s and creates Epicor sales orders from all of them. Distribution and retail accounts that do not send EDI never require a separate translator or manual keying, which covers the orders that Epicor's automotive-focused EDI modules do not reach. --- # Infor EDI Integration: M3 and CloudSuite Order Flow Source: https://ordersync.io/blog/edi-infor-integration > How Infor EDI integration works for M3 and CloudSuite. Map inbound EDI 850 to customer orders via OIS100, RSS100, and Infor ION. Infor M3 and CloudSuite do not translate raw X12 EDI on their own. Inbound EDI 850 purchase orders reach Infor through the ION integration layer or the API gateway, then land in the OIS275 batch order interface and become customer order lines in OIS100. A translator or managed service handles the [X12](https://x12.org/) parsing and mapping. A new retail account sends you their vendor routing guide. It says you accept EDI 850 purchase orders, confirm with an 855, ship against an 856, and invoice with an 810. You run Infor M3. The question every operations lead asks next is the same: where does the 850 actually go, and what turns it into a customer order? Infor is a strong ERP for manufacturing and distribution. M3 handles process and discrete manufacturing well, and CloudSuite packages M3 and related applications as a hosted suite. What neither does out of the box is read a raw X12 file and build a customer order from it. That translation and mapping work sits in a separate layer. This guide walks through how Infor structures customer orders, where EDI enters, and the honest trade-offs in each integration path. ## What Infor M3 and CloudSuite Actually Are **Infor M3 is the order and manufacturing core; CloudSuite is the hosted suite built around it.** M3 runs sales orders, purchasing, inventory, and production. Infor CloudSuite (industry editions like CloudSuite Distribution and CloudSuite Food & Beverage) wraps M3 with cloud hosting, the Infor OS platform, and adjacent applications under one contract. For anyone coming from a different ERP, the vocabulary shifts. In M3, a customer order is managed through the customer order entry program, and the behavior of each order is governed by an order type you configure ahead of time. Get the order type right and the rest of the flow follows. Get it wrong and orders stall in the wrong status or skip steps they should not. Infor's own product documentation at [docs.infor.com](https://docs.infor.com) is the reference of record for these programs and their field-level behavior. If you are configuring EDI order handling, keep it open. ## How the Customer Order Works in M3 **Customer orders in M3 live in OIS100, and their behavior is controlled by an order type defined in OIS010.** OIS100 ("Customer Order. Open") is the program where customer orders are entered, viewed, and maintained. Each order carries an order type, and that order type is configured in OIS010 as the master control object for how the order behaves. The order type decides almost everything downstream. It sets the status profile the order moves through, whether it allocates stock automatically, how it prices, which document outputs fire, and how confirmation and invoicing are triggered. When you set up EDI order handling, you typically define a dedicated order type so EDI-originated orders route differently from phone or portal orders. For sales-side demand that arrives as a schedule rather than a discrete PO, M3 has a separate path. EDI delivery schedules land in RSS100 ("Delivery Schedule. Open"), which turns incoming demand into customer order lines. This matters for suppliers on planning or release programs, where a customer sends forecast and firm demand over time instead of one PO per shipment. If your partners send an EDI 830, see our [830 planning schedule guide](/guides/edi/830-planning-schedule) for how that demand is structured before it reaches RSS100. ## Where the EDI 850 Lands **Batch and EDI orders enter M3 through the OIS275 interface, then create customer orders in OIS100.** OIS275 is the batch order interface program. Your translation layer writes the parsed 850 into the OIS275 staging structure, and M3 validates and promotes those records into live customer orders under the order type you assigned. The sequence looks like this: 1. The retailer transmits an EDI 850 over AS2, SFTP, or a VAN. 2. A translator parses the X12 segments and maps buyer item numbers to your M3 item numbers. 3. The mapped order is written into the OIS275 batch interface. 4. M3 validates the batch records and creates the customer order in OIS100. 5. The order follows the status profile set by its order type. The mapping step is where most of the real work lives. The retailer's PO1 segments carry their part numbers, UPCs, or GTINs. M3 needs your internal item numbers, the right customer number, ship-to address, warehouse, and pricing. That cross-reference is the part of onboarding that takes the longest, and it is worth building carefully. For the anatomy of the inbound document itself, our [EDI 850 purchase order guide](/guides/edi/850-purchase-order) breaks down each segment. If you want to see exactly what a partner's 850 contains before you map it, paste the file into the [free EDI Inspector](/edi-inspector) and read the parsed segments directly. No signup. ## The 810 and 856 Flow Back Out **Once the order ships and invoices in M3, your integration generates the outbound 856 and 810.** The return path mirrors the inbound one, in reverse. When you confirm shipment in M3, a delivery record is created. Your integration reads that record and builds an EDI 856 advance ship notice with the carton and pack structure the retailer requires, including SSCC-18 labels where mandated. Timing is strict. Many retailers require the ASN within 24 hours of shipment, and some require it before the truck leaves the dock. A late or missing ASN is a common chargeback trigger. See our [EDI 856 ship notice guide](/guides/edi/856-ship-notice) for the segment detail. After invoicing, the integration maps the M3 invoice to an EDI 810 and transmits it to the retailer's accounts payable. The 810 has to reconcile against the original 850, including allowances, freight, and any quantity changes made at fulfillment. Mismatches here are the leading cause of payment disputes. Our [EDI 810 invoice guide](/guides/edi/810-invoice) covers what to check. Many retailers also expect an 855 acknowledgment confirming you accepted the order or flagging changes, and a 997 functional acknowledgment on every inbound document. ## Integration Methods for Infor EDI **Infor exposes integration through Infor ION, the Infor OS platform, and the API gateway.** These are the supported doorways into M3 and CloudSuite for any external system, including an EDI translator. Infor ION is the platform's messaging backbone. It moves documents between applications using Infor's standard business object documents (BODs) and can orchestrate the handoff between an EDI translator and M3. Infor OS is the surrounding platform layer that ION runs inside on CloudSuite. For direct programmatic access, Infor's API gateway exposes M3 APIs that middleware can call to read and write orders, items, and shipments. You have three realistic paths, each with a different cost and maintenance profile. | Approach | Setup Time | Who Maintains Mapping | Non-EDI Orders | Best Fit | |---|---|---|---|---| | **EDI provider with Infor connector** (SPS Commerce, TrueCommerce) | 8-16 weeks | Vendor (ticket queue) | No | Suppliers with many retail partners | | **iPaaS / custom via ION + API gateway** | 3-6 months | Your team or SI | No | Shops with Infor technical staff | | **Managed service (OrderSync)** | 1-3 weeks | OrderSync | Yes (EDI + PDF + email) | Distributors at realistic scale | The EDI-provider route gives you a pre-built trading partner network and compliance monitoring, at higher monthly cost and slower change turnaround. The ION-and-API route gives you full control if you have the internal Infor expertise to build and maintain BOD mappings and API flows, and the patience for a longer project. Both assume every order arrives as clean EDI, which is rarely true. ## How OrderSync Brings Orders Into Infor **OrderSync ingests orders in any format and creates M3 customer orders through Infor's supported interfaces.** The inbound 850 becomes a customer order in OIS100. Shipment confirmation flows back out as an 856, and invoicing as an 810. When a retailer changes their spec, we update the mapping. To connect orders to M3 or CloudSuite with OrderSync, see the [Infor integration page](/integrations/infor). The part that matters for most Infor distributors is the orders that never arrive as EDI at all. Independent accounts email PDF purchase orders. Some send spreadsheets. Others use buyer portals. A pure EDI translator leaves all of that for your team to key by hand into OIS100. OrderSync reads EDI 850s, PDF POs, and email orders through one pipeline and writes them all into Infor, which is why it fits distributors with a mix of large EDI partners and smaller manual accounts. See how [multi-format order processing](/multi-format-orders) works and how the [ERP integration](/erp-integration) connects to M3. If you also run other systems, our related walkthroughs cover [EDI NetSuite integration](/blog/edi-netsuite-integration), [Oracle EDI integration](/blog/edi-oracle-integration), [Sage EDI integration](/blog/edi-sage-integration), and [JD Edwards EDI integration](/blog/edi-jd-edwards-integration). > Before you map a single field, confirm the order type in OIS010. An EDI order routed under the wrong order type inherits the wrong status profile, and every downstream issue traces back to that one setting. ## Frequently Asked Questions ### Does Infor M3 have native EDI translation? No. M3 and CloudSuite provide the order interface (OIS275) and integration platform (Infor ION, the API gateway) that EDI documents flow through, but they do not parse raw X12 or EDIFACT files. A translator or managed service handles the mapping between the EDI file and M3's customer order structure. ### Where does an inbound EDI 850 go in M3? The translated order is written into the OIS275 batch order interface, which M3 validates and promotes into a live customer order in OIS100. The customer order's behavior is governed by its order type, configured in OIS010. EDI delivery schedules follow a separate path through RSS100. ### What is the difference between OIS100 and RSS100? OIS100 ("Customer Order. Open") is where discrete customer orders are entered and maintained. RSS100 ("Delivery Schedule. Open") handles EDI delivery schedules, turning ongoing demand from planning and release programs into customer order lines. Suppliers on 830 or 862 schedules use RSS100; one-off POs use the OIS275-to-OIS100 path. ### How does OrderSync connect to Infor CloudSuite? OrderSync connects through Infor's supported integration layers, ION and the API gateway, to write customer orders and read shipment and invoice records. It creates orders from EDI 850s plus PDF and email purchase orders, then generates outbound 856 and 810 documents. Mapping updates are handled for you when a retailer changes their spec. ### Can Infor handle both EDI and non-EDI orders in one flow? Infor itself only ingests structured records through OIS275. To bring PDF and email orders into the same M3 flow, you need a layer that extracts and normalizes them first. OrderSync does that, writing EDI and non-EDI orders into Infor through the same pipeline so your team is not keying the manual accounts by hand. --- # JD Edwards EDI Integration: EnterpriseOne Order Flow Source: https://ordersync.io/blog/edi-jd-edwards-integration > How JD Edwards EnterpriseOne EDI works. Map inbound EDI 850 through the system 47 interface tables into F4201/F4211 sales orders. Oracle JD Edwards EnterpriseOne processes EDI through its "system 47" interface tables (the F47xxx family). An inbound EDI 850 lands in F47011 and F47012, then converts into a sales order header and detail in F4201 and F4211. Sales Order Entry is program P4210, and the order's movement is driven by Order Activity Rules per document type and line type. The inbound 850 and outbound 855, 856, and 810 follow the [ASC X12](https://x12.org/) standard. Your trading partner sends a routing guide. It wants EDI 850 purchase orders in, 855 acknowledgments back, 856 ship notices at shipment, and 810 invoices for payment. You run JD Edwards EnterpriseOne. The mechanics of how JDE ingests that 850 are specific, and knowing them up front saves weeks of confusion during onboarding. JD Edwards EnterpriseOne is Oracle's ERP for manufacturing, distribution, and asset-heavy industries. It has a defined EDI framework built around interface tables and a status-driven order engine. This guide covers that framework, how an inbound 850 becomes a sales order, and the ways you can connect EDI to JDE. ## What JD Edwards EnterpriseOne Is **JD Edwards EnterpriseOne is Oracle's on-premise and cloud-hosted ERP for distribution and manufacturing.** Oracle acquired JD Edwards through PeopleSoft in 2005 and continues to release and support EnterpriseOne. It sits alongside Oracle's other ERP lines, E-Business Suite and Oracle Fusion Cloud, as a distinct product with its own data model and tools. JDE organizes functionality into numbered systems. Sales Order Management is system 42. EDI is system 47. That numbering shows up in table names and program IDs throughout the application, so it helps to think in those terms. Oracle's JD Edwards documentation at [docs.oracle.com](https://docs.oracle.com) is the authoritative reference for the tables, programs, and setup described below. ## The System 47 EDI Interface Tables **EDI in JD Edwards runs through the system 47 interface tables, the F47xxx family.** These are staging tables that sit between an external translator and the live JDE order tables. Nothing goes straight from an X12 file into a sales order; it passes through system 47 first. For inbound sales orders, the relevant tables are: - **F47011** stores the EDI purchase order header (the inbound 850 header). - **F47012** stores the EDI purchase order detail (the 850 line items). A translator or middleware layer parses the X12 850 and writes it into F47011 and F47012. A JDE inbound edit and update process then reads those staging records, validates them, and converts them into a live sales order. The conversion writes the order into the sales tables described next. This staging design means you can inspect and correct inbound data in system 47 before it becomes a real order. Our [EDI 850 purchase order guide](/guides/edi/850-purchase-order) breaks down the segments the translator reads before writing to F47011, and the [free EDI Inspector](/edi-inspector) lets you paste a partner's 850 and see the parsed structure without signing up. ## From F47011 to a Sales Order in F4201 and F4211 **The inbound edit/update process converts F47011 and F47012 into a sales order header in F4201 and detail in F4211.** These are the same tables a manually keyed order uses, so an EDI order behaves like any other order once it lands. - **F4201** is the Sales Order Header table. - **F4211** is the Sales Order Detail table. Sales Order Entry itself is program **P4210**. It is the interactive program a user runs to enter or maintain an order, and it operates on F4201 and F4211. EDI orders arrive in those same tables through the system 47 conversion rather than through a person typing into P4210. Two setup objects control how the order behaves. The **document type** (from UDC table 00/DT) categorizes the order; the default sales order document type is **SO**, and the default purchase order type is **OP**. The **line type** controls how each line affects inventory, the general ledger, and other systems. Together with the document type, the line type determines the processing path. ## Order Activity Rules Drive the Flow **Order Activity Rules define the status sequence an order moves through, set per document type and line type.** This is the engine that advances a JDE order from entry to shipment to invoicing. Each step in the order's life has a status. Order Activity Rules define the **Last Status** and **Next Status** for a given document type and line type combination. When an order completes a step, JDE checks the rules to determine the allowed next status. An EDI order and a manual order can follow the same rules, or you can define a separate document type for EDI orders so they route through their own status path. Getting Order Activity Rules right for your EDI document type matters as much as the field mapping. If the statuses are wrong, orders stall at the wrong step or skip a step they should not, and the outbound 856 or 810 fires at the wrong time. ## The 810 and 856 Flow Back Out **Outbound 856 ship notices and 810 invoices are generated from JDE shipment and invoice data, back through system 47.** The return path uses the outbound side of the F47xxx tables. When you confirm shipment in JDE, the outbound extraction populates the system 47 outbound tables, and a translator builds the EDI 856 advance ship notice with the carton hierarchy and SSCC-18 labels the retailer requires. Most retailers require the ASN within 24 hours of shipment, and a late ASN triggers a chargeback. See our [EDI 856 ship notice guide](/guides/edi/856-ship-notice). For invoicing, the sales update process produces invoice data that the outbound extraction turns into an EDI 810. The 810 must reconcile to the original 850, including allowances and freight. Our [EDI 810 invoice guide](/guides/edi/810-invoice) covers the reconciliation. Partners that require order confirmation also expect an 855, and a 997 functional acknowledgment on each inbound document. ## Integration Methods for JD Edwards EDI **JD Edwards EDI connects through an EDI provider, custom middleware to system 47, or a managed service.** Each path has a distinct cost and maintenance profile. | Approach | Setup Time | Who Maintains Mapping | Non-EDI Orders | Best Fit | |---|---|---|---|---| | **EDI provider with JDE connector** | 3-6 months | Vendor (ticket queue) | No | Suppliers with many retail partners | | **Custom middleware to F47xxx** | 3-6 months | Your team or SI | No | Shops with JDE technical staff | | **Managed service (OrderSync)** | 1-3 weeks | OrderSync | Yes (EDI + PDF + email) | Distributors at realistic scale | The provider route brings a trading-partner network and compliance monitoring at a higher monthly cost. The custom route gives full control over the system 47 mappings if you have the internal JDE expertise. Both assume orders arrive as clean EDI, which is often not the case. ## How OrderSync Brings Orders Into JD Edwards **OrderSync creates JD Edwards sales orders from any order format, writing through the system 47 interface.** The inbound 850 becomes an order in F4201 and F4211. Shipment and invoice data flow back out as 856 and 810 documents. When a retailer changes their spec, we update the mapping. To connect orders to EnterpriseOne with OrderSync, see the [JD Edwards integration page](/integrations/jd-edwards). The reason distributors choose a service over a translator is the orders that never arrive as EDI. Independent accounts email PDF purchase orders, send spreadsheets, or use buyer portals. A translator alone leaves those for your team to key into P4210 by hand. OrderSync reads EDI 850s, PDF POs, and email orders through one pipeline and writes them all into JD Edwards, which fits distributors with a mix of large EDI partners and smaller manual accounts. See [multi-format order processing](/multi-format-orders), how the [ERP integration](/erp-integration) connects to JDE, and our overview of [ERP EDI integration](/guides/edi/erp-edi-integration). Running other Oracle or non-Oracle systems? Our related guides cover [Oracle EDI integration](/blog/edi-oracle-integration) for E-Business Suite and Fusion, plus [EDI NetSuite integration](/blog/edi-netsuite-integration), [Infor EDI integration](/blog/edi-infor-integration), and [Sage EDI integration](/blog/edi-sage-integration). > Define a dedicated document type for EDI orders and set its Order Activity Rules deliberately. It is the cleanest way to keep EDI orders on their own status path without disturbing how manually keyed orders flow. ## Frequently Asked Questions ### Does JD Edwards have native EDI? JD Edwards EnterpriseOne includes an EDI framework, system 47, with interface tables and inbound/outbound processes. It does not translate raw X12 files on its own; a translator or service parses the EDI and writes it into the F47xxx staging tables, from which JDE converts it into live orders. ### What are the system 47 tables in JD Edwards? System 47 is the JDE EDI system. Its F47xxx interface tables stage EDI data between an external translator and the live application tables. For inbound sales orders, F47011 holds the 850 header and F47012 the detail. The inbound edit/update process converts these into sales orders. ### How does an EDI 850 become a sales order in JDE? A translator writes the parsed 850 into F47011 and F47012. JDE's inbound edit and update process validates those records and converts them into a sales order header in F4201 and detail in F4211, the same tables that Sales Order Entry (P4210) uses. Document type and line type control the processing path. ### What controls order status in JD Edwards? Order Activity Rules define the Last Status and Next Status an order moves through, configured per document type (UDC 00/DT, default SO for sales) and line type. They advance the order from entry through shipment and invoicing, and they determine when outbound documents like the 856 and 810 are generated. ### Can OrderSync handle non-EDI orders for JD Edwards? Yes. OrderSync reads EDI 850s alongside PDF, email, and spreadsheet purchase orders and writes all of them into JD Edwards through the system 47 interface. Accounts that do not send EDI do not require a separate system or manual entry into P4210. --- # Oracle EDI Integration: EBS and Fusion Order Flow Source: https://ordersync.io/blog/edi-oracle-integration > How Oracle EDI integration works for E-Business Suite and Fusion Cloud ERP. Map inbound EDI 850 via XML Gateway, CMK, and Oracle Integration Cloud. Oracle E-Business Suite handles EDI through its XML Gateway and e-Commerce Gateway, while Oracle Fusion Cloud ERP uses the Collaboration Messaging Framework (CMK) for B2B documents. An inbound EDI 850 becomes a sales order; outbound 855, 856, and 810 documents flow back out. Oracle Integration Cloud (OIC) connects the translator to either platform. These documents follow the [ASC X12](https://x12.org/) standard. A retail partner sends their vendor requirements: EDI 850 in, 855 acknowledgment back, 856 ship notice at shipment, 810 invoice for payment. You run Oracle. Which Oracle, E-Business Suite or Fusion Cloud, changes the mechanics completely, because the two platforms handle B2B messaging through different frameworks. Oracle sells more than one ERP. This guide covers the two most common in a supplier context: Oracle E-Business Suite (EBS), the long-running on-premise suite, and Oracle Fusion Cloud ERP (also called Oracle Cloud ERP), the cloud platform. JD Edwards EnterpriseOne is a separate Oracle product with its own EDI framework, covered in our [JD Edwards EDI integration guide](/blog/edi-jd-edwards-integration). Here we walk through how EBS and Fusion each ingest an 850, and how to connect EDI to them. ## Oracle EBS and Oracle Fusion Are Different Platforms **Oracle E-Business Suite and Oracle Fusion Cloud ERP are separate products with different B2B messaging frameworks.** Choosing the right EDI approach starts with knowing which one you run. - **Oracle E-Business Suite (EBS)** is the mature on-premise (or self-hosted cloud) suite. It processes B2B documents through the XML Gateway and the e-Commerce Gateway. - **Oracle Fusion Cloud ERP** is Oracle's SaaS ERP. It handles B2B documents through the Collaboration Messaging Framework, abbreviated CMK. The two do not share the same integration path, so a solution built for EBS does not carry over to Fusion unchanged. Oracle's documentation at [docs.oracle.com](https://docs.oracle.com) is the reference of record for both the EBS gateways and the Fusion CMK setup described below. ## EDI in Oracle E-Business Suite **EBS uses the XML Gateway and e-Commerce Gateway to move EDI and XML B2B documents in and out.** These are the native EBS components that sit between a translator and the application. The e-Commerce Gateway (historically the EDI Gateway) handles flat-file EDI transactions, mapping inbound files into the EBS Open Interface tables and extracting outbound data from them. The XML Gateway handles XML-based B2B messages using Oracle's message maps and the transport layer. In practice a translator converts the retailer's X12 EDI into the format the gateway expects, and the gateway loads it into the relevant Open Interface, such as the Order Import interface for sales orders. For an inbound 850, the flow is: 1. The retailer transmits the EDI 850. 2. A translator converts the X12 into the gateway's expected format. 3. The e-Commerce Gateway or XML Gateway loads it into the Order Import interface. 4. EBS Order Import validates and creates the sales order. 5. EBS returns a 997, and an 855 if the partner requires acknowledgment. Our [EDI 850 purchase order guide](/guides/edi/850-purchase-order) breaks down the segments the translator reads, and the [free EDI Inspector](/edi-inspector) lets you paste a partner's file to see the parsed structure first. For how XML order fields line up with 850 segments, the mapping an XML Gateway setup depends on, see [XML to EDI](/xml-to-edi). ## EDI in Oracle Fusion Cloud ERP **Fusion Cloud ERP uses the Collaboration Messaging Framework (CMK) to exchange B2B documents with trading partners.** CMK is the Fusion component that replaces the EBS gateway model. CMK defines trading partners, message definitions, and delivery methods inside Fusion. An inbound 850 arriving through CMK becomes a sales order in Fusion Order Management. On the outbound side, CMK generates the documents the retailer expects: an 855 purchase order acknowledgment, an 856 advance ship notice, and an 810 invoice. CMK can connect to a translator or B2B service provider that handles the X12-to-CMK conversion, since retailers send X12 while CMK works in its own message formats. The practical implication: on Fusion you configure trading partners and message flows in CMK rather than in an Open Interface. The concepts map across, but the tooling and setup are different from EBS. ## The 855, 856, and 810 Flow Back Out **Outbound 855, 856, and 810 documents are generated from Oracle order, shipment, and invoice records.** The return path mirrors the inbound flow on both platforms. The 855 acknowledgment confirms you accepted the order or flags changes and substitutions. When you ship, Oracle generates an EDI 856 advance ship notice with the carton hierarchy and SSCC-18 labels the retailer requires. Timing is strict: most retailers require the ASN within 24 hours of shipment, and a late one triggers a chargeback. See our [EDI 856 ship notice guide](/guides/edi/856-ship-notice). After invoicing, Oracle produces an EDI 810 that must reconcile to the original 850, including allowances and freight. Mismatches drive payment disputes. Our [EDI 810 invoice guide](/guides/edi/810-invoice) covers the reconciliation, and every inbound document should draw a 997 functional acknowledgment. ## Integration Methods for Oracle EDI **Oracle Integration Cloud (OIC) is the standard middleware for connecting a translator to EBS or Fusion.** OIC provides adapters and orchestration between Oracle applications and external systems, including EDI translators and B2B service providers. You have three realistic paths, each with a different cost and maintenance profile. | Approach | Setup Time | Who Maintains Mapping | Non-EDI Orders | Best Fit | |---|---|---|---|---| | **EDI provider with Oracle connector** | 3-6 months | Vendor (ticket queue) | No | Suppliers with many retail partners | | **OIC + XML Gateway / CMK** | 3-6 months | Your team or SI | No | Shops with Oracle technical staff | | **Managed service (OrderSync)** | 1-3 weeks | OrderSync | Yes (EDI + PDF + email) | Distributors at realistic scale | The provider route brings a trading-partner network and compliance monitoring at higher monthly cost. The OIC route gives full control over the gateway or CMK mappings if you have the internal Oracle expertise and time for a longer project. Both assume every order arrives as clean EDI, which rarely holds for a real distributor. ## How OrderSync Brings Orders Into Oracle **OrderSync creates Oracle sales orders from any order format, connecting through Oracle's supported interfaces.** The inbound 850 becomes a sales order in EBS Order Management or Fusion Order Management. Order, shipment, and invoice records flow back out as 855, 856, and 810 documents. When a retailer changes their spec, we update the mapping. To connect orders to EBS or Fusion with OrderSync, see the [Oracle integration page](/integrations/oracle). Distributors choose a service over a pure translator because of the orders that never arrive as EDI. Independent accounts email PDF purchase orders, send spreadsheets, or use buyer portals. A translator alone leaves those for your team to key by hand. OrderSync reads EDI 850s, PDF POs, and email orders through one pipeline and writes them all into Oracle, which fits distributors running a mix of large EDI partners and smaller manual accounts. See [multi-format order processing](/multi-format-orders) and how the [ERP integration](/erp-integration) connects to Oracle. Running other systems too? Our related guides cover [JD Edwards EDI integration](/blog/edi-jd-edwards-integration) for EnterpriseOne, [EDI NetSuite integration](/blog/edi-netsuite-integration), [Infor EDI integration](/blog/edi-infor-integration), and [Sage EDI integration](/blog/edi-sage-integration). > Confirm which Oracle you run before scoping anything. EBS work centers on the XML/e-Commerce Gateway and Open Interfaces; Fusion work centers on CMK trading partners and message definitions. The two are not interchangeable. ## Frequently Asked Questions ### Does Oracle have native EDI support? Oracle provides B2B messaging frameworks rather than a raw X12 translator. E-Business Suite uses the XML Gateway and e-Commerce Gateway; Fusion Cloud ERP uses the Collaboration Messaging Framework (CMK). A translator or B2B service converts the retailer's X12 EDI into the format these frameworks expect, then Oracle creates the order. ### What is the difference between Oracle EBS and Fusion for EDI? EBS routes EDI through the e-Commerce Gateway and XML Gateway into Open Interface tables like Order Import. Fusion Cloud ERP routes B2B documents through the Collaboration Messaging Framework, where you configure trading partners and message definitions. The concepts are similar, but the tooling and setup differ between the two platforms. ### How does an EDI 850 become a sales order in Oracle? A translator converts the X12 850 into the format the Oracle framework expects. On EBS, the gateway loads it into the Order Import interface, which validates and creates the sales order. On Fusion, CMK receives the message and creates a sales order in Order Management. Both then generate outbound 855, 856, and 810 documents. ### Is JD Edwards EDI the same as Oracle EBS EDI? No. JD Edwards EnterpriseOne is a separate Oracle product with its own EDI framework, system 47, using F47xxx interface tables. Oracle EBS uses the XML and e-Commerce Gateways, and Fusion uses CMK. See our [JD Edwards EDI integration guide](/blog/edi-jd-edwards-integration) for that platform's specifics. ### Can OrderSync process non-EDI orders into Oracle? Yes. OrderSync reads EDI 850s alongside PDF, email, and spreadsheet purchase orders and writes all of them into Oracle EBS or Fusion as sales orders through the same pipeline. Accounts that do not send EDI do not need a separate system or manual entry. --- # Sage 100 EDI Integration, Plus X3 & Intacct Source: https://ordersync.io/blog/edi-sage-integration > How Sage 100 EDI integration works through Visual Integrator and BOI, who sells Sage 100 EDI, and how Sage X3 and Intacct differ for EDI 850 orders. No Sage product ships with a native EDI translator. On Sage 100, an EDI connector turns the inbound 850 into an import file that Visual Integrator loads as a sales order, or writes it through the Business Object Interface. Sage X3 and Sage Intacct take orders through their APIs. Outbound 810s and 856s come from Sage invoices and shipments. You just landed a grocery chain as a customer. Their onboarding packet lists the EDI transactions they expect: 850 in, 855 back, 856 before the truck ships, 810 to get paid. You run Sage. Which Sage, and what actually connects the retailer's EDI to it, decides how hard this gets. "Sage" is a family, not one product. Sage X3, Sage 100, and Sage Intacct are different systems with different order modules and different data models. None of them includes a built-in EDI translator. What they share is a set of APIs and an ecosystem of connectors that bridge X12 EDI to Sage. This guide covers how each Sage product structures orders, where EDI plugs in, and the trade-offs between the paths. ## The Sage Family: X3, 100, and Intacct **Sage X3, Sage 100, and Sage Intacct each handle sales orders differently, and your EDI setup depends on which one you run.** Picking the right integration starts with knowing your order module. - **Sage X3** is the mid-market and enterprise ERP. Sales orders live in the SOH table structure and purchase orders in POH. It suits manufacturers and larger distributors with complex operations. - **Sage 100** (formerly MAS 90/200) uses a modular design. Order processing runs through the Sales Order module, a distinct module you add and configure. - **Sage Intacct** is the cloud financial platform. Order handling runs through Order Entry and Purchasing, built on configurable document types, with native three-way matching between purchase order, receipt, and vendor invoice. Sage's own help documentation at [help.sage.com](https://online-help.sagex3.com/) is the reference for each product's tables, modules, and API behavior. Confirm the specifics for your version there before you map anything. ## Sage 100 EDI Integration: Visual Integrator or BOI **Sage 100 takes EDI orders through one of two doors: Visual Integrator import jobs or the Business Object Interface.** Neither reads X12. Something upstream has to translate the 850 first. - **Visual Integrator (VI)** is Sage 100's import module. The EDI translator writes the parsed 850 out as a flat file (usually CSV), and VI import jobs load it into Sales Order Entry. You set up one job for the sales order header and another for the lines, and the header has to exist before its lines import. VI runs the same business logic as manual entry, so required fields, totals, and distributions are enforced. VI is the common path for EDI connectors and the easiest to support. - **Business Object Interface (BOI)** gives a program direct access to Sage 100's business objects, such as the sales order object, over COM. It is more work to build and needs someone who knows Sage 100's object model, but it offers finer control, like validating each line and handling errors as they happen instead of after a batch import. Most Sage 100 EDI products use one of these underneath. Ask any vendor which one theirs uses, how they handle a line that fails validation, and whether a failed import tells anyone or sits in a log. ### Who Sells Sage 100 EDI | Vendor | What they offer for Sage 100 | Source | |---|---|---| | **MAPADOC** (with SPS Commerce) | EDI built for Sage 100 and Sage 500, originally developed by SWK Technologies. Sage lists it as MAPADOC for Sage 100 Powered by SPS Commerce | [Sage](https://www.sage.com/en-us/cp/100-sps-commerce/) | | **SPS Commerce** | Fulfillment EDI with a Sage 100 integration | [SPS Commerce](https://www.spscommerce.com/products/fulfillment/integrated-fulfillment/system-integrations/sage-100) | | **TrueCommerce** | Integrated EDI for Sage 100, sold through Sage partners | [TrueCommerce](https://www.truecommerce.com/faq/what-is-edi-integration-for-sage-100-erp-and-how-does-it-work/) | | **Cleo** | Web EDI with a Sage 100 application connector | [Cleo](https://www.cleo.com/solutions/application-connectors/sage-100) | Most of these are sold and installed through Sage 100 resellers, so your reseller is often the first call. All of them cover your EDI trading partners. None of them handles the PDF and email orders from customers who do not send EDI. ## No Native EDI Translator in Any Sage Product **None of the Sage products parses raw X12 EDI; integration happens through ISV connectors and Sage REST APIs.** This is the single most important fact to internalize before you scope a project. Sage does not read an 850 and build a sales order on its own. Two mechanics do the work. First, an ISV connector or middleware layer receives the EDI file, parses the segments, and maps the retailer's item numbers to your Sage item codes. Second, that layer writes the mapped order into Sage: through the API on X3 and Intacct, or through a Visual Integrator import or the Business Object Interface on Sage 100. The same layer reads Sage shipment and invoice records to build the outbound documents. Because Sage relies on this ecosystem rather than a bundled translator, the quality of your integration is entirely a function of the connector or service you choose. That is where the real decisions live. ## Mapping the EDI 850 to a Sage Sales Order **An inbound EDI 850 becomes a sales order: X3 writes to SOH, Sage 100 to the Sales Order module, Intacct to Order Entry.** The translation follows the same shape regardless of which Sage you run. 1. The retailer transmits the EDI 850 over AS2, SFTP, or a VAN. 2. The connector parses the X12 and cross-references buyer part numbers to your Sage item codes. 3. It resolves the customer, ship-to address, warehouse, and pricing. 4. It writes the sales order into SOH through the X3 API, into Sales Order Entry through a Visual Integrator job or BOI on Sage 100, or into Order Entry through the Intacct API. 5. It returns a 997 functional acknowledgment, and an 855 if the partner requires order confirmation. The item cross-reference is the slow part of every Sage EDI project. The 850's PO1 segments carry the retailer's identifiers; Sage needs yours. Building and maintaining that table across trading partners is where most of the onboarding time goes. Our [EDI 850 purchase order guide](/guides/edi/850-purchase-order) breaks down the segments you are mapping from, and the [free EDI Inspector](/edi-inspector) lets you paste a partner's file and read the parsed structure before you start. ## The 810 and 856 Flow Back Out **Outbound 810 invoices and 856 ship notices are generated from Sage shipment and invoice records.** The return path reverses the inbound one. When you ship in Sage, the connector reads the shipment record and builds an EDI 856 advance ship notice with the carton hierarchy and SSCC-18 labels the retailer requires. Timing is unforgiving. Most retailers want the ASN within 24 hours of shipment, some before the truck departs, and a late ASN draws a chargeback. See our [EDI 856 ship notice guide](/guides/edi/856-ship-notice). When you invoice, the connector maps the Sage invoice to an EDI 810 and sends it to the retailer's accounts payable. The 810 must reconcile to the original 850, including allowances and freight. On Sage Intacct, the native three-way match between the purchase order, receipt, and vendor invoice helps on the buy side, but the outbound sell-side 810 still has to line up with what the retailer ordered. Our [EDI 810 invoice guide](/guides/edi/810-invoice) covers the reconciliation. ## Integration Methods for Sage EDI **Sage EDI runs through ISV connectors, iPaaS middleware, or a managed service, each writing into Sage through its import or API layer.** Each path has a different cost and maintenance profile. | Approach | Setup Time | Who Maintains Mapping | Non-EDI Orders | Best Fit | |---|---|---|---|---| | **ISV EDI connector** (SPS Commerce, TrueCommerce, etc.) | 8-16 weeks | Vendor (ticket queue) | No | Suppliers with many retail partners | | **iPaaS via Sage API or VI** | 2-5 months | Your team | No | Shops with technical staff | | **Managed service (OrderSync)** | 1-3 weeks | OrderSync | Yes (EDI + PDF + email) | Distributors at realistic scale | The ISV route gives you a ready trading-partner network and compliance monitoring at a higher monthly cost, with spec changes handled through a support queue. The iPaaS route gives you control over the REST API mappings if you have the staff to build and maintain them. On Sage 100 that usually means Visual Integrator jobs or BOI scripts rather than a REST API. Both assume every order is EDI, which rarely matches reality for a Sage distributor. ## How OrderSync Brings Orders Into Sage **OrderSync turns orders in any format into Sage sales orders.** Every order, EDI or not, comes out as a clean, mapped EDI 850 over SFTP that your Sage EDI import picks up, with 855, 856, 810, and 997 on the same channel. A native connector into Sage 100, X3, or Intacct is available on request and scoped per deployment. Shipment records flow back out as 856 ASNs and invoices as 810s. When a retailer updates their spec, we update the mapping. To connect orders to your Sage product with OrderSync, see the [Sage X3](/integrations/sage-x3), [Sage 100](/integrations/sage-100), and [Sage Intacct](/integrations/sage-intacct) integration pages. The reason distributors pick a service over a pure translator is the non-EDI volume. Smaller accounts email PDF purchase orders, attach spreadsheets, or use buyer portals. A translator alone leaves those for someone on your team to key into Sage by hand. OrderSync reads EDI 850s, PDF POs, and email orders through one pipeline and delivers them all to Sage the same way, which fits distributors running a mix of large EDI partners and smaller manual accounts. See [multi-format order processing](/multi-format-orders) and how the [ERP integration](/erp-integration) connects to Sage. Running more than one back-office system? Our related guides cover [EDI NetSuite integration](/blog/edi-netsuite-integration), [Infor EDI integration](/blog/edi-infor-integration), [Oracle EDI integration](/blog/edi-oracle-integration), and [JD Edwards EDI integration](/blog/edi-jd-edwards-integration). > On Sage 100, confirm the Sales Order module is licensed and configured before scoping EDI. Order automation writes into that module, and a connector cannot create sales orders in a module you have not enabled. ## Frequently Asked Questions ### Does Sage have built-in EDI? No. Sage X3, Sage 100, and Sage Intacct do not include a native EDI translator. EDI integration is done through third-party connectors or middleware that parse the X12 files and write sales orders into Sage, through Visual Integrator or BOI on Sage 100 and the API on X3 and Intacct. ### How do EDI orders get into Sage 100? An EDI connector parses the 850 and either writes an import file that a Visual Integrator job loads into Sales Order Entry, or creates the order through the Business Object Interface. Visual Integrator needs separate header and line jobs and applies Sage 100's normal validation. Sage 100 has no built-in EDI translator. ### Where does an EDI 850 go in Sage X3? An inbound 850 is parsed by a connector and written as a sales order into the SOH table structure through the Sage X3 REST API. The connector resolves the customer, item cross-reference, ship-to, and pricing first. Purchase orders in X3 use the parallel POH structure. ### How does EDI work with Sage Intacct? A connector parses the EDI 850 and creates a sales order in Sage Intacct's Order Entry module through the API. Intacct uses configurable document types and provides native three-way matching between purchase order, receipt, and vendor invoice on the buy side. Outbound 810 and 856 documents are generated from Intacct records. ### What does Sage EDI integration cost? ISV connectors like SPS Commerce or TrueCommerce typically run in the low thousands per month plus per-transaction fees, with longer onboarding. A flat-rate managed service runs lower and adds no per-document charges. iPaaS platform fees sit in between but add developer time to build and maintain the API mappings. ### Can OrderSync process non-EDI orders into Sage? Yes. OrderSync reads EDI 850s alongside PDF, email, and spreadsheet purchase orders and delivers all of them to Sage as sales orders through the same pipeline. Accounts that do not send EDI do not need a separate system or manual keying into the Sales Order module. --- # SAP EDI Integration: IDocs, 850 to Sales Orders Source: https://ordersync.io/blog/edi-sap-integration > How SAP EDI integration works for ECC and S/4HANA. Map inbound 850 to ORDERS05 IDocs, generate DESADV and INVOIC, and connect any order format. SAP handles EDI through IDocs, its internal document format. An inbound EDI 850 maps to an ORDERS05 IDoc that becomes a sales order, an 855 maps to ORDRSP, the 856 ship notice maps to DESADV, and the 810 invoice maps to INVOIC02. Middleware translates X12 to IDoc and routes it through partner profiles. You run SAP. A retailer just told you they need EDI 850 purchase orders accepted, an EDI 856 ship notice back within 24 hours, and EDI 810 invoicing. Your SAP team knows IDocs and partner profiles. What they may not know is exactly how the X12 world plugs into that, and where the work actually lives. SAP is not one product. Most existing deployments run SAP ECC (the older ERP Central Component), while newer projects run S/4HANA. Both process business documents internally as IDocs, and both need a translation layer to turn raw X12 EDI into IDocs and back. This guide walks through that mapping and how to handle orders that never arrive as EDI at all. ## Does SAP Have Native EDI Support? **SAP does not parse raw X12 or [EDIFACT](/guides/edi/edifact) files on its own. It processes IDocs, and a separate translation layer converts EDI to IDoc format.** An IDoc (Intermediate Document) is SAP's structured container for exchanging business data. The EDI standard and the IDoc standard are different formats that describe the same transaction, so something has to sit between them. That something is either SAP Process Orchestration (PI/PO), SAP Integration Suite on Business Technology Platform, or a third-party EDI translator that hands finished IDocs to SAP. The translator receives an X12 850 over AS2, SFTP, or a VAN, maps each segment to the matching IDoc field, and posts an inbound ORDERS IDoc. SAP then creates the sales order from that IDoc through the standard inbound processing function. Raw EDI looks like a flat string of segments: `ISA*00* *00* *ZZ*BUYERID *ZZ*SELLERID *260101*1200*^*00501*000000001*0*P*>~`. SAP has no built-in step that reads that and knows it is a purchase order. The mapping to ORDERS05 is where the intelligence lives. If you want to see how the raw segments break down before they ever reach SAP, the [free EDI Inspector](/edi-inspector) parses any X12 file and shows the parsed structure with no signup. ## How EDI Transactions Map to SAP IDocs **Each X12 transaction set has a corresponding IDoc message type and basic type in SAP.** This mapping is the core of any SAP EDI project. Get it right and documents flow. Get it wrong and IDocs sit in error status waiting for someone to reprocess them. | Direction | X12 Transaction | IDoc Message Type | IDoc Basic Type | SAP Document | |---|---|---|---|---| | Inbound | 850 Purchase Order | ORDERS | ORDERS05 | Sales order | | Outbound | 855 PO Acknowledgment | ORDRSP | ORDERS05 | Order confirmation | | Inbound | 860 PO Change | ORDCHG | ORDERS05 | Sales order change | | Outbound | 856 Ship Notice (ASN) | DESADV | DELVRY07 / DESADV01 | Outbound delivery | | Outbound | 810 Invoice | INVOIC | INVOIC02 | Billing document | | Inbound | 820 Payment/Remittance | REMADV | PEXR2002 | Incoming payment | The IDoc message types borrow their names from EDIFACT messages, so a European partner's [EDIFACT ORDERS](/guides/edi/edifact-orders), [DESADV](/guides/edi/edifact-desadv) and [INVOIC](/guides/edi/edifact-invoic) map onto the same IDocs as the X12 850, 856 and 810. The inbound 850 to ORDERS05 flow is the one most projects start with. The translator maps the retailer's buyer part numbers and UPCs to your SAP material numbers, sets the sold-to and ship-to partners, and posts the IDoc. SAP's inbound processing creates a standard sales order you can see in VA03. For the mechanics of the source document, our [EDI 850 purchase order guide](/guides/edi/850-purchase-order) covers every segment a retailer can send. ## Configuring Partner Profiles and Ports **SAP routes IDocs using partner profiles in transaction WE20 and communication ports in WE21.** Every trading partner needs a profile that tells SAP which message types are inbound, which are outbound, and what process code and port to use for each. This is standard SAP EDI configuration, and it is where a lot of go-live delays hide. The pieces your Basis and functional teams configure: - **Partner profile (WE20)**: defines the partner, the message types exchanged, and the process code that runs the posting logic. - **Port definition (WE21)**: the technical channel, usually a file port or an XML/tRFC port that connects to the middleware. - **Process codes**: link a message type to the function module that creates the SAP document. ORDERS inbound uses process code ORDE, which calls IDOC_INPUT_ORDERS. - **Partner determination**: maps the EDI partner identifiers to your SAP customer master records. Monitoring is its own discipline. Your team watches individual IDocs in WE02 or WE05, and uses BD87 to reprocess IDocs that errored. An 850 that fails because a material number has no cross-reference sits in status 51 until someone fixes the mapping or the master data. ## The Full Order-to-Cash Flow in SAP **A complete SAP EDI cycle moves an inbound purchase order through delivery and billing, generating outbound EDI at each posting step.** Here is how the documents chain together for a distributor selling to a retailer. 1. **Inbound 850**: the retailer sends a purchase order. Middleware maps it to an ORDERS05 IDoc, SAP posts it as a sales order, and a 997 functional acknowledgment goes back to confirm receipt. 2. **Outbound 855**: if the retailer requires acknowledgment, SAP generates an ORDRSP IDoc from the sales order, and the translator sends an 855 confirming or flagging line changes. 3. **Outbound 856**: when you post the outbound delivery in SAP, a DESADV IDoc generates the EDI 856 ship notice with carton detail and SSCC-18 labels. Timing is strict, most retailers want the ASN before the truck arrives. Our [EDI 856 ship notice guide](/guides/edi/856-ship-notice) covers the hierarchical structure retailers expect. 4. **Outbound 810**: after billing, SAP produces an INVOIC02 IDoc that becomes the EDI 810 invoice. Mismatches between the 810 and the original 850 drive payment disputes, so allowances and freight need to map cleanly. For a broader view of how this sequence works across any ERP, see our overview of [order-to-cash automation](/blog/order-to-cash-automation). ## ECC vs S/4HANA: What Changes for EDI **IDocs still work in S/4HANA, but SAP now positions APIs as the primary integration path.** ECC and S/4HANA both process ORDERS05, DESADV, and INVOIC02, so an EDI setup built on IDocs carries forward. What changes is the surrounding strategy and the migration clock. SAP has stated that mainstream maintenance for SAP ECC ends in 2027, with extended maintenance available to 2030 (see [SAP's maintenance strategy](https://www.sap.com/products/erp/s4hana.html)). That deadline is pushing distributors to plan S/4HANA migrations, and an EDI integration that assumes ECC-only behavior is a risk during that move. S/4HANA is API-first. SAP publishes OData and SOAP APIs on the [SAP Business Accelerator Hub](https://api.sap.com/) covering sales orders, deliveries, and billing. Some newer integrations create sales orders through the Sales Order (A2X) API instead of an ORDERS IDoc. Both paths exist. IDocs remain fully supported for classic EDI, while the APIs open cleaner options for cloud middleware. For the broader tradeoff between the two models, our [EDI vs API comparison](/blog/edi-vs-api) breaks down when each fits. ## SAP EDI Tcode Quick Reference **These are the transaction codes an SAP EDI administrator lives in.** Bookmark them; every failed order investigation starts with one of these. | Tcode | What it does | |---|---| | **WE20** | Partner profiles: which partner sends which message type, and how each is processed | | **WE21** | Port definitions: the technical channel (file, RFC, HTTP) IDocs move through | | **WE02 / WE05** | IDoc lists: search and display IDocs by date, partner, message type, and status | | **WE19** | Test tool: edit and reprocess a copy of a failed IDoc | | **BD87** | Reprocess IDocs stuck in error status | A typical failure investigation runs WE02 to find the IDoc, checks the status record to see which step failed, WE19 to fix and retest the payload, then WE20 to correct the partner profile so the next transmission processes cleanly. ## How OrderSync Connects Orders to SAP **OrderSync turns inbound orders in any format into SAP sales orders, then syncs deliveries and billing back out as EDI.** The problem most SAP shops hit is not the EDI partners with clean IDoc feeds. It is the accounts that email a PDF purchase order or drop a spreadsheet, which still end up keyed by hand into VA01. To connect orders to SAP with OrderSync, see the [SAP integration page](/integrations/sap). OrderSync ingests EDI 850s, PDF purchase orders, emailed orders, and CSV files through one pipeline. It maps buyer part numbers to your SAP material numbers, validates quantities and pricing, and creates the sales order through the IDoc or API path your landscape uses. When you post the delivery and billing document in SAP, OrderSync generates the outbound 856 and 810 for the trading partner. PDF and email orders flow through the same automation. That matters because most distributors have a long tail of smaller retail accounts that will never send EDI. See how the [multi-format order pipeline](/multi-format-orders) handles them, and read more about the [ERP integration](/erp-integration) approach for connecting SAP without a per-document VAN bill. We also cover [NetSuite EDI integration](/blog/edi-netsuite-integration) and [QuickBooks EDI integration](/blog/edi-quickbooks-integration) in dedicated guides. ## Frequently Asked Questions ### What is an ORDERS05 IDoc in SAP? ORDERS05 is the IDoc basic type SAP uses for purchase orders and sales orders. When an inbound EDI 850 arrives, the translation layer maps it to an ORDERS05 IDoc with message type ORDERS, and SAP's inbound processing creates a sales order from it. The same basic type carries ORDRSP acknowledgments and ORDCHG changes. ### Does S/4HANA still use IDocs for EDI? Yes. S/4HANA fully supports IDocs including ORDERS05, DESADV, and INVOIC02, so classic EDI integrations carry over from ECC. SAP also promotes OData and SOAP APIs on the SAP Business Accelerator Hub as an alternative path, and some new integrations use the Sales Order API instead of an IDoc. Both approaches are valid. ### How do I monitor failed EDI IDocs in SAP? Use transaction WE02 or WE05 to view individual IDocs and their status codes, and BD87 to reprocess IDocs stuck in error. An inbound 850 that fails on an unmatched material number sits in status 51 until the cross-reference or master data is corrected, then it can be reposted without asking the retailer to resend. ### Where are EDI partner profiles configured in SAP? Partner profiles live in transaction WE20, where you define each trading partner and the inbound and outbound message types they exchange. Communication ports are defined in WE21. Process codes link each message type to the function module that posts the SAP document, such as ORDE and IDOC_INPUT_ORDERS for inbound purchase orders. ### Can OrderSync send SAP orders that did not arrive as EDI? Yes. OrderSync processes EDI 850s alongside PDF, email, and CSV purchase orders through the same pipeline and creates SAP sales orders from all of them. Retail accounts that email a PDF or send a spreadsheet do not require a separate translator or manual keying, which removes the long tail of orders SAP EDI setups usually leave on the table. --- # Goods Receipt: The Missing Leg of 3-Way Match Source: https://ordersync.io/blog/goods-receipt-process > How the goods receipt process records physical receipt against a PO, feeds the GR/IR account, and completes the three-way match. EDI 861 explained. The goods receipt process records the physical receipt of ordered items against a purchase order, confirming what actually arrived. It is the middle leg of the three-way match, sitting between the PO and the invoice, and it posts an entry to the goods-received/invoice-received clearing account. Without an accurate goods receipt, invoices cannot be matched and payments stall. **Goods receipt is the step where you confirm what physically showed up against what you ordered, the posting SAP users know as MIGO with movement type 101, and it is the leg of the three-way match that quietly breaks everything downstream when it is wrong.** Everyone talks about the purchase order and the invoice. The receipt in the middle gets ignored until an invoice will not match and nobody can say whether the shipment was short, over, or never recorded. This piece explains what goods receipt does, how it feeds accounting, and how the EDI 861 receiving advice communicates it back to your supplier. ## What the Goods Receipt Process Records **A goods receipt (GR) records the quantity, condition, and date of items physically received against a specific purchase order line.** It is the moment the promise on the PO becomes verified reality. Receiving staff count what arrived, compare it to the PO, note damage or shortage, and post the receipt into the system. That posted receipt does three jobs at once. It updates inventory so stock reflects what is on the shelf. It creates the accounting entry that recognizes a liability for goods received. And it provides the middle data point that invoice matching depends on. When the supplier sent an [EDI 856 ship notice](/guides/edi/856-ship-notice) ahead of the truck, receiving checks the physical count against the ASN as well as the PO. Miss the receipt, or post it wrong, and the invoice arriving days later has nothing accurate to match against. The AP team is then stuck asking the warehouse what really came in, which is exactly the manual back-and-forth automation is supposed to end. ## Why Goods Receipt Anchors the Three-Way Match **The three-way match compares the purchase order, the goods receipt, and the invoice, so the receipt is the fact that keeps the invoice honest.** Without it you only have a two-way match: the invoice against the PO. That tells you the supplier billed what you ordered, but not whether they actually delivered it. Here is how the three documents line up: | Document | Question it answers | Source | |---|---|---| | Purchase order | What did we agree to buy? | Procurement | | Goods receipt | What actually arrived? | Receiving | | Invoice | What are we being billed for? | Supplier | When all three agree within tolerance, the invoice clears for payment automatically. When the invoice says 100 units, the PO says 100, but the receipt says 90 arrived, the system blocks payment for the 10-unit gap. That block is the control working. The full mechanics are in our guide to [three-way match](/blog/three-way-match), and the receipt's role there is why receiving accuracy is an accounts payable issue as much as a warehouse one. This is also why [accounts payable automation](/blog/accounts-payable-automation) stalls when receiving is manual. Clean matching needs clean receipts. ## Goods Receipt and the GR/IR Account **Posting a goods receipt creates an entry in the goods-received/invoice-received (GR/IR) clearing account, which holds the liability until the matching invoice arrives and clears it.** This account is the accounting bridge between physical receipt and financial settlement. The flow works like this. When goods are received, the system debits inventory (or expense) and credits GR/IR, recognizing that you owe for goods you now hold. When the invoice is posted and matched, it debits GR/IR and credits accounts payable, clearing the account. A clean GR/IR balance means receipts and invoices are matching up. A GR/IR account full of stale open items means receipts without invoices, or invoices without receipts, and each one is a reconciliation problem. In SAP, goods receipt is posted through the MIGO transaction using movement type 101 for receipt into stock against a purchase order, which automatically generates the GR/IR clearing entry ([SAP goods receipt and inventory management](https://help.sap.com/docs/SAP_S4HANA_ON-PREMISE)). Other ERPs use different transaction names but the same logic: the receipt posting creates the clearing entry that the invoice later offsets. ## Over-Receipt and Under-Receipt Tolerances **Tolerance bands decide how much quantity variance posts cleanly: a 5% over-receipt tolerance on a 100-unit line accepts 105 units and blocks 106.** They are the same mechanism the [three-way match](/blog/three-way-match) applies at invoice time, set wider for bulk commodities and tighter for serialized goods. ## Communicating Receipt Back with EDI 861 **The EDI 861 receiving advice tells the supplier what you actually received, including any discrepancies, so both sides reconcile from the same record instead of a back-and-forth email thread.** It closes the loop that the ship notice opened. The sequence on an EDI transaction runs like this. The supplier sends an EDI 856 ship notice announcing what they shipped. Goods arrive, you receive them, and you send back an [EDI 861 receiving advice](/guides/edi/861-receiving-advice) confirming what landed. When the 861 reports a shortage or damage, the supplier's system knows before they invoice, which heads off a disputed invoice down the line. For any of these transactions, you can check the segment structure with the [free EDI Inspector](/edi-inspector) before it hits your ERP. Validating the 856 and 861 against each other catches the mismatches that otherwise surface as unexplained receiving variances. The 861 is a standardized transaction set maintained by the Accredited Standards Committee ([X12 transaction sets](https://x12.org/products/transaction-sets)), so its structure is consistent across trading partners even when their receiving rules differ. Not every trading partner uses the 861. Many receipts are recorded internally with no supplier notification. But for high-volume partners where discrepancies are costly, the receiving advice is what turns receiving into a two-way, auditable exchange rather than a black box on your dock. ## Frequently Asked Questions ### What is a goods receipt? A goods receipt is the record of items physically received against a purchase order. It captures the quantity, condition, and date of what arrived, updates inventory, and posts an entry to the GR/IR clearing account. It is the fact that invoice matching relies on to confirm you were billed only for goods you actually received. ### What is the GR/IR account? The goods-received/invoice-received (GR/IR) account is a clearing account that holds the liability for goods received but not yet invoiced. Posting a goods receipt credits GR/IR; posting the matched invoice debits it, clearing the balance. Stale open items in GR/IR signal receipts without matching invoices, or the reverse, and each needs reconciliation. ### How does goods receipt fit into three-way match? Goods receipt is the middle leg. Three-way match compares the purchase order, the goods receipt, and the invoice. The receipt confirms what physically arrived, so the match can verify the invoice bills only for delivered goods, not just ordered ones. Without an accurate receipt, you can only run a weaker two-way match of invoice against PO. ### What is an EDI 861 receiving advice? The EDI 861 receiving advice is the transaction a buyer sends a supplier to confirm what was received, including quantity discrepancies and damage. It follows the EDI 856 ship notice and lets the supplier reconcile the shipment before invoicing. It turns receiving into an auditable, two-way exchange for high-volume trading partners. ### What are goods receipt tolerances? Tolerances define how much a received quantity can differ from the ordered quantity and still post without manual review. Since shipments rarely arrive in exact quantities, tolerances let minor over- or under-receipts clear automatically while larger variances get flagged. Setting them too tight creates needless exceptions; too loose risks paying for goods never received. --- # Invoice Processing Automation Explained Source: https://ordersync.io/blog/invoice-processing-automation > How invoice processing automation captures, validates, matches, and codes invoices, plus where EDI 810 and straight-through processing fit. Invoice processing automation captures an invoice, extracts its data, validates and matches it against the purchase order and receipt, codes it to the general ledger, routes it for approval, and archives it. Invoices that pass every check flow straight through without manual keying, while exceptions get flagged for review, cutting cost and cycle time per invoice. **Invoice processing automation is the capture-and-match core of accounts payable: it turns a supplier invoice into validated, matched, coded data ready for payment, without anyone typing it into the ERP.** If accounts payable automation is the whole invoice-to-pay pipeline, invoice processing is the engine room. Get this part right and everything downstream, approval and payment, gets easier. The problem it solves is familiar. An invoice lands as a PDF. Someone opens it, reads the amount, finds the PO number, keys it into the ERP, and hopes they did not fat-finger a digit. Multiply that by a few thousand invoices a month and you have a full-time job that produces errors, not value. ## The Steps in Invoice Processing Automation **Automated invoice processing runs six steps, and each one hands clean data to the next so the invoice never has to be re-keyed.** Here is the sequence. 1. **Capture.** The invoice enters through OCR or intelligent document processing (IDP) for PDFs and paper, or arrives already structured as an [EDI 810 invoice](/guides/edi/810-invoice). 2. **Validation.** The system checks the extracted data for completeness and sanity: valid supplier, non-duplicate invoice number, totals that add up. 3. **Matching.** The invoice is compared against the purchase order and the goods receipt. 4. **Coding.** Header and line amounts are assigned to general ledger accounts, cost centers, and tax codes. 5. **Approval.** Invoices that need sign-off route to the right approver by amount and department. 6. **Archive.** The invoice and its full audit trail are stored, searchable, and retention-compliant. The first three steps are where automation earns its keep. Capture removes the keying. Validation catches the duplicates and the math errors. Matching stops the overpayments. ### Capture: OCR, IDP, and LLM Extraction OCR reads text off a document. Intelligent document processing goes further, using models to understand which number is the invoice total versus a line amount versus tax, even when suppliers use wildly different layouts. Newer LLM-based extraction improves on both for line items, because it can reason about a table it has never seen before instead of relying on a trained template. This is the same extraction challenge OrderSync handles for inbound sales documents in [multi-format order processing](/multi-format-orders), where a single pipeline reads PDFs, emails, and spreadsheets. The quality of capture sets the ceiling for everything else. Bad extraction means bad matching, which means manual rework, which defeats the point. ### Validation and Matching Validation is the cheap check: is this a real, non-duplicate invoice with totals that reconcile? Matching is the expensive-to-get-wrong check. A PO-based invoice runs a [three-way match](/blog/three-way-match) against the purchase order and the goods receipt. If the invoice bills for 100 units, the PO ordered 100, and the receipt confirms 100 arrived, it clears. If any leg disagrees beyond tolerance, it is flagged. Microsoft's Dynamics 365 documentation describes invoice matching as comparing the vendor invoice to the purchase order and product receipt, with matching policies that hold an invoice when variances exceed the allowed tolerance ([Microsoft Dynamics 365 invoice matching](https://learn.microsoft.com/en-us/dynamics365/finance/accounts-payable/accounts-payable-invoice-matching)). That hold-on-variance behavior is the whole point: the system stops the payment before it goes out, not after. ## Extraction Confidence: When to Route to a Human **Every extracted field carries a confidence score, and the threshold you set on it decides which invoices flow through untouched and which stop for review.** A sensible setup holds amount fields to a high bar, say 95% or better, and tolerates lower confidence on free-text fields like item descriptions. An invoice where every critical field clears its threshold proceeds to matching. One where the total reads at 80% confidence stops in a review queue with the extracted value pre-filled, so the reviewer confirms rather than re-keys. Two design mistakes show up constantly. The first is routing the whole invoice to a human because one low-stakes field scored low, which throws away most of the automation. The second is trusting a high confidence score on a field that is internally inconsistent, a line quantity that does not multiply out to the line total. That is why arithmetic checks belong alongside confidence checks: confidence says the model is sure, reconciliation says the numbers are coherent, and you need both before an invoice moves forward. ## Line-Pairing Failures: Invoice Lines That Do Not Match PO Lines **Price variances are the easy failures; the hard ones are invoices whose lines do not map one-to-one to PO lines.** Header-level matching passes and the line level falls apart. The recurring cases: - **Substitutions.** The supplier ships an equivalent SKU and the invoice carries a part number the PO never mentioned. The value matches, the item does not. - **Partial shipments.** One PO line arrives across three shipments and three invoices, each billing a fraction. The matcher has to accumulate billed quantity across invoices instead of comparing line to line. - **Freight, fuel surcharges, and allowances.** Lines on the invoice with no PO line at all. They need their own tolerance rules, or they block every invoice that carries them. - **Pack-size differences.** The PO ordered 10 cases of 24 and the invoice bills 240 eaches. Quantity matching has to normalize units of measure before comparing. A matching engine that only does exact line pairing will flag all of these as exceptions, and your reviewers end up re-doing arithmetic the system should have handled. ## Header Totals, Line Totals, and the Multi-Invoice PDF **A cheap self-check catches most extraction misses: the extracted lines, plus tax and freight, must sum to the extracted header total.** When they do not, the usual culprit is a dropped line at a page break, not a supplier error. Run that reconciliation before matching, and extraction problems surface as a single clear exception instead of a confusing PO mismatch. Multi-page invoices are where this earns its keep, since line tables continue across pages and repeated headers confuse naive extraction. The uglier case is the multi-invoice PDF: a supplier emails one file containing a dozen statements and invoices. The pipeline has to split the document before extracting, or invoice two's lines get glued onto invoice one and both totals stop reconciling. ## What Touchless Rate Actually Measures **Touchless rate is the share of invoices that go from arrival to approved-for-payment with zero human interactions, and the definition is strict: one click of "confirm" makes an invoice touched.** Vendor marketing often counts "auto-captured but human-reviewed" invoices as touchless, which inflates the number. Measure it honestly or it stops being useful. Straight-through invoices are the matched, in-tolerance, known-supplier ones. Everything else, price mismatches, missing PO references, new vendors, duplicate suspicions, routes to a reviewer. The measure of a good system is not that it eliminates exceptions, it is that it isolates them so they do not clog the clean invoices behind them. If your touchless rate is low, the fix is usually upstream: cleaner PO data, accurate goods receipts, and better supplier onboarding, not more AP headcount. To see how your rate compares within your industry, [APQC's process benchmarking](https://www.apqc.org/process-frameworks) publishes quartile data on AP process performance; treat any single published number with suspicion until you know what it counted as a touch. ## Invoice Processing vs Broader AP Automation **Invoice processing automation is the capture-and-match core; accounts payable automation is the wider process that adds payment, remittance, supplier management, and cash forecasting on top.** People use the terms interchangeably, but the scope differs. Invoice processing stops when the invoice is validated, matched, coded, and approved. [Accounts payable automation](/blog/accounts-payable-automation) continues into payment execution, electronic remittance via [EDI 820](/guides/edi/820-payment-order), discount capture, and vendor spend analytics. Think of invoice processing as the necessary foundation and AP automation as the full house built on it. The order matters. You cannot automate payment reliably until invoice data is clean and matched. Start with processing. ## Where EDI Changes the Picture **For trading partners on EDI, the invoice arrives as a structured 810 that skips OCR entirely, and matching runs against the original 850 purchase order and the receipt.** The document exchange is tight: you send the [EDI 850 purchase order](/guides/edi/850-purchase-order), the supplier ships and sends an ASN, then bills with the 810. Because the 810 is already structured, extraction accuracy is not a concern. The work shifts to matching and business-rule validation: line pairing, unit-of-measure normalization, and tolerance checks still apply. When an 810 fails your rules, you respond with an application advice, not just a syntactic acknowledgment. Validate any 810's structure with the [free EDI Inspector](/edi-inspector) before it reaches your matching engine. For the long tail of suppliers who will never do EDI, document extraction handles the PDFs and emails through the same pipeline, so one matching engine sees every invoice regardless of how it arrived. ## Frequently Asked Questions ### What is straight-through invoice processing? Straight-through processing means an invoice passes every automated check, capture, validation, matching, and coding, and reaches payment approval without a person touching it. It applies to clean invoices with a matched purchase order and receipt, a known supplier, and amounts within tolerance. Invoices that fail any check are routed out as exceptions instead. ### How accurate is OCR for invoice capture? In practice, template-based OCR commonly hits 80 to 90 percent field accuracy on clean invoices and degrades sharply on skewed scans, unusual layouts, and line items. Modern LLM-based extraction improves line-item accuracy considerably but still needs confidence-threshold review on critical fields. This is why validation and matching sit right after capture: they catch the misses before the invoice moves forward, so accuracy problems surface as exceptions rather than wrong payments. ### Is invoice processing automation the same as AP automation? No. Invoice processing automation is the capture, validation, matching, and coding core. Accounts payable automation is broader, adding payment execution, electronic remittance, discount capture, supplier management, and reporting. Invoice processing is the foundation you build AP automation on, and you generally implement it first. ### Can invoice processing automation handle non-PO invoices? Yes. Non-PO invoices, like utilities, subscriptions, and professional services, skip PO matching and rely on coding rules and approval routing instead. The system codes them to the correct GL accounts based on supplier and history, then routes them for approval by amount and department. They are handled as a distinct flow from PO-based matching. ### What happens to an invoice that fails matching? It is blocked from payment and routed as an exception to a reviewer with the invoice, PO, and receipt data in one view. The reviewer resolves the variance, corrects a receipt, confirms a price change, or rejects the invoice. Once resolved, it re-enters the flow. The block-on-variance behavior is what prevents overpayment. --- # Procure-to-Pay Process: The 7 Steps Explained Source: https://ordersync.io/blog/procure-to-pay-process > The procure-to-pay process runs from purchase requisition to payment. See all 7 steps, the EDI documents behind each, and where three-way match fits. Procure-to-pay is the buy-side process that runs from purchase requisition through to supplier payment. The seven steps are requisition, sourcing, purchase order, order acknowledgment, goods receipt, invoice, and payment. A three-way match between the PO, receipt, and invoice clears each payable before cash goes out the door. **The procure-to-pay process covers everything from an employee requesting an item to your finance team paying the supplier, and it runs on documents at every step: a requisition, a purchase order, an order acknowledgment, a ship notice, a goods receipt, an invoice, and a payment.** If you sit on the selling side, this is the mirror image of your own [order-to-cash cycle](/blog/order-to-cash-automation). Your customer's procure-to-pay is your order-to-cash. The same documents flow between you, just labeled from opposite ends of the transaction. Picture a $9,000 invoice sitting blocked in AP for three weeks. The PO was keyed from an emailed quote, the warehouse never posted the receipt, and the supplier is now calling about payment. No single step in that story failed. Every failure lives in a handoff between steps: a requisition waiting in an inbox, an invoice nobody can match to a receipt, a PO price that drifted from the quote. Each gap adds days and invites error. This guide walks the full P2P cycle step by step, names the EDI transaction behind each one, and shows where the three-way match protects your cash. Key reference points on the process: - APQC's [Process Classification Framework (PCF)](https://www.apqc.org/process-frameworks) places procurement under category 4.2, "Manage Sourcing and Procurement," a free cross-industry model you can benchmark against - The [X12 transaction set catalog](https://x12.org/products/transaction-sets) defines the electronic documents (850, 855, 856, 810, 820) that carry each P2P step between trading partners ## What Is Procure-to-Pay? **Procure-to-pay (P2P) is the end-to-end business process for buying goods and services, from the internal request through to paying the supplier.** It spans procurement and accounts payable, two functions that historically lived in separate systems and separate teams. When they operate as one connected flow, spend stays controlled and invoices get paid on time. P2P is distinct from source-to-pay. Procure-to-pay starts at the requisition, the point where someone has already decided what to buy. Source-to-pay wraps around it and adds the upstream work: market analysis, RFPs, supplier evaluation, negotiation, and contract management. Put simply, source-to-pay decides who you buy from and on what terms. Procure-to-pay executes the buying against those terms. The distinction matters when you scope a project. Automating procure-to-pay tightens requisition approvals, PO issuance, and invoice matching. Source-to-pay reaches into strategic sourcing and supplier relationship management, a bigger effort with a different owner. ## The 7 Steps of the Procure-to-Pay Process Each step produces a document, and each document feeds the next. Break the chain and the whole cycle stalls. 1. **Purchase requisition.** An employee or department raises an internal request to buy something. This is intent, not a commitment. It routes through approval before anything reaches a supplier. See our guide to [what a purchase requisition is and how it differs from a PO](/blog/purchase-requisition) for the full breakdown. 2. **Sourcing and quote (RFQ).** For non-catalog or high-value items, buyers request quotes from one or more suppliers. The supplier returns a price and terms. For repeat purchases against an existing contract or [blanket purchase order](/blog/blanket-purchase-order), this step is already settled. 3. **Purchase order.** Once the requisition is approved and a supplier chosen, procurement issues a purchase order. The PO is the external, legally binding document sent to the supplier. In EDI terms this is the [EDI 850 purchase order](/guides/edi/850-purchase-order). 4. **Order acknowledgment.** The supplier confirms they can fulfill the order at the stated price, quantity, and date, or proposes changes. This is the [EDI 855 purchase order acknowledgment](/guides/edi/855-purchase-order-acknowledgment). An 855 that comes back with a different price or ship date is your earliest warning of a downstream invoice mismatch. 5. **Goods receipt.** The supplier ships, often sending an advance ship notice (the [EDI 856 ASN](/guides/edi/856-ship-notice)) ahead of the truck. When the goods arrive, receiving logs what actually showed up against what the PO said. This receipt becomes one of the three legs of the match. 6. **Supplier invoice.** The supplier bills you, typically via an [EDI 810 invoice](/guides/edi/810-invoice) or a PDF sent to your AP inbox. The invoice states what you owe, referencing the original PO number. 7. **Payment and remittance.** After the invoice clears matching, AP schedules payment on terms and sends remittance detail so the supplier can apply the cash. Electronic payment and remittance travel as the [EDI 820 payment order](/guides/edi/820-payment-order). ## Where the Three-Way Match Fits **Before any invoice gets paid, most organizations run a three-way match: the purchase order, the goods receipt, and the supplier invoice all have to agree on quantity and price within tolerance.** This is the control that stops you from paying for goods you never received or paying more than you agreed. Here is the logic. The PO says you ordered 40 drums of degreaser at $85. The receipt confirms 40 drums arrived. The invoice bills 40 drums at $85. All three agree, so the payable posts and payment is scheduled. If the invoice bills 48 drums, or bills at $92, the match fails and the invoice is blocked for review before a dollar moves. For services or anything with no physical receipt, buyers fall back to a two-way match: PO against invoice only. Our deep dive on [how three-way match works, including 2-way and 4-way variants](/blog/three-way-match) covers the tolerance mechanics and the ERP setup behind it. The match is the single most valuable control in the whole cycle. Skip it and you open the door to duplicate invoices, price creep, and outright invoice fraud. ## P2P vs Source-to-Pay vs Order-to-Cash These three terms get used loosely. They describe different scopes and different sides of the deal. | Process | Scope | Perspective | |---|---|---| | **Procure-to-pay (P2P)** | Requisition through payment | Buyer | | **Source-to-pay (S2P)** | Sourcing and contracting, plus all of P2P | Buyer | | **Order-to-cash (O2C)** | Order receipt through cash collection | Seller | Procure-to-pay and order-to-cash are two views of the same transaction. When your customer issues a PO, that is step three of their P2P and step one of your O2C. Their goods receipt drives their three-way match, which decides whether your invoice gets paid on time. Understanding both sides helps you head off the disputes that stretch your DSO. ## How Automation Removes the Handoffs Manual P2P is a relay race of email attachments and rekeying. A requisition gets approved by reply-all. A buyer types the PO into the ERP. Receiving marks a paper packing slip. AP keys the invoice from a PDF. Each rekey is a chance to introduce the mismatch that later blocks payment. Connected P2P closes those gaps. Requisitions route through defined approval rules instead of inboxes. Approved requisitions convert to POs without retyping. On the receiving side, [ERP integration](/erp-integration) posts goods receipts against the open PO automatically. When the supplier invoice arrives, the system runs the three-way match and only routes exceptions to a human. For the inbound documents that still arrive as PDFs and emails from suppliers who are not EDI-capable, [AI-powered order automation](/ai-order-automation) extracts the line items and matches them to the PO, so your AP team is not keying invoices by hand. If you exchange EDI with trading partners, you can check any 850, 855, or 810 file against the spec with our [free EDI Inspector](/edi-inspector) before it causes a matching failure. And if you are weighing tools to run this whole chain, our guide to [procure-to-pay software](/blog/procure-to-pay-software) compares suites, point solutions, and ERP-native modules. The payoff is a shorter cycle with fewer blocked invoices, captured early-payment discounts, and an audit trail that ties every payment back to an approved requisition. ## Procure-to-Pay KPIs and Benchmarks **Practitioners track P2P health with a small set of metrics, and the commonly cited industry ranges give a rough sense of where you stand.** Treat these as directional, not precise. Published figures vary with what gets counted, so your own trend over time matters more than any single number. For quartile data by industry and revenue band, [APQC's process benchmarking](https://www.apqc.org/process-frameworks) is the standard source. | KPI | What it measures | Commonly cited range | |---|---|---| | Cost per invoice | Fully loaded cost to process one supplier invoice | Roughly $10 to $15 fully manual; $2 to $4 automated | | Cost per PO | Cost to create and issue one purchase order | Commonly cited between $50 and $150 | | PO cycle time | Requisition approval to PO issued | Hours when automated; days when manual | | Invoice cycle time | Invoice receipt to payment approval | Days when automated; weeks when manual | | Touchless rate | Share of invoices processed with zero human touches | Varies widely; near zero in manual shops | | First-pass match rate | Share of invoices that clear the three-way match on the first try | Low rates point to PO or receipt data problems, not AP problems | | Days payable outstanding (DPO) | Average days from invoice receipt to payment | Driven by negotiated terms as much as process speed | One caution on DPO: it is a cash strategy metric as much as a process metric. A high DPO built from blocked invoices is a problem. The same DPO built from negotiated terms is a win. Look at the match rate and cycle time alongside it before drawing conclusions. ## Frequently Asked Questions ### What is the difference between procure-to-pay and source-to-pay? Procure-to-pay starts at the purchase requisition and runs through supplier payment. Source-to-pay adds the upstream sourcing work in front of it: market analysis, RFPs, supplier selection, negotiation, and contract management. Source-to-pay decides who you buy from and on what terms. Procure-to-pay executes the buying. ### Which P2P step should you automate first? Invoice matching. It carries the most manual keying and the most financial risk, since duplicate payments, price creep, and unrecorded receipts all surface there. Get invoices into structured data, match them against POs and receipts automatically, and route only exceptions to a person. Requisition approval routing is a close second: it is cheap to set up and stops maverick spend at the source. ### Which EDI documents map to the P2P process? The buyer issues an EDI 850 purchase order. The supplier returns an EDI 855 acknowledgment and an EDI 856 ship notice. The supplier then bills with an EDI 810 invoice, and the buyer remits with an EDI 820 payment order. These transactions carry the same information as the paper equivalents, just in structured electronic form. ### Is procure-to-pay the same as accounts payable? No. Accounts payable is the final stretch of procure-to-pay, covering invoice receipt, matching, and payment. Procure-to-pay is the wider process that also includes requisitioning, sourcing, purchase orders, and receiving. AP automation is a subset of procure-to-pay automation. ### How does procure-to-pay relate to order-to-cash? They are the same transaction seen from opposite sides. Your procure-to-pay is your supplier's order-to-cash. When you issue a purchase order, that is your third P2P step and your supplier's first O2C step. The documents that flow between the two processes are identical, only the labels differ. --- # Procure-to-Pay Software: Suites Compared Source: https://ordersync.io/blog/procure-to-pay-software > Procure-to-pay suites compared, from SAP Ariba, Coupa and Jaggaer to Procurify and ERP-native modules, plus the core modules and what mid-market buyers really need. Procure-to-pay software connects requisitioning, purchase order management, receiving, invoice matching, and payment into one system so buyers control spend end to end. Options range from full suites like SAP Ariba, Coupa and Jaggaer to point solutions and ERP-native modules in NetSuite or Dynamics. The right fit depends on spend volume, existing ERP, and how much your suppliers already do electronically. **Procure-to-pay software manages the buying side of a transaction from the moment someone requests a purchase to the moment the supplier is paid, and choosing it comes down to how much of that chain you actually need to automate.** This guide covers what the modules do, how the main suites compare, how the buying options differ, and what a mid-market operation genuinely needs versus what enterprise sales teams try to sell. If you want the process itself explained first, start with our walkthrough of the [procure-to-pay process](/blog/procure-to-pay-process). This piece is about picking the tool. ## The Core Modules of Procure-to-Pay Software **Every serious P2P platform covers the same six modules, and the differences are in depth, integration, and how much manual work survives at each step.** Know what each one does before you sit through a demo. - **Requisitioning.** Employees request what they need; the system captures it before any money is committed. This is where the [purchase requisition](/blog/purchase-requisition) becomes a controlled intake rather than an email to procurement. - **Purchase order management.** Approved requisitions become purchase orders. Good tools handle standard POs, [blanket purchase orders](/blog/blanket-purchase-order) for recurring buys, and change orders cleanly. - **Supplier and vendor portal.** Suppliers see POs, confirm them, submit invoices, and check payment status without emailing your AP team. - **Receiving.** Staff record what physically arrived against the PO, the goods receipt that anchors matching. - **Invoice matching.** The system runs [three-way match](/blog/three-way-match) against the PO and receipt before anything is approved for payment. - **Payment.** Approved invoices are paid, ideally with electronic remittance so both sides reconcile automatically. A platform that does five of these well and one badly will push the weak module's work back onto your team. Ask specifically about the module you are weakest in today. ## Suite vs Point Solution vs ERP-Native **The biggest decision is architecture: a dedicated suite, a set of point solutions, or the P2P module already inside your ERP, and each trades cost against depth and integration effort.** There is no universally right answer, only a right answer for your spend and stack. The cost gap is real: enterprise suites like Ariba and Coupa are typically 6 to 12 month implementations with commonly reported six-figure first-year costs once licensing and integration are counted, while an ERP-native module rides the license you already pay for. | Approach | Examples | Strengths | Trade-offs | |---|---|---|---| | Full suite | SAP Ariba, Coupa | Deep spend management, supplier networks, analytics | Cost and implementation weight; overkill below enterprise scale | | Point solutions | Standalone AP or e-procurement tools | Deep at one job; fast to deploy | Integration burden; multiple vendors to manage | | ERP-native | NetSuite, Microsoft Dynamics 365, Acumatica | Data already lives in the ERP; one system of record | Less specialized than suites for complex sourcing | Full suites like SAP Ariba and Coupa are built for large, complex procurement with big supplier networks and category management. If you run that scale, they earn their cost. Below it, you are paying for capability you will never switch on. ERP-native modules make sense when your ERP is already your source of truth. Oracle NetSuite documents a procure-to-pay flow that runs from purchase requests through vendor bills inside the same system ([Oracle NetSuite procure-to-pay](https://docs.oracle.com/en/cloud/saas/netsuite/ns-online-help/index.html)), which avoids a separate integration. Microsoft's Dynamics 365 covers requisition-to-invoice natively too ([Microsoft Dynamics 365 procurement](https://learn.microsoft.com/en-us/dynamics365/supply-chain/procurement/procurement-sourcing-overview)). Point solutions win when one part of your process is genuinely broken and the rest is fine. Fix that part, integrate it, move on. ## Procure-to-Pay Suites Compared **The suites split into enterprise source-to-pay platforms, AP-led platforms that grew backwards into purchasing, and lighter tools built for mid-market spend control.** Which group you shop in matters more than which vendor wins a feature checklist. | Suite | Type | Best fit | Watch for | |---|---|---|---| | [SAP Ariba](https://www.sap.com/products/spend-management/ariba-procurement.html) | Enterprise source-to-pay | SAP shops with large supplier bases; the Ariba Network connects buyers and suppliers | Implementation weight; supplier-side fees on the network | | [Coupa](https://www.coupa.com/) | Enterprise spend management | Large, ERP-mixed organizations wanting one spend platform | Enterprise pricing and rollout | | [Jaggaer](https://www.jaggaer.com/) | Enterprise source-to-pay | Direct-materials manufacturing, higher education, public sector | Breadth you may not use | | [Ivalua](https://www.ivalua.com/) | Enterprise source-to-pay | Companies wanting one configurable platform across sourcing, contracts and P2P | Configuration effort | | [Oracle Fusion Cloud Procurement](https://www.oracle.com/erp/procurement/) | ERP-attached suite | Oracle Fusion ERP customers | Strongest inside the Oracle stack | | [Basware](https://www.basware.com/) | AP-led P2P | Invoice-heavy organizations that want e-invoicing and matching first | Purchasing depth varies by module | | [Esker](/ordersync-vs/esker) | Source-to-pay plus order-to-cash | Enterprises consolidating AP, AR and procurement with one vendor | Multi-module rollout measured in quarters | | [Procurify](https://www.procurify.com/) | Mid-market spend management | Growing companies that need requisitions, approvals and POs without an enterprise suite | Lighter on sourcing and contract management | Three questions sort the list quickly. Do you need strategic sourcing and contract management, or only requisition-to-pay? Is your ERP SAP or Oracle, where the native suite has a head start? And how many of your suppliers will actually use a supplier network or portal? If the answers are "no", "neither" and "few", start with the mid-market tools or your ERP's own module before booking enterprise demos. ## Build vs Buy **Building your own P2P system almost never pays off, because the value is in the integrations and edge cases, not the core workflow.** The happy-path requisition-to-PO flow is easy to build and useless without the hard parts: tax logic, approval hierarchies, supplier onboarding, matching tolerances, and connections to your ERP and bank. Buy the platform. Spend your engineering effort on the integrations that are specific to your business, the connection between your order intake and your ERP, or between your receiving and your accounting. That is where [ERP integration](/erp-integration) work actually differentiates you, not in rebuilding a requisition form. The exception is a thin layer that solves a problem no vendor addresses, usually at the seam between systems. Keep that layer thin. ## What Mid-Market Suppliers Actually Need **Mid-market buyers do not need enterprise sourcing suites; they need clean requisition-to-PO control, reliable three-way matching, and a supplier portal that stops the email chasing.** Enterprise P2P is built around category management and global supplier networks. A distributor or manufacturer doing tens of millions in spend needs something narrower and more reliable. Prioritize in this order: 1. **Matching that actually works.** If three-way match is manual today, that is your biggest leak. Fix it first. 2. **Approval routing that enforces policy.** A [purchase order approval workflow](/blog/purchase-order-approval-workflow) with real thresholds and segregation of duties, not an email chain. 3. **A supplier portal.** Cut the "where is my payment" calls. 4. **ERP fit.** The tool that syncs cleanly to your existing ERP beats the one with more features that does not. Everything else is a nice-to-have you can add later. One more lens before you shortlist: the POs you send are someone else's inbound orders, and the POs your customers send you are the same document problem in reverse. If your evaluation is really about taming inbound customer orders across EDI, PDF, and email, that is the sell-side problem OrderSync solves with [automated order processing](/order-processing-automation), and buy-side tools are only half the answer. ## Frequently Asked Questions ### What is procure-to-pay software? Procure-to-pay software manages the buying process end to end: requisitioning, purchase order creation, supplier communication, receiving, invoice matching, and payment. It gives finance and procurement control over spend and a single record of each transaction. It is the buy-side counterpart to order-to-cash software, which manages the selling side. ### What is a procure-to-pay suite? A procure-to-pay suite is a single platform that covers requisitioning, purchase orders, receiving, invoice matching and supplier payment, usually with a supplier portal and spend analytics on top. Enterprise examples include SAP Ariba, Coupa, Jaggaer and Ivalua; Procurify and ERP-native modules cover the same chain for smaller teams. ### Is Coupa or SAP Ariba better for mid-market companies? Both Coupa and SAP Ariba are built for enterprise procurement with large supplier networks and deep sourcing features. For most mid-market companies, they are more platform than the spend justifies. An ERP-native module in NetSuite, Dynamics 365, or Acumatica usually fits better, since the data already lives in the ERP and implementation is lighter. ### Should I build or buy procure-to-pay software? Buy the core platform. The workflow itself is commodity, but the tax logic, approval hierarchies, supplier onboarding, and matching tolerances are hard to get right and expensive to maintain. Reserve any custom build for the thin integration layer between systems that no vendor covers for your specific setup. ### What is the difference between procurement software and P2P software? Procurement software often focuses on the sourcing and buying front end: supplier discovery, requisitions, and purchase orders. Procure-to-pay software extends through receiving, invoice matching, and payment, covering the full buy-to-pay cycle. P2P is the wider scope; procurement is frequently just the front half. ### Does procure-to-pay software handle EDI? Better platforms exchange purchase orders and invoices electronically, including EDI 850 for orders and EDI 810 for invoices, with trading partners set up for it. Coverage varies, so confirm which transactions a tool supports natively versus through a connector. You can inspect any EDI file your partners send using the [free EDI Inspector](/edi-inspector) before committing to an integration. --- # Purchase Order Approval Workflows That Scale Source: https://ordersync.io/blog/purchase-order-approval-workflow > How to design a PO approval process with amount thresholds, budget checks, multi-level sign-off, and segregation of duties that holds up as you grow. A purchase order approval workflow routes each PO to the right approvers based on amount, department, and budget before any spend is committed. It uses tiered thresholds for multi-level sign-off and enforces segregation of duties, so the person who requests a purchase is never the one who approves it. Automated routing replaces email chains and keeps control intact as volume grows. **A purchase order approval workflow decides who signs off on what before money is committed, and the ones that scale are built on amount thresholds, budget checks, and a hard line between requester and approver.** Manual approval works when you cut ten POs a week. At a hundred, the email chain becomes the bottleneck: approvers miss requests, urgent orders stall, and someone eventually just skips the process to get a shipment out. That skip is where control breaks. This guide covers how to structure approval routing that holds up as volume grows, without turning every purchase into a week of chasing signatures. ## What a PO Approval Workflow Controls **The workflow's job is to make sure every purchase is authorized, budgeted, and reviewed by the right level of authority before a PO reaches the supplier.** It sits between the requisition and the purchase order, gating the moment a request becomes a commitment. A well-built workflow enforces four things: - **Authorization.** Someone with the authority to spend has approved it. - **Budget.** The purchase fits within the department or project budget. - **Policy.** The buy follows procurement rules, preferred suppliers, contract pricing, required documentation. - **Separation.** The requester and the approver are different people. Get these right and approvals become a fast, invisible gate. Get them wrong and they become the reason people route around procurement entirely. ## Routing by Threshold, Department, and Budget **Approval routing sends each PO to different approvers depending on its dollar amount, the department it belongs to, and whether budget remains, so small buys move fast and large ones get scrutiny.** A flat "everything goes to the CFO" rule does not scale. Tiered thresholds do. A typical threshold structure looks like this: | PO amount | Approvers required | |---|---| | Under 1,000 | Department manager | | 1,000 to 10,000 | Manager plus department head | | 10,000 to 50,000 | Department head plus finance | | Over 50,000 | Finance plus executive sign-off | Department routing layers on top: a marketing PO goes through marketing's chain, an IT PO through IT's. Budget checks run in parallel, if the purchase would blow the quarter's budget, it routes for additional review regardless of amount. This tiering is what keeps a 400-dollar office supply order from waiting on the same approver as a 60,000-dollar equipment buy. Each gets the right level of attention and no more. It is the buy-side mirror of the routing logic in an [invoice processing automation](/blog/invoice-processing-automation) flow, where invoices route by amount and department too. ERPs model this with configurable approval hierarchies. Microsoft's Dynamics 365 documents purchasing workflows where requisitions and POs route by conditions like amount and department to defined approval steps ([Microsoft Dynamics 365 purchasing workflows](https://learn.microsoft.com/en-us/dynamics365/supply-chain/procurement/purchase-requisitions-workflow)), which is the same threshold logic encoded in the system rather than in people's heads. ## Requisition-to-PO Gating **The cleanest control point is the gate between the purchase requisition and the purchase order, where an intended purchase is approved before it becomes a commitment to a supplier.** The requisition is the internal request. The PO is the external commitment. Approval belongs at that boundary. When the [purchase requisition](/blog/purchase-requisition) is approved, it converts to a PO automatically, carrying its approved amounts and coding forward. This keeps the approval attached to the actual spend, so no one can inflate a PO after the requisition was signed off. Gating here also feeds a clean [procure-to-pay process](/blog/procure-to-pay-process), because every downstream step, receiving, matching, payment, traces back to an authorized request. Skipping the requisition step, letting people create POs directly, is where control erodes fastest. The requisition is not bureaucracy. It is the record that makes the approval mean something. ## Multi-Level Sign-Off and Segregation of Duties **Segregation of duties is the non-negotiable rule that the person who requests a purchase cannot also approve it, and multi-level sign-off enforces it as spend rises.** Treat it as a fraud and error control rather than a statement about trust. One person controlling request, approval, and payment is the classic path to both honest mistakes and dishonest ones. Public-sector and audit guidance treats this as fundamental. The U.S. Government Accountability Office's internal control standards call for key duties to be divided among different people to reduce the risk of error and fraud ([GAO Standards for Internal Control in the Federal Government](https://www.gao.gov/products/gao-14-704g)). The same principle applies to any purchasing operation. In practice this means: 1. The requester creates the requisition. 2. A different person approves it. 3. Receiving is recorded by someone other than the approver. 4. Payment is released by yet another role. Multi-level sign-off adds tiers for larger amounts, but the segregation rule holds at every tier. No matter how many approvers a PO passes through, none of them can be the person who requested it. ## What Happens to Approvals When the PO Goes Electronic **Once a PO releases as an [EDI 850 purchase order](/guides/edi/850-purchase-order), the approval chain is baked into what was sent; there is no recalling a transmitted 850 with a follow-up email.** Whatever got approved is now the binding commitment sitting in the supplier's system. That changes how you run the workflow in three ways. First, changes need their own gate. Amending an approved PO means sending an [EDI 860 change order](/guides/edi/860-purchase-order-change), and any change that moves the amount above a threshold delta should re-trigger approval rather than slip through as an edit. A workflow that gates the original 850 but lets 860s go out unreviewed has a hole exactly where price and quantity changes happen. Second, suppliers see none of your workflow. They see an 850 arrive, or not arrive. Internal approval latency is invisible to them except as order delay, so a PO that spends four days in an approver's queue reads to the supplier as a buyer who orders late, and your lead time quietly absorbs the difference. Third, the approval metadata, who approved, when, and at what threshold, belongs on the PO record itself, not in an email thread. When the invoice hits the [three-way match](/blog/three-way-match) months later and the price looks wrong, the auditor's first question is who approved this PO at this price. If the answer lives in an archived mailbox, the control existed but cannot be proven. ## Manual Approvals vs Automated Routing **Email approval fails quietly, and one stalled PO shows how.** An $18,000 equipment PO goes to a department head by email on a Tuesday; she is traveling, the request sits until the following Monday, and by then the requester has phoned the supplier to get things moving, committing spend nothing has authorized. Automated routing would have escalated to her delegate after 24 hours, blocked the requester from self-approving, and left a timestamped record of every step. That is the whole difference in one scenario: the rules run whether or not anyone remembers them, and the audit trail assembles itself. It is the same discipline that [purchase order automation](/purchase-order-automation) applies to PO creation and transmission: encode the rules once, and let the system enforce them every time. ## Frequently Asked Questions ### What is a purchase order approval workflow? A purchase order approval workflow is the defined path a PO takes to get authorized before it reaches a supplier. It routes each PO to the right approvers based on amount, department, and budget, enforces multi-level sign-off for larger spend, and keeps requesters from approving their own purchases. Its purpose is to control committed spend before money leaves the company. ### What are approval thresholds in a PO workflow? Approval thresholds are dollar limits that determine how many approvers a PO needs and who they are. A small purchase might need only a manager, while a large one requires finance and executive sign-off. Tiered thresholds let low-value orders move quickly while concentrating scrutiny on high-value spend, so approval effort matches financial risk. ### Why is segregation of duties important in purchasing? Segregation of duties prevents one person from controlling a purchase end to end, which reduces both error and fraud. The person who requests a purchase should not approve it, record its receipt, or release its payment. Dividing these duties creates natural checkpoints where mistakes and misuse get caught, which is why auditors and internal control standards require it. ### Who should approve a PO when the requester is the department head? Someone above or outside them: the next level up, a VP or director, or finance. Segregation of duties does not stop at any title, so the rule that requesters cannot approve their own purchases applies to department heads too. Many workflows route department-head requisitions straight to finance regardless of amount, which keeps the control intact without inventing an extra management layer. ### When should I automate PO approvals? Automate once manual approvals start stalling, usually when volume, approvers, or thresholds outgrow what an email chain can track reliably. Automated routing enforces the rules, records a complete audit trail, and escalates stuck requests. If people are already bypassing the process to get orders out, that is the clearest signal that manual approval has stopped scaling. --- # What Is a Purchase Requisition? (vs Purchase Order) Source: https://ordersync.io/blog/purchase-requisition > A purchase requisition is an internal request to buy, approved before it becomes a PO. See what it contains, the approval workflow, and requisition vs PO vs RFQ. A purchase requisition is an internal request to buy goods or services, raised by an employee or department and approved before any order goes out. It is intent, not a commitment. Once approved, it becomes a purchase order, the external document sent to the supplier. Requisition comes first, then approval, then the PO. **A purchase requisition is the internal form an employee raises to ask permission to buy something, and it must clear approval before procurement turns it into a purchase order sent to a supplier.** The requisition is the control point. It is where spend gets authorized, budgets get checked, and the wrong purchase gets stopped before it reaches a vendor. Skip it and you get maverick spend, surprise invoices, and no audit trail for who approved what. The confusion most people have is between the requisition and the purchase order. They look similar and carry similar line items, but they do different jobs, and mixing them up is how unapproved spend reaches suppliers. This guide covers what a requisition contains, how it differs from a PO and an RFQ, how the approval workflow runs, and how automation kills the email-and-spreadsheet version of this process. ## What a Purchase Requisition Contains **A purchase requisition captures who wants what, why, and against which budget, so an approver has everything needed to say yes or no.** It is a structured request, not a free-text email. A complete requisition includes: - **Requester and department.** Who is asking and which cost center absorbs the spend. - **Item or service description.** What is being bought, with quantity and unit of measure. - **Estimated price.** A budgetary figure, often from a catalog or a prior quote. - **Suggested supplier.** A preferred vendor, if the requester has one in mind. - **Need-by date.** When the goods or service are required. - **Business justification.** Why the purchase is necessary, which matters most for non-catalog or high-value requests. - **Account and budget code.** The general ledger line the spend hits. The requisition does not obligate the company to anything. No supplier sees it. It exists so the right people inside your organization can approve or reject the spend before it becomes real. ## What a Purchase Requisition Looks Like **A requisition form is a short, structured document, and every field exists to give the approver enough context to decide without a follow-up email.** Here is the standard layout with a filled-in example, a maintenance department requesting fall-protection gear: | Field | Example | |---|---| | Requisition number | REQ-2026-0341 | | Requester | D. Alvarez, Maintenance | | Department / cost center | Maintenance, CC-410 | | Date needed | 2026-08-15 | | Item description | Full-body safety harness, ANSI Z359.11 compliant | | Quantity | 12 | | Estimated unit cost | $145.00 | | Estimated total | $1,740.00 | | GL / budget code | 6220 (Safety equipment) | | Suggested supplier | Northline Safety Supply | | Business justification | Annual harness replacement per fall-protection inspection cycle | | Approver | Plant manager (threshold: under $5,000) | Copy this structure into whatever tool you use, a form, a ticket template, or an ERP screen. The two fields people skip most often, the GL code and the justification, are the two that slow approval down the most, because the approver has to chase them before deciding. ## Purchase Requisition vs Purchase Order vs RFQ These three documents sit next to each other in the [procure-to-pay process](/blog/procure-to-pay-process), and they are easy to mix up. Here is the clean distinction. | Document | Direction | Purpose | Binding? | |---|---|---|---| | **Purchase requisition** | Internal | Request and authorize a purchase | No, intent only | | **Request for quote (RFQ)** | Outbound to suppliers | Ask suppliers for pricing and terms | No, an inquiry | | **Purchase order** | Outbound to one supplier | Commit to buy at agreed terms | Yes, a contract | The sequence runs requisition, then optionally RFQ, then purchase order. A requisition is raised and approved internally. If the item needs competitive pricing, buyers send an RFQ to gather quotes. Once a supplier and price are set, procurement issues the [EDI 850 purchase order](/guides/edi/850-purchase-order), the binding document that commits the company to the buy. If you trade EDI, you can validate any outbound PO file against the spec with our [free EDI Inspector](/edi-inspector) before it goes out the door. The key line to remember: **a requisition is internal intent; a purchase order is an external commitment.** The moment of approval is where one becomes the other. ## The Approval Workflow **Requisition approval routes the request through the people authorized to release that level of spend, usually along dollar thresholds and department lines.** This is where financial control actually happens. A well-designed workflow matches approval authority to spend size. A typical multi-level routing looks like this: 1. **Requester submits.** The employee completes the requisition and submits it. 2. **Manager review.** The requester's line manager confirms the need and the budget. 3. **Threshold routing.** Low-value requests may need only one approval. A request over a set limit, say $5,000, routes to a department head. Over a higher limit, it reaches finance or a director. 4. **Procurement release.** Once approved, procurement converts the requisition to a purchase order and issues it to the supplier. Thresholds and multi-level routing are standard across every major ERP. In SAP, a requisition is created in transaction ME51N, and the document type carries the requisition through release strategies before it becomes a PO ([SAP purchase requisition help](https://help.sap.com/docs/SAP_S4HANA_ON-PREMISE)). JD Edwards handles requisitions through purchase order type "OR," a requisition order that flows into the standard PO process ([Oracle JD Edwards procurement documentation](https://docs.oracle.com/en/applications/jd-edwards/)). Microsoft Dynamics 365 provides a dedicated purchase requisition workflow with configurable approval steps ([Microsoft Learn purchase requisitions](https://learn.microsoft.com/en-us/dynamics365/supply-chain/procurement/purchase-requisitions-overview)). The mechanics differ, but the principle is identical everywhere: no requisition becomes a PO until the right person has approved it. ## How Automation Fixes the Requisition **Automated requisitioning replaces the inbox with defined rules, so requests route themselves and approved requisitions convert straight to purchase orders without retyping.** The email-and-spreadsheet version fails in predictable ways: requests sit unread for days, nobody can trace who approved what when a surprise invoice lands, and the approved request for 50 units at $10 drifts into a PO for 60 somewhere in the retyping. Automation removes each of those failure points. The requester picks items from a catalog or fills a structured form, the system checks the budget, applies the threshold rules, and pushes the request to the correct approver. Once approved, the requisition flows into the PO with no rekeying, which removes the drift that breaks downstream matching. The audit trail is automatic: every PO ties back to an approved requisition and a named approver. For the buying side to run cleanly, the outbound POs also need to reach suppliers without manual handoffs. That is where [purchase order automation](/blog/purchase-order-automation) takes over, issuing the 850 electronically and capturing the supplier's acknowledgment. Connect requisition, PO, and receipt in one flow through [ERP integration](/erp-integration) and the whole cycle stops leaking time and money. ## Frequently Asked Questions ### What is the difference between a purchase requisition and a purchase order? A purchase requisition is the internal request that authorizes spend before anything is ordered; a purchase order is the external, binding document the supplier actually receives. In most ERPs the two carry separate document numbers, and the PO record references the requisition number behind it. That reference is the thread auditors follow to confirm every order traces back to a named approval. ### Who raises a purchase requisition? Any employee or department that needs to buy goods or services can raise one. It typically starts with the person closest to the need, then routes to a manager and, depending on the dollar amount, to a department head or finance for approval before procurement issues the actual purchase order. ### Is a purchase requisition legally binding? No. A requisition is an internal document that authorizes a purchase within your organization. It does not create any obligation to a supplier. Only the purchase order, sent to and accepted by the supplier, is legally binding. ### What is the difference between a requisition and an RFQ? A purchase requisition is an internal request to authorize a purchase. A request for quote (RFQ) goes outbound to one or more suppliers asking for pricing and terms. The requisition comes first and stays inside the company. The RFQ is a sourcing step that can follow it when the item needs competitive pricing. ### Can a requisition be changed after it is approved? Usually only by going back through approval. A change to the amount, quantity, or supplier invalidates the original sign-off, so most policies route the edited requisition through the approval chain again, or at minimum to the approver whose threshold the new amount crosses. Minor edits, like a corrected ship-to address or an adjusted delivery date, are typically allowed without re-approval, but the policy should say so explicitly. --- # Scheduling Agreement vs Blanket Order Source: https://ordersync.io/blog/scheduling-agreement-vs-blanket-order > Blanket orders, standing orders, and scheduling agreements are three different long-term buying instruments. Here is how each one works and how EDI feeds them. A blanket order commits a total quantity that the buyer draws down through separate releases. A standing order ships a fixed quantity on a fixed cadence. A scheduling agreement is a blanket order with the delivery schedule embedded inside it, fed and updated by EDI 830 and 862 transactions rather than by manual release orders. **Buyers use three long-term instruments to commit volume without cutting a new purchase order every week, and people mix them up constantly: the blanket order, the standing order, and the scheduling agreement.** They look similar on a screen. The difference is where the delivery schedule lives and how it gets updated. Get that wrong during EDI setup and you either over-ship, under-ship, or consume available-to-promise inventory you were not supposed to touch yet. If you supply automotive, aerospace, or any high-volume manufacturing account, you will meet all three. Here is what each one actually does. ## What Is a Blanket Order? **A blanket order is a single agreement that commits a total quantity and price over a period, which the buyer then draws against through separate release documents called call-offs.** The blanket itself is a ceiling, not a shipping instruction. You do not ship anything against a blanket until a release arrives. The important accounting point: the committed blanket quantity does not consume available-to-promise (ATP) inventory until a release is issued. A blanket for 100,000 units over a year is a commitment, but only the released 5,000 units for next week actually reserve stock. Treat the whole blanket as demand and you will show phantom shortages. In X12 terms, the blanket usually starts as an [EDI 850 purchase order](/guides/edi/850-purchase-order) flagged as a blanket, and each release comes as a subsequent 850 or an 862 shipping schedule referencing the original number. Changes to the blanket flow through an [EDI 860 purchase order change](/guides/edi/860-purchase-order-change). For release mechanics in detail, see our [blanket purchase order guide](/blog/blanket-purchase-order). ## What Is a Standing Order? **A standing order is a recurring order for a fixed quantity delivered on a fixed cadence, set up once and repeated until someone cancels it.** Think of a distributor that takes 40 cases of the same SKU every Tuesday. There is no forecast and no per-release negotiation. The template repeats. Standing orders are common in food service, DSD beverage, and consumables. They are simple to automate because nothing changes between cycles. The risk is the opposite of a blanket: because the quantity is fixed, a standing order does not flex when the buyer's real demand moves, so it tends to build either backlog or excess unless someone reviews it. Picture that standing 40-cases-every-Tuesday order still arriving months after the buyer's actual sell-through fell to 25 cases a week: nobody cancels it, nobody flags it, and the surplus quietly piles up in the buyer's back room until someone finally audits the recurring orders. Most ERPs model a standing order as a recurring sales order template rather than a distinct document type. It is the least EDI-driven of the three. ## What Is a Scheduling Agreement? **A scheduling agreement is a blanket order with the delivery schedule built directly into the agreement, updated continuously by EDI rather than by discrete release orders.** The term comes from SAP, where it is a formal document type, but the concept exists in every major ERP under different names. Instead of the buyer cutting a fresh release each week, the buyer transmits a rolling schedule. Firm dates for the near term, forecast dates further out, all against the same agreement number. The supplier reads the schedule lines and ships to them. This is the model automotive OEMs run on, because it lets them adjust a supplier's daily ship plan without renegotiating the contract. The two EDI transactions that feed a scheduling agreement are the [EDI 830 planning schedule](/guides/edi/830-planning-schedule) (forecast and material authorization) and the [EDI 862 shipping schedule](/guides/edi/862-shipping-schedule) (firm, near-term ship instructions). We break the difference apart in [EDI 830 vs 862](/blog/edi-830-vs-862). ### How SAP Models It In SAP SD (the sell side), scheduling agreements use document types **LZ** (with delivery schedules) and **LP** or **LPA** (forecast and JIT variants), as covered in [SAP's own documentation](https://help.sap.com/docs/SAP_S4HANA_ON-PREMISE). On the MM buy side, you create a scheduling agreement with transaction **ME31L**, maintain schedule lines with **ME38**, generate releases with **ME84**, and the system stores the transmitted releases in table **EKEK**. The reason the schedule lives inside the agreement is control. The OEM authorizes you to fabricate up to one cumulative point and buy raw material to a further-out point, capping their liability if the program is cancelled. That cumulative-quantity mechanism is its own topic, covered in [cumulative quantity accounting in automotive EDI](/blog/cumulative-quantity-cum-accounting). > Rule of thumb: if the buyer sends you a rolling forecast that firms up as dates approach, you are on a scheduling agreement, not a blanket. If the buyer cuts a discrete release each time, it is a blanket. ## The Cross-ERP Rosetta Table **Every ERP implements the same idea with a different label, which is why teams argue about definitions when they actually mean the same thing.** Use this table to translate. | ERP | Instrument name | Create / release mechanism | EDI feed | |---|---|---|---| | SAP | Scheduling agreement (LZ / LP / LPA) | ME31L create, ME38 schedule lines, ME84 release, table EKEK | 830, 862 | | SAP | Blanket / outline agreement (contract) | Contract plus release orders | 850 releases | | Oracle JD Edwards | Blanket order plus release | Blanket order entry, release with P420111 | 830, 862, 850 | | Microsoft Dynamics 365 F&O | Purchase / sales agreement plus release order | Agreement, then release order | 830, 862, 850 | | Infor M3 | Delivery schedule | RSS100 delivery schedule maintenance | 830, 862 | | SYSPRO | Blanket sales order with releases | Blanket sales order, release lines | 850 releases | Microsoft documents the agreement-and-release-order pattern in its supply chain guidance ([learn.microsoft.com, Purchase and sales agreements](https://learn.microsoft.com/en-us/dynamics365/supply-chain/procurement/purchase-agreements)). The ASC X12 standard defines the underlying transaction sets that carry the schedule ([x12.org transaction sets](https://x12.org/products/transaction-sets)). ## Which One Should You Expect? **Match the instrument to the buyer's demand pattern.** Stable, unchanging demand suits a standing order. A committed annual volume with lumpy, buyer-initiated pulls suits a blanket. Continuous production demand that flexes weekly suits a scheduling agreement. The operational mistake that costs money is treating a scheduling agreement like a blanket. If you wait for a discrete release that never comes, because the schedule was already sitting in the 830, you miss ship dates and take a scorecard hit. Read the inbound EDI, confirm which model the account uses, and configure your order pipeline to match. You can inspect any inbound 830 or 862 to see how the schedule lines and quantities are structured with our [free EDI Inspector](/edi-inspector) before you wire it into your ERP. For the broader connection between these documents and your back office, see [ERP integration](/erp-integration) and [order processing automation](/order-processing-automation). ## Frequently Asked Questions ### Is a scheduling agreement the same as a blanket purchase order? Not quite. A scheduling agreement is a type of blanket where the delivery schedule is embedded in the agreement and updated by EDI. A plain blanket purchase order commits quantity and price but relies on separate release documents to authorize each shipment. The scheduling agreement automates that release step through 830 and 862 transactions. ### Does a blanket order reserve inventory? The committed blanket quantity does not consume available-to-promise inventory on its own. Only the released quantity against the blanket reserves stock. Treating the full blanket as active demand is a common configuration error that creates phantom shortages in your ERP. ### What EDI documents feed a scheduling agreement? Two transactions. The EDI 830 planning schedule carries the forecast and, in automotive, the authorization to commit labor and material. The EDI 862 shipping schedule carries firm, near-term ship or delivery instructions. They are designed to work together, with the 862 supplementing the 830. ### What is the difference between a standing order and a scheduling agreement? A standing order ships a fixed quantity on a fixed cadence with no forecast. A scheduling agreement carries a rolling schedule that changes as the buyer's demand changes, with firm near-term dates and forecast dates further out. Standing orders are simplest; scheduling agreements handle variable production demand. ### How do I tell from the EDI whether an account uses a blanket or a scheduling agreement? Look at what arrives. Discrete releases arriving as separate [850s](/guides/edi/850-purchase-order) that reference a contract number mean a blanket. Rolling [830](/guides/edi/830-planning-schedule) or [862](/guides/edi/862-shipping-schedule) schedules that firm up as dates approach mean a scheduling agreement. --- # Self-Billing and ERS: Buyers Invoice Themselves Source: https://ordersync.io/blog/self-billing-ers-explained > Self-billing and Evaluated Receipt Settlement let the buyer create the invoice from the PO and goods receipt. Here is how it works in X12, EDIFACT, SAP, and Oracle. In self-billing, also called Evaluated Receipt Settlement (ERS), the buyer generates the invoice from the purchase order and the goods receipt, without waiting for the supplier's invoice. The system matches the receipt to the ASN, prices it from the PO, and pays automatically. It removes supplier invoicing entirely and eliminates most invoice-matching disputes. **Self-billing flips invoicing on its head: the buyer, not the supplier, creates the invoice.** The buyer already knows the price from the purchase order and knows what arrived from the goods receipt, so it computes the amount owed and pays, no supplier invoice required. Automotive and large retail run on this model because it strips out an entire class of invoice-matching disputes. It is tightly coupled to scheduling agreements and to the [EDI 856 ship notice](/guides/edi/856-ship-notice) that confirms receipt. The mechanics confuse people for two reasons: the naming is inconsistent across standards and ERPs, and ASC X12, unlike EDIFACT, never defined a self-billed invoice transaction at all. That second point clears up most of the confusion, so it comes first. ## There Is No X12 "Self-Billed Invoice" Transaction **Here is the under-explained fact: ASC X12 has no dedicated self-billed invoice transaction set.** People search for one and never find it, because it does not exist. Self-billing in the X12 world rides on transactions that already exist, driven by the buyer's ERS or pay-on-receipt program: - **[EDI 861 Receiving Advice](/guides/edi/861-receiving-advice)** records what the buyer received, the trigger for settlement - **[EDI 810 Invoice](/guides/edi/810-invoice)** carries the invoice, generated by the buyer internally rather than sent by the supplier - **EDI 812 Credit/Debit Adjustment** handles corrections, short-pays, and adjustments after settlement The 810 you see in a self-billing flow was not keyed by the supplier. The buyer's system produced it from the PO and the goods receipt. Nothing in the transaction set itself signals "self-billed"; the context is the buyer's ERS program. Oracle states this equivalence directly. In its documentation, Pay on Receipt, ERS, and Self-Billing are the same feature: an invoice generated internally from the purchase order and the goods receipt, not from a supplier submission ([docs.oracle.com, Pay on Receipt / ERS](https://docs.oracle.com/en/cloud/saas/procurement/)). ## How ERS Actually Runs **Evaluated Receipt Settlement pays the supplier by matching the goods receipt to the purchase order and pricing from the PO, with no supplier invoice in the loop.** The sequence looks like this: 1. The supplier ships against a scheduling agreement or PO and sends an ASN (856 or [EDIFACT DESADV](/guides/edi/edifact-desadv)). 2. Goods arrive and the buyer posts a goods receipt, matched to the ASN. 3. The buyer's ERS run picks up the receipt, prices each line from the PO, calculates tax, and creates the settlement document. 4. The buyer pays on terms and, in EDI relationships, transmits the settlement to the supplier so the supplier can clear its receivable. Because pricing comes from the agreed PO and quantity comes from the verified receipt, the classic three-way-match failure, invoice versus PO versus receipt, cannot happen. The invoice is derived from the two documents it would otherwise be matched against. For the matching problem this replaces, see [three-way match explained](/blog/three-way-match). ## EDIFACT Does Have Self-Billing Codes **Unlike X12, EDIFACT carries self-billing explicitly inside the [INVOIC message](/guides/edi/edifact-invoic) through the BGM document-name code.** The BGM segment's document-name code (data element 1001) distinguishes a self-billed document from an ordinary one: | BGM 1001 code | Document | |---|---| | **389** | Self-billed invoice | | **261** | Self-billed credit note | | **527** | Self-billed debit note | These codes are defined in the GS1 EANCOM guidelines for the INVOIC message ([gs1.org EANCOM](https://www.gs1.org/standards/edi-eancom)) and the underlying UN/EDIFACT directories ([unece.org UN/EDIFACT](https://unece.org/trade/uncefact/introducing-unedifact)). So an EDIFACT partner can send a single INVOIC and flag it as self-billed, where an X12 partner would use a plain 810 whose self-billed nature is understood from the ERS program context. ## How SAP and Oracle Implement It **SAP runs ERS through transaction MRRL and treats certain scheduling agreements as invoiceable only via self-billing.** MRRL performs the evaluated receipt settlement run: it reads goods receipts flagged for ERS, prices from the PO or scheduling agreement, and posts the settlement without a supplier invoice. SAP documents ERS as part of its logistics invoice verification ([help.sap.com, Evaluated Receipt Settlement](https://help.sap.com/docs/SAP_ERP)). For automotive, SAP's scheduling agreement type **LZS** (external service, self-billing) is invoiceable only through the self-billing IDoc, transmitted as **SBINV** / **GSVERF**. The supplier posts the buyer's self-billing document to clear its receivable rather than issuing its own invoice. That is the technical expression of "the buyer invoices themselves." Oracle, as noted, folds all of this into one feature. Whether you call it Pay on Receipt, ERS, or Self-Billing, the engine generates the invoice from the PO plus the goods receipt. ## When Self-Billing Makes Sense **Self-billing pays off when volume is high, pricing is stable and contract-driven, and receipts are reliably captured, which is exactly the profile of a scheduling agreement relationship.** The prerequisites are real: prices must be locked in the PO or agreement, tax handling must be agreed in advance, and the buyer's goods receipt must be accurate, because the supplier is now trusting the buyer's count. Where those conditions hold, it removes supplier invoicing labor, compresses the payment cycle, and cuts disputes. Where they do not, spot pricing, frequent price changes, unreliable receiving, conventional invoicing is safer. It also depends on clean ASN and receiving data, which is why the 856 ship notice and 861 receiving advice are the documents that make or break an ERS program. You can validate the 810, 856, and 861 files in a self-billing flow with our [free EDI Inspector](/edi-inspector) before wiring them to your ERP. To connect settlement documents to your back office automatically, see [ERP integration](/erp-integration). ## Frequently Asked Questions ### What is self-billing in EDI? Self-billing is an arrangement where the buyer generates the invoice from the purchase order and goods receipt, rather than the supplier sending one. It is also called Evaluated Receipt Settlement (ERS) or Pay on Receipt. The buyer prices the verified receipt from the agreed PO and pays automatically. ### Is there a dedicated X12 transaction for self-billed invoices? No. ASC X12 has no dedicated self-billed invoice transaction set. Self-billing rides on existing transactions: the 861 receiving advice triggers it, the 810 carries the buyer-generated invoice, and the 812 handles adjustments. EDIFACT differs, flagging self-billing inside the INVOIC message with BGM code 389. ### What is the difference between ERS and self-billing? They describe the same thing. Evaluated Receipt Settlement (ERS) is the technical term for settling payment from the goods receipt and PO without a supplier invoice. Self-billing is the commercial term. Oracle explicitly equates Pay on Receipt, ERS, and Self-Billing as one feature. ### How does SAP handle evaluated receipt settlement? SAP runs ERS through transaction MRRL, which reads goods receipts flagged for ERS, prices from the PO or scheduling agreement, and posts settlement without a supplier invoice. Automotive scheduling agreement type LZS is invoiceable only through the self-billing IDoc, transmitted as SBINV or GSVERF. ### Why does self-billing reduce invoice disputes? Because the invoice is derived from the purchase order and the verified goods receipt, the usual three-way-match failure between invoice, PO, and receipt cannot occur. Pricing comes from the agreed PO and quantity from the confirmed receipt, so there is nothing to mismatch, provided the receipt data is accurate. --- # Three-Way Match: How It Works (2-Way vs 3-Way) Source: https://ordersync.io/blog/three-way-match > Three-way match compares the PO, goods receipt, and invoice before payment. See how 2-way, 3-way, and 4-way matching work, with tolerances and real ERP setup. A three-way match compares the purchase order, the goods receipt, and the supplier invoice before an invoice is paid. Quantities and prices on all three must agree within tolerance. If they match, the payable posts and payment is scheduled. If they do not, the system blocks the invoice for review, preventing overpayment and fraud. **Three-way match is the accounts payable control that checks the purchase order, the goods receipt, and the supplier invoice against each other before a single dollar is paid.** All three documents have to agree on what was ordered, what arrived, and what is being billed. When they line up within tolerance, the invoice clears and payment goes out. When they do not, the invoice is blocked until someone resolves the difference. This is the control that stops you paying for 120 cases when 100 arrived, or paying $14 a unit when the PO said $12. Without it, duplicate invoices, price creep, and invoice fraud slip straight through to payment. This guide covers how the match works, the difference between 2-way, 3-way, and 4-way matching, how tolerances and blocking behave, and how the major ERPs actually implement it. ## How the Three-Way Match Works **The three-way match reconciles three source documents: the PO says what you ordered, the goods receipt says what arrived, and the invoice says what you are billed.** Each is one leg of the match. The system compares quantity and price across all three and only releases the invoice when they agree. Here is the flow in the [procure-to-pay process](/blog/procure-to-pay-process): 1. **Purchase order.** Procurement issues the [EDI 850 purchase order](/guides/edi/850-purchase-order): 100 cases at $12. 2. **Goods receipt.** Receiving logs what physically arrives against the PO. The dock confirms 100 cases. A supplier often sends an [EDI 856 ship notice](/guides/edi/856-ship-notice) ahead of the delivery, and some trading partners return an [EDI 861 receiving advice](/guides/edi/861-receiving-advice) to report what was accepted. 3. **Supplier invoice.** The supplier bills you with an [EDI 810 invoice](/guides/edi/810-invoice): 100 cases at $12, referencing the PO number. The three agree, so the payable posts. The next section walks through what happens when they do not. ## A Worked Three-Way Match **Put real numbers on the three legs and the control becomes obvious.** Say the PO ordered 100 cases at $12.00, the dock received 90, and the invoice bills 100 cases at $14.00: | Leg | Document | Quantity | Unit price | Line total | |---|---|---|---|---| | Ordered | Purchase order | 100 cases | $12.00 | $1,200.00 | | Received | Goods receipt | 90 cases | n/a | n/a | | Billed | Invoice | 100 cases | $14.00 | $1,400.00 | Two legs fail here: | Check | Variance | What a tolerance rule does | |---|---|---| | Quantity: invoice vs receipt | 10 cases billed but never received | Far outside any sane quantity tolerance; invoice blocked until the shortage is resolved or a corrected invoice arrives | | Price: invoice vs PO | $2.00 per case over the PO price, about 17% | A typical 2% price tolerance passes rounding pennies, not $2.00 a case; blocked pending a credit or a confirmed price change | If the invoice had instead billed 90 cases at $12.02, both variances would land inside normal tolerances and the invoice would clear without a human touching it. That is the entire design: block the $200 problems, wave through the 2-cent ones. To run this check on your own documents, drop the PO, receipt and invoice into the [free 3-way match checker](/tools/three-way-match). It reads PDFs, spreadsheets and EDI, applies your tolerances, and lists each exception with the amount to hold back. ## 2-Way vs 3-Way vs 4-Way Match The number in front of "way" counts how many documents get compared. Which one you use depends on whether goods physically change hands and how tight your controls need to be. | Match type | Documents compared | When it is used | |---|---|---| | **Two-way match** | PO and invoice | Services or anything with no goods receipt | | **Three-way match** | PO, goods receipt, and invoice | Physical goods, the standard control | | **Four-way match** | PO, goods receipt, invoice, and inspection | Regulated or high-value goods needing acceptance | **Two-way match** compares the PO to the invoice only. It fits services, subscriptions, and consulting, where there is nothing to receive on a dock. There is no receipt leg, so the control is weaker, but for a monthly retainer there is nothing to physically count. **Three-way match** adds the goods receipt. This is the default for physical goods because it proves the items actually arrived before you pay for them. It is the single most common AP control in mid-market and enterprise procurement. **Four-way match** adds an inspection or acceptance step. Before the invoice clears, quality has to sign off that the goods passed inspection. You see this in pharmaceuticals, aerospace, and other regulated categories where receiving the box is not the same as accepting the contents. ## Tolerances and What Happens When It Fails **Tolerances let small, expected variances pass without a human, while real discrepancies get blocked.** No supplier bills to the exact penny every time. Freight rounding, minor quantity differences, and unit-price fractions are normal. A tolerance is the band within which the system accepts the mismatch and pays anyway. Set a price tolerance of, say, 2% and a quantity tolerance of one unit, and an invoice that lands inside those bands clears automatically. Anything outside gets held. When the match succeeds within tolerance, the system clears the GR/IR account, the goods-receipt/invoice-receipt clearing account that temporarily holds the value between receiving the goods and receiving the invoice, and posts the payable. When it fails, the invoice is blocked for review. AP investigates, gets a corrected invoice or a credit, and only then releases payment. That block is the whole point. It is what prevents overpayment and catches invoice fraud before cash leaves the building. ## How the Major ERPs Implement It The concept is universal. The setup screens differ by system. - **SAP.** Invoice matching runs through Logistics Invoice Verification in transaction MIRO. Tolerance keys are configured in transaction OMR6, and the GR/IR clearing account absorbs the timing difference between goods receipt and invoice receipt ([SAP Logistics Invoice Verification help](https://help.sap.com/docs/SAP_S4HANA_ON-PREMISE)). - **NetSuite.** The "3 Way Match Vendor Bill Approval Workflow" requires the Advanced Receiving feature, which makes the item receipt a separate leg. The flow becomes PO, then item receipt, then vendor bill, then payment ([NetSuite three-way match help on docs.oracle.com](https://docs.oracle.com/en/cloud/saas/netsuite/)). - **Microsoft Dynamics 365 Finance and Operations.** Price and quantity tolerances live under Accounts payable invoice matching setup, where you define matching policies per item or vendor ([Microsoft Learn invoice matching](https://learn.microsoft.com/en-us/dynamics365/finance/accounts-payable/accounts-payable-invoice-matching)). - **Sage X3.** Tolerance codes are maintained in the GESMAT setup, controlling how much variance the system accepts before blocking a supplier invoice (see Sage X3's matching-tolerance documentation at [online-help.sagex3.com](https://online-help.sagex3.com/)). Whatever the system, the pattern holds: define your tolerances, run the match at invoice entry, auto-clear what fits, block what does not. Connecting receiving, invoicing, and your ledger through [ERP integration](/erp-integration) is what lets the match run the moment the invoice arrives instead of at month-end. ## Why It Matters and How Automation Helps The three-way match is your first line of defense against paying too much. It catches duplicate invoices, quantities you never received, and prices that crept above the PO. It is also a core anti-fraud control, because a fabricated invoice with no matching receipt has nowhere to hide. Run manually, the match is slow and error-prone. Someone pulls the PO, hunts for the packing slip, eyeballs the invoice, and keys the result. High volume turns that into a backlog, and rushed reviewers wave through mismatches to clear the queue. Automated matching flips it. The system compares all three documents at invoice entry, clears everything inside tolerance, and routes only the true exceptions to a person. For suppliers who send PDF invoices instead of an 810, [AI-powered order automation](/ai-order-automation) extracts the line items so they can be matched against the PO without rekeying. If you exchange EDI, validate the 810 and 856 files against the spec with our [free EDI Inspector](/edi-inspector) before they hit your matching engine, so a malformed segment does not masquerade as a mismatch. To run the match itself, drop the PO, receipt and invoice (PDF, Excel, CSV or EDI) into the [free 3-way match checker](/tools/three-way-match), which lists every line where the order, the receipt and the invoice disagree and tells you what to approve and what to query. Clean documents in means fewer false blocks and faster payment on the invoices that are genuinely correct. ## Frequently Asked Questions ### What is a three-way match in accounts payable? It is the pre-payment control that reconciles three documents: the purchase order (what you agreed to buy), the goods receipt (what arrived on the dock), and the supplier invoice (what you are being billed). The comparison runs on quantity and price at the line level, not just invoice totals. Most ERPs run it automatically at invoice entry and block anything that falls outside tolerance. ### What is the difference between a 2-way and 3-way match? A two-way match compares only the purchase order and the invoice, used for services or anything with no physical goods receipt. A three-way match adds the goods receipt as a third document, proving the items actually arrived before payment. Three-way is the standard control for physical goods. ### What is a 4-way match? A four-way match adds an inspection or acceptance step to the three-way match. Before the invoice clears, quality has to confirm the goods passed inspection. It compares the PO, goods receipt, invoice, and inspection record. It is used in regulated or high-value categories like pharmaceuticals and aerospace. ### What happens when a three-way match fails? The system blocks the invoice and holds payment. Accounts payable investigates the discrepancy, whether it is a quantity difference, a price gap, or a missing receipt, and gets a corrected invoice or a credit from the supplier. Payment is released only after the mismatch is resolved or falls back within tolerance. ### What is the GR/IR account in three-way matching? GR/IR stands for goods-receipt/invoice-receipt. It is a clearing account that holds the value of received goods between the moment they are received and the moment the invoice posts. When the three-way match succeeds within tolerance, the system clears the GR/IR account and posts the payable to accounts payable. --- # 8 SPS Commerce Alternatives in 2026 (Honest Comparison) Source: https://ordersync.io/blog/sps-commerce-alternatives > The best SPS Commerce alternatives for 2026: TrueCommerce, Cleo, Orderful, OrderSync, Conexiom, and more. Pricing, format coverage, and who each one actually fits. The best SPS Commerce alternative depends on why you're switching. TrueCommerce offers a similar retail network at a lower entry price, Orderful modernizes pure EDI with API-first tooling, Cleo covers enterprise integration, and OrderSync or Conexiom automate the PDF and email orders SPS cannot process. Match the platform to your order mix and budget. SPS Commerce is the biggest name in retail EDI for a reason: 45,000+ pre-connected trading partners, full X12 compliance, and a public company balance sheet ($751.5 million revenue per its [FY2025 Form 10-K](https://investors.spscommerce.com/)). But biggest is not best fit for everyone. The complaints that push suppliers to evaluate alternatives are consistent with SPS's own [G2 sentiment summary](https://www.g2.com/products/sps-commerce-fulfillment-edi/competitors/alternatives): poor customer support (17 mentions), expensive (11 mentions), and difficult implementation (7 mentions). This guide compares eight real alternatives honestly, including where SPS is still the right answer. ## Why suppliers look for an SPS Commerce alternative Three patterns come up again and again: 1. **Per-trading-partner pricing that scales linearly.** SPS's average revenue per user was $14,350 per its FY2025 10-K (see the full [SPS Commerce pricing breakdown](/edi-pricing/sps-commerce)). Every new retail connection adds setup and recurring fees, so costs grow with your partner count. That's painful for suppliers with a long tail of smaller accounts. 2. **Slow implementations.** Typical timelines run 8+ weeks, and BBB complaints document cases stretching far longer, along with billing surprises and price increases without warning. 3. **EDI-only coverage.** SPS does not process PDF, email, or fax purchase orders. If half your order volume arrives in an inbox, SPS automates the other half and leaves the rest as manual data entry. Which of those three is your problem determines which alternative fits. ## SPS Commerce alternatives at a glance | Platform | Best for | Entry pricing | Handles PDF/email orders? | | --- | --- | --- | --- | | TrueCommerce | SMB/mid-market retail suppliers | ~$200–500/mo tiers | No | | Cleo | Enterprise EDI + API + MFT | Enterprise (quote) | No | | Orderful | Developer teams, logistics | $189/mo per partner (Web EDI), from $399/mo (Integrated) | No | | OrderSync | Distributors with mixed EDI + email/PDF orders | Flat monthly, no per-partner fees | Yes | | Conexiom | Large industrial distributors | Not published (annual subscription in customer packs) | Yes (no full EDI VAN) | | Esker | Enterprise order-to-cash suites | Enterprise (quote) | Yes (one module of ten) | | eZCom (Lingo) | Small suppliers, marketplaces/dropship | SMB web EDI | No | | DataTrans (WebEDI) | Budget web EDI, QuickBooks shops | SMB web EDI | No | ## 1. TrueCommerce: closest like-for-like network replacement TrueCommerce is the most direct swap: a full [EDI VAN](/blog/edi-van-explained) with X12 and EDIFACT support and a claimed 120,000+ pre-connected trading partners (expanded through its B2BGateway and DiCentral acquisitions). Entry pricing tiers around $200–500/month undercut SPS's typical cost, and ERP coverage is broad: Dynamics 365, NetSuite, QuickBooks, Sage, Acumatica, SAP Business One, Epicor. **Watch for:** like SPS, TrueCommerce does not process PDF, email, or fax orders. It has been owned by private equity (Welsh, Carson, Anderson & Stowe) since 2020, and renewal-cycle pricing pressure is a documented pattern. Per-document overage fees and setup costs add to the sticker price. See our full [OrderSync vs TrueCommerce comparison](/ordersync-vs/truecommerce), or the [TrueCommerce alternatives roundup](/blog/truecommerce-alternatives) if you're weighing both incumbents. ## 2. Cleo: enterprise integration beyond EDI Cleo Integration Cloud combines EDI, API, and managed file transfer in one platform, serving 4,000+ middle-market and enterprise customers in transportation, wholesale distribution, and manufacturing. Self-service mapping is genuinely fast ("a new mapping completed in a day or two," per a G2 review), and it has been a G2 Leader for eight consecutive years. **Watch for:** Cleo's AI handles EDI error resolution and compliance monitoring. It does not extract data from unstructured PDF or email purchase orders. G2 reviewers note complex initial setup for the cloud version. If your only problem is inbound order processing, a full iPaaS is more platform than you need. See [OrderSync vs Cleo](/ordersync-vs/cleo). ## 3. Orderful: API-first EDI for developer teams Orderful replaces the traditional VAN with a JSON-native API, self-service partner onboarding, and a published 9-day average trading-partner onboarding time. Pricing is published: $189/month per trading partner for Web EDI, and the Integrated tier from $399/month. It earned NetSuite Built-For status in 2024 and has a strong logistics footprint (NFI, J.B. Hunt, XPO, Kuehne+Nagel). **Watch for:** Orderful does not process PDF, email, or fax purchase orders, and its customer base skews logistics and freight rather than food or distribution. See [OrderSync vs Orderful](/ordersync-vs/orderful). ## 4. OrderSync: every order format, not just EDI [OrderSync](/) is built for the problem SPS doesn't touch: distributors and manufacturers whose orders arrive as a mix of EDI, emailed PDFs, spreadsheets, faxes, and voicemails. It runs full X12 EDI (850, 855, 856, 810, [860](/guides/edi/860-purchase-order-change), 997 and more) alongside AI extraction of unstructured orders, writes clean sales orders into your ERP, and prices as a flat monthly fee. No per-trading-partner charges, so the long tail of small accounts costs nothing extra. Where SPS asks your trading partners to join its network, OrderSync meets your customers wherever they already send orders. Implementation is measured in weeks, not quarters, and the platform has particular depth in food and beverage distribution: [grocery EDI](/blog/grocery-edi), catch weight, and [retailer compliance programs like Kroger's](/edi-compliance/kroger). You can also parse and validate any X12 file free with the [EDI Inspector](/edi-inspector), no signup required. **Watch for:** OrderSync is a young company compared to SPS's 20+ years. The trade-off is a modern AI-native platform and founder-level support versus an incumbent's installed base. If you only need classic retail EDI compliance and nothing else, a pure VAN may suffice. Full breakdown: [OrderSync vs SPS Commerce](/ordersync-vs/sps-commerce). ## 5. Conexiom: enterprise sales order automation Conexiom converts email, PDF, spreadsheet, and EDI 850 purchase orders into ERP sales orders using supervised ML plus generative AI, trained on over a billion PO lines. It claims 16 of the top 20 industrial distributors as customers (Grainger, Bunzl, Rexnord), and its Ideal Order Platform runs 75+ validation checks with over 85% touchless processing. **Watch for:** Conexiom accepts EDI 850s as a document input but is not an EDI VAN. There are no 810, 856, or 997 acknowledgment flows, so you still need an EDI provider for retail compliance. There's no public API, template mapping is still required per trading partner on some tiers, and pricing is enterprise-grade (SelectHub estimates $10K–$100K+ annually). See the full [OrderSync vs Conexiom comparison](/ordersync-vs/conexiom). ## 6. Esker: full order-to-cash suite Esker (private since March 2025, owned by Bridgepoint and General Atlantic) offers order management as one module of a ten-module order-to-cash and procure-to-pay suite, with roughly 3,000 enterprise customers and €205.3 million in 2024 revenue. Its Synergy Transformer AI reports over 92% document recognition, and it's a Gartner Magic Quadrant Leader in AP Applications. **Watch for:** Esker is enterprise-only, realistically out of reach for distributors under $100M revenue, with multi-quarter implementations (implementation services were 17% of its 2024 revenue). Order management is a module, not the product. See [OrderSync vs Esker](/ordersync-vs/esker). ## 7. eZCom Software (Lingo): small-supplier web EDI eZCom's Lingo platform is web-based EDI aimed at smaller suppliers selling into major retailers and marketplaces, with solid support for dropship programs. For a supplier with a handful of retail connections and no ERP integration needs, it's a serviceable low-cost option. **Watch for:** web EDI means your team still keys data into a portal. It removes the VAN cost, not the manual work. No unstructured order processing. ## 8. DataTrans Solutions (WebEDI): budget option for QuickBooks shops DataTrans WebEDI is a budget-friendly web EDI portal with QuickBooks integration, popular with very small suppliers meeting their first retail compliance mandate. **Watch for:** the same web-EDI ceiling. Fine for a few documents a week, painful at volume, and no PDF or email order automation. ## One name to cross off your list: Stedi Older "SPS alternatives" roundups still list Stedi. As of 2026, Stedi has pivoted entirely to healthcare. Its own homepage describes it as "the only programmable healthcare clearinghouse," and its prior B2B retail EDI APIs are explicitly deprecated in its own blog posts. If you're evaluating B2B order or retail EDI platforms, Stedi is no longer in that market. ## How to choose - **Your only problem is SPS's price:** TrueCommerce or Orderful will run the same X12 flows for less. - **You need EDI plus APIs and file transfer at enterprise scale:** Cleo. - **Your orders arrive as PDFs and emails as well as EDI:** OrderSync (mid-market, flat pricing, food/distribution depth) or Conexiom (enterprise industrial). - **You want a full order-to-cash suite and have an enterprise budget:** Esker. - **You're a small supplier with one or two retail mandates:** eZCom or DataTrans. For the broader landscape, see our [best EDI software comparison](/blog/best-edi-software-2026) and the [EDI transaction set guides](/guides/edi) covering the [850](/guides/edi/850-purchase-order), [860](/guides/edi/860-purchase-order-change), and [810](/guides/edi/810-invoice). ## FAQ ### What is the cheapest SPS Commerce alternative? For pure web EDI, DataTrans and eZCom start lowest. For integrated EDI, Orderful publishes $189/month per trading partner for Web EDI and from $399/month for its Integrated tier, versus SPS's average revenue per customer of $14,350/year per its FY2025 10-K. Our [SPS Commerce pricing page](/edi-pricing/sps-commerce) breaks down where that number comes from. Flat-fee platforms like OrderSync don't charge per trading partner, which removes the multiplier that makes per-partner pricing expensive as you add retailers. ### Does any SPS Commerce alternative handle email and PDF orders? Yes, and that's the dividing line in this market. TrueCommerce, Cleo, Orderful, eZCom, and DataTrans are EDI-only, like SPS. OrderSync, Conexiom, and Esker process unstructured orders (PDF, email, spreadsheets). Of those, OrderSync also runs a full X12 EDI flow in the same platform, while Conexiom requires a separate EDI provider for acknowledgments and invoices. ### Can I leave SPS Commerce mid-contract? SPS agreements are typically annual with auto-renewal. Review your renewal date and notice window before starting a migration. Most suppliers run the new platform in parallel on one or two trading partners before cutting over at renewal. ### How long does it take to switch EDI providers? Plan for 2–8 weeks per trading partner depending on the platform. Orderful publishes a 9-day average onboarding, OrderSync implementations typically run in weeks, and traditional VAN migrations pace at 8+ weeks. Retailers require testing (usually via [EDI 997 acknowledgments](/guides/edi/997-functional-acknowledgment) and test documents) before certifying a new connection. ### Is SPS Commerce ever the right choice? Yes. If you're a retail supplier whose trading partners are overwhelmingly on the SPS network already, your order volume is nearly all EDI, and you value the largest pre-connected network in North America over cost, SPS remains a defensible default. The alternatives exist for everyone whose reality is messier than that. --- # 7 TrueCommerce Alternatives in 2026 (Honest Comparison) Source: https://ordersync.io/blog/truecommerce-alternatives > The best TrueCommerce alternatives for 2026: SPS Commerce, Orderful, Cleo, OrderSync, Conexiom, and more. Pricing, format coverage, and who each one actually fits. The best TrueCommerce alternative depends on what's driving the switch. SPS Commerce offers the largest retail network, Orderful brings API-first EDI with transparent pricing from $189/month, Cleo covers enterprise integration, and OrderSync automates the PDF and email orders TrueCommerce can't process alongside full EDI. Match the platform to your order mix, ERP, and budget. TrueCommerce is a solid mid-market EDI provider: full X12 and EDIFACT support, a 120,000+ pre-connected partner network built partly through its B2BGateway and DiCentral acquisitions, and SMB-friendly entry tiers around $200–500/month. But it has been private-equity owned (Welsh, Carson, Anderson & Stowe) since November 2020, and the patterns that push customers to evaluate alternatives are consistent across [G2's TrueCommerce alternatives listings](https://www.g2.com/products/truecommerce-edi/competitors/alternatives) and user reviews: renewal-cycle price increases, per-document overage fees on top of stated pricing, an aging UX, and mixed support experiences on complex implementations. Here are seven real alternatives, compared honestly. ## Why suppliers look for a TrueCommerce alternative 1. **Renewal pricing pressure.** PE-owned since 2020, and price escalation at renewal is a documented pattern. Stated monthly tiers also exclude per-document overages and setup fees, so effective cost runs above sticker. 2. **Aging platform.** Compared with newer EDI-first platforms, the UX shows its age: data entry portals and mapping workflows that feel a generation behind API-first rivals. 3. **EDI-only coverage.** Like SPS, TrueCommerce does not process PDF, email, or fax purchase orders. If a meaningful share of your orders arrives unstructured, TrueCommerce automates only the EDI slice. ## TrueCommerce alternatives at a glance | Platform | Best for | Entry pricing | Handles PDF/email orders? | | --- | --- | --- | --- | | SPS Commerce | Maximum retail network coverage | Enterprise (ARPU ~$14K/yr) | No | | Orderful | Developer teams, transparent pricing | $189/mo per partner (Web EDI), from $399/mo (Integrated) | No | | Cleo | Enterprise EDI + API + MFT | Enterprise (quote) | No | | OrderSync | Distributors with mixed EDI + email/PDF orders | Flat monthly, no per-partner fees | Yes | | Conexiom | Large industrial distributors | Not published (annual subscription in customer packs) | Yes (no full EDI VAN) | | Esker | Enterprise order-to-cash suites | Enterprise (quote) | Yes (one module of ten) | | eZCom (Lingo) | Small suppliers, marketplaces/dropship | SMB web EDI | No | ## 1. SPS Commerce: the incumbent upgrade If your frustration with TrueCommerce is network reach or retailer-specific compliance depth, SPS Commerce is the bigger version of the same thing: the largest retail EDI network in North America (45,000+ pre-connected partners), full X12 and EDIFACT coverage, and dedicated chargeback-prevention modules. It's a public company (NASDAQ: SPSC) with $751.5 million FY2025 revenue and 100 consecutive quarters of growth per its [investor filings](https://investors.spscommerce.com/). **Watch for:** you'll likely pay more, not less. Average revenue per customer is $14,350 per SPS's FY2025 10-K, with per-trading-partner pricing that scales linearly. G2 sentiment flags poor customer support, expense, and difficult implementations. And SPS processes no PDF, email, or fax orders either. Full comparison: [OrderSync vs SPS Commerce](/ordersync-vs/sps-commerce), or see our [SPS Commerce alternatives roundup](/blog/sps-commerce-alternatives). ## 2. Orderful: modern API-first EDI Orderful is the clearest "newer, faster" contrast to TrueCommerce's aging UX: a JSON-native API instead of a VAN, self-service onboarding with a published 9-day average per trading partner, and published pricing ($189/month per trading partner for Web EDI, from $399/month Integrated). NetSuite Built-For status since 2024, and a strong logistics network (J.B. Hunt, XPO, Kuehne+Nagel). **Watch for:** no PDF, email, or fax order processing. Orderful's AI handles EDI error resolution, not document extraction, and the customer base skews logistics and freight over food and distribution. See [OrderSync vs Orderful](/ordersync-vs/orderful). ## 3. Cleo: enterprise integration platform Cleo Integration Cloud folds EDI, API, and managed file transfer into one platform for 4,000+ mid-market and enterprise customers. Self-service mapping is fast, protocol support (AS2, SFTP, HTTPS) is deep, and it holds a 99.95% uptime SLA. Eight consecutive years as a G2 Leader. **Watch for:** it's an iPaaS, which means more platform (and more implementation) than a supplier who just needs order flows. No native extraction from unstructured PDF or email orders. See [OrderSync vs Cleo](/ordersync-vs/cleo). ## 4. OrderSync: every order format in one platform [OrderSync](/) targets the gap TrueCommerce leaves open: distributors whose inbound orders are a mix of EDI, emailed PDFs, spreadsheets, faxes, and voicemails. Full X12 EDI (850, 855, 856, 810, [860](/guides/edi/860-purchase-order-change), 997) runs alongside AI extraction of unstructured documents, with clean sales orders written into your ERP and flat monthly pricing. No per-trading-partner fees, no per-document overages. ERP coverage includes the same mid-market systems TrueCommerce serves (NetSuite, Dynamics, QuickBooks, Sage), with particular vertical depth in food and beverage distribution: [grocery EDI](/blog/grocery-edi), catch weight, and [retailer compliance programs](/edi-compliance/kroger). The free [EDI Inspector](/edi-inspector) parses and validates any X12 file client-side, no signup required. **Watch for:** OrderSync is a newer company than TrueCommerce's two-decade installed base. You trade incumbency for an AI-native platform, faster implementation, and founder-level support. Full breakdown: [OrderSync vs TrueCommerce](/ordersync-vs/truecommerce). ## 5. Conexiom: enterprise sales order automation Conexiom automates email, PDF, and spreadsheet purchase orders into ERP sales orders with supervised ML plus generative AI, and claims 16 of the top 20 industrial distributors as customers. Its Ideal Order Platform applies 75+ validation checks with touchless rates above 85%. **Watch for:** it is not an [EDI VAN](/blog/edi-van-explained). 850s are accepted as documents, but there are no 810, 856, or 997 flows, so retail EDI compliance still needs a separate provider. Enterprise pricing (SelectHub estimates $10K–$100K+ annually) and no public API. See [OrderSync vs Conexiom](/ordersync-vs/conexiom). ## 6. Esker: order-to-cash suite for enterprises Esker offers order management as one of ten modules spanning order-to-cash and procure-to-pay, with roughly 3,000 enterprise customers and Gartner Magic Quadrant Leader placements. Its document AI reports recognition rates above 92%. **Watch for:** enterprise-only pricing and multi-quarter implementations put it out of reach for most distributors under $100M revenue. See [OrderSync vs Esker](/ordersync-vs/esker). ## 7. eZCom Software (Lingo): small-supplier web EDI For small suppliers with a handful of retail or marketplace connections, eZCom's Lingo is a lower-cost web EDI portal with good dropship support. **Watch for:** web EDI still means manual keying in a portal, and there's no path to unstructured order automation as you grow. ## A note on Stedi Stedi still appears on older EDI-alternatives lists, but as of 2026 it has pivoted entirely to healthcare. Its own homepage calls it "the only programmable healthcare clearinghouse," and its B2B retail EDI APIs are deprecated per its own blog. It is no longer an option for supply-chain EDI. ## How to choose - **Need more retail network, budget allows:** SPS Commerce. - **Want modern tooling and transparent pricing for pure EDI:** Orderful. - **Enterprise-wide integration beyond EDI:** Cleo. - **Orders arrive as PDFs and emails, not just EDI:** OrderSync (mid-market, flat fee, full EDI included) or Conexiom (enterprise industrial, EDI VAN not included). - **Full order-to-cash transformation with enterprise budget:** Esker. - **Tiny supplier, first retail mandate:** eZCom. For the broader landscape, see the [best EDI software comparison](/blog/best-edi-software-2026) and our [EDI transaction set guides](/guides/edi). ## FAQ ### What is the cheapest TrueCommerce alternative? For integrated EDI, Orderful's published $189/month Web EDI tier is the lowest transparent price among credible providers. Compare total cost, not sticker: TrueCommerce's effective cost includes per-document overages and setup fees, and flat-fee platforms like OrderSync eliminate the per-trading-partner multiplier entirely. ### Does TrueCommerce process PDF or email orders? No. TrueCommerce, like SPS Commerce, Orderful, and Cleo, handles structured EDI documents only. If your customers send purchase orders by email or PDF, those orders still require manual entry, or a platform like OrderSync or Conexiom that extracts them automatically. ### How hard is it to migrate off TrueCommerce? The migration itself is standard EDI onboarding: re-establish AS2/SFTP or VAN connections per trading partner, remap documents, and pass each retailer's certification tests (usually via [997 acknowledgments](/guides/edi/997-functional-acknowledgment)). Most suppliers run old and new in parallel for one or two partners first. Check your renewal date and auto-renewal notice window before you start. ### Is TrueCommerce still a good choice for anyone? Yes. For SMB retail suppliers whose orders are almost entirely EDI, who use a supported ERP (Dynamics, NetSuite, QuickBooks, Sage), and who value a large pre-connected network at a mid-market price, TrueCommerce remains a reasonable default. The alternatives matter when cost trajectory, platform age, or non-EDI order volume becomes the constraint. --- # Convert PDF Purchase Orders to JSON (or EDI) via API Source: https://ordersync.io/blog/convert-pdf-purchase-orders-to-json-api > How to turn PDF purchase orders into structured JSON or compliant EDI through an API, what the response looks like, and how to handle scanned and low-confidence documents. Send the PDF to an extraction API endpoint. It reads the purchase order, matches each line to your catalog, and returns structured JSON: PO number, dates, addresses, and line items with quantities and prices. From that JSON you post the order to your ERP, or generate a compliant EDI 850 for a trading partner. **To convert a PDF purchase order programmatically, POST it to an extraction API that returns structured JSON, then route that JSON either into your ERP or into a compliant EDI document, depending on who needs it next.** The PDF is the universal order format. Every buyer can produce one, which is exactly why it lands in your inbox more than any other channel. The problem is that a PDF is a picture of an order, not the order itself. To do anything automated with it, you have to turn it into data. There are two destinations worth converting to, and the right one depends on what sits downstream. ## Destination one: PDF to JSON JSON is the format your own systems speak. Convert the PDF to JSON when the order is going into your ERP, your order management system, or any internal pipeline. A single API call does it. You send the file, the API extracts and matches, and you get back a normalized object: ```json { "po_number": "PO-48821", "order_date": "2026-06-28", "ship_to": { "name": "Acme Foods - Tacoma DC" }, "line_items": [ { "raw_description": "CHOC BAR DARK 70% 12CT", "matched_sku": "MV-DK70-12", "quantity": 40, "uom": "CASE", "unit_price": 28.50, "confidence": 0.98 } ], "review_required": false } ``` The value is in the `matched_sku` and `confidence` fields. A raw text dump of the PDF would still leave you mapping "CHOC BAR DARK 70% 12CT" to your catalog by hand. An order-aware [extraction API](/extraction-api) does that resolution and tells you how sure it is, so high-confidence orders post automatically and the rest stop for review. ## Destination two: PDF to EDI Sometimes the order has to leave your building again as EDI, because a retailer or trading partner requires it. In that case you convert the PDF to a compliant X12 document rather than to internal JSON. The mechanics are the same up front: extract and match. The difference is the output format. Instead of JSON, the system emits an EDI 850 purchase order that carries the partner's exact qualifiers, separators, and version. The [X12](https://x12.org/) standard defines the transaction set, and each partner layers their own requirements on top. OrderSync handles this as [PDF to EDI](/pdf-to-edi), and the same engine covers [email to EDI](/email-to-edi) when the order arrives as a message instead of an attachment. If you want to see what a finished 850 should contain before you generate one, the [EDI 850 purchase order guide](/guides/edi/850-purchase-order) breaks it down segment by segment, and the free [EDI Inspector](/edi-inspector) parses a real one in the browser. ## Handling scanned and low-confidence PDFs Not every PDF is clean. Plenty are scans of printed pages, or faxes saved to PDF, or photos a rep took on a phone. Conversion still works, with a few caveats: - **OCR runs first**: The API reads the image, then extracts. Accuracy on clean machine-generated PDFs is typically 95% or better on quantities and pricing, and lower per field on scans and handwriting. - **UPCs make matching reliable**: When a UPC is on the document, the identifier resolves to your SKU unambiguously ([GS1 US](https://www.gs1us.org/) governs that standard); when only a description exists, the alias logic does the work. - **Confidence routing matters more here**: Because field accuracy drops on poor scans, the review flag protects your ERP, so a misread quantity never becomes a short shipment. ## JSON or EDI: which destination | | Convert to JSON | Convert to EDI | | --- | --- | --- | | Use when | Order goes into your own ERP or systems | A trading partner requires an X12 document | | Output | Normalized order object | Compliant EDI 850 with partner qualifiers | | Consumer | Your create-order API | Retailer or partner mailbox (AS2, SFTP, VAN) | | Extraction step | Identical | Identical | The extraction and matching are the same for both. Only the output format changes, so you choose per destination rather than per document. ## A practical sequence 1. Receive the PDF, by email, upload, or webhook. 2. POST it to the extraction endpoint. 3. Read the JSON response and check `review_required`. 4. If clean, post to your ERP or generate the EDI 850. If flagged, route to review. 5. Keep the source document linked to the extracted data for audit and disputes. Most teams that get orders in several formats run all of them through one [multi-format pipeline](/multi-format-orders) so step two is identical whether the order was a PDF, an email, or an EDI file. The downstream code only ever sees clean JSON. ## Frequently asked questions ### Can I really convert any PDF layout without setup? Yes. An AI-based extraction API reads documents by structure and meaning, not fixed coordinates, so a new customer layout converts on first contact without a template project. ### JSON or EDI, which should I convert to? JSON if the order is going into your own systems. EDI if a trading partner requires an X12 document. The same extraction feeds both, so you decide per destination, not per document. ### What about the data on a bad scan? OCR handles the image and confidence scoring handles the uncertainty. Low-confidence lines flag for review rather than posting silently. ### How do I get an API key? [Request access to the extraction API](/extraction-api). Onboarding maps your catalog and ERP so the conversion returns matched, post-ready orders. You can try the conversion free first with the [PO Extractor](/tools/po-extractor). --- # Document Parsing API for B2B Orders vs Generic OCR Source: https://ordersync.io/blog/document-parsing-api-b2b-orders > Generic document parsing and OCR APIs read fields off a page. B2B order processing needs catalog matching and validation. Here is where the two diverge and which you need. A document parsing API reads fields off a document and returns them as text. That is enough for receipts or single invoices. B2B order processing needs more: each line matched to your catalog, units normalized, prices validated. An order extraction API does that matching; a generic OCR API leaves it to you. **A generic document parsing API returns the fields it reads off the page, while an order extraction API resolves those fields against your catalog and pricing, which is the difference between data you reconcile and an order you post.** The document parsing API market is crowded and good. Tools like Mindee, Nanonets, Rossum, Google Document AI, and Amazon Textract will take a PDF and hand you back clean, structured fields. For many jobs that is the whole task. Read a receipt, pull the total, done. B2B order processing is not that job. The gap shows up the moment you try to act on what the API extracted. ## What a generic parsing API gives you A document parsing API is built to be horizontal. It works across invoices, receipts, contracts, and forms because it makes no assumptions about your business. You send a purchase order, it returns the text it found: a PO number, some line descriptions, quantities, and prices, each tagged with a field name. That output is correct. It is also not yet an order. The line says "CHOC BAR DARK 70% 12CT" and the parser faithfully returns that string. It does not know the string maps to SKU `MV-DK70-12` in your catalog, that this customer always orders by the case, or that your contract price for them is 28.50. It cannot know, because a horizontal API has no view of your master data. ## What B2B orders actually require The work that sits between extracted text and a postable order is matching and validation: - **Catalog resolution**: The buyer's part number, free-text description, or UPC has to resolve to your SKU. UPCs help when present ([GS1 US](https://www.gs1us.org/) governs that identifier), but most lines carry only a description. - **Customer aliases**: The same product gets a different name from every customer. Matching has to learn those per-customer aliases or you re-solve the same line forever. - **Unit-of-measure normalization**: "12CT", "case", and "CS" can all mean the same pack, and the order is wrong if the unit is wrong. - **Price validation**: Extracted price checked against your master data catches a typo or an outdated quote before it becomes a billing dispute. - **Confidence and review**: Low-confidence lines need to stop for a human rather than flow through to your ERP silently. None of that is OCR. It is order logic, and it is exactly what a generic parsing API leaves out by design. ## Side by side | | Document parsing / OCR API | Order extraction API | | --- | --- | --- | | Best for | Receipts, single invoices, forms | Inbound B2B purchase orders | | Knows your catalog | No | Yes | | Resolves customer aliases | No | Yes | | Normalizes units of measure | No | Yes | | Validates pricing | No | Yes | | Output you act on | Fields to reconcile | Postable order | | Integration shape | One of several you assemble | Single endpoint per order | If you only need fields off a page, a horizontal parsing API is the right tool and probably cheaper. If you need an order you can post without a person checking every line, the matching layer is the product, and that is what an [order extraction API](/extraction-api) adds on top of the parsing. ## You can usually tell which you need in one question Does the extracted data go straight into a system that expects your SKUs and your prices? If yes, you need matching, and a generic parser will push that work onto your own code. If the data just needs to be readable or stored, a parsing API is plenty. For a fuller treatment of why template-based and OCR-first approaches struggle with varied PO layouts, see [AI order processing versus OCR](/blog/ai-order-processing-vs-ocr) and the [AI-powered order automation](/ai-order-automation) overview. ## Try it before you wire anything You can see the difference without writing code. The [free PO Extractor](/tools/po-extractor) runs an order-aware engine in the browser: upload a PO and watch lines resolve, not just get transcribed. If your inbound orders are EDI rather than PDF, the [EDI Inspector](/edi-inspector) parses an X12 850 ([X12](https://x12.org/) maintains the spec) so you can see the structured equivalent. Teams handling both usually consolidate onto one [multi-format order pipeline](/multi-format-orders) rather than running an OCR vendor and an EDI tool in parallel. ## Frequently asked questions ### Is an order extraction API just OCR with extra steps? The extra steps are the point. OCR and parsing read the page. The order API resolves what it read against your catalog, units, and pricing, which is the part that turns text into an order. ### Can I bolt catalog matching onto a generic parsing API myself? You can, and some teams do. You are then building and maintaining alias tables, UOM logic, and confidence handling, which is most of the work an order API already does. ### Which is more accurate? On raw field reading they are comparable on clean PDFs. On producing a correct, postable order, the order API wins because matching errors, not OCR errors, are what usually break B2B order entry. ### How do I get started? Try the [PO Extractor](/tools/po-extractor) free, then [request access to the extraction API](/extraction-api) to map your catalog and ERP during onboarding. --- # Purchase Order API: Extract PO Data Programmatically Source: https://ordersync.io/blog/purchase-order-api > How a purchase order API turns PDF and email POs into structured JSON your systems can post. What to expect from the endpoint, the response shape, and matching. A purchase order API accepts a PO as a PDF, email, or EDI file and returns structured JSON: PO number, dates, addresses, and line items with quantities and prices. A good one also matches each line to your catalog and attaches a confidence score, so you get a postable order instead of raw text. **A purchase order API converts an inbound PO in any format into structured, validated order data your systems can post, replacing the manual keying that sits between a customer email and your ERP.** Most B2B orders still arrive as documents. A buyer emails a PDF, attaches a spreadsheet, or drops a fax into your inbox. Someone on your team reads it and types it into the order system. A purchase order API removes that step: you send the document to an endpoint and get back the order as data. This is different from asking your ERP for "the purchase order API." That phrase has two meanings. One is the API your order system exposes to create and read orders you already have. The other, the one this article is about, is an extraction API that reads an inbound PO and produces the structured data in the first place. You usually need both, and they connect at the line-item level. ## What a purchase order API returns The input is a document. The output is a normalized order object. A typical response looks like this: ```json { "po_number": "PO-48821", "order_date": "2026-06-28", "requested_delivery": "2026-07-05", "ship_to": { "name": "Acme Foods - Tacoma DC", "address": "1200 Port Rd, Tacoma, WA 98421" }, "line_items": [ { "raw_description": "CHOC BAR DARK 70% 12CT", "matched_sku": "MV-DK70-12", "quantity": 40, "uom": "CASE", "unit_price": 28.50, "confidence": 0.98 } ], "review_required": false } ``` The header fields are the easy part. PO number, dates, and addresses sit in predictable places, and most extraction tools read them well. The line items are where the work is, and where a purpose-built order API earns its keep. ## Extraction is not the hard part. Matching is. Reading "CHOC BAR DARK 70% 12CT" off a page is solved technology. Knowing that string means SKU `MV-DK70-12` in your catalog, ordered by the case, at your contract price for that customer, is the part that breaks generic tools. A buyer's PO rarely uses your part numbers. It uses theirs, or a free-text description, or a UPC. Turning that into your SKU requires customer-specific aliases, UPC lookups, and unit-of-measure logic. The GS1 standard for product identification ([GS1 US](https://www.gs1us.org/)) helps when a UPC is present, but plenty of POs carry only a description. That is why an order API attaches a `matched_sku` and a `confidence` score per line, rather than handing back the raw text and leaving the reconciliation to you. When confidence is high, the order posts automatically. When it is low, the line flags for a person to check before anything reaches your ERP. That review gate is what keeps a bad extraction from becoming a short shipment. ## Purchase order API vs a generic extraction API | Capability | Generic OCR / parsing API | Purchase order API | | --- | --- | --- | | Reads any PDF layout | Yes | Yes | | Returns header fields | Yes | Yes | | Knows your catalog and SKUs | No | Yes | | Normalizes units of measure | No | Yes | | Validates price against master data | No | Yes | | Confidence score per line | Sometimes | Yes | | Output | Raw fields to reconcile | Postable order | The distinction matters because the reconciliation work a generic API leaves behind is most of the labor you were trying to remove. Reading the document was never the bottleneck. Matching it to your data was. For a deeper comparison, see [AI order processing versus OCR](/blog/ai-order-processing-vs-ocr). ## Formats one endpoint should accept You do not want a parser per channel. A practical purchase order API takes all of these and returns the same JSON shape: - **PDF**: Digital-native and scanned purchase orders both run through the same endpoint without a template per layout. - **Email**: Order details in the message body or in attached files are read and merged into one order object. - **EDI X12 850**: Structured documents from partners who send them are parsed alongside everything else ([X12](https://x12.org/) maintains the standard). - **CSV and Excel**: Spreadsheet orders are read contextually, so you skip building a column map for every customer. If you receive EDI today and want to read it before you wire anything up, the free [EDI Inspector](/edi-inspector) parses an X12 850 in the browser and shows the segments in plain language. For non-EDI orders, the [free PO Extractor](/tools/po-extractor) runs the same extraction engine on a PDF with no signup. ## Where the data goes next Structured JSON is the handoff point. From there you either post it through your order system's own create-order API, or generate an [EDI 850 from the PDF](/pdf-to-edi) for a partner who needs it. The extraction API does not care which path you take; it produces clean data and your integration decides the destination. Teams that run mixed channels usually route everything through one [multi-format order pipeline](/multi-format-orders) so the downstream code never has to know how the order arrived. The reason any of this is worth building is the cost of the alternative. Manual order entry is slow and error-prone, and the errors are expensive. See the [real cost of manual order entry](/blog/manual-order-entry-statistics) for the error-rate and labor data. ## Frequently asked questions ### Is a purchase order API the same as my ERP's order API? No. Your ERP's order API creates and reads orders that already exist as data. An extraction API produces that data from an inbound document. They meet at the line-item level: extraction matches the SKU, your ERP API posts the order. ### Can it handle scanned or faxed POs? Yes, with OCR on the front end. Accuracy on clean machine-generated PDFs is typically 95% or better on quantities and pricing. Scanned and handwritten documents score lower per field, which is why confidence scoring and a review step matter. ### Do I have to map every customer's format? No. A modern order API reads documents contextually rather than by fixed template, so a new customer layout works on first contact without a setup project. ### How do I get access? The [OrderSync extraction API](/extraction-api) is set up through an onboarding call that maps your catalog, customer aliases, and ERP target so the API returns matched, post-ready orders. You can try the extraction free first with the [PO Extractor](/tools/po-extractor). --- # Managed EDI Services: Providers, Costs, and the Automated Alternative Source: https://ordersync.io/blog/managed-edi-services > What managed EDI services and EDI service providers do, what they cost, and when automated EDI software is the better fit. An honest guide for distributors and suppliers. EDI service providers handle electronic data interchange on your behalf so you do not run it in-house. They range from value-added networks that just move documents, to full-service managed EDI providers that map and monitor every transaction, to modern software that automates EDI without a per-document service fee. Which one fits depends on your volume, your team, and how many orders arrive outside EDI. If a retailer just told you to become EDI compliant and you do not have an EDI team, your first instinct is to find someone to handle it. That is what EDI service providers exist for. But "managed EDI" covers several very different models, with very different costs, and the right choice depends on what you actually need handled. This guide breaks down the types of EDI providers, what each costs, and when an automated software approach beats a traditional managed service. **Bottom line up front:** if every order arrives as EDI and your trading-partner list is stable, a full-service managed provider can be worth the cost. If you onboard partners often, or you also take orders by PDF, email, and spreadsheet, automated EDI software usually covers more of the actual problem for less, with no per-document fee and no separate manual queue for the non-EDI orders. | Provider type | Who does the mapping | Cost model | Best for | |---|---|---|---| | Value-added network (VAN) | You or your software | Per document or kilocharacter | Moving documents between partners | | Full-service managed EDI | The provider | Per-partner setup plus monthly retainer | High, steady EDI volume with no internal team | | EDI software / translator | You, with vendor support | Flat or tiered subscription | Teams that want to own the setup | | Automated, AI-driven EDI | The platform, you review exceptions | Subscription, no per-document fee | EDI plus PDF, email, and CSV orders | ## What Is Managed EDI? **Managed EDI is an arrangement where a third party runs some or all of your EDI for you, instead of your team building and maintaining it.** The provider takes on the technical work: connecting to trading partners, translating documents into the required [X12](https://x12.org/) format, and keeping the connection healthy as partner requirements change. The appeal is simple. EDI is unforgiving, every retailer publishes its own spec, and a single late or malformed document becomes a chargeback. Handing that to a provider trades a monthly cost for not having to become an EDI expert. The catch is that "managed EDI" is sold by several kinds of companies that do quite different amounts of the work. ## The Types of EDI Service Providers ### Value-Added Networks (VANs) A [value-added network](/glossary/value-added-network-van) is the oldest model. It is a private network that routes EDI documents between partners, like a digital post office. A VAN moves your files and gives you an audit trail, but it does not map your data or process orders. You still need software or a team to turn documents into something your system can use. VANs typically charge per document or per kilocharacter, so the bill grows with volume. ### Full-Service Managed EDI Providers These providers do the hands-on work: they build the maps from your system to each trading partner's spec, onboard new partners, and monitor transactions. This is the most hands-off option and the most expensive, usually a setup fee per trading partner plus an ongoing managed-service retainer. It suits companies with steady, high EDI volume and little internal technical capacity. ### EDI Software and Translators Software puts the EDI engine in your hands. You configure the maps and run the translation, sometimes with vendor support. It costs less than a full managed service but assumes someone on your side will own the setup and the ongoing partner-specific changes. See our [comparison of the best EDI software](/blog/best-edi-software-2026) for how the major platforms differ. ### Automated, AI-Driven EDI The newest model automates the work that VANs and managed providers charge to do by hand. Instead of mapping every partner manually or paying per document, the platform reads inbound orders, validates them against your catalog, and produces compliant outbound EDI, with a person reviewing only the exceptions. It is the option that also handles the orders that fall outside EDI entirely. ## What Managed EDI Costs Costs vary by model, but the common components are: - **Per-document or per-kilocharacter fees** (VANs): a few cents to a few dollars per transaction, which scales directly with order volume. - **Per-trading-partner setup** (managed providers): a one-time mapping and certification fee for each new retailer you onboard. - **Monthly managed-service retainer** (managed providers): an ongoing fee for monitoring and changes. - **Software subscription** (software and automated platforms): a flat or tiered monthly cost without per-document charges. The hidden cost in the traditional models is onboarding time. A new trading partner can take weeks to map and certify, and every retailer you add is another setup fee and another wait. Use our [EDI ROI calculator](/edi-roi-calculator) to compare the all-in cost against what manual processing is costing you today. ## When Managed EDI Makes Sense, and When It Does Not A traditional managed EDI service is a reasonable fit when your EDI volume is high and steady, your trading partners rarely change, and every order arrives as EDI. You are paying for someone to maintain a stable, well-defined pipeline. It is a poor fit when: - **A meaningful share of your orders arrive by PDF, email, or spreadsheet.** Managed EDI only handles EDI. Those other orders still get keyed by hand, so you pay for a service and still carry the manual work. A [multi-format approach](/multi-format-orders) is needed to cover every channel. - **You onboard new trading partners often.** Per-partner setup fees and multi-week mapping cycles slow you down every time a new account asks for EDI. - **You want to control your own costs.** Per-document fees mean your EDI bill rises with every order you win, which is the opposite of what growth should do to unit costs. ## The Automated Alternative OrderSync is the automated option. It processes EDI, PDF, CSV, and email orders through one pipeline, validates them against your catalog, and syncs clean orders into your ERP, with outbound 810s, 856s, and 997s generated from your fulfillment data. There is no per-document fee and no separate manual queue for the orders that arrive outside EDI. The point is not that managed EDI is wrong. For some companies it is exactly right. The point is that "find a provider to handle EDI" has more than one answer, and for a distributor or supplier juggling EDI alongside email and PDF orders, automation usually covers more of the actual problem for less. Try the [free EDI inspector](/edi-inspector) to see your own documents parsed, or read the [EDI transaction guides](/guides/edi) to understand what each provider would be maintaining on your behalf. For external context on how the EDI industry structures these services, the [GS1 US standards organization](https://www.gs1us.org/industries-and-insights/standards) documents the identifiers and message standards that every provider, managed or automated, has to support. ## Frequently Asked Questions ### What is the difference between a VAN and managed EDI? A VAN just moves EDI documents between trading partners, like a private network. Managed EDI is a broader service where a provider also maps your data to each partner's spec, onboards new partners, and monitors transactions. A VAN is the plumbing; managed EDI is the plumbing plus the people who maintain it. ### How much do EDI service providers cost? It depends on the model. VANs charge per document or per kilocharacter, full-service managed providers charge a per-trading-partner setup fee plus a monthly retainer, and software and automated platforms charge a flat or tiered subscription with no per-document fee. The hidden cost in the traditional models is multi-week partner onboarding for every new account. ### What is EDI as a service? EDI as a service means the provider hosts and runs the EDI software for you in the cloud, so you do not install or maintain it yourself. Modern automated platforms take it further by also processing the orders, validating them, and syncing them to your ERP, rather than only moving the documents. ### Is managed EDI worth it? For a company with high, steady EDI volume, a stable partner list, and no internal technical capacity, a managed service can be worth the cost. For a company that onboards partners often or receives orders by PDF and email as well as EDI, automated software usually covers more of the work for less. --- # EDI Without ERP Integration: A Guide for Small Manufacturers Source: https://ordersync.io/blog/edi-without-erp-integration > How small manufacturers and suppliers become EDI capable without an ERP integration or a $50K API: any-format orders in, valid X12 out, into the EDI client you already use. You do not need an ERP integration to do EDI. A translation layer can take the purchase orders your customers already send (PDF, Excel, email, or EDI), let a person review them, and emit valid X12 that drops into the EDI client or folder your trading partner polls. No ERP read or write required to start. A customer tells you that to keep their business you now have to "be EDI capable." You ask your ERP vendor what that costs and the quote comes back at tens of thousands of dollars for an API or integration module. Meanwhile the actual job is small: a handful of customers send you purchase orders, and one of them wants those orders to arrive as X12 in their system instead of as a PDF in your inbox. This is the gap most EDI advice skips. The standard pitch assumes EDI means wiring documents into a system of record. For a contract manufacturer, a job shop, or any supplier that mostly receives orders, that assumption is backwards and expensive. Here is how to become EDI capable without touching your ERP. ## Why "EDI needs an ERP" is a positioning choice, not a rule The major EDI vendors frame integration into your back-end system as the point of EDI. There is a reason for that framing: integration is where their setup fees, per-partner connection charges, and mapping-change fees live. Independent reviews of the legacy leaders consistently flag the same thing, which is that the real cost is ongoing document fees, support, and mapping work, and that buyers go shopping for better total cost of ownership with no hidden charges ([IT Supply Chain](https://itsupplychain.com/10-alternatives-to-truecommerce-sps-commerce/)). But EDI itself is just a document standard. The [ASC X12 standards body](https://x12.org/) defines the format of an 850 purchase order or an 830 planning schedule. Nothing in the standard says those documents have to flow into an ERP. They have to be valid, and they have to land where your trading partner expects them. That is the whole requirement. ## What "EDI capable without an ERP" actually looks like The setup that works for a small supplier has four parts and no integration: 1. **A mailbox.** Your customers send orders the way they already do: a PDF, a spreadsheet, an emailed order, or a real EDI file. They land in one inbox. 2. **Extraction.** Software reads each order, whatever the format, and pulls out the line items, quantities, dates, and ship-to details. 3. **Review.** A person checks the extracted order, catches anything odd (a zero-dollar total, a wrong address, a quantity that does not look right), and approves it. 4. **Output.** The system generates valid X12 (850, and as you grow, 855, 810, 830, 812) and drops it into the folder or EDI desktop client your trading partner already polls. There is no read from your ERP and no write back into it. The order of record stays wherever it is today, whether that is your ERP, a spreadsheet, or the order screen your one ops person already uses. You have become EDI capable by adding a translation layer in front of your existing process, not by rebuilding it. ## The objection: "don't you need a system of record to respond?" It is a fair question. If a buyer sends an 850 and expects an 855 acknowledgment back, something has to know what you can fulfill. The answer is that the review step is your system of record for the exchange. The person approving the order confirms what ships, and the acknowledgment is generated from that confirmation. When you are ready, the same pipeline can validate orders against an item and ship-to master so the review gets faster, but that is an upgrade, not a prerequisite. This is also where format flexibility matters. Most lightweight EDI tools still assume the order arrives as EDI. The harder and more common reality for a small manufacturer is that orders arrive as a [PDF or an Excel file](/edi-inspector) with an inconsistent layout. Turning those into X12 is the actual work, and it is the part an AI extraction layer is built for. ## Convert PO to EDI: a worked example Say a customer emails you a revised purchase order as a PDF. It is one logical order, but it prints across two pages, the order total at the bottom reads zero even though the line items add up to forty thousand dollars, and a ship-to zip code is transposed on the second page. A naive per-page parser treats that as two orders, or books it as a zero-dollar order, or ships to the wrong place. A translation layer with a review step does the opposite: it reassembles the two pages into one order, flags the zero total against the real line-item subtotal, flags the address discrepancy, and waits for a human to confirm before it emits a clean 850. The output is the same valid X12 your customer would get from a company ten times your size, produced without an ERP project. ## When you would integrate later (and when you would not) Skipping ERP integration is the right call for v1 in most supplier situations. You would revisit it only when the volume and the value justify it: hundreds of orders a month where re-keying the approved order into your own system becomes the bottleneck, or when you want pricing and SKU validation pulled live from your ERP rather than checked at review. Even then, a read-only nightly sync is usually enough, and it is a long way from the integration module on the original quote. For the architecture tradeoffs across systems, see our [ERP integration overview](/erp-integration). ## Where to start If your goal is simply to stop losing a customer over an EDI mandate, start with the translation layer and leave your ERP alone. Map which customers send what, point them at one mailbox, and get the X12 output landing in the right place. To see how the documents parse, upload one of your own orders to the [free EDI inspector](/edi-inspector). If your customers send planning schedules rather than discrete orders, the [EDI 830 planning schedule guide](/guides/edi/830-planning-schedule) covers forecast-versus-firm releases, and the [EDI 850 purchase order guide](/guides/edi/850-purchase-order) covers the standard order itself. For a deeper background on how EDI translation works, the [EDI Academy reference library](https://ediacademy.com/) is a solid neutral source. You can be EDI capable in the way your customer actually means it without an integration project, a six-figure quote, or a change to how your shop runs today. --- # Manual Order Entry: Costs, Error Rates, and Time (2026) Source: https://ordersync.io/blog/manual-order-entry-statistics > What manual order entry actually costs in 2026: per-order labor math from BLS wage data, verified error rate studies, and time benchmarks. Manual order entry costs roughly $5 to $12 in fully loaded labor per order, based on BLS wage data and an 11 to 12 minute median entry time. Single-pass data entry produces errors on 0.55% to 3.6% of entries, and APQC benchmarks put total purchase order processing cost between $14 and $54 per PO. Every number in this article is sourced, and the math is shown so you can re-run it with your own figures. If you want the shortcut, our free [manual order entry cost calculator](/tools/order-cost-calculator) does this math for your order volume. ## The headline numbers | Metric | Figure | Source | | --- | --- | --- | | Median wage, order clerks (US) | $46,170/year | BLS OES, May 2025 | | Benefits share of total compensation | 31.4% | BLS ECEC, Dec 2025 | | Median time to enter an order manually | 11 to 12 minutes | Esker and Conexiom benchmarks (vendor data) | | Single-pass data entry error rate | 0.55% to 3.6% of entries | Barchard et al., 2020 | | Total cost to process one PO | $14 to $54+ | APQC benchmarks | | Projected decline, data entry keyer jobs by 2034 | minus 25.9% | BLS Employment Projections | ## What one manually entered order costs in labor Start with wages. The [Bureau of Labor Statistics](https://www.bls.gov/oes/current/oes434151.htm) puts the median order clerk wage at $46,170 per year (May 2025 OES). Wages are not the whole cost: BLS [Employer Costs for Employee Compensation](https://www.bls.gov/news.release/ecec.nr0.htm) data shows benefits make up 31.4% of total compensation for civilian workers, which means a 1.43x multiplier on wages is a defensible fully loaded rate. The math: - $46,170 x 1.43 = roughly $66,000 fully loaded annual cost - At 2,080 working hours, that is $31.75 per hour, or $0.53 per minute - Esker's 2025 customer benchmark puts median manual entry time at 11 minutes per order; Conexiom uses about 12 minutes (both are vendor figures, flagged as such) - 11 minutes x $0.53 = about $5.80 in labor per order, before rework That $5.80 is the floor. It assumes the order arrives clean, the entry is correct, and nobody touches it twice. APQC's [procurement benchmarks](https://www.apqc.org/resource-library/resource/how-efficient-your-procurement-process-benchmarks-reveal-wide-performance) measure the full cost of processing a purchase order at $14 for top performers and more than $54 for bottom performers, because the labor of keying is only part of the workflow. ### Annualized by order volume Using $5.80 labor per order and 250 working days: | Orders per day | Hours per day on entry | Annual labor cost | | --- | --- | --- | | 10 | 1.8 | $14,500 | | 25 | 4.6 | $36,250 | | 50 | 9.2 | $72,500 | | 100 | 18.3 | $145,000 | At 50 orders per day you are past one full-time person doing nothing but retyping orders. Run your own numbers in the [cost calculator](/tools/order-cost-calculator). ## Error rates: what the research actually says Most vendor content quotes error rates without sources. Here is what peer-reviewed research found: - Single-pass data entry produces errors on **0.55% to 3.6% of entries**, per the literature reviewed in [Barchard et al., 2020](https://link.springer.com/article/10.3758/s13428-019-01207-3) (Behavior Research Methods). - Visual checking barely helps. Barchard and Pace (2011, Computers in Human Behavior) found visual checking produced dramatically more errors than double entry, and 66% of participants who relied on visual checks ended up with incorrect computed results. - Double entry works but doubles the labor: 99.91% accuracy in the same research. - In clinical data processing, a [PLoS ONE audit review](https://pmc.ncbi.nlm.nih.gov/articles/PMC2516178/) found source-to-database error rates averaging 976 errors per 10,000 fields when transcription chains get long. Translate that to orders. A typical B2B order has 5 to 15 fields per line and 5 to 50 lines. At even 1% per-entry error rates, a 10-line order with 10 fields per line (100 entries) has a roughly 63% chance of containing at least one error. Esker's customer benchmark measured a 9% manual order error rate in practice. An order entry error is not a typo, it is a short shipment, a mispriced invoice, a wrong-warehouse delivery, or a chargeback. The rework cost usually exceeds the entry cost. Catching these errors before the order hits the ERP is the main job of [order entry software](/blog/order-entry-software). ## The labor market is already voting BLS [Employment Projections](https://data.bls.gov/projections/occupationProj) for 2024 to 2034: - Data entry keyers: 141,600 jobs down to 104,900, a **25.9% decline** - Order clerks: 89,500 down to 74,100, a **17.2% decline** These roles are also hard to hire for and harder to retain. If you are currently writing a job posting for one, read our breakdown of the [order entry specialist role and salary](/blog/order-entry-specialist-salary-job-description) first, including when hiring is the right call and when it is not. ## Where the time actually goes Manual entry is rarely just typing. The 11 minutes breaks down across: 1. **Reading the document.** PDFs, emails, faxes, and spreadsheets all format orders differently. Try our [free PO extractor](/tools/po-extractor) on one of yours to see what structured extraction looks like. 2. **Translating customer language.** Their SKU is not your SKU. Their "case" might be your "each". Unit of measure mismatches are a top source of fulfillment errors. 3. **Keying into the ERP.** The actual data entry. 4. **Checking and fixing.** The step that research shows barely works when done visually. Orders that arrive by EDI skip all four steps, which is why large retailers mandate it. If you receive EDI files and want to see what is inside them, the [free EDI Inspector](/edi-inspector) parses them in your browser. For email and PDF orders, [AI-powered order automation](/ai-order-automation) does the same job: extract, validate against your catalog, and sync to your ERP through [automated order processing](/order-processing-automation). ## FAQ ### What is the average error rate for manual data entry? Peer-reviewed studies place single-pass data entry errors between 0.55% and 3.6% of entries. On multi-line B2B orders this compounds: at 1% per field, a 100-field order has a roughly 63% chance of containing at least one error. ### How much does it cost to manually process an order? Labor alone runs about $5.80 per order using BLS median wages, a 1.43x benefits multiplier, and an 11-minute median entry time. Full process cost is higher: APQC benchmarks total PO processing at $14 to $54+ per order. ### How long does manual order entry take? Vendor benchmarks from Esker and Conexiom converge on 11 to 12 minutes per order as the median, versus about 3 minutes with automation. Complex multi-line orders take materially longer. ### What replaces manual order entry? EDI for trading partners that support it, and AI document extraction for everything else (emailed PDFs, spreadsheets, scanned faxes). Modern systems extract the order, match line items to your catalog, and create the order in your ERP with a human reviewing only exceptions. --- *OrderSync processes EDI, PDF, CSV, and email orders through a single pipeline and syncs them to your ERP. If you want to see your own numbers, start with the [cost calculator](/tools/order-cost-calculator), then [book a free intro call](/book).* --- # Order Entry Specialist: Salary, Job Description, Outlook Source: https://ordersync.io/blog/order-entry-specialist-salary-job-description > Order entry specialist salary data (BLS, Indeed, Talent.com), a ready-to-use job description, the 2034 outlook, and the math on hiring vs automating. An order entry specialist earns a median of $46,170 per year in the US (BLS order clerks, May 2025), with fully loaded employer cost around $66,000 once benefits are included. The role is projected to shrink 17% by 2034 as companies automate order capture. Below: salary data, a job description template, and the hire-vs-automate math. If you are reading this, you are probably about to post a job opening because order volume outgrew your team. This page gives you the salary data and a usable job description. It also walks through the math worth doing before the req goes up, because at typical volumes a hire and automation are not the same cost within 12 months. ## Order entry specialist salary (2026 data) | Source | Figure | Notes | | --- | --- | --- | | [BLS OES, order clerks (SOC 43-4151)](https://www.bls.gov/oes/current/oes434151.htm) | $46,170/year median | May 2025, 75,200 employed in the US | | [Indeed, order entry clerk](https://www.indeed.com/career/order-entry-clerk/salaries) | $18.23/hour average | Range $8.49 to $39.14, updated May 2026 | | [Talent.com, order entry specialist](https://www.talent.com/salary?job=order+entry+specialist) | $55,380/year average | Entry level from $38,790; aggregator figures skew above BLS | Salary is not what the role costs you. BLS [Employer Costs for Employee Compensation](https://www.bls.gov/news.release/ecec.nr0.htm) data shows benefits add 31.4% on top of wages for civilian workers, so the fully loaded cost of a $46,170 hire is roughly **$66,000 per year**, before recruiting, training, equipment, and turnover. ## Job description template Feel free to copy this directly. **Title:** Order Entry Specialist **Summary:** Receive customer purchase orders by email, PDF, fax, EDI, and phone; enter them accurately into the ERP; resolve discrepancies with customers and sales reps; keep order status current through fulfillment. **Responsibilities:** - Enter purchase orders into the ERP with correct items, quantities, units of measure, pricing, and ship-to details - Match customer item codes and descriptions to internal SKUs - Flag and resolve pricing, availability, and unit-of-measure discrepancies before release - Acknowledge orders and communicate changes to customers - Track open orders and escalate fulfillment exceptions - Maintain customer item cross-references and standing order notes **Requirements:** - 1 to 3 years in order entry, customer service, or data entry, ideally in distribution or manufacturing - ERP experience (NetSuite, Dynamics, SAP Business One, or similar) - High accuracy under volume; comfort with spreadsheets - Familiarity with EDI documents is a plus ## The outlook: this role is disappearing BLS [Employment Projections](https://data.bls.gov/projections/occupationProj) for 2024 to 2034 project order clerk employment falling from 89,500 to 74,100, a **17.2% decline**. The adjacent data entry keyer occupation is projected to fall **25.9%** over the same decade. The driver in both cases is order capture automation: EDI on the large-retailer side and AI document extraction for the email and PDF orders that used to require a human. Two practical consequences if you hire: 1. **Recruiting is harder than the salary suggests.** You are hiring into a shrinking occupation where experienced candidates are aging out and new entrants are scarce. 2. **The role churns.** Repetitive keying with high error stakes is a burnout profile, and every departure restarts training on your SKU catalog and customer quirks. ## The math to run before you post the req A fully loaded order entry hire costs about $66,000 per year. The work itself, measured across vendor benchmarks, takes 11 to 12 minutes per manually entered order. That means one specialist sustainably handles roughly 35 to 40 orders per day. The same capture work, done by software: - AI extraction reads the emailed PDF or spreadsheet and pulls header, ship-to, and line items - Line items match against your catalog, including customer-specific item codes - Clean orders sync straight to the ERP; a human reviews only the exceptions We wrote up the full cost data, including verified error rate research, in [manual order entry: costs, error rates, and time](/blog/manual-order-entry-statistics). The short version: at 25+ orders per day, [automated order processing](/order-processing-automation) typically costs a fraction of one hire and does not call in sick during your seasonal peak. You can sanity-check this with your own volumes in two minutes: - [Manual order entry cost calculator](/tools/order-cost-calculator): your volume, your wages, your error rate - [Free PO extractor](/tools/po-extractor): upload one of your actual purchase order PDFs and see what AI extraction returns - [Email order parser](/tools/email-order-parser): same test for emailed orders ## When hiring is still the right call Automation is not always the answer. Hire the human when: - **Order volume is low** (under 10 to 15 orders per day) and the role is blended with customer service, quoting, or AR follow-up - **Orders require judgment on most lines**, like custom configurations or negotiated one-off pricing - **Your order sources resist structure**, such as phone-heavy industries, though [phone order processing](/phone-order-processing) is increasingly automatable too In practice many teams land on a hybrid: software handles capture and entry, and the person you were about to hire for keying becomes an exception handler and customer contact. That version of the role survives the BLS projection. ## FAQ ### How much does an order entry specialist make? The BLS median for order clerks is $46,170 per year (May 2025). Indeed pegs the average order entry clerk at $18.23 per hour. Specialist titles at aggregators like Talent.com average around $55,380, though aggregator data skews high. ### What does an order entry specialist do? They convert inbound customer purchase orders (email, PDF, EDI, fax, phone) into accurate ERP sales orders: matching items to SKUs, validating pricing and units, resolving discrepancies, and keeping order status current. ### Is order entry a growing field? No. BLS projects order clerk employment to decline 17.2% from 2024 to 2034, and data entry keyers to decline 25.9%, as order capture is automated. ### How many orders can one person enter per day? At the benchmark 11 to 12 minutes per order, one full-time specialist handles roughly 35 to 40 orders per day of pure entry, less when the role includes customer service. --- *OrderSync turns email, PDF, EDI, and spreadsheet orders into ERP-ready sales orders automatically, with humans reviewing only exceptions. If you are weighing a hire against automation, [book a free intro call](/book) and bring a stack of your messiest orders.* --- # EDI NetSuite Integration: How It Works for Distributors Source: https://ordersync.io/blog/edi-netsuite-integration > Learn how EDI NetSuite integration works for food and wholesale distributors receiving inbound 850 purchase orders from retailers. Compare your options honestly. NetSuite doesn't parse raw EDI natively. Distributors receiving inbound EDI 850 purchase orders from retailers need a middleware layer or managed service to translate those files and create NetSuite sales orders automatically. The three main approaches are native SuiteApps, iPaaS platforms like Celigo or Boomi, and managed EDI services like OrderSync. A retailer onboards you. Their vendor compliance guide says you need to accept EDI 850 purchase orders, send back an EDI 856 ship notice within 24 hours of shipment, and invoice via EDI 810. You run NetSuite. Now what? NetSuite is a capable ERP. It tracks inventory, manages fulfillment, handles accounting. What it doesn't do is read a raw X12 EDI file and turn it into a sales order. That translation layer has to come from somewhere. This guide explains your options, the real trade-offs, and what food and wholesale distributors specifically should watch out for. ## Why NetSuite Needs an EDI Integration Layer Raw EDI is a flat text file with segment codes separated by delimiters. An 850 purchase order looks something like this: `ISA*00* *00* *ZZ*BUYERID *ZZ*SELLERID *260101*1200*^*00501*000000001*0*P*>~GS*PO*...`. NetSuite's native interface has no mechanism to ingest that, parse the PO1 line item segments, look up your internal item IDs against the retailer's part numbers, and create a sales order with the right customer, pricing, and ship-to location. That mapping and translation work is the job of an EDI integration layer. Without one, someone on your team is reading the 850 (or a printed version of it) and typing it into NetSuite by hand. At five orders a week that's inconvenient. At fifty orders a week it's unsustainable, and the error rate climbs fast. The [ASC X12 standard](https://x12.org/products/transaction-sets) defines the 850, 856, 810, and 997 transaction sets that any integration must support. But each retailer adds their own field-level requirements on top of the base spec. Whole Foods needs different segments than UNFI. Living Naturally has different qualifier codes than a direct regional chain. Your integration layer has to handle both the base standard and the partner-specific details. ## The Inbound Document Flow For a distributor receiving orders from retailers, the core EDI flow runs in three directions: inbound, outbound-shipping, and outbound-billing. **Inbound: 850 Purchase Order to NetSuite Sales Order** Your retailer or buying network sends an EDI 850. Your integration layer receives it via AS2, SFTP, or VAN, parses the segments, translates retailer item numbers to your NetSuite item IDs, validates quantities and pricing, and creates a sales order in NetSuite. The integration then sends back an EDI 997 functional acknowledgment confirming receipt. Some setups also send an EDI 855 purchase order acknowledgment if the retailer requires it, confirming your acceptance of the order or flagging substitutions and quantity changes. **Outbound: NetSuite Fulfillment to EDI 856 ASN** When you ship the order in NetSuite, a fulfillment record is created. Your integration reads that record, generates an EDI 856 advance ship notice with carton-level detail and SSCC-18 labels if required, and sends it to the retailer. Timing matters here. Most retailers require the ASN to arrive within 24 hours of shipment, and some require it before the truck departs. Missing the ASN window triggers chargebacks. For a complete breakdown of what goes into the ship notice, see our [EDI 856 ship notice guide](/guides/edi/856-ship-notice). **Outbound: NetSuite Invoice to EDI 810** After shipment, your integration generates an EDI 810 invoice from the NetSuite invoice record and transmits it to the retailer's accounts payable system. Mismatches between the 810 and the original 850 are a common source of payment disputes. Your integration needs to handle allowances, freight charges, and any quantity changes made at fulfillment. See our [EDI 810 invoice guide](/guides/edi/810-invoice) for what to watch out for. If you want to inspect what your EDI files actually contain, the [free EDI Inspector](/edi-inspector) lets you paste any X12 file and see the parsed segments immediately, no signup required. ## The Three Integration Approaches You have three realistic paths for connecting EDI to NetSuite. Each has a different cost structure, implementation timeline, and ongoing management burden. ### Approach 1: Native SuiteApps and EDI Connectors SPS Commerce, TrueCommerce, and a few other vendors offer NetSuite SuiteApps that install directly into your NetSuite environment. The integration runs inside NetSuite's framework. You configure trading partner profiles, map retailer item numbers to your NetSuite IDs, set up communication endpoints, and the SuiteApp handles translation and document exchange. SPS Commerce's Fulfillment product is the most widely deployed in this category. It has a large pre-built trading partner network and handles the compliance monitoring that retailers require. TrueCommerce offers a similar managed service model with NetSuite-specific connectors. The trade-off is cost. SPS Commerce pricing for a mid-size distributor with five to ten retail trading partners typically runs $2,000 to $6,000 per month, with per-transaction fees layered on top. TrueCommerce is somewhat lower but follows a similar model. Both vendors also lock you into long-term contracts, and making changes to mapping when a retailer updates their spec requires opening a support ticket and waiting. ### Approach 2: iPaaS Platforms (Celigo, Boomi, MuleSoft) Integration Platform as a Service tools like [Celigo](https://www.celigo.com) and Boomi are middleware layers that connect NetSuite to external systems. They handle EDI translation as one of many integration types. You build flows: receive EDI file, parse it, transform to NetSuite JSON, create sales order. Celigo has a well-documented NetSuite connector and pre-built templates for common EDI scenarios. Boomi is more enterprise-focused with a steeper learning curve. The advantage here is flexibility. You control the mapping logic. You can modify it when a retailer changes their spec without waiting on a vendor's support team. The disadvantage is that flexibility requires technical resources. Building and maintaining EDI flows in an iPaaS takes someone who understands both X12 structure and NetSuite's data model. Setup typically takes two to four months. And when something breaks at 2am because a retailer sent a malformed segment, someone on your team needs to investigate. ### Approach 3: Managed EDI Services Managed services handle the translation, communication, and compliance work for you. You tell them what retailers you trade with, provide your NetSuite credentials or an API key, and they handle the rest. When a retailer updates their EDI spec, the managed service updates the mapping. When a document fails validation, they catch it and notify you with actionable detail. OrderSync is built specifically for food and wholesale distributors receiving inbound orders. The integration creates NetSuite sales orders from inbound 850s, syncs fulfillment back to generate 856 ASNs, and handles 810 invoicing. It also processes orders that don't come through EDI at all, which matters for most distributors who have some accounts sending PDF purchase orders or using buyer portals. More on that below. For a broader look at how to think about [EDI integration](/blog/edi-integration-guide), that guide covers the underlying mechanics in detail. ## Comparison: EDI Integration Approaches for NetSuite | Approach | Setup Time | Monthly Cost | Who Manages Mapping Changes | Non-EDI Support | Best Fit | |---|---|---|---|---|---| | **SPS Commerce / TrueCommerce SuiteApp** | 6-12 weeks | $2,000-$6,000+ | Vendor (ticket queue) | No | Large suppliers with many retail partners | | **Celigo / Boomi iPaaS** | 8-16 weeks | $1,000-$4,000 (+ dev time) | Your team | No | Companies with technical staff and complex integration needs | | **OpenText / Cleo** | 12-20 weeks | $2,500-$8,000+ | Vendor | No | Enterprise with 20+ partners | | **OrderSync (managed service)** | 1-3 weeks | $500-$2,500 | OrderSync | Yes (EDI + PDF + email) | Food/wholesale distributors at realistic scale | Per-transaction fees are worth calling out separately. SPS Commerce and most VAN-based providers charge $0.05 to $0.50 per document on top of monthly fees. At 500 orders per month, that's $25 to $250 in extra charges, every month, just for document routing. Managed flat-rate services avoid this model entirely. ## Red Flags to Watch For When evaluating EDI-NetSuite integration vendors, watch for these: **VAN fees and per-document charges.** Every 850 in, every 856 out, every 810 sent, all on the meter. These add up. Ask vendors for a full cost estimate including transaction fees at your expected monthly volume. **2-3 month onboarding timelines.** Some enterprise platforms quote 12-20 week implementation timelines for standard retail EDI. If you have a new retail account that needs EDI live in 30 days, that doesn't work. **Manual mapping management.** When Whole Foods updates their EDI spec (which happens), who updates your mapping? Vendors who require you to open a ticket and wait a week create compliance risk. Ask specifically how spec changes are handled and what the typical turnaround is. **NetSuite connector depth.** Some "NetSuite integrations" write orders to a staging table and require your team to complete the processing. Ask whether the integration creates a fully-formed NetSuite sales order, including customer ID, ship-to address, item cross-reference, and pricing, or whether there's a manual review step in between. **No error visibility.** If an 850 arrives with an item number you don't recognize, what happens? Bad integrations silently drop the order or send you a generic error email. Good ones surface the specific line item with the unmatched SKU and let you resolve it before the order is late. ## What Food and Wholesale Distributors Specifically Need Food and wholesale distribution has characteristics that general-purpose EDI platforms often handle poorly. **Catch weight and variable quantity.** Catch weight items (like fresh seafood or meat) are sold by approximate weight that varies per unit. Your EDI integration needs to handle the UOM correctly and reflect the actual invoiced weight, not just the ordered quantity. **Lot tracking.** Many food distributors need to track lot numbers through the order lifecycle for traceability. When an 856 ASN goes out, it may need to include lot-level detail for perishable items. Not all EDI connectors handle this. **Multiple buying networks.** You may receive 850s from ECRS, NCG/Living Naturally, UNFI, and direct retail customers, all with different EDI specs, qualifier codes, and item identifier schemes. Your integration needs to handle trading partner-specific logic without a separate configuration for each. **Non-EDI fallback.** Not every account sends EDI. Smaller independent retailers email PDFs. Some buyers use web portals like Arrowstream or Foodservice Direct. A full integration solution needs to handle these alongside EDI, or your team is still manually keying the remainder. OrderSync's [multi-format order processing](/multi-format-orders) handles EDI 850s, PDF purchase orders, and email orders through the same pipeline. For more on the specific challenges distributors face, see our guide to [EDI for food distributors](/edi-for/food-distributors). ## Setup: What Onboarding Actually Involves Regardless of which approach you choose, the onboarding process for an EDI-NetSuite integration covers these steps: **Trading partner setup.** Each retailer has a partner ID (ISA qualifier and ID), a test environment, and a compliance guide specifying exactly which segments and data elements they require. Your integration vendor needs to configure a profile for each trading partner. **Item cross-reference.** Retailers use their own item numbers (buyer part numbers, UPCs, or GTINs). Your NetSuite uses your internal SKUs. The integration needs a cross-reference table to translate between them. Building this table is usually the most time-consuming part of onboarding. **NetSuite configuration.** The integration needs API credentials or a SuiteApp installation. It needs to know which customer record to use for each trading partner, which location to assign orders to, and what default values to apply when the EDI file doesn't provide them. **Testing.** Your trading partners have test environments and expect you to send test transactions before going live. Most require a specific number of successful test cycles before approving you for production. **Go-live monitoring.** The first few weeks in production surface issues you didn't catch in testing. Edge cases in the retailer's spec, items with no cross-reference, address format differences. A good integration partner monitors production closely during this period. According to [NetSuite's integration documentation](https://docs.netsuite.com/app/help/helpcenter.nl?fid=section_4387799395.html), the platform supports REST and SOAP web services, SuiteTalk, and SuiteScript for custom integrations, giving EDI middleware multiple connection paths. ## Frequently Asked Questions ### Does NetSuite have built-in EDI support? No. NetSuite does not natively parse or generate EDI X12 documents. It exposes REST and SOAP APIs that external EDI integration layers use to create and read records, but the translation between EDI formats and NetSuite data objects requires middleware or a SuiteApp. ### How long does it take to set up EDI with NetSuite? Setup time ranges from one to three weeks for managed services with pre-built NetSuite connectors, to two to four months for enterprise iPaaS platforms or custom SuiteApp deployments. The biggest variable is how long it takes to build the item cross-reference tables and complete trading partner testing. ### What does EDI NetSuite integration typically cost? Managed EDI services for NetSuite run $500 to $2,500 per month for food and wholesale distributors at typical volumes. Enterprise platforms like SPS Commerce and OpenText run $2,000 to $8,000 or more per month, often with additional per-transaction fees. iPaaS tools like Celigo add developer time costs on top of platform fees. ### What happens when a retailer changes their EDI spec? With a fully managed service, your provider updates the mapping on their end. With a self-managed iPaaS setup, your team or a consultant makes the change. With a SuiteApp from a vendor like SPS Commerce, you open a support ticket. Response time and cost vary significantly. This is worth asking about explicitly before signing a contract. ### Can OrderSync integrate both EDI and non-EDI orders into NetSuite? Yes. OrderSync processes EDI 850 purchase orders alongside PDF, email, and CSV orders through the same pipeline, creating NetSuite sales orders from all of them. If you have retail accounts that don't send EDI, those don't require a separate system or manual entry. See our page on [ERP integration](/erp-integration) for details on how the NetSuite connection works. ### What is the best EDI for NetSuite? There is no single best EDI for NetSuite. The right choice depends on your order volume, how many retail partners you trade with, and whether you also receive orders that don't come through EDI. The main options break down like this: - **SPS Commerce and TrueCommerce**: large pre-built retailer networks with NetSuite SuiteApps. Best for high-volume suppliers with many retail partners. The trade-offs are higher cost ($2,000 to $6,000+ per month plus per-transaction fees) and slower changes through a support queue. - **Celigo and Boomi (iPaaS)**: flexible middleware you configure yourself. Best if you have technical staff to build and maintain the integration flows. - **Cleo and OpenText**: enterprise integration platforms. Best at 20 or more trading partners with complex requirements. - **Managed services like OrderSync**: fastest setup and lowest cost for food and wholesale distributors, and the only category that also processes PDF and email orders into NetSuite alongside EDI. For a distributor receiving inbound 850 purchase orders who wants them in NetSuite without a per-transaction VAN bill, a flat-rate managed service is usually the best fit. For a large supplier already embedded in a retailer compliance network, SPS Commerce is the common default. Match the tool to your volume and partner count rather than picking on brand name alone. ### What is the cheapest EDI option for NetSuite? Flat-rate managed services and self-built iPaaS integrations are generally the cheapest paths for a NetSuite distributor, because they avoid the per-document VAN fees that traditional EDI providers layer on top of monthly costs. SPS Commerce and similar networks charge $0.05 to $0.50 per document on top of a monthly fee, which at 500 orders a month adds $25 to $250 every month just for routing. A flat-rate service like OrderSync runs $500 to $2,500 per month with no per-transaction charges, and iPaaS platform fees start around $1,000 per month before developer time. The cheapest option on paper is not always the cheapest in practice once you add the engineering hours an iPaaS requires. --- # QuickBooks EDI: Options, Costs and Setup Source: https://ordersync.io/blog/edi-quickbooks-integration > QuickBooks has no built-in EDI. Compare SPS Commerce, TrueCommerce, Cleo and OrderEase for QBO and Desktop, and see how QuickBooks handles sales orders. QuickBooks EDI means connecting QuickBooks Online or Desktop to a third-party EDI provider, because no edition of QuickBooks can read or send X12 documents itself. The provider receives retailer 850 purchase orders, creates the order in QuickBooks, and sends back 997, 856 and 810 documents. SPS Commerce, TrueCommerce, Cleo and OrderEase all offer QuickBooks connectors. You just landed a new retail account. Whole Foods, a regional co-op, a buying group. The vendor packet says you need to accept EDI purchase orders. You run QuickBooks. Now someone tells you EDI doesn't work with QuickBooks out of the box, and a straightforward new account starts to feel like an IT project. It is solvable on QuickBooks. The options differ on cost model, which QuickBooks edition they support, and what they do with the orders that don't arrive as EDI. This guide covers all three, plus the QuickBooks order management limits that catch distributors after go-live. ## QuickBooks Has No Native EDI Support No edition of QuickBooks, Online, Desktop Pro, Premier or Enterprise, includes an EDI translator, a VAN mailbox, or an AS2 endpoint. Nothing in the standard product reads an X12 850 or writes an 856. Without integration, the workflow looks like this: your trading partner drops an 850 in a VAN mailbox or retailer portal. Someone on your team opens it, reads the segments (often with a free tool like our [EDI translator](/edi-translator)), and types each line into QuickBooks. SKU by SKU. Quantity by quantity. The 997 acknowledgment goes back late or not at all, and the ASN gets built by hand after the truck leaves. That is exactly the process retailers chargeback. Late ASNs, mismatched item numbers, and invoices that don't match the PO all trigger deductions. For the fundamentals of how EDI documents move, our [EDI integration guide](/blog/edi-integration-guide) covers the basics. To see what a raw 850 looks like before you talk to vendors, paste one into the [free EDI Inspector](/edi-inspector) and it parses into readable segments. ## How QuickBooks EDI Works The document flow is the same whichever provider you pick: 1. Trading partner sends an EDI 850 purchase order (AS2, SFTP, or VAN) 2. The EDI provider receives and translates the 850 3. Retailer item numbers are cross-referenced to your QuickBooks items 4. The order is validated (customer, ship-to, quantities, pricing) 5. A transaction is created in QuickBooks (sales order, estimate, or invoice, depending on edition and connector) 6. A 997 functional acknowledgment goes back to confirm receipt When the order ships: - The provider builds the EDI 856 ship notice from your shipment data and transmits it - When you invoice in QuickBooks, the provider converts the invoice to an EDI 810 That cycle (850 in, 997 out, 856 out, 810 out) is the core of retail EDI compliance. The [EDI 850 purchase order guide](/guides/edi/850-purchase-order) breaks down the inbound document. The [EDI 856 ship notice guide](/guides/edi/856-ship-notice) covers what the ASN must contain and when it must arrive. ## QuickBooks Online vs Desktop for EDI The two QuickBooks families connect to EDI providers in different ways, and that drives both reliability and which providers you can use. | | QuickBooks Online (Simple Start to Advanced) | QuickBooks Desktop (Pro, Premier, Enterprise) | |---|---|---| | **How EDI connects** | Cloud REST API, authorized with OAuth | Desktop SDK through the Web Connector or a local agent | | **Machine dependency** | None | The QuickBooks host machine must be on and the company file available | | **Sales orders** | Plus, Advanced and Intuit Enterprise Suite; Simple Start and Essentials need the Inventory add-on | Premier and Enterprise only; Pro has none | | **Pick, pack and ship** | Basic "mark as shipped" | Sales order fulfillment worksheet in Enterprise Platinum and Diamond | | **Customer-specific pricing** | Limited price rules | Advanced Pricing in Enterprise Platinum and Diamond | | **Availability** | Sold to new customers | Intuit stopped selling new Pro Plus, Premier Plus and Mac Plus subscriptions to new US customers after September 30, 2024; Enterprise is still sold | **QuickBooks Online** is the simpler integration. No local agent, no Windows box to babysit. [Intuit's QuickBooks Online API documentation](https://developer.intuit.com/app/developer/qbo/docs/get-started) covers what integration partners can read and write. **QuickBooks Desktop** works, but the integration depends on a specific machine running QuickBooks. If that machine reboots for updates overnight, orders queue until someone notices. It also complicates remote teams and hosted Desktop setups. ## QuickBooks Order Management: The Sales Order Gap This is the limitation most buyers hit after go-live, and few vendor pages mention it. A sales order is a non-posting record of what a customer has ordered and you haven't shipped yet. It is where an inbound 850 belongs. You pick against it, ship partials, and invoice what actually went out. Retail EDI depends on that separation, because the 856 and 810 must reflect what shipped, which is often less than what was ordered. **QuickBooks Desktop Enterprise** handles this well. [Intuit's help article](https://quickbooks.intuit.com/learn-support/en-us/help-article/sales-orders/create-sales-order/L6mKnrj8m_US_en_US) confirms sales orders are available in Premier and Enterprise only, and Enterprise Platinum and Diamond add a fulfillment worksheet that shows every open sales order with shippable quantities. Partial shipments and backorders are native. **QuickBooks Online** had no sales orders for years. Users converted estimates to invoices instead. Intuit has since added [sales orders to QBO Plus and Advanced](https://quickbooks.intuit.com/learn-support/en-us/help-article/sales-orders/create-manage-sales-orders-quickbooks-online/L1K2AQ1Lx_US_en_US), with convert-to-invoice, mark-as-shipped, and close actions. Simple Start and Essentials need the paid Inventory add-on. The catch is the API. Integrators on Intuit's developer forum have long reported that the public QuickBooks Online Accounting API [did not expose a Sales Order entity](https://help.developer.intuit.com/s/question/0D5TR00001HcrXb0AJ/qbo-api-lacks-sales-order-support-what-is-the-recommended-workflow), and Intuit staff pointed them to the Estimate entity. So many QBO connectors still post inbound 850s as estimates, invoices, or sales receipts. That has real effects: - **Posting an invoice on receipt** books revenue and A/R before anything ships. A short-shipped order then needs a credit memo, and your 810 must still match the 856. - **Posting an estimate** keeps the books clean, but estimates don't reserve inventory, and your team has to convert each one by hand at ship time. - **Partial shipments** are where both workarounds break. A 100-case PO that ships 92 cases needs the invoice, the ASN, and the open balance to agree. Before you sign, ask every provider one question: "On my QuickBooks edition, what transaction does an inbound 850 create, and how do you handle a partial shipment?" The answer tells you more than the feature list. ## QuickBooks EDI Providers Compared We checked each provider's own QuickBooks page for supported editions and pricing. None of the EDI-only providers publish a price list; all quote on trading partners and volume. | Provider | Model | QuickBooks editions | What an inbound 850 creates | Non-EDI orders (PDF, email) | Published pricing | |---|---|---|---|---|---| | **[SPS Commerce](https://www.spscommerce.com/products/integrations/edi-for-quickbooks/)** | Full-service EDI with a large retailer network | Online, Online Canada, Desktop Pro, Premier, Enterprise | Order in QuickBooks via SPS Fulfillment | No | Not published; quote-based | | **[TrueCommerce](https://quickbooks.intuit.com/app/apps/appdetails/ediforquickbooksbytruecommerce/en-us/)** | Managed EDI with pre-built partner maps | Online, Desktop Pro, Premier, Enterprise | Sales orders and invoices | No | One-time setup fee plus a 12-month subscription; standard plan covers 3 trading partners, 2 integrated document types, labels, packing lists and an annual transaction allotment | | **[Cleo](https://www.cleo.com/solutions/application-connectors/quickbooks)** | Cloud EDI with an application connector | Online, Desktop Pro, Premier, Enterprise | QuickBooks sales order; 810 generated from the QuickBooks invoice | No | Not published | | **OrderEase** | Order operations platform with EDI | QuickBooks (edition list not published) | Sales documents pushed to QuickBooks | Shopify, marketplaces, portal and rep orders | Subscription; not published | | **iPaaS (Celigo, Boomi)** | Integration middleware | Mostly QuickBooks Online | Whatever you build | Whatever you build | Subscription; still needs an EDI translator | | **OrderSync** | Order automation across EDI, PDF and email | Online and Desktop, through the EDI import you use with QuickBooks | Validated 850 delivered over SFTP | Yes: PDF, email, CSV, Excel, fax | Flat monthly, quoted on volume and trading partners; no per-document or VAN fees | Two cost structures dominate. Managed and network providers charge a setup fee per trading partner, then a monthly or annual subscription with a transaction allotment, and overage fees beyond it. Flat-rate providers fold documents into the subscription. To compare them honestly, count four documents per order (850 in, 997 out, 856 out, 810 out) and ask each vendor to price your real monthly order count across all four. For a deeper look at the two biggest names, see our [SPS Commerce vs TrueCommerce comparison](/compare/sps-commerce-vs-truecommerce). If you want the provider to own mapping, testing and spec changes, our guide to [managed EDI services](/blog/managed-edi-services) explains what that model includes. ### When iPaaS Makes Sense Tools like Zapier, Make, or Celigo connect QuickBooks Online to other systems. You could build an EDI-to-QBO flow by pairing an iPaaS with a translation layer. For most distributors this creates more work than it removes. Retailer-specific segment rules, 997 timing, and ASN content need EDI-specific handling, and someone on your team has to own the maps when a retailer changes its spec. It fits companies with an integration engineer on staff and very few trading partners. ## Where OrderSync Fits Most food and wholesale distributors on QuickBooks have a mix. A few accounts send EDI 850s. Many more email PDF purchase orders or spreadsheets. Some call. If you automate only the EDI side, the PDF and email orders stay on the manual entry list, with the same typos and short shipments. OrderSync takes every inbound order, EDI, PDF, email, CSV or Excel, and runs it through one pipeline: - **Extract.** AI reads PDF and email orders line by line with no templates to build. - **Validate.** Every line is checked against the item list, customer list and sales tax settings loaded from your QuickBooks export. Exceptions wait for review before anything reaches QuickBooks. - **Deliver.** Clean orders arrive as EDI 850 over SFTP to the EDI import you use with QuickBooks Online or Desktop. - **Respond.** 855, 856, 810 and 997 documents go back to trading partners on the same channel. A native connection through the QuickBooks Online API, or the Desktop SDK through Web Connector, is scoped per deployment. The [QuickBooks Online integration page](/integrations/quickbooks) and [QuickBooks Desktop integration page](/integrations/quickbooks-desktop) list the details, and [multi-format order processing](/multi-format-orders) explains how one pipeline handles every format. ## When You've Outgrown QuickBooks QuickBooks with a good EDI provider carries a lot of distributors a long way. These are the signals that it's time to look at an ERP: - **Volume.** Past 50 orders a day, the sales order gap and Desktop's single-machine dependency start to cost real hours. Past 100, most distributors want native order management. - **Divergent trading partner specs.** Five or more retailers with different segment, timing and label rules mean mapping overhead grows with each new account. - **Lot tracking and traceability.** Food distributors facing lot-level traceability need inventory depth that QuickBooks Online lacks and Desktop Enterprise only partly covers. - **Customer-specific pricing at scale.** Contract pricing per retailer pushes QuickBooks users into duplicate SKUs or Enterprise Platinum. If you're weighing a move, our [NetSuite EDI integration](/blog/edi-netsuite-integration) and [Acumatica EDI integration](/blog/edi-acumatica-integration) guides show how the same flow works on a full ERP. EDI by itself is rarely the reason to switch. Order management usually is. ## What Onboarding Involves The steps are the same with any provider: **Trading partner setup.** Each retailer has its own ISA/GS identifiers, required segments, qualifiers and test requirements. Your provider builds a profile per partner. **Item cross-reference.** Retailers use their own item numbers and UPCs. QuickBooks uses your SKUs. Building that table is usually the slowest part of setup. **QuickBooks connection.** For QBO, an OAuth authorization. For Desktop, an agent or Web Connector on the QuickBooks host, authorized in the company file. **Test cycles.** Most retailers require a set of successful test 850s, 997s, 856s and 810s before go-live. Their EDI team reviews each document. **Go-live monitoring.** The first weeks surface what testing missed: items with no cross-reference, address formats the retailer rejects, partial shipments. Your provider should be watching production closely during this window. With two or three trading partners and a pre-built QuickBooks connector, plan on two to four weeks. Add a week or two per additional partner, depending on how fast each retailer runs its testing. ## Frequently Asked Questions ### Does QuickBooks have any built-in EDI features? No. QuickBooks Online, Desktop Pro, Premier and Enterprise have no EDI translation, VAN connectivity or AS2 communication. You need a third-party EDI provider or connector to exchange 850, 856, 810 and 997 documents with retailers. ### What is the best EDI for QuickBooks? It depends on your mix. If nearly all your orders come from large retailers by EDI, SPS Commerce, TrueCommerce and Cleo all have QuickBooks connectors and broad retailer networks. If a large share of orders arrive as PDFs and emails, pick a provider that automates those too, or you'll still be keying half your orders. ### Does QuickBooks Online have sales orders? Yes, in QuickBooks Online Plus, Advanced and Intuit Enterprise Suite. Simple Start and Essentials need the Inventory add-on. Check what your EDI connector writes, because many QBO integrations still create estimates or invoices from inbound 850s. ### How much does QuickBooks EDI cost? SPS Commerce, TrueCommerce and Cleo don't publish QuickBooks EDI prices. TrueCommerce's QuickBooks listing describes a one-time setup fee plus a 12-month subscription with a transaction allotment. Ask each vendor to quote your real order volume across all four documents per order, including setup fees per trading partner. ### Can I use QuickBooks Online for EDI, or do I need Desktop? Both work. QuickBooks Online is easier to connect because it uses a cloud API with no local agent. QuickBooks Desktop Enterprise has stronger sales order fulfillment, partial shipment handling and advanced pricing. Choose on order management needs, since every major EDI provider supports both. ### What happens when a retailer changes its EDI spec? With a managed provider, they update the map. With a self-managed connector or iPaaS, your team or a consultant does. Retailers usually give 60 to 90 days notice, but that only helps if your provider turns changes around quickly. Ask for average turnaround before you sign. ## Get EDI and Email Orders Into QuickBooks If your QuickBooks team is keying EDI orders, PDF purchase orders, or both, we'll walk through your current order mix and show what automating it looks like on your QuickBooks edition. [Book My Intro Call](/book) --- # Automated Order Management for B2B Source: https://ordersync.io/blog/automated-order-management > How automated order management works, what it costs, and why AI-based systems are replacing manual data entry for B2B distributors and suppliers. Automated order management receives purchase orders from any channel—EDI, email, PDF—validates them, and enters them into your ERP without manual intervention. For B2B suppliers, it eliminates the 3-5 minutes of data entry per order and reduces keying errors. Most distributors see payback in under six months. > **Automated order management** uses software to receive, validate, and process customer orders without manual data entry. For B2B distributors and suppliers, this means purchase orders from EDI, PDF, email, and spreadsheets flow into your ERP automatically. Your customers send orders in five different formats. Your team re-keys every one of them. One person handles the EDI orders. Another opens PDF attachments, reads the line items, and types them into your ERP. A third deals with the Excel spreadsheets that arrive by email every Monday morning. That is not order management. That is data entry with extra steps. Automated order management replaces this manual work. AI reads the incoming document, extracts the data, validates it against your products and pricing, and pushes a clean order into your ERP. The format the customer used to send it does not matter. ## What Automated Order Management Actually Does Most articles about order management automation talk about inventory sync and fulfillment tracking. That is not what B2B operations teams need help with. The real bottleneck is earlier in the process: getting the order from the customer's format into your system accurately. Here is what a modern automated order management system handles: **Multi-format order intake**: Orders arrive via [EDI 850 purchase orders](/guides/edi/850-purchase-order), PDF attachments, emailed spreadsheets, and customer portals. The system receives all of them through a single pipeline instead of requiring separate tools for each format. **AI data extraction**: Instead of a person reading a PDF and typing item numbers, the system extracts line items, quantities, ship-to addresses, PO numbers, and requested dates automatically. This works on structured documents (EDI, CSV) and unstructured ones (PDFs, emails) equally well. **Validation before entry**: Every extracted order runs through validation rules. Does this customer exist? Are the product SKUs valid? Does the pricing match the customer's contracted rate? Problems get flagged before anything touches your ERP. **4. ERP sync.** Valid orders push directly into your ERP, WooCommerce store, or whatever system runs your fulfillment. No export, no import, no CSV file sitting on someone's desktop. **5. Exception handling.** Orders that fail validation go to a review queue with clear error messages. Your team fixes only the exceptions. Everything else flows through untouched. ## The Cost of Not Automating Manual order entry is expensive in ways that do not show up on a line item. According to [APQC benchmarks](https://www.apqc.org/resource-library/resource-collection/sales-and-order-management-key-benchmarks), manual order processing costs $5 to $15 per order. That includes labor for data entry, error correction, and back-and-forth with customers about unclear POs. But the labor cost is only part of it: - **Error rates.** [Aberdeen Group](https://www.aberdeen.com/) reports manual data entry carries a 1-3% error rate per field. On a 20-line purchase order, that means a meaningful chance of shipping the wrong quantity or wrong product on every order. - **Chargebacks.** Retailers like Walmart and Target fine suppliers for order errors. [GS1 US compliance guidelines](https://www.gs1us.org/industries-and-insights/standards) govern the ASN and SSCC data that triggers these chargebacks when wrong. A single wrong ASN can cost $500 or more. - **Speed.** A manually entered order takes 10 to 30 minutes from receipt to ERP entry. An automated order takes under a minute. When your largest customer sends 50 POs on a Monday morning, that gap matters. - **Scaling.** Adding order volume means adding headcount. With automation, it does not. If you process 100 orders per day manually at $10 per order, that is $200,000 per year in processing costs alone. Cut that to $1 per order with automation and the math is obvious. ## How AI Changed the Game Traditional order automation required templates. You would map each customer's PDF layout, define where the PO number lives, where line items start, and how to parse quantities. When the customer changed their PO format, the template broke. AI-based systems work differently. They read documents the way a person would: understanding context, identifying line items regardless of layout, and learning from corrections. No templates to build. No brittle rules to maintain. This matters for B2B operations because: - **Every customer has a different PO format.** A template-based system needs configuration for each one. An AI system handles new formats out of the box. - **Formats change without warning.** Customers update their ERP, and suddenly the PDF layout shifts. AI adapts. Templates fail. - **Some orders are messy.** Handwritten notes, email threads with order details buried in the body, Excel files with inconsistent formatting. AI handles the ambiguity. The shift from template-based to AI-based document processing is why automated order management is now accessible to mid-market distributors, not just enterprises with six-figure budgets for tools like Esker or Conexiom. ## What to Look For in an Automated Order Management System Not every OMS is the same. Most "order management software" on the market focuses on ecommerce order routing (Shopify, Amazon, multichannel fulfillment). That is a different problem. For B2B distributors and suppliers who receive purchase orders from buyers, here is what matters: ### Multi-format support is non-negotiable If the system only handles EDI, you still need separate tools for PDF and email orders. If it only handles PDFs, you are out of luck when a retailer requires [EDI compliance](/blog/essential-guide-to-edi). The system needs to process every format your customers use through [one pipeline](/multi-format-orders). ### Validation must be configurable Generic validation catches obvious errors. Useful validation checks customer-specific pricing tiers, product catalog matches, quantity minimums, and ship-to address accuracy. If you cannot set rules per customer, you will still be reviewing every order manually. ### ERP integration is the endpoint The order needs to land in your ERP. Not in a CSV. Not in an inbox. Direct integration with your ERP, whether that is NetSuite, QuickBooks, Dynamics 365, SAP, or a WooCommerce-based wholesale operation, is what makes the automation real. If you are exporting and importing files, you have not automated anything. ### Exception handling, not just happy path Every demo looks great when the order is clean. What happens when a product code does not match? When the customer's price is different from your catalog? When the ship-to address is new? A good system surfaces these exceptions clearly and gives your team tools to resolve them fast. ### Transparent pricing Enterprise players like Esker and [Conexiom](/ordersync-vs/conexiom) require demos and custom quotes. Prices typically start at $50,000 per year and go up from there. If you are a distributor doing $5M to $50M in revenue, you need a solution priced for your scale, not theirs. ## Automated Order Management vs. Traditional EDI Providers If you are comparing solutions, it helps to understand the categories: | Feature | Traditional EDI (SPS, TrueCommerce) | Enterprise Automation (Esker, Conexiom) | AI Order Management (OrderSync) | |---------|--------------------------------------|----------------------------------------|-------------------------------| | EDI orders | Yes | Yes | Yes | | PDF orders | No | Yes (template-based) | Yes (AI-based) | | Email orders | No | Limited | Yes | | Spreadsheet orders | No | Limited | Yes | | ERP integration | Via VAN/middleware | Direct | Direct | | Setup time | Weeks to months | Months | Days | | Annual cost | $5K-$20K + per-transaction | $50K-$200K+ | Fraction of enterprise pricing | | Target company size | Any | Enterprise ($100M+) | Mid-market ($5M-$100M) | Traditional EDI providers solve one format. Enterprise automation platforms solve multiple formats but at enterprise prices. The gap in the market is for mid-market B2B companies that need the multi-format capability without the enterprise price tag. ## Getting Started If you are still processing orders manually, start by measuring the problem: 1. **Count your daily orders by format.** How many arrive via EDI? PDF? Email? This tells you whether you need a multi-format solution or if EDI alone would cover it. 2. **Time your order entry.** How long does it take one person to key in one order? Multiply by daily volume. That is your automation opportunity in hours per day. 3. **Track your error rate.** Pull the last month of chargebacks, short shipments, and pricing disputes. These are errors that automation prevents. If the numbers add up (and for most B2B operations doing 50+ orders per day, they do), [automated order processing](/order-processing-automation) pays for itself within the first quarter. Order intake is the first step in the [order-to-cash cycle](/blog/order-to-cash-automation), and automating it improves every downstream metric from fulfillment accuracy to DSO. OrderSync processes EDI, PDF, email, and spreadsheet orders through a single AI-powered pipeline with direct ERP sync. If you want to see how it handles your specific order formats, [book a 15-minute intro call](/book). ## FAQ ### What is automated order management? **Automated order management is the use of software to receive, validate, and process purchase orders without manual data entry.** In B2B operations, this means orders from EDI, PDF, email, and other formats are extracted, checked against your product catalog and pricing, and synced to your ERP automatically. ### How much does automated order management software cost? Costs range widely. Enterprise platforms (Esker, Conexiom) start around $50,000 per year. Traditional EDI providers (SPS Commerce, TrueCommerce) run $5,000 to $20,000 plus per-transaction fees. Mid-market AI solutions are typically priced at a fraction of enterprise platforms while handling the same range of order formats. ### What is the difference between OMS and order automation? An OMS (order management system) typically refers to software that tracks orders through fulfillment, common in ecommerce for routing orders across channels. Order automation specifically addresses the data entry problem: extracting order data from incoming documents and entering it into your ERP without manual keying. B2B operations usually need both, but the automation layer is where the biggest time savings come from. ### Can automated order management handle EDI and PDF orders? Yes, if the system supports multi-format processing. Traditional EDI solutions only handle EDI. Most B2B suppliers receive orders in a mix of formats, so a solution that processes EDI, PDF, email, and spreadsheet orders through one pipeline eliminates the need for separate tools. --- # Order Processing Software for B2B Distributors Source: https://ordersync.io/blog/order-processing-software > How to choose order processing software when your orders arrive as EDI, PDFs, and emails, not shopping carts. A guide for B2B distributors and suppliers. B2B order processing software handles orders that arrive as EDI files, PDF purchase orders, and emails—not shopping cart checkouts. It extracts order data, validates against your product catalog and inventory, and writes confirmed orders to your ERP. Key requirements are multi-format support, ERP integration, and clear exception handling workflows. **Order processing software for B2B distributors automates the steps between receiving a customer purchase order and entering it into your ERP, handling EDI, PDF, email, and spreadsheet formats through a single pipeline.** For B2B distributors, this means extracting data from purchase orders regardless of format, validating it against your item master and pricing, and syncing it to your ERP. Research on B2B order processing costs and formats: - [APQC benchmarks](https://www.apqc.org/resource-library/resource-collection/sales-and-order-management-key-benchmarks) put the median cost of manually processing a single B2B order at $5 to $15, with top performers using automation to bring that below $1 - The [X12 standards body](https://x12.org/products/transaction-sets) defines the 850 Purchase Order transaction that governs EDI-based orders from retailers like Walmart, Target, and Costco - [Gartner's supply chain technology research](https://www.gartner.com/en/supply-chain/topics/supply-chain-management) identifies AI-based order management as a top investment priority for mid-market distributors through 2027 Search for "order processing software" and you get a wall of ecommerce tools. Zoho Inventory. ShipStation. Ordoro. Fishbowl. These are good products, but they solve a different problem. They manage orders that come through shopping carts and online marketplaces. If your orders arrive as [EDI 850 purchase orders](/guides/edi/850-purchase-order), PDF attachments, emailed spreadsheets, or phone calls, you need a different kind of order processing software entirely. This guide covers what to look for. ## The Two Types of Order Processing Software The market splits cleanly into two categories, and most comparison articles mix them together: ### Type 1: Ecommerce Order Management Tools like Zoho Inventory, ShipStation, Extensiv, and Ordoro. They sync orders from Shopify, Amazon, eBay, and other marketplaces into a central dashboard. They track inventory, generate shipping labels, and manage multichannel fulfillment. **Who it is for:** D2C brands and ecommerce sellers who receive orders through online storefronts. **The assumption:** Orders are already structured data. The customer clicked "buy," the cart captured every field, and the order exists as a clean record in the platform's database. ### Type 2: B2B Order Automation Tools like Esker, Conexiom, Workist, and OrderSync. They process purchase orders that arrive as documents: EDI files, PDFs, emails, CSVs. The software reads the document, extracts the data, validates it, and pushes it into the ERP. **Who it is for:** Distributors, wholesalers, manufacturers, and suppliers who receive purchase orders from other businesses. **The assumption:** Orders are unstructured or semi-structured documents. Someone has to read them and enter the data somewhere. The question is whether a person does it or software does it. If you are reading this, you are probably Type 2. The rest of this guide is for you. ## What B2B Order Processing Software Needs to Do ### 1. Accept orders in whatever format your customers send them Your customers will not standardize. One sends EDI. Another emails a PDF. A third pastes line items into the body of an email. A fourth sends an Excel file every Tuesday. You can ask them to change. They will not. Your software needs to handle the reality, not the ideal. This means [multi-format processing](/multi-format-orders): EDI, PDF, CSV, Excel, and email, all flowing through the same system. ### 2. Extract data without templates for every customer Older document processing tools required you to build a template for each customer's PO layout. Map where the PO number field sits, where line items begin, how to parse quantities versus UOM. When the customer changed their format (and they always do), the template broke. Modern systems use AI to read documents contextually. They identify line items, quantities, product codes, and ship-to addresses without a predefined map. This is the difference between spending a week setting up each new customer and onboarding them in minutes. ### 3. Validate before the order hits your ERP Raw extraction is not enough. The software needs to check: - **Product matching.** Does the customer's part number or description match something in your catalog? If they order "Widget A-100" and your SKU is "WDG-A100," the system should resolve that. - **Pricing accuracy.** Does the price on the PO match the customer's contracted rate? If they are ordering at last quarter's pricing, that needs to be flagged before it syncs. - **Customer verification.** Is this an active customer? Is the ship-to address on file? Are there any credit holds? - **Quantity sanity.** Did someone order 10,000 units when they usually order 100? Catch it before it ships. Without validation, you are just automating the creation of problems. Orders flow into your ERP faster, but they still have errors. Then you spend the same time fixing them downstream. ### 4. Integrate directly with your ERP "Integration" in this context means the validated order creates a sales order in your ERP automatically. Not a CSV export. Not an API call that you have to build. Direct, out-of-the-box connection to your system. The specific ERP matters. If you run NetSuite, you need a NetSuite integration. If you run SAP, QuickBooks, Dynamics 365, or a [WooCommerce-based wholesale operation](/erp-integration), the software needs to support your stack specifically. Ask vendors this question early. "Integrates with major ERPs" on a marketing page is not the same as "we have a production integration with your specific ERP version." ### 5. Surface exceptions instead of hiding them No system processes 100% of orders automatically. Some will have issues: a product code that does not match, a new ship-to address, a price discrepancy. What matters is how the software handles these. Good order processing software routes clean orders straight through and sends exceptions to a review queue with clear context about what went wrong. Your team fixes the 5-10% of orders that need attention. The other 90-95% never require a human touch. Bad order processing software either stops everything when one order fails, or worse, pushes bad data through silently. ## The Current Landscape | Vendor | Tier | Best For | Format Support | ERP Integration | |---|---|---|---|---| | **Esker** | Enterprise, quoted per module | Large enterprises, SAP and Oracle shops | EDI, PDF, email | Deep ERP partnerships | | **Conexiom** | Enterprise | Industrial/electrical distribution | EDI 850, PDF, email | ML + GenAI | | **Workist** | Mid-tier AI | European market, AI extraction | PDF, email, EDI | API-based | | **OrderSync** | Mid-tier | B2B distributors, mixed formats | EDI, PDF, email, CSV, fax | Direct ERP sync | | **SPS Commerce** | EDI-only | All orders arrive via EDI | EDI only | VAN-based | Here is how the main players compare for B2B order processing in more detail: ### Enterprise-tier ($50K-$200K+/year) **Esker** ranks for "order processing software" and "automated order management." They are a publicly traded French company with 316,000+ backlinks and deep ERP partnerships. Their product is real and proven. Their pricing is enterprise-only, starting around $50,000 per year with implementation fees on top. If you are doing $100M+ in revenue, they are a fit. **Conexiom** focuses on sales order automation for distributors, specifically industrial and electrical distribution. ML plus generative AI document processing with ERP integration. Similar enterprise pricing. See how the two approaches differ in [OrderSync vs Conexiom](/ordersync-vs/conexiom). ### Mid-tier / AI-native **Workist** is a German startup that ranks #1 for "[automated order entry](/blog/order-entry-software)" and "ai order processing." AI-based document processing with a focus on the European market. Their product is strong but their pricing and sales motion are enterprise-leaning. **Nanonets** is a general-purpose AI document extraction platform. Not specific to order processing, but you can configure it for PO extraction. You build the workflow yourself. **OrderSync** processes EDI, PDF, email, and spreadsheet orders through a single AI pipeline with direct ERP sync. Built specifically for B2B distributors and suppliers in the mid-market. [See how it works](/ai-order-automation). ### Legacy / EDI-only **SPS Commerce** and **TrueCommerce** are EDI providers. They handle EDI transactions between trading partners. If all your customers send EDI, they work. If some customers send PDFs or emails (and some always do), you still need something else for those orders. ## How to Evaluate Order Processing Software **Test with real documents**: Do not evaluate based on a demo with sample data. Send the vendor five real purchase orders from five different customers: an EDI file, a clean PDF, a messy PDF, an Excel spreadsheet, and an email with order details in the body. See what the system extracts accurately without configuration. **Check the validation rules**: Ask whether you can set a different price list per customer, and what happens when a product code does not match. If the answer involves manual workarounds or custom development, move on. ### Measure the exception rate After running real documents, ask what percentage of orders would have processed automatically (straight-through processing rate). For a well-configured system, this should be 85% or higher. If the vendor cannot tell you this number on your actual data, they are guessing. ### Understand the pricing model Some vendors charge per document processed. Some charge a flat monthly rate. Some charge per user. Per-document pricing punishes you for growing. Flat-rate pricing rewards it. Know the model before you commit, and project costs at 2x your current volume to see what scaling looks like. ### Ask about onboarding time Enterprise platforms can take 3 to 6 months to implement. AI-native platforms can onboard in days to weeks. If you need to be live before your next quarter, implementation timeline matters. ## The Real Question The question is not whether to automate order processing. Manual data entry at scale is unsustainable. The question is which type of solution fits your operation: - **If all your orders are EDI,** a traditional EDI provider handles it. - **If your orders are mixed formats and you are doing $100M+ revenue,** Esker or Conexiom are proven options. - **If your orders are mixed formats and you are a mid-market distributor,** you need the AI capability without the enterprise price tag. For that middle category, which is most B2B distributors and suppliers, the market is finally catching up. AI-based [order processing automation](/order-processing-automation) at accessible pricing is what makes it possible to stop keying in orders without spending $100K on software. If you want to understand how order processing fits the bigger picture, read our guide on [automated order management](/blog/automated-order-management) or our breakdown of the [order-to-cash process](/blog/order-to-cash-automation). OrderSync handles EDI, PDF, email, and spreadsheet orders in one system with direct ERP sync. [Book a 15-minute call](/book) to see it on your actual order documents. ## FAQ ### What is order processing software? **Order processing software automates the steps between receiving a customer order and entering it into your fulfillment or ERP system.** In B2B operations, this includes document parsing (reading the PO), data extraction (pulling out line items, quantities, and prices), validation (checking against your catalog and customer data), and system sync (pushing the order into your ERP). ### What is the best order processing software for small business? It depends on how your orders arrive. If customers buy through an online store, ecommerce OMS tools like Zoho Inventory or ShipStation work well. If customers send purchase orders as PDFs, emails, or EDI files, you need B2B-focused automation like OrderSync, which handles multiple document formats and syncs to your ERP. ### How much does order processing software cost? Ecommerce OMS tools range from free tiers to $100-$500 per month. B2B order automation platforms range from mid-hundreds per month (AI-native startups) to $50,000-$200,000+ per year (enterprise vendors like Esker and Conexiom). The price usually correlates with the number of document formats supported, the depth of ERP integration, and the level of AI in the extraction engine. ### What is the difference between an OMS and order processing software? An OMS (order management system) is a broader category that includes order tracking, inventory management, and fulfillment routing. Order processing software specifically addresses the intake side: receiving purchase orders, extracting data from them, validating the data, and entering it into your back-end system. Many B2B operations need both, but the processing/intake step is where the most manual labor exists. ### Can order processing software handle EDI and PDF orders? Some can, most cannot. Traditional EDI solutions only process EDI. Traditional OCR tools only process PDFs (with templates). AI-based order processing platforms like OrderSync handle both plus email, CSV, and Excel orders through a single pipeline, eliminating the need for separate tools per format. --- # Purchase Order Automation: 2026 Guide Source: https://ordersync.io/blog/purchase-order-automation > How purchase order automation works, what it costs, and how to eliminate manual PO processing across email, PDF, fax, and EDI channels. Purchase order automation uses software to receive POs from any channel—EDI, email, PDF, fax—extract the order data, validate it, and write it to your ERP without manual re-keying. For B2B suppliers processing hundreds of orders monthly, it cuts entry time from 3-5 minutes per order to near zero and reduces errors below 1%. **Purchase order automation software receives POs in any format, extracts the data, validates it against your catalog and pricing, and syncs clean orders to your ERP without manual entry, cutting per-order cost from $20 to under $5.** Purchase orders drive B2B revenue. Every shipment, every invoice, every dollar your company collects traces back to a PO. And at most companies, processing those POs is still a manual job. Your largest retail accounts send EDI 850s. Everyone else sends email PDFs, Excel spreadsheets, typed email bodies, and the occasional fax. Each order gets opened, read, and re-keyed into your ERP by someone on your team. At 100 orders per day, that is two to three full-time employees doing nothing but data entry. Every shift produces typos. Every typo produces a short shipment, a pricing dispute, or a chargeback. Purchase order automation eliminates that work. It receives POs in any format, extracts the data, validates it against your catalog and pricing, and syncs clean orders to your ERP without manual entry. This guide covers how it works, the full PO lifecycle, what it costs to keep doing things manually, what to look for in purchase order management software, how to compare vendors, and how to calculate the return. ## What Is Purchase Order Automation? **Purchase order automation is software that receives, reads, validates, and enters purchase orders into your ERP without manual data entry, handling every format from [EDI 850s](https://x12.org/products/transaction-sets) to PDF email attachments.** It covers the full lifecycle from the moment a PO arrives to the moment it becomes a sales order in your system. Research and standards context for PO automation: - [Aberdeen Strategy and Research](https://www.aberdeen.com) puts manual PO processing cost at $15 to $25 per order when accounting for labor, error correction, and management overhead - [APICS/ASCM](https://www.ascm.org/) research on demand-supply integration shows that companies with connected PO and inventory systems achieve 15 to 20 percent higher order fill rates - The [X12.org Transaction Sets reference](https://x12.org/products/transaction-sets) defines the 850 Purchase Order standard that governs EDI-based POs from major retailers The scope matters. Many companies think of PO automation as EDI automation only, processing the structured [EDI 850 purchase orders](/guides/edi/850-purchase-order) that come from major retailers. That is part of it, but it is not the full picture. A complete purchase order automation system handles every format your customers use: - **EDI 850s** from trading partners on Electronic Data Interchange - **PDF purchase orders** attached to emails - **Excel and CSV orders** sent as spreadsheets - **Email body orders** typed directly into the message - **Fax orders** received as scanned documents The goal is a single pipeline where every PO, regardless of how it arrives, gets processed the same way: automatically extracted, validated, and synced. No format-specific tools. No switching between systems. No re-keying. This is what separates purchase order automation from basic OCR or EDI translation. OCR reads a document. EDI translation maps one format to another. PO automation covers the full workflow from receipt to ERP entry across all channels. ## The Purchase Order Lifecycle Every PO follows the same basic path. Understanding each stage helps you spot where your process breaks down and where automation makes the biggest difference. ### 1. PO Creation and Receipt The buyer creates a purchase order and sends it to you. In B2B, this happens through several channels: EDI (the [EDI 850](/guides/edi/850-purchase-order) is the standard), email with a PDF attachment, an online portal, or sometimes a phone call. The format matters because it determines how much manual work you need to do. An EDI 850 can feed directly into your system. A PDF requires someone to read it and type the data in -- unless you have automated extraction. ### 2. Validation and Approval Once received, the PO needs validation. Does the item number exist in your catalog? Does the price match your agreement with this customer? Is the requested ship date realistic? Are the quantities within normal range, or did someone accidentally order 10,000 units instead of 100? Some companies route POs through an [approval step](/blog/purchase-order-approval-workflow), especially for large orders, new customers, or orders with pricing exceptions. For how approvals fit the wider buy-side flow, see the [procure-to-pay process](/blog/procure-to-pay-process). ### 3. Inventory Allocation The moment a PO passes validation, the system checks available-to-promise (ATP) inventory and reserves the required units. This is the critical step most disconnected systems miss. Without immediate allocation, the same stock gets promised to multiple orders. **Example:** You have 500 units of SKU-7790. Three POs arrive within an hour requesting 200, 180, and 150 units. A connected system allocates 200 to PO #1, 180 to PO #2, and flags PO #3 for partial fulfillment (120 of 150 available). A disconnected system shows 500 available to all three and creates a 30-unit shortfall at pick time. A 2024 IHL Group study found that out-of-stock and overstock situations cost retailers and suppliers a combined $1.77 trillion globally each year. Much of that waste starts with disconnected order and inventory data. ### 4. Order Acknowledgment The buyer expects confirmation that you received their order and can fulfill it. In EDI, this is the [855 Purchase Order Acknowledgment](/guides/edi/855-purchase-order-acknowledgment). For non-EDI orders, it might be an email confirmation. Skipping this step (or delaying it) causes problems. The buyer does not know if you received their order. They may send it again, creating duplicates. Major retailers track acknowledgment response times and will issue chargebacks if you are too slow. ### 5. Fulfillment and Shipping Your warehouse picks, packs, and ships the order. You send the buyer a ship notice ([EDI 856 ASN](/guides/edi/856-ship-notice) for EDI trading partners) with tracking information, carton details, and shipment contents. For retailers like Walmart and Target, the ASN must include carton-level detail with SSCC-18 barcodes. Getting this wrong triggers compliance chargebacks. ### 6. Invoicing and Three-Way Match After shipment, you send an invoice ([EDI 810](/guides/edi/810-invoice) for EDI partners) tied back to the original PO number. The invoice must match the PO and the ASN. This three-way match (PO, ASN, invoice) is how buyers verify they received what they ordered at the price they agreed to. Discrepancies trigger deductions, short payments, and chargebacks. ## The Cost of Manual PO Processing Manual purchase order processing is expensive in ways that do not show up on a single line item. The costs are spread across labor, errors, and delays. According to Aberdeen Strategy & Research, manual data entry costs [$15 to $25 per order](https://www.aberdeen.com) to process when you account for labor, verification, error correction, and management overhead. That includes the time to open the document, read it, key the data, double-check the entry, and file the original. The error rate compounds the problem. Aberdeen's research puts manual data entry error rates at 1% to 5% per field. On a typical purchase order with 15 line items and six fields per line (SKU, description, quantity, UOM, price, line total), even a 2% error rate means roughly one in five orders contains at least one mistake. Run the math on a mid-size operation processing 100 orders per day: - **Labor cost**: 100 orders x $20 average x 250 working days = **$500,000 per year** - **Error cost**: 20 orders per day with at least one wrong field, generating returns, credit memos, and chargebacks - **Delay cost**: Orders sitting in queue during peak periods while your team works through the backlog | Metric | Manual Processing | Automated Processing | |---|---|---| | Time per order | 8-15 minutes | Under 30 seconds | | Error rate per field | 1-5% | Under 0.5% | | Cost per order | $15-$25 | $2-$5 | | Scalability | Add headcount | Add volume | | Processing hours | Business hours only | 24/7 | | Acknowledgment speed | Hours to days | Seconds | | Duplicate detection | Relies on human memory | Automatic PO number matching | | Audit trail | Fragmented across email and paper | Complete, searchable log | At 100 orders per day, manual processing costs $375,000 to $625,000 per year in labor alone, before counting the cost of the errors those manual processes produce. ## How Purchase Order Automation Works Purchase order automation follows a pipeline that mirrors what a skilled data entry person does, but faster and without typos. Here is what happens at each step: **1. PO receipt and ingestion.** The system monitors all incoming channels: EDI connections, email inboxes, fax queues, and file upload portals. When a new PO arrives, it gets pulled into the pipeline automatically. No one needs to check an inbox or pull paper off a fax machine. **2. Classification.** The system determines what it is looking at. Is this a new purchase order, a PO revision, a request for quote, or a general inquiry? For email, it checks both the message body and attachments. EDI transactions are already classified by their transaction set number (850 for purchase orders, [860 for PO changes](/guides/edi/860-purchase-order-change)). **3. Data extraction.** This is where the real work happens. For EDI 850s, extraction is straightforward because the data is already structured. For PDFs, Excel files, email bodies, and fax images, [AI-powered extraction](/ai-order-automation) reads the document and pulls out every field: PO number, order date, ship-to address, line items, quantities, unit prices, and special instructions. **4. Normalization.** Extracted data gets standardized. "Widget A, 100 pcs" becomes SKU WDG-A, quantity 100, UOM EA. Customer part numbers get cross-referenced to your internal SKUs. Addresses get normalized against your customer master data. **5. Validation.** Every field gets checked against your business rules. Does the SKU exist in your catalog? Is the price correct for this customer? Is the quantity within expected ranges? Does the ship-to address match an authorized location? Orders that pass all checks move to the next step. Orders with exceptions (unrecognized SKU, price mismatch, unusual quantity) get routed to a review queue with the specific issues flagged. **6. Exception handling.** Your team reviews only the orders that need attention. They are not re-keying data. They are looking at a flagged field, confirming or correcting it, and approving the order. This shifts the job from data entry to quality control. **7. ERP sync.** Validated orders sync to your ERP as sales orders through a direct [ERP integration](/erp-integration). No CSV exports. No manual imports. The order is ready for picking and shipping. The full cycle takes seconds for clean orders. Even orders with exceptions arrive pre-extracted, so your reviewer spends 30 seconds confirming a flagged field instead of 10 minutes keying an entire order. ## What to Automate First You do not need to automate every PO channel on day one. Prioritize by structure and volume: **1. EDI 850 purchase orders.** If you already receive EDI from trading partners, this is the fastest win. EDI data is structured, so extraction accuracy is near 100%. The challenge is mapping and compliance, not reading the document. If you are still testing EDI setups, our [free EDI Inspector](/edi-inspector) helps you parse and validate files during onboarding. **2. Email PDF purchase orders.** For most mid-market suppliers, this is the highest-volume channel. Your top 20 accounts might be on EDI. The next 200 send email PDFs. These are well-structured documents that AI extracts with 98% to 99.5% accuracy. Start here for the biggest impact on your team's daily workload. See how [PDF order processing](/pdf-order-processing) and [email order processing](/email-order-processing) work in practice. **3. Email body and Excel orders.** These are less structured but still automatable. Excel and CSV attachments are already tabular data. Email body orders (where the buyer types items directly in the message) require more AI interpretation, but modern extraction handles them well for straightforward orders. **4. Fax orders.** Declining in volume but still common in healthcare, government, and traditional manufacturing. Digital fax services convert incoming faxes to image files that feed into the same extraction pipeline. Accuracy depends on document quality, typically 90% to 99%. **5. Phone and voicemail orders.** An emerging category. Some platforms now transcribe voicemail orders and extract structured data from the transcription. Early stage, but worth watching if you take phone orders. The key principle: start with the channel where you process the most volume or spend the most labor. Prove the workflow there, then expand. ## Why Most PO Software Falls Short Here is what most vendors do not tell you upfront: their software handles one format category well and ignores the rest. **EDI-focused tools** process 850 purchase orders, generate 855 acknowledgments and [997 functional acknowledgments](/guides/edi/997-functional-acknowledgment), and handle retailer compliance. But when your mid-size accounts send PDF purchase orders by email, these tools have nothing to offer. You are back to manual entry. **Document automation tools** go the other direction. They use OCR or AI to read PDF and image-based purchase orders. Some do this well. But they have no concept of EDI transactions, trading partner requirements, or compliance workflows. When Walmart or Target requires EDI, these tools cannot help. **ERP built-in modules** offer basic PO management within your existing system. They handle manual entry and maybe a simple email integration. But they typically lack the AI extraction needed for unstructured documents and the EDI translation needed for retail compliance. According to a 2024 report from the [Institute of Finance and Management](https://www.iofm.com/ap/process-improvement/automation/the-future-of-accounts-payable-digital-profitable-and-strategic) (IOFM), over 55% of B2B purchase orders still arrive via email, with PDF attachments being the most common format. If your PO management software only covers EDI, it is ignoring the majority of your order volume. | | Traditional EDI Providers | Document Automation | AI Multi-Format Platforms | ERP Built-In Modules | |---|---|---|---|---| | **Formats supported** | EDI only (850, 855, 856, etc.) | PDF, image, some Excel | EDI + PDF + email + fax + Excel | Manual entry, basic email | | **Setup complexity** | High (trading partner onboarding, VAN setup) | Medium (template configuration) | Medium (AI training, ERP mapping) | Low (already in your ERP) | | **Cost model** | Per-transaction + VAN fees | Per-document or flat monthly | Flat monthly or per-document | Included with ERP license | | **Best for** | Companies where 90%+ of orders are EDI | Companies with no EDI requirements | Companies with mixed-format orders | Companies with low volume, simple orders | | **EDI compliance** | Full compliance capabilities | None | Full compliance capabilities | None or very basic | | **AI extraction** | None | Varies (OCR to AI) | AI-native | None | The gap in the market is clear. If your orders come in multiple formats, and you need both EDI compliance and the ability to process unstructured documents, traditional EDI providers and document automation tools each solve only half the problem. A [multi-format order processing](/multi-format-orders) approach eliminates the need to stitch together separate tools for different order types. ## Purchase Order Automation Software: What to Look For Not all purchase order automation software works the same way. The differences matter when you are processing POs across multiple formats and channels. **Multi-format support**: The software should handle EDI, PDF, Excel, email body, and fax orders through a single platform. If you need one tool for EDI and another for email PDFs, you have not solved the problem. You have moved it. **AI extraction vs. template-based OCR**: This is the biggest technical decision. Template OCR requires you to map fields on a page layout for each customer's PO format. When a customer changes their form, updates their logo, or shifts a column, the template breaks. [AI extraction](/ai-order-automation) reads documents the way a person does, adapting to layout changes without reconfiguration. Template OCR requires you to map fields on a page layout for each customer's PO format. When a customer changes their form, updates their logo, or shifts a column, the template breaks. [AI extraction](/ai-order-automation) reads documents the way a person does, adapting to layout changes without reconfiguration. | Feature | Template OCR | AI Extraction | |---|---|---| | Setup per customer | Manual template mapping | No templates needed | | New customer onboarding | Hours to days | Minutes | | Layout change handling | Template breaks, needs update | Adapts automatically | | Accuracy on structured PDFs | 90-95% | 98-99.5% | | Email body orders | Not supported | Supported | | Handwritten content | Not supported | Limited support (80-90%) | **ERP integration depth.** "Integration" can mean anything from a CSV export to a real-time API sync. You want direct [ERP integration](/erp-integration) that creates sales orders automatically, not a file that someone still has to import. Ask specifically: does the order land in my ERP as a sales order, or do I still have a manual step? **Validation rules engine.** Extraction without validation is dangerous. The software needs to check every order against your product catalog, customer pricing, quantity thresholds, and business rules before it touches your ERP. Good [order management systems](/order-management-systems) catch errors before they become shipping mistakes. **Exception handling workflow.** When an order fails validation (and some will), the software should route it to a review queue with the specific issue flagged. Your reviewer should see "price mismatch on line 3: PO says $12.50, catalog says $14.00" instead of the entire order dumped back for manual processing. **Audit trail.** You need to know what happened to every order: when it arrived, how it was processed, what was extracted, whether it was modified during review, and when it synced to the ERP. When a customer calls asking about PO #47291, you should be able to pull up the original document and every processing step in seconds. ## 10 Questions to Ask PO Software Vendors Before signing anything, get clear answers to these questions. They reveal what the demo will not show you. 1. **What order formats do you support natively?** "We support EDI and PDF" is not the same as "we process EDI, PDF, Excel, CSV, email body orders, and fax through a single pipeline." Ask for the full list. 2. **How do you handle new customer PO layouts?** If the answer involves building a template or mapping document zones, ask how long that takes and who does it. AI-based systems should handle new layouts without per-customer configuration. 3. **What is your extraction accuracy on real-world documents?** Ask for accuracy numbers broken down by document type. Request a proof of concept with your actual POs, not their sample documents. 4. **How does your ERP integration work?** Direct API integration is better than file-based transfer. Ask about error handling: what happens when the ERP rejects a record? 5. **What does your exception handling workflow look like?** Ask to see the exception dashboard. How are exceptions categorized? Can reviewers correct individual fields? Is the original document visible during review? 6. **What are the real costs at our volume?** Get a quote based on your actual monthly order volume, not a generic tier. Include all fees: transaction fees, VAN fees, integration fees, support fees, and onboarding costs. 7. **How long does implementation take?** "It depends" is not an answer. Ask for average implementation timelines for companies similar to yours. Ask what is required from your team during setup. 8. **Can you handle our EDI compliance requirements?** If you trade with major retailers, ask specifically about those retailers. "We support EDI 850" is different from "we handle Walmart's EDI requirements including OTIF compliance tracking." 9. **What does the audit trail look like?** Ask to see the full history of a processed order, from original document to ERP entry. If the vendor cannot show this, they do not have a real audit trail. 10. **What happens if we outgrow the current tier?** Understand the upgrade path. Some vendors lock features behind higher tiers. Others scale smoothly. Know before you commit. ## Pricing Models for PO Automation Software Pricing varies widely, and the model matters as much as the number. Here are the three most common structures. ### Per-Transaction Pricing You pay for each PO processed, typically $0.50 to $3.00 per transaction. Common with traditional EDI providers, which also charge VAN (Value Added Network) fees on top. **Pros:** Low entry cost. You only pay for what you use. **Cons:** Costs scale linearly with volume. At 500 orders per day, even $1.00 per transaction adds up to $15,000 per month. Hard to budget because costs fluctuate with order volume. **Typical range:** $0.50 to $3.00 per transaction, plus $200 to $1,000/month in VAN fees for EDI. ### Per-Document Pricing Similar to per-transaction, but specific to document processing. Common with OCR and document automation tools. Typically $0.10 to $1.00 per page processed. **Pros:** Straightforward. Directly tied to usage. **Cons:** Multi-page POs cost more. A 5-page purchase order from a large customer costs 5x a 1-page PO, even though the processing effort is similar. **Typical range:** $0.10 to $1.00 per page, with minimums of $200 to $500/month. ### Flat Monthly Pricing Fixed monthly fee regardless of volume. Common with modern SaaS platforms. Tiers are usually based on features or number of ERP connections rather than transaction count. **Pros:** Predictable budgeting. No penalty for growth. Process 100 orders or 1,000 at the same cost. Aligns vendor incentives with your success. **Cons:** Higher entry cost compared to per-transaction at low volumes. **Typical range:** $500 to $5,000/month depending on features, integrations, and support level. For growing companies, flat monthly pricing usually wins over time. If you are processing 200+ orders per day across mixed formats, per-transaction fees add up fast. ## ROI of Purchase Order Automation Calculating the return on purchase order automation is straightforward. You need three numbers. **1. Your annual manual processing cost.** Use this formula: **(Orders per day) x (Cost per order) x (250 working days) = Annual manual cost** If you process 75 orders per day at $20 each, your annual manual processing cost is $375,000. **2. Your projected automated cost.** Purchase order automation typically reduces cost per order by 70% to 85%, according to research from the [Institute of Finance and Management](https://www.iofm.com/ap/process-improvement/automation/the-future-of-accounts-payable-digital-profitable-and-strategic). At an 80% reduction, your $20 per order drops to $4. Annual cost: $75,000. **3. Your net savings and payback period.** In this example: $375,000 minus $75,000 = $300,000 in annual savings. If the automation platform costs $50,000 to $80,000 per year, the payback period is two to three months. Most mid-market companies see payback in two to six months. The variance depends on order volume, order complexity, and how much of your current process is manual versus semi-automated. But the ROI goes beyond labor savings. Factor in: - **Fewer errors** = fewer returns, credit memos, and chargebacks - **Faster processing** = shorter order-to-ship time, better fill rates - **Staff reallocation** = your data entry team handles exceptions, customer service, or other high-value work - **Scalability** = handle peak seasons and new accounts without hiring The companies that see the highest return are the ones processing mixed-format orders across EDI, email, and fax. If you only receive EDI, your savings come from mapping and compliance automation. If you receive 200 email PDFs per day plus EDI plus fax, the savings multiply across every channel. ## Measuring Success After implementing PO automation, track these operational metrics to measure impact: - **Order fill rate** (target: 95%+): percentage of orders shipped complete on first attempt - **Order cycle time** (target: under 24 hours): time from PO receipt to shipment - **Straight-through processing rate** (target: 80-90% initially): percentage of orders that process without human intervention - **Error rate**: chargebacks, returns, and credit memos tied to order entry mistakes - **Inventory turnover**: companies with integrated PO and inventory systems achieve 15% to 20% higher fill rates, according to [APICS/ASCM](https://www.ascm.org/) research on demand-supply planning integration ## Common Mistakes Purchase order automation projects fail for predictable reasons. Here are the ones to watch for. **Automating only EDI and ignoring everything else.** EDI might represent 30% to 40% of your order volume from your largest accounts. The other 60% to 70% arrives as email PDFs, spreadsheets, and fax. If you only automate the EDI portion, your team is still manually processing the majority of orders. A complete [order processing automation](/order-processing-automation) strategy needs to cover all channels. **Choosing template-based OCR that breaks when formats change.** Template OCR works until it does not. A customer updates their PO form, and your extraction stops working. You spend hours rebuilding the template. Multiply that by 50 customers with 50 different PO layouts, and template maintenance becomes a job in itself. **No validation layer.** Extracting data from a document is only half the job. If the extracted data goes straight to your ERP without validation, you are automating garbage in, garbage out. Every automated PO system needs to check SKUs, pricing, quantities, and addresses before creating a sales order. **Not starting with a channel audit.** Before selecting software, count your orders by channel and format for a typical month. How many are EDI? How many are email PDFs? How many are email body orders? What percentage come by fax? This data drives your prioritization and helps you choose software that matches your actual order mix, not the mix you assume you have. **Expecting 100% automation from day one.** Plan for 80% to 90% straight-through processing initially. Some orders will always need human review: ambiguous items, unusual quantities, new customers not yet in your system. The goal is eliminating the re-keying, not eliminating your team. ## Frequently Asked Questions ### What is purchase order automation? Purchase order automation is software that receives purchase orders in any format (EDI, PDF, email, fax), extracts the order data using AI or structured parsing, validates it against your product catalog and pricing rules, and syncs the validated order to your ERP as a sales order. It eliminates manual data entry for PO processing. Most systems handle the full pipeline from order receipt to ERP sync without human intervention for clean orders, routing only exceptions for review. ### How much does purchase order automation software cost? Pricing varies by vendor and model. Per-transaction pricing runs $0.50 to $3.00 per order, plus VAN fees for EDI. Flat monthly pricing ranges from $500 to $5,000 depending on features and integrations. Per-order pricing can get expensive at high volumes: a company processing 200 orders per day at $1.00 per order would pay $50,000 per year in transaction fees alone. Compare total cost of ownership at your expected volume, not just the sticker price. ### Can purchase order automation handle orders from customers who are not on EDI? Yes, and this is where automation delivers the most value. EDI orders are already structured and relatively easy to process. The harder problem is the hundreds of customers who send PDF attachments, Excel files, and typed emails. AI-based purchase order automation reads these unstructured documents and extracts order data without requiring templates or per-customer configuration. Your customers do not need to change how they send orders. ### How long does it take to implement purchase order automation? Implementation timelines range from two weeks to three months depending on the scope. If you start with a single channel (email PDF orders, for example), you can be processing orders within two to three weeks. Adding EDI connections, configuring validation rules for complex pricing, and integrating with your specific ERP extends the timeline. Most mid-market implementations are fully operational within six to eight weeks. ### What is the difference between PO automation software and an ERP? Your ERP is your system of record for financials, inventory, and operations. PO automation software sits in front of the ERP and handles order intake: receiving purchase orders, extracting data, validating it, and syncing clean orders into the ERP. Think of PO automation software as the front door. The ERP is the house. Most ERPs have basic order entry capabilities, but they lack the AI extraction and [multi-format processing](/multi-format-orders) needed to automate intake from diverse channels. ### Can PO automation software replace my EDI provider? It depends on the platform. Some tools only handle document processing and have no EDI capability. Others include full EDI translation and compliance alongside PDF and email processing. If the software supports EDI 850 purchase orders, [855 acknowledgments](/guides/edi/855-purchase-order-acknowledgment), and [997 functional acknowledgments](/guides/edi/997-functional-acknowledgment), it can replace a standalone EDI provider while also handling your non-EDI orders. --- Purchase order automation is not new, but the technology has changed. AI extraction means you no longer need a separate template for every customer's PO format. Multi-format support means EDI, email, and fax all flow through one pipeline. And direct ERP integration means the order lands in your system ready to fulfill, not sitting in a queue for someone to import a file. If you are processing purchase orders manually across multiple channels, the math is simple: automation pays for itself in months, not years. [Book a free intro call](/book) to see how OrderSync handles your specific PO formats and ERP. --- # 3PL EDI Integration: How to Connect Your Warehouse Source: https://ordersync.io/blog/3pl-edi-integration > Learn how 3PL EDI integration works, which transactions your warehouse partner needs, and how to avoid the data gaps that cause fulfillment errors. 3PL EDI integration connects your order management system to a third-party warehouse using standardized transactions: EDI 850 for purchase orders, EDI 856 for advance ship notices, and EDI 945 for warehouse shipment confirmations. Most 3PLs support VAN or SFTP connections. Gaps in transaction mapping—not connectivity—cause most fulfillment errors. **3PL EDI integration creates a direct, automated data pipeline between your order systems and your warehouse partner's WMS using standardized EDI transactions, replacing error-prone manual handoffs with structured, auditable data exchange.** You outsource fulfillment to a third-party logistics provider. Orders come in through your systems, but someone at the warehouse needs to know what to pick, pack, and ship. If that communication happens over email or spreadsheet, you already know the problems: missed orders, wrong quantities, inventory counts that are always a day behind. 3PL EDI integration solves this by creating a direct, automated data pipeline between your order systems and your warehouse partner. Here is how it works, which transactions you need, and where things typically go wrong. ## What Is 3PL EDI Integration? **3PL EDI integration is the electronic connection between your business systems (ERP, OMS, or order platform) and your third-party logistics provider's warehouse management system (WMS), using standardized [X12 EDI transactions](https://x12.org/products/transaction-sets) to exchange order, shipment, and inventory data automatically.** Instead of emailing pick lists or uploading CSV files to a warehouse portal, EDI for 3PL creates a structured, automated exchange. Your system sends a shipping order. The warehouse confirms what shipped. Inventory levels sync on a schedule. No manual handoffs, no copy-paste errors, no "did you get my email?" follow-ups. Industry context on 3PL EDI adoption: - [Armstrong & Associates](https://www.3plogistics.com/) reports that the U.S. 3PL market exceeds $300 billion, and EDI remains the dominant data exchange method between brands and warehouse providers - [GS1 US standards](https://www.gs1us.org/industries-and-insights/standards) govern the SSCC-18 carton labels and GTIN identifiers that 3PL EDI ASN (856) documents must carry for compliant retail receiving This is different from retailer-facing EDI (like the [EDI 850 purchase order](/guides/edi/850-purchase-order) or [EDI 856 ship notice](/guides/edi/856-ship-notice) you send to Walmart). 3PL EDI uses a separate set of warehouse-specific transaction codes designed for the brand-to-warehouse relationship. Many businesses need both: retailer EDI for compliance and 3PL EDI for fulfillment. If you are new to EDI overall, [our essential guide to EDI](/blog/essential-guide-to-edi) covers the core concepts. ## Why 3PL EDI Integration Matters Manual communication with your 3PL creates three recurring problems. **Fulfillment delays.** When you email a shipping request or upload it to a portal, there is a lag. Someone at the warehouse has to download it, review it, and enter it into their WMS. That lag turns a same-day ship window into a next-day problem. According to the [Council of Supply Chain Management Professionals (CSCMP)](https://cscmp.org/), reducing order-to-ship cycle time is one of the top operational priorities for logistics managers, and manual handoffs are a primary bottleneck. **Inventory discrepancies.** Without real-time or near-real-time inventory data flowing from the warehouse back to your systems, you are selling against stale numbers. You oversell, then backorder. Or you hold safety stock you do not need because you cannot trust the count. **Shipping errors and chargebacks.** If your 3PL ships an order but you do not receive the confirmation data quickly enough, you cannot generate the ASN your retailer requires. Late or missing ASNs trigger chargebacks. The Warehousing Education and Research Council ([WERC](https://www.werc.org/)) reports that data accuracy between brands and their logistics providers directly correlates with order accuracy rates. When the data exchange is manual, error rates climb. EDI for 3PL eliminates these gaps by automating the data flow in both directions. **940/945 pair**: The 940 (warehouse shipping order) is your instruction to the 3PL, and the 945 (warehouse shipping advice) is the confirmation that tells you exactly what shipped and when, giving you the data to generate the retailer ASN on time. **846 inventory feed**: The 846 inventory inquiry/advice transaction gives you current stock levels at your warehouse without calling someone or logging into a portal, which is the only reliable way to prevent overselling when you operate across multiple sales channels. ## Core EDI Transactions for 3PL 3PL EDI uses a specific set of transaction codes in the ANSI X12 standard. Here are the ones that matter most: | Transaction | Name | Direction | Purpose | |---|---|---|---| | **940** | Warehouse Shipping Order | You → 3PL | Tells the warehouse what to pick, pack, and ship | | **945** | Warehouse Shipping Advice | 3PL → You | Confirms what the warehouse actually shipped, with tracking | | **943** | Warehouse Stock Transfer Shipment | You → 3PL | Notifies the warehouse that inbound inventory is on the way | | **944** | Warehouse Stock Transfer Receipt | 3PL → You | Confirms the warehouse received your inbound inventory | | **846** | Inventory Inquiry/Advice | 3PL → You | Provides current inventory levels at the warehouse | | **947** | Warehouse Inventory Adjustment | 3PL → You | Reports inventory changes (damage, shrinkage, cycle count corrections) | The 940 and 945 are the critical pair. The 940 is your instruction to the warehouse. The 945 is the warehouse's confirmation of what happened. Everything else supports inventory accuracy and inbound logistics. On the retailer side, you still need the standard transactions: the [850 for purchase orders](/guides/edi/850-purchase-order), the [856 for ASNs](/guides/edi/856-ship-notice), and the 810 for invoices. Your 3PL EDI integration needs to feed data into your retailer EDI workflows. The 945 shipment confirmation from your warehouse is what gives you the data to generate the 856 ASN for your retail customer. There is also a freight layer once goods leave the dock: the shipper or 3PL tenders the load to a carrier with a [204 Load Tender](/guides/edi/204-motor-carrier-load-tender), the carrier accepts with a [990](/guides/edi/990-response-to-load-tender), reports progress with [214 status messages](/guides/edi/214-transportation-carrier-shipment-status), and bills with a [210 freight invoice](/guides/edi/210-motor-carrier-freight-invoice). See [EDI for third-party logistics](/edi-for/third-party-logistics) for how the order and freight sides connect in one pipeline. Want to inspect any of these transaction formats? Try our [free EDI Inspector](/edi-inspector) to parse and review EDI files segment by segment. ## How the Integration Flow Works Here is a typical order-to-shipment flow with 3PL EDI integration in place: **Step 1: You receive a purchase order.** Your retailer sends an EDI 850. Your [order management system](/order-management-systems) receives it and creates a sales order. **Step 2: You send a 940 to your 3PL.** Your system automatically generates an EDI 940 warehouse shipping order and transmits it to your 3PL's WMS. The 940 includes ship-to address, item details, quantities, and any special handling instructions. **Step 3: The 3PL picks, packs, and ships.** The warehouse processes the 940, fulfills the order, and generates shipping labels with carrier tracking numbers. **Step 4: The 3PL sends a 945 back to you.** The warehouse transmits an EDI 945 with shipment confirmation data: what items shipped, quantities, carton counts, carrier, tracking numbers, and ship date. **Step 5: You generate the 856 ASN.** Your system takes the shipment data from the 945 and uses it to create the EDI 856 ASN that your retailer requires. This needs to happen quickly, often within hours of shipment, to meet compliance windows. **Step 6: You send the 810 invoice.** With the order shipped and ASN sent, your system generates the EDI 810 invoice to the retailer. The entire flow, from receiving the PO to sending the ASN, can happen without anyone touching the data manually. That is the point. Each system passes structured data to the next, and no one is re-keying item numbers or tracking IDs. For a deeper look at connecting EDI to your business systems, see our [EDI integration guide](/blog/edi-integration-guide). ## Common 3PL EDI Integration Challenges Even with EDI in place, these are the issues that trip up most brands working with a 3PL. ### Inventory Sync Delays The EDI 846 inventory feed from your 3PL might only update once or twice per day. If you are selling on multiple channels, that lag creates oversell risk. Ask your 3PL about their 846 frequency. Some warehouse systems support hourly updates. Others are stuck on a nightly batch. If near-real-time inventory is critical, you may need an API supplement alongside EDI, or a platform that bridges both. Direct connectors like our [NetSuite integration](/integrations/netsuite) or [QuickBooks integration](/integrations/quickbooks) help connect these data flows into one view. ### ASN Timing Pressure The 945 from your 3PL needs to arrive fast enough for you to generate and send the 856 ASN before your retailer's compliance window closes. If your 3PL batches their 945 transmissions at end of day but your retailer expects the ASN within two hours of shipment, you have a problem. Negotiate 945 transmission frequency as part of your 3PL agreement. ### Multi-Warehouse Routing If you use more than one 3PL or your 3PL operates multiple warehouses, your 940 routing logic gets more complex. You need rules that determine which warehouse receives each order based on inventory availability, geographic proximity to the ship-to address, or product type. Your [order management system](/order-management-systems) needs to handle this routing before the 940 goes out. ### Returns Handling Returns (the EDI 180 return merchandise authorization) add another layer. When a retailer returns product, it often goes back to the 3PL, not to you. Your 3PL needs a process for receiving returns, updating inventory via the 944, and notifying you so you can issue credits. Many 3PL EDI integrations overlook returns until they become a real problem. ### Data Mapping Mismatches Your item numbers may not match your 3PL's SKU system. Your unit of measure (eaches vs. cases vs. pallets) might differ. These mapping issues cause 940 rejections or, worse, the wrong items getting shipped. Invest time in cross-referencing your item master with your 3PL's catalog before going live. ## Choosing a 3PL with EDI Capability Not every 3PL is set up for EDI. Before signing a warehouse agreement, ask these questions: 1. **Which EDI transactions do you support?** At minimum, you need 940, 945, 943, 944, and 846. If they only support a subset, find out what is on their roadmap. 2. **What communication methods do you support?** AS2, SFTP, VAN? Make sure their transmission method is compatible with your systems or your EDI provider. 3. **How frequently do you transmit 945 and 846 documents?** Real-time, hourly, daily batch? This directly affects your ASN compliance and inventory accuracy. 4. **Can you handle retailer-specific packing and labeling?** If you sell to major retailers, your 3PL needs to produce GS1-128 labels, pack to retailer specs, and include carton-level data in the 945 so you can build accurate ASNs. 5. **Do you support EDI 947 for inventory adjustments?** Cycle counts, damage reports, and shrinkage need to flow back to your system automatically, not via email. 6. **What is your testing and onboarding process?** A good 3PL will run EDI testing (sometimes called a "pilot" or "certification") before going live. This catches mapping errors before they affect real orders. According to [Armstrong & Associates](https://www.3plogistics.com/), the U.S. 3PL market exceeds $300 billion, and EDI remains the dominant data exchange method between brands and warehouse providers. If your 3PL cannot support EDI, they are behind the industry standard. For businesses just getting started with EDI, our guide on [EDI for small businesses](/blog/essential-guide-to-edi) covers the basics of getting set up without a massive upfront investment. ## FAQ ### What is 3PL EDI integration? 3PL EDI integration is the automated electronic exchange of order, shipment, and inventory data between your business systems and your third-party logistics provider's warehouse management system. It uses standardized transaction codes (940, 945, 943, 944, 846) to eliminate manual data entry between you and your warehouse partner. ### Which EDI transactions are required for 3PL? The essential transactions for 3PL EDI are the 940 (warehouse shipping order), 945 (warehouse shipping advice), 943 (warehouse stock transfer shipment), 944 (warehouse stock transfer receipt), and 846 (inventory inquiry/advice). You may also need the 947 for inventory adjustments. ### How is 3PL EDI different from retailer EDI? Retailer EDI uses transactions like the 850 (purchase order), 856 (ASN), and 810 (invoice) for the buyer-seller relationship. 3PL EDI uses the 940/945/943/944 series for the brand-warehouse relationship. Most businesses that use a 3PL need both: retailer EDI for compliance with customers and 3PL EDI for warehouse communication. ### Can I use 3PL EDI if I am a small business? Yes. Many modern 3PLs and EDI platforms support small business volumes. You do not need to process thousands of orders to justify EDI with your warehouse. Even at 50 orders per day, the reduction in manual errors and faster ASN generation can pay for the integration quickly. ### What happens if my 3PL does not support EDI? If your 3PL cannot support EDI, you are likely exchanging data through CSV uploads, email, or a web portal. This works at low volumes but creates bottlenecks as you scale. You will also struggle with ASN compliance for major retailers because the shipment data from your warehouse will not flow into your systems fast enough. If EDI is not an option, look for a 3PL that at least offers API-based integration as an alternative. ## Moving Forward with 3PL EDI Getting 3PL EDI integration right is not a one-time setup. It requires aligning your systems, your 3PL's WMS, and your retailer compliance requirements into a single data flow. Start with the 940/945 pair, add inventory sync with the 846, and build from there. If you are evaluating how to connect your order systems with a warehouse partner (or connecting a new 3PL to an existing EDI setup), [OrderSync](/) can help you map the integration and automate the data exchange across all your trading partners. Use our [free EDI Inspector](/edi-inspector) to parse and validate any EDI file as you build out your 3PL integration. --- # AI Order Agent vs EDI: Do You Still Need EDI? Source: https://ordersync.io/blog/ai-order-agent-vs-edi > How AI order agents compare to traditional EDI for B2B order processing, when you need both, and when an AI agent can replace EDI entirely. AI order agents and traditional EDI solve the same problem from opposite directions. EDI mandates a fixed X12 format both sides agree on in advance; an AI order agent reads whatever the sender provides (PDF, email, fax, portal scrape) and adapts automatically. Most B2B operations need both, since major retailers still mandate EDI while smaller partners send anything. If you process B2B orders, you've probably asked this question in the last year: Can an AI agent replace EDI? The short answer is sometimes yes, sometimes no, and often both. The longer answer depends on who your trading partners are, what formats they send, and whether compliance mandates dictate the exchange. Here's a practical breakdown so you can decide what makes sense for your operation. ## What Is an AI Order Agent? **An AI order agent** is software that receives incoming purchase orders in any format, whether PDF, email, spreadsheet, fax, or EDI, and autonomously extracts the order data, validates it against your catalog and pricing, and syncs it to your ERP. Unlike EDI, which requires both sides to agree on a structured format before a single order flows, an AI order agent adapts to whatever the sender provides without per-partner configuration. ## The Question Every Distributor Is Asking EDI has been the backbone of B2B order exchange for decades. It works. But it's also expensive to set up, rigid in format, and requires every trading partner to speak the same language. The authoritative sources on this are clear: - [GS1 US](https://www.gs1us.org/industries-and-insights/standards) governs the product identifiers (GTINs, UPCs) that flow inside EDI transactions, and remains the global authority on structured B2B data exchange standards - [ASC X12](https://x12.org/products/transaction-sets) publishes the transaction set definitions (850, 810, 856) that all North American retail EDI is built on Meanwhile, [AI order agents](/ai-order-agent) have arrived. These systems read incoming orders in any format, extract line-item data, validate it, and push it to your ERP without human intervention. No mapping templates. No VAN fees. No months-long trading partner onboarding. So the natural question is: If an AI agent can process orders from PDFs, emails, spreadsheets, and even EDI files, why maintain a traditional EDI stack at all? The answer comes down to who's on the other end of the transaction. ## How EDI Works vs How an AI Agent Works **EDI** is a structured data exchange protocol. Your trading partner's system generates a standardized document (like an [EDI 850 purchase order](/guides/edi/850-purchase-order)), transmits it through a VAN or AS2 connection, and your system parses it using pre-configured maps. Both sides must agree on the format, the connection method, and the transaction set version before a single order flows. That agreement process is called trading partner onboarding. It involves exchanging test transactions, validating segment-level mapping, certifying the connection, and often working through a VAN provider who charges per-document fees. For a single partner, this process typically runs 4-12 weeks and costs thousands of dollars in mapping and testing alone. **An AI order agent** takes a different approach. It receives an order in whatever format the sender uses, applies machine learning to identify the document type, extract fields (PO number, ship-to address, line items, quantities, prices), and validate the data against your product catalog and customer records. The sender doesn't need to change anything about how they submit orders. The key technical difference: EDI processing is rule-based. Every segment, element, and qualifier must match a predefined map. If a partner sends an 850 with a slightly different structure than expected, the transaction fails. An AI agent uses pattern recognition instead of rigid maps. It adapts to variations in layout, formatting, and field placement across documents. Think of it this way: EDI requires both sides to agree on a language before the conversation starts. An AI agent is fluent in every language and translates on the fly. ## AI Order Agent vs EDI: Feature Comparison | Feature | Traditional EDI | AI Order Agent | |---|---|---| | **Setup time** | 4-12 weeks per trading partner | Hours (no per-partner setup) | | **Cost structure** | VAN fees + per-transaction charges + mapping costs | Flat platform fee, no per-partner costs | | **Formats supported** | X12, EDIFACT (structured only) | PDF, email, CSV, Excel, EDI, fax, any text-based format | | **Accuracy** | High for correctly mapped partners | 95-99% extraction accuracy, improving with corrections | | **Scalability** | Adding partners requires individual onboarding | New partners work immediately, no configuration needed | | **Trading partner requirements** | Partner must be EDI-capable | Partner sends orders however they want | | **Compliance** | Meets retailer EDI mandates | Does not satisfy EDI compliance requirements | | **Audit trail** | [997 functional acknowledgments](/guides/edi/997-functional-acknowledgment), built-in | Platform-level logging, but not EDI-standard | | **Error handling** | Rejected at the segment level | Flagged for review with suggested corrections | The critical difference is in the compliance row. If Walmart, Target, or Costco requires EDI, an AI agent alone won't satisfy that requirement. EDI mandates specify the protocol, not just the data. ## When You Still Need EDI EDI isn't going anywhere for certain use cases. You need it when: **Major retailers mandate it**: [Walmart](/edi-compliance/walmart), [Target](/edi-compliance/target), Costco, and most large retailers require EDI for purchase orders, invoices, and ship notices. This isn't a preference. It's a condition of doing business. Failing to comply means chargebacks, suspended shipments, or lost accounts. **Your industry has regulatory requirements**: Healthcare (HIPAA), automotive (AIAG), and government contracting often require EDI as the standard exchange format. [According to the National Institute of Standards and Technology](https://www.nist.gov/el/systems-integration-division-73400), standardized electronic data interchange remains critical for supply chain interoperability in regulated industries. **High-volume standardized flows are already working**: If you exchange 10,000 EDI transactions per month with a partner and the integration is running smoothly, there's no reason to rip it out. EDI is reliable for high-volume, structured, partner-to-partner exchanges. **Your trading partners require functional acknowledgments.** The [997 acknowledgment](/guides/edi/997-functional-acknowledgment) is built into the EDI protocol. It confirms receipt and syntactic correctness at the transaction level. AI agents provide their own tracking, but it's not the same as a 997. For a deeper look at EDI fundamentals, see [our essential guide to EDI](/blog/essential-guide-to-edi). ## When an AI Agent Replaces EDI An [AI order agent](/ai-order-agent) is the better choice when: **Your trading partners aren't EDI-capable.** Many small and mid-sized buyers send orders via email, PDF, or spreadsheet. Setting up EDI with each of these partners is impractical. An AI agent processes their orders without asking them to change a thing. This is especially relevant for [small businesses evaluating EDI](/blog/essential-guide-to-edi) who may not have the budget for traditional EDI onboarding. **You receive orders in mixed formats.** If your inbox has PDFs from one buyer, CSVs from another, and emails with line items pasted in the body, no amount of EDI mapping solves that. An AI agent handles [multi-format order processing](/multi-format-orders) through a single pipeline. **Speed matters more than protocol.** EDI onboarding takes weeks per partner. An AI agent starts processing orders from a new customer on day one. For companies scaling quickly or onboarding seasonal buyers, that speed gap is significant. Consider a distributor adding 20 new regional accounts in a quarter. Traditional EDI onboarding for all 20 would take months and cost tens of thousands. An AI agent handles all 20 from day one. **Manual data entry is your bottleneck.** If your team spends hours re-keying orders from non-EDI sources into your ERP, an [AI-powered order automation](/ai-order-automation) system with direct [ERP integrations](/integrations) eliminates that labor entirely. The ROI calculation is straightforward: count the hours, multiply by the error rate, and factor in the chargebacks from mis-keyed orders. **You want to reduce your technology stack.** Maintaining separate systems for EDI processing, PDF extraction, email parsing, and manual entry creates operational complexity. An AI agent consolidates these into a single processing pipeline, reducing the number of tools your team needs to manage and troubleshoot. ## EDI Alternatives for AI Purchase Order Automation **The EDI alternatives worth evaluating fall into four groups: EDI-plus-AI platforms, sales order automation tools, general document AI, and template parsers.** Which one fits depends on whether you still have retail partners who mandate EDI. | Vendor | Type | Reads PDF and email POs | Sends and receives EDI | Best fit | |---|---|---|---|---| | OrderSync | EDI plus AI order processing in one pipeline | Yes | Yes | Suppliers and distributors with mixed EDI and email/PDF orders | | Conexiom | Sales order automation | Yes | Not a full EDI network | Large industrial distributors with heavy PDF PO volume | | Esker | Order-to-cash suite | Yes, as one module | Through the wider suite | Enterprises buying a full O2C platform | | Rossum | General document AI | Yes | No | Teams with in-house integration resources and many document types | | Parseur, Docparser | Rule and template parsers | Yes, per layout | No | Low volume from a few stable PO layouts | | Orderful, SPS Commerce | EDI providers | No | Yes | Suppliers whose orders are almost all EDI | Three questions narrow the list fast: 1. **Do any customers mandate EDI?** If yes, you need EDI somewhere. Either pick a platform that does both, or keep your EDI provider and add an AI tool for the rest. The second option means two systems and two dashboards. 2. **How many PO layouts do you receive?** Template parsers work for five stable layouts. They become a maintenance job at fifty. AI extraction handles new layouts without setup. 3. **Who builds the ERP connection?** General document AI returns JSON. Someone still has to validate it against your items and prices and write the sales order into the ERP. Sales order automation tools and OrderSync include that step. For EDI-only comparisons, see [SPS Commerce alternatives](/blog/sps-commerce-alternatives) and [TrueCommerce alternatives](/blog/truecommerce-alternatives). For the supplier-side tools specifically, see [purchase order management software](/blog/purchase-order-management-software). ## The Hybrid Approach: EDI + AI Agent Most distributors don't need to choose one or the other. The practical answer is both. Here's how it works: - **EDI for your major retail partners.** Walmart sends an 850, you respond with a 997, ship with an [856 ASN](/guides/edi/856-ship-notice), and invoice with an [810](/guides/edi/810-invoice). This flow is standardized, required, and already working. - **AI agent for everything else.** Your regional accounts, one-off buyers, and any partner who sends PDFs, emails, or spreadsheets get processed through the AI agent. No onboarding friction. No VAN fees for these partners. This hybrid model gives you the compliance coverage EDI provides for major accounts and the flexibility of AI for the long tail of smaller partners. It also means you stop saying "no" to customers who can't do EDI. Instead of turning away business or eating the cost of manual entry, you let the AI agent handle it. A typical distribution company might have 5-10 major retail accounts that require EDI and 50-200 smaller accounts that send orders by email, PDF, or phone. The hybrid approach means your EDI connections stay intact for the big accounts while the AI agent picks up everything else. Your operations team sees all orders in one dashboard, regardless of how they arrived. Over time, this model also gives you a migration path. As AI agents become more capable and trading partners become more comfortable with non-EDI exchange, you can gradually shift volume. But you're never forced to abandon EDI for partners who require it. OrderSync is built for exactly this scenario. It processes EDI transactions alongside PDF, email, CSV, and Excel orders through a single platform. You can compare [how EDI, API, and AI approaches work together](/blog/ai-vs-edi-vs-api) or try the [free EDI Inspector](/edi-inspector) to parse and validate your EDI files. ## Frequently Asked Questions ### Can an AI order agent fully replace EDI? For trading partners who don't mandate EDI, yes. An AI agent can receive, extract, validate, and sync orders from any format without requiring the sender to adopt any specific protocol. But if a retailer requires EDI as a compliance condition, you still need EDI for that connection. Many companies use an AI agent for processing alongside EDI for protocol compliance, getting the benefits of both. ### Is an AI order agent more accurate than EDI? EDI is format-perfect when correctly mapped, but mapping errors and version mismatches cause failures. AI agents hit 95-99% extraction accuracy on unstructured documents and improve over time. For structured EDI files, both approaches deliver near-perfect accuracy. ### How much does an AI order agent cost compared to EDI? Traditional EDI involves VAN fees ($0.05-$0.25 per transaction), mapping costs ($2,000-$10,000 per partner), and ongoing maintenance. AI order agents typically charge a flat monthly fee regardless of partner count or transaction volume, making them more predictable for growing operations. ### Can I use an AI agent to process incoming EDI files? Yes. An AI agent can parse EDI files just like any other format. This is useful if you receive EDI documents but don't want to maintain a full EDI stack with VAN connections and dedicated mapping software. See [how EDI compares to API and AI approaches](/blog/edi-vs-api) for more on this. ### How long does it take to set up an AI order agent vs EDI? EDI implementation typically takes 4-12 weeks per trading partner, including mapping, testing, and certification. An AI order agent can start processing orders within hours of setup, with no per-partner configuration required. The difference compounds as you add partners: onboarding your 50th trading partner via EDI takes just as long as the first, while an AI agent handles new partners immediately with zero additional setup. ### What are the best EDI alternatives for AI purchase order automation? It depends on your order mix. If some customers mandate EDI, choose a platform that handles EDI and AI-read PDF and email orders together, such as OrderSync. Conexiom and Esker suit large distributors and enterprises. General document AI like Rossum needs your own ERP integration. Template parsers suit a few stable PO layouts. --- # AI Order Agent vs Manual Entry Compared Source: https://ordersync.io/blog/ai-order-agent-vs-manual-entry > A side-by-side comparison of AI order agents and manual data entry for B2B order processing, with real cost, speed, and accuracy numbers. An AI order agent reads incoming purchase orders—email, PDF, EDI, or CSV—and enters them into your ERP automatically. Manual entry requires a person to do the same work at 3-5 minutes per order. For most B2B suppliers processing more than 50 orders a month, AI entry is faster, cheaper, and more accurate. **AI order agents process B2B purchase orders in under 30 seconds at less than $1 per order; a manual entry clerk takes 12 to 15 minutes and costs $5 to $15 per order.** The accuracy gap is just as wide: manual entry runs 1-3% error rates per field, while AI extraction holds below 0.5% with validation in place. Every B2B operations team eventually hits the same wall. Order volume grows, but your team is still re-keying data from PDFs, emails, and spreadsheets into the ERP. You know it is not sustainable. But how do the numbers actually stack up when you compare an [AI order agent](/ai-order-agent) to a manual entry team? This is a straight comparison. Real costs, real speed differences, and an honest look at where manual entry still has an edge. ## What Is AI Order Entry? **AI order entry** is the use of artificial intelligence to read incoming B2B purchase orders, extract line-item data, validate it against your product catalog and pricing rules, and push clean orders into your ERP without manual re-keying. It replaces the step where a person reads a PDF, email, or spreadsheet and types the data into your system field by field. The AI handles format variations, SKU matching, and price verification automatically. ## The Real Cost of Manual Order Entry Manual order entry is one of those costs that hides in plain sight. You see the labor line item on the budget, but the full picture is bigger. According to [APQC's process benchmarking data](https://www.apqc.org/resource-library/resource-collection/sales-and-order-management-key-benchmarks), the median cost to process a single sales order in B2B ranges from $5 to $15, depending on industry and complexity. That number includes labor, error correction, and system overhead. Here is what drives that cost: - **Time per order**: A trained clerk needs 12 to 15 minutes to manually enter a typical multi-line B2B order. That includes reading the source document, keying line items, verifying SKUs, and checking quantities against inventory. - **Error rate**: Manual data entry carries a 1% to 3% error rate per field, according to [Aberdeen Group research on order management](https://www.aberdeen.com). On a 20-line order, the probability of at least one mistake is high. - **FTE cost**: A full-time order entry clerk costs $45,000 or more per year when you include benefits, training, and turnover. Most mid-size operations need two to four clerks just for order entry. - **Error correction**: Every wrong SKU, mistyped quantity, or missed line creates downstream work. Short shipments, returns, chargebacks, and customer calls add $25 to $50 per error incident. The labor cost alone is only part of it. The bigger hit comes from the errors that slip through and the speed bottleneck that delays fulfillment. ## What an AI Order Agent Does Differently An [AI order agent](/ai-order-agent) is software that reads incoming orders (PDFs, emails, EDI, CSVs), extracts the structured data, validates it against your product catalog and customer records, and pushes clean order data into your ERP. No human re-keying step. The core differences from manual entry: - **Document reading**: The AI parses the source document directly. It does not need a human to interpret a PDF layout or copy numbers from a spreadsheet. - **Validation at entry**: Orders are checked against your SKU master, pricing rules, and customer-specific terms before they hit the ERP. Errors get flagged for review, not silently entered. - **Speed**: Processing happens in seconds per order, not minutes. - **Consistency**: The 500th order of the day gets the same attention as the first. No fatigue, no shortcuts. This is not about replacing people for the sake of it. It is about removing the lowest-value, highest-error step in your [order processing workflow](/order-processing-automation) so your team can focus on exceptions and customer relationships. ## Side-by-Side Comparison Here is how manual entry and AI order agents compare across the metrics that matter most to operations teams: | Factor | Manual Order Entry | AI Order Agent | |---|---|---| | **Cost per order** | $5 to $15 | $0.50 to $2.00 | | **Time per order** | 12 to 15 minutes | 10 to 30 seconds | | **Error rate** | 1% to 3% per field | Less than 0.5% per field | | **Scalability** | Linear (more orders = more staff) | Near-flat (same system handles 5x volume) | | **Availability** | Business hours only | 24/7 processing | | **Training time** | 2 to 4 weeks per new hire | Configuration, not training | | **Consistency** | Degrades with fatigue and turnover | Constant across all orders | | **Format handling** | One format at a time | [Multi-format](/multi-format-orders) in parallel | The cost and speed differences are significant, but the consistency factor is what most operations managers underestimate. Human performance varies by the hour. Software does not. ## The Math: Manual vs AI at Different Order Volumes The gap between manual and automated order processing widens fast as volume increases. Here is what the numbers look like at different daily order counts, assuming average costs of $10 per manual order and $1.25 per AI-processed order: | Daily Orders | Monthly Manual Cost | Monthly AI Cost | Monthly Savings | Annual Savings | |---|---|---|---|---| | 50 | $10,000 | $1,250 | $8,750 | $105,000 | | 200 | $40,000 | $5,000 | $35,000 | $420,000 | | 500 | $100,000 | $12,500 | $87,500 | $1,050,000 | | 1,000 | $200,000 | $25,000 | $175,000 | $2,100,000 | At 50 orders per day, the savings justify the switch for most businesses. At 200 or more, keeping a fully manual process is burning six figures annually. These numbers do not include the cost of errors, which add another 5% to 10% to manual processing costs. They also do not account for the speed improvement. Faster order entry means faster fulfillment, which means better fill rates and fewer compliance penalties from retail trading partners. ## What Manual Entry Still Does Better This is a fair comparison, so here is where humans still have the advantage: - **Relationship nuance**: A long-time customer calls with a special request that bends the rules. An experienced clerk knows when to flag it and when to just handle it. AI follows the rules you set, which is usually what you want, but not always. - **Complex negotiations**: Orders that involve custom pricing, substitutions discussed over the phone, or non-standard terms need human judgment. These are exception scenarios that sit outside the standard [purchase order automation](/blog/purchase-order-automation) workflow. - **One-off custom orders**: If you receive five unusual orders per month that look nothing like your standard format, a human handles those faster than configuring AI rules for edge cases that rarely repeat. The practical answer is not "replace all humans with AI." It is to route the 85% to 95% of standard orders through [automated order processing](/ai-order-automation) and free your team to handle the 5% to 15% that actually need human attention. ## Making the Switch: A Practical Transition Plan Switching from manual to AI-driven order entry does not have to be a big-bang cutover. Here is a phased approach that reduces risk: 1. **Start with one order format**: Pick your highest-volume, most standardized order type. For most B2B operations, that is either EDI 850 purchase orders or PDF orders from your top five customers. Get that running through the [AI order agent](/ai-order-agent) first. 2. **Run in parallel for two weeks**: Process orders through both the AI system and your manual team. Compare results. This builds confidence and catches any configuration gaps. Use the [EDI Inspector](/edi-inspector) to validate EDI document accuracy during this phase. 3. **Shift to exception-only manual review**: Once accuracy is confirmed, move your manual team to reviewing only the orders the AI flags as exceptions. This is where human judgment adds real value. 4. **Expand to additional formats**: Add email orders, CSV files, and other formats one at a time. Each format takes less effort to add than the first because your validation rules and [ERP integration](/erp-integration) are already in place. 5. **Reassign freed capacity**: Your order entry team does not disappear. They move to customer service, exception handling, and order quality assurance, all tasks where human skills matter more than data entry speed. Most teams complete this transition in four to six weeks. The key is starting narrow and expanding once you trust the output. ## Frequently Asked Questions ### How accurate are AI order agents compared to manual entry? AI order agents typically achieve field-level accuracy above 99.5%, compared to 97% to 99% for manual entry. The difference sounds small in percentage terms, but on a 20-line order processed 200 times per day, it translates to dozens fewer errors each week. The AI also catches validation issues (wrong SKU, incorrect pricing) that manual clerks often miss under time pressure. ### Can an AI order agent handle all order formats? Modern AI order agents process EDI, PDF, email, CSV, and Excel orders through a single pipeline. Each format requires initial configuration, but once set up, the system handles [multi-format order processing](/multi-format-orders) without format-specific manual steps. Unusual or highly custom formats may still need human review. ### How long does it take to set up an AI order agent? Initial setup for a single order format and ERP connection typically takes one to two weeks. This includes mapping your product catalog, configuring validation rules, and testing with real order data. Adding additional formats after the first takes two to five days each. The total transition from manual to automated usually runs four to six weeks. ### Will I need to lay off my order entry team? Most companies reassign their order entry staff rather than reducing headcount. The skills that make someone good at order entry (attention to detail, knowledge of your products and customers) transfer directly to exception handling, customer service, and order quality roles. Growing companies often find they can handle 3x to 5x order volume growth without adding headcount. ### What happens when the AI encounters an order it cannot process? Orders that fall below the confidence threshold get routed to a human review queue with the extracted data pre-filled. The reviewer corrects any issues and approves the order. This is faster than manual entry from scratch because the AI has already done most of the work. Over time, these exceptions feed back into the system to improve accuracy on similar orders. You can see how this fits into a broader [automated order entry](/blog/automated-order-processing) workflow. --- The bottom line: manual order entry costs more, takes longer, and produces more errors than AI-powered processing at every volume level above a handful of orders per day. The question is not whether to make the switch but when and how fast. If you are processing 50 or more orders daily, the math already works in your favor. [Book a free intro call](/book) to see the numbers for your specific operation. --- # AI Order Automation vs Traditional EDI Source: https://ordersync.io/blog/ai-order-automation-vs-traditional-integration > Traditional integration requires custom mappings per trading partner. AI order automation handles any format from any partner with zero custom development. Traditional EDI requires custom field mappings per trading partner, taking weeks to build and maintain. AI order automation reads any document format and extracts order data without pre-built templates. The practical difference: onboarding a new trading partner takes days with AI versus months with traditional EDI mapping. **AI order automation handles every order format through one intelligent intake pipeline, while traditional integration requires custom-built connections per trading partner, creating a compounding maintenance cost as your customer base grows.** Every B2B company has the same integration problem: getting orders from external systems into their own system accurately and quickly. For decades, the answer was custom integration. Build an EDI mapping for Walmart. Code an API connector for Amazon. Hire a temp to type in the PDF orders from everyone else. If you're weighing the tradeoffs between these approaches, our [EDI vs API comparison](/blog/edi-vs-api) breaks down the differences. Key context on B2B integration costs and patterns: - [Gartner's supply chain management research](https://www.gartner.com/en/supply-chain/topics/supply-chain-management) identifies per-partner integration maintenance as one of the top hidden costs in B2B operations, with each trading partner connection requiring ongoing updates as formats change - [APQC benchmarking data](https://www.apqc.org/resource-library/resource-collection/supply-chain-management-key-benchmarks) shows organizations that automate order processing spend $2 or less per order, compared to $6.10 at median-performing companies still relying on manual entry AI order automation takes a fundamentally different approach. Instead of building a custom pipe for every data source, you build one intelligent system that understands orders regardless of how they arrive. ## The Traditional Integration Tax Every trading partner costs money to integrate: **EDI Integration (per trading partner):** - Map their specific EDI format to your system: 2-4 weeks - Test with their testing environment: 1-2 weeks - Certify with their compliance team: 1-4 weeks - Ongoing maintenance: $2,000-5,000/year per partner - When they change their specs, re-map and re-test **API Integration (per trading partner):** - Study their API documentation: 1 week - Build the connector: 2-4 weeks - Handle authentication, rate limits, error handling: 1 week - Test across scenarios: 1 week - When they version their API, update and re-test **Manual Processing (per trading partner with no integration):** - Receive order via email/fax/portal: ongoing - Human reads and types into ERP: 5-15 minutes per order - Human catches (or misses) errors: ongoing - Scale by hiring more humans: $40,000-55,000/year per person Now multiply by your trading partner count. A distributor with 50 active customers might have EDI connections to 5 major retailers, API integrations with 3 platforms, and manual processing for the other 42. That's a lot of ongoing cost and a lot of room for error. ## How AI Order Automation Works Differently AI order automation inverts the model. Instead of building outward to each partner, you build one intelligent intake system: ### Step 1: Receive (Any Format, Any Channel) Orders arrive however your customers send them: - EDI 850 via VAN or AS2 - PDF attached to an email - CSV exported from a procurement system - Excel spreadsheet - Plain text email ("Send me 50 cases of SKU A and 30 cases of SKU B") - Online order form - API webhook The system accepts them all through a single pipeline. This is what [multi-format order processing](/multi-format-orders) looks like in practice. ### Step 2: Extract (AI Reads the Document) AI reads the order the way a human would, but faster and more consistently: - Identifies the document type (purchase order, reorder, change order) - Extracts header information (customer, ship-to, dates, PO number) - Extracts line items (products, quantities, prices, UOM) - Handles variations in layout, terminology, and formatting - Assigns a confidence score to each extracted field This works whether the order is a structured EDI document or a messy, hand-formatted PDF. ### Step 3: Validate (AI Checks the Order) Validation goes beyond format checking: - **Product matching**: Maps customer item numbers to your internal SKUs - **Inventory check**: Verifies you have stock to fulfill - **Price verification**: Confirms pricing matches current agreements - **Address validation**: Standardizes and verifies ship-to locations - **Duplicate detection**: Catches accidental resubmissions - **Anomaly flagging**: Spots unusual quantities or patterns ### Step 4: Transform (AI Formats for Your System) Every ERP and order management system expects data in a specific format. AI transforms the validated order into exactly what your system needs: - Field mapping to your ERP schema - Unit of measure conversions - Currency standardization - Date format normalization - Customer account linking ### Step 5: Sync (Direct to Your ERP) The processed order flows directly into your [ERP or eCommerce platform](/erp-integration): - Creates sales order with all line items - Links to correct customer account - Sets appropriate warehouse and shipping method - Triggers any required acknowledgments (EDI 997, email confirmation) - Updates inventory allocation ## The Numbers That Matter ### Processing Speed | Approach | Time per Order | Orders/Hour (1 person) | |----------|---------------|----------------------| | Manual data entry | 8-15 minutes | 4-7 | | Traditional EDI (automated) | Seconds (but only for EDI partners) | Unlimited | | AI order automation | 30-90 seconds (all formats) | Unlimited | ### Error Rates | Approach | Error Rate | Type of Errors | |----------|-----------|----------------| | Manual data entry | 2-5% | Typos, wrong SKUs, missed lines | | Traditional EDI | Less than 1% for format, but misses business logic errors | Wrong prices, impossible quantities pass through | | AI order automation | Less than 1% overall, catches both format and logic errors | Flags uncertain extractions for review | ### Staff Requirements | Monthly Order Volume | Manual Staff Needed | With AI Automation | |---------------------|--------------------|--------------------| | 500 orders | 1-2 people | 0.25 FTE (review only) | | 2,000 orders | 4-6 people | 0.5 FTE (review only) | | 10,000 orders | 15-20 people | 1-2 FTE (review only) | ## Real Scenarios: Traditional vs AI ### Scenario: New Customer Onboarding **Traditional approach:** A new grocery chain wants to start ordering from you. They send EDI 850s in their format. 1. Receive their EDI implementation guide (2 weeks to get it) 2. Build custom mapping (2 weeks development) 3. Exchange test transactions (2 weeks) 4. Go through their certification process (2-4 weeks) 5. First live order: **8-12 weeks after initial request** **AI approach:** Same grocery chain, same EDI format. 1. They send a sample EDI 850 2. AI processes it, extracts all fields, maps to your catalog 3. You review the extraction, correct any mismatches 4. AI learns your corrections 5. First live order: **same day** The EDI transport layer (VAN/AS2 connection) still needs setup, but the intelligence --- understanding their specific format and mapping to your system --- happens immediately. ### Scenario: Customer Sends Orders in a New Format **Traditional approach:** A customer who used to fax orders starts sending them as PDF emails instead. 1. Someone in your office opens each email 2. Opens the PDF 3. Types the order into your ERP 4. This continues indefinitely **AI approach:** 1. Set up an email forwarding rule to your AI intake 2. AI reads the PDF, extracts order data 3. First few orders: human reviews AI extraction, corrects any issues 4. After 10-20 orders: AI handles this customer's format with 98%+ accuracy 5. Human only reviews flagged exceptions going forward ### Scenario: Holiday Season Volume Spike **Traditional approach:** Order volume triples in Q4. Your team is already stretched. 1. Hire temporary staff (2-3 week ramp-up) 2. Temps make more errors due to inexperience 3. Error correction takes additional time 4. Customer complaints increase 5. After the season, lay off temps **AI approach:** Order volume triples. The AI processes 3x the orders. 1. No additional staff needed 2. Error rates stay consistent 3. Your existing team reviews the same percentage of exceptions 4. Processing time remains the same per order ## When Traditional Integration Still Makes Sense AI order automation isn't the right answer for every situation: **High-frequency, system-to-system data feeds**: If you're exchanging real-time inventory positions with a warehouse management system 100 times per day, a direct API integration is more efficient than running each update through AI extraction. **Completely standardized, high-volume EDI**: If 95% of your orders come through EDI from 3 retailers and the formats never change, traditional EDI translation software handles this fine. AI adds more value when formats vary. **Simple webhook-driven workflows**: If a Shopify order triggers a fulfillment API call, that's a straightforward integration that doesn't need AI interpretation. The sweet spot for AI order automation is when you have **multiple trading partners sending orders in different formats**, and you're spending real labor hours on manual data entry and exception handling. ## How to Calculate Your ROI Estimate your current order processing costs: **Labor cost formula:** ``` (Orders per month × Average minutes per order × Hourly labor cost) ÷ 60 ``` **Example:** 1,500 orders × 10 minutes × $25/hour ÷ 60 = **$6,250/month in labor** **Error cost formula:** ``` Orders per month × Error rate × Average cost per error ``` **Example:** 1,500 × 3% × $50 average error cost = **$2,250/month in errors** **Total monthly cost of manual processing: $8,500** If an AI automation platform costs $500-1,000/month, the payback period is immediate. ## Getting Started Without Ripping Out Existing Systems The practical path isn't "replace everything with AI." It's "add AI to what you already have": 1. **Keep your existing EDI connections.** AI processes the data after your VAN delivers it. No changes to your trading partner relationships. 2. **Start with your highest-pain channel.** If PDF orders are your biggest time sink, start there. You'll see ROI fastest on the orders that currently require the most manual work. 3. **Run in parallel first.** Process orders through AI and your existing workflow simultaneously for 2 weeks. Compare accuracy and speed. Build confidence before cutting over. 4. **Expand one channel at a time.** Add email orders, then CSV imports, then additional trading partners. Each addition takes days, not months. 5. **Let the AI improve.** Accuracy increases with volume. The system you have after 90 days will be meaningfully better than what you started with. ## Frequently Asked Questions ### Is AI order automation better than traditional EDI? It depends on your situation. AI order automation handles the widest range of formats with the least setup, making it a better fit for companies that receive orders via email, PDF, CSV, and EDI from many different partners. Traditional EDI still works well if you have a small number of partners sending standardized formats that rarely change. For background on how EDI works, see [our essential guide to EDI](/blog/essential-guide-to-edi). Most companies benefit from using both together. ### Can AI handle EDI transactions? Yes. AI-powered order automation can read and extract data from EDI 850 purchase orders just like it handles PDFs or emails. You can see this in action with our [free EDI Inspector](/edi-inspector), which parses raw X12 into a readable format. The AI parses the X12 segments, maps fields to your internal system, and validates business logic like pricing and inventory. Your existing VAN or AS2 connection stays in place for transport, and the AI layer handles interpretation and mapping on top of it. ### How long does AI order automation take to set up? Most AI order automation platforms can process live orders within one to two weeks. The first day typically covers connecting your ERP and processing sample orders. Over the following weeks, accuracy improves as the system learns your catalog, customer-specific formats, and exception patterns. Compare that to traditional EDI integrations, which often take 8 to 12 weeks per trading partner. ### What is the ROI of switching from traditional integration to AI? **Calculate your current monthly cost by multiplying orders per month by average processing time by your hourly labor rate, then add the cost of errors (order volume times error rate times average error cost).** A company processing 1,500 orders per month at 10 minutes each with a 3% error rate typically spends $8,500 or more monthly. AI automation platforms running $500 to $1,000 per month pay for themselves immediately. ### Where to start if you process orders today Start with your highest-pain order channel. If PDF orders from smaller customers consume the most manual hours, route those to the AI system first. Keep your existing EDI connections intact. Add the AI layer on top and run in parallel for two weeks to build confidence before cutting over. Expand one channel at a time. --- **Related Resources:** - [AI vs EDI vs API: The Full Comparison](/blog/ai-vs-edi-vs-api) - [B2B Order Automation Software Guide](/blog/automated-order-processing) - [How AI Order Automation Works](/ai-order-automation) - [Order Processing Automation](/order-processing-automation) --- # AI Order Processing vs OCR: Key Differences Source: https://ordersync.io/blog/ai-order-processing-vs-ocr > How AI-powered order processing compares to traditional OCR and template-based extraction, and why AI handles layout variations that break OCR systems. OCR converts scanned images to text using fixed templates—change the layout and it breaks. AI order processing understands document structure regardless of format, extracting fields by meaning rather than position. For purchase orders with varied layouts across customers, AI achieves extraction accuracy above 98% where template-based OCR typically fails. **AI order processing goes beyond OCR by understanding document structure and meaning rather than reading fixed pixel coordinates, which is why AI handles layout variations that break template-based OCR systems.** OCR seemed like the answer. You scan a purchase order, the software reads the text, and the data lands in your ERP. No more manual keying. At least, that was the pitch. In practice, most teams that deploy OCR for order processing hit the same wall within the first few months. The tool works for the five or six PO formats you trained it on. Then customer number seven sends a slightly different layout, and the whole extraction falls apart. You are back to manual review, re-mapping zones, and wondering whether the time savings were worth the setup cost. AI-based order processing takes a different approach. Instead of relying on fixed templates, it reads documents the way a person does, understanding the structure and meaning of what is on the page. Here is how the two methods compare and when each one makes sense. ## The Promise and Problem with OCR Optical character recognition has been around since the 1990s. The core technology is solid: scan a document, convert the image to machine-readable text. For simple use cases like digitizing printed books or reading standardized government forms, OCR works well. The problem shows up when you apply it to B2B purchase orders. Every customer has a different PO layout. Column headers vary ("Qty" vs. "Quantity" vs. "Units Ordered"). Some POs stack ship-to addresses above the line items; others put them below. Tables span multiple pages, include subtotals mid-table, or use merged cells for multi-line descriptions. Industry research on document processing automation shows a consistent pattern for teams using template-based OCR: - [Gartner's intelligent document processing research](https://www.gartner.com/en/supply-chain/topics/supply-chain-management) finds that organizations using template-based OCR hit straight-through processing rates of only 30-40% on initial deployment, meaning 60-70% of orders still require manual intervention - The [IOFM's accounts payable automation research](https://www.iofm.com/ap/process-improvement/automation/the-future-of-accounts-payable-digital-profitable-and-strategic) shows that organizations with high format variability see 3x faster ROI from intelligent document processing compared to template-based OCR The technology works until the layout changes. And in B2B, the layout always changes. ## How Template-Based OCR Works Understanding why OCR breaks requires knowing how it extracts data in the first place. Template-based OCR uses zone mapping. You open a sample PO from a specific customer, draw rectangles around the fields you want to capture (PO number, date, ship-to address, line item table), and assign each zone to a data field. The system then looks for text in those exact pixel coordinates on every subsequent PO from that customer. **What breaks it:** - **Layout shifts.** The customer updates their ERP and the PO format changes. Columns move 50 pixels to the right. Your zones now capture the wrong data or nothing at all. - **New columns.** A customer adds a "Requested Ship Date" column to their PO. The table structure shifts and your line item extraction pulls quantities from the price column. - **Multi-page tables.** The line item table continues on page two, but the template only maps page one. Items 16 through 30 get dropped. - **Variable header text.** One customer labels the column "Item #". Another uses "SKU". A third uses "Catalogue Number". The template needs a separate mapping for each variation. - **Font and scan quality.** A faxed PO or a low-resolution scan degrades OCR accuracy from 95%+ down to 70-80%. Characters get misread: "1" becomes "l", "0" becomes "O", "8" becomes "B". The maintenance burden grows with every customer you add. With 50 trading partners, you need 50 templates. When 10 of them update their PO formats in a quarter, you need 10 template rebuilds. This is not a scalable process for teams looking at [order processing automation](/order-processing-automation). ## How AI Order Processing Works AI-based extraction does not use fixed templates. Instead of mapping zones on a page, the model analyzes the full document and interprets its structure the way a trained human would. Here is the difference at each step: 1. **Document intake.** The system receives the order (PDF, scan, email, spreadsheet) and converts it to text. This first step still uses OCR for scanned images, but the OCR output is just raw text. The intelligence comes next. 2. **Layout understanding.** The AI model identifies structural elements: headers, tables, address blocks, totals, and notes. It recognizes that a grid of rows under columns labeled "Description" and "Qty" is a line item table, even on a layout it has never seen before. 3. **Field extraction.** The model maps values to structured fields. It knows that "Catalogue #" and "Item Number" and "SKU" all refer to the product identifier. It understands that "EA" means each and "CS" means case without being told for each template. 4. **Validation.** Extracted data gets checked against your product catalog, customer-specific pricing, and order history. A quantity of 10,000 on an item that typically sells in quantities of 10 gets flagged. A price that does not match the customer's contract rate gets flagged. 5. **Learning.** When a human corrects an extraction error, the system learns from that correction. The next time it sees a similar layout or field label, it gets it right. This is the biggest difference from OCR: accuracy improves over time without manual template work. For a deeper look at how this pipeline works end to end, see our breakdown of [AI order processing](/ai-order-automation) and how it fits into [AI-powered order automation](/ai-order-automation). ## Side-by-Side Comparison | Capability | Template-Based OCR | AI Order Processing | |---|---|---| | **Accuracy (known formats)** | 90-95% with good templates | 95-99% after initial training | | **Accuracy (new formats)** | Fails without a matching template | 85-95% on first encounter | | **Setup time per customer** | 2-8 hours per template | Minutes (model generalizes) | | **Layout flexibility** | Breaks when layout changes | Adapts to variations automatically | | **Table extraction** | Struggles with multi-page, merged cells | Handles complex table structures | | **Field label variations** | Needs manual mapping per label | Understands synonyms from context | | **Learning from corrections** | No. Requires manual template edits | Yes. Corrections improve the model | | **Maintenance** | Ongoing template rebuilds as formats change | Minimal. Model self-improves | | **Cost at scale (50+ customers)** | High (template creation and maintenance) | Lower per-customer marginal cost | | **Best for** | Single-format, high-volume documents | Variable formats from many partners | **Bottom line**: OCR costs less upfront but becomes expensive to maintain as you add customers. AI costs more initially but scales with lower marginal effort per new trading partner. **Key distinction**: AI-powered extraction learns document structure and adapts to layout variations automatically, while template OCR requires a manual rebuild every time a customer changes their PO format or column order. ## When OCR Still Makes Sense AI is not always the right choice. Template-based OCR can be the better option in specific scenarios. **Standardized government or regulatory forms.** If every document uses the same layout, version after version, OCR handles it efficiently. Tax forms, customs declarations, and regulatory filings rarely change format. **Single-customer, high-volume processing.** If you receive 1,000 POs a day from one customer using one format, a well-tuned OCR template will hit 95%+ accuracy at low cost. There is no layout variation to deal with. **Simple data capture from clean documents.** Extracting a single field (like a PO number or invoice total) from consistently formatted, machine-generated PDFs is straightforward OCR territory. **Budget constraints for low-volume operations.** A team processing 10 to 20 orders per day from three customers may not justify the cost of an AI platform. A few well-maintained OCR templates can handle that volume. The crossover point typically arrives when you have more than 10 to 15 distinct PO formats to support. Beyond that, the template maintenance burden starts to exceed the cost of an AI-based approach. The [IOFM's research on document processing automation](https://www.iofm.com/ap/process-improvement/automation/the-future-of-accounts-payable-digital-profitable-and-strategic) shows that organizations with high format variability see 3x faster ROI from intelligent document processing compared to template-based OCR. ## Making the Switch from OCR to AI If you are running OCR today and hitting its limits, the migration path is more straightforward than most teams expect. 1. **Audit your current templates.** Count how many you have, how often they break, and how much time your team spends on template maintenance and manual corrections. This gives you a baseline for ROI calculation. 2. **Start with the long tail.** Keep your OCR templates for your highest-volume, most stable formats. Route the variable-format orders (the ones that cause the most rework) to the AI system first. This is where you will see the fastest payback. 3. **Feed existing corrections into training.** If you have been manually correcting OCR output, that correction history is training data. AI models learn faster when they can see common error patterns and how humans fix them. 4. **Validate against your product catalog.** AI extraction accuracy improves when the system can cross-reference extracted SKUs, quantities, and prices against your actual product data. Connect it to your [ERP integration](/erp-integration) early. 5. **Measure straight-through processing rate.** Track the percentage of orders that flow from receipt to ERP without human intervention. This is your north-star metric. OCR systems typically plateau at 30-40%. AI-based systems reach 60-70% in the first weeks and climb to 85%+ as the model learns. For teams handling orders across multiple formats (PDF, email, EDI, spreadsheet), the [AI order agent](/ai-order-agent) approach goes further by managing the full lifecycle, not just extraction. If your current process involves [manually processing PDF orders](/pdf-order-processing), start there. PDF orders from your long tail of smaller customers are typically where OCR struggles most and where AI delivers the fastest improvement. You can also validate your EDI documents separately using our [free EDI Inspector](/edi-inspector), which parses and checks EDI files without any signup. ## Frequently Asked Questions ### What is the difference between AI order processing and OCR? **OCR converts document images into machine-readable text using optical character recognition. AI order processing goes further by understanding the meaning and structure of that text.** OCR tells you what characters appear at a specific location on the page. AI understands that those characters represent a SKU, a quantity, or a shipping address, even when the layout varies between documents. ### Can AI order processing work with scanned or faxed documents? Yes. AI systems typically use OCR as a preprocessing step to convert scanned images into text. The AI model then interprets that text, which means it handles the noise and ambiguity that trips up standalone OCR. Accuracy on low-quality scans is lower than on clean PDFs, but AI still outperforms template-based OCR because it uses context rather than pixel coordinates. ### How long does it take to set up AI order processing? Most AI-based systems can begin processing orders within days, not weeks. There is no per-customer template creation step. The model uses patterns learned from prior documents to handle new formats immediately. Accuracy on a brand-new customer format typically starts at 85-95% and improves as the system processes more orders and receives corrections. ### Does switching from OCR to AI require replacing my entire system? No. Many teams run both in parallel during the transition. You keep OCR templates for your stable, high-volume formats and route variable-format orders to the AI system. Over time, as the AI model proves its accuracy, you can retire the OCR templates. The AI system connects to your existing [ERP](/erp-integration) the same way your OCR pipeline did. ### What accuracy rate should I expect from AI order processing? On known document formats, AI systems typically achieve 95-99% field-level accuracy. On formats the system has never seen, expect 85-95% on the first encounter. Accuracy improves as the system processes more documents and receives human corrections on edge cases. The key metric to track is straight-through processing rate: the percentage of orders that require zero human intervention. --- # AI-Powered EDI Processing for Small Teams Source: https://ordersync.io/blog/ai-powered-edi-processing > EDI is mandatory for major retailers but brutal for small teams. AI-powered EDI processing automates validation, exception handling, and ERP sync. AI-powered EDI processing uses machine learning to automate the judgment calls traditional EDI software leaves to specialists: catalog matching, quantity validation, exception resolution, partner-specific quirks, and compliance monitoring across every retailer relationship — without the dedicated EDI team and hand-built maps that legacy systems require. EDI has been the backbone of B2B retail for 50 years. [Walmart requires it](/edi-compliance/walmart). [Target requires it](/edi-compliance/target). [Kroger](/edi-compliance/kroger), [Costco](/edi-compliance/costco), [Amazon Vendor Central](/edi-compliance/amazon) --- they all require it. The problem isn't EDI itself. The problem is that traditional EDI processing assumes you have a dedicated team to manage it. Most growing suppliers don't. They have one or two people juggling orders, inventory, and shipping while trying not to get hit with chargebacks. AI changes this. Not by replacing EDI, but by handling the parts that traditionally required an EDI specialist. Key context on EDI's role: - The [ASC X12 standards body](https://x12.org) maintains the transaction sets (850, 856, 810, 997) that define every document in the retailer EDI workflow, and those standards have been the mandatory B2B retail protocol for decades - [DISA (Data Interchange Standards Association)](https://www.disa.org), which serves as the X12 secretariat, reports that EDI transaction volume continues to grow as more suppliers onboard with large retailers each year ## What Traditional EDI Processing Looks Like Here's the typical flow for a [purchase order (850)](/guides/edi/850-purchase-order) arriving from a major retailer: 1. **Receive** the EDI document via VAN or AS2 2. **Parse** the X12 segments into readable data 3. **Validate** the format against the trading partner's requirements 4. **Map** the data to your internal system's format 5. **Check** against your product catalog and inventory 6. **Handle exceptions** (wrong SKUs, discontinued items, quantity issues) 7. **Enter** the order into your ERP or order management system 8. **Send** a [997 functional acknowledgment](/guides/edi/997-functional-acknowledgment) back 9. **Generate** the [856 ASN](/guides/edi/856-ship-notice) when you ship 10. **Create** the [810 invoice](/guides/edi/810-invoice) for billing Steps 1-4 can be automated with traditional EDI software. Steps 5-7 are where most small teams hit a wall. Those steps require someone who understands both EDI and your business --- your products, your customers, your exceptions. ## Where AI Takes Over AI-powered EDI processing automates the judgment calls that traditionally required a human: ### Intelligent Validation Traditional EDI validation checks syntax: "Is segment ISA in the right position? Does the PO01 element contain a valid qualifier?" These are binary pass/fail checks. AI validation checks business logic: **Catalog Matching** - "The PO line references UPC 012345678901. That matches your SKU WG-2450 (Organic Whole Grain Bread, 24oz)." - "The buyer's item number BK-990 doesn't match any active product. But it's a 95% match to your discontinued BK-99. The replacement is BK-100. Flag for review." **Quantity Reasonableness** - "This store typically orders 48 units of this product. This PO requests 480. Likely a decimal error." - "This is a new store opening order. The 5x normal quantities are expected for initial stocking." **Pricing Verification** - "The unit price on line 3 is $12.50, but your current price list shows $13.75. The old price expired last month." - "The allowance in the SAC segment calculates to a 15% discount. Your agreement with this retailer caps at 12%." **Compliance Pre-check** - "This Walmart PO requires a Must Arrive By Date (MABD) of March 15. Based on your typical lead time and current inventory, you can fulfill this." - "This Target PO includes two items currently on allocation. You have enough inventory for this order, but the next three POs from Target may cause a shortage." ### Automated Exception Resolution When an order can't be processed as-is, traditional systems queue it for a human. AI resolves what it can and clearly escalates what it can't: **Auto-resolved (no human needed):** - SKU cross-references (buyer's item number to your internal SKU) - Unit of measure conversions (cases vs. eaches) - Ship-to address standardization - Date format normalization **Escalated with context (human decides faster):** - "This item is out of stock. Here are your options: (1) partial ship with backorder, (2) substitute SKU AB-200 which is equivalent, (3) reject the line. Historical data shows this buyer accepts substitutions 80% of the time." - "Two POs from the same buyer arrived within 5 minutes with overlapping items. This may be a duplicate. Here's a side-by-side comparison." ### Proactive Compliance Monitoring AI doesn't just process orders. It watches for patterns that lead to chargebacks: - "Your ASN accuracy rate for Target dropped to 94% this week. The threshold for chargebacks is 95%. The issue is a packaging change on SKU FG-100 that updated the case pack quantity." - "Walmart's MABD compliance window is 2 days. Three orders shipping this week are at risk based on current warehouse throughput." - "Your [EDI 846 inventory feeds](/guides/edi/846-inventory-inquiry) show a discrepancy between your ERP inventory and what you're reporting to Kroger. 12 SKUs show available inventory in your ERP but are reported as zero in the 846." ## Traditional vs AI-Powered EDI Processing | Factor | Traditional EDI | AI-Powered EDI | |---|---|---| | **Setup time** | 8-12 weeks per trading partner | 1-2 weeks per trading partner | | **Validation depth** | Syntax and format only | Business logic, catalog matching, pricing | | **Exception handling** | Manual queue for all exceptions | Auto-resolves routine exceptions, escalates with context | | **Processing speed** | Minutes per order (with manual steps) | Seconds per order (auto) + minutes for flagged orders | | **Staffing requirement** | Dedicated EDI specialist(s) | General ops staff reviewing AI output | | **Accuracy over time** | Static (depends on mapping updates) | Improves as the system learns your patterns | | **Non-EDI order support** | None (separate workflow needed) | Same pipeline handles PDF, email, CSV | ## Before and After: Real Impact ### A Mid-Size CPG Supplier's Numbers **Before AI-powered EDI (manual processing):** - 3 staff members processing EDI orders - Average processing time: 12 minutes per order - Exception rate: 22% of orders need manual intervention - Chargeback rate: 3.2% of shipments - Time to onboard new retailer: 8-12 weeks **After AI-powered EDI:** - 1 staff member reviewing AI-processed orders - Average processing time: 45 seconds (AI) + 2 minutes (human review for flagged orders) - Exception rate: 4% of orders need human decision - Chargeback rate: 0.8% of shipments - Time to onboard new retailer: 1-2 weeks The math: 3 FTEs at ~$55,000 each = $165,000/year in labor. Reduced to 1 FTE = $55,000/year. Plus reduced chargebacks saving roughly $40,000/year. Net savings: ~$150,000 annually. **Labor impact**: Reducing EDI processing from three staff to one frees roughly $110,000 in annual labor cost while the single remaining role shifts from manual data entry to exception review and relationship management. **Chargeback reduction**: Moving from 3.2% to 0.8% chargeback rate typically saves $40,000 or more annually for a mid-size CPG supplier, since each chargeback incident costs between $500 and $5,000 in penalties and rework time. ## What AI-Powered EDI Doesn't Do Let's be honest about the limitations: **AI doesn't replace your VAN or AS2 connection.** You still need the transport layer. AI sits on top of it. **AI doesn't eliminate all human review.** Complex exceptions, new product launches, and unusual orders still need human judgment. The difference is that humans handle 5% of orders instead of 25%. **AI doesn't make EDI optional.** If Walmart requires EDI, you need EDI. AI makes EDI processing faster and more accurate, but it doesn't change the compliance requirement. **AI doesn't work magic on day one.** Accuracy improves as the system processes more of your orders and learns your catalog, your trading partners, and your exception patterns. Expect 85-90% accuracy in the first week, 95%+ within the first month. ## How to Evaluate AI EDI Solutions ### Questions to Ask Vendors 1. **"How do you handle documents the AI isn't confident about?"** Good answer: "We flag them for human review with the AI's best guess and confidence score." Bad answer: "Our AI is 100% accurate." (It isn't. No AI is.) 2. **"Can you process our non-EDI orders too?"** Good answer: "Yes, we handle PDF, CSV, email, and other formats through the same AI pipeline." Bad answer: "We only do EDI." (Then you still need manual processing for everything else.) 3. **"How does the system learn from our corrections?"** Good answer: "When you correct an extraction, we retrain on that pattern. The same mistake won't happen twice." Bad answer: "Our models are pre-trained and don't need updating." (They do.) 4. **"What's the implementation timeline?"** Good answer: "You'll be processing live orders in 1-2 weeks." Bad answer: "Our typical implementation is 3-6 months." (That's traditional EDI, not AI.) ### Minimum Requirements - Handles all major EDI transaction sets (850, 810, 856, 846, 997) - Integrates with your existing VAN or supports direct AS2 - Validates against your product catalog, not just EDI format specs - Connects to your [ERP system](/erp-integration) for order sync - Provides clear audit trail for compliance - Shows confidence scores so you know what to review ## Getting Started If you're currently processing EDI manually or with basic translation software, here's a practical path to AI-powered processing: 1. **Audit your current flow.** How many orders per day? What percentage need manual intervention? What's your chargeback rate? These are your baseline numbers. 2. **Start with one trading partner.** Pick your highest-volume retailer. Run AI processing in parallel with your existing flow for two weeks. Compare accuracy and speed. 3. **Expand to non-EDI orders.** Once EDI processing is running smoothly, add your PDF and email orders to the same AI pipeline. This is where you'll see the biggest labor savings. 4. **Monitor and improve.** Track exception rates, processing time, and chargeback rates monthly. AI systems get better over time, so these numbers should trend in the right direction. ## Frequently Asked Questions ### How does AI improve EDI processing? AI adds a business logic layer on top of traditional EDI parsing. Instead of just checking syntax, AI validates catalog matches, flags unusual quantities, verifies pricing against your agreements, and resolves common exceptions like SKU cross-references automatically. This means fewer orders get stuck in a manual review queue, and the ones that do come with context and suggested resolutions so your team can act faster. ### Can AI read EDI files? Yes. AI can parse X12 EDI documents including 850 purchase orders, 810 invoices, 856 ASNs, and other standard transaction sets. It reads the segment and element structure, extracts the business data, and maps it to your internal system fields. The difference from traditional EDI translation is that AI also interprets the content, catching issues like discontinued SKUs, pricing mismatches, and quantity anomalies that syntax-level validation would miss. ### What is the difference between AI-powered EDI and traditional EDI? **Traditional EDI processing validates format and translates data between fixed mappings.** If something falls outside the mapping, it fails and waits for a human. AI-powered EDI processing understands the business meaning of the data. It can match buyer item numbers to your catalog, flag orders that look unusual compared to historical patterns, and resolve routine exceptions without human intervention. Traditional EDI is rigid; AI-powered EDI adapts. ### Do I still need a VAN with AI-powered EDI? Yes. AI-powered EDI does not replace your VAN (Value Added Network) or AS2 connection. Those handle the transport layer, which is how EDI documents physically move between you and your trading partners. AI sits on top of the transport layer and handles the processing, validation, and mapping once the documents arrive. Your existing VAN setup stays in place, and your trading partners don't need to change anything on their end. --- **Related Resources:** - [The Essential Guide to EDI](/blog/essential-guide-to-edi) - [EDI Implementation Guide](/blog/essential-guide-to-edi) - [AI vs EDI vs API: The Full Comparison](/blog/ai-vs-edi-vs-api) - [Free EDI Inspector Tool](/edi-inspector) --- # AI vs EDI vs API: B2B Order Processing Source: https://ordersync.io/blog/ai-vs-edi-vs-api > EDI and APIs handle data transport. AI handles data intelligence. The real question isn't which protocol to use, but how AI transforms order processing. EDI and APIs are transport protocols that move data between systems. AI is the intelligence layer on top: it reads, validates, and processes that data regardless of format, including PDFs, emails, faxes, and partner portals. Most B2B operations need all three — AI plus EDI plus APIs — working together, not one in place of another. The "EDI vs API" debate has dominated B2B integration conversations for years. But it frames the problem wrong. EDI and APIs are **transport protocols** that move data between systems. AI is something different entirely: it's the **intelligence layer** that reads, understands, and acts on that data. Here's the real question: Does it matter how a purchase order arrives if your system can't process it without a human touching it? Context on each layer: - The [ASC X12 standards body](https://x12.org/products/transaction-sets) governs the EDI transaction sets (850, 856, 810) that major retailers mandate from suppliers, and those standards have remained the B2B retail baseline for decades - [Anthropic's Claude API](https://docs.anthropic.com) and [OpenAI's platform](https://platform.openai.com/docs) are the underlying LLM infrastructure that modern AI order processing platforms use to interpret unstructured documents, extract fields, and validate business logic ## The Problem with the EDI vs API Framing Traditional thinking slots you into one of two camps: - **EDI**: Standardized, batch-oriented, required by major retailers. Handles [850 purchase orders](/guides/edi/850-purchase-order), [810 invoices](/guides/edi/810-invoice), [856 ship notices](/guides/edi/856-ship-notice), and more. - **API**: Real-time, flexible, developer-friendly. JSON payloads, webhooks, REST endpoints. But most B2B operations don't fit neatly into either camp. A single distributor might receive: - EDI 850s from [Walmart](/edi-compliance/walmart) and [Target](/edi-compliance/target) - PDF purchase orders emailed from regional buyers - CSV exports from a customer's procurement portal - Phone orders transcribed into spreadsheets No amount of EDI or API optimization solves this multi-format reality. That's where AI changes the equation. ## What Each Layer Actually Does ### EDI: The Compliance Layer EDI isn't going away. [Major retailers require it](/blog/essential-guide-to-edi), and for good reason. It provides: - **Standardized document exchange** across trading partners - **Audit trails** with functional acknowledgments ([997s](/guides/edi/997-functional-acknowledgment)) - **Regulatory compliance** for healthcare, automotive, and government - **Proven reliability** across decades of supply chain operations EDI handles the *transport and format* of structured business documents. It doesn't help you when an order arrives in a format EDI doesn't cover. ### API: The Connectivity Layer APIs connect modern systems in real-time: - **Instant data sync** between platforms - **Flexible data structures** that adapt to any schema - **Developer-friendly** tooling and documentation - **Bidirectional communication** for status updates and webhooks APIs handle *connectivity and real-time data flow*. They still require every trading partner to build and maintain an integration. ### AI: The Intelligence Layer AI sits above both EDI and API. It doesn't replace them. It makes them dramatically more useful: - **Reads any format**: EDI, PDF, CSV, Excel, email body text, images of faxed POs - **Extracts structured data**: Pulls line items, quantities, ship-to addresses, pricing from unstructured documents - **Validates against your catalog**: Catches wrong SKUs, outdated pricing, impossible quantities - **Routes and transforms**: Converts any input into the format your ERP expects - **Learns from corrections**: Gets more accurate over time as you handle exceptions ## How They Work Together The best B2B order processing stacks all three layers: ``` ┌─────────────────────────────────────────┐ │ AI INTELLIGENCE │ │ Extract → Validate → Transform → Act │ ├─────────────────────────────────────────┤ │ EDI Transport │ API Transport │ │ Walmart, Target, │ Shopify, custom │ │ Kroger, Costco │ portals, ERPs │ ├──────────────────────┴──────────────────┤ │ + PDF, CSV, Email │ │ (formats EDI and API don't cover) │ └─────────────────────────────────────────┘ ``` **EDI** handles retailer compliance. **API** handles real-time system connectivity. **AI** handles everything in between and makes both smarter. ### Real Example: A Food Distributor's Daily Orders Consider a mid-size food distributor processing 200+ orders daily: | Source | Format | Volume | How It's Handled | |--------|--------|--------|-----------------| | Walmart | EDI 850 | 40/day | AI validates against catalog, flags exceptions, syncs to ERP | | Kroger | EDI 850 | 25/day | Same AI validation pipeline | | Regional grocery chain | PDF via email | 60/day | AI extracts line items from PDF, converts to standard format | | Restaurant group | Excel spreadsheet | 30/day | AI reads spreadsheet, maps columns to order fields | | Small retailers | Email body text | 50/day | AI parses natural language, creates structured order | Without AI, this distributor needs 3-4 staff members doing manual data entry for the non-EDI orders. With AI, one person reviews the AI's work and handles only true exceptions. ## Where AI Beats Traditional Approaches ### 1. Format Agnostic Processing EDI requires a specific format. APIs require a specific integration. AI reads whatever arrives. A customer sends a purchase order as a photo taken on their phone? AI can extract the data. A new trading partner sends orders in a proprietary CSV format? AI maps the columns automatically. Someone replies to an email with "Same order as last week, but double the chicken"? AI understands that too. ### 2. Error Detection Humans Miss Traditional EDI validation checks format compliance: Are the segments in the right order? Are required fields present? AI checks business logic: - "This order has 10,000 units of a product that typically orders 100. Is that intentional?" - "The ship-to address doesn't match any known location for this customer." - "This product was discontinued last month. The customer probably wants the replacement SKU." - "The requested delivery date is a Sunday. This warehouse is closed on Sundays." ### 3. Continuous Improvement EDI mappings are static. API integrations are coded once and maintained. AI models improve with every order processed: - Accuracy increases as the system learns your product catalog - Exception rates drop as patterns are recognized - New customer formats are handled faster - Edge cases that previously required manual review become automated ### 4. Speed to Onboard New Partners | Approach | Time to Onboard New Trading Partner | |----------|-------------------------------------| | EDI | 4-12 weeks (mapping, testing, certification) | | API | 2-6 weeks (development, testing, deployment) | | AI | Minutes to hours (process a sample order, review, go live) | ## The Cost Reality ### Traditional EDI-Only Stack - VAN fees: $500-2,000/month - Per-transaction costs: $0.05-0.50 each - Mapping specialists: $80-150/hour - Only covers EDI-capable partners - Everything else is manual ### API-Only Stack - Development: $30,000-100,000 per integration - Maintenance: $10,000-25,000/year per integration - Only covers partners with APIs - Everything else is manual ### AI-Powered Platform - Handles EDI, API, PDF, CSV, email, and more - Single platform cost regardless of format - Accuracy improves over time (costs decrease) - Human review only for genuine exceptions The math is straightforward: if you're paying people to manually enter orders that arrive outside your EDI or API channels, AI pays for itself in weeks, not months. ## What to Look for in an AI Order Processing Platform Not all "AI" claims are equal. Here's what matters: ### Must-Have Capabilities 1. **Multi-format ingestion**: Handles EDI, PDF, CSV, Excel, and email natively, not just one format 2. **Catalog-aware validation**: Checks orders against your actual products, not just format compliance 3. **Human-in-the-loop**: Flags uncertain extractions for review instead of guessing 4. **ERP integration**: Syncs validated orders directly to your [ERP or eCommerce platform](/erp-integration) 5. **Audit trail**: Full history of what was received, extracted, changed, and synced ### Red Flags - "100% accuracy" claims (no AI system is perfect; the honest ones show confidence scores) - No way to correct mistakes (the system should learn from corrections) - Requires you to abandon existing EDI connections (AI should complement, not replace) - Black box processing (you should see exactly what the AI extracted and why) ## The Bottom Line Stop asking "Should we use EDI or API?" Start asking "How do we process orders intelligently regardless of how they arrive?" - **EDI** is a transport standard you'll use for major retailers. It's not going away. - **APIs** are connectivity tools for real-time system integration. They're growing. - **AI** is the intelligence layer that makes both more powerful and handles everything they can't. The businesses winning at B2B order processing in 2026 aren't choosing between EDI and API. They're using AI to unify all their order channels into a single, intelligent pipeline. ## Frequently Asked Questions ### Can AI replace EDI? No. AI and EDI solve different problems. EDI is a transport standard that major retailers require for exchanging purchase orders, invoices, and ship notices. AI is an intelligence layer that reads, validates, and processes order data regardless of format. You still need EDI to comply with retailer requirements, but AI makes your EDI processing smarter by catching errors, validating against your catalog, and handling the orders that arrive outside EDI channels. ### What is the cheapest way to automate order processing? **For most B2B companies, an AI-powered platform that handles multiple formats (EDI, PDF, CSV, email) from a single system is the most cost-effective approach.** Traditional EDI alone costs $25,000+ in year one and only covers EDI-capable partners. Custom API development runs $30,000+ per integration. An AI platform covers all formats on flat monthly pricing and reduces the manual labor costs that often dwarf software costs. ### Do I need all three (AI, EDI, and API)? It depends on your trading partners. If you sell to major retailers, you need EDI for compliance. If you connect to modern platforms like Shopify or run real-time inventory sync, you need APIs. If you receive orders in any unstructured format (PDFs, emails, spreadsheets), AI handles those. Most mid-size distributors and suppliers end up needing all three because their customer base spans traditional retailers, modern platforms, and smaller buyers who just send emails. ### Which is best for small businesses? For small businesses with limited budgets and technical resources, an AI-powered platform offers the best starting point. It handles whatever formats your customers send without requiring you to build separate EDI and API integrations. If a major retailer requires EDI, look for a platform that includes EDI support so you're not paying for a standalone EDI setup on top of everything else. The goal is one system that covers all your order channels. --- **Related Resources:** - [EDI vs API: The Traditional Comparison](/blog/edi-vs-api) - [AI Order Automation: How It Works](/ai-order-automation) - [Multi-Format Order Processing](/multi-format-orders) - [Free EDI Inspector Tool](/edi-inspector) --- # AS2 EDI Connection: How It Works and When to Use It Source: https://ordersync.io/blog/as2-edi-connection > Learn what AS2 is, how it connects EDI trading partners, and when AS2 makes sense compared to VAN, SFTP, or API-based EDI connections. AS2 is a secure, point-to-point protocol for sending EDI files directly between trading partners over HTTPS. It replaces VAN-based routing for high-volume connections, offering faster delivery, lower per-transaction cost, and built-in receipts (MDNs). Most large retailers—Walmart, Target, Amazon—require AS2 for their highest-volume supplier connections. **AS2 (Applicability Statement 2) is the HTTPS-based protocol defined in [RFC 4130](https://datatracker.ietf.org/doc/html/rfc4130) for sending EDI documents directly between trading partners with encryption, digital signing, and cryptographic delivery receipts, which is why Walmart mandated it for all suppliers and it became the dominant retail EDI transport method.** If a major retailer has told you to "set up AS2," you're not alone in wondering what that actually means. AS2 is one of the most common ways to send and receive EDI documents between trading partners. It is the connection method, not the data format. Think of it this way: EDI is the language, AS2 is the delivery truck. This guide covers how AS2 works, when you need it, and how it compares to other EDI connection methods like VANs, SFTP, and APIs. ## What Is AS2? **AS2 (Applicability Statement 2) is an HTTP-based protocol defined in [RFC 4130](https://datatracker.ietf.org/doc/html/rfc4130) for transmitting EDI documents directly between trading partners over the internet, using digital certificates for encryption and signing and confirming delivery through automatic receipts called MDNs (Message Disposition Notifications).** AS2 was defined by the IETF in 2005. It replaced the original AS1 protocol (which ran over email/SMTP) with a faster, more reliable HTTP-based approach. The protocol became widely adopted after Walmart mandated it for all suppliers in the mid-2000s, and it remains one of the most common EDI transport methods in retail supply chains today. Key context on AS2 adoption: - The [IETF RFC 4130 specification](https://datatracker.ietf.org/doc/html/rfc4130) is the definitive technical standard for AS2, defining the encryption, signing, and MDN receipt requirements that all certified AS2 implementations must follow - The [ASC X12 standards body](https://x12.org) governs the EDI document formats (850, 856, 810) that travel over AS2 connections, making X12 and AS2 complementary layers of the same retail EDI stack The key thing to understand: AS2 is a point-to-point connection. You send EDI files directly to your trading partner's AS2 server, and they send files directly to yours. There is no middleman routing your documents (unlike a VAN). This means lower per-transaction costs, but more setup responsibility on your end. ## How an AS2 EDI Connection Works AS2 can sound intimidating because it involves certificates, encryption, and digital signatures. Here is what actually happens when you send an EDI document over AS2, step by step. ### 1. You Prepare the EDI Document Your system generates a standard EDI file (an [850 purchase order](/guides/edi/850-purchase-order), [856 ship notice](/guides/edi/856-ship-notice), [810 invoice](/guides/edi/810-invoice), etc.). The EDI content itself is the same regardless of whether you send it via AS2, SFTP, or a VAN. AS2 only handles the transport. ### 2. Your AS2 Software Encrypts and Signs the Message Before sending, your AS2 software does two things: - **Encrypts the file** using your trading partner's public certificate. This ensures only the intended recipient can read the contents. Think of it like putting the document in a locked box that only your partner has the key to open. - **Digitally signs the file** using your private certificate. This proves the message came from you and was not altered in transit. It works like a tamper-evident seal. ### 3. The Message Travels Over HTTPS Your AS2 software sends the encrypted, signed message to your trading partner's AS2 URL (a specific web address they provide). This happens over HTTPS, the same secure protocol your browser uses. No special network connections or leased lines required. ### 4. The Recipient's Server Processes the Message Your partner's AS2 server receives the message, decrypts it using their private key, and verifies your digital signature using your public certificate. If anything was tampered with or the signature does not match, the message is rejected. ### 5. An MDN Receipt Comes Back The receiving server sends back a Message Disposition Notification (MDN). This is an automatic receipt confirming the message was received and processed successfully (or flagging an error). MDNs can be synchronous (returned immediately in the same HTTP session) or asynchronous (returned later to a separate URL). The MDN is critical. It gives you a non-repudiation audit trail, meaning your trading partner cannot claim they never received the document. This is one of the main reasons retailers prefer AS2 over simpler file transfer methods. ## AS2 vs Other EDI Connection Methods Choosing a connection method depends on what your trading partners require and what makes sense for your volume and technical setup. Here is how AS2 compares to the most common alternatives. | Feature | AS2 | VAN | SFTP | FTPS | API | | --- | --- | --- | --- | --- | --- | | **Connection type** | Point-to-point | Hub-and-spoke | Point-to-point | Point-to-point | Point-to-point | | **Protocol** | HTTPS | Proprietary | SSH | FTP over TLS | REST/HTTPS | | **Encryption** | Built-in (certificates) | Provider-managed | Built-in (SSH keys) | Built-in (TLS) | TLS | | **Delivery confirmation** | MDN receipts | Provider tracking | None built-in | None built-in | HTTP response codes | | **Non-repudiation** | Yes (signed MDNs) | Partial (provider logs) | No | No | Varies | | **Per-transaction cost** | None | Yes ($0.05-$1+/doc) | None | None | Varies | | **Setup complexity** | Medium-high | Low | Low-medium | Low-medium | Medium | | **Firewall requirements** | Port 443 (outbound) | Provider-specific | Port 22 | Port 990/21 | Port 443 | | **Best for** | High-volume retail | Multiple partners | Smaller partners | Legacy systems | Modern integrations | **AS2 vs VAN**: VANs are easier to set up because the VAN provider handles routing and connectivity. You connect to the VAN once, and they connect to your partners. The tradeoff is ongoing per-document fees that add up fast at high volumes. AS2 eliminates those fees but requires you to manage each trading partner connection individually. **AS2 vs SFTP**: SFTP is simpler to configure and works well for many trading partners. However, it lacks built-in delivery receipts and non-repudiation. If a partner claims they never got your ASN, you have no cryptographic proof with SFTP. With AS2, the signed MDN settles that question. For a deeper look at integration approaches, see our [EDI vs API comparison](/blog/edi-vs-api). **AS2 vs API**: APIs offer real-time, bidirectional communication and are gaining ground in B2B. But most large retailers still require EDI over AS2 or VAN, not API. APIs are better suited for partners who have built modern integration endpoints. Check our [EDI integration guide](/blog/edi-integration-guide) for more on connecting these approaches. ## When Retailers Require AS2 The single biggest reason companies set up AS2 is retailer compliance. Some major retailers mandate AS2 as their connection method. **Walmart** is the most notable example. Walmart requires all suppliers to exchange EDI documents via AS2 (or through a VAN that connects via AS2 on the backend). If you are onboarding as a Walmart supplier, setting up an AS2 connection is non-negotiable. See our full [Walmart EDI requirements](/edi-compliance/walmart) guide for details on their specific transaction sets and compliance rules. Other retailers and large trading partners that commonly require or prefer AS2 include: - **Amazon** (for vendor central EDI, not seller central) - **Home Depot** - **Lowe's** - **Target** (supports AS2 alongside VAN) - **Costco** Even if a retailer does not explicitly require AS2, choosing it can save money at scale. If you are exchanging hundreds or thousands of EDI documents per month, the per-document VAN fees can run into thousands of dollars annually. AS2 eliminates that recurring cost after the initial setup. For companies just getting started with EDI, our [essential guide to EDI](/blog/essential-guide-to-edi) covers the fundamentals before you worry about connection methods. ## Setting Up an AS2 Connection Here is a practical walkthrough of what the setup process looks like. The specifics vary by AS2 software, but the steps are consistent. ### Step 1: Choose Your AS2 Software or Service You need an AS2-capable system. Options range from standalone AS2 servers (like mendelson AS2, Drummond Certified solutions) to integrated EDI platforms that include AS2 connectivity. The [Drummond Group](https://www.drummondgroup.com/services/as2-testing-and-certification/) maintains a certification program that tests AS2 interoperability between products, so look for certified solutions to avoid compatibility headaches. ### Step 2: Generate or Obtain Your Certificates You need two types of certificates: - **Your certificate pair**: A public certificate (shared with partners) and a private key (kept secret on your server). You can generate self-signed certificates or purchase them from a Certificate Authority (CA). - **Your partner's public certificate**: Your trading partner will send you their public certificate so you can encrypt messages to them. Most AS2 software includes a certificate generation wizard. Self-signed certificates work fine for AS2 since both parties exchange certificates directly (you are not relying on browser-style trust chains). ### Step 3: Exchange Configuration Details with Your Trading Partner Both sides need to share: - **AS2 ID**: A unique identifier for each party (often your company name or DUNS number) - **AS2 URL**: The HTTPS endpoint where incoming messages should be sent - **Public certificate**: For encryption and signature verification - **MDN preferences**: Synchronous or asynchronous, signed or unsigned This exchange typically happens through a trading partner onboarding form or portal. For Walmart, you submit this information through their Retail Link system. ### Step 4: Configure Your AS2 Software Enter your trading partner's details into your AS2 system: - Partner AS2 ID and URL - Import their public certificate - Set encryption algorithm (AES-256 is standard) - Set signing algorithm (SHA-256 is standard) - Configure MDN settings to match partner requirements ### Step 5: Run Connectivity Tests Send test EDI documents (typically a 997 functional acknowledgment or a test 850) and verify: - The message reaches your partner's server - You receive an MDN back - Your partner can decrypt and read the document - Inbound messages from your partner arrive and decrypt correctly Most retailers have a test/staging environment specifically for this. Do not skip testing. Certificate or configuration mismatches are common on the first attempt. Our [EDI implementation guide](/blog/essential-guide-to-edi) covers the broader implementation process, including mapping and testing beyond just the AS2 connection. ## Common AS2 Problems and How to Fix Them Even after a working AS2 connection is established, issues come up. Here are the most frequent problems. ### Certificate Expiration Certificates have expiration dates, typically 1 to 3 years after issuance. When a certificate expires, messages fail immediately. Both sending and receiving stop working. **Fix**: Track certificate expiration dates for every trading partner. Set calendar reminders at least 30 days before expiration. When you renew, send the new public certificate to all affected partners before the old one expires. ### MDN Failures You send a document but never get an MDN back, or you get an MDN with an error status. **Fix**: Check your partner's AS2 URL for changes. Verify your firewall allows inbound connections on the MDN return URL (for async MDNs). Confirm your signing certificate matches what your partner has on file. ### Firewall and Network Issues AS2 runs over HTTPS (port 443), but some corporate firewalls block outbound connections to unknown URLs or require proxy configuration. **Fix**: Whitelist your trading partner's AS2 URL in your firewall. If you are behind a proxy, configure your AS2 software to route through it. For inbound AS2 messages, ensure port 443 is open and mapped to your AS2 server. ### URL or Endpoint Changes Trading partners occasionally change their AS2 URL without much notice. Messages start failing with HTTP 404 or connection refused errors. **Fix**: When messages suddenly stop working after a period of success, contact your trading partner to confirm their AS2 URL has not changed. Subscribe to their partner communications if available. ### Message Size Limits Some AS2 servers have maximum message size limits. Large EDI files (batch 856 ASNs with hundreds of shipments) can exceed these limits. **Fix**: Check with your trading partner on size limits. If needed, split large batches into multiple smaller transmissions. If you need to troubleshoot the EDI content itself (as opposed to the AS2 connection), use our [free EDI Inspector](/edi-inspector) to parse and validate your EDI files before sending them. ## Connecting AS2 to Your ERP Getting EDI documents delivered via AS2 is only half the problem. Those documents need to flow into your ERP, warehouse management system, or order processing workflow. Most AS2 servers drop received files into a local directory, and you need middleware or an integration layer to pick them up, transform them, and load them into your business systems. This is where [ERP integration](/erp-integration) tools come in. An automated pipeline watches for incoming EDI files, maps them to your ERP's data format, validates the contents, and creates orders, invoices, or shipment records without manual data entry. ## FAQ ### What is AS2 in EDI? AS2 (Applicability Statement 2) is a protocol for sending EDI documents securely over the internet using HTTPS. It is a transport method, not a document format. AS2 handles encryption, digital signing, and delivery receipts (MDNs), while the EDI data inside (X12, [EDIFACT](/guides/edi/edifact) or [TRADACOMS](/guides/edi/tradacoms)) follows its own standard. ### Is AS2 the same as EDI? No. EDI is the data format (X12 850, 856, 810, etc.), and AS2 is one of several ways to transmit EDI files between trading partners. You can send EDI over AS2, SFTP, VAN, or other protocols. AS2 is specifically the transport layer. ### Why does Walmart require AS2? Walmart adopted AS2 to reduce VAN costs and improve security. AS2 provides direct, encrypted connections with cryptographic delivery receipts. At Walmart's scale (tens of thousands of suppliers, millions of daily transactions), eliminating per-document VAN fees saves significant money. Walmart was one of the earliest large-scale AS2 adopters and helped drive industry-wide adoption. ### Can I use SFTP instead of AS2? It depends on your trading partner's requirements. If a retailer mandates AS2, you need AS2 (or a VAN/service provider that handles AS2 on your behalf). If your partner accepts SFTP, it is simpler to set up but lacks AS2's built-in delivery receipts and non-repudiation. For partners that accept either, your choice depends on volume, compliance needs, and technical resources. ### How much does an AS2 connection cost? The AS2 protocol itself is free (it is an open standard). Costs come from the software or service you use to run it. Open-source AS2 servers like mendelson AS2 are free but require self-hosting and maintenance. Commercial AS2 solutions or managed EDI platforms typically charge monthly fees ranging from $50 to $500+, depending on features and volume. The key savings come from eliminating per-document VAN fees, which can run $0.05 to $1+ per transaction. --- # Automated Order Processing: The Complete Guide Source: https://ordersync.io/blog/automated-order-processing > Learn how to implement automated order processing, from choosing the right approach to measuring ROI, with real examples from B2B distribution. Automated order processing uses software to receive, validate, and enter purchase orders into your ERP without human data entry. It handles orders arriving as EDI files, PDF attachments, or emails and outputs clean ERP records. B2B distributors typically cut order cycle time by 70-80% and reduce entry errors to near zero. **Automated order processing uses AI document extraction and EDI parsing to turn purchase orders from any format (EDI 850, PDF, email, Excel, fax) into clean ERP records without manual re-keying, cutting per-order cost from $6+ to under $2 and error rates by 75-85%.** Most B2B distributors solved EDI a decade ago. The hard problem now is the 60-70% of order volume that arrives as PDFs, emails, and spreadsheets, which is where modern order automation differentiates. Most B2B distributors process orders from five or more sources: EDI feeds, emailed PDFs, web portals, phone calls, even faxes. Each one gets re-keyed into the ERP by hand. That is not a workflow. It is a bottleneck with a salary attached to it. An automated order processing system replaces that manual re-keying with software that reads, validates, and syncs orders directly to your ERP. This guide covers how to pick the right level of automation, what your tech stack needs to include, how to evaluate order automation software, and how to phase the rollout so you see ROI within the first quarter. ## What Is Automated Order Processing? **Automated order processing is the use of software to receive, extract, validate, and route purchase orders into an ERP or order management system without manual data entry, handling format detection, field mapping, data validation, and exception flagging across EDI, PDF, email, and other order sources.** Automatic order processing applies whether the order arrives as an [EDI 850 purchase order](/guides/edi/850-purchase-order), a PDF attachment, a CSV export from a portal, or structured text in an email body. The point is the same: remove the person sitting between the inbox and the ERP. Automated order entry is different from order management. An [order management system](/order-management-systems) gives you visibility and control over orders after they enter your system. Order automation eliminates the manual work that happens before you even get to manage anything. You need both, but automation is what actually removes the labor cost. Key benchmarks on order processing costs: - [APQC Procure-to-Pay Benchmarks](https://www.apqc.org/resource-library/resource-collection/supply-chain-management-key-benchmarks) show organizations that automate order processing spend $2.00 or less per order, compared to $6.10 at median-performing companies still relying on manual entry - [Aberdeen Group research](https://www.aberdeen.com/) confirms that best-in-class companies achieve order accuracy above 99.5%, while average performers sit below 97%, a gap that translates directly into chargebacks, returns, and lost accounts ## The Hidden Cost of Manual Order Entry Most operations managers know manual entry is slow. What they underestimate is how much it actually costs once you trace the downstream effects. **Time per order:** Manual keying takes 10 to 15 minutes per order on average. For a team processing 100 orders per day at 12 minutes each, that is 20 hours of daily labor, roughly 2.5 FTEs. **Error rates:** Human data entry runs a 2 to 4% error rate on a good day. At 100 orders per day, that is 2 to 4 orders with wrong quantities, incorrect ship-to addresses, or mismatched SKUs. Each error triggers rework: correcting the order, updating the warehouse, contacting the customer, and sometimes issuing credits. **Downstream impact:** A keying mistake on a retailer PO can cascade into a short shipment, a compliance chargeback ($500 to $5,000 per incident), and a damaged vendor scorecard. [Aberdeen Group research](https://www.aberdeen.com/) found that best-in-class companies achieve order accuracy above 99.5%, while average performers sit below 97%. That 2.5-point gap translates directly into chargebacks, returns, and lost accounts. The real cost of manual order entry is not the labor. It is the errors, the rework, the slow fulfillment, and the ceiling it puts on your growth. You cannot scale to 500 orders a day by hiring five more people to type. ## Levels of Order Automation Not every company jumps straight to full automation. Here is what each level looks like in practice, what it requires, and where it breaks down. | Level | How It Works | Human Role | Avg. Time per Order | Error Rate | Best For | |-------|-------------|-----------|--------------------:|----------:|----------| | **Manual** | Staff re-keys every order into the ERP from paper, PDF, or email | Every order touched | 10-15 min | 1-5% | Fewer than 20 orders/day | | **Semi-automated** | EDI orders auto-process; PDFs and emails still keyed manually | Review and approve | 3-8 min | 0.5-2% | Companies with partial EDI adoption | | **Fully automated** | All formats parsed and synced automatically; exceptions flagged | Exception handling only | Under 30 sec | Less than 0.3% | 100+ orders/day across mixed formats | | **Autonomous (AI Agent)** | [AI order agents](/ai-order-automation) handle extraction, validation, exception resolution, and supplier communication | Strategic oversight | Under 15 sec | Less than 0.1% | High volume with many non-standard formats | Most companies reading this are somewhere between manual and semi-automated. The jump from semi-automated to fully automated delivers the biggest ROI, because that is where you stop paying people to approve orders that were already clean. ## Types of Order Entry Automation Not all automation approaches are equal. Your best fit depends on your order mix, budget, and existing systems. For named vendors in each category, see our [order entry software for distributors](/blog/order-entry-software) comparison. | Approach | How It Works | Best For | Limitations | |---|---|---|---| | **EDI-based** | Structured electronic data exchange with trading partners | High-volume retail/wholesale with EDI-mandating customers | Only covers EDI orders; non-EDI channels stay manual | | **AI extraction** | Machine learning reads and extracts data from PDFs, emails, images | Mixed-format environments with many non-EDI customers | Requires training period; confidence scoring needed | | **RPA/bots** | Software bots mimic human clicks in your existing systems | Legacy ERP with no API; short-term bridge | Brittle; breaks when UI changes; does not scale well | | **Customer portals** | Buyers enter orders directly into your system | Repeat customers with predictable order patterns | Requires customer adoption; not all buyers will use it | | **Hybrid (recommended)** | EDI for structured partners, AI for documents, API for portals | Operations with diverse order sources and formats | Higher initial setup; biggest long-term payoff | Most B2B distributors and manufacturers end up with a hybrid approach. Your top 20 accounts might send EDI. The next 50 send PDFs. The long tail emails spreadsheets. A [multi-format order processing](/multi-format-orders) system handles all of these through one pipeline, so your team works from a single dashboard instead of switching between tools. ## Building Your Automated Order Processing System A working automation stack has four layers. Skip one and you will end up with a system that still requires manual intervention on a large percentage of orders. ### 1. Order Ingestion This is the front door. Your system needs to receive orders from every channel your customers use: - **EDI (AS2 or VAN):** Direct electronic exchange with retailers and large buyers. This is the most structured format and the easiest to automate. If you trade with major retailers, check our [EDI implementation guide](/blog/essential-guide-to-edi) for setup details. - **Email:** PDF attachments, Excel files, or order details in the email body. A surprising number of mid-market buyers still send orders this way. - **Web portals and CSV exports:** Some customers use their own procurement portals. You download CSVs or receive webhook notifications. - **API:** Modern B2B buyers increasingly send orders via REST API calls. Automating intake eliminates 15 to 30 minutes per day of inbox management for most teams and prevents orders from getting lost in shared inboxes. ### 2. Data Extraction Once the order is received, the system needs to pull out structured data: customer ID, PO number, line items, quantities, unit prices, ship-to addresses, and requested delivery dates. For EDI, this is straightforward parsing. The data is already structured in defined segments. Use our [free EDI Inspector](/edi-inspector) to see how EDI data maps to human-readable fields, or the [EDI translator](/edi-translator) to read a whole order in plain English. For PDFs and emails, extraction is harder. Template-based systems work if your customers all use the same PO format. They fail when you onboard a new customer or a buyer changes their template. [AI-powered order automation](/ai-order-automation) handles this better because it learns document structure rather than relying on fixed templates. This is the most expensive manual task in order processing. Your team spends 10 to 15 minutes per order re-keying line items, quantities, prices, and ship-to addresses. AI extraction cuts per-order processing time from 12 minutes to under 30 seconds for clean orders. ### 3. Validation and Matching Raw extracted data is not enough. The system needs to validate every field against your master data: - **Duplicate detection:** Catch duplicate PO numbers, even across different channels - **Product matching:** Does the SKU or UPC on the order exist in your catalog? Is it active? - **Price validation:** Does the unit price match the customer's contracted pricing? - **Quantity checks:** Is the quantity reasonable? Within min/max order thresholds? - **Customer verification:** Is this a known customer? Are their payment terms current? - **Address validation:** Ship-to address verification against your customer master - **Inventory availability:** Can you fulfill the order from current stock? Clean orders pass through automatically. Orders with exceptions get flagged for review, with the specific issue highlighted so your team can resolve it in seconds, not minutes. The best platforms quarantine invalid orders in an exception queue rather than rejecting them outright. Your team reviews and resolves exceptions from a dashboard, fixing the issue once instead of chasing it through the ERP. ### 4. ERP Sync and Acknowledgment **ERP sync**: The final step pushes validated orders directly into your ERP as sales orders, triggering pick tickets, inventory allocations, and compliance acknowledgments without any manual re-entry step. **EDI acknowledgment**: For EDI trading partners, sending a 997 Functional Acknowledgment and an 855 PO Acknowledgment is a compliance requirement, and automating these responses prevents chargebacks that typically run $500 to $5,000 per incident. The final step pushes validated orders into your ERP as sales orders. This is where [ERP integration](/erp-integration) quality matters most. A good integration: - Creates the sales order with all line items, pricing, and shipping details - Generates and sends an order acknowledgment (EDI 855 or email confirmation) - Updates inventory allocations in real time - Triggers downstream workflows like pick tickets and shipping labels For EDI trading partners, sending a 997 Functional Acknowledgment and an [855 PO Acknowledgment](/guides/edi/850-purchase-order) is a compliance requirement, not optional. Automating acknowledgments prevents compliance chargebacks that typically run $500 to $5,000 per incident. For non-EDI customers, a confirmation email closes the loop. If the sync fails, the system should retry and alert your team, not silently drop the order. ## Implementation Roadmap Trying to automate everything at once is how implementation projects stall out. A phased approach gets you producing ROI while you are still building toward full automation. ### Phase 1: Automate EDI Orders (Weeks 1-4) Start with EDI because it is the most structured format and the highest-volume channel for most B2B suppliers. Connect your EDI feed to your [order processing automation](/order-processing-automation) platform, map your trading partner requirements, and set up automatic 997 functional acknowledgments. **Target:** 100% of EDI orders processing without manual intervention. This alone can eliminate 40-60% of your manual data entry, depending on your order mix. ### Phase 2: Add PDF Order Processing (Weeks 5-8) PDF purchase orders are the second-largest volume channel for most distributors. Configure your extraction engine to handle your top 10 customers' PO formats. With AI-based extraction, the system learns each format after processing a handful of sample orders. **Target:** 80% of PDF orders auto-processing. The remaining 20% will be edge cases and new formats that need initial training. ### Phase 3: Add Email and Remaining Formats (Weeks 9-12) Bring in email orders, CSV exports, and any remaining manual channels. Set up email monitoring on your orders inbox so inbound POs are automatically detected, extracted, and routed into the same validation pipeline. **Target:** 90%+ of all orders across all formats processing automatically. Your team shifts from data entry to exception handling. ### Phase 4: Run in Parallel and Optimize (Ongoing) For each new channel, start with your automated system running alongside manual entry for two to four weeks. Compare outputs. Tune extraction accuracy and validation rules. Once you are confident in the results, cut over. Review exception reports monthly. Each recurring exception is an opportunity to add a validation rule or extraction improvement that pushes your automation rate higher. Most mature implementations reach 95-98% straight-through processing within six months. ## ROI Calculation Here is what the math looks like for a distributor processing 200 orders per day across mixed formats. ### Before Automation | Metric | Value | |--------|------:| | Orders per day | 200 | | Avg. processing time (manual) | 12 min | | Total daily processing hours | 40 hrs | | FTEs dedicated to order entry | 5 | | Avg. annual cost per FTE (loaded) | $55,000 | | Annual order entry labor cost | $275,000 | | Error rate | 2.5% | | Orders with errors per day | 5 | | Avg. cost per error (rework, chargebacks, returns) | $75 | | Annual error cost | $93,750 | | **Total annual cost** | **$368,750** | ### After Automation | Metric | Value | |--------|------:| | Orders auto-processed (95%) | 190 | | Orders needing review (5%) | 10 | | Avg. review time per exception | 3 min | | Total daily processing hours | 0.5 hrs | | FTEs needed for exceptions | 0.5 | | Annual labor cost | $27,500 | | Error rate (post-automation) | 0.2% | | Annual error cost | $7,500 | | Software cost (annual) | $36,000 | | **Total annual cost** | **$71,000** | **Annual savings: $297,750.** Payback period: under 60 days. Those four and a half FTEs do not disappear. They move to higher-value work: managing customer relationships, handling complex orders that actually need human judgment, and resolving the exceptions your automation system flags. According to McKinsey research on automation in supply chain operations, companies that redeploy freed capacity into customer-facing roles see a 15-25% improvement in customer satisfaction scores ([McKinsey, "Supply Chain 4.0"](https://www.mckinsey.com/capabilities/operations/our-insights/supply-chain-40--the-next-generation-digital-supply-chain)). ### ROI by Company Size The ROI of order automation depends on your starting point. Here are three scenarios based on common patterns. **Small distributor (75 orders/day, fully manual):** 2 FTEs redeployed ($100K saved), error reduction saves another $25K-$50K. Platform cost of $6K-$14K/year. Net positive within 2-3 months. **Mid-size manufacturer (350 orders/day, partial EDI):** EDI handles 200 orders automatically, but 150 daily PDF and email orders are still manual. Adding AI extraction for non-EDI orders frees 2 FTEs ($100K) and reduces rework costs by $30K-$60K. Platform cost of $12K-$30K/year. Net positive within 3-4 months. **Growing brand scaling from 50 to 500 orders/day:** Without automation, scaling would require 8-10 people for order entry plus EDI infrastructure, costing $400K-$600K/year in additional headcount. With automation, 2-3 people manage exceptions. Annual savings vs. scaling manually: $300K-$500K. ### Impact Benchmarks | Metric | Before (Manual) | After (Automated) | Improvement | |---|---|---|---| | **Orders processed per hour** | 4 to 6 | 50+ (automated) | 8 to 12x faster | | **Data entry error rate** | 2 to 4% | Less than 0.5% | 75 to 85% reduction | | **Cost per order** | $4.50 to $8.00 | $0.50 to $1.50 | 70 to 85% reduction | | **Order-to-fulfillment time** | 4 to 8 hours | Under 1 hour | 75 to 90% faster | | **FTEs on data entry** | 2 to 4 | 0.5 to 1 (exceptions only) | 50 to 75% reallocation | | **Same-day ship rate** | 72% | 94% | 22-point increase | | **Customer satisfaction (OTIF)** | 92 to 95% | 98 to 99%+ | Fewer errors, faster delivery | These numbers align with [Gartner's research on order management automation](https://www.gartner.com/en/supply-chain/topics/supply-chain-management), which found that organizations automating order capture reduce processing costs by 60 to 80% while improving accuracy. Aberdeen Group research confirms that companies with automated order processing achieve 25% faster order-to-ship cycle times on average. ## Choosing the Right Order Automation Software When evaluating an automated order processing system, these six criteria separate platforms that actually work from those that look good in a demo. ### 1. Multi-Format Order Intake This is the first filter. If 100% of your orders are EDI, a pure EDI platform works. But most B2B operations deal with a mix. Evaluate support for: - **EDI (X12):** [850, 855, 810, 856, 997](/blog/essential-guide-to-edi) transaction sets. Verify support for your specific retailers' implementation guides. - **PDF purchase orders:** Both structured (system-generated) and scanned/image-based PDFs. How does the platform handle layout variations across different customers? - **CSV/Excel:** Spreadsheet orders from marketplaces, buying groups, or smaller accounts. Can you define column mappings per customer? - **Email:** Orders embedded in email body text or as attachments. Does the platform monitor an inbox automatically? Platforms that handle [multiple formats in one workflow](/multi-format-orders) eliminate the need for separate tools and the data silos that come with them. ### 2. Data Extraction Quality This separates basic tools from genuinely useful ones. Template-based extraction requires you to define zones on each PDF layout. When a customer changes their PO format, you reconfigure the template. AI-powered extraction learns document structures and adapts to layout variations without manual template updates. Ask for a proof-of-concept with your real orders. Vendor demos use clean, well-formatted samples. Your orders include handwritten notes, inconsistent column headers, and merged cells. Test with your messy data, not theirs. ### 3. Validation Depth Good order automation software catches problems before bad data hits your ERP. Check for duplicate detection, SKU verification against your catalog, quantity and price checks against customer-specific price lists, address validation, and business rules like minimum order values and credit hold checks. ### 4. ERP Integration Depth A CSV export is not integration. You need real-time, bidirectional sync that creates sales orders, updates inventory, and pulls back fulfillment status. Verify that your specific ERP version is supported, not just the product family. **Shallow integration** means the platform generates a file you import. **API-based integration** pushes orders directly. **Deep two-way sync** reads from and writes to your ERP, pulling product catalogs, pricing, and inventory to fuel validation. Questions to ask: Does the integration support your specific ERP and version? Is it real-time or batch? Can it pull product and pricing data for validation? What happens when the ERP is down? ### 5. EDI Compliance If you sell to major retailers, EDI compliance is non-negotiable. Verify transaction type coverage (850, 810, 856, 997, 855 at minimum), transmission methods (AS2, SFTP, or VAN), retailer-specific compliance maps, and testing/certification support. ### 6. Exception Handling UX No automation platform processes 100% of orders without human review. The question is what happens when an order cannot be processed automatically. Good platforms route exceptions to a review queue with clear context: the original document, what was extracted, what failed validation, and a suggested fix. Bad platforms send an email that says "Order failed" and leave you to figure out why. ### Red Flags When Evaluating Vendors - **"We support all ERPs"** without naming your specific system and version - **No proof-of-concept option.** If a vendor will not process a sample of your actual orders, that is a signal - **Rigid template-only extraction.** Adding a new customer's PDF format should not require professional services every time - **EDI-only when you have mixed formats.** You will still need a separate tool for PDF and email orders - **No validation layer.** A platform that pushes every order into your ERP without checking for errors is just moving the problem downstream - **Vague pricing.** Understand per-order, per-document, and flat-fee models. Ask for a cost projection at 2x and 5x your current volume According to [Gartner's research on supply chain technology](https://www.gartner.com/en/supply-chain/topics/supply-chain-management), failed implementations most commonly stem from poor integration with existing systems and underestimating data quality challenges, not from choosing the wrong feature set. ## Order Automation Software: Platform Comparison (2026) The order automation software market has matured fast. Here is how the major platforms compare for B2B operations. | Platform | Best For | AI Extraction | EDI Native | Typical Tier | |----------|----------|---------------|------------|-------------| | **Esker** | Large enterprise O2C | Yes | Via partners | Enterprise | | **Conexiom** | High-volume PDF orders | Yes (ML + GenAI) | No | Enterprise | | **Workist** | AI-first order entry | Yes (deep learning) | Limited | Mid-market | | **OrderSync** | Multi-format + EDI | Yes | Yes (built-in) | Mid-market | | **Rossum** | Document AI processing | Yes (LLM-based) | No | Mid-market | | **Hyperfox** | Multi-channel SMB | Limited | Partial | SMB | Pricing varies widely by deployment size, order volume, and integration scope. Request current quotes from each vendor for your specific volume and ERP rather than relying on list prices. **If you process mostly EDI orders:** Most tools on this list (Conexiom, Workist, Rossum) do not handle EDI natively. You need a platform with built-in EDI support or a dedicated VAN. **If you process mostly PDF and email orders:** Conexiom, Workist, and Rossum are purpose-built for this. [Conexiom](/ordersync-vs/conexiom) is strongest at high volume with consistent formats. Workist is the best no-template AI option. **If you have a mixed format environment:** This is where many mid-market distributors land, with 30% EDI, 50% PDF/email, and 20% CSV. Running separate tools for each format creates operational silos. Look for a single-pipeline platform that handles all formats. The order automation category is converging around AI extraction combined with native format support. Tools that handle both structured (EDI, XML) and unstructured (PDF, email) orders in a single pipeline are out-performing single-format point solutions in mid-market B2B, because most operations process a mix of channels and don't want to maintain separate tools for each one. ## How to Run an Effective Evaluation ### Step 1: Document Your Order Sources List every way orders come into your business. For each source, note the format, volume, customers using that format, current processing method and time, and error frequency. This becomes your requirements document. ### Step 2: Define Integration Requirements Specify your ERP (name, version, cloud or on-premise), the fields that need to sync, and whether you need one-way or two-way integration. ### Step 3: Request a Proof-of-Concept Give 2-3 finalist vendors a sample of your real orders, including the messy ones. Ask them to demonstrate extraction, validation, and ERP mapping on your data. Compare accuracy, exception handling, and the user experience for resolving flagged orders. ### Step 4: Evaluate Total Cost of Ownership Factor in implementation costs, cost to add each new trading partner, per-transaction fees at your projected volume, internal time for configuration, and VAN costs if the platform does not include EDI transmission. ### Step 5: Check References in Your Industry Ask for references from customers with similar order volume, format mix, and ERP. A platform that works for a 50-order-per-day apparel brand may struggle with a 500-order-per-day food distributor with strict lot tracking requirements. ## Frequently Asked Questions ### What is automated order processing? Automated order processing is the use of technology (EDI processing, AI document extraction, or API integrations) to capture order data from incoming documents and route it into your ERP or order management system without manual re-keying. The system reads the source document, extracts relevant fields, validates the data against your business rules, and creates a sales order automatically. ### How long does it take to implement automated order processing? Most implementations go live within 4-6 weeks for the first channel (usually EDI). Full multi-format automation, covering EDI, PDF, email, and CSV, takes 8-12 weeks. Cloud-native tools with API-based ERP integration can go live in 2-4 weeks for basic setups. Template-based tools take longer because each customer PO format needs individual configuration. The biggest variable is your ERP integration: modern cloud ERPs with REST APIs integrate faster than legacy on-premise systems. ### What is the difference between automated order processing and order management? Order management is the broader discipline of tracking, routing, and fulfilling orders across channels. Automated order processing eliminates the manual data entry and validation steps within that process. An [order management system](/order-management-systems) provides the dashboard and workflow. Automation fills it with clean data. You need both, but automation is what actually removes the labor cost. ### Can automated order processing handle custom or non-standard PO formats? Yes, if the system uses AI-based extraction rather than rigid templates. Template systems break when a customer changes their PO layout. AI-powered systems read the document structure and adapt. The key is confidence scoring: the system flags low-confidence extractions for human review rather than guessing. OrderSync's [AI document extraction](/ai-order-automation) handles non-standard formats without manual template configuration. ### What kind of error rate can I expect after automation? Companies using fully automated order processing with validation rules typically see error rates drop from 1-5% (manual) to 0.1-0.3% (automated). The remaining errors are usually edge cases like discontinued products or pricing discrepancies that the system correctly flags for human review. ### What touchless order rate should I target? Start with 60% as your first milestone. That means 6 out of 10 orders flow from receipt to ERP without any human touch. Mature operations hit 80% to 90%. The remaining orders that require intervention are genuine exceptions: pricing disputes, discontinued items, new customers without catalog mappings. Getting from 60% to 85% is usually a matter of expanding your validation rules and customer catalog coverage over 3 to 6 months. ### How much does order automation software cost? Pricing ranges widely. SMB tools start around $5K/year. Mid-market platforms run $12K-$25K/year. Enterprise suites typically require $40K-$100K+ annually. The ROI calculation centers on labor savings: if you have two full-time order entry staff at $50K each, even a $25K/year platform pays for itself in under six months. For most mid-market B2B operations processing 100 or more orders per day, automated order processing software pays for itself within 3 to 6 months. ### What is the difference between automated order entry and EDI? EDI (Electronic Data Interchange) is one method of automated order entry, specifically for trading partners who exchange structured electronic documents like the [EDI 850 purchase order](/guides/edi/850-purchase-order). Automated order entry is the broader category that includes EDI, AI extraction from PDFs and emails, API connections to portals, and RPA bots. Most B2B operations need a combination of these approaches to cover all their order sources. ### Do I need to replace my ERP to use an automated order processing system? No. Modern order automation platforms sit between your order sources and your ERP, acting as a processing layer. They connect to your existing ERP through APIs, direct database connections, or file-based integration. OrderSync supports [direct ERP integration](/erp-integration) with major platforms including [NetSuite](/integrations/netsuite), [SAP Business One](/integrations/sap-business-one), Microsoft Dynamics, and [QuickBooks](/integrations/quickbooks) Enterprise. ### Is order automation only for large enterprises? No. The economics work for any operation processing more than 30 to 40 orders per day across mixed formats. At that volume, manual entry consumes at least one full-time role. Smaller operations often see the biggest percentage gains because they are starting from zero automation and every manual step is a bottleneck. Cloud-based platforms make [order processing automation](/order-processing-automation) accessible without the infrastructure investment that enterprise tools require. --- # Best EDI Software 2026: 8 Tools and Pricing Source: https://ordersync.io/blog/best-edi-software-2026 > Compare the best EDI software for 2026: SPS Commerce, TrueCommerce, Cleo, Orderful, and OrderSync. Features, pricing, and which fits your business. The best EDI software for 2026 depends on your size and partner mix: SPS Commerce dominates retail compliance, TrueCommerce fits mid-market wholesalers, Cleo handles complex enterprise scenarios, and AI-native platforms like OrderSync cover EDI plus non-EDI orders (PDFs, emails, faxes) in one pipeline. Pick based on partner requirements, ERP connectors, and format coverage — not just EDI throughput. This guide compares the leading platforms honestly, including pricing, format support, and who each one actually fits. ## What Is EDI Software? **EDI software is a platform that translates, transmits, and manages Electronic Data Interchange documents between trading partners.** It converts business documents like purchase orders (EDI 850), invoices (EDI 810), and advance ship notices (EDI 856) into standardized X12 or EDIFACT formats that retailers and distributors require. Without EDI software, you cannot trade electronically with most major retailers, including Walmart, Target, Costco, and Amazon Vendor Central. At a minimum, any EDI solution handles three things: 1. **Translation**: Converting your internal data (from an ERP, spreadsheet, or order system) into EDI-formatted segments and back again 2. **Communication**: Sending and receiving EDI documents through protocols like AS2, SFTP, or VAN connections 3. **Compliance**: Making sure your documents meet each trading partner's specific requirements for segment structure, data content, and acknowledgment timing The EDI software market was valued at $2.2 billion in 2024, according to [Grand View Research](https://www.grandviewresearch.com/industry-analysis/electronic-data-interchange-edi-software-market-report), and continues to grow as more retailers mandate electronic trading. But the market has shifted. Traditional VAN-based platforms now compete with API-first tools, cloud-native solutions, and platforms that handle more than just EDI. Picking the right one depends on your trading partner requirements, order volume, budget, and the formats you actually receive orders in. If you are new to EDI, [our essential guide to EDI](/blog/essential-guide-to-edi) covers the fundamentals before you start comparing vendors. The authoritative EDI standards sources vendors build against: - [ASC X12](https://x12.org/products/transaction-sets) publishes the transaction set definitions (850, 810, 856, 997) that every North American EDI software must support to work with major retailers - [GS1 US](https://www.gs1us.org/industries-and-insights/standards) governs the GTIN and barcode standards embedded in EDI line items and shipping labels that retailers validate on receipt ## Five Categories of EDI Software Not all EDI platforms work the same way. Before you compare vendors, understand which category fits your operations. | Category | How It Works | Best For | Typical Cost Range | |---|---|---|---| | **On-Premise EDI** | Software installed on your servers. You manage translation, communication, and compliance. | Large enterprises with dedicated IT staff and hundreds of trading partners | $15,000-$75,000 upfront + $1,000-$5,000/mo maintenance | | **VAN-Based EDI** | A Value Added Network acts as a middleman, routing documents between you and your trading partners. | Companies with many trading partners using different communication protocols | $300-$2,000/mo + per-document fees ($0.05-$1.00 each) | | **Cloud EDI Platforms** | Web-based software that handles translation, communication, and compliance as a service. | Mid-market companies wanting managed EDI without infrastructure overhead | $500-$3,000/mo, usually flat-rate | | **API-First Platforms** | Modern platforms that connect to trading partners through REST APIs, with EDI handled as one of several supported formats. | Companies with dev teams who want to treat EDI like any other API integration | $500-$4,000/mo, often volume-based | | **AI-Powered Multi-Format** | Platforms that use machine learning to process EDI alongside PDFs, emails, and CSVs through a single pipeline. | Growing companies that handle mixed-format orders and want less mapping overhead | $500-$2,500/mo, typically flat-rate | Each category makes tradeoffs. On-premise gives you full control but demands staff to maintain it. VAN-based EDI was the industry standard for decades but adds a per-document cost layer that grows with volume. Cloud platforms reduce infrastructure burden. API-first platforms appeal to development teams. And AI-powered platforms (like OrderSync) go further by treating EDI as one input format alongside PDFs, CSVs, and emails rather than requiring a separate system for each. For a deeper look at how API-based approaches compare to traditional EDI, see our [EDI vs API comparison](/blog/edi-vs-api). ## Quick Comparison: Best EDI Software for 2026 Here is a side-by-side look at the top EDI platforms, their strengths, and what they cost. | Platform | Best For | Deployment | Pricing Range | Multi-Format Support | API Access | |----------|----------|------------|---------------|----------------------|------------| | **[SPS Commerce](/ordersync-vs/sps-commerce)** | Retail supplier networks | Cloud | $2,000-$10,000+/mo | EDI only | Limited | | **[TrueCommerce](/ordersync-vs/truecommerce)** | SMBs needing managed services | Cloud / Hybrid | $500-$3,000/mo | EDI + some integrations | Yes | | **[Cleo](/ordersync-vs/cleo)** | Mid-market B2B integration | Cloud / On-prem | $2,000-$8,000/mo | EDI + flat files | Yes | | **[Orderful](/ordersync-vs/orderful)** | API-first EDI | Cloud | $1,000-$5,000/mo | EDI only | Yes (core feature) | | **OrderSync** | Mixed-format order processing | Cloud | $500-$2,500/mo | EDI + PDF + email + CSV | Yes | | **IBM Sterling** | Enterprise / Fortune 500 | Cloud / On-prem | Custom pricing | EDI + B2B integration | Yes | | **QAD (DiCentral)** | Large enterprise supply chains | Cloud / On-prem | $3,000-$15,000+/mo | EDI + some flat files | Yes | | **B2BGateway** | eCommerce EDI integration | Cloud | $500-$2,000/mo | EDI only | Limited | Now let's look at the major platforms in detail. ## 1. SPS Commerce **Best for: Retail-focused suppliers who need the largest pre-built trading partner network.** SPS Commerce runs the biggest EDI network in retail, with connections to more than 115,000 retailers, grocers, and distributors according to their public filings. If your primary challenge is getting connected to major retail trading partners quickly, SPS has probably already mapped the requirements for your retailer. **Key strengths:** - Largest retail trading partner network in the industry - Pre-built connections to most major retailers reduce onboarding time - Full-service fulfillment EDI with compliance monitoring - Strong analytics and reporting tools **Limitations:** - Pricing scales steeply as you add trading partners or document volume - Focused exclusively on EDI; no support for PDF or email-based orders - Long-term contracts are common, and early termination fees apply - Some users report slow support response times during peak seasons **Pricing:** Starts around $2,000/month for basic plans, but most mid-size suppliers pay $4,000-$10,000/month depending on trading partner count and transaction volume. Per-document fees can add up quickly. According to [Gartner's Supply Chain Technology research](https://www.gartner.com/en/supply-chain/topics/supply-chain-management), total cost of ownership is the most overlooked factor when selecting B2B integration platforms. **Ideal customer:** Retail suppliers with 10+ EDI trading partners who receive orders exclusively through EDI and need a managed network with minimal technical involvement. ## 2. TrueCommerce **Best for: Small and mid-size businesses that want managed EDI services without hiring EDI staff.** TrueCommerce offers a blend of self-service tools and managed services. Their team handles the technical mapping and compliance work, which makes them popular with companies that don't have dedicated EDI personnel. They also offer eCommerce integrations with Shopify, WooCommerce, and major marketplace platforms. **Key strengths:** - Managed services model handles the technical complexity for you - Good selection of ERP connectors (QuickBooks, SAP Business One, Sage, [Acumatica](/integrations/acumatica)) - Unified Commerce platform includes storefront and marketplace features - Solid reputation for customer support responsiveness **Limitations:** - Managed services can mean slower turnaround when you need changes - Adding new trading partners requires their team's involvement - The platform interface feels dated compared to newer options - Per-transaction pricing model can become expensive at higher volumes **Pricing:** Typically $500-$3,000/month depending on the service tier and number of trading partners. Managed service plans cost more than self-service options but include compliance monitoring and partner onboarding. **Ideal customer:** SMBs with fewer than 15 trading partners who want someone else to handle the EDI mapping and compliance details, especially those already using QuickBooks or Sage ERPs. For more on EDI costs and options for smaller businesses, see our guide on [EDI for small business](/blog/essential-guide-to-edi). ## 3. Cleo **Best for: Mid-market companies with complex B2B integration needs beyond just EDI.** Cleo (formerly Cleo Integration Cloud) positions itself as an ecosystem integration platform. It handles EDI but also supports flat file formats, API integrations, and custom data transformations. If you need to connect multiple systems (ERP, WMS, TMS, eCommerce) alongside your EDI operations, Cleo's flexibility is a real advantage. **Key strengths:** - Strong data transformation engine for complex mapping requirements - Supports EDI, flat files, XML, JSON, and API-based integrations - Good visibility dashboards for monitoring integration health - Handles both cloud and on-premise deployment **Limitations:** - Steeper learning curve than simpler EDI-only platforms - Implementation can take 3-6 months for complex setups - Pricing is higher than most SMB-focused alternatives - You may need dedicated technical resources to manage it day-to-day **Pricing:** Typically $2,000-$8,000/month. Enterprise deployments with many integrations can go higher. Implementation fees are separate and can be substantial. **Ideal customer:** Mid-market companies ($50M-$500M revenue) with 20+ trading partners and complex integration requirements that extend beyond basic EDI document exchange. ## 4. Orderful **Best for: Companies that want a modern, API-first approach to EDI.** Orderful takes a different approach. Instead of the traditional VAN model, they built an API-native EDI platform. You send and receive EDI documents through REST APIs, which makes EDI feel more like a modern integration and less like a legacy protocol. Their network approach also eliminates some of the per-document VAN fees. **Key strengths:** - Clean, modern API makes EDI accessible to development teams - Network model can reduce per-transaction costs compared to VANs - Fast onboarding for companies with technical resources - Good documentation and developer experience **Limitations:** - Requires engineering resources to implement and maintain API integrations - Smaller trading partner network compared to SPS Commerce - Focused specifically on EDI; does not handle PDF or email orders - Newer company with a shorter track record than established providers **Pricing:** Ranges from $1,000-$5,000/month depending on volume and trading partner count. The API-first model can reduce some traditional VAN costs but requires developer time for implementation. **Ideal customer:** Companies with in-house development teams that want to treat EDI as a modern API integration rather than a legacy system. For a deeper look at how API approaches differ from traditional EDI, see our [EDI vs API comparison](/blog/edi-vs-api). ## 5. OrderSync **Best for: Businesses that receive orders in multiple formats (EDI, PDF, email, CSV) and want one system to handle all of them.** Here's the reality most EDI vendors don't talk about: many B2B suppliers don't receive 100% of their orders through EDI. You might have five retailers sending EDI 850s, another ten emailing PDF purchase orders, and a handful faxing spreadsheets. Traditional EDI software handles the first group and ignores the rest, leaving you to manually key in everything else. OrderSync was built around this problem. It processes EDI documents alongside PDFs, emails, CSV files, and even faxed orders through a single pipeline. AI-powered extraction reads incoming documents regardless of format, validates them against your product catalog and pricing rules, and syncs clean order data to your ERP. No VAN fees, no separate tools for non-EDI orders. **Key strengths:** - Handles EDI, PDF, email, CSV, and fax orders in one platform - [AI-powered order automation](/ai-order-automation) extracts data from unstructured documents without templates; independent 2025 benchmarks published on arXiv ([2510.15727](https://arxiv.org/abs/2510.15727)) show LLM-native extraction reaching 94% field accuracy vs 63% for OCR-based approaches - Direct [ERP integration](/erp-integration) with popular systems (QuickBooks, NetSuite, SAP Business One, and more) - Flat-rate pricing without VAN middleman costs - Free [EDI Inspector tool](/edi-inspector) for parsing and debugging EDI files **Limitations:** - Smaller EDI trading partner network than SPS Commerce - Less suited for enterprises with 100+ purely EDI-based trading partners - Newer platform with a shorter track record in the market **Pricing:** $500-$2,500/month. No VAN charges. Pricing scales with order volume, not by the number of trading partners. **Ideal customer:** B2B suppliers and distributors processing 50-500+ orders per day across mixed formats who want to stop managing separate systems for EDI and non-EDI orders. Especially strong for companies where less than half of incoming orders arrive via EDI. Learn more about handling [multi-format order processing](/multi-format-orders). ## 6. IBM Sterling **Best for: Fortune 500 companies with thousands of trading partners and global operations.** IBM Sterling (now part of IBM Supply Chain Intelligence Suite) is the traditional enterprise choice for large-scale B2B integration. It's common among Fortune 500 manufacturers, major retailers, and global logistics companies. The platform handles complex multi-tier supply chain scenarios across regions and standards. **Key strengths:** - Proven at massive scale with thousands of concurrent trading partners - Supports X12, [EDIFACT](/guides/edi/edifact), [TRADACOMS](/guides/edi/tradacoms), and proprietary formats - Deep visibility and analytics for supply chain operations - Broad ecosystem of implementation partners and consultants **Limitations:** - Significant implementation cost and timeline (6-12 months typical) - Requires dedicated technical staff or a consulting partner to manage - Overkill for small and mid-size businesses - Pricing is opaque and requires custom quotes **Pricing:** Custom enterprise pricing. Implementation fees routinely run six figures. Ongoing costs depend on volume, number of trading partners, and deployment model. **Ideal customer:** Large enterprises with 100+ trading partners across multiple countries that already have IT staff experienced with B2B integration platforms. ## 7. QAD (formerly DiCentral) **Best for: Large enterprises with high-volume, global EDI requirements.** QAD acquired DiCentral in 2021 and integrated it into their supply chain platform. The result is an enterprise-grade EDI and supply chain collaboration tool built for high-volume, multi-country operations. If you process thousands of EDI transactions daily across multiple regions and need EDIFACT support alongside X12, QAD has the scale. **Key strengths:** - Built for high-volume global EDI operations (X12, EDIFACT, TRADACOMS) - Strong supply chain visibility and analytics tools - Proven track record with automotive, manufacturing, and consumer products verticals - Supports complex multi-tier supply chain scenarios **Limitations:** - Significant implementation cost and timeline (6-12 months typical) - Overkill for small and mid-size businesses - Pricing is opaque and requires custom quotes - Platform complexity demands dedicated IT staff **Pricing:** Custom quotes starting around $3,000/month for smaller deployments, scaling to $15,000+/month for enterprise rollouts. Implementation fees can run six figures. **Ideal customer:** Enterprises with global operations, 50+ trading partners across multiple countries, and the IT staff to manage a complex platform. ## 8. B2BGateway **Best for: eCommerce businesses that need EDI connected to Shopify, Amazon, or BigCommerce.** B2BGateway specializes in connecting EDI to eCommerce platforms. If you sell through Shopify, BigCommerce, Amazon, or similar channels and your retail customers require EDI compliance, B2BGateway bridges the gap with pre-built connectors. **Key strengths:** - Pre-built EDI connectors for major eCommerce platforms - Fully managed service (they handle mapping and compliance) - Reasonable pricing for smaller businesses - Good fit for companies growing from eCommerce into wholesale/retail **Limitations:** - Focused narrowly on eCommerce-to-EDI use cases - Not built for complex B2B integration or multi-system environments - Limited analytics and reporting compared to larger platforms - May require additional tools as your EDI needs grow **Pricing:** Typically $500-$2,000/month depending on transaction volume and number of trading partners. Managed service model keeps setup costs lower. **Ideal customer:** eCommerce brands selling on Shopify or Amazon that are expanding into retail channels and need EDI compliance without rebuilding their tech stack. ## How to Choose the Right EDI Software There is no single "best" EDI platform. The right choice depends on your specific situation. Here are the decision criteria that matter most. ### Match the Solution Type to Your Operation Before comparing specific vendors, decide which category fits your business. **Transaction volume under 100 documents per month:** A web EDI portal or managed service gets you compliant with minimal cost. Manual entry is annoying but manageable at this volume. **100-500 documents per month:** You need automation. Cloud EDI or an AI-powered solution eliminates the manual bottleneck. At this volume, ASN errors alone cost $200–$500 per incident at most retailers — Walmart and [Kroger](/edi-compliance/kroger) both charge $500 per shipment for late or missing advance ship notices. One ASN error per week adds up to $10,000–$25,000 in annual chargebacks. See the [current chargeback amounts by retailer](/edi-chargebacks) for the full picture. **500+ documents per month:** Automated cloud or on-premise EDI is required. At this volume, you should also make sure orders flow directly from EDI into your fulfillment system without any manual steps. ### Start with Your Order Formats If every order you receive comes through EDI, a traditional EDI platform like SPS Commerce or Cleo makes sense. If you receive a mix of EDI, PDF, email, and spreadsheet orders, you need a platform that handles all of them, or you'll end up managing multiple systems and keying in non-EDI orders manually. ### Count Your Trading Partners Platforms like SPS Commerce charge by trading partner count. If you have 50+ active EDI trading partners, that model adds up fast. Flat-rate platforms become more cost-effective at higher partner counts. **1-3 trading partners:** Almost any solution type works. Keep it simple and cost-effective. **4-15 trading partners:** You need strong mapping tools and trading partner management. Each retailer has different requirements, and managing them manually gets chaotic fast. Check our [EDI implementation guide](/blog/essential-guide-to-edi) for planning multi-partner rollouts. **15+ trading partners:** Look for solutions with pre-built trading partner maps and a large existing network. Enterprise cloud platforms typically offer the broadest partner coverage. ### Evaluate Total Cost of Ownership Monthly subscription is just one piece. Add up these costs: - Per-document or per-transaction fees (common with VAN-based providers) - Implementation and onboarding fees - Mapping fees for new trading partners ($500-$10,000 per partner with legacy providers) - Staff time to manage the platform - Cost of a separate system for non-EDI orders - Support tier upgrades (priority support often costs 15-30% more) - VAN interconnect fees if your trading partner uses a different network According to [APQC's Open Standards Benchmarking](https://www.apqc.org/resource-library/resource-listing/total-cost-perform-procurement-process-group-purchase-order), purchase order processing costs range from $14 per order (best-quartile organizations) to $54 per order (worst quartile) — a 4x difference driven by automation level, not software brand. Companies at the high end of that range are typically running manual processes or fragmented point solutions where EDI, PDF, and email orders hit separate systems. Support responsiveness is a separate factor with real financial stakes: EDI compliance failures can halt shipments and trigger retailer chargebacks, making support SLA a business risk, not just a preference. ### Check ERP Compatibility Your EDI software needs to talk to your ERP. Check whether the platform offers a native connector for your system or requires middleware. Native connectors reduce setup time and ongoing maintenance. Most platforms support SAP, NetSuite, and QuickBooks, but connectors for less common ERPs vary. See our guide on [ERP integration](/erp-integration) for what to look for. Questions to ask: - Does the platform have a native connector for your ERP? - Is data exchange real-time, scheduled, or manual? - What happens when a document fails validation before reaching the ERP? - Can the platform handle order formats beyond EDI (PDF, email, CSV) through the same integration? ### Assess Your Technical Resources Some platforms (like Orderful) assume you have developers on staff. Others (like TrueCommerce) handle the technical work for you. Be honest about your team's capabilities. A cheaper self-service platform can cost more in the long run if you don't have the people to manage it. ## Cloud vs. On-Premise EDI: Which Fits? This is the most common decision point for companies evaluating EDI solutions. **Upfront investment:** On-premise EDI requires $15,000 to $75,000 in software licensing before you process a single document. Add server infrastructure, network configuration, and implementation consulting. Total first-year costs often exceed $100,000. Cloud EDI solutions typically charge a monthly subscription with no upfront license fee. First-year costs for a mid-market company usually fall between $6,000 and $36,000. **Ongoing maintenance:** With on-premise, your team handles software updates, security patches, server maintenance, and protocol upgrades. When AS2 certificate renewals come due or a trading partner changes their requirements, that's your IT team's responsibility. Cloud providers include maintenance in the subscription. Updates happen automatically. **Scalability:** Adding trading partners on-premise means new mapping configurations, communication setup, and testing, all handled internally. Cloud EDI solutions scale the infrastructure automatically. Adding a new trading partner is a configuration task, not a hardware decision. **Security:** On-premise gives you direct control over data storage, encryption, and access policies. For companies in regulated industries with strict data residency requirements, this matters. Reputable cloud EDI providers maintain SOC 2 compliance, encrypt data in transit and at rest, and handle protocol-level security. For most B2B companies, cloud security meets or exceeds what they could maintain internally. For most mid-market B2B companies processing 100 to 1,000 documents per day, cloud EDI solutions are the better fit. The [MHI Annual Industry Report](https://www.mhi.org/publications/report) confirms that cloud-based supply chain technology adoption among mid-market companies has grown steadily, with over 60% of respondents now using cloud solutions for B2B data exchange. ## Hidden Costs That Inflate Your EDI Budget The sticker price on an EDI software contract rarely tells the full story. According to [GS1 US](https://www.gs1us.org/upcs-barcodes-prefixes/how-to-use-your-upc-barcodes/share-information-electronically), many companies underestimate their total EDI spend because costs are spread across multiple line items. Here are the charges that catch buyers off guard. ### Per-Document and Per-Kilo-Character Fees VAN-based providers often charge per document transmitted, per kilo-character (KC) of data, or both. At low volume, this looks cheap. At scale, it adds up fast. A supplier sending 2,000 documents per month at $0.15 each is paying $300/month in transaction fees alone, on top of their base subscription. Some cloud platforms have eliminated per-document pricing entirely. Ask for a total cost projection at 2x and 5x your current volume before signing. ### Mapping and Onboarding Charges Adding a new trading partner often requires building a custom EDI map. Legacy providers charge $2,000-$10,000 per trading partner map, and the process can take 4-8 weeks. If you're planning to add three new retail customers this year, that's potentially $30,000 in mapping fees alone. Modern platforms with pre-built partner maps and configurable templates reduce this to days instead of weeks and hundreds instead of thousands. ### Testing and Certification Fees Most retailers require you to pass EDI testing before going live. Some EDI providers include testing in their setup fee. Others charge separately, typically $200 to $1,000 per trading partner per test cycle. Failed tests mean additional charges. You can test and validate EDI files anytime using our [free EDI Inspector](/edi-inspector), which parses X12 documents segment by segment and flags structural issues before you send them to a trading partner. ### VAN Interconnect Fees If your trading partner uses a different VAN than your provider, you may pay interconnect charges for routing documents between networks. These fees are typically $0.02-$0.10 per document but are rarely disclosed upfront. According to [TrueCommerce](https://www.truecommerce.com/resources), VAN interconnect complexity remains one of the most common sources of unexpected cost in traditional EDI setups. ### Support Tiers Many EDI vendors offer tiered support: email-only at the base level, phone support at a premium, and 24/7 support at an even higher tier. Since EDI issues can halt shipments and trigger compliance penalties, budget for the support level you actually need. When Walmart rejects your ASN on a Friday afternoon and your next shipment goes out Monday, you'll want priority support. ### Integration Costs Connecting your EDI solution to your ERP, WMS, or order management system may require middleware, custom API development, or consulting hours. Budget $2,000 to $20,000 for integration depending on your system complexity. ## Signs You've Outgrown Your Current EDI Setup Switching EDI software is painful, so companies often stick with an underperforming system longer than they should. These are the warning signs. **Manual workarounds are multiplying.** If your team is re-keying data from EDI documents into your ERP, exporting CSVs to bridge gaps, or manually checking compliance before transmission, your software isn't doing its job. **Chargebacks are increasing.** Rising chargeback rates often trace back to EDI compliance failures: late acknowledgments, missing ASN data, incorrect segment values. Walmart assesses $500 per shipment for late ASNs; Target updated their ASN violation fee to $0.75 per carton in May 2025; Amazon reduced their "Not Filled" penalty from 10% to 5% of COGS in July 2025. If chargebacks are climbing and your EDI provider can't explain why, the platform may not be keeping up with retailer spec changes. The [EDI chargeback database](/edi-chargebacks) tracks current penalty amounts across 11 retailers. **New trading partners take months to onboard.** Adding a retailer should take days to a few weeks, not months. If your provider quotes 8-12 weeks for a new partner map, their process is stuck in a legacy model. **You're running parallel systems.** Some companies end up with one system for EDI, another for PDF orders, and a third for email orders. That fragmentation creates data silos and extra manual work. A modern platform handles multiple order formats through a single pipeline. For more on how that works for smaller operations, see our guide to [EDI for small business](/blog/essential-guide-to-edi). **Your costs scale linearly with volume.** Per-document pricing means every new order costs more money. Flat-rate models let you grow without proportional cost increases. ## How to Run an EDI Software Evaluation A structured evaluation saves time and reduces the chance of a costly mistake. Here's a practical five-step approach. ### Step 1: Document Your Requirements Before contacting vendors, write down: - Your current trading partners and the EDI documents you exchange with each - Your ERP system and how orders currently flow into it - Your monthly document volume (and projected volume in 12-24 months) - Any non-EDI order formats you also need to handle (PDF, CSV, email) - Your team's technical capacity for managing integrations ### Step 2: Request Specific Demos Don't accept a generic product demo. Ask each vendor to demonstrate: - Receiving an 850 purchase order from one of your actual trading partners - Sending an 856 ASN with carton-level detail - Handling a document that fails validation (what does the error workflow look like?) - The trading partner onboarding process from start to finish ### Step 3: Get Total Cost Projections Request pricing at your current volume, at 2x, and at 5x. Include all fees: base subscription, per-document charges, VAN fees, mapping costs, support tiers, and any implementation or training charges. Compare the three-year total cost of ownership, not just the monthly sticker price. ### Step 4: Ask the Right Questions Use this checklist during vendor calls. These questions surface the real differences that marketing materials won't tell you. **Implementation:** - How long does a typical implementation take from contract to first live transaction? - Do you handle trading partner testing, or is that my responsibility? **Technical:** - Which EDI standards do you support (ANSI X12, EDIFACT, TRADACOMS)? - How do you connect to my ERP? Native connector, flat file exchange, or API? **Operations:** - What are your SLA response times for production issues? - Do I get a dedicated account manager or submit tickets into a general queue? **Pricing:** - What's the total monthly cost at my current volume, including all fees? - What's the minimum contract term? Is there an early termination penalty? **Compliance:** - When a trading partner changes their EDI requirements, how quickly do you update mappings? - Are compliance updates included in my subscription or billed as professional services? The [GS1 US standards body](https://www.gs1us.org/upcs-barcodes-prefixes/how-to-use-your-upc-barcodes/share-information-electronically) maintains current EDI implementation guidelines that can help you verify whether a provider's compliance claims hold up. ### Step 5: Test Before You Commit Any credible EDI vendor will let you test document exchange with at least one trading partner before you sign a long-term contract. If they won't, that's a red flag. For a complete walkthrough of the setup process, our [EDI implementation guide](/blog/essential-guide-to-edi) covers each phase from planning through go-live. ## EDI Software Pricing by Tier If you just need the short version of EDI software pricing, here is the market in one table: | Tier | Monthly Cost | What You Get | Typical Buyer | |------|-------------|--------------|---------------| | Web EDI portal | $50-$300 | Browser forms, manual keying, per-document fees | Suppliers with 1-2 trading partners, under 50 documents/month | | SMB cloud EDI | $500-$3,000 | Hosted translation, partner maps, compliance monitoring | Growing suppliers with 3-15 trading partners | | Mid-market platform | $2,000-$10,000 | Full-service EDI, ERP integration, onboarding support | Distributors and brands with 15+ partners | | Enterprise B2B integration | $10,000+ | Custom integration, on-prem options, dedicated teams | Fortune 1000 supply chains | Two caveats before you anchor on a number. First, the meters matter more than the base fee: per-document charges, kilo-character fees, VAN interconnects, and partner onboarding costs routinely double the sticker price (covered in detail under [hidden costs](#hidden-costs-that-inflate-your-edi-budget) below). Second, pricing models differ enough between vendors that two $1,500/month quotes can cover very different scopes. The vendor profiles above give the per-platform ranges. ## EDI Pricing Models Explained EDI provider pricing falls into four main models. Understanding which one you're being quoted is half the battle. **Per-Document Pricing:** You pay for each EDI document sent or received. Rates range from $0.05 to $1.00+ per document. This works for low-volume senders but costs add up fast. A supplier processing 500 documents per month at $0.50 each pays $250/month in transaction fees alone, on top of the base subscription. **Monthly Subscription:** A flat monthly fee covers a defined scope (number of trading partners, document types, volume tier). This is more predictable but watch for overage charges if you exceed your tier. Most cloud EDI platforms use this model. **Tiered Volume Pricing:** Base fee plus volume tiers, where your per-document rate drops as volume increases. Common with VANs. The challenge is that you often need to commit to a volume level upfront, and if you fall short, you're overpaying. **Managed Service Fees:** A monthly retainer covers hands-on management of your EDI operations. This is the most expensive model but includes human expertise. Expect $2,000 to $5,000+ per month depending on complexity. ## Frequently Asked Questions ### What is the best EDI software for small businesses? For small businesses, TrueCommerce and OrderSync are the strongest options in 2026. TrueCommerce works well if you need managed EDI services and have fewer than 15 trading partners. OrderSync is a better fit if you receive orders in mixed formats (not just EDI) and want flat-rate pricing without per-document fees. Both offer ERP connectors for QuickBooks and other popular small business systems. For businesses processing fewer than 100 documents per month, a web EDI portal or managed service offers the lowest barrier to entry. For a detailed breakdown, see our guide on [EDI for small business](/blog/essential-guide-to-edi). ### How much does EDI software cost per month? EDI software costs range from $500 to $15,000+ per month depending on the platform, number of trading partners, and transaction volume. Entry-level cloud platforms like TrueCommerce or B2BGateway start around $500/month. Mid-market solutions like OrderSync, Orderful, and Cleo range from $1,000-$8,000/month. Enterprise platforms like SPS Commerce and QAD can exceed $10,000/month. On-premise solutions add $15,000-$75,000 upfront. Watch for per-document fees and VAN charges, which can double your effective monthly cost at higher volumes. ### What is the difference between VAN-based EDI and API-first EDI? VAN-based EDI uses a Value Added Network as a middleman to route documents between trading partners. You pay per document transmitted. API-first EDI (like Orderful) connects trading partners directly through REST APIs, often eliminating per-document fees. VAN-based systems have broader network reach because they've been around for decades. API-first platforms offer faster integration for companies with development resources. Many modern platforms support both approaches, so you are not always forced to choose one. ### What is the difference between cloud EDI and web EDI? Cloud EDI (SaaS) is a fully automated platform that translates, transmits, and monitors EDI documents without manual intervention. Web EDI is a browser-based portal where you manually enter data into forms that get converted to EDI format. Cloud EDI scales with volume; web EDI does not. Once you pass 50-100 documents per month, the labor cost of a web EDI portal exceeds what you'd pay for an automated cloud solution. ### Can EDI software handle non-EDI orders like PDFs and emails? Most traditional EDI software handles only EDI documents (X12, EDIFACT). It does not process PDFs, emails, or spreadsheet-based orders. This means businesses receiving mixed-format orders need separate tools or manual data entry for non-EDI orders. Newer platforms like OrderSync specifically address this gap by using AI to extract order data from any document format and process it through the same pipeline as EDI orders, removing the need for separate systems. ### How long does it take to implement EDI software? Implementation timelines vary widely. Simple cloud platforms with pre-built trading partner connections (like SPS Commerce or TrueCommerce) can be operational in 2-4 weeks for a single trading partner. More complex platforms (like Cleo or QAD) typically take 3-6 months for full deployment. On-premise installations can take 6-12 months. The biggest variable is trading partner mapping: each trading partner has specific requirements for document structure, data fields, and acknowledgment workflows that need to be configured and tested. ### Is QuickBooks an EDI system? No. QuickBooks is accounting software. It can receive data from EDI systems, but it doesn't translate, send, or receive EDI documents on its own. To use EDI with QuickBooks, you need a separate EDI provider that has a connector for QuickBooks. TrueCommerce and SPS Commerce both offer QuickBooks integrations. Some providers push data into QuickBooks via flat file imports, while others have direct API connections. ### Can I switch EDI providers without disrupting my trading partners? Yes, but plan for it to take 4 to 8 weeks. The process involves setting up your new provider, remapping your trading partners' document specifications, reconfiguring communication protocols, running parallel testing, and then cutting over. Your trading partners need to update their connection records (or your new provider needs to register on the same VAN). The biggest risk isn't the switch itself - it's the testing gap. If you rush the cutover and a mapping error slips through, rejected documents can cause chargebacks and shipping delays. ### What has replaced EDI? Nothing has replaced EDI. EDI remains the standard for structured B2B document exchange with major retailers and distributors. What has changed is how companies handle EDI alongside other order formats. Modern platforms combine EDI processing with AI-powered extraction for PDFs and emails, so you no longer need separate systems for different order types. AI is also reducing the manual effort in EDI mapping and exception handling. For a deeper look at how AI and EDI work together, see our [AI vs EDI vs API comparison](/blog/ai-vs-edi-vs-api). ## The Bottom Line The best EDI software depends on your order formats, trading partner count, budget, and team capabilities. If you only process EDI, SPS Commerce and Cleo are strong options for different company sizes. If you process orders from multiple formats and want a single platform that handles everything, OrderSync is worth evaluating. And if you want an API-first approach to EDI specifically, Orderful is leading that category. Whatever you choose, start by mapping your actual requirements: which trading partners need EDI, what other formats you receive, and what your ERP needs to accept. That requirements list will narrow your options faster than any feature comparison chart. Need to debug an EDI file right now? Try our [free EDI Inspector](/edi-inspector) to parse and validate EDI documents instantly, no signup required. --- # Data Entry Automation Software: Buyer's Guide Source: https://ordersync.io/blog/data-entry-automation-software > How data entry automation software eliminates manual keying. Covers OCR, RPA, AI extraction, accuracy benchmarks, and evaluation criteria. Data entry automation software reads documents—orders, invoices, delivery receipts—and writes extracted fields to your target system without manual keying. Tools range from template-based OCR (cheap but brittle) to AI-powered extraction (accurate across layout variations). For B2B order processing, accuracy above 97% is achievable with AI-based tools. **Data entry automation software reads documents, emails, and EDI files and enters the extracted data into your ERP automatically, eliminating the manual keying that costs $15 to $25 per order and introduces errors into 1 to 5 percent of fields.** Your team opens a PDF purchase order. They type the customer name, PO number, ship-to address, and every line item into the ERP. Then they do the same thing for the next order. And the next. Fifty, a hundred, two hundred times a day. Every keystroke is a chance for a typo. Every order takes 5-15 minutes of someone's time. And when volume spikes, you either hire more people or the backlog grows. Data entry automation software exists to break that cycle. But the category is broad -- it includes everything from simple copy-paste macros to AI-powered extraction engines that read handwritten faxes. This guide covers what these tools actually do, how the different approaches (template OCR, RPA, and AI) compare, what they cost when you do not have one, and how to pick the right approach for your operation. Key research on manual data entry costs: - A [study published by the National Institutes of Health](https://www.ncbi.nlm.nih.gov/pmc/articles/PMC3325401/) found human data entry error rates typically fall between 1% and 4% per field, which compounds to at least one error per order on a typical 20-field PO - [IBM's data quality research](https://www.ibm.com/thought-leadership/institute-business-value/en-us/report/data-quality) shows that fixing a data error at the point of entry costs roughly $1, but correcting it after shipment costs $100 or more - [Gartner supply chain research](https://www.gartner.com/en/supply-chain/topics/supply-chain-management) found that order errors cost an average of 10 to 15 times the original processing cost to correct ## What Is Data Entry Automation Software? **Data entry automation software is a system that reads data from documents, emails, or electronic files and enters it into your business systems automatically, replacing the manual process of opening a document and keying each field into your ERP or database.** It handles the path from source document to system record without human re-keying, regardless of whether the source is a structured [EDI 850 purchase order](https://x12.org/products/transaction-sets), a PDF, or a typed email. At its core, automated data entry gets information from point A to point B without a human re-keying it. Point A is wherever the data originates: a PDF, an email, an EDI transaction, a spreadsheet, a scanned document. Point B is wherever it needs to live: your ERP, your order management system, your accounting software. The "automation" part handles three things: 1. **Reading the source document**: Identifying where the data lives and extracting it. For structured files like EDI or CSV, this is straightforward parsing. For unstructured documents like PDFs or scanned paper, it requires OCR (optical character recognition) and often AI-based field identification. 2. **Mapping data to destination fields**: Matching extracted data points to the correct fields in your target system. "Ship To" from the PO maps to the delivery address in the ERP. "Item #" maps to your SKU field. This mapping has to account for different document formats from different senders. 3. **Validating before entry**: Checking that the extracted data makes sense before it hits your system. Does the SKU exist in your catalog? Is the price within the agreed range? Is the ship-to address valid? Validation catches problems before they become order errors. When these three steps work well together, data flows from source documents into your business systems without anyone touching a keyboard. ## The True Cost of Manual Data Entry Manual data entry is one of those costs that hides in plain sight. You know it takes time, but the full impact is usually larger than people estimate. **Error rates are the headline number.** According to a [study published by the National Institutes of Health](https://www.ncbi.nlm.nih.gov/pmc/articles/PMC3325401/), human data entry error rates typically fall between 1% and 4% per field. On an order with 20 fields (customer info, line items, quantities, prices), that translates to a reasonable chance of at least one error per order. Across hundreds of orders per week, errors compound fast. **The downstream cost of each error is what really hurts.** A wrong quantity means a short shipment. A wrong SKU means the customer gets the wrong product. A wrong address means the shipment goes to the wrong warehouse. Research from [IBM's data quality studies](https://www.ibm.com/thought-leadership/institute-business-value/en-us/report/data-quality) has shown that the cost of fixing bad data grows exponentially the later it is caught. Fixing an error at the point of entry costs roughly $1. Catching it after it is in the ERP costs $10. Discovering it after the shipment goes out can cost $100 or more. A [2023 Gartner supply chain survey](https://www.gartner.com/en/supply-chain/topics/supply-chain-management) found that order errors cost an average of 10 to 15 times the original processing cost to correct. A $20 order entry mistake can generate $200 to $300 in correction costs. **Labor costs add up quietly.** If a data entry clerk processes 40 orders per day at an average of 10 minutes per order, that is nearly 7 hours of pure keying per person per day. At $20/hour fully loaded, one clerk costs roughly $145/day just for data entry. Scale that to 200 orders per day and you need five clerks, costing over $3,500 per week for a task that adds no strategic value. Here is what the cost picture looks like for a mid-size distributor processing 100 orders per day: | Metric | Low Estimate | High Estimate | |---|---|---| | Cost per order | $15 | $25 | | Daily orders | 100 | 100 | | Daily entry cost | $1,500 | $2,500 | | Annual entry cost (250 days) | $375,000 | $625,000 | | Error rate per field | 1% | 5% | | Estimated errors per order (90 fields) | 0.9 | 4.5 | Those numbers do not include the downstream cost of errors: returns processing, credit memos, expedited re-shipments, and lost customer trust. **Speed is the hidden casualty.** Every minute an order sits waiting to be keyed in is a minute added to your order-to-fulfillment cycle. When the warehouse cannot pick until the order is in the system, manual entry becomes a bottleneck that holds up the entire operation. ## Why Manual Entry Persists in B2B If manual entry is this expensive, why does it still happen? Because B2B orders are messy, and traditional automation could not handle the mess. **Orders arrive in too many formats.** One customer sends a PDF from their ERP. Another emails an Excel spreadsheet. A third types the order directly into an email body. A fourth faxes a handwritten PO. Each format needs different handling. **Every customer's PO looks different.** Even among PDF purchase orders, layouts vary widely. Customer A puts the ship-to address at the top right. Customer B puts it at the bottom left. Customer A labels quantities "Qty." Customer B labels them "Order Amount." A person figures this out in seconds. A template-based system needs a new configuration for each layout. **Traditional OCR breaks when layouts change.** Template-based OCR requires you to define zones on a page: "the PO number is in this box, the line items start at this Y-coordinate." This works until a customer updates their PO form, adds a new field, or changes their font size. Then the template breaks and every order from that customer fails. **The effort to set up automation feels larger than the pain.** For many operations teams, the calculus goes like this: "We have 150 customers sending orders in 40 different layouts. Setting up OCR templates for all of them would take months. Hiring another data entry person takes a week." So they hire the person. This is the gap that AI data entry fills. ## Types of Data Entry Automation Not all data entry automation works the same way. The right approach depends on what kinds of documents you are processing and how consistent they are. ### Template-Based OCR Extraction The simplest form of automation. You define zones on a document where specific fields live. "The PO number is always in the top-right corner. Line items start on row 12 of the table." The system reads those exact locations every time. **Pros**: Fast to set up for a small number of consistent formats. Low error rate on documents that match the template exactly. **Cons**: Breaks when a supplier changes their form layout. You need a separate template for every supplier, every format. Does not scale when you have 50+ suppliers with 50+ layouts. **Best for**: High-volume, single-format processing (e.g., one retail partner that sends thousands of identically formatted POs). ### RPA (Robotic Process Automation) RPA bots mimic the actions a human takes: open the email, download the attachment, open the ERP, click into the right fields, type the data. They follow scripted workflows across your existing systems without requiring any API integration. **Pros**: Works with legacy systems that do not have APIs. Automates the full workflow, not just extraction. Does not require changing your existing software. **Cons**: Brittle. If a button moves, a screen changes, or a pop-up appears, the bot fails. Requires constant maintenance. Does not actually "understand" the data it is entering, so it cannot catch logical errors. **Best for**: Bridging the gap when you need automation quickly but cannot change your underlying systems yet. ### AI and Machine Learning Extraction AI-based systems learn to read documents the way a human does. Instead of relying on fixed templates, they identify field types based on context. They recognize that "Qty" and "Quantity" and "Units" all mean the same thing. They handle layout variations across suppliers automatically. **Pros**: Handles format variation well. Improves over time as it processes more documents. Can extract from truly unstructured documents like freeform emails. **Cons**: Requires training data to reach high accuracy. More expensive upfront than template-based approaches. Can produce confident but wrong results if training data is limited. **Best for**: Operations processing orders from many suppliers in many formats, which is the reality for most B2B distributors and manufacturers. ### EDI and Structured Data Parsing For trading partners that send structured electronic documents like [EDI 850 purchase orders](/guides/edi/850-purchase-order), there is no extraction needed. The data is already organized into defined segments and elements. The automation is purely about parsing the structure and mapping it to your system fields. **Pros**: Near-zero error rate. Instant processing. No ambiguity in the data. You can validate and parse EDI files using our [free EDI Inspector](/edi-inspector). **Cons**: Only works when both parties support EDI. Setup requires trading partner agreements and testing. **Best for**: Retail supply chains where major retailers mandate EDI. If you are trading with Walmart or Target, their orders arrive as structured EDI that can be processed instantly. ## AI vs. OCR vs. Manual Entry: A Direct Comparison | Factor | Manual Entry | Template OCR | AI Data Entry | |---|---|---|---| | Speed per order | 5-15 minutes | 10-30 seconds | 5-15 seconds | | Accuracy | 95-99% per field | 90-98% (layout-dependent) | 97-99.5% per field | | Setup time | None (just hire) | Weeks to months (per template) | Days (no templates) | | New customer formats | No extra work | New template required | Handled automatically | | Handles layout changes | Yes (human adapts) | Breaks (template fails) | Yes (AI adapts) | | Cost per order | $15-$25 | $1-$3 | $0.50-$2 | | Scales with volume | Requires more staff | Requires more templates | Same system, more throughput | | Handwritten documents | Yes (human reads) | Poor (OCR struggles) | Moderate (80-90% accuracy) | Template OCR is the approach most companies tried first. It works for high-volume, consistent layouts. But it falls apart when you have dozens or hundreds of customers each with different formats. The template maintenance burden grows linearly with your customer count. AI extraction eliminates that maintenance burden. One model handles all formats. When a customer changes their PO layout, the AI adapts without intervention. ## How AI Data Entry Works in Practice AI data entry for order processing is not a single technology. It is a pipeline that replaces every step a human performs when keying an order. ### Step 1: Document Intake The system monitors your order channels: email inboxes, shared folders, fax gateways, EDI connections, web portals. When a new document arrives, it gets pulled into the pipeline automatically. ### Step 2: Classification Not every incoming document is a purchase order. The AI classifies each document: is this a PO, an order revision, a quote request, or something unrelated? Orders proceed through the pipeline. Everything else gets routed appropriately. ### Step 3: AI Extraction Instead of looking for data in predefined zones, the AI reads the entire document and identifies fields by context. It understands that "Qty" and "Quantity" and "Order Amount" all mean the same thing. It knows that a column of numbers next to a column of SKUs is a line item table, regardless of where it appears on the page. The extraction covers: PO number, order date, requested ship date, bill-to and ship-to addresses, line items (SKU/item number, description, quantity, unit of measure, unit price), payment terms, shipping method, and special instructions. This works across PDFs, Excel files, email body text, scanned faxes, and images. No templates. No per-customer configuration. ### Step 4: Validation Extracted data gets checked against your business data. Does the SKU exist in your product catalog? Does the price match the customer's contracted rate? Is the quantity within a normal range? Does the ship-to address match a known location? Orders that pass validation move forward. Orders with exceptions route to a review queue with the specific issues flagged. This validation step is what turns raw extraction into [automated order processing](/order-processing-automation). ### Step 5: ERP Sync Validated orders sync directly to your ERP as sales orders through a direct [ERP integration](/erp-integration). No CSV exports. No manual imports. No copy-paste between systems. The order goes from document to ERP-ready sales order without a person touching it. The full cycle takes seconds for clean orders. Your team's role shifts from data entry to exception handling, reviewing only the orders that the AI could not fully resolve. ## What AI Handles Well (and Where It Struggles) Honest assessment matters more than marketing promises. ### High Accuracy (97%+ per field) - **Clean PDF purchase orders.** Typed text, structured layout, standard fields. This is where AI performs best: 98% to 99.5% field-level accuracy. - **Excel and CSV files.** Already structured data. The AI maps columns to fields with near-perfect accuracy. - **EDI transactions.** Structured data by definition. Parsing [EDI 850 purchase orders](/guides/edi/850-purchase-order) is a solved problem. ### Good Accuracy (93-97% per field) - **Email body orders.** Accuracy depends on formatting consistency. A bulleted list of items with quantities processes well. A paragraph of text with mixed-in details takes more interpretation. - **High-quality fax/scans.** Digital faxes and clean scans process at near-PDF accuracy. ### Lower Accuracy (80-93% per field) - **Handwritten purchase orders.** Printed block letters on a structured form: 85% to 93%. Cursive on a blank page: unreliable. - **Low-quality fax/scans.** Heavy noise, significant skew, faded text. - **Non-standard documents.** Orders embedded in contracts, multi-page documents with inconsistent formatting. The pattern: the closer a document looks to a clean, typed purchase order, the better AI performs. But even for difficult documents, the AI pre-extracts data for your reviewer. They are correcting fields, not typing from scratch. A 15-minute manual entry task becomes a 2-minute review task. ## How to Evaluate Data Entry Automation Software When you are comparing tools, focus on these criteria. They separate the solutions that work in demos from the ones that work in production. | Criteria | What to Ask | Why It Matters | |---|---|---| | **Format coverage** | What document types does it handle? PDF, email, EDI, CSV, fax? | Your suppliers will not all send orders the same way | | **Accuracy on your documents** | Can you run a pilot with your actual order documents? | Demo accuracy on clean samples does not predict real-world performance | | **Exception handling** | What happens when extraction confidence is low? | Every system will encounter documents it cannot read perfectly | | **ERP integration** | Does it connect to your ERP natively or via API? | If data still needs to be exported and imported, you have not eliminated manual work | | **Training requirements** | How much setup before it handles a new supplier format? | Template-per-supplier does not scale. AI that adapts to new formats does. | | **Validation rules** | Can you set business rules (valid SKUs, price ranges, required fields)? | Extraction without validation just moves errors into your ERP faster | | **Volume capacity** | What is the throughput? Can it handle peak-season spikes? | You need automation most when volume is highest | | **Audit trail** | Does it log what was extracted, what was changed, what was flagged? | You need to trace errors back to their source | Run a proof of concept with your messiest documents, not your cleanest ones. Any tool can extract data from a well-formatted PDF with clear tables and consistent fonts. The question is what happens with the faxed order that is slightly crooked, the email where the customer typed line items in the body text, or the spreadsheet with merged cells and handwritten notes. ## How OrderSync Eliminates Manual Order Entry OrderSync is built specifically for B2B order processing. Where general-purpose data entry automation tools handle any document type going into any system, OrderSync focuses on the specific problem of getting orders from any format into your ERP without [manual keying](/solutions/eliminate-manual-order-entry). **Multi-format ingestion.** Orders arrive as EDI transactions, PDF attachments, emails with line items in the body, Excel spreadsheets, and CSV files. OrderSync accepts all of them through a single pipeline. Learn more on our [multi-format order processing](/multi-format-orders) page. **AI-powered extraction.** For unstructured documents, OrderSync uses [AI document extraction](/ai-order-automation) to identify and pull order data. It recognizes PO numbers, line items, quantities, prices, ship-to addresses, and delivery dates across different layouts without per-supplier templates. **Automated validation.** Before any data reaches your ERP, OrderSync validates it against your product catalog, customer-specific pricing, and business rules. Clean orders flow straight through. Exceptions route to a review queue with a clear explanation of what is wrong. **Direct ERP sync.** Validated orders sync directly to your ERP through a native [ERP integration](/erp-integration). No CSV exports. No copy-paste. The order is in your system and ready for fulfillment within minutes. **Exception dashboard.** Your team sees exactly what was extracted, what failed validation, and what needs correction. They fix the exception and the order continues through the pipeline. This is what [order processing automation](/order-processing-automation) looks like when it is built for real-world B2B workflows. The difference between OrderSync and general-purpose data entry automation is focus. A general tool extracts text from any document and puts it somewhere. OrderSync understands what an order looks like, knows what valid order data means for your business, and handles the full path from document to ERP-ready sales order. If you are evaluating options, our [B2B order automation software guide](/blog/automated-order-processing) covers the broader landscape. ## Getting Started with Data Entry Automation You do not have to automate everything at once. Start where the pain is worst: ### Phase 1: Measure the Problem Track for one week: how many orders per day by channel (email, fax, EDI, portal, phone), how many minutes per order for manual entry, how many errors your team catches, and which customers generate the most orders. Most teams find that 60% to 80% of their orders come from 20% of their customers. ### Phase 2: Start With Your Highest-Volume Format For most B2B operations, that is PDF purchase orders arriving via email. Connect your order inbox to the [AI order automation](/ai-order-automation) platform and run in review mode for one to two weeks. Every AI-extracted order goes to a reviewer who compares the extraction against the original document. ### Phase 3: Graduate to Auto-Processing Once you are confident in accuracy (most teams set a threshold of 98% or higher), switch clean orders to auto-processing. These go straight from document to ERP without human intervention. Exception orders still route to your review queue. ### Phase 4: Expand to Other Channels Add email body orders, fax orders, and other channels. Each addition is incremental because the same AI model handles all formats. If you also need EDI capability, the same platform handles [EDI transactions](/blog/essential-guide-to-edi) alongside unstructured documents. ### Phase 5: Measure Results Track the same metrics as your baseline: time per order, error rate, orders processed per person per day. The improvement should be obvious within the first month. Ready to see how OrderSync handles your specific order formats? [Book a free intro call](/book) and bring your toughest documents. ## Frequently Asked Questions ### What is the difference between data entry automation and RPA? Data entry automation is the broader category. It includes any technology that eliminates manual keying: OCR, AI extraction, EDI parsing, template matching, and RPA. RPA is one specific approach where software bots mimic human actions (clicking, typing) across existing applications. For pure data entry, AI-based extraction is usually more accurate and less brittle than RPA because it understands the content rather than just mimicking mouse clicks. ### How accurate is automated data entry compared to manual entry? Modern AI extraction tools achieve 95-99% field-level accuracy on well-structured documents and 85-95% on highly variable formats. Manual human entry averages 96-99% accuracy per field, but drops significantly with fatigue and high volume. The key difference is that automated systems maintain consistent accuracy across thousands of documents, while human accuracy degrades over time. When automated extraction is combined with validation rules, the overall accuracy of data reaching your ERP typically exceeds what manual entry achieves. ### How is AI data entry different from OCR? Traditional OCR uses templates to find text in specific locations on a page. You define zones, and the OCR engine reads characters in those zones. This works for fixed layouts but breaks when documents change format. AI data entry reads the full document and identifies fields by context, similar to how a person reads a PO. It does not need templates, handles layout variations, and adapts to new formats without reconfiguration. ### Can data entry automation handle handwritten documents or faxes? Yes, though accuracy varies. Modern OCR handles printed text on faxes and scanned documents well. Handwriting recognition has improved significantly with AI, but still produces more errors than printed text extraction. If you regularly receive handwritten orders, look for a system with strong exception handling so that low-confidence extractions route to a human reviewer automatically. ### How long does it take to implement data entry automation software? For a cloud-based solution handling structured formats like EDI and CSV, you can be running within 2-4 weeks including ERP integration. For AI-based extraction of PDFs and emails, add 2-4 weeks for validation on your specific document types. Template-based systems can be faster for a small number of formats but slower overall if you have many suppliers with different layouts. ### Can I automate data entry without changing my customers' behavior? Yes. Your customers keep sending orders however they send them today: PDF email attachments, typed emails, faxes, spreadsheets. The automation happens on your side. No customer onboarding. No format requirements. The AI adapts to each customer's documents rather than requiring customers to adapt to your system. ### Will data entry automation replace my data entry team? Typically, no. It changes what they do. Instead of keying data all day, your team manages exceptions, handles edge cases, maintains validation rules, and focuses on customer communication. Most companies that automate data entry do not cut headcount. They either handle significantly more volume with the same team or move people to work that actually requires human judgment. --- # Document Automation for B2B Order Processing Source: https://ordersync.io/blog/document-automation > How document automation works for purchase orders, invoices, and shipping docs. Covers OCR vs IDP vs AI extraction and evaluation criteria. Document automation captures structured data from business documents—purchase orders, invoices, ASNs—and routes it to the right system without manual re-keying. For B2B suppliers, it replaces the step where a person reads a PDF and types it into an ERP. The technology ranges from OCR templates to AI extraction. > **Document automation** is the use of software to capture, extract, validate, and route business documents without manual data entry. In B2B order processing, it applies to purchase orders, invoices, ship notices, and packing slips that arrive in formats like PDF, email, EDI, fax, and spreadsheets. Your order desk handles dozens of document types every day. Purchase orders show up as PDF attachments. Invoices arrive via EDI 810. Packing slips get faxed. Shipping confirmations land in a shared inbox as Excel files. Each one needs to be opened, read, keyed into your ERP, and filed. That is the job for three or four people at most mid-size distributors, and it is the single biggest bottleneck between receiving an order and shipping it. Document automation eliminates that bottleneck. But not all document automation software works the same way, and not all of it is built for the realities of B2B order processing. This guide covers how it works, the differences between OCR, IDP, and AI extraction, what to evaluate, and where it fits in a modern order processing workflow. ## What Is Document Processing Automation? **Document processing automation takes unstructured or semi-structured business documents and turns them into clean, validated data that your ERP can use without manual re-keying.** The process has five stages: 1. **Intake**: The system ingests documents from every channel. Email attachments, EDI transactions, scanned paper, fax-to-email, web portal downloads, file uploads, and API feeds. 2. **Classification**: The system determines what the document is. For B2B, classification also identifies subtypes: is this a new PO, a PO revision, a blanket order release, or a credit request? Each type has different data requirements and different downstream workflows. 3. **Extraction**: Software reads each document and pulls out the data fields that matter. For a purchase order: customer ID, PO number, line items, quantities, unit prices, ship-to address, and requested delivery date. For an invoice: vendor, invoice number, amounts, tax, and payment terms. 4. **Validation**: Extracted data gets checked against your master data. Does the SKU exist? Does the price match the customer's contract? Is the quantity within normal range? Clean documents pass through. Exceptions get flagged with the specific issue so your team can resolve them quickly. 5. **Routing and sync**: Validated data flows into your ERP as a sales order, accounts payable entry, or receiving record. No re-keying. No CSV imports. For EDI documents like the [850 purchase order](/guides/edi/850-purchase-order) or [810 invoice](/guides/edi/810-invoice), the data is already structured. Extraction is straightforward parsing. The real challenge, and where document processing software earns its keep, is handling PDFs, scanned images, and email-based documents where the data is locked inside unstructured formats. ## How Document Automation Technology Works Three core technologies power document extraction. Each has strengths and limitations that matter when you are processing B2B order documents. ### OCR (Optical Character Recognition) OCR converts images of text into machine-readable text. It is the foundation of any document automation system that handles scanned paper or image-based PDFs. Modern OCR engines achieve 98-99% character accuracy on clean documents, according to [ABBYY's OCR accuracy benchmarks](https://www.abbyy.com/ocr-sdk/). But character accuracy is not the same as field accuracy. OCR can read "500" on a purchase order, but it does not know whether that "500" is a quantity, a price, a PO number, or a zip code. That is where the next layer comes in. Template-based OCR maps specific regions of a document to specific data fields. You define that the PO number is always in the top-right corner, line items start in the third row of the table, and the ship-to address is in the left column below the header. This works well when your documents follow a consistent layout. It breaks down when a customer changes their PO format or you onboard a new customer. Template-based OCR implementations typically require ongoing maintenance costs of 15-25% of the initial spend per year to manage template drift. The data on document automation adoption tells a consistent story: - [ABBYY's OCR accuracy benchmarks](https://www.abbyy.com/ocr-sdk/) show modern OCR achieves 98-99% character accuracy on clean documents, but character accuracy is not field accuracy - [GS1 US standards](https://www.gs1us.org/industries-and-insights/standards) define the barcode and identifier formats that appear in EDI documents, which AI extraction systems must recognize correctly to map line items without errors If you process orders from five customers, templates are manageable. If you process orders from 200 customers, you are maintaining 200 templates. That is not automation. That is a different kind of manual work. ### Intelligent Document Processing (IDP) IDP builds on OCR by adding machine learning for layout detection. Instead of rigid zones, IDP systems learn to find fields based on patterns: "the number after 'PO#' is the purchase order number." This handles layout variations better than templates, but still requires a training period for new document types. You typically need 20 to 50 sample documents per format for the system to learn reliably. IDP is a meaningful step up from OCR for companies that process a moderate number of document formats. ### AI Extraction Modern AI extraction uses large language models that understand document context the way a person does. The AI does not need templates or training samples. It reads a document, understands that a table of items with quantities and prices is a line item section, and extracts accordingly. This is the approach behind [AI-powered order automation](/ai-order-automation). It works on the first document from a new customer without configuration. When a customer changes their PO layout, the AI adapts without intervention. The practical difference: OCR reads characters. IDP recognizes patterns. AI understands documents. | Capability | Traditional OCR | Intelligent Document Processing (IDP) | AI Extraction | |---|---|---|---| | **What it does** | Reads characters from images | Reads documents with layout understanding | Reads documents with contextual understanding | | **Template required** | Yes, per document layout | Sometimes, with learning | No | | **Handles layout changes** | Breaks when layout shifts | Adapts with retraining | Adapts automatically | | **Accuracy on clean PDFs** | 95-98% | 97-99% | 98-99.5% | | **Accuracy on faxes/scans** | 80-90% | 90-95% | 93-98% | | **Setup effort** | High (template per customer) | Medium (training period) | Low (works out of the box) | | **Understands context** | No | Partially | Yes | | **Handles email body text** | No | Limited | Yes | ## Document Types in B2B Order Processing Document automation in B2B is not about digitizing filing cabinets. It is about processing the transactional documents that drive your order-to-cash cycle. | Document | Format(s) | Why It Matters | |----------|-----------|----------------| | **Purchase orders** | EDI 850, PDF, email, fax | The starting point. Every order needs to reach your ERP accurately and fast. | | **Invoices** | EDI 810, PDF, email | Errors here cause payment delays, disputes, and reconciliation headaches. | | **Ship notices (ASN)** | EDI 856, PDF | Required by most major retailers. Missing or inaccurate ASNs trigger chargebacks. | | **Order acknowledgments** | EDI 855, email | Confirms you received the PO and can fulfill it. | | **Packing slips** | PDF, paper | Accompanies shipments. Needs to match the PO and ship notice. | | **Remittance advice** | EDI 820, PDF | Tells you what payment covers which invoices. Essential for cash application. | The common thread: each document connects to others in the chain. A purchase order leads to an acknowledgment, then a ship notice, then an invoice, then a payment. Document workflow automation works best when the system processes the entire chain, not just one document type in isolation. That is why [order processing automation](/order-processing-automation) platforms outperform standalone OCR tools for B2B use cases. ## Benefits of Document Automation for Order Processing Teams ### Faster order-to-ship time Manual order entry takes 10-15 minutes per order. Automated extraction takes seconds. For a distributor processing 200 orders per day, that is the difference between a two-day order backlog and same-day processing. ### Fewer errors, fewer chargebacks According to [APQC benchmarking data](https://www.apqc.org/resource-library/resource-collection/sales-and-order-management-key-benchmarks), manual order entry carries a 1-5% error rate. Automated processing with validation drops that below 0.3%. Each avoided error is a prevented short shipment, chargeback, or customer complaint. ### Scale without adding headcount Document automation lets your existing team handle 2-3x the volume by shifting their work from keying data to resolving exceptions. The 95% of orders that are clean flow through untouched. ### Unified visibility across formats When EDI orders go through one system, PDF orders go through another, and email orders get keyed by hand, nobody has a complete picture. A single document automation platform gives you one dashboard showing every order regardless of how it arrived. OrderSync's [multi-format order processing](/multi-format-orders) handles exactly this. ### Audit trail without the filing cabinet Every document gets captured, timestamped, and linked to the resulting ERP transaction. When a customer disputes an invoice, you pull up the original PO, the ship notice, and the invoice side by side in seconds. ## What to Look For in B2B Document Processing Software Not every tool is built for B2B order documents. General-purpose document automation platforms often focus on contracts, HR forms, or legal documents. Here is what matters for order processing. ### Multi-format ingestion Your system needs to handle EDI, PDF, email, CSV, Excel, scanned paper, and fax. If it only handles one or two formats, you are still doing manual entry for the rest. A [B2B order automation](/blog/automated-order-processing) platform that handles EDI alongside PDF and email orders gives you one pipeline instead of three. ### Order-specific validation Generic document processing extracts data. B2B order processing validates it. Look for: - Product catalog matching with cross-reference support (customer item numbers mapped to your SKUs) - Customer-specific pricing rules that catch discrepancies before they become disputes - Quantity thresholds that flag unusual order volumes - Required field enforcement - Duplicate order detection ### ERP integration depth A CSV export is not integration. Look for real-time sync that creates sales orders, posts invoices, updates inventory, and pulls back fulfillment status. See our [ERP integration](/erp-integration) page for what a proper connection looks like. ### Exception handling workflow The 5-10% of documents that need human review should land in a structured queue with full context: what was extracted, what failed validation, and what the system recommends. Your team should resolve an exception in 30 seconds, not 10 minutes of investigation. ### Learning and improvement The system should get better over time. As it processes more documents from a trading partner, accuracy should increase. New formats should require less configuration. This is the key differentiator between template-based and AI-based systems. ### Audit trail B2B transactions require traceability. Every order should have a complete history: original document, extracted data, validation results, any manual corrections, who approved it, and when it synced to the ERP. If you also handle EDI transactions, our [free EDI Inspector](/edi-inspector) tool helps you parse and validate EDI files during testing and trading partner onboarding. ## Use Cases Beyond Orders The same document processing technology that handles purchase orders applies to other B2B documents. ### Invoices Accounts payable teams face the same re-keying problem. Vendor invoices arrive as PDFs, scans, and emails. Document processing software extracts invoice numbers, line items, amounts, and payment terms, then matches them against purchase orders and receiving documents for three-way matching. According to the Association for Intelligent Information Management (AIIM), organizations that automate invoice processing reduce processing costs by 60% to 80% per invoice while cutting approval cycle times from weeks to days ([AIIM, "Intelligent Information Management"](https://info.aiim.org/aiim-blog/how-intelligent-document-processing-is-revolutionizing-document-management)). ### Bills of Lading BOLs contain shipment details that your logistics and receiving teams need: carrier, tracking numbers, item descriptions, weights, freight class. Extracting this data automatically feeds your transportation management and receiving workflows. ### Compliance Documents Certificates of analysis, safety data sheets, country-of-origin declarations, and other compliance documents arrive with shipments and need to be captured, stored, and made retrievable. Document processing can extract key fields (lot numbers, expiration dates, certification details) and attach them to the correct order or shipment record. ### Remittance Advice When customers send payment, the remittance detail (which invoices the payment covers) often arrives as a separate document. Extracting invoice numbers and amounts from remittance documents speeds up cash application and reduces unapplied payments. ## How OrderSync Handles Document Automation OrderSync processes purchase orders, invoices, ship notices, and related B2B documents through a single pipeline. **Ingestion**: Orders arrive via EDI, email, PDF upload, or API. OrderSync detects the format automatically and routes the document to the right extraction engine. **Extraction**: For structured EDI transactions, OrderSync parses every segment and maps it to your ERP fields. For unstructured documents like PDF purchase orders, the [AI extraction engine](/ai-order-automation) identifies fields by context, handles format variation, and improves with each document it processes. **Validation**: Every extracted order gets validated against your product catalog, customer pricing rules, and inventory data. Clean orders sync to your ERP automatically. Exceptions land in a dashboard where your team sees exactly what needs attention. **Full-chain processing**: Because OrderSync handles the entire document chain (PO, acknowledgment, ship notice, invoice), three-way matching happens automatically. The system already knows what was ordered and what shipped, so invoice discrepancies surface instantly. If your trading partners send EDI documents, you can validate and [parse EDI files for free](/edi-inspector) using our EDI Inspector. For companies evaluating options, our [B2B order automation software guide](/blog/automated-order-processing) covers the broader landscape. ## Getting Started with Document Processing Automation You do not need to automate every document type on day one. **1. Audit your document flow.** Spend a week tracking every document your team processes manually. Count by type (PO, invoice, BOL, other), format (PDF, email, fax, paper), and source (which customers or trading partners). This tells you where automation will have the most impact. **2. Start with your highest-volume document type.** For most B2B operations, that is purchase orders. If 70% of your orders arrive as PDF email attachments, start there. **3. Configure your validation rules.** Map your product catalog, customer pricing, and business rules into the system. Without validation, you are just moving the error from one system to another. **4. Run in review mode.** Process documents through the pipeline but have your team review every result for one to two weeks. This builds trust and surfaces edge cases. **5. Graduate to auto-processing.** Once accuracy meets your threshold, let validated documents flow straight to your ERP. Route exceptions to a review queue. **6. Expand to additional document types.** Once purchase orders are running smoothly, add invoices, BOLs, or other high-volume document types. For companies processing B2B orders across multiple formats, OrderSync provides a single pipeline that handles PDF, email, fax, EDI, and other formats through one system. [Book a free intro call](/book) to see how it works with your specific document types. ## Frequently Asked Questions ### What is the difference between document automation and document management? Document management is about storing, organizing, and retrieving files. Think SharePoint or a digital filing cabinet. Document automation is about processing documents: extracting the data inside them, validating it, and routing it to the right system. You need management to find an old PO. You need automation to process 200 new POs without manual data entry. ### How accurate is AI-based document extraction for purchase orders? Modern AI extraction systems achieve 95-99% field-level accuracy on purchase orders, depending on document quality and format consistency. Structured formats like EDI hit 99%+ because the data is already parsed. PDF purchase orders from known trading partners typically reach 97-98% after the system has processed 5-10 sample documents. The remaining exceptions get flagged for quick human review rather than causing downstream errors. ### Can document automation handle both EDI and non-EDI documents? Yes, and this is one of the biggest advantages for B2B teams. Many suppliers deal with a mix: major retailers send EDI 850 purchase orders, while smaller buyers send PDF or email orders. A good document automation platform processes both through the same pipeline, so your team works from one queue regardless of format. OrderSync's [multi-format order processing](/multi-format-orders) was built for exactly this scenario. ### Can document processing software handle orders from hundreds of customers without custom setup for each one? With AI-based extraction, yes. Unlike template-based OCR, which requires a custom configuration for every document layout, AI extraction understands document context and adapts to new formats automatically. A PO from a customer you have never processed before gets extracted on the first attempt. The validation step still requires your product catalog and business rules, but extraction needs no per-customer setup. This is what makes modern [automated order processing](/order-processing-automation) practical for companies with large customer bases. ### How long does it take to set up document automation for order processing? For EDI documents, setup takes 2-4 weeks including trading partner configuration and testing. For PDF and email orders, expect 2-4 weeks to configure extraction and validate accuracy. Most companies start with their highest-volume channel and expand. Full multi-format automation across EDI, PDF, email, and fax is typically running within 8-12 weeks. ### Does document automation replace my existing ERP? No. Document automation sits between your document sources (email, EDI, portals) and your ERP. It processes inbound documents and pushes clean, validated data into your existing system. OrderSync integrates with major ERPs including NetSuite, SAP Business One, Microsoft Dynamics, and QuickBooks Enterprise through [direct ERP connections](/erp-integration). Your team keeps working in the ERP they already know. --- # Ecommerce Order Management: A Complete Guide Source: https://ordersync.io/blog/ecommerce-order-management > Learn how ecommerce order management systems work, what features matter, and how to choose the right platform for your B2B or DTC business. Ecommerce order management software tracks orders from placement through fulfillment and return. It connects sales channels, warehouse, and shipping carriers, syncing inventory and status in real time. For B2B sellers, the key difference from DTC is handling EDI orders from retail buyers alongside standard website or portal orders. **Ecommerce order management centralizes orders from multiple storefronts, marketplaces, and B2B channels into a single workflow, keeping inventory accurate across all channels and connecting to your ERP and warehouse systems without manual reconciliation.** You listed your products on Shopify three years ago. Then came Amazon. Then your wholesale accounts asked for a B2B portal. Now one of your biggest retail partners wants EDI, and your team is juggling four different dashboards just to know what shipped today. This is what happens when ecommerce order management grows organically instead of by design. Each channel adds its own tools, its own workflows, and its own failure modes. The result: oversold inventory, missed shipments, and a customer service inbox full of "where's my order?" emails. If that sounds familiar, this guide walks through how ecommerce order management systems actually work, what separates the good ones from the bad, and how to pick one that fits both B2B and DTC operations. ## What Is Ecommerce Order Management? **Ecommerce order management is the process of receiving, tracking, validating, fulfilling, and managing customer orders placed through online channels, with an OMS centralizing orders from multiple storefronts, marketplaces, and B2B channels into a single workflow that connects to warehouse, inventory, and accounting systems.** The term covers more ground than it used to. Ten years ago, "ecommerce order management" meant tracking Shopify orders. Today it means orchestrating orders from your own storefront, Amazon, Walmart Marketplace, wholesale portals, EDI feeds, and sometimes email or fax, all while keeping inventory counts accurate across every channel in real time. Key data on ecommerce order management scale: - [Forrester Research](https://www.forrester.com) reports US B2B ecommerce sales topped $2 trillion in 2024, growing at roughly 10% annually, a volume that cannot be managed through single-channel tools - The [IHL Group's research on inventory distortion](https://www.ihlservices.com) found that global retailers lose over $1.77 trillion annually to overstocks and out-of-stocks combined, a problem that multi-channel ecommerce amplifies without real-time inventory sync ## How Ecommerce Order Management Differs from Traditional Order Management If you have been handling B2B orders the old way (phone, fax, email), you already understand [order management fundamentals](/blog/what-is-an-oms). The ecommerce layer adds three things that change the equation: **Speed expectations are higher.** B2C ecommerce trained every buyer to expect same-day confirmation and two-day shipping. B2B buyers now carry those same expectations into their wholesale purchasing. A system that batches orders overnight and processes them the next morning is too slow. **Channel count keeps growing.** Traditional order management might handle EDI from five retail accounts and emails from twenty smaller buyers. Ecommerce order management adds Shopify, Amazon, Walmart Marketplace, your own B2B portal, and whatever new channel your sales team commits to next quarter. **Inventory visibility is non-negotiable.** When you sell through one channel, a stockout means a backorder. When you sell through six channels, a stockout means six channels overselling the same product and six sets of angry customers. Real-time inventory sync is not optional in ecommerce. It is the foundation. The core workflow stays the same: receive the order, validate it, pick and pack, ship, invoice, handle returns. But the inputs multiply and the margin for error shrinks. That is what an [order management system](/order-management-systems) built for ecommerce is designed to handle. ## Key Features of an Ecommerce Order Management System Not every OMS is built the same way. If you are evaluating options, here is what actually matters. For a deeper breakdown of OMS basics, see our guide on [what an OMS is and how it works](/blog/what-is-an-oms). ### Multi-Channel Order Intake Your system needs to pull orders from every channel you sell through and normalize them into a single format. That means connectors for Shopify, WooCommerce, Amazon, Walmart Marketplace, and any B2B portals you run. For wholesale and retail accounts, it also means handling EDI 850 purchase orders, PDF purchase orders, and email orders. The intake layer should not just collect orders. It should validate them. Does this SKU exist? Does the price match what this customer agreed to? Is the requested quantity actually in stock? Catching errors at intake saves hours of rework downstream. If your business handles orders in multiple formats, look for a platform that supports [multi-format order processing](/multi-format-orders) natively, rather than requiring separate tools for each format. ### Inventory Sync Across Channels This is where most growing ecommerce operations first feel the pain. You sell 50 units on Amazon and 30 through Shopify, but your warehouse only had 70 in stock. Now you owe 10 units you do not have, and two platforms show the wrong available count. A good ecommerce OMS maintains a single source of truth for inventory and pushes available-to-promise counts to every channel. When an order comes in on any channel, inventory adjusts everywhere within minutes, not hours. According to the IHL Group's research on inventory distortion, global retailers lose over $1.77 trillion annually to overstocks and out-of-stocks combined. Multi-channel ecommerce amplifies this problem. Real-time inventory sync is the fix. ### Fulfillment Routing Not every order should ship the same way. A direct-to-consumer order from your website goes to your warehouse. An Amazon FBA order is already at Amazon's fulfillment center. A wholesale order might ship from a 3PL or a regional distribution center. Fulfillment routing rules let you automatically direct each order to the right fulfillment location based on channel, geography, product type, or customer. Without routing logic, someone on your team is manually deciding where each order goes. That works at 20 orders a day. It breaks at 200. ### Returns and Reverse Logistics Returns are part of ecommerce. B2C return rates run 15 to 30 percent for online orders. B2B returns are lower but more operationally painful: wrong quantities shipped, damaged goods, pricing disputes that require credit memos. Your OMS should handle return merchandise authorizations (RMAs), track returned inventory, process refunds or credits, and update stock counts. If returns live in a separate system from orders, your inventory counts will drift out of sync within weeks. ### Order Visibility and Exception Management When a customer asks "where is my order?", your team should not need to check three different systems to answer. A centralized dashboard showing every order's status, regardless of source channel, is table stakes. More important is exception management. What happens when an order fails validation? When a payment is declined? When inventory is short? The system should flag exceptions, route them to the right person, and track resolution. The alternative is problems hiding in email threads until a customer complains. ## B2B vs B2C Order Management: Key Differences | Factor | B2C Ecommerce | B2B Ecommerce | |---|---|---| | **Order format** | Shopping cart checkout (structured) | EDI, PDF, email, portal, phone (mixed) | | **Pricing** | Fixed catalog price for all buyers | Negotiated per-account, volume discounts, contract pricing | | **Payment terms** | Credit card at checkout | NET 30/60/90, purchase orders, credit limits | | **Order size** | Typically 1-5 items | Dozens to hundreds of line items per order | | **Fulfillment docs** | Tracking email | EDI 856 ASN, packing slips, compliance labels | | **Returns** | Self-service portal, high volume (15-30%) | RMA process, lower volume but more complex | | **Compliance** | Platform-specific (Amazon, Shopify) | Retailer-specific EDI requirements, chargebacks | ## The B2B Ecommerce Challenge: When Customers Order Every Way Possible Here is where ecommerce order management gets genuinely complicated for B2B companies. Your largest retail account sends EDI 850 purchase orders. Your mid-sized wholesale buyers use your B2B portal. Smaller accounts email PDF purchase orders or Excel spreadsheets. And you just launched a Shopify store for DTC sales. Each of these channels has different: - **Order formats**: EDI X12, JSON from APIs, PDF attachments, CSV files - **Validation rules**: Retail EDI orders need compliance checking; portal orders need credit limit verification - **Pricing structures**: Negotiated pricing by account, volume discounts, promotional pricing - **Fulfillment expectations**: Retail accounts expect ASN (ship notice) documents; DTC customers expect tracking emails Running separate systems for each channel creates data silos. Your EDI tool does not talk to your Shopify backend. Your B2B portal does not share inventory with Amazon. Your team manually reconciles everything in spreadsheets. The fix is a single order management layer that sits above all your channels and normalizes every order into a unified pipeline. OrderSync does this by processing EDI, PDF, email, and ecommerce orders through one system, validating them against your product catalog and customer rules, then syncing clean data to your ERP or accounting platform. For businesses dealing with this exact multi-format problem, our guide to [cloud-based order management](/blog/what-is-an-oms) covers how modern platforms handle it. ## Integrating with ERPs and Warehouse Management Systems An ecommerce OMS is not a standalone tool. It needs to connect to the systems that actually execute on orders. ### ERP Integration Your ERP is your system of record for financials, inventory master data, and customer accounts. Orders need to flow from your OMS into your ERP cleanly, without manual re-keying and without format mismatches. Look for an OMS that supports direct [ERP integration](/erp-integration) with your specific platform, whether that is NetSuite, SAP Business One, QuickBooks, or Sage. "We have an API" is not enough. You need pre-built connectors or proven integration patterns for your ERP. Key data that needs to sync bidirectionally: - **Orders** (OMS to ERP): Line items, quantities, pricing, shipping details, customer info - **Inventory** (ERP to OMS): Available quantities, warehouse locations, incoming POs - **Products** (ERP to OMS): SKUs, descriptions, pricing tiers, units of measure - **Shipping confirmations** (ERP/WMS to OMS): Tracking numbers, shipment dates, carrier info ### WMS Integration If you use a warehouse management system, your OMS needs to send pick orders downstream and receive shipment confirmations back. The handoff between OMS and WMS is where many operations lose time. If it requires a CSV export and import, you are adding lag and error risk to every order. Modern systems use API-based or EDI-based integration to keep the OMS and WMS in sync. Some WMS platforms also handle order management themselves, which can simplify the stack but limits your ability to manage orders from non-warehouse channels. ## How to Choose an Ecommerce Order Management System Choosing the wrong system is expensive. Migration costs, retraining, and months of reduced productivity add up fast. Here is a practical framework for evaluation. ### Start with Your Channel Mix List every channel you sell through today and every channel you plan to add in the next two years. If your system does not natively support those channels, you will be building custom integrations on day one. For most B2B companies expanding into ecommerce, the minimum channel list looks like: - Your ecommerce storefront (Shopify, WooCommerce, BigCommerce, or custom) - At least one marketplace (Amazon, Walmart Marketplace) - EDI for retail trading partners - A B2B portal or wholesale ordering tool - Email and PDF orders from smaller accounts ### Evaluate Integration Depth A connector that syncs orders is a starting point. Real integration means inventory sync, product data sync, pricing rules, customer-specific catalogs, and shipping confirmations flowing in both directions. Ask vendors for specifics on what data syncs and how frequently. ### Test Exception Handling Every vendor will show you the happy path demo. Ask to see what happens when an order has an invalid SKU. When a customer exceeds their credit limit. When inventory is short. The quality of exception handling determines how much manual work your team does on a daily basis. ### Consider Total Cost SaaS pricing for ecommerce OMS platforms typically falls into three models: - **Per-order pricing**: $0.10 to $1.00 per order. Good if your volume is low, expensive at scale. - **Flat monthly fee**: $500 to $5,000/month depending on features and volume tiers. - **Platform percentage**: A cut of GMV processed through the system. Common with marketplace-adjacent tools. Factor in implementation costs, integration costs, and the time your team spends managing the system. A cheap platform that requires constant babysitting is not actually cheap. ### Check the Vendor's B2B Capabilities Many ecommerce OMS platforms were built for DTC first and bolted on B2B features later. If you process wholesale orders, need EDI support, or deal with customer-specific pricing, make sure those features are native to the platform and not afterthoughts. Questions to ask: - Can the system receive and validate EDI 850 purchase orders? - Does it support customer-specific pricing and catalogs? - Can it generate EDI 856 ship notices and EDI 810 invoices? - Does it handle volume-based or tiered discounts? - Can it enforce order minimums by customer or product line? ## Common Mistakes to Avoid **Treating ecommerce as a separate silo.** If your ecommerce orders go through a different system than your wholesale and EDI orders, you are building two order management processes. Inventory will be wrong, fulfillment will be slower, and your team will waste time reconciling data between systems. **Ignoring the returns workflow.** Returns are not an edge case. Build returns handling into your evaluation criteria from the start. A system that manages forward logistics perfectly but has no returns capability will cost you later. **Over-customizing on day one.** Start with the standard workflows. Learn where the platform's defaults do not fit your operation. Then customize. Companies that start with heavy customization often end up locked into fragile configurations that break with every software update. **Choosing based on feature count instead of fit.** A platform with 200 features you do not need is harder to implement and maintain than one with 50 features that match your actual workflow. Focus on depth in the areas that matter for your specific channel mix and order volume. ## Frequently Asked Questions ### What is the difference between an ecommerce OMS and a shopping cart? A shopping cart (Shopify, WooCommerce, BigCommerce) handles the customer-facing buying experience on a single storefront. An ecommerce OMS sits behind one or more shopping carts and manages orders from all channels together. It handles inventory sync, fulfillment routing, validation, and integration with your ERP and warehouse systems. Most businesses start with just a shopping cart and add an OMS when they expand to multiple channels or when order volume makes manual management unsustainable. ### How does ecommerce order management work for B2B companies? B2B ecommerce order management follows the same core process as B2C, but adds layers of complexity. B2B buyers expect customer-specific pricing, volume discounts, net payment terms, and the ability to order through their preferred channel (whether that is your portal, EDI, email, or marketplace). A B2B ecommerce OMS needs to handle all of these variations while maintaining a unified view of inventory and order status. The biggest challenge is usually unifying orders from EDI-based retail accounts with orders from your ecommerce storefront into a single pipeline. ### Do I need an ecommerce OMS if I only sell on one channel? Probably not yet. If you sell exclusively through Shopify and your order volume is under 100 per day, your storefront's built-in order management is likely sufficient. The inflection point comes when you add a second channel (wholesale, marketplace, or B2B portal), when you need real-time inventory sync across locations, or when manual order processing starts causing errors that cost you money. At that point, the cost of an OMS is justified by the errors and labor it eliminates. ### How long does it take to implement an ecommerce order management system? Implementation timelines vary widely based on complexity. A straightforward setup connecting one storefront and one ERP can go live in two to four weeks. A multi-channel deployment with EDI, marketplace integrations, custom pricing rules, and WMS connections typically takes two to four months. The biggest variable is usually ERP integration. If your ERP has a well-documented API and your vendor has a pre-built connector, integration goes faster. Custom ERP integrations can add weeks to the timeline. Budget for data migration, testing, and a parallel-run period where both old and new systems process orders simultaneously. --- # What Does EDI Capable Mean? Requirements Guide Source: https://ordersync.io/blog/edi-capable-meaning > EDI capable means your business can exchange standardized electronic documents with trading partners. Learn what retailers require and how to get there. EDI capable means your business can receive, process, and respond to standardized electronic documents—primarily purchase orders (EDI 850), invoices (EDI 810), and advance ship notices (EDI 856)—in the format your trading partners require. Retailers use it as a supplier qualification gate; without it, you cannot do business with most major chains. **Being EDI capable means your business can send and receive standardized electronic business documents with trading partners without manual re-keying: specifically the 850 purchase order, 997 acknowledgment, 856 ship notice, and 810 invoice that most major retailers require.** Without it, you cannot pass vendor onboarding with Walmart, Target, Costco, or most grocery chains. Your buyer just sent over a vendor onboarding packet, and somewhere in the requirements it says you need to be "EDI capable." You've heard of EDI, maybe seen it mentioned in compliance documents, but nobody has explained what being EDI capable actually means for your business, your systems, or your budget. Here's the short answer. > **EDI capable means your business can send and receive electronic business documents in standardized EDI formats (like ANSI X12 or EDIFACT) with your trading partners, without manual re-keying or paper-based processes.** That's it at the highest level. But what a retailer actually expects when they say "EDI capable" involves specific transaction types, communication methods, and turnaround times. Let's break it down. ## What Retailers Mean When They Say "EDI Capable" When a retailer like Walmart, Target, or Costco tells you to become EDI capable, they're saying: "We need your systems to talk to our systems electronically, using a standard format, on our timeline." In practice, this means your company can: - **Receive purchase orders electronically** as [EDI 850 documents](/guides/edi/850-purchase-order), not PDFs or emails - **Send back functional acknowledgments** (EDI 997) confirming you received the order - **Transmit advance ship notices** ([EDI 856](/guides/edi/856-ship-notice)) before your shipment arrives at their warehouse - **Submit invoices electronically** (EDI 810) that match the original PO and ship notice Each retailer has its own specific set of required transactions and compliance rules. [Walmart EDI requirements](/edi-compliance/walmart) differ from [Target EDI requirements](/edi-compliance/target), which differ from what Costco or Amazon expect. But the core transactions above (850, 856, 810, 997) are standard across almost every major retailer. For a full primer on how EDI works, check out [our essential guide to EDI](/blog/essential-guide-to-edi). The authoritative sources that define what EDI capability requires: - [ASC X12](https://x12.org/products/transaction-sets) publishes the definitions for every transaction set retailers require, including the 850, 810, 856, and 997 - [GS1 US](https://www.gs1us.org/industries-and-insights/standards) governs the GTIN product identifiers and SSCC shipping labels that appear inside those transactions ## The Minimum Requirements to Be EDI Capable Being EDI capable isn't a single checkbox. It's a set of technical and operational capabilities. Here's what you need at minimum: ### 1. An EDI Translation Method EDI documents follow the [ANSI X12 standard](https://x12.org/) (in North America) or [UN/EDIFACT](https://unece.org/trade/uncefact/introducing-unece) (internationally). Raw EDI data looks nothing like a readable purchase order. You need software or a service that can translate between EDI format and something your team or ERP system can work with. To see what that looks like on one document, paste a sample into the [free EDI translator](/edi-translator). ### 2. A Communication Channel You need a way to send and receive EDI files with your trading partners. The main options are: - **AS2 (Applicability Statement 2)**: A direct, encrypted connection between you and your trading partner. Walmart requires AS2. - **SFTP**: Secure file transfer. Common with mid-market retailers and distributors. - **VAN (Value Added Network)**: A third-party network that routes EDI documents between trading partners. Think of it like a postal service for EDI files. ### 3. Trading Partner Setup Each retailer assigns you specific identifiers (ISA qualifier and ID) and expects documents formatted to their particular specifications. You can't just send generic EDI, you need to map your data to each partner's requirements. ### 4. Turnaround Time Compliance Most retailers expect functional acknowledgments (997s) within hours of receiving a purchase order, not days. ASN/856 documents typically need to be transmitted before the shipment arrives. Missing these windows triggers chargebacks. ### 5. Data Accuracy Your EDI documents need to match. If your invoice (810) doesn't align with the original purchase order (850) and ship notice (856), the retailer's three-way match will flag it. That means delayed payment or a chargeback. ## Three Levels of EDI Capability Not all EDI setups are equal. Understanding the levels helps you pick the right approach for where your business is today. ### Level 1: Web EDI (Manual Entry Through a Portal) Some retailers offer a web portal where you can manually key in order acknowledgments, ship notices, and invoices. The retailer's system handles the EDI translation on their end. **Pros**: Lowest cost. No software to install. Gets you "EDI capable" on paper. **Cons**: You're still doing manual data entry, just in a different screen. Doesn't scale past 5 to 10 orders per day without errors. No integration with your own systems. **Best for**: Suppliers with very low order volume from a single retailer (less than 50 orders per month). ### Level 2: Integrated EDI (Software or Service Connected to Your Systems) This is where most growing suppliers land. An EDI platform or service connects to your ERP, accounting software, or order management system. Purchase orders flow in automatically, and ship notices and invoices flow out based on your fulfillment data. **Pros**: Eliminates manual re-keying. Scales with volume. Reduces errors and chargeback risk. **Cons**: Requires ERP integration work. Monthly subscription costs. **Best for**: Suppliers processing 50 or more orders per month, or trading with multiple retailers. ### Level 3: Full Order Automation Beyond basic EDI, full automation handles the entire order lifecycle: receiving orders in any format (EDI, PDF, email, CSV), validating them against your product catalog and pricing rules, syncing to your ERP, and generating outbound EDI documents automatically. **Pros**: Handles EDI and non-EDI orders in one system. Catches errors before they reach your warehouse. Scales to thousands of orders without adding headcount. **Cons**: Higher monthly cost than basic EDI alone. **Best for**: Suppliers with mixed-format order volume who want a single pipeline for all their orders. OrderSync operates at this level, processing EDI alongside PDF, email, and spreadsheet orders through one [automated order processing](/order-processing-automation) pipeline. ## How to Become EDI Capable: A Step-by-Step Plan If a retailer just told you to become EDI capable, here's the practical path forward. ### Step 1: Get Your Retailer's EDI Requirements Ask your buyer or their vendor compliance team for their EDI implementation guide. This document specifies which transactions they require, what communication protocol they use (AS2, SFTP, VAN), their testing process, and their compliance deadlines. Don't guess at requirements. Every retailer is different. ### Step 2: Choose Your EDI Approach Based on your order volume and budget, decide between: - **Web EDI portal** (if your retailer offers one and your volume is very low) - **Cloud EDI service** (managed EDI with basic integration) - **Full order automation platform** (EDI plus multi-format processing and ERP integration) Read our [EDI for small business](/blog/essential-guide-to-edi) guide for a detailed comparison of these options and their cost implications. ### Step 3: Set Up Your Trading Partner Connection Your EDI provider will help you exchange connection details with the retailer, set up your ISA/GS identifiers, and configure document mappings to the retailer's specifications. ### Step 4: Test with Your Trading Partner Every retailer requires a testing phase before you go live. You'll exchange sample documents (test 850s, 997s, 856s, 810s) and the retailer's compliance team will validate that your documents meet their specifications. This testing phase typically takes 2 to 6 weeks depending on the retailer and how quickly issues get resolved. ### Step 5: Go Live and Monitor Once testing is complete, you switch to production. Monitor your first few weeks closely. Watch for rejected documents, late acknowledgments, or data mismatches. Our [EDI implementation guide](/blog/essential-guide-to-edi) walks through each of these steps in more detail. ## What Does EDI Capability Cost? Costs vary based on the approach you choose and how many trading partners you need to support. | Approach | Monthly Cost | Setup Cost | Best For | |----------|-------------|------------|----------| | Web EDI (retailer portal) | Free to $50/mo | None | Less than 50 orders/month, single retailer | | Cloud EDI service | $150 to $500/mo | $500 to $2,000 | 50 to 500 orders/month, 1 to 3 retailers | | Managed EDI provider | $500 to $1,500/mo | $2,000 to $5,000 | 500+ orders/month, multiple retailers | | Full order automation | $500 to $2,000/mo | $1,000 to $3,000 | Mixed formats, multiple retailers, ERP integration | The biggest hidden cost in EDI isn't the software. It's the labor cost of manual workarounds when your system doesn't handle things automatically. A single data entry error on an ASN can trigger a $500+ chargeback from a major retailer. ## EDI Capable vs. EDI Compliant: Is There a Difference? You'll sometimes see "EDI capable" and "EDI compliant" used interchangeably, but there's a practical distinction. **EDI capable** means you have the technical ability to send and receive EDI documents. You have the software, the connection, and the basic setup. **EDI compliant** means you meet a specific retailer's EDI requirements, including their document specifications, timing requirements, data quality standards, and testing certification. You can be EDI capable in general but not yet compliant with a particular retailer's rules. Think of it this way: being EDI capable is like having a driver's license. Being EDI compliant with Walmart is like passing Walmart's specific driving test. ## Frequently Asked Questions ### How long does it take to become EDI capable? For most small to mid-size suppliers, expect 4 to 12 weeks from choosing an EDI provider to going live with your first trading partner. The timeline depends on your retailer's testing process, how complex your product catalog is, and whether you need ERP integration. Web EDI portals can be set up in days, but integrated EDI takes longer. ### Can I be EDI capable without an ERP system? Yes. Web EDI portals and some cloud EDI services work independently of any ERP. You'll manage orders through the EDI platform's interface. That said, if you're processing more than a handful of orders per day, not having ERP integration means you're still doing manual data entry somewhere in your workflow. ### What happens if I'm not EDI capable and my retailer requires it? Most retailers set a compliance deadline. If you miss it, they may charge penalties per non-EDI transaction, route your orders through a web portal at your expense, or in some cases, stop placing orders with you entirely. The specifics depend on the retailer and your relationship with them. ### Is EDI capability the same for every retailer? No. Each retailer has its own EDI specifications, required transaction types, communication protocols, and compliance standards. Being EDI capable with one retailer doesn't automatically mean you're set up for another. However, once you have the infrastructure in place, adding new trading partners is mostly a configuration exercise, not a full rebuild. ### Can I test my EDI files before sending them to a retailer? Yes. You can parse and validate EDI files using tools like our [free EDI Inspector](/edi-inspector) to check document structure and segment formatting before submitting to your trading partner's testing environment. ### How do I know if my company is EDI capable? Run four checks. Can you receive a purchase order as an [EDI 850](/guides/edi/850-purchase-order) and get it into your system without anyone re-typing it? Can you return a 997 acknowledgment inside your retailer's window, often a few hours? Can you generate an [856 ship notice](/guides/edi/856-ship-notice) before the truck reaches their dock? Can you send an [810 invoice](/guides/edi/810-invoice) that matches the PO and ship notice on a three-way match? If a person keys any of those by hand through a portal, you are EDI capable on paper but not integrated, and that gap is where chargebacks start. ### Is there an EDI capable certification? No. There is no single industry credential that makes you "EDI capable." When a retailer says you need to be certified, they mean passing their own testing process: you exchange sample 850s, 997s, 856s, and 810s in their test environment, and their compliance team signs off once your documents meet their spec. Being certified with Target tells you nothing about Walmart. Any vendor selling a universal "EDI certification" is really selling testing and setup for one trading partner at a time. ### What does "EDI capable" mean for trucking and carriers? Carriers, brokers, and 3PLs exchange a different set of transactions than retail suppliers. Instead of the 850 and 810, you handle the [204 load tender](/guides/edi/204-motor-carrier-load-tender), the [990 response to a load tender](/guides/edi/990-response-to-load-tender), the [214 shipment status](/guides/edi/214-transportation-carrier-shipment-status) message, and the [210 freight invoice](/guides/edi/210-motor-carrier-freight-invoice). Being EDI capable on the freight side means you can receive a tender, accept or reject it electronically, and return status updates and invoices in the format your shipper requires. ## The Bottom Line Being "EDI capable" isn't as intimidating as it sounds. At its core, it means your business can exchange standardized electronic documents with trading partners, replacing manual emails, PDFs, and phone calls with automated data exchange. The path to getting there depends on your order volume, number of trading partners, and how much automation you want. Start with your retailer's specific requirements, choose an approach that fits your current scale, and build from there. If you're working with EDI files and want to understand what's inside them, try the [free EDI Inspector](/edi-inspector) to parse and visualize any X12 document. No signup required. --- # EDI Compliance: Requirements, Checklist, Testing Source: https://ordersync.io/blog/edi-compliance > What EDI compliance means, why retailers enforce it, requirements by trading partner, a 15-item pre-go-live checklist, and how to maintain compliance long-term. EDI compliance is the ability to send and receive electronic business documents in the exact format, timing, and structure each trading partner requires. Every major retailer (Walmart, Target, Costco, Amazon Vendor Central, Kroger) enforces it with chargebacks ranging from $50 to over $500 per shipment. Compliance covers transaction format, timing windows, label standards, and routing requirements. If you are selling to major retailers, EDI compliance is not optional. It is a prerequisite for receiving purchase orders, getting paid on time, and avoiding [chargebacks](/solutions/reduce-edi-chargebacks) that eat into your margins. Every retailer has its own EDI compliance requirements, and falling short on any of them means real financial consequences. Key authoritative references for EDI compliance: - The [ASC X12 standards body](https://x12.org/) defines the base transaction formats (850, 856, 810, 997) that all trading partner compliance programs are built on - [GS1 US](https://www.gs1us.org/industries-and-insights/standards) governs GTIN, UPC, and SSCC-18 barcode standards that retailers use for physical label scanning at receiving docks - [DISA](https://www.disa.org/) serves as the secretariat for X12 and publishes the implementation guidelines referenced in most vendor compliance manuals This guide covers what EDI compliance actually means in practice, why retailers enforce it so strictly, what specific requirements look like across major trading partners, a tactical 15-item checklist for pre-go-live testing, and how to maintain compliance over time. > **What is EDI compliance?** EDI compliance is the ability to send and receive electronic business documents (purchase orders, invoices, ship notices, and acknowledgments) in the exact format, structure, and timeframe that your trading partner requires. In North America, this typically means conforming to the [ANSI X12](https://www.x12.org/) standard while also meeting retailer-specific rules layered on top of that standard. ## Why Retailers Enforce EDI Compliance Retailers do not enforce EDI compliance to create busywork. They do it because their entire supply chain depends on accurate, timely electronic data flowing between systems without human intervention. When a supplier sends a properly formatted EDI 856 ship notice, the retailer's warehouse management system can automatically schedule dock doors, allocate labor, and match inbound shipments to open purchase orders. When that 856 is malformed, late, or missing, the whole process breaks down and someone has to fix it manually. Here is what strict EDI compliance gives retailers: - **Automated receiving.** Warehouses scan carton barcodes and match them against the ASN data. If your [856 ship notice](/guides/edi/856-ship-notice) does not include SSCC-18 labels at the carton level, the receiving team has to count and verify everything by hand. - **Three-way matching.** The retailer's AP system automatically matches the PO (850), the ASN (856), and the invoice (810). Discrepancies in any of these documents halt payment. - **Inventory accuracy.** Retailers use ASN data to update inventory counts before shipments even arrive. Bad data means bad inventory numbers, which means stockouts or overstock at the store level. - **Chargeback enforcement.** Compliance programs with financial penalties ensure suppliers take their EDI implementation seriously. Without consequences, data quality degrades quickly across thousands of supplier relationships. According to [GS1 US](https://www.gs1us.org/upcs-barcodes-prefixes/how-to-use-your-upc-barcodes/share-information-electronically), standardized EDI transactions reduce order processing errors by up to 30% compared to manual methods. But those benefits only materialize when your implementation meets the trading partner's spec. ## Core EDI Compliance Requirements While every trading partner has its own spec, most EDI compliance requirements fall into a few common categories. Understanding these categories helps you prepare for any retailer, not just the one you are onboarding with today. ### Transaction Set Support At minimum, you need to support the core EDI transaction loop: 1. **Receive the [EDI 850 purchase order](/guides/edi/850-purchase-order).** This is where it starts. Your system must accept inbound 850s and parse every required segment correctly. 2. **Send the EDI 997 functional acknowledgment.** The [997](/guides/edi/997-functional-acknowledgment) confirms you received the PO. Most retailers expect this within minutes, not hours. 3. **Send the EDI 855 PO acknowledgment.** The [855](/guides/edi/855-purchase-order-acknowledgment) tells the retailer you accept the order (or flag exceptions). Not all retailers require it, but Walmart and Target do. 4. **Send the EDI 856 ship notice (ASN).** This is the most compliance-sensitive transaction. It must be sent before the shipment arrives at the retailer's DC, and it must include the exact hierarchical structure and carton-level detail the retailer specifies. 5. **Send the EDI 810 invoice.** The [810 invoice](/guides/edi/810-invoice) must match the PO pricing and quantities exactly. Even a one-cent variance per unit can trigger a three-way match failure. Some retailers also require the [EDI 860 purchase order change](/guides/edi/860-purchase-order-change) and [EDI 846 inventory inquiry](/guides/edi/846-inventory-inquiry), depending on whether they use vendor-managed inventory or allow PO modifications. ### Data Accuracy EDI standards compliance goes beyond format. The data inside your transactions must be correct: - **Item identifiers.** UPCs, GTINs, and retailer-specific codes (like Target's DPCI) must match what the retailer has in their item master. A single digit off means a rejected line item. - **Pricing.** Your 810 invoice pricing must align with the negotiated cost in the retailer's system. Discrepancies halt payment and sometimes trigger chargebacks. - **Ship-to locations.** Every retailer distribution center and store has a specific location code. Using the wrong code, or substituting a description for a code, causes routing failures. - **Dates and times.** Ship dates, delivery dates, and PO dates must use the format your trading partner expects. The X12 standard supports multiple date formats, so check the spec. ### Timeliness Sending the right data late is almost as bad as sending the wrong data on time. Common timing requirements include: - **997 acknowledgments:** 15 to 30 minutes after receiving an 850 - **855 PO acknowledgments:** Within 24 hours of receiving the PO - **856 ASN:** Before the shipment arrives at the DC (typically sent at time of shipment) - **810 invoice:** Within 24 to 48 hours of shipment, depending on the retailer Miss these windows and you will start accumulating compliance demerits or outright chargebacks. ## Retailer-Specific EDI Compliance Requirements The [ANSI X12 standard](https://www.x12.org/) provides the syntax and structure, but each retailer adds its own layer of requirements. ### Walmart Walmart runs one of the strictest EDI compliance programs in retail: - **OTIF (On Time In Full).** Walmart measures whether your shipments arrive within the delivery window and with the full quantity ordered. OTIF failures carry financial penalties that scale with order value. See our [Walmart EDI requirements](/edi-compliance/walmart) guide. - **ASN accuracy.** Your 856 must include SSCC-18 barcodes at the carton level. Walmart's receiving process is barcode-scan-driven, and missing labels mean manual processing and chargebacks. - **997 response time.** Walmart expects functional acknowledgments within 15 minutes. - **Retail Link monitoring.** Suppliers must actively monitor their compliance scorecard on Retail Link and resolve flagged issues proactively. ### Target - **DPCI codes.** Target uses its own internal product identifier (Department, Class, Item) in addition to UPCs. Your EDI transactions must cross-reference both. See our [Target EDI requirements](/edi-compliance/target) guide. - **Carton-level ASN data.** Like Walmart, Target requires SSCC-18 at the carton level. But Target also requires DPCI references within the tare-level loops of the 856. - **Partners Online.** Target's supplier portal is where compliance status, testing, and communication happen. Registration is required before EDI testing begins. - **Labeling standards.** Target has specific GS1-128 label requirements that must match the data in your ASN. A mismatch between the physical label and the electronic data is a chargeback trigger. ### Amazon (Vendor Central) - **ASIN mapping.** Amazon uses its own product identifier system. Your item master must map UPCs to ASINs. - **PO confirmation deadlines.** Amazon enforces tight windows for confirming purchase orders. Late confirmations can result in order cancellations. - **Routing requirements.** Amazon specifies carrier and routing for most inbound shipments. Non-compliance with routing instructions triggers chargebacks. ### Quick Comparison | Requirement | Walmart | Target | Amazon | |---|---|---|---| | Primary item ID | GTIN-14 / UPC-A | UPC + DPCI | ASIN | | ASN carton tracking | SSCC-18 required | SSCC-18 + DPCI required | Required for FBA | | 997 response window | 15 minutes | 30 minutes | 24 hours | | Compliance portal | Retail Link | Partners Online | Vendor Central | | Key penalty trigger | OTIF failures | ASN/label mismatches | PO confirmation delays | The key takeaway: never assume passing compliance with one retailer means you will pass with another. Review each trading partner's spec independently. ## The EDI Compliance Checklist: 15 Items Before Go-Live A failed EDI test costs you more than time. It delays your first shipment, pushes back revenue, and in some cases gets your vendor account flagged before you have filled a single order. Here are the 15 items to verify before submitting your first test transaction. ### Trading Partner Setup (Items 1-4) **1. Obtain and read the full trading partner spec.** Every retailer publishes an EDI implementation guide (sometimes called a vendor compliance manual). This document defines which transactions are required, which segments are mandatory, and what code values to use. Do not skip sections. Do not assume it matches another retailer's spec. **2. Confirm your ISA/GS identifiers with the trading partner.** Your Interchange Sender ID (ISA06) and Application Sender Code (GS02) must match exactly what the retailer has on file. A single character mismatch means every transaction you send will be rejected at the envelope level, before content is even evaluated. **3. Establish your communication channel.** Whether you are using AS2, SFTP, or a VAN, confirm the connection is active and that test files transmit successfully in both directions. Run a basic connectivity test -- not just a ping, but an actual file exchange. If you need a refresher on how EDI connections work, our [essential guide to EDI](/blog/essential-guide-to-edi) covers the fundamentals. **4. Register for the retailer's supplier portal.** Most major retailers (Walmart Retail Link, Target Partners Online, Amazon Vendor Central) require portal registration before EDI testing begins. Your EDI transactions and the portal work together, so set up access early. ### Transaction Mapping (Items 5-8) **5. Map all required transaction sets.** At minimum, most retailers require the EDI 850 (purchase order), [855 (PO acknowledgment)](/guides/edi/855-purchase-order-acknowledgment), 856 (ship notice/ASN), 810 (invoice), and 997 (functional acknowledgment). Verify which transactions your specific trading partner mandates. Some also require the 846 (inventory inquiry) or [860 (purchase order change)](/guides/edi/860-purchase-order-change). **6. Validate segment-level mapping against the spec.** Do not just map at the transaction level. Go segment by segment. For example, the [EDI 856 ship notice](/guides/edi/856-ship-notice) typically requires hierarchical levels for shipment, order, tare (carton), and item. Missing the tare level is one of the most common 856 failures, and it triggers chargebacks at most major retailers. **7. Confirm code values match the retailer's requirements.** Qualifier codes, unit-of-measure codes, and packaging codes must use the exact values the retailer expects. A common mistake: using "EA" (each) when the retailer's spec calls for "CA" (case) at the pack level. These mismatches pass syntax validation but fail business validation. **8. Set up your 997 functional acknowledgment response.** The [997](/guides/edi/997-functional-acknowledgment) confirms that you received and syntactically accepted (or rejected) an inbound transaction. Most retailers require you to send a 997 within minutes of receiving an 850. If your system does not generate these automatically, fix that before testing. ### Data Validation (Items 9-11) **9. Validate item identifiers (UPC, GTIN, SKU).** Every line item must carry the correct product identifier in the format the retailer expects. Walmart uses GTIN-14 for case-level and UPC-A at the item level. Target requires DPCI codes cross-referenced to UPCs. Run your product catalog against the retailer's item setup file and fix mismatches before you send a single test transaction. **10. Verify pricing and quantity fields.** Your 810 invoice pricing must match what is in the retailer's purchase order system. Price discrepancies, even a fraction of a cent on unit cost, will cause three-way match failures and delay payment. Check extended amounts (unit price times quantity) for rounding consistency. **11. Confirm address and location codes.** Ship-to location codes (N1 segments with qualifier "ST") must match the retailer's distribution center or store location master. Using a description instead of the retailer's internal location code is a common failure point, especially for suppliers shipping to multiple DCs. ### Testing (Items 12-13) **12. Run a complete transaction cycle in the test environment.** Do not test transactions in isolation. Run the full cycle: receive an 850, send an 855 acknowledgment, send an 856 when you "ship," send an 810 invoice, and confirm 997s flow in both directions. This end-to-end test catches timing issues and cross-reference errors that individual transaction tests miss. **13. Validate your test files with a parser before submission.** Before sending test documents to the retailer, run them through an EDI parser to catch syntax errors, missing required segments, and envelope problems. Our [free EDI Inspector](/edi-inspector) lets you paste or upload raw EDI and see the parsed structure instantly. Fix obvious errors locally instead of burning test cycles with the retailer. ### Go-Live Readiness (Items 14-15) **14. Document your error handling and retry process.** What happens when a transaction fails? You need a defined process: who gets notified, how quickly they respond, and what the retry procedure looks like. Retailers expect acknowledgment issues to be resolved within hours, not days. **15. Confirm your team knows the retailer's compliance calendar.** Many retailers have blackout periods (typically around holidays and fiscal year-end) when they do not accept new supplier onboarding or run compliance tests. Know when your testing window is, and do not cut it close. Build in at least two weeks of buffer. ## Common Compliance Failures The same five issues account for most failed EDI compliance tests: 1. **Missing or incorrect ASN hierarchical levels.** The 856 is the most complex transaction, and most failures happen here. Specifically, missing the tare (pack/carton) level or not including SSCC-18 barcodes when the retailer requires carton-level tracking. When receiving discrepancies arise from ASN errors, the retailer may report them via an [EDI 861 receiving advice](/guides/edi/861-receiving-advice), which often leads directly to chargebacks. 2. **997 acknowledgments not sent (or sent late).** Some suppliers do not realize their system is not generating 997s automatically. The retailer sends an 850, waits for acknowledgment, and after the timeout window passes, flags the transaction as failed. If you are receiving [824 Application Advice](/guides/edi/824-application-advice) documents, that means the retailer found business-level errors even after your syntax passed the 997 check. 3. **Mismatched item identifiers.** Sending a UPC-A when the retailer expects a GTIN-14, or vice versa. This also happens when suppliers update their product catalog but do not sync the changes to their EDI mapping. 4. **Envelope-level errors (ISA/GS).** Wrong qualifier codes, incorrect sender/receiver IDs, or mismatched control numbers. Easy to fix but hard to diagnose if you are not inspecting the raw EDI file. 5. **Date and time format inconsistencies.** The X12 standard supports multiple date formats (YYMMDD, CCYYMMDD). If your system sends one format and the retailer's parser expects another, every transaction with a date field will fail validation. ## EDI Compliance Testing: Getting It Right ### Step 1: Validate Locally First Before you send a single test file to the retailer, validate your EDI output yourself. Parse your raw EDI files and inspect the segment structure, data elements, and envelope values. Our [free EDI Inspector](/edi-inspector) lets you paste or upload raw X12 data and see the parsed output instantly. Catching syntax errors locally saves you from burning test cycles with the retailer. ### Step 2: Run the Full Transaction Cycle Run the complete loop: 1. Receive a test 850 from the retailer 2. Send back a 997 acknowledgment 3. Send an 855 PO acknowledgment (if required) 4. Send an 856 ASN with carton-level detail 5. Send an 810 invoice that matches the PO pricing 6. Confirm 997s flow back from the retailer for your outbound documents Testing individual transactions misses cross-reference errors. Your 810 line items must reference the same PO numbers and quantities as the 850 and 856. ### Step 3: Verify with the Retailer's Testing Team Most retailers (or their designated testing partners like [SPS Commerce](https://www.spscommerce.com/resources/edi-documents/) or DiCentral) will review your test files and provide a pass/fail report. Common feedback includes: - Missing required segments (e.g., no tare level in the 856) - Wrong qualifier codes (e.g., using "92" instead of "UP" for UPC) - Envelope mismatches (ISA/GS sender IDs do not match their records) - Timing issues (997 sent too late or not at all) Fix every flagged issue and resubmit. Most retailers allow 2 to 3 test rounds. Failing beyond that may require restarting the process. ### Step 4: Confirm Production Readiness Once you pass testing, confirm: - Your communication channel (AS2, SFTP, or VAN) is pointing to the production endpoint, not the test environment - Your ISA qualifier indicates production ("P"), not test ("T") - Your team knows who monitors for failed transactions and how to escalate - You have a process for handling [PO changes (860)](/guides/edi/860-purchase-order-change) if the retailer sends them ## Maintaining EDI Compliance Long-Term Passing initial testing is the starting line, not the finish line. Maintaining EDI compliance requires ongoing attention. **Monitor your compliance scorecard**: Every major retailer provides a supplier scorecard through their portal. Check it weekly, and treat a declining score as an early-warning signal that chargebacks are coming before they hit your account. **Track transaction success rates**: If your 997 acknowledgment rate drops below 100%, something is wrong. Monitor the ratio of sent transactions to received acknowledgments daily so you catch failures before the retailer's compliance team flags them. **Watch for spec changes.** Retailers update their EDI requirements periodically, sometimes quarterly. According to [GS1 US](https://www.gs1us.org/upcs-barcodes-prefixes/how-to-use-your-upc-barcodes/share-information-electronically), EDI standards evolve to support new supply chain requirements like sustainability reporting and advanced ship notice enhancements. Subscribe to your retailer's portal notifications and review changes promptly. **Audit data quality monthly.** Product catalog updates, new warehouse locations, and pricing changes can all introduce compliance issues. Run a monthly sample of recent transactions through validation to catch drift before it triggers chargebacks. **Maintain your testing environment.** Keep your test connection active even after go-live. When the retailer issues spec changes or you add new product lines, you will need to re-test specific transactions without affecting production orders. **Automate what you can.** Manual compliance monitoring does not scale. If you are trading with three or more retailers, you need automated validation, acknowledgment generation, and exception alerting. OrderSync's [automated order processing](/order-processing-automation) handles this across all your trading partners from a single dashboard, flagging compliance issues before they become chargebacks. The platform supports [multi-format order processing](/multi-format-orders), so your compliance workflow covers EDI, PDF, CSV, and email order channels. If you are evaluating tools, our [B2B order automation software guide](/blog/automated-order-processing) compares approaches for managing EDI compliance at scale. Ready to see how it works? [Book a free intro call](/book) or try our [free EDI Inspector](/edi-inspector) to start validating your EDI files today. ## FAQ ### What does EDI compliance mean for suppliers? EDI compliance means your system can send and receive electronic documents in the exact format, structure, and timeframe your trading partner requires. This includes supporting the correct transaction sets (850, 856, 810, 997), populating all mandatory segments, using the right item identifiers and codes, and responding within the retailer's timing requirements. Non-compliance results in chargebacks, rejected transactions, and potentially suspended vendor status. ### What are the most common EDI compliance requirements? **The most common requirements are supporting the core transaction loop (850, 855, 856, 810, 997), sending accurate ASN data with carton-level detail and SSCC-18 barcodes, matching item identifiers to the retailer's product master, maintaining pricing consistency across POs and invoices, and responding with functional acknowledgments within the required timeframe.** For most major retailers, that window is 15 to 30 minutes for 997 acknowledgments and within 24 hours for 855 PO acknowledgments. ### How long does EDI compliance testing take? For most retailers, plan for 2 to 6 weeks. The timeline depends on how many transaction types are required, how quickly the retailer's testing team responds, and whether you pass on your first attempt. Walmart and Target typically have structured testing queues, so factor in wait times between test rounds. ### How do I test EDI compliance with a new trading partner? Start by obtaining the retailer's EDI implementation guide and mapping your transactions to their spec. Validate your EDI files locally using a parser like our [free EDI Inspector](/edi-inspector) before submitting to the retailer's test environment. Run the full transaction cycle (850 through 810) rather than testing individual documents. Most retailers allow 2 to 3 test rounds, with specific error feedback after each round. ### What happens when you fail EDI compliance? Failed compliance leads to three outcomes: chargebacks (financial penalties ranging from $500 to $5,000+ per incident), rejected transactions that stall shipments and delay payment, and in severe cases, suspended vendor status that requires re-testing from scratch. Repeated failures also damage your supplier scorecard, which affects future order allocation. ### How is EDI compliance different from EDI certification? EDI certification is the initial validation process where a trading partner confirms your system can correctly send and receive the required transaction sets. It is a one-time gate you pass to begin trading. EDI compliance is the ongoing requirement to maintain data accuracy, timeliness, and format correctness across every transaction you exchange. You get certified once, but compliance is measured continuously and carries ongoing financial consequences when you fall short. ### Can I test EDI compliance without a VAN? Yes. Many suppliers connect via AS2 (direct point-to-point) or SFTP, bypassing the need for a VAN entirely. The testing process is the same regardless of your communication method. What matters is that your transactions conform to the retailer's spec. --- # EDI Integration: What It Is and How It Works Source: https://ordersync.io/blog/edi-integration-guide > Learn what EDI integration means, how it connects your ERP to trading partners, and what to look for in an EDI integration approach. EDI integration is the automated connection between Electronic Data Interchange documents and your ERP, WMS, or OMS, so purchase orders, invoices, and ship notices flow into your systems without manual re-keying. It covers parsing the X12 or EDIFACT file, mapping fields to your ERP's data model, validating against catalog and pricing, and writing the order back. Your retailer sends you an EDI 850 purchase order. That data needs to land in your ERP as a sales order, with the right item numbers, quantities, and shipping details, without anyone re-keying it. That is EDI integration. If you are evaluating how to connect EDI to your business systems, this guide covers what EDI integration actually means, the methods available, and the common problems you will run into. ## What Is EDI Integration? **EDI integration is the process of connecting Electronic Data Interchange (EDI) with your internal business systems, such as ERP, WMS, or OMS, so that EDI documents are automatically translated, validated, and synced without manual data entry.** The [ASC X12 standard](https://x12.org/) defines the document formats (850, 856, 810, 997) that integration must support, and each trading partner adds their own field-level requirements on top of that base spec. In practice, EDI integration eliminates the gap between receiving a standardized EDI file and getting that data into your working systems. Without it, someone on your team is reading an 850 purchase order and typing line items into your ERP by hand. With it, the order flows in automatically. EDI itself is just a format, a structured way of encoding business documents like purchase orders (850), invoices (810), and ship notices (856). Integration is what makes that format useful. It connects the dots between what your trading partner sends and what your systems need. If you are new to EDI concepts, [our essential guide to EDI](/blog/essential-guide-to-edi) covers the fundamentals in detail. Key standards and resources for EDI integration: - The [ASC X12 standards body](https://x12.org/products/transaction-sets) publishes the transaction set specifications (850, 810, 856, 997, 820) that all EDI integration mappings must implement - [GS1 US](https://www.gs1us.org/industries-and-insights/standards) governs the GTIN, UPC, and SSCC-18 identifiers that must resolve correctly in your ERP cross-reference tables for items and locations - [Microsoft Dynamics 365](https://learn.microsoft.com/en-us/dynamics365/business-central/) and [NetSuite](https://docs.netsuite.com) each publish integration guides detailing how EDI data maps to sales orders, purchase receipts, and inventory transactions in their platforms ## How EDI Integration Works The technical flow breaks down into four steps, regardless of which method or tool you use. ### 1. Receive the EDI Document Your trading partner sends an EDI file (for example, an 850 purchase order) through a communication channel. That channel could be AS2, SFTP, a VAN (Value Added Network), or a direct API connection. The file arrives in a raw EDI format, which looks like a flat string of segment codes and data elements separated by delimiters. ### 2. Translate the EDI Data The raw EDI file needs to be translated into a format your business system understands. Translation software (often called an EDI translator or mapper) parses the segments and elements and maps them to corresponding fields in your system. An ISA/GS envelope becomes metadata. The PO1 segments become line items. The N1 segments become addresses. To see what that step produces for one file, paste it into the [free EDI translator](/edi-translator) and read the order back in plain English. Want to see what raw EDI looks like parsed into readable segments? Try our [free EDI Inspector](/edi-inspector) to break down any EDI file instantly. ### 3. Validate and Transform Before the data reaches your ERP, it needs validation. Does the item number exist in your product catalog? Does the trading partner ID match a known customer? Are the quantities and prices within expected ranges? Good EDI integration catches errors here, not after the data has already created a bad sales order. ### 4. Sync to Your Business System The validated, transformed data is pushed into your ERP, WMS, or OMS as a native record. A purchase order becomes a sales order. An inventory request triggers an 846 response. The data lives in your system as if someone had entered it manually, except without the errors and delays. The same flow works in reverse when you send documents to trading partners. Your ERP generates a shipment record, your integration layer translates it into an EDI 856 ASN, and sends it back through the communication channel. ## EDI Integration Methods Not all EDI integration approaches work the same way. Here is how the main methods compare. | Method | How It Works | Best For | Drawbacks | |---|---|---|---| | **Point-to-Point** | Direct connection between your system and each trading partner | Low partner count (fewer than 5) | Does not scale; each partner needs custom setup | | **VAN (Value Added Network)** | Third-party network routes EDI documents between partners | Companies with many retail trading partners | Per-transaction fees add up; adds latency | | **AS2** | Direct, encrypted internet-based transfer using digital certificates | Retailers like Walmart that require AS2 | Requires infrastructure to host an AS2 server | | **API-Based** | Modern REST/JSON layer that converts to/from EDI formats | Tech-forward companies; hybrid EDI/API environments | Not all trading partners support APIs | | **Cloud/SaaS** | Hosted platform handles translation, routing, and connectivity | Small-to-mid companies without in-house EDI expertise | Ongoing subscription costs | Most small and mid-sized suppliers end up using either a VAN or a cloud-based platform. Point-to-point works if you only trade with one or two partners, but it breaks down fast once you start onboarding more retailers. For a deeper look at how traditional EDI compares to modern API approaches, see our [EDI vs API comparison](/blog/edi-vs-api). ## Connecting EDI to Your ERP The real value of EDI integration shows up when data flows directly into your ERP. Without that connection, EDI is just another format someone has to read and re-enter. ### Common ERP Systems and EDI Most mid-market ERPs support EDI integration in some form. See our full list of [supported ERP integrations](/integrations) for details on each platform. - **SAP Business One / SAP S/4HANA**: Built-in IDoc format for EDI, but requires middleware or an integration layer to translate X12 EDI to IDocs - **Microsoft Dynamics 365**: Supports EDI through third-party connectors or direct API integration - **NetSuite**: Has native EDI support through SuiteCloud connectors and third-party EDI providers - **QuickBooks Enterprise**: Limited native EDI support; typically requires a standalone EDI tool that exports/imports CSV or IIF files - **Acumatica**: Growing EDI connector ecosystem through its marketplace - **[Oracle JD Edwards](/integrations/jd-edwards)**: EnterpriseOne and World default to batch and flat-file EDI; real-time integration runs through AIS and Orchestrator The key question is whether the integration is real-time or batch. Real-time integration creates the sales order in your ERP as soon as the EDI document arrives. Batch processing collects documents and syncs them on a schedule (every 15 minutes, every hour, etc.). For most B2B operations, batch processing at short intervals works fine. Real-time matters more when you are dealing with high-velocity, time-sensitive orders. OrderSync handles [ERP integration](/erp-integration) by connecting directly to your system through APIs, eliminating the need for file-based imports and manual data transfers. ### What to Map At minimum, an EDI-to-ERP integration needs to map these fields: - **Trading partner ID** to customer account in your ERP - **PO number** to sales order reference - **Item numbers** (UPC, SKU, buyer's item number) to your internal product codes - **Quantities and units of measure** to your inventory system - **Ship-to and bill-to addresses** to your customer address records - **Requested ship dates** to your fulfillment schedule - **Pricing** (if included) to your contract pricing or price lists The mapping layer is where most EDI integration projects spend the most time. Every trading partner has slightly different requirements for how they populate these fields, and your ERP may structure data differently than the [X12 standard](https://x12.org/) expects. ## Common EDI Integration Challenges EDI integration is not a set-and-forget project. Here are the problems that come up most often. ### Mapping Errors The most frequent issue. Your trading partner sends an item number in a format your system does not recognize, or they use a different unit of measure code than your ERP expects. A retailer might send "EA" for each while your system uses "EACH." These mapping mismatches cause orders to fail or, worse, to sync with wrong data. ### Testing and Certification Most major retailers require EDI testing before you go live. You will exchange test documents, verify that your system correctly processes them, and get certified. Walmart, Target, and Costco each have their own testing protocols. According to [GS1 US](https://www.gs1us.org/upcs-barcodes-prefixes/how-to-use-your-upc-barcodes/share-information-electronically), standardized testing procedures help reduce onboarding errors, but the reality is that each retailer still has unique quirks. If you are just starting the process, our [EDI implementation guide](/blog/essential-guide-to-edi) walks through the full setup, testing, and go-live sequence. ### Partner Onboarding Adding a new trading partner means understanding their specific EDI requirements: which transaction sets they use, what segments are required vs. optional, what communication protocol they prefer, and how they handle acknowledgments. Some retailers publish detailed implementation guides. Others hand you a 200-page spec and expect you to figure it out. [Supplier onboarding software](/blog/supplier-onboarding-software) can help systematize this process so each new partner doesn't start from scratch. ### Version and Standard Differences EDI uses versioned standards. A partner might require X12 version 4010 while another uses 5010. [ANSI X12](https://x12.org/) publishes updated versions regularly, but adoption varies widely. Your integration layer needs to handle multiple versions simultaneously. ### Error Handling and Monitoring When an EDI document fails to process, you need to know immediately. A missed 997 functional acknowledgment can trigger chargebacks. A failed 856 ASN means your shipment shows up without advance notice, and the retailer may refuse it. Good EDI integration includes alerting and exception handling so problems get caught before they become expensive. ## EDI Integration vs API Integration This is one of the most common questions in B2B integration today, and the answer is not either/or. **EDI** is the established standard for large retailers and enterprise buyers. If you sell to Walmart, Target, [Kroger](/edi-compliance/kroger), or most major retailers, you need EDI. Period. These organizations have invested decades in EDI infrastructure and are not switching to APIs anytime soon. **APIs** work well for direct, real-time integrations with platforms that support them. Shopify, Amazon, and many modern B2B marketplaces use APIs for order exchange. APIs are easier to build custom integrations around, return data in readable JSON format, and support real-time webhooks. **The practical reality**: Most B2B suppliers need both. You need EDI for your retail trading partners and APIs for your eCommerce channels and modern platforms. The best integration approach handles both through a single system rather than maintaining separate toolchains. | Factor | EDI | API | |---|---|---| | **Adoption** | Required by major retailers | Growing, especially in eCommerce | | **Data format** | Fixed-width or delimited (X12, EDIFACT) | JSON, XML | | **Speed** | Batch (minutes to hours) | Real-time (milliseconds) | | **Setup effort** | High (mapping, testing, certification) | Moderate (documentation, authentication) | | **Ongoing cost** | VAN fees, per-document charges | Usually free or usage-based API calls | | **Flexibility** | Rigid, standard-defined | Flexible, custom fields possible | For a full breakdown with use cases and cost comparisons, read our [EDI vs API comparison](/blog/edi-vs-api). ## Choosing EDI Integration Tools When evaluating EDI integration tools, focus on these factors: 1. **Trading partner support**: Does the tool already have connections to your specific retailers? Pre-built partner profiles save weeks of mapping work. 2. **ERP compatibility**: Can it connect directly to your ERP, or does it require file-based imports? Direct API connections beat flat-file transfers. 3. **Transaction set coverage**: Does it support the specific EDI documents you need (850, 810, 856, 997 at minimum for retail)? 4. **Error handling**: How does it surface failed documents? Can you set up alerts? Is there a dashboard for exceptions? 5. **Scalability**: Can it handle your current volume and grow with you? Ask about per-document pricing versus flat-rate models. 6. **Support and onboarding**: Will the vendor help you set up your first trading partner? Retailer-specific expertise matters. For a comparison of the leading options, check out our guide to the [best EDI software](/blog/best-edi-software-2026). ## Frequently Asked Questions ### What is EDI integration? EDI integration is the automated connection between EDI (Electronic Data Interchange) documents and your business systems like ERPs, warehouse management systems, or order management platforms. It translates standardized EDI files into data your systems can process without manual entry. ### What is the difference between API and EDI? EDI uses fixed-format standards (like X12) and typically operates in batch mode through VANs or AS2 connections. APIs use modern formats (JSON, XML), work in real time over HTTP, and are more flexible for custom integrations. Most B2B companies need EDI for retail trading partners and APIs for eCommerce platforms. Read more in our [EDI vs API comparison](/blog/edi-vs-api). ### Is EDI like SAP? No. EDI is a data exchange standard, not a software product. SAP is an ERP system. However, SAP does support EDI through its IDoc (Intermediate Document) framework. You still need an EDI integration layer or translator to convert between X12 EDI format and SAP's IDoc format. ### How much does EDI integration cost? Costs vary widely depending on your approach. VAN-based solutions typically charge $200 to $2,000+ per month plus per-document fees ($0.05 to $0.50 per transaction). Cloud-based EDI platforms range from $150 to $1,500 per month on flat-rate pricing. Full on-premise EDI software can cost $10,000 to $50,000+ upfront plus maintenance. The total cost depends on your trading partner count, document volume, and ERP complexity. ### Can I integrate EDI with Shopify? Yes. Several EDI integration tools connect Shopify to EDI-based trading partners. The typical approach uses a cloud EDI platform as middleware: your retailer sends an EDI 850, the platform translates it, and it pushes the order to Shopify (or pulls it from Shopify for fulfillment-related documents). This lets you keep Shopify as your order hub while meeting retailer EDI requirements. OrderSync supports this pattern through its [ERP integration](/erp-integration) capabilities. --- EDI integration is one piece of a larger [supply chain integration](/blog/supply-chain-integration) picture. Every trading partner has different requirements, every ERP structures data differently, and the gap between "we can receive EDI files" and "EDI data flows automatically into our systems" is where the real work happens. Start by understanding what your largest trading partners require, pick an integration approach that matches your technical resources, and plan for the mapping and testing work that makes it all connect. If you want to inspect EDI files as part of your evaluation, our [free EDI Inspector](/edi-inspector) lets you parse and analyze any EDI document without signing up. --- # EDI Mapping Tools: Map Transactions to ERP Source: https://ordersync.io/blog/edi-mapping-tools > Learn what EDI mapping is, how mapping tools translate EDI segments to your system's fields, and what to look for when choosing an EDI mapping solution. EDI mapping tools translate between your trading partner's EDI format and your internal system's field structure. They define which EDI segment maps to which ERP field—for example, BEG03 to order number, PO1 to line items. Most EDI platforms include a mapping interface; standalone tools are used when building custom integration pipelines. **EDI mapping is the process of defining how each data element in an EDI transaction translates to a specific field in your ERP, and every trading partner relationship requires its own map because retailers each extend the X12 standard differently.** You received your first EDI 850 from a retailer. You opened the file. It looks like a wall of codes, qualifiers, and pipe-delimited values. Somewhere in that file is the item number, quantity, unit price, and ship-to address your ERP needs to create a sales order. EDI mapping is how you get from point A to point B. This guide covers how EDI mapping works, the types of mapping you will deal with, and what to look for when choosing EDI mapping tools for your operation. Standards that govern EDI mapping: - The [ASC X12 standards body](https://x12.org/products/transaction-sets) publishes the transaction set definitions that determine element positions, data types, and mandatory vs. optional fields in every map - [GS1 US](https://www.gs1us.org/industries-and-insights/standards) defines the UPC, GTIN, and SSCC identifiers that appear in cross-reference lookup tables within your ERP mapping layer - [NetSuite's integration documentation](https://docs.netsuite.com) and [Dynamics 365 Business Central guides](https://learn.microsoft.com/en-us/dynamics365/business-central/) describe the target field structures that EDI maps must route data into ## What Is EDI Mapping? **EDI mapping is the process of defining how each data element in an EDI transaction translates to a specific field in your ERP, WMS, or OMS, using the segment positions defined by the [ASC X12 standard](https://x12.org/products/transaction-sets) as the source structure.** It tells your software where to put each piece of data from the incoming EDI file. Without a correct map, your system either rejects the file entirely or puts data in the wrong fields. Think of it this way: an EDI 850 purchase order contains segments like PO1, N1, DTM, and CTT. Each segment holds data elements in a fixed position. Your ERP has fields like "Item Number," "Quantity Ordered," "Unit Price," and "Ship-To Address." EDI mapping connects those two worlds. Without a correct map, your system either rejects the file entirely or puts data in the wrong fields. A mismatched UOM code means you ship 12 individual units instead of 12 cases. A missed qualifier means the billing address lands in the ship-to field. These are real problems that correct mapping prevents. For a full breakdown of EDI fundamentals, see our [essential guide to EDI](/blog/essential-guide-to-edi). ## How EDI Mapping Works: A Concrete Example Let's walk through a real mapping scenario. Here is a PO1 (line item) segment from an EDI 850 purchase order: ``` PO1*1*24*CA*15.99*PE*UP*012345678901*VN*ABC-1234~ ``` Each element in that segment occupies a defined position according to the [ASC X12 standard](https://www.x12.org/). Here is what each element means and where it maps in your ERP: | Position | EDI Element | Value | Maps to ERP Field | |----------|------------|-------|-------------------| | PO101 | Line Number | 1 | Line Sequence | | PO102 | Quantity Ordered | 24 | Order Qty | | PO103 | Unit of Measure | CA (Case) | UOM | | PO104 | Unit Price | 15.99 | Unit Price | | PO105 | Price Basis | PE (Price per Each) | Price Type | | PO106-07 | UPC Code | 012345678901 | Item Lookup (UPC) | | PO108-09 | Vendor Part Number | ABC-1234 | Your SKU | Your EDI mapping tool reads this segment, identifies each element by its position, and routes the value to the corresponding field in your ERP's sales order. The UPC might trigger a cross-reference lookup to find your internal item number. The UOM code "CA" might need to be translated to "CASE" or "CS" depending on what your system expects. Want to see how EDI segments break down visually? Paste any EDI file into our [free EDI Inspector](/edi-inspector) to parse it segment by segment. For a deep dive into every segment in a purchase order, check out our [EDI 850 purchase order guide](/guides/edi/850-purchase-order). ## Types of EDI Mapping Not all mapping is a simple "take value from position X, put it in field Y." Here are the five types of mapping you will encounter: | Mapping Type | What It Does | Example | |-------------|-------------|---------| | **Element-to-Field** | Direct 1:1 mapping from an EDI element to a system field | PO102 (Quantity) maps to Order Qty field | | **Conditional** | Maps differently based on qualifier codes or values | If N101 = "ST", map N1 address to Ship-To; if N101 = "BT", map to Bill-To | | **Cross-Reference / Lookup** | Converts a trading partner's value to your internal value | Retailer's UPC 012345678901 looks up your SKU "WIDGET-BLU-LG" | | **Calculated** | Derives a value from one or more EDI elements | Line total = PO102 (Qty) x PO104 (Price) | | **Default Value** | Inserts a fixed value when the EDI data is missing or not applicable | If no warehouse code is sent, default to "MAIN" | Most real-world EDI implementations use all five types. A single 850 purchase order might have direct field maps for quantities, conditional logic for address routing, cross-reference lookups for item numbers, calculated fields for line totals, and default values for fields your retailer does not send. ## Common EDI Mapping Challenges If mapping were just direct element-to-field, it would be straightforward. In practice, these are the issues that eat up your time: ### Different Retailers, Different Structures Retailer A sends the vendor part number in PO109. Retailer B sends it in PO115. Retailer C uses the REF segment with a qualifier of "VN" instead. Your mapping has to account for each trading partner's interpretation of the X12 standard. This is why most EDI mapping tools support trading-partner-specific maps. You cannot use a single map for all your retail customers. ### UOM Mismatches Your retailer sends "EA" (each), but your ERP uses "PCE" (piece). Or they send "CA" (case), but your system expects "CS." These seem like small differences, but they break automated order processing if your mapping does not include a UOM translation table. The [GS1 US standard](https://www.gs1us.org/upcs-barcodes-prefixes/how-to-use-your-upc-barcodes/share-information-electronically) defines unit of measure codes, but not every trading partner follows GS1 conventions exactly. Your mapping tool needs to handle these translations per partner. ### Missing Required Fields Your ERP requires a customer PO number on every sales order. Most retailers include it in the BEG segment. But some trading partners send orders without it, or put it in a REF segment with a different qualifier. Your mapping needs fallback logic: check BEG05 first, then look for REF*PO, and flag an error if neither exists. ### Qualifier Code Variations EDI uses qualifier codes to identify what type of data follows. The N1 segment can contain a ship-to address (qualifier "ST"), bill-to address ("BT"), buying party ("BY"), or seller ("SE"). Your mapping has to route each one correctly based on the qualifier. Miss one, and your ship-to address is blank or wrong. These are the kinds of problems covered in detail in our [EDI integration guide](/blog/edi-integration-guide). ## What to Look for in EDI Mapping Tools EDI mapping software ranges from drag-and-drop visual tools to code-based scripting environments. The right choice depends on your team's technical depth and how many trading partners you support. ### Visual Mapper vs. Code-Based **Visual mappers** let you draw connections between EDI elements and system fields in a GUI. You see the source EDI structure on one side and your target system fields on the other. You drag lines between them. Good for teams without dedicated EDI developers. **Code-based mapping** uses scripting languages (often proprietary or based on XSLT/Python) to define transformations. More flexible for complex logic, but requires someone who can write and maintain the scripts. If your team handles fewer than 10 trading partners and your mapping logic is mostly direct, a visual mapper will save you time. If you deal with dozens of partners with complex conditional logic, you will likely need scripting capability. ### Pre-Built Trading Partner Maps Some EDI mapping tools come with pre-built maps for major retailers like Walmart, Target, Amazon, and Costco. These maps already know that Walmart sends the DPCI in a specific REF segment and that Target expects carton-level data in the 856. Pre-built maps are not plug-and-play (you still need to map to your specific ERP fields), but they eliminate hours of studying each retailer's EDI implementation guide. Check whether your mapping tool supports the retailers you sell to before buying. The same applies on the ERP side: a platform with a direct connector to your system, such as [Odoo EDI integration](/integrations/odoo), removes the field-mapping work entirely. For a comparison of EDI platforms with pre-built maps, see our [best EDI software](/blog/best-edi-software-2026) guide. ### Testing and Validation Your mapping tool should let you test maps against sample EDI files before going live. Feed in a real 850 from your trading partner and verify that every field lands correctly in the output. Good testing features include: - **Side-by-side preview**: See the source EDI and the mapped output together - **Error highlighting**: Flag unmapped required fields or data type mismatches - **Sample file library**: Test against different trading partners without waiting for live data - **Regression testing**: Verify that fixing one partner's map does not break another ### Error Handling and Exception Management When a mapping fails (and it will, especially during onboarding), your tool should tell you exactly what went wrong. "Mapping error on line 47" is useless. "PO1 segment missing required element in position 09 (Vendor Part Number) for trading partner ACME Corp" is actionable. Look for tools that offer configurable error rules: some missing fields are fatal (reject the order), while others can use default values and flag for review. Your [ERP integration](/erp-integration) will only be as reliable as your error handling. ## Mapping the Most Common EDI Transactions Each transaction type has its own mapping requirements. Here is a quick overview of the four transactions most B2B suppliers deal with daily: ### EDI 850 (Purchase Order) Mapping The 850 is your most critical inbound map. Key segments to map: BEG (PO number, date, type), PO1 (line items), N1/N3/N4 (addresses), DTM (dates), and CTT (totals). This is where item cross-references, UOM translations, and conditional address routing all come into play. See our [EDI 850 purchase order guide](/guides/edi/850-purchase-order) for a full segment breakdown. ### EDI 810 (Invoice) Mapping The 810 maps your outbound invoice data from your ERP to EDI format. You are going in the opposite direction: pulling fields like invoice number, line items, quantities shipped, and pricing from your system and placing them into IT1, TDS, and CAD segments. The challenge is matching your invoice lines back to the original PO line numbers. ### EDI 856 (Ship Notice / ASN) Mapping The 856 is the most structurally complex transaction to map because it uses a hierarchical loop structure (HL segments) to represent shipment, order, pack, and item levels. You need to map carton IDs (MAN segments), SSCC-18 barcodes, and item-level detail under the correct hierarchy. A wrong HL parent-child relationship means your retailer's warehouse cannot process the shipment. Our [EDI 856 ship notice guide](/guides/edi/856-ship-notice) walks through the hierarchy in detail. ### EDI 997 (Functional Acknowledgment) Mapping The 997 is the simplest to map. It acknowledges that you received and could parse an inbound EDI transaction. Your mapping tool should generate 997s automatically when an inbound file is successfully processed. The key mapped elements are the transaction set identifier (what you are acknowledging) and the acceptance code (accepted, accepted with errors, or rejected). ## FAQ ### What is the difference between EDI mapping and EDI translation? EDI translation is the broader process of converting an EDI file from its raw format into something your system can use (and vice versa). EDI mapping is the specific step within translation where you define which EDI element goes to which system field. Translation includes parsing the file structure, applying the map, and outputting the result. Mapping is the ruleset that drives the translation. To see the translation half on a real file, the [EDI translator](/edi-translator) turns any X12 or EDIFACT document into plain English, a CSV of lines or JSON. ### Can I use one EDI map for all my trading partners? Generally, no. While the X12 standard defines the segment structure, each trading partner can use optional segments differently, put data in different positions, and use different qualifier codes. Most EDI mapping tools support partner-specific maps so you can maintain a separate mapping configuration for each retailer or customer. ### How long does it take to map a new trading partner? For a standard 850/810/856/997 setup with a major retailer, expect 2 to 5 days of mapping and testing work if you have pre-built templates, or 1 to 3 weeks if you are building maps from scratch. The complexity depends on how many conditional rules, cross-references, and custom fields the partner requires. ### Do I need a developer to set up EDI mapping? It depends on the tool. Visual mapping tools are designed for business analysts and operations staff who understand their ERP fields but do not write code. Code-based mapping tools require someone comfortable with scripting. If you pick a platform with pre-built maps and a visual interface, your operations team can handle most of the setup. ### What happens when my trading partner changes their EDI requirements? Retailers periodically update their EDI implementation guides, adding new required segments or changing qualifier codes. When this happens, you need to update your map accordingly. Good EDI mapping tools version your maps so you can see what changed, test the updated map against sample files, and roll back if something breaks. Subscribe to your trading partners' EDI update notifications so you are not caught off guard. --- EDI mapping is the part of your EDI setup that determines whether orders flow cleanly into your ERP or pile up as errors. The right EDI mapping tools give you visibility into exactly how each segment translates, the flexibility to handle partner-specific quirks, and the testing capability to catch problems before they hit production. If you are evaluating your options, start by understanding what your top trading partners actually send, then pick a tool that matches your team's technical depth. To see your EDI data broken down into readable segments before you start mapping, try our [free EDI Inspector](/edi-inspector). For a broader look at how EDI fits into your order automation stack, read our [EDI integration guide](/blog/edi-integration-guide). --- # EDI Payments Explained: How EDI 820 Works Source: https://ordersync.io/blog/edi-payments-explained > Learn what EDI payments are, how the EDI 820 payment order works, and how electronic payments fit into the order-to-cash cycle for B2B suppliers. The EDI 820 is a payment order and remittance advice sent from a buyer to a supplier to communicate payment details. It includes invoice numbers, amounts paid, and deduction reasons—so you know exactly what was paid and what was deducted before your bank statement arrives. Most large retailers send 820s with every payment run. **EDI payments use the X12 820 transaction to carry remittance data alongside ACH transfers, telling suppliers exactly which invoices are being paid and what deductions have been applied, so accounts receivable teams can auto-match without manual research.** You shipped the goods. You sent the ASN. Your invoice matched the PO. Now you're waiting for payment, and you need to know exactly when it hits your account, how much it covers, and which invoices it applies to. That's the problem EDI payments solve. If you've ever received a lump-sum ACH deposit and spent hours figuring out which invoices it covered (and which deductions were taken), you already understand why structured electronic payment data matters. Key data points on EDI payment volume and standards: - [NACHA](https://www.nacha.org/) reports that B2B ACH payment volume reached 7.7 billion transactions in 2024, with the CTX format being the primary method for commercial payments that include remittance data - The [ASC X12 standards body](https://x12.org/products/transaction-sets) defines the 820 Payment Order/Remittance Advice structure used by major retailers including Walmart and Target - The [Federal Reserve's ACH processing guides](https://www.federalreserve.gov/paymentsystems/fedach_about.htm) outline settlement timing that affects the gap between when an 820 arrives and when funds clear your account ## What Is an EDI Payment? **An EDI payment is the electronic exchange of payment instructions and remittance data between trading partners using standardized transaction sets, most commonly the [EDI 820](https://x12.org/products/transaction-sets) defined by the ASC X12 standards body.** The 820 tells the supplier what is being paid, how much, and which invoices the payment covers. It is not the money transfer itself: that moves through ACH or wire. The 820 is the detailed remittance stub that accompanies the payment. An EDI payment is not the money transfer itself. This is the most common point of confusion. The EDI 820 is the *data* that accompanies the payment. The actual funds move through banking channels like ACH or wire transfer. The 820 tells you how to apply those funds to your open invoices. Think of it this way: the ACH deposit is the check arriving in your mailbox. The EDI 820 is the remittance stub attached to it, listing every invoice, every adjustment, and every deduction line by line. ## The EDI 820 Transaction Set Explained The EDI 820 Payment Order/Remittance Advice is defined by the [ASC X12 standard](https://x12.org) and serves two purposes (our [EDI 820 guide](/guides/edi/820-payment-order) covers every segment in detail): 1. **Payment order**: Instructs a financial institution to make a payment 2. **Remittance advice**: Tells the supplier which invoices the payment covers and any adjustments applied Most suppliers encounter the 820 as remittance advice from their retail customers. Here's what a typical 820 contains: ### Header-Level Data - **Payer identification**: The buyer's name, DUNS number, or other identifier - **Payee identification**: Your company info as the supplier - **Payment method**: ACH, wire, check - **Total payment amount**: The sum being transferred - **Payment date**: When funds were or will be released - **Trace number**: The banking reference number that ties the 820 to the actual ACH or wire transfer ### Remittance Detail This is where the 820 gets practical. Each remittance record includes: - **Invoice number**: Which of your invoices this payment covers - **Invoice amount**: The original amount you billed - **Amount paid**: What's actually being paid on that invoice - **Adjustment amounts**: Deductions, discounts, allowances, or chargebacks applied - **Adjustment reason codes**: Standardized codes explaining why the paid amount differs from the invoiced amount A single 820 can reference dozens or even hundreds of invoices. For suppliers shipping to major retailers, a weekly payment run might cover 50+ invoices in one remittance. ### A Simplified 820 Example Here's what the key segments look like in an EDI 820: ``` ST*820*0001 BPR*C*15420.00*C*ACH*CTX*01*021000021*DA*123456789*1234567890**01*071000505*DA*987654321*20260315 TRN*1*PAYMENT20260315*1234567890 N1*PR*ACME RETAILERS*01*987654321 N1*PE*YOUR COMPANY*01*123456789 ENT*1 RMR*IV*INV-2026-0401**8500.00*8500.00 ENT*2 RMR*IV*INV-2026-0402**7200.00*6920.00 ADX*280.00*01*AJ SE*13*0001 ``` In this example, two invoices are being paid. The first (INV-2026-0401) is paid in full at $8,500. The second (INV-2026-0402) had a $280 deduction applied, reducing the payment from $7,200 to $6,920. The BPR segment shows the total payment of $15,420 moving via ACH. If you want to inspect the structure of EDI files like this, you can parse them with our [free EDI Inspector](/edi-inspector) to see each segment and element broken down. ## EDI Payments vs. ACH vs. Wire Transfers vs. Checks These terms often get mixed up. Here's how they relate: | | **EDI 820** | **ACH** | **Wire Transfer** | **Paper Check** | |---|---|---|---|---| | **What it is** | Data describing the payment | Electronic funds transfer via bank network | Real-time bank-to-bank transfer | Physical payment instrument | | **Moves money?** | No, data only | Yes | Yes | Yes | | **Remittance detail** | Full invoice-level detail | Limited (addenda records) | Minimal | Paper stub, if any | | **Speed** | Transmitted instantly | 1-3 business days | Same day | 5-10+ business days | | **Cost per transaction** | Minimal (part of EDI infrastructure) | $0.20-$1.50 typically | $15-$45 typically | $4-$20 (printing, postage, processing) | | **Best for** | Matching payments to invoices | High-volume B2B payments | Large, time-sensitive payments | Legacy processes | The key point: ACH moves the money, the EDI 820 tells you what the money is for. Most large retailers use both together. They initiate an ACH payment through their bank and send an 820 through their EDI connection so your accounts receivable team can auto-apply the payment. According to [NACHA (the organization governing the ACH network)](https://www.nacha.org/), B2B ACH payment volume reached 7.7 billion transactions in 2024, with the CTX (Corporate Trade Exchange) format being the primary method for commercial payments that include remittance data. The EDI 820 often accompanies these CTX transactions. ## The Order-to-Cash EDI Flow: Where Payments Fit EDI payments don't exist in isolation. They're the final step in a well-defined order-to-cash cycle. Here's how the full flow works: ### Step 1: EDI 850 (Purchase Order) Your retail customer sends an [EDI 850 purchase order](/guides/edi/850-purchase-order) with item details, quantities, pricing, and ship-to information. This is the starting point for every transaction. ### Step 2: EDI 855 (Purchase Order Acknowledgment) You confirm receipt and acceptance of the order. This is your commitment to fulfill. ### Step 3: EDI 856 (Advance Ship Notice) When you ship, you send the ASN with carton-level detail, tracking numbers, and ship dates. ### Step 4: EDI 810 (Invoice) After shipment, you send your [EDI 810 invoice](/guides/edi/810-invoice). The retailer's AP system performs three-way matching against the 850 and 856 to verify the invoice. You can dig into the segment-level details in our [EDI 810 invoice guide](/guides/edi/810-invoice). ### Step 5: EDI 820 (Payment Order/Remittance Advice) The retailer processes the approved invoice and sends an 820 confirming payment details. The funds move separately through ACH or wire. ### Step 6: Cash Application Your AR team (or your system) matches the 820 remittance data to open invoices and applies the payment in your ERP. When this flow is fully automated through [ERP integration](/erp-integration), the entire cycle from PO to cash application can happen without manual intervention. The 820 data feeds directly into your accounts receivable module, closing out invoices automatically. ## Common Problems with EDI Payments The 820 solves many payment reconciliation headaches, but it introduces its own set of challenges. Here are the issues suppliers run into most often. ### 1. Remittance Matching Failures The 820 references your invoice numbers, but if there's any mismatch between what the retailer recorded and what's in your system, the auto-match fails. Common causes: - **Leading zeros or formatting differences**: Your system stores "INV-00412" but the 820 says "INV-412" - **PO number mismatches**: The retailer references their PO number instead of your invoice number - **Duplicate invoice numbers**: Especially common when working with multiple divisions of the same retailer When matching fails, someone has to manually research and apply the payment. At scale, this becomes a full-time job. ### 2. Partial Payments and Short-Pays Retailers frequently pay less than the invoiced amount. The 820 should include adjustment reason codes explaining each deduction, but in practice: - Some retailers use vague or generic reason codes - Adjustment descriptions may not match the actual issue - Multiple small deductions on a single invoice can be difficult to research and dispute ### 3. Deductions and Chargebacks Retailers take deductions for compliance violations, early payment discounts, promotional allowances, and shipping variances. The 820 is supposed to itemize these, but the level of detail varies dramatically by trading partner. A $200 "compliance" deduction on an 820 doesn't tell you much. Was it a late shipment? Wrong packaging? Missing ASN data? Without digging into the retailer's vendor portal, the 820 alone often doesn't give you enough information to dispute or accept the deduction. ### 4. Timing Gaps The 820 might arrive days before or after the actual ACH deposit hits your bank account. This creates a reconciliation window where your AR team has remittance data but no corresponding bank transaction (or vice versa). The [Federal Reserve's guide to ACH processing](https://www.federalreserve.gov/paymentsystems/fedach_about.htm) outlines settlement timing, but in practice, the gap between EDI transmission and funds availability varies by bank and payment type. ### 5. Missing 820s Not all trading partners send 820s consistently. Some send them for every payment. Others only send them occasionally or not at all. When an ACH deposit arrives with no corresponding 820, your AR team is back to manually researching which invoices were paid. ## How to Handle EDI Payment Data Effectively If you're processing a high volume of EDI payments, here are the practices that make the biggest difference: **Automate cash application.** Map 820 remittance data directly into your ERP's accounts receivable module. Don't let payment data sit in a queue waiting for someone to manually post it. **Standardize invoice numbering.** Make sure the invoice numbers in your 810s will match what comes back in the 820. Talk to your trading partners about formatting expectations. **Track deductions systematically.** Build a process for categorizing, researching, and disputing deductions. The 820 gives you the data. You need a workflow to act on it. **Reconcile daily.** Match 820 data against bank transactions every day. The longer you wait, the harder it gets to research discrepancies. **Use your EDI infrastructure.** If you're already sending and receiving 850s, 810s, and 856s, adding the 820 to your workflow is straightforward. The same EDI connection handles all of it. For a broader look at how all these transactions work together, see [our essential guide to EDI](/blog/essential-guide-to-edi). ## Frequently Asked Questions ### What does EDI payment mean? EDI payment refers to the electronic exchange of payment-related data between business trading partners using standardized formats. The primary transaction is the EDI 820 Payment Order/Remittance Advice, which communicates what is being paid, how much, and which invoices the payment covers. The EDI 820 carries the payment information, while the actual funds move through banking systems like ACH or wire transfer. ### Is the EDI 820 the same as an ACH payment? No. The EDI 820 is a data transaction that describes the payment. ACH is a banking network that moves money between accounts. They work together: the retailer sends funds via ACH and sends the 820 via EDI so the supplier knows how to apply the payment. Think of the 820 as the detailed remittance stub and ACH as the actual deposit. ### What is the difference between an EDI 810 and an EDI 820? The [EDI 810](/guides/edi/810-invoice) is an invoice sent by the supplier to the buyer, requesting payment. The EDI 820 is a payment order or remittance advice sent by the buyer to the supplier, confirming that payment has been (or will be) made. The 810 says "you owe me $10,000 for these items." The 820 says "I'm paying you $9,700 on these invoices, with $300 in deductions." ### Do all trading partners send EDI 820s? No. While major retailers like Walmart and Target typically send 820s, many trading partners do not. Some provide remittance information through vendor portals or email instead. If your trading partner doesn't send 820s, you'll need to reconcile payments manually against your bank statements or request they add the 820 to your EDI setup. ### How do I start receiving EDI 820 payments? If you already have an EDI connection with a trading partner for transactions like the 850 or 810, adding the 820 usually requires a mapping update and testing with that partner. You'll need to map the 820 segments to your ERP's cash application fields. If you're new to EDI entirely, check out our [EDI implementation guide](/blog/essential-guide-to-edi) for a step-by-step walkthrough. --- # EDI VAN Explained: What It Is and When You Need One Source: https://ordersync.io/blog/edi-van-explained > Learn what an EDI VAN (Value Added Network) is, how it works, what it costs, and when direct connections or API-based alternatives make more sense. An EDI VAN (Value Added Network) is a third-party mailbox service that routes EDI documents between trading partners. You connect once to the VAN; it handles delivery to your partners' mailboxes. VANs add cost per kilocharacter but simplify connectivity—most suppliers use them until volume justifies direct AS2 connections. **An EDI VAN (Value Added Network) is a managed intermediary service that routes EDI documents between trading partners, handling transport, delivery tracking, and format translation for companies that need to trade with multiple retailers without building separate point-to-point connections.** If you've been told you need a VAN to trade EDI documents with a retailer, you're probably wondering what it actually does, what it costs, and whether you really need one. This guide breaks down how EDI VANs work, what providers charge, and when alternatives like AS2, SFTP, or API connections make more sense for your business. ## What Is an EDI VAN? **An EDI VAN (Value Added Network) is a private, managed network that acts as an intermediary between trading partners, routing [X12 EDI documents](https://x12.org/products/transaction-sets) from sender to receiver, handling connectivity, translation, and delivery confirmation so you only need one connection instead of one per trading partner.** The easiest way to understand a VAN is the **mailbox analogy**. When you send an EDI purchase order through a VAN, you're dropping it into your outbound mailbox. The VAN picks it up, figures out where it needs to go, and deposits it into your trading partner's inbound mailbox. Your partner checks their mailbox, retrieves the document, and processes it. This model solved a real problem in the 1980s and 1990s. Before VANs, companies had to establish point-to-point connections with every single trading partner. If you traded with 50 retailers, you needed 50 separate communication links. A VAN reduced that to one connection: yours to the VAN. The VAN handled routing to everyone else. Standards and context for EDI VANs: - The [ASC X12 standards body](https://x12.org) defines the document formats (850, 856, 810, 997) that VANs transport, but X12 governs format only; VANs handle the delivery layer - [DISA (Data Interchange Standards Association)](https://www.disa.org) maintains the X12 secretariat and provides VAN industry context, including guidelines on interoperability between different VAN providers For a broader overview of how EDI works, check out our [essential guide to EDI](/blog/essential-guide-to-edi). ## How a VAN Works A VAN does three core things: message routing, format translation, and monitoring. ### Message Routing When you send an EDI document (say, an 810 invoice), you transmit it to the VAN using a protocol like AS2 or SFTP. The VAN reads the envelope segments (ISA/GS headers) to identify the receiver, then deposits the document into the correct trading partner's mailbox. If your partner uses a different VAN, the two VANs handle the interconnect automatically. ### Format Translation Some VANs offer translation services. If your system outputs flat files or CSV, the VAN can convert that into proper [X12 EDI format](https://x12.org/products/transaction-sets) before delivering it. This is where the "value added" part of the name comes from. Not all VANs include translation in their base pricing, and many charge extra for it. ### Monitoring and Compliance VANs track document delivery status, flag failed transmissions, and generate audit trails. If a functional acknowledgment (997) doesn't come back within the expected window, the VAN can alert you. Some VANs also validate documents against trading partner specs before delivery, catching errors early. You can also validate your EDI documents before sending them through a VAN by using our [free EDI Inspector](/edi-inspector), which parses and checks EDI files right in your browser. ## VAN Pricing and Fee Structure VAN pricing is notoriously opaque. Most providers don't publish their rates, and costs vary based on volume, document types, and contract terms. Here's what the typical fee structure looks like: ### Common VAN Fee Components - **Monthly base fee:** $150 to $500/month for basic connectivity and mailbox access - **Per-KCH (kilo-character) fees:** $0.02 to $0.15 per 1,000 characters transmitted. A typical EDI 850 purchase order runs 2 to 5 KCH, so you're paying $0.04 to $0.75 per PO just for transport - **Envelope fees:** $0.05 to $0.50 per interchange envelope (ISA/IEA wrapper) - **Interconnect fees:** Additional charges when your trading partner uses a different VAN. These can range from $0.03 to $0.10 per KCH on top of your standard rate - **Translation fees:** $0.10 to $0.50 per document if the VAN handles format conversion - **Setup and onboarding fees:** $500 to $2,500 per trading partner for initial mapping and testing ### What This Looks Like in Practice A mid-size supplier processing 500 EDI documents per month through a VAN might pay: - Monthly base: $300 - Per-KCH charges (assuming 3 KCH average): $22.50 to $225 - Envelope fees: $25 to $250 - **Total: roughly $350 to $775/month** At higher volumes (5,000+ documents/month), those per-transaction fees add up fast. According to [GS1 US](https://www.gs1us.org/upcs-barcodes-prefixes/how-to-use-your-upc-barcodes/share-information-electronically), EDI adoption continues to grow across retail supply chains, which means transaction volumes (and VAN costs) tend to increase year over year. ## Major EDI VAN Providers **A handful of networks carry most VAN traffic, and they interconnect, so your trading partner does not have to be on the same VAN as you.** What differs is the model: some sell transport only, others bundle translation, mapping, and support. | Provider | Model | Who it suits | Note | |---|---|---|---| | **[SPS Commerce](/ordersync-vs/sps-commerce)** | Full-service retail network: connection, mapping, testing, compliance | Suppliers selling into many retailers | Subscription pricing; owns Data Masons, the Microsoft Dynamics EDI provider it [bought in December 2020](https://www.sec.gov/Archives/edgar/data/1092699/000119312520319557/d45407dex991.htm) | | **OpenText (formerly GXS)** | Large global B2B network (Trading Grid) | Large enterprises with global partners | Integration services well beyond basic VAN transport | | **IBM Sterling** | Sterling B2B network plus integration software | Fortune 500 companies and large retailers | Often paired with on-premise Sterling integration tools | | **Kleinschmidt** | Privately held VAN plus managed integration | Mid-market, logistics, and transportation | Has run its own VAN [since 1987](https://kleinschmidtinc.com) | | **Commport** | VAN with translation and validation | Small and mid-size suppliers | [Usage-based pricing](https://www.capterra.co.uk/software/1067142/Commport-VAN), interconnects with the major VANs | | **Loren Data (ECGrid)** | Interconnect network with an API | Software vendors and teams building their own EDI | [Documented API](https://github.com/LorenData/ECGridOS_API/wiki/Value-Added-Networks) for VAN interconnects | Most providers do not publish per-KC rates. Get the rate card in writing, including interconnect charges, before you sign. For a deeper comparison of EDI platforms and providers, see our guide to [EDI providers compared](/blog/best-edi-software-2026) and [best EDI software](/blog/best-edi-software-2026). ## When You Need a VAN vs When You Don't Not every trading relationship requires a VAN. The right connection method depends on your partner count, transaction volume, and technical capabilities. ### Connection Method Comparison | Factor | VAN | AS2 (Direct) | SFTP | API | | --- | --- | --- | --- | --- | | **Setup complexity** | Low (VAN handles routing) | Medium (certificates, firewall config) | Low (standard file transfer) | Medium to High (custom development) | | **Per-transaction cost** | $0.05 to $0.75+ per doc | Near zero after setup | Near zero after setup | Near zero after setup | | **Monthly cost** | $300 to $1,000+ | $50 to $200 (server/hosting) | $50 to $150 | Varies by platform | | **Best for** | Many trading partners, low technical resources | High-volume pairs (e.g., Walmart) | Smaller partners, batch exchange | Modern partners, real-time needs | | **Retailer support** | Nearly universal | Walmart, Target, major retailers | Some mid-market retailers | Growing but limited for EDI | | **Data speed** | Minutes to hours (mailbox polling) | Near real-time | Batch (scheduled) | Real-time | | **Scalability** | Costs scale with volume | Flat cost regardless of volume | Flat cost regardless of volume | Flat cost regardless of volume | ### When a VAN Makes Sense **VAN best fit**: A VAN is the right choice when you trade with 20 or more partners who all require EDI but use different communication methods, because a single VAN connection replaces the overhead of managing each trading partner connection individually. **AS2 best fit**: Direct AS2 connections eliminate per-document VAN fees entirely and are the better choice when your largest partners (Walmart, Target) support AS2 and your transaction volume is high enough that per-KCH fees add up to hundreds or thousands of dollars monthly. - You trade with **20+ partners** who all require EDI and use different communication methods - Your team has **limited technical resources** to manage direct connections - Your trading partners **mandate VAN connectivity** (some retailers specify this) - You need the VAN's **translation services** because your system can't generate native X12 ### When You Can Skip the VAN - Your largest partners support **AS2 direct connections** (Walmart, for example, strongly prefers AS2) - You have **fewer than 10 EDI trading partners** and can manage direct connections - You're already using a platform that handles **EDI transmission directly** without a VAN middleman - Your partners are moving toward **API-based exchange**, which doesn't need VAN infrastructure at all For more on how APIs compare to traditional EDI, read our [EDI vs API](/blog/edi-vs-api) breakdown. ## Common VAN Problems VANs solved a legitimate infrastructure problem decades ago. But the model has drawbacks that frustrate many suppliers today. ### Fees That Escalate with Growth The per-transaction pricing model means your costs grow in lockstep with your order volume. Land a new retail account that sends 1,000 POs a month? Your VAN bill jumps accordingly. With direct connections (AS2, SFTP), you pay roughly the same whether you process 100 or 10,000 documents. ### Vendor Lock-In Migrating away from a VAN is painful. Your trading partner connections, mailbox configurations, and document maps are all tied to that provider. Switching typically means re-testing with every trading partner, a process that can take months. ### Slow Onboarding Adding a new trading partner through a VAN often takes 4 to 8 weeks. The VAN needs to set up mapping, coordinate with the partner's VAN (if different), run test transactions, and validate compliance. Direct connections or API integrations can sometimes be stood up in days. ### Markup on Simple Transactions A 997 functional acknowledgment is a tiny document, often under 200 characters. But many VANs still charge per-envelope or per-KCH fees on these, effectively marking up a trivial data exchange. When you send thousands of acknowledgments per month, that markup becomes significant. ### Opacity in Billing VAN invoices can be difficult to reconcile. Between KCH charges, envelope fees, interconnect surcharges, and overage penalties, it's not always clear what you're paying for or why your bill increased 30% in a given month. If you're evaluating whether to stick with your current VAN or explore alternatives, our [EDI implementation guide](/blog/essential-guide-to-edi) walks through the full decision process. For small teams especially, our guide on [EDI for small businesses](/blog/essential-guide-to-edi) covers cost-effective approaches that don't require heavy VAN investment. ## Modern Alternatives to Traditional VANs The VAN model was essential when point-to-point connections were the only alternative. Today, several options reduce or eliminate VAN dependency: - **AS2 direct connections** let you exchange EDI documents peer-to-peer with encryption and delivery receipts built in. No middleman, no per-transaction fees. - **SFTP-based exchange** works well for partners who don't need real-time delivery. You upload files to a shared server on a schedule. - **Cloud EDI platforms** like OrderSync handle EDI transmission, translation, and [ERP integration](/erp-integration) without routing through a traditional VAN. Documents go directly between you and your trading partner. - **API-based integrations** bypass EDI entirely for partners that support them, exchanging structured data in real-time without X12 formatting or VAN infrastructure. The right approach depends on who you're trading with and what they require. Many businesses end up with a hybrid: AS2 for high-volume retail partners, a VAN for the long tail of smaller partners, and APIs for modern platforms. ## Frequently Asked Questions ### What does VAN stand for in EDI? VAN stands for **Value Added Network**. It's a private network that routes EDI documents between trading partners, adding services like format translation, delivery tracking, and compliance validation on top of basic transport. ### How much does an EDI VAN cost per month? Most EDI VANs charge $300 to $1,000+ per month depending on your transaction volume and number of trading partners. This includes a monthly base fee ($150 to $500) plus per-document and per-KCH charges that vary with usage. High-volume senders can pay significantly more. ### Can I do EDI without a VAN? Yes. Many companies exchange EDI documents using AS2 direct connections, SFTP, or cloud-based EDI platforms that don't require a VAN. Major retailers like Walmart actively support AS2 connections. The key factor is whether your trading partners require VAN connectivity or accept alternative transport methods. ### What is the difference between a VAN and AS2? A VAN is a managed intermediary that stores and forwards your EDI documents. AS2 is a direct, point-to-point protocol that sends documents straight to your trading partner with encryption and signed receipts. AS2 has no per-transaction fees but requires more technical setup. VANs are simpler to manage but charge per document. ### Are EDI VANs becoming obsolete? Not yet, but their role is shrinking. According to [Gartner](https://www.gartner.com/en/supply-chain/topics/supply-chain-management), B2B integration is shifting toward API-first and cloud-based models. VANs still serve companies with large trading partner networks and limited IT resources, but the trend is clearly moving toward direct connections and modern integration platforms. For many mid-market suppliers, a cloud EDI platform eliminates the need for a traditional VAN entirely. --- # Grocery EDI: What Suppliers Need to Know Source: https://ordersync.io/blog/grocery-edi > A practical guide to grocery and food distribution EDI requirements, from scan-based trading and DSD delivery to cold chain documentation and FSMA traceability. Grocery and food-distribution EDI uses the same ANSI X12 transactions as other retail EDI but with stricter compliance requirements around timing, label formats (GS1-128), and FSMA traceability. Scan-based trading and direct store delivery add additional transaction types. Chargebacks for non-compliance commonly reach 2-3% of invoice value. **Grocery suppliers must be EDI-capable to sell to major chains: the U.S. food retail industry generates over $800 billion in annual sales, nearly all of it flowing through EDI-connected supply chains.** High SKU counts, perishable goods, and tight delivery windows make manual document handling operationally impossible at scale. If you are supplying products to grocery chains or distributing food products to retail, you need to understand the specific EDI transactions, compliance models, and data flows that make this industry different from general retail. This guide covers the grocery-specific EDI landscape: the transaction sets unique to grocery, how scan-based trading changes the standard EDI flow, DSD delivery requirements, cold chain and FSMA traceability, and what major grocery retailers actually expect from their food suppliers. ## How EDI Works in the Grocery Industry The basic EDI flow in grocery follows the same pattern as other retail sectors. A retailer sends an [EDI 850 purchase order](/guides/edi/850-purchase-order), the supplier acknowledges it, ships the product with an [EDI 856 ship notice](/guides/edi/856-ship-notice), and sends an invoice. But grocery adds layers of complexity that other industries do not deal with. **Perishable inventory timing.** A 48-hour delivery window on fresh produce means the EDI transaction cycle compresses dramatically. There is no buffer for manual re-keying or delayed acknowledgments. When a retailer sends you a purchase order for 2,000 cases of fresh chicken with a 48-hour window, your warehouse needs to be picking within hours. **High transaction volume.** A single grocery distribution center might process thousands of purchase orders per week across hundreds of suppliers. According to [FMI - The Food Industry Association](https://www.fmi.org/), the U.S. food retail industry generates over $800 billion in sales, nearly all of it flowing through EDI-connected supply chains. **Store-level ordering.** Unlike general merchandise where orders route through a central DC, many grocery categories involve direct store delivery (DSD) or store-level replenishment. Your EDI system needs to handle orders at the individual store level, not just the retailer level. **Regulatory pressure.** The FDA's Food Safety Modernization Act (FSMA) requires traceability records across the supply chain. EDI gives you a structured, auditable trail of every lot, batch, and shipment, which matters when the FDA asks you to trace a contaminated product back to its source within 24 hours. If you are new to EDI fundamentals, start with our [essential guide to EDI](/blog/essential-guide-to-edi) before diving into grocery specifics. ## Key Grocery EDI Transactions Grocery suppliers need to support the standard retail EDI transaction sets plus several that are specific to (or heavily used in) the grocery and food distribution industry. ### Standard Transactions These are non-negotiable for any grocery trading partnership: | Transaction | Name | Direction | |---|---|---| | EDI 850 | Purchase Order | Retailer to Supplier | | EDI 855 | Purchase Order Acknowledgment | Supplier to Retailer | | EDI 856 | Advance Ship Notice (ASN) | Supplier to Retailer | | EDI 810 | Invoice | Supplier to Retailer | | EDI 997 | Functional Acknowledgment | Both directions | ### Grocery-Specific Transactions **EDI 852 (Product Activity Data).** This transaction carries point-of-sale (POS) data and inventory movement information from the retailer back to the supplier. In grocery, the 852 is critical for demand planning, category management, and scan-based trading programs. It tells you how fast your products are moving off the shelf at a store or regional level. **EDI 880 (Grocery Products Invoice).** The 880 is a grocery-specific invoice format that handles the unique billing requirements of the food industry, including catch-weight pricing, random-weight items (like deli meats priced per pound), and allowances or deductions. If you sell anything with variable weight, you will almost certainly encounter the 880 instead of (or in addition to) the standard 810. **EDI 832 (Price/Sales Catalog).** Used to communicate product pricing, promotional pricing, and catalog updates between suppliers and retailers. Grocery suppliers use the 832 to push updated cost files, new item introductions, and promotional deal structures to their retail partners. **[EDI 894 (Delivery/Return Base Record)](/guides/edi/894-delivery-return-base-record).** Specific to DSD operations, the 894 confirms what was actually delivered to a store, including quantities, substitutions, and returns. It acts as both a delivery receipt and a settlement document. For a deeper look at any of these transactions, use our [free EDI Inspector](/edi-inspector) to parse and visualize real EDI files. ### Food-Specific Data Requirements Beyond the transaction types themselves, food distribution EDI requires additional data elements in standard transactions: | Transaction Set | Name | Food-Specific Notes | |---|---|---| | **850** | Purchase Order | Includes GTIN, catch weight indicators, temp zone requirements | | **855** | PO Acknowledgment | Required by most grocery retailers | | **856** | Advance Ship Notice | Must include lot numbers, expiration dates, catch weights | | **810** | Invoice | Actual shipped weights for variable-weight items | | **846** | Inventory Advice | Segmented by lot, expiration date, and temperature zone | | **880** | Grocery Products Invoice | Handles deal allowances, billbacks, and multi-store billing | The [EDI 856 ship notice](/guides/edi/856-ship-notice) is where food distribution gets especially complex. Beyond standard carton and pallet data, food ASNs require lot and batch numbers at the item level (critical for recalls), production and expiration dates in the DTM segments, catch weight data in the MEA segments for variable-weight items, temperature zone indicators for multi-temp shipments, and SSCC-18 barcodes for carton and pallet-level tracking. A missing lot number in your 856 does not just trigger a chargeback. It can flag your shipment for rejection at the receiving dock, which means spoilage and a total loss on perishable goods. ## Scan-Based Trading and EDI Scan-based trading (SBT) is a consignment-like model that has become common in grocery, particularly for categories like bread, snacks, [beverages](/edi-for/beverage-distribution), and dairy. It fundamentally changes the EDI flow. ### How SBT Works In a traditional model, ownership of the product transfers when the supplier ships it. In scan-based trading, the supplier owns the product until a consumer buys it at the register. The retailer only pays for what actually scans at the point of sale. This changes the EDI transaction flow: 1. **No traditional purchase order.** The retailer may not send an 850 for SBT items. Instead, the supplier manages inventory levels and restocks based on POS data. 2. **EDI 852 becomes the trigger.** The retailer sends POS data via the 852, showing what sold at each store. This drives both replenishment decisions and payment calculations. 3. **Invoicing follows sales, not shipments.** The supplier invoices based on scanned sales data, not on what was delivered. The 880 grocery invoice ties back to POS records rather than ASN quantities. For suppliers, SBT means carrying more inventory risk but gaining better shelf placement and fewer out-of-stock situations. The EDI challenge is data accuracy. If POS data from the 852 does not match what you delivered, reconciliation becomes a headache. You need tight integration between your EDI system, your DSD route accounting, and your invoicing process. Many grocery suppliers handling SBT programs find that [automated order processing](/order-processing-automation) becomes essential for keeping up with the volume of POS-driven transactions. ## DSD (Direct Store Delivery) EDI Requirements Direct store delivery is standard for many grocery categories: bread, beverages, snacks, dairy, and produce. Instead of shipping to a retailer's distribution center, you deliver directly to individual stores. ### The DSD EDI Flow 1. **Route planning.** The supplier determines delivery schedules based on historical demand, POS data (EDI 852), and store-level inventory targets. 2. **Pre-notification.** Some retailers require an EDI 856 ASN before the delivery truck arrives, even for DSD. Others accept notification at the time of delivery via handheld devices. 3. **In-store receiving.** The driver delivers product and records what was actually received, including any refused items or returns. This generates an EDI 894 (Delivery/Return Base Record). 4. **Settlement.** The 894 serves as the basis for invoicing. What was accepted at the store is what gets billed. ### Key DSD Compliance Points - **Store-level identification.** Every transaction must reference the specific store location, typically using the retailer's store number or a GLN (Global Location Number) per [GS1 US](https://www.gs1us.org/upcs-barcodes-prefixes/how-to-use-your-upc-barcodes/share-information-electronically) standards. - **Real-time data capture.** Many retailers now expect DSD data transmitted the same day as delivery. Handheld devices or mobile apps capture delivery details and transmit EDI data from the field. - **Return handling.** DSD involves more returns than warehouse-delivered product (stales, damaged goods, unsold perishables). The 894 must accurately capture return quantities and reason codes. If you are exploring DSD alongside warehouse distribution, check out our page on [EDI for grocery suppliers](/edi-for/grocery-and-retail-suppliers) for a broader look at how these models work together. ## FSMA and Traceability Requirements The FDA's [Food Safety Modernization Act (FSMA)](https://www.fda.gov/food/guidance-regulation-food-and-dietary-supplements/food-safety-modernization-act-fsma) changed how food distributors handle traceability. The FSMA Section 204 rule requires additional traceability records for foods on the Food Traceability List (FTL), including fresh fruits and vegetables, certain cheeses, shell eggs, nut butters, and fresh-cut produce. **The compliance date is July 20, 2028.** The rule was finalized in November 2022 with an original compliance date of January 20, 2026. FDA proposed a 30-month extension in March 2025, and Congress made non-enforcement binding through the Continuing Appropriations Act of 2026, which directed FDA not to enforce the rule before July 20, 2028. The requirements themselves did not change. Only the date moved. A lot of published guidance still cites the old January 2026 date, so check the vintage of anything you are reading. For the full timeline and what it means for your data, see our [FSMA 204 compliance guide](/fsma-204). ### What FSMA 204 Requires For each Critical Tracking Event (CTE) in the supply chain, you need to record Key Data Elements (KDEs): - Traceability lot code for each product - Location identifiers (where the product was received, stored, shipped) - Date and time of each event - Quantity and unit of measure - Reference document numbers (PO numbers, BOL numbers) ### How EDI Supports FSMA Compliance EDI does not replace your traceability system, but it provides the structured data backbone that makes compliance practical at scale: - **The 856 ASN** carries lot codes, production dates, and expiration dates at the item level - **The 850 PO** provides reference document numbers and location identifiers - **The 810 invoice** links financial records to specific lots and shipments When the FDA requests a trace-back, you need to produce records within 24 hours. If your lot data lives in EDI transactions that are already structured and searchable, that is a realistic timeline. If it lives in paper BOLs and spreadsheets, it is not. ## Cold Chain Documentation in EDI Perishable food shipments require temperature documentation that non-perishable goods do not. ### Temperature Data in ASNs The EDI 856 can include temperature-related data in the TD1 (Carrier Details) and MEA (Measurements) segments: - Required temperature range for the shipment (frozen at -10F to 0F, refrigerated at 33F to 40F) - Temperature zone codes distinguishing frozen, refrigerated, and ambient items in multi-temp loads - Carrier and trailer identification for temperature monitoring correlation ### Multi-Temperature Shipments Food distributors commonly ship frozen, refrigerated, and ambient products on the same truck using multi-temp trailers. Your ASN needs to clearly associate each product with its temperature zone. Retailers will reject mixed-temp ASNs that do not specify which items are in which zone. A retailer receiving a pallet of frozen shrimp needs to verify it was maintained at the correct temperature throughout transit. If your ASN does not include temperature zone data, the receiving team may hold the shipment for manual verification, increasing spoilage risk. ## Common Challenges for Food Distributors ### Catch Weight Pricing Variable-weight products (meat, cheese, [seafood](/edi-for/seafood-distributors), produce sold by weight) create a mismatch between what is ordered and what is shipped. The PO says 100 cases. You ship 100 cases, but each case weighs slightly different. Your ASN and invoice must reflect actual weights, not ordered weights. This means your warehouse management system needs to capture weights at pick/pack time and pass them into your EDI system before the 856 and 810 are generated. ### Short Shelf Life When a product has a 14-day shelf life, a one-day delay in order processing can mean the difference between an accepted and rejected shipment. Retailers specify minimum remaining shelf life requirements (often 70% to 75% of total shelf life at delivery). Automating order receipt and processing through EDI removes the manual delays that eat into your delivery window. ### Promotional and Deal Pricing Grocery operates on thin margins with frequent promotions. Your EDI 810 (or 880) must correctly calculate deal allowances, billbacks, and promotional pricing. A mismatch between the promotional terms in the PO and the pricing in your invoice triggers deductions that are painful to resolve. ### High-Volume, Low-Error Tolerance Food distributors often process thousands of line items per day. At that volume, even a 1% error rate means dozens of problems daily. [Automated order processing](/order-processing-automation) and [ERP integration](/erp-integration) reduce errors by eliminating manual re-entry between systems. ## Major Grocery Retailer EDI Programs ### Kroger Kroger is the largest supermarket chain in the U.S. with nearly 2,800 stores across multiple banners (Ralphs, Fred Meyer, Harris Teeter, King Soopers, and others). All banners operate under a single EDI framework. - **Required transactions:** 850, 855, 856, 810, 997 - **Additional for grocery:** 852 for POS data, 880 for grocery invoicing - **Key detail:** Kroger's 84.51 data analytics division drives category management, and POS data exchange via EDI 852 is tightly integrated into their supplier programs. Promotional allowances embedded in POs must match invoices exactly. For the full breakdown, see our [Kroger EDI requirements](/edi-compliance/kroger) guide. ### Walmart Walmart is the largest grocery retailer in the U.S. Food suppliers must meet the same EDI standards as other Walmart vendors, plus additional food safety requirements: - **GTIN compliance**: Every product needs a valid [GS1 GTIN](https://www.gs1us.org/upcs-barcodes-prefixes/guide-to-upcs). No exceptions. - **Catch weight handling**: Variable-weight items must include actual weights in both the 856 and 810. - **OTIF (On Time In Full)**: The target is 98% for warehouse-delivered goods. Failures carry financial penalties. - **Lot tracking**: Required for all perishable items in the ASN. See our full [Walmart EDI requirements](/edi-compliance/walmart) guide. ### [Albertsons](/edi-compliance/albertsons) / Safeway Albertsons Companies operates Safeway, Vons, Jewel-Osco, Shaw's, ACME, and other banners across 2,200+ stores. - **Required transactions:** 850, 855, 856, 810, 997 - **DSD support:** Extensive DSD programs, especially for bakery, beverage, and snack categories. Expect EDI 894 requirements. - **Key detail:** Albertsons runs a large scan-based trading program. If your category qualifies, expect the SBT EDI flow described above. ### [Publix](/edi-compliance/publix) Publix operates 1,300+ stores across the Southeast. - **Required transactions:** 850, 855, 856, 810, 997, 852 - **Key detail:** Publix tracks ASN compliance at the item level. Missing or inaccurate ASN data triggers chargebacks and can affect vendor scoring. ### Whole Foods (Amazon) Whole Foods operates under Amazon's supply chain infrastructure: - **Strict quality and sourcing standards** on top of EDI requirements - **Lot and batch tracking** required for all products - **Shorter shelf-life windows** than conventional retailers - **EDI through Amazon's systems**, including their vendor portal ### Costco - **Pallet-level SSCC-18** barcodes on every shipment - **Catch weight accuracy** (Costco is one of the strictest on weight tolerances) - **Tight delivery windows** with penalties for early or late arrivals ### Ahold Delhaize (Stop & Shop, Giant, Food Lion, Hannaford) - **Required transactions:** 850, 855, 856, 810, 997 - **Active DSD programs** with EDI 894 support - **Key detail:** Ahold Delhaize's Retail Business Services (RBS) subsidiary manages IT and supply chain for all U.S. banners, so EDI standards are consistent across brands. Each retailer has their own testing and onboarding process. Budget 4 to 8 weeks for EDI testing with a new grocery trading partner. ## Getting Started with Grocery EDI If you are new to grocery EDI, adding a new retail partner, or upgrading from a basic setup to handle food-specific requirements, here is a practical path forward: 1. **Get your trading partner's EDI requirements document.** Every grocery retailer publishes an EDI implementation guide. This spells out exactly which transactions they require, which segments are mandatory, and what data formatting they expect. 2. **Determine your delivery model.** Warehouse-delivered and DSD have different EDI transaction requirements. Clarify whether you are shipping to distribution centers, delivering directly to stores, or both. 3. **Map your product data.** Make sure every product has a valid GTIN, correct catch weight flags, lot tracking in your WMS, and accurate shelf life data. 4. **Handle grocery-specific transactions.** If you already do EDI with non-grocery retailers, you likely have 850, 856, and 810 covered. Grocery will add the 852, 880, and potentially the 894 to your transaction set. 5. **Test thoroughly.** Grocery EDI testing is more rigorous than many suppliers expect. Retailers will validate your ASN accuracy, invoice matching, and acknowledgment timing. Expect multiple rounds of test transactions before going live. Use our [free EDI Inspector](/edi-inspector) to parse and validate your files before submission. 6. **Plan for ongoing compliance.** Grocery EDI is not "set it and forget it." Retailers update their requirements, add new transaction types, and adjust compliance scoring. [Walmart EDI requirements](/edi-compliance/walmart) change regularly, and grocery chains follow a similar pattern. If you are handling orders across multiple grocery partners with different formats and requirements, a platform like OrderSync can normalize everything into a single workflow through [multi-format order processing](/multi-format-orders). [Book a call](/book) to see how it works with grocery-specific EDI. ## FAQ ### What EDI transactions are unique to the grocery industry? The grocery industry commonly uses EDI 852 (Product Activity Data) for POS reporting, EDI 880 (Grocery Products Invoice) for variable-weight and catch-weight billing, EDI 832 (Price/Sales Catalog) for pricing updates, and EDI 894 (Delivery/Return Base Record) for DSD operations. These supplement the standard 850, 856, and 810 transactions used across all retail. ### How does scan-based trading affect EDI requirements? Scan-based trading shifts the invoicing trigger from shipment to point-of-sale. Instead of invoicing when you ship product, you invoice based on what actually scans at the register. This makes the EDI 852 (POS data) transaction critical, since it drives both replenishment and payment. The traditional 850 purchase order may be reduced or eliminated for SBT categories. ### How does catch weight work in EDI? Catch weight items are products sold by weight where each unit weighs slightly different. In EDI, the 850 PO specifies an estimated quantity, but your 856 ASN and 810 invoice must include actual weights captured during warehouse picking. The MEA segment in the 856 carries weight data at the item level. ### What happens if my ASN is missing lot numbers? Most grocery retailers will either reject the shipment at the dock or accept it with a chargeback. For perishable products, a dock rejection often means total product loss due to spoilage. Retailer lot requirements are contractual and apply today, independent of the FSMA 204 timeline. Once FSMA 204 enforcement begins in July 2028, missing lot data on FTL items becomes a regulatory gap as well as a commercial one. ### How does FSMA Section 204 affect food distributor EDI? FSMA Section 204 requires additional traceability records for products on the Food Traceability List. Food distributors must track and share lot codes, location identifiers, and dates for each Critical Tracking Event. EDI transactions, especially the 856 ASN, provide the structured format to carry this data between trading partners. GS1 US publishes guidance mapping the FSMA 204 Shipping CTE onto the 856, which is why the ASN is the transaction most food suppliers end up extending first. ### When is the FSMA 204 compliance deadline? July 20, 2028. The original date was January 20, 2026. FDA proposed a 30-month extension in March 2025, and Congress directed FDA not to enforce the rule before July 20, 2028 through the Continuing Appropriations Act of 2026. The underlying requirements are unchanged. ### Do small food distributors need EDI? Yes, if you are selling to major grocery retailers. Walmart, Kroger, Costco, and most regional chains require EDI regardless of supplier size. Modern EDI platforms have lowered the cost and complexity compared to legacy systems. You do not need a dedicated IT team to get started. ### Do I need different EDI setups for each grocery retailer? The core transactions (850, 856, 810) are standardized under ANSI X12, but each retailer has specific segment requirements, data formatting rules, and compliance expectations. You do not need a completely different setup for each partner, but you do need to configure mappings and validation rules per retailer. A flexible EDI platform handles this through trading partner profiles. ### How long does it take to set up grocery EDI with a new retailer? Plan for 4 to 8 weeks from start to go-live, depending on the retailer and your current EDI capabilities. This includes obtaining the retailer's companion guide, configuring your mappings, completing test transactions, and getting approval from their compliance team. --- # Invoice Automation Software: How to Choose Source: https://ordersync.io/blog/invoice-automation-software > What invoice automation software does, how it reduces manual AP work, and what to evaluate. Covers capture, matching, approvals, and ERP sync. Invoice automation software captures invoice data—vendor, amount, line items, PO reference—from PDFs or EDI 810 transactions and matches them to purchase orders in your ERP. Unmatched invoices route for approval; matched ones post automatically. For accounts payable teams, it eliminates most manual keying and speeds up the approval cycle. **Invoice automation software cuts the cost of processing a single invoice from $10.18 (manual) to $2.36 (automated) and eliminates the majority of the data entry, matching, and approval routing that buries AP teams.** For a mid-size distributor processing 2,000 invoices a month, that is the difference between $20,000 and $4,700 in monthly processing costs. ## What Is Invoice Automation Software? **Invoice automation software** is a system that captures, validates, matches, and routes invoices with minimal manual intervention. It replaces manual data entry, paper-based approvals, and disconnected spreadsheets with a digital workflow that takes an invoice from receipt to ERP posting automatically. Your AP team is buried. Invoices arrive as PDFs attached to emails, EDI 810 transactions from retail partners, paper documents from older suppliers, and the occasional spreadsheet. Someone opens each one, keys line items into the ERP, checks it against the PO, chases down an approval signature, and posts it. Multiply that by hundreds of invoices per week, and you have a team spending most of its time on repetitive data entry instead of managing cash flow and vendor relationships. Invoice automation software fixes that. But the category covers everything from simple OCR capture tools to full AP automation platforms to multi-document systems that tie invoices back to purchase orders and shipping data. This guide breaks down what these tools actually do, what they cost you when you don't have one, and what features matter most when you're evaluating options. ## What Invoice Automation Software Actually Does Invoice automation handles five core steps that your team currently does manually: 1. **Capture**: Ingesting invoices from every channel. Email attachments, EDI 810 transactions, supplier portals, scanned paper, fax-to-email. The system needs to accept all of them without requiring suppliers to change how they send invoices. 2. **Data extraction**: Pulling structured data from unstructured documents. Vendor name, invoice number, line items, quantities, unit prices, totals, tax, payment terms. For EDI invoices like the [810 invoice](/guides/edi/810-invoice), the data is already structured. For PDFs and scanned documents, OCR and AI extraction do the work. 3. **Three-way matching**: Comparing the invoice against the original purchase order and the receiving record (or ship notice). Does the invoice quantity match what was ordered? Does it match what was received? Do the prices line up? This is where most AP errors get caught, and it's where manual processing eats the most time. 4. **Approval routing**: Sending matched invoices through your approval workflow automatically. Under $5,000 goes to the department manager. Over $5,000 needs VP sign-off. Exceptions route to the right person based on rules you define, not based on who remembers to forward the email. 5. **ERP posting**: Once approved, the invoice posts to your accounting system or [ERP](/erp-integration) without anyone re-keying data. GL codes, cost centers, tax classifications all map automatically based on rules tied to the vendor, department, or PO. When these five steps work together, your AP team stops processing invoices and starts managing exceptions. The 85% of invoices that are clean and match the PO flow through without anyone touching them. ## The Real Cost of Manual Invoice Processing Manual invoice processing is expensive, and most of the cost is hidden in labor, errors, and late payment penalties. According to [Ardent Partners' Accounts Payable Metrics That Matter report](https://ardentpartners.com/), the average cost to process a single invoice manually is $10.18. Highly automated AP departments bring that down to $2.36 per invoice. For a mid-size distributor processing 2,000 invoices per month, that's the difference between $20,360 and $4,720 in monthly processing costs. The error rates tell a similar story. Manual AP processes carry invoice exception rates of 20% or higher, according to the [Institute of Finance and Management (IOFM)](https://www.iofm.com/ap/process-improvement/automation/the-future-of-accounts-payable-digital-profitable-and-strategic). Every exception means rework: someone investigates the discrepancy, contacts the supplier, updates the record, and re-routes for approval. That's 30-60 minutes per exception, on top of the original processing time. Then there are the costs you don't track: - **Late payment penalties**: When invoices sit in an approval queue for two weeks, you miss early-payment discounts and sometimes incur late fees. [Ardent Partners](https://ardentpartners.com/) reports that best-in-class AP teams capture early-pay discounts at 3x the rate of average teams. - **Duplicate payments**: Without automated matching, duplicate invoices slip through. The [Institute of Finance and Management (IOFM)](https://www.iofm.com/) estimates 0.1% to 0.5% of all invoices are paid twice, and recovery takes an average of 60 days. - **Audit exposure**: Paper-based AP processes make audits painful. Finding the original PO, matching receipt, and approval chain for a single invoice can take hours when everything lives in email threads and filing cabinets. - **Supplier relationship strain**: When you pay late because an invoice sat on someone's desk, your suppliers notice. The good ones start quoting you higher prices to offset the risk. ## Core Features to Evaluate Not all invoice automation software covers the same ground. Here's what to look for and why each feature matters: | Feature | What It Does | Why It Matters | |---|---|---| | **Multi-format capture** | Accepts invoices via email, EDI, PDF, scan, portal | You can't force all suppliers onto one format | | **OCR / AI extraction** | Reads unstructured invoices and pulls data fields | Eliminates manual data entry for non-EDI invoices | | **Three-way matching** | Compares invoice to PO and receiving record | Catches pricing errors, quantity mismatches, and overbilling | | **Approval workflows** | Routes invoices based on amount, vendor, department | Removes bottlenecks from email-based approvals | | **ERP integration** | Posts approved invoices directly to your accounting system | No re-keying, no CSV imports, no batch uploads | | **Exception handling** | Flags mismatches and routes to the right person | Gives your team a queue of real problems, not a pile of paper | | **EDI 810 support** | Processes electronic invoices from trading partners | Critical if you trade with retailers who send structured invoices | | **Duplicate detection** | Identifies invoices with matching numbers, amounts, dates | Prevents double payments before they happen | | **Payment term tracking** | Monitors discount deadlines and due dates | Captures early-pay discounts, avoids late fees | The biggest differentiator is usually how the system handles exceptions. Any tool can process a clean invoice that matches perfectly. What matters is what happens when the invoice says 500 units at $12.50 but the PO says 500 units at $11.75. A good system flags the discrepancy, shows the buyer exactly what doesn't match, and lets them resolve it in one click. A bad system sends a generic error email and waits. ## Types of Invoice Automation Platforms The market breaks into four main categories. Knowing which type you need saves you from evaluating the wrong tools. ### AP-Focused Automation These tools start and end with [accounts payable](/blog/accounts-payable-automation). They capture invoices, run matching, manage approvals, and post to your GL. Good fit if your only pain point is AP processing and you already have separate systems for order management and procurement. **Best for**: Finance teams automating a standalone AP department. ### ERP Module or Add-On Most major ERPs offer an invoice automation module. It's tightly integrated with your existing system, which simplifies setup. But the capture and extraction capabilities are often limited compared to specialized tools, especially for non-EDI invoices. **Best for**: Companies already committed to a single ERP ecosystem who want minimal new vendors. ### Order-to-Cash Platforms These handle the full cycle: purchase orders in, invoices out, payment reconciliation, and everything in between. If you're both receiving and sending invoices, a platform that connects the [EDI 810 invoice](/guides/edi/810-invoice) to the original [EDI 850 purchase order](/guides/edi/850-purchase-order) and the [820 payment order](/guides/edi/820-payment-order) gives you end-to-end visibility. **Best for**: B2B companies that need to automate both sides of the transaction. ### Multi-Document Automation Platforms These process multiple document types through a single pipeline. Purchase orders, invoices, ship notices, remittance advice, credit memos. The invoice automation is one part of a broader [automated order processing](/blog/automated-order-processing) workflow. **Best for**: Operations teams processing high volumes of mixed document types from many trading partners. ## How Invoice Automation Connects to Order Automation Invoices don't exist in isolation. Every invoice traces back to a purchase order, and most trace forward to a payment. The PO-to-invoice-to-payment cycle is the backbone of B2B commerce, and automating just one part of it creates friction at the handoff points. Here's the typical flow: 1. **Purchase order (EDI 850 or PDF)**: Your customer sends an order. 2. **Order acknowledgment (EDI 855)**: You confirm you can fulfill it. 3. **Ship notice (EDI 856)**: You ship the goods and send an ASN. 4. **Invoice (EDI 810 or PDF)**: You bill for what you shipped. 5. **Payment (EDI 820 or check)**: Your customer pays the invoice. When you automate invoicing but not orders, your invoice automation system can't match against the original PO data because it doesn't have it. Someone still has to manually link the invoice to the right order. When you automate orders but not invoices, your [order-to-cash cycle](/blog/order-to-cash-automation) has a gap in the middle that slows down the whole process. The most effective approach automates the full document chain. When the PO, ship notice, and invoice all flow through the same system, [three-way matching](/blog/three-way-match) happens automatically. The system already knows what was ordered, what was shipped, and what's being billed. Discrepancies surface instantly instead of weeks later during reconciliation. ## Where OrderSync Fits OrderSync processes both incoming orders and outgoing invoices through a single platform. When a purchase order arrives as an [EDI 850](/guides/edi/850-purchase-order), a PDF, or an email, OrderSync extracts the data, validates it, and syncs it to your ERP. When it's time to invoice, the EDI 810 ties directly back to that original order. The matching is automatic because the order data is already in the system. This matters because the three-way match, the part that eats the most AP time, becomes a non-event. OrderSync already has the PO line items. It already has the ship notice data. When the invoice comes through (or when you generate one), the system compares all three documents instantly. Clean matches post automatically. Exceptions go to a dashboard where your team resolves them with full context: the original order, what shipped, and what the invoice claims. If you work with trading partners who send EDI documents, you can validate and [parse EDI files for free](/edi-inspector) using our EDI Inspector. For companies evaluating how to connect invoice automation with their broader order workflow, the [ERP integration](/erp-integration) page covers how OrderSync syncs with your existing systems. Ready to see how it works for your specific setup? [Book a free intro call](/book) and we'll walk through your document flow. ## Frequently Asked Questions ### What's the difference between invoice automation and AP automation? Invoice automation focuses specifically on processing inbound invoices: capture, extraction, matching, and posting. AP automation is broader and includes payment execution, vendor management, expense tracking, and cash flow forecasting. Most invoice automation tools are a subset of AP automation, though some platforms cover the full AP scope. ### How long does it take to implement invoice automation software? For a cloud-based solution processing PDF and email invoices, expect 4-8 weeks for setup, ERP integration, and workflow configuration. If you're adding EDI 810 processing with trading partner connections, add another 2-4 weeks per partner depending on testing requirements. Start with your highest-volume invoice format and expand from there. ### Can invoice automation handle invoices from suppliers who don't use EDI? Yes. That's one of the primary use cases. [AI-powered extraction](/ai-order-automation) reads PDF invoices, scanned documents, and email-based invoices just like a person would, but faster and without the data entry errors. EDI 810 invoices process automatically since the data is already structured. A good system handles both formats through the same workflow. ### What's three-way matching and why does it matter? Three-way matching compares three documents: the purchase order (what you ordered), the receiving record or ship notice (what arrived), and the invoice (what you're being billed for). If all three agree on quantities and prices, the invoice is clean and can be paid. If they don't match, something went wrong. Without automated matching, your AP team does this comparison manually for every invoice, which is slow and error-prone. Read our [EDI payments explained](/blog/edi-payments-explained) guide for more on how this works in an EDI context. ### Does invoice automation eliminate the need for AP staff? No. It changes what your AP team works on. Instead of keying in data and chasing approvals, they focus on resolving exceptions, managing vendor relationships, negotiating payment terms, and analyzing spending patterns. Most companies that implement invoice automation don't reduce AP headcount. They handle significantly more volume with the same team or redeploy people to higher-value work. --- # AI Order Entry Software for Distributors Source: https://ordersync.io/blog/order-entry-software > How AI order entry software turns EDI, PDF, email and fax orders into ERP sales orders, with an honest 2026 vendor table and a buyer's checklist. Order entry software turns incoming customer orders into sales orders in your ERP. AI order entry software reads EDI, PDF, email, spreadsheet and fax orders, matches each line to your SKUs, units of measure, prices and ship-to locations, flags anything that fails validation, and posts clean orders with no retyping. Test vendors on your own worst orders. Every distributor's order desk runs the same loop. A PDF purchase order lands in the shared inbox. Someone opens it, works out which of your SKUs the buyer's item numbers mean, checks the contract price, picks the right ship-to out of the customer's 14 locations, and types it all into the ERP. Then the next one arrives as an Excel file with different column names, and the one after that is an email that says "same as last week, plus 2 cases of the 5 lb shrimp." That loop is order entry. Software can now run most of it. This guide covers what order entry software is, how the AI versions work step by step, who sells it in 2026 (with an honest read on each vendor), what to ask in a demo, and how to put a number on what manual entry costs you today. ## What Is Order Entry? **Order entry** is the step where a customer's purchase order becomes a sales order in your system of record. The buyer sends what they want; order entry translates it into your item numbers, your units, your prices and your customer records so the warehouse can pick it and accounting can bill it. An **order entry system** (also called a customer order entry system or order entry management system) is the software that does that translation. At its simplest, it is an entry screen in your ERP with validation rules. At the other end, it is an AI pipeline that receives orders from every channel, extracts the data, validates it and writes the sales order with no keystrokes. Order entry sits at the front of the order lifecycle. An [order management system](/order-management-systems) covers what happens after: allocation, picking, shipping, invoicing and returns. Many platforms do some of both, but if your pain is getting orders out of inboxes and into the ERP accurately, you are shopping for order entry software. ### The three generations of order entry software | Approach | How it works | Time per order | Where it breaks | |---|---|---|---| | Manual entry in the ERP | A person reads the PO and keys every line | 10 to 15 minutes | Labor scales with volume; typos become short shipments | | Template or zonal OCR | Someone builds a map for each sender's layout | 3 to 5 minutes | Every new customer or layout change needs a new template | | AI order entry | Models read any layout, then match to your master data | Under a minute for clean orders | First orders from a new sender need human review | EDI sits beside all three. An [EDI 850 purchase order](/guides/edi/850-purchase-order) arrives already structured under the [ASC X12 standard](https://x12.org/products/transaction-sets), so it needs parsing and mapping, not reading. The catch is that EDI only covers the customers big enough to run it. Everyone else sends email. ## Why Manual Order Entry Is the Bottleneck Manual entry fails in two ways: it eats hours, and it leaks errors into fulfillment. The hours are easy to count. At 200 orders a day and 4 minutes per order, your team spends 800 minutes, more than 13 person-hours, on data entry alone. At a $20 per hour fully loaded cost, that is $260 a day, or roughly $67,000 a year, before a single error is fixed. The [BLS median wage for order clerks](https://www.bls.gov/oes/current/oes434151.htm) is $46,170 a year before benefits, and most growing distributors need more than one. Our [manual order entry statistics](/blog/manual-order-entry-statistics) page shows the full math. The industry benchmarks point the same way: - [APQC's order management benchmarks](https://www.apqc.org/resource-library/resource-collection/sales-and-order-management-key-benchmarks) put the cost of processing an order manually at $5 to $15, against under $1 for best-in-class automated operations - APQC also finds best-in-class companies hold order accuracy above 99.5%, while average performers sit around 97% - Email and PDF orders sit outside EDI entirely, so even a distributor with strong retail EDI still keys its long tail of independent buyers by hand On 4,000 orders a month, the 2.5-point accuracy gap is 100 orders a month with something wrong: a credit, a re-delivery or a customer call. For a deeper set of numbers, see our roundup of [manual order entry statistics](/blog/manual-order-entry-statistics). ## How AI Order Entry Works: Five Steps Every serious vendor runs some version of capture, extract, match, validate and post. The differences that matter live in step three. ### 1. Capture every channel Orders come in through your orders inbox, your [EDI VAN](/blog/edi-van-explained) or AS2 connection, a fax-to-email gateway, SFTP drops, portal exports and customer spreadsheets. The software watches all of them and detects the format on arrival. If any channel still lands in a person's inbox first, that channel is still manual. ### 2. Extract the order For EDI, extraction is deterministic: X12 defines where the PO number, ship-to and line items live. For PDFs, scans, spreadsheets and email bodies, the AI identifies the PO number (labeled "PO#", "Order No.", "Ref" or a dozen other ways), buyer, bill-to and ship-to, requested date, and every line with its quantity, unit and price. Good systems attach a confidence score to each field so low-confidence reads go to a person. ### 3. Match to your master data This is where order entry software earns its money, and where distributors have problems retailers never see. - **Customer item numbers to your SKUs.** Buyers order with their own part numbers, a UPC, or a description like "romaine hearts 3pk." The system needs a cross-reference per customer that learns from every correction. - **Customer aliases.** "Smith's Market #4", "SMITH MKT ELM ST" and an email from a store manager's Gmail address can all be the same account. The system has to resolve the sender to a customer record before it can check pricing. - **Ship-to resolution.** A restaurant group with 40 locations sends one PO with a delivery address typed by hand. The system has to match that text to the right ship-to code in your ERP, or the order goes to the wrong dock. - **Case versus each.** The buyer orders "6" of an item you stock in cases of 12. Is that 6 cases or 6 eaches? The answer depends on the customer and the item, and the conversion table has to live somewhere other than a senior rep's head. - **Catch weight.** In food and protein distribution, the buyer orders 4 cases of salmon, but you invoice by the pound and the weight is only known at pick. The order should post in cases with an estimated weight, and the price check should compare the per-pound rate, so a variable extended price does not trip a false exception. - **Contract price.** Every line gets checked against that customer's price list, tier or promotion. A price mismatch caught at entry costs nothing. Caught on the invoice, it becomes a short payment and a dispute. ### 4. Validate and route exceptions Once matched, each order runs through your business rules: does the SKU exist and is it active, is the quantity above the minimum and within a sane range for this customer, is the item in stock, is the requested date possible. Orders that pass go straight through. Orders that fail land in an exceptions queue with the specific reason, next to the original document, so a rep fixes one field instead of re-keying the order. Expect the exception rate to be highest in the first weeks, while the system learns your catalog and customer aliases, and to fall as corrections build up. Ask every vendor for the touchless rate their live customers see after 90 days, and how they define it. ### 5. Post to the ERP and send acknowledgments The clean order lands in your ERP as a sales order through an automated handoff: an API call, or an EDI 850 file your ERP's EDI import picks up on a schedule. Someone downloading a CSV and importing it by hand at 3pm is a delay. For EDI trading partners, the loop also runs back out: a 997 functional acknowledgment, an 855 PO acknowledgment if the partner requires one, then the [856 ship notice](/guides/edi/856-ship-notice) and 810 invoice. Retailers charge back for missing or late ones. ## AI Agents and AI Extraction: What the Labels Mean Most vendors now describe their product as an "AI agent" for order entry. In practice the label covers two different designs. Some products extract the order and hand a person a draft to approve every time. Others post orders on their own when every field clears a confidence threshold and every validation rule passes, and only route the rest to a person. Both are reasonable. What you want to know is where the human checkpoint sits, whether you control the thresholds per customer, and whether there is an audit trail showing what the system changed and who approved it. For a side-by-side on how AI intake and EDI complement each other, see [AI order agent vs EDI](/blog/ai-order-agent-vs-edi). ## The 2026 Order Entry Software Vendor Landscape Vendors fall into four tiers. Knowing the tier before the demo saves weeks. - **Enterprise document automation:** AI that reads unstructured orders for large manufacturers and distributors, sold by quote, with managed implementation. - **AI order entry for distributors:** products built around distributor order intake, often with a vertical focus. - **B2B commerce and OMS suites:** platforms that bundle portals, rep apps or storefronts with order capture. - **SMB self-serve:** published pricing, free trial, configured by your own team. All facts below come from each vendor's own site or trade press, linked under the table. Check them against your own demo; this market moves monthly. | Vendor | Tier | What it reads | Pricing | Best for | Watch out for | |---|---|---|---|---|---| | **Conexiom** | Enterprise document automation | Email, PDF, Excel, CSV, EDI 850 as input | Quote-based | Large industrial and electrical distributors on Epicor P21, Eclipse, SAP, NetSuite or Dynamics; advertises a 30-day average implementation | It accepts the EDI 850 as a document; ask how 855, 856 and 810 outbound are handled, since that usually means a separate EDI provider | | **Esker** | Enterprise document automation (O2C suite) | EDI, XML, PDF, email body | Quote-based | Enterprises that also want AP, AR, credit and collections from one vendor; Synergy Transformer AI claims over 92% recognition | Order management is one module in a wide suite, so scope, cost and timeline follow an enterprise buying process | | **Rossum** | Enterprise document automation (horizontal IDP) | Email, API, upload; EDI for e-invoicing | Starter from $18,000 per year | Teams automating several document types (AP invoices plus orders) on one platform | Master data matching, which order entry depends on, is listed from the Business tier up; you configure the order logic | | **Choco (OrderAgent)** | AI order entry for distributors (food) | Email, PDF, SMS, WhatsApp, voicemail, handwritten notes | Demo and quote | Foodservice distributors taking restaurant orders by text and voicemail; optional Autopilot posts high-confidence orders | Built for food and beverage; outside that vertical the catalog and workflow fit is thinner | | **Canals** | AI order entry for distributors (building and industrial) | Email, PDF, material lists, any sales channel | Quote-based | Electrical, plumbing, HVAC, MRO and building-materials distributors who also want quoting, AP and part-number conversion; raised a $35M Series A in May 2026 | Its sweet spot is multi-branch distributors in its verticals; confirm fit if you sell food or consumer goods | | **OrderSync** | AI order entry for distributors (multi-format plus EDI) | EDI X12 (850, 855, 856, 810, 997), EDIFACT, PDF, email, CSV, Excel, fax | Flat monthly subscription quoted on order volume; no published price list | Distributors with retail EDI accounts and a long tail of email and PDF buyers who want one pipeline into the ERP | Newer company with a smaller reference list than Conexiom or Esker; confirm the connector for your specific ERP in the demo | | **OrderEase** | B2B commerce and OMS suite | EDI, email (CSV, XLS, PDF, inline text), portal, sales rep app, marketplaces | From $17 per day; fixed-price packages for EDI and ERP setup | Suppliers who want a B2B ordering portal, rep app and order hub, with QuickBooks and NetSuite syncing | No free trial; price scales with connected systems and channels, so price the full configuration up front | | **WizCommerce (Ella)** | B2B commerce and OMS suite | Email, PDF, spreadsheets, scans, handwritten orders | Quote-based | Wholesalers, especially home furnishings and gifts, that also want a rep app and B2B storefront; Ella launched in June 2026 | The AI order entry product is new; confirm EDI transaction depth if you supply big-box retail | | **StackCube** | SMB self-serve | Email, PDF, spreadsheet, chat and text, order portal | Starter $79/mo (500 orders), Growth $239/mo (1,500), Scale $479/mo (3,000); 30-day free trial | Small wholesalers with 5 to 50 staff who want to price and trial before talking to sales | Approved orders export as ERP-entry and shipping files; EDI is outside its listed features, so retail EDI accounts need a separate tool | Sources: [Conexiom](https://conexiom.com), [ERP Research on Conexiom pricing](https://www.erpresearch.com/erp-add-ons/distribution/conexiom), [Esker Synergy Transformer announcement](https://www.esker.com/company/press-releases/esker-announces-innovative-synergy-transformer-ai-order-processing-automation), [Esker order management](https://www.esker.com/business-process-solutions/order-to-cash/customer-service-automation/order-management-automation-system), [Rossum pricing](https://www.rossum.ai/pricing/), [Choco OrderAgent](https://choco.com/us/stories/suppliers/orderagent-the-ai-order-processing-engine-thats-powering-the-future-of-food-distribution), [OpenAI case study on Choco](https://openai.com/index/choco), [Canals](https://www.canals.ai), [Distribution Strategy Group on Canals' Series A](https://distributionstrategy.com/2026/05/canals-raises-35-million-to-expand-ai-automation-platform-for-wholesale-distributors), [OrderEase pricing](https://www.orderease.com/pricing), [OrderEase email orders](https://www.orderease.com/email-order-entry-automation), [Distribution Strategy Group on WizCommerce Ella](https://distributionstrategy.com/2026/06/wizcommerce-launches-ai-order-entry-tool-for-distributors), [StackCube pricing](https://www.stackcube.io/pricing). Detailed head-to-heads: [OrderSync vs Conexiom](/ordersync-vs/conexiom), [OrderSync vs Esker](/ordersync-vs/esker), [OrderSync vs WizCommerce](/ordersync-vs/wizcommerce) and [OrderSync vs OrderEase](/ordersync-vs/orderease). ### How to read the table Two questions sort the field fast. First, what share of your volume is EDI? If you supply retailers that require 856 ship notices and 810 invoices, a tool that reads PDFs but sends no EDI leaves you running two systems and reconciling them. Second, do your customers order by text and voicemail? If so, Choco and StackCube both list those channels. Price transparency is the other split. StackCube and OrderEase publish a starting price, Rossum publishes its entry tier, and everyone else, OrderSync included, quotes. A quote is fine as long as you get it in writing early with your real order volume. ## Order Entry for Distributors: What Is Different Retail suppliers mostly receive EDI from a handful of large buyers. Distributors receive everything from everyone. A seafood distributor might have 3 retail accounts sending EDI and 400 smaller accounts sending orders however suits them. The retail accounts are 60% of volume; the other 40% is often the highest-margin business, and it is the part still being keyed by hand. A typical mix looks like 20 to 40% EDI, 40 to 60% email with PDF or spreadsheet attachments, and 10 to 20% email body text, fax or phone. That long tail kills template-based systems. Building and maintaining a template for each of 400 buyers is a queue that never empties. AI extraction handles a new sender's first order on arrival: it either posts clean or lands in exceptions with specific flags. The [replacing manual order entry in wholesale](/blog/replacing-manual-order-entry-wholesale) guide runs the volume math on this. Distribution ERPs vary more than retail ones, too. Prophet 21, DDI, Sage X3, Aptean, Acumatica, NetSuite and Dynamics 365 Business Central all show up in distribution, and connector coverage is uneven. Ask for a live demonstration on your ERP version. ## Where OrderSync Fits OrderSync runs every inbound order format through one pipeline. EDI X12 transactions (850 in; 855, 856, 810 and 997 back out), EDIFACT, PDFs, scanned documents, email bodies, CSV, Excel and fax all land in the same queue. AI extraction reads unstructured orders without templates, scores its confidence per field, and validates every line against your catalog, customer-specific pricing, quantity and unit-of-measure rules, and per-partner business rules. Clean orders are delivered to your ERP as EDI 850 files over SFTP, with 855, 810, 856 and 997 on the same channel, so any ERP with an EDI import can take them on day one. A direct API connector for your ERP is scoped per deployment, and webhooks cover real-time events. Exceptions go to one dashboard with the source document beside the extracted order, and every receipt, edit, validation and sync is timestamped in the audit trail. Corrections feed back into extraction, so repeat senders get faster and cleaner over time. See how it handles specific channels in [email order processing](/email-order-processing) and [PDF order processing](/pdf-order-processing), or the full [eliminate manual order entry](/solutions/eliminate-manual-order-entry) overview. **Pricing**: OrderSync is a flat monthly subscription quoted on your order volume. We do not publish a price list. Tell us your monthly order count and channel mix on an intro call and you get a written number. ## Buyer's Checklist for Order Entry Software Copy this into your evaluation sheet and score each vendor on your own documents. | # | Requirement | What a good answer looks like | |---|---|---| | 1 | Channel coverage | Every channel you receive today (EDI, PDF, email body, spreadsheet, fax, text) lands in one queue | | 2 | EDI depth | Inbound 850 plus outbound 997, 855, 856 and 810, with trading-partner onboarding measured in days to weeks | | 3 | New-sender handling | A buyer's first order is read without a template build | | 4 | Customer item cross-reference | Learns buyer part numbers and descriptions from corrections, per customer | | 5 | Customer and ship-to resolution | Matches sender aliases and free-text addresses to your account and ship-to codes | | 6 | UOM and catch weight | Converts case, each and pound by customer and item; handles variable-weight lines without false price flags | | 7 | Contract pricing check | Validates every line against the customer's price list, tier or promo | | 8 | Exceptions workflow | Specific reason per flag, source document side by side, one-field fixes | | 9 | Autopost control | You set confidence thresholds and which customers can post without review | | 10 | ERP write | Automated delivery into your ERP version (API or scheduled EDI import), with no manual file handling | | 11 | Audit trail | Who changed what, when, and what the system extracted originally | | 12 | Pricing model | Written quote at your real volume, including setup, overage and EDI partner costs | ### Questions to ask in the demo 1. "Here are 25 of our real orders, including the worst scanned fax. Run them now." Then count the clean posts, the exceptions, and whether each exception was a real problem. 2. "This customer has never sent us an order before. What happens to their first PO?" 3. "A buyer orders 6 of an item we stock in cases of 12. Show me how the system decides." 4. "Show me a catch-weight line and what the price validation does with it." 5. "Do you send 855, 856 and 810 back to our trading partners, or only read the 850?" 6. "How long does a new EDI trading partner take to go live?" Answers measured in months point to a manual mapping queue. 7. "Show me the order landing in our ERP, on our version, with our custom fields." 8. "What does this cost at our volume, in writing, including setup?" Before any EDI demo, run a few of your partners' files through the [free EDI Inspector](/edi-inspector) so you know exactly which transaction sets and segments the vendor needs to handle. ## Manual vs Automated Order Entry: The Cost Math Put your own numbers into this model. The defaults come from the benchmarks above. | Input | Manual entry | AI order entry | |---|---|---| | Orders per day | 200 | 200 | | Touch time per order | 4 minutes (keying only; 10 to 15 with checking) | Under 1 minute on exceptions only | | Share of orders touched | 100% | Exceptions only; highest at launch, falling as aliases are learned | | Daily labor at $20/hour | $260 | About $7 per 10% of orders that need a one-minute fix | | Cost per order (APQC range) | $5 to $15 | Under $1 best in class | | Order accuracy | About 97% average | 99.5% or better best in class | The labor line is the easy part of the business case. The bigger number is usually errors: every mis-keyed price, wrong unit or wrong ship-to costs freight, a credit memo and a conversation with a customer who now trusts your invoices a little less. Count last quarter's credits and re-deliveries that trace back to order entry, and add that to the labor figure. Then compare against the software quote. For most distributors above 50 orders a day across more than two formats, the payback lands inside the first year. For the full process view, our guide to [automated order processing](/blog/automated-order-processing) covers what happens downstream of entry. ## Common Mistakes When Choosing Order Entry Software **Buying for your largest channel only**: "We mostly get EDI" usually means 60 to 70% EDI. The remaining third is where the keying hours are. **Demoing on vendor samples**: Clean sample PDFs prove nothing. Your scanned faxes and spreadsheets with merged cells prove everything. **Skipping the ERP check**: A connector list on a website is a claim. A sales order appearing in your ERP sandbox is evidence. **Ignoring the exceptions screen**: Your team will spend its time there. If fixing one wrong unit takes six clicks, that is your new bottleneck. **Pricing for today's volume**: Per-document or per-partner pricing that works at 100 orders a day can double at 300. Get the quote at next year's volume too. ## Frequently Asked Questions ### What is order entry software? Order entry software captures incoming customer purchase orders, checks them against your products, prices and customer records, and creates sales orders in your ERP. AI order entry software adds the ability to read unstructured orders such as PDFs, email bodies, spreadsheets and faxes, so nobody has to retype them. ### What is the difference between an order entry system and an order management system? An order entry system handles the front of the process: receiving purchase orders and turning them into validated sales orders. An order management system covers the full lifecycle after that, including allocation, fulfillment, shipping, invoicing and returns. Many platforms overlap, but they solve different problems. ### How does AI order entry work? It captures orders from every channel, extracts the header and line items, matches buyer item numbers, customer names, units of measure and ship-to addresses to your master data, validates price and quantity rules, then posts clean orders to the ERP and routes the rest to an exceptions queue with the specific reason. ### Does AI order entry replace EDI? No. EDI carries structured X12 orders from large trading partners who require it, along with the 856 ship notices and 810 invoices they expect back. AI order entry reads the unstructured orders everyone else sends. Most distributors need both, ideally in one pipeline so every order follows the same validation rules. ### How much does order entry software cost? Published prices in 2026 run from StackCube at $79 per month for 500 orders, to OrderEase from $17 per day, to Rossum from $18,000 per year. Conexiom, Esker, Choco, Canals and WizCommerce quote. OrderSync charges a flat monthly subscription quoted on order volume. Compare quotes against your current cost of $5 to $15 per manually entered order. ### How long does implementation take? Self-serve tools can run in days. Conexiom advertises a 30-day average. Enterprise suites with multiple modules usually take a quarter or more. The biggest variables are ERP integration and how many EDI trading partners need to be onboarded, so ask for a committed go-live date in writing. ### Can order entry software handle catch weights and unit of measure conversions? Some can and some cannot, so test it. Give the vendor a real order with a variable-weight item and one where the buyer orders in eaches against a case-pack item, and watch whether the system converts correctly and validates the per-pound price without flagging a false mismatch. ### What is B2B order entry? B2B order entry is the process of turning purchase orders from business customers into sales orders. It differs from consumer checkout because buyers send orders in their own formats with their own item numbers, contract pricing applies per customer, and large trading partners often require EDI. ## See It on Your Own Orders Bring 20 to 30 real orders from the last 90 days, including your worst ones, and we will run them through OrderSync live with you. [Book My Intro Call](/book) --- # Order Fulfillment Automation: From Order to Shipment Source: https://ordersync.io/blog/order-fulfillment-automation > How to automate order fulfillment from validation through shipping. Covers inventory allocation, ASN generation, 3PL vs in-house, and key metrics. Order fulfillment automation takes a validated purchase order and moves it through warehouse pick, pack, and ship without manual handoffs. It triggers inventory allocation, generates pick tickets, produces shipping labels, and sends EDI 856 ASNs back to the buyer. Most gains come from eliminating delays between order receipt and warehouse action. **Order fulfillment automation uses software to move orders through validation, inventory allocation, pick-ticket generation, ASN creation, and invoicing without manual data entry at each handoff, and top-performing distribution operations achieve order accuracy above 99.5% using it.** An order hits your inbox. Someone copies line items into the ERP. Someone else prints a pick ticket. A third person generates the shipping label, then manually types shipment data into the retailer's portal. Every handoff is a chance for errors, delays, and chargebacks. Order fulfillment automation replaces those manual handoffs with system-to-system data flows that move an order from receipt to shipment without human re-keying. This guide covers how the process breaks down, how inventory allocation fits in, where automation pays off the fastest, and how the approach changes depending on whether you run your own warehouse or use a 3PL. Research and benchmarks on fulfillment performance: - The [Warehouse Education and Research Council (WERC)](https://www.werc.org/) benchmarks top-performing distribution operations at order accuracy above 99.5%, versus 97% for average performers - [Aberdeen Group research](https://www.aberdeen.com/) finds best-in-class warehouses maintain order accuracy above 99.6%, and the 2.6% gap versus average translates to significant chargeback exposure at scale - [Supply Chain Dive](https://www.supplychaindive.com/news/EDI-supplier-data-linkage-visibility-connected-ERP/443706/) has documented that retailer penalty programs for supplier compliance failures are growing in both scope and dollar amounts per incident ## What Is Order Fulfillment Automation? **Order fulfillment automation is the use of software to move orders through validation, inventory allocation, picking, packing, shipping, and invoicing without manual data entry at each stage, with the goal of reducing errors, cutting cycle time, and letting your team focus on exceptions.** The [Warehouse Education and Research Council](https://www.werc.org/) benchmarks top-performing operations at order accuracy above 99.5%, a level that is only achievable when data flows system-to-system rather than through manual re-keying at each step. This is not about replacing your warehouse staff with robots. It is about eliminating the data entry, copy-paste, and portal work that sits between your incoming orders and your shipping dock. When an [EDI 850 purchase order](/guides/edi/850-purchase-order) arrives from a retailer or a PDF order comes in from a smaller account, automated fulfillment means your systems handle the routing, validation, and document generation without someone sitting in front of a screen doing it manually. According to the [Warehouse Education and Research Council (WERC)](https://www.werc.org/), top-performing distribution operations achieve order accuracy rates above 99.5%. The gap between average performers and top performers almost always comes down to how much manual intervention sits between order receipt and shipment. ## The Fulfillment Process: From Order to Invoice Every order follows the same general path. Automation can touch each step, but some steps benefit more than others. ### 1. Order Validation The order arrives (EDI, email, PDF, portal download) and your system checks it against your product catalog, pricing rules, and customer records. Does the SKU exist? Does the quantity match the customer's typical order pattern? Is the pricing correct per the trading partner agreement? Manual validation means someone eyeballs the PO and cross-references it against a spreadsheet. Automated validation runs these checks instantly and flags only the exceptions that need human review. [Order processing automation](/order-processing-automation) tools handle this step by applying business rules to every incoming order, regardless of format. ### 2. Inventory Allocation Once validated, the order needs inventory assigned. Allocation (or reservation) means linking specific inventory to a specific order. Once allocated, that quantity is no longer "available to sell" for other orders. This prevents overselling, which leads to backorders, split shipments, chargebacks, and strained relationships. As [Supply Chain Dive](https://www.supplychaindive.com/news/EDI-supplier-data-linkage-visibility-connected-ERP/443706/) has reported, retailer penalty programs for supplier compliance are becoming increasingly costly. Allocation can happen at order entry (when you receive the 850), at a batch run (e.g., nightly), or at pick release. The important thing is that it happens before you promise a ship date or send a confirmation that implies you have stock. Your system checks available stock, reserves the quantities, and updates available-to-promise numbers so you do not oversell. For multi-warehouse operations, allocation also involves choosing which location fulfills the order based on proximity, stock levels, or shipping cost. This is where stale data causes real damage. If your inventory counts are not synced between your [ERP](/erp-integration) and your fulfillment systems, you allocate stock that does not exist. The result: backorders, split shipments, and unhappy trading partners. Real-time inventory sync between your order platform and warehouse system is the single most impactful automation in the allocation step. #### When You Cannot Fully Allocate Sometimes you accept an order with one line (or more) short. In that case: - **Backorder**: Reserve what you can, and plan to ship the rest when stock arrives. Communicate the backorder and revised dates to the customer. - **Partial ship**: Ship what you have and send an EDI 856 for that shipment; send another 856 when the remainder ships. - **Substitute or cancel**: If your partner allows it, offer a substitute or cancel the line and update them promptly. Having accurate, real-time inventory makes these decisions possible. Without it, you discover shortages too late. ### 3. Pick and Pack Allocation triggers pick ticket generation. The warehouse team receives the pick list (digitally or on paper), pulls the items, and packs them according to the customer's requirements. Retail customers often have specific packing requirements: case-level barcodes, specific carton sizes, inner pack quantities. Automation here is mostly about data flow. The pick ticket generates automatically from the allocated order. Carton labels print based on the customer's requirements. Pack verification (scanning items as they go into boxes) confirms accuracy before the carton gets sealed. ### 4. Shipping The packed order needs a carrier, a shipping label, and tracking information. Automated fulfillment systems rate-shop across carriers, generate labels, and capture tracking numbers without someone logging into FedEx or UPS manually. For LTL shipments, the system generates BOLs and schedules pickups. ### 5. ASN Generation For retail trading partners, the [advance ship notice (EDI 856)](/guides/edi/856-ship-notice) is non-negotiable. The ASN tells the retailer exactly what is on the truck, down to the carton level. It includes SSCC-18 barcodes, item quantities per carton, PO references, and carrier information. Generating this manually is one of the most error-prone steps in retail fulfillment. Automated ASN generation pulls shipment data directly from your packing and shipping records, formats the 856 document to the retailer's specifications, and transmits it before the truck leaves the dock. Miss this step or get it wrong, and you are looking at chargebacks. If you need to validate your ASN data, the [free EDI Inspector](/edi-inspector) can parse your 856 files segment by segment. Your 856 should be generated from the same shipment and inventory data you use internally. No re-keying, no mismatch between what you think you shipped and what you told the retailer. For more on how this document works, see [what is an EDI 856](/guides/edi/856-ship-notice). ### 6. Invoicing The last document in the cycle is the invoice ([EDI 810](/guides/edi/810-invoice) for electronic trading partners). Automated invoicing generates the invoice from the shipment record, matching line items and quantities to what actually shipped rather than what was originally ordered. This avoids the classic problem of invoicing for 100 units when you only shipped 96. ## Inventory Data Through the Fulfillment Cycle From order to delivery, inventory data should flow in one direction: truth in one place, then shared everywhere. - **At order entry**: Available inventory drives what you can promise; allocation reserves it. - **At pick/ship**: Deductions and movements update the same source of truth. - **In 846**: If you send [inventory advice (EDI 846)](/guides/edi/846-inventory-inquiry), it reflects post-shipment levels so the next round of 850s is based on current availability. - **In 856**: Quantities and dates match what actually shipped. When inventory, orders, and 856 are aligned, you reduce manual work, cut errors, and give retailers the visibility they need to trust your fulfillment. As [Logistics Management](https://www.logisticsmgmt.com) has emphasized, this alignment between inventory data and outbound EDI documents is a hallmark of top-performing distribution operations. ## What to Automate First You do not have to automate everything at once. Here are the highest-impact starting points, ranked by the ratio of effort saved to implementation complexity. **1. Order intake and validation.** This is where the most labor hours go and where errors have the longest tail. A single wrong SKU entry cascades through allocation, picking, shipping, and invoicing. [AI-powered order automation](/ai-order-automation) can extract data from PDFs, emails, and spreadsheets, then validate it against your catalog and pricing rules before it touches your ERP. Start here. **2. ASN generation.** If you ship to retailers, this is the step that directly costs you money when it goes wrong. Automating ASN creation eliminates the compliance risk and frees up the person who currently spends hours building 856 documents in a portal or legacy system. **3. Inventory sync.** Real-time or near-real-time inventory data flowing between your warehouse and your order system prevents overselling and reduces the time your team spends reconciling counts. **4. Shipping label generation.** Lower effort to automate. Most shipping platforms (ShipStation, EasyPost, or carrier-native APIs) integrate with order systems to generate labels automatically once packing is complete. **5. Invoice generation.** Automate last. Invoicing is important, but it rarely causes the same operational disruption as a missed ASN or a wrong shipment. Once your shipment data is clean, invoicing automation is straightforward. ## Fulfillment Automation: 3PL vs. In-House The automation approach differs depending on whether you fulfill orders from your own warehouse or use a third-party logistics provider. | Factor | In-House Fulfillment | 3PL Fulfillment | |--------|---------------------|-----------------| | System control | Full control over WMS, ERP, and label printers | Limited to the 3PL's systems and integration options | | Data exchange | Internal system-to-system (APIs, database) | EDI or API between your platform and the 3PL's WMS | | Pick/pack automation | You invest in barcode scanning, conveyor systems, etc. | The 3PL handles physical automation; you handle data | | ASN generation | Your system generates the 856 from your shipment data | You need shipment confirmation from the 3PL before generating the ASN | | Inventory visibility | Direct access to real-time counts | Dependent on the 3PL's inventory feed frequency | | Cost model | Fixed infrastructure cost, variable labor | Per-order or per-unit fees from the 3PL | | Best for | High volume, complex packing requirements, full control | Variable volume, multi-region fulfillment, limited warehouse capacity | If you use a 3PL, [3PL EDI integration](/blog/3pl-edi-integration) becomes the critical automation layer. Your order platform sends shipping orders to the 3PL's WMS, and the 3PL sends back shipment confirmations that feed your ASN and invoice generation. The quality of this data exchange determines whether your fulfillment automation actually works or just shifts the manual work to a different step. For in-house operations, the focus is on connecting your ERP, WMS, and shipping systems into a single pipeline. [OrderSync's ERP integration](/erp-integration) handles the order-to-ERP sync, and from there your WMS and shipping platform take over. ## Key Metrics for Fulfillment Automation Track these numbers before and after automating to measure real impact. | Metric | What It Measures | Target | Why It Matters | |---|---|---|---| | **Order accuracy rate** | % of orders shipped without errors | 99%+ | Wrong items or quantities trigger chargebacks and returns | | **Fill rate** | % of ordered units shipped on first attempt | 95%+ | Directly affects retailer scorecards and reorder volume | | **OTIF (On Time In Full)** | % of orders delivered on time and complete | 98% (Walmart standard) | Retailers penalize suppliers who miss the threshold | | **Order-to-ship cycle time** | Elapsed time from order receipt to carrier pickup | Under 24 hours | Manual operations run 24-48 hours. Automated hits same-day. | | **ASN compliance rate** | % of shipments with timely, accurate ASNs | 100% | If below 100%, check data flowing from packing into the ASN generator | | **Inventory accuracy** | Match between system counts and physical stock | 97%+ | Inaccurate data causes overselling and stockouts | | **Cost per order** | Total fulfillment cost divided by orders shipped | Decreasing over time | Automation shifts cost from variable labor to fixed technology | | **Backorder rate** | % of lines that cannot be filled from stock | Under 5% | High rates signal inventory planning problems | According to research by the [Aberdeen Group](https://www.aberdeen.com/), best-in-class warehouses maintain order accuracy above 99.6%, while average operations sit around 97%. That 2.6% gap translates to significant chargeback exposure and returns cost at scale. ## Frequently Asked Questions ### What is the difference between order fulfillment automation and warehouse automation? Order fulfillment automation focuses on the data side: order validation, inventory allocation, document generation (pick tickets, shipping labels, ASNs, invoices), and system-to-system communication. Warehouse automation refers to the physical side: conveyor systems, automated storage and retrieval (AS/RS), robotic picking, and sortation equipment. Most mid-size operations benefit more from data automation first because it has lower upfront cost and faster ROI. ### What is the connection between inventory and order fulfillment? Inventory is the foundation of fulfillment. Every step, from accepting an order to picking, shipping, and sending an ASN, depends on accurate inventory data. If your available-to-sell numbers are wrong, you accept orders you cannot fill. If inventory is not allocated at order entry, the same stock gets promised to multiple customers. Getting inventory right is what makes fulfillment predictable. ### How do I prevent overselling? Allocate inventory to orders at the time you accept them. When a purchase order arrives, your system should check available-to-sell quantities (on hand minus already reserved stock) and reserve the needed units. This ensures the same inventory is never promised to two different orders. Real-time inventory updates during picking and shipping keep the numbers accurate. ### How long does it take to implement automated order fulfillment? Timeline depends on your current systems and integration complexity. Connecting an order platform to an existing ERP and WMS typically takes 4 to 8 weeks. Adding [automated order processing](/order-processing-automation) for multi-format orders (EDI, PDF, email) can be operational within 2 to 4 weeks. The longest piece is usually mapping retailer-specific ASN requirements. ### Can small businesses benefit from fulfillment automation? Yes. Small businesses processing 50 or more orders per day see measurable time savings from automating order intake and validation alone. You do not need a large warehouse or high order volume to justify automation. The first win is usually eliminating manual data entry from PDF or email orders into your ERP, which [OrderSync's AI order automation](/ai-order-automation) handles without requiring a full warehouse management system. ### What systems need to integrate for fulfillment automation to work? At minimum, you need your order intake platform connected to your ERP or accounting system, and your ERP connected to your WMS or shipping platform. For retail suppliers, you also need EDI connectivity for receiving purchase orders and sending ASNs and invoices. [ERP integration](/erp-integration) is the backbone. Everything else builds on top of it. ### How does fulfillment automation handle order exceptions? Automated systems handle the routine and surface the exceptions. When an order fails validation (unknown SKU, pricing mismatch, quantity outside normal range), it routes to an exception queue for human review. The goal is not zero human involvement. It is making sure your team spends time on the 5% of orders that need attention rather than manually processing the 95% that do not. An [order management system](/order-management-systems) with a built-in exception dashboard makes this workflow practical. ### What causes fulfillment delays? The most common causes are inaccurate inventory data, late order processing, and poor warehouse coordination. When your system shows stock you do not actually have, orders get accepted and then stall at picking. Manual order entry adds hours or days of lag before orders reach the warehouse. Each of these problems traces back to inventory or order data being out of sync. --- # Order to Cash Process: Steps and Automation Source: https://ordersync.io/blog/order-to-cash-automation > The order to cash process in 8 steps, from order capture to cash application, with the KPI and APQC benchmark for each step and where automation pays off. The order to cash (O2C) process is the sequence a seller runs from receiving a customer order to collecting and recording the payment. It has eight steps: order capture, credit check, fulfilment, shipping and ASN, invoicing, collections, cash application, and reporting. Automating it shortens days sales outstanding and removes the keying errors behind invoice disputes. A purchase order hits your inbox at 9 AM. Three weeks later you're still chasing the payment. Somewhere between the order and the cash, a mistyped price, a late ship notice, or an invoice that didn't match the PO cost you days. That is the order to cash problem. For most mid-market B2B suppliers it isn't one broken step. It's a chain of small handoffs that compound into real cash flow drag. This guide walks through each step of the O2C process, the KPI that tells you whether it's working, published benchmarks to compare against, and where automation pays off first. ## What Is Order to Cash? **Order to cash (O2C) is the end-to-end business process that starts when a customer places an order and ends when the payment is received, applied to the right invoice, and posted to the ledger.** It spans sales operations, the warehouse, billing, and accounts receivable. O2C covers more ground than either order management or accounts receivable. Order management stops at fulfilment. AR starts at the invoice. O2C runs the whole cycle, which is why a pricing error at order entry shows up as a disputed invoice 35 days later. The buyer's mirror image is the [procure-to-pay process](/blog/procure-to-pay-process): your customer's P2P cycle creates the purchase order that starts your O2C cycle, and their [three-way match](/blog/three-way-match) decides whether your invoice gets paid on time. ## The 8 Steps of the Order to Cash Process | # | Step | What happens | KPI to track | Benchmark | Where automation applies | |---|---|---|---|---|---| | 1 | **Order capture** | PO arrives by EDI 850, PDF, email, portal or phone and is entered into the ERP | Touchless order rate; order entry error rate | No public cross-industry figure; mature automation targets 80%+ touchless | Parse EDI, extract PDF and email orders with AI, validate against catalog and contract pricing | | 2 | **Credit check** | Customer credit limit, terms and overdue balance are checked before release | Orders on credit hold; hold release time | Track against your own baseline | Auto-release orders within limit; route exceptions to a credit manager | | 3 | **Fulfilment** | Pick, pack and stage against the released order | Perfect order rate | APQC median 88%; top quartile 93%; bottom quartile 82% | Pick tickets generate on release; inventory reservations update automatically | | 4 | **Shipping and ASN** | Shipment leaves; carrier, tracking and carton data go to the customer | Customer order cycle time (order to delivery) | APQC median 12 days; top performers 5 days or less; bottom 25 days or more | EDI 856 built from pack data and sent before the truck arrives | | 5 | **Invoicing** | Invoice is issued from what actually shipped | Invoice accuracy; dispute rate | Invoice disputes cited by 23% of US firms as a cause of late payment (Atradius 2025) | Invoice generated from the shipment record; EDI 810 or PDF sent automatically | | 6 | **Collections** | Open invoices are tracked, dunned and escalated | Days sales outstanding (DSO) | APQC median 38 days; top performers 30 or less; bottom 46 or more | Scheduled reminders by aging bucket; dispute queue with the original PO attached | | 7 | **Cash application** | Payments are matched to invoices; short-pays and deductions are coded | Auto-match rate; unapplied cash | Track against your own baseline | Match using EDI 820 remittance, bank files and remittance emails | | 8 | **Reporting** | Cycle performance is reviewed and bottlenecks fixed | DSO trend; order cycle time; perfect order rate | Compare to the APQC figures above | One audit trail from PO receipt to cash, so every delay has a timestamp | Benchmarks come from APQC's Open Standards Benchmarking for [DSO](https://www.apqc.org/resources/benchmarking/open-standards-benchmarking/measures/days-sales-outstanding), [perfect order performance](https://www.apqc.org/What-Is-Perfect-Order-Performance) and [customer order cycle time](https://www.apqc.org/What-Is-Customer-Order-Cycle-Time), and from the [Atradius Payment Practices Barometer for the US, 2025](https://group.atradius.com/knowledge-and-research/reports/b2b-payment-practices-trends-in-north-america-2025). APQC's figures are cross-industry, so compare against your own payment terms and sector before drawing conclusions. ### 1. Order Capture The cycle starts when a customer sends a purchase order: an [EDI 850 purchase order](/guides/edi/850-purchase-order), a PDF from a buyer's inbox, a spreadsheet, or a portal order. The order is captured, checked against your item master and contract pricing, and entered in the ERP. This is where errors are cheapest to fix and most expensive to miss. A wrong unit of measure or a stale price here becomes a short shipment, a deduction, and a disputed invoice later. [Order processing automation](/order-processing-automation) pays for itself fastest at this step, and our research on [manual order entry costs and error rates](/blog/manual-order-entry-statistics) shows why. ### 2. Credit Check Before releasing the order, someone confirms the customer's credit limit, terms, and overdue balance. Established customers within limit should release automatically. New accounts, unusually large orders, and customers with balances past due route to a credit manager. ### 3. Fulfilment The released order goes to the warehouse for picking and packing. APQC defines a perfect order as one delivered complete, on time, undamaged, and with correct documentation. Its median is 88%, which means roughly one order in eight has something wrong with it at the median company. ### 4. Shipping and ASN When the shipment leaves, retail customers expect an advance ship notice. For EDI trading partners that is an [EDI 856 ship notice](/guides/edi/856-ship-notice), sent before the truck arrives, with carton-level detail that matches what's on the pallet. Late or inaccurate ASNs are one of the most common sources of retailer chargebacks. ### 5. Invoicing The invoice goes out after shipment. For EDI customers that's an [EDI 810 invoice](/guides/edi/810-invoice). For others, a PDF by email or an upload to an AP portal. Your customer's AP team will match it against their PO and their receiving record. If the three don't agree, the invoice stops. This is where most payment delays start, and [invoice processing automation](/blog/invoice-processing-automation) on the buyer's side means mismatches get caught faster and rejected harder. ### 6. Collections The customer pays on its terms: Net 30, Net 60, or whatever was negotiated. The work here is knowing what's open, what's overdue, and what's disputed across hundreds of invoices. The [Atradius 2025 US survey](https://group.atradius.com/knowledge-and-research/reports/b2b-payment-practices-trends-in-north-america-2025) found 43% of the value of B2B invoices on credit was overdue, and 5% ended as bad debt. ### 7. Cash Application Payments arrive by ACH, wire, check, card, or through an [EDI payment process](/blog/edi-payments-explained). Each one has to be matched to the right invoices and posted. A lump-sum payment covering 30 invoices with three deductions is where manual cash application falls apart. Remittance data, from an [EDI 820 payment order](/guides/edi/820-payment-order), a bank file, or a remittance email, is what makes automatic matching possible. Electronic payment is now the norm. [Nacha](https://www.nacha.org/news/b2b-payments-ach-network-increase-10-third-quarter) reported nearly 2.1 billion B2B ACH payments in the third quarter of 2025, up 10% year over year, and cited AFP data showing checks fell from 81% of B2B payments in 2004 to 26% in 2024. ### 8. Reporting The last step closes the loop. Track DSO, order cycle time, and perfect order rate monthly, and trace every slow order back to the step where it stalled. ## Where the O2C Process Breaks Down Most O2C problems fall into three categories. ### Manual Handoffs Between Teams The order desk enters the PO. Someone else runs credit. The warehouse picks and ships. Billing sends the invoice. AR chases payment. Each handoff is a delay and a chance for data to change. When order data lives in email threads and spreadsheets, nobody has the full picture. A customer calls about an order and three people check three systems to answer. ### Disconnected Systems Your ERP holds inventory and finance. An EDI tool handles electronic orders. Email handles PDF orders. Shipping software handles labels. None of them share data automatically, so someone exports from one and imports into another. Every transfer is a chance for an error that surfaces weeks later as an invoice mismatch. [ERP integration](/erp-integration) fixes this by putting order capture, fulfilment, and invoicing on one data pipeline. ### Invoice Disputes and Deductions Every dispute extends DSO and ties up AR staff. If a pricing error slipped through at order entry, you find out when the customer's AP team rejects the invoice a month later. Most DSO problems are invoicing problems that started as order entry problems. ## How to Automate Each Step O2C automation is a set of connected automations across the cycle. Start where you have the most volume and the most errors, which for most suppliers is order capture. ### Order Capture: Zero-Touch Entry Use [AI-powered order automation](/ai-order-automation) to extract line items, quantities, prices and ship-to details from PDFs and emails. EDI orders parse and validate automatically. The goal is a touchless order rate above 80%: four of five orders flow from receipt to ERP without a person touching them, and the exceptions (new items, price mismatches, missing data) land in a review queue. ### Credit: Rules-Based Release Set credit rules in your ERP or order platform. Customers within limit and current on payments release automatically. Everything else routes to a person with the reason attached. Price validation belongs here too: if the PO price doesn't match the contract, flag it before the order reaches the warehouse. ### Fulfilment and Shipping: Automated Ship Notices Pick tickets should generate when an order releases. When the shipment is confirmed, the ASN (EDI 856 or equivalent) should send without anyone building it by hand. For suppliers managing [purchase orders](/blog/purchase-order-automation) across several warehouses or 3PLs, this connection is critical. ### Invoicing: Generate From the Shipment The invoice should trigger when the shipment is confirmed and pull from the validated order and the actual shipment record. That gives you a clean three-way match on the customer's side from the start. EDI customers get an [810](/guides/edi/810-invoice); everyone else gets a PDF by email. ### Cash Application: Automated Matching Match incoming payments to open invoices using remittance data. When one payment covers many invoices, split and apply it automatically. For short-pays and deductions, categorize the reason (pricing, shortage, damage, promotional allowance) and route it to the right owner. Before you blame the matching rules, run your 820 remittance files through the [free EDI Inspector](/edi-inspector) to rule out formatting errors. ## What to Look For in Order to Cash Software Order to cash software falls into three groups: - **ERP-native O2C** (NetSuite, SAP, Dynamics 365): strong on invoicing, AR and the ledger; order capture usually assumes clean, structured input. - **AR and collections platforms**: strong on collections, cash application and deductions; they start at the invoice. - **Order automation platforms** like OrderSync: strong on the front of the cycle, turning EDI, PDF, email and spreadsheet orders into validated ERP orders and sending the 855, 856 and 810 back to trading partners. Ask any vendor which of the eight steps it automates end to end, which it hands off, and what happens to an order that fails validation. If you run QuickBooks, our [QuickBooks EDI guide](/blog/edi-quickbooks-integration) covers the order management limits that affect steps 1 through 5. ## Frequently Asked Questions ### What are the steps in the order to cash process? The order to cash process has eight steps: order capture, credit check, fulfilment, shipping and ASN, invoicing, collections, cash application, and reporting. Some frameworks merge credit into order management or split payment collection from cash application, but the sequence is the same. ### What is the difference between order to cash and procure to pay? Order to cash is the seller's process: receive an order, fulfil it, invoice, and collect. Procure to pay is the buyer's process: request, issue a purchase order, receive goods, match the invoice, and pay. One company's P2P cycle triggers its supplier's O2C cycle, and the documents (850, 856, 810, 820) are shared between them. ### What is a good DSO for B2B companies? APQC's cross-industry data puts median DSO at 38 days, with top performers at 30 days or less and bottom performers at 46 days or more. Judge your DSO against your own payment terms. A DSO of 40 is healthy on Net 45 terms and a warning sign on Net 15. ### What is order to cash automation? Order to cash automation uses software to run the O2C steps without manual handoffs: capturing and validating orders, releasing credit, generating ship notices and invoices from shipment data, and matching payments to invoices. The goal is lower DSO, fewer disputes, and fewer people retyping data between systems. ### How long does it take to automate the O2C process? Order capture and invoicing automation usually go live in 4 to 8 weeks. Full automation including cash application and deduction management typically takes 3 to 6 months. Automate in stages, starting with the step that has the most volume and the most errors. ### Can O2C automation work with EDI and non-EDI customers? Yes. EDI orders (850, 856, 810) move as structured data. PDF, email and portal orders are handled with AI extraction. Downstream steps work the same way regardless of how the order arrived. That multi-format approach is what [OrderSync's order processing automation](/order-processing-automation) is built for. ## Fix the Front of Your O2C Cycle If order entry errors are showing up as disputed invoices and creeping DSO, start at step one. We'll look at your current order mix and show what touchless capture looks like for your customers. [Book My Intro Call](/book) --- # Replacing Manual Order Entry in Wholesale Source: https://ordersync.io/blog/replacing-manual-order-entry-wholesale > How wholesale distributors can eliminate manual order re-keying with AI-powered automation, with a practical transition plan and ROI framework. Replacing manual order entry means using software to read incoming purchase orders—regardless of format—and enter them into your ERP automatically. For wholesale distributors, this eliminates the bottleneck of staff keying orders from emails and PDFs. Most distributors see 70-80% time savings and reduced fulfillment errors within 90 days. **Wholesale distributors that rely on manual order entry spend 60-70% more per order than those using automated methods, and the gap widens every time they add a new account or format.** The fix is available today: AI-powered extraction handles EDI, PDF, email, and spreadsheet orders through a single pipeline. Your warehouse ships 400 orders a day. Your order entry team keys in every single one by hand. You know it is a problem. You have known for years. But the fix always feels too disruptive, too expensive, or too uncertain, so the manual process sticks around. This article breaks down how wholesale distributors end up trapped in manual order entry, what it really costs, and a phased plan for getting out of it without disrupting your customer relationships or your operations. If you are still comparing vendors, start with our guide to [AI order entry software](/blog/order-entry-software). ## What Is Manual Order Entry? **[Manual order entry](/solutions/eliminate-manual-order-entry)** is the process of a person reading a purchase order (from a PDF, email, fax, or phone call) and typing each field into an ERP or order management system by hand. In wholesale distribution, this typically means keying customer info, line items, quantities, pricing, and shipping details for every order that arrives, a process that takes 5 to 15 minutes per order and carries a 1% to 3% error rate per field. ## The Manual Entry Trap Most wholesale distributors did not choose manual order entry. It just happened. A decade ago, you had 30 accounts and one person entering orders. Then you grew. New customers sent orders in different formats. Some faxed. Some emailed PDFs. Some called. A few sent spreadsheets. Your team adapted by hiring more people who could type fast and read purchase orders accurately. Today, a mid-size wholesale distributor with 200+ active accounts typically has 3 to 5 full-time employees doing nothing but order keying. According to the [Aberdeen Group](https://www.aberdeen.com/), companies that rely on manual order processing spend 60% to 70% more per order than those using automated methods. The trap works like this: - **Format chaos**: Your top 50 customers send orders in 12+ different formats, from EDI 850s to handwritten fax orders. [Handling too many order formats](/multi-format-orders) is one of the biggest pain points in wholesale - **Customer resistance**: Long-standing accounts insist on sending orders "the way they always have" — and [when customers won't use EDI](/blog/automated-order-processing), you need another path - **Hiring begets hiring**: Each new keyer adds capacity but also adds training time, error patterns, and management overhead - **Process lock-in**: Your ERP workflows assume a human is reviewing and entering every order, making automation feel like a rebuild The result? Your order entry team becomes the bottleneck between receiving an order and shipping it. And that bottleneck gets worse every time you add a new account. For a broader look at the software category, see our guide to [wholesale distribution software](/blog/wholesale-distribution-software). ## What Manual Entry Actually Costs Industry benchmarks on manual order processing costs: - [APQC's order management benchmarks](https://www.apqc.org/resource-library/resource-collection/sales-and-order-management-key-benchmarks) show median manual order processing costs of $5-$15 per order, while best-in-class automated operations run under $2 - [Aberdeen Group](https://www.aberdeen.com/) research confirms companies using manual order processing spend 60-70% more per order than those using automated methods Labor is the obvious cost, but it is not the biggest one. A full accounting of manual order entry costs includes four categories. ### Direct Labor A full-time order entry clerk costs $38,000 to $48,000 per year in salary and benefits, depending on your market. With 3 to 5 keyers, that is $114,000 to $240,000 annually just for the act of copying data from one format into another. ### Error-Related Costs Manual keying has a typical error rate of 1% to 3% per field. On a 15-line order with 6 fields per line (item number, quantity, UOM, price, ship date, PO reference), that is 90 data points and potentially 1 to 3 errors per order. Each error triggers a cascade: short shipments, wrong items, credit memos, return processing, and customer service calls. The [Data Entry Outsourcing Association](https://dataentryoutsourced.com/) estimates that the downstream cost of a single order entry error averages $50 to $100 in a B2B distribution environment. ### Opportunity Cost Your best operations people spend their time reviewing and correcting data entry instead of managing exceptions, improving fulfillment speed, or building customer relationships. That is hard to put a dollar figure on, but it is real. When your ops manager is spot-checking keyed orders instead of solving logistics problems, you are paying for expertise and getting clerical work. ### Customer Experience Slow order turnaround directly affects your customers. If it takes 2 to 4 hours to key and confirm an order that arrived at 10 AM, your warehouse may miss the same-day shipping cutoff. Your competitors running [automated order processing](/order-processing-automation) can confirm and begin picking within minutes. **Total cost for a mid-size wholesale distributor**: $200,000 to $400,000 per year when you combine labor, errors, opportunity cost, and lost business from slow turnaround. ## Automation Options for Wholesale Not every automation approach fits wholesale distribution. Here is how the four main options compare. | Feature | Customer Portal | EDI | AI Order Agent | RPA | |---|---|---|---|---| | **Setup effort** | High (build + onboard) | Medium to high | Low to medium | Medium | | **Customer adoption** | Low (customers resist portals) | Medium (large accounts) | High (no customer change) | N/A (internal only) | | **Format handling** | Single (portal form) | Single (EDI standard) | Any (PDF, email, CSV, EDI) | Scripted per format | | **Error rate** | Low (structured input) | Very low | Low (AI validation) | Medium (brittle scripts) | | **Scalability** | Good | Good | Good | Poor (breaks with changes) | | **Cost** | $50K-150K build + maintenance | $500-2,000/mo per provider | $500-2,000/mo | $30K-80K build + maintenance | | **Best for** | New accounts you control | Large retail trading partners | Mixed-format customer base | Repetitive ERP tasks | **The takeaway**: If your customers send orders in a mix of formats (and in wholesale, they always do), an [AI order agent](/ai-order-agent) handles the broadest range without requiring your customers to change anything. EDI works well for your largest accounts that already have EDI capability. Portals sound good in theory but adoption rates in wholesale distribution are notoriously low. For a detailed side-by-side on AI agents versus manual processing, see our [AI order agent vs manual entry comparison](/blog/ai-order-agent-vs-manual-entry). ## A Practical Transition Plan Replacing manual order entry does not have to be a big-bang project. The distributors who succeed treat it as a phased rollout over 3 to 6 months. ### Phase 1: Digitize (Weeks 1-4) Start by eliminating paper entirely. 1. **Redirect fax orders to email**: Most fax machines support email forwarding. Route all faxed POs to a shared inbox. 2. **Set up a central order inbox**: Create one email address (`orders@yourcompany.com`) where all non-EDI orders land. 3. **Catalog your formats**: List every customer, how they send orders, their volume, and their format. This becomes your automation roadmap. At this point, your team is still keying orders manually. But every order is now digital, trackable, and ready for automation. ### Phase 2: Automate High-Volume Customers (Weeks 5-12) Your top 20% of customers likely generate 70% to 80% of your order volume. Start there. 1. **Connect your AI order agent** to your central order inbox. Tools like [OrderSync's AI-powered order automation](/ai-order-automation) can read PDF, CSV, and email orders without templates or pre-configuration. 2. **Set up validation rules** against your product catalog, pricing tables, and customer records. The system should flag exceptions, not just extract data. 3. **Run in parallel**: For the first 2 weeks, have the AI process orders while your team continues keying. Compare results. This builds trust and catches edge cases. 4. **Go live with your highest-volume accounts first**. These give you the fastest ROI and the most learning. Connect processed orders directly to your ERP through [direct ERP integration](/erp-integration) so there is no manual export step. ### Phase 3: Expand and Optimize (Weeks 13-24) 1. **Roll out to remaining accounts** in batches of 10 to 20, sorted by volume. 2. **Move EDI-capable accounts to [wholesale EDI](/edi-for/wholesale-distribution)** for your largest retail and chain customers. Use the [free EDI Inspector](/edi-inspector) to validate EDI documents during onboarding. 3. **Reassign your order entry team**. With keying volume dropping 80%+, redeploy your team to exception handling, customer service, and fulfillment coordination. 4. **Measure and refine**. Track orders processed per hour, error rates, and order-to-ship time. Set targets and hold them. ## What to Tell Your Customers The biggest fear with order automation is customer disruption. Here is the good news: with an AI-based approach, most customers do not have to change anything. They keep sending orders the same way. Your system just processes them faster. For customers you want to move to electronic ordering, here is what works: - **Lead with their benefit**: "We are upgrading our order processing so you will get confirmations within minutes instead of hours." Not "We need you to change your process." - **Offer options, not mandates**: Let customers choose between email, a simple order form, or EDI. Do not force a portal on a customer who has been faxing orders for 15 years. - **Start with willing customers**: Some accounts will happily switch to email or CSV. Start with them and build momentum. - **Set a timeline for stragglers**: After 80% of accounts are digital, you can set a reasonable deadline (90 days is standard) for the remaining fax-only customers. For more on how [automated order entry](/blog/automated-order-processing) works across different input formats, including the technical details of AI extraction, see our full guide. ## Frequently Asked Questions ### How long does it take to replace manual order entry in wholesale distribution? Most wholesale distributors can automate 80% of their order volume within 12 weeks using a phased approach. The first phase (digitizing paper orders) takes 2 to 4 weeks. Automating high-volume accounts takes another 4 to 8 weeks. Full rollout, including edge cases and low-volume accounts, typically wraps up in 6 months. ### Will automation handle orders that come in unusual formats? AI-based order agents can process PDF purchase orders, email body text, CSV files, Excel spreadsheets, and EDI documents. If a customer sends a handwritten fax, the system can still attempt extraction, though accuracy depends on legibility. The key advantage over RPA or template-based tools is that AI agents do not need pre-built templates for each customer format. ### What happens when the system cannot read an order correctly? Good automation does not just extract data and hope for the best. It validates every line item against your product catalog, pricing, and customer-specific rules. When something does not match (wrong item number, unusual quantity, pricing discrepancy), the order gets flagged for human review. Your team handles exceptions instead of keying every order. ### How do I calculate ROI for order entry automation? Start with your direct labor cost for order keying (headcount times fully loaded salary). Add your estimated error cost (error rate times orders per month times average cost per error). Subtract the cost of the automation tool. Most wholesale distributors see a positive ROI within 3 to 4 months and a 60% to 75% reduction in order processing costs within the first year. ### Do my customers need to do anything differently? In most cases, no. An AI order agent reads orders in whatever format your customers already use. They can keep emailing PDFs, sending CSVs, or using any format they prefer. The only customers who need to take action are those still sending paper faxes (who will need to switch to email) and large accounts you want to onboard to [EDI for wholesale](/edi-for/wholesale-distribution). --- # Retail EDI: What Suppliers Need to Know Source: https://ordersync.io/blog/retail-edi-guide > A practical guide to retail EDI for suppliers. Learn which transactions retailers require, common compliance pitfalls, and how to get started. Retail EDI requires suppliers to exchange standardized electronic documents—purchase orders (850), invoices (810), and advance ship notices (856)—with buyers using ANSI X12 or EDIFACT formats. Each retailer has its own compliance guide specifying transaction versions, timing, and label requirements. Missing an ASN or sending wrong data triggers chargebacks. **Retail EDI is the mandatory electronic exchange of purchase orders, ship notices, invoices, and acknowledgments between suppliers and major retailers, enforced through chargeback programs that can cost 3% of COGS per non-compliant shipment.** You signed a deal with a major retailer. Then the vendor compliance packet arrives, and it says you need to be EDI-capable in 60 to 90 days. If you've never worked with retail EDI before, that timeline feels aggressive. But the requirements aren't optional, the deadlines are real, and the chargebacks for non-compliance start on day one. This guide covers exactly what supplier EDI looks like in retail: which transactions you need, what each major retailer actually expects, and where suppliers most commonly trip up. Key standards and compliance context for retail EDI: - The [ANSI X12 standard](https://x12.org/products/transaction-sets) defines the transaction set numbers (850, 856, 810, 997, 846) that all retail EDI compliance programs are built around - [GS1 US barcode standards](https://www.gs1us.org/industries-and-insights/standards) govern the GTIN, UPC, and SSCC-18 identifiers that retailers scan at receiving to match physical shipments against electronic ASNs - [GS1 US guide to UPCs](https://www.gs1us.org/upcs-barcodes-prefixes/guide-to-upcs) covers the SSCC-18 format and serial number allocation rules that Walmart and Target use for carton-level compliance ## What Is Retail EDI? **Retail EDI is the electronic exchange of standardized business documents between retailers and their suppliers using the [ANSI X12 standard](https://x12.org/), replacing manual document exchange with automated system-to-system communication.** Instead of emailing purchase orders, faxing invoices, or calling in shipment details, both parties send and receive structured data files that their systems can process automatically. The standard behind most retail EDI in North America is [ANSI X12](https://x12.org/), maintained by the Accredited Standards Committee. Each document type has a three-digit transaction set number. An [EDI 850 purchase order](/guides/edi/850-purchase-order) is a purchase order. An [EDI 856 ship notice](/guides/edi/856-ship-notice) is an advance ship notice (ASN). An EDI 810 is an invoice. These aren't proprietary formats. They follow a shared specification that thousands of trading partners use. If you're new to the concept entirely, start with [our essential guide to EDI](/blog/essential-guide-to-edi) for a full breakdown of how electronic data interchange works. **The short version:** retail EDI replaces manual document exchange with automated, system-to-system communication. Your retailer's system sends you a purchase order electronically. Your system receives it, processes it, ships the goods, and sends back the required documents, all without anyone re-keying data from a PDF. ## Why Retailers Require EDI Retailers don't require EDI to make your life harder. They require it because their supply chains can't function without it. ### Volume A retailer like Walmart processes millions of purchase orders per year across tens of thousands of suppliers in high-volume states like [California](/edi-distributors/california) and [Texas](/edi-distributors/texas). There is no manual process that scales to that level. EDI is the plumbing that makes automated replenishment, cross-docking, and just-in-time inventory work. ### Accuracy Manual order processing introduces errors at every touchpoint. A miskeyed quantity, a wrong item number, an incorrect ship-to address. According to [GS1 US](https://www.gs1us.org/upcs-barcodes-prefixes/how-to-use-your-upc-barcodes/share-information-electronically), standardized data exchange reduces order processing errors by up to 40% compared to manual methods. When you're shipping 10,000 cases a week, a 2% error rate creates hundreds of problems. ### Speed Retailers expect acknowledgment of purchase orders within hours, not days. They expect ASNs transmitted before the shipment arrives at the distribution center. EDI makes that possible because the data moves between systems in minutes. ### Chargebacks This is the part that gets suppliers' attention. Retailers enforce EDI compliance through [chargebacks](/solutions/reduce-edi-chargebacks), and they're not small. Walmart's OTIF (On Time In Full) program can result in penalties of 3% of the cost of goods for late or incomplete shipments. Target charges $500 or more per shipment for ASN failures. These costs add up quickly and can wipe out the margin on a retail account if you're not set up correctly. Understanding [what EDI capable means](/blog/edi-capable-meaning) is the first step toward avoiding these penalties. ## Core Retail EDI Transactions Not every retailer uses every transaction type, but six transactions form the backbone of most retail EDI programs. Here's what each one does and when it's used. | Transaction | Name | Direction | What It Does | |---|---|---|---| | **850** | Purchase Order | Retailer to Supplier | The retailer sends you an order with items, quantities, prices, and ship-to locations | | **855** | PO Acknowledgment | Supplier to Retailer | You confirm receipt of the order and indicate whether you can fill it as requested | | **856** | Ship Notice (ASN) | Supplier to Retailer | You notify the retailer that goods have shipped, with carton-level detail and tracking | | **810** | Invoice | Supplier to Retailer | You send an electronic invoice tied to the original PO number | | **997** | Functional Acknowledgment | Both directions | An automated receipt confirmation that says "I received your EDI file and it was valid" | | **846** | Inventory Inquiry/Advice | Supplier to Retailer | You share current inventory levels so the retailer can plan replenishment | The 850 and 856 are the most compliance-sensitive. If your system can't receive an [EDI 850](/guides/edi/850-purchase-order) and respond with an accurate 856, you will get chargebacks. The 997 is usually automated by your EDI platform, but missing 997s can also trigger compliance flags. For detailed segment-by-segment breakdowns, check our [EDI 850 guide](/guides/edi/850-purchase-order) and [EDI 856 ship notice guide](/guides/edi/856-ship-notice). ## Retailer-Specific Requirements Every major retailer has its own EDI compliance program with specific rules, deadlines, and penalties. Here are the ones that trip up suppliers most often. ### Walmart Walmart's supplier EDI program is the most demanding in retail. Key requirements include: - **OTIF compliance**: Walmart measures On Time In Full at the PO line level. The target is 98%. Falling below triggers chargebacks of 3% of COGS on the non-compliant portion. - **ASN timing**: Your 856 must be transmitted before the shipment arrives at the DC. Late ASNs are treated as OTIF failures. - **GS1 barcodes**: Every case and pallet needs GS1-128 labels with valid SSCC-18 numbers. Walmart scans these at receiving. If the barcode doesn't match the ASN data, the shipment gets rejected or charged back. - **Retail Link**: Walmart expects suppliers to monitor inventory and PO status through Retail Link, their supplier portal. For the full breakdown, read our guide to [Walmart EDI requirements](/edi-compliance/walmart). ### Target Target's EDI compliance is built around their DPCI (Department, Class, Item) numbering system. Requirements include: - **DPCI codes**: Every item in your EDI transactions must reference the correct Target DPCI number. This is Target's internal item identifier, and they won't accept orders or ASNs with UPC-only references. - **Carton-level ASN detail**: Target requires SSCC-18 barcodes and carton content detail in the 856. Each carton must be individually identified. - **Partners Online portal**: Target manages vendor compliance through Partners Online. Non-compliance notifications, chargeback disputes, and routing guides all live here. - **Chargeback amounts**: ASN failures at Target commonly result in $500+ per shipment chargebacks. Repeated failures can trigger vendor scorecard reviews. See our complete guide to [Target EDI requirements](/edi-compliance/target). ### Costco Costco's approach to supplier EDI is somewhat different from Walmart and Target: - **Simpler item structure**: Costco carries fewer SKUs per supplier, so the item master is typically smaller and easier to manage. - **Depot vs. cross-dock**: Costco uses different shipping models depending on the product category. Your ASN requirements change based on whether you're shipping to a depot or direct to a warehouse. - **EDI 846 inventory reporting**: Costco is more likely than other retailers to require regular inventory feeds via the 846 transaction. - **Vendor compliance manual**: Costco's compliance requirements are outlined in their vendor manual, which covers everything from pallet configuration to labeling. Read the full details in our [Costco EDI requirements](/edi-compliance/costco) guide. ### Amazon (Vendor Central) Amazon Vendor Central suppliers (1P) operate under a different EDI model than marketplace sellers: - **PO confirmation windows**: Amazon expects PO confirmations (855) within 24 hours. Missing this window can result in the PO being canceled. - **ASN requirements**: Amazon requires ASNs before shipment arrival at their fulfillment centers. Their system uses these to pre-plan receiving dock assignments. - **Shortage claims**: Amazon aggressively reconciles what the ASN says was shipped against what their receiving team counts. Discrepancies result in shortage claims that are notoriously difficult to dispute. - **EDI or API**: Amazon offers both EDI and API-based order exchange. Larger suppliers typically use EDI; smaller vendors sometimes use the Vendor Central portal for manual entry, though this doesn't scale. ## Common Compliance Pitfalls After working with hundreds of suppliers entering retail, these are the issues we see most often. ### 1. Late or Missing ASNs The single biggest source of retail chargebacks. Your 856 ship notice must be transmitted after the shipment leaves your dock but before it arrives at the retailer's DC. Many suppliers generate ASNs manually or in batch at end of day, which creates a window where shipments arrive before the ASN. Automate ASN generation to trigger at the point of shipment. ### 2. Missing or Incorrect GS1 Barcodes Retailers scan GS1-128 barcodes at receiving to match physical cartons against the electronic ASN. If the SSCC-18 on the label doesn't match what's in the 856, the shipment fails receiving. Common causes: reusing SSCC numbers, generating barcodes from a test range, or printing labels from a system that isn't connected to the ASN generation process. The [GS1 US barcode standards](https://www.gs1us.org/upcs-barcodes-prefixes/guide-to-upcs) documentation covers the SSCC-18 format and serial number allocation rules. ### 3. Wrong Unit of Measure (UOM) Your system says you shipped 12 eaches. The retailer's PO was for 1 case of 12. The ASN says 12 EA instead of 1 CA. This mismatch cascades through the entire transaction chain: the invoice won't match the PO, three-way matching fails, and payment gets held. Always confirm UOM at the item setup level with each retailer. ### 4. PO Acknowledgment Delays Some retailers (especially Amazon) cancel POs if the 855 acknowledgment isn't received within their window, typically 24 to 48 hours. If your EDI system doesn't auto-generate 855s, you need a process to review and respond to inbound POs the same day they arrive. ### 5. Incorrect Segment Data EDI files are built from segments, and each retailer has specific requirements for which segments must be populated and how. A missing REF segment with a department number, an incorrect DTM date format, or a wrong qualifier code in the N1 loop can cause the entire transaction to be rejected. Use our [free EDI Inspector](/edi-inspector) to parse and validate your EDI files before sending them to a trading partner. ## Getting Started as a Retail Supplier If you're setting up retail EDI for the first time, here's the sequence that works. ### Step 1: Get the Retailer's Vendor Compliance Guide Every major retailer publishes a vendor compliance manual or routing guide. This document tells you exactly which EDI transactions they require, what segments must be populated, what barcoding standards they expect, and what their chargeback schedule looks like. Read it before you do anything else. ### Step 2: Choose Your EDI Approach You have three main options for supplier EDI: - **Web EDI portal**: You log into a website and manually enter order data. Low cost, but doesn't scale and still involves manual data entry. Works for suppliers with fewer than 5 orders per week from a single retailer. - **Full-service EDI provider**: A traditional VAN (Value Added Network) or managed EDI service handles translation, mapping, and transmission. Monthly costs range from $300 to $2,000+ depending on volume and number of trading partners. - **Order automation platform**: A modern platform like OrderSync that handles EDI alongside other order formats (PDF, email, CSV), with built-in validation and [ERP integration](/erp-integration). This approach makes sense if you're dealing with multiple retailers or mixed-format order channels. For a deeper look at options for smaller teams, see our guide to [EDI for small business](/blog/essential-guide-to-edi). ### Step 3: Set Up Your Item Master Before you can exchange EDI documents, your item data needs to match the retailer's. That means mapping your internal SKUs to the retailer's item numbers (UPC, GTIN, DPCI, or whatever identifier they use). Get this wrong and every transaction fails. ### Step 4: Test with the Retailer Every retailer has a testing phase where you exchange sample EDI documents and they validate the format, content, and timing. This is typically done through their EDI coordinator or a testing portal. Don't rush this step. Failed testing means you go back to the end of the queue. ### Step 5: Go Live and Monitor Once testing passes, you start processing real orders. Monitor your first 30 days closely. Watch for rejected transactions, chargeback notifications, and compliance scorecard updates. Fix issues immediately because most retailers have a grace period for new suppliers, but it's short. ### Step 6: Validate Your Files Even after go-live, validate your EDI files regularly. Transaction formats change, retailers update their requirements, and system updates can introduce new issues. Use the [free EDI Inspector](/edi-inspector) to spot problems before your trading partner does. ## Frequently Asked Questions ### What does retail EDI cost for a new supplier? Costs vary based on your approach. Web EDI portals start around $50 to $100 per month. Full-service EDI through a VAN runs $300 to $2,000+ per month depending on transaction volume and number of trading partners. Order automation platforms with built-in EDI typically cost $500 to $1,500 per month. The bigger cost consideration is chargebacks: a single ASN failure can cost $500 or more, which quickly exceeds a monthly EDI subscription. ### How long does it take to set up EDI with a major retailer? Plan for 8 to 12 weeks from the time you start vendor onboarding. That includes selecting an EDI solution (1 to 2 weeks), mapping and configuration (2 to 4 weeks), testing with the retailer (2 to 4 weeks), and go-live stabilization (2 weeks). Some retailers move faster, but Walmart and Target often have queues for testing slots. ### Can I use the same EDI setup for multiple retailers? Yes, but with caveats. The core transaction types (850, 856, 810, 997) are standardized under ANSI X12, so the general structure is the same. However, each retailer has unique segment requirements, qualifier codes, and data expectations. Your EDI platform needs retailer-specific maps for each trading partner. A good EDI provider handles this mapping for you. ### What happens if I miss an EDI compliance deadline? The consequences depend on the retailer. Walmart applies OTIF chargebacks at 3% of COGS for the non-compliant portion. Target issues per-shipment chargebacks, often $500 or more. Amazon may cancel POs entirely. Repeated failures can lead to reduced order volume, vendor scorecard downgrades, or in extreme cases, loss of the retail account. ### Do I need EDI if the retailer only sends me a few orders per week? Most likely, yes. Retailer EDI requirements are usually mandatory regardless of order volume. Even if you only receive 3 POs per week from Target, they still expect electronic 850s, 856s, and 810s. A web EDI portal can handle low volume affordably, but you still need to be in the electronic loop. Check the retailer's vendor compliance guide to confirm whether there's a volume threshold or manual exception. --- Retail EDI isn't optional if you want to sell to major retailers. The good news is that the technology is more accessible than it was a decade ago, and the requirements, while specific, are well documented. Start with the compliance guide, pick the right EDI approach for your volume and budget, and invest time in testing before you go live. If you're evaluating EDI solutions or need to validate your transaction files, try OrderSync's [free EDI Inspector](/edi-inspector) to parse and check your EDI data instantly. --- # Sales Order Processing: PO to Fulfillment Source: https://ordersync.io/blog/sales-order-processing > How sales order processing works, where errors happen, and how to automate the flow from customer PO to warehouse pick ticket. Sales order processing converts an incoming customer purchase order into a confirmed sales order in your system, then triggers fulfillment. The steps are: receive PO, validate pricing and inventory, create the sales order in your ERP, allocate stock, and release to warehouse. Delays at any step extend your order cycle time. **Sales order processing is the end-to-end workflow that takes an inbound customer purchase order in any format (EDI 850, PDF attachment, email body, Excel sheet) and turns it into a warehouse-ready sales order in your ERP, after validating against your catalog, contract pricing, and inventory.** Every fulfillment error your business makes traces back to a gap somewhere in this process. The hard part isn't EDI. It's the long tail of non-EDI POs that drives most errors at mid-market B2B suppliers. A customer PO lands in your inbox at 9:14 AM. By 9:45, someone on your team has opened the PDF, read through the line items, typed quantities and SKUs into your ERP, and moved on to the next one. By 10:30, the warehouse has a pick ticket. By 3 PM, you discover two lines had the wrong ship-to address because the customer updated their PO after the original was sent and nobody caught the revision. That gap between receiving a purchase order and getting it accurately into your system is where sales order processing lives. It is also where most fulfillment errors are born. This guide covers the full sales order lifecycle, from receipt through invoicing, walks through the management process that keeps it on track, and breaks down how automation changes the math on speed, accuracy, and cost. ## What Is Sales Order Processing? **Sales order processing is the end-to-end workflow that takes a customer's purchase order, validates it against your product catalog and pricing, creates a sales order in your ERP or order management system, and triggers fulfillment.** It covers everything from PO receipt through picking, packing, shipping, and invoicing. In a B2B context, sales order processing is not just data entry. It includes credit checks, inventory allocation, pricing validation, and compliance steps that vary by customer. A distributor filling orders for Target has different processing requirements than one filling orders for a regional grocery chain. The sales order process is the operational backbone of your order-to-cash cycle. When it works, orders flow from PO to shipment without friction. When it breaks, you get short shipments, chargebacks, and unhappy customers. ## Sales Order vs Purchase Order These two documents describe the same transaction from different sides of the table. Confusing them is common, but they serve different purposes. | | **Sales Order** | **Purchase Order** | |---|---|---| | **Created by** | Seller (you) | Buyer (your customer) | | **Purpose** | Confirms you will fulfill the order | Requests goods or services from a supplier | | **Triggers** | Picking, packing, shipping, invoicing | Supplier review, acknowledgment, fulfillment | | **Direction** | Internal document for your operations team | Sent externally to the supplier | | **System of record** | Your ERP or OMS | Buyer's procurement system | In practice, the buyer sends a purchase order. You receive it and create a sales order in your system. The sales order is your internal version of the deal. For a deeper look at the buyer's side, see our guide on [purchase order management](/blog/purchase-order-automation). ## The Sales Order Processing Workflow Every company has variations, but the core sales order process follows the same six stages. ### 1. Order Receipt The customer submits a purchase order. In B2B, this arrives through multiple channels: [EDI 850 transactions](/guides/edi/850-purchase-order), emailed PDFs, spreadsheets, phone calls, or online portals. The format determines how much work happens in the next step. An EDI 850 from a major retailer is structured data that a system can read directly. A PDF from a regional buyer requires someone (or something) to extract the data. Managing [purchase orders across formats](/blog/purchase-order-automation) is the first bottleneck in most operations. For most B2B suppliers, the order mix breaks down roughly like this: | Channel | Typical Share | Format | |---------|--------------|--------| | EDI | 20-40% | Structured X12 (850) | | Email with PDF | 30-40% | Unstructured document | | Email body | 10-15% | Unstructured text | | Fax | 5-10% | Scanned image | | Excel/CSV | 5-10% | Semi-structured file | | Phone/other | 5-10% | Manual capture | If your team handles five order formats across three different tools, errors start before anyone opens the ERP. ### 2. Order Validation Before creating a sales order, the data needs checking: - **Product validation**: Do the SKUs or UPCs match your catalog? Is the item active? - **Pricing verification**: Does the price on the PO match the customer's contracted rate? Contract pricing, volume discounts, promotional pricing, and customer-specific price lists create a matrix of rules that needs checking on every order. - **Inventory check**: Is the requested quantity available, or will this create a backorder? - **Credit check**: Is the customer within their credit limit? - **Address validation**: Is the ship-to address on file and valid? - **Compliance review**: Does the order meet trading partner requirements (packaging, labeling, routing)? Skipping validation is how wrong-price shipments and quantity mismatches happen. According to [APQC's order management benchmarks](https://www.apqc.org/resource-library/resource-collection/sales-and-order-management-key-benchmarks), top-performing companies validate 99% of orders automatically before they reach the warehouse. ### 3. Confirm and Acknowledge After validation, you confirm the order. In EDI-based trading relationships, this means sending an [EDI 855 (Purchase Order Acknowledgment)](/guides/edi/855-purchase-order-acknowledgment) back to the buyer. The 855 tells your customer: "We received your order, the details are correct, and we will ship by the requested date." Skipping or delaying this step can trigger compliance penalties. Major retailers expect acknowledgments within hours, not days. ### 4. Sales Order Creation and Inventory Allocation Once validated and acknowledged, the order data becomes a sales order in your ERP. This step creates the official record that drives inventory allocation, warehouse picking, invoicing, and revenue recognition. In manual environments, this is where a person keys data from the PO into the system. In automated environments, the order flows straight in after passing validation rules. The difference between these two approaches defines your throughput ceiling. The ERP allocates inventory against the sales order and generates a pick ticket (or wave) for the warehouse. If inventory was not checked during validation, the warehouse discovers shortages at pick time, creating delays and partial shipments. ### 5. Pick, Pack, and Ship The warehouse picks, packs, and ships the order. For retailers requiring EDI compliance, this step triggers the [EDI 856 ship notice (ASN)](/guides/edi/856-ship-notice), which tells the buyer exactly what is on the truck, how it is packed, and when to expect it. Missing or late ASNs generate chargebacks with most major retailers. ### 6. Invoice, Reconcile, and Close After shipment, your system generates an invoice ([EDI 810](/guides/edi/810-invoice) for electronic trading partners). The invoice needs to match the original sales order and the ASN. If the quantities, prices, or PO numbers do not align across all three documents, you run into three-way matching failures and payment delays. Payment comes in. You match it against the invoice and the original sales order. Any discrepancies (short payments, deductions, chargebacks) need investigation. Once everything matches, the order is closed. ## Where Sales Order Processing Breaks Down Most fulfillment problems trace back to the first three steps. Here is where things go wrong. **Multi-format order receipt.** When orders arrive as EDI, PDF, email, and spreadsheet, each format requires a different handling process. Teams build workarounds: one person handles EDI, another does PDF entry, a third manages email orders. This creates knowledge silos and inconsistent processing. A [unified approach to multi-format orders](/multi-format-orders) eliminates the patchwork. **Manual data entry errors.** Human keying runs a 2-4% error rate under normal conditions. At 150 orders per day, that is 3 to 6 orders with incorrect quantities, wrong SKUs, or mismatched addresses. Each error ripples downstream into short shipments, returns, and credit memos. The [Aberdeen Group](https://www.aberdeen.com/) reports that manual order entry has an error rate of roughly 1 in 100 lines, which compounds fast at volume. **Slow processing speed.** Manual sales order processing takes 10-15 minutes per order. At scale, this creates a queue. Orders received in the afternoon miss the same-day cutoff. Fulfillment slows. Customer satisfaction drops. **No validation before entry.** When the person keying the order is also responsible for catching pricing errors and inventory shortages, mistakes get through. Validation needs to happen automatically, against current data, before the order hits your ERP. **Late acknowledgments.** Retailers expect fast PO acknowledgments. If your team takes two days to manually review and acknowledge an order, you may already be in violation of your trading partner agreement. **Disconnected systems.** When your order entry system, inventory system, and warehouse management system do not talk to each other in real time, decisions are based on stale data. You confirm an order against yesterday's inventory count, only to discover the stock was allocated to another order an hour ago. ## Manual vs. Automated Sales Order Processing | Factor | Manual Processing | Automated Processing | |---|---|---| | **Speed per order** | 10-15 minutes | Under 30 seconds | | **Error rate** | 2-4% of orders | Less than 0.5% | | **Daily capacity (per person)** | 40-60 orders | 500+ orders | | **Validation** | Relies on human memory and spot checks | Rules-based, every order checked automatically | | **Format handling** | Separate process per format | Single pipeline for EDI, PDF, CSV, email | | **Scalability** | Linear (more orders = more staff) | Flat (volume grows without headcount) | | **Exception handling** | Mixed in with routine entry | Isolated to a review queue | | **Cost at 200 orders/day** | 3-4 FTEs ($150K-$200K/year) | Software subscription + 0.5 FTE for exceptions | The math is straightforward. Manual sales order processing costs more, produces more errors, and puts a hard cap on growth. At some point, usually around 100 orders per day, the cost of not automating exceeds the cost of automation. A [2023 APQC benchmarking study](https://www.apqc.org/resource-library/resource-collection/sales-and-order-management-key-benchmarks) found that top-performing organizations process sales orders at $3.37 per order, while bottom performers spend $14.77. The difference is almost entirely automation. ## Why Enterprise Vendors Charge $100,000+ (and What Changed) If you have researched sales order automation software before, you have probably come across [Conexiom](/ordersync-vs/conexiom), Esker, or similar enterprise platforms. These are solid products. They work. They also come with price tags that start at $75,000 to $150,000 per year, with implementation fees on top. There is a reason for this pricing. These platforms were built in an era when the underlying technology (OCR, template mapping, rules engines) required heavy professional services to configure. Every customer PO format needed a custom template. Every validation rule needed manual programming. Every ERP connection needed dedicated integration work. That calculus has changed. AI-based extraction does not need per-customer templates. Modern API-first architectures reduce ERP integration from months to days. The core technology that makes sales order automation work is no longer expensive to deploy. This does not mean enterprise platforms are overcharging for nothing. If you process 5,000 orders per day across 12 ERPs and need 99.9% uptime SLAs, those platforms earn their price. But for the mid-market supplier doing 50 to 500 orders per day with one or two ERP systems, the same results are now available at a fraction of the cost. ## How to Automate Sales Order Processing Sales order automation does not require replacing your ERP or rebuilding your warehouse workflows. It sits between order receipt and ERP entry, handling the extraction, validation, and data transfer that currently eats up your team's time. ### Step 1: Unify Order Intake Stop treating each order format as a separate workflow. An [automated order processing system](/order-processing-automation) ingests EDI 850s, PDFs, CSVs, and emailed orders through a single pipeline. The system identifies the format, extracts structured data, and normalizes it into a standard order record. For EDI orders, extraction is straightforward: the data is already structured. The system parses the segments and maps them to your internal fields. For PDFs and emails, [AI-powered extraction](/ai-order-automation) reads the document the way a person would, identifying PO numbers, line items, quantities, and prices based on context rather than fixed template positions. The same extraction engine works on a one-page PO from a small account and a 15-page PO from a national retailer. ### Step 2: Build Validation Rules Set up automated checks that run before every order enters your ERP: - Match SKUs against your product master - Verify pricing against customer-specific price lists - Check available inventory in real time - Flag orders that exceed credit limits - Validate ship-to addresses against your customer database These rules catch 95%+ of the errors that manual processing misses. Only genuine exceptions, such as new products or unusual quantities, need human review. ### Step 3: Catalog Matching Raw extraction is not enough. The customer's item number is not your SKU. Their description does not match yours. Their unit of measure might be "case" while you track by "each." The automation system maps customer identifiers to your product catalog. "Widget A, Part #WA-100" becomes your internal SKU WDG-100-BLK. Case quantities convert to eaches. Customer-specific pricing tiers apply automatically. This mapping builds over time. The first order from a new customer might need some manual matching. By the fifth order, the system handles it without intervention. ### Step 4: Connect to Your ERP Validated orders need to flow into your ERP without manual re-keying. [Direct ERP integration](/erp-integration) eliminates the copy-paste step entirely. The sales order appears in your system with all line items, pricing, ship-to data, and customer references already populated. For companies using NetSuite, SAP Business One, QuickBooks Enterprise, or Microsoft Dynamics, a direct integration means the sales order appears exactly as if someone had entered it manually, just faster and without errors. ### Step 5: Automate Downstream Documents Once the sales order is in your ERP, automate the documents that follow: pick tickets, packing slips, ASNs, and invoices. For EDI trading partners, this means generating the [856 ship notice](/guides/edi/856-ship-notice) and [810 invoice](/guides/edi/810-invoice) automatically from shipment confirmation data. Automated acknowledgments ([EDI 997](/guides/edi/997-functional-acknowledgment)) close the loop without your team typing another thing. ### Step 6: Monitor and Optimize Sales order automation is not set-and-forget. Track your exception rate (the percentage of orders that need human intervention) and work to reduce it. Common exceptions like unrecognized SKUs or pricing mismatches usually point to data quality issues in your product master or customer records. A well-tuned system processes 95% or more of orders without human touch. The remaining 5% get routed to a review queue where your team focuses on problems that actually need judgment, not data entry. ## What to Look for in Sales Order Management Software Not all sales order management software is built for B2B complexity. Here is what matters when you are evaluating options. **Multi-format order intake.** The software should accept orders in whatever format your customers send them: EDI, PDF, CSV, email, or portal. If you have to manually convert formats before the system can process them, you have not solved the problem. If your automation only covers EDI and PDF, you are still manually entering 20% to 35% of your orders. That is not automation. That is a partial fix. **Automated validation.** Look for systems that check incoming orders against your product catalog, customer price lists, and inventory levels automatically. Manual review should be the exception, not the rule. **[ERP integration](/erp-integration).** Sales orders need to flow into your ERP without re-entry. Direct integration with systems like NetSuite, QuickBooks, SAP, or Microsoft Dynamics is essential. CSV exports and manual imports do not count. **Exception handling.** When an order has an issue (wrong price, invalid SKU, quantity problem), the system should flag it and route it to the right person. Burying exceptions in an email chain slows resolution. **EDI support.** If any of your customers are retailers or large distributors, you need EDI capability: 850 inbound, 855 acknowledgment, 856 ASN, and 810 invoice at minimum. You can validate and parse EDI files using our [free EDI Inspector](/edi-inspector) to see the data structure before setting up automation. **Visibility and tracking.** Your team should be able to see every order's status at a glance, across all formats and channels. A centralized [order management system](/order-management-systems) gives you one dashboard instead of five tools. ## ROI: What the Numbers Actually Look Like The business case for sales order automation comes down to three things: time, errors, and labor allocation. Here is a concrete example. ### Before Automation A mid-size industrial distributor processes 150 orders per day. Their three-person order entry team handles the workload across email, fax, and a few EDI connections. - **Time per order (manual):** 8 to 12 minutes, depending on line count - **Orders per person per day:** 50 - **Error rate:** 2.5% of line items (industry average per [APQC](https://www.apqc.org/resource-library/resource-collection/sales-and-order-management-key-benchmarks)) - **Cost of errors:** Each error costs roughly $50 in rework (revised shipments, credits, customer calls). At 2.5% across an average of 10 lines per order, that is about 37 errors per day, or $1,850 in daily rework costs. - **Total labor cost:** Three full-time order entry clerks at $45,000 each = $135,000/year - **Total error cost:** $1,850/day x 250 working days = $462,500/year ### After Automation The same distributor implements sales order automation. After a two-week ramp-up period: - **Auto-processed orders:** 85% flow straight to ERP without human touch - **Time per exception:** 2 to 3 minutes (data is pre-extracted, reviewer just confirms) - **Error rate:** Drops below 0.5% (validation catches most issues before ERP sync) - **Staff reallocation:** Two of the three clerks move to customer service and exception handling. One stays focused on complex orders and new customer setup. The math works out to roughly $400,000 in annual savings between reduced errors, faster fulfillment, and labor reallocation. Even accounting for software costs, the payback period is typically two to four months. ## Getting Started: A Practical Path You do not need to automate every channel on day one. Here is a practical rollout that works for most B2B suppliers. 1. **Count your orders by channel.** Spend one week tracking how orders arrive: email with PDF, email body, fax, EDI, phone, other. This tells you which channel to automate first. 2. **Start with your highest-volume unstructured channel.** For most companies, that is email orders with PDF attachments. These are the easiest to automate with high accuracy and the biggest time savings per order. 3. **Set up validation rules before you go live.** Map your product catalog, customer pricing agreements, and standard business rules (credit limits, minimum order quantities, valid ship-to addresses). 4. **Run in review mode for two weeks.** Let the system process orders, but have your team verify every one. This builds trust and surfaces edge cases specific to your customer base. Most teams hit 95%+ accuracy within the first week. 5. **Expand to additional channels.** Once email PDFs are running smoothly, add email body orders, then fax, then any remaining manual channels. 6. **Connect your EDI orders to the same pipeline.** If you already process EDI separately, bring those into the unified queue. One dashboard for all orders, one exception workflow, one set of reports. If you want to see how this works with your specific order types and ERP, you can [book a free intro call](/book) to walk through a live example. ## Measuring Sales Order Processing Performance Track these metrics to know whether your sales order process is improving: - **Order cycle time**: Minutes from PO receipt to sales order creation in ERP - **First-pass yield**: Percentage of orders that process without manual intervention - **Error rate**: Orders requiring correction after entry - **Cost per order**: Total processing cost (labor + software) divided by order volume - **On-time fulfillment rate**: Percentage of orders shipped by the promised date Best-in-class B2B operations process orders in under 60 seconds, achieve first-pass yields above 95%, and maintain error rates below 0.5%. ## FAQ ### What is the difference between a purchase order and a sales order? A purchase order (PO) is created by the buyer to request products. A sales order is created by the seller to confirm and fulfill that request. When your customer sends a PO, your sales order management process turns it into a sales order in your system. The PO is the input; the sales order is the output. ### What is the difference between a sales order and an invoice? A sales order is created when you confirm a customer's order. It records what you committed to ship, at what price, and by when. An invoice is generated after you ship, requesting payment for what was delivered. The sales order comes first and drives fulfillment. The invoice comes after and drives payment. ### What is three-way matching in order management? Three-way matching compares three documents: the purchase order (what the buyer requested), the receiving report or ASN (what was shipped and received), and the invoice (what you billed). All three must agree on quantities, prices, and line items before payment is released. Discrepancies trigger holds and investigations. ### How long should sales order processing take? Manual processing typically takes 10-15 minutes per order. Automated sales order processing can reduce this to under 30 seconds for standard orders. The target for most B2B operations is same-day processing for all orders received before a cutoff time, with automated systems often achieving real-time processing. ### What causes the most errors in sales order processing? Manual data entry is the top source. Keying errors on quantities, SKUs, and addresses account for the majority of fulfillment mistakes. The second most common cause is outdated validation data, such as price lists that have not been updated or inventory counts that lag behind actual stock levels. ### Can sales order automation handle EDI orders? Yes. EDI orders (specifically the [EDI 850 purchase order](/guides/edi/850-purchase-order)) are the easiest to automate because they arrive as structured data. The system parses the EDI transaction, maps it to your internal format, and creates the sales order automatically. You can validate and parse EDI files using our [free EDI Inspector](/edi-inspector) to see the data structure before setting up automation. ### What is the difference between sales order automation and purchase order automation? Sales order automation is the supplier side: you receive purchase orders from customers and convert them into sales orders in your ERP. Purchase order automation is the buyer side: you create and send purchase orders to your suppliers. Same document, two different perspectives. If customers are sending you POs and you are entering them manually, sales order automation is what you need. ### How does AI-based automation handle customers who change their PO format? AI-based extraction adapts to format changes automatically because it reads documents based on content and context, not fixed templates. If a customer changes their PO layout, moves columns around, or switches from one PDF format to another, the extraction still identifies the same fields. Template-based systems (older OCR platforms) break when this happens and need reconfiguration. ### Is sales order automation worth it if I only process 30 to 50 orders per day? It depends on complexity, not just volume. If your orders average 20 line items each and come from customers with specific pricing tiers, each order might take 15 minutes to enter manually. At 40 orders per day, that is 10 hours of data entry. Even at that volume, automation pays for itself in labor savings alone within a few months. The error reduction savings are on top of that. ### When should a company invest in sales order management software? If your team processes more than 50 orders per day across multiple formats, manual entry is costing you. The tipping point is usually when error rates climb, fulfillment slows down, or a new retail customer requires EDI compliance. At that point, the cost of software is less than the cost of chargebacks, mis-ships, and overtime labor. --- # Supplier Onboarding Software: Buyer's Guide Source: https://ordersync.io/blog/supplier-onboarding-software > What supplier onboarding software does, why the onboarding process breaks down, and how to evaluate tools that actually reduce time-to-first-order. Supplier onboarding software manages the process of bringing a new vendor into your procurement system—collecting compliance documents, setting up EDI connections, and confirming the first order. It replaces email chains and spreadsheets. Time-to-first-order is the key metric; purpose-built tools cut it from weeks to days. **Supplier onboarding software is the platform that takes a new trading partner from contract signed to first order flowing, covering compliance documents, ERP record creation, order format setup, and integration testing.** The goal is to shrink the time between "we want to work together" and "here is our first purchase order" from weeks to days. Research on supplier onboarding timelines and costs: - [CAPS Research at Arizona State University](https://capsresearch.org/) finds the average supplier onboarding cycle is 30 to 45 days using manual processes, with companies using automation cutting that to under a week - [Gartner's supply chain research](https://www.gartner.com/en/supply-chain/topics/supply-chain-management) identifies supplier onboarding speed as a direct driver of supply chain resilience and new product launch timelines - The [X12 standards body](https://x12.org/) defines the EDI transaction sets (850, 855, 856, 810) that suppliers must support before they can transact with major retail trading partners If you've ever onboarded a new supplier at a distribution or manufacturing company, you know how messy the process can get. There's paperwork. There's back-and-forth on order formats. There's the IT ticket to set up EDI mapping. There's the compliance team chasing certificates of insurance. And somewhere in the middle of all that, the sales team is asking why the supplier still can't ship. The supplier onboarding process is where a lot of B2B relationships stall before they even start. Software can fix that, but only if you pick the right tool for the actual bottleneck. ## What Is Supplier Onboarding, Exactly? **Supplier onboarding is the end-to-end process of bringing a new trading partner into your operational workflow, covering legal setup, ERP record creation, order format configuration, and testing, and it ends when orders flow without manual intervention.** It starts when you decide to work with a supplier and ends when you can exchange orders, invoices, and shipments automatically. A typical supplier onboarding process covers five areas: 1. **Legal and compliance.** Collecting W-9s, certificates of insurance, signed terms and conditions, and any industry-specific certifications (food safety, ISO, REACH compliance). 2. **Master data setup.** Creating the supplier record in your ERP with correct addresses, payment terms, contact information, and item catalog mappings. 3. **Order format agreement.** Deciding how the supplier will receive purchase orders and send back acknowledgments, invoices, and ship notices. This could be EDI, email, PDF, or a web portal. 4. **System configuration.** Setting up the technical connection, whether that's EDI mapping, API integration, or configuring an email-to-order pipeline. 5. **Testing and validation.** Sending test orders, verifying data flows correctly into your ERP, and confirming the supplier can meet your document requirements. When this process works, it takes 3-5 days. When it doesn't, it drags on for 6-8 weeks while orders pile up in someone's email inbox. ## Why the Supplier Onboarding Process Breaks Down The steps above look straightforward on paper. In practice, three problems derail most onboarding efforts. ### Problem 1: Too Many Manual Handoffs Onboarding touches procurement, legal, IT, operations, and accounts payable. Each team owns a piece of the process, and none of them share a system. The compliance team tracks documents in a spreadsheet. IT uses a ticket queue. Procurement has a checklist in a shared doc that was last updated eight months ago. A study by Deloitte on procurement operations found that procurement teams spend an average of 43% of their time on transactional activities like supplier setup and data management. That's not strategic work. That's form-filling. ### Problem 2: Order Format Negotiation Takes Forever This is the bottleneck that most onboarding guides gloss over. Agreeing on how you'll actually exchange orders with a new supplier is surprisingly hard. If you require EDI, your supplier needs an EDI provider, mapping configuration, and testing cycles. That alone can take 4-6 weeks. If you accept PDFs, you need to handle them manually or set up extraction rules. If you accept emailed spreadsheets, someone has to key that data into your ERP every time an order comes through. The format question creates a tension between what's easiest for the supplier and what works for your operations team. Supplier onboarding software that ignores this tension doesn't solve the real problem. ### Problem 3: No Visibility Into Where Things Stand When onboarding is spread across email threads and spreadsheets, nobody has a clear picture of status. Is the new supplier stuck waiting for IT to configure EDI? Did legal ever get the signed NDA back? Has anyone sent the item catalog? Without a single view of onboarding progress, suppliers fall through the cracks. And every week of delay is a week you're either not getting product or handling orders manually. ## What to Look for in Supplier Onboarding Software Not every tool marketed as "supplier onboarding" solves the same problem. Some focus on compliance document collection. Others focus on procurement workflows. The best ones address the operational side: getting a new supplier to the point where orders flow automatically. Here's what matters most: ### Centralized Task Tracking You need one place where everyone involved in onboarding can see what's done, what's pending, and who's responsible for the next step. This replaces the spreadsheet-and-email approach that breaks down at scale. ### Automated Document Collection The tool should send requests to suppliers, track what's been submitted, flag missing or expired documents, and store everything with an audit trail. Chasing suppliers for their COI via email is a waste of your procurement team's time. ### Configurable Workflows Every company's onboarding process is slightly different. The software should let you define your own steps, approval gates, and required documents without needing a developer to customize it. ### Order Format Flexibility This is the feature that separates useful supplier onboarding software from glorified checklist tools. The best platforms handle the order format question as part of onboarding, setting up whatever channel the supplier will use (EDI, PDF, email, portal) and connecting it to your systems. If a tool handles the compliance side but ignores the order flow side, you'll still have a gap between "supplier is approved" and "supplier is actually transacting." ### ERP Integration Supplier master data needs to land in your ERP. Order data needs to land in your ERP. If the onboarding tool creates a new data silo that someone has to manually sync, you've just moved the problem rather than solving it. Look for direct [ERP integration](/erp-integration) that pushes supplier records and order data where they need to go. ### Reporting and Analytics You should be able to see, at a glance, how many suppliers are in onboarding, where each one is stuck, and how long the average onboarding takes. This data helps you identify process bottlenecks and hold internal teams accountable. If your average onboarding takes 6 weeks but one category of supplier consistently finishes in 2 weeks, that tells you something useful about where the friction is for the rest. ### Supplier Communication Tools Built-in messaging or notifications that keep suppliers informed about what's needed from them and what's happening next. When suppliers have to email your procurement team to ask "what do I do now?", the process breaks down. Good onboarding software makes the next step obvious for both sides. ## The Real Bottleneck: Getting Orders Flowing Here's what most supplier onboarding software misses. The compliance and documentation steps are important, but they're not usually the bottleneck. Legal can turn around a signed agreement in a day. Your team can create an ERP record in an hour. Insurance certificates get uploaded in minutes. The step that takes the longest is getting the order exchange working. And it takes the longest because it involves the most technical coordination between two separate organizations. Consider the scenarios: - **Supplier uses EDI.** You need to exchange trading partner IDs, agree on transaction sets (850, 855, 856, 810), configure mapping on both sides, and run testing. If you're new to EDI, check our [essential guide to EDI](/blog/essential-guide-to-edi) for an overview of how it works. If you need to test EDI files during setup, our [free EDI Inspector](/edi-inspector) can parse and validate them instantly. - **Supplier sends PDF purchase orders.** Someone on your team needs to read the PDF, key the data into your ERP, and hope they don't transpose a SKU or quantity. This works for five orders a week. It fails at fifty. - **Supplier emails spreadsheets.** Same manual data entry problem, slightly different format. Your team copies and pastes from Excel into your order entry screen. - **Supplier uses a portal.** You need the supplier to create an account, learn the interface, and actually use it consistently. [Supplier adoption is the hardest part](/blog/vendor-portal-software) of any portal deployment. Each scenario requires different setup work, and each has its own failure modes. Supplier onboarding software should reduce the friction in all of them, not just the paperwork that comes before. ## How OrderSync Handles the Order Side of Onboarding OrderSync focuses on the part of supplier onboarding that typically takes the longest: getting orders flowing automatically, regardless of format. Instead of requiring every new supplier to adopt a specific order format or log into a portal, OrderSync accepts orders however the supplier already sends them. That fundamentally changes the onboarding timeline. Here's what that looks like: - **No format negotiation.** Supplier sends EDI? OrderSync processes it. Supplier emails a PDF? OrderSync extracts the line items using [AI-powered order automation](/ai-order-automation). Supplier fills out a spreadsheet? Same pipeline. You don't need to spend weeks agreeing on a format. - **Validation from day one.** Every order from a new supplier gets checked against your item master, pricing rules, and customer records before it syncs to your ERP. Errors get caught during the first transaction, not after a chargeback. - **Same dashboard for every supplier.** Whether a supplier sends EDI 850 purchase orders or emails a PDF, all orders appear in the same [order management system](/order-management-systems). Your team doesn't need to check multiple systems or learn different workflows per supplier. - **Fast time-to-first-order.** Because there's no supplier-side setup (no portal accounts, no EDI mapping on their end), new suppliers can start transacting as soon as the business agreement is in place. The technical setup happens on your side, once, and applies to every format. - **Scales without adding headcount.** As you bring on more suppliers, the [automated order processing](/order-processing-automation) pipeline handles the growing volume. You're not hiring more people to key in more orders from more suppliers. This doesn't replace the compliance and documentation steps of onboarding. You still need signed agreements and insurance certificates. But it eliminates the step that typically causes the most delay and the most ongoing manual work. ## Building a Supplier Onboarding Checklist That Works Based on what we see across OrderSync customers, here's a practical checklist that covers both the compliance and operational sides of new supplier onboarding: **Before the first order:** - [ ] Signed supplier agreement and terms - [ ] W-9 or tax documentation collected - [ ] Certificate of insurance on file (with expiration tracking) - [ ] Industry-specific certifications verified (if applicable) - [ ] Supplier record created in ERP (address, payment terms, contacts) - [ ] Item catalog mapped (supplier SKUs to your internal SKUs) - [ ] Order format identified (EDI, PDF, email, spreadsheet) - [ ] Order processing pipeline configured **First order validation:** - [ ] Test order received and processed - [ ] Line items match item catalog - [ ] Pricing validated against agreed terms - [ ] Order synced to ERP successfully - [ ] Acknowledgment sent back to supplier (if EDI) **Ongoing monitoring:** - [ ] Compliance documents tracked for expiration - [ ] Order error rates monitored for the first 30 days - [ ] Supplier performance baseline established The companies that onboard suppliers fastest are the ones that handle both tracks (compliance and order flow) in parallel rather than sequentially. Don't wait for every document to be perfect before sending the first test order. ## Common Mistakes in Supplier Onboarding Even with the right software, teams make avoidable errors that slow things down. **Treating every supplier the same**: A large EDI-capable distributor and a small family-run manufacturer need different onboarding paths. Forcing both through the same 15-step process wastes time for the large supplier and overwhelms the small one. **Ignoring the supplier's perspective**: Your onboarding process is one of dozens of customer setups your supplier is managing. If your process is harder than your competitors', suppliers will prioritize them first. Make it easy, or get pushed to the back of the queue. If your process is harder than your competitors', suppliers will prioritize them first. Make it easy, or get pushed to the back of the queue. **Sequential instead of parallel.** Waiting for legal sign-off before starting the technical setup adds weeks for no good reason. Run compliance and order format configuration at the same time. **No clear owner.** When procurement, IT, and operations all own a piece of onboarding but nobody owns the whole thing, suppliers fall through the cracks. Assign one person as the onboarding coordinator for each new supplier. ## Comparing Approaches to Supplier Onboarding | Approach | Time to First Order | Supplier Effort | Scalability | |---|---|---|---| | **Manual (email + spreadsheets)** | 1-2 weeks | Low | Poor. Every new supplier adds manual work. | | **EDI-only** | 4-8 weeks | High. Supplier needs EDI capability. | Good for high-volume relationships. | | **Web portal** | 2-4 weeks | Medium. Supplier must adopt portal. | Moderate. Adoption is the bottleneck. | | **Order automation (OrderSync)** | 1-3 days | None. Supplier keeps current process. | Strong. No per-supplier setup. | The right choice depends on your supplier mix. If all your trading partners are large retailers with EDI capability, an EDI-first approach makes sense. If you work with hundreds of suppliers across different sizes and technical capabilities, an approach that handles multiple formats without requiring supplier-side changes will get you to first order faster. For a deeper look at evaluating automation tools, see our [B2B order automation software guide](/blog/automated-order-processing). ## Frequently Asked Questions ### What is supplier onboarding? Supplier onboarding is the process of setting up a new supplier to transact with your company. It covers legal agreements, compliance document collection, ERP record creation, order format configuration, and testing. The process is complete when orders can flow between the two organizations without manual intervention. The timeline ranges from a few days to several weeks depending on the complexity of the integration. ### What is the difference between supplier onboarding software and vendor management software? Supplier onboarding software focuses specifically on the setup phase: getting a new supplier from "approved" to "transacting." Vendor management software covers the entire supplier lifecycle, including ongoing performance monitoring, risk assessment, spend analysis, and relationship management. Some platforms do both, but many vendor management tools treat onboarding as just one module rather than giving it the depth the process requires. ### How long should supplier onboarding take? According to [CAPS Research at Arizona State University](https://capsresearch.org/), the average supplier onboarding cycle is 30-45 days for companies using manual processes. With dedicated onboarding software and automated order processing, companies routinely cut that to under a week. The biggest variable is the order format setup, especially if EDI is involved. Tools that accept multiple formats without requiring supplier-side changes (like OrderSync) can reduce time-to-first-order to 1-3 days. ### Do I need separate tools for supplier onboarding and order automation? It depends on where your bottleneck is. If your main problem is chasing compliance documents and managing approval workflows, a dedicated onboarding platform makes sense. If your main problem is the time it takes to get orders flowing with new suppliers, an order automation platform like OrderSync addresses the root cause directly. Many companies use a lightweight onboarding tool for document collection alongside OrderSync for the order processing side. ### What are the biggest risks of a poor supplier onboarding process? The operational risks are real and measurable. Slow onboarding delays product availability, which means missed sales. Manual order processing during the onboarding gap introduces data entry errors that lead to wrong shipments and chargebacks. And inconsistent processes across suppliers create compliance gaps that auditors will flag. Deloitte's CPO survey found that organizations with standardized onboarding processes report 25% fewer supplier-related disruptions in their first year of trading. --- # Supply Chain Integration: A Practical Guide Source: https://ordersync.io/blog/supply-chain-integration > What supply chain integration means, why it matters for B2B operations, and how to connect trading partners, order formats, and ERP systems. Supply chain integration connects your order management, inventory, and fulfillment systems with those of your trading partners. It replaces manual document exchange—emails, spreadsheets, faxes—with automated data flows. For B2B suppliers, integration typically starts with EDI for large retail customers and expands to API connections for newer trading partners. > **Supply chain integration** is the process of connecting the systems, data, and workflows between trading partners so that purchase orders, invoices, ship notices, and inventory data flow automatically between buyers and suppliers without manual re-entry. The goal is a single, continuous data pipeline from order placement through fulfillment and payment. If you run operations at a mid-size distributor or supplier, you already know what broken integration looks like. Orders arrive by email, fax, EDI, and spreadsheet. Someone on your team re-keys each one into your ERP. Errors creep in. Ship dates slip. Chargebacks stack up. Supply chain integration fixes this by eliminating the gaps between your systems and your trading partners' systems. When it works, an order placed by your customer shows up in your ERP automatically, validated and ready to fulfill. When it doesn't work, you're paying people to be human middleware. ## Why Supply Chain Integration Matters Now The pressure on B2B integration has never been higher. According to a [2024 MHI Annual Industry Report](https://www.mhi.org/publications/report), 74% of supply chain leaders cite data integration as a top-three priority for operational improvement. The reasons are straightforward: - **Order volume is growing faster than headcount.** You can't hire your way out of a data entry bottleneck. If you're processing 200 orders a day across four formats, manual entry doesn't scale. - **Retailers are enforcing stricter compliance.** Walmart, Target, and Costco all require EDI transactions with specific formatting. Missing an [EDI 856 ship notice](/guides/edi/856-ship-notice) deadline means a chargeback, not a polite reminder. - **Customers expect real-time visibility.** Your buyers want to know where their order stands without calling your customer service team. That requires connected systems, not spreadsheets. - **Errors are expensive.** [Aberdeen Group](https://www.aberdeen.com/) estimates manual order processing errors cost B2B companies 1-3% of revenue annually. - **Standards govern how data flows.** [ASC X12](https://x12.org/products/transaction-sets) defines the transaction sets (850, 810, 856) that form the foundation of integrated B2B document exchange in North America. ## Common Supply Chain Integration Patterns There's no single right way to integrate a supply chain. Most companies use a mix of approaches depending on trading partner size, volume, and technical capability. ### EDI (Electronic Data Interchange) EDI is the oldest and most widely used B2B integration standard. [EDI 850 purchase orders](/guides/edi/850-purchase-order), 810 invoices, and 856 ship notices flow between trading partners in structured formats defined by the X12 standard. **When it works well**: High-volume relationships with large retailers. If you ship 500+ orders a month to Walmart, EDI is non-negotiable. **Where it breaks down**: Smaller trading partners who can't justify the cost of an EDI setup. Legacy EDI also requires a VAN (Value-Added Network) in many cases, which adds per-transaction fees. For a full breakdown of EDI fundamentals, see our [essential guide to EDI](/blog/essential-guide-to-edi). If you work with EDI files and need to troubleshoot formatting issues, try our [free EDI Inspector](/edi-inspector) to parse and validate EDI documents. ### API-Based Integration APIs allow systems to exchange data in real time over the internet. REST and webhook-based integrations are replacing batch-file EDI in some scenarios, especially for e-commerce and SaaS platforms. **When it works well:** When both parties have modern systems with published APIs. Great for real-time inventory updates and order status tracking. **Where it breaks down:** Most mid-market ERPs don't expose clean APIs out of the box. Building and maintaining custom API integrations requires developer resources. And many trading partners still require EDI regardless of what your system supports. For a deeper comparison, read our article on [EDI vs API](/blog/edi-vs-api) integration approaches. ### File-Based Integration (CSV, Excel, PDF) The reality for most mid-size suppliers: a significant percentage of your orders arrive as email attachments. CSV files, Excel spreadsheets, and PDF purchase orders are still the default for trading partners who aren't on EDI and don't have an API. **When it works well:** Low-volume relationships where the cost of EDI or API integration isn't justified. **Where it breaks down:** Every supplier uses a different template. Column headers don't match. PDF layouts change without notice. Someone on your team has to map and re-key every order manually. ### Hybrid Integration In practice, most B2B companies run all three patterns at once. Your top five retailers send EDI. Your mid-tier customers email PDFs. Your smaller accounts use spreadsheets. Managing this patchwork is where supply chain integration software earns its value. ## The Real Challenges of Supply Chain Data Integration The technology exists to connect systems. The hard part is everything around it. ### Format Fragmentation Your trading partners don't standardize on a single format. Some send X12 EDI. Some send EDIFACT. Some email a PDF that changes layout every quarter. Others paste order details into the body of an email. Supply chain data integration means handling all of these, not just the clean ones. ### Mapping and Translation Even within EDI, every trading partner has different requirements. Walmart's 850 doesn't look like Target's 850. Field mappings, segment qualifiers, and validation rules are partner-specific. Maintaining dozens of trading partner maps is a full-time job at many companies. ### ERP Compatibility Your integration is only as good as the last mile: getting clean data into your ERP. Whether you run SAP, NetSuite, QuickBooks, or a custom system, the integration needs to map incoming order data to your item master, customer records, and pricing rules. A mismatch at this stage means manual cleanup. ### Error Handling and Visibility When an integration fails, you need to know immediately. A rejected EDI transaction that sits unnoticed for 48 hours means a late shipment. Effective supply chain integration software provides exception dashboards, automated alerts, and clear error messages that your operations team (not just your IT department) can act on. ### Trading Partner Onboarding Adding a new trading partner to your integration pipeline shouldn't take weeks. But with traditional EDI setups, it often does. Testing, certification, and go-live cycles stretch out because both sides are coordinating schedules, trading test files, and debugging segment-level issues. ## What to Look for in Supply Chain Integration Software If you're evaluating a B2B integration platform, here's a practical checklist based on what actually matters in daily operations. | Capability | What It Means | Why It Matters | |---|---|---| | **Multi-format support** | Handles EDI, API, CSV, PDF, and email in one platform | You shouldn't need separate tools for each format | | **Pre-built trading partner maps** | Common retailers and distributors already configured | Reduces onboarding time from weeks to days | | **ERP connectors** | Direct integration with your ERP system | Eliminates the manual "last mile" of order processing | | **Automated validation** | Checks orders against item master, pricing, and customer rules | Catches errors before they hit your ERP | | **Exception management** | Dashboard for flagged orders with clear resolution workflow | Your team needs to fix problems, not hunt for them | | **Scalability** | Handles volume spikes without degraded performance | Holiday season and promotional periods shouldn't break your pipeline | | **Audit trail** | Full history of every transaction, transformation, and sync | Required for compliance and dispute resolution | ## How OrderSync Approaches Supply Chain Integration OrderSync was built around a specific observation: most supply chain integration problems aren't about the technology. They're about the format fragmentation that makes every order a custom project. Instead of requiring all your trading partners to adopt one format or one portal, OrderSync accepts orders however they arrive. EDI, PDF, CSV, email, fax. Every order flows through the same pipeline: extract, validate, sync. Here's what that looks like operationally: - **Automatic format detection.** OrderSync identifies the format of every incoming order and routes it to the right extraction engine. No manual sorting. No format-specific tools. See how [multi-format order processing](/multi-format-orders) works. - **AI-powered data extraction.** For unstructured formats like PDFs and emails, OrderSync uses AI to extract line items, quantities, SKUs, and shipping details without templates. Learn more about [AI-powered order automation](/ai-order-automation). - **Validation against your data.** Every order is checked against your item master, customer-specific pricing, and business rules before it reaches your ERP. Errors get flagged with clear context so your team can resolve them in seconds. - **Direct ERP sync.** Validated orders sync directly to your ERP. No CSV exports, no copy-paste, no middleware. OrderSync connects to your system through [direct ERP integration](/erp-integration). - **Full EDI support.** For trading partners who require EDI, OrderSync handles 850, 810, 856, and 997 transactions natively. You get one platform for all integration patterns, not a patchwork of point solutions. The result: your operations team works from a single dashboard regardless of how orders come in. You get the benefits of full supply chain integration without forcing your entire supplier or customer base through a migration. Want to see how this works with your specific order flow? [Book a free intro call](/book) and we'll walk through it. ## Frequently Asked Questions ### What is supply chain integration? **Supply chain integration is the connection of systems, data, and processes across trading partners so that business documents like purchase orders, invoices, and ship notices flow automatically between organizations.** It eliminates manual data re-entry and gives both buyers and suppliers real-time visibility into order status, inventory levels, and shipment tracking. ### What is the difference between supply chain integration and ERP integration? ERP integration is one piece of supply chain integration. ERP integration connects your internal system (SAP, NetSuite, QuickBooks) to external data sources. Supply chain integration is broader: it covers the entire data flow from your trading partner's system to yours, including format translation, validation, and the ERP sync at the end. You can have ERP integration without full supply chain integration, but not the other way around. ### What are the most common supply chain integration methods? The three primary methods are EDI (Electronic Data Interchange), API-based integration, and file-based exchange (CSV, Excel, PDF). Most mid-size B2B companies use a combination of all three, depending on trading partner size and capability. EDI dominates high-volume retail relationships, APIs are growing in e-commerce, and file-based exchange remains common for smaller trading partners. For a detailed comparison of EDI and API approaches, see our article on [EDI vs API](/blog/edi-vs-api). ### How long does supply chain integration take to implement? It depends on the approach. Traditional EDI integration with a single trading partner typically takes 4-8 weeks including testing and certification. Full supply chain integration across all trading partners can take 3-12 months with legacy middleware platforms. Modern B2B integration platforms like OrderSync can go live in days for standard formats because there's no trading-partner-side setup required for non-EDI orders. ### How much does supply chain integration software cost? Pricing varies significantly by approach. Legacy EDI middleware and VAN-based solutions typically charge per-transaction fees ($0.05-0.50 per document) plus monthly platform fees ($500-5,000/month). Enterprise integration platforms (like MuleSoft or Boomi) start at $1,000-3,000/month and require implementation services. Order automation platforms like OrderSync use flat monthly pricing based on order volume, which is more predictable and typically lower for mid-market companies processing 100-1,000 orders per day. --- # Vendor Portal Software: How to Choose Source: https://ordersync.io/blog/vendor-portal-software > What vendor portal software does, who needs it, and how to evaluate options. Covers order submission, document exchange, and compliance tracking. Vendor portal software gives suppliers a web interface to submit documents, check purchase order status, and view compliance requirements—without requiring EDI. For buyers, it reduces inbound calls and email requests. Evaluate by time-to-onboard a new supplier, document types supported, and how well it connects to your procurement system. > **Vendor portal software** is a web-based platform that gives suppliers a centralized place to submit orders, check order status, exchange documents, and manage compliance requirements with their buyers. Instead of scattering communication across email threads, phone calls, fax machines, and spreadsheets, a vendor portal puts everything in one place where both sides can see it. If you manage supplier relationships at a distribution or manufacturing company, you've lived the chaos that happens without a vendor portal. Purchase orders go out by email and get lost. Invoices arrive as PDF attachments and sit in someone's inbox for days. Compliance documents live in a shared drive that nobody remembers the password to. A vendor management portal eliminates that. It gives your suppliers self-service access to submit documents, check payment status, and stay current on your requirements without calling your purchasing team five times a week. ## What Vendor Portal Software Actually Does At its core, a B2B vendor portal handles four categories of work that otherwise eat up hours of manual effort every week. ### Document Exchange The most basic function. Suppliers upload invoices, packing slips, certificates of insurance, and compliance documents. Buyers share purchase orders, spec sheets, and routing guides. Everything lives in one place with version control and audit trails. Without a portal, this happens over email. And email means attachments get buried, versions get confused, and nobody can find the COI that expired last month. ### Order Status Visibility Suppliers can see where their orders stand without calling or emailing your team. They can check whether a PO has been acknowledged, whether goods have been received, and whether payment has been scheduled. This alone can cut inbound supplier inquiries by 40-60%, according to [Gartner's research on procure-to-pay automation](https://www.gartner.com/en/supply-chain/topics/supply-chain-management). ### Compliance Tracking If you require specific documents from vendors (certificates of insurance, product certifications, SDS sheets, food safety audits), a portal tracks what's current, what's expiring, and what's missing. Compare that to maintaining a spreadsheet that someone updates quarterly if you're lucky. ### Payment Visibility Suppliers can see invoice status, payment schedules, and remittance details without contacting your AP team. This is especially valuable for suppliers who offer early payment discounts. It is also a big factor in supplier satisfaction, since "when am I getting paid?" is the most common question your accounts payable team fields. ## Who Needs a Vendor Portal? Not every company needs vendor portal software. If you work with five suppliers and everyone's on a first-name basis, email and phone calls work fine. The business case for portals is well-documented: - [Gartner's research on procure-to-pay automation](https://www.gartner.com/en/supply-chain/topics/supply-chain-management) finds that self-service supplier portals reduce inbound vendor inquiries by 40-60% - [GS1 US standards](https://www.gs1us.org/industries-and-insights/standards) define the product and location identifiers that flow through vendor portals when EDI is part of the document exchange But there are clear signals that you've outgrown the informal approach: - **You manage 50+ active suppliers.** At this volume, tracking documents and compliance manually breaks down. Things slip through cracks. - **Your purchasing team spends more time on status updates than actual purchasing.** If half their day is answering "where's my PO?" and "when's my payment?", a self-service portal pays for itself in recovered productivity. - **Supplier compliance is a real concern.** If you operate in food, pharma, or any regulated industry, you need documented proof that every supplier meets your standards. A shared folder doesn't cut it. - **You're processing orders from suppliers in multiple formats.** Some send EDI. Some send PDFs. Some email spreadsheets. A portal can standardize how you receive orders and documents. For more on the multi-format challenge, see our guide to [multi-format order processing](/multi-format-orders). - **Chargebacks and disputes are increasing.** When there's no central record of what was ordered, shipped, and received, disputes multiply. A portal creates the paper trail that resolves them. ## Core Features to Evaluate When comparing vendor portal software, here's what separates a useful tool from a glorified file-sharing site. | Feature | What to Look For | Why It Matters | |---|---|---| | **Self-service order submission** | Suppliers can enter orders directly, with field validation against your item master | Reduces manual data entry on your side and catches errors at the source | | **Document types supported** | POs, invoices, ASNs, compliance docs, spec sheets, routing guides | A portal that only handles invoices misses half the workflow | | **Compliance dashboard** | Tracks document expiration, missing certifications, and supplier scorecards | Prevents compliance gaps from turning into production or legal problems | | **Payment tracking** | Real-time invoice status, scheduled payment dates, remittance details | Cuts AP inquiry volume and improves supplier relationships | | **ERP integration** | Direct sync with your ERP (SAP, NetSuite, [QuickBooks](/integrations/quickbooks), etc.) | Without [ERP integration](/erp-integration), portal data becomes another silo | | **User management** | Role-based access, supplier self-registration, multi-user per vendor | You need granular control without creating admin bottleneck | | **EDI support** | Accepts or generates EDI transactions (850, 856, 810) alongside portal submissions | Many of your larger suppliers already use EDI; the portal should work with both. See our [free EDI Inspector](/edi-inspector) if you need to parse EDI files | ## Types of Vendor Portals Not all supplier portal software is built the same way. The four main categories each come with trade-offs. ### Standalone Vendor Portals Purpose-built platforms focused entirely on the supplier-buyer relationship. Companies like Coupa, Jaggaer, and SAP Ariba fall into this category. **Best for**: Large enterprises with complex procurement workflows and thousands of suppliers. **Watch out for**: High implementation costs and long deployment timelines. These platforms can take 6-12 months to fully roll out, and per-supplier licensing fees add up fast. ### ERP-Native Portals Vendor portals built into your ERP system. SAP has its Supplier Portal, Oracle has its Supplier module, and NetSuite has SuiteCommerce for vendor self-service. **Best for**: Companies already deep in one ERP ecosystem that want tight integration without middleware. **Watch out for**: Limited flexibility. These portals are designed around the ERP's data model, which means they often can't handle non-standard workflows or document types outside the ERP's scope. ### EDI Platform Add-Ons Many [EDI providers](/blog/edi-integration-guide) offer a web portal as an alternative for suppliers who can't do full EDI. [SPS Commerce](/ordersync-vs/sps-commerce)'s web forms are the most well-known example. Suppliers without EDI capability log into a website and manually enter order data into forms that generate EDI transactions on the back end. **Best for:** Companies with a mix of EDI-capable and non-EDI suppliers who want to standardize on one transaction format internally. **Watch out for:** These portals are basically data entry screens. They put the work on the supplier, and many smaller vendors find them frustrating to use. If your goal is supplier adoption, usability matters more than EDI purity. ### Order Automation Platforms A newer category that sidesteps the portal model entirely. Instead of asking suppliers to log in and enter data, these platforms accept orders in whatever format the supplier already uses (email, PDF, spreadsheet, EDI) and normalize everything automatically. **Best for:** Companies tired of fighting supplier adoption and who want to process orders regardless of format. This is the approach OrderSync takes. ## The Connection Between Vendor Portals and EDI Vendor portals and EDI solve overlapping problems, and understanding the relationship helps you make better buying decisions. EDI (Electronic Data Interchange) is the traditional way large retailers and distributors exchange documents electronically. [EDI 850 purchase orders](/guides/edi/850-purchase-order), [EDI 856 ship notices](/guides/edi/856-ship-notice), and EDI 810 invoices flow between trading partners through standardized formats. If you sell to Walmart, Target, or Costco, you need EDI. Full stop. But EDI has a supplier adoption problem. Setting up EDI is expensive and complex for smaller trading partners. According to the [GS1 US EDI implementation guidelines](https://www.gs1us.org/upcs-barcodes-prefixes/how-to-use-your-upc-barcodes/share-information-electronically), even a basic EDI setup requires understanding transaction sets, communication protocols, and trading partner-specific requirements. For companies processing fewer than 100 orders a month, the cost often doesn't justify the investment. That's where vendor portals entered the picture. They give non-EDI suppliers a way to participate in electronic document exchange without the overhead of a full EDI implementation. The supplier logs in, fills out a web form, and the portal generates the EDI transaction behind the scenes. The limitation? Portal-based data entry is still manual. The supplier is doing the same work they'd do filling out an email; they're just doing it on a website instead. And adoption is a constant battle. If your suppliers don't log in, the portal is useless. For more on how EDI works for smaller companies, see our article on [EDI for small business](/blog/essential-guide-to-edi). ## Where OrderSync Fits OrderSync takes a different approach to the vendor portal problem. Instead of building another portal that suppliers need to log into, OrderSync accepts orders in whatever format your suppliers already send them. Supplier emails a PDF purchase order? OrderSync extracts the line items, validates them against your product catalog, and syncs the order to your ERP. Another supplier sends an EDI 850? Same pipeline, same dashboard, same validation. A third supplier fills out a spreadsheet template? That works too. This matters because the biggest challenge with vendor portal software isn't the technology. It's supplier adoption. You can build the best portal in the world, but if your suppliers won't use it, you're back to email and phone calls. OrderSync sidesteps the adoption problem entirely. Suppliers don't need to change how they send orders. You get the benefits of a centralized [order management system](/blog/what-is-an-oms) without forcing your supply base through a migration. Here's what that looks like in practice: - **No supplier onboarding required.** Suppliers keep sending orders the way they always have. No logins, no training, no "please use the portal" emails that go ignored. - **Automatic format detection.** OrderSync identifies whether an incoming order is EDI, PDF, CSV, or email and routes it through the right extraction process. Learn more about [multi-format order processing](/multi-format-orders). - **Validation before ERP sync.** Every order gets checked against your item master, pricing rules, and customer records before it reaches your ERP. Errors get flagged, not passed through. - **Full audit trail.** Even without a portal, you get document history, status tracking, and exception logging across every order format. If you're evaluating [B2B order management software](/blog/what-is-an-oms), it's worth considering whether you actually need a portal or whether you need the outcomes a portal promises (centralized orders, reduced manual entry, better visibility) delivered a different way. Ready to see how it works? [Book a free intro call](/book) and we'll walk through your specific order flow. ## Frequently Asked Questions ### What is the difference between a vendor portal and a supplier portal? **"Vendor portal" and "supplier portal" are used interchangeably: both refer to the same web-based platform for document exchange, order tracking, and compliance management between buyers and their suppliers.** "Vendor portal" and "supplier portal" are used interchangeably across the industry. Some companies prefer "supplier" because "vendor" can imply a more transactional relationship, but the software does the same job either way. ### Can a vendor portal replace EDI? For smaller trading partners, yes. A vendor portal can give non-EDI suppliers a way to submit orders and exchange documents electronically. But for high-volume relationships with major retailers, EDI is still required. Most companies end up running both: EDI for large trading partners and a portal (or an alternative like OrderSync) for everyone else. See our [EDI integration guide](/blog/edi-integration-guide) for more on how the pieces fit together. ### How long does it take to implement vendor portal software? It depends on the type. Standalone enterprise platforms (Coupa, Ariba) can take 6-12 months. ERP-native portals usually deploy faster since the integration is built in. Order automation platforms like OrderSync can go live in days because there's no supplier-side setup. The biggest variable isn't the technology; it's supplier onboarding and adoption. ### What does vendor portal software cost? Pricing models vary widely. Enterprise procurement suites charge per-supplier per-month fees that can run $50-200 per supplier. ERP add-ons are usually included in your ERP license but may require professional services to configure. Lightweight portals and order automation tools typically charge a flat monthly fee based on order volume, which is more predictable for budgeting. ### How do I get suppliers to actually use the portal? This is the hardest part of any vendor portal project. The most successful rollouts use a phased approach: start with your highest-volume suppliers, demonstrate clear value (faster payments, fewer disputes), and make the portal easier than the current process. If adoption is a persistent problem, consider whether a portal is the right model at all, or whether an approach that meets suppliers where they are (like accepting their existing order formats) might work better. --- # What Is an OMS? 5 Stages, OMS vs ERP vs WMS Source: https://ordersync.io/blog/what-is-an-oms > OMS stands for order management system. The 5 stages every order goes through, OMS vs ERP vs WMS, what it costs, and a realistic rollout timeline. An Order Management System (OMS) is software that captures orders from every channel — EDI from major retailers, PDFs from regional accounts, web portals, spreadsheets, marketplace APIs — validates them against your catalog and pricing, and routes clean data to your warehouse or ERP without manual re-keying. Modern OMS systems use AI to handle the long tail of non-EDI orders. Without one, a single transposed quantity can turn a 200-case order into a 2,000-case shipment and trigger a chargeback that wipes out the margin on the whole account. The differentiation in modern B2B isn't whether you can process EDI. It's whether you can process the long tail of non-EDI orders without hiring an army of data-entry staff. You have orders coming in from six different places. EDI from Walmart. PDF purchase orders from regional accounts. Emails with Excel attachments from your newest buyer. Someone on your team is copying line items from each source into your ERP by hand, and yesterday a transposed quantity turned a 200-case order into a 2,000-case shipment. The customer is furious, and you're eating the freight cost on the return. This is the exact problem an OMS is built to solve. This guide covers what an OMS is, how the order management process works, how B2B differs from B2C, cloud vs. on-premise considerations, and how to choose the right system for your operation. Already comparing vendors? The [B2B order management software](/order-management-systems) page covers what a distributor's system has to handle, from buyer part numbers to contract pricing, and how OrderSync does it. ## OMS Meaning: What Does OMS Stand For? > **OMS** stands for **Order Management System**. An OMS is software that captures, tracks, and manages orders from the moment they arrive through fulfillment and invoicing. It acts as the central hub between your sales channels and your warehouse or ERP. In B2B operations, supply chain management, and retail, OMS refers specifically to order management software that handles the full order lifecycle. According to [Gartner's glossary](https://www.gartner.com/en/information-technology/glossary/order-management), an OMS coordinates the order-to-cash process across channels and fulfillment locations. For B2B companies, that means managing purchase orders from trading partners, validating them against product catalogs and pricing rules, and routing clean data downstream. The term has been around since the early days of electronic commerce. But the scope has grown. A modern order management system doesn't just log orders. It normalizes data from multiple formats, validates against business rules, allocates inventory, routes to the right warehouse, and tracks everything through delivery and payment settlement. Key standards that define how data flows through an OMS: - [ASC X12 transaction sets](https://x12.org/products/transaction-sets) define the EDI purchase orders (850), invoices (810), and ship notices (856) that most OMS platforms must ingest from major trading partners - [GS1 US standards](https://www.gs1us.org/industries-and-insights/standards) govern the GTIN and UPC product identifiers your OMS uses to match line items to your catalog without ambiguity ## How the Order Management Process Works Every B2B order follows a five-stage lifecycle, regardless of how it arrives or what system you use. Here's each stage, what happens, and where things typically go wrong. ### Stage 1: Order Receipt and Capture Orders arrive in different formats from different channels. An OMS pulls them all into one place. [EDI 850 purchase orders](/guides/edi/850-purchase-order) from major retailers, PDF orders from mid-size accounts, CSV or Excel files from buying groups, manual orders entered by your sales team: they all land in the same queue with the same data structure. Without this consolidation, your team is toggling between systems. One person handles EDI, another processes PDF orders, and nobody has a complete picture of what's due to ship today. Every separate channel adds complexity, and the overhead of switching between them slows your team down. ### Stage 2: Order Validation Before an order reaches your warehouse, the system checks it against your business rules: - **SKU verification**: Does this product exist in your catalog? Is it active? - **Pricing checks**: Does the price on the PO match the customer's negotiated rate? - **Quantity validation**: Is the quantity a valid case pack multiple? Does it exceed credit limits? - **Ship date feasibility**: Can you actually fulfill this by the requested date given current lead times? - **Customer account status**: Is this account on hold, past credit terms, or flagged? This is where manual processes break down. A human reviewing 200 orders per day will miss things. An OMS catches a price discrepancy on order number 187 just as reliably as it catches one on order number 3. According to [APQC's supply chain benchmarking data](https://www.apqc.org/resource-library/resource-collection/supply-chain-management-key-benchmarks), top-performing organizations process orders at 60% lower cost per order than bottom-quartile companies. The difference is process design and automation, not staffing. ### Stage 3: Inventory Allocation and Order Routing Your system reserves inventory against the order. If you're running multiple warehouses, allocation also determines which location fulfills the order based on proximity, stock levels, and shipping cost. If Costco and Target both send purchase orders for the same product and you only have enough to fill one, the system flags the conflict before your warehouse ships partial orders to both. This step is where inventory management and [order fulfillment](/blog/order-fulfillment-automation) intersect directly. Bad data from earlier stages causes real damage here: a wrong SKU means picking the wrong product, a wrong quantity means a short shipment or overshipment. ### Stage 4: Fulfillment and Shipping Pick lists are generated, warehouse staff pull the items, and everything gets packed according to the buyer's requirements. For retail orders, this often includes specific labeling, carton markings, and packing slip formats. The carrier picks up the shipment, and your system generates a ship notice ([EDI 856](/guides/edi/856-ship-notice) for retail trading partners). If you're shipping to retailers like Walmart or Target, the ASN must be sent within a specific window or you'll face penalties. ### Stage 5: Invoicing, Payment, and Reconciliation After shipment, you bill the customer. B2B invoicing is more complex than sending a total: - The invoice must match the PO and the shipment exactly (three-way match) - Pricing must reflect negotiated terms, volume discounts, and any allowances - For EDI trading partners, you send an [EDI 810 invoice](/guides/edi/810-invoice) electronically - Payment terms vary by customer (Net 30, Net 60, 2/10 Net 30) Invoice discrepancies are one of the top reasons for payment delays. If your invoice doesn't match the PO line for line, the buyer's AP team kicks it back, and you wait another 30 to 60 days to get paid. When your order management process is clean from the start, reconciliation is straightforward. When it's not, your AR team spends hours chasing discrepancies. ## Order Management vs. Order Processing vs. Order Fulfillment These three terms get used interchangeably, but they refer to different scopes: | | Order Management | Order Processing | Order Fulfillment | |---|---|---|---| | **Scope** | End-to-end (receipt through payment) | Receipt through ERP entry | Warehouse pick, pack, ship | | **Starts when** | Customer places an order | Order data arrives for entry | Validated order reaches warehouse | | **Ends when** | Payment is collected and reconciled | Order is entered and acknowledged | Shipment is confirmed and tracked | | **Key metrics** | Order-to-cash cycle time, perfect order rate | Entry time per order, error rate | Fill rate, on-time shipment rate | | **Systems involved** | OMS, ERP, WMS, TMS | OMS or ERP order entry module | WMS, shipping/carrier systems | Order management is the umbrella. Order processing and order fulfillment are stages within it. If you're evaluating software, an [order management system](/order-management-systems) covers the full lifecycle, while [order processing automation](/order-processing-automation) and [order entry software](/blog/order-entry-software) focus on eliminating manual data entry at the intake stage. ## OMS vs. ERP vs. WMS: What's the Difference? All three systems touch orders. Here's how they differ: | | **OMS** | **ERP** | **WMS** | |---|---|---|---| | **Primary focus** | Order lifecycle management | Financial and business operations | Warehouse operations | | **Core job** | Capture, validate, and route orders | Accounting, procurement, HR, planning | Pick, pack, ship, receive | | **Order handling** | Multi-channel order consolidation | Order entry and invoicing | Order fulfillment execution | | **Inventory view** | Available-to-promise across locations | Financial inventory valuation | Bin-level warehouse inventory | | **Typical users** | Order management, customer service | Finance, procurement, executives | Warehouse staff, shipping | | **Examples** | OrderSync, IBM Sterling, Manhattan | SAP, NetSuite, Microsoft Dynamics | HighJump, Blue Yonder, 3PL systems | Most ERPs include basic order entry, but they're not designed to handle orders arriving in mixed formats from multiple channels. Try processing an EDI 850 from Walmart, a PDF purchase order from a regional chain, and an emailed spreadsheet from a small account, all through your ERP's native order entry screen. It's possible, but it involves a lot of manual work. A WMS picks up where the OMS leaves off. Once the OMS validates an order and allocates inventory, the WMS manages the physical fulfillment: picking routes, packing stations, label generation, and loading. Some companies try to make their WMS do double duty as an OMS, but warehouse management systems aren't built to parse incoming orders or validate pricing against customer agreements. The best setup is all three systems working together: the OMS captures and validates orders, the ERP handles financial records, and the WMS manages the warehouse floor. Data flows between them through [ERP integrations](/erp-integration) and APIs. ## B2B vs. B2C Order Management: Key Differences Consumer order management is straightforward by comparison. A customer clicks "buy," the system captures a cart, charges a card, and routes a pick ticket. Pricing is the same for everyone. The format is always the same. Returns follow a standard policy. B2B order management deals with a different set of problems: - **Negotiated pricing**: Every account may have a different price list. A system that can't enforce customer-specific pricing will either slow your team down with manual checks or let pricing errors through to invoicing. - **Mixed order formats**: Your largest retailer sends EDI. Your second-largest sends PDFs. A regional chain emails Excel files. You need one system to handle all of them through a [single pipeline](/multi-format-orders), not three separate tools. - **Compliance requirements**: Walmart needs an EDI 856 ship notice with SSCC-18 barcodes. Target requires DPCI codes at the item level. Miss these, and you eat chargebacks of $500 or more per shipment. - **Approval workflows**: B2B orders often require credit checks, inventory allocation holds, or manager sign-off before fulfillment. - **High line-item counts**: A single B2B purchase order might contain 200 line items across 50 SKUs. That's a different scale from a consumer order with 3 items. According to Forrester's B2B commerce research, B2B buyers increasingly expect the speed of consumer experiences, but the backend complexity of B2B fulfillment has not gotten simpler. The gap between expectations and operational reality is where B2B order management software earns its value. ## Order Management Approaches Compared Not every company handles orders the same way. Here's how the three main approaches stack up: | Factor | Manual Processing | Semi-Automated | Fully Automated OMS | |---|---|---|---| | **Order intake** | Staff reads and keys each order | EDI auto-processed; PDF/email still manual | All formats parsed and entered automatically | | **Validation** | Human checks (error-prone at volume) | Basic EDI validation; manual checks for other channels | Rule-based validation on every order, all channels | | **Processing time** | 10-20 minutes per order | 1-2 minutes for EDI; 10+ minutes for manual channels | Seconds for clean orders; minutes for exceptions | | **Error rate** | 2-5% per field | Less than 1% for EDI; 2-5% for manual channels | Less than 0.5% across all channels | | **Staffing** | 1 FTE per 40-60 orders/day | Fewer staff for EDI; same for other channels | 1-2 staff managing exceptions for 200+ orders/day | | **Visibility** | Fragmented across systems | Partial (EDI tracked; other channels in spreadsheets) | Single dashboard for all orders and statuses | The jump from manual to semi-automated typically happens when a company starts trading with a retailer that requires EDI. The jump to fully automated usually comes when order volume outpaces headcount or when chargebacks start eating margins. ## Cloud vs. On-Premise Order Management The deployment model matters, especially for distributed teams and growing operations. | Factor | Cloud OMS | On-Premise OMS | |---|---|---| | **Upfront cost** | Low (monthly/annual subscription) | High (license + hardware + setup) | | **Maintenance** | Vendor handles patching, monitoring, backups | Your IT team handles everything | | **Scalability** | Add users or capacity on demand | Requires hardware upgrades and planning | | **Updates** | Automatic, included in subscription | Manual installs, often delayed or skipped | | **Remote access** | Browser-based, works from anywhere | Requires VPN or terminal server | | **Integration** | API-first, pre-built connectors common | Custom integrations, often middleware-heavy | | **Total cost (5 yr)** | Predictable, often lower for SMBs | Lower per-year if fully amortized, but hidden costs add up | Neither model is universally better. On-premise still makes sense for companies with strict data residency requirements or deeply custom workflows. But for most B2B teams processing orders from multiple channels with distributed staff, the tradeoffs favor cloud. According to [Flexera's 2025 State of the Cloud Report](https://info.flexera.com/CM-REPORT-State-of-the-Cloud), 89% of enterprises now use a multi-cloud strategy, and reducing infrastructure management overhead is consistently cited as a top driver. For mid-size B2B companies without large IT departments, offloading server management to a SaaS vendor frees up limited IT resources. **Common concerns about cloud OMS:** - **Data security**: Major cloud OMS vendors run on infrastructure (AWS, Azure, GCP) that meets SOC 2 Type II and ISO 27001. Your data is encrypted in transit and at rest. The real question is whether your in-house IT team can match the security posture of a dedicated cloud provider. - **Internet dependency**: If your internet goes down, your cloud OMS is unreachable. Mitigate with redundant connections and ask vendors about offline caching. - **Vendor lock-in**: Protect yourself by choosing a platform that allows data export in standard formats. Check contract terms and avoid multi-year lock-ins unless the discount is substantial. ## Signs You Need an Order Management System Not every company needs a standalone OMS. If you process 10 orders a day from a single channel, your ERP's built-in order entry probably works fine. But there are clear signals that you've outgrown that approach: **Your team is re-keying data.** If someone is manually typing order information from one system (or document) into another, you're paying for that labor and absorbing the errors. According to a [study published in the International Journal of Information Management](https://www.sciencedirect.com/science/article/abs/pii/S0268401220314638), manual data entry in supply chain operations produces error rates between 1% and 5%. On 500 orders per week, that's 5 to 25 orders with mistakes. **You're processing more than 20 orders per day from multiple formats.** EDI from one retailer, PDFs from another, emails from a third. Each format requires different handling, and at this volume, manual entry errors compound fast. **Order volume is growing faster than headcount.** You landed a new retail account and volume jumped 40%, but you didn't hire 40% more operations staff. The gap creates backlogs, delays, and errors. **Chargebacks are eating into margins.** Retailers like Walmart and Target impose chargebacks for late shipments, missing ASN data, and order accuracy failures. If you're paying $500 to $5,000 per incident, the ROI math on an OMS gets straightforward quickly. **You can't answer basic questions.** How many orders are open right now? What's the average time from order receipt to shipment? Which customer has the most exceptions this month? If answering these requires pulling data from three different systems, you need a [centralized order dashboard](/order-management-systems). **Your spreadsheet only one person understands.** If your order tracking depends on a Google Sheet that only one team member fully maintains, that's a single point of failure. One vacation, one sick day, and your entire process stalls. ## Small Business Considerations Enterprise order management systems are built for companies with 50 warehouses and dedicated IT departments. If you're a smaller operation, you need a system that solves today's problems without creating new ones. A small business OMS should do three things well: capture orders from every channel into one place, validate before data hits your ERP, and give you a clear view of every open order in a single dashboard. Here's how the options break down by company size: | Type | Monthly Cost | Best For | Limitations | |---|---|---|---| | **Spreadsheets** | Free to $20/user | Fewer than 20 orders/day, single channel | No validation, no automation, error-prone at scale | | **Lightweight tools** (Ordoro, inFlow) | $50 to $200 | Small eCommerce or wholesale with simple workflows | Limited B2B features, weak EDI support | | **Cloud OMS** (OrderSync, Cin7) | $200 to $800 | B2B companies with mixed order formats and 50+ orders/day | May require setup assistance for EDI | | **ERP modules** (NetSuite OMS, SAP Business One) | $1,000+ | Companies already on an ERP that want built-in order management | Expensive, slow to deploy, tied to ERP vendor | According to [Nucleus Research](https://nucleusresearch.com/), the average ERP implementation costs 3 to 4 times the software license in consulting and customization fees. For most small B2B companies, a cloud-based OMS hits the right balance between capability and cost. ## What to Look for in Order Management Software The OMS market ranges from enterprise platforms costing six figures annually to lightweight tools built for specific use cases. Here's what actually matters. ### Multi-Format Order Ingestion This is the baseline requirement. If the software only handles one order format (EDI-only or manual-entry-only), it's a point solution, not an OMS. Look for systems that handle EDI, PDF, CSV, email, and web portal orders through a [single pipeline](/multi-format-orders). Test it with your actual order documents during the evaluation, not just the vendor's demo data. ### Customer-Specific Business Rules Your pricing, payment terms, and routing rules vary by account. The system needs to store and enforce these rules automatically. When an order from Customer A arrives, the software should validate against Customer A's contracted prices, apply their discount tiers, and flag anything that doesn't match. ### Validation and Exception Handling The system should validate orders against your product catalog, customer-specific pricing, and business rules before anything touches your ERP. When it finds problems, it should flag them for review without blocking the rest of your order queue. Ask vendors: how does your system handle exceptions? If the answer involves a lot of manual steps, keep looking. The best systems show you exactly what triggered the exception (price mismatch, unknown SKU, invalid ship-to) so the fix takes seconds. ### ERP Integration Depth "We integrate with your ERP" can mean anything from a flat-file CSV export to a real-time API connection. Push for specifics. Does the integration sync orders, inventory, pricing, and customer data? Is it bidirectional? What happens when the ERP is down? A direct connection that [syncs orders to your ERP](/erp-integration) in real time is the standard to measure against. Anything involving nightly batch files or manual exports is a generation behind. ### EDI Compliance If you sell to major retailers, your order management system must support the core X12 transaction set: 850 (purchase order), 855 (acknowledgment), 810 (invoice), 856 (ASN), and 997 (functional acknowledgment). More than basic support, it needs to handle retailer-specific implementation guides. Walmart's 856 requirements are different from Target's, which are different from Costco's. If you work with EDI data, our [free EDI Inspector](/edi-inspector) helps you parse and debug transaction files. ### Reporting and Visibility You need to see order status, processing times, exception rates, and customer-level performance at a glance. If the vendor says "we can build custom reports," that usually means the built-in reporting is weak. Look for dashboards that answer your top five operational questions out of the box. ## Key Order Management Metrics You can't fix what you don't measure. These are the metrics that matter most: | Metric | What It Measures | Top-Quartile Benchmark | |---|---|---| | **Perfect Order Rate** | Orders delivered complete, on time, damage-free, with correct docs | 95% or higher | | **Order Cycle Time** | Average time from order receipt to delivery | Less than 48 hours (non-custom) | | **Order Entry Time** | Average minutes to enter one order into the system | Less than 2 minutes (automated) | | **Line Item Accuracy** | Correct line items shipped / Total line items shipped | 99.5% or higher | | **Order-to-Cash Cycle** | Average days from order receipt to payment collected | Less than 35 days | | **Cost Per Order** | Total order management costs / Number of orders processed | Less than $5 (automated) | | **First-Pass Yield** | Orders processed without exceptions or manual intervention | 85% or higher | | **Fill Rate** | Percentage of ordered units shipped on the first attempt | 95% or higher | If your order entry time is above 10 minutes per order, you're doing significant manual work. If your perfect order rate is below 90%, the root cause is almost always bad data entering the system at the order receipt stage. Track these monthly. Set improvement targets quarterly. Even small gains compound: improving line item accuracy from 97% to 99% on 300 daily orders eliminates 6 errors per day, roughly 1,500 per year. ## B2B Order Management Software Comparison The market includes platforms with different strengths. Here's how several well-known options compare. For a page focused on what [B2B order management software](/order-management-systems) has to handle (buyer part numbers, mixed units, contract pricing, many ship-tos), see the dedicated guide. | Feature | OrderSync | SPS Commerce | [Conexiom](/ordersync-vs/conexiom) | NetSuite OMS | Esker | |---|---|---|---|---|---| | EDI support (X12) | Yes | Yes | Limited | Yes (add-on) | Limited | | PDF/email order intake | AI extraction | No | Template-based | Manual | Template-based | | Multi-format pipeline | Single pipeline | EDI-focused | PDF-focused | Requires config | Document-focused | | Customer-specific pricing rules | Built-in | Via ERP | Via ERP | Built-in | Via ERP | | ERP integration | API + native connectors | API + connectors | API + connectors | Native (NetSuite) | API + connectors | | Exception dashboard | Yes | Basic | Yes | Yes | Yes | | Best for | Mixed-format mid-market | High-volume EDI | PDF-heavy operations | NetSuite shops | AP + order automation | Every vendor's capabilities shift with new releases. Validate current feature sets during your evaluation, especially around PDF extraction accuracy and ERP-specific connectors. ### Choosing Based on Your Order Mix **If 80%+ of your orders are EDI**: An EDI-first platform like SPS Commerce handles high-volume electronic transactions well. The trade-off: non-EDI orders still require separate handling. **If your orders are split across formats**: This is where most mid-market distributors land. You have EDI from major retailers, PDFs from regional accounts, and spreadsheets from buying groups. A platform with [AI-powered order automation](/ai-order-automation) that handles all formats in one workflow eliminates the patchwork of tools. **If you're already on NetSuite**: The native OMS module keeps everything in one system. The drawback: handling non-EDI order formats typically requires custom SuiteScripts or third-party apps, and per-user licensing adds up for operations teams. **If you need AP automation too**: Esker covers both PO intake and invoice processing. Verify that their order extraction accuracy meets your needs for B2B purchase orders, which tend to be more complex than invoices. ## How AI Is Changing Order Management Traditional order management software follows rules you define: if the order format is X, parse it this way. If the price doesn't match, flag it. This works well for structured data like EDI, but it falls apart when orders arrive as PDF attachments, handwritten faxes (yes, they still exist), or emails with inconsistent formatting. [AI-powered order automation](/ai-order-automation) takes a different approach. Instead of rigid templates, machine learning models read and extract data from unstructured documents the way a human would, but faster and without fatigue. A PDF purchase order from a new customer doesn't require template configuration. The AI reads the document, identifies line items, quantities, prices, and ship-to addresses, then maps them to your product catalog. This matters most for B2B companies with a long tail of smaller accounts. Your top 10 customers might send EDI, but customers 11 through 200 send PDFs, spreadsheets, and emails. [Automated order processing](/order-processing-automation) powered by AI handles both ends of that spectrum without separate tools or workflows. The next evolution is predictive: AI that spots patterns in your order data and flags anomalies before they become problems. An order that's 10x the customer's usual volume might be legitimate, or it might be a data entry error on their side. An intelligent OMS surfaces these cases for review instead of processing them blindly. ## Implementation: What a Realistic Timeline Looks Like A common mistake is underestimating how long B2B order management software takes to deploy. Here's a realistic timeline for a mid-market operation with 100 to 500 orders per day: 1. **Weeks 1-2: Discovery and scoping.** Map your current order sources, formats, volumes, and business rules. Identify your top 10 customers by volume and document their specific requirements. 2. **Weeks 3-4: ERP integration setup.** Connect the order management system to your ERP. Test with sample data. Verify that item numbers, pricing, and ship-to data map correctly. 3. **Weeks 5-8: Channel configuration.** Set up EDI trading partner connections, configure PDF extraction rules or AI training, and establish email monitoring. Start with your highest-volume channel first. 4. **Weeks 9-10: Parallel processing.** Run the new system alongside your existing process. Compare outputs. Identify gaps in extraction accuracy or validation rules. 5. **Weeks 11-12: Go-live and tuning.** Switch to the new system as primary. Keep the old process available as a fallback for the first 2 weeks. Monitor exception rates and adjust rules. For operations with heavy EDI requirements (selling to multiple major retailers), add 2 to 4 weeks for trading partner testing. Each retailer has their own [EDI implementation](/blog/essential-guide-to-edi) requirements. For companies migrating from an on-premise system to cloud, plan for an additional 2 to 4 weeks of data migration and cleanup. ## Getting Started If you're evaluating order management software for the first time, start here: 1. **Map your current order flow.** Document every order source, format, and the manual steps involved in getting that order into your ERP. This is your baseline. 2. **Count your daily orders and calculate the cost of the status quo.** Count the labor hours on manual entry. Calculate your error rate and the cost per error (chargebacks, re-ships, credit memos). At 300 orders per day with a 2% error rate, you're looking at 6 errors daily. Each costs $50 to $300 to resolve. That puts annual error costs between $75,000 and $450,000. 3. **Define your must-haves vs. nice-to-haves.** Multi-format ingestion? EDI compliance for specific retailers? Real-time ERP sync? Rank them. If a feature prevents errors or saves daily labor, it's a must-have. If it optimizes something you do monthly, it can wait. 4. **Test with real data.** Any vendor worth considering will let you run your actual orders through their system. Send a PDF purchase order. Upload a CSV. If they won't let you test, that tells you something. 5. **Prioritize time-to-value.** A system that takes 3 months to implement is not built for smaller operations. Look for platforms you can configure in days, not quarters. If your orders involve EDI from retailers, our [free EDI Inspector](/edi-inspector) is a good place to start understanding your EDI data. For a broader look at EDI basics, check out [our essential guide to EDI](/blog/essential-guide-to-edi). And for a deeper dive into B2B-specific automation, see our [B2B order automation software guide](/blog/automated-order-processing). ## Frequently Asked Questions ### What does OMS stand for in business? OMS stands for Order Management System. It refers to software that manages the full lifecycle of customer orders: capture, validation, routing, fulfillment tracking, and invoicing. In B2B contexts, an OMS typically handles orders from multiple channels and formats, including EDI, PDF, and email. ### What is the difference between an OMS and an ERP? **An ERP (Enterprise Resource Planning) system manages broad business operations including finance, HR, and procurement, while an OMS focuses specifically on the order lifecycle.** Most ERPs include basic order entry, but lack the multi-channel ingestion, format-agnostic parsing, and order-specific validation that a dedicated OMS provides. Many companies run both, with the OMS feeding validated orders into the ERP. For a comparison of different [order processing software](/blog/order-processing-software), see our dedicated breakdown. ### What is the difference between an OMS and a WMS? An OMS manages order data: capturing orders, validating them, allocating inventory, and tracking status. A WMS (Warehouse Management System) manages physical warehouse operations: picking, packing, shipping, and receiving. Think of the OMS as the brain that decides what needs to happen, and the WMS as the hands that execute it. In a well-designed operation, the OMS sends validated, allocated orders to the WMS for fulfillment. ### What is the difference between order management and supply chain management? Order management is one part of the broader supply chain. Supply chain management covers everything from raw material sourcing through production, warehousing, transportation, and delivery. Order management focuses specifically on the order lifecycle: capturing orders, validating them, fulfilling them, and settling payment. According to [ASCM (formerly APICS)](https://www.ascm.org/learning-center/scm-key-terms/), order management is one of the core processes in the Supply Chain Operations Reference (SCOR) model. ### How much does order management software cost? Pricing varies widely. Enterprise OMS platforms from vendors like IBM Sterling or Manhattan Associates can run $100,000 or more per year. Mid-market solutions typically range from $500 to $5,000 per month. Entry-level cloud platforms for smaller B2B operations start around $200 to $500 per month. Some platforms charge per transaction, others use flat-rate pricing. The right question isn't "how much does it cost?" but "what's the cost of not having one?" when you factor in manual labor, error rates, and chargebacks. ### Can small businesses benefit from an OMS? Yes, especially if you're processing orders from multiple sources or trading with retailers that require EDI compliance. A small supplier shipping to Walmart, Target, and Costco needs to handle EDI 850 purchase orders, send 856 ASN ship notices, and transmit 810 invoices, all in the correct format. An OMS makes that manageable without hiring a dedicated EDI team. The key is finding a platform sized for your volume and budget. The tipping point usually hits between 15 and 30 orders per day, or when you start receiving orders from more than two channels. ### Is a cloud OMS secure enough for B2B order data? Yes, for most B2B companies. Reputable cloud OMS vendors use enterprise-grade infrastructure with SOC 2 Type II certification, data encryption in transit and at rest, and regular security audits. According to Gartner's research on cloud security, through 2025 99% of cloud security failures were the customer's fault (misconfigured access, weak passwords), not the provider's. ### How long does it take to implement an OMS? A typical implementation for a mid-market B2B operation takes 8 to 12 weeks. This includes discovery, ERP integration, channel configuration, parallel testing, and go-live. Operations with heavy EDI requirements should plan for 12 to 16 weeks. Companies migrating from on-premise to cloud should add 2 to 4 weeks for data migration. The most common cause of delays is ERP integration complexity and trading partner onboarding. --- # What Is Order Processing? Steps and Costs Source: https://ordersync.io/blog/what-is-order-processing > Learn what order processing is, the steps from order receipt to fulfillment, what it costs per order, and how automation cuts processing time by 80%. Order processing is the sequence of steps a business follows from receiving a customer order to delivering the product and collecting payment. In B2B operations it covers six stages: order receipt, validation, fulfillment, picking and packing, shipping, and invoicing. Modern systems automate most of these with AI document extraction and ERP integration. Every order your business receives has to travel from inbox to warehouse. That journey, from the moment a purchase order arrives to the moment it ships, is order processing. It sounds simple. In practice, it is where most B2B operations lose time, money, and accuracy. This guide breaks down exactly what order processing involves, the six steps that make up the workflow, what it costs per order, and how to cut your processing time dramatically. ## What Is Order Processing? **Order processing is the series of steps a business follows to receive, validate, enter, pick, pack, and ship a customer order.** It begins when an order arrives (via EDI, email, PDF, or portal) and ends when the shipment leaves the warehouse with a confirmed delivery. Order processing sits at the center of supply chain operations because it connects sales activity to physical fulfillment. The term covers every action between "customer wants to buy" and "product is on the truck." For B2B suppliers and distributors, this includes data entry into an ERP, inventory allocation, warehouse pick ticket generation, packing, shipping, and invoicing. Each step depends on the previous one being accurate and fast. When [order processing is manual](/blog/automated-order-processing), a single purchase order can take 15 to 30 minutes to move from receipt to ERP entry alone. When it is automated, that same order can be validated and synced in under a minute. ## The 6 Order Processing Steps Order processing follows a predictable flow, whether you handle 20 orders a day or 2,000. Here is what each step involves and where things tend to break down. ### 1. Order Receipt The order arrives. For B2B operations, this could be an [EDI 850 purchase order](/guides/edi/850-purchase-order), a PDF emailed from a buyer, a CSV export from a customer portal, or even a fax. The format depends on the customer, and most suppliers deal with [multiple formats simultaneously](/multi-format-orders). This step seems passive, but it creates problems when orders arrive through scattered channels. If your team checks email, a portal, an EDI inbox, and a shared drive just to collect incoming orders, things get missed. ### 2. Order Entry and Data Capture Someone (or something) reads the order and enters it into your ERP or [order management system](/blog/what-is-an-oms). In a manual process, this means a person opens the PDF, identifies the PO number, ship-to address, line items, quantities, and requested dates, then types all of it into the system field by field. This is the most labor-intensive step. According to [APQC's order management benchmarks](https://www.apqc.org/resource-library/resource-collection/sales-and-order-management-key-benchmarks), manual order entry takes 10 to 15 minutes per order on average. That is the step [AI order entry software](/blog/order-entry-software) automates. It is also where most data entry errors originate. ### 3. Order Validation Before the order moves to the warehouse, it needs to be checked. Validation confirms that: - Item numbers or SKUs match your product catalog - Quantities are within acceptable ranges - Pricing matches the customer's contracted rates - Ship-to addresses are valid and on file - Requested delivery dates are feasible Skipping validation (or doing it loosely) is how wrong-item shipments, pricing disputes, and [compliance chargebacks](/blog/purchase-order-automation) happen. Best-in-class operations catch errors here, not after the order ships. ### 4. Inventory Allocation and Pick Ticket Generation Once validated, the system allocates inventory to the order and generates pick tickets for the warehouse team. This step checks that the requested items are actually in stock, reserves them so another order does not claim the same units, and tells the warehouse exactly what to pull and where to find it. For companies managing [inventory across multiple locations](/blog/purchase-order-automation), this step also determines which warehouse fills the order based on stock levels, proximity to the customer, and shipping cost. ### 5. Picking, Packing, and Shipping The warehouse team picks the items, packs them according to customer-specific requirements (labels, packing slips, carton configurations), and hands them off to the carrier. For retail orders, this step often requires compliance with specific packaging standards, SSCC-18 barcodes, and carton-level ASN data. If you ship to major retailers, this step triggers an [EDI 856 ship notice](/guides/edi/856-ship-notice) back to the trading partner. Missing or late ASN transmission is one of the most common sources of retailer chargebacks. ### 6. Invoicing and Payment After shipment, an invoice goes to the customer. In EDI-based relationships, this is an [EDI 810 invoice](/guides/edi/810-invoice) that must match the original PO and the ship notice. The retailer runs a three-way match (PO vs. ASN vs. invoice), and discrepancies trigger deductions or payment delays. For non-EDI customers, invoicing may be manual or generated from the ERP. Either way, accuracy at every previous step determines whether you get paid on time and in full. ## Order Processing Costs: What You Are Actually Spending The cost of processing an order varies widely depending on how much of the workflow is manual. Here is a realistic breakdown for a mid-size B2B operation handling 100 to 300 orders per day. What industry benchmarks show on processing cost: - [APQC's order management benchmarks](https://www.apqc.org/resource-library/resource-collection/sales-and-order-management-key-benchmarks) peg manual order processing cost at $5 to $15 per order, while best-in-class automated operations drop below $2 - [Aberdeen Group research](https://www.aberdeen.com/) finds the average cost of a single order error ranges from $50 to $300 when you account for rework, re-shipment, customer credits, and relationship damage **Labor costs per order:** - Manual data entry: $4.50 to $8.00 per order (based on 12 minutes at $22 to $40/hour fully loaded) - Validation and exception handling: $1.50 to $3.00 per order - Warehouse processing: $2.00 to $5.00 per order - Invoicing and documentation: $0.75 to $1.50 per order **Error-related costs:** At a 2 to 4% manual error rate on 200 daily orders, that adds up to 4 to 8 costly mistakes every day. At a 2 to 4% manual error rate on 200 daily orders, that adds up to 4 to 8 costly mistakes every day. **Total cost per order (manual process):** $8.75 to $17.50, not including error costs. **Total cost per order (automated process):** $2.00 to $5.00, with error rates below 0.5%. The difference adds up fast. A company processing 200 orders per day saves $1,350 to $2,500 daily by automating the data entry and validation steps alone. Over a year, that is $340,000 to $625,000. ## Manual vs. Automated Order Processing | Factor | Manual Processing | Automated Processing | |--------|------------------|----------------------| | Time per order (entry) | 10 to 15 minutes | Under 1 minute | | Error rate | 2 to 4% | Under 0.5% | | Cost per order | $8.75 to $17.50 | $2.00 to $5.00 | | Formats handled | One at a time, per person | [All formats in one pipeline](/multi-format-orders) | | Scalability | Requires more headcount | Same system, higher volume | | Validation | Spot-checking | Every order, every field | | ERP sync | Manual re-keying | [Direct integration](/erp-integration) | | Audit trail | Inconsistent | Automatic, complete | **Bottom line:** Manual order processing works when you handle 20 orders per day. It breaks at 100. It becomes a serious liability at 300 or more. [Order processing automation](/order-processing-automation) removes the bottleneck without adding staff. For a complete view of how order processing fits into the broader revenue cycle, see our [order-to-cash process guide](/blog/order-to-cash-automation). ## Common Order Processing Bottlenecks Even teams that process orders "fast enough" usually have hidden bottlenecks dragging down their cycle time. Here are the five most common. **Multiple incoming formats**: Your largest retailer sends EDI 850s. Your second-largest emails PDFs. A regional chain uploads CSVs to a portal. Each format requires a different intake process, and your team context-switches between them all day. A [multi-format order processing](/multi-format-orders) system eliminates this by normalizing every order into a single pipeline. **Manual data entry**: The biggest time sink. Every minute spent typing data from a document into an ERP is a minute not spent on exception handling, customer communication, or process improvement. [Automated order entry](/blog/automated-order-processing) replaces this entirely. **Disconnected systems**: When your order intake system does not talk to your ERP, warehouse management system, or shipping platform, someone has to bridge the gap manually. That means exporting CSVs, copying data between screens, and reconciling discrepancies. [Direct ERP integration](/erp-integration) closes these gaps. **Late or missing validation.** Some teams only discover order errors when the warehouse flags a problem or (worse) when the customer calls about a wrong shipment. Moving validation upstream, so it happens during entry, catches errors before they create downstream work. **No visibility across channels.** If you cannot see all your orders in one place, regardless of how they arrived, you cannot prioritize, track exceptions, or identify patterns. This is what an [order management system](/blog/what-is-an-oms) solves. ## How to Speed Up Order Processing Here is where theory becomes practice. These are the highest-impact changes, ranked by how quickly they reduce your order cycle time. ### Automate Data Entry First This single change typically cuts order processing time by 60 to 80%. [AI-powered order automation](/ai-order-automation) reads incoming documents (PDFs, emails, spreadsheets) and extracts line-item data without templates or manual configuration. EDI orders parse automatically. The result: orders that took 12 minutes to key now take seconds to process. ### Connect Your ERP Directly Stop exporting and importing. A direct [ERP integration](/erp-integration) means validated orders flow straight into your system of record with no manual transfer step. This eliminates the re-keying that introduces errors and adds 5 to 10 minutes per order. ### Validate Every Order Automatically Set up rules that check every incoming order against your product catalog, customer pricing agreements, and inventory levels. Automated validation flags exceptions instantly instead of letting errors slip through to the warehouse. Teams using automated validation see their error rates drop from 3% to under 0.5%. ### Centralize All Order Channels Route every order (EDI, PDF, email, portal) into a [single processing pipeline](/order-processing-automation). Your team stops switching between systems and starts working from one queue, sorted by priority and exception status. This alone saves 30 to 45 minutes per person per day in context-switching overhead. ### Track Metrics and Find Patterns Measure order cycle time, error rate by customer, and exceptions by type. Without data, you are guessing at where the slowdowns live. With it, you can target the specific customers, formats, or products that cause the most rework. If your operation handles EDI transactions as part of order processing, the [free EDI Inspector](/edi-inspector) can help you parse and validate EDI files to catch formatting issues before they cause processing errors. ## Frequently Asked Questions ### What is order processing in simple terms? Order processing is everything that happens between a customer placing an order and that order shipping from your warehouse. It includes receiving the order, entering it into your system, checking it for accuracy, picking and packing the items, and generating shipping documents and invoices. The goal is to get the right product to the right customer as fast and accurately as possible. ### What are the main order processing steps? The six main steps are: order receipt, data entry and capture, validation, inventory allocation and pick ticket generation, picking/packing/shipping, and invoicing. Each step feeds into the next. Errors or delays at any point cascade downstream, slowing fulfillment and increasing costs. ### How much does it cost to process an order manually? Manual order processing typically costs $8.75 to $17.50 per order when you include labor for data entry, validation, warehouse handling, and invoicing. That does not count error-related costs, which average $50 to $300 per incident for rework, re-shipment, and customer credits. Automated processing brings the per-order cost down to $2.00 to $5.00. ### How long does order processing take? Manual order processing takes 10 to 15 minutes per order just for the data entry step. The full cycle from receipt to shipment can take 4 to 24 hours depending on warehouse operations. [Automated order processing](/order-processing-automation) reduces the data entry portion to under one minute, cutting the overall cycle time by 60 to 80%. ### What is the difference between order processing and order fulfillment? Order processing covers the full workflow from order receipt through invoicing. Order fulfillment specifically refers to the physical steps: picking items from inventory, packing them, and shipping them to the customer. Fulfillment is one stage within the broader order processing cycle. Both terms are sometimes used interchangeably, but processing is the wider category that includes data entry, validation, and invoicing alongside the physical fulfillment work. --- # Wholesale Distribution Software: Buyer's Guide Source: https://ordersync.io/blog/wholesale-distribution-software > What wholesale distribution software does, which features matter most, and how to evaluate platforms for order management, EDI, and ERP integration. Wholesale distribution software manages order receipt, inventory allocation, and fulfillment for B2B distributors. It connects purchasing, warehouse, and sales functions. Key requirements: EDI support for retail buyers, ERP integration, multi-location inventory, and customer-tier pricing rules. Most platforms are strongest on one of those four—know which matters most before you evaluate. > **Wholesale distribution software** is a category of tools that helps distributors manage the full order-to-fulfillment cycle: receiving purchase orders, managing inventory, processing shipments, handling EDI compliance, and syncing data with ERP and accounting systems. The goal is to replace fragmented manual workflows with a single system that gives you visibility across every order, regardless of how it arrived. If you run operations at a wholesale distribution company, you already know what happens without the right software. Orders come in by email, fax, phone, EDI, and sometimes a handwritten note from a sales rep. Someone re-keys each one into your ERP. Inventory counts drift. Fulfillment errors cost you money and customer trust. Distribution management software exists to fix that. But the category is broad, the vendors all sound the same in their marketing, and the wrong choice can lock you into a platform that doesn't match how your business actually works. This guide breaks down what to look for, what to skip, and where OrderSync fits for distributors who need order automation without a two-year implementation timeline. ## What Wholesale Distribution Software Actually Covers The term "wholesale distribution software" gets thrown around loosely. Some vendors mean a full ERP. Others mean a warehouse management system with a few extras bolted on. Here's what the core functional areas actually are. ### Order Management This is the starting point. Distribution order management covers receiving purchase orders from customers, validating them against your product catalog and pricing, acknowledging them, and routing them to fulfillment. For most distributors, this is where the pain is worst, because orders arrive in multiple formats and each one requires manual handling. A strong [order management system](/order-management-systems) for distribution should handle EDI 850 purchase orders alongside PDF, email, and CSV orders without requiring separate workflows for each. ### Inventory Management Knowing what you have, where it is, and what's committed. Basic inventory management tracks on-hand quantities across warehouses. More advanced systems handle lot tracking, expiration dates, bin-level locations, and reorder points. For wholesale distributors, the critical piece is keeping inventory data in sync with incoming orders and outgoing shipments. If your order management and inventory systems don't talk to each other in real time, you end up overselling or holding safety stock that ties up cash. ### EDI and Electronic Trading If you sell to major retailers, grocery chains, or large B2B buyers, EDI is non-negotiable. You need to receive [EDI 850 purchase orders](/guides/edi/850-purchase-order), send back acknowledgments, generate [EDI 856 ship notices](/guides/edi/856-ship-notice), and submit EDI 810 invoices. According to the [GS1 US standards organization](https://www.gs1us.org/upcs-barcodes-prefixes/how-to-use-your-upc-barcodes/share-information-electronically), over 75% of Fortune 500 companies require their suppliers to exchange documents via EDI. The question isn't whether you need EDI. It's whether your distribution software handles it natively or forces you to bolt on a separate EDI provider with its own fees, its own portal, and its own support queue. ### Warehouse Operations Pick, pack, and ship. Wholesale distribution software may include warehouse management features like pick list generation, packing slip printing, barcode scanning, and carrier integration. Some companies need a full WMS. Others just need basic pick-and-pack workflows that tie back to their order and inventory data. The key distinction: a warehouse management system is not the same as distribution software. WMS focuses on physical operations inside the four walls of your warehouse. Distribution software covers the end-to-end flow, starting with the order itself. Some platforms bundle both. Others expect you to bring your own WMS and just handle the order layer. For distributors with a single warehouse and straightforward pick-pack-ship workflows, a lightweight WMS or even your ERP's built-in shipping module is usually enough. The place where you lose time and money is upstream: getting the order into the system accurately in the first place. ### ERP and Accounting Integration Distribution software that doesn't sync with your ERP or accounting system creates a data island. Orders processed in one system still need to be re-entered into QuickBooks, NetSuite, SAP, or whatever you run for financials. That means double entry, reconciliation headaches, and errors. The best distribution management software either includes ERP functionality or connects directly to your existing system through a native [ERP integration](/erp-integration). ## Signs You've Outgrown Your Current Setup Most wholesale distributors don't start with purpose-built distribution software. They start with QuickBooks, a spreadsheet for tracking orders, and a lot of manual effort. That works up to a point. Here are the signals that you've hit the wall: - **You process more than 50 orders per day across multiple formats.** Email orders, fax orders, EDI transactions, and portal orders all flowing into the same team. Each one handled differently. Each one a chance for error. - **Order entry errors are costing you money.** Wrong quantities, wrong SKUs, wrong pricing. Each mistake leads to short shipments, returns, credit memos, or chargebacks. According to [Aberdeen Group research](https://www.aberdeen.com/), manual order entry has an average error rate of 1-3%, which compounds fast at wholesale volumes. - **You can't answer basic questions without digging.** What's the status of PO #4821? How many units of SKU X are available to promise? Which orders ship today? If answering these requires opening four systems, you have a visibility problem. - **Your team spends more time on data entry than on customer relationships.** When your best people are stuck re-keying orders instead of solving problems, you're misallocating your most expensive resource. - **A major customer is asking for EDI and you don't know where to start.** The first EDI mandate from a large buyer is often the trigger that pushes distributors toward real distribution software. If that's your situation, start with our [essential guide to EDI](/blog/essential-guide-to-edi) for context on what's involved. - **Seasonal spikes overwhelm your current process.** If your team can barely keep up during normal months, a 2x or 3x volume spike during peak season means late shipments, unhappy customers, and overtime costs that eat into your margins. ## The Real Cost of Manual Order Processing Before evaluating wholesale distribution software, it helps to quantify what the current manual process actually costs. Most distributors underestimate this because the expenses are spread across labor, errors, and opportunity costs. **Labor cost per order**: A typical order entry clerk processes 8-12 orders per hour when handling mixed formats. At $20/hour fully loaded, that's $1.65 to $2.50 per order just for the keystroke work. At 200 orders per day, you're spending $330 to $500 daily on data entry alone. [AI order entry software](/blog/order-entry-software) removes most of that keystroke work. **Error cost**: That 1-3% error rate from Aberdeen's research translates to 2-6 wrong orders per day at 200 orders. Each error triggers a cascade: customer service call, corrective shipment, credit memo, potential chargeback. The fully loaded cost of resolving a single order error typically runs $50-$150 when you factor in labor, shipping, and inventory adjustments. **Opportunity cost**: This is the hardest to measure but often the largest. Every hour your team spends keying in orders is an hour they're not spending on customer outreach, negotiating better carrier rates, or resolving the exceptions that actually need human judgment. When you stack these up, most distributors find they're spending $15,000 to $40,000 per month on manual order processing. That's the budget line that wholesale distribution software needs to beat. ## Key Evaluation Criteria Not all wholesale distribution software is built for the same kind of distributor. Here's how to evaluate platforms against your actual needs. | Criteria | What to Ask | Why It Matters | |---|---|---| | **Multi-format order intake** | Can the system receive orders via EDI, email, PDF, CSV, and fax? | Distributors rarely get all orders in one format. A system that only handles EDI leaves gaps. | | **Order validation** | Does it check SKUs, pricing, and quantities before syncing to your ERP? | Catching errors before fulfillment is 10x cheaper than fixing them after shipment. | | **EDI support** | Does it handle 850, 856, 810, and 997 transactions natively? | If EDI requires a separate vendor, you're paying twice and managing two systems. | | **ERP connectivity** | Does it offer direct integration with your ERP (not just CSV export)? | CSV exports are a manual step that defeats the purpose of automation. | | **Implementation timeline** | Can you go live in weeks, not months? | A 6-month implementation means 6 more months of manual errors. | | **Pricing model** | Is it per-transaction, per-user, or flat monthly? | Per-transaction pricing punishes growth. Know the math at 2x and 5x your current volume. | | **Scalability without complexity** | Can you add trading partners and order sources without a project? | Your business will change. The software should adapt without a consultant. | ## Types of Distribution Software Wholesale distribution software falls into a few categories, each with different strengths and trade-offs. ### Full ERP Suites Platforms like SAP Business One, Oracle NetSuite, and Microsoft Dynamics 365 include distribution modules as part of a broader ERP. They cover financials, inventory, purchasing, and order management in one system. **Best for:** Mid-market to large distributors who want a single platform for everything and have the IT resources to implement and maintain it. **Watch out for:** Long implementation timelines (6-18 months is typical), high total cost of ownership, and the risk of over-buying. If your primary pain is order processing, you don't necessarily need a full ERP overhaul to solve it. ### Standalone Distribution Management Software Tools like Acumatica Distribution Edition, Infor Distribution, and [Epicor](/integrations/epicor) Prophet 21 are built specifically for wholesale distributors. They understand distribution workflows like drop shipping, blanket orders, and multi-warehouse allocation. **Best for:** Distributors who need deep distribution-specific functionality and are willing to invest in a purpose-built platform. **Watch out for:** These are still large software projects. Expect professional services fees, customization costs, and a learning curve. And many of them handle EDI through third-party add-ons rather than natively. ### Order Automation Platforms A newer approach that focuses specifically on the order intake and processing problem. Instead of replacing your entire tech stack, these platforms sit in front of your ERP and handle the messy work of receiving orders in any format, validating them, and syncing clean data downstream. **Best for:** Distributors whose biggest pain is multi-format order processing, manual data entry, and the errors that come with both. This is the category OrderSync operates in. **Watch out for:** These platforms aren't full ERPs. If you need warehouse management, route planning, or demand forecasting, you'll still need additional tools. But if order processing is your bottleneck, solving that first often delivers the fastest ROI. ### How These Categories Compare | | Full ERP | Standalone Distribution | Order Automation | |---|---|---|---| | **Implementation** | 6-18 months | 2-4 months | Days to weeks | | **Monthly cost** | $1,000-$5,000+ | $500-$2,000 | $200-$800 | | **Multi-format orders** | Limited | Varies | Core strength | | **EDI** | Add-on or third-party | Add-on or built-in | Built-in | | **ERP integration** | Is the ERP | Requires setup | Direct sync | | **Best for** | Full system replacement | Deep distribution needs | Solving order intake fast | The right choice depends on where your biggest pain is. If you need to replace your entire back-office system, an ERP makes sense. If you need distribution-specific workflows like blanket orders and multi-warehouse routing, a standalone platform might be the fit. If your primary problem is getting orders into your system accurately and quickly, an order automation platform gives you the fastest path to results. ## Where OrderSync Fits for Wholesale Distributors OrderSync solves a specific problem that most wholesale distributors deal with every day: orders arriving in too many formats, requiring too much manual handling, and causing too many errors before they reach your ERP. Here's what that looks like in practice for a typical wholesale distributor exploring [EDI for wholesale distribution](/edi-for/wholesale-distribution): **Multi-format order intake without separate workflows.** Your large retail customers send EDI 850s. Regional accounts email PDF purchase orders. Smaller buyers send spreadsheets or call in orders. OrderSync processes all of these through a single pipeline. No format-specific tools. No middleware. Learn more about [multi-format order processing](/multi-format-orders). **AI-powered extraction that actually works.** OrderSync uses [AI-powered order automation](/ai-order-automation) to read and extract line items from PDF purchase orders, email bodies, and spreadsheet attachments. No templates to configure per customer. No brittle rules that break when a customer changes their PO layout. **Validation before your ERP sees it.** Every order gets checked against your product catalog, customer-specific pricing, and quantity rules before syncing. Errors get flagged in an exception dashboard where your team can resolve them in seconds instead of discovering them at the warehouse dock. **Direct ERP sync.** Orders flow from OrderSync into your ERP automatically. No CSV exports, no manual re-entry. This works with systems like QuickBooks, NetSuite, and others through [direct ERP integration](/erp-integration). **EDI without the legacy overhead.** OrderSync handles EDI transactions natively. Receive 850s, send 997 functional acknowledgments, generate 856 ASNs and 810 invoices. No separate VAN contracts. No per-transaction EDI fees. The result: your team stops spending hours on data entry and starts spending time on the work that actually grows the business. You process more orders with fewer people and fewer errors. The result: your team stops spending hours on data entry and starts spending time on the work that actually grows the business. You process more orders with fewer people and fewer errors. ## Common Mistakes When Choosing Distribution Software After watching distributors evaluate and implement software for years, a few mistakes come up repeatedly. **Buying for features you won't use.** A platform with 200 features sounds impressive in a demo. But if you only need 15 of them, the other 185 are complexity you're paying for and navigating around. Start with the problem, not the feature list. **Ignoring the format problem.** Many distributors evaluate software by testing it with EDI orders only, or PDF orders only. Then they go live and discover that the platform can't handle the other formats their customers actually send. Test with your full mix of order types before committing. **Underestimating implementation effort.** "We'll be live in 6 weeks" turns into 6 months when you factor in data migration, training, trading partner setup, and the inevitable customizations. Ask for references from companies your size, not the vendor's largest customer. **Choosing based on the sales demo instead of your data.** Every software demo looks great with the vendor's sample data. Run your own orders through the system during the trial. Send a messy PDF with handwritten notes. Upload a CSV with inconsistent formatting. That's the real test. Ready to see how OrderSync works with your order flow? [Book a free intro call](/book) and we'll walk through your specific setup. ## Frequently Asked Questions ### What is wholesale distribution software? **Wholesale distribution software is a category of tools that helps distributors manage order processing, inventory, warehouse operations, EDI compliance, and ERP integration.** The goal is to centralize the order-to-fulfillment workflow so that orders from every channel (EDI, email, PDF, phone) flow through a single system with full visibility and validation. Some platforms cover the entire distribution operation; others focus on specific pain points like [automated order processing](/order-processing-automation). ### How is distribution management software different from an ERP? An ERP covers a wide range of business functions: accounting, HR, procurement, manufacturing, and more. Distribution management software focuses specifically on the workflows that matter to wholesale distributors: order intake, inventory allocation, fulfillment, and trading partner communication. Many distributors use both. The distribution software handles order processing and syncs clean data into the ERP for financials and reporting. Think of distribution software as the front end that deals with customers, orders, and trading partners, while the ERP manages the back-office accounting and resource planning. ### Do wholesale distributors need EDI capability? If any of your customers are large retailers, grocery chains, or enterprise B2B buyers, the answer is almost certainly yes. EDI is the standard for electronic document exchange in wholesale distribution, and most large buyers won't work with suppliers who can't support it. Even if your current customer base doesn't require EDI today, building that capability now avoids a painful scramble when a major account mandates it. You can explore what EDI looks like with our [free EDI Inspector](/edi-inspector). ### What does wholesale distribution software typically cost? Costs range widely depending on the category. Full ERP suites with distribution modules run $1,000 to $5,000+ per month, plus implementation fees that can reach six figures. Standalone distribution platforms fall in the $500 to $2,000/month range. Order automation platforms like OrderSync are typically $200 to $800/month with faster time to value. The real cost comparison should include implementation time, training, and the ongoing cost of manual workarounds if the system doesn't solve your actual problems. A cheaper platform that doesn't handle your order formats costs more in the long run than a pricier one that eliminates manual entry on day one. ### How long does it take to implement distribution software? Full ERP implementations take 6 to 18 months on average. Standalone distribution platforms typically need 2 to 4 months. Order automation platforms can go live in days to weeks because they don't require replacing your existing systems. They sit in front of your ERP and handle the order intake layer, which means you get value immediately while planning longer-term system upgrades on your own timeline. For a broader look at choosing the right approach, see our [B2B order automation software guide](/blog/automated-order-processing). --- # What Is EDI? The Essential Guide for B2B Source: https://ordersync.io/blog/essential-guide-to-edi > What EDI is, how it works, common transaction types, costs, and how to implement it. The complete guide to Electronic Data Interchange. EDI (Electronic Data Interchange) is the standardized method retailers require to exchange purchase orders, invoices, and ship notices electronically without manual re-keying. It uses structured formats like X12 and EDIFACT so both systems read the same data the same way. If you sell to Walmart, Target, Costco, or most major grocery chains, EDI compliance is mandatory. If you are a supplier, distributor, or manufacturer selling to retailers, you have probably heard "you need EDI" at some point. Maybe a buyer at Walmart or Target told you it is mandatory. Maybe your largest customer just sent you a document full of cryptic codes and segment delimiters. Either way, you are here because EDI matters to your business and you want to understand it without drowning in jargon. This guide covers everything: what EDI is, why it exists, how it works, which transaction types you will encounter, what it costs, how small businesses can approach it, and a phase-by-phase implementation timeline. Think of it as the single reference you come back to as your EDI needs grow. ## What Is EDI? **EDI (Electronic Data Interchange) is a standardized method for businesses to exchange documents electronically: purchase orders, invoices, shipping notices, inventory updates, and more.** Instead of emailing a PDF or faxing a paper form, EDI transmits structured, machine-readable data between two systems automatically. The key word is **standardized**. Unlike an email that a human reads, an EDI document follows a rigid format that both the sender's and receiver's systems agree on. A purchase order from Walmart looks structurally the same as one from Target or Kroger -- the data is in the same places, labeled the same way -- so your system can process it without human intervention. ### Why Does EDI Exist? EDI has been around since the 1970s, originally developed to speed up supply chain operations in transportation and retail. Today, [B2B e-commerce transactions represent trillions of dollars annually](https://www.census.gov/retail/mrts/www/data/pdf/ec_current.pdf), with EDI handling the vast majority of that volume. The problem it solved then is the same one it solves now: manual data entry is slow, expensive, and error-prone. When a retailer sends hundreds of purchase orders a day to hundreds of suppliers, and each supplier keys those orders into their own system by hand, errors pile up. Wrong quantities, wrong addresses, mistyped SKUs. EDI eliminates that by letting computers talk directly to computers in a language both sides understand. ### The X12 Standard In North America, most EDI follows the **ANSI X12** standard, maintained by the [Accredited Standards Committee (ASC)](https://x12.org). X12 defines hundreds of "transaction sets" -- document types, each identified by a three-digit number. The ones you encounter in commerce are a small subset, covered below. Outside North America, **[EDIFACT](/guides/edi/edifact)** (maintained by the UN) is the dominant standard, particularly in Europe. Both standards facilitate the [global supply chain data exchange](https://www.gs1.org/standards/edi) that underpins modern commerce. The concepts are the same -- only the formatting rules differ. ## How EDI Works At a high level, EDI follows this flow: 1. **A business event happens** -- a retailer places an order, a supplier ships goods, an invoice is due 2. **The sender's system generates an EDI document** -- structured according to the agreed-upon format 3. **The document is transmitted** -- via AS2, SFTP, or a Value-Added Network (VAN) 4. **The receiver's system parses the document** -- extracting the data into their ERP, OMS, or other system 5. **An acknowledgment is sent back** -- confirming the document was received and is valid No humans need to touch the data at any step. That is the point. ### Transmission Methods **[AS2 (Applicability Statement 2)](/blog/as2-edi-connection)** is the most common method for large retailers. It is a direct, encrypted, point-to-point connection between two systems. Walmart, Target, and Amazon all support AS2. No middleman, no per-transaction fees. **VAN (Value-Added Network)** is a third-party network that acts as a postal service for EDI documents. You send your documents to the VAN, and the VAN routes them to the right trading partner. VANs charge monthly fees plus per-transaction costs, but they simplify managing connections with many partners. For a deeper look at how VANs work, see our guide on [EDI VANs explained](/blog/edi-van-explained). **SFTP (Secure File Transfer Protocol)** is a simpler approach where EDI files are uploaded/downloaded from a secure server. Less common for major retailers but still used by some mid-market trading partners. ### ISA/GS Envelope Structure Every EDI transmission is wrapped in an envelope structure. The ISA (Interchange Control Header) identifies the sender, receiver, and control numbers. The GS (Functional Group Header) groups related transaction sets. Inside those envelopes sit the actual documents -- the 850s, 856s, and 810s. Understanding this structure matters during implementation because each retailer has specific requirements for qualifier codes, sender/receiver IDs, and control number sequencing. ## The EDI Transaction Types That Matter in Commerce You do not need to memorize all 300+ X12 transaction sets. In B2B commerce, the following are the ones that drive your day-to-day operations. ### The Order-to-Cash Cycle These five transaction types form the backbone of every retail supply chain relationship: | Transaction | Name | Direction | What It Does | | ----------- | ------------------------- | ------------------- | ---------------------------------------------------------------------------------------- | | **850** | Purchase Order | Retailer to Supplier | The order itself -- what the retailer wants to buy, quantities, prices, ship-to addresses | | **855** | PO Acknowledgment | Supplier to Retailer | Confirms the supplier received the PO and can (or cannot) fulfill it | | **856** | Advance Ship Notice (ASN) | Supplier to Retailer | Tells the retailer exactly what was shipped, how it is packed, and when to expect it | | **810** | Invoice | Supplier to Retailer | The bill -- must match the PO and ASN for payment to process | | **820** | Payment Order/Remittance | Retailer to Supplier | Payment details and remittance advice | If you are just getting started with EDI, these are the transactions you will implement first. Most retailers require at least the 850, 856, and 810 before you can go live. **Deep dives:** [What is EDI 850?](/guides/edi/850-purchase-order) | [What is EDI 856?](/guides/edi/856-ship-notice) | [What is EDI 810?](/guides/edi/810-invoice) ### Acknowledgments | Transaction | Name | Direction | What It Does | | ----------- | ------------------------- | ---------------- | ------------------------------------------------------------------------------------------- | | **997** | Functional Acknowledgment | Either direction | Confirms that an EDI document was received and is syntactically valid -- like a read receipt | The 997 is simple but critical. Most retailers track how quickly you send 997 acknowledgments and penalize slow responses. Walmart, for example, expects a 997 within 24 hours of receiving any EDI document. Many retailers expect them within minutes. ### Inventory and Catalog | Transaction | Name | Direction | What It Does | | ----------- | ------------------------ | ------------------- | --------------------------------------------------------------------------------- | | **846** | Inventory Inquiry/Advice | Either direction | Shares current inventory levels so partners can plan ordering and avoid stockouts | | **832** | Price/Sales Catalog | Supplier to Retailer | Product catalog with pricing, pack sizes, and item details | These become important as your trading relationships mature. Retailers increasingly want real-time or daily inventory feeds (846) so their replenishment systems can order proactively rather than reactively. **Deep dive:** [What is EDI 846?](/guides/edi/846-inventory-inquiry) ### Warehouse and Logistics | Transaction | Name | Direction | What It Does | | ----------- | ------------------------- | ------------------- | --------------------------------------------------- | | **940** | Warehouse Shipping Order | Company to Warehouse | Tells a 3PL or warehouse to ship specific inventory | | **945** | Warehouse Shipping Advice | Warehouse to Company | Confirms what the warehouse actually shipped | | **204** | Motor Carrier Load Tender | Shipper to Carrier | Books a freight shipment | | **214** | Shipment Status | Carrier to Shipper | Tracking updates from the carrier | You will encounter these if you work with third-party logistics providers (3PLs) or manage your own freight operations. ### Returns and Adjustments | Transaction | Name | Direction | What It Does | | ----------- | ----------------------- | ------------------- | ----------------------------------------------------------------------------------- | | **860** | PO Change Request | Retailer to Supplier | Modifies an existing purchase order (quantity changes, date changes, cancellations) | | **812** | Credit/Debit Adjustment | Either direction | Post-invoice corrections -- credits, debits, allowances | ## When Will You Encounter EDI? Most companies encounter EDI for the first time in one of these scenarios: **1. A major retailer requires it.** Walmart, Target, Kroger, Home Depot, Costco, and Amazon Vendor Central all mandate EDI. If you want shelf space, you need EDI capability. This is the most common trigger. **2. Your order volume outgrows manual processing.** Even without a retailer mandate, once you process 10+ purchase orders a day across multiple customers, manual entry becomes a bottleneck. EDI (or EDI-like automation) eliminates that bottleneck. But not every order arrives as EDI -- for everything else, see our guide on [processing orders that arrive outside of EDI](/multi-format-orders). **3. A distributor or wholesale partner requests it.** Large [distributors across the country](/edi-distributors) require EDI from their suppliers, even if they are not retail giants. It is how they keep their warehouses running efficiently. **4. You are expanding into new sales channels.** Moving from D2C into wholesale, or from regional to national distribution, often means adding EDI capability. ## EDI for Small Business: What You Need to Know You just landed a deal with a major retailer. Then procurement sends the vendor onboarding packet, and buried on page three: "All suppliers must be EDI-capable within 90 days." Your team is five people. Your ERP is QuickBooks or a small Acumatica instance. And you are wondering whether EDI is going to eat your entire margin before you ship a single case. The reality: EDI for small business is achievable without a seven-figure IT budget or a dedicated integration team. Thousands of small suppliers trade electronically with Walmart, Target, Kroger, and Amazon every day. ### Debunking Common Myths **"EDI costs $50,000+ to implement."** Traditional EDI through a legacy VAN provider with on-premise translation software could cost $30,000-$75,000 upfront, plus $1,000-$3,000 per month. That model still exists for large enterprises with thousands of trading partners. But modern cloud-based platforms have dropped the entry cost to $200-$1,500 per month for small businesses, with no multi-month implementation timelines. **"You need a dedicated IT team."** Legacy EDI required someone who understood X12 segment syntax, ISA/GS envelope structures, and AS2 certificate configuration. Today's platforms abstract that complexity. You configure trading partners through a web interface, the platform handles translation and compliance, and you focus on filling orders. **"Small order volume makes EDI not worth it."** Even at 20-50 orders per month from a single retailer, the math favors EDI. Manual order entry takes 5-15 minutes per order, and error rates run 2-5%. A single short shipment or wrong item can trigger a chargeback of $500 or more. Over a year, even modest volume adds up. **"My retailer will make an exception."** They will not. Walmart's vendor onboarding requires EDI compliance. Target's does too. Some retailers offer a web-based EDI portal as a temporary bridge, but those portals still require manual data entry and most retailers expect you to move to automated EDI within 6-12 months. ### The Real Cost: Traditional vs. Modern Here is how the numbers break down for a small business with 1-3 retail trading partners and 100-500 orders per month. **Traditional EDI Setup (Legacy VAN + Translation Software)** | Cost Category | Typical Range | |---|---| | Translation software license | $5,000-$25,000 upfront | | VAN setup and onboarding | $1,000-$5,000 per partner | | Monthly VAN subscription | $300-$800/month | | Per-transaction fees (kilo-character) | $0.05-$0.25 per KC | | Mapping/consultant services | $2,000-$10,000 per partner | | Annual maintenance | $3,000-$8,000 | | **Year 1 total (estimated)** | **$15,000-$50,000+** | These numbers reflect pricing from providers like OpenText, IBM Sterling, and traditional VAN networks. The [Accredited Standards Committee X12](https://x12.org/) maintains the EDI standards, and the ecosystem around those standards has historically been enterprise-focused. **Modern Cloud EDI / Order Automation Platform** | Cost Category | Typical Range | |---|---| | Setup/onboarding | $0-$2,000 | | Monthly subscription | $200-$1,500/month | | Per-transaction fees | $0-$0.10 (many platforms include) | | Trading partner onboarding | Included or $200-$500 per partner | | Mapping/configuration | Self-serve or included | | **Year 1 total (estimated)** | **$2,400-$20,000** | A small supplier spending $5,000-$15,000 per year on a modern platform gets the same EDI compliance capabilities that used to require $40,000+ in year one alone. ### Three Approaches for Small Businesses **Approach 1: Value-Added Networks (VANs)**: A VAN acts as a mailbox service. You send your EDI documents to the VAN; they route them to the correct trading partner. Providers like SPS Commerce, TrueCommerce, and Cleo operate this model. Monthly fees plus per-transaction costs. Best for small businesses with 2-5 retail partners and moderate volume, but watch the per-transaction costs -- they become prohibitive once you scale past a few hundred orders per month. **Approach 2: Direct EDI Connections (AS2/SFTP)**: Some retailers support direct connections. AS2 provides encrypted, point-to-point exchange. No per-transaction fees once live. More technical setup. Best when eliminating per-transaction fees justifies the effort. [Target EDI requirements](/edi-compliance/target) and [Walmart EDI requirements](/edi-compliance/walmart) outline what each retailer expects for direct connections. **Approach 3: EDI-as-a-Service / Order Automation Platforms**: These handle EDI parsing, validation, and routing alongside other order formats like PDF, CSV, and email. Flat or predictable pricing. Faster onboarding. Best when EDI is one of several order channels, not the only one. OrderSync follows this model, processing EDI alongside PDFs, CSVs, and email orders through [AI-powered extraction](/ai-order-automation) in a single pipeline. ## EDI Implementation: Phase by Phase Whether you are connecting to your first retailer or your tenth, EDI implementation follows well-defined phases. The suppliers who execute smoothly share a few traits: they read the spec thoroughly, plan testing time generously, involve operations early, and build validation into every step. ### Phase 1: Planning and Requirements (Weeks 1-3) **Gather trading partner requirements.** Before evaluating any platform, get the specifics from your retailer: - Required transaction types (typically 850, 810, 856, 997 at minimum) - Transmission method (AS2, SFTP, or VAN) - The retailer's EDI implementation guide (their spec document for each transaction) - Testing requirements (how many test cycles, who certifies you) - Go-live deadline Most retailers publish this in their vendor onboarding portal. Walmart uses Retail Link, Target uses Partners Online, Kroger has their own supplier portal. **Assess your current systems.** Can your ERP handle EDI natively? Many mid-market systems (NetSuite, SAP Business One, Acumatica) have EDI modules, but they often require heavy customization. Key questions: - Where do orders currently enter your system? - Can your ERP export the data needed for outbound 856 and 810 documents? - Do you have unique product identifiers (UPC, GTIN) registered with [GS1](https://www.gs1.org/)? - What is your IT team's bandwidth for a 2-4 month project? **Define your project team.** EDI implementation is not a one-person job. You need a project lead, an IT/integration resource, an operations stakeholder to validate warehouse workflows, a finance contact for invoice mapping, and a warehouse lead to confirm ASN data (carton counts, weights, SSCC-18 labels) can be captured at ship time. ### Phase 2: Connection and Setup (Weeks 2-4) **Obtain and read the retailer's spec documents.** Every retailer provides an EDI implementation guide defining segment usage, qualifier codes, ISA/GS envelope requirements, and connection details. Read the entire spec before writing a single line of mapping. The [X12 standards body](https://x12.org/) publishes the base transaction set definitions, but every retailer customizes them. The retailer's guide is your source of truth. **Establish the technical connection.** For AS2, you exchange digital certificates, configure software (Mendelson, OpenAS2, or commercial tools), and complete connectivity tests. For SFTP, the retailer provides host, credentials, and folder structure. For VAN, you enroll, configure your mailbox, and test routing. **Set up separate test and production environments.** Test with retailer-provided sample documents before touching live data. ### Phase 3: Mapping and Translation (Weeks 3-6) Mapping defines how each segment and element in an EDI document translates to and from fields in your ERP. A solid [ERP integration](/erp-integration) makes this process smoother. **Map inbound documents.** The most common is the [EDI 850 purchase order](/guides/edi/850-purchase-order). Your mapping defines how segments map to ERP fields: PO number, line items, quantities, unit prices, ship-to addresses, delivery dates, and product identifiers. Retailers have variations -- Walmart uses their own internal item numbers alongside UPCs, Target requires DPCI codes, Amazon uses ASINs. **Map outbound documents.** You will need: - **EDI 997:** [Functional acknowledgment](/guides/edi/997-functional-acknowledgment) confirming receipt. Must go out fast -- most retailers expect it within minutes. - **EDI 855:** [PO acknowledgment](/guides/edi/855-purchase-order-acknowledgment). Some retailers require it; others consider it optional. - **EDI 856:** [Advance ship notice](/guides/edi/856-ship-notice) with shipment details, carton-level data, tracking numbers, and SSCC-18 barcodes where required. - **EDI 810:** [Invoice](/guides/edi/810-invoice) for payment processing. Must match the PO and ASN for three-way matching. **Build validation rules.** Check required segments and elements, qualifier codes, quantity and price ranges, product identifier existence, and date formats (CCYYMMDD vs. YYMMDD varies by partner). A tool like our [free EDI Inspector](/edi-inspector) can help you parse and validate EDI files during development. ### Phase 4: Testing and Certification (Weeks 5-10) Testing is where timelines slip most often. According to the [Drummond Group](https://www.drummondgroup.com/services/as2-testing-and-certification/), a leading EDI certification body, underestimating testing timelines is the single most common cause of implementation delays. **Unit testing (internal).** Before involving the retailer, parse sample inbound 850s and verify they populate your ERP correctly. Generate outbound 997s, 856s, and 810s from test orders and validate against the spec. Test error scenarios: missing fields, invalid product IDs, duplicate PO numbers. **Integration testing with the retailer.** You send test documents to the retailer's test environment. Their EDI team validates against their spec. They return feedback -- pass, fail, or pass with warnings. You fix issues and resubmit. Once all transaction types pass, the retailer certifies you for production. **Certification timelines by retailer:** - **Walmart:** Automatic validation, but the queue can be long. Plan 3-4 weeks minimum. - **Target:** Thorough on ASN data -- carton-level detail with SSCC-18 is mandatory. Budget 2-3 weeks. - **Amazon:** Uses Vendor Central EDI testing flow with specific routing and label formats. Plan 2-4 weeks. **Common testing mistakes to avoid:** - Using placeholder data instead of real product IDs and warehouse locations - Ignoring the 997 (late or missing acknowledgments trigger compliance alerts) - Skipping edge cases (unknown items, new addresses, PO amendments) - Testing EDI formatting without testing the full end-to-end flow through your ERP ### Phase 5: Go-Live and Optimization (Ongoing) **Soft launch.** Go live with a subset of orders or one distribution center. Monitor the first 50-100 orders for control number conflicts, timing mismatches, and product ID issues. **Monitor and maintain.** Set up alerts for failed transmissions, validation errors, and late acknowledgments. Track compliance metrics: on-time 997s, ASN accuracy, invoice match rates. Stay current on retailer spec changes -- major retailers update requirements at least annually. **Optimize.** Automate exception handling for common issues. Reduce acknowledgment latency from batch to near-real-time. Expand transaction coverage to [846 inventory advice](/guides/edi/846-inventory-inquiry), [860 PO changes](/guides/edi/860-purchase-order-change), or [824 application advice](/guides/edi/824-application-advice) as partners require them. ## Implementation Timeline by Company Size | Company Size | IT Resources | First Partner | Each Additional Partner | | --- | --- | --- | --- | | Small (under 100 employees) | Limited or outsourced | 12-16 weeks | 3-5 weeks | | Mid-market (100-500 employees) | 1-2 dedicated staff | 8-12 weeks | 2-4 weeks | | Enterprise (500+ employees) | Dedicated EDI team | 6-10 weeks | 1-3 weeks | These assume a single trading partner for the initial implementation. Running multiple partner implementations in parallel can compress total timeline but increases team workload. ## What Specific Retailers Expect Retailer requirements vary, and the details matter. Here are specifics that trip up first-time EDI suppliers. **Walmart** requires OTIF (On Time In Full) compliance with strict delivery windows. Their EDI setup mandates AS2 connectivity (or a VAN that connects via AS2), and they expect carton-level ASN data. Late or missing ASNs result in chargebacks that can exceed the margin on the shipment. See our full [Walmart EDI requirements guide](/edi-compliance/walmart). **Target** requires DPCI codes at the item level and has specific [856 ship notice requirements](/edi-compliance/target) for carton-level detail. Their testing process is thorough -- expect 3-4 test cycles minimum. **[Kroger](/edi-compliance/kroger)** and other grocery retailers often require additional transaction types for promotions and inventory. The [GS1 standards](https://www.gs1.org/standards/barcodes) for product identification (UPC/GTIN) and shipping container codes (SSCC-18) are strictly enforced. **Amazon Vendor Central** has its own EDI requirements with tight turnaround times for PO acknowledgment and ASN submission. Their penalty structure for late confirmations is aggressive. ## Common Challenges and Pitfalls **Complexity.** EDI documents look intimidating. An 850 purchase order is a wall of segment codes, qualifiers, and delimiters. It takes specialized knowledge to read, let alone implement. **Every partner is different.** While EDI is "standardized," every retailer has their own implementation guide with specific requirements. Walmart wants data in certain fields that Target ignores, and vice versa. You need to test and certify with each trading partner individually. **Maintenance.** EDI is not set-and-forget. Retailers update their requirements. Products change. New partners come online. Someone needs to monitor for transmission failures, parsing errors, and compliance issues. **Skipping the 997.** The functional acknowledgment confirms you received the document. Some retailers flag your account as non-compliant if acknowledgments do not send within their expected window (often 1-4 hours). **ASN accuracy.** The [EDI 856 ship notice](/guides/edi/856-ship-notice) is where most chargebacks originate. Missing SSCC-18 barcodes, wrong carton counts, or late transmission all trigger penalties. **Not connecting EDI to your actual workflow.** EDI data that lands in a mailbox and still requires manual re-entry into your ERP defeats the purpose. Make sure your solution includes [ERP integration](/erp-integration) or at minimum automated file import into your system. ## Modern Approaches to EDI EDI does not have to mean six-figure implementations and dedicated IT staff anymore. Modern platforms handle the complexity for you. OrderSync automates the entire EDI workflow -- receiving purchase orders, matching products and customers, validating pricing, and syncing to your ERP or [order management system](/order-management-systems). It handles EDI alongside PDFs, CSVs, and email orders through [multi-format order processing](/multi-format-orders), so you have one system regardless of how your customers send orders. Key benefits of a modern approach: - **Predictable pricing** -- monthly plans without VAN middleman costs - **Automatic parsing** -- EDI documents converted to readable formats instantly - **Smart matching** -- product codes and customer data mapped automatically - **Multi-format support** -- EDI, PDF, CSV, and email in one platform - **Real-time validation** -- errors caught before they become chargebacks If your order mix includes many PDF, CSV, or email orders alongside EDI, a unified [order processing automation](/order-processing-automation) platform may be more practical than a standalone EDI solution. EDI is just one step in the broader [order-to-cash cycle](/blog/order-to-cash-automation) -- automating it alongside other order formats is what creates real operational leverage. For a deeper comparison of integration approaches, see our [EDI vs API analysis](/blog/edi-vs-api). ## Getting Started **If a retailer just told you "you need EDI":** 1. Request their EDI implementation guide -- it lists exactly which transaction sets they require and how to connect 2. Choose a platform or provider to handle the technical side 3. Complete testing (usually 2-6 weeks depending on the retailer) 4. Go live and monitor your first production orders closely **If you are exploring EDI to improve operations:** 1. Audit your current order flow -- how many orders per week, what formats, how much manual entry 2. Calculate the cost of manual processing (time, errors, chargebacks) 3. Evaluate modern platforms that handle multiple formats, not just EDI Either way, start with the [free EDI Inspector tool](/edi-inspector) to see what is inside an EDI document, or paste it into the [EDI translator](/edi-translator) to read it in plain English. It is the fastest way to demystify the format. ## Frequently Asked Questions ### What is EDI in simple terms? EDI is a way for businesses to send documents like purchase orders and invoices directly between their computer systems, using a standard format both sides agree on. Instead of emailing a PDF or faxing a paper form, the data moves automatically from one system to another. No human has to re-type anything, which cuts out errors and speeds up the whole process. ### How much does EDI cost for a small business? Traditional EDI setups cost $10,000 to $50,000 upfront, plus $500 to $2,000 per month in VAN fees and per-transaction charges. Modern cloud-based platforms have brought that down to $200-$1,500 per month with no per-transaction fees. The right option depends on your order volume and how many trading partners you work with. Avoid any provider requiring $10,000+ upfront for a small business implementation -- that pricing model is outdated. ### How long does EDI implementation take? For your first trading partner, plan for 8-16 weeks depending on your internal resources and the retailer's testing timeline. This includes account setup, connection configuration, mapping, testing, and retailer certification. Subsequent partners typically take 2-4 weeks since the foundation is already in place. ### Do I need EDI to sell to Walmart? Yes. Walmart requires EDI from all suppliers, with no exceptions. You will need to support at least the 850 (purchase order), 856 (advance ship notice), 810 (invoice), and 997 (functional acknowledgment) transaction sets. You will also need an AS2 connection or a VAN that connects to Walmart's network. Plan for 4-8 weeks of testing and certification before going live. ### Can I use a web portal instead of full EDI? Some retailers offer web EDI portals where you manually enter order data into their system. This satisfies their "EDI requirement" technically, but you are still doing manual data entry. It works as a bridge for very low volume (under 20 orders per month), but it does not scale and does not eliminate the errors that come with manual keying. ### Do I need a VAN for EDI? Not necessarily. VANs simplify connectivity and routing, but direct connections via AS2 or SFTP are common, especially with large retailers. Your choice depends on how many trading partners you have and your IT team's capacity. ### What is the difference between EDI and API? EDI uses rigid, standardized document formats (like X12) and typically operates in batch mode, sending files on a schedule. APIs use modern data formats like JSON and communicate in real time, request by request. EDI is required by most major retailers and has been the standard since the 1970s. APIs are newer, more flexible, and growing in adoption. Many businesses end up using both. See our full [EDI vs API comparison](/blog/edi-vs-api) for details. ### What EDI transaction types do I need to start? At minimum: EDI 850 (purchase order), EDI 997 (functional acknowledgment), EDI 856 (advance ship notice), and EDI 810 (invoice). These four cover the core order-to-cash cycle. Some retailers also require the 855 (purchase order acknowledgment) and 846 (inventory inquiry). Check your specific retailer's vendor guide for the exact list. Our [EDI 850 purchase order guide](/guides/edi/850-purchase-order) walks through the structure in detail. ### Can I implement EDI without an IT team? Yes, but you will need an external partner. EDI-as-a-Service providers and managed EDI services handle the technical work. You will still need someone internally who understands your order and fulfillment workflows to validate the integration. ### What happens if I miss my retailer's EDI compliance deadline? Consequences vary by retailer. Common penalties include chargebacks ($500-$5,000 per incident), temporary shipment holds, loss of promotional opportunities, and in severe cases, account suspension. Communicate early if you are at risk of missing a deadline -- most retailers will grant extensions if you are actively testing. ### How do I know if my EDI documents are formatted correctly? Use a parsing and validation tool during development. Our [free EDI Inspector](/edi-inspector) lets you paste raw EDI and see the segment structure visually. For production validation, your EDI platform should check every outbound document against the retailer's spec before transmission. --- **Continue learning:** - [What is EDI 850? Purchase Orders](/guides/edi/850-purchase-order) - [What is EDI 856? Advance Ship Notices](/guides/edi/856-ship-notice) - [What is EDI 810? Electronic Invoices](/guides/edi/810-invoice) - [What is EDI 846? Inventory Inquiry/Advice](/guides/edi/846-inventory-inquiry) - [EDI vs API: Which is Right for Your Business?](/blog/edi-vs-api) - [Walmart EDI Requirements](/edi-compliance/walmart) - [Target EDI Requirements](/edi-compliance/target) - [Free EDI Inspector Tool](/edi-inspector) - [Free EDI Translator](/edi-translator) --- # Inventory Management Basics for B2B Companies Source: https://ordersync.io/blog/inventory-management-basics > What good B2B inventory management looks like, why it matters for distributors, and how it connects to purchase orders (EDI 850) and shipping (856). B2B inventory management tracks stock levels, reorder points, and warehouse locations to ensure you can fulfill incoming purchase orders without delays or oversells. It connects directly to order processing—an EDI 850 triggers stock reservation, and an EDI 856 ASN confirms what shipped. Accuracy depends on real-time ERP sync. **B2B inventory management is the system that determines what you can promise, what you can deliver, and how fast the gap between those two closes.** For distributors, getting this wrong means overselling, chargebacks, and lost retailer trust. _Part 1 of 3 in our inventory management series._ You're a food distributor carrying 2,000 SKUs across three warehouses. A regional grocery chain sends a purchase order for 400 cases of a seasonal item. Your ERP says you have 450 on hand. But 200 are already allocated to another retailer's order that ships tomorrow, and 50 are quarantined for a quality hold. Your real available-to-sell number is 200---half of what the customer wants. This scenario plays out daily at distributors and brands that sell B2B. Inventory management isn't just about counting what's on the shelf. It's the system that determines what you can promise, what you can deliver, and how fast the gap between those two closes. Getting this right is the foundation of reliable [order fulfillment](/blog/order-fulfillment-automation). This post covers the foundations: inventory management methods, how they apply to B2B distribution, the connection to order automation, and the mistakes that cost distributors real money. If you want to validate how EDI transactions represent inventory data, try our [free EDI Inspector](/edi-inspector) to parse real documents. ## Why Inventory Management Matters in B2B In B2B, your customers are other businesses. They send purchase orders (often via [EDI 850](/guides/edi/850-purchase-order)), expect accurate [ship notices (EDI 856)](/guides/edi/856-ship-notice), and pay on [invoices (EDI 810)](/guides/edi/810-invoice). If your inventory data is wrong or out of date, you risk: - **Overselling.** Accepting orders for product you don't have, leading to backorders, late shipments, and chargebacks. Walmart's OTIF (On Time In Full) program penalizes suppliers for short shipments at rates that can exceed $500 per incident. - **Under-selling.** Thinking you're out of stock when you aren't, turning down valid orders and leaving revenue on the table. - **Poor planning.** Your retail partners can't plan replenishment or promotions when they don't trust your numbers. Inaccurate [EDI 846 inventory inquiry](/guides/edi/846-inventory-inquiry) data erodes that trust. The data on the cost of bad inventory is consistent across industry sources: - The [Association for Supply Chain Management (ASCM)](https://www.ascm.org/) reports that inventory carrying costs average 20-30% of inventory value annually for distributors - The [International Warehouse Logistics Association (IWLA)](https://www.iwla.com/) identifies inventory accuracy as the single largest driver of fulfillment errors in third-party distribution Poor inventory management doesn't just cause fulfillment problems: it ties up cash in the wrong products. ## Inventory Management Methods for Distributors Not all inventory methods work the same way in B2B distribution. Here are the three most common approaches, with their tradeoffs for distributors. ### FIFO (First In, First Out) FIFO means the oldest inventory ships first. Product received on January 5 ships before product received on January 20. **Best for**: Food and beverage distributors, health and beauty products, anything with expiration dates or lot tracking requirements. **Pros:** - Reduces spoilage and waste on perishable goods - Simplifies lot traceability for recalls - Aligns with how most warehouses physically operate (older stock in front) **Cons:** - Requires disciplined receiving and picking processes - Can be harder to manage when multiple lots arrive close together - Warehouse layout must support rotation **Real scenario:** A beverage distributor carries craft sodas with a 6-month shelf life. FIFO ensures retailers receive product with maximum remaining shelf life. Without it, older cases get buried behind newer receipts, and the distributor ends up eating expired product or negotiating markdowns. ### LIFO (Last In, First Out) LIFO means the newest inventory ships first. This is less common in physical distribution but matters for accounting and costing. **Best for**: Non-perishable goods where physical rotation doesn't matter, or companies optimizing for tax purposes during inflationary periods. **Pros:** - Can reduce taxable income when costs are rising (newer, higher-cost inventory is expensed first) - Simpler warehouse operations for non-perishable bulk goods **Cons:** - Not permitted under IFRS (International Financial Reporting Standards)---only GAAP allows it - Creates risk of obsolete inventory sitting in the back of the warehouse - Not practical for anything with shelf life requirements **Real scenario:** A hardware distributor carrying fasteners and fittings might use LIFO for costing purposes. The physical product is identical regardless of when it was received, so rotation doesn't affect quality. ### JIT (Just-In-Time) JIT minimizes on-hand inventory by coordinating supply closely with demand. You receive product shortly before you need to ship it. **Best for:** High-value goods with predictable demand, distributors with strong supplier relationships and reliable lead times. **Pros:** - Dramatically reduces carrying costs and warehouse space requirements - Frees up cash that would otherwise be tied in inventory - Forces discipline in demand forecasting and supplier management **Cons:** - Extremely vulnerable to supply chain disruptions (as the 2020--2022 period demonstrated) - Requires accurate demand forecasting and reliable suppliers - Small buffer means any delay cascades into stockouts **Real scenario:** A consumer electronics distributor using JIT receives shipments of a fast-moving accessory twice per week, timed to outbound order schedules. This works until a port delay adds five days to inbound transit---and suddenly 200 orders are backordered. ### Inventory Methods at a Glance | Method | How It Works | Best For | Key Risk | |---|---|---|---| | **FIFO** | Oldest stock ships first | Perishables, lot-tracked products | Requires disciplined warehouse rotation | | **LIFO** | Newest stock ships first | Non-perishable bulk goods, tax optimization | Old stock sits and may become obsolete | | **JIT** | Stock arrives just before it's needed | High-value goods with predictable demand | Extremely vulnerable to supply disruptions | | **Safety stock** | Extra buffer held above expected demand | High-variability products, critical items | Ties up cash if set too high | | **ABC analysis** | Prioritizes management effort by revenue impact | Large catalogs with mixed demand profiles | Requires regular reclassification as demand shifts | | **Periodic replenishment** | Reorder at fixed intervals regardless of level | Stable-demand staple items | Can miss demand spikes between review periods | ### Which Method Should You Use? Most B2B distributors use FIFO for physical operations and may apply different costing methods for accounting. The right choice depends on your product type, shelf life constraints, and financial strategy. Many distributors blend approaches---FIFO for perishables, periodic replenishment for staple items, and safety stock buffers for high-variability products. ## Safety Stock: Your Buffer Against Uncertainty Safety stock is extra inventory held beyond expected demand to protect against variability in both supply and demand. For B2B distributors, it's the difference between filling a surprise order and telling a retail buyer you're out of stock. ### How to Calculate Safety Stock A common formula for distributors: **Safety Stock = Z x SQRT(Avg Lead Time x Demand Variability^2 + Avg Demand^2 x Lead Time Variability^2)** Where: - **Z** = service level factor (1.65 for 95% fill rate, 2.33 for 99%) - **Avg Lead Time** = average supplier lead time in days - **Demand Variability** = standard deviation of daily demand - **Lead Time Variability** = standard deviation of lead time in days - **Avg Demand** = average daily demand **Practical example:** A food distributor sells an average of 50 cases per day of a popular sauce, with a standard deviation of 15 cases. Their supplier's lead time averages 7 days with a standard deviation of 2 days. For a 95% service level: Safety Stock = 1.65 x SQRT(7 x 15^2 + 50^2 x 2^2) = 1.65 x SQRT(1,575 + 10,000) = 1.65 x 107.5 = approximately 178 cases That's roughly 3.5 days of average demand held as buffer. Without it, any spike in orders or delay from the supplier results in a stockout. ### Safety Stock by Product Category Not every SKU needs the same safety stock level: - **A items (top 20% of revenue):** Higher service level (97--99%). These are the products your retail partners expect you to always have. - **B items (next 30%):** Moderate service level (93--97%). - **C items (remaining 50%):** Lower service level (85--93%). Accept occasional stockouts on slow movers to avoid tying up capital. ## What Good B2B Inventory Management Looks Like ### One Source of Truth Inventory should be tracked in one primary system---whether that's a WMS, ERP, or a dedicated [order management system](/order-management-systems)---and all order and fulfillment processes should read from that same source. When EDI 850s are processed, they should check and reserve against that same inventory. When you send [inventory advice (EDI 846)](/guides/edi/846-inventory-inquiry) to retailers, it should reflect the same numbers. Spreadsheet side-systems are the enemy of accuracy. The moment someone maintains a "real" count in Excel alongside the ERP, you have two sources of truth and zero confidence in either. ### Accuracy and Timeliness - **Accuracy:** Counts and locations should match physical reality. That means cycle counts, disciplined receiving and shipping processes, and correcting errors immediately---not at month-end. - **Timeliness:** Updates (receipts, picks, shipments, adjustments) should be recorded as they happen. "Available to sell" needs to reflect right now, not yesterday's snapshot. The [Inventory Management Review](https://www.inventorymanagementreview.org/) recommends that distributors target 97%+ inventory record accuracy. Below that threshold, stockouts and overselling become statistically inevitable. ### Clear Definitions Define and use terms consistently across your organization: - **On hand:** What's physically in the building (or location). - **Available / available to sell:** On hand minus reserved, allocated, quarantined, or damaged. - **In transit:** Ordered from suppliers but not yet received, or shipped to customers but not yet delivered. - **Committed:** Reserved against specific customer orders but not yet picked or shipped. When you report to retailers via [EDI 846](/guides/edi/846-inventory-inquiry) or discuss stock with internal teams, everyone should mean the same thing by "in stock." ## How Inventory Connects to Order Automation Good inventory management doesn't live in a silo. It directly affects how fast and accurately you process orders. ### Feed Order Acceptance When a purchase order arrives---whether via EDI 850, PDF, or email---your system should check availability in real time and either confirm or flag shortages. [Automated order processing](https://ordersync.io/order-processing-automation) makes this instant instead of waiting for someone to manually check the warehouse. ### Support Allocation Allocate or reserve inventory to specific orders at the time of acceptance. This prevents the classic problem: three orders come in for the same 100 cases, your system shows 100 available, and all three get accepted. Now you're short 200 cases and explaining backorders to two customers. ### Drive Ship Notices When you ship, your system should decrement inventory and generate an [EDI 856 ship notice](https://ordersync.io/guides/edi/856-ship-notice) automatically. Manual ASN creation introduces delays and errors---and late or inaccurate ASNs trigger chargebacks at most major retailers. ### Enable Inventory Advice If your retail partners require [EDI 846 inventory advice](/guides/edi/846-inventory-inquiry), that data has to come from your inventory system. Automated generation ensures the retailer gets accurate, timely data without someone pulling a report and reformatting it every morning. ## Common Inventory Management Mistakes ### Mistake 1: Not Accounting for Allocated Inventory Showing "on hand" as available when units are already committed to other orders. This leads to overselling and is the single most common cause of short shipments. ### Mistake 2: Infrequent Cycle Counts Relying on annual physical inventory instead of ongoing cycle counts. By the time you discover a discrepancy, you've been making bad decisions for months. ### Mistake 3: Ignoring Lead Time Variability Calculating reorder points based on average lead time without accounting for variability. When your supplier is late (and they will be), you stockout. ### Mistake 4: Treating All SKUs the Same Applying the same reorder points and safety stock levels across your entire catalog. Your top 50 SKUs deserve different treatment than the bottom 500. ### Mistake 5: Manual Inventory Updates Updating inventory counts via spreadsheets or manual ERP entries instead of system-driven transactions tied to your [ERP integration](/erp-integration). Every manual touch is an opportunity for error---and at scale, those errors compound. ## How Inventory Fits with EDI 850 and 856 The connection between inventory and EDI transactions is direct: - **[EDI 850 purchase order](/guides/edi/850-purchase-order):** The retailer is asking for product. Your ability to fulfill depends on accurate available-to-sell data. Checking availability at order entry and reserving inventory keeps promises realistic and prevents the kind of surprises that damage retailer relationships. - **[EDI 856 ship notices](/guides/edi/856-ship-notice):** When you ship, you're reducing on-hand and creating in-transit inventory. Updating inventory and sending the 856 keeps your numbers and the retailer's expectations aligned. Getting the basics right---one source of truth, accurate counts, clear definitions, and tight integration with order processing---sets you up for the next step: visibility and reporting. In [Part 2: Inventory Visibility and Reporting](https://ordersync.io/blog/inventory-visibility-and-reporting), we cover stock level monitoring, reorder points, and how EDI 846 and system sync improve visibility for you and your retail partners. ## Frequently Asked Questions ### What is inventory management? **Inventory management is the process of tracking what you have in stock, where it is, and how much is available to sell.** For B2B distributors, it goes beyond simple counting. It includes reserving stock against open orders, maintaining accurate available-to-sell quantities, and feeding that data into order processing and EDI transactions. Done well, it prevents overselling, reduces carrying costs, and keeps your retail partners confident in your ability to deliver. For a deeper look at monitoring stock levels and reporting, see our post on [inventory visibility and reporting](/blog/inventory-visibility-and-reporting). ### What is a reorder point? A reorder point is the inventory level at which you should place a new purchase order with your supplier. The basic formula is: average daily usage multiplied by supplier lead time in days, plus safety stock. For example, if you sell 50 cases per day and your supplier takes 7 days to deliver, with 178 cases of safety stock, your reorder point would be 528 cases. When available inventory hits that number, it is time to reorder. ### How do I calculate safety stock? Safety stock accounts for variability in both demand and supplier lead time. A common formula is: Z multiplied by the square root of (average lead time times demand variability squared, plus average demand squared times lead time variability squared). Z represents your desired service level (1.65 for 95%, 2.33 for 99%). The key inputs are your average and standard deviation of daily demand and supplier lead time. Start with your A items and refine as you collect more data. ### What is the difference between inventory management and warehouse management? Inventory management focuses on what you have and how much is available, tracking quantities, locations, allocations, and reorder points across your business. Warehouse management focuses on how you physically handle product: receiving, putaway, picking, packing, and shipping within a facility. They overlap but serve different purposes. Your WMS tells the warehouse team where to pick; your inventory management system tells the sales and order teams what they can promise. --- **Series: How to Manage Inventory** - **Part 1**: Inventory Management Basics (this post) - **Part 2**: [Inventory Visibility and Reporting](https://ordersync.io/blog/inventory-visibility-and-reporting) - **Part 3**: [Inventory and Order Fulfillment](/blog/order-fulfillment-automation) --- # Inventory Visibility and Reporting for Distributors Source: https://ordersync.io/blog/inventory-visibility-and-reporting > Stock levels, reorder points, and reporting - and how EDI 846 and system sync improve visibility for you and your retail partners. Inventory visibility means knowing your actual stock levels across locations in real time, not at end-of-day batch. For distributors, it starts with ERP data and extends to retail partners via EDI 846 transactions. Better visibility reduces safety stock requirements and prevents the oversells that cause chargeback disputes. **Inventory visibility is the ability to see accurate, real-time stock levels across every location and status, and it is the foundation that prevents overselling, stockouts, and late retailer replenishment.** This is Part 2 of 3 in our inventory management series. Once you have a solid foundation - one source of truth, accurate counts, and a clear link to orders and shipping - the next step is visibility: knowing what you have, where it is, and when to reorder. This post covers stock levels, reorder points, reporting, and how EDI 846 and system sync give you and your retail partners the visibility they need. Research on inventory visibility performance: - [Gartner's supply chain research](https://www.gartner.com/en/supply-chain/topics/supply-chain-management) consistently ranks inventory visibility as a top capability for high-performing distribution operations - [GS1 US](https://www.gs1us.org/industries-and-insights/standards) governs the GTIN and SSCC-18 identifiers used to track inventory at the case and pallet level across retailer supply chains - [DC Velocity](https://www.dcvelocity.com) covers distribution center benchmarks for fill rate, inventory turnover, and stockout rates that drive replenishment planning decisions ## Why Visibility Matters **Inventory visibility directly affects fill rate, reorder timing, and retailer scorecards.** Without good visibility, you’re making decisions in the dark. You might reorder too early (tying up cash in excess stock) or too late (stockouts and missed orders). [Gartner’s supply chain research](https://www.gartner.com/en/supply-chain/topics/supply-chain-management) consistently ranks inventory visibility as a top capability for high-performing distribution operations. Your retail partners face the same problem: if they don’t know your availability, they can’t plan replenishment or promotions effectively. Visibility is what turns raw inventory data into actionable information. ## Stock Levels and Locations ### What to Track At a minimum, track: - **On-hand quantity** by product and location (e.g., warehouse, zone). - **Reserved / allocated** quantity (tied to open orders). - **Available to sell** (on hand minus reserved), which is what you can promise on new orders. - **In transit** (on order from suppliers or in shipment to customers) when relevant. Many distributors also track **safety stock** and **reorder points** so the system can flag when to reorder. ### Single vs. Multiple Locations If you have one warehouse, a single set of numbers may be enough. With multiple locations or channels, you need visibility by location so you can: - Allocate the right inventory to the right orders. - Report location-level data to retailers who require it (e.g., in EDI 846). - Rebalance stock between locations when needed. ## Reorder Points and Alerts A **reorder point** is a threshold: when on-hand (or available) falls to or below it, it’s time to reorder. Setting reorder points helps you: - Avoid stockouts by ordering before you run out. - Reduce the need for constant manual checking. - Smooth demand by ordering in a more disciplined way. Combine reorder points with **alerts** (email, dashboard, or report) so the right person is notified and can place a purchase order or production order in time. ### Setting Reorder Points Reorder points are often based on: - **Lead time**: How long it takes to receive new stock. - **Average demand**: How much you sell per day or week. - **Safety stock**: Buffer for variability in demand or supply. A simple approach: Reorder point = (average daily usage × lead time in days) + safety stock. You can refine this over time with historical data and seasonality. ## Reporting That Drives Decisions Use reports to spot trends and problems: - **Aging inventory**: What’s been sitting too long and may need promotion or write-down. - **Stockouts and near-stockouts**: Which SKUs hit zero or fell below reorder point. - **Fill rate**: Percentage of order lines or units fulfilled from stock; a key metric for retailer performance. - **Inventory turnover**: How quickly you sell through stock; helps with purchasing and cash flow. [DC Velocity](https://www.dcvelocity.com) regularly covers best practices for optimizing these distribution center metrics. Dashboards that show current levels, trends, and exceptions (e.g., below reorder point) keep managers informed without digging through spreadsheets. ## Key Inventory Reports and What They Measure | Report | What It Measures | How It Drives Decisions | |---|---|---| | **Aging inventory** | How long each SKU has been sitting in the warehouse | Identifies slow movers that need markdowns or write-offs | | **Stockout report** | SKUs that hit zero or fell below reorder point | Reveals gaps in replenishment planning or safety stock | | **Fill rate** | % of order lines fulfilled from available stock | Key metric for retailer scorecards and supplier performance | | **Inventory turnover** | How fast you sell through your stock | Guides purchasing decisions and frees up cash | | **Available-to-sell** | On hand minus reserved, allocated, and quarantined | The real number for order acceptance and promising | | **Reorder point status** | SKUs at or below their reorder threshold | Triggers purchase orders before stockouts happen | ## EDI 846 and Sharing Visibility with Retailers Many retailers want **inventory advice** (or responses to **inventory inquiry**) in a standard format. That’s **EDI 846**. Our [EDI 846 guide](/guides/edi/846-inventory-inquiry) covers the full segment structure. When you send 846: - You’re giving the retailer a snapshot of your availability (by their required product IDs and, if required, by location). - They use that data to plan replenishment and generate 850s at the right time. - You reduce the risk of them ordering when you’re out of stock or cutting you off for non-compliance. To do this well, your “source of truth” for inventory must feed your EDI 846 generation - same numbers you use internally and for order acceptance. Automating 846 from your WMS/ERP keeps the data consistent and reduces manual work. For more on 846, see [What is EDI 846?](/guides/edi/846-inventory-inquiry). ## System Sync and Single Source of Truth Visibility only works if systems are in sync. If your ERP says one thing and your EDI or e-commerce platform says another, you’ll have conflicting numbers and confused partners. Best practice: - **One system** (or one logical “source of truth”) holds inventory. - **Other systems** (order management, EDI outbound, storefronts) get inventory via [ERP integration](/erp-integration), not separate data entry. - **Updates** (receiving, shipping, adjustments) are made in the source system and propagated automatically where needed. That way, the numbers you see in reports, the numbers you use to accept orders, and the numbers you send in 846 all match. ## Common Inventory Visibility Gaps Even operations with solid WMS and ERP systems run into these recurring gaps: **Allocated vs. available confusion:** Many systems show on-hand quantity without subtracting what is already reserved for open orders. If you ship 500 units per day but your ERP shows 500 units on hand without accounting for the 400 already allocated, you are operating on bad data. Separate your available-to-sell number from your on-hand count. **Batch inventory updates:** Nightly batch syncs worked when orders came once a day. Now, with intraday replenishment signals from retailers via EDI 850s, stale inventory data means you accept orders you cannot fill. Real-time or hourly updates to on-hand quantities are the minimum for operations with 50+ orders per day. **No location-level detail:** “You have 1,200 units” is only useful if you know where they are. Operations with multiple warehouse zones or 3PL locations need per-location visibility to allocate the right inventory to the right ship-from point and to satisfy retailer routing requirements. **Disconnected EDI 846 feeds:** If your EDI 846 inventory advice to retailers pulls from a different data source than your actual picking system, you end up promising availability that does not exist. Automate your 846 generation directly from your WMS or ERP source of truth. Our [EDI 846 guide](/guides/edi/846-inventory-inquiry) covers the segment structure in detail. In Part 3: Inventory and Order Fulfillment, we cover avoiding oversell, allocating inventory to orders, and using ASNs (856) and inventory data to keep retailers informed from order to delivery. ## Frequently Asked Questions ### What is inventory visibility? **Inventory visibility is the ability to see accurate, current stock levels across your entire operation, broken down by product, location, and status: on hand, allocated, available to sell, and in transit.** If you're new to EDI and how it connects to inventory, [our essential guide to EDI](/blog/essential-guide-to-edi) is a good starting point. For B2B distributors, it means your order team, warehouse, and retail partners all work from the same numbers. Without visibility, you make decisions based on outdated or incomplete data, which leads to overselling, stockouts, and missed reorder windows. If you're new to EDI and how it connects to inventory, [our essential guide to EDI](/blog/essential-guide-to-edi) is a good starting point. For B2B distributors, it means your order team, warehouse, and retail partners all work from the same numbers. Without visibility, you make decisions based on outdated or incomplete data, which leads to overselling, stockouts, and missed reorder windows. ### Why is real-time inventory data important? Real-time data prevents the gap between what your system says and what is actually on the shelf. When inventory updates only happen in nightly batches, orders accepted in the morning may promise stock that was already shipped in the afternoon. Real-time updates to receipts, picks, shipments, and adjustments keep your available-to-sell number accurate throughout the day. This is especially important during high-volume periods when multiple orders compete for the same stock. ### How do I improve inventory visibility? Start with one source of truth for inventory, typically your ERP or WMS. Make sure all systems that touch inventory (order management, EDI, ecommerce) read from and write to that same source through integrations, not manual data entry. Implement cycle counting instead of relying on annual physical inventory. Set up reorder point alerts so your team gets notified before stockouts happen. If your retail partners require it, automate your EDI 846 inventory feeds from that same source. You can use our [free EDI Inspector](/edi-inspector) to validate your 846 documents before sending them. ### What reports should I track for inventory management? Four reports matter most for distributors. Aging inventory shows what has been sitting too long and may need markdowns or write-offs. Stockout and near-stockout reports highlight which SKUs hit zero or fell below their reorder point. Fill rate tracks the percentage of order lines fulfilled from available stock, which is a key metric for retailer scorecards. Inventory turnover measures how quickly you sell through stock, helping you optimize purchasing and free up cash. --- **Series: How to Manage Inventory** - **Part 1**: [Inventory Management Basics](/blog/inventory-management-basics) - **Part 2**: Inventory Visibility and Reporting (this post) - **Part 3**: [Inventory and Order Fulfillment](/blog/order-fulfillment-automation) --- # EDI vs API: Differences and When to Use Each Source: https://ordersync.io/blog/edi-vs-api > EDI vs API: how they differ, what each costs, and when to use each. Why retail still runs on EDI and most B2B suppliers end up needing both. EDI is the mandated standard for major retailer trading partners and handles B2B document exchange at scale on standards like X12 and EDIFACT. APIs offer real-time connectivity for modern platforms and ecommerce. Most B2B businesses need both: EDI for retailers that require it, APIs for partners that prefer them. When integrating with retailers and trading partners, you'll encounter two primary methods: EDI (Electronic Data Interchange) and APIs (Application Programming Interfaces). Here's how they differ, what each costs, and when to use which. ## Understanding the Fundamentals ### What is EDI? **EDI (Electronic Data Interchange) is a standardized method for exchanging business documents electronically, using fixed formatting standards like [X12](https://x12.org) or [EDIFACT](/guides/edi/edifact) to ensure different computer systems can process the same data without manual re-entry.** Established in the 1970s, EDI remains the mandatory protocol for major retailers. Key sources on EDI standards: - The [ASC X12 standards body](https://x12.org/products/transaction-sets) defines all transaction sets, including the 850 PO, 856 ASN, and 810 invoice that retailers require from every supplier - [DISA (Data Interchange Standards Association)](https://www.disa.org) serves as the X12 secretariat and provides compliance context for EDI implementations across retail, healthcare, and government **Common EDI Transaction Sets:** - 850: Purchase Order - 810: Invoice - 846: Inventory Inquiry/Advice - 856: Advance Ship Notice (ASN) - 997: Functional Acknowledgment ### What is an API? APIs (Application Programming Interfaces) are modern interfaces that allow applications to communicate in real-time using structured data formats like JSON or XML. APIs use HTTP protocols and RESTful or GraphQL architectures for data exchange. The [OpenAPI Specification](https://www.openapis.org) has become the industry standard for defining and documenting REST APIs. **Common API Operations:** - GET: Retrieve data - POST: Create new records - PUT/PATCH: Update existing records - DELETE: Remove records ## Key Differences at a Glance | Feature | EDI | API | | ------------------- | ------------------------------------ | --------------------------- | | **Age** | 1970s | 2000s | | **Data Format** | Fixed-length, delimited text | JSON, XML | | **Communication** | Batch, file-based | Real-time, request/response | | **Standards** | X12, EDIFACT | REST, GraphQL | | **Speed** | Minutes to hours | Milliseconds | | **Cost** | Higher initial, per-transaction fees | Lower initial, usage-based | | **Flexibility** | Rigid, standardized | Flexible, customizable | | **Learning Curve** | Steep | Moderate | | **Retail Adoption** | Universal | Growing | ## EDI: Deep Dive ### When EDI Makes Sense EDI is the **required** choice when: 1. **Working with Major Retailers** - Walmart, Target, Home Depot, Kroger **require** EDI - Non-negotiable for supplier onboarding - Industry standard for big-box retail 2. **High-Volume B2B Transactions** - Processing thousands of orders daily - Batch processing is acceptable - Established supply chain relationships 3. **Industry Compliance** - Healthcare (HIPAA requirements) - Automotive (AIAG standards) - Government contracts ### Advantages of EDI **1. Universal Retail Acceptance** Every major retailer supports EDI. It's the lingua franca of retail: - Proven technology with decades of reliability - Standardized across industries - Well-understood by IT departments **2. Audit Trail and Compliance** EDI provides detailed documentation: - Every transaction tracked - Acknowledgments for receipt - Regulatory compliance built-in - Legal standing in disputes **3. Error Reduction** Structured formats minimize errors: - Validation rules prevent bad data - Standardized codes reduce ambiguity - Automated error detection **4. Security** Mature security standards: - AS2 encryption - Digital certificates - Secure transmission protocols ### Disadvantages of EDI **1. High Implementation Costs** Traditional EDI is expensive: - Initial setup: $10,000 - $50,000 - VAN fees: $500 - $2,000/month - Per-transaction costs: $0.05 - $0.50 - Specialist consulting required **2. Slow to Adapt** Changes take time: - Adding new trading partners: weeks to months - Modifying formats: complex and expensive - Testing requirements extensive **3. Limited Real-time Capability** EDI is primarily batch-oriented: - Updates every few hours (at best) - Not suitable for instant synchronization - Delays in inventory visibility **4. Technical Complexity** EDI has a steep learning curve: - Complex formatting rules - Specialized knowledge required - Difficult to troubleshoot - Legacy technology ## API: Deep Dive ### When APIs Make Sense APIs are ideal when: 1. **Real-time Data is Critical** - Inventory synchronization - Live order updates - Customer-facing applications 2. **Modern E-commerce Platforms** - Shopify, BigCommerce - Amazon (Seller Central) - Direct-to-consumer brands 3. **Flexible Integration Requirements** - Frequent changes expected - Custom workflows needed - Internal systems integration 4. **Development Resources Available** - In-house development team - API documentation readable - Modern tech stack ### Advantages of APIs **1. Real-time Communication** APIs provide instant updates: - Order status changes immediately - Inventory synced in real-time - Customer notifications instant - Dynamic pricing possible **2. Developer-Friendly** Modern developers prefer APIs: - Well-documented - Easy to test - Standard tools available - Community support **3. Lower Initial Costs** APIs are generally cheaper to start: - No VAN fees - No per-transaction charges (usually) - Cloud-based solutions - Pay-as-you-grow pricing **4. Flexibility** APIs adapt easily: - Add endpoints as needed - Custom data structures - Versioning for backward compatibility - Rapid iteration **5. Rich Data** APIs can return complex data: - Nested structures - Related entities in one call - Metadata included - Filtering and pagination ### Disadvantages of APIs **1. Inconsistent Standards** Every API is different: - No universal format like EDI - Each trading partner unique - Custom integration per partner - Documentation quality varies **2. Limited Retail Adoption** Major retailers still require EDI: - Walmart: EDI mandatory - Target: EDI required - Most big-box: EDI only - APIs for supplemental data only **3. Rate Limits** APIs have usage restrictions: - Calls per minute limited - Throttling during high volume - Additional costs for high usage - Complexity in handling limits **4. Versioning Challenges** API changes can break integrations: - Deprecation of old versions - Breaking changes possible - Constant maintenance required - Testing after updates ## Real-World Scenarios ### Scenario 1: Walmart Supplier **Situation:** You're a supplier selling products to Walmart stores. **Best Choice:** **EDI (Required)** **Why:** - Walmart mandates EDI - API not available for core transactions - EDI 850, 856, 810, 997 required - No alternative option **Implementation:** - Use platform like OrderSync - AS2 connection to Walmart - Automated processing - Compliance monitoring ### Scenario 2: Shopify Store Owner **Situation:** Running a D2C brand on Shopify, connecting to fulfillment center. **Best Choice:** **API** **Why:** - Real-time inventory sync needed - Order webhooks for instant notification - Modern e-commerce stack - No EDI requirement **Implementation:** - Shopify API integration - Webhook listeners - Real-time updates - Cloud-based solution ### Scenario 3: Multi-Channel Seller **Situation:** Selling on Amazon, Walmart, Target, and your own website. **Best Choice:** **Both EDI and API** **Why:** - Walmart/Target require EDI - Amazon Seller Central offers API - Own website uses API - Need unified solution **Implementation:** - Hybrid platform (like OrderSync) - EDI for traditional retailers - API for modern channels - Single dashboard for all ### Scenario 4: 3PL Provider **Situation:** Managing fulfillment for multiple clients across various channels. **Best Choice:** **Both EDI and API** **Why:** - Clients use both methods - Need maximum flexibility - Real-time warehouse updates - Retail compliance required **Implementation:** - Full-featured integration platform - EDI and API capabilities - Multi-tenant architecture - Scalable infrastructure **EDI requirement**: If you sell to Walmart, Target, Kroger, or any major big-box retailer, EDI is non-negotiable because these retailers require it for all supplier transactions and will not accept REST API submissions as a substitute. **API requirement**: Real-time inventory sync, order status webhooks, and modern ecommerce platform integrations require APIs because EDI's batch-oriented model cannot deliver the sub-second updates these workflows depend on. ## The Hybrid Approach: Best of Both Worlds ### Modern Integration Platforms The best solution is often combining both: **OrderSync Approach:** 1. **EDI for Retail Compliance** - Handle required EDI transactions - Maintain retail compliance - Automated processing 2. **API for Real-time Operations** - Sync inventory instantly - Update order status live - Customer notifications 3. **Unified Dashboard** - Single view of all channels - Consistent data format - Simplified management ### Benefits of Hybrid **Maximize Coverage** - Work with any trading partner - Traditional and modern channels - Future-proof your infrastructure **Optimize Performance** - Real-time where needed - Batch where appropriate - Best tool for each job **Reduce Complexity** - Single integration point - Normalized data formats - Simplified maintenance ## Cost Comparison ### EDI Traditional Setup **Year 1:** - Setup: $25,000 - VAN fees: $12,000 - Transaction fees: $6,000 - Maintenance: $8,000 - **Total: $51,000** **Year 2+:** - VAN fees: $12,000 - Transaction fees: $6,000 - Maintenance: $8,000 - **Total: $26,000/year** ### API Custom Development **Year 1:** - Development: $30,000 - Testing: $5,000 - Server costs: $2,400 - Maintenance: $10,000 - **Total: $47,400** **Year 2+:** - Server costs: $2,400 - Maintenance: $10,000 - Updates: $5,000 - **Total: $17,400/year** ### Modern Platform (OrderSync) **Year 1:** - Setup: $0 - Monthly subscription: $5,988 - **Total: $5,988** **Year 2+:** - Monthly subscription: $5,988 - **Total: $5,988/year** _Includes both EDI and API, unlimited transactions_ ## Making Your Decision ### Choose EDI When: ✅ Required by major retailers ✅ High-volume B2B transactions ✅ Industry compliance mandated ✅ Established trading relationships ✅ Audit trail critical ### Choose API When: ✅ Real-time sync essential ✅ Modern e-commerce platforms ✅ Development resources available ✅ Frequent changes expected ✅ Direct-to-consumer focus ### Choose Both When: ✅ Multi-channel selling ✅ Mix of retail and D2C ✅ Growth plans include both ✅ Maximum flexibility needed ✅ Want to future-proof ## Future Trends ### The Evolution of B2B Integration 1. **API Adoption Growing** - More retailers adding API options - Supplementing (not replacing) EDI, as [Supply Chain Dive](https://www.supplychaindive.com/news/EDI-supplier-data-linkage-visibility-connected-ERP/443706/) has documented - Real-time becoming expected 2. **EDI Modernization** - Cloud-based EDI platforms - Lower costs - Easier implementation - Better user experience 3. **Unified Platforms** - Single solution for both - Normalized data formats - Simplified management - Lower total cost 4. **AI and Automation** - Intelligent routing - Automated mapping - Predictive error detection - Self-healing integrations To see how AI is already changing order workflows, read about [AI-powered order processing](/ai-order-automation) and how an [AI order agent](/ai-order-agent) can handle both EDI and API inputs. ## Conclusion The EDI vs. API debate isn't about which is "better" - it's about which is right for your specific needs. For most growing businesses dealing with both traditional retailers and modern e-commerce, the answer is **both**. Modern platforms like OrderSync eliminate the traditional complexity and cost barriers, making it possible to support EDI, APIs, and future integration methods from a single platform. ### Quick Decision Framework: 1. **Do major retailers require EDI?** → Need EDI 2. **Need real-time updates?** → Need API 3. **Want to scale across channels?** → Need both 4. **Limited budget/resources?** → Use modern platform 5. **Specific niche requirements?** → Assess individually Ready to simplify your integrations? [Try our free EDI visualizer](/edi-inspector) or [contact us](/book) to discuss your specific needs. ## Frequently Asked Questions ### What is the difference between EDI and API? EDI (Electronic Data Interchange) and API (Application Programming Interface) are two ways for business systems to exchange data. EDI uses fixed, standardized document formats like X12 or EDIFACT and is the protocol major retailers require for purchase orders, invoices, and ship notices. It is typically batch-oriented, exchanging files on a schedule. An API exchanges data in real time using formats like JSON over HTTP, and each API is custom to the platform that publishes it. The practical difference: EDI is a universal standard built for retail compliance and high volume, while an API is a flexible, real-time connection built for modern platforms. Most B2B businesses use both, EDI for the retailers that mandate it and APIs for ecommerce and internal systems. ### Should I use EDI or API? It depends on who you're trading with. If you sell to major retailers like Walmart, Target, or Kroger, you need EDI because they require it. If you're connecting to modern e-commerce platforms like Shopify or building internal integrations, APIs are the better fit. Many businesses need both, and modern platforms can handle EDI and API from a single system. ### Can EDI and API work together? Yes, and for most multi-channel businesses, they should. EDI handles the retailer compliance side (purchase orders, invoices, ship notices), while APIs handle real-time operations like inventory sync and order status updates. A hybrid platform normalizes data from both sources into a single format your ERP can process, so you don't manage two separate workflows. ### Is API replacing EDI? Not anytime soon. Major retailers have billions of dollars of infrastructure built on EDI, and they show no signs of dropping it for core transactions. APIs are growing as a supplemental channel for things like real-time inventory feeds and catalog updates. The trend is toward using both rather than one replacing the other. EDI's reliability and standardization still matter in high-volume supply chains. ### Which is cheaper, EDI or API? APIs are generally cheaper to start with because there are no VAN fees or per-transaction charges. But custom API development can cost $30,000 or more per integration, plus ongoing maintenance. Traditional EDI runs $25,000+ in year one. Modern platforms that handle both EDI and API on flat monthly pricing often end up being the most cost-effective option, especially as you add trading partners. --- **Related Resources:** - [What is EDI 850?](/guides/edi/850-purchase-order) - [Walmart EDI Requirements](/edi-compliance/walmart) - [Free EDI Visualizer](/edi-inspector)