X12EDIFACT3PLWarehouseStandards

Warehouse EDI: 940, 943, 944, 945, RECADV & INVRPT

The EDI messages exchanged between a stock owner and a warehouse or 3PL: X12 940, 943, 944, 945 and 846, EDIFACT RECADV and INVRPT, who sends each and when.

By the FTP EDI team 7 min read

In short: retailer EDI runs between a supplier and a retailer. Warehouse EDI runs between whoever owns the stock and whoever stores it. Four X12 messages cover the cycle: 943 says stock is coming, 944 confirms what arrived, 940 asks for an order to be shipped, 945 confirms what left. The 846, and in EDIFACT the INVRPT, report what is in stock. RECADV is the EDIFACT receiving advice. Many UK warehouses carry the same information in CSV or XML files instead.

Two parties, four moments

Warehouse messages use the vocabulary of public warehousing. The depositor owns the goods: a brand, an importer or a manufacturer. The warehouse stores and ships them, and is often a 3PL. Between them there are four moments that need a message:

MomentDirectionX12EDIFACT equivalent
Stock is on its way to the warehouseDepositor to warehouse943DESADV
The warehouse has received itWarehouse to depositor944RECADV
Please ship this orderDepositor to warehouse940INSDES
The order has shippedWarehouse to depositor945DESADV

A fifth, on a schedule rather than an event, reports the stock position: X12 846 or EDIFACT INVRPT.

The X12 warehouse set

943 Warehouse Stock Transfer Shipment Advice

Sent by the depositor to tell the warehouse that stock has been shipped to it: which products, how many, and ideally which pallets with their batch and date. It is the warehouse’s pre-advice. Glossary: X12 943.

944 Warehouse Stock Transfer Receipt Advice

Sent by the warehouse once the delivery has been received. It states what was actually received against the 943, including shortages, overages and damage. The depositor uses it to update its own stock and to raise any claim against the carrier or supplier. Glossary: X12 944.

940 Warehouse Shipping Order

Sent by the depositor to instruct the warehouse to ship an order: the delivery address, the lines and quantities, the required date and any special instructions. For a supplier trading with retailers, the 940 is how the retailer’s purchase order reaches the warehouse floor. Glossary: X12 940.

945 Warehouse Shipping Advice

Sent by the warehouse when the order has been despatched. It confirms what was shipped, on which pallets, with which batches and dates, and by which carrier. This is the message the depositor needs in order to send an ASN to its own customer and to raise the invoice. Glossary: X12 945.

846 Inventory Inquiry/Advice

A report of stock on hand by product, often with batch, date and status. Warehouses send it to depositors on a schedule, and suppliers also send it to retailers and marketplaces to advertise availability.

The EDIFACT messages

RECADV, receiving advice

The EDIFACT message that confirms what was received against a despatch advice or an order. Retailers send RECADV to suppliers after a delivery, and it is the basis for an invoice that matches what was accepted. A warehouse can send one to a depositor for the same reason. Glossary: RECADV.

INVRPT, inventory report

The EDIFACT stock report: quantities by product, and where needed by batch, date and status, as at a stated time. It does the job of the X12 846. Glossary: INVRPT.

DESADV and INSDES

EDIFACT has no warehouse-specific despatch messages in everyday use. The despatch advice, DESADV, is used in both directions: as the pre-advice into the warehouse and as the confirmation out of it. INSDES, the instruction to despatch, exists for the job the 940 does, though in the UK that instruction is far more often a file in the warehouse’s own format.

How they relate to retailer EDI

A supplier that uses a 3PL sits in the middle of two conversations.

  1. The retailer sends a purchase order (EDIFACT ORDERS, Tradacoms ORDHDR, X12 850).
  2. The supplier, or its EDI platform, turns that into a shipping order for the warehouse (940 or a file).
  3. The warehouse picks, despatches and confirms (945 or a file).
  4. The confirmation becomes the retailer’s ASN (DESADV, DELHDR or 856), with the pallets, batches and dates the warehouse reported.
  5. The retailer’s receiving advice or proof of delivery comes back, and the invoice follows.

Steps 2 and 3 are where rekeying usually creeps in, and where an ASN stops matching the pallets. The ASN guide explains why that match matters, and EDIFACT vs Tradacoms vs X12 covers the retailer side of the standards.

What a good confirmation contains

Whatever the format, a despatch confirmation that can drive an ASN needs:

  • the order reference the retailer will recognise;
  • each pallet’s SSCC;
  • for each pallet, the product, quantity, batch and best-before or use-by date;
  • what was short, and why;
  • the despatch date and time, and the carrier.

A confirmation that only gives totals per line forces someone to reconstruct the pallets afterwards.

Do UK warehouses really use these?

Some do, usually where the depositor already trades in X12 or EDIFACT and wants the warehouse to do the same. Many others exchange the same information as CSV, XML or fixed-width files over SFTP, or through an API, in a layout particular to the warehouse system. The content is what matters. If you can name which of the four moments a file represents, you can map it. See custom EDI file formats.

How FTP EDI helps

FTP EDI translates between retailer EDI and whatever the warehouse speaks, so that neither side needs to change.

Next step

Ready to stop worrying about EDI?

Tell us who you trade with and what you ship. We'll come back with a plan, a price and a go-live date within one working day.

Set-up
No software to install
Go-live
Live in days
Support
UK-based support