◆Fulfillment LedgerCreate project brief
Home › Buyer guides · Updated 2026-11-09

EDI and Retail Compliance: What a 3PL Must Handle for B2B Orders

The EDI documents retailers expect, the labeling and routing rules behind chargebacks, and how to check a 3PL can ship to big-box retail.

Selling to retailers means exchanging orders, shipment notices and invoices by EDI (usually X12 documents such as the 850 purchase order, 856 advance ship notice and 810 invoice) and shipping cartons and pallets exactly as each retailer's routing guide requires, with GS1-128 labels. Mistakes lead to chargebacks deducted from your invoices. A 3PL doing B2B must exchange warehouse EDI with you or your EDI provider (940 shipping orders, 945 shipping confirmations) and follow each retailer's rules [1][2]. Fulfill.com names EDI as the biggest single driver of 3PL setup costs [3].

Key takeaways

  • Retailer EDI: 850 PO in, 855 acknowledgment, 856 ASN and 810 invoice out.
  • Warehouse EDI: 940 tells the 3PL what to ship; 945 confirms what shipped; 943/944 cover stock transfers and receipts.
  • Labels: GS1-128 shipping labels carrying an SSCC must match the ASN.
  • Cost: B2B pick and pack averaged $4.80 per order in the 2025 survey; EDI set-up is priced separately [3].

The EDI documents in a retail order

Transaction set numbers from the X12 standard [1]; which ones a retailer requires is set in its supplier requirements.
X12 documentNameWho sends itPurpose
850Purchase orderRetailer → brandWhat to ship, where and when
855PO acknowledgmentBrand → retailerAccept, change or reject lines
940Warehouse shipping orderBrand (or EDI provider) → 3PLInstruct the warehouse to ship
945Warehouse shipping advice3PL → brandConfirm cartons, quantities, tracking
856Advance ship notice (ASN)Brand or 3PL → retailerDescribe the shipment carton by carton before it arrives
810InvoiceBrand → retailerBill the retailer
846Inventory inquiry / adviceBrand → retailer, or 3PL → brandShare available stock
943 / 944Stock transfer shipment / receipt adviceBrand ↔ 3PLAnnounce and confirm inbound stock
997Functional acknowledgmentBothConfirm a document was received

Retail compliance beyond EDI

  • Routing guide: how to book carriers, consolidate, palletize and schedule appointments.
  • Labeling: GS1-128 carton and pallet labels with an SSCC that matches the ASN [2].
  • Packing rules: case packs, inner packs, pallet height and weight, stretch wrap, corner boards.
  • Timing: ship windows and ASN deadlines (often before the truck leaves).
  • Chargebacks: deductions for late ASNs, wrong labels or missed windows, set in each retailer's vendor manual.

Send every 3PL the same brief

The scoping assistant captures order profile, SKUs, special handling and integrations so quotes are comparable.

Open the scoping assistant Compare quotes in the worksheet →

How to check a 3PL can handle retail

  • Which retailers do you ship to today, and can we see a recent routing-guide compliance record?
  • Do you exchange 940/945 EDI directly, through our EDI provider, or by API?
  • Who generates the 856 ASN and the GS1-128 labels, and how do you make sure they match?
  • How do you handle case-pack and pallet-build requirements and appointment scheduling?
  • Who pays a chargeback caused by a warehouse error? Write the answer into the contract (see contract red flags).
  • What do EDI set-up, mapping per trading partner and B2B pick fees cost?

B2B and DTC orders often share inventory. See B2B fulfillment services and price your mix with the cost calculator.

FAQ

What is EDI compliance?

Exchanging orders, shipment notices and invoices with a retailer in the electronic formats it requires (usually X12), and meeting its deadlines and data rules.

What is an EDI 856?

The advance ship notice (ASN): a carton-by-carton description of a shipment sent to the retailer before the goods arrive. It must match the GS1-128 labels on the cartons.

What are EDI 940 and 945?

Warehouse documents: the 940 tells the 3PL what to ship, and the 945 confirms what was shipped.

What is a retail chargeback?

A deduction a retailer takes from a supplier's invoice for breaking its compliance rules, such as a late ASN, wrong label or missed delivery window.

How much does B2B fulfillment cost at a 3PL?

The 2025 survey average was $4.80 per B2B order for pick and pack, with EDI set-up and trading-partner mapping priced separately [3].

Sources

  1. X12 — EDI standards body (transaction sets 850, 856, 810, 940, 945 and others)
  2. GS1 US — barcodes, GS1-128 labels and SSCC for logistics units
  3. We cover this in detail in Apparel 3PL: What Clothing Brands Need From a Fulfillment Partner.

Related guides and tools

Explore services · All guides · All tools