Skip to content

EDIFACT INVOIC Sample File: Invoice

Zero-rated UK food invoice with VAT numbers. Valid EDIFACT D:96A:UN:EAN008, explained segment by segment, free to download.

A synthetic file: made-up companies, IDs and amounts, safe to load into a test system.

EDIFACT INVOIC is the UN/EDIFACT invoice, the equivalent of an X12 810. This sample bills order PO4500812 and delivery note DN300455: supplier and buyer VAT numbers in RFF+VA, three lines with quantity, price, line amount and zero-rate VAT, and MOA totals of 394.80 GBP in the summary.

Standard
EDIFACT INVOIC
Version
D:96A:UN:EAN008
Sent by
Supplier to buyer
Segments
40

sample-edifact-invoic-invoice.edi

From 5012345000022 to 5012345000015. Click a line to jump to its explanation.

Open in EDI Inspector
UNA:+.? 'UNB+UNOC:3+5012345000022:14+5012345000015:14+261014:0905+20313'UNH+ME000004+INVOIC:D:96A:UN:EAN008'BGM+380+INV2026-1187+9'DTM+137:20261014:102'DTM+131:20261014:102'RFF+ON:PO4500812'RFF+DQ:DN300455'NAD+SU+5012345000022::9++Hillside Foods Ltd'RFF+VA:GB123456789'NAD+BY+5012345000015::9++Northgate Grocers Ltd'RFF+VA:GB987654321'NAD+IV+5012345000015::9'CUX+2:GBP:4'PAT+1++5:3:D:30'LIN+1++5012345100012:EN'QTY+47:120'MOA+203:138.00'PRI+AAA:1.15'TAX+7+VAT+++:::0+Z'LIN+2++5012345100029:EN'QTY+47:48'MOA+203:115.20'PRI+AAA:2.40'TAX+7+VAT+++:::0+Z'LIN+3++5012345100036:EN'QTY+47:48'MOA+203:141.60'PRI+AAA:2.95'TAX+7+VAT+++:::0+Z'UNS+S'CNT+2:3'MOA+79:394.80'MOA+125:394.80'MOA+124:0.00'MOA+77:394.80'TAX+7+VAT+++:::0+Z'MOA+124:0.00'UNT+37+ME000004'UNZ+1+20313'

INVOIC Sample, Segment by Segment

Every segment and element, with what each code means. The 10 segments with a note are open; open any other to see its elements.

The Same File as a Document

What a person reads once the codes are translated. Download it as a PDF from the menu above.

Invoice

INV2026-1187

Oct 14, 2026

PO number
PO4500812
Type
Commercial invoice
Currency
GBP
Document/message date/time
Oct 14, 2026
Tax point date
Oct 14, 2026
Order number (buyer)
PO4500812
Despatch note number
DN300455
VAT registration number
GB123456789 (Hillside Foods Ltd)
VAT registration number
GB987654321 (Northgate Grocers Ltd)

Supplier

Hillside Foods Ltd

GS1 (GLN): 5012345000022

Buyer

Northgate Grocers Ltd

GS1 (GLN): 5012345000015

Invoicee

GS1 (GLN): 5012345000015

LineUPC / GTINDescriptionQtyUnit priceAmount
15012345100012VAT 0% (category Z)120£1.15£138.00
25012345100029VAT 0% (category Z)48£2.40£115.20
35012345100036VAT 0% (category Z)48£2.95£141.60
Lines
3
Total quantity
216
Merchandise
£394.80
VAT (0%)
£0.00
Total
£394.80

Payment terms: Net 30 days, from date of invoice

About This INVOIC Sample

UK buyers check the VAT detail on every INVOIC: a TAX segment on each line, a tax point date in DTM+131 and VAT numbers for both parties. Most food is zero rated (category Z), so the tax amount is 0.00 but the segments still have to be there.

The summary after UNS repeats the totals: line items, taxable amount, tax and the invoice amount.

For every segment the standard allows and how retailers use them, read the EDIFACT INVOIC guide. To check a file of your own, paste it into the EDI Inspector, or browse all 22 EDI sample files.

Related Sample Files

Frequently Asked Questions

What is a EDIFACT INVOIC?

EDIFACT INVOIC is the UN/EDIFACT invoice, the equivalent of an X12 810. This sample bills order PO4500812 and delivery note DN300455: supplier and buyer VAT numbers in RFF+VA, three lines with quantity, price, line amount and zero-rate VAT, and MOA totals of 394.80 GBP in the summary.

Can I use this EDIFACT INVOIC sample to test my system?

Yes. It is a complete, valid EDIFACT file of 40 segments with made-up companies, IDs and amounts. Download it as .edi or .txt, load it into your translator or ERP test environment, and change the sender and receiver IDs to your test IDs if your system routes by them.

How do I check my own EDIFACT INVOIC file?

Paste it into the free OrderSync EDI Inspector. It names every segment and element, checks the envelope counts and control numbers, tests GS1 check digits, and points at the exact segment a trading partner would reject. Nothing is uploaded: the file is read in your browser.