Let me start with the conclusion: EDI 940 945 warehouse messages are not hard because files move. They are hard because two companies read the same file differently. The 940 is the brand telling a 3PL what to ship. The 945 is the warehouse telling the brand what actually shipped. If quantity, SKU identity, or timing means something slightly different on each side, go-live looks clean and reconciliation falls apart on day three.
I have seen this exact pit three times. In 2024, in Ontario, California, I took a 3PL live for an apparel brand shipping 600 to 900 orders a day. Testing looked perfect. 940s came in, 945s went back, everyone signed off. On the third live day the brand's finance team called: more than 40 shipments still showed as unshipped in their system, even though the warehouse had sent them. The cause was units. The 940 carried quantities in eaches. Pickers confirmed in cases. The 945 went back in cases, and the brand tried to close orders in eaches. A case of 12 could never reconcile. No file was lost. The meaning was lost.
How EDI 940 945 warehouse messages actually flow
Strip it down and there are only four steps, and each one needs an audit trail:
- The brand's system creates the 940 with order number, ship-to address, SKU, planned quantity, and ship-by time, and sends it through its provider or a direct connection. Check the partner's current requirements on the official documentation before you lock any mapping, because partners update their guides.
- The 3PL's WMS validates before it creates work: Is the SKU in master data? Is the address complete? Has this order number already arrived? Anything that fails goes to an exception queue, not straight to the floor.
- The warehouse picks, checks, packs, and weighs. The shipped quantity, carton count, and carrier details get locked in the WMS.
- The WMS builds the 945 from what actually shipped, not what was planned, and the brand closes the order and notifies the customer from that.
Here is the counter-intuitive call: a late 945 is better than a fast, wrong one. On a home-goods project in New Jersey in 2023, the warehouse fired the 945 the moment packing finished, because a fast confirmation looked good in reports. A few cartons then got rejected at carrier handover and came back to the pack bench, but the 945 had already told the brand they had shipped, and customers had already received shipping notices. We changed the trigger to packing plus weight plus carrier handover scan. Complaints dropped fast. Slower was more honest.
Where the 940 and the 945 stop matching
Use this table in your mapping workshop and argue about every row before go-live, not after:
| Mismatch point | On the 940 side | On the 945 side | What breaks |
|---|---|---|---|
| Quantity unit | Ordered in eaches | Confirmed in cases or pallets | Closure quantities never match |
| SKU identity | Brand item number | Warehouse barcode or vendor number | Orders fail or wrong stock ships |
| Changes and cancels | Revised 940 resent | Warehouse still picks the old version | Double shipment or cancelled order ships |
| Partial shipment | Whole order planned at once | Order actually leaves in two parcels | Brand reads it as a short shipment |
| Address and service | Address truncated in a field | Carrier service differs | Delays, returns, freight disputes |
The second case I warn every client about happened near Dallas, Texas, in 2025, with a beauty brand that had only a few hundred SKUs. It looked easy. The 940 used the brand's internal item numbers. The WMS held outer-case barcodes, and the first digits differed. The test file had 20 SKUs and all of them matched. After go-live, the long tail arrived, dozens of orders a day landed in the exception queue, and the team survived a week on manual fixes. That is why my go-live eve checklist now says master data comparison is full-population, never a sample. Build the cross-reference table first. Argue about the launch date second.
Change orders are the sneakiest problem. The brand changes a quantity and resends a 940 with the same order number. If your WMS deduplicates on order number alone, it swallows the second file as a duplicate and the floor ships the old instruction. Decide the rule in writing before testing: a resent order overwrites, appends, or gets rejected. Pick one. Put it in the mapping document and have both sides sign it.
The go-live eve checklist for EDI 940 945 warehouse messages
Do not accept "integration testing passed" as a sentence. Work this list item by item:
- Full SKU cross-reference run completed, with a named owner for every exception.
- Quantity unit confirmed per category: eaches, cases, sets, with exceptions flagged.
- Five real scenarios tested end to end: normal order, partial shipment, cancellation, quantity change, and out-of-stock. Read the actual 945 content for each one.
- The 945 trigger point fixed in writing: which warehouse action creates it, who can resend it manually, and how a resend avoids double-closing an order.
- A daily reconciliation time agreed: yesterday's 940s against yesterday's 945s, a clear threshold for what counts as a discrepancy, and a named person who works it.
- Failure and retry behavior tested: where files queue when the connection drops, and whether recovery creates duplicate orders.
In the end, EDI 940 945 warehouse messages succeed or fail on the mapping document, not on how expensive the connection is. If you go live tomorrow, run all five test orders tonight. If one is missing, do not sign.
By Lin Xiao, WMS Implementation Consultant








