S
Sainsbury's Tradacoms · EDIFACT DESADV · AS2 (direct)
🇬🇧 UK

Sainsbury's EDI,
done properly.

Supply Lens automates the complete Sainsbury's EDI document cycle — purchase orders received, despatch advice and invoices transmitted — with Sainsbury's invoice tolerance rules and location GLN structure built in from day one.

5doc
Message types handled
AS2 direct
Direct connection
99.9%
Uptime SLA
Supply Lens — Sainsbury's Live Flow Live
Sainsbury's PO SB-2025-31042 received 36× 5010251432117 · 24× 5010251432124 · DC Hams Hall PO IN
EANs mapped · depot GLN resolved Hams Hall → GLN 5010251000024 · supplier 8841 matched PROCESSING
Sales order SO-11791 created ERP / IMS · 60 units · ref SB-2025-31042 CREATED
DESADV + INVOIC transmitted via AS2 SSCC PAL-7723 generated · £942.00 · tolerance: ✓ ASN + INV
Sainsbury's-Specific Requirements

Sainsbury's runs its own
EDI infrastructure.

Unlike retailers that route EDI through a shared VAN, Sainsbury's operates its own AS2 endpoint. Supply Lens has a direct AS2 connection to the Sainsbury's network — removing one intermediary, reducing transmission latency, and simplifying the setup path for new suppliers.

Direct AS2 connection

Supply Lens connects directly to Sainsbury's AS2 endpoint rather than via a third-party VAN. This means faster message transmission, fewer dependencies, and a simpler onboarding path — no VAN account required on your side.

Strict invoice tolerance rules

Sainsbury's applies tighter invoice matching than most UK grocers. Price variances above 0% trigger a query hold; quantity variances above ±1 unit require a corrected INVOIC before payment is released. Supply Lens validates before every submission.

Location cross-reference

All Sainsbury's distribution centre codes and GLNs are pre-loaded in Supply Lens. Location cross-referencing is triggered automatically during the order workflow with no depot routing setup required from you.

Product cross-reference

Your products are imported into Supply Lens once. The workflow then resolves Sainsbury's EANs to your internal item codes on every order, including pack-size variants and promotional lines, without any ongoing manual maintenance.

Mixed-syntax flow

Sainsbury's uses Tradacoms for purchase orders (ORDHDR) and EDIFACT for ASNs (DESADV with SSCCs). There is no order response or control acknowledgement in this flow. Supply Lens handles both syntaxes across the same AS2 connection seamlessly.

Invoice Tolerance Rules

Sainsbury's invoice
matching is strict.
Supply Lens checks first.

Sainsbury's operates tighter invoice tolerances than most UK grocers. A price discrepancy of even a fraction of a penny per unit can trigger a payment hold or a deduction. Supply Lens validates every invoice against the originating PO before the INVOIC is transmitted — flagging issues your team can resolve before Sainsbury's finance sees them.

  • Price per unit validated against agreed price list before INVOIC transmission
  • Quantity on invoice checked against DESADV actual shipped quantity
  • VAT treatment and tax codes validated per product line
  • Promotional pricing handled separately — not mixed with standard price lines
  • Discrepancies held in exception queue with full context for your team to review
  • Corrected invoices re-transmitted automatically once approved
Sainsbury's invoice tolerance thresholds
Tolerance type Rule Action
Unit price
0% variance
FLAG & HOLD
Quantity (cases)
±1 unit max
REVIEW
Invoice total
Matches PO value
FLAG & HOLD
VAT treatment
Per product code
AUTO-VALIDATE
Promo vs standard
Separate line items
AUTO-SPLIT
Invoice pre-check
Before transmission
ON
Exception queue
Email + dashboard
ON
Auto-resubmit
On approval
CONFIG
Promo pricing
Separate lines
CONFIG
Document Flow

Every document.
Every direction.
Automatically.

Supply Lens handles the full Sainsbury's EDI message set — inbound and outbound — so no document is ever manually produced, re-keyed, or sent late via the direct AS2 connection.

  • ORDHDR — Sainsbury's purchase orders received and validated (Tradacoms)
  • DESADV — ASN with SSCC pallet references transmitted on dispatch (EDIFACT)
  • INVOIC — Invoice submitted and pre-validated against tolerance rules
  • No order response or control acknowledgement in this flow
  • All messages transmitted via Sainsbury's direct AS2 endpoint
Sainsbury's document cycle
Purchase Order ORDHDR
Sainsbury's AS2
ASN / Despatch Advice DESADV
Sainsbury's AS2
Invoice (pre-validated) INVOIC
Sainsbury's AS2
Location & product cross-reference
Sainsbury's reference Resolved automatically
DC codes & GLNs
Pre-loaded · no setup needed
Product EANs
Resolved during order workflow
Promotional variants
Handled as separate line items
Sainsbury's Edge Cases

The situations that
catch suppliers out.

Sainsbury's invoice and delivery compliance requirements are among the strictest in UK grocery. Supply Lens handles the scenarios that typically generate deductions and payment holds.

"Our invoice was held because the unit price was a fraction of a penny different from the PO."

Sainsbury's applies zero-tolerance price matching. Supply Lens validates the unit price on every INVOIC against the original ORDHDR line before transmission. Any discrepancy — however small — is held and flagged for review rather than sent and deducted later.

"We sent the DESADV to the wrong DC — the delivery was refused at the gate."

Sainsbury's DC GLNs follow a distinct structure and each DC has a specific GLN that must appear in the DESADV. Supply Lens resolves the correct DC GLN from the PO's delivery location reference — wrong-DC despatch advice is not possible once the routing is configured.

"We have promotional pricing running on two lines but standard pricing on the rest of the order."

Promotional and standard prices cannot share an invoice line in Sainsbury's Tradacoms spec. Supply Lens automatically splits mixed orders into separate invoice lines — promotional prices itemised correctly and standard lines invoiced at the agreed rate.

"We didn't realise the ASN had to be EDIFACT when Sainsbury's sends us the PO in Tradacoms."

Sainsbury's operates a mixed-syntax flow — Tradacoms for purchase orders, EDIFACT for ASNs. Supply Lens handles both syntaxes across the same AS2 connection. Your team doesn't need to manage the format difference; the correct syntax is applied automatically per message type.

Getting Set Up

What you need
to go live with Sainsbury's.

Sainsbury's onboarding involves their supplier trading team, your AS2 credentials, and your product and depot data. Supply Lens manages the AS2 connection setup and configuration — you provide the inputs.

  • Sainsbury's supplier number and GS1 GLN
  • AS2 identifier and certificate details (Supply Lens handles the AS2 endpoint)
  • ERP or IMS credentials (Unleashed, CIN7, Enterpryze, or other)
  • Agreed price list for invoice validation rules
  • Sample Sainsbury's POs (real examples where available)
  • Promotional pricing schedule if applicable
Typical delivery timeline
1
Scope
Sainsbury's supplier number, GLN, AS2 details, and ERP credentials received.
2
Configure
EAN cross-reference, DC GLN routing, invoice tolerance rules, and SSCC config built in staging.
3
Test
Test PO processed via AS2 — DESADV and INVOIC validated against Sainsbury's spec.
Go live
Production AS2 connection enabled — first live Sainsbury's PO processed end-to-end.

EDI onboarding includes additional steps for AS2 certificate exchange and live network testing before go-live.

ERP & IMS Connections

Connect Sainsbury's to your back-office system.

Supply Lens routes Sainsbury's POs directly into Unleashed, Enterpryze, or other connected ERPs — with the correct item codes, document series, and DC mapping for each.

Ready to automate
your Sainsbury's EDI?

Direct AS2 connection already in place. No VAN account needed. We handle the Sainsbury's-specific setup — invoice tolerance rules, DC GLN routing, and SSCC configuration — from day one.