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
1LOOPOpt
AtMax 99
90
RFF
Reference
To specify a reference.
Mandatory
AtMax 1
100
DTM
Date/time/period
To specify date, and/or time, or period.
Opt
AtMax 5
2LOOPOpt
AtMax 99
120
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
130
LOC
Place/location identification
To identify a country/place/location/related location one/related location two.
Opt
AtMax 25
140
FII
Financial institution information
To identify an account and a related financial institution.
Opt
AtMax 5
3LOOPOpt
AtMax 9999
160
RFF
Reference
To specify a reference.
Mandatory
AtMax 1
170
DTM
Date/time/period
To specify date, and/or time, or period.
Opt
AtMax 5
4LOOPOpt
AtMax 5
190
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
200
DTM
Date/time/period
To specify date, and/or time, or period.
Opt
AtMax 5
5LOOPOpt
AtMax 5
220
CTA
Contact information
To identify a person or a department to whom communication should be directed.
Mandatory
AtMax 1
230
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
250
TAX
Duty/tax/fee details
To specify relevant duty/tax/fee information.
Mandatory
AtMax 1
260
MOA
Monetary amount
To specify a monetary amount.
Opt
AtMax 1
270
LOC
Place/location identification
To identify a country/place/location/related location one/related location two.
Opt
AtMax 5
7LOOPOpt
AtMax 5
290
CUX
Currencies
To specify currencies used in the transaction and relevant details for the rate of exchange.
Mandatory
AtMax 1
300
DTM
Date/time/period
To specify date, and/or time, or period.
Opt
AtMax 5
8LOOPOpt
AtMax 10
320
PAT
Payment terms basis
To specify the payment terms basis.
Mandatory
AtMax 1
330
DTM
Date/time/period
To specify date, and/or time, or period.
Opt
AtMax 5
340
PCD
Percentage details
To specify percentage information.
Opt
AtMax 1
350
MOA
Monetary amount
To specify a monetary amount.
Opt
AtMax 1
360
PAI
Payment instructions
To specify the instructions for payment.
Opt
AtMax 1
370
FII
Financial institution information
To identify an account and a related financial institution.
Opt
AtMax 1
9LOOPOpt
AtMax 10
390
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
10LOOPOpt
AtMax 10
410
LOC
Place/location identification
To identify a country/place/location/related location one/related location two.
Mandatory
AtMax 1
420
DTM
Date/time/period
To specify date, and/or time, or period.
Opt
AtMax 5
11LOOPOpt
AtMax 9999
440
RFF
Reference
To specify a reference.
Mandatory
AtMax 1
450
DTM
Date/time/period
To specify date, and/or time, or period.
Opt
AtMax 5
12LOOPOpt
AtMax 5
470
TOD
Terms of delivery or transport
To specify terms of delivery or transport.
Mandatory
AtMax 1
480
LOC
Place/location identification
To identify a country/place/location/related location one/related location two.
Opt
AtMax 2
13LOOPOpt
AtMax 1000
500
PAC
Package
To describe the number and type of packages/physical units.
Mandatory
AtMax 1
510
MEA
Measurements
To specify physical measurements, including dimension tolerances, weights and counts.
Opt
AtMax 5
14LOOPOpt
AtMax 5
530
PCI
Package identification
To specify markings and labels on individual packages or physical units.
Mandatory
AtMax 1
540
RFF
Reference
To specify a reference.
Opt
AtMax 1
550
DTM
Date/time/period
To specify date, and/or time, or period.
Opt
AtMax 5
560
GIN
Goods identity number
To give specific identification numbers, either as single numbers or ranges.
Opt
AtMax 5
15LOOPOpt
AtMax 9999
580
ALC
Allowance or charge
To identify allowance or charge details.
Mandatory
AtMax 1
590
ALI
Additional information
To indicate that special conditions due to the origin, customs preference, fiscal or commercial factors are applicable.
Opt
AtMax 5
16LOOPOpt
AtMax 5
610
RFF
Reference
To specify a reference.
Mandatory
AtMax 1
620
DTM
Date/time/period
To specify date, and/or time, or period.
Opt
AtMax 5
17LOOPOpt
AtMax 1
640
QTY
Quantity
To specify a pertinent quantity.
Mandatory
AtMax 1
650
RNG
Range details
To identify a range.
Opt
AtMax 1
18LOOPOpt
AtMax 1
670
PCD
Percentage details
To specify percentage information.
Mandatory
AtMax 1
680
RNG
Range details
To identify a range.
Opt
AtMax 1
19LOOPOpt
AtMax 2
700
MOA
Monetary amount
To specify a monetary amount.
Mandatory
AtMax 1
710
RNG
Range details
To identify a range.
Opt
AtMax 1
20LOOPOpt
AtMax 1
730
RTE
Rate details
To specify rate information.
Mandatory
AtMax 1
740
RNG
Range details
To identify a range.
Opt
AtMax 1
21LOOPOpt
AtMax 5
760
TAX
Duty/tax/fee details
To specify relevant duty/tax/fee information.
Mandatory
AtMax 1
770
MOA
Monetary amount
To specify a monetary amount.
Opt
AtMax 1
22LOOPOpt
AtMax 100
790
RCS
Requirements and conditions
To specify sector/subject requirements and conditions.
Mandatory
AtMax 1
800
RFF
Reference
To specify a reference.
Opt
AtMax 5
810
DTM
Date/time/period
To specify date, and/or time, or period.
Opt
AtMax 5
820
FTX
Free text
To provide free form or coded text information.
Opt
AtMax 5
23LOOPOpt
AtMax 1
840
AJT
Adjustment details
To identify the reason for an adjustment.
Mandatory
AtMax 1
850
FTX
Free text
To provide free form or coded text information.
Opt
AtMax 5
24LOOPOpt
AtMax 1
870
INP
Parties to instruction
To specify parties to an instruction and where relevant, the instruction.
Mandatory
AtMax 1
880
FTX
Free text
To provide free form or coded text information.
Opt
AtMax 5
25LOOPOpt
AtMax 9999999
900
LIN
Line item
To identify a line item and configuration.
Mandatory
AtMax 1
910
PIA
Additional product id
To specify additional or substitutional item identification codes.
Opt
AtMax 25
920
IMD
Item description
To describe an item in either an industry or free format.
Opt
AtMax 10
930
MEA
Measurements
To specify physical measurements, including dimension tolerances, weights and counts.
Opt
AtMax 5
940
QTY
Quantity
To specify a pertinent quantity.
Opt
AtMax 5
950
PCD
Percentage details
To specify percentage information.
Opt
AtMax 1
960
ALI
Additional information
To indicate that special conditions due to the origin, customs preference, fiscal or commercial factors are applicable.
Opt
AtMax 5
970
DTM
Date/time/period
To specify date, and/or time, or period.
Opt
AtMax 35
980
GIN
Goods identity number
To give specific identification numbers, either as single numbers or ranges.
Opt
AtMax 1000
990
GIR
Related identification numbers
To specify a related set of identification numbers.
Opt
AtMax 1000
1000
QVR
Quantity variances
To specify item details relating to quantity variances.
Opt
AtMax 1
1010
EQD
Equipment details
To identify a unit of equipment.
Opt
AtMax 1
1020
FTX
Free text
To provide free form or coded text information.
Opt
AtMax 5
26LOOPOpt
AtMax 5
1040
MOA
Monetary amount
To specify a monetary amount.
Mandatory
AtMax 1
1050
CUX
Currencies
To specify currencies used in the transaction and relevant details for the rate of exchange.
Opt
AtMax 1
27LOOPOpt
AtMax 10
1070
PAT
Payment terms basis
To specify the payment terms basis.
Mandatory
AtMax 1
1080
DTM
Date/time/period
To specify date, and/or time, or period.
Opt
AtMax 5
1090
PCD
Percentage details
To specify percentage information.
Opt
AtMax 1
1100
MOA
Monetary amount
To specify a monetary amount.
Opt
AtMax 1
28LOOPOpt
AtMax 25
1120
PRI
Price details
To specify price information.
Mandatory
AtMax 1
1130
APR
Additional price information
To provide information concerning pricing related to class of trade, price multiplier, and reason for change.
Opt
AtMax 1
1140
RNG
Range details
To identify a range.
Opt
AtMax 1
1150
DTM
Date/time/period
To specify date, and/or time, or period.
Opt
AtMax 5
29LOOPOpt
AtMax 10
1170
RFF
Reference
To specify a reference.
Mandatory
AtMax 1
1180
DTM
Date/time/period
To specify date, and/or time, or period.
Opt
AtMax 5
30LOOPOpt
AtMax 10
1200
PAC
Package
To describe the number and type of packages/physical units.
Mandatory
AtMax 1
1210
MEA
Measurements
To specify physical measurements, including dimension tolerances, weights and counts.
Opt
AtMax 10
31LOOPOpt
AtMax 10
1230
PCI
Package identification
To specify markings and labels on individual packages or physical units.
Mandatory
AtMax 1
1240
RFF
Reference
To specify a reference.
Opt
AtMax 1
1250
DTM
Date/time/period
To specify date, and/or time, or period.
Opt
AtMax 5
1260
GIN
Goods identity number
To give specific identification numbers, either as single numbers or ranges.
Opt
AtMax 10
32LOOPOpt
AtMax 9999
1280
LOC
Place/location identification
To identify a country/place/location/related location one/related location two.
Mandatory
AtMax 1
1290
QTY
Quantity
To specify a pertinent quantity.
Opt
AtMax 100
1300
DTM
Date/time/period
To specify date, and/or time, or period.
Opt
AtMax 5
33LOOPOpt
AtMax 99
1320
TAX
Duty/tax/fee details
To specify relevant duty/tax/fee information.
Mandatory
AtMax 1
1330
MOA
Monetary amount
To specify a monetary amount.
Opt
AtMax 1
1340
LOC
Place/location identification
To identify a country/place/location/related location one/related location two.
Opt
AtMax 5
34LOOPOpt
AtMax 20
1360
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
1370
LOC
Place/location identification
To identify a country/place/location/related location one/related location two.
Opt
AtMax 5
35LOOPOpt
AtMax 5
1390
RFF
Reference
To specify a reference.
Mandatory
AtMax 1
1400
DTM
Date/time/period
To specify date, and/or time, or period.
Opt
AtMax 5
36LOOPOpt
AtMax 5
1420
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
1430
DTM
Date/time/period
To specify date, and/or time, or period.
Opt
AtMax 5
37LOOPOpt
AtMax 5
1450
CTA
Contact information
To identify a person or a department to whom communication should be directed.
Mandatory
AtMax 1
1460
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 15
1480
ALC
Allowance or charge
To identify allowance or charge details.
Mandatory
AtMax 1
1490
ALI
Additional information
To indicate that special conditions due to the origin, customs preference, fiscal or commercial factors are applicable.
Opt
AtMax 5
1500
DTM
Date/time/period
To specify date, and/or time, or period.
Opt
AtMax 5
39LOOPOpt
AtMax 1
1520
QTY
Quantity
To specify a pertinent quantity.
Mandatory
AtMax 1
1530
RNG
Range details
To identify a range.
Opt
AtMax 1
40LOOPOpt
AtMax 1
1550
PCD
Percentage details
To specify percentage information.
Mandatory
AtMax 1
1560
RNG
Range details
To identify a range.
Opt
AtMax 1
41LOOPOpt
AtMax 2
1580
MOA
Monetary amount
To specify a monetary amount.
Mandatory
AtMax 1
1590
RNG
Range details
To identify a range.
Opt
AtMax 1
42LOOPOpt
AtMax 1
1610
RTE
Rate details
To specify rate information.
Mandatory
AtMax 1
1620
RNG
Range details
To identify a range.
Opt
AtMax 1
43LOOPOpt
AtMax 5
1640
TAX
Duty/tax/fee details
To specify relevant duty/tax/fee information.
Mandatory
AtMax 1
1650
MOA
Monetary amount
To specify a monetary amount.
Opt
AtMax 1
44LOOPOpt
AtMax 10
1670
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
1690
LOC
Place/location identification
To identify a country/place/location/related location one/related location two.
Mandatory
AtMax 1
1700
DTM
Date/time/period
To specify date, and/or time, or period.
Opt
AtMax 5
46LOOPOpt
AtMax 5
1720
TOD
Terms of delivery or transport
To specify terms of delivery or transport.
Mandatory
AtMax 1
1730
LOC
Place/location identification
To identify a country/place/location/related location one/related location two.
Opt
AtMax 2
47LOOPOpt
AtMax 100
1750
RCS
Requirements and conditions
To specify sector/subject requirements and conditions.
Mandatory
AtMax 1
1760
RFF
Reference
To specify a reference.
Opt
AtMax 5
1770
DTM
Date/time/period
To specify date, and/or time, or period.
Opt
AtMax 5
1780
FTX
Free text
To provide free form or coded text information.
Opt
AtMax 5
1790
UNS
Section control
To separate header, detail and summary sections of a message.
Mandatory
AtMax 1
1800
CNT
Control total
To provide control total.
Opt
AtMax 10
48LOOPMandatory
AtMax 100
1820
MOA
Monetary amount
To specify a monetary amount.
Mandatory
AtMax 1
49LOOPOpt
AtMax 1
1840
RFF
Reference
To specify a reference.
Mandatory
AtMax 1
1850
DTM
Date/time/period
To specify date, and/or time, or period.
Opt
AtMax 5
50LOOPOpt
AtMax 10
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
51LOOPOpt
AtMax 15
1900
ALC
Allowance or charge
To identify allowance or charge details.
Mandatory
AtMax 1
1910
ALI
Additional information
To indicate that special conditions due to the origin, customs preference, fiscal or commercial factors are applicable.
Opt
AtMax 1
1920
MOA
Monetary amount
To specify a monetary amount.
Opt
AtMax 2
1930
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