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 place or a location and/or related locations.
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 place or a location and/or related locations.
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 place or a location and/or related locations.
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 and details directly related to it.
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 place or a location and/or related locations.
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 place or a location and/or related locations.
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 place or a location and/or related locations.
Opt
AtMax 2
13LOOPOpt
AtMax 99
600
EQD
Equipment details
To identify a unit of equipment.
Mandatory
AtMax 1
610
SEL
Seal number
To specify the seal number or a range of seal numbers.
Opt
AtMax 9
14LOOPOpt
AtMax 1000
630
PAC
Package
To describe the number and type of packages/physical units.
Mandatory
AtMax 1
640
MEA
Measurements
To specify physical measurements, including dimension tolerances, weights and counts.
Opt
AtMax 5
650
EQD
Equipment details
To identify a unit of equipment.
Opt
AtMax 1
15LOOPOpt
AtMax 5
670
PCI
Package identification
To specify markings and labels on individual packages or physical units.
Mandatory
AtMax 1
680
RFF
Reference
To specify a reference.
Opt
AtMax 1
690
DTM
Date/time/period
To specify date, and/or time, or period.
Opt
AtMax 5
700
GIN
Goods identity number
To give specific identification numbers, either as single numbers or ranges.
Opt
AtMax 5
16LOOPOpt
AtMax 9999
720
ALC
Allowance or charge
To identify allowance or charge details.
Mandatory
AtMax 1
730
ALI
Additional information
To indicate that special conditions due to the origin, customs preference, fiscal or commercial factors are applicable.
Opt
AtMax 5
740
FTX
Free text
To provide free form or coded text information.
Opt
AtMax 1
17LOOPOpt
AtMax 5
760
RFF
Reference
To specify a reference.
Mandatory
AtMax 1
770
DTM
Date/time/period
To specify date, and/or time, or period.
Opt
AtMax 5
18LOOPOpt
AtMax 1
790
QTY
Quantity
To specify a pertinent quantity.
Mandatory
AtMax 1
800
RNG
Range details
To identify a range.
Opt
AtMax 1
19LOOPOpt
AtMax 1
820
PCD
Percentage details
To specify percentage information.
Mandatory
AtMax 1
830
RNG
Range details
To identify a range.
Opt
AtMax 1
20LOOPOpt
AtMax 2
850
MOA
Monetary amount
To specify a monetary amount.
Mandatory
AtMax 1
860
RNG
Range details
To identify a range.
Opt
AtMax 1
870
CUX
Currencies
To specify currencies used in the transaction and relevant details for the rate of exchange.
Opt
AtMax 1
880
DTM
Date/time/period
To specify date, and/or time, or period.
Opt
AtMax 1
21LOOPOpt
AtMax 1
900
RTE
Rate details
To specify rate information.
Mandatory
AtMax 1
910
RNG
Range details
To identify a range.
Opt
AtMax 1
22LOOPOpt
AtMax 5
930
TAX
Duty/tax/fee details
To specify relevant duty/tax/fee information.
Mandatory
AtMax 1
940
MOA
Monetary amount
To specify a monetary amount.
Opt
AtMax 1
23LOOPOpt
AtMax 100
960
RCS
Requirements and conditions
To specify sector/subject requirements and conditions.
Mandatory
AtMax 1
970
RFF
Reference
To specify a reference.
Opt
AtMax 5
980
DTM
Date/time/period
To specify date, and/or time, or period.
Opt
AtMax 5
990
FTX
Free text
To provide free form or coded text information.
Opt
AtMax 5
24LOOPOpt
AtMax 1
1010
AJT
Adjustment details
To identify the reason for an adjustment.
Mandatory
AtMax 1
1020
FTX
Free text
To provide free form or coded text information.
Opt
AtMax 5
25LOOPOpt
AtMax 1
1040
INP
Parties and instruction
To specify parties to an instruction, the instruction, or both.
Mandatory
AtMax 1
1050
FTX
Free text
To provide free form or coded text information.
Opt
AtMax 5
26LOOPOpt
AtMax 9999999
1070
LIN
Line item
To identify a line item and configuration.
Mandatory
AtMax 1
1080
PIA
Additional product id
To specify additional or substitutional item identification codes.
Opt
AtMax 25
1090
IMD
Item description
To describe an item in either an industry or free format.
Opt
AtMax 10
1100
MEA
Measurements
To specify physical measurements, including dimension tolerances, weights and counts.
Opt
AtMax 5
1110
QTY
Quantity
To specify a pertinent quantity.
Opt
AtMax 5
1120
PCD
Percentage details
To specify percentage information.
Opt
AtMax 1
1130
ALI
Additional information
To indicate that special conditions due to the origin, customs preference, fiscal or commercial factors are applicable.
Opt
AtMax 5
1140
DTM
Date/time/period
To specify date, and/or time, or period.
Opt
AtMax 35
1150
GIN
Goods identity number
To give specific identification numbers, either as single numbers or ranges.
Opt
AtMax 1000
1160
GIR
Related identification numbers
To specify a related set of identification numbers.
Opt
AtMax 1000
1170
QVR
Quantity variances
To specify item details relating to quantity variances.
Opt
AtMax 1
1180
EQD
Equipment details
To identify a unit of equipment.
Opt
AtMax 1
1190
FTX
Free text
To provide free form or coded text information.
Opt
AtMax 5
1200
DGS
Dangerous goods
To identify dangerous goods.
Opt
AtMax 1
27LOOPOpt
AtMax 10
1220
MOA
Monetary amount
To specify a monetary amount.
Mandatory
AtMax 1
1230
CUX
Currencies
To specify currencies used in the transaction and relevant details for the rate of exchange.
Opt
AtMax 1
28LOOPOpt
AtMax 10
1250
PAT
Payment terms basis
To specify the payment terms basis.
Mandatory
AtMax 1
1260
DTM
Date/time/period
To specify date, and/or time, or period.
Opt
AtMax 5
1270
PCD
Percentage details
To specify percentage information.
Opt
AtMax 1
1280
MOA
Monetary amount
To specify a monetary amount.
Opt
AtMax 1
29LOOPOpt
AtMax 25
1300
PRI
Price details
To specify price information.
Mandatory
AtMax 1
1310
CUX
Currencies
To specify currencies used in the transaction and relevant details for the rate of exchange.
Opt
AtMax 1
1320
APR
Additional price information
To provide information concerning pricing related to class of trade, price multiplier, and reason for change.
Opt
AtMax 1
1330
RNG
Range details
To identify a range.
Opt
AtMax 1
1340
DTM
Date/time/period
To specify date, and/or time, or period.
Opt
AtMax 5
30LOOPOpt
AtMax 10
1360
RFF
Reference
To specify a reference.
Mandatory
AtMax 1
1370
DTM
Date/time/period
To specify date, and/or time, or period.
Opt
AtMax 5
31LOOPOpt
AtMax 10
1390
PAC
Package
To describe the number and type of packages/physical units.
Mandatory
AtMax 1
1400
MEA
Measurements
To specify physical measurements, including dimension tolerances, weights and counts.
Opt
AtMax 10
1410
EQD
Equipment details
To identify a unit of equipment.
Opt
AtMax 1
32LOOPOpt
AtMax 10
1430
PCI
Package identification
To specify markings and labels on individual packages or physical units.
Mandatory
AtMax 1
1440
RFF
Reference
To specify a reference.
Opt
AtMax 1
1450
DTM
Date/time/period
To specify date, and/or time, or period.
Opt
AtMax 5
1460
GIN
Goods identity number
To give specific identification numbers, either as single numbers or ranges.
Opt
AtMax 10
33LOOPOpt
AtMax 9999
1480
LOC
Place/location identification
To identify a place or a location and/or related locations.
Mandatory
AtMax 1
1490
QTY
Quantity
To specify a pertinent quantity.
Opt
AtMax 100
1500
DTM
Date/time/period
To specify date, and/or time, or period.
Opt
AtMax 5
34LOOPOpt
AtMax 99
1520
TAX
Duty/tax/fee details
To specify relevant duty/tax/fee information.
Mandatory
AtMax 1
1530
MOA
Monetary amount
To specify a monetary amount.
Opt
AtMax 2
1540
LOC
Place/location identification
To identify a place or a location and/or related locations.
Opt
AtMax 5
35LOOPOpt
AtMax 99
1560
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
1570
LOC
Place/location identification
To identify a place or a location and/or related locations.
Opt
AtMax 5
36LOOPOpt
AtMax 5
1590
RFF
Reference
To specify a reference.
Mandatory
AtMax 1
1600
DTM
Date/time/period
To specify date, and/or time, or period.
Opt
AtMax 5
37LOOPOpt
AtMax 5
1620
DOC
Document/message details
To identify documents and details directly related to it.
Mandatory
AtMax 1
1630
DTM
Date/time/period
To specify date, and/or time, or period.
Opt
AtMax 5
38LOOPOpt
AtMax 5
1650
CTA
Contact information
To identify a person or a department to whom communication should be directed.
Mandatory
AtMax 1
1660
COM
Communication contact
To identify a communication number of a department or a person to whom communication should be directed.
Opt
AtMax 5
39LOOPOpt
AtMax 30
1680
ALC
Allowance or charge
To identify allowance or charge details.
Mandatory
AtMax 1
1690
ALI
Additional information
To indicate that special conditions due to the origin, customs preference, fiscal or commercial factors are applicable.
Opt
AtMax 5
1700
DTM
Date/time/period
To specify date, and/or time, or period.
Opt
AtMax 5
1710
FTX
Free text
To provide free form or coded text information.
Opt
AtMax 1
40LOOPOpt
AtMax 1
1730
QTY
Quantity
To specify a pertinent quantity.
Mandatory
AtMax 1
1740
RNG
Range details
To identify a range.
Opt
AtMax 1
41LOOPOpt
AtMax 1
1760
PCD
Percentage details
To specify percentage information.
Mandatory
AtMax 1
1770
RNG
Range details
To identify a range.
Opt
AtMax 1
42LOOPOpt
AtMax 2
1790
MOA
Monetary amount
To specify a monetary amount.
Mandatory
AtMax 1
1800
RNG
Range details
To identify a range.
Opt
AtMax 1
1810
CUX
Currencies
To specify currencies used in the transaction and relevant details for the rate of exchange.
Opt
AtMax 1
1820
DTM
Date/time/period
To specify date, and/or time, or period.
Opt
AtMax 1
43LOOPOpt
AtMax 1
1840
RTE
Rate details
To specify rate information.
Mandatory
AtMax 1
1850
RNG
Range details
To identify a range.
Opt
AtMax 1
44LOOPOpt
AtMax 5
1870
TAX
Duty/tax/fee details
To specify relevant duty/tax/fee information.
Mandatory
AtMax 1
1880
MOA
Monetary amount
To specify a monetary amount.
Opt
AtMax 2
45LOOPOpt
AtMax 10
1900
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
46LOOPOpt
AtMax 10
1920
LOC
Place/location identification
To identify a place or a location and/or related locations.
Mandatory
AtMax 1
1930
DTM
Date/time/period
To specify date, and/or time, or period.
Opt
AtMax 5
47LOOPOpt
AtMax 5
1950
TOD
Terms of delivery or transport
To specify terms of delivery or transport.
Mandatory
AtMax 1
1960
LOC
Place/location identification
To identify a place or a location and/or related locations.
Opt
AtMax 2
48LOOPOpt
AtMax 100
1980
RCS
Requirements and conditions
To specify sector/subject requirements and conditions.
Mandatory
AtMax 1
1990
RFF
Reference
To specify a reference.
Opt
AtMax 5
2000
DTM
Date/time/period
To specify date, and/or time, or period.
Opt
AtMax 5
2010
FTX
Free text
To provide free form or coded text information.
Opt
AtMax 5
49LOOPOpt
AtMax 10
2030
GIS
General indicator
To transmit a processing indicator.
Mandatory
AtMax 1
2040
RFF
Reference
To specify a reference.
Opt
AtMax 1
2050
DTM
Date/time/period
To specify date, and/or time, or period.
Opt
AtMax 5
2060
GIR
Related identification numbers
To specify a related set of identification numbers.
Opt
AtMax 5
2070
LOC
Place/location identification
To identify a place or a location and/or related locations.
Opt
AtMax 2
2080
MEA
Measurements
To specify physical measurements, including dimension tolerances, weights and counts.
Opt
AtMax 5
2090
QTY
Quantity
To specify a pertinent quantity.
Opt
AtMax 2
2100
FTX
Free text
To provide free form or coded text information.
Opt
AtMax 5
2110
MOA
Monetary amount
To specify a monetary amount.
Opt
AtMax 2
2120
UNS
Section control
To separate header, detail and summary sections of a message.
Mandatory
AtMax 1
2130
CNT
Control total
To provide control total.
Opt
AtMax 10
50LOOPMandatory
AtMax 100
2150
MOA
Monetary amount
To specify a monetary amount.
Mandatory
AtMax 1
51LOOPOpt
AtMax 1
2170
RFF
Reference
To specify a reference.
Mandatory
AtMax 1
2180
DTM
Date/time/period
To specify date, and/or time, or period.
Opt
AtMax 5
52LOOPOpt
AtMax 10
2200
TAX
Duty/tax/fee details
To specify relevant duty/tax/fee information.
Mandatory
AtMax 1
2210
MOA
Monetary amount
To specify a monetary amount.
Opt
AtMax 2
53LOOPOpt
AtMax 15
2230
ALC
Allowance or charge
To identify allowance or charge details.
Mandatory
AtMax 1
2240
ALI
Additional information
To indicate that special conditions due to the origin, customs preference, fiscal or commercial factors are applicable.
Opt
AtMax 1
2250
MOA
Monetary amount
To specify a monetary amount.
Opt
AtMax 2
2260
FTX
Free text
To provide free form or coded text information.
Opt
AtMax 1
2270
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/3Exact 1
30
Message type release numberMandatoryAlphanumeric1/3Exact 1
40
Controlling agencyMandatoryAlphanumeric1/3Exact 1
50
Association assigned codeOptAlphanumeric1/6Exact 1
60
Code list directory version numberOptAlphanumeric1/6Exact 1
70
Message type sub-function identificationOptAlphanumeric1/6Exact 1
30
Common access referenceOptAlphanumeric1/35AtMax 1
40
Status of the transferOptAtMax 1
10
Sequence of transfersMandatoryNumber1/2Exact 1
20
First and last transferOptAlphabet1/1Exact 1
50
Message subset identificationOptAtMax 1
10
Message subset identificationMandatoryAlphanumeric1/14Exact 1
20
Message subset version numberOptAlphanumeric1/3Exact 1
30
Message subset release numberOptAlphanumeric1/3Exact 1
40
Controlling agencyOptAlphanumeric1/3Exact 1
60
Message implementation guideline identificationOptAtMax 1
10
Message implementation guideline identificationMandatoryAlphanumeric1/14Exact 1
20
Message implementation guideline release numberOptAlphanumeric1/3Exact 1
30
Message implementation guideline release numberOptAlphanumeric1/3Exact 1
40
Controlling agencyOptAlphanumeric1/3Exact 1
70
Scenario identificationOptAtMax 1
10
Scenario identificationMandatoryAlphanumeric1/14Exact 1
20
Scenario release numberOptAlphanumeric1/3Exact 1
30
Scenario release numberOptAlphanumeric1/3Exact 1
40
Controlling agencyOptAlphanumeric1/3Exact 1