TRADACOMS Reference
TRADACOMSInvoice › INVOIC

INVOIC: Invoice Details

The INVOIC message is part of the TRADACOMS Invoice file: invoices from supplier to customer. The Invoice file contains: INVFILINVOICVATTLRINVTLR.

12 segments92 data elements

Message structure

SegmentNameUsage
MHDMessage HeaderOne message for each invoice
CLOCustomer's Location
IRFInvoice References
PYTSettlement TermsRepeatable
DNAData NarrativeRepeat if necessary at invoice level
ODDOrder and Delivery ReferencesRepeat for each order in a multiple order invoice
ILDInvoice Line DetailsRepeat for each item
CIAComplex Invoice Line AdjustmentsRepeat for each adjustment
DNCData NarrativeRepeat if necessary at line level
STLVAT Rate Invoice Sub TrailerRepeat for each VAT rate in this message
TLRInvoice Trailer
MTRMessage Trailer
MHDCLOIRFPYTDNAODDILDCIADNCSTLTLRMTR

Segments and data elements

MHD: Message Header

Mall uses of this segment →
ElementNameM/CF/VFormatNotes
MSRFMessage ReferenceMV9(12)Consecutive count of messages within the transmission
TYPEType of Message compositeM'INVOIC' '9' for this version
TypeMFX(6)
Version NumberMF9(1)

CLO: Customer's Location

Mall uses of this segment →
ElementNameM/CF/VFormatNotes
CLOCCustomer's Location compositeMOne of the following three customer's references must be present EAN location number identifying the customer's location Customer's own identity for the location to which the goods ordered are to be/have been delivered Supplier's reference for the customer's location
Customer's EAN Location NumberCF9(13)
Customer's Own Location CodeCVX(17)
Supplier's Identification of Customer's LocationCVX(17)
CNAMCustomer's nameCVX(40)Customer's registered legal name
CADDCustomer's address compositeCA maximum of five lines to give the customer's address
Customer's address line 1CVX(35)
Customer's address line 2CVX(35)
Customer's address line 3CVX(35)
Customer's address line 4CVX(35)
Customer's Post CodeCVX(8)

IRF: Invoice References

Mall uses of this segment →
ElementNameM/CF/VFormatNotes
INVNInvoice NumberMVX(17)As allocated by the supplier
IVDTDate of InvoiceMF9(6)Format: YYMMDD
TXDTTax-point DateMF9(6)Format: YYMMDD (May be the same as the date of invoice)

PYT: Settlement Terms

Call uses of this segment →
ElementNameM/CF/VFormatNotes
SEQAFirst Level Sequence NumberMV9(10)Sequence number. Starts at 1 and increases for each occurrence of the PYT segment
PAYTTerms of PaymentCVX(40)Textual description of the settlement terms
PAYDPayment Date and Terms compositeCSettlement terms agreed between the buyer and seller, expressed in terms of payment due date and percentage Date that payment should be made available to the payee to obtain the specified discount Percentage discount applicable
Payment DateMF9(6)
Settlement Discount PercentageMV9(3)V9(3)
PAYYSettlement Terms compositeCSettlement terms described using calendar days after a reference date and/or code Days until payment is due is defined as the number of calendar days after a reference date, commonly the date of invoice, that the payment is to be made available to the payee Percentage discount applicable Code for settlement terms. User defined
Number of daysMV9(3)
Settlement Discount PercentageCV9(3)V9(3)
Settlement CodeCVX(3)

DNA: Data Narrative

Call uses of this segment →
ElementNameM/CF/VFormatNotes
SEQAFirst Level Sequence NumberMV9(10)Starts at 1 and is incremented by 1 for each 1st level repeat
DNACData Narrative Code compositeCStandard data narrative previously defined and agreed by sender and receiver Number of relevant Code List Code Value from Code List · code list 22
Code Table NumberCV9(4)
Code ValueCVX(3)
RTEXRegistered Text compositeCEssential text, where not provided for by specific fields may be communicated using this element. Application codes to define the function of the text must be registered with ANA prior to use. The same application code may be repeated up to four times, or up to four different codes may be used · code list 24
First Registered Application CodeCVX(3)
Application TextCVX(40)
Second Registered Application CodeCVX(3)
Application TextCVX(40)
Third Registered Application CodeCVX(3)
Application TextCVX(40)
Fourth Registered Application CodeCVX(3)
Application TextCVX(40)
GNARGeneral Narrative compositeCNarrative covering information which cannot be sent in a coded form ie RTEX/DNAC. This is likely to preclude automatic processing
General Narrative Line 1CVX(40)
General Narrative Line 2CVX(40)
General Narrative Line 3CVX(40)
General Narrative Line 4CVX(40)

ODD: Order And Delivery References

Mall uses of this segment →
ElementNameM/CF/VFormatNotes
SEQAFirst Level Sequence NumberMV9(10)Starts at 1 and is incremented by 1 for each segment of this type in this message
ORNOOrder Number and Date compositeMAs allocated by the customer to identify the order As allocated by the supplier when processing orders on behalf of the customer File date can be issued instead if customer and supplier agree. Format YYMMDD Format YYMMDD
Customer's Order NumberCVX(17)
Supplier's Order NumberCVX(17)
Date Order Placed by CustomerCF9(6)
Date Order Received by SupplierCF9(6)
DELNDelivery Note Details compositeMDelivery note number as allocated by the supplier Date of despatch where appropriate. YYMMDD
Delivery Note NumberCVX(17)
Date of DocumentCF9(6)
NODUNumber of Delivery or Uplift Units ??CV9(15)Number of cases, cartons, packages etc. transported
DEWTDelivery Weights compositeCIn kilos In kilos
Vehicle Tare WeightCV9(10)V9(3)
Total Goods WeightCV9(10)V9(3)
PODNProof of Delivery Details compositeCCustomer's proof of delivery reference. Delivery vehicle Reg. No. may be used Format: YYMMDD
Proof of Delivery NumberCVX(17)
Date Goods Delivered to CustomerCF9(6)
SCARName of CarrierCVX(40)If known to supplier
DLOCDespatch Location compositeCCode for location from which goods were despatched EAN location number for the despatch location Supplier's own code for the despatch location
Supplier's Despatch EAN Location NumberCF9(13)
Supplier's Own Location CodeCVX(17)
TLOCTrans-shipment Location compositeCSecondary or trans-shipment location EAN location number for the trans-shipment location Supplier's own code for the location
Supplier's EAN Location NumberCF9(13)
Supplier's Own Location CodeCVX(17)
JORFJourney ReferenceCVX(17)Reference number for journey
SCRFSpecification/Contract References compositeCSpecification No. to which order relates Contract No. to which order relates
Specification NumberCVX(17)
Contract NumberCVX(17)

ILD: Invoice Line Details

Mall uses of this segment →
ElementNameM/CF/VFormatNotes
SEQAFirst Level Sequence NumberMV9(10)Takes the same value as in the corresponding order and delivery references segment
SEQBSecond Level Sequence NumberMV9(10)Starts at 1 and is successively incremented by 1 for each second-level nested sequence of this segment
SPROSupplier's Product Number compositeMEither the EAN traded unit code or the supplier's code must be quoted, otherwise special arrangements need to be negotiated EAN article number allocated to the unit of trade Supplier's internal reference (non-EAN) identifying the traded unit Code for the traded unit allocated under the alternative (DUN-14) EAN system
EAN-13 Article Number for Traded UnitCF9(13)
Supplier's Code for Traded UnitCVX(30)
DUN-14 Code for Traded UnitCF9(14)
SACUSupplier's EAN Number for the Designated Consumer UnitCF9(13)EAN number allocated to the retail (POS) unit. (Insert five leading zeros before eight digit codes)
CPROCustomer's Product Number compositeCCan be used for 'own label' items allocated an in-store number in a general format. EAN prefix - 2 dig: customer's number - 5 dig: consumer unit number - 8 dig Customer's internal reference for the item, non-EAN format
Customer's Own Brand EAN NumberCF9(15)
Customer's Item CodeCVX(30)
UNORUnit of Ordering compositeCAt least one of the following sub-elements must be quoted. Measure Indicator must be quoted if the Ordering Measure is used Number of consumer units making up the supplier's traded unit Required when an item is ordered as a multiple of a defined measure Abbreviation for the ordering measure, see Code List 4. Mandatory if Ordering Measure used
Consumer Units in Traded UnitCV9(15)
Ordering MeasureCV9(10)V9(3)
Measure IndicatorCVX(6)
QTYIQuantity Invoiced compositeMAt least one of the following sub-elements must be quoted. If the Total Measure Invoiced is quoted the Measure Indicator must be quoted too Number of supplier's traded units invoiced Total invoiced volume, size etc required when invoicing variable measure items Abbreviation for the ordering measure, see Code List 4. Mandatory if Ordering Measure used
Number of Traded Units InvoicedCV9(15)
Total Measure InvoicedCV9(10)V9(3)
Measure IndicatorCVX(6)
AUCTUnit Cost Price (excluding VAT) compositeMCost of order unit having applied line discount. In pounds Abbreviation for the measure. Mandatory for variable measure items. See Code List 4
Cost Price (excluding VAT)MV9(10)V9(4)
Measure IndicatorCVX(6)
LEXCExtended Line Cost (excluding VAT)MV9(10)V9(4)Having applied line discounts. In pounds. LEXC = AUCT X QTYI
VATCVAT Rate Category CodeMFX(1)Code Values List 12 · code list 12
VATPVAT Rate PercentageMV9(3)V9(3)Percentage rate for VAT Category Code
MIXIMixed VAT Rate Product IndicatorCF9(1)Value zero for the invoice item line for a composite product with component groups with different VAT rate codes. Starts at 1 and is incremented by 1 for each following invoice item line for the component groups
CRLICredit Line IndicatorCVX(4)Code Values List 9 · code list 9
TDESTraded Unit Description compositeCFull description of the item being traded. Consistent with Product Information data and any labels or packaging
Traded Unit Description Line 1CVX(40)
Traded Unit Description Line 2CVX(40)
MSPRSelling On Price compositeCIn pounds Price marked on unit. In pounds In pounds
Manufacturer's Recommended Selling PriceCV9(10)V9(4)
Marked PriceCV9(10)V9(4)
Split Pack PriceCV9(10)V9(4)
SRSPStatutory Retail Selling Price (including VAT)CV9(10)V9(4)Required for items such as drugs which must be sold at a regular price. In pounds
BUCTUnit Cost Price (excluding VAT) before discountCV9(10)V9(4)Cost of order unit before applying line discount. In pounds
DSCVDiscount ValueCV9(10)V9(4)Line discount value. In pounds
DSCPDiscount PercentageCV9(3)V9(3)Line item discount percentage
SUBASubsidy AmountCV9(10)V9(4)Subsidy value for this line
PINDSpecial Price IndicatorCVX(4)Code Values List 5 · code list 5
IGPIItem Group IdentifierCVX(4)Code Values List 10 · code list 10
CSDICash Settlement Discount IdentifierCFX(1)Code Values List 11 · code list 11
TSUPVAT - Type of SupplyCFX(1)Code as defined by H M Customs & Excise. Mandatory unless code is A (ordinary sale), in which case this element is omitted. Code Values List 14 · code list 14
SCRFSpecification/Contract References compositeCSpecification No. to which invoice line relates Contract No. to which invoice line relates
Specification NumberCVX(17)
Contract NumberCVX(17)

CIA: Complex Invoice Line Adjustments

Call uses of this segment →
ElementNameM/CF/VFormatNotes
SEQAFirst Level Sequence NumberMV9(10)Takes the value of SEQA in the preceding segment with which this segment is nested
SEQBSecond Level Sequence NumberMV9(10)Takes the value of SEQB in the preceding segment with which this segment is nested
SEQCThird Level Sequence NumberMV9(10)Starts at 1 and is incremented by 1 for each third level nesting
DTYPDiscount TypeMVX(3)Code Values List 32 · code list 32
AOCIAllowance (Discount)/Charge IndicatorMFX(1)A = Allowance, C = Charge
ACCRAccumulation RulesMFX(1)G = Gross, N = Nett
AADJActual Adjustment compositeMActual adjustment percentage Actual adjustment amount
Adjustment PercentageCV9(3)V9(3)
Adjustment AmountCV9(10)V9(4)

DNC: Data Narrative

Call uses of this segment →
ElementNameM/CF/VFormatNotes
SEQAFirst Level Sequence NumberMV9(10)Takes the value of SEQA in the corresponding ODD segment with which this segment is nested
SEQBSecond Level Sequence NumberMV9(10)Takes the value of SEQB in the corresponding ILD segment with which this segment is nested
DNACData Narrative Code compositeCStandard data narrative previously defined and agreed by sender and receiver Number of relevant code list Code Value from code list · code list 22
Code Table NumberCV9(4)
Code ValueCVX(3)
RTEXRegistered Text compositeCEssential text, where not provided for by specific fields may be communicated using this element. Application codes to define the function of the text must be registered with ANA prior to use. The same application code may be repeated up to four times, or up to four different codes may be used · code list 24
First Registered Application CodeCVX(3)
Application TextCVX(40)
Second Registered Application CodeCVX(3)
Application TextCVX(40)
Third Registered Application CodeCVX(3)
Application TextCVX(40)
Fourth Registered Application CodeCVX(3)
Application TextCVX(40)
GNARGeneral Narrative compositeCNarrative covering information which cannot be sent in a coded form ie RTEX/DNAC. This is likely to preclude automatic processing
General Narrative Line 1CVX(40)
General Narrative Line 2CVX(40)
General Narrative Line 3CVX(40)
General Narrative Line 4CVX(40)

STL: VAT Rate Invoice Sub-Trailer

Mall uses of this segment →
ElementNameM/CF/VFormatNotes
SEQAFirst Level Sequence NumberMV9(10)Starts at 1 and is incremented by 1 for each segment of this type in the message
VATCVAT Rate Category CodeMFX(1)Code Values List 12 · code list 12
VATPVAT Rate percentageMV9(3)V9(3)Percentage rate for VAT Category Code
NRILNumber of Item LinesMV9(10)Number of ILD segments with this VAT Category Code
LVLALine Sub-Total Amount (before VAT)MV9(10)V9(2)Before VAT has been applied. Total of Net Cost Values (LEXC) for this VAT Category Code
QYDADiscount Amount for Invoice QuantityCV9(10)V9(2)Value of discount for total quantity for VAT Category Code
VLDADiscount Amount for Invoice ValueCV9(10)V9(2)Value of discount for total value for VAT Category Code
SURASurcharge AmountCV9(10)V9(2)Freight charges etc. for this VAT Category Code
SSUBSub-Total SubsidyCV9(10)V9(2)Sub-total of line subsidy values for this VAT Category Code
EVLAExtended Sub-Total Amount (before settlement discount has been applied)MV9(10)V9(2)Before VAT has been applied. EVLA = LVLA - QYDA - VLDA + SURA - SSUB
SEDASub-Total Settlement Discount AmountCV9(10)V9(2)For this VAT Category Code
ASDAExtended Sub-Total Amount (after settlement discount has been applied)MV9(10)V9(2)Before VAT has been applied. ASDA = EVLA - SEDA
VATAVAT Amount PayableMV9(10)V9(2)VAT amount at quoted VAT rate
APSEPayable Sub-Total Amount (before settlement discount)CV9(10)V9(2)After VAT has been applied. APSE = EVLA + VATA
APSIPayable Sub-Total Amount (after settlement discount has been applied)MV9(10)V9(2)After VAT has been applied. APSI = ASDA + VATA

TLR: Invoice Trailer

Mall uses of this segment →
ElementNameM/CF/VFormatNotes
NSTLNumber of Total SegmentsMV9(10)Number of preceding STL segments
LVLTLines Total Amount (before settlement discount has been applied)MV9(10)V9(2)Sum of LVLA's in preceding STL segments. Before VAT
QYDTTotal Discount Amount for Invoice QuantityCV9(10)V9(2)Sum of QYDA's in preceding STL segments
VLDTTotal Discount Amount for Invoice ValueCV9(10)V9(2)Sum of VLDA's in preceding STL segments
SURTTotal Surcharge AmountCV9(10)V9(2)Sum of SURA's in preceding STL segments
TSUBTotal Subsidy AmountCV9(10)V9(2)Sum of SSUB's in preceding STL segments
EVLTTotal Extended Amount (before settlement discount has been applied)MV9(10)V9(2)Sum of EVLA's in preceding STL segments. Before VAT
SEDTTotal Settlement Discount AmountCV9(10)V9(2)Sum of SEDA's in preceding STL segments
ASDTTotal Amount (after settlement discount has been applied)MV9(10)V9(2)Sum of ASDA's in preceding STL segments. Before VAT
TVATTotal VAT Amount PayableMV9(10)V9(2)Sum of VATA's in preceding STL segments
TPSETotal payable (before settlement discount)CV9(10)V9(2)Sum of APSE's in preceding STL segments
TPSITotal payable (after settlement discount)MV9(10)V9(2)Sum of APSI's in preceding STL segments

MTR: Message Trailer

Mall uses of this segment →
ElementNameM/CF/VFormatNotes
NOSGNumber of Segments in MessageMV9(10)Control count of the number of segments comprising message. The count includes the MHD and MTR segments surrounding the message

Need to exchange TRADACOMS messages with a UK retailer?

SupplyLens connects your ERP, e-commerce or accounting system to any TRADACOMS or EDIFACT trading partner: orders in, invoices out, fully managed.

Book a demo   Learn about retail EDI →