INVOIC Invoice
D2 Purchasing (SWG)
A message claiming payment for goods or services supplied under conditions agreed between the seller and the buyer.
The United Nations Standard Invoice Message, with correct data qualification, serves also as the specification for Debit Note and Credit Note messages. Throughout this document, the reference to 'Invoice' may be interpreted as conveying the wider meaning of 'Invoice/Credit Note/Debit Note'.
Header
- 0010Message headerMandatoryMax 1
To head, identify and specify a message.
1. Data element S009/0057 is retained for upward compatibility. The use ofS016 and/or S017 is encouraged in preference.2. The combination of the values carried in data elements 0062 and S009 shallbe used to identify uniquely the message within its group (if used) or ifnot used, within its interchange, for the purpose of acknowledgement. - 0020Beginning of messageMandatoryMax 1
To indicate the type and function of a message and to transmit the identifying number.
- 0030Date/time/periodMandatoryMax 35
To specify date, and/or time, or period.
- 0040Payment instructionsConditionalMax 1
To specify the instructions for payment.
- 0050Additional informationConditionalMax 5
To indicate that special conditions due to the origin, customs preference, fiscal or commercial factors are applicable.
- 0060Item descriptionConditionalMax 1
To describe an item in either an industry or free format.
- 0070Free textConditionalMax 99
To provide free form or coded text information.
- 0080Place/location identificationConditionalMax 10
To identify a place or a location and/or related locations.
- 0090General indicatorConditionalMax 10
To transmit a processing indicator.
This segment will be removed effective with directoryD.02B. - 0100Dangerous goodsConditionalMax 1
To identify dangerous goods.
- 0110Related identification numbersConditionalMax 10
To specify a related set of identification numbers.
- Segment group 1Repeat 99999
- 0130ReferenceMandatoryMax 1
To specify a reference.
- 0140Date/time/periodConditionalMax 5
To specify date, and/or time, or period.
- 0150Related identification numbersConditionalMax 5
To specify a related set of identification numbers.
- 0160Place/location identificationConditionalMax 2
To identify a place or a location and/or related locations.
- 0170MeasurementsConditionalMax 5
To specify physical measurements, including dimension tolerances, weights and counts.
- 0180QuantityConditionalMax 2
To specify a pertinent quantity.
- 0190Free textConditionalMax 5
To provide free form or coded text information.
- 0200Monetary amountConditionalMax 2
To specify a monetary amount.
- 0210Rate detailsConditionalMax 99
To specify rate information.
- 0130ReferenceMandatoryMax 1
- Segment group 2Repeat 99
- 0230Name and addressMandatoryMax 1
To specify the name/address and their related function, either by C082 only and/or unstructured by C058 or structured by C080 thru 3207.
- 0240Place/location identificationConditionalMax 25
To identify a place or a location and/or related locations.
- 0250Financial institution informationConditionalMax 5
To identify an account and a related financial institution.
- 0260Monetary amountConditionalMax 99
To specify a monetary amount.
- Segment group 3Repeat 9999
- 0280ReferenceMandatoryMax 1
To specify a reference.
- 0290Date/time/periodConditionalMax 5
To specify date, and/or time, or period.
- 0280ReferenceMandatoryMax 1
- Segment group 4Repeat 5
- 0310Document/message detailsMandatoryMax 1
To identify documents and details directly related to it.
- 0320Date/time/periodConditionalMax 5
To specify date, and/or time, or period.
- 0310Document/message detailsMandatoryMax 1
- Segment group 5Repeat 5
- 0340Contact informationMandatoryMax 1
To identify a person or a department to whom communication should be directed.
- 0350Communication contactConditionalMax 5
To identify a communication number of a department or a person to whom communication should be directed.
- 0340Contact informationMandatoryMax 1
- 0230Name and addressMandatoryMax 1
- Segment group 6Repeat 5
- 0370Duty/tax/fee detailsMandatoryMax 1
To specify relevant duty/tax/fee information.
- 0380Monetary amountConditionalMax 1
To specify a monetary amount.
- 0390Place/location identificationConditionalMax 5
To identify a place or a location and/or related locations.
- 0370Duty/tax/fee detailsMandatoryMax 1
- Segment group 7Repeat 99
- 0410CurrenciesMandatoryMax 1
To specify currencies used in the transaction and relevant details for the rate of exchange.
- 0420Date/time/periodConditionalMax 5
To specify date, and/or time, or period.
- 0410CurrenciesMandatoryMax 1
- Segment group 8Repeat 10
- 0440Payment terms basisMandatoryMax 1
To specify the payment terms basis.
This segment will be removed effective with directoryD.02B. - 0450Date/time/periodConditionalMax 5
To specify date, and/or time, or period.
- 0460Percentage detailsConditionalMax 1
To specify percentage information.
- 0470Monetary amountConditionalMax 1
To specify a monetary amount.
- 0480Payment instructionsConditionalMax 1
To specify the instructions for payment.
- 0490Financial institution informationConditionalMax 1
To identify an account and a related financial institution.
- 0440Payment terms basisMandatoryMax 1
- Segment group 9Repeat 10
- 0510Details of transportMandatoryMax 1
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.
- 0520Transport service requirementsConditionalMax 1
To specify the contract and carriage conditions and service and priority requirements for the transport.
- Segment group 10Repeat 10
- 0540Place/location identificationMandatoryMax 1
To identify a place or a location and/or related locations.
- 0550Date/time/periodConditionalMax 5
To specify date, and/or time, or period.
- 0540Place/location identificationMandatoryMax 1
- Segment group 11Repeat 9999
- 0570ReferenceMandatoryMax 1
To specify a reference.
- 0580Date/time/periodConditionalMax 5
To specify date, and/or time, or period.
- 0570ReferenceMandatoryMax 1
- 0510Details of transportMandatoryMax 1
- Segment group 12Repeat 5
- 0600Terms of delivery or transportMandatoryMax 1
To specify terms of delivery or transport.
- 0610Place/location identificationConditionalMax 2
To identify a place or a location and/or related locations.
- 0600Terms of delivery or transportMandatoryMax 1
- Segment group 13Repeat 99
- 0630Equipment detailsMandatoryMax 1
To identify a unit of equipment.
- 0640Seal numberConditionalMax 9
To specify the seal number or a range of seal numbers.
- 0630Equipment detailsMandatoryMax 1
- Segment group 14Repeat 1000
- 0660PackageMandatoryMax 1
To describe the number and type of packages/physical units.
- 0670MeasurementsConditionalMax 5
To specify physical measurements, including dimension tolerances, weights and counts.
- 0680Equipment detailsConditionalMax 1
To identify a unit of equipment.
- Segment group 15Repeat 5
- 0700Package identificationMandatoryMax 1
To specify markings and labels on individual packages or physical units.
- 0710ReferenceConditionalMax 1
To specify a reference.
- 0720Date/time/periodConditionalMax 5
To specify date, and/or time, or period.
- 0730Goods identity numberConditionalMax 5
To give specific identification numbers, either as single numbers or ranges.
- 0700Package identificationMandatoryMax 1
- 0660PackageMandatoryMax 1
- Segment group 16Repeat 9999
- 0750Allowance or chargeMandatoryMax 1
To identify allowance or charge details.
- 0760Additional informationConditionalMax 5
To indicate that special conditions due to the origin, customs preference, fiscal or commercial factors are applicable.
- 0770Free textConditionalMax 1
To provide free form or coded text information.
- Segment group 17Repeat 5
- 0790ReferenceMandatoryMax 1
To specify a reference.
- 0800Date/time/periodConditionalMax 5
To specify date, and/or time, or period.
- 0790ReferenceMandatoryMax 1
- Segment group 18Repeat 1
- 0820QuantityMandatoryMax 1
To specify a pertinent quantity.
- 0830Range detailsConditionalMax 1
To identify a range.
- 0820QuantityMandatoryMax 1
- Segment group 19Repeat 1
- 0850Percentage detailsMandatoryMax 1
To specify percentage information.
- 0860Range detailsConditionalMax 1
To identify a range.
- 0850Percentage detailsMandatoryMax 1
- Segment group 20Repeat 2
- 0880Monetary amountMandatoryMax 1
To specify a monetary amount.
- 0890Range detailsConditionalMax 1
To identify a range.
- 0900CurrenciesConditionalMax 1
To specify currencies used in the transaction and relevant details for the rate of exchange.
- 0910Date/time/periodConditionalMax 1
To specify date, and/or time, or period.
- 0880Monetary amountMandatoryMax 1
- Segment group 21Repeat 1
- 0930Rate detailsMandatoryMax 1
To specify rate information.
- 0940Range detailsConditionalMax 1
To identify a range.
- 0930Rate detailsMandatoryMax 1
- Segment group 22Repeat 5
- 0960Duty/tax/fee detailsMandatoryMax 1
To specify relevant duty/tax/fee information.
- 0970Monetary amountConditionalMax 1
To specify a monetary amount.
- 0960Duty/tax/fee detailsMandatoryMax 1
- 0750Allowance or chargeMandatoryMax 1
- Segment group 23Repeat 100
- 0990Requirements and conditionsMandatoryMax 1
To specify sector/subject requirements and conditions.
- 1000ReferenceConditionalMax 5
To specify a reference.
- 1010Date/time/periodConditionalMax 5
To specify date, and/or time, or period.
- 1020Free textConditionalMax 5
To provide free form or coded text information.
- 0990Requirements and conditionsMandatoryMax 1
- Segment group 24Repeat 1
- 1040Adjustment detailsMandatoryMax 1
To identify the reason for an adjustment.
- 1050Free textConditionalMax 5
To provide free form or coded text information.
- 1040Adjustment detailsMandatoryMax 1
- Segment group 25Repeat 1
- 1070Parties and instructionMandatoryMax 1
To specify parties to an instruction, the instruction, or both.
- 1080Free textConditionalMax 5
To provide free form or coded text information.
- 1070Parties and instructionMandatoryMax 1
Detail
- Segment group 26Repeat 9999999
- 1100Line itemMandatoryMax 1
To identify a line item and configuration.
- 1110Additional product idConditionalMax 25
To specify additional or substitutional item identification codes.
- 1120Product group informationConditionalMax 99
To indicate the group in which a product belongs.
- 1130Item descriptionConditionalMax 99
To describe an item in either an industry or free format.
- 1140MeasurementsConditionalMax 5
To specify physical measurements, including dimension tolerances, weights and counts.
- 1150QuantityConditionalMax 5
To specify a pertinent quantity.
- 1160Percentage detailsConditionalMax 1
To specify percentage information.
- 1170Additional informationConditionalMax 5
To indicate that special conditions due to the origin, customs preference, fiscal or commercial factors are applicable.
- 1180Date/time/periodConditionalMax 35
To specify date, and/or time, or period.
- 1190Goods identity numberConditionalMax 1000
To give specific identification numbers, either as single numbers or ranges.
- 1200Related identification numbersConditionalMax 1000
To specify a related set of identification numbers.
- 1210Quantity variancesConditionalMax 1
To specify item details relating to quantity variances.
- 1220Equipment detailsConditionalMax 1
To identify a unit of equipment.
- 1230Free textConditionalMax 99
To provide free form or coded text information.
- 1240Dangerous goodsConditionalMax 1
To identify dangerous goods.
- Segment group 27Repeat 99
- 1260Monetary amountMandatoryMax 1
To specify a monetary amount.
- 1270CurrenciesConditionalMax 1
To specify currencies used in the transaction and relevant details for the rate of exchange.
- 1260Monetary amountMandatoryMax 1
- Segment group 28Repeat 10
- 1290Payment terms basisMandatoryMax 1
To specify the payment terms basis.
This segment will be removed effective with directoryD.02B. - 1300Date/time/periodConditionalMax 5
To specify date, and/or time, or period.
- 1310Percentage detailsConditionalMax 99
To specify percentage information.
- 1320Monetary amountConditionalMax 1
To specify a monetary amount.
- 1290Payment terms basisMandatoryMax 1
- Segment group 29Repeat 25
- 1340Price detailsMandatoryMax 1
To specify price information.
- 1350CurrenciesConditionalMax 1
To specify currencies used in the transaction and relevant details for the rate of exchange.
- 1360Additional price informationConditionalMax 1
To provide information concerning pricing related to class of trade, price multiplier, and reason for change.
- 1370Range detailsConditionalMax 1
To identify a range.
- 1380Date/time/periodConditionalMax 5
To specify date, and/or time, or period.
- 1340Price detailsMandatoryMax 1
- Segment group 30Repeat 10
- 1400ReferenceMandatoryMax 1
To specify a reference.
- 1410Date/time/periodConditionalMax 5
To specify date, and/or time, or period.
- 1400ReferenceMandatoryMax 1
- Segment group 31Repeat 10
- 1430PackageMandatoryMax 1
To describe the number and type of packages/physical units.
- 1440MeasurementsConditionalMax 10
To specify physical measurements, including dimension tolerances, weights and counts.
- 1450Equipment detailsConditionalMax 1
To identify a unit of equipment.
- Segment group 32Repeat 10
- 1470Package identificationMandatoryMax 1
To specify markings and labels on individual packages or physical units.
- 1480ReferenceConditionalMax 1
To specify a reference.
- 1490Date/time/periodConditionalMax 5
To specify date, and/or time, or period.
- 1500Goods identity numberConditionalMax 10
To give specific identification numbers, either as single numbers or ranges.
- 1470Package identificationMandatoryMax 1
- 1430PackageMandatoryMax 1
- Segment group 33Repeat 9999
- 1520Place/location identificationMandatoryMax 1
To identify a place or a location and/or related locations.
- 1530QuantityConditionalMax 100
To specify a pertinent quantity.
- 1540Date/time/periodConditionalMax 5
To specify date, and/or time, or period.
- 1520Place/location identificationMandatoryMax 1
- Segment group 34Repeat 99
- 1560Duty/tax/fee detailsMandatoryMax 1
To specify relevant duty/tax/fee information.
- 1570Monetary amountConditionalMax 2
To specify a monetary amount.
- 1580Place/location identificationConditionalMax 5
To identify a place or a location and/or related locations.
- 1560Duty/tax/fee detailsMandatoryMax 1
- Segment group 35Repeat 99
- 1600Name and addressMandatoryMax 1
To specify the name/address and their related function, either by C082 only and/or unstructured by C058 or structured by C080 thru 3207.
- 1610Place/location identificationConditionalMax 5
To identify a place or a location and/or related locations.
- 1620Financial institution informationConditionalMax 5
To identify an account and a related financial institution.
- Segment group 36Repeat 5
- 1640ReferenceMandatoryMax 1
To specify a reference.
- 1650Date/time/periodConditionalMax 5
To specify date, and/or time, or period.
- 1640ReferenceMandatoryMax 1
- Segment group 37Repeat 5
- 1670Document/message detailsMandatoryMax 1
To identify documents and details directly related to it.
- 1680Date/time/periodConditionalMax 5
To specify date, and/or time, or period.
- 1670Document/message detailsMandatoryMax 1
- Segment group 38Repeat 5
- 1700Contact informationMandatoryMax 1
To identify a person or a department to whom communication should be directed.
- 1710Communication contactConditionalMax 5
To identify a communication number of a department or a person to whom communication should be directed.
- 1700Contact informationMandatoryMax 1
- 1600Name and addressMandatoryMax 1
- Segment group 39Repeat 30
- 1730Allowance or chargeMandatoryMax 1
To identify allowance or charge details.
- 1740Additional informationConditionalMax 5
To indicate that special conditions due to the origin, customs preference, fiscal or commercial factors are applicable.
- 1750Date/time/periodConditionalMax 5
To specify date, and/or time, or period.
- 1760Free textConditionalMax 1
To provide free form or coded text information.
- Segment group 40Repeat 1
- 1780QuantityMandatoryMax 1
To specify a pertinent quantity.
- 1790Range detailsConditionalMax 1
To identify a range.
- 1780QuantityMandatoryMax 1
- Segment group 41Repeat 1
- 1810Percentage detailsMandatoryMax 1
To specify percentage information.
- 1820Range detailsConditionalMax 1
To identify a range.
- 1810Percentage detailsMandatoryMax 1
- Segment group 42Repeat 2
- 1840Monetary amountMandatoryMax 1
To specify a monetary amount.
- 1850Range detailsConditionalMax 1
To identify a range.
- 1860CurrenciesConditionalMax 1
To specify currencies used in the transaction and relevant details for the rate of exchange.
- 1870Date/time/periodConditionalMax 1
To specify date, and/or time, or period.
- 1840Monetary amountMandatoryMax 1
- Segment group 43Repeat 1
- 1890Rate detailsMandatoryMax 1
To specify rate information.
- 1900Range detailsConditionalMax 1
To identify a range.
- 1890Rate detailsMandatoryMax 1
- Segment group 44Repeat 5
- 1920Duty/tax/fee detailsMandatoryMax 1
To specify relevant duty/tax/fee information.
- 1930Monetary amountConditionalMax 2
To specify a monetary amount.
- 1920Duty/tax/fee detailsMandatoryMax 1
- 1730Allowance or chargeMandatoryMax 1
- Segment group 45Repeat 10
- 1950Details of transportMandatoryMax 1
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.
- Segment group 46Repeat 10
- 1970Place/location identificationMandatoryMax 1
To identify a place or a location and/or related locations.
- 1980Date/time/periodConditionalMax 5
To specify date, and/or time, or period.
- 1970Place/location identificationMandatoryMax 1
- 1950Details of transportMandatoryMax 1
- Segment group 47Repeat 5
- 2000Terms of delivery or transportMandatoryMax 1
To specify terms of delivery or transport.
- 2010Place/location identificationConditionalMax 2
To identify a place or a location and/or related locations.
- 2000Terms of delivery or transportMandatoryMax 1
- Segment group 48Repeat 100
- 2030Requirements and conditionsMandatoryMax 1
To specify sector/subject requirements and conditions.
- 2040ReferenceConditionalMax 5
To specify a reference.
- 2050Date/time/periodConditionalMax 5
To specify date, and/or time, or period.
- 2060Free textConditionalMax 5
To provide free form or coded text information.
- 2030Requirements and conditionsMandatoryMax 1
- Segment group 49Repeat 10
- 2080General indicatorMandatoryMax 1
To transmit a processing indicator.
This segment will be removed effective with directoryD.02B. - 2090ReferenceConditionalMax 1
To specify a reference.
- 2100Date/time/periodConditionalMax 5
To specify date, and/or time, or period.
- 2110Related identification numbersConditionalMax 5
To specify a related set of identification numbers.
- 2120Place/location identificationConditionalMax 2
To identify a place or a location and/or related locations.
- 2130MeasurementsConditionalMax 5
To specify physical measurements, including dimension tolerances, weights and counts.
- 2140QuantityConditionalMax 2
To specify a pertinent quantity.
- 2150Free textConditionalMax 5
To provide free form or coded text information.
- 2160Monetary amountConditionalMax 2
To specify a monetary amount.
- 2080General indicatorMandatoryMax 1
- 1100Line itemMandatoryMax 1
Summary
- 2170Section controlMandatoryMax 1
To separate header, detail and summary sections of a message.
- 2180Control totalConditionalMax 10
To provide control total.
- Segment group 50Repeat 100
- 2200Monetary amountMandatoryMax 1
To specify a monetary amount.
- Segment group 51Repeat 1
- 2220ReferenceMandatoryMax 1
To specify a reference.
- 2230Date/time/periodConditionalMax 5
To specify date, and/or time, or period.
- 2220ReferenceMandatoryMax 1
- 2200Monetary amountMandatoryMax 1
- Segment group 52Repeat 10
- 2250Duty/tax/fee detailsMandatoryMax 1
To specify relevant duty/tax/fee information.
- 2260Monetary amountConditionalMax 2
To specify a monetary amount.
- 2250Duty/tax/fee detailsMandatoryMax 1
- Segment group 53Repeat 15
- 2280Allowance or chargeMandatoryMax 1
To identify allowance or charge details.
- 2290Additional informationConditionalMax 1
To indicate that special conditions due to the origin, customs preference, fiscal or commercial factors are applicable.
- 2300Monetary amountConditionalMax 9
To specify a monetary amount.
- 2310Free textConditionalMax 1
To provide free form or coded text information.
- 2280Allowance or chargeMandatoryMax 1
- 2320Message trailerMandatoryMax 1
To end and check the completeness of a message.
1. 0062, the value shall be identical to the value in 0062 in thecorresponding UNH segment.