M
Marks & Spencer Network routed · Food, Clothing and Home Last reviewed: August 2026
🇬🇧 UK Network

M&S EDI,
working in the background.

Supply Lens automates the Marks & Spencer supplier document cycle. Purchase orders and order changes in, invoices out, mapped to your ERP or IMS with the right depot codes, supplier IDs and M&S tolerance rules built in.

Orders in
Purchase orders handled automatically
Every M&S purchase order lands in your ERP without manual intervention
Network managed
No account needed on your side
M&S route through a managed network, and we hold that relationship for you
Changes tracked
Order amendments applied automatically
M&S revise orders after raising them, and each change updates the order in your ERP
99.9%
Uptime SLA
Monitored around the clock, helping keep documents within transmission windows
Supply Lens · M&S Live Flow Live
M&S PO MNS-2026-33518 received via managed network · 24× line A · 48× line B · depot routing resolved PO IN
EANs mapped · location resolved Depot code matched · supplier code confirmed · pricing applied PROCESSING
Sales order SO-28461 created ERP / IMS · 72 units · ref MNS-2026-33518 CREATED
Order change received Line 2 quantity revised to 36 · sales order updated in place AMENDED
Invoice transmitted to M&S £4,918.75 · validated against revised PO · confirmed received SENT
M&S-Specific Requirements

Orders in, changes applied, invoices out.
The detail is in the rules.

M&S looks straightforward on paper. The work is in the supplier and depot codes, the tolerance rules on every invoice and the order changes that arrive after the original has already been actioned. Get any of it wrong and you eat a deduction. Supply Lens is configured for those rules out of the box.

Network managed connection

M&S receive supplier documents through a managed network rather than a point-to-point link. Supply Lens holds that network relationship, the routing and the partner profile on your behalf, so you need no account, subscription or gateway of your own.

Order changes handled in place

M&S revise orders after they have been raised, sometimes more than once. Supply Lens matches each change to the original order and updates it in place rather than creating a duplicate, so your warehouse picks against the current quantities and your invoice matches what M&S expects to pay.

EAN to item code mapping

M&S identify products by GS1 EAN and their own article reference. Supply Lens maintains a cross-reference table mapping both to your item codes, so the order lands correctly in your ERP regardless of which identifier M&S send.

Invoice tolerance rules

M&S apply strict invoice matching on price and quantity. Supply Lens validates the invoice against the current version of the order, including any changes received, and your agreed cost list before transmission, flagging discrepancies rather than sending and risking a deduction later.

Depot routing

Each M&S purchase order names a destination depot by code. Supply Lens maps every active M&S location to the correct routing in your warehouse system, so the order lands against the right depot in your ERP without manual intervention.

Cost list and pricing rules

Your agreed M&S cost list is registered in Supply Lens. Promotional pricing, cost changes and tier breaks are applied automatically when an invoice is generated, so the price M&S see always matches what was agreed and the invoice clears their matching process first time.

Document Flow

Every document.
Every direction.
Automatically.

Supply Lens handles the full M&S document set inbound and outbound, so documents are produced and transmitted automatically, without manual rekeying.

  • Purchase orders received and validated against your supplier profile
  • Invoices pre-validated against the current order version and your agreed M&S cost list before transmission
  • Order changes matched to the original order and applied in place, with no duplicate records created
  • Tolerance, depot and pricing rules applied per message automatically
  • All M&S-specific document structures generated and read correctly without your team seeing the format
M&S document cycle
Purchase Order INBOUND
M&S
Order change INBOUND
M&S
Invoice (pre-validated) OUTBOUND
M&S
What's mapped automatically
M&S reference Resolved automatically
Depot location codes
Pre-loaded
Product EANs and M&S article references
Resolved per order
Cost list and promotional pricing
Applied per line
Tax and currency
UK VAT, GBP
Configuration

Configured for M&S.
Connected to your
system.

Supply Lens holds M&S's rules and the network relationship so you don't have to. Your team provides credentials, product mappings and the agreed cost list. Everything else lives in the Supply Lens layer.

1

M&S supplier onboarding

Your M&S supplier code, GLN and trading partner profile registered on the network. Supply Lens manages the routing and identifiers, so there is no account or setup needed your side.

2

EAN and article cross-reference

M&S EANs and article references mapped to your item codes. Pack-size variants, promotional lines and multi-pack SKUs are handled automatically once their cross-reference is established.

3

Depot routing and entity mapping

Each M&S depot code mapped to your correct warehouse, customer account or entity in your ERP, so orders route cleanly to the right despatch point on receipt.

4

Tolerance, pricing and changes

Your agreed M&S cost list registered for invoice validation. Tolerance rules applied per supplier agreement, and order changes matched to the order they revise, so discrepancies surface your side first.

EAN → item code cross-reference
M&S reference Your item code
50142880031001 AMB-BEAN-400G
50142880031002 AMB-SOUP-400G
50142880031003 CHL-CHED-200G
prd:6620418-A SUPP-MS-6620418
Order ingest
Network routed
ON
SO creation
On PO ingest
ON
Order changes
Applied in place
ON
Invoice out
On despatch
ON
Cost list
Per-line pricing
ON
Exception queue
Email + dashboard
CONFIG
M&S Edge Cases

The situations that
catch suppliers out.

Supply Lens handles the scenarios that typically cause invoice rejections, deductions or document mismatches in the M&S flow.

"M&S changed an order after we had already picked it and the invoice was rejected."

Each change is matched to the order it revises and applied in place, so there is one live version at all times rather than an original and a contradiction. Your warehouse picks against current quantities and the invoice is validated against the revised order, which is what M&S match against at their end.

"M&S deducted against an invoice because the unit price was a few pence off the agreed cost list."

Invoice values are validated against the current order and your agreed M&S cost list before submission. Discrepancies are flagged before the invoice is sent, giving your team a chance to correct or query rather than receive an M&S deduction weeks later.

"We never know whether the order we are picking is the latest version M&S sent."

Every change is applied to the order in your ERP as it arrives, and the revision is visible on the order itself. There is no separate queue to check and no second document for your team to reconcile by hand. What is in your ERP is what M&S last sent.

"A new M&S EAN started arriving and our system rejected the order because the product wasn't mapped."

Unrecognised EANs go to an exception queue immediately. The order is held, your team is notified with the full M&S context, the mapping is added and the order is re-triggered. No silent drop, no late invoice, no missed delivery window.

Getting Set Up

What you need to
go live with M&S.

M&S onboarding involves their supplier team, the network routing setup and your internal product and pricing data. Supply Lens manages the configuration, the gateway and the format conversion. You provide the inputs.

  • M&S supplier code and any associated GLNs
  • Product EAN list with your internal item codes
  • M&S article reference cross-reference where used
  • Active depot routing confirmation
  • Agreed M&S cost list for invoice validation
  • How order changes should be applied where stock is already committed
  • ERP or IMS credentials (Unleashed, Enterpryze or other)
  • Sample M&S purchase orders and change messages where available
  • Tolerance rules confirmation per supplier agreement
Typical delivery timeline
Day 1

Supplier data & credentials

M&S supplier code, GLNs, ERP credentials and cost list received

Day 2–3

Mappings built

EAN cross-reference, depot routing and pricing configuration completed in staging

Day 4–5

End-to-end test

Test purchase order processed, a change applied and invoice generated, validated against M&S's specification

Live ✓

Go live

Production enabled, first live M&S purchase order processed end-to-end

ERP & IMS Connections

Connect M&S to your back-office system.

Supply Lens routes M&S purchase orders directly into Unleashed, Enterpryze or other connected ERPs with the right item codes, document series and depot routing.

Ready to automate
your M&S EDI?

Most suppliers are live within five days. No long contracts, nothing to set up on your side. We handle the M&S-specific configuration, you confirm the mappings.