What Is EDI in Logistics?

EDI in logistics is the automated, computer-to-computer exchange of standardized business documents (purchase orders, shipping notices, invoices) between trading partners, without email, PDFs, or manual re-keying. Electronic data interchange (EDI) replaces the paper and phone calls that used to move an order from a retailer to a supplier and a shipment confirmation back. When you hear that a big-box retailer or an outsourced warehouse or 3PL "requires EDI," it means your systems have to speak this shared document language before they will trade with you.
Key takeaways
- EDI is a fixed-format way for two companies' systems to exchange orders, shipping data, and invoices automatically.
- The core logistics documents are the 850 purchase order, 856 advance ship notice (ASN), 810 invoice, and the 940 and 945 warehouse shipping pair.
- Most large retailers and marketplaces make EDI compliance a condition of doing business, enforced through their routing guide.
- You connect either through a value-added network (VAN) or, increasingly, an API, and most established 3PLs support both.
- Getting EDI wrong (a late or inaccurate ASN, a bad label) triggers chargebacks that quietly erode your margin.
Which EDI documents matter most in logistics?
A handful of transaction sets carry most of the freight and fulfillment traffic. Each has a number from the ANSI X12 standard, and each moves in a specific direction between buyer, supplier, and warehouse. Learn these five or six and you can read almost any retail or 3PL EDI requirement.
| Document | Name | Who sends it | What it does |
|---|---|---|---|
| 850 | Purchase Order | Buyer to supplier | Places the order: items, quantities, price, ship-to, requested dates |
| 856 | Advance Ship Notice (ASN) | Supplier or 3PL to buyer | Says what is shipping and how it is packed, down to carton and pallet, before it arrives |
| 810 | Invoice | Supplier to buyer | Bills for the goods shipped, tied back to the original PO |
| 940 | Warehouse Shipping Order | Brand or seller to 3PL | Instructs the warehouse to pick, pack, and ship a specific order |
| 945 | Warehouse Shipping Advice | 3PL to brand or seller | Confirms what the warehouse actually shipped, with tracking and quantities |
| 997 | Functional Acknowledgment | Either party | Confirms a document was received and could be read (not that the order was accepted) |
The 940 and 945 pair is the one shippers using a third-party warehouse touch most. Your order management system sends a 940 telling the 3PL what to ship, and the 3PL sends back a 945 confirming it went out. This is the same handshake a transportation management system automates on the freight side.
Why do retailers and 3PLs require EDI?
Retailers and 3PLs require EDI because it removes the two things that break at scale: manual data entry and ambiguity. A large distribution center receiving thousands of inbound shipments a day cannot have staff keying purchase orders from PDFs or calling suppliers to ask what is on a truck. EDI lets their warehouse management system ingest an 856 ASN, pre-build the receiving plan, and scan cartons against it.
For the supplier, the payoff is that orders, confirmations, and invoices flow without a person touching them, which cuts errors and speeds payment. The catch is that the requirement is not optional. EDI capability is written into most vendor agreements alongside the routing guide that dictates how and when you ship. Fail to send a compliant document and you are out of compliance from day one.
How does EDI integration actually work: VAN or API?
EDI moves between companies in one of two main ways, and the difference matters for cost and speed. Traditional EDI runs over a value-added network (VAN), a private managed pipe that acts like a post office: it receives your documents, holds them in the trading partner's mailbox, and delivers theirs to you, usually in batches. VANs are reliable and still the default for many established retailers, and they typically bill by document volume or kilocharacters.
The newer path is EDI over an API or an integration platform, where documents pass in near real time using direct connections instead of a batch mailbox. Some partners now offer REST APIs that carry the same data as an 850 or 856 in a lighter format. In practice most brands do not build either connection themselves. They use an EDI provider or lean on a 3PL that already has certified connections to the major retailers, so you map your data once and the provider handles translation. If you are comparing outsourced warehouses, treat EDI experience as a core capability, not a nice-to-have, and put it in your 3PL RFQ so every bidder answers it the same way.
What does an EDI transaction look like in a real fulfillment flow?
Walk one order through the documents. A national retailer's system generates an 850 purchase order for 500 units and sends it to your brand. Your order management system ingests the 850, returns a 997 acknowledgment, and routes a 940 warehouse shipping order to your 3PL. The 3PL picks and packs the units into 20 cartons on two pallets, applies the retailer's carton labels, and books the freight under the routing guide.
Before the truck leaves, the 3PL transmits an 856 ASN describing that exact pack structure, then a 945 back to your brand confirming the shipment. Your system fires an 810 invoice for the 500 units tied to the original PO number. If the 856 matches what shows up on the retailer's dock, receiving is fast and clean. If the ASN says two pallets and three arrive, or a carton label will not scan, the shipment gets flagged, and that is where the money leaks.
What does it cost when EDI goes wrong?
The cost of poor EDI compliance shows up as chargebacks: fees a retailer deducts from your payment when a shipment breaks a rule. A late ASN, an ASN that does not match the physical shipment, a mislabeled carton, or a missing 810 can each carry a penalty, and they stack across every non-compliant purchase order. Because the deductions come straight off your remittance, they are easy to miss until you reconcile and find your realized margin is lower than your quoted margin.
Individual penalties are often modest, but the pattern is what hurts: a supplier shipping hundreds of POs a month with a recurring ASN-accuracy problem can bleed a meaningful share of gross margin to fees no one is watching. This is the same failure mode covered in our guide to retail compliance chargebacks, and it is the strongest argument for treating EDI as an operations discipline rather than an IT checkbox. Small suppliers ramping up to sell into major retail can find supplier-readiness guidance through the U.S. Small Business Administration.
How do you get started with EDI?
Start by pulling the trading partner's EDI specification and routing guide, because those define exactly which documents, versions, and rules apply to you. Then decide how you will connect. Confirm whether the partner uses a VAN or offers API access, and whether your 3PL or an EDI provider already holds a certified connection to them, which is usually faster and cheaper than building your own.
From there, map your order and shipping data to each required document, run the partner's certification tests until your 856 and 810 pass cleanly, and set up monitoring so a rejected 997 or a chargeback surfaces the same day rather than at month-end. When you compare providers in the logistics directory, ask each one which retailers they are already EDI-certified with, since inheriting a live connection can turn a multi-week onboarding into days. For customs shipments, note that U.S. import filings also run on EDI through the CBP Automated Commercial Environment, so the skill transfers beyond retail.
Frequently asked questions
What does EDI stand for in logistics?
EDI stands for electronic data interchange. It is the computer-to-computer exchange of standardized business documents, such as purchase orders and shipping notices, between trading partners in a fixed format that both systems can read without a person re-typing anything.
What is the difference between an 850 and an 856?
An 850 is the purchase order a buyer sends to a supplier to place an order. An 856 is the advance ship notice (ASN) the supplier or 3PL sends back before the goods arrive, listing exactly what shipped down to the carton and pallet level so the buyer can receive it against the order.
Do I need EDI to sell to major retailers?
Usually yes. Most large retailers and marketplaces make EDI a condition of their vendor agreement, along with a routing guide. A supplier that cannot send a compliant 856 ASN or 810 invoice typically cannot onboard, or gets hit with chargebacks once it does.
What is the difference between EDI and an API?
Both move data between systems automatically, but EDI uses fixed standardized document formats (like the X12 850) exchanged in batches, often through a value-added network. APIs exchange data in real time in flexible formats like JSON. Many trading partners still mandate EDI, so most 3PLs support both.
What is a chargeback in EDI compliance?
A chargeback is a fee a retailer deducts from a supplier's payment when a shipment breaks a compliance rule, such as a late or inaccurate ASN, a mislabeled carton, or a missing document. Chargebacks are the main financial penalty for getting EDI and routing-guide compliance wrong.
Ready to compare providers?
Search the directory by service and location, save options to your shortlist, and send a clear RFQ.
Related guides
What Is a WMS (Warehouse Management System)?
A warehouse management system runs the day-to-day work inside a warehouse, from receiving to picking, and it is not the same tool as an ERP or a TMS.
Warehouse Network Design: One Node or Many?
How many warehouse nodes your brand needs, the cost-versus-speed tradeoff, and when a second or third location actually pays for itself.
3PL Pricing Models Explained
A plain-English breakdown of how 3PL pricing works, every fee in the stack, the surcharges that surprise shippers, and how to compare quotes apples-to-apples.
