Frames | No Frames

Return to EDIFACT D98B Messages page.
UN/EDIFACT
UNITED NATIONS STANDARD MESSAGE (UNSM)

Purchase order message

Version:D
Release:98B
Contr. Agency:UN
Revision:9
Date:98-08-25
SOURCE:Joint Rapporteurs Message Design Group JM2

CONTENTS
Purchase order 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. Data segment clarification
      1. Header section
      2. Detail section
      3. Summary section
    2. Data segment index (alphabetical sequence)
    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.6, 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 message (ORDERS) 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 specifying details for goods or services ordered under conditions agreed between the seller and the buyer.


1.2. Field of Application

The Purchase order message may be used for both national and international applications. It is based on universal practice related to administration, commerce and transport, and is not dependent on the type of business or industry.


1.3. Principles

  • A buyer may order for one or more goods items or services.
  • A purchase order may refer to goods items or services related to one or more delivery schedules, call-offs, etc.
  • A purchase order for cross-border transactions may contain additional information for customs and/or statistical purposes.
  • A purchase order may contain details for transport and destination as well as delivery patterns.

2. REFERENCES

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


3. TERMS AND DEFINITIONS


3.1. Standard terms and definitions

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


4. MESSAGE DEFINITION


4.1. Data Segment Clarification

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

The following guidelines and principles apply to the whole message and are intended to facilitate the understanding and implementation of the message:

All specified dates/times should be in the format 'yymmdd'/'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 message is ORDERS.

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

Data element0065ORDERS
0052D
005498B
0051UN

0020 BGM, Beginning of message

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

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 date. Examples of the use of this DTM segment are: Lead times that apply to the whole of the Order and, if no schedule is to be specified, the delivery date. The Date/time/period segment within other Segment group should be used whenever the date/time/period requires to be logically related to another specified data item. e.g. Payment due date is specified within the PAT Segment group.

0040 PAI, Payment instructions

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.

0050 ALI, Additional information

A segment indicating special conditions related to the total order 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.

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 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 license number, reservation number.

0090 RFF, Reference

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

0100 DTM, Date/time/period

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

0110 Segment Group 2: NAD-LOC-FII-SG3-SG4-SG5

A group of segments identifying the parties with associated information.

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

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

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

0150 Segment Group 3: RFF-DTM

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

0160 RFF, Reference

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

0170 DTM, Date/time/period

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

0180 Segment Group 4: DOC-DTM

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

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

0200 DTM, Date/time/period

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

0210 Segment Group 5: CTA-COM

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

0220 CTA, Contact information

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

0230 COM, Communication contact

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

0240 Segment Group 6: TAX-MOA-LOC

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

0250 TAX, Duty/tax/fee details

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.

0260 MOA, Monetary amount

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

0270 LOC, Place/location identification

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

0280 Segment Group 7: CUX-PCD-DTM

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

0290 CUX, Currencies

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.

0300 PCD, Percentage details

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

0310 DTM, Date/time/period

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

0320 Segment Group 8: PAT-DTM-PCD-SG9

A segment group specifying the terms of payment and accounting classifications applicable to the entire message.

0330 PAT, Payment terms basis

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

0340 DTM, Date/time/period

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

0350 PCD, Percentage details

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

0360 Segment Group 9: MOA-GIR

A group of segments identifying accounting classification reference number data and related monetary amounts at the header level.

0370 MOA, Monetary amount

A segment specifying the amount associated with the specified accounting classification reference number data and payment information.

0380 GIR, Related identification numbers

A segment providing related accounting classification reference number data.

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

0400 TDT, Details of transport

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.

0410 Segment Group 11: LOC-DTM

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

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

0430 DTM, Date/time/period

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

0440 Segment Group 12: TOD-LOC

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

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

0460 LOC, Place/location identification

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

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

0480 PAC, Package

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

0490 MEA, Measurements

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

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

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

0510 PCI, Package identification

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

0520 RFF, Reference

A segment identifying the master label number.

0530 DTM, Date/time/period

A segment specifying the dates relevant to the package markings.

0540 GIN, Goods identity number

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

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

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

0570 HAN, Handling instructions

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

0580 MEA, Measurements

A segment providing measurement information for the equipment.

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

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

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

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

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

0630 RFF, Reference

A segment for specifying the reference for schedule.

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

0650 QTY, Quantity

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

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

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

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

0690 DTM, Date/time/period

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

0700 RNG, Range details

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

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

A group of segments specifying allowances and charges for the whole order. The allowance or charge specified within this Segment group may either relate to the total order 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 ALC Segment group within the detail section. Where relevant, additional information, tax and alternate currency details are to be indicated in the TRI and MOA 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 Segment group 19-22 should be used accordingly.

0720 ALC, Allowance or charge

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

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

0740 DTM, Date/time/period

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

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

0760 QTY, Quantity

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

0770 RNG, Range details

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

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

0790 PCD, Percentage details

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

0800 RNG, Range details

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

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

0820 MOA, Monetary amount

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

0830 RNG, Range details

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

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

0850 RTE, Rate details

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

0860 RNG, Range details

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

0870 Segment Group 24: TAX-MOA

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

0880 TAX, Duty/tax/fee details

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

0890 MOA, Monetary amount

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

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

0910 RCS, Requirements and conditions

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

0920 RFF, Reference

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

0930 DTM, Date/time/period

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

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

0950 Segment Group 26: DGS-FTX-SG27

A segment group identifying dangerous goods and hazardous material information with associated points of contact and communications numbers.

0960 DGS, Dangerous goods

A segment identifying dangerous goods and hazardous material information.

0970 FTX, Free text

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

0980 Segment Group 27: CTA-COM

A segment group providing contacts and communications numbers associated with the dangerous goods information.

0990 CTA, Contact information

A segment identifying to whom communications should be directed concerning dangerous goods.

1000 COM, Communication contact

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


4.1.2. Detail section

Information to be provided in the Detail section:

1010 | Segment group 28: LIN-PIA-IMD-MEA-QTY-PCD-ALI-DTM-MOA-GIS-GIN- GIR-QVR-DOC-PAI-FTX-SG29-SG30-SG32-SG33-SG34- SG37-SG38-SG39-SG43-SG49-SG51-SG52-SG53-SG55- SG56-SG58 A group of segments providing details of the individual ordered items. This segment group may be repeated to give sub-line details.

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

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

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

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

1060 QTY, Quantity

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

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

1080 ALI, Additional information

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

1090 DTM, Date/time/period

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

1100 MOA, Monetary amount

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

1110 + GIS, General indicator

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

1120 GIN, Goods identity number

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

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

1140 QVR, Quantity variances

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

1150 DOC, Document/message details

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

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

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

1180 Segment Group 29: CCI-CAV-MEA

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

1190 CCI, Characteristic/class id

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

1200 CAV, Characteristic value

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

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

1220 Segment Group 30: PAT-DTM-PCD-SG31

A group of segments specifying the terms of payment and accounting classifications applicable to the line item.

1230 PAT, Payment terms basis

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

1240 DTM, Date/time/period

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

1250 PCD, Percentage details

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

1260 Segment Group 31: MOA-GIR

A group of segments identifying accounting classification reference number data and related monetary amounts at the line item level.

1270 MOA, Monetary amount

A segment specifying the amount associated with the specified accounting classification reference number data and payment information.

1280 GIR, Related identification numbers

A segment providing related accounting identification numbers.

1290 Segment Group 32: PRI-CUX-APR-RNG-DTM

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

1300 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 'price'.

1310 CUX, Currencies

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

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

1330 RNG, Range details

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

1340 DTM, Date/time/period

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

1350 Segment Group 33: RFF-DTM

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

1360 RFF, Reference

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

1370 DTM, Date/time/period

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

1380 Segment Group 34: PAC-MEA-QTY-DTM-SG35-SG36

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

1390 PAC, Package

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

1400 MEA, Measurements

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

1410 QTY, Quantity

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.

1420 DTM, Date/time/period

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

1430 Segment Group 35: RFF-DTM

A segment group to give reference to e.g. a packing instruction document relevant to a particular package type and its date/time/period of issue.

1440 RFF, Reference

A segment identifying the packing instruction document.

1450 DTM, Date/time/period

A segment specifying the dates relevant to the referred document.

1460 Segment Group 36: PCI-RFF-DTM-GIN

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

1470 PCI, Package identification

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

1480 RFF, Reference

A segment identifying the master label number.

1490 DTM, Date/time/period

A segment specifying the dates relevant to the package markings.

1500 GIN, Goods identity number

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

1510 Segment Group 37: LOC-QTY-PCD-DTM

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

1520 LOC, Place/location identification

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

1530 QTY, Quantity

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

1540 PCD, Percentage details

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

1550 DTM, Date/time/period

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

1560 Segment Group 38: TAX-MOA-LOC

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

1570 TAX, Duty/tax/fee details

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

1580 MOA, Monetary amount

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

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

1600 Segment Group 39: NAD-LOC-SG40-SG41-SG42

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

1610 NAD, Name and address

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.

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

1630 Segment Group 40: RFF-DTM

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

1640 RFF, Reference

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

1650 DTM, Date/time/period

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

1660 Segment Group 41: DOC-DTM

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

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

1680 DTM, Date/time/period

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

1690 Segment Group 42: CTA-COM

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

1700 CTA, Contact information

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

1710 COM, Communication contact

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

1720 Segment Group 43: ALC-ALI-DTM-SG44-SG45-SG46-SG47-SG48

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

1730 ALC, Allowance or charge

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

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

1750 DTM, Date/time/period

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

1760 Segment Group 44: 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.

1770 QTY, Quantity

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

1780 RNG, Range details

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

1790 Segment Group 45: 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.

1800 PCD, Percentage details

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

1810 RNG, Range details

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

1820 Segment Group 46: 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.

1830 MOA, Monetary amount

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

1840 RNG, Range details

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

1850 Segment Group 47: 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.

1860 RTE, Rate details

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

1870 RNG, Range details

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

1880 Segment Group 48: TAX-MOA

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

1890 TAX, Duty/tax/fee details

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

1900 MOA, Monetary amount

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

1910 Segment Group 49: TDT-SG50

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.

1920 TDT, Details of transport

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.

1930 Segment Group 50: LOC-DTM

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

1940 LOC, Place/location identification

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

1950 DTM, Date/time/period

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

1960 Segment Group 51: 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.

1970 TOD, Terms of delivery or transport

A segment identifying the delivery terms to be used.

1980 LOC, Place/location identification

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

1990 Segment Group 52: 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.

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

2010 HAN, Handling instructions

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

2020 MEA, Measurements

A segment providing measurement information for the equipment.

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

2040 Segment Group 53: SCC-FTX-RFF-SG54

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.

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

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

2070 RFF, Reference

A segment for specifying references relevant to a schedule.

2080 Segment Group 54: 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.

2090 QTY, Quantity

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

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

2110 Segment Group 55: 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.

2120 RCS, Requirements and conditions

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

2130 RFF, Reference

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

2140 DTM, Date/time/period

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

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

2160 Segment Group 56: STG-SG57

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

2170 STG, Stages

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

2180 Segment Group 57: QTY-MOA

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

2190 QTY, Quantity

A segment giving information on quantity relating to STG.

2200 MOA, Monetary amount

A segment giving information on monetary amount relating to STG.

2210 Segment Group 58: DGS-FTX-SG59

A group of segments identifying handling information and dangerous goods and hazardous material information with associated points of contact and communications numbers at the item level.

2220 DGS, Dangerous goods

A segment identifying dangerous goods and hazardous material information.

2230 FTX, Free text

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

2240 Segment Group 59: CTA-COM

A group of segments providing contacts and communications numbers associated with dangerous goods information.

2250 CTA, Contact information

A segment identifying to whom communications should be directed concerning dangerous goods.

2260 COM, Communication contact

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


4.1.3. Summary section

Information to be provided in the Summary section:

2270 UNS, Section control

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

2280 MOA, Monetary amount

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

2290 CNT, Control total

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

2300 Segment Group 60: ALC-ALI-MOA

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

2310 ALC, Allowance or charge

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

2320 ALI, Additional information

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

2330 MOA, Monetary amount

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

2340 UNT, Message trailer

A service segment ending a message, giving the total number of segments in the message and the control reference number of the message.


4.2. Data segment index (Alphabetical sequence by tag)

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
DGS Dangerous goods
DOC Document/message details
DTM Date/time/period
EQD Equipment details
FII Financial institution information
FTX Free text
GIN Goods identity number
GIR Related identification numbers
GIS General indicator
HAN Handling instructions
IMD Item description
LIN Line item
LOC Place/location identification
MEA Measurements
MOA Monetary amount
NAD Name and address
PAC Package
PAI Payment instructions
PAT Payment terms basis
PCD Percentage details
PCI Package identification
PIA Additional product id
PRI Price details
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 Details of transport
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)
├─Segment Group 1 Ã—9999 (C)
│─├─RFF Reference Ã—1 (M)
│─└─DTM Date/time/period Ã—5 (C)
├─Segment Group 2 Ã—99 (C)
│─├─NAD Name and address Ã—1 (M)
│─├─LOC Place/location identification Ã—25 (C)
│─├─FII Financial institution information Ã—5 (C)
│─├─Segment Group 3 Ã—99 (C)
│─│─├─RFF Reference Ã—1 (M)
│─│─└─DTM Date/time/period Ã—5 (C)
│─├─Segment Group 4 Ã—5 (C)
│─│─├─DOC Document/message details Ã—1 (M)
│─│─└─DTM Date/time/period Ã—5 (C)
│─└─Segment Group 5 Ã—5 (C)
│───├─CTA Contact information Ã—1 (M)
│───└─COM Communication contact Ã—5 (C)
├─Segment Group 6 Ã—5 (C)
│─├─TAX Duty/tax/fee details Ã—1 (M)
│─├─MOA Monetary amount Ã—1 (C)
│─└─LOC Place/location identification Ã—5 (C)
├─Segment Group 7 Ã—5 (C)
│─├─CUX Currencies Ã—1 (M)
│─├─PCD Percentage details Ã—5 (C)
│─└─DTM Date/time/period Ã—5 (C)
├─Segment Group 8 Ã—10 (C)
│─├─PAT Payment terms basis Ã—1 (M)
│─├─DTM Date/time/period Ã—5 (C)
│─├─PCD Percentage details Ã—1 (C)
│─└─Segment Group 9 Ã—9999 (C)
│───├─MOA Monetary amount Ã—1 (M)
│───└─GIR Related identification numbers Ã—9 (C)
├─Segment Group 10 Ã—10 (C)
│─├─TDT Details of transport Ã—1 (M)
│─└─Segment Group 11 Ã—10 (C)
│───├─LOC Place/location identification Ã—1 (M)
│───└─DTM Date/time/period Ã—5 (C)
├─Segment Group 12 Ã—5 (C)
│─├─TOD Terms of delivery or transport Ã—1 (M)
│─└─LOC Place/location identification Ã—2 (C)
├─Segment Group 13 Ã—99 (C)
│─├─PAC Package Ã—1 (M)
│─├─MEA Measurements Ã—5 (C)
│─└─Segment Group 14 Ã—5 (C)
│───├─PCI Package identification Ã—1 (M)
│───├─RFF Reference Ã—1 (C)
│───├─DTM Date/time/period Ã—5 (C)
│───└─GIN Goods identity number Ã—10 (C)
├─Segment Group 15 Ã—10 (C)
│─├─EQD Equipment details Ã—1 (M)
│─├─HAN Handling instructions Ã—5 (C)
│─├─MEA Measurements Ã—5 (C)
│─└─FTX Free text Ã—5 (C)
├─Segment Group 16 Ã—10 (C)
│─├─SCC Scheduling conditions Ã—1 (M)
│─├─FTX Free text Ã—5 (C)
│─├─RFF Reference Ã—5 (C)
│─└─Segment Group 17 Ã—10 (C)
│───├─QTY Quantity Ã—1 (M)
│───└─DTM Date/time/period Ã—5 (C)
├─Segment Group 18 Ã—25 (C)
│─├─APR Additional price information Ã—1 (M)
│─├─DTM Date/time/period Ã—5 (C)
│─└─RNG Range details Ã—1 (C)
├─Segment Group 19 Ã—99 (C)
│─├─ALC Allowance or charge Ã—1 (M)
│─├─ALI Additional information Ã—5 (C)
│─├─DTM Date/time/period Ã—5 (C)
│─├─Segment Group 20 Ã—1 (C)
│─│─├─QTY Quantity Ã—1 (M)
│─│─└─RNG Range details Ã—1 (C)
│─├─Segment Group 21 Ã—1 (C)
│─│─├─PCD Percentage details Ã—1 (M)
│─│─└─RNG Range details Ã—1 (C)
│─├─Segment Group 22 Ã—2 (C)
│─│─├─MOA Monetary amount Ã—1 (M)
│─│─└─RNG Range details Ã—1 (C)
│─├─Segment Group 23 Ã—1 (C)
│─│─├─RTE Rate details Ã—1 (M)
│─│─└─RNG Range details Ã—1 (C)
│─└─Segment Group 24 Ã—5 (C)
│───├─TAX Duty/tax/fee details Ã—1 (M)
│───└─MOA Monetary amount Ã—1 (C)
├─Segment Group 25 Ã—999 (C)
│─├─RCS Requirements and conditions Ã—1 (M)
│─├─RFF Reference Ã—5 (C)
│─├─DTM Date/time/period Ã—5 (C)
│─└─FTX Free text Ã—99999 (C)
├─Segment Group 26 Ã—999 (C)
│─├─DGS Dangerous goods Ã—1 (M)
│─├─FTX Free text Ã—5 (C)
│─└─Segment Group 27 Ã—99 (C)
│───├─CTA Contact information Ã—1 (M)
│───└─COM Communication contact Ã—5 (C)
├─Segment Group 28 Ã—20000 (C)
│─├─LIN Line item Ã—1 (M)
│─├─PIA Additional product id Ã—25 (C)
│─├─IMD Item description Ã—99 (C)
│─├─MEA Measurements Ã—99 (C)
│─├─QTY Quantity Ã—99 (C)
│─├─PCD Percentage details Ã—5 (C)
│─├─ALI Additional information Ã—5 (C)
│─├─DTM Date/time/period Ã—35 (C)
│─├─MOA Monetary amount Ã—10 (C)
│─├─GIS General indicator Ã—99 (C)
│─├─GIN Goods identity number Ã—1000 (C)
│─├─GIR Related identification numbers Ã—1000 (C)
│─├─QVR Quantity variances Ã—1 (C)
│─├─DOC Document/message details Ã—99 (C)
│─├─PAI Payment instructions Ã—1 (C)
│─├─FTX Free text Ã—99 (C)
│─├─Segment Group 29 Ã—999 (C)
│─│─├─CCI Characteristic/class id Ã—1 (M)
│─│─├─CAV Characteristic value Ã—10 (C)
│─│─└─MEA Measurements Ã—10 (C)
│─├─Segment Group 30 Ã—10 (C)
│─│─├─PAT Payment terms basis Ã—1 (M)
│─│─├─DTM Date/time/period Ã—5 (C)
│─│─├─PCD Percentage details Ã—1 (C)
│─│─└─Segment Group 31 Ã—9999 (C)
│─│───├─MOA Monetary amount Ã—1 (M)
│─│───└─GIR Related identification numbers Ã—9 (C)
│─├─Segment Group 32 Ã—25 (C)
│─│─├─PRI Price details Ã—1 (M)
│─│─├─CUX Currencies Ã—1 (C)
│─│─├─APR Additional price information Ã—99 (C)
│─│─├─RNG Range details Ã—1 (C)
│─│─└─DTM Date/time/period Ã—5 (C)
│─├─Segment Group 33 Ã—9999 (C)
│─│─├─RFF Reference Ã—1 (M)
│─│─└─DTM Date/time/period Ã—5 (C)
│─├─Segment Group 34 Ã—99 (C)
│─│─├─PAC Package Ã—1 (M)
│─│─├─MEA Measurements Ã—5 (C)
│─│─├─QTY Quantity Ã—5 (C)
│─│─├─DTM Date/time/period Ã—5 (C)
│─│─├─Segment Group 35 Ã—1 (C)
│─│─│─├─RFF Reference Ã—1 (M)
│─│─│─└─DTM Date/time/period Ã—5 (C)
│─│─└─Segment Group 36 Ã—5 (C)
│─│───├─PCI Package identification Ã—1 (M)
│─│───├─RFF Reference Ã—1 (C)
│─│───├─DTM Date/time/period Ã—5 (C)
│─│───└─GIN Goods identity number Ã—10 (C)
│─├─Segment Group 37 Ã—9999 (C)
│─│─├─LOC Place/location identification Ã—1 (M)
│─│─├─QTY Quantity Ã—1 (C)
│─│─├─PCD Percentage details Ã—1 (C)
│─│─└─DTM Date/time/period Ã—5 (C)
│─├─Segment Group 38 Ã—10 (C)
│─│─├─TAX Duty/tax/fee details Ã—1 (M)
│─│─├─MOA Monetary amount Ã—1 (C)
│─│─└─LOC Place/location identification Ã—5 (C)
│─├─Segment Group 39 Ã—999 (C)
│─│─├─NAD Name and address Ã—1 (M)
│─│─├─LOC Place/location identification Ã—5 (C)
│─│─├─Segment Group 40 Ã—99 (C)
│─│─│─├─RFF Reference Ã—1 (M)
│─│─│─└─DTM Date/time/period Ã—5 (C)
│─│─├─Segment Group 41 Ã—5 (C)
│─│─│─├─DOC Document/message details Ã—1 (M)
│─│─│─└─DTM Date/time/period Ã—5 (C)
│─│─└─Segment Group 42 Ã—5 (C)
│─│───├─CTA Contact information Ã—1 (M)
│─│───└─COM Communication contact Ã—5 (C)
│─├─Segment Group 43 Ã—99 (C)
│─│─├─ALC Allowance or charge Ã—1 (M)
│─│─├─ALI Additional information Ã—5 (C)
│─│─├─DTM Date/time/period Ã—5 (C)
│─│─├─Segment Group 44 Ã—1 (C)
│─│─│─├─QTY Quantity Ã—1 (M)
│─│─│─└─RNG Range details Ã—1 (C)
│─│─├─Segment Group 45 Ã—1 (C)
│─│─│─├─PCD Percentage details Ã—1 (M)
│─│─│─└─RNG Range details Ã—1 (C)
│─│─├─Segment Group 46 Ã—2 (C)
│─│─│─├─MOA Monetary amount Ã—1 (M)
│─│─│─└─RNG Range details Ã—1 (C)
│─│─├─Segment Group 47 Ã—1 (C)
│─│─│─├─RTE Rate details Ã—1 (M)
│─│─│─└─RNG Range details Ã—1 (C)
│─│─└─Segment Group 48 Ã—5 (C)
│─│───├─TAX Duty/tax/fee details Ã—1 (M)
│─│───└─MOA Monetary amount Ã—1 (C)
│─├─Segment Group 49 Ã—10 (C)
│─│─├─TDT Details of transport Ã—1 (M)
│─│─└─Segment Group 50 Ã—10 (C)
│─│───├─LOC Place/location identification Ã—1 (M)
│─│───└─DTM Date/time/period Ã—5 (C)
│─├─Segment Group 51 Ã—5 (C)
│─│─├─TOD Terms of delivery or transport Ã—1 (M)
│─│─└─LOC Place/location identification Ã—2 (C)
│─├─Segment Group 52 Ã—10 (C)
│─│─├─EQD Equipment details Ã—1 (M)
│─│─├─HAN Handling instructions Ã—5 (C)
│─│─├─MEA Measurements Ã—5 (C)
│─│─└─FTX Free text Ã—5 (C)
│─├─Segment Group 53 Ã—100 (C)
│─│─├─SCC Scheduling conditions Ã—1 (M)
│─│─├─FTX Free text Ã—5 (C)
│─│─├─RFF Reference Ã—5 (C)
│─│─└─Segment Group 54 Ã—10 (C)
│─│───├─QTY Quantity Ã—1 (M)
│─│───└─DTM Date/time/period Ã—5 (C)
│─├─Segment Group 55 Ã—999 (C)
│─│─├─RCS Requirements and conditions Ã—1 (M)
│─│─├─RFF Reference Ã—5 (C)
│─│─├─DTM Date/time/period Ã—5 (C)
│─│─└─FTX Free text Ã—99999 (C)
│─├─Segment Group 56 Ã—10 (C)
│─│─├─STG Stages Ã—1 (M)
│─│─└─Segment Group 57 Ã—3 (C)
│─│───├─QTY Quantity Ã—1 (M)
│─│───└─MOA Monetary amount Ã—1 (C)
│─└─Segment Group 58 Ã—999 (C)
│───├─DGS Dangerous goods Ã—1 (M)
│───├─FTX Free text Ã—5 (C)
│───└─Segment Group 59 Ã—99 (C)
│─────├─CTA Contact information Ã—1 (M)
│─────└─COM Communication contact Ã—5 (C)
├─UNS Section control Ã—1 (M)
├─MOA Monetary amount Ã—99 (C)
├─CNT Control total Ã—10 (C)
├─Segment Group 60 Ã—10 (C)
│─├─ALC Allowance or charge Ã—1 (M)
│─├─ALI Additional information Ã—1 (C)
│─└─MOA Monetary amount Ã—2 (M)
└─UNT Message trailer Ã—1 (M)

Change indicators
plus sign An addition.
asterisk Addition/substraction/change to a code entry for a particular data element.
hash or pound sign Changes to names.
vertical bar Changes to text for descriptions, notes and functions.
minus sign A deletion.
letter X Marked for deletion.

Return to EDIFACT D98B Messages page.