EDI INVOICInvoice message

Transaction set

This specification provides the definition of the united nations standard invoice message 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 10
80
RFF
Reference
To specify a reference.
Mandatory
AtMax 1
90
DTM
Date/time/period
To specify date, and/or time, or period.
Opt
AtMax 5
2LOOPOpt
AtMax 20
100
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
110
LOC
Place/location identification
To identify a country/place/location/related location one/related location two.
Opt
AtMax 25
120
FII
Financial institution information
To identify an account and a related financial institution.
Opt
AtMax 5
3LOOPOpt
AtMax 9999
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
4LOOPOpt
AtMax 5
150
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
160
DTM
Date/time/period
To specify date, and/or time, or period.
Opt
AtMax 5
5LOOPOpt
AtMax 5
170
CTA
Contact information
To identify a person or a department to whom communication should be directed.
Mandatory
AtMax 1
180
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
190
TAX
Duty/tax/fee details
To specify relevant duty/tax/fee information.
Mandatory
AtMax 1
200
MOA
Monetary amount
To specify a monetary amount.
Opt
AtMax 1
210
LOC
Place/location identification
To identify a country/place/location/related location one/related location two.
Opt
AtMax 5
7LOOPOpt
AtMax 5
220
CUX
Currencies
To specify currencies used in the transaction and relevant details for the rate of exchange.
Mandatory
AtMax 1
230
DTM
Date/time/period
To specify date, and/or time, or period.
Opt
AtMax 5
8LOOPOpt
AtMax 10
240
PAT
Payment terms basis
To specify the payment terms basis.
Mandatory
AtMax 1
250
DTM
Date/time/period
To specify date, and/or time, or period.
Opt
AtMax 5
260
PCD
Percentage details
To specify percentage information.
Opt
AtMax 1
270
MOA
Monetary amount
To specify a monetary amount.
Opt
AtMax 1
9LOOPOpt
AtMax 10
280
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
290
LOC
Place/location identification
To identify a country/place/location/related location one/related location two.
Mandatory
AtMax 1
300
DTM
Date/time/period
To specify date, and/or time, or period.
Opt
AtMax 5
11LOOPOpt
AtMax 5
310
TOD
Terms of delivery
To specify terms of delivery.
Mandatory
AtMax 1
320
LOC
Place/location identification
To identify a country/place/location/related location one/related location two.
Opt
AtMax 2
12LOOPOpt
AtMax 1000
330
PAC
Package
To describe the number and type of packages/physical units.
Mandatory
AtMax 1
340
MEA
Measurements
To specify physical measurements, including dimension tolerances, weights and counts.
Opt
AtMax 5
13LOOPOpt
AtMax 5
350
PCI
Package identification
To specify markings and labels on individual packages or physical units.
Mandatory
AtMax 1
360
RFF
Reference
To specify a reference.
Opt
AtMax 1
370
DTM
Date/time/period
To specify date, and/or time, or period.
Opt
AtMax 5
380
GIN
Goods identity number
To give specific identification numbers, either as single numbers or ranges.
Opt
AtMax 5
14LOOPOpt
AtMax 15
390
ALC
Allowance or charge
To identify allowance or charge details.
Mandatory
AtMax 1
400
ALI
Additional information
To indicate that special conditions due to the origin, customs preference, fiscal or commercial factors are applicable.
Opt
AtMax 5
15LOOPOpt
AtMax 5
410
RFF
Reference
To specify a reference.
Mandatory
AtMax 1
420
DTM
Date/time/period
To specify date, and/or time, or period.
Opt
AtMax 5
16LOOPOpt
AtMax 1
430
QTY
Quantity
To specify a pertinent quantity.
Mandatory
AtMax 1
440
RNG
Range details
To identify a range.
Opt
AtMax 1
17LOOPOpt
AtMax 1
450
PCD
Percentage details
To specify percentage information.
Mandatory
AtMax 1
460
RNG
Range details
To identify a range.
Opt
AtMax 1
18LOOPOpt
AtMax 2
470
MOA
Monetary amount
To specify a monetary amount.
Mandatory
AtMax 1
480
RNG
Range details
To identify a range.
Opt
AtMax 1
19LOOPOpt
AtMax 1
490
RTE
Rate details
To specify rate information.
Mandatory
AtMax 1
500
RNG
Range details
To identify a range.
Opt
AtMax 1
20LOOPOpt
AtMax 5
510
TAX
Duty/tax/fee details
To specify relevant duty/tax/fee information.
Mandatory
AtMax 1
520
MOA
Monetary amount
To specify a monetary amount.
Opt
AtMax 1
21LOOPOpt
AtMax 100
530
RCS
Requirements and conditions
To specify sector/subject requirements and conditions.
Mandatory
AtMax 1
540
RFF
Reference
To specify a reference.
Opt
AtMax 5
550
DTM
Date/time/period
To specify date, and/or time, or period.
Opt
AtMax 5
560
FTX
Free text
To provide free form or coded text information.
Opt
AtMax 5
22LOOPOpt
AtMax 200000
570
LIN
Line item
To identify a line item and configuration.
Mandatory
AtMax 1
580
PIA
Additional product id
To specify additional or substitutional item identification codes.
Opt
AtMax 25
590
IMD
Item description
To describe an item in either an industry or free format.
Opt
AtMax 10
600
MEA
Measurements
To specify physical measurements, including dimension tolerances, weights and counts.
Opt
AtMax 5
610
QTY
Quantity
To specify a pertinent quantity.
Opt
AtMax 5
620
PCD
Percentage details
To specify percentage information.
Opt
AtMax 1
630
ALI
Additional information
To indicate that special conditions due to the origin, customs preference, fiscal or commercial factors are applicable.
Opt
AtMax 5
640
DTM
Date/time/period
To specify date, and/or time, or period.
Opt
AtMax 35
650
GIN
Goods identity number
To give specific identification numbers, either as single numbers or ranges.
Opt
AtMax 1000
660
GIR
Related identification numbers
To specify a related set of identification numbers.
Opt
AtMax 1000
670
QVA
Quantity variances
To specify item details relating to quantity variances.
Opt
AtMax 1
680
FTX
Free text
To provide free form or coded text information.
Opt
AtMax 5
23LOOPOpt
AtMax 5
690
MOA
Monetary amount
To specify a monetary amount.
Mandatory
AtMax 1
700
CUX
Currencies
To specify currencies used in the transaction and relevant details for the rate of exchange.
Opt
AtMax 1
24LOOPOpt
AtMax 10
710
PAT
Payment terms basis
To specify the payment terms basis.
Mandatory
AtMax 1
720
DTM
Date/time/period
To specify date, and/or time, or period.
Opt
AtMax 5
730
PCD
Percentage details
To specify percentage information.
Opt
AtMax 1
740
MOA
Monetary amount
To specify a monetary amount.
Opt
AtMax 1
25LOOPOpt
AtMax 25
750
PRI
Price details
To specify price information.
Mandatory
AtMax 1
760
API
Additional price information
To provide information concerning pricing related to class of trade, price multiplier, and reason for change.
Opt
AtMax 1
770
RNG
Range details
To identify a range.
Opt
AtMax 1
780
DTM
Date/time/period
To specify date, and/or time, or period.
Opt
AtMax 5
26LOOPOpt
AtMax 10
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
27LOOPOpt
AtMax 10
810
PAC
Package
To describe the number and type of packages/physical units.
Mandatory
AtMax 1
820
MEA
Measurements
To specify physical measurements, including dimension tolerances, weights and counts.
Opt
AtMax 10
28LOOPOpt
AtMax 10
830
PCI
Package identification
To specify markings and labels on individual packages or physical units.
Mandatory
AtMax 1
840
RFF
Reference
To specify a reference.
Opt
AtMax 1
850
DTM
Date/time/period
To specify date, and/or time, or period.
Opt
AtMax 5
860
GIN
Goods identity number
To give specific identification numbers, either as single numbers or ranges.
Opt
AtMax 10
29LOOPOpt
AtMax 100
870
LOC
Place/location identification
To identify a country/place/location/related location one/related location two.
Mandatory
AtMax 1
880
QTY
Quantity
To specify a pertinent quantity.
Opt
AtMax 1
890
DTM
Date/time/period
To specify date, and/or time, or period.
Opt
AtMax 5
30LOOPOpt
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
920
LOC
Place/location identification
To identify a country/place/location/related location one/related location two.
Opt
AtMax 5
31LOOPOpt
AtMax 20
930
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
940
LOC
Place/location identification
To identify a country/place/location/related location one/related location two.
Opt
AtMax 5
32LOOPOpt
AtMax 5
950
RFF
Reference
To specify a reference.
Mandatory
AtMax 1
960
DTM
Date/time/period
To specify date, and/or time, or period.
Opt
AtMax 5
33LOOPOpt
AtMax 5
970
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
980
DTM
Date/time/period
To specify date, and/or time, or period.
Opt
AtMax 5
34LOOPOpt
AtMax 5
990
CTA
Contact information
To identify a person or a department to whom communication should be directed.
Mandatory
AtMax 1
1000
COM
Communication contact
To identify a communication number of a department or a person to whom communication should be directed.
Opt
AtMax 5
35LOOPOpt
AtMax 15
1010
ALC
Allowance or charge
To identify allowance or charge details.
Mandatory
AtMax 1
1020
ALI
Additional information
To indicate that special conditions due to the origin, customs preference, fiscal or commercial factors are applicable.
Opt
AtMax 5
36LOOPOpt
AtMax 1
1030
QTY
Quantity
To specify a pertinent quantity.
Mandatory
AtMax 1
1040
RNG
Range details
To identify a range.
Opt
AtMax 1
37LOOPOpt
AtMax 1
1050
PCD
Percentage details
To specify percentage information.
Mandatory
AtMax 1
1060
RNG
Range details
To identify a range.
Opt
AtMax 1
38LOOPOpt
AtMax 2
1070
MOA
Monetary amount
To specify a monetary amount.
Mandatory
AtMax 1
1080
RNG
Range details
To identify a range.
Opt
AtMax 1
39LOOPOpt
AtMax 1
1090
RTE
Rate details
To specify rate information.
Mandatory
AtMax 1
1100
RNG
Range details
To identify a range.
Opt
AtMax 1
40LOOPOpt
AtMax 5
1110
TAX
Duty/tax/fee details
To specify relevant duty/tax/fee information.
Mandatory
AtMax 1
1120
MOA
Monetary amount
To specify a monetary amount.
Opt
AtMax 1
41LOOPOpt
AtMax 10
1130
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
42LOOPOpt
AtMax 10
1140
LOC
Place/location identification
To identify a country/place/location/related location one/related location two.
Mandatory
AtMax 1
1150
DTM
Date/time/period
To specify date, and/or time, or period.
Opt
AtMax 5
43LOOPOpt
AtMax 5
1160
TOD
Terms of delivery
To specify terms of delivery.
Mandatory
AtMax 1
1170
LOC
Place/location identification
To identify a country/place/location/related location one/related location two.
Opt
AtMax 2
44LOOPOpt
AtMax 100
1180
RCS
Requirements and conditions
To specify sector/subject requirements and conditions.
Mandatory
AtMax 1
1190
RFF
Reference
To specify a reference.
Opt
AtMax 5
1200
DTM
Date/time/period
To specify date, and/or time, or period.
Opt
AtMax 5
1210
FTX
Free text
To provide free form or coded text information.
Opt
AtMax 5
1220
UNS
Section control
To separate header, detail and summary sections of a message.
Mandatory
AtMax 1
1230
CNT
Control total
To provide message control total.
Opt
AtMax 10
45LOOPMandatory
AtMax 100
1240
MOA
Monetary amount
To specify a monetary amount.
Mandatory
AtMax 1
46LOOPOpt
AtMax 1
1250
RFF
Reference
To specify a reference.
Mandatory
AtMax 1
1260
DTM
Date/time/period
To specify date, and/or time, or period.
Opt
AtMax 5
47LOOPOpt
AtMax 10
1270
TAX
Duty/tax/fee details
To specify relevant duty/tax/fee information.
Mandatory
AtMax 1
1280
MOA
Monetary amount
To specify a monetary amount.
Opt
AtMax 2
48LOOPOpt
AtMax 15
1290
ALC
Allowance or charge
To identify allowance or charge details.
Mandatory
AtMax 1
1300
ALI
Additional information
To indicate that special conditions due to the origin, customs preference, fiscal or commercial factors are applicable.
Opt
AtMax 1
1310
MOA
Monetary amount
To specify a monetary amount.
Opt
AtMax 2
1320
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