All guides

EDI 940 warehouse shipping order and 945 shipping advice

An EDI 940 is a warehouse shipping order. A company that owns stock sends it to a warehouse or 3PL to say “pick this and ship it.” The warehouse answers with an EDI 945, the warehouse shipping advice, once the goods have left. Together they are how your order system and your 3PL agree on what shipped. Your 3PL’s implementation guide decides the exact fields, so treat anything below as a general outline.

What is an EDI 940 and how does it differ from an 850?

An 850 is a purchase order from your customer to you. A 940 is your instruction to your warehouse. Zenbridge’s 3PL guide describes the usual flow this way: a seller sends a 940 to a 3PL when it receives an 850 from a buyer, and receiving the 940 starts the shipment process in the warehouse.

So the 940 is often built from an 850 you have already received. The people on each side differ. The 850 is between you and a customer. The 940 is between you and a warehouse. The 945 is also between you and the warehouse, not the customer.

What segments are in a 940?

Files.com’s 940 reference describes these segments:

Segment What it does
W05 Identifies the shipping order: its status, your order number and the customer PO number.
N1 Names the parties, typically the ship-to and depositor, and sometimes the bill-to.
G62 Gives the requested ship or delivery date.
W66 Gives warehouse carrier details: carrier, service level and payment terms.
W01 Describes a line item to ship, with quantity, unit and product identifiers.
W76 Gives order totals, such as units and, where used, weight and volume.

Orderful’s 3PL documentation has a similar page. It lists the sales order number, customer PO number, ship date, delivery windows and the ship-to address, plus line detail such as UPC, SKU, quantity and unit of measure. Files.com says a partner’s implementation guide determines which segments are required, so do not assume every 3PL wants all of them.

What does the 945 send back?

Orderful describes the 945 as the message that “confirms shipment and provides tracking.” Per its documentation, it carries:

  • The depositor order number, which links back to the original order.
  • The actual ship date and carrier information.
  • A carton loop with the SSCC (the shipping container code) and tracking number, with optional dimensions and weight.
  • Item detail in the W12 segment: matching product identifiers, shipped quantity and carton assignment.

Files.com’s 945 reference adds that the W06 segment carries the shipment ID, the depositor order number, the ship date and the customer PO, and that W03 gives totals for units, weight and volume. It also notes that the quantity shipped can differ from the quantity ordered when stock is short.

Zenbridge puts the goal simply: a shipment is complete when you receive an accurate 945 for every 940 you send.

How do you match a 945 to the right order?

Matching is the core of the job. Orderful’s example integration shows one approach. The 945 is validated against the sales order, and items are matched by UPC, SKU or PO line. Then a fulfillment is created and tracking is added in the order system.

You can follow the same idea in any system:

  1. Match on the order number first. Use the depositor order number on the 945 to find the original order.
  2. Match each line. Compare the product identifier on each W12 line with the lines you sent in the 940.
  3. Compare quantities. Flag any line where shipped is not equal to ordered. A short ship is normal sometimes, but someone should see it.
  4. Attach tracking. Store the carton and tracking numbers so customer service can answer “where is my order?”
  5. Close the loop. Only mark the order shipped once the 945 matches. If no 945 arrives, treat the order as open, not done.

What goes wrong between a 940 and a 945?

These are common failure points. The first two follow from the matching steps above:

  • No 945 at all. The 940 was sent, but nothing came back. Someone needs to chase the warehouse.
  • A 945 that does not match. The order number is missing or the SKU is not one you sent.
  • A short ship that nobody reviews. The quantity differs and the customer is billed for the full amount.
  • A late change. The customer changes the order after the 940 has gone. See our post on the EDI 860 purchase order change for that case.

Also keep the technical receipts. A 997 functional acknowledgment tells you a file was received and read, but not that the goods shipped. Only the 945 says that.

Where Dockmend fits

Dockmend is being built to help operations teams compare shipping advices against the orders they sent and flag the ones that do not match for a person to review. It is still being built, and we have not announced support for any particular EDI network, ERP or warehouse system. Join the waitlist

This guide is general information, not legal or compliance advice. EDI segments, codes and requirements vary by trading partner, version and implementation guide, so check your partner’s guide before you build or change anything.