---
title: "Edifact Invoice Documentation"
canonical: "https://knowledge-hub.onetrail.com/space/docs/718701698/Edifact%20Invoice%20Documentation"
format: markdown
---
The INVOIC (invoice) 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:

INVOIC 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 | INVOIC |
| 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. | INVOIC, Invoice 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 | 380, Invoice  
381, Credit note  
383, Debit note |
| BGM020 | C106 | 1004 | M | Document/message number | Reference number assigned to the document/message by the issuer | Invoice number |
| BGM030 | C106 | 1225 | C | Message function, code | Code indicating the function of the message. | 9, Original |
</details>

<details>
<summary>DTM – Date / Time / Period (Pos 0030, M-3)</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. | 137 (MANDATORY), Message date  
3 (MANDATORY), Invoice date  
140 (MANDATORY), Payment due 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 | Date |
| 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  
ACB, Original Invoice ID (Credit Notes only) |
| FTX040 | C108 | 4440 | M | Free text | Free text field available to the message sender for information | Invoice header comments |
</details>

## Segment group 2

<details>
<summary>NAD – Name and Address (Pos 0210, 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)  
II (MANDATORY), Issuer of invoice  
BT or IV (MANDATORY), Bill to 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 orders  
SF, Ship from 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>

<details>
<summary>FII – Financial institution information (C)</summary>

| Reference | Comp | Tag | Status | Element | Description | Onetrail implementation |
| --- | --- | --- | --- | --- | --- | --- |
| FII010 |  | 3035 | C | Party qualifier | Code giving specific meaning to a party | BF - the Beneficiary's bank account number |
| FII020 | C078 | 3194 | C | Account holder number | Account number of the holder of the account. | The IBAN number of the beneficiary |
</details>

## Segment group 3

<details>
<summary>RFF – References (Pos 0250, 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 | VA (MANDATORY for NAD+II), VAT Registration number |
| RFF010 | C506 | 1154 | M | Reference number | Identification number the nature and function of which can be qualified |  |
</details>

## Segment group 5

<details>
<summary>CTA – Contact Information (Pos 0310, 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) | AD or OC (RECOMMENDED), Accounting contact or Order contact |
| CTA020 | C056 | 3412 | M | Department or employee description | Department/person responsible for the accounts payable function within a corporation | Accounting or Order contact name |
</details>

<details>
<summary>COM – Communications Contact (Pos 0320, C-3)</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 7

<details>
<summary>CUX – Currency (Pos 0380, 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), 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 8

<details>
<summary>PAT – Payment Terms (Pos 0410, C-n)</summary>

| Reference | Comp | Tag | Status | Element | Description | Onetrail implementation |
| --- | --- | --- | --- | --- | --- | --- |
| PAT010 |  | 4279 | M | Payment terms type qualifier | A segment identifying the payment terms and date/time basis. | ZZZ, Mutually defined  
18, Previously agreed upon  
20, Penalty terms  
22, Discount |
| PAT020 | C110 | 4277 | M | Terms of payment identification | Identification of the terms of payment between the parties to a transaction (generic term). | 6, No drafts |
| PAT020 |  | 4276 | C-2 | Terms of payment | Conditions of payment between the parties to a transaction | There are no codes for the Data Element 4276 |
| PAT030 | C112 | 2475 | M | Payment time reference/coded | Code relating payment terms to the date of a specific event | ZZZ, Mutually defined |
| PAT030 |  | 2009 | M | Time relation, coded | Code relating payment terms to a time before, on or after the reference date | 1, Reference date |
| PAT030 |  | 2151 | M | Type of period, coded | Agreed or specified period of time (coded). | D, day |
| PAT030 |  | 2152 | M | Number of periods |  | Number of days, for example 30 |
</details>

<details>
<summary>DTM – Date / Time / Period (Pos 0420, M-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 (MANDATORY), Reference Date |
| DTM010 |  | 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 |  | 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>PCD – Percentage details (Pos 0430, C-1)</summary>

| Reference | Comp | Tag | Status | Element | Description | Onetrail implementation |
| --- | --- | --- | --- | --- | --- | --- |
| PCD010 | C501 | 5245 | M | Percentage qualifier | Identification of the usage of a percentage | 12, Discount  
15, Penalty percentage |
| PCD010 |  | 5482 | M | Percentage | Percentage amount | Percentage |
</details>

<details>
<summary>MOA – Monetary Amount (Pos 0440, C-1)</summary>

| Reference | Comp | Tag | Status | Element | Description | Onetrail implementation |
| --- | --- | --- | --- | --- | --- | --- |
| MOA010 | C516 | 5025 | M | Monetary amount type qualifier | Indication of type of amount | 109, Payment discount amount  
201, Penalty amount |
| MOA010 | C516 | 5004 | M | Monetary amount | Monetary Amount | discount or penalty amount |
</details>

## Segment group 12

<details>
<summary>TOD – Terms of delivery or transport (Pos 0570, C-1)</summary>

| Reference | Comp | Tag | Status | Element | Description | Onetrail implementation |
| --- | --- | --- | --- | --- | --- | --- |
| TOD010 |  | 4055 | M | Terms of delivery or transport function, coded | Indication whether the terms relate to e.g. price conditions, delivery conditions, transport conditions, or a combination of these | 6, Delivery condition |
| TOD030 | C100 | 4053 | M | Terms of delivery or transport | Terms of delivery or transport, coded | CIF, Costs, Insurance & Freight |
| TOD030 |  | 4052 | M | Terms of delivery or transport | Terms of delivery or transport | Free text |
</details>

## Segment group 15

<details>
<summary>ALC – Allowance and charge (Pos 0690, M-1)</summary>

| Reference | Comp | Tag | Status | Element | Description | Onetrail implementation |
| --- | --- | --- | --- | --- | --- | --- |
| ALC010 |  | 5463 | M | Allowance or charge qualifier | Allowance or charge qualifier | A, Allowance  
C, Charge |
| ALC050 | C214 | 7161 | M | Special services, coded | Special services, coded | Code of the allowance or charge (use 7161 code list from UN/Edifact) PO for Handling, FC for Freight |
| ALC050 | C214 | 7160 | M | Special service | Allowance or charge description | Textual description of the allowance or charge |
</details>

## Segment group 19

<details>
<summary>MOA – Monetary Amount (Pos 0820, M-1)</summary>

| Reference | Comp | Tag | Status | Element | Description | Onetrail implementation |
| --- | --- | --- | --- | --- | --- | --- |
| MOA010 | C516 | 5025 | M | Monetary amount type qualifier | Indication of type of amount | 8, Allowance or charge amount |
| MOA010 | C516 | 5004 | M | Monetary amount | Monetary Amount | Allowance or charge amount |
</details>

## Segment group 25

<details>
<summary>LIN – Line Item (Pos 1040, 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 | Invoice line number |
| 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, Suppliers article number |
</details>

<details>
<summary>PIA – Additional Product ID (Pos 1050, 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 | 5, Product 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 | BP (RECOMMENDED), Buyers Part number  
EN (OPTIONAL), International Article Numbering Association (EAN)  
MF (MANDATORY), Manufacturer article number   
VN, Vendors item number |
</details>

<details>
<summary>IMD – Item Description (Pos 1060, 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 1080, M-1)</summary>

| Reference | Comp | Tag | Status | Element | Description | Onetrail implementation |
| --- | --- | --- | --- | --- | --- | --- |
| QTY010 | C186 | 6063 | M | Quantity qualifier | Code giving specific meaning to a quantity | 47 (MANDATORY), Invoiced quantity   
21, Ordered quantity  
169, Supplied quantity |
| QTY010 | C186 | 6060 | M | Quantity | Numeric value of a quantity | Quantity |
| QTY010 | C186 | 6411 | C | Measure unit qualifier | Indication of the unit of measurement in which weight (mass), capacity, length, area, volume or other quantity is expressed |  |
</details>

<details>
<summary>GIN – Goods Identity Number (Pos 1120, C-1)</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), Serial Number  
TT, Track & Tracing number |
| GIN020 | C208 | 7402 | M | Identity number Range | Goods item identification numbers | Product serial number, T&T number |
</details>

## Segment group 26

<details>
<summary>MOA – Monetary Amount (Pos 1190, M-1)</summary>

| Reference | Comp | Tag | Status | Element | Description | Onetrail implementation |
| --- | --- | --- | --- | --- | --- | --- |
| MOA010 | C516 | 5025 | M | Monetary amount type qualifier | Indication of type of amount | 66 (MANDATORY), Goods item total  
203, Line item amount |
| MOA010 | C516 | 5004 | M | Monetary amount | Monetary Amount | Amount |
</details>

## Segment group 28

<details>
<summary>PRI – Price details (Pos 1120, M-1)</summary>

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

## Segment group 29

<details>
<summary>RFF – References (Pos 0120, 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)  
LI (STRONGLY RECOMMENDED), Purchase Order Line Number  
VN (MANDATORY), Vendor order number (seller) including Sales Order Line Number  
DQ (RECOMMENDED), Delivery note number  
IV, Invoice number (in case of reference original invoice in credit invoice)  
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 |  |
</details>

<details>
<summary>DTM – Date / Time / Period (Pos 0130, C-n)</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 |
| 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 33

<details>
<summary>TAX – Duty/Tax/Fee details (Pos 1490, M-n)</summary>

| Reference | Comp | Tag | Status | Element | Description | Onetrail implementation |
| --- | --- | --- | --- | --- | --- | --- |
| TAX010 |  | 5283 | M | Duty/tax/fee function qualifier | Code identifying the function of a duty, tax or fee information | 7, Tax |
| TAX020 | C241 | 5153 | M | Duty/tax/fee type coded | Identification of the type of duty or tax or fee applicable to commodities or of tax applicable to services. | VAT, Value Added Tax  
ENV, Environmental tax (in case of levies) |
| TAX050 | C243 | 5278 | M | Duty/tax/fee rate | Duty/tax/fee rate | VAT percentage (levy only in amounts) |
| TAX060 |  | 5305 | M | Duty/tax/fee category coded | Duty/tax/fee category coded | E, Exempt from Tax  
S, Standard rate  
H, Higher rate  
AA, Lower rate   
or the internal code for the levy |
</details>

<details>
<summary>MOA – Monetary Amount (Pos 1500, M-1)</summary>

| Reference | Comp | Tag | Status | Element | Description | Onetrail implementation |
| --- | --- | --- | --- | --- | --- | --- |
| MOA010 | C516 | 5025 | M | Monetary amount type qualifier | Indication of type of amount | 124, Tax amount  
99, Other charges at destination (to indicate charges levied at destination). |
| MOA010 | C516 | 5004 | M | Monetary amount | Monetary Amount |  |
</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>

## Segment group 49

<details>
<summary>MOA – Monetary Amount (Pos 2120, M-1)</summary>

| Reference | Comp | Tag | Status | Element | Description | Onetrail implementation |
| --- | --- | --- | --- | --- | --- | --- |
| MOA010 | C516 | 5025 | M | Monetary amount type qualifier | Indication of type of amount | 77 (MANDATORY), Invoice amount  
79, Total line items amount  
9, Amount due/amount payable  
125, Taxable amount  
124, Tax amount |
| MOA010 | C516 | 5004 | M | Monetary amount | Monetary Amount |  |
</details>

## Segment group 51

<details>
<summary>TAX – Duty/Tax/Fee details (Pos 2160, M-n)</summary>

| Reference | Comp | Tag | Status | Element | Description | Onetrail implementation |
| --- | --- | --- | --- | --- | --- | --- |
| TAX010 |  | 5283 | M | Duty/tax/fee function qualifier | Code identifying the function of a duty, tax or fee information | 7, Tax |
| TAX020 | C241 | 5153 | M | Duty/tax/fee type coded | Identification of the type of duty or tax or fee applicable to commodities or of tax applicable to services. | VAT, Value Added Tax  
ENV, Environmental tax (in case of levies) |
| TAX050 | C243 | 5278 | M | Duty/tax/fee rate | Duty/tax/fee rate | VAT percentage (levy only in amounts) |
| TAX060 |  | 5305 | M | Duty/tax/fee category coded | Duty/tax/fee category coded | E, Exempt from Tax  
Z, Zero rated goods  
S, Standard rate  
H, Higher rate  
AA, Lower rate or reduced rate  
or the internal code for the levy |
</details>

<details>
<summary>MOA – Monetary Amount (Pos 2180, M-1)</summary>

| Reference | Comp | Tag | Status | Element | Description | Onetrail implementation |
| --- | --- | --- | --- | --- | --- | --- |
| MOA010 | C516 | 5025 | M | Monetary amount type qualifier | Indication of type of amount | 124, Tax amount  
99, Other charges at destination (to indicate charges levied at destination) |
| MOA010 | C516 | 5004 | M | Monetary amount | Monetary Amount |  |
</details>

## Trailer

<details>
<summary>UNT – Message trailer (Pos 2240, 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 has to 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.

INVOIC message, UN/EDIFACT D96.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 | INVOIC |
| 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. | INVOIC, Invoice 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 | 380 (MANDATORY), Invoice.  
Credit note, Debit note/Service invoices can be processed via PDF |
| BGM020 | C106 | 1004 | M | Document/message number | Reference number assigned to the document/message by the issuer | Invoice number |
| BGM030 | C106 | 1225 | C | Message function, code | Code indicating the function of the message. | 9, Original |
</details>

<details>
<summary>DTM – Date / Time / Period (Pos 0030, M-3)</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. | 137 (MANDATORY), Message date  
3 (MANDATORY), Invoice date  
140 (MANDATORY), Payment due 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 | Date (Required. Cannot be before goods have left supplier) |
| 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  
ACB, Original Invoice ID (Credit Notes only) |
| FTX040 | C108 | 4440 | M | Free text | Free text field available to the message sender for information | Invoice header comments |
</details>

## Segment group 2

<details>
<summary>NAD – Name and Address (Pos 0210, 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 (Street and City name)  
BY (MANDATORY), Buyer (Street and City name) - E.G: Weena 664, Rotterdam  
II (MANDATORY), Issuer of invoice  
BT or IV (MANDATORY), Bill to 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 orders  
SF, Ship from 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>

<details>
<summary>FII – Financial Information (M)</summary>

| Reference | Comp | Tag | Status | Element | Description | Onetrail implementation |
| --- | --- | --- | --- | --- | --- | --- |
| FII010 |  | 3035 | C | Party qualifier | Code specifying the buyers financial account information | BF, Beneficiary's Bank |
| FII020 |  | 3194 | C | Account number | The Account number/IBAN | IBAN/Account Number - Must be communicated to Onetrail separately if not provided |
</details>

## Segment group 3

<details>
<summary>RFF – References (Pos 0250, 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 | VA (MANDATORY), VAT Registration number  
ON (MANDATORY), Order Number |
| RFF010 | C506 | 1154 | M | Reference number | Identification number the nature and function of which can be qualified |  |
</details>

## Segment group 5

<details>
<summary>CTA – Contact Information (Pos 0310, 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) | AD or OC (RECOMMENDED), Accounting contact or Order contact |
| CTA020 | C056 | 3412 | M | Department or employee description | Department/person responsible for the accounts payable function within a corporation | Accounting or Order contact name |
</details>

<details>
<summary>COM – Communications Contact (Pos 0320, C-3)</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 7

<details>
<summary>CUX – Currency (Pos 0380, 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), 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 8

<details>
<summary>PAT – Payment Terms (Pos 0410, C-n)</summary>

| Reference | Comp | Tag | Status | Element | Description | Onetrail implementation |
| --- | --- | --- | --- | --- | --- | --- |
| PAT010 |  | 4279 | M | Payment terms type qualifier | A segment identifying the payment terms and date/time basis. | ZZZ, Mutually defined  
18, Previously agreed upon  
20, Penalty terms  
22, Discount |
| PAT020 | C110 | 4277 | M | Terms of payment identification | Identification of the terms of payment between the parties to a transaction (generic term). | 6, No drafts |
| PAT020 |  | 4276 | C-2 | Terms of payment | Conditions of payment between the parties to a transaction | There are no codes for the Data Element 4276 |
| PAT030 | C112 | 2475 | M | Payment time reference/coded | Code relating payment terms to the date of a specific event | ZZZ, Mutually defined |
| PAT030 |  | 2009 | M | Time relation, coded | Code relating payment terms to a time before, on or after the reference date | 1, Reference date |
| PAT030 |  | 2151 | M | Type of period, coded | Agreed or specified period of time (coded). | D, day |
| PAT030 |  | 2152 | M | Number of periods |  | Number of days, for example 30 |
</details>

<details>
<summary>DTM – Date / Time / Period (Pos 0420, M-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 (MANDATORY), Reference Date |
| DTM010 |  | 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 |  | 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>PCD – Percentage details (Pos 0430, C-1)</summary>

| Reference | Comp | Tag | Status | Element | Description | Onetrail implementation |
| --- | --- | --- | --- | --- | --- | --- |
| PCD010 | C501 | 5245 | M | Percentage qualifier | Identification of the usage of a percentage | 12, Discount  
15, Penalty percentage |
| PCD010 |  | 5482 | M | Percentage | Percentage amount | Percentage |
</details>

<details>
<summary>MOA – Monetary Amount (Pos 0440, C-1)</summary>

| Reference | Comp | Tag | Status | Element | Description | Onetrail implementation |
| --- | --- | --- | --- | --- | --- | --- |
| MOA010 | C516 | 5025 | M | Monetary amount type qualifier | Indication of type of amount | 109, Payment discount amount  
201, Penalty amount |
| MOA010 | C516 | 5004 | M | Monetary amount | Monetary Amount | discount or penalty amount |
</details>

## Segment group 12

<details>
<summary>TOD – Terms of delivery or transport (Pos 0570, C-1)</summary>

| Reference | Comp | Tag | Status | Element | Description | Onetrail implementation |
| --- | --- | --- | --- | --- | --- | --- |
| TOD010 |  | 4055 | M | Terms of delivery or transport function, coded | Indication whether the terms relate to e.g. price conditions, delivery conditions, transport conditions, or a combination of these | 6, Delivery condition |
| TOD030 | C100 | 4053 | M | Terms of delivery or transport | Terms of delivery or transport, coded | CIF, Costs, Insurance & Freight |
| TOD030 |  | 4052 | M | Terms of delivery or transport | Terms of delivery or transport | Free text |
</details>

## Segment group 15

<details>
<summary>ALC – Allowance and charge (Pos 0690, M-1)</summary>

| Reference | Comp | Tag | Status | Element | Description | Onetrail implementation |
| --- | --- | --- | --- | --- | --- | --- |
| ALC010 |  | 5463 | M | Allowance or charge qualifier | Allowance or charge qualifier | A, Allowance  
C, Charge |
| ALC050 | C214 | 7161 | M | Special services, coded | Special services, coded | Code of the allowance or charge (use 7161 code list from UN/Edifact) PO for Handling, FC for Freight |
| ALC050 | C214 | 7160 | M | Special service | Allowance or charge description | Textual description of the allowance or charge |
</details>

## Segment group 19

<details>
<summary>MOA – Monetary Amount (Pos 0820, M-1)</summary>

| Reference | Comp | Tag | Status | Element | Description | Onetrail implementation |
| --- | --- | --- | --- | --- | --- | --- |
| MOA010 | C516 | 5025 | M | Monetary amount type qualifier | Indication of type of amount | 77 (MANDATORY), Invoice amount  
124 (MANDATORY), Tax amount |
| MOA010 | C516 | 5004 | M | Monetary amount | Monetary Amount | Allowance or charge amount (Invoices of €0 are not required) |
</details>

## Segment group 25

<details>
<summary>LIN – Line Item (Pos 1040, 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 | Invoice line number |
| 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, Suppliers article number |
</details>

<details>
<summary>PIA – Additional Product ID (Pos 1050, 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 | 5, Product 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 | BP (RECOMMENDED), Buyers Part number  
EN (OPTIONAL), International Article Numbering Association (EAN)  
MF (MANDATORY), Manufacturer article number   
VN, Vendors item number |
</details>

<details>
<summary>IMD – Item Description (Pos 1060, 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 | (MANDATORY), Product description |
</details>

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

| Reference | Comp | Tag | Status | Element | Description | Onetrail implementation |
| --- | --- | --- | --- | --- | --- | --- |
| QTY010 | C186 | 6063 | M | Quantity qualifier | Code giving specific meaning to a quantity | 47 (MANDATORY), Invoiced quantity   
21, Ordered quantity  
169, Supplied quantity |
| QTY010 | C186 | 6060 | M | Quantity | Numeric value of a quantity | Quantity |
| QTY010 | C186 | 6411 | C | Measure unit qualifier | Indication of the unit of measurement in which weight (mass), capacity, length, area, volume or other quantity is expressed |  |
</details>

<details>
<summary>GIN – Goods Identity Number (Pos 1120, C-1)</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), Serial Number  
TT, Track & Tracing number |
| GIN020 | C208 | 7402 | M | Identity number Range | Goods item identification numbers | Product serial number, T&T number |
</details>

## Segment group 26

<details>
<summary>MOA – Monetary Amount (Pos 1190, M-1)</summary>

| Reference | Comp | Tag | Status | Element | Description | Onetrail implementation |
| --- | --- | --- | --- | --- | --- | --- |
| MOA010 | C516 | 5025 | M | Monetary amount type qualifier | Indication of type of amount | 66 (MANDATORY), Goods item total  
146, Unit Price  
203 (MANDATORY), Line item amount |
| MOA010 | C516 | 5004 | M | Monetary amount | Monetary Amount | Amount |
</details>

## Segment group 28

<details>
<summary>PRI – Price details (Pos 1120, M-1)</summary>

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

## Segment group 29

<details>
<summary>RFF – References (Pos 0120, 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 (1 per Invoice)), Purchase order number (buyer)  
LI (MANDATORY), Purchase Order Line Number  
VN (MANDATORY), Vendor order number (seller) including Sales Order Line Number  
DQ (RECOMMENDED), Delivery note number  
IV, Invoice number (in case of reference original invoice in credit invoice)  
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 |  |
</details>

<details>
<summary>DTM – Date / Time / Period (Pos 0130, C-n)</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 |
| 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 33

<details>
<summary>TAX – Duty/Tax/Fee details (Pos 1490, M-n)</summary>

| Reference | Comp | Tag | Status | Element | Description | Onetrail implementation |
| --- | --- | --- | --- | --- | --- | --- |
| TAX010 |  | 5283 | M | Duty/tax/fee function qualifier | Code identifying the function of a duty, tax or fee information | 7, Tax |
| TAX020 | C241 | 5153 | M | Duty/tax/fee type coded | Identification of the type of duty or tax or fee applicable to commodities or of tax applicable to services. | VAT, Value Added Tax  
ENV, Environmental tax (in case of levies) |
| TAX050 | C243 | 5278 | M | Duty/tax/fee rate | Duty/tax/fee rate | VAT percentage (levy only in amounts) |
| TAX060 |  | 5305 | M | Duty/tax/fee category coded | Duty/tax/fee category coded | E, Exempt from Tax  
S, Standard rate  
H, Higher rate  
AA, Lower rate   
or the internal code for the levy |
</details>

<details>
<summary>MOA – Monetary Amount (Pos 1500, M-1)</summary>

| Reference | Comp | Tag | Status | Element | Description | Onetrail implementation |
| --- | --- | --- | --- | --- | --- | --- |
| MOA010 | C516 | 5025 | M | Monetary amount type qualifier | Indication of type of amount | 124, Tax amount  
99, Other charges at destination (to indicate charges levied at destination). |
| MOA010 | C516 | 5004 | M | Monetary amount | Monetary Amount |  |
</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>

## Segment group 49

<details>
<summary>MOA – Monetary Amount (Pos 2120, M-1)</summary>

| Reference | Comp | Tag | Status | Element | Description | Onetrail implementation |
| --- | --- | --- | --- | --- | --- | --- |
| MOA010 | C516 | 5025 | M | Monetary amount type qualifier | Indication of type of amount | 77 (MANDATORY), Invoice amount  
79 (MANDATORY), Total line items amount  
9 (MANDATORY), Amount due/amount payable  
125 (MANDATORY), Taxable amount  
124, Tax amount |
| MOA010 | C516 | 5004 | M | Monetary amount | Monetary Amount |  |
</details>

## Segment group 51

<details>
<summary>TAX – Duty/Tax/Fee details (Pos 2160, M-n)</summary>

| Reference | Comp | Tag | Status | Element | Description | Onetrail implementation |
| --- | --- | --- | --- | --- | --- | --- |
| TAX010 |  | 5283 | M | Duty/tax/fee function qualifier | Code identifying the function of a duty, tax or fee information | 7, Tax |
| TAX020 | C241 | 5153 | M | Duty/tax/fee type coded | Identification of the type of duty or tax or fee applicable to commodities or of tax applicable to services. | VAT, Value Added Tax  
ENV, Environmental tax (in case of levies) |
| TAX050 | C243 | 5278 | M | Duty/tax/fee rate | Duty/tax/fee rate | VAT percentage (levy only in amounts) |
| TAX060 |  | 5305 | M | Duty/tax/fee category coded | Duty/tax/fee category coded | E, Exempt from Tax  
Z, Zero rated goods  
S, Standard rate  
H, Higher rate  
AA, Lower rate or reduced rate  
or the internal code for the levy |
</details>

<details>
<summary>MOA – Monetary Amount (Pos 2180, M-1)</summary>

| Reference | Comp | Tag | Status | Element | Description | Onetrail implementation |
| --- | --- | --- | --- | --- | --- | --- |
| MOA010 | C516 | 5025 | M | Monetary amount type qualifier | Indication of type of amount | 124(MANDATORY), Tax amount  
99, Other charges at destination (to indicate charges levied at destination) |
| MOA010 | C516 | 5004 | M | Monetary amount | Monetary Amount |  |
</details>

## Trailer

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