---
title: "Edifact Despatch Advice Documentation"
canonical: "https://knowledge-hub.onetrail.com/space/docs/718701686/Edifact%20Despatch%20Advice%20Documentation"
format: markdown
---
The DESADV (despatch advice) 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:

DESADV message, UN/EDIFACT D97.A. Version 31 March 2022.

> ℹ️ **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. | DESADV |
| 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. | DESADV, despatch advice 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 | 351, Despatch Advice |
| BGM020 | C106 | 1004 | M | Document/message number | Reference number assigned to the document/message by the issuer | Despatch Advice number |
| BGM030 |  | 1225 | C | Message function, code | Code indicating the function of the message. | 9, Original |
</details>

<details>
<summary>DTM – Date / Time / Period (Pos 0030, M-2)</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. | 10 (MANDATORY), Ship date/time   
64 (MANDATORY), Requested Delivery Date  
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>

## Segment group 1

<details>
<summary>RFF – References (Pos 0080, C-2)</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 | AAO, Reference assigned by the consignee to a shipment  
CN, Reference number assigned by carrier to a consignment |
| RFF010 | C506 | 1154 | M | Reference number | Identification number the nature and function of which can be qualified | Shipment reference  
Tracking reference |
</details>

## Segment group 2

<details>
<summary>NAD – Name and Address (Pos 0110, M-3/C-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)  
SF (MANDATORY), Ship from Party (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 order |
| 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 | M | 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 | Optional 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 4

<details>
<summary>CTA – Contact Information (Pos 0170, C-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). | MD (RECOMMENDED), Warehouse Contact |
| CTA020 | C056 | 3412 | M | Department or employee description | The department or person within an organizational entity | Order contact name |
</details>

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

| Reference | Comp | Tag | Status | Element | Description | Onetrail implementation |
| --- | --- | --- | --- | --- | --- | --- |
| COM010 | C076 | 3148 | M | Communication number | The communication number | Email address  
Telephone number |
| COM010 | 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 |
</details>

## Segment group 6

<details>
<summary>TDT – Details Of Transport (Pos 0240, C-1)</summary>

| Reference | Comp | Tag | Status | Element | Description | Onetrail implementation |
| --- | --- | --- | --- | --- | --- | --- |
| TDT010 |  | 8051 | M | Transport stage qualifier | Transport by which goods are moved at the place of destination. | 13, Destination |
| TDT030 | C220 |  | C | MODE OF TRANSPORT | Method of transport code or name. Code preferred. | Not used. |
| TDT040 | C228 |  | C | TRANSPORT MEANS | Code and/or name identifying the type of means of transport. | Not used. |
| TDT050 | C040 | 3127 | M | Carrier identification | Identification of a carrier | EAN(GLN) code of carrier (provided by Onetrail if available)  
or seller assigned code |
| TDT050 | C040 | 3055 | M | Carrier | Identification of a carrier | 9, EAN  
91,Assigned by seller |
| TDT050 | C040 | 3128 | C | Carrier name | Name of party undertaking or arranging transport of goods | Carrier name |
</details>

## Segment group 10

<details>
<summary>CPS – Consignment Packing Sequence (Pos 0380, M-1)</summary>

| Reference | Comp | Tag | Status | Element | Description | Onetrail implementation |
| --- | --- | --- | --- | --- | --- | --- |
| CPS010 |  | 7164 | M | Hierarchical id. number | A unique number assigned by the sender to identify a level within a hierarchical structure | shipmentIdentifier |
</details>

## Segment group 11

<details>
<summary>PAC – Package (Pos 0410, M-1)</summary>

| Reference | Comp | Tag | Status | Element | Description | Onetrail implementation |
| --- | --- | --- | --- | --- | --- | --- |
| PAC010 |  | 7224 | M | Number of packages | Number of packages | Number of packages |
| PAC030 | C202 | 7065 | C | Type of package identification | Type of package identification | shippingContainerIdentifier in combination with SSCC |
</details>

## Segment group 10

<details>
<summary>CPS – Consignment Packing Sequence (Pos 0380, C-1)</summary>

Only used when a single level packing structure is available.

| Reference | Comp | Tag | Status | Element | Description | Onetrail implementation |
| --- | --- | --- | --- | --- | --- | --- |
| CPS010 |  | 7164 | M | Hierarchical id. number | A unique number assigned by the sender to identify a level within a hierarchical structure | ShippingContainerIdentifier |
| CPS020 |  | 7166 | M | Hierarchical parent id | Identification number of the next higher hierarchical data segment in a hierarchical structure | shipmentIdentifier |
</details>

## Segment group 11

<details>
<summary>PAC – Package (Pos 0410, C-1)</summary>

| Reference | Comp | Tag | Status | Element | Description | Onetrail implementation |
| --- | --- | --- | --- | --- | --- | --- |
| PAC010 |  | 7224 | M | Number of packages | Number of packages | Number of packages |
| PAC030 |  | 7065 | M | Type of packages identification | Type of packages identification | Package type |
| PAC030 |  | 1131 | C | Code list qualifier | Code list qualifier | Package Type Code ( check type code with Onetrail ) |
| PAC030 |  | 3055 | C | Code list responsible agency, coded | Code list responsible agency, coded | 9 EAN (optional) |
</details>

## Segment group 13

<details>
<summary>PCI – Package identification (Pos 0480, C-1)</summary>

| Reference | Comp | Tag | Status | Element | Description | Onetrail implementation |
| --- | --- | --- | --- | --- | --- | --- |
| PCI010 |  | 4233 | M | MARKING INSTRUCTIONS, CODED | MARKING INSTRUCTIONS, CODED | 30, Mark serial shipping container code |
</details>

## Segment group 14

<details>
<summary>GIN – Goods Identity Number (Pos 0530, C-100)</summary>

| Reference | Comp | Tag | Status | Element | Description | Onetrail implementation |
| --- | --- | --- | --- | --- | --- | --- |
| GIN010 |  | 7405 | M | Identity number qualifier | Code specifying the type/source of identity number | BJ, Serial shipping container code |
| GIN020 | C208 | 7402 | M | Identity number | The number given to an object for its unique identification | Serial shipping container code (SSCC) |
</details>

## Segment group 15

<details>
<summary>LIN – Line Item (Pos 0560, 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 | Despatch advice line number |
| LIN030 | C212 | 7140 | M | Item number | A number allocated to a group or item | Suppliers article number |
| 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 0570, 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 0580, 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 0600, M-1)</summary>

| Reference | Comp | Tag | Status | Element | Description | Onetrail implementation |
| --- | --- | --- | --- | --- | --- | --- |
| QTY010 | C186 | 6063 | M | Quantity qualifier | Despatch quantity | 12, Despatch quantity |
| 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>GIN – Goods Identity Number (Pos 0620, C-100)</summary>

| Reference | Comp | Tag | Status | Element | Description | Onetrail implementation |
| --- | --- | --- | --- | --- | --- | --- |
| GIN010 |  | 7405 | M | Identity number qualifier | Code specifying the type/source of identity number | BN (RECOMMENDED), Serialnumber and IMEI  
AW, Serial shipping container code. A single unique serial number which identifies shipping containers or shipping packages |
| GIN020 | C208 | 7402 | M | Identity number | The number given to an object for its unique identification | Product serialnumber(s)  
Carrier package tracking number(s) |
</details>

<details>
<summary>FTX – Free Text (Pos 0690, C-10)</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 | Despatch advice comments |
</details>

## Segment group 16

<details>
<summary>RFF – References (Pos 0720, M-3/C-96)</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).  
LI (MANDATORY when not in RFF+ON::Line number), Purchase Order Line Number.  
VN (MANDATORY), Vendor order number (seller) including Sales Order Line Number.  
DQ, Delivery note number.  
AAM, Waybill number (Track & trace).  
AAG, Proposal / Offer Number for special deal orders.  
CO, End User Reference for dropshipment orders.  
CT, Contract Number for special bid orders.  
AEP, 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 | MANDATORY in RFF+ON when not in RFF+LI |
</details>

## Trailer

<details>
<summary>UNT – Message trailer (Pos 1040, 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:

> 📝 This version includes the Coolblue requirements.

DESADV message, UN/EDIFACT D96.A. Version 31 March 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. | DESADV |
| 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. | DESADV, despatch advice 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 | 351, Despatch Advice |
| BGM020 | C106 | 1004 | M | Document/message number | Reference number assigned to the document/message by the issuer | Despatch Advice number |
| BGM030 |  | 1225 | C | Message function, code | Code indicating the function of the message. | 9, Original |
</details>

<details>
<summary>DTM – Date / Time / Period (Pos 0030, M-2)</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. | 64 (MANDATORY), Requested Delivery Date  
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>

## Segment group 1

<details>
<summary>RFF – References (Pos 0080, 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 | AAO, Reference assigned by the consignee to a shipment  
CN, Reference number assigned by carrier to a consignment |
| RFF010 | C506 | 1154 | M | Reference number | Identification number the nature and function of which can be qualified | Shipment reference  
Tracking reference |
</details>

## Segment group 2

<details>
<summary>NAD – Name and Address (Pos 0110, 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)  
SF (MANDATORY), Ship from Party (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 order |
| 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 | M | 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 | Optional 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 4

<details>
<summary>CTA – Contact Information (Pos 0170, C-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). | MD (RECOMMENDED), Warehouse Contact |
| CTA020 | C056 | 3412 | M | Department or employee description | The department or person within an organizational entity | Order contact name |
</details>

<details>
<summary>COM – Communications Contact (Pos 0180, C-2)</summary>

| Reference | Comp | Tag | Status | Element | Description | Onetrail implementation |
| --- | --- | --- | --- | --- | --- | --- |
| COM010 | C076 | 3148 | M | Communication number | The communication number | Email address  
Telephone number |
| COM010 | 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 |
</details>

## Segment group 6

<details>
<summary>TDT – Details Of Transport (Pos 0240, C-1)</summary>

| Reference | Comp | Tag | Status | Element | Description | Onetrail implementation |
| --- | --- | --- | --- | --- | --- | --- |
| TDT010 |  | 8051 | M | Transport stage qualifier | Transport by which goods are moved at the place of destination. | 13, Destination |
| TDT030 | C220 |  | C | MODE OF TRANSPORT | Method of transport code or name. Code preferred. | Not used. |
| TDT040 | C228 |  | C | TRANSPORT MEANS | Code and/or name identifying the type of means of transport. | Not used. |
| TDT050 | C040 | 3127 | M | Carrier identification | Identification of a carrier | EAN(GLN) code of carrier (provided by Onetrail if available)  
or seller assigned code |
| TDT050 | C040 | 3055 | M | Carrier | Identification of a carrier | 9, EAN  
91,Assigned by seller |
| TDT050 | C040 | 3128 | C | Carrier name | Name of party undertaking or arranging transport of goods | Carrier name |
</details>

## Segment group 10

<details>
<summary>CPS – Consignment Packing Sequence (Pos 0380, M-1)</summary>

| Reference | Comp | Tag | Status | Element | Description | Onetrail implementation |
| --- | --- | --- | --- | --- | --- | --- |
| CPS010 |  | 7164 | M | Hierarchical id. number | A unique number assigned by the sender to identify a level within a hierarchical structure | shipmentIdentifier |
</details>

## Segment group 11

<details>
<summary>PAC – Package (Pos 0410, M-1)</summary>

| Reference | Comp | Tag | Status | Element | Description | Onetrail implementation |
| --- | --- | --- | --- | --- | --- | --- |
| PAC010 |  | 7224 | M | Number of packages | Number of packages | Number of packages |
</details>

## Segment group 10

<details>
<summary>CPS – Consignment Packing Sequence (Pos 0380, C-1)</summary>

Only used when a single level packing structure is available.

| Reference | Comp | Tag | Status | Element | Description | Onetrail implementation |
| --- | --- | --- | --- | --- | --- | --- |
| CPS010 |  | 7164 | M | Hierarchical id. number | A unique number assigned by the sender to identify a level within a hierarchical structure | ShippingContainerIdentifier |
| CPS020 |  | 7166 | M | Hierarchical parent id | Identification number of the next higher hierarchical data segment in a hierarchical structure | shipmentIdentifier |
</details>

## Segment group 11

<details>
<summary>PAC – Package (Pos 0410, C-1)</summary>

| Reference | Comp | Tag | Status | Element | Description | Onetrail implementation |
| --- | --- | --- | --- | --- | --- | --- |
| PAC010 |  | 7224 | M | Number of packages | Number of packages | Number of packages |
| PAC030 |  | 7065 | M | Type of packages identification | Type of packages identification | Package type |
| PAC030 |  | 1131 | C | Code list qualifier | Code list qualifier | Package Type Code ( check type code with Onetrail ) |
| PAC030 |  | 3055 | C | Code list responsible agency, coded | Code list responsible agency, coded | 9 EAN (optional) |
</details>

## Segment group 13

<details>
<summary>PCI – Package identification (Pos 0480, C-1)</summary>

| Reference | Comp | Tag | Status | Element | Description | Onetrail implementation |
| --- | --- | --- | --- | --- | --- | --- |
| PCI010 |  | 4233 | M | MARKING INSTRUCTIONS, CODED | MARKING INSTRUCTIONS, CODED | 30, Mark serial shipping container code |
</details>

## Segment group 14

<details>
<summary>GIN – Goods Identity Number (Pos 0530, C-100)</summary>

| Reference | Comp | Tag | Status | Element | Description | Onetrail implementation |
| --- | --- | --- | --- | --- | --- | --- |
| GIN010 |  | 7405 | M | Identity number qualifier | Code specifying the type/source of identity number | BJ, Serial shipping container code |
| GIN020 | C208 | 7402 | M | Identity number | The number given to an object for its unique identification | Serial shipping container code (SSCC) |
</details>

## Segment group 15

<details>
<summary>LIN – Line Item (Pos 0560, 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 | Despatch advice line number |
| LIN030 | C212 | 7140 | M | Item number | A number allocated to a group or item | Suppliers article number |
| 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 0570, 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 0580, 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 0600, M-1)</summary>

| Reference | Comp | Tag | Status | Element | Description | Onetrail implementation |
| --- | --- | --- | --- | --- | --- | --- |
| QTY010 | C186 | 6063 | M | Quantity qualifier | Despatch quantity | 12, Despatch quantity |
| 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>GIN – Goods Identity Number (Pos 0620, C-100)</summary>

| Reference | Comp | Tag | Status | Element | Description | Onetrail implementation |
| --- | --- | --- | --- | --- | --- | --- |
| GIN010 |  | 7405 | M | Identity number qualifier | Code specifying the type/source of identity number | BN (RECOMMENDED), Serialnumber or IMEI number  
AW, Serial shipping container code. A single unique serial number which identifies shipping containers or shipping packages |
| GIN020 | C208 | 7402 | M | Identity number | The number given to an object for its unique identification | Product serialnumber(s)  
Carrier package tracking number(s) |
</details>

<details>
<summary>FTX – Free Text (Pos 0690, C-10)</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 | Despatch advice comments |
</details>

## Segment group 16

<details>
<summary>RFF – References (Pos 0720, M-3/C-96)</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).  
LI (MANDATORY when not in RFF+ON::Line number), Purchase Order Line Number.  
VN (MANDATORY), Vendor order number (seller) including Sales Order Line Number.  
DQ, Delivery note number.  
AAM, Waybill number (Track & trace).  
AAG, Proposal / Offer Number for special deal orders.  
CO, End User Reference for dropshipment orders.  
CT, Contract Number for special bid orders.  
AEP, 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 | MANDATORY in RFF+ON when not in RFF+LI |
</details>

## Trailer

<details>
<summary>UNT – Message trailer (Pos 1040, 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>