---
title: "Edifact Order Response Documentation"
canonical: "https://knowledge-hub.onetrail.com/space/docs/718701035/Edifact%20Order%20Response%20Documentation"
format: markdown
---
The ORDRSP (order response) message is described here in two UN/EDIFACT versions: [D97A](#Edifact-D97A) and [D96A](#Edifact-D96A). The tables below follow the Excel files, which you can also download.

# Edifact D97A

> ✅ **Download**
> ✅ 
> ✅ Download in Excel:

ORDRSP message, UN/EDIFACT D97.A. Version 21 Oct 2025.

> ℹ️ **Status:** M = mandatory, C = conditional. The number after the dash is the maximum number of occurrences (n = unlimited). Open a segment to see its elements.

## Interchange header

<details>
<summary>UNB – Interchange header (M-1)</summary>

| Reference | Comp | Tag | Status | Element | Description | Onetrail implementation |
| --- | --- | --- | --- | --- | --- | --- |
| UNB010 | S001 | 0001 | M | Syntax identifier | Identification of the agency controlling the syntax and identification of syntax level | UNOC |
| UNB010 | S001 | 0002 | M | Syntax version number | Version number of the syntax identified in the syntax identifier | 2, version 2 |
| UNB020 | S002 | 0004 | M | Sender identification | Name or coded representation of the sender of a data interchange | Sender GLN |
| UNB020 | S002 | 0007 | M | Partner identification code qualifier | Qualifier referring to the source of codes for the identifiers of interchanging partners | 14, EAN (European Article Numbering Association, today known as GS1) |
| UNB030 | S003 | 0010 | M | Recipient identification | Name or coded representation of the recipient of a data interchange | Recipient GLN |
| UNB030 | S003 | 0007 | M | Partner identification code qualifier | Qualifier referring to the source of codes for the identifiers of interchanging partners | 14, EAN (European Article Numbering Association, today known as GS1) |
| UNB040 | S004 | 0017 | M | Date of preparation | Local date when an interchange or a functional group was prepared | YYMMDD |
| UNB040 | S004 | 0019 | M | Time of preparation | Local time of day when an interchange or a functional group was prepared | HHMM |
| UNB050 |  | 0020 | M | Interchange control reference | Unique reference assigned by the sender to an interchange | Unique reference for this interchange |
| UNB070 |  | 0026 | M | Application reference | Identification of the application area assigned by the sender, to which the messages in the interchange relate e.g. the message identifier if all the messages in the interchange are of the same type. | ORDRSP |
| UNB110 |  | 0035 | C | Test indicator | Indication that the interchange is a test | 1, interchange is a test. This element is blank if interchange is production |
</details>

## Header

<details>
<summary>UNH – Message header (Pos 0010, M-1)</summary>

| Reference | Comp | Tag | Status | Element | Description | Onetrail implementation |
| --- | --- | --- | --- | --- | --- | --- |
| UNH010 | S009 | 0062 | M | Message reference number | Unique message reference sequentially assigned by the sender | Unique reference sequentially assigned by the sender for each message within an interchange.  
Default = 1, must be the same as UNT020. |
| UNH020 | S009 | 0065 | M | Message type identifier | Code identifying a type of message and assigned by its controlling agency. | ORDRSP, Order response message |
| UNH020 | S009 | 0052 | M | Message type version number | Version number of a message type | D, Draft version |
| UNH020 | S009 | 0054 | M | Message type release number | Release number of a message type | 97A, Release 1997 - A |
| UNH020 | S009 | 0051 | M | Controlling agency | Code identifying the agency controlling the specification, maintenance and publication of the message type | UN, UN/ECE/TRADE/WP.4. United Nations Standard Messages (UNSM) |
</details>

<details>
<summary>BGM – Begin of Message (Pos 0020, M-1)</summary>

| Reference | Comp | Tag | Status | Element | Description | Onetrail implementation |
| --- | --- | --- | --- | --- | --- | --- |
| BGM010 | C002 | 1001 | M | Document/message name, coded | Document/message identifier expressed in code | 231, Purchase Order Response |
| BGM020 | C106 | 1004 | M | Document/message number | Reference number assigned to the document/message by the issuer | Purchase Order number |
| BGM030 |  | 1225 | M | Message function, code | Code indicating the function of the message. | 3, Delete  
4, Change  
27, Not Accepted  
29, Accepted without amendment |
</details>

<details>
<summary>DTM – Date / Time / Period (Pos 0030, M-1)</summary>

| Reference | Comp | Tag | Status | Element | Description | Onetrail implementation |
| --- | --- | --- | --- | --- | --- | --- |
| DTM010 | C507 | 2005 | M | Date/time/period qualifier | Code giving specific meaning to a date, time or period. | 17 (OPTIONAL), Delivery date estimated - Will override line level DTM+76  
2 (MANDATORY), Delivery date requested  
4 (MANDATORY), Order date (seller)  
137 (MANDATORY), Message date |
| DTM010 | C507 | 2380 | M | Date/time/period | The value of a date, a date and time, a time or of a period in a specified representation |  |
| DTM010 | C507 | 2379 | M | Date/time/period format qualifier | Specification of the representation of a date, a date  
and time or of a period | 102, CCYYMMDD |
</details>

<details>
<summary>FTX – Free Text (Pos 0070, C-n)</summary>

| Reference | Comp | Tag | Status | Element | Description | Onetrail implementation |
| --- | --- | --- | --- | --- | --- | --- |
| FTX010 |  | 4451 | M | Text subject qualifier | Code specifying subject of a free text | ZZZ, Mutually defined |
| FTX040 | C108 | 4440 | M | Free Text | Free text field available to the message sender for information | Order header Comments |
</details>

## Segment group 1

<details>
<summary>RFF – References (Pos 0090, C-n)</summary>

| Reference | Comp | Tag | Status | Element | Description | Onetrail implementation |
| --- | --- | --- | --- | --- | --- | --- |
| RFF010 | C506 | 1153 | M | Reference qualifier | Code giving specific meaning to a reference segment or a reference number | ON (MANDATORY), Purchase order number (buyer)  
VN (MANDATORY), Vendor order number (seller)  
AAG (CONDITIONAL when not in Segment group 38), Proposal / Offer Number for special deal orders  
CO (CONDITIONAL), End User Reference for dropshipment orders  
CT (CONDITIONAL when not in Segment group 38), Contract Number for special bid orders  
AEP (CONDITIONAL when in Purchase order and not in Segment group 38), Reference number assigned to a project. |
| RFF010 | C506 | 1154 | M | Reference number | Identification number the nature and function of which can be qualified |  |
</details>

<details>
<summary>DTM – Date / Time / Period (Pos 0100, C-1)</summary>

| Reference | Comp | Tag | Status | Element | Description | Onetrail implementation |
| --- | --- | --- | --- | --- | --- | --- |
| DTM010 | C507 | 2005 | M | Date/time/period qualifier | Date/time on which the reference was issued. | 171, Reference date(MANDATORY for RFF+ON) |
| DTM010 | C507 | 2380 | M | Date/time/period | The value of a date, a date and time, a time or of a period in a specified representation |  |
| DTM010 | C507 | 2379 | M | Date/time/period format qualifier | Specification of the representation of a date, a date and time or of a period | 102, CCYYMMDD |
</details>

## Segment group 3

<details>
<summary>NAD – Name and Address (Pos 0120, M-2)</summary>

| Reference | Comp | Tag | Status | Element | Description | Onetrail implementation |
| --- | --- | --- | --- | --- | --- | --- |
| NAD010 |  | 3035 | M | Party qualifier | Code giving specific meaning to a party | SU (MANDATORY), Supplier   
BY (MANDATORY), Buyer (only provide GLN no address details)  
ST (or DP) or UD (MANDATORY)  
ST, Ship to Party (only provide GLN no address details)  
DP, Delivery Party (only provide GLN no address details)  
UD, Ultimate customer (address details) for drop shipment orders  
BT or IV (MANDATORY), Bill to Party (only provide GLN no address details) |
| NAD020 | C082 | 3039 | M | Party id. identification | Code identifying a party involved in a transaction | Ship to Party GLN is mandatory for a warehouse order and empty for drop shipment orders |
| NAD020 | C082 | 3055 | C | Code list responsible agency | Code identifying the agency responsible for a code list | 9, EAN (International Article Numbering association) |
| NAD040 | C080 | 3036 | C | Party name | Name of a party involved in a transaction | Mandatory for dropshipment orders, empty for warehouse orders |
| NAD050 | C059 | 3042 | C | Street and number/p.o. box | Street and number in plain language, or Post Office Box No | Mandatory for dropshipment orders, empty for warehouse orders |
| NAD060 |  | 3164 | C | City Name | Name of a city (a town, a village) for addressing purposes | Mandatory for dropshipment orders, empty for warehouse orders |
| NAD070 |  | 3229 | C | Country sub-entity identification | Identification of the name of sub-entities (state, province) defined by appropriate governmental agencies | Mandatory for dropshipment orders, empty for warehouse orders |
| NAD080 |  | 3251 | C | Postcode identification | Code defining postal zones or addresses | Mandatory for dropshipment orders, empty for warehouse orders |
| NAD090 |  | 3207 | C | Country, coded | Identification of the name of a country or other geographical entity as specified in ISO 3166 | Mandatory for dropshipment orders, empty for warehouse orders |
</details>

## Segment group 6

<details>
<summary>CTA – Contact Information (Pos 0250, M-1)</summary>

| Reference | Comp | Tag | Status | Element | Description | Onetrail implementation |
| --- | --- | --- | --- | --- | --- | --- |
| CTA010 |  | 3139 | M | Contact function, coded | Code specifying the function of a contact (e.g. department or person) | OC (RECOMMENDED), Order Contact |
| CTA020 | C056 | 3412 | M | Department or employee description | The department or person within an organization entity | Order contact name |
</details>

<details>
<summary>COM – Communications Contact (Pos 0260, M-2)</summary>

| Reference | Comp | Tag | Status | Element | Description | Onetrail implementation |
| --- | --- | --- | --- | --- | --- | --- |
| COM010 | C076 | 3148 | M | Communication Number | The Communication Number | Email address  
Telephone number  
Telefax number |
| COM020 | C076 | 3155 | M | Communication Channel qualifier | Code identifying the type of communication channel being used. All valid standard codes are used | EM (RECOMMENDED), Electronic Mail  
TE (RECOMMENDED), Telephone number  
FX, Telefax |
</details>

## Segment group 8

<details>
<summary>CUX – Currencies (Pos 0320, M-1)</summary>

| Reference | Comp | Tag | Status | Element | Description | Onetrail implementation |
| --- | --- | --- | --- | --- | --- | --- |
| CUX010 | C504 | 6347 | M | Currency details qualifier | Specification of the usage to which the currency relates | 2 (MANDATORY when prices are communicated and no CUX available at line level), Reference currency |
| CUX020 |  | 6345 | M | Currency, coded | Identification of the name or symbol of the monetary unit involved in the transaction | Currency Code   
(ISO 4217 three letter alpha code in capitals) |
</details>

## Segment group 16

<details>
<summary>SCC – Scheduling conditions (Pos 0610, C-1)</summary>

| Reference | Comp | Tag | Status | Element | Description | Onetrail implementation |
| --- | --- | --- | --- | --- | --- | --- |
| SCC010 |  | 4017 | M | Delivery plan status indicator, coded | Code indicating the level of commitment of schedule information. | 4, Planning / Forecast  
10, Immediate |
| SCC020 |  | 4493 | M | Delivery requirements, coded | Identification of general instructions for delivery unit involved in the transaction | BK, Ship partial - balance back order  
SC, Ship complete order |
</details>

## Segment group 26

<details>
<summary>LIN – Line Item (Pos 0970, M-n)</summary>

| Reference | Comp | Tag | Status | Element | Description | Onetrail implementation |
| --- | --- | --- | --- | --- | --- | --- |
| LIN010 |  | 1082 | M | Line item number | Serial number designating each separate item within a series of articles | Sales order line number |
| LIN020 |  | 1229 | M | Action request/notification, coded | Code specifying the action to be taken or already taken | 1, Added  
2, Deleted  
3, Changed  
5, Accepted without amendment  
6, Accepted with amendment  
7, Not accepted |
| LIN030 | C212 | 7140 | M | Item number | A number allocated to a group or item | Seller product identifier (SKU) |
| LIN030 | C212 | 7143 | M | Item number type, coded | Identification of the type of item number | SA (MANDATORY), Suppliers article number |
</details>

<details>
<summary>PIA – Additional Product ID (Pos 0980, C-n)</summary>

| Reference | Comp | Tag | Status | Element | Description | Onetrail implementation |
| --- | --- | --- | --- | --- | --- | --- |
| PIA010 |  | 4347 | M | Product ID function qualifier | Indication of the function of the product code | 1, Additional Identification |
| PIA020 | C212 | 7140 | M | Item number | A number allocated to a group or item | Additional product identifier |
| PIA020 | C212 | 7143 | M | Item number type, coded | Identification of the type of item number | EN, (OPTIONAL) International Article Numbering Association (EAN)  
BP, (RECOMMENDED) Buyer's part number  
MF, (MANDATORY) Manufacturer part number   
UA, (CONDITIONAL) Ultimate customer's article number |
</details>

<details>
<summary>IMD – Item Description (Pos 0990, C-n)</summary>

| Reference | Comp | Tag | Status | Element | Description | Onetrail implementation |
| --- | --- | --- | --- | --- | --- | --- |
| IMD010 |  | 7077 | M | Item description type, coded | Code indicating the format of a description | F, Free Form |
| IMD030 | C273 | 7008 | M | Item description | Plain language description of articles or products | Product description |
</details>

<details>
<summary>QTY – Quantity (Pos 1010, M-1)</summary>

| Reference | Comp | Tag | Status | Element | Description | Onetrail implementation |
| --- | --- | --- | --- | --- | --- | --- |
| QTY010 | C186 | 6063 | M | Quantity qualifier | Ordered quantity | 21 (MANDATORY), Ordered quantity  
187 or/and 169 (MANDATORY)  
187, Quantity scheduled  
169, Supplied quantity  
  
Use one of these qualifiers applicable for the scenario:  
182 (CONDITIONAL), Cancelled quantity (in case of cancelling order quantity)  
83 (CONDITIONAL), Backorder quantity (in case of backordering) |
| QTY010 | C186 | 6060 | M | Quantity | Numeric value of a quantity | Quantity |
| QTY010 | C186 | 6411 | M | Measure unit qualifier | Indication of the unit of measurement in which weight (mass), capacity, length, area, volume or other quantity is expressed | EA, Each |
</details>

<details>
<summary>DTM – Date / Time / Period (Pos 1040, C-n)</summary>

| Reference | Comp | Tag | Status | Element | Description | Onetrail implementation |
| --- | --- | --- | --- | --- | --- | --- |
| DTM010 | C507 | 2005 | M | Date/time/period qualifier | Code giving specific meaning to a date, time or period | 2 (MANDATORY), Delivery date requested  
  
Either 110 or 76 (MANDATORY), only add one value per order line  
  
If Seller supports Shipping date (if the date is unknown, like in case of backordering, use fictional date 04-04-2044)  
110 (MANDATORY), Ship date scheduled  
  
If Seller supports Delivery date (if the date is unknown, like in case of backordering, use fictional date 04-04-2044)  
76 (MANDATORY), Delivery date Scheduled |
| DTM010 | C507 | 2380 | M | Date/time/period | The value of a date, a date and time, a time or of a period in a specified representation |  |
| DTM010 | C507 | 2379 | M | Date/time/period format qualifier | Specification of the representation of a date, a date and time or of a period | 102, CCYYMMDD |
</details>

<details>
<summary>MOA – Monetary amounts (Pos 1050, C)</summary>

| Reference | Comp | Tag | Status | Element | Description | Onetrail implementation |
| --- | --- | --- | --- | --- | --- | --- |
| MOA010 | C516 | 5025 | M | Monetary amount type qualifier | Indication of type of amount | 146, Unit Price  
203, Line item amount |
| MOA010 | C516 | 5004 | M | Monetary amount | Monetary Amount | Price each excl. VAT or net line item amount |
</details>

<details>
<summary>FTX – Free Text (Pos 1110, C-n)</summary>

| Reference | Comp | Tag | Status | Element | Description | Onetrail implementation |
| --- | --- | --- | --- | --- | --- | --- |
| FTX010 |  | 4451 | M | Text subject qualifier | Code specifying subject of a free text | ZZZ, Mutually defined |
| FTX040 | C108 | 4440 | M | Free text | Free text field available to the message sender for information | Order line comments |
</details>

## Segment group 30

<details>
<summary>PRI – Price details (Pos 1250, C-1)</summary>

| Reference | Comp | Tag | Status | Element | Description | Onetrail implementation |
| --- | --- | --- | --- | --- | --- | --- |
| PRI010 | C509 | 5125 | M | Price qualifier | Identification of a type of price | AAA, Calculation Net  
CAL, Calculation price |
| PRI010 | C509 | 5118 | C | Price | The monetary value associated with a purchase or sale of an article, product or service |  |
</details>

<details>
<summary>CUX – Currencies (Pos 1260, M-1)</summary>

| Reference | Comp | Tag | Status | Element | Description | Onetrail implementation |
| --- | --- | --- | --- | --- | --- | --- |
| CUX010 | C504 | 6347 | M | Currency details qualifier | Specification of the usage to which the currency relates | 2 (MANDATORY when prices are communicated and no CUX available at header level), Reference currency |
| CUX020 | C509 | 6345 | M | Currency, coded | Identification of the name or symbol of the monetary unit involved in the transaction | Currency Code (ISO 4217 three letter alpha code in capitals) |
</details>

## Segment group 38

<details>
<summary>RFF – References (Pos 1590, C-1)</summary>

| Reference | Comp | Tag | Status | Element | Description | Onetrail implementation |
| --- | --- | --- | --- | --- | --- | --- |
| RFF010 | C506 | 1153 | M | Reference qualifier | Code giving specific meaning to a reference segment or a reference number | ON (MANDATORY when not in Segment group 1), Purchase order number (buyer)  
LI (MANDATORY), Purchase Order Line Number  
VN (MANDATORY), Vendor order number (seller) including Sales Order Line number  
CO (CONDITIONAL when not in Segment group 1), End user reference for drop-ship orders  
AAG (CONDITIONAL when not in Segment group 1), Proposal / Offer Number for special deal orders  
CT (CONDITIONAL when not in Segment group 1), Contract Number for special bid orders  
AEP (CONDITIONAL when in Purchase order and not in Segment group 1), Reference number assigned to a project. |
| RFF010 | C506 | 1154 | M | Reference number | Identification number the nature and function of which can be qualified |  |
| RFF010 | C506 | 1156 | C | Line number | Number of the line in the document/message referenced in 1154 Reference number |  |
</details>

## Summary

<details>
<summary>UNS – Section Control (Pos 2090, M-1)</summary>

| Reference | Comp | Tag | Status | Element | Description | Onetrail implementation |
| --- | --- | --- | --- | --- | --- | --- |
| UNS010 |  | 0081 | M | Section Control | To separate header, detail and summary sections of a message | S, Detail/summary section separation |
</details>

## Trailer

<details>
<summary>UNT – Message trailer (Pos 2330, M-1)</summary>

| Reference | Comp | Tag | Status | Element | Description | Onetrail implementation |
| --- | --- | --- | --- | --- | --- | --- |
| UNT010 |  | 0074 | M | Number of segments in a message | Control count of number of segments in a message | Number of segments in this message |
| UNT020 |  | 0062 | M | Message reference number | Unique message reference, sequentially assigned by the sender | Unique reference sequentially assigned by the sender for each message within an interchange.  
Default = 1, it must be the same as UNH010. |
</details>

<details>
<summary>UNZ – Interchange trailer (M-1)</summary>

| Reference | Comp | Tag | Status | Element | Description | Onetrail implementation |
| --- | --- | --- | --- | --- | --- | --- |
| UNZ010 |  | 0036 | M | Interchange control count | Count the number of messages. | Number of messages in this interchange |
| UNZ020 |  | 0020 | M | Interchange control reference | Unique reference assigned by the sender to an interchange. | Unique reference for this interchange, it must be identical to UNB050. |
</details>

# Edifact D96A

> ✅ **Download**
> ✅ 
> ✅ Download in Excel:

ORDRSP message, UN/EDIFACT D96.A. Version 27 Jan 2020.

> ℹ️ **Status:** M = mandatory, C = conditional. The number after the dash is the maximum number of occurrences (n = unlimited). Open a segment to see its elements.

## Interchange header

<details>
<summary>UNB – Interchange header (M-1)</summary>

| Reference | Comp | Tag | Status | Element | Description | Onetrail implementation |
| --- | --- | --- | --- | --- | --- | --- |
| UNB010 | S001 | 0001 | M | Syntax identifier | Identification of the agency controlling the syntax and identification of syntax level | UNOC |
| UNB010 | S001 | 0002 | M | Syntax version number | Version number of the syntax identified in the syntax identifier | 2, version 2 |
| UNB020 | S002 | 0004 | M | Sender identification | Name or coded representation of the sender of a data interchange | Sender GLN |
| UNB020 | S002 | 0007 | M | Partner identification code qualifier | Qualifier referring to the source of codes for the identifiers of interchanging partners | 14, EAN (European Article Numbering Association, today known as GS1) |
| UNB030 | S003 | 0010 | M | Recipient identification | Name or coded representation of the recipient of a data interchange | Recipient GLN |
| UNB030 | S003 | 0007 | M | Partner identification code qualifier | Qualifier referring to the source of codes for the identifiers of interchanging partners | 14, EAN (European Article Numbering Association, today known as GS1) |
| UNB040 | S004 | 0017 | M | Date of preparation | Local date when an interchange or a functional group was prepared | YYMMDD |
| UNB040 | S004 | 0019 | M | Time of preparation | Local time of day when an interchange or a functional group was prepared | HHMM |
| UNB050 |  | 0020 | M | Interchange control reference | Unique reference assigned by the sender to an interchange | Unique reference for this interchange |
| UNB070 |  | 0026 | M | Application reference | Identification of the application area assigned by the sender, to which the messages in the interchange relate e.g. the message identifier if all the messages in the interchange are of the same type. | ORDRSP |
| UNB110 |  | 0035 | C | Test indicator | Indication that the interchange is a test | 1, interchange is a test. This element is blank if interchange is production |
</details>

## Header

<details>
<summary>UNH – Message header (Pos 0010, M-1)</summary>

| Reference | Comp | Tag | Status | Element | Description | Onetrail implementation |
| --- | --- | --- | --- | --- | --- | --- |
| UNH010 | S009 | 0062 | M | Message reference number | Unique message reference sequentially assigned by the sender | Unique reference sequentially assigned by the sender for each message within an interchange.  
Default = 1, must be the same as UNT020. |
| UNH020 | S009 | 0065 | M | Message type identifier | Code identifying a type of message and assigned by its controlling agency. | ORDRSP, Order response message |
| UNH020 | S009 | 0052 | M | Message type version number | Version number of a message type | D, Draft version |
| UNH020 | S009 | 0054 | M | Message type release number | Release number of a message type | 96A, Release 1996 - A |
| UNH020 | S009 | 0051 | M | Controlling agency | Code identifying the agency controlling the specification, maintenance and publication of the message type | UN, UN/ECE/TRADE/WP.4. United Nations Standard Messages (UNSM) |
</details>

<details>
<summary>BGM – Begin of Message (Pos 0020, M-1)</summary>

| Reference | Comp | Tag | Status | Element | Description | Onetrail implementation |
| --- | --- | --- | --- | --- | --- | --- |
| BGM010 | C002 | 1001 | M | Document/message name, coded | Document/message identifier expressed in code | 231, Purchase Order Response |
| BGM020 | C106 | 1004 | M | Document/message number | Reference number assigned to the document/message by the issuer | Purchase Order number |
| BGM030 |  | 1225 | M | Message function, code | Code indicating the function of the message. | 3, Delete  
4, Change  
27, Not Accepted  
29, Accepted without amendment |
</details>

<details>
<summary>DTM – Date / Time / Period (Pos 0030, M-1)</summary>

| Reference | Comp | Tag | Status | Element | Description | Onetrail implementation |
| --- | --- | --- | --- | --- | --- | --- |
| DTM010 | C507 | 2005 | M | Date/time/period qualifier | Code giving specific meaning to a date, time or period. | 17 (MANDATORY), Delivery date estimated  
2 (MANDATORY), Delivery date requested  
4 (MANDATORY), Order date (seller)  
137 (MANDATORY), Message date |
| DTM010 | C507 | 2380 | M | Date/time/period | The value of a date, a date and time, a time or of a period in a specified representation |  |
| DTM010 | C507 | 2379 | M | Date/time/period format qualifier | Specification of the representation of a date, a date  
and time or of a period | 102, CCYYMMDD |
</details>

<details>
<summary>FTX – Free Text (Pos 0070, C-n)</summary>

| Reference | Comp | Tag | Status | Element | Description | Onetrail implementation |
| --- | --- | --- | --- | --- | --- | --- |
| FTX010 |  | 4451 | M | Text subject qualifier | Code specifying subject of a free text | ZZZ, Mutually defined |
| FTX040 | C108 | 4440 | M | Free Text | Free text field available to the message sender for information | Order header Comments |
</details>

## Segment group 1

<details>
<summary>RFF – References (Pos 0090, C-n)</summary>

| Reference | Comp | Tag | Status | Element | Description | Onetrail implementation |
| --- | --- | --- | --- | --- | --- | --- |
| RFF010 | C506 | 1153 | M | Reference qualifier | Code giving specific meaning to a reference segment or a reference number | ON (MANDATORY), Purchase order number (buyer)  
VN (MANDATORY), Vendor order number (seller)  
AAG (CONDITIONAL when not in Segment group 38), Proposal / Offer Number for special deal orders  
CO (CONDITIONAL), End User Reference for dropshipment orders  
CT (CONDITIONAL when not in Segment group 38), Contract Number for special bid orders  
AEP (CONDITIONAL when in Purchase order and not in Segment group 38), Reference number assigned to a project. |
| RFF010 | C506 | 1154 | M | Reference number | Identification number the nature and function of which can be qualified |  |
</details>

<details>
<summary>DTM – Date / Time / Period (Pos 0100, C-1)</summary>

| Reference | Comp | Tag | Status | Element | Description | Onetrail implementation |
| --- | --- | --- | --- | --- | --- | --- |
| DTM010 | C507 | 2005 | M | Date/time/period qualifier | Date/time on which the reference was issued. | 171, Reference date(MANDATORY for RFF+ON) |
| DTM010 | C507 | 2380 | M | Date/time/period | The value of a date, a date and time, a time or of a period in a specified representation |  |
| DTM010 | C507 | 2379 | M | Date/time/period format qualifier | Specification of the representation of a date, a date and time or of a period | 102, CCYYMMDD |
</details>

## Segment group 3

<details>
<summary>NAD – Name and Address (Pos 0120, M-2)</summary>

| Reference | Comp | Tag | Status | Element | Description | Onetrail implementation |
| --- | --- | --- | --- | --- | --- | --- |
| NAD010 |  | 3035 | M | Party qualifier | Code giving specific meaning to a party | SU (MANDATORY), Supplier   
BY (MANDATORY), Buyer (only provide GLN no address details)  
ST (or DP) or UD (MANDATORY)  
ST, Ship to Party (only provide GLN no address details)  
DP, Delivery Party (only provide GLN no address details)  
UD, Ultimate customer (address details) for drop shipment orders  
BT or IV (MANDATORY), Bill to Party (only provide GLN no address details) |
| NAD020 | C082 | 3039 | M | Party id. identification | Code identifying a party involved in a transaction | Ship to Party GLN is mandatory for a warehouse order and empty for drop shipment orders |
| NAD020 | C082 | 3055 | C | Code list responsible agency | Code identifying the agency responsible for a code list | 9, EAN (International Article Numbering association) |
| NAD040 | C080 | 3036 | C | Party name | Name of a party involved in a transaction | Mandatory for dropshipment orders, empty for warehouse orders |
| NAD050 | C059 | 3042 | C | Street and number/p.o. box | Street and number in plain language, or Post Office Box No | Mandatory for dropshipment orders, empty for warehouse orders |
| NAD060 |  | 3164 | C | City Name | Name of a city (a town, a village) for addressing purposes | Mandatory for dropshipment orders, empty for warehouse orders |
| NAD070 |  | 3229 | C | Country sub-entity identification | Identification of the name of sub-entities (state, province) defined by appropriate governmental agencies | Mandatory for dropshipment orders, empty for warehouse orders |
| NAD080 |  | 3251 | C | Postcode identification | Code defining postal zones or addresses | Mandatory for dropshipment orders, empty for warehouse orders |
| NAD090 |  | 3207 | C | Country, coded | Identification of the name of a country or other geographical entity as specified in ISO 3166 | Mandatory for dropshipment orders, empty for warehouse orders |
</details>

## Segment group 6

<details>
<summary>CTA – Contact Information (Pos 0250, M-1)</summary>

| Reference | Comp | Tag | Status | Element | Description | Onetrail implementation |
| --- | --- | --- | --- | --- | --- | --- |
| CTA010 |  | 3139 | M | Contact function, coded | Code specifying the function of a contact (e.g. department or person) | OC (RECOMMENDED), Order Contact |
| CTA020 | C056 | 3412 | M | Department or employee description | The department or person within an organization entity | Order contact name |
</details>

<details>
<summary>COM – Communications Contact (Pos 0260, M-2)</summary>

| Reference | Comp | Tag | Status | Element | Description | Onetrail implementation |
| --- | --- | --- | --- | --- | --- | --- |
| COM010 | C076 | 3148 | M | Communication Number | The Communication Number | Email address  
Telephone number  
Telefax number |
| COM020 | C076 | 3155 | M | Communication Channel qualifier | Code identifying the type of communication channel being used. All valid standard codes are used | EM (RECOMMENDED), Electronic Mail  
TE (RECOMMENDED), Telephone number  
FX, Telefax |
</details>

## Segment group 8

<details>
<summary>CUX – Currencies (Pos 0320, M-1)</summary>

| Reference | Comp | Tag | Status | Element | Description | Onetrail implementation |
| --- | --- | --- | --- | --- | --- | --- |
| CUX010 | C504 | 6347 | M | Currency details qualifier | Specification of the usage to which the currency relates | 2 (MANDATORY when prices are communicated and no CUX available at line level), Reference currency |
| CUX020 |  | 6345 | M | Currency, coded | Identification of the name or symbol of the monetary unit involved in the transaction | Currency Code   
(ISO 4217 three letter alpha code in capitals) |
</details>

## Segment group 16

<details>
<summary>SCC – Scheduling conditions (Pos 0610, C-1)</summary>

| Reference | Comp | Tag | Status | Element | Description | Onetrail implementation |
| --- | --- | --- | --- | --- | --- | --- |
| SCC010 |  | 4017 | M | Delivery plan status indicator, coded | Code indicating the level of commitment of schedule information. | 4, Planning / Forecast  
10, Immediate |
| SCC020 |  | 4493 | M | Delivery requirements, coded | Identification of general instructions for delivery unit involved in the transaction | BK, Ship partial - balance back order  
SC, Ship complete order |
</details>

## Segment group 26

<details>
<summary>LIN – Line Item (Pos 0970, M-n)</summary>

| Reference | Comp | Tag | Status | Element | Description | Onetrail implementation |
| --- | --- | --- | --- | --- | --- | --- |
| LIN010 |  | 1082 | M | Line item number | Serial number designating each separate item within a series of articles | Sales order line number |
| LIN020 |  | 1229 | M | Action request/notification, coded | Code specifying the action to be taken or already taken | 1, Added  
2, Deleted  
3, Changed  
5, Accepted without amendment  
6, Accepted with amendment  
7, Not accepted |
| LIN030 | C212 | 7140 | M | Item number | A number allocated to a group or item | Seller product identifier (SKU) |
| LIN030 | C212 | 7143 | M | Item number type, coded | Identification of the type of item number | SA (MANDATORY), Suppliers article number |
</details>

<details>
<summary>PIA – Additional Product ID (Pos 0980, C-n)</summary>

| Reference | Comp | Tag | Status | Element | Description | Onetrail implementation |
| --- | --- | --- | --- | --- | --- | --- |
| PIA010 |  | 4347 | M | Product ID function qualifier | Indication of the function of the product code | 1, Additional Identification |
| PIA020 | C212 | 7140 | M | Item number | A number allocated to a group or item | Additional product identifier |
| PIA020 | C212 | 7143 | M | Item number type, coded | Identification of the type of item number | EN, (OPTIONAL) International Article Numbering Association (EAN)  
BP, (RECOMMENDED) Buyer's part number  
MF, (MANDATORY) Manufacturer part number   
UA, (CONDITIONAL) Ultimate customer's article number |
</details>

<details>
<summary>IMD – Item Description (Pos 0990, C-n)</summary>

| Reference | Comp | Tag | Status | Element | Description | Onetrail implementation |
| --- | --- | --- | --- | --- | --- | --- |
| IMD010 |  | 7077 | M | Item description type, coded | Code indicating the format of a description | F, Free Form |
| IMD030 | C273 | 7008 | M | Item description | Plain language description of articles or products | Product description |
</details>

<details>
<summary>QTY – Quantity (Pos 1010, M-1)</summary>

| Reference | Comp | Tag | Status | Element | Description | Onetrail implementation |
| --- | --- | --- | --- | --- | --- | --- |
| QTY010 | C186 | 6063 | M | Quantity qualifier | Ordered quantity | 21 (MANDATORY), Ordered quantity  
187 or/and 169 (MANDATORY)  
187, Quantity scheduled  
169, Supplied quantity  
  
Use one of these qualifiers when applicable for the scenario:  
182 (CONDITIONAL), Cancelled quantity (in case of cancelling order quantity)  
83 (CONDITIONAL), Backorder quantity (in case of backordering) |
| QTY010 | C186 | 6060 | M | Quantity | Numeric value of a quantity | Quantity |
| QTY010 | C186 | 6411 | M | Measure unit qualifier | Indication of the unit of measurement in which weight (mass), capacity, length, area, volume or other quantity is expressed | EA, Each |
</details>

<details>
<summary>DTM – Date / Time / Period (Pos 1040, C-n)</summary>

| Reference | Comp | Tag | Status | Element | Description | Onetrail implementation |
| --- | --- | --- | --- | --- | --- | --- |
| DTM010 | C507 | 2005 | M | Date/time/period qualifier | Code giving specific meaning to a date, time or period | 2 (MANDATORY), Delivery date requested  
  
Either 110 or 76 (MANDATORY), only add one value per order line  
  
If Seller supports Shipping date (if the date is unknown, like in case of backordering, use fictional date 04-04-2044)  
110 (MANDATORY), Ship date scheduled  
  
If Seller supports Delivery date (if the date is unknown, like in case of backordering, use fictional date 04-04-2044)  
76 (MANDATORY), Delivery date Scheduled |
| DTM010 | C507 | 2380 | M | Date/time/period | The value of a date, a date and time, a time or of a period in a specified representation |  |
| DTM010 | C507 | 2379 | M | Date/time/period format qualifier | Specification of the representation of a date, a date and time or of a period | 102, CCYYMMDD |
</details>

<details>
<summary>MOA – Monetary amounts (Pos 1050, C)</summary>

| Reference | Comp | Tag | Status | Element | Description | Onetrail implementation |
| --- | --- | --- | --- | --- | --- | --- |
| MOA010 | C516 | 5025 | M | Monetary amount type qualifier | Indication of type of amount | 146, Unit Price  
203, Line item amount |
| MOA010 | C516 | 5004 | M | Monetary amount | Monetary Amount | Price each excl. VAT or net line item amount |
</details>

<details>
<summary>FTX – Free Text (Pos 1110, C-n)</summary>

| Reference | Comp | Tag | Status | Element | Description | Onetrail implementation |
| --- | --- | --- | --- | --- | --- | --- |
| FTX010 |  | 4451 | M | Text subject qualifier | Code specifying subject of a free text | ZZZ, Mutually defined |
| FTX040 | C108 | 4440 | M | Free text | Free text field available to the message sender for information | Order line comments |
</details>

## Segment group 30

<details>
<summary>PRI – Price details (Pos 1250, C-1)</summary>

| Reference | Comp | Tag | Status | Element | Description | Onetrail implementation |
| --- | --- | --- | --- | --- | --- | --- |
| PRI010 | C509 | 5125 | M | Price qualifier | Identification of a type of price | AAA, Calculation Net  
CAL, Calculation price |
| PRI010 | C509 | 5118 | C | Price | The monetary value associated with a purchase or sale of an article, product or service |  |
</details>

<details>
<summary>CUX – Currencies (Pos 1260, M-1)</summary>

| Reference | Comp | Tag | Status | Element | Description | Onetrail implementation |
| --- | --- | --- | --- | --- | --- | --- |
| CUX010 | C504 | 6347 | M | Currency details qualifier | Specification of the usage to which the currency relates | 2 (MANDATORY when prices are communicated and no CUX available at header level), Reference currency |
| CUX020 | C509 | 6345 | M | Currency, coded | Identification of the name or symbol of the monetary unit involved in the transaction | Currency Code (ISO 4217 three letter alpha code in capitals) |
</details>

## Segment group 38

<details>
<summary>RFF – References (Pos 1590, C-1)</summary>

| Reference | Comp | Tag | Status | Element | Description | Onetrail implementation |
| --- | --- | --- | --- | --- | --- | --- |
| RFF010 | C506 | 1153 | M | Reference qualifier | Code giving specific meaning to a reference segment or a reference number | ON (MANDATORY when not in Segment group 1), Purchase order number (buyer)  
LI (MANDATORY), Purchase Order Line Number  
VN (MANDATORY), Vendor order number (seller) including Sales Order Line number  
CO (CONDITIONAL when not in Segment group 1), End user reference for drop-ship orders  
AAG (CONDITIONAL when not in Segment group 1), Proposal / Offer Number for special deal orders  
CT (CONDITIONAL when not in Segment group 1), Contract Number for special bid orders  
AEP (CONDITIONAL when in Purchase order and not in Segment group 1), Reference number assigned to a project. |
| RFF010 | C506 | 1154 | M | Reference number | Identification number the nature and function of which can be qualified |  |
| RFF010 | C506 | 1156 | C | Line number | Number of the line in the document/message referenced in 1154 Reference number |  |
</details>

## Summary

<details>
<summary>UNS – Section Control (Pos 2090, M-1)</summary>

| Reference | Comp | Tag | Status | Element | Description | Onetrail implementation |
| --- | --- | --- | --- | --- | --- | --- |
| UNS010 |  | 0081 | M | Section Control | To separate header, detail and summary sections of a message | S, Detail/summary section separation |
</details>

## Trailer

<details>
<summary>UNT – Message trailer (Pos 2330, M-1)</summary>

| Reference | Comp | Tag | Status | Element | Description | Onetrail implementation |
| --- | --- | --- | --- | --- | --- | --- |
| UNT010 |  | 0074 | M | Number of segments in a message | Control count of number of segments in a message | Number of segments in this message |
| UNT020 |  | 0062 | M | Message reference number | Unique message reference, sequentially assigned by the sender | Unique reference sequentially assigned by the sender for each message within an interchange.  
Default = 1, it must be the same as UNH010. |
</details>

<details>
<summary>UNZ – Interchange trailer (M-1)</summary>

| Reference | Comp | Tag | Status | Element | Description | Onetrail implementation |
| --- | --- | --- | --- | --- | --- | --- |
| UNZ010 |  | 0036 | M | Interchange control count | Count the number of messages. | Number of messages in this interchange |
| UNZ020 |  | 0020 | M | Interchange control reference | Unique reference assigned by the sender to an interchange. | Unique reference for this interchange, it must be identical to UNB050. |
</details>