EDI setup for CPG brands is the least glamorous part of winning a retailer and the most expensive to get wrong. Electronic Data Interchange is the system through which Walmart, Target, CVS, Kroger, UNFI and KeHE send purchase orders and expect acknowledgments, ship notices and invoices back. When the documents do not match the physical shipment, the retailer takes the difference out of your payment. Industry estimates put the total cost of deductions and chargebacks for CPG brands anywhere from 2 to 15 percent of gross sales, and first-year suppliers sit at the expensive end of that range.
Brand Refinery is a CPG consulting firm that helps consumer brands enter the U.S. market and build the supply chain that retailers require. This guide explains what EDI is, which documents matter, how to set it up before your first purchase order, where chargebacks come from, and the operating discipline that keeps them under one percent of sales.
What EDI is and why retailers require it
EDI is a standardized electronic format for exchanging business documents between trading partners. In U.S. retail the standard is ANSI X12, and each document type has a number. A retailer sends an 850 purchase order to your EDI system; your system returns an 855 acknowledgment, then an 856 advance ship notice when the goods leave, then an 810 invoice. The retailer's receiving dock scans the GS1-128 labels on your cartons and matches them against the 856. If everything reconciles, you get paid in full on terms. If it does not, you get a deduction.
Retailers require EDI because it lets a distribution center receive thousands of shipments a day without manual data entry. The compliance rules exist to protect that throughput. From the retailer's point of view, a late ASN or a mislabeled pallet is a cost they incurred because of you, and the chargeback recovers it.
The documents that matter
Most emerging brands need five documents to trade with a major retailer or distributor.
- 850 Purchase Order. The retailer's order, with item, quantity, price, ship-to location and required delivery window.
- 855 Purchase Order Acknowledgment. Your confirmation of what you will ship. If you cannot fill a line, the 855 is where you say so. Silent short-shipping is the single most common cause of first-year chargebacks.
- 856 Advance Ship Notice. The hierarchical description of the shipment: shipment, order, pallet, carton, item. Each carton's GS1-128 label carries an SSCC serial number that must appear in the 856. ASN errors generate more supplier penalties than any other EDI document.
- 810 Invoice. Must match the 850 and the 856 exactly on quantities, unit of measure and price. A price on the 810 that differs from the price on the 850 is a pricing deduction, even if your price list is right and the retailer's item file is wrong.
- 997 Functional Acknowledgment. The technical receipt. A 997 rejection means your document was never accepted, and a rejected 856 counts as a missing ASN.
Some retailers add the 846 inventory advice, 860 purchase order change, 820 remittance advice and 852 product activity data. CVS, for example, lists 846 and 860 for certain programs. Ask each trading partner for its current EDI implementation guide before you build.
How to set up EDI before your first purchase order
Retailers expect EDI to be live and tested before the first order, not after. Here is the sequence.
Step 1: License a GS1 Company Prefix
Your UPCs and your SSCC pallet and carton serials come from a GS1 Company Prefix. GS1 US pricing for a prefix covering up to 10 products is $250 initially and $50 a year to renew; up to 100 products is $750 and $150 a year; up to 1,000 products is $2,500 and $500 a year. A single GTIN costs $30 with no renewal, but you cannot generate SSCCs from a single GTIN, so brands heading into retail need the prefix. Keep the renewal current: a lapsed prefix drops you from the GS1 database and retailers can no longer verify your barcodes.
Step 2: Choose an EDI provider that already connects to your retailers
Web-based EDI from providers such as SPS Commerce or TrueCommerce lets a small brand trade without building integrations. Published entry tiers start around $20 a month, but the real cost is driven by per-trading-partner setup fees and transaction volume; realistic small supplier budgets commonly land in the hundreds of dollars a month once two or three retailers are connected. Ask for a written quote that lists setup fees per partner, monthly fees and per-document charges. Confirm the provider has a pre-built, tested map for each of your retailers, because a custom map is where delays and errors come from.
Step 3: Connect EDI to your order and warehouse systems
A brand shipping from a 3PL needs the 850 to flow into the 3PL's warehouse management system and the 856 to flow back out of it with the real carton and pallet data. Manual re-keying between EDI portal and warehouse is where ASN errors are born. Our guide on 3PL, DSD and warehouse distribution covers what to require from a 3PL on EDI integration.
Step 4: Complete retailer testing
Each retailer runs a test cycle: sample 850s in, sample 855, 856 and 810 out, until every document passes. Budget two to six weeks per retailer. Do not accept a first live order until testing is signed off.
Step 5: Clean your item data
Most pricing and quantity deductions trace back to item data that differs between your system and the retailer's item file: case pack, inner pack, unit of measure, cost. Reconcile your item setup form against your EDI item master before the first 850 arrives.
Where chargebacks and deductions come from
Deductions fall into a few families, and each has a different fix.
Compliance chargebacks penalize a process failure: a late or missing ASN, a label that will not scan, a pallet built to the wrong specification, a shipment outside its delivery window. Walmart's On Time In Full program is the best-known example. Walmart deducts roughly 3 percent of the cost of goods on the non-compliant portion of an order, measured against on-time and in-full thresholds that differ for prepaid and collect freight, and early deliveries count against you as well as late ones. Per-incident compliance fines at other retailers commonly run from about $25 to over $1,000 per violation depending on the retailer and the infraction.
Shortage deductions are the retailer's claim that fewer units arrived than were invoiced. Some are real; many are receiving errors that can be disputed with a signed bill of lading, the 856 and carton-level proof of delivery.
Pricing deductions arise when the 810 price differs from the retailer's item file. The fix is item data hygiene, not a dispute.
Trade and promotional deductions are the retailer or distributor taking agreed allowances, such as manufacturer chargebacks, off-invoice promotions and slotting, out of your payment. The problem is rarely that they exist; it is that they are taken at the wrong rate, against the wrong invoice or twice. Our guide on trade marketing strategy covers how to structure the agreements so they can be audited.
Distributor deductions at UNFI and KeHE deserve their own attention. They include spoils allowances, freight, promotional allowances and compliance fees, and the dispute windows are short and inconsistent across programs. KeHE requires disputes within 180 days through its K-Solve system, with a much shorter window for unauthorized deduction reversals at the dock. UNFI natural channel disputes run through its Dispute Center with a recommended 60-day window. Our UNFI and KeHE onboarding guide explains the fee stack.
The operating discipline that keeps chargebacks under one percent
Well-run brands keep total compliance chargebacks below one percent of retail revenue. They do it with routine, not heroics.
- Acknowledge every PO within 24 hours and flag shorts on the 855. A declared short is a planning problem. An undeclared short is a fine.
- Transmit the 856 before the truck leaves the dock. If the ASN arrives after the truck, the chargeback is nearly automatic.
- Audit labels weekly. Pull five cartons from the line, scan them, and match the SSCC to the ASN. Print quality drifts.
- Reconcile every remittance within five business days. Match each deduction to a reason code, decide whether to accept or dispute, and file disputes inside the window. Unrecovered deductions become permanent faster than most finance teams realize.
- Track deductions as a percentage of gross sales by retailer and by reason code. When one retailer or one code spikes, something changed upstream: a new 3PL process, a carrier, a label printer, a retailer rule.
- Read every retailer compliance update. Fine schedules change. Several retailers have revised ASN and OTIF penalty structures in the past two years, and the version in your onboarding packet may no longer be the one being applied.
What this costs if you ignore it
A brand doing $2 million in retail revenue with first-year deductions at 5 percent is giving up $100,000 a year, most of it avoidable. The same brand at 1 percent loses $20,000. The difference is roughly the cost of a proper EDI integration with the 3PL, a part-time deductions analyst and a label verification routine. Our guide on what it costs to launch a consumer brand in the U.S. puts these numbers alongside the rest of the launch budget.
How Brand Refinery helps
We scope EDI requirements for each retailer in your plan, select and negotiate with the EDI provider, manage the integration with your co-packer or 3PL, run retailer testing, and build the remittance reconciliation and dispute routine that keeps deductions recoverable. For brands already in retail, we audit twelve months of deductions, recover what is disputable and fix the root causes.
If you have a purchase order coming and no EDI live yet, or deductions you cannot explain, book a call with us. You can also read about our services and our team.
This article is general information for brand founders and operators. It is not legal or financial advice. Retailer compliance programs and penalty schedules change frequently; confirm current terms with each trading partner.
Frequently Asked Questions
What is EDI and why do retailers require it from CPG brands?
EDI, or Electronic Data Interchange, is a standardized electronic format for exchanging purchase orders, acknowledgments, ship notices and invoices between a brand and a retailer. U.S. retailers use the ANSI X12 standard and require EDI because it allows their distribution centers to receive and pay for thousands of shipments without manual data entry. Walmart, Target, CVS, Kroger, UNFI and KeHE all require suppliers to be EDI-capable before the first purchase order.
Which EDI documents does a CPG brand need?
Most brands need five: the 850 purchase order from the retailer, the 855 acknowledgment confirming what will ship, the 856 advance ship notice describing the shipment down to carton level with GS1-128 serial numbers, the 810 invoice matching the order and shipment exactly, and the 997 functional acknowledgment confirming each document was accepted. Some retailers also require the 846 inventory advice, 860 order change or 852 sales data.
How much do retail chargebacks cost CPG brands?
Industry estimates range widely, from about 2 percent to 15 percent of gross sales for deductions and chargebacks combined, with first-year suppliers commonly absorbing 3 to 7 percent of retail revenue and well-prepared brands keeping compliance chargebacks under 1 percent. The largest single source of compliance penalties is the 856 advance ship notice: late, missing or inaccurate ASNs generate more fines than any other document.
What is Walmart OTIF and how much is the penalty?
OTIF stands for On Time In Full. Walmart measures whether supplier shipments arrive within the delivery window and with the full ordered quantity, against thresholds that differ for prepaid and collect freight. Shipments that miss the thresholds incur a deduction of roughly 3 percent of the cost of goods on the non-compliant portion of the order. Early deliveries are penalized as well as late ones, and disputes must be filed within Walmart's dispute window.
How much does EDI setup cost for a small CPG brand?
A GS1 Company Prefix for up to 10 products costs $250 initially and $50 a year; larger prefixes cost more. Web-based EDI providers publish entry tiers from about $20 a month, but realistic budgets for a brand connected to two or three retailers commonly run into the hundreds of dollars a month once per-partner setup fees and transaction charges are included. Retailer testing typically takes two to six weeks per trading partner and should be complete before the first live order.