Skip to content
TRADACOMS file types — Every TRADACOMS File TypePublished Oct 12, 2026

TRADACOMS File Types: All 37 Explained

Every TRADACOMS file type in plain English: ORDHDR, INVFIL, CREHDR, DLCHDR and the rest, with file structure, sector, and EANCOM and X12 equivalents.

Most lists of TRADACOMS file types are a bare table of codes. That is no help when a retailer's onboarding pack says "we will send ORDHDR and expect INVFIL and CREHDR back" and you need to know what each one is, whether you have to support it, and what it maps to in your system.

This page covers every file type you are likely to see listed, in plain English, grouped by what it does in the trading cycle. Where a type has no public specification we say so rather than guess. If TRADACOMS itself is new to you, start with TRADACOMS explained.

How to read a TRADACOMS file type

A TRADACOMS file type is a business document, such as an order or an invoice, sent as a file of messages: a header message, one or more detail messages, and a trailer message. The file type takes its name from the header, which is why an order file is called ORDHDR even though each individual order inside it is an ORDERS message.

Take the invoice file as an example:

MessageRoleWhere it sits
INVFILFile header: supplier, customer, file generation numberFirst
INVOICOne invoice, with its linesOne message per invoice
VATTLRVAT summary by VAT rateAfter the invoices
INVTLRFile trailer: totals for the whole fileLast

Each message is wrapped in MHD (message header) and MTR (message trailer) segments, and the whole transmission is wrapped in STX and END. The header names the file type in the last element of STX, so the first line of a file tells you what you are dealing with:

STX=ANA:1+5012345000008:HARBOUR LANE STORES+5098765000002:KESTREL VALLEY+261012:0915+000451++ORDHDR'

Three things trip people up when matching a code to a file type:

  • Some lists name the detail message, not the header. The stock snapshot file is SNPHDR in the ANA layout, but most lists show it as SNPSTS, its detail message. The payment order file is PAYHDR with PAYINF details, yet lists such as OpenText's show PAYORD.
  • The 25 core files are not the whole story. The ANA, now GS1 UK, defined the core retail set. The book trade, maintained by BIC, and other industries added their own files with the same syntax.
  • No new files have been added since the 1990s. GS1 UK ended support for TRADACOMS in 2017. What exists now is what you will see.

The five you will actually meet

A UK supplier trading with a grocer or high street retailer over TRADACOMS usually exchanges these five files and nothing else. Get them right and you have covered the order-to-cash cycle.

FileWhat it isDirectionYou need to
ORDHDROrderRetailer to youRead it and load it into your ERP
DELHDRDelivery notificationYou to retailerSend it before the goods arrive, if the retailer asks for it
DLCHDRDelivery confirmationRetailer to youCheck it against what you shipped before you invoice
INVFILInvoiceYou to retailerSend it with VAT broken down by rate
CREHDRCredit noteYou to retailerSend it for returns, shortages and price corrections

Some partners add an ACKHDR order acknowledgement or send an SRMHDR remittance, and a few still exchange PRIHDR price files. Everything else on this page is specialist, sector-specific or effectively retired. The Tesco, Sainsbury's, Asda and Co-op pages cover what each retailer asks for.

Every TRADACOMS file type

Grouped by business flow. "Rarely used" means a type that is retired, sector-specific or has no public specification. If a partner asks for one of those, ask them for their implementation guide before you quote for the work.

Ordering

The buyer tells you what it wants, and you confirm what you can supply.

ORDHDR
Order
Buyer → Supplier
Core

The order file: an ORDHDR header, one ORDERS message per order and an ORDTLR trailer. Each order names the delivery location (CLO), the order reference (ORD) and one OLD segment per line.

ACKHDR
Acknowledgement of order
Supplier → Buyer
Specialist

The supplier's response to orders received: ACKHDR header, ACKMNT detail messages, ACKTLR trailer. Not every UK retailer asks for it, so check your partner's specification.

CORHDR
Complex order
Buyer → Supplier
Rarely used

An order file for orders with multi-level delivery structures: CORHDR header, CORDER detail messages, CORTLR trailer. Most UK retail ordering uses the plain ORDHDR file.

BTOHDR
Book trade orders
Buyer → Supplier
Specialist

The book trade's order file, one of the TRADACOMS-based messages maintained for the UK book industry by BIC (Book Industry Communication). Booksellers send orders to publishers and distributors with it.

Book trade
HSOHDR
Home shopping orders
Rarely used

An order file from TRADACOMS's home shopping variant, outside the 25 core ANA files. We found no public specification; if a partner asks for it, ask for their implementation guide.

Home shopping

Delivery

What is on the lorry, and what actually arrived at the depot.

DELHDR
Delivery notification
Supplier → Buyer
Common

Tells the customer what is being delivered against which orders before it arrives: DELHDR header, DELIVR detail messages, DELTLR trailer. The TRADACOMS equivalent of an ASN.

DLCHDR
Delivery confirmation
Buyer → Supplier
Common

The customer confirms what it received, line by line, including any differences: DLCHDR header, DLCDET detail messages, DLCTLR trailer. Check it before invoicing.

PICHDR
Picking instruction
Specialist

Tells a warehouse what to pick for which orders and delivery points: PICHDR header, PICKER detail messages, PICTLR trailer.

UPLHDR
Uplift instruction
Specialist

An instruction to collect goods from a location: UPLHDR header, UPLIFT detail messages, UPLTLR trailer. In UK retail, uplift means collection rather than delivery.

UCNHDR
Uplift confirmation
Specialist

Confirms what was actually collected against an uplift instruction: UCNHDR header, UCNDET detail messages, UCNTLR trailer.

Invoicing

Invoices, credit notes, and the VAT detail that goes with them.

INVFIL
Invoice
Supplier → Buyer
Core

The invoice file: an INVFIL header, one INVOIC message per invoice, VATTLR VAT summaries and an INVTLR trailer. UK VAT is built in, with totals broken down by VAT rate.

CREHDR
Credit note
Supplier → Buyer
Core

Credits for returns, shortages and price corrections: CREHDR header, CREDIT messages, VATTLR VAT summaries and a CRETLR trailer. In EDIFACT the same job is done by INVOIC with document code 381.

UTLHDR
Utility bill
Supplier → Buyer
Specialist

Bills for electricity, gas, water or telecoms: UTLHDR header, UTLBIL detail messages, a UVATLR VAT summary and a UTLTLR trailer. You only meet it if you buy or supply utilities over EDI.

Utilities

Payment and remittance

What the customer is paying, and which invoices the payment covers.

SRMHDR
Statement and remittance details
Either direction
Specialist

A statement of account or a remittance advice listing the invoices and credits being settled: SRMHDR header, SRMINF detail messages, SRMTLR trailer.

EDIFACT REMADVX12 820
PAYORD
Payment order
Rarely used

A customer instructs its bank to pay suppliers, with supplier bank details per line. In the ANA layout the file is PAYHDR, PAYINF and PAYTLR; lists such as OpenText's show it as PAYORD.

EDIFACT PAYMUL
DEBADV
Debit advice
Rarely used

One of the original banking files: DRAHDR header, DRAINF detail messages, DRATLR trailer. Its layout (customer and bank in the header, supplier and bank details per line) is a bank's advice of amounts debited.

EDIFACT DEBMUL
CREADV
Credit advice
Rarely used

The mirror of the debit advice: CRAHDR header, CRAINF detail messages, CRATLR trailer, with the supplier and bank in the header and a line per customer payment credited.

EDIFACT CREMUL
EXCHDR
Exception condition
Rarely used

The fourth original banking file (EXCHDR, EXCINF, EXCTLR), reporting exception conditions against payments. It is in the ANA's list of 25 files but missing from many vendor lists.

Product, price, and party data

Master data shared before anything is ordered: products, prices, and the locations you trade with.

PRIHDR
Price information
Supplier → Buyer
Specialist

Price lists and price changes from supplier to customer: PRIHDR header, PRIINF detail messages, PRITLR trailer.

PROHDR
Product information
Supplier → Buyer
Specialist

Master product data such as codes, descriptions and pack details from supplier to customer: PROHDR header, PROINF detail messages, PROTLR trailer.

CUSHDR
Customer information
Buyer → Supplier
Specialist

The customer's location master data, including delivery points, so the location codes in its orders resolve to real addresses: CUSHDR header, CUSINF detail messages, CUSTLR trailer.

EDIFACT PARTIN
PVUHDR
Book trade price/availability update
Supplier → Buyer
Specialist

Publishers and distributors tell booksellers about price and availability changes, using BIC's price and availability codes (code list 54, last revised in October 2021).

Book trade
RDAHDR
Retailer database
Rarely used

Not one of the 25 core ANA files and we found no public specification. Treat it as a bespoke industry variant and ask your partner for their guide.

RDBHDR
Retailer database (B)
Rarely used

Listed as "Retail B, 1-4 Retailer Database", a variant of RDAHDR. We found no public specification describing its content.

Planning, stock, and sales

Forecasts, stock positions, and sell-through data that drive replenishment.

SNPSTS
Stock snapshot
Specialist

A point-in-time report of stock levels. In the ANA layout the header is SNPHDR, with SNPSTS detail messages and an SNPTLR trailer, which is why lists often show it as SNPSTS.

SADHDR
Stock adjustment
Specialist

Notifies adjustments to stock records: SADHDR header, SADDET detail messages, SADTLR trailer.

AVLHDR
Availability report
Specialist

Reports product availability: AVLHDR header, AVLDET detail messages, AVLTLR trailer.

PPRHDR
Product planning report
Specialist

Planning and forecast figures organised by product: PPRHDR header, PPRDET detail messages, PPRTLR trailer.

LPRHDR
Location planning report
Specialist

The same kind of planning figures as PPRHDR, organised by location instead of by product: LPRHDR header, LPRDET detail messages, LPRTLR trailer.

ISSUES
Issues
Specialist

One of the book trade's additional TRADACOMS transactions, alongside orders and price and availability updates. Public detail is thin; BIC holds the current book trade specifications.

Book trade
RIFHDR
Retail issues file
Rarely used

Not one of the 25 core ANA files, and we found no public specification. Ask your partner which industry variant it comes from before mapping it.

Returns and claims

Goods coming back, and disputes over what was delivered or charged.

CLAHDR
Claims message
Rarely used

A claims file from outside the 25 core ANA files. We found no public specification, so treat any request for it as bespoke and ask for the partner's guide.

CAKHDR
Claims acknowledgement
Rarely used

The acknowledgement that pairs with CLAHDR claims. Like CLAHDR, it has no public specification we could find.

SORDET
Supply and returns details
Rarely used

Line-level supply and returns figures. Not one of the 25 core ANA files and we found no public specification. Sale-or-return trades such as newspapers and magazines settle this way, and TRADACOMS had a news trade variant, but no source we found confirms the link.

SRSHDR
Supply and returns summary
Rarely used

The summary-level counterpart to SORDET, listed under two codes: SRSHDR and SORDAY. No public specification found.

Other

Specialist and general-purpose messages.

GENHDR
General communication
Either direction
Rarely used

Free-format text between trading partners, outside any structured document: GENHDR header, GENRAL text messages, GENTLR trailer.

EDIFACT GENRAL
DYEHDR
Dye instruction
Rarely used

TRADACOMS had industry variants for textiles and the name suggests this file belongs there, but we found no public specification.

TRADACOMS, EANCOM and X12 side by side

If you trade with retailers in more than one standard, this is how the common flows line up. EANCOM is the GS1 subset of EDIFACT that UK retail is gradually moving to; X12 is the North American standard.

Business documentTRADACOMSEANCOM (EDIFACT)X12
Purchase orderORDHDRORDERS850
Order acknowledgementACKHDRORDRSP855
Ship notice (ASN)DELHDRDESADV856
Receipt confirmationDLCHDRRECADV861
InvoiceINVFILINVOIC810
Credit noteCREHDRINVOIC with document code 381810 or 812, depending on the partner
RemittanceSRMHDRREMADV820
Price listPRIHDRPRICAT832
Stock reportSNPSTSINVRPT846
Location master dataCUSHDRPARTINNo common equivalent
Free textGENHDRGENRALNo common equivalent

The mapping is by business purpose, not field for field. TRADACOMS assumes sterling and UK VAT and splits header data out into its own message, so converting a TRADACOMS invoice into an EANCOM one is a remap, not a rename.

Order to cash in TRADACOMS

Here is how the core files fit together for one order from a UK retailer:

  1. The retailer sends an ORDHDR file. It can hold many orders, one ORDERS message each, often for different stores or depots identified by location code.
  2. You confirm the order, if asked. Some retailers want an ACKHDR back; many do not.
  3. You ship and send a DELHDR. It tells the depot what is arriving against which orders.
  4. The retailer sends a DLCHDR. This is what it says it received. Differences here are the usual cause of invoice queries later.
  5. You invoice with an INVFIL. Invoice what the retailer will accept: if the delivery confirmation shows a shortage, invoice the received quantity or expect to raise a credit.
  6. You credit with a CREHDR where needed. Returns, shortages and price corrections all go here.
  7. The retailer pays and may send an SRMHDR. It lists which invoices and credits the payment covers.

The same cycle in EDIFACT is ORDERS, ORDRSP, DESADV, RECADV, INVOIC and REMADV. See EDIFACT message types for the full EANCOM list.

Frequently Asked Questions

How many TRADACOMS file types are there?

The core ANA standard defines 25 transaction files, from Product Information to Utility Bill. Vendor lists usually show more, around 37, because they add the book trade files maintained by BIC and other industry variants such as home shopping and textiles.

What is the difference between ORDHDR and ORDERS?

ORDHDR is the header message of the order file and the name of the file type. ORDERS is the detail message inside it, one per order. A file with ten orders has one ORDHDR, ten ORDERS messages and one ORDTLR trailer.

Which TRADACOMS files does a UK supplier need?

Usually ORDHDR in, and INVFIL and CREHDR out. Many retailers also want a DELHDR delivery notification and send a DLCHDR delivery confirmation. Your retailer's EDI specification is the final word, so check it before building anything else.

Is TRADACOMS the same as EANCOM?

No. Both use similar separators, but TRADACOMS is a UK-only standard from 1982 that groups messages into files, while EANCOM is the GS1 subset of the international EDIFACT standard with self-contained messages. GS1 UK now recommends EANCOM or GS1 XML for new implementations.

Why can't I find a specification for SORDET, RIFHDR or DYEHDR?

They are not in the core ANA standard. They come from industry variants that were documented for their own sectors and never widely published. If a partner asks for one, ask them for their file layout.

Is SNPSTS the same as SNPHDR?

They belong to the same file. In the ANA layout the stock snapshot file starts with an SNPHDR header, followed by SNPSTS detail messages and an SNPTLR trailer. Lists that show SNPSTS are naming the detail message.

Can I convert TRADACOMS to EDIFACT or X12?

Yes, by mapping each file to its business equivalent, as in the table above. It is a remap rather than a rename: headers, VAT handling and location codes differ. OrderSync reads TRADACOMS, EDIFACT and X12 and maps them all into the same order record in your ERP.

Related guides

Sources

Check any TRADACOMS or EDIFACT file in the free EDIFACT inspector. If you are taking on a UK retailer and want TRADACOMS orders flowing into your ERP without a translator in between, book an intro call.

James Darby
Last updated: 10/12/2026

How to Answer "Are You EDI Capable?"

A buyer asked, and you need to answer this week. The four things they are checking, what you can say yes to today, and a realistic date for the rest.

  • What a buyer is really asking when they ask this
  • The minimum set-up that makes the answer yes
  • What you can answer today versus what needs building
  • Rough timelines, so you can give a date rather than a maybe

One email with the download. Unsubscribe any time.

Related Resources