EDI INVOICInvoice message

Transaction set

This specification provides the definition of the invoice message (invoic) to be used in electronic data interchange (edi) between trading partners involved in administration, commerce and transport.

Segments

Position
Segment
Name
Max use
10
UNH
Message header
To end and check the completeness of an interchange
Mandatory
AtMax 1
20
BGM
Beginning of message
To indicate the type and function of a message and to transmit the identifying number.
Mandatory
AtMax 1
30
DTM
Date/time/period
To specify date, and/or time, or period.
Mandatory
AtMax 35
40
PAI
Payment instructions
To specify the instructions for payment.
Opt
AtMax 1
50
ALI
Additional information
To indicate that special conditions due to the origin, customs preference, fiscal or commercial factors are applicable.
Opt
AtMax 5
60
IMD
Item description
To describe an item in either an industry or free format.
Opt
AtMax 1
70
FTX
Free text
To provide free form or coded text information.
Opt
AtMax 10
80
LOC
Place/location identification
To identify a country/place/location/related location one/related location two.
Opt
AtMax 10
90
GIS
General indicator
To transmit a processing indicator.
Opt
AtMax 10
100
DGS
Dangerous goods
To identify dangerous goods.
Opt
AtMax 1
1LOOPOpt
AtMax 99
120
RFF
Reference
To specify a reference.
Mandatory
AtMax 1
130
DTM
Date/time/period
To specify date, and/or time, or period.
Opt
AtMax 5
140
GIR
Related identification numbers
To specify a related set of identification numbers.
Opt
AtMax 5
150
LOC
Place/location identification
To identify a country/place/location/related location one/related location two.
Opt
AtMax 2
160
MEA
Measurements
To specify physical measurements, including dimension tolerances, weights and counts.
Opt
AtMax 5
170
QTY
Quantity
To specify a pertinent quantity.
Opt
AtMax 2
180
FTX
Free text
To provide free form or coded text information.
Opt
AtMax 5
190
MOA
Monetary amount
To specify a monetary amount.
Opt
AtMax 2
2LOOPOpt
AtMax 99
210
NAD
Name and address
To specify the name/address and their related function, either by co82 only and/or unstructured by co58 or structured by co80 thru 3207.
Mandatory
AtMax 1
220
LOC
Place/location identification
To identify a country/place/location/related location one/related location two.
Opt
AtMax 25
230
FII
Financial institution information
To identify an account and a related financial institution.
Opt
AtMax 5
3LOOPOpt
AtMax 9999
250
RFF
Reference
To specify a reference.
Mandatory
AtMax 1
260
DTM
Date/time/period
To specify date, and/or time, or period.
Opt
AtMax 5
4LOOPOpt
AtMax 5
280
DOC
Document/message details
To identify documents, either printed, electronically transferred, or referenced as specified in message description, including, where relevant, the identification of the type of transaction that will result from this message.
Mandatory
AtMax 1
290
DTM
Date/time/period
To specify date, and/or time, or period.
Opt
AtMax 5
5LOOPOpt
AtMax 5
310
CTA
Contact information
To identify a person or a department to whom communication should be directed.
Mandatory
AtMax 1
320
COM
Communication contact
To identify a communication number of a department or a person to whom communication should be directed.
Opt
AtMax 5
6LOOPOpt
AtMax 5
340
TAX
Duty/tax/fee details
To specify relevant duty/tax/fee information.
Mandatory
AtMax 1
350
MOA
Monetary amount
To specify a monetary amount.
Opt
AtMax 1
360
LOC
Place/location identification
To identify a country/place/location/related location one/related location two.
Opt
AtMax 5
7LOOPOpt
AtMax 5
380
CUX
Currencies
To specify currencies used in the transaction and relevant details for the rate of exchange.
Mandatory
AtMax 1
390
DTM
Date/time/period
To specify date, and/or time, or period.
Opt
AtMax 5
8LOOPOpt
AtMax 10
410
PAT
Payment terms basis
To specify the payment terms basis.
Mandatory
AtMax 1
420
DTM
Date/time/period
To specify date, and/or time, or period.
Opt
AtMax 5
430
PCD
Percentage details
To specify percentage information.
Opt
AtMax 1
440
MOA
Monetary amount
To specify a monetary amount.
Opt
AtMax 1
450
PAI
Payment instructions
To specify the instructions for payment.
Opt
AtMax 1
460
FII
Financial institution information
To identify an account and a related financial institution.
Opt
AtMax 1
9LOOPOpt
AtMax 10
480
TDT
Details of transport
To specify the transport details such as mode of transport, means of transport, its conveyance reference number and the identification of the means of transport. the segment may be pointed to by the tpl segment.
Mandatory
AtMax 1
490
TSR
Transport service requirements
To specify the contract and carriage conditions and service and priority requirements for the transport.
Opt
AtMax 1
10LOOPOpt
AtMax 10
510
LOC
Place/location identification
To identify a country/place/location/related location one/related location two.
Mandatory
AtMax 1
520
DTM
Date/time/period
To specify date, and/or time, or period.
Opt
AtMax 5
11LOOPOpt
AtMax 9999
540
RFF
Reference
To specify a reference.
Mandatory
AtMax 1
550
DTM
Date/time/period
To specify date, and/or time, or period.
Opt
AtMax 5
12LOOPOpt
AtMax 5
570
TOD
Terms of delivery or transport
To specify terms of delivery or transport.
Mandatory
AtMax 1
580
LOC
Place/location identification
To identify a country/place/location/related location one/related location two.
Opt
AtMax 2
13LOOPOpt
AtMax 1000
600
PAC
Package
To describe the number and type of packages/physical units.
Mandatory
AtMax 1
610
MEA
Measurements
To specify physical measurements, including dimension tolerances, weights and counts.
Opt
AtMax 5
620
EQD
Equipment details
To identify a unit of equipment.
Opt
AtMax 1
14LOOPOpt
AtMax 5
640
PCI
Package identification
To specify markings and labels on individual packages or physical units.
Mandatory
AtMax 1
650
RFF
Reference
To specify a reference.
Opt
AtMax 1
660
DTM
Date/time/period
To specify date, and/or time, or period.
Opt
AtMax 5
670
GIN
Goods identity number
To give specific identification numbers, either as single numbers or ranges.
Opt
AtMax 5
15LOOPOpt
AtMax 9999
690
ALC
Allowance or charge
To identify allowance or charge details.
Mandatory
AtMax 1
700
ALI
Additional information
To indicate that special conditions due to the origin, customs preference, fiscal or commercial factors are applicable.
Opt
AtMax 5
710
FTX
Free text
To provide free form or coded text information.
Opt
AtMax 1
16LOOPOpt
AtMax 5
730
RFF
Reference
To specify a reference.
Mandatory
AtMax 1
740
DTM
Date/time/period
To specify date, and/or time, or period.
Opt
AtMax 5
17LOOPOpt
AtMax 1
760
QTY
Quantity
To specify a pertinent quantity.
Mandatory
AtMax 1
770
RNG
Range details
To identify a range.
Opt
AtMax 1
18LOOPOpt
AtMax 1
790
PCD
Percentage details
To specify percentage information.
Mandatory
AtMax 1
800
RNG
Range details
To identify a range.
Opt
AtMax 1
19LOOPOpt
AtMax 2
820
MOA
Monetary amount
To specify a monetary amount.
Mandatory
AtMax 1
830
RNG
Range details
To identify a range.
Opt
AtMax 1
840
CUX
Currencies
To specify currencies used in the transaction and relevant details for the rate of exchange.
Opt
AtMax 1
850
DTM
Date/time/period
To specify date, and/or time, or period.
Opt
AtMax 1
20LOOPOpt
AtMax 1
870
RTE
Rate details
To specify rate information.
Mandatory
AtMax 1
880
RNG
Range details
To identify a range.
Opt
AtMax 1
21LOOPOpt
AtMax 5
900
TAX
Duty/tax/fee details
To specify relevant duty/tax/fee information.
Mandatory
AtMax 1
910
MOA
Monetary amount
To specify a monetary amount.
Opt
AtMax 1
22LOOPOpt
AtMax 100
930
RCS
Requirements and conditions
To specify sector/subject requirements and conditions.
Mandatory
AtMax 1
940
RFF
Reference
To specify a reference.
Opt
AtMax 5
950
DTM
Date/time/period
To specify date, and/or time, or period.
Opt
AtMax 5
960
FTX
Free text
To provide free form or coded text information.
Opt
AtMax 5
23LOOPOpt
AtMax 1
980
AJT
Adjustment details
To identify the reason for an adjustment.
Mandatory
AtMax 1
990
FTX
Free text
To provide free form or coded text information.
Opt
AtMax 5
24LOOPOpt
AtMax 1
1010
INP
Parties to instruction
To specify parties to an instruction and where relevant, the instruction.
Mandatory
AtMax 1
1020
FTX
Free text
To provide free form or coded text information.
Opt
AtMax 5
25LOOPOpt
AtMax 9999999
1040
LIN
Line item
To identify a line item and configuration.
Mandatory
AtMax 1
1050
PIA
Additional product id
To specify additional or substitutional item identification codes.
Opt
AtMax 25
1060
IMD
Item description
To describe an item in either an industry or free format.
Opt
AtMax 10
1070
MEA
Measurements
To specify physical measurements, including dimension tolerances, weights and counts.
Opt
AtMax 5
1080
QTY
Quantity
To specify a pertinent quantity.
Opt
AtMax 5
1090
PCD
Percentage details
To specify percentage information.
Opt
AtMax 1
1100
ALI
Additional information
To indicate that special conditions due to the origin, customs preference, fiscal or commercial factors are applicable.
Opt
AtMax 5
1110
DTM
Date/time/period
To specify date, and/or time, or period.
Opt
AtMax 35
1120
GIN
Goods identity number
To give specific identification numbers, either as single numbers or ranges.
Opt
AtMax 1000
1130
GIR
Related identification numbers
To specify a related set of identification numbers.
Opt
AtMax 1000
1140
QVR
Quantity variances
To specify item details relating to quantity variances.
Opt
AtMax 1
1150
EQD
Equipment details
To identify a unit of equipment.
Opt
AtMax 1
1160
FTX
Free text
To provide free form or coded text information.
Opt
AtMax 5
1170
DGS
Dangerous goods
To identify dangerous goods.
Opt
AtMax 1
26LOOPOpt
AtMax 10
1190
MOA
Monetary amount
To specify a monetary amount.
Mandatory
AtMax 1
1200
CUX
Currencies
To specify currencies used in the transaction and relevant details for the rate of exchange.
Opt
AtMax 1
27LOOPOpt
AtMax 10
1220
PAT
Payment terms basis
To specify the payment terms basis.
Mandatory
AtMax 1
1230
DTM
Date/time/period
To specify date, and/or time, or period.
Opt
AtMax 5
1240
PCD
Percentage details
To specify percentage information.
Opt
AtMax 1
1250
MOA
Monetary amount
To specify a monetary amount.
Opt
AtMax 1
28LOOPOpt
AtMax 25
1270
PRI
Price details
To specify price information.
Mandatory
AtMax 1
1280
CUX
Currencies
To specify currencies used in the transaction and relevant details for the rate of exchange.
Opt
AtMax 1
1290
APR
Additional price information
To provide information concerning pricing related to class of trade, price multiplier, and reason for change.
Opt
AtMax 1
1300
RNG
Range details
To identify a range.
Opt
AtMax 1
1310
DTM
Date/time/period
To specify date, and/or time, or period.
Opt
AtMax 5
29LOOPOpt
AtMax 10
1330
RFF
Reference
To specify a reference.
Mandatory
AtMax 1
1340
DTM
Date/time/period
To specify date, and/or time, or period.
Opt
AtMax 5
30LOOPOpt
AtMax 10
1360
PAC
Package
To describe the number and type of packages/physical units.
Mandatory
AtMax 1
1370
MEA
Measurements
To specify physical measurements, including dimension tolerances, weights and counts.
Opt
AtMax 10
1380
EQD
Equipment details
To identify a unit of equipment.
Opt
AtMax 1
31LOOPOpt
AtMax 10
1400
PCI
Package identification
To specify markings and labels on individual packages or physical units.
Mandatory
AtMax 1
1410
RFF
Reference
To specify a reference.
Opt
AtMax 1
1420
DTM
Date/time/period
To specify date, and/or time, or period.
Opt
AtMax 5
1430
GIN
Goods identity number
To give specific identification numbers, either as single numbers or ranges.
Opt
AtMax 10
32LOOPOpt
AtMax 9999
1450
LOC
Place/location identification
To identify a country/place/location/related location one/related location two.
Mandatory
AtMax 1
1460
QTY
Quantity
To specify a pertinent quantity.
Opt
AtMax 100
1470
DTM
Date/time/period
To specify date, and/or time, or period.
Opt
AtMax 5
33LOOPOpt
AtMax 99
1490
TAX
Duty/tax/fee details
To specify relevant duty/tax/fee information.
Mandatory
AtMax 1
1500
MOA
Monetary amount
To specify a monetary amount.
Opt
AtMax 1
1510
LOC
Place/location identification
To identify a country/place/location/related location one/related location two.
Opt
AtMax 5
34LOOPOpt
AtMax 99
1530
NAD
Name and address
To specify the name/address and their related function, either by co82 only and/or unstructured by co58 or structured by co80 thru 3207.
Mandatory
AtMax 1
1540
LOC
Place/location identification
To identify a country/place/location/related location one/related location two.
Opt
AtMax 5
35LOOPOpt
AtMax 5
1560
RFF
Reference
To specify a reference.
Mandatory
AtMax 1
1570
DTM
Date/time/period
To specify date, and/or time, or period.
Opt
AtMax 5
36LOOPOpt
AtMax 5
1590
DOC
Document/message details
To identify documents, either printed, electronically transferred, or referenced as specified in message description, including, where relevant, the identification of the type of transaction that will result from this message.
Mandatory
AtMax 1
1600
DTM
Date/time/period
To specify date, and/or time, or period.
Opt
AtMax 5
37LOOPOpt
AtMax 5
1620
CTA
Contact information
To identify a person or a department to whom communication should be directed.
Mandatory
AtMax 1
1630
COM
Communication contact
To identify a communication number of a department or a person to whom communication should be directed.
Opt
AtMax 5
38LOOPOpt
AtMax 30
1650
ALC
Allowance or charge
To identify allowance or charge details.
Mandatory
AtMax 1
1660
ALI
Additional information
To indicate that special conditions due to the origin, customs preference, fiscal or commercial factors are applicable.
Opt
AtMax 5
1670
DTM
Date/time/period
To specify date, and/or time, or period.
Opt
AtMax 5
1680
FTX
Free text
To provide free form or coded text information.
Opt
AtMax 1
39LOOPOpt
AtMax 1
1700
QTY
Quantity
To specify a pertinent quantity.
Mandatory
AtMax 1
1710
RNG
Range details
To identify a range.
Opt
AtMax 1
40LOOPOpt
AtMax 1
1730
PCD
Percentage details
To specify percentage information.
Mandatory
AtMax 1
1740
RNG
Range details
To identify a range.
Opt
AtMax 1
41LOOPOpt
AtMax 2
1760
MOA
Monetary amount
To specify a monetary amount.
Mandatory
AtMax 1
1770
RNG
Range details
To identify a range.
Opt
AtMax 1
1780
CUX
Currencies
To specify currencies used in the transaction and relevant details for the rate of exchange.
Opt
AtMax 1
1790
DTM
Date/time/period
To specify date, and/or time, or period.
Opt
AtMax 1
42LOOPOpt
AtMax 1
1810
RTE
Rate details
To specify rate information.
Mandatory
AtMax 1
1820
RNG
Range details
To identify a range.
Opt
AtMax 1
43LOOPOpt
AtMax 5
1840
TAX
Duty/tax/fee details
To specify relevant duty/tax/fee information.
Mandatory
AtMax 1
1850
MOA
Monetary amount
To specify a monetary amount.
Opt
AtMax 1
44LOOPOpt
AtMax 10
1870
TDT
Details of transport
To specify the transport details such as mode of transport, means of transport, its conveyance reference number and the identification of the means of transport. the segment may be pointed to by the tpl segment.
Mandatory
AtMax 1
45LOOPOpt
AtMax 10
1890
LOC
Place/location identification
To identify a country/place/location/related location one/related location two.
Mandatory
AtMax 1
1900
DTM
Date/time/period
To specify date, and/or time, or period.
Opt
AtMax 5
46LOOPOpt
AtMax 5
1920
TOD
Terms of delivery or transport
To specify terms of delivery or transport.
Mandatory
AtMax 1
1930
LOC
Place/location identification
To identify a country/place/location/related location one/related location two.
Opt
AtMax 2
47LOOPOpt
AtMax 100
1950
RCS
Requirements and conditions
To specify sector/subject requirements and conditions.
Mandatory
AtMax 1
1960
RFF
Reference
To specify a reference.
Opt
AtMax 5
1970
DTM
Date/time/period
To specify date, and/or time, or period.
Opt
AtMax 5
1980
FTX
Free text
To provide free form or coded text information.
Opt
AtMax 5
48LOOPOpt
AtMax 10
2000
GIS
General indicator
To transmit a processing indicator.
Mandatory
AtMax 1
2010
RFF
Reference
To specify a reference.
Opt
AtMax 1
2020
DTM
Date/time/period
To specify date, and/or time, or period.
Opt
AtMax 5
2030
GIR
Related identification numbers
To specify a related set of identification numbers.
Opt
AtMax 5
2040
LOC
Place/location identification
To identify a country/place/location/related location one/related location two.
Opt
AtMax 2
2050
MEA
Measurements
To specify physical measurements, including dimension tolerances, weights and counts.
Opt
AtMax 5
2060
QTY
Quantity
To specify a pertinent quantity.
Opt
AtMax 2
2070
FTX
Free text
To provide free form or coded text information.
Opt
AtMax 5
2080
MOA
Monetary amount
To specify a monetary amount.
Opt
AtMax 2
2090
UNS
Section control
To separate header, detail and summary sections of a message.
Mandatory
AtMax 1
2100
CNT
Control total
To provide control total.
Opt
AtMax 10
49LOOPMandatory
AtMax 100
2120
MOA
Monetary amount
To specify a monetary amount.
Mandatory
AtMax 1
50LOOPOpt
AtMax 1
2140
RFF
Reference
To specify a reference.
Mandatory
AtMax 1
2150
DTM
Date/time/period
To specify date, and/or time, or period.
Opt
AtMax 5
51LOOPOpt
AtMax 10
2170
TAX
Duty/tax/fee details
To specify relevant duty/tax/fee information.
Mandatory
AtMax 1
2180
MOA
Monetary amount
To specify a monetary amount.
Opt
AtMax 2
52LOOPOpt
AtMax 15
2200
ALC
Allowance or charge
To identify allowance or charge details.
Mandatory
AtMax 1
2210
ALI
Additional information
To indicate that special conditions due to the origin, customs preference, fiscal or commercial factors are applicable.
Opt
AtMax 1
2220
MOA
Monetary amount
To specify a monetary amount.
Opt
AtMax 2
2230
FTX
Free text
To provide free form or coded text information.
Opt
AtMax 1
2240
UNT
Message trailer
To end and check the completeness of a message.
Mandatory
AtMax 1

Elements

PositionElementNameRequirementTypeMin/MaxRepeat
10
Message reference numberMandatoryAlphanumeric1/1AtMax 1
20
Message identifierMandatoryAtMax 1
10
Message type identifierMandatoryAlphanumeric1/1Exact 1
20
Message type version numberMandatoryAlphanumeric1/1Exact 1
30
Message type release numberMandatoryAlphanumeric1/1Exact 1
40
Controlling agencyMandatoryAlphanumeric1/1Exact 1
50
Association assigned codeOptAlphanumeric1/1Exact 1
30
Common access referenceOptAlphanumeric1/1AtMax 1
40
Status of the transferOptAtMax 1