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 99
80
LOC
Place/location identification
To identify a place or a location and/or related locations.
Opt
AtMax 10
90
GEI
Processing information
To identify processing information.
Opt
AtMax 10
100
DGS
Dangerous goods
To identify dangerous goods.
Opt
AtMax 1
110
GIR
Related identification numbers
To specify a related set of identification numbers.
Opt
AtMax 10
1LOOPOpt
AtMax 99999
130
RFF
Reference
To specify a reference.
Mandatory
AtMax 1
140
DTM
Date/time/period
To specify date, and/or time, or period.
Opt
AtMax 5
150
GIR
Related identification numbers
To specify a related set of identification numbers.
Opt
AtMax 5
160
LOC
Place/location identification
To identify a place or a location and/or related locations.
Opt
AtMax 2
170
MEA
Measurements
To specify physical measurements, including dimension tolerances, weights and counts.
Opt
AtMax 5
180
QTY
Quantity
To specify a pertinent quantity.
Opt
AtMax 2
190
FTX
Free text
To provide free form or coded text information.
Opt
AtMax 5
200
MOA
Monetary amount
To specify a monetary amount.
Opt
AtMax 2
210
RTE
Rate details
To specify rate information.
Opt
AtMax 99
2LOOPOpt
AtMax 99
230
NAD
Name and address
To specify the name/address and their related function, either by c082 only and/or unstructured by c058 or structured by c080 thru 3207.
Mandatory
AtMax 1
240
LOC
Place/location identification
To identify a place or a location and/or related locations.
Opt
AtMax 25
250
FII
Financial institution information
To identify an account and a related financial institution.
Opt
AtMax 5
260
MOA
Monetary amount
To specify a monetary amount.
Opt
AtMax 99
3LOOPOpt
AtMax 9999
280
RFF
Reference
To specify a reference.
Mandatory
AtMax 1
290
DTM
Date/time/period
To specify date, and/or time, or period.
Opt
AtMax 5
4LOOPOpt
AtMax 5
310
DOC
Document/message details
To identify documents and details directly related to it.
Mandatory
AtMax 1
320
DTM
Date/time/period
To specify date, and/or time, or period.
Opt
AtMax 5
5LOOPOpt
AtMax 5
340
CTA
Contact information
To identify a person or a department to whom communication should be directed.
Mandatory
AtMax 1
350
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
370
TAX
Duty/tax/fee details
To specify relevant duty/tax/fee information.
Mandatory
AtMax 1
380
MOA
Monetary amount
To specify a monetary amount.
Opt
AtMax 1
390
LOC
Place/location identification
To identify a place or a location and/or related locations.
Opt
AtMax 5
7LOOPOpt
AtMax 99
410
CUX
Currencies
To specify currencies used in the transaction and relevant details for the rate of exchange.
Mandatory
AtMax 1
420
DTM
Date/time/period
To specify date, and/or time, or period.
Opt
AtMax 5
8LOOPOpt
AtMax 10
440
PYT
Payment terms
To specify the terms of payment.
Mandatory
AtMax 1
450
DTM
Date/time/period
To specify date, and/or time, or period.
Opt
AtMax 5
460
PCD
Percentage details
To specify percentage information.
Opt
AtMax 1
470
MOA
Monetary amount
To specify a monetary amount.
Opt
AtMax 1
480
PAI
Payment instructions
To specify the instructions for payment.
Opt
AtMax 1
490
FII
Financial institution information
To identify an account and a related financial institution.
Opt
AtMax 1
9LOOPOpt
AtMax 10
510
TDT
Transport information
To specify information regarding the transport such as mode of transport, means of transport, its conveyance reference number and the identification of the means of transport.
Mandatory
AtMax 1
520
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
540
LOC
Place/location identification
To identify a place or a location and/or related locations.
Mandatory
AtMax 1
550
DTM
Date/time/period
To specify date, and/or time, or period.
Opt
AtMax 5
11LOOPOpt
AtMax 9999
570
RFF
Reference
To specify a reference.
Mandatory
AtMax 1
580
DTM
Date/time/period
To specify date, and/or time, or period.
Opt
AtMax 5
12LOOPOpt
AtMax 5
600
TOD
Terms of delivery or transport
To specify terms of delivery or transport.
Mandatory
AtMax 1
610
LOC
Place/location identification
To identify a place or a location and/or related locations.
Opt
AtMax 2
13LOOPOpt
AtMax 99
630
EQD
Equipment details
To identify a unit of equipment.
Mandatory
AtMax 1
640
SEL
Seal number
To specify the seal number or a range of seal numbers.
Opt
AtMax 9
14LOOPOpt
AtMax 1000
660
PAC
Package
To describe the number and type of packages/physical units.
Mandatory
AtMax 1
670
MEA
Measurements
To specify physical measurements, including dimension tolerances, weights and counts.
Opt
AtMax 5
680
EQD
Equipment details
To identify a unit of equipment.
Opt
AtMax 1
15LOOPOpt
AtMax 5
700
PCI
Package identification
To specify markings and labels on individual packages or physical units.
Mandatory
AtMax 1
710
RFF
Reference
To specify a reference.
Opt
AtMax 1
720
DTM
Date/time/period
To specify date, and/or time, or period.
Opt
AtMax 5
730
GIN
Goods identity number
To give specific identification numbers, either as single numbers or ranges.
Opt
AtMax 5
16LOOPOpt
AtMax 9999
750
ALC
Allowance or charge
To identify allowance or charge details.
Mandatory
AtMax 1
760
ALI
Additional information
To indicate that special conditions due to the origin, customs preference, fiscal or commercial factors are applicable.
Opt
AtMax 5
770
FTX
Free text
To provide free form or coded text information.
Opt
AtMax 1
17LOOPOpt
AtMax 5
790
RFF
Reference
To specify a reference.
Mandatory
AtMax 1
800
DTM
Date/time/period
To specify date, and/or time, or period.
Opt
AtMax 5
18LOOPOpt
AtMax 1
820
QTY
Quantity
To specify a pertinent quantity.
Mandatory
AtMax 1
830
RNG
Range details
To identify a range.
Opt
AtMax 1
19LOOPOpt
AtMax 1
850
PCD
Percentage details
To specify percentage information.
Mandatory
AtMax 1
860
RNG
Range details
To identify a range.
Opt
AtMax 1
20LOOPOpt
AtMax 2
880
MOA
Monetary amount
To specify a monetary amount.
Mandatory
AtMax 1
890
RNG
Range details
To identify a range.
Opt
AtMax 1
900
CUX
Currencies
To specify currencies used in the transaction and relevant details for the rate of exchange.
Opt
AtMax 1
910
DTM
Date/time/period
To specify date, and/or time, or period.
Opt
AtMax 1
21LOOPOpt
AtMax 1
930
RTE
Rate details
To specify rate information.
Mandatory
AtMax 1
940
RNG
Range details
To identify a range.
Opt
AtMax 1
22LOOPOpt
AtMax 5
960
TAX
Duty/tax/fee details
To specify relevant duty/tax/fee information.
Mandatory
AtMax 1
970
MOA
Monetary amount
To specify a monetary amount.
Opt
AtMax 1
23LOOPOpt
AtMax 100
990
RCS
Requirements and conditions
To specify sector/subject requirements and conditions.
Mandatory
AtMax 1
1000
RFF
Reference
To specify a reference.
Opt
AtMax 5
1010
DTM
Date/time/period
To specify date, and/or time, or period.
Opt
AtMax 5
1020
FTX
Free text
To provide free form or coded text information.
Opt
AtMax 5
24LOOPOpt
AtMax 1
1040
AJT
Adjustment details
To identify the reason for an adjustment.
Mandatory
AtMax 1
1050
FTX
Free text
To provide free form or coded text information.
Opt
AtMax 5
25LOOPOpt
AtMax 1
1070
INP
Parties and instruction
To specify parties to an instruction, the instruction, or both.
Mandatory
AtMax 1
1080
FTX
Free text
To provide free form or coded text information.
Opt
AtMax 5
26LOOPOpt
AtMax 9999999
1100
LIN
Line item
To identify a line item and configuration.
Mandatory
AtMax 1
1110
PIA
Additional product id
To specify additional or substitutional item identification codes.
Opt
AtMax 25
1120
PGI
Product group information
To indicate the group in which a product belongs.
Opt
AtMax 99
1130
IMD
Item description
To describe an item in either an industry or free format.
Opt
AtMax 99
1140
MEA
Measurements
To specify physical measurements, including dimension tolerances, weights and counts.
Opt
AtMax 5
1150
QTY
Quantity
To specify a pertinent quantity.
Opt
AtMax 5
1160
PCD
Percentage details
To specify percentage information.
Opt
AtMax 1
1170
ALI
Additional information
To indicate that special conditions due to the origin, customs preference, fiscal or commercial factors are applicable.
Opt
AtMax 5
1180
DTM
Date/time/period
To specify date, and/or time, or period.
Opt
AtMax 35
1190
GIN
Goods identity number
To give specific identification numbers, either as single numbers or ranges.
Opt
AtMax 1000
1200
GIR
Related identification numbers
To specify a related set of identification numbers.
Opt
AtMax 1000
1210
QVR
Quantity variances
To specify item details relating to quantity variances.
Opt
AtMax 1
1220
EQD
Equipment details
To identify a unit of equipment.
Opt
AtMax 1
1230
FTX
Free text
To provide free form or coded text information.
Opt
AtMax 99
1240
DGS
Dangerous goods
To identify dangerous goods.
Opt
AtMax 1
27LOOPOpt
AtMax 99
1260
MOA
Monetary amount
To specify a monetary amount.
Mandatory
AtMax 1
1270
CUX
Currencies
To specify currencies used in the transaction and relevant details for the rate of exchange.
Opt
AtMax 1
28LOOPOpt
AtMax 10
1290
PYT
Payment terms
To specify the terms of payment.
Mandatory
AtMax 1
1300
DTM
Date/time/period
To specify date, and/or time, or period.
Opt
AtMax 5
1310
PCD
Percentage details
To specify percentage information.
Opt
AtMax 99
1320
MOA
Monetary amount
To specify a monetary amount.
Opt
AtMax 1
29LOOPOpt
AtMax 25
1340
PRI
Price details
To specify price information.
Mandatory
AtMax 1
1350
CUX
Currencies
To specify currencies used in the transaction and relevant details for the rate of exchange.
Opt
AtMax 1
1360
APR
Additional price information
To provide information concerning pricing related to class of trade, price multiplier, and reason for change.
Opt
AtMax 1
1370
RNG
Range details
To identify a range.
Opt
AtMax 1
1380
DTM
Date/time/period
To specify date, and/or time, or period.
Opt
AtMax 5
30LOOPOpt
AtMax 10
1400
RFF
Reference
To specify a reference.
Mandatory
AtMax 1
1410
DTM
Date/time/period
To specify date, and/or time, or period.
Opt
AtMax 5
31LOOPOpt
AtMax 10
1430
PAC
Package
To describe the number and type of packages/physical units.
Mandatory
AtMax 1
1440
MEA
Measurements
To specify physical measurements, including dimension tolerances, weights and counts.
Opt
AtMax 10
1450
EQD
Equipment details
To identify a unit of equipment.
Opt
AtMax 1
32LOOPOpt
AtMax 10
1470
PCI
Package identification
To specify markings and labels on individual packages or physical units.
Mandatory
AtMax 1
1480
RFF
Reference
To specify a reference.
Opt
AtMax 1
1490
DTM
Date/time/period
To specify date, and/or time, or period.
Opt
AtMax 5
1500
GIN
Goods identity number
To give specific identification numbers, either as single numbers or ranges.
Opt
AtMax 10
33LOOPOpt
AtMax 9999
1520
LOC
Place/location identification
To identify a place or a location and/or related locations.
Mandatory
AtMax 1
1530
QTY
Quantity
To specify a pertinent quantity.
Opt
AtMax 100
1540
DTM
Date/time/period
To specify date, and/or time, or period.
Opt
AtMax 5
34LOOPOpt
AtMax 99
1560
TAX
Duty/tax/fee details
To specify relevant duty/tax/fee information.
Mandatory
AtMax 1
1570
MOA
Monetary amount
To specify a monetary amount.
Opt
AtMax 2
1580
LOC
Place/location identification
To identify a place or a location and/or related locations.
Opt
AtMax 5
35LOOPOpt
AtMax 99
1600
NAD
Name and address
To specify the name/address and their related function, either by c082 only and/or unstructured by c058 or structured by c080 thru 3207.
Mandatory
AtMax 1
1610
LOC
Place/location identification
To identify a place or a location and/or related locations.
Opt
AtMax 5
1620
FII
Financial institution information
To identify an account and a related financial institution.
Opt
AtMax 5
36LOOPOpt
AtMax 5
1640
RFF
Reference
To specify a reference.
Mandatory
AtMax 1
1650
DTM
Date/time/period
To specify date, and/or time, or period.
Opt
AtMax 5
37LOOPOpt
AtMax 5
1670
DOC
Document/message details
To identify documents and details directly related to it.
Mandatory
AtMax 1
1680
DTM
Date/time/period
To specify date, and/or time, or period.
Opt
AtMax 5
38LOOPOpt
AtMax 5
1700
CTA
Contact information
To identify a person or a department to whom communication should be directed.
Mandatory
AtMax 1
1710
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
1730
ALC
Allowance or charge
To identify allowance or charge details.
Mandatory
AtMax 1
1740
ALI
Additional information
To indicate that special conditions due to the origin, customs preference, fiscal or commercial factors are applicable.
Opt
AtMax 5
1750
DTM
Date/time/period
To specify date, and/or time, or period.
Opt
AtMax 5
1760
FTX
Free text
To provide free form or coded text information.
Opt
AtMax 1
40LOOPOpt
AtMax 1
1780
QTY
Quantity
To specify a pertinent quantity.
Mandatory
AtMax 1
1790
RNG
Range details
To identify a range.
Opt
AtMax 1
41LOOPOpt
AtMax 1
1810
PCD
Percentage details
To specify percentage information.
Mandatory
AtMax 1
1820
RNG
Range details
To identify a range.
Opt
AtMax 1
42LOOPOpt
AtMax 2
1840
MOA
Monetary amount
To specify a monetary amount.
Mandatory
AtMax 1
1850
RNG
Range details
To identify a range.
Opt
AtMax 1
1860
CUX
Currencies
To specify currencies used in the transaction and relevant details for the rate of exchange.
Opt
AtMax 1
1870
DTM
Date/time/period
To specify date, and/or time, or period.
Opt
AtMax 1
43LOOPOpt
AtMax 1
1890
RTE
Rate details
To specify rate information.
Mandatory
AtMax 1
1900
RNG
Range details
To identify a range.
Opt
AtMax 1
44LOOPOpt
AtMax 5
1920
TAX
Duty/tax/fee details
To specify relevant duty/tax/fee information.
Mandatory
AtMax 1
1930
MOA
Monetary amount
To specify a monetary amount.
Opt
AtMax 2
45LOOPOpt
AtMax 10
1950
TDT
Transport information
To specify information regarding the transport such as mode of transport, means of transport, its conveyance reference number and the identification of the means of transport.
Mandatory
AtMax 1
46LOOPOpt
AtMax 10
1970
LOC
Place/location identification
To identify a place or a location and/or related locations.
Mandatory
AtMax 1
1980
DTM
Date/time/period
To specify date, and/or time, or period.
Opt
AtMax 5
47LOOPOpt
AtMax 5
2000
TOD
Terms of delivery or transport
To specify terms of delivery or transport.
Mandatory
AtMax 1
2010
LOC
Place/location identification
To identify a place or a location and/or related locations.
Opt
AtMax 2
48LOOPOpt
AtMax 100
2030
RCS
Requirements and conditions
To specify sector/subject requirements and conditions.
Mandatory
AtMax 1
2040
RFF
Reference
To specify a reference.
Opt
AtMax 5
2050
DTM
Date/time/period
To specify date, and/or time, or period.
Opt
AtMax 5
2060
FTX
Free text
To provide free form or coded text information.
Opt
AtMax 5
49LOOPOpt
AtMax 999
2080
GEI
Processing information
To identify processing information.
Mandatory
AtMax 1
2090
RFF
Reference
To specify a reference.
Opt
AtMax 9
2100
IMD
Item description
To describe an item in either an industry or free format.
Opt
AtMax 99
2110
DTM
Date/time/period
To specify date, and/or time, or period.
Opt
AtMax 5
2120
GIR
Related identification numbers
To specify a related set of identification numbers.
Opt
AtMax 5
2130
LOC
Place/location identification
To identify a place or a location and/or related locations.
Opt
AtMax 2
2140
MEA
Measurements
To specify physical measurements, including dimension tolerances, weights and counts.
Opt
AtMax 5
2150
QTY
Quantity
To specify a pertinent quantity.
Opt
AtMax 9
2160
FTX
Free text
To provide free form or coded text information.
Opt
AtMax 5
2170
MOA
Monetary amount
To specify a monetary amount.
Opt
AtMax 2
2180
UNS
Section control
To separate header, detail and summary sections of a message.
Mandatory
AtMax 1
2190
CNT
Control total
To provide control total.
Opt
AtMax 10
50LOOPMandatory
AtMax 100
2210
MOA
Monetary amount
To specify a monetary amount.
Mandatory
AtMax 1
51LOOPOpt
AtMax 1
2230
RFF
Reference
To specify a reference.
Mandatory
AtMax 1
2240
DTM
Date/time/period
To specify date, and/or time, or period.
Opt
AtMax 5
52LOOPOpt
AtMax 10
2260
TAX
Duty/tax/fee details
To specify relevant duty/tax/fee information.
Mandatory
AtMax 1
2270
MOA
Monetary amount
To specify a monetary amount.
Opt
AtMax 9
53LOOPOpt
AtMax 15
2290
ALC
Allowance or charge
To identify allowance or charge details.
Mandatory
AtMax 1
2300
ALI
Additional information
To indicate that special conditions due to the origin, customs preference, fiscal or commercial factors are applicable.
Opt
AtMax 1
2310
MOA
Monetary amount
To specify a monetary amount.
Opt
AtMax 2
2320
FTX
Free text
To provide free form or coded text information.
Opt
AtMax 1
2330
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