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 PYT 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 giving details of the maintenance on object relating to the item, such as tools and packages. The party that is responsible as well as who is paying, can also be given.
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) |
│─├─PYT Payment terms | ×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 Transport information | ×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) |
│─├─GEI Processing information | ×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) |
│─├─MTD Maintenance operation details | ×99 | (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) |
│─│─├─PYT Payment terms | ×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) |
│─│─├─GEI Processing information | ×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 Transport information | ×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) |