ORDERS Purchase order
D2 Purchasing (SWG)
A message specifying details for goods or services ordered under conditions agreed between the seller and the buyer.
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 999
To describe an item in either an industry or free format.
- 0070Free textConditionalMax 99
To provide free form or coded text information.
- 0080Related identification numbersConditionalMax 10
To specify a related set of identification numbers.
- Segment group 1Repeat 9999
- 0100ReferenceMandatoryMax 1
To specify a reference.
- 0110Date/time/periodConditionalMax 5
To specify date, and/or time, or period.
- 0100ReferenceMandatoryMax 1
- Segment group 2Repeat 99
- 0130Name 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.
- 0140Place/location identificationConditionalMax 99
To identify a place or a location and/or related locations.
- 0150Financial institution informationConditionalMax 5
To identify an account and a related financial institution.
- Segment group 3Repeat 99
- 0170ReferenceMandatoryMax 1
To specify a reference.
- 0180Date/time/periodConditionalMax 5
To specify date, and/or time, or period.
- 0170ReferenceMandatoryMax 1
- Segment group 4Repeat 5
- 0200Document/message detailsMandatoryMax 1
To identify documents and details directly related to it.
- 0210Date/time/periodConditionalMax 5
To specify date, and/or time, or period.
- 0200Document/message detailsMandatoryMax 1
- Segment group 5Repeat 5
- 0230Contact informationMandatoryMax 1
To identify a person or a department to whom communication should be directed.
- 0240Communication contactConditionalMax 5
To identify a communication number of a department or a person to whom communication should be directed.
- 0230Contact informationMandatoryMax 1
- 0130Name and addressMandatoryMax 1
- Segment group 6Repeat 5
- 0260Duty/tax/fee detailsMandatoryMax 1
To specify relevant duty/tax/fee information.
- 0270Monetary amountConditionalMax 1
To specify a monetary amount.
- 0280Place/location identificationConditionalMax 9
To identify a place or a location and/or related locations.
- 0260Duty/tax/fee detailsMandatoryMax 1
- Segment group 7Repeat 5
- 0300CurrenciesMandatoryMax 1
To specify currencies used in the transaction and relevant details for the rate of exchange.
- 0310Percentage detailsConditionalMax 5
To specify percentage information.
- 0320Date/time/periodConditionalMax 5
To specify date, and/or time, or period.
- 0300CurrenciesMandatoryMax 1
- Segment group 8Repeat 10
- 0340Payment termsMandatoryMax 1
To specify the terms of payment.
- 0350Date/time/periodConditionalMax 5
To specify date, and/or time, or period.
- 0360Percentage detailsConditionalMax 1
To specify percentage information.
- Segment group 9Repeat 9999
- 0380Monetary amountMandatoryMax 1
To specify a monetary amount.
- 0390Related identification numbersConditionalMax 9
To specify a related set of identification numbers.
- 0400Accounting journal identificationConditionalMax 99
To identify an accounting journal.
- 0380Monetary amountMandatoryMax 1
- 0340Payment termsMandatoryMax 1
- Segment group 10Repeat 10
- 0420Transport informationMandatoryMax 1
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.
+ 040 D5(040,030) If first, then all - Segment group 11Repeat 10
- 0440Place/location identificationMandatoryMax 1
To identify a place or a location and/or related locations.
- 0450Date/time/periodConditionalMax 5
To specify date, and/or time, or period.
- 0440Place/location identificationMandatoryMax 1
- 0420Transport informationMandatoryMax 1
- Segment group 12Repeat 5
- 0470Terms of delivery or transportMandatoryMax 1
To specify terms of delivery or transport.
- 0480Place/location identificationConditionalMax 2
To identify a place or a location and/or related locations.
- 0470Terms of delivery or transportMandatoryMax 1
- Segment group 13Repeat 99
- 0500PackageMandatoryMax 1
To describe the number and type of packages/physical units.
- 0510MeasurementsConditionalMax 5
To specify physical measurements, including dimension tolerances, weights and counts.
- Segment group 14Repeat 5
- 0530Package identificationMandatoryMax 1
To specify markings and labels on individual packages or physical units.
- 0540ReferenceConditionalMax 1
To specify a reference.
- 0550Date/time/periodConditionalMax 5
To specify date, and/or time, or period.
- 0560Goods identity numberConditionalMax 10
To give specific identification numbers, either as single numbers or ranges.
- 0530Package identificationMandatoryMax 1
- 0500PackageMandatoryMax 1
- Segment group 15Repeat 10
- 0580Equipment detailsMandatoryMax 1
To identify a unit of equipment.
- 0590Handling instructionsConditionalMax 5
To specify handling and where necessary, notify hazards.
- 0600MeasurementsConditionalMax 5
To specify physical measurements, including dimension tolerances, weights and counts.
- 0610Free textConditionalMax 5
To provide free form or coded text information.
- 0580Equipment detailsMandatoryMax 1
- Segment group 16Repeat 10
- 0630Scheduling conditionsMandatoryMax 1
To specify scheduling conditions.
- 0640Free textConditionalMax 5
To provide free form or coded text information.
- 0650ReferenceConditionalMax 5
To specify a reference.
- Segment group 17Repeat 10
- 0670QuantityMandatoryMax 1
To specify a pertinent quantity.
- 0680Date/time/periodConditionalMax 5
To specify date, and/or time, or period.
- 0670QuantityMandatoryMax 1
- 0630Scheduling conditionsMandatoryMax 1
- Segment group 18Repeat 25
- 0700Additional price informationMandatoryMax 1
To provide information concerning pricing related to class of trade, price multiplier, and reason for change.
- 0710Date/time/periodConditionalMax 5
To specify date, and/or time, or period.
- 0720Range detailsConditionalMax 1
To identify a range.
- 0700Additional price informationMandatoryMax 1
- Segment group 19Repeat 99
- 0740Allowance or chargeMandatoryMax 1
To identify allowance or charge details.
- 0750Additional informationConditionalMax 5
To indicate that special conditions due to the origin, customs preference, fiscal or commercial factors are applicable.
- 0760Date/time/periodConditionalMax 5
To specify date, and/or time, or period.
- Segment group 20Repeat 1
- 0780QuantityMandatoryMax 1
To specify a pertinent quantity.
- 0790Range detailsConditionalMax 1
To identify a range.
- 0780QuantityMandatoryMax 1
- Segment group 21Repeat 1
- 0810Percentage detailsMandatoryMax 1
To specify percentage information.
- 0820Range detailsConditionalMax 1
To identify a range.
- 0810Percentage detailsMandatoryMax 1
- Segment group 22Repeat 2
- 0840Monetary amountMandatoryMax 1
To specify a monetary amount.
- 0850Range detailsConditionalMax 1
To identify a range.
- 0840Monetary amountMandatoryMax 1
- Segment group 23Repeat 1
- 0870Rate detailsMandatoryMax 1
To specify rate information.
- 0880Range detailsConditionalMax 1
To identify a range.
- 0870Rate detailsMandatoryMax 1
- Segment group 24Repeat 5
- 0900Duty/tax/fee detailsMandatoryMax 1
To specify relevant duty/tax/fee information.
- 0910Monetary amountConditionalMax 1
To specify a monetary amount.
- 0900Duty/tax/fee detailsMandatoryMax 1
- 0740Allowance or chargeMandatoryMax 1
- Segment group 25Repeat 999
- 0930Requirements and conditionsMandatoryMax 1
To specify sector/subject requirements and conditions.
- 0940ReferenceConditionalMax 5
To specify a reference.
- 0950Date/time/periodConditionalMax 5
To specify date, and/or time, or period.
- 0960Free textConditionalMax 99999
To provide free form or coded text information.
- 0930Requirements and conditionsMandatoryMax 1
- Segment group 26Repeat 999
- 0980Dangerous goodsMandatoryMax 1
To identify dangerous goods.
- 0990Free textConditionalMax 5
To provide free form or coded text information.
- Segment group 27Repeat 99
- 1010Contact informationMandatoryMax 1
To identify a person or a department to whom communication should be directed.
- 1020Communication contactConditionalMax 5
To identify a communication number of a department or a person to whom communication should be directed.
- 1010Contact informationMandatoryMax 1
- 0980Dangerous goodsMandatoryMax 1
Detail
- Segment group 28Repeat 200000
- 1040Line itemMandatoryMax 1
To identify a line item and configuration.
- 1050Additional product idConditionalMax 25
To specify additional or substitutional item identification codes.
- 1060Item descriptionConditionalMax 99
To describe an item in either an industry or free format.
- 1070MeasurementsConditionalMax 99
To specify physical measurements, including dimension tolerances, weights and counts.
- 1080QuantityConditionalMax 99
To specify a pertinent quantity.
- 1090Percentage detailsConditionalMax 5
To specify percentage information.
- 1100Additional informationConditionalMax 5
To indicate that special conditions due to the origin, customs preference, fiscal or commercial factors are applicable.
- 1110Date/time/periodConditionalMax 35
To specify date, and/or time, or period.
- 1120Monetary amountConditionalMax 10
To specify a monetary amount.
- 1130Processing informationConditionalMax 99
To identify processing information.
- 1140Goods identity numberConditionalMax 1000
To give specific identification numbers, either as single numbers or ranges.
- 1150Related identification numbersConditionalMax 1000
To specify a related set of identification numbers.
- 1160Quantity variancesConditionalMax 1
To specify item details relating to quantity variances.
- 1170Document/message detailsConditionalMax 99
To identify documents and details directly related to it.
- 1180Payment instructionsConditionalMax 1
To specify the instructions for payment.
- 1190Maintenance operation detailsConditionalMax 99
To identify a maintenance operation and its responsible parties.
- 1200Free textConditionalMax 99
To provide free form or coded text information.
- Segment group 29Repeat 999
- 1220Characteristic/class idMandatoryMax 1
To identify and describe a specific characteristic and its relevance for subsequent business processes.
- 1230Characteristic valueConditionalMax 10
To provide the value of a characteristic.
- 1240MeasurementsConditionalMax 10
To specify physical measurements, including dimension tolerances, weights and counts.
- 1220Characteristic/class idMandatoryMax 1
- Segment group 30Repeat 10
- 1260Payment termsMandatoryMax 1
To specify the terms of payment.
- 1270Date/time/periodConditionalMax 5
To specify date, and/or time, or period.
- 1280Percentage detailsConditionalMax 1
To specify percentage information.
- Segment group 31Repeat 9999
- 1300Monetary amountMandatoryMax 1
To specify a monetary amount.
- 1310Related identification numbersConditionalMax 9
To specify a related set of identification numbers.
- 1300Monetary amountMandatoryMax 1
- 1260Payment termsMandatoryMax 1
- Segment group 32Repeat 25
- 1330Price detailsMandatoryMax 1
To specify price information.
- 1340CurrenciesConditionalMax 1
To specify currencies used in the transaction and relevant details for the rate of exchange.
- 1350Additional price informationConditionalMax 99
To provide information concerning pricing related to class of trade, price multiplier, and reason for change.
- 1360Range detailsConditionalMax 1
To identify a range.
- 1370Date/time/periodConditionalMax 5
To specify date, and/or time, or period.
- 1330Price detailsMandatoryMax 1
- Segment group 33Repeat 9999
- 1390ReferenceMandatoryMax 1
To specify a reference.
- 1400Date/time/periodConditionalMax 5
To specify date, and/or time, or period.
- 1410Processing informationConditionalMax 99
To identify processing information.
- 1420Monetary amountConditionalMax 99
To specify a monetary amount.
- 1390ReferenceMandatoryMax 1
- Segment group 34Repeat 99
- 1440PackageMandatoryMax 1
To describe the number and type of packages/physical units.
- 1450MeasurementsConditionalMax 5
To specify physical measurements, including dimension tolerances, weights and counts.
- 1460QuantityConditionalMax 5
To specify a pertinent quantity.
- 1470Date/time/periodConditionalMax 5
To specify date, and/or time, or period.
- Segment group 35Repeat 1
- 1490ReferenceMandatoryMax 1
To specify a reference.
- 1500Date/time/periodConditionalMax 5
To specify date, and/or time, or period.
- 1490ReferenceMandatoryMax 1
- Segment group 36Repeat 5
- 1520Package identificationMandatoryMax 1
To specify markings and labels on individual packages or physical units.
- 1530ReferenceConditionalMax 1
To specify a reference.
- 1540Date/time/periodConditionalMax 5
To specify date, and/or time, or period.
- 1550Goods identity numberConditionalMax 10
To give specific identification numbers, either as single numbers or ranges.
- 1520Package identificationMandatoryMax 1
- 1440PackageMandatoryMax 1
- Segment group 37Repeat 9999
- 1570Place/location identificationMandatoryMax 1
To identify a place or a location and/or related locations.
- 1580QuantityConditionalMax 1
To specify a pertinent quantity.
- 1590Percentage detailsConditionalMax 1
To specify percentage information.
- 1600Date/time/periodConditionalMax 5
To specify date, and/or time, or period.
- 1570Place/location identificationMandatoryMax 1
- Segment group 38Repeat 10
- 1620Duty/tax/fee detailsMandatoryMax 1
To specify relevant duty/tax/fee information.
- 1630Monetary amountConditionalMax 1
To specify a monetary amount.
- 1640Place/location identificationConditionalMax 5
To identify a place or a location and/or related locations.
- 1620Duty/tax/fee detailsMandatoryMax 1
- Segment group 39Repeat 999
- 1660Name 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.
- 1670Place/location identificationConditionalMax 5
To identify a place or a location and/or related locations.
- 1680Financial institution informationConditionalMax 5
To identify an account and a related financial institution.
- Segment group 40Repeat 99
- 1700ReferenceMandatoryMax 1
To specify a reference.
- 1710Date/time/periodConditionalMax 5
To specify date, and/or time, or period.
- 1700ReferenceMandatoryMax 1
- Segment group 41Repeat 5
- 1730Document/message detailsMandatoryMax 1
To identify documents and details directly related to it.
- 1740Date/time/periodConditionalMax 5
To specify date, and/or time, or period.
- 1730Document/message detailsMandatoryMax 1
- Segment group 42Repeat 5
- 1760Contact informationMandatoryMax 1
To identify a person or a department to whom communication should be directed.
- 1770Communication contactConditionalMax 5
To identify a communication number of a department or a person to whom communication should be directed.
- 1760Contact informationMandatoryMax 1
- 1660Name and addressMandatoryMax 1
- Segment group 43Repeat 99
- 1790Allowance or chargeMandatoryMax 1
To identify allowance or charge details.
- 1800Additional informationConditionalMax 5
To indicate that special conditions due to the origin, customs preference, fiscal or commercial factors are applicable.
- 1810Date/time/periodConditionalMax 5
To specify date, and/or time, or period.
- Segment group 44Repeat 1
- 1830QuantityMandatoryMax 1
To specify a pertinent quantity.
- 1840Range detailsConditionalMax 1
To identify a range.
- 1830QuantityMandatoryMax 1
- Segment group 45Repeat 1
- 1860Percentage detailsMandatoryMax 1
To specify percentage information.
- 1870Range detailsConditionalMax 1
To identify a range.
- 1860Percentage detailsMandatoryMax 1
- Segment group 46Repeat 2
- 1890Monetary amountMandatoryMax 1
To specify a monetary amount.
- 1900Range detailsConditionalMax 1
To identify a range.
- 1890Monetary amountMandatoryMax 1
- Segment group 47Repeat 1
- 1920Rate detailsMandatoryMax 1
To specify rate information.
- 1930Range detailsConditionalMax 1
To identify a range.
- 1920Rate detailsMandatoryMax 1
- Segment group 48Repeat 5
- 1950Duty/tax/fee detailsMandatoryMax 1
To specify relevant duty/tax/fee information.
- 1960Monetary amountConditionalMax 1
To specify a monetary amount.
- 1950Duty/tax/fee detailsMandatoryMax 1
- 1790Allowance or chargeMandatoryMax 1
- Segment group 49Repeat 10
- 1980Transport informationMandatoryMax 1
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.
+ 040 D5(040,030) If first, then all - Segment group 50Repeat 10
- 2000Place/location identificationMandatoryMax 1
To identify a place or a location and/or related locations.
- 2010Date/time/periodConditionalMax 5
To specify date, and/or time, or period.
- 2000Place/location identificationMandatoryMax 1
- 1980Transport informationMandatoryMax 1
- Segment group 51Repeat 5
- 2030Terms of delivery or transportMandatoryMax 1
To specify terms of delivery or transport.
- 2040Place/location identificationConditionalMax 2
To identify a place or a location and/or related locations.
- 2030Terms of delivery or transportMandatoryMax 1
- Segment group 52Repeat 10
- 2060Equipment detailsMandatoryMax 1
To identify a unit of equipment.
- 2070Handling instructionsConditionalMax 5
To specify handling and where necessary, notify hazards.
- 2080MeasurementsConditionalMax 5
To specify physical measurements, including dimension tolerances, weights and counts.
- 2090Free textConditionalMax 5
To provide free form or coded text information.
- 2060Equipment detailsMandatoryMax 1
- Segment group 53Repeat 100
- 2110Scheduling conditionsMandatoryMax 1
To specify scheduling conditions.
- 2120Free textConditionalMax 5
To provide free form or coded text information.
- 2130ReferenceConditionalMax 5
To specify a reference.
- Segment group 54Repeat 10
- 2150QuantityMandatoryMax 1
To specify a pertinent quantity.
- 2160Date/time/periodConditionalMax 5
To specify date, and/or time, or period.
- 2150QuantityMandatoryMax 1
- 2110Scheduling conditionsMandatoryMax 1
- Segment group 55Repeat 999
- 2180Requirements and conditionsMandatoryMax 1
To specify sector/subject requirements and conditions.
- 2190ReferenceConditionalMax 5
To specify a reference.
- 2200Date/time/periodConditionalMax 5
To specify date, and/or time, or period.
- 2210Free textConditionalMax 99999
To provide free form or coded text information.
- 2180Requirements and conditionsMandatoryMax 1
- Segment group 56Repeat 10
- 2230StagesMandatoryMax 1
To provide information related to the kind of stage in a process, the number of stages and the actual stage.
- Segment group 57Repeat 3
- 2250QuantityMandatoryMax 1
To specify a pertinent quantity.
- 2260Monetary amountConditionalMax 1
To specify a monetary amount.
- 2250QuantityMandatoryMax 1
- 2230StagesMandatoryMax 1
- Segment group 58Repeat 999
- 2280Dangerous goodsMandatoryMax 1
To identify dangerous goods.
- 2290Free textConditionalMax 5
To provide free form or coded text information.
- Segment group 59Repeat 99
- 2310Contact informationMandatoryMax 1
To identify a person or a department to whom communication should be directed.
- 2320Communication contactConditionalMax 5
To identify a communication number of a department or a person to whom communication should be directed.
- 2310Contact informationMandatoryMax 1
- 2280Dangerous goodsMandatoryMax 1
- 1040Line itemMandatoryMax 1
Summary
- 2330Section controlMandatoryMax 1
To separate header, detail and summary sections of a message.
- 2340Monetary amountConditionalMax 99
To specify a monetary amount.
- 2350Control totalConditionalMax 10
To provide control total.
- Segment group 60Repeat 10
- 2370Allowance or chargeMandatoryMax 1
To identify allowance or charge details.
- 2380Additional informationConditionalMax 1
To indicate that special conditions due to the origin, customs preference, fiscal or commercial factors are applicable.
- 2390Monetary amountMandatoryMax 2
To specify a monetary amount.
- 2370Allowance or chargeMandatoryMax 1
- 2400Message 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.