Invoice Heading Section |
UNH |
- |
M |
1 |
- |
Message header |
|
This segment is used to head, identify and specify a message. |
|
|
BGM |
- |
M |
1 |
- |
Beginning of message |
|
This segment is used to indicate the type and function of a message and to transmit the identifying number. |
|
|
DTM |
- |
M |
35 |
- |
Date/time/period |
|
This segment is used to specify the date or period of the invoice. It may also be used to specify the date on which the goods were despatched, delivered, or received. |
|
|
PAI |
- |
C |
1 |
- |
Payment instructions |
|
This segment allows the party issuing the Invoice to specify how they would like payment to be made. |
|
|
ALI |
- |
C |
5 |
- |
Additional information |
|
This segment is used to specify any special conditions which apply to the goods being invoiced. The country of origin of all the products (if it is the same) may be specified here in the header section. |
|
|
FTX |
- |
C |
99 |
- |
Free text |
|
This segment is used to provide free form or coded text information which applies to the complete invoice message. |
|
|
SG1 |
- |
C |
99999 |
- |
RFF-DTM |
|
A group of segments for giving references and where necessary, their dates, relating to the whole message, e.g. contract number, import/export license number, despatch advice number. |
|
|
RFF |
- |
M |
1 |
- |
Reference |
|
This segment is used to specify references which relate to the whole invoice, for example, Purchase Order Numbers, Delivery Numbers, etc. |
|
|
DTM |
- |
C |
5 |
- |
Date/time/period |
|
This segment is used to specify any dates related to the references given in the previous RFF segment. |
|
|
SG2 |
- |
C |
99 |
- |
NAD-FII-SG3-SG5 |
|
A group of segments identifying the parties with associated information. |
|
|
NAD |
- |
M |
1 |
- |
Name and address |
|
This segment is used to identify the trading parties involved in the invoice process. Identification of the buyer and supplier of goods and services is mandatory in the Invoice. Additionally, the issuer of the invoice and the invoicee must be identified if different from the buying and supplying parties. The consignee or delivery party needs to be specified if different to the buyer's address. |
|
|
FII |
- |
C |
5 |
- |
Financial institution information |
|
This segment is used to identify financial institution information related to the party identified in the NAD segment. |
|
|
SG3 |
- |
C |
9999 |
- |
RFF |
|
A group of segment for giving references only relevant to the specified party rather than the whole invoice. |
|
|
RFF |
- |
M |
1 |
- |
Reference |
|
This segment is used to specify reference numbers related to the party identified in the previous NAD segment. |
|
|
SG5 |
- |
C |
5 |
- |
CTA-COM |
|
A group of segments giving contact details of the specific person or department within the party identified in the NAD segment. |
|
|
CTA |
- |
M |
1 |
- |
Contact information |
|
This segment is used to identify the department and/or person within the party specified in the NAD. |
|
|
COM |
- |
C |
5 |
- |
Communication contact |
|
This segment is used to identify the communications number and the type of communications used for the department person identified in the CTA segment. |
|
|
SG6 |
- |
C |
5 |
- |
TAX-MOA |
|
A group of segments specifying tax related information. |
|
|
TAX |
- |
M |
1 |
- |
Duty/tax/fee details |
|
This segment is used to indicate the type, category, and rate of tax for the complete invoice. |
|
|
MOA |
- |
C |
1 |
- |
Monetary amount |
|
This segment is to be used to provide tax related monetary amounts relevant to the complete invoice. These amount should be added to any amounts specified in the detail section in order to calculate the total invoice tax amounts contained in the summary section. |
|
|
SG7 |
- |
C |
99 |
- |
CUX-DTM |
|
A group of segments specifying the currencies and related dates/periods valid for the whole invoice. |
|
|
CUX |
- |
M |
1 |
- |
Currencies |
|
This segment is used to specify currency information for the complete invoice. |
|
|
DTM |
- |
C |
5 |
- |
Date/time/period |
|
This segment is used to specify the date on which a rate of exchange was quoted. |
|
|
SG8 |
- |
C |
10 |
- |
PAT-DTM-PCD-MOA-PAI-FII |
|
A group of segments specifying the terms of payment applicable for the whole invoice. |
|
|
PAT |
- |
M |
1 |
- |
Payment terms basis |
|
This segment is used by the issuer of the invoice to specify the payment terms for the complete invoice. |
|
|
DTM |
- |
C |
5 |
- |
Date/time/period |
|
This segment is used to specify any dates associated with the payment terms for the invoice. |
|
|
PCD |
- |
C |
1 |
- |
Percentage details |
|
This segment is used to specify percentages which will be allowed or charged if the invoicee pays (does not pay) to terms. |
|
|
MOA |
- |
C |
1 |
- |
Monetary amount |
|
This segment is used to specify monetary values which will be allowed or charged if the invoicee pays (does not pay) to terms. |
|
|
PAI |
- |
C |
1 |
- |
Payment instructions |
|
This segment is used to specify payment instructions related to payment terms. |
|
|
FII |
- |
C |
1 |
- |
Financial institution information |
|
This segment is used to identify the receiving financial institution and account holder number, related to the payment means. |
|
|
SG9 |
- |
C |
10 |
- |
TDT-SG10-SG11 |
|
A group of segments identifying the mode and means of transport, location and relevant dates and times for transportation, relating to the whole invoice. |
|
|
TDT |
- |
M |
1 |
- |
Details of transport |
|
This segment is used to specify transport services provided for the delivery of the invoiced line items, such as express transport services. |
|
|
SG10 |
- |
C |
10 |
- |
LOC-DTM |
|
A group of segments giving the location and date/time information relative to the transportation. |
|
|
LOC |
- |
M |
1 |
- |
Place/location identification |
|
This segment is used to identify locations related to the details of transport. |
|
|
DTM |
- |
C |
5 |
- |
Date/time/period |
|
This segment is used to specify dates related to the above location. |
|
|
SG11 |
- |
C |
9999 |
- |
RFF |
|
A group of segments to allow reference to transport details. |
|
|
|
|
SG12 |
- |
C |
5 |
- |
TOD-LOC |
|
A group of segments indicating the terms of delivery for the whole invoice. |
|
|
TOD |
- |
M |
1 |
- |
Terms of delivery or transport |
|
This segment is used to specify the terms of delivery for the complete invoice. |
|
|
LOC |
- |
C |
2 |
- |
Place/location identification |
|
This segment is used to identify the location where the terms of delivery apply. |
|
|
SG14 |
- |
C |
1000 |
- |
PAC |
|
A group of segments identifying the packaging for goods referenced by the whole invoice. |
|
|
PAC |
- |
M |
1 |
- |
Package |
|
This segment is used to enable the invoice message to be used as valued despatch advice message by detailing the total count of each package type being invoiced. |
|
|
SG16 |
- |
C |
9999 |
- |
ALC-SG18-SG19-SG20-SG21-SG22 |
|
A group of segments specifying allowances and charges for the whole invoice. Allowances and charges in the heading section of a message are independent from those in the detail section, e.g. ALC at detail level does not override ALC at heading level. |
|
|
ALC |
- |
M |
1 |
- |
Allowance or charge |
|
This segment is used to indicate any Allowances or Charges applicable to the total invoice, e.g. packaging costs. |
|
|
SG18 |
- |
C |
1 |
- |
QTY |
|
A group of segments specifying the quantity of the allowance or charge with its measure unit specifier. |
|
|
QTY |
- |
M |
1 |
- |
Quantity |
|
This segment is used to specify any quantity discounts or charges for the current ALC segment group. |
|
|
SG19 |
- |
C |
1 |
- |
PCD |
|
A group of segments specifying the percentage for the allowance or charge. |
|
|
PCD |
- |
M |
1 |
- |
Percentage details |
|
This segment is used to specify any percentage discounts or charges for the current ALC segment group. |
|
|
SG20 |
- |
C |
2 |
- |
MOA |
|
A group of segments specifying a monetary amount for an allowance or charge. |
|
|
MOA |
- |
M |
1 |
- |
Monetary amount |
|
This segment is used to specify any monetary discounts or charges for the current ALC segment group. |
|
|
SG21 |
- |
C |
1 |
- |
RTE |
|
A group of segments specifying the rate per unit and basis to which the allowance or charge applies, e.g. the allowance/charge amount is 3 EUR per 10 tons. |
|
|
RTE |
- |
M |
1 |
- |
Rate details |
|
This segment is used to specify rate discounts or charges for the current ALC segment group. |
|
|
SG22 |
- |
C |
5 |
- |
TAX-MOA |
|
A group of segments specifying tax related information for the allowance or charge. |
|
|
TAX |
- |
M |
1 |
- |
Duty/tax/fee details |
|
This segment is used to signify whether the allowances and charges specified in SG16 are subject to tax. |
|
|
MOA |
- |
C |
1 |
- |
Monetary amount |
|
This segment is used to indicate tax or duty amount for the tax rates specified in the previous TAX segment. |
|
|
SG24 |
- |
C |
1 |
- |
AJT |
|
A segment group to give information about adjustment. |
|
|
AJT |
- |
M |
1 |
- |
Adjustment details |
|
This segment is used to indicate the reason for an adjustment to the current document. |
|
|
Invoice Detail Section |
SG26 |
- |
C |
9999999 |
- |
LIN-PIA-IMD-MEA-QTY-ALI-DTM-GIN-QVR-FTX-SG27-SG28-SG29-SG30-SG31-SG33-SG34-SG35-SG39-SG45-SG47 |
|
A group of segments providing details of the individual invoiced items. There must be at least one occurrence of Segment group 26 within an invoice, but not necessarily in a credit note or a debit note. This Segment group may be repeated to give sub-line details. |
|
|
LIN |
- |
M |
1 |
- |
Line item |
|
This segment is used to identify the item being invoiced. |
|
|
PIA |
- |
C |
25 |
- |
Additional product id |
|
This segment is used to specify additional or substitutional item identification codes such as a buyer's or supplier's item number. |
|
|
IMD |
- |
C |
99 |
- |
Item description |
|
This segment is used to provide a description for the current line item. |
|
|
MEA |
- |
C |
5 |
- |
Measurements |
|
This segment is used to specify the physical dimensions, storage limitations, or transport equipment limitations of a product. |
|
|
QTY |
- |
C |
5 |
- |
Quantity |
|
This segment is used to specify quantities related to the current line item. |
|
|
ALI |
- |
C |
5 |
- |
Additional information |
|
This segment is used to indicate special conditions or the country of origin of the current line item. |
|
|
DTM |
- |
C |
35 |
- |
Date/time/period |
|
This segment is used to specify the date of despatch, delivery, or receipt of the current line item. |
|
|
GIN |
- |
C |
1000 |
- |
Goods identity number |
|
This segment is used to indicate a serial number or a range of numbers. |
|
|
QVR |
- |
C |
1 |
- |
Quantity variances |
|
This segment is used to specify any variances between what was ordered, what was shipped/despatched and what is being invoiced. |
|
|
FTX |
- |
C |
99 |
- |
Free text |
|
This segment is used to provide free form or coded text information which applies to the current line item. |
|
|
SG27 |
- |
C |
99 |
- |
MOA |
|
A group of segments specifying any monetary amounts relating to the products and when necessary a currency. |
|
|
MOA |
- |
M |
1 |
- |
Monetary amount |
|
This segment is used to specify monetary amounts related to the current line item. |
|
|
SG28 |
- |
C |
10 |
- |
PAT-DTM-PCD-MOA |
|
A group of segments specifying the terms of payment for the line item where this is different to that specified in the heading section. |
|
|
PAT |
- |
M |
1 |
- |
Payment terms basis |
|
This segment is used to identify specific payment terms for the current line item. |
|
|
DTM |
- |
C |
5 |
- |
Date/time/period |
|
This segment is used to specify any dates associated with the payment terms provided in the previous PAT segment. |
|
|
PCD |
- |
C |
99 |
- |
Percentage details |
|
This segment specifies the penalty or discount percentage applicable for the terms of payment defined in the PAT segment. |
|
|
MOA |
- |
C |
1 |
- |
Monetary amount |
|
This segment specifies the penalty or discount monetary amount applicable for the terms of payment defined in the PAT segment. |
|
|
SG29 |
- |
C |
25 |
- |
PRI-APR |
|
A group of segments identifying the relevant pricing information for the goods or services invoiced. |
|
|
PRI |
- |
M |
1 |
- |
Price details |
|
This segment is used to specify price information for the current line item. |
|
|
APR |
- |
C |
1 |
- |
Additional price information |
|
This segment is used to provide a reason for a change in the price specified in the PRI segment. |
|
|
SG30 |
- |
C |
10 |
- |
RFF-DTM |
|
A group giving references and where necessary, their dates, relating to the line item. |
|
|
RFF |
- |
M |
1 |
- |
Reference |
|
This segment is used to provide references specific to the line item, and overrides any global references provided in the heading section of the invoice when the same qualifier is used. |
|
|
DTM |
- |
C |
5 |
- |
Date/time/period |
|
This segment is used to specify dates and times pertinent to the previous RFF segment. |
|
|
SG31 |
- |
C |
10 |
- |
PAC-MEA-SG32 |
|
A group of segments identifying the packaging, physical dimensions, and marks and numbers for goods referenced in the line item. |
|
|
PAC |
- |
M |
1 |
- |
Package |
|
This segment is used to specify the number and type of packages for the current line item. |
|
|
MEA |
- |
C |
10 |
- |
Measurements |
|
This segment is used to specify any measurements related to the packaging defined in the previous PAC segment. |
|
|
SG32 |
- |
C |
10 |
- |
PCI-GIN |
|
A group of segments specifying the markings and labels on individual physical units. |
|
|
PCI |
- |
M |
1 |
- |
Package identification |
|
This segment is used to identify markings on the packaging of the product being invoiced. |
|
|
GIN |
- |
C |
10 |
- |
Goods identity number |
|
This segment is used to provide the serial shipping container code (SSCC) marked on the packaging of the products being invoiced. |
|
|
SG33 |
- |
C |
9999 |
- |
LOC-QTY-DTM |
|
A group of segments specifying destination and quantity details for consignments involving multi-destination deliveries for a specified line item. |
|
|
LOC |
- |
M |
1 |
- |
Place/location identification |
|
This segment is used to identify multiple delivery locations for the current line item. |
|
|
QTY |
- |
C |
100 |
- |
Quantity |
|
This segment is used to specify the quantities related to the location identified in the preceding LOC segment. |
|
|
DTM |
- |
C |
5 |
- |
Date/time/period |
|
This segment is used to specify the date/time on which the delivery took (will take) place to the location identified in preceeding LOC segment. |
|
|
SG34 |
- |
C |
99 |
- |
TAX-MOA |
|
A group of segments specifying tax related information for the line item. |
|
|
TAX |
- |
M |
1 |
- |
Duty/tax/fee details |
|
This segment is used to specify tax details for the line item being invoiced. |
|
|
MOA |
- |
C |
2 |
- |
Monetary amount |
|
This segment is used to specify in monetary terms the amount of tax due on the current line item. |
|
|
SG35 |
- |
C |
99 |
- |
NAD-SG36 |
|
A group of segments identifying the parties with associated information, relevant to the line item only. |
|
|
NAD |
- |
M |
1 |
- |
Name and address |
|
This segment is used to identify parties which are valid only for the current line item. Parties identified here override those specified in the NAD segment at heading level when the same qualifier is used. |
|
|
SG36 |
- |
C |
5 |
- |
RFF |
|
A group of segment for giving references only relevant to the specified party rather than the whole line item. |
|
|
RFF |
- |
M |
1 |
- |
Reference |
|
This segment is used to specify references related to the party identified in the NAD at line level. |
|
|
SG39 |
- |
C |
30 |
- |
ALC-ALI-DTM-SG40-SG41-SG42-SG43-SG44 |
|
A group of segments specifying allowances and charges for the line item. Allowances and charges in the heading section of a message are independent from those in the detail section, e.g. ALC at detail level does not override ALC at heading level. |
|
|
ALC |
- |
M |
1 |
- |
Allowance or charge |
|
This segment is used to specify any allowances or charges which apply only to the line item being invoiced. |
|
|
ALI |
- |
C |
5 |
- |
Additional information |
|
This segment is used to indicate any special conditions applicable to the allowances or charges detailed at line level. |
|
|
DTM |
- |
C |
5 |
- |
Date/time/period |
|
This segment is used to provide any dates or periods related to the allowances or charges of the current line item. |
|
|
SG40 |
- |
C |
1 |
- |
QTY |
|
A group of segments specifying the quantity of the allowance or charge with its measure unit specifier. |
|
|
QTY |
- |
M |
1 |
- |
Quantity |
|
The segment is used to specify quantity discounts or charges for the line being invoiced. |
|
|
SG41 |
- |
C |
1 |
- |
PCD |
|
A group of segments specifying the percentage for the allowance or charge. |
|
|
PCD |
- |
M |
1 |
- |
Percentage details |
|
This segment is used to specify percentage discounts or charges for the line item being invoiced. |
|
|
SG42 |
- |
C |
2 |
- |
MOA |
|
A group of segments specifying a monetary amount for an allowance or charge. |
|
|
MOA |
- |
M |
1 |
- |
Monetary amount |
|
This segment is used to specify monetary allowances/charges for the line item being invoiced. |
|
|
SG43 |
- |
C |
1 |
- |
RTE |
|
A group of segments specifying the rate per unit and basis to which the allowance or charge applies, e.g. The allowance/charge amount is 3 EUR per 10 tons. |
|
|
RTE |
- |
M |
1 |
- |
Rate details |
|
This segment is used to specify allowance or charge rates for the line item being invoiced. |
|
|
SG44 |
- |
C |
5 |
- |
TAX-MOA |
|
A group of segments specifying tax related information for the allowance or charge. |
|
|
TAX |
- |
M |
1 |
- |
Duty/tax/fee details |
|
This segment is used to identify any taxes or duties which apply to the allowances or charges at LIN level. |
|
|
MOA |
- |
C |
2 |
- |
Monetary amount |
|
This segment is used to specify in monetary terms the amount of tax due for the allowances and charges for the current line item. |
|
|
SG45 |
- |
C |
10 |
- |
TDT |
|
A group of segments identifying the mode and means of transport relating to the line item, where this is different to or not specified within the heading section. |
|
|
TDT |
- |
M |
1 |
- |
Details of transport |
|
This segment is used to specify the transport means used for the product being invoiced. This segment is only used if the transport means differ from those specified in the message header. |
|
|
SG47 |
- |
C |
5 |
- |
TOD-LOC |
|
A group of segments indicating the terms of delivery for the line item where this is different to or not specified within the heading section. |
|
|
TOD |
- |
M |
1 |
- |
Terms of delivery or transport |
|
This segment is used to specify the terms of delivery for the current line item. |
|
|
LOC |
- |
C |
2 |
- |
Place/location identification |
|
This segment is used to identify the location where the terms of delivery apply. |
|
|
Invoice Summary Section |
UNS |
- |
M |
1 |
- |
Section control |
|
This segment is used to identify the break between the message detail and message trailer sections. |
|
|
CNT |
- |
C |
10 |
- |
Control total |
|
This segment is used to provide message control information for checking on the message receiver's in-house system. |
|
|
SG50 |
- |
M |
100 |
- |
MOA-SG51 |
|
A group of segments giving total amounts for the whole invoice and - if relevant -detailing amounts pre-paid with relevant references. |
|
|
MOA |
- |
M |
1 |
- |
Monetary amount |
|
This segment is used to detail prepaid amounts, or total monetary values due for the entire invoice. |
|
|
SG51 |
- |
C |
10 |
- |
RFF-DTM |
|
A group of segments for giving references and where necessary, their dates, relating e.g. amounts prepaid number. |
|
|
RFF |
- |
M |
1 |
- |
Reference |
|
This segment is used to specify any references related to the message totals information. |
|
|
DTM |
- |
C |
5 |
- |
Date/time/period |
|
This segment is used to provide any dates related to the references specified in the previous RFF segment. |
|
|
SG52 |
- |
C |
10 |
- |
TAX-MOA |
|
A group of segments specifying taxes totals for the invoice. |
|
|
TAX |
- |
M |
1 |
- |
Duty/tax/fee details |
|
This segment is used to specify the total taxes or duties due on the complete invoice. |
|
|
MOA |
- |
C |
9 |
- |
Monetary amount |
|
This segment is used to specify the tax amounts due, for the tax rate specified in the TAX segment, covering the whole invoice. |
|
|
SG53 |
- |
C |
15 |
- |
ALC-ALI-MOA |
|
A group of segments specifying allowances and charges summary totals for the invoice. |
|
|
ALC |
- |
M |
1 |
- |
Allowance or charge |
|
This segment is used to specify per allowance or charge type totals for each allowances and charges. Allowances and charges detailed both at the header level and on individual product lines are summarized here. |
|
|
ALI |
- |
C |
1 |
- |
Additional information |
|
This segment is used to indicate any special conditions applicable to the allowances or charges at summary level. |
|
|
MOA |
- |
C |
2 |
- |
Monetary amount |
|
This segment is used to specify the total monetary value per allowance or charge type. |
|
|
UNT |
- |
M |
1 |
- |
Message trailer |
|
This segment is a mandatory UN/EDIFACT segment. It must always be the last segment in the message. |
|
|