EDI, chargebacks, and the machinery of a big account
How a big retailer runs its inbound supply chain — the EDI documents, the routing guide, the GS1-128 shipping label, and the chargebacks it deducts when you miss — so you can ship to spec and stop losing margin off the top of every invoice.
Chef Diego runs a real food plant. If this page didn't get you there, tell us — a person reads every message.
After this you can open the wall of technical requirements a big retailer hands a
new supplier and know what each one is, why it exists, and what it costs you to
get it wrong. You will be able to read a routing guide, send the electronic
documents the retailer's warehouse expects, put the right barcode on every
carton, and cut the chargebacks that quietly deduct margin off the top of every
invoice.
The account was the easy part
The last lesson
ended with a buyer saying yes. This one starts the morning after, when the
retailer's supply chain takes over and the terms of doing business stop being a
conversation and become a specification.
A big retailer does not receive product the way a small grocer does. Its
distribution center is an automated operation moving millions of cases, and it
does not take a phone call, a friendly email, or a PDF packing slip. It exchanges
fixed electronic documents with your computer, expects a specific barcode on
every carton, and holds you to a delivery window measured in days. None of this
is bureaucracy for its own sake — it is how a machine that big knows what is on
your truck before the truck arrives. And when you break one of its rules, it does
not call to work it out. It deducts. That $18,000 invoice from earlier in this
course that came back as a $15,000 payment was one of these deductions landing.
This lesson is the machinery behind it.
EDI: the retailer's electronic paperwork
The backbone is . A retailer's system cannot ingest a
phoned order or an emailed invoice; it reads structured documents in a set format
and nothing else. In North America that format is the ANSI X12 standard, and each
kind of document is a numbered transaction set. Three of them carry an order from
purchase to payment:
The 850 Purchase Order flows from the retailer to you. It is the order
itself — which distribution center to ship to, the line items and quantities,
and the delivery window. Per ASC X12,
the body that maintains the standard, 850 is the transaction set titled
Purchase Order.
The 856 Advance Ship Notice flows from you to the retailer, sent before
the truck arrives. Its official X12 title is Ship Notice/Manifest, and it tells
the receiving dock exactly what is coming and how it is packed — which cartons,
on which pallets, mapped back to the original purchase order. This is the
, and getting it right is where most first-timers stumble.
The 810 Invoice flows from you to the retailer — the bill, structured so
the retailer's system can match it against the purchase order and the receiving
record automatically. X12 confirms 810 is the Invoice transaction set.
You do not type these documents or send them as email attachments. They move as
EDI, almost always through an EDI service provider or an integration between your
system and the retailer's, because assembling raw X12 by hand is a project in
itself. What matters for you is not the wire format — it is knowing that the
purchase order, the ship notice, and the invoice are three separate electronic
handshakes the retailer requires, each on its own timing.
The routing guide is the rulebook
Every one of those rules lives in one document. A
is the retailer's inbound rulebook, and a large one can run
dozens of pages and change several times a year. It is not optional reading;
almost every chargeback traces back to a line in it that a shipment missed.
The single most important line is the delivery window. Retailers set a
, and the whole
point is that the retailer, not you, decides when your goods should land. Hitting
it means working backward: from the must-arrive-by date, subtract transit time to
that distribution center, and subtract your own production and pack time, and you
have the date you actually have to start. Read the routing guide before your
first shipment, not after your first deduction — because the deduction is how most
operations find out the routing guide existed.
Walmart, for one, publishes its supplier requirements
and states plainly that its supply chain only works when suppliers pack, label,
and ship to the correct specifications. Every large retailer has an equivalent.
Get the specific one for the specific account you signed.
The label on the carton: GS1-128 and the SSCC
In getting into stores
you set up a GTIN — the barcode that identifies one sellable jar at the register.
A big retailer needs a second identifier, one level up: a barcode that identifies
the shipping unit — the carton or the pallet — as it moves through the warehouse.
That identifier is the . Per
GS1 US,
which runs the standard in the United States, the SSCC is an 18-digit code built
on your GS1 Company Prefix, and it is carried in a
on the shipping label.
The label and the ASN are two halves of one system. The ASN says, in effect,
"the unit with SSCC 00-000… holds twelve cases of this product." When the carton
reaches the dock and a worker scans the SSCC on its label, the retailer's system
pulls up the matching ASN and knows the contents without opening the box or
counting anything. That is the whole efficiency of it — scan the license plate,
trust the manifest. Which is exactly why a wrong, missing, or duplicated SSCC is
so costly: it breaks the match, the automated receipt fails, and the shipment
becomes a manual exception the retailer bills back to you.
Chargebacks: the deduction that eats the margin
A is how the
retailer enforces every rule above without ever picking up the phone. This is the
machinery behind the deduction you already met: back in the
model-versus-bank lesson
an $18,000 invoice paid $15,000 after a short-shipment deduction. That was one
trigger. Here is the fuller set a routing guide penalizes:
Late or early — the shipment misses the must-arrive-by window.
A bad ASN — the advance ship notice is missing, late, or does not match
what is physically on the truck.
Wrong or missing labels — a bad SSCC, or a carton label that does not meet
spec.
Short or over shipment — you sent fewer, or more, cases than the purchase
order called for.
Wrong carrier or unapproved routing — you shipped a way the routing guide
did not authorize.
Packaging out of spec — the pack, the pallet, or the carton does not match
what the guide requires.
Each one is a small percentage or a flat fee, and any single deduction looks like
a rounding error. The danger is the aggregate. Across a big account with steady
volume, small deductions on many shipments compound into real money pulled off
the top — and it lands weeks after you shipped, exactly the kind of partial
payment the model-versus-bank lesson warned drifts a forecast away from the bank.
The chargeback is not just a fee. It is a fee that arrives late and unannounced,
against cash you already counted.
OTIF: the on-time, in-full scorecard
The most consequential of these is not a one-off penalty but a running score.
rolls the two most common failures — late and short — into a single supplier
grade. Walmart runs a program it calls exactly that, On-Time, In-Full.
Here the rigor matters. The bar a retailer sets — the percentage of cases you
must land on time and in full — and the size of the fee are the retailer's to set,
and they move. Walmart has revised both more than once. So do not trust a
percentage or a fee figure you read anywhere, including here: read the current
terms in that retailer's own supplier portal, because a number that was right last
year may quietly have changed. What stays true is the shape of it — a high bar, a
fee for every case beneath it, and a score the retailer watches over time. Plan
for the pattern; confirm the numbers at the source.
The real cost of a big account
Put it together and a big account is not simply a bigger version of a small one.
It is a standing compliance obligation. Someone in your operation has to own the
routing guide and its updates, generate a correct ASN for every shipment, print
labels that carry a valid SSCC, work backward from the must-arrive-by date so the
truck lands in the window, and reconcile the deduction reports that come back. The
revenue from a first big purchase order is real — and so is the overhead sitting
underneath it, which is why the win can feel like a loss the first quarter you run
it.
That is not a reason to walk away from the account. It is the reason to price and
forecast for the account you actually signed, deductions and overhead included,
the way the cash lessons earlier in this course taught — so the margin you priced
on is the margin you keep. And it is the reason to treat the routing guide as
setup work you do once, up front, rather than a series of surprises you discover
one chargeback at a time. Many deductions are disputable if you catch them in the
reports, but the cheaper win is never earning them: build your shipping process to
the guide, and most of the fees never happen.