Frames | No Frames

Return to Stylus Studio EDIFACT home page.
Return to Stylus Studio EDIFACT D03A Messages page.
UN/EDIFACT
UNITED NATIONS STANDARD MESSAGE (UNSM)

Purchase order response message

Version:D
Release:03A
Contr. Agency:UN
Revision:14
Date:2003-06-10
SOURCE:TBG1 Supply Chain

CONTENTS
Purchase order response message
  1. INTRODUCTION
  2. SCOPE
    1. Functional definition
    2. Field of application
    3. Principles
  3. REFERENCES
  4. TERMS AND DEFINITIONS
    1. Standard terms and definitions
  5. MESSAGE DEFINITION
    1. Segment clarification
      1. Header section
      2. Detail section
      3. Summary section
    2. Segment index (alphabetical sequence by tag)
    3. Message structure
      1. Segment table

For general information on UN standard message types see UN Trade Data Interchange Directory, UNTDID, Part 4, Section 2.3, UN/ECE UNSM General Introduction


This message also occurs in the following versions of this standard:
D93A, D94A, D94B, D95A, D95B, D96A, D96B, D97A, D97B, D98A, D98B, D99A, D99B, D00A, D00B, D01A, D01B, D01C, D02A, D02B, D03A, D03B, D04A, D04B

0. INTRODUCTION

This specification provides the definition of the Purchase order response message (ORDRSP) to be used in Electronic Data Interchange (EDI) between trading partners involved in administration, commerce and transport.


1. SCOPE


1.1. Functional definition

A message from the seller to the buyer, responding to a purchase order message or a purchase order change request message.


1.2. Field of application

The Purchase order response 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.


1.3. Principles

  • A seller may respond for one or more goods items or services.
  • The response may be for a Purchase order or a Purchase order change request:
  • an acknowledgment of receipt and understanding of data,
  • confirmation of acceptance,
  • a proposal of amendment,
  • a notification of non-acceptance for all or part of the message.
  • A purchase order response may refer to goods items or services related to one or more delivery schedules, call-offs, etc.
  • A purchase order response for cross-border transactions may contain additional information for customs and/or statistical purposes.
  • A purchase order response may contain details for transport and destination as well as delivery patterns.
  • A buyer's purchase order may be responded to by one or more response messages, according to business practice.

2. REFERENCES

See UNTDID, Part 4, Chapter 2.3 UN/ECE UNSM - General Introduction, Section 1.


3. TERMS AND DEFINITIONS


3.1. Standard terms and definitions

See UNTDID, Part 4, Chapter 2.3 UN/ECE UNSM - General Introduction, Section 2.


4. MESSAGE DEFINITION


4.1. Segment clarification

This section should be read in conjunction with the segment table which indicates mandatory, conditional and repeating requirements.

For guidance, the following principles serve to remove ambiguity in the application of an EDI Purchase Order Response

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.


4.1.1. Header section

Information to be provided in the Header section:

0010 UNH, Message header

A service segment starting and uniquely identifying a message. The message type code for the Purchase order response message is ORDRSP.

Note: Purchase order response messages conforming to this document must contain the following data in segment UNH, composite S009:

Data element0065ORDRSP
0052D
005403A
0051UN

0020 BGM, Beginning of message

A segment by which the sender must uniquely identify the order response by means of its number and when necessary its function.

- If the MESSAGE FUNCTION CODE is a "12", "27" or "29" indicating that the total message was not processed, rejected or accepted. No segments, other than mandatory segments, need be used in the message Header, Detail or Summary sections. However for positive reporting purposes all the segments of the ORDERS or ORDCHG message, being responded to, may be used in ORDRSP.

- If the MESSAGE FUNCTION CODE is a "28" indicating an accepted ORDERS or ORDCHG message with amended heading information or "34" indicating amendment in the message, then all segments in the heading section must be used from the ORDRES or ORDCHG message being responded to. This includes both amended and non amended segments.

If the ORDERS message was "NOT PROCESSED"; use of MESSAGE FUNCTION CODE "12" indicates acknowledgement that the transmitted message has been received and understood by the seller, but remains to be processed within his application system.

If the Order or Order Change message was "NOT ACCEPTED"; use of MESSAGE FUNCTION CODE "27" indicates that the seller declines to supply the goods or declines to accept the changes requested in a Purchase Order Change Request.

If the ORDER or ORDER CHANGE message was "ACCEPTED, WITH AMENDMENT IN HEADING SECTION"; use of MESSAGE FUNCTION CODE "28" indicates that the seller accepts to supply the goods or services requested in the Purchase Order (or a Purchase Order Change Request), but requires one or more changes to the terms set out in the referenced message Heading Section. The complete Heading Section data is transmitted to replace all data previously sent. The Detail Section is considered as acknowledged without change.

If the ORDER or ORDER CHANGE message was "ACCEPTED, WITHOUT AMENDMENT"; use of MESSAGE FUNCTION CODE "29" indicates that the seller according to the terms set out in the Purchase Order or a Purchase Order Change Request accepts to supply the goods or services requested or where appropriate accepts the cancellation.

If the ORDER or ORDER CHANGE message was "ACCEPTED, WITH AMENDMENT IN DETAIL SECTION"; use of MESSAGE FUNCTION CODE "30" indicates that the seller accepts to supply the goods or services requested in the Purchase Order (or a Purchase Order Change Request), but requires changes in one or more line items (as indicated in the LIN segments). The Heading Section is considered as acknowledged without change If the ORDER or ORDER CHANGE message was "ACCEPTED WITH AMENDMENT"; use of MESSAGE FUNCTION CODE "34" indicates that the seller accepts to supply the goods or services requested in the Purchase Order and Purchase Order Change Request, but requires changes in the Heading as well as Detail Section.

0030 DTM, Date/time/period

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

Examples of the use of this DTM segment are: Lead times that apply to the whole of the Order response and, if no schedule is to be specified, the delivery date.

The Date/time/period segment within other Segment groups should be used whenever the date/time/period needs to be logically related to another specified data item. e.g. Payment due date is specified within the PYT Segment group.

0040 PAI, Payment instructions

A segment requesting or confirming conditions of payment, guarantee and method of payment for the whole order response An example of the use of this segment is to specify that a documentary credit will be used.

0050 ALI, Additional information

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

0060 IMD, Item description

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

0070 FTX, Free text

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.

0080 GIR, Related identification numbers

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

0090 Segment Group 1: RFF-DTM

A group of segments for giving references and where necessary, their dates, relating to the whole message, e.g. contract number, import/export licence number, reservation number.

0100 RFF, Reference

A segment identifying the reference by its number and where appropriate a line number within a document.

0110 DTM, Date/time/period

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

0120 Segment Group 2: AJT-FTX

A segment group to give information about adjustment.

0130 AJT, Adjustment details

A segment giving adjustment details.

0140 FTX, Free text

A segment giving additional information on the adjustment.

0150 Segment Group 3: NAD-LOC-FII-SG4-SG5-SG6

A group of segments identifying the parties with associated information.

0160 NAD, Name and address

A segment identifying names and addresses of the parties, in coded or clear form, and their functions relevant to the order response. Identification of the seller and buyer parties is mandatory for the order response 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.

0170 LOC, Place/location identification

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

0180 FII, Financial institution information

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.

0190 Segment Group 4: RFF-DTM

A group of segments giving references only relevant to the specified party rather than the whole order response.

0200 RFF, Reference

A segment identifying the reference by its number and where appropriate a line number within a document.

0210 DTM, Date/time/period

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

0220 Segment Group 5: DOC-DTM

A group of segments identifying the documentary requirements of the specified party.

0230 DOC, Document/message details

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.

0240 DTM, Date/time/period

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

0250 Segment Group 6: CTA-COM

A group of segments giving contact details of the specific person or department within the party identified in the NAD segment.

0260 CTA, Contact information

A segment to identify a person or department, and their function, to whom communications should be directed.

0270 COM, Communication contact

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

0280 Segment Group 7: TAX-MOA-LOC

A group of segments specifying tax related information, and when necessary, the location(s) to which that tax information relates.

0290 TAX, Duty/tax/fee details

A segment specifying a tax type, category and rate, or exemption, relating to the whole order response. e.g. Value Added Tax at the standard rate is applicable for all items.

0300 MOA, Monetary amount

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

0310 LOC, Place/location identification

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

0320 Segment Group 8: CUX-PCD-DTM

A group of segments specifying the currencies and related dates/periods valid for the whole order response. Currency data maybe omitted in national applications but will be required for international transactions.

0330 CUX, Currencies

A segment identifying the currencies in the order response, e.g. the order currency. A rate of exchange may be given to convert a reference currency into a target currency.

0340 PCD, Percentage details

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

0350 DTM, Date/time/period

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

0360 Segment Group 9: PYT-DTM-PCD-MOA

A group of segments specifying the terms of payment applicable for the whole order response.

0370 PYT, Payment terms

A segment identifying the payment terms and date/time basis.

0380 DTM, Date/time/period

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

0390 PCD, Percentage details

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

0400 MOA, Monetary amount

A segment specifying amounts related to payment discounts, penalties or instalments.

0410 Segment Group 10: TDT-SG11

A group of segments identifying the mode and means of transport, location and relevant dates and times for transportation, relating to the whole order response.

0420 TDT, Transport information

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

0430 Segment Group 11: LOC-DTM

A group of segments giving the location and date/time information relative to the transportation.

0440 LOC, Place/location identification

A segment identifying locations relevant to the transport specified in the TDT segment. e.g. place of departure or border crossing point.

0450 DTM, Date/time/period

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

0460 Segment Group 12: TOD-LOC

A group of segments indicating the terms of delivery for the whole order response.

0470 TOD, Terms of delivery or transport

A segment identifying the delivery terms to be used. e.g. UN INCOTERMS code could be used to specify the delivery terms.

0480 LOC, Place/location identification

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

0490 Segment Group 13: PAC-MEA-SG14

A group of segments identifying the packaging, physical dimensions and marks and numbers for goods referenced by the whole order response.

0500 PAC, Package

A segment specifying the number and type of packages for the whole order response, e.g. number and type of pallets.

0510 MEA, Measurements

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

0520 Segment Group 14: PCI-RFF-DTM-GIN

A group of segments specifying the markings and labels on individual physical units.

0530 PCI, Package identification

A segment specifying markings and labels used on individual physical units (packages) described in the PAC segment.

0540 RFF, Reference

A segment identifying the master label number.

0550 DTM, Date/time/period

A segment specifying the dates relevant to the package markings.

0560 GIN, Goods identity number

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

0570 Segment Group 15: EQD-HAN-MEA-FTX

A group of segments providing information relating to equipment identification and ownership, handling and identification of hazardous materials, relating to the whole order response.

0580 EQD, Equipment details

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.

0590 HAN, Handling instructions

A segment providing information on required handling of materials and additionally, if required, identifying hazardous materials.

0600 MEA, Measurements

A segment providing measurement information for the equipment.

0610 FTX, Free text

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.

0620 Segment Group 16: SCC-FTX-RFF-SG17

A group of segments specifying delivery schedules relating to quantities, frequencies, dates and references, for the whole order response.

0630 SCC, Scheduling conditions

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.

0640 FTX, Free text

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.

0650 RFF, Reference

A segment for specifying the reference for schedule.

0660 Segment Group 17: QTY-DTM

A group of segments to specify the scheduled quantities, date/time of the schedule, and where required, the reference of the schedule.

0670 QTY, Quantity

A segment to specify pertinent quantities relating to the schedule and pattern established in the SCC segment, e.g. delivery quantity.

0680 DTM, Date/time/period

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.

0690 Segment Group 18: APR-DTM-RNG

A group of segments providing information concerning pricing related to the type of trade, and, where appropriate, indication of quantities, dates/periods or amounts.

0700 APR, Additional price information

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.

0710 DTM, Date/time/period

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

0720 RNG, Range details

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

0730 Segment Group 19: ALC-ALI-DTM-SG20-SG21-SG22-SG23-SG24

A group of segments specifying allowances and charges for the whole order response. The allowance or charge specified within this Segment group may either relate to the total order response in which case it cannot be overridden at detail level, or it can relate to the line items as a default allowance/charge and can be overridden by the allowance and charge segment group within the detail section. Where relevant, additional information, tax and alternate currency details are to be indicated in the tax and monetary amount segments. The basis for the calculation of the allowance/charge may be a quantity, a percentage, an amount or a rate and one of the appropriate subordinate segment group(s) should be used accordingly.

0740 ALC, Allowance or charge

A segment identifying the charge or allowance and, where necessary its calculation sequence.

0750 ALI, Additional information

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

0760 DTM, Date/time/period

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

0770 Segment Group 20: QTY-RNG

A group of segments specifying the quantity of the allowance or charge with its measure unit specifier. A range to which the allowance or charge applies may be specified, e.g. an allowance of a free quantity of 20 pieces may be specified if the goods quantity ordered is greater than 1000 pieces.

0780 QTY, Quantity

A segment identifying the type of quantity and the quantity related to the allowance or charge.

0790 RNG, Range details

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

0800 Segment Group 21: PCD-RNG

A group of segments specifying the percentage for the allowance or charge, e.g. The allowance/charge amount is calculated as 5% of the goods value or a price reduction of 5% may be specified if the goods quantity ordered is within the range 5 tons to 10 tons.

0810 PCD, Percentage details

A segment identifying the percentage and the percentage basis for the calculation of the allowance or charge.

0820 RNG, Range details

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

0830 Segment Group 22: MOA-RNG

A group of segments specifying a monetary amount for an allowance or charge. A range to which the allowance or charge applies can be specified, e.g. an allowance of 5000 BEF may be specified if goods value ordered is greater than 100000 BEF.

0840 MOA, Monetary amount

A segment identifying monetary amounts for the allowance or charge.

0850 RNG, Range details

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

0860 Segment Group 23: RTE-RNG

A group of segments specifying the rate per unit and basis to which the allowance or charge applies, e.g. The allowance/charge amount is 3 DEM per 10 tons.

0870 RTE, Rate details

A segment specifying the rate per unit and the basis for calculation.

0880 RNG, Range details

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

0890 Segment Group 24: TAX-MOA

A group of segments specifying tax related information for the allowance or charge.

0900 TAX, Duty/tax/fee details

A segment specifying the tax type, category and rate, or exemption, related to the allowance or charge.

0910 MOA, Monetary amount

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

0920 Segment Group 25: RCS-RFF-DTM-FTX

A group of segments identifying any rules, laws or regulations with which the supplier must comply to meet requirements. e.g. building regulations, safety requirements, etc.

0930 RCS, Requirements and conditions

A segment to enable industry or national requirements to be specified.

0940 RFF, Reference

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

0950 DTM, Date/time/period

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

0960 FTX, Free text

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.


4.1.2. Detail section

Information to be provided in the Detail section:

0970 Segment group 26: LIN-PIA-IMD-MEA-QTY-PCD-ALI-DTM-MOA-GEI-GIN- GIR-QVR-DOC-PAI-MTD-FTX-SG27-SG28-SG29-SG30- SG31-SG32-SG35-SG36-SG37-SG41-SG47-SG49-SG50- SG51-SG53-SG54 A group of segments providing details of the individual ordered items. This Segment group may be repeated to give sub-line details.

0980 LIN, Line item

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.

The following Semantic Note concern the use of D/E 1229 Action Request Code for segment group 26. If the MESSAGE FUNCTION CODE is "30" indicating that there is amended detail data or "34" indicating amendments in the message, only the "amended" or "referenced" LIN segments, and all their subordinate segments, need to be included in the detail section.

If the MESSAGE FUNCTION CODE is other than "30" or "34" there are no amendments to the detail section and the entire section is not required in the message. However for positive acknowledgement purposes, users may wish to resend the entire detail section of the ORDERS or ORDCHG message. The value of the ACTION REQUEST CODE in the included LIN segment will indicate the extent of amendment or reference use.

If the line item has not yet been processed and is not being formally acknowledged an ACTION REQUEST CODE "4" indicates "NO ACTION".

If the seller accepts to supply the line item an ACTION REQUEST CODE (D/E 1229) "5" indicates "ACCEPTED WITHOUT AMENDMENT".

If the seller accepts to supply the line item, but requires one or more amendments to the terms set out in the referenced message, as indicated by the data following the LIN segment. An ACTION REQUEST CODE "6" indicates "ACCEPTED WITH AMENDMENT".

If the seller declines to supply the line items in a Purchase Order, or in a Purchase Order Change Request an ACTION REQUEST CODE "7" indicates "NOT ACCEPTED".

If the seller indicates that a request for change on this line item cannot be processed as the referenced item cannot be located in his application system an ACTION REQUEST CODE "10" indicates "NOT FOUND".

If the line item has not changed in status and no action has been taken, and the item is transmitted for information purposes or positioning an ACTION REQUEST CODE "11" indicates "NOT AMENDED".

0990 PIA, Additional product id

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.

1000 IMD, Item description

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.

1010 MEA, Measurements

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.

1020 QTY, Quantity

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

1030 PCD, Percentage details

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

1040 ALI, Additional information

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

1050 DTM, Date/time/period

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

1060 MOA, Monetary amount

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

1070 GEI, Processing information

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

1080 GIN, Goods identity number

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

1090 GIR, Related identification numbers

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

1100 QVR, Quantity variances

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

1110 DOC, Document/message details

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

1120 PAI, Payment instructions

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.

1130 MTD, Maintenance operation details

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.

1140 FTX, Free text

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.

1150 Segment Group 27: CCI-CAV-MEA

A group of segments providing product characteristic and product characteristic details.

1160 CCI, Characteristic/class id

A segment to identify product characteristic and, or the characteristic name and characteristic relevance for the business process.

1170 CAV, Characteristic value

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

1180 MEA, Measurements

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.

1190 Segment Group 28: PYT-DTM-PCD-MOA

A group of segments specifying the terms of payment applicable for the line item. This may be used by a central buyer purchasing on behalf of different item consignee combinations.

1200 PYT, Payment terms

A segment identifying the payment terms and date/time basis.

1210 DTM, Date/time/period

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

1220 PCD, Percentage details

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

1230 MOA, Monetary amount

A segment specifying amounts related to payment discounts, penalties or instalments.

1240 Segment Group 29: AJT-FTX

A segment group to give information about adjustment.

1250 AJT, Adjustment details

A segment giving adjustment details.

1260 FTX, Free text

A segment giving additional information on the adjustment.

1270 Segment Group 30: PRI-CUX-APR-RNG-DTM

A group of segments identifying the relevant pricing information for the goods or services ordered.

1280 PRI, Price details

A segment to specify the price type and amount. The price used in the calculation of the line amount will be identified as 'Unit Price'.

1290 CUX, Currencies

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

1300 APR, Additional price information

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.

1310 RNG, Range details

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

1320 DTM, Date/time/period

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

1330 Segment Group 31: RFF-DTM

A group of segments giving references and where necessary, their dates, relating to the line item.

1340 RFF, Reference

A segment identifying the reference by its number and where appropriate a line number within a document.

1350 DTM, Date/time/period

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

1360 Segment Group 32: PAC-MEA-QTY-DTM-SG33-SG34

A group of segments identifying the packaging, physical dimensions, and marks and numbers for goods referenced in the line item.

1370 PAC, Package

A segment specifying the number of packages and the physical type of packaging for the line item, e.g. pallet type.

1380 MEA, Measurements

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

1390 QTY, Quantity

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

1400 DTM, Date/time/period

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

1410 Segment Group 33: RFF-DTM

A group of segments giving references e.g. to a packing instruction document relevant to a particular package type and its date/time/period of issue.

1420 RFF, Reference

A segment identifying the packing instruction document.

1430 DTM, Date/time/period

A segment specifying the date/time related to the referenced document.

1440 Segment Group 34: PCI-RFF-DTM-GIN

A group of segments specifying the markings and labels on individual physical units.

1450 PCI, Package identification

A segment specifying markings and labels used on individual physical units (packages) described in the PAC segment.

1460 RFF, Reference

A segment identifying the master label number.

1470 DTM, Date/time/period

A segment specifying the dates relevant to the package markings.

1480 GIN, Goods identity number

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

1490 Segment Group 35: LOC-QTY-PCD-DTM

A group of segments specifying destination and quantity details for consignments involving multi destination deliveries.

1500 LOC, Place/location identification

A segment indicating the location to which part of the consignment is to be delivered.

1510 QTY, Quantity

A segment specifying the quantity to be delivered to the identified location.

1520 PCD, Percentage details

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

1530 DTM, Date/time/period

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

1540 Segment Group 36: TAX-MOA-LOC

A group of segments specifying tax related information, and when necessary, the location(s) to which that tax information relates.

1550 TAX, Duty/tax/fee details

A segment specifying a tax type, category and rate, or exemption, relating to the line item.

1560 MOA, Monetary amount

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

1570 LOC, Place/location identification

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

1580 Segment Group 37: NAD-LOC-FII-SG38-SG39-SG40

A group of segments identifying the parties with associated information, relevant to the line item only.

1590 NAD, Name and address

A segment identifying names and addresses of the parties, in coded or clear form, and their functions relevant to the order. 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.

1600 LOC, Place/location identification

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

1610 FII, Financial institution information

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.

1620 Segment Group 38: RFF-DTM

A group of segments giving references only relevant to the specified party rather than the line item.

1630 RFF, Reference

A segment identifying the reference by its number and where appropriate a line number within a document.

1640 DTM, Date/time/period

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

1650 Segment Group 39: DOC-DTM

A group of segments identifying the documentary requirements of the specified party.

1660 DOC, Document/message details

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.

1670 DTM, Date/time/period

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

1680 Segment Group 40: CTA-COM

A group of segments giving contact details of the specific person or department within the party identified in the NAD segment.

1690 CTA, Contact information

A segment to identify a person or department, and their function, to whom communications should be directed.

1700 COM, Communication contact

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

1710 Segment Group 41: ALC-ALI-DTM-SG42-SG43-SG44-SG45-SG46

A group of segments specifying allowances and charges for the line item where this is different to or not specified within the heading section.

1720 ALC, Allowance or charge

A segment identifying the charge or allowance and, where necessary its calculation sequence.

1730 ALI, Additional information

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

1740 DTM, Date/time/period

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

1750 Segment Group 42: QTY-RNG

A group of segments specifying the quantity of the allowance or charge with its measure unit specifier. A range to which the allowance or charge applies may be specified, e.g. an allowance of a free quantity of 20 pieces may be specified if the goods quantity ordered is greater than 1000 pieces.

1760 QTY, Quantity

A segment identifying the type of quantity and the quantity related to the allowance or charge.

1770 RNG, Range details

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

1780 Segment Group 43: PCD-RNG

A group of segments specifying the percentage for the allowance or charge, e.g. The allowance/charge amount is calculated as 5% of the goods value or a price reduction of 5% may be specified if the goods quantity ordered is within the range 5 tons to 10 tons.

1790 PCD, Percentage details

A segment identifying the percentage and the percentage basis for the calculation of the allowance or charge.

1800 RNG, Range details

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

1810 Segment Group 44: MOA-RNG

A group of segments specifying a monetary amount for an allowance or charge. A range to which the allowance or charge applies can be specified, e.g. an allowance of 5000 BEF may be specified if goods value ordered is greater than 100000 BEF.

1820 MOA, Monetary amount

A segment identifying the monetary amount for the allowance or charge.

1830 RNG, Range details

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

1840 Segment Group 45: RTE-RNG

A group of segments specifying the rate per unit and basis to which the allowance or charge applies, e.g. The allowance/charge amount is 3 DEM per 10 tons.

1850 RTE, Rate details

A segment specifying the rate per unit and the basis for calculation.

1860 RNG, Range details

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

1870 Segment Group 46: TAX-MOA

A group of segments specifying tax related information for the allowance or charge.

1880 TAX, Duty/tax/fee details

A segment specifying the tax type, category and rate, or exemption, related to the allowance or charge.

1890 MOA, Monetary amount

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

1900 Segment Group 47: TDT-SG48

A group of segments identifying the mode and means of transport, location and relevant dates and times for transportation, relating to the line item, where this is different to or not specified within the heading section.

1910 TDT, Transport information

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.

1920 Segment Group 48: LOC-DTM

A group of segments giving the location and date/time information relative to the transportation.

1930 LOC, Place/location identification

A segment identifying locations relevant to the transport specified in the TDT segment.

1940 DTM, Date/time/period

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

1950 Segment Group 49: TOD-LOC

A group of segments indicating the terms of delivery for the line item where this is different to or not specified within the heading section.

1960 TOD, Terms of delivery or transport

A segment identifying the delivery terms to be used.

1970 LOC, Place/location identification

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

1980 Segment Group 50: EQD-HAN-MEA-FTX

A group of segments providing information relating to equipment identification and ownership, handling and notification of hazardous materials, relating to the line item where this is different to or not specified within the heading section.

1990 EQD, Equipment details

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.

2000 HAN, Handling instructions

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

2010 MEA, Measurements

A segment providing measurement information for the equipment.

2020 FTX, Free text

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.

2030 Segment Group 51: SCC-FTX-RFF-SG52

A group of segments specifying requested delivery schedules relating to quantities, frequencies, and dates, required for the line item, where this is different to or not specified within the heading section.

2040 SCC, Scheduling conditions

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.

2050 FTX, Free text

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.

2060 RFF, Reference

A segment for specifying references relevant to a schedule.

2070 Segment Group 52: QTY-DTM

A group of segments to specify the scheduled quantities, date/time details of the schedule and where required the reference of the schedule.

2080 QTY, Quantity

A segment to specify pertinent quantities relating to the schedule and pattern established in the SCC segment, e.g. delivery quantity.

2090 DTM, Date/time/period

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.

2100 Segment Group 53: RCS-RFF-DTM-FTX

A group of segments identifying any rules, laws or regulations with which the supplier must comply to meet requirements. e.g. building regulations, safety requirements, etc.

2110 RCS, Requirements and conditions

A segment to enable industry or national requirements to be specified.

2120 RFF, Reference

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

2130 DTM, Date/time/period

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

2140 FTX, Free text

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.

2150 Segment Group 54: STG-SG55

A group of segments indicating information (quantity and amount) for the calculation of the amortization.

2160 STG, Stages

A segment providing information related to the kind of stage in a process, the total number of stages and the current stage.

2170 Segment Group 55: QTY-MOA

A group of segments indicating quantity and monetary amount related to STG.

2180 QTY, Quantity

A segment giving information on quantity relating to STG.

2190 MOA, Monetary amount

A segment giving information on monetary amount relating to STG.


4.1.3. Summary section

Information to be provided in the Summary section:

2200 UNS, Section control

A service segment placed at the start of the summary section to avoid segment collision.

2210 MOA, Monetary amount

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

2220 CNT, Control total

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

2230 Segment Group 56: ALC-ALI-MOA

A group of segments specifying allowances and charges summary totals for the order response.

2240 ALC, Allowance or charge

A segment identifying the charge or allowance type to be summarised.

2250 ALI, Additional information

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

2260 MOA, Monetary amount

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

2270 UNT, Message trailer

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.


4.2. Segment index (alphabetical sequence by tag)

AJT Adjustment details
ALC Allowance or charge
ALI Additional information
APR Additional price information
BGM Beginning of message
CAV Characteristic value
CCI Characteristic/class id
CNT Control total
COM Communication contact
CTA Contact information
CUX Currencies
DOC Document/message details
DTM Date/time/period
EQD Equipment details
FII Financial institution information
FTX Free text
GEI Processing information
GIN Goods identity number
GIR Related identification numbers
HAN Handling instructions
IMD Item description
LIN Line item
LOC Place/location identification
MEA Measurements
MOA Monetary amount
MTD Maintenance operation details
NAD Name and address
PAC Package
PAI Payment instructions
PCD Percentage details
PCI Package identification
PIA Additional product id
PRI Price details
PYT Payment terms
QTY Quantity
QVR Quantity variances
RCS Requirements and conditions
RFF Reference
RNG Range details
RTE Rate details
SCC Scheduling conditions
STG Stages
TAX Duty/tax/fee details
TDT Transport information
TOD Terms of delivery or transport
UNH Message header
UNS Section control
UNT Message trailer

4.3. Message structure


4.3.1. Segment table

├─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 ×1 (C)
├─AJT Adjustment details ×1 (M)
└─FTX Free text ×5 (C)
├─Segment Group 3 ×99 (C)
├─NAD Name and address ×1 (M)
├─LOC Place/location identification ×25 (C)
├─FII Financial institution information ×5 (C)
├─Segment Group 4 ×99 (C)
├─RFF Reference ×1 (M)
└─DTM Date/time/period ×5 (C)
├─Segment Group 5 ×5 (C)
├─DOC Document/message details ×1 (M)
└─DTM Date/time/period ×5 (C)
└─Segment Group 6 ×5 (C)
──├─CTA Contact information ×1 (M)
──└─COM Communication contact ×5 (C)
├─Segment Group 7 ×5 (C)
├─TAX Duty/tax/fee details ×1 (M)
├─MOA Monetary amount ×1 (C)
└─LOC Place/location identification ×5 (C)
├─Segment Group 8 ×5 (C)
├─CUX Currencies ×1 (M)
├─PCD Percentage details ×5 (C)
└─DTM Date/time/period ×5 (C)
├─Segment Group 9 ×10 (C)
├─PYT Payment terms ×1 (M)
├─DTM Date/time/period ×5 (C)
├─PCD Percentage details ×1 (C)
└─MOA Monetary amount ×1 (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 ×99 (C)
──├─PCI Package identification ×1 (M)
──├─RFF Reference ×1 (C)
──├─DTM Date/time/period ×5 (C)
──└─GIN Goods identity number ×99 (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 ×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 27 ×999 (C)
├─CCI Characteristic/class id ×1 (M)
├─CAV Characteristic value ×10 (C)
└─MEA Measurements ×10 (C)
├─Segment Group 28 ×10 (C)
├─PYT Payment terms ×1 (M)
├─DTM Date/time/period ×5 (C)
├─PCD Percentage details ×1 (C)
└─MOA Monetary amount ×1 (C)
├─Segment Group 29 ×1 (C)
├─AJT Adjustment details ×1 (M)
└─FTX Free text ×5 (C)
├─Segment Group 30 ×25 (C)
├─PRI Price details ×1 (M)
├─CUX Currencies ×1 (C)
├─APR Additional price information ×1 (C)
├─RNG Range details ×1 (C)
└─DTM Date/time/period ×5 (C)
├─Segment Group 31 ×9999 (C)
├─RFF Reference ×1 (M)
└─DTM Date/time/period ×5 (C)
├─Segment Group 32 ×99 (C)
├─PAC Package ×1 (M)
├─MEA Measurements ×5 (C)
├─QTY Quantity ×5 (C)
├─DTM Date/time/period ×5 (C)
├─Segment Group 33 ×1 (C)
├─RFF Reference ×1 (M)
└─DTM Date/time/period ×5 (C)
└─Segment Group 34 ×99 (C)
──├─PCI Package identification ×1 (M)
──├─RFF Reference ×1 (C)
──├─DTM Date/time/period ×5 (C)
──└─GIN Goods identity number ×99 (C)
├─Segment Group 35 ×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 36 ×10 (C)
├─TAX Duty/tax/fee details ×1 (M)
├─MOA Monetary amount ×1 (C)
└─LOC Place/location identification ×5 (C)
├─Segment Group 37 ×999 (C)
├─NAD Name and address ×1 (M)
├─LOC Place/location identification ×5 (C)
├─FII Financial institution information ×5 (C)
├─Segment Group 38 ×99 (C)
├─RFF Reference ×1 (M)
└─DTM Date/time/period ×5 (C)
├─Segment Group 39 ×5 (C)
├─DOC Document/message details ×1 (M)
└─DTM Date/time/period ×5 (C)
└─Segment Group 40 ×5 (C)
──├─CTA Contact information ×1 (M)
──└─COM Communication contact ×5 (C)
├─Segment Group 41 ×99 (C)
├─ALC Allowance or charge ×1 (M)
├─ALI Additional information ×5 (C)
├─DTM Date/time/period ×5 (C)
├─Segment Group 42 ×1 (C)
├─QTY Quantity ×1 (M)
└─RNG Range details ×1 (C)
├─Segment Group 43 ×1 (C)
├─PCD Percentage details ×1 (M)
└─RNG Range details ×1 (C)
├─Segment Group 44 ×2 (C)
├─MOA Monetary amount ×1 (M)
└─RNG Range details ×1 (C)
├─Segment Group 45 ×1 (C)
├─RTE Rate details ×1 (M)
└─RNG Range details ×1 (C)
└─Segment Group 46 ×5 (C)
──├─TAX Duty/tax/fee details ×1 (M)
──└─MOA Monetary amount ×1 (C)
├─Segment Group 47 ×10 (C)
├─TDT Transport information ×1 (M)
└─Segment Group 48 ×10 (C)
──├─LOC Place/location identification ×1 (M)
──└─DTM Date/time/period ×5 (C)
├─Segment Group 49 ×5 (C)
├─TOD Terms of delivery or transport ×1 (M)
└─LOC Place/location identification ×2 (C)
├─Segment Group 50 ×10 (C)
├─EQD Equipment details ×1 (M)
├─HAN Handling instructions ×5 (C)
├─MEA Measurements ×5 (C)
└─FTX Free text ×5 (C)
├─Segment Group 51 ×100 (C)
├─SCC Scheduling conditions ×1 (M)
├─FTX Free text ×5 (C)
├─RFF Reference ×5 (C)
└─Segment Group 52 ×10 (C)
──├─QTY Quantity ×1 (M)
──└─DTM Date/time/period ×5 (C)
├─Segment Group 53 ×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 54 ×10 (C)
──├─STG Stages ×1 (M)
──└─Segment Group 55 ×3 (C)
────├─QTY Quantity ×1 (M)
────└─MOA Monetary amount ×1 (C)
├─UNS Section control ×1 (M)
├─MOA Monetary amount ×12 (C)
├─CNT Control total ×10 (C)
├─Segment Group 56 ×10 (C)
├─ALC Allowance or charge ×1 (M)
├─ALI Additional information ×1 (C)
└─MOA Monetary amount ×2 (M)
└─UNT Message trailer ×1 (M)

Return to Stylus Studio EDIFACT D03A Messages page.
EDI to XML Mapping for EDIFACT/X12 Convert EDIFACT/X12 Schemas to XML Schema Legacy Data Conversion Tools Access Relational Data as XML Visual XSLT and XQuery Mapping Tools EDIFACT to XML
Return to Stylus Studio EDIFACT home page.

Return to Stylus Studio home page.
Site Map | Privacy Policy | Terms of Use | Trademarks
Stylus Scoop XML Newsletter:
W3C Member
Stylus Studio® and DataDirect XQuery ™are from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2016 All Rights Reserved.