Where each EDI document breaks: 850, 855, 856, 810 and 846
Most EDI problems aren’t mapping problems. They’re data the ERP never had, sent on a document the trading partner checks more strictly than you expected. Here’s where each of the common X12 documents usually fails, and what to fix upstream.
Whether you use an EDI provider such as OpenText, SPS Commerce or TrueCommerce, or translate in-house, the shape of the problem is the same. The translator maps fields. It can’t invent data the order, fulfillment or invoice never carried. When a document is rejected, the fix almost always belongs in the ERP record that produced it.
850 — Purchase Order (inbound)
Where it breaks: item identifiers. The partner sends their item number, a UPC, or your item number with a prefix, and the import can’t find a match. The order lands with a missing line, or not at all.
Fix upstream: maintain a cross-reference of partner item numbers and UPCs on the item record, and make an unmatched line stop the order for review rather than quietly dropping it. Watch price too: if the 850 price doesn’t match your price list for that customer, flag it before you ship at the wrong price.
855 — PO Acknowledgment (outbound)
Where it breaks: it’s sent automatically as “accepted” before anyone has checked stock or price, so the acknowledgment promises something the warehouse can’t deliver.
Fix upstream: generate the 855 after availability and pricing checks, with line-level status codes for backorders, substitutions and price changes. Partners that score acknowledgments care more about accuracy than speed.
856 — Advance Ship Notice (outbound)
Where it breaks: carton contents, the SSCC-18 labels, the carrier code and the tracking or bill of lading number. These live in the shipping system and often never make it back to the fulfillment record before the ASN is generated. A late or inaccurate ASN is the single biggest source of retail chargebacks.
Fix upstream: write package contents and carrier data back to the fulfillment automatically, and hold the ASN until that data is present. We covered this in detail in getting shipping data onto the 856.
810 — Invoice (outbound)
Where it breaks: segments the partner requires that your invoice doesn’t naturally carry. A common one is the carrier detail segment: some retailers reject any invoice without the carrier, even when the order shipped on their own routing. Others reject on a PO number that doesn’t exactly match the 850, or on line quantities that differ from the 856.
Fix upstream: default the carrier on the invoice from the fulfillment, or from a per-customer default when the partner controls shipping. Copy the PO number from the order rather than letting anyone retype it. And invoice only what shipped, so the 810 and 856 agree.
846 — Inventory Inquiry/Advice (outbound)
Where it breaks: it reports on-hand instead of available, so it includes stock already committed to other orders, and the partner sells what you can’t ship.
Fix upstream: send available-to-promise, less a small safety buffer, and exclude locations that don’t fulfill that partner. Send it on a schedule the partner expects, even when nothing changed.
The pattern behind all five
Each document is a view of an ERP record. When the record is complete and consistent, the document is too. A short query that lists open orders, fulfillments and invoices missing the fields your partners require — before the documents are generated — prevents more rejections than any amount of mapping work:
SELECT t.tranid, t.entity, t.otherrefnum AS po_number
FROM transaction t
WHERE t.type = 'CustInvc'
AND t.trandate >= SYSDATE - 2
AND t.entity IN (/* EDI customers */)
AND (t.otherrefnum IS NULL OR t.shipcarrier IS NULL)
Related: EDI didn’t go away when everything went API, and build or buy the connector.