Skip to content

TRADACOMS Invoice Sample File (INVFIL)

Invoice file with VAT and file trailers. Valid TRADACOMS INVFIL version 9, explained segment by segment, free to download.

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

A TRADACOMS invoice file carries one or more invoices with VAT and file totals. This sample has four messages: the INVFIL header, an INVOIC for order PO4500813 with two zero-rated ILD lines, a VATTLR VAT summary and an INVTLR file trailer. Amounts use four implied decimals: 2820000 is £282.00.

Standard
TRADACOMS INVFIL
Version
INVFIL version 9
Sent by
Supplier to retailer
Segments
24

sample-tradacoms-invoice-file.edi

From HILLSIDE FOODS 5012345000022 to NORTHGATE GROCERS 5012345000015. Click a line to jump to its explanation.

Open in EDI Inspector
STX=ANA:1+5012345000022:HILLSIDE FOODS+5012345000015:NORTHGATE GROCERS+261015:090500+TR6610++INVFIL'MHD=1+INVFIL:9'TYP=0700+INVOICES'SDT=5012345000022+HILLSIDE FOODS LTD+UNIT 2 MILL LANE:LEEDS:::LS1 4AB+123456789'CDT=5012345000015+NORTHGATE GROCERS LTD+1 HIGH STREET:YORK:::YO1 7HH'FIL=1872+1+261015'FDT=261009+261015'MTR=7'MHD=2+INVOIC:9'CLO=5012345000046:0412+NORTHGATE LEEDS KIRKSTALL'IRF=INV88213+261015+261015'ODD=1+PO4500813::261009+DN300461:261014'ILD=1+1+5012345100012:HF-OAT-500+++1+120+11500+1380000+Z+0'ILD=1+2+5012345100029:HF-GRN-750+++1+60+24000+1440000+Z+0'STL=1+Z+0+2+2820000'TLR=1+2820000'MTR=9'MHD=3+VATTLR:9'VRS=1+Z+0+2820000'MTR=3'MHD=4+INVTLR:9'TOT=2820000+0+2820000+1'MTR=3'END=4'

INVFIL 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

INV88213

Oct 15, 2026

PO number
PO4500813
PO date
Oct 9, 2026
Currency
GBP
Tax point date
Oct 15, 2026
Delivery note
DN300461
Supplier VAT number
123456789

Supplier

HILLSIDE FOODS LTD

UNIT 2 MILL LANE

LEEDS

LS1 4AB

GLN: 5012345000022

Customer

NORTHGATE GROCERS LTD

1 HIGH STREET

YORK

YO1 7HH

GLN: 5012345000015

Delivery location

NORTHGATE LEEDS KIRKSTALL

GLN: 5012345000046

LineItem / UPCDescriptionQtyUnitUnit priceAmount
1.1HF-OAT-5005012345100012VAT category Z at 0%120Traded unit£1.15£138.00
1.2HF-GRN-7505012345100029VAT category Z at 0%60Traded unit£2.40£144.00
Lines
2
Total quantity
180
Merchandise
£282.00
Total
£282.00

About This INVFIL Sample

The invoice file answers the order file: ODD quotes the order number and the delivery note, and each ILD line gives the quantity, unit cost, line value and VAT rate code.

The VATTLR and INVTLR messages repeat the totals across the whole file, so the retailer can check the batch before posting it.

For every segment the standard allows and how retailers use them, read the TRADACOMS INVFIL 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 TRADACOMS INVFIL?

A TRADACOMS invoice file carries one or more invoices with VAT and file totals. This sample has four messages: the INVFIL header, an INVOIC for order PO4500813 with two zero-rated ILD lines, a VATTLR VAT summary and an INVTLR file trailer. Amounts use four implied decimals: 2820000 is £282.00.

Can I use this TRADACOMS INVFIL sample to test my system?

Yes. It is a complete, valid TRADACOMS file of 24 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 TRADACOMS INVFIL 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.