Frames | No Frames

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

Invoice message

Version:D
Release:97A
Contr. Agency:UN
Revision:6
Date:96-12-13
SOURCE:To be provided

CONTENTS
Invoice 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 Invoice message (INVOIC) 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 claiming payment for goods or services supplied under conditions agreed between the seller and the buyer.

The United Nations Standard Invoice Message, with correct data qualification, serves also as the specification for Debit Note and Credit Note messages. Throughout this document, the reference to 'Invoice' may be interpreted as conveying the wider meaning of 'Invoice/Credit Note/Debit Note'.


1.2. Field of Application

The UN Standard Invoice Message may be applied for both national and international trade. It is based on universal commercial practice and is not dependent on the type of business or industry.


1.3. Principles

  • A seller may invoice for one or more transactions
  • An invoice may refer to goods, items or services related to one or more orders, delivery instructions, call-offs, etc.
  • An invoice may contain references to payment terms
  • An invoice for cross border transactions may contain additional information for customs and/or statistical purposes/services
  • An invoice may contain transport details.

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 indicate 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 Invoice message is INVOIC.

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

Data element0065INVOIC
0052D
005497A
0051UN

0020 BGM, Beginning of message

A segment by which the sender must uniquely identify the invoice by means of its type 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 invoice date. Examples of the use of this DTM segment is: "shipped on date" or "delivery date".

The Date/time/period segment within other Segment groups 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 invoice. An example of the use of this segment is to specify the type of documentary credit used in the transaction.

0050 ALI, Additional information

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

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 + LOC, Place/location identification

A segment identifying locations for which details of transport are not known such as country of export, place of cargo receipt, and a place of cargo delivery.

0090 + GIS, General indicator

A segment to specify processing indicators relating to the invoice.

0100 + DGS, Dangerous goods

A segment to specify the detail information about dangerous goods related to the whole invoice.

0110 Segment Group 1: RFF-DTM-GIR-LOC-MEA-QTY-FTX-MOA

A group of segments for giving references and where necessary, their dates, related identification numbers, locations, measurements, quantities, free text and monetary amounts, relating to the whole message, e.g. contract information, import or export license information, despatch advice information.

0120 RFF, Reference

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

0130 DTM, Date/time/period

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

0140 + GIR, Related identification numbers

A segment specifying identification numbers related to the reference.

0150 + LOC, Place/location identification

A segment specifying location information related to the reference.

0160 + MEA, Measurements

A segment specifying measurement information related to the reference.

0170 + QTY, Quantity

A segment specifying quantity information related to the reference.

0180 + FTX, Free text

A segment specifying free text information related to the reference.

0190 + MOA, Monetary amount

A segment specifying monetary amounts related to the reference.

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

A group of segments identifying the parties with associated information.

0210 NAD, Name and address

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

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

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

0240 Segment Group 3: RFF-DTM

A group of segment for giving references only relevant to the specified party rather than the whole invoice.

0250 RFF, Reference

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

0260 DTM, Date/time/period

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

0270 Segment Group 4: DOC-DTM

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

0280 DOC, Document/message details

A segment identifying and providing information relating to the documents required by the party specified by the NAD segment.

0290 DTM, Date/time/period

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

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

0310 CTA, Contact information

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

0320 COM, Communication contact

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

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

0340 TAX, Duty/tax/fee details

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

0350 MOA, Monetary amount

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

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

0370 Segment Group 7: CUX-DTM

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

0380 CUX, Currencies

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

0390 DTM, Date/time/period

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

0400 Segment Group 8: PAT-DTM-PCD-MOA-PAI-FII

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

0410 PAT, Payment terms basis

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

0420 DTM, Date/time/period

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

0430 PCD, Percentage details

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

0440 MOA, Monetary amount

A segment specifying amounts related to payment discount penalties or instalments.

0450 PAI, Payment instructions

To specify the instructions for payment.

0460 FII, Financial institution information

To identify an account and a related financial institution.

0470 Segment Group 9: TDT-TSR-SG10-SG11

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

0480 TDT, Details of transport

A segment specifying the mode, means and identification of the transport for the goods being invoiced.

0490 + TSR, Transport service requirements

A segment specifying the contract of carriage requirements for the goods being invoiced.

0500 Segment Group 10: LOC-DTM

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

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

0520 DTM, Date/time/period

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

0530 Segment Group 11: RFF-DTM

A group of segments to allow reference to transport details.

0540 RFF, Reference

A segment giving reference to transport details.

0550 DTM, Date/time/period

A segment giving date/time/period on the above reference.

0560 Segment Group 12: TOD-LOC

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

0570 TOD, Terms of delivery or transport

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

0580 LOC, Place/location identification

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

0590 Segment Group 13: PAC-MEA-EQD-SG14

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

0600 PAC, Package

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

0610 MEA, Measurements

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

0620 + EQD, Equipment details

A segment specifying the unit of equipment.

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

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

0640 PCI, Package identification

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

0650 RFF, Reference

A segment identifying the master label number.

0660 DTM, Date/time/period

A segment specifying the dates relevant to the package markings.

0670 GIN, Goods identity number

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

0680 Segment Group 15: ALC-ALI-FTX-SG16-SG17-SG18-SG19-SG20-SG21

A group of segments specifying allowances and charges for the whole invoice. The allowance or charge specified within this Segment group may either relate to the total invoice 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 TAX 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 15-19 should be used accordingly.

0690 ALC, Allowance or charge

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

0700 ALI, Additional information

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

0710 + FTX, Free text

A segment specifying a textual description of the allowance or charge.

0720 Segment Group 16: RFF-DTM

A group of segment for giving references and where necessary, their dates relating to the allowances or charges.

0730 RFF, Reference

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

0740 DTM, Date/time/period

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

0750 Segment Group 17: 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 18: 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 19: MOA-RNG-CUX-DTM

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 CUX, Currencies

A segment specifying the currency and rate of exchange of the monetary amount identified for an allowance or charge.

0850 DTM, Date/time/period

A segment specifying the date of application of the currency exchange rate.

0860 Segment Group 20: 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 21: TAX-MOA

A group of segments specifying tax related information for the allowance or charge and, when necessary.

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 amount for the allowance or charge.

0920 Segment Group 22: 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 specifying the date/time related to the reference.

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.

0970 Segment Group 23: AJT-FTX

A segment group to give information about adjustment.

0980 AJT, Adjustment details

A segment giving adjustment details.

0990 FTX, Free text

A segment giving additional information on the adjustment.

1000 Segment Group 24: INP-FTX

A segment group giving the possibility in a reply to INVOIC of instructing the other party of the action to be taken.

1010 INP, Parties to instruction

A segment giving information on parties to instruction.

1020 FTX, Free text

A segment giving additional information about parties to instruction.


4.1.2. Detail section

Information to be provided in the Detail section:

1030 | Segment group 25: LIN-PIA-IMD-MEA-QTY-PCD-ALI-DTM-GIN-GIR-QVR- EQD-FTX-DGS-SG26-SG27-SG28-SG29-SG30-SG32- SG33-SG34-SG38-SG44-SG46-SG47-SG48 A group of segments providing details of the individual invoiced items. There must be at least one occurrence of Segment group 22 within an invoice, but not necessarily in a credit note or a debit note. This Segment group may be repeated to give sub-line details.

1040 LIN, Line item

A segment identifying the line item by the line number and configuration level, and additionally, identifying the product or service invoiced. Other product identification numbers, e.g. Buyer product number etc., can be specified within the following PIA segment.

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

1060 IMD, Item description

A segment for describing the product or service being invoiced 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.

1070 MEA, Measurements

A segment enabling the physical measurements of the invoiced 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.

1080 QTY, Quantity

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

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

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

1110 DTM, Date/time/period

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

1120 GIN, Goods identity number

A segment providing identity numbers to be applied to the goods being invoiced, 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 quantity variances, between, e.g. quantity delivered/invoiced and quantity ordered.

1150 EQD, Equipment details

A segment to specify the type and size of equipment being billed.

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

1170 + DGS, Dangerous goods

A segment specifying dangerous goods details relating to the line item only.

1180 Segment Group 26: MOA-CUX

A group of segments specifying any monetary amounts relating to the products and when necessary a currency.

1190 MOA, Monetary amount

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

1200 CUX, Currencies

A segment identifying the currencies required in the line item, when is different from the heading currencies. A rate of exchange may given to convert a reference currency into a target currency.

1210 Segment Group 27: PAT-DTM-PCD-MOA

A group of segments specifying the terms of payment for the line item where this is different to that specified in the heading section.

1220 PAT, Payment terms basis

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

1230 DTM, Date/time/period

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

1240 PCD, Percentage details

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

1250 MOA, Monetary amount

A segment specifying amounts related to payment discount penalties or instalments.

1260 Segment Group 28: PRI-CUX-APR-RNG-DTM

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

1270 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'. Indication of "net price" or "gross price" can be given in 5387 "Price type qualifier".

1280 CUX, Currencies

A segment specifying the currency for a price.

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

1300 RNG, Range details

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

1310 DTM, Date/time/period

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

1320 Segment Group 29: RFF-DTM

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

1330 RFF, Reference

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

1340 DTM, Date/time/period

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

1350 Segment Group 30: PAC-MEA-EQD-SG31

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

1360 PAC, Package

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

1370 MEA, Measurements

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

1380 + EQD, Equipment details

A segment specifying the unit of equipment.

1390 Segment Group 31: PCI-RFF-DTM-GIN

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

1400 PCI, Package identification

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

1410 RFF, Reference

A segment identifying the master label number.

1420 DTM, Date/time/period

A segment specifying the dates relevant to the package markings.

1430 GIN, Goods identity number

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

1440 Segment Group 32: LOC-QTY-DTM

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

1450 LOC, Place/location identification

A segment indicating the location to which part of the consignment has been delivered.

1460 QTY, Quantity

A segment specifying the quantity delivered to the identified location.

1470 DTM, Date/time/period

A segment specifying the dates and/or times that the delivery has been made.

1480 Segment Group 33: TAX-MOA-LOC

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

1490 TAX, Duty/tax/fee details

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

1500 MOA, Monetary amount

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

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

1520 Segment Group 34: NAD-LOC-SG35-SG36-SG37

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

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

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

1550 Segment Group 35: RFF-DTM

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

1560 RFF, Reference

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

1570 DTM, Date/time/period

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

1580 Segment Group 36: DOC-DTM

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

1590 DOC, Document/message details

A segment identifying and providing information relating to the documents required by the party specified by the NAD segment.

1600 DTM, Date/time/period

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

1610 Segment Group 37: CTA-COM

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

1620 CTA, Contact information

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

1630 COM, Communication contact

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

1640 Segment Group 38: ALC-ALI-DTM-FTX-SG39-SG40-SG41-SG42-SG43

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

1650 ALC, Allowance or charge

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

1660 ALI, Additional information

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

1670 DTM, Date/time/period

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

1680 + FTX, Free text

A segment specifying a textual description of the allowance or charge.

1690 Segment Group 39: 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.

1700 QTY, Quantity

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

1710 RNG, Range details

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

1720 Segment Group 40: 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.

1730 PCD, Percentage details

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

1740 RNG, Range details

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

1750 Segment Group 41: MOA-RNG-CUX-DTM

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.

1760 MOA, Monetary amount

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

1770 RNG, Range details

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

1780 CUX, Currencies

A segment specifying the currency and rate of exchange of the monetary amount identified for an allowance or charge.

1790 DTM, Date/time/period

A segment specifying the date of application of the currency exchange rate.

1800 Segment Group 42: 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.

1810 RTE, Rate details

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

1820 RNG, Range details

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

1830 Segment Group 43: TAX-MOA

A group of segments specifying tax related information for the allowance or charge and, when necessary.

1840 TAX, Duty/tax/fee details

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

1850 MOA, Monetary amount

A segment specifying the amount for the allowance or charge.

1860 Segment Group 44: TDT-SG45

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.

1870 TDT, Details of transport

A segment specifying the mode, means and identification of the transport for the goods in the line item.

1880 Segment Group 45: LOC-DTM

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

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

1900 DTM, Date/time/period

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

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

1920 TOD, Terms of delivery or transport

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

1930 LOC, Place/location identification

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

1940 Segment Group 47: RCS-RFF-DTM-FTX

A group of segments identifying for the line item - where this is different to or not specified within the Heading section - any rules, laws or regulations with which the supplier must comply to meet requirements. e.g. building regulations, safety requirements etc.

1950 RCS, Requirements and conditions

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

1960 RFF, Reference

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

1970 DTM, Date/time/period

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

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

1990 Segment Group 48: GIS-RFF-DTM-GIR-LOC-MEA-QTY-FTX-MOA

A group of segments for giving processing indicators, references and where necessary, their dates, related identification numbers, locations, measurements, quantities, free text and monetary amounts, relating to the line item, e.g. contract information, import or export license information, despatch advice information.

2000 + GIS, General indicator

A segment specifying processing indicators related to the line item.

2010 + RFF, Reference

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

2020 + DTM, Date/time/period

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

2030 + GIR, Related identification numbers

A segment specifying identification numbers related to the reference.

2040 + LOC, Place/location identification

A segment specifying location information related to the reference.

2050 + MEA, Measurements

A segment specifying measurement information related to the reference.

2060 + QTY, Quantity

A segment specifying quantity information related to the reference.

2070 + FTX, Free text

A segment specifying free text information related to the reference.

2080 + MOA, Monetary amount

A segment specifying monetary amounts related to the reference.


4.1.3. Summary section

Information to be provided in the Summary section:

2090 UNS, Section control

A mandatory service segment placed before the first user segment in the summary section to avoid segment collision.

2100 CNT, Control total

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

2110 Segment Group 49: MOA-SG50

A group of segments giving total amounts for the whole invoice and - if relevant -detailing amounts pre-paid with relevant references and dates.

2120 MOA, Monetary amount

A segment giving the total amounts for the whole invoice message such as message monetary amount, message line item total amount, amount subject to payment discount, amount subject to tax, alternative currency total amount, total additional amount, sub-total amounts prepaid, total amount prepaid.

2130 Segment Group 50: RFF-DTM

A group of segments for giving references and where necessary, their dates, relating e.g. amounts prepaid number.

2140 RFF, Reference

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

2150 DTM, Date/time/period

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

2160 Segment Group 51: TAX-MOA

A group of segments specifying taxes totals for the invoice.

2170 TAX, Duty/tax/fee details

A segment specifying the tax type to be summarized.

2180 MOA, Monetary amount

A segment specifying the summary amount for the tax specified.

2190 Segment Group 52: ALC-ALI-MOA-FTX

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

2200 ALC, Allowance or charge

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

2210 ALI, Additional information

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

2220 MOA, Monetary amount

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

2230 + FTX, Free text

A segment specifying a textual description of the allowance or charge.

2240 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)

AJT Adjustment details
ALC Allowance or charge
ALI Additional information
APR Additional price information
BGM Beginning of message
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
IMD Item description
INP Parties to instruction
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
TAX Duty/tax/fee details
TDT Details of transport
TOD Terms of delivery or transport
TSR Transport service requirements
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 ×1 (C)
├─FTX Free text ×10 (C)
├─LOC Place/location identification ×10 (C)
├─GIS General indicator ×10 (C)
├─DGS Dangerous goods ×1 (C)
├─Segment Group 1 ×99 (C)
├─RFF Reference ×1 (M)
├─DTM Date/time/period ×5 (C)
├─GIR Related identification numbers ×5 (C)
├─LOC Place/location identification ×2 (C)
├─MEA Measurements ×5 (C)
├─QTY Quantity ×2 (C)
├─FTX Free text ×5 (C)
└─MOA Monetary amount ×2 (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 ×9999 (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)
└─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)
├─MOA Monetary amount ×1 (C)
├─PAI Payment instructions ×1 (C)
└─FII Financial institution information ×1 (C)
├─Segment Group 9 ×10 (C)
├─TDT Details of transport ×1 (M)
├─TSR Transport service requirements ×1 (C)
├─Segment Group 10 ×10 (C)
├─LOC Place/location identification ×1 (M)
└─DTM Date/time/period ×5 (C)
└─Segment Group 11 ×9999 (C)
──├─RFF Reference ×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 ×1000 (C)
├─PAC Package ×1 (M)
├─MEA Measurements ×5 (C)
├─EQD Equipment details ×1 (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 ×5 (C)
├─Segment Group 15 ×9999 (C)
├─ALC Allowance or charge ×1 (M)
├─ALI Additional information ×5 (C)
├─FTX Free text ×1 (C)
├─Segment Group 16 ×5 (C)
├─RFF Reference ×1 (M)
└─DTM Date/time/period ×5 (C)
├─Segment Group 17 ×1 (C)
├─QTY Quantity ×1 (M)
└─RNG Range details ×1 (C)
├─Segment Group 18 ×1 (C)
├─PCD Percentage details ×1 (M)
└─RNG Range details ×1 (C)
├─Segment Group 19 ×2 (C)
├─MOA Monetary amount ×1 (M)
├─RNG Range details ×1 (C)
├─CUX Currencies ×1 (C)
└─DTM Date/time/period ×1 (C)
├─Segment Group 20 ×1 (C)
├─RTE Rate details ×1 (M)
└─RNG Range details ×1 (C)
└─Segment Group 21 ×5 (C)
──├─TAX Duty/tax/fee details ×1 (M)
──└─MOA Monetary amount ×1 (C)
├─Segment Group 22 ×100 (C)
├─RCS Requirements and conditions ×1 (M)
├─RFF Reference ×5 (C)
├─DTM Date/time/period ×5 (C)
└─FTX Free text ×5 (C)
├─Segment Group 23 ×1 (C)
├─AJT Adjustment details ×1 (M)
└─FTX Free text ×5 (C)
├─Segment Group 24 ×1 (C)
├─INP Parties to instruction ×1 (M)
└─FTX Free text ×5 (C)
├─Segment Group 25 ×99999 (C)
├─LIN Line item ×1 (M)
├─PIA Additional product id ×25 (C)
├─IMD Item description ×10 (C)
├─MEA Measurements ×5 (C)
├─QTY Quantity ×5 (C)
├─PCD Percentage details ×1 (C)
├─ALI Additional information ×5 (C)
├─DTM Date/time/period ×35 (C)
├─GIN Goods identity number ×1000 (C)
├─GIR Related identification numbers ×1000 (C)
├─QVR Quantity variances ×1 (C)
├─EQD Equipment details ×1 (C)
├─FTX Free text ×5 (C)
├─DGS Dangerous goods ×1 (C)
├─Segment Group 26 ×10 (C)
├─MOA Monetary amount ×1 (M)
└─CUX Currencies ×1 (C)
├─Segment Group 27 ×10 (C)
├─PAT Payment terms basis ×1 (M)
├─DTM Date/time/period ×5 (C)
├─PCD Percentage details ×1 (C)
└─MOA Monetary amount ×1 (C)
├─Segment Group 28 ×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 29 ×10 (C)
├─RFF Reference ×1 (M)
└─DTM Date/time/period ×5 (C)
├─Segment Group 30 ×10 (C)
├─PAC Package ×1 (M)
├─MEA Measurements ×10 (C)
├─EQD Equipment details ×1 (C)
└─Segment Group 31 ×10 (C)
──├─PCI Package identification ×1 (M)
──├─RFF Reference ×1 (C)
──├─DTM Date/time/period ×5 (C)
──└─GIN Goods identity number ×10 (C)
├─Segment Group 32 ×9999 (C)
├─LOC Place/location identification ×1 (M)
├─QTY Quantity ×100 (C)
└─DTM Date/time/period ×5 (C)
├─Segment Group 33 ×99 (C)
├─TAX Duty/tax/fee details ×1 (M)
├─MOA Monetary amount ×1 (C)
└─LOC Place/location identification ×5 (C)
├─Segment Group 34 ×99 (C)
├─NAD Name and address ×1 (M)
├─LOC Place/location identification ×5 (C)
├─Segment Group 35 ×5 (C)
├─RFF Reference ×1 (M)
└─DTM Date/time/period ×5 (C)
├─Segment Group 36 ×5 (C)
├─DOC Document/message details ×1 (M)
└─DTM Date/time/period ×5 (C)
└─Segment Group 37 ×5 (C)
──├─CTA Contact information ×1 (M)
──└─COM Communication contact ×5 (C)
├─Segment Group 38 ×30 (C)
├─ALC Allowance or charge ×1 (M)
├─ALI Additional information ×5 (C)
├─DTM Date/time/period ×5 (C)
├─FTX Free text ×1 (C)
├─Segment Group 39 ×1 (C)
├─QTY Quantity ×1 (M)
└─RNG Range details ×1 (C)
├─Segment Group 40 ×1 (C)
├─PCD Percentage details ×1 (M)
└─RNG Range details ×1 (C)
├─Segment Group 41 ×2 (C)
├─MOA Monetary amount ×1 (M)
├─RNG Range details ×1 (C)
├─CUX Currencies ×1 (C)
└─DTM Date/time/period ×1 (C)
├─Segment Group 42 ×1 (C)
├─RTE Rate details ×1 (M)
└─RNG Range details ×1 (C)
└─Segment Group 43 ×5 (C)
──├─TAX Duty/tax/fee details ×1 (M)
──└─MOA Monetary amount ×1 (C)
├─Segment Group 44 ×10 (C)
├─TDT Details of transport ×1 (M)
└─Segment Group 45 ×10 (C)
──├─LOC Place/location identification ×1 (M)
──└─DTM Date/time/period ×5 (C)
├─Segment Group 46 ×5 (C)
├─TOD Terms of delivery or transport ×1 (M)
└─LOC Place/location identification ×2 (C)
├─Segment Group 47 ×100 (C)
├─RCS Requirements and conditions ×1 (M)
├─RFF Reference ×5 (C)
├─DTM Date/time/period ×5 (C)
└─FTX Free text ×5 (C)
└─Segment Group 48 ×10 (C)
──├─GIS General indicator ×1 (M)
──├─RFF Reference ×1 (C)
──├─DTM Date/time/period ×5 (C)
──├─GIR Related identification numbers ×5 (C)
──├─LOC Place/location identification ×2 (C)
──├─MEA Measurements ×5 (C)
──├─QTY Quantity ×2 (C)
──├─FTX Free text ×5 (C)
──└─MOA Monetary amount ×2 (C)
├─UNS Section control ×1 (M)
├─CNT Control total ×10 (C)
├─Segment Group 49 ×100 (M)
├─MOA Monetary amount ×1 (M)
└─Segment Group 50 ×1 (C)
──├─RFF Reference ×1 (M)
──└─DTM Date/time/period ×5 (C)
├─Segment Group 51 ×10 (C)
├─TAX Duty/tax/fee details ×1 (M)
└─MOA Monetary amount ×2 (C)
├─Segment Group 52 ×15 (C)
├─ALC Allowance or charge ×1 (M)
├─ALI Additional information ×1 (C)
├─MOA Monetary amount ×2 (C)
└─FTX Free text ×1 (C)
└─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 Stylus Studio EDIFACT D97A 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.