This specification provides the definition of the Purchase order message (ORDERS) to be used in Electronic Data Interchange (EDI) between trading partners involved in administration, commerce and transport.
A message specifying details for goods or services ordered under conditions agreed between the seller and the buyer.
The Purchase order message may be used for both national and international applications. It is based on universal practice related to administration, commerce and transport, and is not dependent on the type of business or industry.
See UNTDID, Part 4, Chapter 2.3 UN/ECE UNSM - General Introduction, Section 1.
See UNTDID, Part 4, Chapter 2.3 UN/ECE UNSM - General Introduction, Section 2.
This section should be read in conjunction with the segment table which indicates mandatory, conditional and repeating requirements.
The following guidelines and principles apply to the whole message and are intended to facilitate the understanding and implementation of the message:
All specified dates/times should be in the format 'ccyymmdd'/'hhmm' unless all parties involved in the transaction agree that there is a functional requirement for an alternative format. Periods should be specified as whole numbers representing the required period as indicated in the format qualifier (weeks, months, etc.)
Where a choice of code or text is given only the code element should be used wherever possible.
Conditional data that is not required in the message should not be included.
Care must be taken that the segment qualifier in dependent segments do not conflict with the segment qualifier of the trigger segment of a group.
Free text information within the message should be avoided as this inhibits automatic processing.
A service segment starting and uniquely identifying a message. The message type code for the Purchase order message is ORDERS.
Note: Purchase order messages conforming to this document must contain the following data in segment UNH, composite S009:
A segment by which the sender must uniquely identify the order by means of its name and number and when necessary its function.
A segment specifying general dates and, when relevant, times related to the whole message. The segment must be specified at least once to identify the order date. Examples of the use of this DTM segment are: Lead times that apply to the whole of the Order and, if no schedule is to be specified, the delivery date. The Date/time/period segment within other Segment group should be used whenever the date/time/period requires to be logically related to another specified data item. e.g. Payment due date is specified within the PAT Segment group.
A segment requesting or confirming conditions of payment, guarantee and method of payment for the whole order. An example of the use of this segment is to specify that a documentary credit will be used.
A segment indicating special conditions related to the total order owing to origin, customs preference or other commercial factors.
A segment providing a description common to all line items of the order.
A segment with free text information, in coded or clear form, used when additional information is needed but cannot be accommodated within other segments. In computer to computer exchanges such text will normally require the receiver to process this segment manually.
A segment providing related identification numbers common to all line items.
A segment identifying the line item by the line number and configuration level, and additionally, identifying the product or service ordered. Other product identification numbers e.g. Buyer product number, etc. can be specified within the following PIA segment.
A segment providing either additional identification to the product specified in the LIN segment (e.g. Harmonized System number), or provides any substitute product identification.
A segment for describing the product or service being ordered as well as product characteristic. This segment should be used for products or services that cannot be fully identified by a product code or article number.
A segment enabling the physical measurements of the ordered item to be specified where this is required for full identification of the product. Any measurements must refer to the product in its unpacked form e.g. thickness of plastic film, length, weight, etc.
A segment identifying the product quantities e.g. ordered quantity.
A segment specifying the strength or yield of a product as a percentage e.g. 80% to indicate the strength of an acid.
A segment indicating that the line item is subject to special conditions owing to origin, customs preference, embargo regulations or commercial factors.
A segment specifying date/time/period details relating to the line item only.
A segment specifying any monetary amounts relating to the product e.g. item amount, insurance value, customs value.
A segment used to specify general processing information about the line item.
A segment providing identity numbers to be applied to the goods being ordered e.g. serial numbers for assembled equipment.
A segment providing sets of related identification numbers for a line item e.g. engine numbers, chassis number and transmission number for a vehicle.
A segment identifying order quantity variances, normally specified by the supplier using an Order Response message.
A segment to indicate that a certificate/declaration of origin is required for the ordered article.
A segment to indicate that where a central buyer is purchasing on behalf of different consignees, the means of payment may differ for each item/consignee combination as specified in segment group 25.
A segment with free text information, in coded or clear form, used when additional information is needed but cannot be accommodated within other segments. In computer to computer exchanges such text will normally require the receiver to process this segment manually.
A service segment placed at the start of the summary section to avoid segment collision.
A segment giving the total amounts for the whole order message.
A segment by which control totals may be provided by the sender for checking by the receiver.
ββUNH Message header | Γ1 | (M) |
ββBGM Beginning of message | Γ1 | (M) |
ββDTM Date/time/period | Γ35 | (M) |
ββPAI Payment instructions | Γ1 | (C) |
ββALI Additional information | Γ5 | (C) |
ββIMD Item description | Γ999 | (C) |
ββFTX Free text | Γ99 | (C) |
ββGIR Related identification numbers | Γ10 | (C) |
ββSegment Group 1 | Γ9999 | (C) |
ββββRFF Reference | Γ1 | (M) |
ββββDTM Date/time/period | Γ5 | (C) |
ββSegment Group 2 | Γ99 | (C) |
ββββNAD Name and address | Γ1 | (M) |
ββββLOC Place/location identification | Γ99 | (C) |
ββββFII Financial institution information | Γ5 | (C) |
ββββSegment Group 3 | Γ99 | (C) |
ββββββRFF Reference | Γ1 | (M) |
ββββββDTM Date/time/period | Γ5 | (C) |
ββββSegment Group 4 | Γ5 | (C) |
ββββββDOC Document/message details | Γ1 | (M) |
ββββββDTM Date/time/period | Γ5 | (C) |
ββββSegment Group 5 | Γ5 | (C) |
ββββββCTA Contact information | Γ1 | (M) |
ββββββCOM Communication contact | Γ5 | (C) |
ββSegment Group 6 | Γ5 | (C) |
ββββTAX Duty/tax/fee details | Γ1 | (M) |
ββββMOA Monetary amount | Γ1 | (C) |
ββββLOC Place/location identification | Γ9 | (C) |
ββSegment Group 7 | Γ5 | (C) |
ββββCUX Currencies | Γ1 | (M) |
ββββPCD Percentage details | Γ5 | (C) |
ββββDTM Date/time/period | Γ5 | (C) |
ββSegment Group 8 | Γ10 | (C) |
ββββPAT Payment terms basis | Γ1 | (M) |
ββββDTM Date/time/period | Γ5 | (C) |
ββββPCD Percentage details | Γ1 | (C) |
ββββSegment Group 9 | Γ9999 | (C) |
ββββββMOA Monetary amount | Γ1 | (M) |
ββββββGIR Related identification numbers | Γ9 | (C) |
ββββββRJL Accounting journal identification | Γ99 | (C) |
ββSegment Group 10 | Γ10 | (C) |
ββββTDT Details of transport | Γ1 | (M) |
ββββSegment Group 11 | Γ10 | (C) |
ββββββLOC Place/location identification | Γ1 | (M) |
ββββββDTM Date/time/period | Γ5 | (C) |
ββSegment Group 12 | Γ5 | (C) |
ββββTOD Terms of delivery or transport | Γ1 | (M) |
ββββLOC Place/location identification | Γ2 | (C) |
ββSegment Group 13 | Γ99 | (C) |
ββββPAC Package | Γ1 | (M) |
ββββMEA Measurements | Γ5 | (C) |
ββββSegment Group 14 | Γ5 | (C) |
ββββββPCI Package identification | Γ1 | (M) |
ββββββRFF Reference | Γ1 | (C) |
ββββββDTM Date/time/period | Γ5 | (C) |
ββββββGIN Goods identity number | Γ10 | (C) |
ββSegment Group 15 | Γ10 | (C) |
ββββEQD Equipment details | Γ1 | (M) |
ββββHAN Handling instructions | Γ5 | (C) |
ββββMEA Measurements | Γ5 | (C) |
ββββFTX Free text | Γ5 | (C) |
ββSegment Group 16 | Γ10 | (C) |
ββββSCC Scheduling conditions | Γ1 | (M) |
ββββFTX Free text | Γ5 | (C) |
ββββRFF Reference | Γ5 | (C) |
ββββSegment Group 17 | Γ10 | (C) |
ββββββQTY Quantity | Γ1 | (M) |
ββββββDTM Date/time/period | Γ5 | (C) |
ββSegment Group 18 | Γ25 | (C) |
ββββAPR Additional price information | Γ1 | (M) |
ββββDTM Date/time/period | Γ5 | (C) |
ββββRNG Range details | Γ1 | (C) |
ββSegment Group 19 | Γ99 | (C) |
ββββALC Allowance or charge | Γ1 | (M) |
ββββALI Additional information | Γ5 | (C) |
ββββDTM Date/time/period | Γ5 | (C) |
ββββSegment Group 20 | Γ1 | (C) |
ββββββQTY Quantity | Γ1 | (M) |
ββββββRNG Range details | Γ1 | (C) |
ββββSegment Group 21 | Γ1 | (C) |
ββββββPCD Percentage details | Γ1 | (M) |
ββββββRNG Range details | Γ1 | (C) |
ββββSegment Group 22 | Γ2 | (C) |
ββββββMOA Monetary amount | Γ1 | (M) |
ββββββRNG Range details | Γ1 | (C) |
ββββSegment Group 23 | Γ1 | (C) |
ββββββRTE Rate details | Γ1 | (M) |
ββββββRNG Range details | Γ1 | (C) |
ββββSegment Group 24 | Γ5 | (C) |
ββββββTAX Duty/tax/fee details | Γ1 | (M) |
ββββββMOA Monetary amount | Γ1 | (C) |
ββSegment Group 25 | Γ999 | (C) |
ββββRCS Requirements and conditions | Γ1 | (M) |
ββββRFF Reference | Γ5 | (C) |
ββββDTM Date/time/period | Γ5 | (C) |
ββββFTX Free text | Γ99999 | (C) |
ββSegment Group 26 | Γ999 | (C) |
ββββDGS Dangerous goods | Γ1 | (M) |
ββββFTX Free text | Γ5 | (C) |
ββββSegment Group 27 | Γ99 | (C) |
ββββββCTA Contact information | Γ1 | (M) |
ββββββCOM Communication contact | Γ5 | (C) |
ββSegment Group 28 | Γ20000 | (C) |
ββββLIN Line item | Γ1 | (M) |
ββββPIA Additional product id | Γ25 | (C) |
ββββIMD Item description | Γ99 | (C) |
ββββMEA Measurements | Γ99 | (C) |
ββββQTY Quantity | Γ99 | (C) |
ββββPCD Percentage details | Γ5 | (C) |
ββββALI Additional information | Γ5 | (C) |
ββββDTM Date/time/period | Γ35 | (C) |
ββββMOA Monetary amount | Γ10 | (C) |
ββββGIS General indicator | Γ99 | (C) |
ββββGIN Goods identity number | Γ1000 | (C) |
ββββGIR Related identification numbers | Γ1000 | (C) |
ββββQVR Quantity variances | Γ1 | (C) |
ββββDOC Document/message details | Γ99 | (C) |
ββββPAI Payment instructions | Γ1 | (C) |
ββββFTX Free text | Γ99 | (C) |
ββββSegment Group 29 | Γ999 | (C) |
ββββββCCI Characteristic/class id | Γ1 | (M) |
ββββββCAV Characteristic value | Γ10 | (C) |
ββββββMEA Measurements | Γ10 | (C) |
ββββSegment Group 30 | Γ10 | (C) |
ββββββPAT Payment terms basis | Γ1 | (M) |
ββββββDTM Date/time/period | Γ5 | (C) |
ββββββPCD Percentage details | Γ1 | (C) |
ββββββSegment Group 31 | Γ9999 | (C) |
ββββββββMOA Monetary amount | Γ1 | (M) |
ββββββββGIR Related identification numbers | Γ9 | (C) |
ββββSegment Group 32 | Γ25 | (C) |
ββββββPRI Price details | Γ1 | (M) |
ββββββCUX Currencies | Γ1 | (C) |
ββββββAPR Additional price information | Γ99 | (C) |
ββββββRNG Range details | Γ1 | (C) |
ββββββDTM Date/time/period | Γ5 | (C) |
ββββSegment Group 33 | Γ9999 | (C) |
ββββββRFF Reference | Γ1 | (M) |
ββββββDTM Date/time/period | Γ5 | (C) |
ββββββGIS General indicator | Γ99 | (C) |
ββββββMOA Monetary amount | Γ99 | (C) |
ββββSegment Group 34 | Γ99 | (C) |
ββββββPAC Package | Γ1 | (M) |
ββββββMEA Measurements | Γ5 | (C) |
ββββββQTY Quantity | Γ5 | (C) |
ββββββDTM Date/time/period | Γ5 | (C) |
ββββββSegment Group 35 | Γ1 | (C) |
ββββββββRFF Reference | Γ1 | (M) |
ββββββββDTM Date/time/period | Γ5 | (C) |
ββββββSegment Group 36 | Γ5 | (C) |
ββββββββPCI Package identification | Γ1 | (M) |
ββββββββRFF Reference | Γ1 | (C) |
ββββββββDTM Date/time/period | Γ5 | (C) |
ββββββββGIN Goods identity number | Γ10 | (C) |
ββββSegment Group 37 | Γ9999 | (C) |
ββββββLOC Place/location identification | Γ1 | (M) |
ββββββQTY Quantity | Γ1 | (C) |
ββββββPCD Percentage details | Γ1 | (C) |
ββββββDTM Date/time/period | Γ5 | (C) |
ββββSegment Group 38 | Γ10 | (C) |
ββββββTAX Duty/tax/fee details | Γ1 | (M) |
ββββββMOA Monetary amount | Γ1 | (C) |
ββββββLOC Place/location identification | Γ5 | (C) |
ββββSegment Group 39 | Γ999 | (C) |
ββββββNAD Name and address | Γ1 | (M) |
ββββββLOC Place/location identification | Γ5 | (C) |
ββββββFII Financial institution information | Γ5 | (C) |
ββββββSegment Group 40 | Γ99 | (C) |
ββββββββRFF Reference | Γ1 | (M) |
ββββββββDTM Date/time/period | Γ5 | (C) |
ββββββSegment Group 41 | Γ5 | (C) |
ββββββββDOC Document/message details | Γ1 | (M) |
ββββββββDTM Date/time/period | Γ5 | (C) |
ββββββSegment Group 42 | Γ5 | (C) |
ββββββββCTA Contact information | Γ1 | (M) |
ββββββββCOM Communication contact | Γ5 | (C) |
ββββSegment Group 43 | Γ99 | (C) |
ββββββALC Allowance or charge | Γ1 | (M) |
ββββββALI Additional information | Γ5 | (C) |
ββββββDTM Date/time/period | Γ5 | (C) |
ββββββSegment Group 44 | Γ1 | (C) |
ββββββββQTY Quantity | Γ1 | (M) |
ββββββββRNG Range details | Γ1 | (C) |
ββββββSegment Group 45 | Γ1 | (C) |
ββββββββPCD Percentage details | Γ1 | (M) |
ββββββββRNG Range details | Γ1 | (C) |
ββββββSegment Group 46 | Γ2 | (C) |
ββββββββMOA Monetary amount | Γ1 | (M) |
ββββββββRNG Range details | Γ1 | (C) |
ββββββSegment Group 47 | Γ1 | (C) |
ββββββββRTE Rate details | Γ1 | (M) |
ββββββββRNG Range details | Γ1 | (C) |
ββββββSegment Group 48 | Γ5 | (C) |
ββββββββTAX Duty/tax/fee details | Γ1 | (M) |
ββββββββMOA Monetary amount | Γ1 | (C) |
ββββSegment Group 49 | Γ10 | (C) |
ββββββTDT Details of transport | Γ1 | (M) |
ββββββSegment Group 50 | Γ10 | (C) |
ββββββββLOC Place/location identification | Γ1 | (M) |
ββββββββDTM Date/time/period | Γ5 | (C) |
ββββSegment Group 51 | Γ5 | (C) |
ββββββTOD Terms of delivery or transport | Γ1 | (M) |
ββββββLOC Place/location identification | Γ2 | (C) |
ββββSegment Group 52 | Γ10 | (C) |
ββββββEQD Equipment details | Γ1 | (M) |
ββββββHAN Handling instructions | Γ5 | (C) |
ββββββMEA Measurements | Γ5 | (C) |
ββββββFTX Free text | Γ5 | (C) |
ββββSegment Group 53 | Γ100 | (C) |
ββββββSCC Scheduling conditions | Γ1 | (M) |
ββββββFTX Free text | Γ5 | (C) |
ββββββRFF Reference | Γ5 | (C) |
ββββββSegment Group 54 | Γ10 | (C) |
ββββββββQTY Quantity | Γ1 | (M) |
ββββββββDTM Date/time/period | Γ5 | (C) |
ββββSegment Group 55 | Γ999 | (C) |
ββββββRCS Requirements and conditions | Γ1 | (M) |
ββββββRFF Reference | Γ5 | (C) |
ββββββDTM Date/time/period | Γ5 | (C) |
ββββββFTX Free text | Γ99999 | (C) |
ββββSegment Group 56 | Γ10 | (C) |
ββββββSTG Stages | Γ1 | (M) |
ββββββSegment Group 57 | Γ3 | (C) |
ββββββββQTY Quantity | Γ1 | (M) |
ββββββββMOA Monetary amount | Γ1 | (C) |
ββββSegment Group 58 | Γ999 | (C) |
ββββββDGS Dangerous goods | Γ1 | (M) |
ββββββFTX Free text | Γ5 | (C) |
ββββββSegment Group 59 | Γ99 | (C) |
ββββββββCTA Contact information | Γ1 | (M) |
ββββββββCOM Communication contact | Γ5 | (C) |
ββUNS Section control | Γ1 | (M) |
ββMOA Monetary amount | Γ99 | (C) |
ββCNT Control total | Γ10 | (C) |
ββSegment Group 60 | Γ10 | (C) |
ββββALC Allowance or charge | Γ1 | (M) |
ββββALI Additional information | Γ1 | (C) |
ββββMOA Monetary amount | Γ2 | (M) |
ββUNT Message trailer | Γ1 | (M) |