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

Position
Segment
Name
Max use
  1. To head, identify and specify a message.

  2. To indicate the type and function of a message and to transmit the identifying number.

  3. To specify date, and/or time, or period.

  4. To specify the instructions for payment.

  5. To indicate that special conditions due to the origin, customs preference, fiscal or commercial factors are applicable.

  6. To describe an item in either an industry or free format.

  7. To provide free form or coded text information.

  8. To specify a related set of identification numbers.

  9. Segment group 1
    Repeat 9999
    1. To specify a reference.

    2. To specify date, and/or time, or period.

  10. Segment group 2
    Repeat 99
    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.

    2. To identify a place or a location and/or related locations.

    3. To identify an account and a related financial institution.

    4. Segment group 3
      Repeat 99
      1. To specify a reference.

      2. To specify date, and/or time, or period.

    5. Segment group 4
      Repeat 5
      1. To identify documents and details directly related to it.

      2. To specify date, and/or time, or period.

    6. Segment group 5
      Repeat 5
      1. To identify a person or a department to whom communication should be directed.

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

  11. Segment group 6
    Repeat 5
    1. To specify relevant duty/tax/fee information.

    2. To specify a monetary amount.

    3. To identify a place or a location and/or related locations.

  12. Segment group 7
    Repeat 5
    1. To specify currencies used in the transaction and relevant details for the rate of exchange.

    2. To specify percentage information.

    3. To specify date, and/or time, or period.

  13. Segment group 8
    Repeat 10
    1. To specify the payment terms basis.

      This segment will be removed effective with directory
      D.02B.
    2. To specify date, and/or time, or period.

    3. To specify percentage information.

    4. Segment group 9
      Repeat 9999
      1. To specify a monetary amount.

      2. To specify a related set of identification numbers.

      3. To identify an accounting journal.

  14. Segment group 10
    Repeat 10
    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.

    2. Segment group 11
      Repeat 10
      1. To identify a place or a location and/or related locations.

      2. To specify date, and/or time, or period.

  15. Segment group 12
    Repeat 5
    1. To specify terms of delivery or transport.

    2. To identify a place or a location and/or related locations.

  16. Segment group 13
    Repeat 99
    1. To describe the number and type of packages/physical units.

    2. To specify physical measurements, including dimension tolerances, weights and counts.

    3. Segment group 14
      Repeat 5
      1. To specify markings and labels on individual packages or physical units.

      2. To specify a reference.

      3. To specify date, and/or time, or period.

      4. To give specific identification numbers, either as single numbers or ranges.

  17. Segment group 15
    Repeat 10
    1. To identify a unit of equipment.

    2. To specify handling and where necessary, notify hazards.

    3. To specify physical measurements, including dimension tolerances, weights and counts.

    4. To provide free form or coded text information.

  18. Segment group 16
    Repeat 10
    1. To specify scheduling conditions.

    2. To provide free form or coded text information.

    3. To specify a reference.

    4. Segment group 17
      Repeat 10
      1. To specify a pertinent quantity.

      2. To specify date, and/or time, or period.

  19. Segment group 18
    Repeat 25
    1. To provide information concerning pricing related to class of trade, price multiplier, and reason for change.

    2. To specify date, and/or time, or period.

    3. To identify a range.

  20. Segment group 19
    Repeat 99
    1. To identify allowance or charge details.

    2. To indicate that special conditions due to the origin, customs preference, fiscal or commercial factors are applicable.

    3. To specify date, and/or time, or period.

    4. Segment group 20
      Repeat 1
      1. To specify a pertinent quantity.

      2. To identify a range.

    5. Segment group 21
      Repeat 1
      1. To specify percentage information.

      2. To identify a range.

    6. Segment group 22
      Repeat 2
      1. To specify a monetary amount.

      2. To identify a range.

    7. Segment group 23
      Repeat 1
      1. To specify rate information.

      2. To identify a range.

    8. Segment group 24
      Repeat 5
      1. To specify relevant duty/tax/fee information.

      2. To specify a monetary amount.

  21. Segment group 25
    Repeat 999
    1. To specify sector/subject requirements and conditions.

    2. To specify a reference.

    3. To specify date, and/or time, or period.

    4. To provide free form or coded text information.

  22. Segment group 26
    Repeat 999
    1. To identify dangerous goods.

    2. To provide free form or coded text information.

    3. Segment group 27
      Repeat 99
      1. To identify a person or a department to whom communication should be directed.

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

Detail

Position
Segment
Name
Max use
  1. Segment group 28
    Repeat 200000
    1. To identify a line item and configuration.

    2. To specify additional or substitutional item identification codes.

    3. To describe an item in either an industry or free format.

    4. To specify physical measurements, including dimension tolerances, weights and counts.

    5. To specify a pertinent quantity.

    6. To specify percentage information.

    7. To indicate that special conditions due to the origin, customs preference, fiscal or commercial factors are applicable.

    8. To specify date, and/or time, or period.

    9. To specify a monetary amount.

    10. To transmit a processing indicator.

      This segment will be removed effective with directory
      D.02B.
    11. To give specific identification numbers, either as single numbers or ranges.

    12. To specify a related set of identification numbers.

    13. To specify item details relating to quantity variances.

    14. To identify documents and details directly related to it.

    15. To specify the instructions for payment.

    16. To identify a maintenance operation and its responsible parties.

    17. To provide free form or coded text information.

    18. Segment group 29
      Repeat 999
      1. To identify and describe a specific characteristic and its relevance for subsequent business processes.

      2. To provide the value of a characteristic.

      3. To specify physical measurements, including dimension tolerances, weights and counts.

    19. Segment group 30
      Repeat 10
      1. To specify the payment terms basis.

        This segment will be removed effective with directory
        D.02B.
      2. To specify date, and/or time, or period.

      3. To specify percentage information.

      4. Segment group 31
        Repeat 9999
        1. To specify a monetary amount.

        2. To specify a related set of identification numbers.

    20. Segment group 32
      Repeat 25
      1. To specify price information.

      2. To specify currencies used in the transaction and relevant details for the rate of exchange.

      3. To provide information concerning pricing related to class of trade, price multiplier, and reason for change.

      4. To identify a range.

      5. To specify date, and/or time, or period.

    21. Segment group 33
      Repeat 9999
      1. To specify a reference.

      2. To specify date, and/or time, or period.

      3. To transmit a processing indicator.

        This segment will be removed effective with directory
        D.02B.
      4. To specify a monetary amount.

    22. Segment group 34
      Repeat 99
      1. To describe the number and type of packages/physical units.

      2. To specify physical measurements, including dimension tolerances, weights and counts.

      3. To specify a pertinent quantity.

      4. To specify date, and/or time, or period.

      5. Segment group 35
        Repeat 1
        1. To specify a reference.

        2. To specify date, and/or time, or period.

      6. Segment group 36
        Repeat 5
        1. To specify markings and labels on individual packages or physical units.

        2. To specify a reference.

        3. To specify date, and/or time, or period.

        4. To give specific identification numbers, either as single numbers or ranges.

    23. Segment group 37
      Repeat 9999
      1. To identify a place or a location and/or related locations.

      2. To specify a pertinent quantity.

      3. To specify percentage information.

      4. To specify date, and/or time, or period.

    24. Segment group 38
      Repeat 10
      1. To specify relevant duty/tax/fee information.

      2. To specify a monetary amount.

      3. To identify a place or a location and/or related locations.

    25. Segment group 39
      Repeat 999
      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.

      2. To identify a place or a location and/or related locations.

      3. To identify an account and a related financial institution.

      4. Segment group 40
        Repeat 99
        1. To specify a reference.

        2. To specify date, and/or time, or period.

      5. Segment group 41
        Repeat 5
        1. To identify documents and details directly related to it.

        2. To specify date, and/or time, or period.

      6. Segment group 42
        Repeat 5
        1. To identify a person or a department to whom communication should be directed.

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

    26. Segment group 43
      Repeat 99
      1. To identify allowance or charge details.

      2. To indicate that special conditions due to the origin, customs preference, fiscal or commercial factors are applicable.

      3. To specify date, and/or time, or period.

      4. Segment group 44
        Repeat 1
        1. To specify a pertinent quantity.

        2. To identify a range.

      5. Segment group 45
        Repeat 1
        1. To specify percentage information.

        2. To identify a range.

      6. Segment group 46
        Repeat 2
        1. To specify a monetary amount.

        2. To identify a range.

      7. Segment group 47
        Repeat 1
        1. To specify rate information.

        2. To identify a range.

      8. Segment group 48
        Repeat 5
        1. To specify relevant duty/tax/fee information.

        2. To specify a monetary amount.

    27. Segment group 49
      Repeat 10
      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.

      2. Segment group 50
        Repeat 10
        1. To identify a place or a location and/or related locations.

        2. To specify date, and/or time, or period.

    28. Segment group 51
      Repeat 5
      1. To specify terms of delivery or transport.

      2. To identify a place or a location and/or related locations.

    29. Segment group 52
      Repeat 10
      1. To identify a unit of equipment.

      2. To specify handling and where necessary, notify hazards.

      3. To specify physical measurements, including dimension tolerances, weights and counts.

      4. To provide free form or coded text information.

    30. Segment group 53
      Repeat 100
      1. To specify scheduling conditions.

      2. To provide free form or coded text information.

      3. To specify a reference.

      4. Segment group 54
        Repeat 10
        1. To specify a pertinent quantity.

        2. To specify date, and/or time, or period.

    31. Segment group 55
      Repeat 999
      1. To specify sector/subject requirements and conditions.

      2. To specify a reference.

      3. To specify date, and/or time, or period.

      4. To provide free form or coded text information.

    32. Segment group 56
      Repeat 10
      1. To provide information related to the kind of stage in a process, the number of stages and the actual stage.

      2. Segment group 57
        Repeat 3
        1. To specify a pertinent quantity.

        2. To specify a monetary amount.

    33. Segment group 58
      Repeat 999
      1. To identify dangerous goods.

      2. To provide free form or coded text information.

      3. Segment group 59
        Repeat 99
        1. To identify a person or a department to whom communication should be directed.

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

Summary

Position
Segment
Name
Max use
  1. To separate header, detail and summary sections of a message.

  2. To specify a monetary amount.

  3. To provide control total.

  4. Segment group 60
    Repeat 10
    1. To identify allowance or charge details.

    2. To indicate that special conditions due to the origin, customs preference, fiscal or commercial factors are applicable.

    3. To specify a monetary amount.

  5. To end and check the completeness of a message.

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.