Invoicing

Invoices built from what actually shipped, matched and acknowledged

Short-pays and debit notes start with an invoice that disagrees with the delivery. FTP EDI builds the invoice from the acknowledged ASN and the retailer's receipt, then sends it in whichever format they need.

The problem

The invoice is the last document and the first to be disputed

Finance invoices from the order because that is what the accounts system knows about. The warehouse shipped something slightly different and the depot accepted less again. Three numbers, one payment.

The retailer pays the lowest and sends a debit note. Someone spends an afternoon reconstructing what happened from emails and the EDI mailbox, weeks after the delivery.

If the invoice is generated from the delivery, checked against the receipt and held until both are known, the numbers agree before anyone has to argue about them.

The order for 300 cases, the ASN for 288 and the depot receipt for 284 are matched line by line. The invoice is held until the receipt is known, then raised for 284 cases and a shortage of 4 refused cases is flagged.

Order 300 cases ASN 288 cases Receipt (EPOD) 284 cases Match Ordered 300 Shipped 288 Received 284 held until receipt known matched · invoice released Invoice 284 cases Shortage flag 4 cases refused
Source documents Invoice Exception

How it works

From receipt to acknowledged invoice

  1. STEP 01

    Delivery is confirmed

    The ASN is acknowledged and, where the retailer sends one, the receiving advice or EPOD comes back with the quantities actually accepted.

  2. STEP 02

    Invoice is built from what was received

    FTP EDI takes the delivered quantities, applies the prices and terms from the order and generates the INVOIC, INVHDR or 810 in the retailer's format.

  3. STEP 03

    Checked, sent, acknowledged

    The invoice is run through the retailer rules, held if the ASN is still open, sent when clear and the acknowledgement is matched. Queries are flagged against the delivery.

What you get

Invoices that agree with the delivery

01

Three-way match before sending

Order, ASN and receipt are compared line by line. Differences are shown before the invoice goes, not in a debit note.

02

Retailer invoice formats

EDIFACT INVOIC, Tradacoms INVHDR with batched trailers and X12 810, including retailer-specific references and tax handling.

03

Hold until delivered

Invoices for open ASNs are held automatically and released when the receipt or acknowledgement arrives, or on a timer you set.

04

Credit notes and corrections

Shortages and refusals from the RECADV or EPOD generate credit notes in the same flow, referencing the original invoice.

05

Finance system export

Sent invoices are pushed to your accounting system or ERP by API or file, with the retailer references attached.

06

Dispute evidence

Order, ASN, MDN, receipt and invoice in one export when a retailer short-pays or queries a delivery.

Invoice templates

The same invoice as EDI, as a PDF and by email

A retailer wants an INVOIC or an 810. A wholesaler wants a PDF in their inbox. Both should come from one invoice record, so the figures cannot differ.

Invoice templates let you decide how the printed invoice looks: logo, addresses, order references, a batch column, the VAT summary, bank details, terms and a remittance slip, each a block you switch on and place.

The template only changes the layout. Quantities, prices and tax come from the same record that produced the EDI message, and the PDF is emailed to the contacts you choose with the same audit trail.

Try it with the sample invoice: toggle a block and the layout changes while the totals stay put.

Staged releaseInvoice templates with PDF and email delivery are being released in stages. EDI invoices in INVOIC, INVHDR and 810 are available today. Talk to us.

More about templates

An interactive invoice template designer. Switching blocks such as the logo, delivery address, batch column, VAT summary, bank details and remittance slip on or off changes the layout of a sample invoice. The figures on the invoice do not change, only what is shown.

Blocks
Accent colour

Invoice preview · sample data

Fenland Foods Ltd

Unit 4, Drove Road, Ely

Invoice

INV-10482

24 November 2026

Invoice to

Example Retailer plc

Accounts Payable, Leeds

Delivered to

Example Retailer RDC

Depot 12, Doncaster

PO
4471082
Delivery note
DN-20931
Delivered
23.11.26
Code Description Batch Qty Price Net
OD-1L6 Oat Drink 1L, case of 6 L26322 48 7.20 345.60
AB-250 Almond Butter 250g, case of 12 L26318 30 21.60 648.00

Bank details

Sort code 00-00-00 · Account 00000000

Terms

Payment due 30 days from invoice date

Net
£993.60
VAT, zero rated
£0.00
Total
£993.60

Remittance advice

INV-10482 · Example Retailer plc · £993.60

Retailers

Invoice rules by retailer

Tradacoms trailers, EDIFACT tax segments, X12 810 references: each retailer checks invoices differently. The template carries the rules.

EDIFACT
Tesco

EDIFACT D96A orders, ASNs and invoices, with the ASN mandatory for every palletised load and EPOD replacing paper TRNs.

Requirements
TradacomsEDIFACT
Sainsbury's

Tradacoms orders, delivery notes and invoices, with EDIFACT DESADV available for ASN-enabled depots.

Requirements
EDIFACT
Lidl GB

EDIFACT D96A with strict PO number patterns, best-before on every DESADV line and an approved pallet label specimen.

Requirements
X12
Amazon UK

ANSI X12 4010: 850 orders, 855 acknowledgements, 856 ASNs and 810 invoices with 997 functional acknowledgements both ways.

Requirements
EDIFACT
Boots

EDIFACT D96A orders, ASNs and invoices with GS1 logistic labels and a standard UK delivery note.

Requirements
EDIFACT
Morrisons

EDIFACT D96A orders, ASNs and invoices with GS1 pallet labels and per-depot pallet rules.

Requirements
EDIFACT
Aldi

EANCOM D.01B orders, despatch advices and invoices through OpenText, with a valid ASN required before an inbound delivery can be received.

Requirements
Co-op

Purchase orders, ASNs, invoices and credit notes by EDI into Co-op's SAP system, with strict ASN cut-offs for chilled and direct to store orders.

Requirements
Ocado

An EDI ASN for every delivery, sent once loading is complete and within 20 minutes of the vehicle leaving, with an SSCC label on every pallet.

Requirements
Tradacoms
B&Q

Tradacoms 9 purchase orders, handling-unit ASNs and invoices, with a separate message guide for each delivery route into B&Q.

Requirements
M&S Food

EDI purchase orders and an ASN for every outbound vehicle carrying all SSCC and tray end label information, per the M&S Food logistics handbook.

Requirements
EDIFACT
John Lewis

EANCOM D96A despatch advice, sent once the goods are despatched, for premium beauty and cross-docked suppliers.

Requirements

Questions

Invoicing questions

Why should the invoice come from the delivery rather than the order?

Retailers pay against what they received. If your invoice is built from the order and the depot refused two pallets, the invoice is wrong and it will be queried or short-paid. Building from the ASN and the receipt removes the gap.

Does Sainsbury's need a Tradacoms invoice?

Yes. Sainsbury's invoices are Tradacoms INVHDR messages, batched per transmission with the correct trailer totals. FTP EDI generates them from the same delivery data that produced the DELHDR. See Sainsbury's requirements.

How do Amazon 810 invoices avoid short-pay?

The 810 has to reference the 850 and match the 856 quantities and the ASIN or EAN identifiers. FTP EDI matches all three before sending and generates the 997 exchange automatically. See Amazon UK requirements.

Can I still send PDF invoices to some customers?

Yes. Partners that do not trade by EDI can receive a PDF invoice by email from the same document, one invoice per email where the retailer requires it, with the same audit trail.

Next step

Ready to stop arguing about invoices?

Tell us who you trade with and what you ship. We'll come back with a plan, a price and a go-live date within one working day.

Set-up
No software to install
Go-live
Live in days
Support
UK-based support