ORDERS Purchase order

TBG1 Supply Chain

A message specifying details for goods or services ordered under conditions agreed between the seller and the buyer.

Header

Position
Segment
Name
Max use
  1. 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: Data element 0065 ORDERS 0052 D 0054 18B 0051 UN

    1. Data element S009/0057 is retained for upward compatibility. The use of
    S016 and/or S017 is encouraged in preference.
    2. The combination of the values carried in data elements 0062 and S009 shall
    be used to identify uniquely the message within its group (if used) or if
    not used, within its interchange, for the purpose of acknowledgement.
  2. A segment by which the sender must uniquely identify the order by means of its name and number and when necessary its function.

  3. 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.

  4. 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.

  5. A segment indicating special conditions related to the total order owing to origin, customs preference or other commercial factors.

  6. A segment providing a description common to all line items of the order.

  7. 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.

  8. A segment providing related identification numbers common to all line items.

  9. Segment group 1
    Repeat 9999
    1. A segment identifying the reference by its number and where appropriate a line number within a document.

    2. A segment specifying the date/time related to the reference.

  10. Segment group 2
    Repeat 99
    1. A segment identifying names and addresses of the parties, in coded or clear form, and their functions relevant to the order. Identification of the seller and buyer parties is mandatory for the order message. It is recommended that where possible only the coded form of the party ID should be specified e.g. The Buyer and Seller are known to each other, thus only the coded ID is required, but the Consignee or Delivery address may vary and would have to be clearly specified, preferably in structured format.

    2. A segment giving more specific location information of the party specified in the NAD segment e.g. internal site/building number.

    3. A segment identifying the financial institution (e.g. bank) and relevant account numbers for the seller, buyer and where necessary other parties e.g. the buyer may provide a choice of financial institutions for direct debit purposes.

    4. Segment group 3
      Repeat 99
      1. A segment identifying the reference by its number and where appropriate a line number within a document.

      2. A segment specifying the date and/or time related to the reference.

    5. Segment group 4
      Repeat 5
      1. A segment identifying and providing information relating to the documents required by the party specified by the NAD segment. For example, the party may require a Certificate of Analysis.

      2. A segment specifying the date and/or time of the document.

    6. Segment group 5
      Repeat 5
      1. A segment to identify a person or department, and their function, to whom communications should be directed.

      2. A segment to identify a communications type and number for the contact specified in the CTA segment.

  11. Segment group 6
    Repeat 5
    1. A segment specifying a tax type, category and rate, or exemption, relating to the whole order e.g. Value Added Tax at the standard rate is applicable for all items.

    2. A segment specifying the amount for the identified tax/fee.

    3. A segment indicating the location to which the tax or exemption specified in the tax segment applies e.g. city or state or country.

  12. Segment group 7
    Repeat 5
    1. A segment identifying the currencies required in the order e.g. the order currency. A rate of exchange may be given to convert a reference currency into a target currency.

    2. A segment specifying the fluctuation beyond those limits will allow one or either party to re-negotiate prices.

    3. A segment specifying the date/time/period related to the rate of exchange.

  13. Segment group 8
    Repeat 10
    1. A segment identifying the payment terms and date/time basis.

    2. A segment giving the specific date/time/period, if needed, of any payments, discounts, installments etc.

    3. A segment specifying the discount, interest, penalty as well as installment percentage.

    4. Segment group 9
      Repeat 9999
      1. A segment specifying the amount associated with the specified accounting classification reference number data and payment information.

      2. A segment providing related accounting classification reference number data.

      3. A segment identifying the components of an account.

  14. Segment group 10
    Repeat 10
    1. A segment specifying the mode, means and identification of the transport for the goods being ordered. If required, the carrier's address should be indicated within the NAD Segment group.

      040 D5(040,030) If first, then all
    2. Segment group 11
      Repeat 10
      1. A segment identifying locations relevant to the transport specified in the TDT segment e.g. place of departure or border crossing point.

      2. A segment identifying the date/time details of departure and/or arrival of the transported goods for the specified location.

  15. Segment group 12
    Repeat 5
    1. A segment identifying the delivery terms to be used e.g. UN INCOTERMS code could be used to specify the delivery terms.

    2. A segment identifying locations relevant to the delivery terms specified in the TOD segment.

  16. Segment group 13
    Repeat 99
    1. A segment specifying the number and type of packages for the whole order e.g. number and type of pallets.

    2. A segment specifying physical measurements of packages described in the PAC segment e.g. package length, weight.

    3. Segment group 14
      Repeat 5
      1. A segment specifying markings and labels used on individual physical units (packages) described in the PAC segment.

      2. A segment identifying the master label number.

      3. A segment specifying the dates relevant to the package markings.

      4. A segment identifying the number or ranges of numbers for use with the package markings.

  17. Segment group 15
    Repeat 10
    1. A segment to define information regarding equipment to be used in conjunction with the whole order, and if required, to indicate responsibility for supply of the equipment.

    2. A segment providing information on required handling of materials and additionally, if required, identifying hazardous materials in the whole order.

    3. A segment providing measurement information for the equipment.

    4. 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.

  18. Segment group 16
    Repeat 10
    1. A segment specifying the type and status of the schedule being given, and optionally defining a pattern to be established e.g. firm or proposed delivery schedule for a weekly pattern.

    2. A segment with free text information, in coded or clear form, to give further clarification to scheduling instructions. In computer to computer exchanges such text will normally require the receiver to process this segment manually.

    3. A segment for specifying the reference for schedule.

    4. Segment group 17
      Repeat 10
      1. A segment to specify pertinent quantities relating to the schedule and pattern established in the SCC segment, e.g. delivery quantity.

      2. A segment indicating the date/time details relating to the quantity and schedule used to indicate date/time ranges e.g. start and end dates for a delivery pattern, or delivery window.

  19. Segment group 18
    Repeat 25
    1. A segment to identify additional pricing information such as a price multiplier, the class or type of trade and additionally identifying the reason for any changes.

    2. A segment to identify the date/time/period information related to the price change e.g. period of validity.

    3. A segment to identify the quantity or amount ranges to which the additional price information applies.

  20. Segment group 19
    Repeat 99
    1. A segment identifying the charge or allowance and, where necessary its calculation sequence.

    2. A segment indicating that the allowance or charge specified is subject to special conditions owing to origin, customs preference or commercial factors.

    3. A segment to identify the date/time/period information related to the allowance or charge, e.g. period of validity.

    4. Segment group 20
      Repeat 1
      1. A segment identifying the type of quantity and the quantity related to the allowance or charge.

      2. A segment specifying, if required, the range to which the allowance or charge applies.

    5. Segment group 21
      Repeat 1
      1. A segment identifying the percentage and the percentage basis for the calculation of the allowance or charge.

      2. A segment specifying, if required, a range for the application of the percentage.

    6. Segment group 22
      Repeat 2
      1. A segment identifying the monetary amount for the allowance or charge.

      2. A segment specifying, if required, a range for the application of the allowance/charge amount.

    7. Segment group 23
      Repeat 1
      1. A segment specifying the rate per unit and the basis for calculation.

      2. A segment specifying, if required, the range for the application of the allowance/charge rate.

    8. Segment group 24
      Repeat 5
      1. A segment specifying the tax type, category and rate, or exemption, related to the allowance or charge.

      2. A segment specifying the tax amount for the allowance or charge.

  21. Segment group 25
    Repeat 999
    1. A segment to enable industry or national requirements to be specified.

    2. A segment identifying the referenced document by its number and, where appropriate, a line number.

    3. A segment indicating the date/time details relating to the references.

    4. 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.

  22. Segment group 26
    Repeat 999
    1. A segment identifying dangerous goods and hazardous material information.

    2. A segment providing free form text information relating to the dangerous goods.

    3. Segment group 27
      Repeat 99
      1. A segment identifying to whom communications should be directed concerning dangerous goods.

      2. A segment identifying communication numbers of the contacts to whom communications should be directed.

  23. Segment group 28
    Repeat 99
    1. This segment will identify the external files by indicating the file name, file number and its sequence number in an exchange.

    2. To give precise definitions of all necessary elements belonging to the configuration of a computer system, e.g. hardware, firmware, operating system, communication and application software

    3. To identify a communication number of a department or a person to whom communication should be directed.

    4. A segment giving reference related to the file identified by a previous external file link identification segment.

    5. This segment will convey the date/time details of the external file.

    6. The size/volume of the external file identified in the previous external file link identification segment

Detail

Position
Segment
Name
Max use
  1. Segment group 29
    Repeat 200000
    1. 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.

    2. 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.

    3. 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.

    4. 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.

    5. A segment identifying the product quantities e.g. ordered quantity.

    6. A segment specifying the strength or yield of a product as a percentage e.g. 80% to indicate the strength of an acid.

    7. A segment indicating that the line item is subject to special conditions owing to origin, customs preference, embargo regulations or commercial factors.

    8. A segment specifying date/time/period details relating to the line item only.

    9. A segment specifying any monetary amounts relating to the product e.g. item amount, insurance value, customs value.

    10. A segment used to specify general processing information about the line item.

    11. A segment providing identity numbers to be applied to the goods being ordered e.g. serial numbers for assembled equipment.

    12. A segment providing sets of related identification numbers for a line item e.g. engine numbers, chassis number and transmission number for a vehicle.

    13. A segment identifying order quantity variances, normally specified by the supplier using an Order Response message.

    14. A segment to indicate that a certificate/declaration of origin is required for the ordered article.

    15. 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.

    16. 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.

    17. 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.

    18. Segment group 30
      Repeat 999
      1. A segment to identify product characteristic and, or the characteristic name and characteristic relevance for the business process.

      2. A segment to specify common product characteristic by value in either coded form or in free format.

      3. A segment indicating characteristic value being physical measurement (including measurable quantities and percentages) related to specified product characteristics (for example voltage, percentage of material contained) and where relevant measurement ranges.

    19. Segment group 31
      Repeat 10
      1. A segment identifying the payment terms and date/time basis.

      2. A segment giving the specific date/time/period, if needed, of any payments, discounts, installments etc.

      3. A segment specifying the discount, interest, penalty as well as installment percentages.

      4. Segment group 32
        Repeat 9999
        1. A segment specifying the amount associated with the specified accounting classification reference number data and payment information.

        2. A segment providing related accounting identification numbers.

    20. Segment group 33
      Repeat 25
      1. A segment to specify the price type and amount. The price used in the calculation of the line amount will be identified as 'price'.

      2. A segment to allow to specify the price in a different currency that in segment group 7.

      3. A segment to identify pricing information such as a price multiplier, the class or type of trade and additionally identifying the reason for any changes.

      4. A segment to identify the ranges (quantity, amount, etc) to which the additional price information applies.

      5. A segment to identify the date/time/period information related to the price change e.g. period of validity.

    21. Segment group 34
      Repeat 9999
      1. A segment identifying the reference by its number and where appropriate a line number within a document.

      2. A segment specifying the date/time related to the reference.

      3. A segment specifying general processing indicators associated with the reference in question such as budgetary analysis information.

      4. A segment specifying the monetary amounts associated with the reference in question (e.g. the budgetary amount).

    22. Segment group 35
      Repeat 99
      1. A segment specifying the number of packages and the physical type of packaging for the line item e.g. pallet type.

      2. A segment specifying physical measurements of packages described in the PAC segment e.g. cube or gross weight.

      3. A segment specifying the maximum quantity number of packages which can be stacked safely on another and/or the number of items normally contained within the package.

      4. A segment to indicate the validity period in relation to the specified article.

      5. Segment group 36
        Repeat 1
        1. A segment identifying the packing instruction document.

        2. A segment specifying the dates relevant to the referred document.

      6. Segment group 37
        Repeat 5
        1. A segment specifying markings and labels used on individual physical units (packages) described in the PAC segment.

        2. A segment identifying the master label number.

        3. A segment specifying the dates relevant to the package markings.

        4. A segment identifying the number or ranges of numbers for use with the package markings.

    23. Segment group 38
      Repeat 9999
      1. A segment indicating the location to which part of the consignment is to be delivered.

      2. A segment specifying the percentage of the quantity to be delivered to the identified location.

      3. A segment specifying the dates and/or times that the delivery should be made.

      4. Segment group 39
        Repeat 99
        1. A segment specifying the quantity to be delivered to the identified location.

        2. A segment specifying the status of the quantity, including its category and the reason(s) for the status.

    24. Segment group 40
      Repeat 10
      1. A segment specifying a tax type, category and rate, or exemption, relating to the line item.

      2. A segment specifying the amount for the identified tax/fee.

      3. A segment indicating the location to which the tax or exemption specified in the TAX segment applies e.g. city or state tax.

    25. Segment group 41
      Repeat 999
      1. A segment identifying names and addresses of the parties, in coded or clear form, and their functions relevant to the line item . It is recommended that where possible only the coded form of the party ID should be specified. e.g. The Buyer and Seller are known to each other, thus only the coded ID is required, but the Consignee or Delivery address may vary and would have to be clearly specified, preferably in structured format.

      2. A segment giving more specific location information of the party specified in the NAD segment e.g. internal site/building number.

      3. A segment identifying the financial institution (e.g. bank) and relevant account numbers for the seller, buyer and where necessary other parties e.g. the buyer may provide a choice of financial institutions for direct debit purposes.

      4. Segment group 42
        Repeat 99
        1. A segment identifying the reference by its number and where appropriate a line number within a document.

        2. A segment specifying the date and/or time related to the reference.

      5. Segment group 43
        Repeat 5
        1. A segment identifying and providing information relating to the documents required by the party specified by the NAD segment. For example, the party may require a Certificate of Analysis.

        2. A segment specifying the date and/or time of the document.

      6. Segment group 44
        Repeat 5
        1. A segment to identify a person or department, and their function, to whom communications should be directed.

        2. A segment to identify a communications type and number for the contact specified in the CTA segment.

    26. Segment group 45
      Repeat 99
      1. A segment identifying the charge or allowance and, where necessary its calculation sequence.

      2. A segment indicating that the allowance or charge specified is subject to special conditions owing to origin, customs preference or commercial factors.

      3. A segment to identify the date/time/period information related to the allowance or charge, e.g. period of validity.

      4. Segment group 46
        Repeat 1
        1. A segment identifying the type of quantity and the quantity related to the allowance or charge.

        2. A segment specifying, if required, the range to which the allowance or charge applies.

      5. Segment group 47
        Repeat 1
        1. A segment identifying the percentage and the percentage basis for the calculation of the allowance or charge.

        2. A segment specifying, if required, a range for the application of the percentage.

      6. Segment group 48
        Repeat 2
        1. A segment identifying the monetary amount for the allowance or charge.

        2. A segment specifying, if required, a range for the application of the allowance/charge amount.

      7. Segment group 49
        Repeat 1
        1. A segment specifying the rate per unit and the basis for calculation.

        2. A segment specifying, if required, the range for the application of the allowance/charge rate.

      8. Segment group 50
        Repeat 5
        1. A segment specifying the tax type, category and rate, or exemption, related to the allowance or charge.

        2. A segment specifying the tax amount for the allowance or charge.

    27. Segment group 51
      Repeat 10
      1. A segment specifying the mode, means and identification of the transport for the goods item being ordered, where this is different to or not specified within the heading section.

        040 D5(040,030) If first, then all
      2. Segment group 52
        Repeat 10
        1. A segment identifying locations relevant to the transport specified in the TDT segment.

        2. A segment identifying the date/time details of departure and/or arrival of the transported goods for the specified location.

    28. Segment group 53
      Repeat 5
      1. A segment identifying the delivery terms to be used.

      2. A segment identifying locations relevant to the delivery terms specified in the TOD segment.

    29. Segment group 54
      Repeat 10
      1. A segment to define fixed information regarding equipment to be used in conjunction with the ordered item, and if required, to indicate responsibility for supply of the equipment e.g. a container identification.

      2. A segment providing information on required handling of materials and additionally, if required, identifying hazardous materials in the ordered item.

      3. A segment providing measurement information for the equipment.

      4. A segment with free text information, in coded or clear form, to give further clarification, when required, to the equipment and handling details. In computer to computer exchanges such text will normally require the receiver to process this segment manually.

    30. Segment group 55
      Repeat 100
      1. A segment specifying the type and status of the schedule being given, and optionally defining a pattern to be established e.g. firm or proposed delivery schedule for a weekly pattern.

      2. 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.

      3. A segment for specifying references relevant to a schedule.

      4. Segment group 56
        Repeat 10
        1. A segment to specify pertinent quantities relating to the schedule and pattern established in the SCC segment e.g. delivery quantity.

        2. A segment indicating the date/time details relating to the quantity and schedule details in the SCC/QTY segments. This segment may be repeated to indicate date/time ranges, e.g. start and end dates for a delivery pattern, or delivery window.

    31. Segment group 57
      Repeat 999
      1. A segment to enable industry or national requirements to be specified.

      2. A segment identifying the referenced document by its number and where appropriate, a line number.

      3. A segment indicating the date/time details relating to the references.

      4. 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.

    32. Segment group 58
      Repeat 10
      1. A segment providing information related to the kind of stage in a process, the total number of stages and the current stage.

      2. Segment group 59
        Repeat 3
        1. A segment giving information on quantity relating to STG.

        2. A segment giving information on monetary amount relating to STG.

    33. Segment group 60
      Repeat 999
      1. A segment identifying dangerous goods and hazardous material information.

      2. A segment providing free form text information relating to the dangerous goods.

      3. Segment group 61
        Repeat 99
        1. A segment identifying to whom communications should be directed concerning dangerous goods.

        2. A segment identifying communication numbers of the contacts to whom communications should be directed.

    34. Segment group 62
      Repeat 99
      1. This segment will identify the external files by indicating the file name, file number and its sequence number in an exchange.

      2. To give precise definitions of all necessary elements belonging to the configuration of a computer system, e.g. hardware, firmware, operating system, communication and application software

      3. To identify a communication number of a department or a person to whom communication should be directed.

      4. A segment giving reference related to the file identified by a previous external file link identification segment

      5. This segment will convey the date/time details of the external file.

      6. The size/volume of the external file identified in the previous external file link identification segment.

Summary

Position
Segment
Name
Max use
  1. A service segment placed at the start of the summary section to avoid segment collision.

  2. A segment giving the total amounts for the whole order message.

  3. A segment by which control totals may be provided by the sender for checking by the receiver.

  4. Segment group 63
    Repeat 10
    1. A segment identifying the charge or allowance type to be summarised.

    2. A segment indicating that allowance or charge specified is subject to special conditions owing to origin, customs preference or commercial factors.

    3. A segment specifying the summary amount for the allowance or charge.

  5. A service segment ending a message, giving the total number of segments in the message (including the UNH & UNT) and the control reference number of the message.

    1. 0062, the value shall be identical to the value in 0062 in the
    corresponding UNH segment.

Stedi is a registered trademark of Stedi, Inc. Stedi's EDI Reference is provided for marketing purposes and is free of charge. All names, logos, and brands of third parties listed on our site are trademarks of their respective owners (including “X12”, which is a trademark of X12 Incorporated). Stedi, Inc. and its products and services are not endorsed by, sponsored by, or affiliated with these third parties. Our use of these names, logos, and brands is for identification purposes only, and does not imply any such endorsement, sponsorship, or affiliation.