Skip to content

TRADACOMS Order Sample File (ORDHDR)

UK grocery order file: header, order, trailer. Valid TRADACOMS ORDHDR 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 order file is the UK retail format for purchase orders, still used by several grocers. This sample has three messages inside STX and END: an ORDHDR file header with supplier and customer, one ORDERS message with order PO4500813 and two OLD lines, and an ORDTLR trailer.

Standard
TRADACOMS ORDHDR
Version
ORDHDR version 9
Sent by
Retailer to supplier
Segments
19

sample-tradacoms-order-file.edi

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

Open in EDI Inspector
STX=ANA:1+5012345000015:NORTHGATE GROCERS+5012345000022:HILLSIDE FOODS+261009:081500+TR5521++ORDHDR'MHD=1+ORDHDR:9'TYP=0430+NEW-ORDERS'SDT=5012345000022+HILLSIDE FOODS LTD'CDT=5012345000015+NORTHGATE GROCERS LTD'FIL=1871+1+261009'MTR=6'MHD=2+ORDERS:9'CLO=5012345000046:0412+NORTHGATE LEEDS KIRKSTALL'ORD=PO4500813::261009'DIN=261014'OLD=1+5012345100012:HF-OAT-500++:NG-110432+1+120+11500+++ROLLED OATS 500G'OLD=2+5012345100029:HF-GRN-750++:NG-110587+1+60+24000+++HONEY GRANOLA 750G'OTR=2'MTR=8'MHD=3+ORDTLR:9'OFT=1'MTR=3'END=3'

ORDHDR Sample, Segment by Segment

Every segment and element, with what each code means. The 12 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.

Purchase Order

PO4500813

Oct 9, 2026

Currency
GBP
Earliest delivery
Oct 14, 2026

Supplier

HILLSIDE FOODS LTD

GLN: 5012345000022

Customer

NORTHGATE GROCERS LTD

GLN: 5012345000015

Delivery location

NORTHGATE LEEDS KIRKSTALL

GLN: 5012345000046

LineItem / UPCDescriptionQtyUnitUnit priceAmount
1HF-OAT-5005012345100012ROLLED OATS 500G120Traded unit£1.15£138.00
2HF-GRN-7505012345100029HONEY GRANOLA 750G60Traded unit£2.40£144.00
Lines
2
Total quantity
180
Merchandise
£282.00
Total
£282.00

About This ORDHDR Sample

TRADACOMS predates EDIFACT and groups messages into files: a header message, one message per order and a trailer message, each with its own MHD and MTR. Segment tags are followed by an equals sign, and prices usually carry four implied decimals.

Here the unit cost 11500 is £1.1500, the same price as the EDIFACT ORDERS sample.

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

A TRADACOMS order file is the UK retail format for purchase orders, still used by several grocers. This sample has three messages inside STX and END: an ORDHDR file header with supplier and customer, one ORDERS message with order PO4500813 and two OLD lines, and an ORDTLR trailer.

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

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