  

 

Tracelink University

 ## Breadcrumb

1. [Home](/)
2. [Resources](/resources/resource-center)
3. [TraceLink University](/resources/tracelink-university)
 
  

 

 

# Invoice (EDIFACT)

 

 

 

 

 

 

 

 

- [Download PDF](/node/632396/pdf)
- [Share](#)
    - [ LinkedIn ](https://www.linkedin.com/shareArticle?mini=true&url=https://www.tracelink.com/resources/tracelink-university/invoice-edifact-0&title=Invoice (EDIFACT)&summary=The Invoice EDIFACT message sends a request for payment from the seller to the buyer and details information such as the full amount due and payment terms. &source=TraceLink "LinkedIn")
    - [ Facebook ](https://www.facebook.com/share.php?u=https://www.tracelink.com/resources/tracelink-university/invoice-edifact-0&t=Invoice (EDIFACT) "Facebook")
    - [ Mail ](mailto:?subject=Invoice (EDIFACT)+|+TraceLink&body=https://www.tracelink.com/resources/tracelink-university/invoice-edifact-0 "Mail")
    - [ Twitter ](https://twitter.com/intent/tweet?text=Invoice (EDIFACT) https://www.tracelink.com/resources/tracelink-university/invoice-edifact-0&via=TraceLink "Twitter")
 
 

 

 

 

 

#### Table of contents

 

 

 

The Invoice EDIFACT message sends a request for payment from the seller to the buyer and details information such as the full amount due and payment terms. When sending an invoice EDIFACT message from your company inbound to TraceLink, TraceLink requires that the values for the following elements in the message header control settings must be present for TraceLink to correctly process the B2B message:

 ![](/sites/default/files/tech_comms/mpl/Content/Resources/Images/global_images/note_tip_24x24.png) Contact your TraceLink Services representative for more information about integrating with this message.

 

- **Message Type**: MPC\_INVOICE (Invoice)
- **EDIFACT Format**: INVOICE
- **Transform Names**:
    - B2B\_EDI\_EDIFACT\_INVOIC\_Invoice\_IB\_V3
    - B2B\_EDI\_EDIFACT\_INVOIC\_Invoice\_OB\_V3
 
[![Closed](/sites/default/files/tech_comms/mpl/Skins/Default/Stylesheets/Images/transparent.gif)Guidelines](#) | Input Element | Occurs | Length | Description | Example |
|---|---|---|---|---|
| INVOICE | \[1…1\] | – | **Required.** EDIFACT Invoice. | – |
| UNA | \[0…1\] | – | UNA interchange header. | – |
|  | UNA03 | \[1…1\] | 1/1 | **Required.**Decimal mark | – |
|  | UNA04 | \[1…1\] | 1/1 | **Required.**Release Indicator | – |
|  | UNA05 | \[1…1\] | 1/1 | **Required.**Reserved for future | – |
| UNB | \[1…1\] | – | **Required.**UNB interchange header. | – |
|  | UNB01 | \[1…1\] | – | **Required.** Syntax identifier. | – |
|  |  | UNB01.1 | \[1…1\] | 4/5 | **Required.** Syntax Identifier.  [![Closed](/sites/default/files/tech_comms/mpl/Skins/Default/Stylesheets/Images/transparent.gif)Valid Values](#)- `UNOA` – Alternative graphic character allocations and national or application-oriented graphic character allocations. - `UNOB` – Alternative graphic character allocations and national or application-oriented graphic character allocations. - `UNOC` – Latin alphabet No. 1. - `UNOD` – Latin alphabet No. 2. - `UNOE` – Latin or Cyrillic alphabet. - `UNOF` – Latin or Greek alphabet. - `UNOG` – Latin alphabet No. 3. - `UNOH` – Latin alphabet No. 4. - `UNOI` – Latin or Arabic alphabet. - `UNOJ` – Latin or Hebrew alphabet. - `UNOK` – Latin alphabet No. 5. - `UNOL` – UN/ECE Level L. - `UNOW` – UN/ECE Level W. - `UNOX` – Code extension technique as defined by ISO 2022 utilizing the escape techniques in accordance with ISO 2375. - `UNOY` – ISO 10646-1 octet without code extension technique. | UN0B |
|  |  | UNB01.2 | \[1…1\] | 1/1 | **Required.** Syntax version number. | 1 |
|  | UNB02 | \[1…1\] |  | **Required.** Interchange sender. |  |
|  |  | UNB02.1 | \[1…1\] | 1/35 | **Required.** Sender identification. | SENDER1 |
|  |  | UNB02.2 | \[0…1\] | 1/4 | Partner identification code qualifier.  [![Closed](/sites/default/files/tech_comms/mpl/Skins/Default/Stylesheets/Images/transparent.gif)Valid values ](#)- `1` – D-U-N-S number, Dun and Bradstreet - `2` – D-U-N-S + 4r, Dun and Bradstreet number plus suffix - `9` – D-U-N-S + 4r, Dun and Bradstreet number plus suffix - `11` – Drug Enforcement Agency registration number - `21` – Health Industry Number - `91` – Assigned by seller … company identifier - `92` – Assigned by buyer … company site identifier - `UL` – Global Location Number - `12` – Telephone number - `20` – Standard Point Location Code (SPLC) - `ZZ` – Mutually defined | 14 |
|  |  | UNB02.3 | \[0…1\] | 1/14 | Address for reverse routing. | – |
|  | UNB03 | \[1…1\] | – | **Required.** Interchange recipient. | – |
|  |  | UNB03.1 | \[1…1\] | 1/35 | **Required.** Recipient identification. | RECEIVER1 |
|  |  | UNB03.2 | \[0…1\] | 1/4 | Partner identification code qualifier.  [![Closed](/sites/default/files/tech_comms/mpl/Skins/Default/Stylesheets/Images/transparent.gif)Valid values ](#)- `1` – D-U-N-S number, Dun and Bradstreet - `2` – D-U-N-S + 4r, Dun and Bradstreet number plus suffix - `9` – D-U-N-S + 4r, Dun and Bradstreet number plus suffix - `11` – Drug Enforcement Agency registration number - `21` – Health Industry Number - `91` – Assigned by seller … company identifier - `92` – Assigned by buyer … company site identifier - `UL` – Global Location Number - `12` – Telephone number - `20` – Standard Point Location Code (SPLC) - `ZZ` – Mutually defined | 14 |
|  |  | UNB03.3 | \[0…1\] | 1/14 | Interchange recipient internal identification. | – |
|  | UNB04 | \[1…1\] | – | **Required.** Date and time of preparation. | – |
|  |  | UNB04.1 | \[1…1\] | 6/6 | **Required.** Date of preparation. | 20231020 |
|  |  | UNB04.2 | \[1…1\] | 4/4 | **Required.** Time of preparation. | 142000 |
|  | UNB05 | \[1…1\] | 1/14 | **Required.** Interchange control reference. | 131 |
|  | UNB06 | \[0…1\] | – | Recipient's reference password. | – |
|  |  | UNB06.1 | \[0…1\] | 1/14 | Recipient's reference or password. | XYZ |
|  |  | UNB06.2 | \[0…1\] | 2/2 | Recipient's reference or password qualifier.  Valid values:  - `BB` – Password. - `AA` – Reference. | REFERENCE |
|  | UNB07 | \[0…1\] | 1/14 | Application reference. | ORDERS |
|  | UNB08 | \[0…1\] | 1/1 | Processing priority code. | – |
|  | UNB09 | \[0…1\] | 1/1 | Acknowledgment request. | 1 |
|  | UNB10 | \[0…1\] | 1/35 | Communication agreement ID. | – |
|  | UNB11 | \[0…1\] | 1/1 | Test indicator. | I |
| UNG | \[0…1\] | – | UNG interchange header. | – |
|  | UNG01 | \[1…1\] | 1/6 | **Required.** Functional group identification. | – |
|  | UNG02 | \[1…1\] | – | **Required.** Application sender's identification. | – |
|  |  | UNG02.1 | \[1…1\] | 1/35 | **Required.** Application sender's identification. | SENDER1 |
|  |  | UNG02.2 | \[0…1\] | 1/4 | Partner identification code qualifier.  Partner identification code qualifier.  [![Closed](/sites/default/files/tech_comms/mpl/Skins/Default/Stylesheets/Images/transparent.gif)Valid values ](#)- `1` – D-U-N-S number, Dun and Bradstreet - `2` – D-U-N-S + 4r, Dun and Bradstreet number plus suffix - `9` – D-U-N-S + 4r, Dun and Bradstreet number plus suffix - `11` – Drug Enforcement Agency registration number - `21` – Health Industry Number - `91` – Assigned by seller … company identifier - `92` – Assigned by buyer … company site identifier - `UL` – Global Location Number - `12` – Telephone number - `20` – Standard Point Location Code (SPLC) - `ZZ` – Mutually defined | 14 |
|  | UNG03 | \[1…1\] | – | **Required.** Application recipient's identification. | – |
|  |  | UNG03.1 | \[1…1\] | 1/35 | **Required.** Application recipient's identification. | RECEIVER1 |
|  |  | UNG03.2 | \[0…1\] | 1/4 | Partner identification code qualifier. | 14 |
|  | UNG04 | \[1…1\] | – | **Required.** Date and time of preparation. | – |
|  |  | UNG04.1 | \[1…1\] | 6/6 | **Required.** Date of preparation. | 20231020 |
|  |  | UNG04.2 | \[1…1\] | 4/4 | **Required.** Time of preparation. | 142000 |
|  | UNG05 | \[1…1\] | 1/14 | **Required.** Functional group reference number. | 131 |
|  | UNG06 | \[1…1\] | 1/2 | **Required.** Controlling agency. | 131 |
|  | UNG07 | \[1…1\] | – | **Required.** Message version. | – |
|  |  | UNG07.1 | \[1…1\] | 1/3 | **Required.** Message type version number. | XYZ |
|  |  | UNB07.2 | \[1…1\] | 1/3 | **Required.**Message type release number. | REFERENCE |
|  |  | UNB07.3 | \[0…1\] | 1/6 | Association assigned code. | REFERENCE |
|  | UNG08 | \[0…1\] | 1/14 | Application password. | – |
| UNH | \[0…\*\] | – | UNH message header. | – |
|  | UNH01 | \[1…1\] | 1/14 | **Required.** Message reference number. | '000000101 |
|  | UNH02 | \[1…1\] | – | **Required.** Message identifier. | – |
|  |  | UNH02.1 | \[1…1\] | 1/6 | **Required.** Message type identifier. | ORDERS |
|  |  | UNH02.2 | \[1…1\] | 1/3 | **Required.** Message type version number. | D |
|  |  | UNH02.3 | \[1…1\] | '1/3 | **Required.** Message type release number. | 96A |
|  |  | UNH02.4 | \[1…1\] | '1/2 | **Required.** Controlling agency. | UN |
|  |  | UNH02.5 | \[0…1\] | 1/6 | Association assigned code. | – |
|  | UNH03 | \[0…1\] | 1/35 | Common access reference. | – |
|  | UNH04 | \[0…1\] | – | Status of the transfer. | – |
|  |  | UNH04.1 | \[1…1\] | 8/8 | **Required.** Sequence message transfer number. | – |
|  |  | UNH04.2 | \[0…1\] | 1/1 | First or last sequence message transfer indication. | – |
|  | BGM | \[1…1\] |  | **Required.** Beginning of message. | – |
|  |  | BGM01 | \[0…1\] |  | Document or message name. | – |
|  |  |  | BGM01.1 | \[0…1\] | 1/3 | Document or message name, coded.  Valid values:  - `221` – Blanket order (quantity firm). - `343` – Catalog order. - `227` – Consignment order. - `223` – Lease. - `220` – New order. - `105` – Purchase order. - `225` – Repair and return. - `228` – Sample order. - `380` – Commercial Invoice. | 380 |
|  |  |  | BGM01.2 | \[0…1\] | 1/3 | Code list qualifier. | – |
|  |  |  | BGM01.3 | \[0…1\] | 1/3 | Code list responsible agency, coded. | – |
|  |  |  | BGM01.4 | \[0…1\] | 1/35 | Document or message name. | – |
|  |  | BGM02 | \[0…1\] | 1/35 | Document or message number. | 2738662 |
|  |  | BGM03 | \[0…1\] | 1/3 | Message function, coded.  Valid values:  - `1` – Cancel invoice - `2` – Addition - `4` – Change invoice - `9` – Original document, create in target - `30` – Correction (Accepted, with amendment in detail section) | 9 |
|  |  | BGM04 | \[0…1\] | 1/3 | Response type, coded. | – |
|  | DTM | \[0…10\] | – | Date . | – |
|  |  | DTM01 | \[1…1\] | – | **Required.**Date or time or period. | – |
|  |  |  | DTM01.1 | \[1…1\] | 8/8 | **Required.**Date or time or period qualifier.  Valid values:  - `2` – Delivery requested date - `4` – Purchase order date - `10` – Shipped date - `36` – Expiration date - `46` – Cancel if not delivered by date - `69` – Estimated delivery date - `137` – Document date - `149` – Invoice Date - `318` – Requested shipment date | 149 |
|  |  |  | DTM01.2 | \[0…1\] | 4/8 | Date. | 20230304 |
|  |  |  | DTM01.3 | \[0…1\] | 4/8 | Date or time or period format qualifier. Valid value is `102` – YYYYMMDD format. | 102 |
|  | RFF | \[0…10\] | – | Reference. | – |
|  |  | RFF01 | \[1…1\] | – | **Required.** Reference. | – |
|  |  |  | RFF01.1 | \[1…1\] | 1/3 | **Required.** Reference qualifier.  Valid values:  - `BC`– Customer (Buyers's) contract number - `CT`– Contract number - `DM`– Message or document number - `IV`– Invoice document identifier - `ON`– Customer Purchase Order - `RE`– Release document number - `VC`– Supplier contract number - `VN`– Supplier sales order | ON |
|  |  |  | RFF01.2 | \[0…1\] | 1/35 | Reference number. | ORD9523 |
|  |  |  | RFF01.3 | \[0…1\] | 1/6 | Line number. | – |
|  |  |  | RFF01.4 | \[0…1\] | 1/35 | Reference version number. | – |
|  | NAD | \[0…99\] | – | NAD: Name segment loop for:  - Remit To party - Payer party - Buyer party. - Ship to party. - Ship from party - Supplier party. - Bill To party - Bill and Ship To party. | – |
|  |  | NAD01 | \[1…1\] | 1/3 | **Required.** Entity identifier code for party identifier and address information for ship to party.  Valid values:  - `RE` – Remit To party - `PR` – Payer party - `BY` – Buyer party - `ST` – Ship to party - `SF` – Ship from party - `SU` – Supplier - `BT` – Bill to party - `BS` – Bill and ship to party | N/A |
|  |  | NAD02 | \[0…1\] | – | Party identification details. | – |
|  |  |  | NAD02.1 | \[1…1\] | 1/35 | **Required.** Party Id. Identification. | 8716106198368 |
|  |  |  | NAD02.2 | \[0…1\] | 1/3 | Code list qualifier. | – |
|  |  |  | NAD02.3 | \[0…1\] | 1/3 | Code list responsible agency, coded.  Valid values:  - `16` – D-U-N-S number, Dun and Bradstreet - `91` – Assigned by seller … company identifier - `92` – Assigned by buyer … company site identifier - `164` – Drug Enforcement Agency registration number - `237` – Health Industry Number | 16 |
|  |  | NAD03 | \[0…1\] | – | Name and address. | – |
|  |  |  | NAD03.1 | \[1…1\] | 1/35 | **Required.** Name and address line. | – |
|  |  |  | NAD03.2 | \[0…1\] | 1/35 | Name and address line. | – |
|  |  | NAD04 | \[0…1\] | – | Party name. | – |
|  |  |  | NAD04.1 | \[1…1\] | 1/35 | **Required.** Party name. | Kramp Groep BV 07 |
|  |  |  | NAD04.2 | \[0…1\] | 1/35 | Party name. | – |
|  |  |  | NAD04.3 | \[0…1\] | 1/35 | Party name. | – |
|  |  | NAD05 | \[0…1\] | – | Street. | – |
|  |  |  | NAD05.1 | \[1…1\] | 1/35 | **Required.** Street and number or postal box. | Zone Republique Iii |
|  |  |  | NAD05.2 | \[0…1\] | 1/35 | Street and number or postal box. | – |
|  |  |  | NAD05.3 | \[0…1\] | 1/35 | Street and number or postal box. | – |
|  |  | NAD06 | \[0…1\] | 1/35 | City name. | Poitiers Cedex |
|  |  | NAD07 | \[0…1\] | 1/9 | Country sub-entity. | – |
|  |  |  | NAD07.1 | \[0…1\] | 1/35 | Country sub-entity identification. | – |
|  |  | NAD08 | 0…1 | 1/9 | Postcode identification. | 86000 |
|  |  | NAD09 | \[0…1\] | 1/3 | Country, coded.  [![Closed](/sites/default/files/tech_comms/mpl/Skins/Default/Stylesheets/Images/transparent.gif)Valid Values](#)- `AF` – Afghanistan - `AX` – Åland Islands - `AL` – Albania - `DZ` – Algeria - `AS` – American Samoa - `AD` – Andorra - `AO` – Angola - `AI` – Anguilla - `AQ` – Antarctica - `AG` – Antigua and Barbuda - `AR` – Argentina - `AM` – Armenia - `AW` – Aruba - `AU` – Australia - `AT` – Austria - `AZ` – Azerbaijan - `BS` – Bahamas - `BH` – Bahrain - `BD` – Bangladesh - `BB` – Barbados - `BY` – Belarus - `BE` – Belgium - `BZ` – Belize - `BJ` – Benin - `BM` – Bermuda - `BT` – Bhutan - `BO` – Bolivia, Plurinational State of Bolivia - `BA` – Bosnia and Herzegovina - `BW` – Botswana - `BV` – Bouvet Island - `BR` – Brazil - `IO` – British Indian Ocean Territory - `BN` – Brunei Darussalam - `BG` – Bulgaria - `BF` – Burkina Faso - `BI` – Burundi - `KH` – Cambodia - `CM` – Cameroon - `CA` – Canada - `KY` – Cayman Islands - `CF` – Central African Republic - `TD` – Chad - `CL` – Chile - `CN` – China - `CX` – Christmas Island - `CC` – Cocos (Keeling) Islands - `CO` – Colombia - `KM` – Comoros - `CG` – Congo - `CD` – Congo, The Democratic Republic of the Congo - `CK` – Cook Islands - `CR` – Costa Rica - `CI` – Cote D'Ivoire - `HR` – Croatia - `CU` – Cuba - `CY` – Cyprus - `CZ` – Czech Republic - `DK` – Denmark - `DJ` – Djibouti - `DM` – Dominica - `DO` – Dominican Republic - `EC` – Ecuador - `EG` – Egypt - `SV` – EL Salvador - `GQ` – Equatorial Guinea - `ER` – Eritrea - `EE` – Estonia - `ET` – Ethiopia - `FK` – Falkland Islands (Malvinas) - `FO` – Faroe Islands - `FJ` – Fiji - `FI` – Finland - `FR` – France - `GF` – French Guiana - `PF` – French Polynesia - `TF` – French Southern Territories - `GA` – Gabon - `GM` – Gambia - `GE` – Georgia - `DE` – Germany - `GH` – Ghana - `GI` – Gibraltar - `GR` – Greece - `GL` – Greenland - `GD` – Grenada - `GP` – Guadeloupe - `GU` – Guam - `GT` – Guatemala - `GG` – Guernsey - `GN` – Guinea - `GW` – Guinea-Bissau - `GY` – Guyana - `HT` – Haiti - `HM` – Heard Island and McDonald Islands - `VA` – Holy See (Vatican City State) - `HN` – Honduras - `HK` – Hong Kong - `HU` – Hungary - `IS` – Iceland - `IN` – India - `ID` – Indonesia - `IR` – Iran, Islamic Republic of Iran - `IQ` – Iraq - `IE` – Ireland - `IM` – Isle of man - `IL` – Israel - `IT` – Italy - `JM` – Jamaica - `JP` – Japan - `JE` – Jersey - `JO` – Jordan - `KZ` – Kazakhstan - `KE` – Kenya - `KI` – Kiribati - `KP` – Korea, Democratic People's Republic of Korea - `KR` – Korea, Republic of Korea - `KW` – Kuwait - `KG` – Kyrgyzstan - `LA` – Lao People's Democratic Republic - `LV` – Latvia - `LB` – Lebanon - `LS` – Lesotho - `LR` – Liberia - `LY` – Libyan Arab Jamahiriya - `LI` – Liechtenstein - `LT` – Lithuania - `LU` – Luxembourg - `MO` – Macao - `MK` – Macedonia, The Former Yugoslav Republic of Macedonia - `MG` – Madagascar - `MW` – Malawi - `MY` – Malaysia - `MV` – Maldives - `ML` – Mali - `MT` – Malta - `MH` – Marshall Islands - `MQ` – Martinique - `MR` – Mauritania - `MU` – Mauritius - `YT` – Mayotte - `MX` – Mexico - `FM` – Micronesia, Federated States of Micronesia - `MD` – Moldova, Republic of Moldova - `MC` – Monaco - `MN` – Mongolia - `ME` – Montenegra - `MS` – Montserrat - `MA` – Morocco - `MZ` – Mozambique - `MM` – Myanmar - `NA` – Namibia - `NR` – Nauru - `NP` – Nepal - `NL` – Netherlands - `AN` – Netherlands Antilles - `NC` – New Caledonia - `NZ` – New Zealand - `NI` – Nicaragua - `NE` – Niger - `NG` – Nigeria - `NU` – Niue - `NF` – Norfolk Island - `MP` – Northern Mariana Islands - `NO` – Norway - `OM` – Oman - `PK` – Pakistan - `PW` – Palau - `PS` – Palestinian Territory, Occupied - `PA` – Panama - `PG` – Papua New Guinea - `PY` – Paraguay - `PE` – Peru - `PH` – Philippines - `PN` – Pitcairn - `PL` – Poland - `PT` – Portugal - `PR` – Puerto Rico - `QA` – Qatar - `RE` – Reunion - `RO` – Romania - `RU` – Russian Federation - `RW` – Rwanda - `BL` – Saint Barthelemy - `SH` – Saint Helena, Ascension and Tristan da Cunha - `KN` – Saint Kitts and Nevis - `LC` – Saint Lucia - `MF` – Saint Martin - `PM` – Saint Pierre and Miquelon - `VC` – Saint Vincent and the Grenadines - `WS` – Samoa - `SM` – San Marino - `ST` – Sao Tome and Principe - `SA` – Saudi Arabia - `SN` – Senegal - `RS` – Serbia - `SC` – Seychelles - `SL` – Sierra Leone - `SG` – Singapore - `SK` – Slovakia - `SI` – Slovenia - `SB` – Solomon Islands - `SO` – Somalia - `ZA` – South Africa - `GS` – South Georgia and the South Sandwich Islands - `ES` – Spain - `LK` – Sri Lanka - `SD` – Sudan - `SR` – Suriname - `SJ` – Svalbard and Jan Mayen - `SZ` – Swaziland - `SE` – Sweden - `CH` – Switzerland - `SY` – Syrian Arab Republic - `TW` – Taiwan, Province of China - `TJ` – Tajikistan - `TZ` – Tanzania, United Republic of Tanzania - `TH` – Thailand - `TL` – Timor-Leste - `TG` – Togo - `TK` – Tokelau - `TO` – Tonga - `TT` – Trinidad and Tobago - `TN` – Tunisia - `TR` – Turkey - `TM` – Turkmenistan - `TC` – Turks and Caicos Islands - `TV` – Tuvalu - `UG` – Uganda - `UA` – Ukraine - `AE` – United Arab Emirates - `GB` – United Kingdom - `US` – United States - `UM` – United States Minor Outlying Islands - `UY` – Uruguay - `UZ` – Uzbekistan - `VU` – Vanuatu - `VE` – Venezuela, Bolivarian Republic of Venezuela - `VN` – Vietnam - `VG` – Virgin Islands, British - `VI` – Virgin Islands, U.S. - `WF` – Wallis and Futuna - `EH` – Western Sahara - `YE` – Yemen - `ZM` – Zambia - `ZW` – Zimbabwe | FR |
|  | CTA | \[0…5\] | – | CTA: Contact information. | – |
|  |  | CTA01 | \[1…1\] | 1/3 | **Required.** Contact function, coded.  Valid values:  - `RE` – Remit To party. - `PR` – Payer party. - `BY` – Buyer party. - `PD` – Purchaser contact. - `SU` – Supplier. | PD |
|  |  | CTA02 | \[0…1\] | – | Department or employee details. | – |
|  |  |  | CTA02.1 | \[0…1\] | 1/17 | Department or employee identification. | – |
|  |  |  | CTA02.2 | \[0…1\] | 1/35 | Department or employee. | John Smith |
|  | COM |  | \[0…5\] | – | COM: Communication contact. | – |
|  |  | COM01 | \[1…1\] | 1/3 | **Required.** Communication information. | – |
|  |  |  | COM01.1 | 0…1 | 1/17 | Communication number. | 50812345678 |
|  |  |  | COM01.2 | 0…1 | 1/35 | Communication channel qualifier. | EM and TE |
|  | TAX | \[0…5\] | – | Duty or tax or fee details. | – |
|  |  | TAX01 | \[1…1\] | 1/3 | **Required.** Duty or tax or fee function code qualifier. Valid value is ` 7` – Agreed upon code. | 7 |
|  |  | TAX02 | \[0…1\] | – | Duty or tax or fee type. | – |
|  |  |  | TAX02.1 | \[1…1\] | 1/3 | **Required.** Duty or tax or fee type name code.  Valid values:  [![Closed](/sites/default/files/tech_comms/mpl/Skins/Default/Stylesheets/Images/transparent.gif)Valid values:](#)- `VAT` – Corresponds to the canonical code `VAT`. The value added tax. - `TOT` – Corresponds to the canonical code `GOODSANDSERVICES`. The total tax levied on goods and services. - `STT` – Corresponds to the canonical code `STATESALES`. The state or provincial sales tax. - `LOC` – Corresponds to the canonical code `CITYSALES`. The local sales tax. - `IMP` – Corresponds to the canonical code `CUSTOMSDUTY`. The import tax on customs duty. - `OTH` – Corresponds to the canonical code `SURTAX`. Other taxes. | VAT |
|  |  |  | TAX02.2 | \[1…1\] | 1/3 | **Required.** Code list identification code. | – |
|  |  | TAX03 | \[1…1\] | 1/3 | **Required.** Duty or tax or fee account detail. | – |
|  |  | TAX04 | \[1…1\] | 1/3 | **Required.** Duty or tax or fee assessment basis quantity. | – |
|  |  | TAX05 | \[0…1\] | – | Duty or tax or fee detail. | – |
|  |  |  | TAX05.1 | \[1…1\] | 1/3 | **Required.** Duty or tax or fee rate code. | – |
|  |  |  | TAX05.2 | \[1…1\] | 1/3 | **Required.** Code list identification code. | – |
|  |  |  | TAX05.3 | \[1…1\] | 1/3 | **Required.** Code list responsible agency code. | – |
|  |  |  | TAX05.4 | \[1…1\] | 1/3 | **Required.** Duty or tax or fee rate. | 19 |
|  |  | TAX06 | \[1…1\] | 1/3 | **Required.** Duty or tax or fee category code. Valid value is `S` – Standard rate. | S |
|  | MOA | \[0…5\] | – | Duty or tax or fee details. | – |
|  |  | MOA01 | \[1…1\] | – | **Required.** Monetary amount. | – |
|  |  |  | MOA01.1 | \[1…1\] | 1/3 | **Required.** Monetary amount type code qualifier. Valid value is `124` – Tax amount. | 124 |
|  |  |  | MOA01.2 | \[0…1\] | 1/35 | Monetary amount. | 22.80 |
|  | CUX | \[0…5\] | – | Currencies. | – |
|  |  | CUX01 | \[0…1\] | – | Currency details. | – |
|  |  |  | CUX01.1 | \[1…1\] | 1/3 | **Required.** Currency details qualifier.  Valid values:  - `1` – Charge payment currency. - `2` – Reference currency. - `3` – Target currency. - `4` – Transport document currency. - `5` – Calculation base currency. - `6` – Information currency. - `7` – Currency of the account. | 2 |
|  |  |  | CUX01.2 | \[0…1\] | 1/3 | Currency, coded.  [![Closed](/sites/default/files/tech_comms/mpl/Skins/Default/Stylesheets/Images/transparent.gif)Valid values ](#)- `AED` – United Arab Emirates Dirham - `AFN` – Afghani - `ALL` – Lek - `AMD` – Armenian Dram - `ANG` – Netherlands Antillean Guilder - `AOA` – Kwanza - `ARS` –Argentine Peso - `AUD` – Australian Dollar - `AWG` – Aruban Florin - `AZN` – Azerbaijanian Manat - `BAM` – Convertible Mark - `BBD` – Barbados Dollar - `BDT` – Bangladesh Taka - `BGN` – Bulgarian Lev - `BHD` – Bahrain Dinar - `BIF` – Burundi Franc - `BMD` – Bermudan Dollar - `BND` – Brunei Dollar - `BOB` – Bolivian peso - `BRL` – Brazilian Real - `BSD` – Bahaman Dollar - `BTN` – Bhutan Ngultrum - `BWP` – Botswana Pula - `BYR` – Belorussian Ruble - `BZD` – Belize Dollar - `CAD` – Canadian Dollar - `CDF` – Congolese franc - `CHF` – Swiss Franc - `CLP` – Chilean Peso - `CNY` – Chinese Renminbi Yuan - `COP` – Columbian Peso - `CRC` – Costa Rica Colon - `CUC` – Peso Convertible - `CUP` – Cuban Peso - `CVE` – Cape Verde Escudo - `CYP` – Cyprus Pound - `CZK` – Czech Krona - `DJF` – Djibouti Franc - `DKK` – Danish Krone - `DOP` – Dominican Peso - `DZD` – Algerian Dinar - `EGP` – Egyptian Pound - `ERN` – Eritrean Nafka - `ETB` – Ethiopian Birr - `EUR` – Euro (EMU currency as of 01/01/1999) - `FJD` – Fiji Dollar - `FKP` – Falkland Pound - `GBP` – British Pound - `GEL` – Georgian Lari - `GHS` – Ghana Cedi - `GIP` – Gibraltar Pound - `GMD` – Gambian Dalasi - `GNF` – Guinea Franc - `GTQ` – Guatemalan Quetzal - `GYD` – Guyanese Dollar - `HKD` – Hong Kong Dollar - `HNL` – Honduran Lempira - `HRK` – Croatian Kuna - `HTG` – Gourde - `HUF` – Forint - `IDR` – Indonesian Rupiah - `ILS` – Israeli Scheckel - `INR` – Indian Rupee - `IQD` – Iraqui Dinar - `IRR` – Iranian Rial - `ISK` – Iceland Krona - `JMD` – Jamaican Dollar - `JOD` – Jordanian Dinar - `JPY` – Japanese Yen - `KES` – Kenyan Shilling - `KGS` – Kyrgyzstan Som - `KHR` – Cambodian Riel - `KMF` – Comoros Franc - `KPW` – North Korean Won - `KRW` – South Korean Won - `KWD` – Kuwaiti Dinar - `KYD` – Cayman Dollar - `KZT` – Kazakhstani Tenge - `LAK` – Laotian Kip - `LBP` – Lebanese Pound - `LKR` – Sri Lankan Rupee - `LRD` – Liberian Dollar - `LSL` – Loti - `LYD` – Libyan Dinar - `MAD` – Moroccan Dirham - `MDL` – Moldovan Leu - `MGA` – Malagasy Ariary - `MKD` – Denar - `MMK` – Myanmar Kyat - `MNT` – Mongolian Tugrik - `MOP` – Macao Pataca - `MRO` – Mauritanian Ouguiya - `MUR` – Mauritian Rupee - `MVR` – Maldive Rufiyaa - `MWK` – Malawi Kwacha - `MXN` – Mexican Peso - `MYR` – Malaysian Ringgit - `MZM` – Mozambique Metical - `NAD` – Namibian Dollar - `NGN` – Nigerian Naira - `NIO` – Nicaraguan Cordoba Oro - `NOK` – Norwegian Krone - `NPR` – Nepalese Rupee - `NZD` – New Zealand Dollars - `OMR` – Omani Rial - `PAB` – Panamanian Balboa - `PEN` – Peruvian New Sol - `PGK` – Papua New Guinea Kina - `PHP` – Philippino Peso - `PKR` – Pakistani Rupee - `PLN` – Polish Zloty (new) - `PYG` – Paraguayan Guarani - `QAR` – Qatar Riyal - `RON` – Roumanian Lei - 2005 - `RSD` – Serbian Dinar - `RUB` – Russian Rouble (old) - `RWF` – Rwanda Franc - `SAR` – Saudi Riyal - `SBD` – Solomon Islands Dollar - `SCR` – Seychelles Rupee - `SDG` – Sudanese Pound - `SEK` – Swedish Krona - `SGD` – Singapore Dollar - `SHP` – St.Helena Pound - `SLL` – Leone - `SOS` – Somalian Shilling - `SRD` – Surinam Guilder - `SSP` – South Sudanese Pound - `STD` – Sao Tome / Principe Dobra - `SVC` – El Salvador Colon - `SYP` – Syrian Pound - `SZL` – Swaziland Lilangeni - `THB` – Thailand Bhat - `TJS` – Tajikistani Somoni - `TMT` – Turkmenistan New Manat - `TND` – Tunisian Dinar - `TOP` – Tongan Pa'anga - `TRY` – Turkish Lira - `TTD` – Trinidad and Tobago Dollar - `TWD` – New Taiwan Dollar - `TZS` – Tanzanian Shilling - `UAH` – Ukraine Hryvnia - `UGX` – Ugandan Shilling - `USD` – American Dollar - `UYU` – Uruguayan Peso (new) - `UZS` – Uzbekistan Sum - `VEF` – Venezuelan Bolivar - `VND` – Vietnamese Dong - `VUV` – Vanuatu Vatu - `WST` – Samoan Tala - `XAF` – Gabon C.f.A Franc - `XCD` – East Carribean Dollar - `XOF` – Benin C.f.A. Franc - `XPF` – CFP Franc - `YER` – Yemeni Ryal - `ZAR` – South African Rand - `ZMW` – Zambian Kwacha - `ZWL` – Zimbabwean Dollar | EUR |
|  |  |  | CUX01.3 | \[0…1\] | 1/3 | Currency qualifier. | – |
|  |  | CUX02 | \[0…1\] | – | Currency details. | – |
|  |  |  | CUX02.1 | \[1…1\] | 1/3 | **Required.** Currency details qualifier. | 2 |
|  |  |  | CUX02.2 | \[0…1\] | 1/3 | Currency, coded. | – |
|  |  | CUX03 | \[0…1\] | 0/\* | Rate of exchange. | – |
|  | PYT | \[0…10\] | – | Payment terms. | – |
|  |  | PYT01 | \[1…1\] | 1/3 | **Required.** Payment terms type code qualifier.  Valid values:  - `1` – Basic - `4` – Deferred - `5` – Discount not applicable - `2` – End of month - `7` – Extended - `6` – Mixed - `9` – Proximo - `13` – Seller - `18` – Previously agreed | 1 |
|  |  | PYT02 | \[0…1\] | – | Payment terms. | – |
|  |  |  | PYT02.1 | \[0…1\] | 1/17 | Payment terms description identifier. | 2 |
|  |  |  | PYT02.2 | \[0…1\] | 1/17 | Code list identification code. | – |
|  |  |  | PYT02.3 | \[0…1\] | 1/3 | Code list responsible agency code. | 2 |
|  |  |  | PYT02.4 | \[0…1\] | 1/35 | Payment terms description. | Up to 07/11/2003 you receive 3.000% discount |
|  | PCD | \[0…10\] | – | Percentage details. | – |
|  |  | PCD01 | \[0…1\] | – | Percentage details. | – |
|  |  |  | PCD01.1 | \[1…1\] | 1/3 | **Required.** Percentage type code qualifier. Valid value is `122` – Percentage of total payment. | – |
|  |  |  | PCD01.2 | \[0…1\] | 1/10 | Percentage. | 3.0 |
|  | ALC | 0…15 | – | Allowance or charge. | – |
|  |  | ALC01 | \[1…1\] | 1/3 | **Required.** Allowance or charge qualifier.  Valid values:  - `J` – Adjustments to credits or charges, Administrative credits or charges, Advances on credits or charges. - `D` – Advance on allowance, Advance fee, Air transport charge, Assembly credit or charge, Base charge. - `C` – Bill of lading charge, Cancelation charge, Carrier charge (Freight Charge), Carrier credit allowance, Carrier debit allowance, Cartage credit or charge, Delivery credit or charge, Delivery surcharge, Deposit, Destination charge. - `Q` – Discount, Distribution service, Distributor discount or allowance, Diversion charge, Documentation charge, Excess weight charge, Finance charge, Flat rate. - `X` – Adjustment for maximum charge billing, Absolute minimum charge, Unsaleable minimum charge allowance. | J |
|  |  | ALC02 | \[0…1\] | – | Allowance or charge Information. | – |
|  |  |  | ALC02.1 | \[0…1\] | 1/35 | Allowance or charge number. | 247.00 |
|  |  |  | ALC02.2 | \[0…1\] | 1/3 | Charge or allowance description, coded. | – |
|  |  | ALC03 | \[0…1\] | 1/3 | Settlement, coded. | – |
|  | LIN | 1…200000 | – | Line item. | – |
|  |  | LIN01 | \[0…1\] | 0/\* | Line item number. | 15 |
|  |  | LIN02 | \[0…1\] | 1/3 | Action request or notification, coded. | – |
|  |  | LIN03 | \[0…1\] | – | Item number identification. | – |
|  |  |  | LIN03.1 | \[0…1\] | 1/35 | Item number. | 8712100000010 |
|  |  |  | LIN03.2 | \[0…1\] | 1/3 | Item number type, coded.  [![Closed](/sites/default/files/tech_comms/mpl/Skins/Default/Stylesheets/Images/transparent.gif)Valid values:](#)- `BB` – Lot number - `BC` – US National-Drug-Code-NDC442-with-hyphen-separators - `BD` – US National-Drug-Code-NDC532-with-hyphen-separators - `BE` – US National-Drug-Code-NDC541-with-hyphen-separators - `BF` – US-National-Drug-Code-NDC542-with-hyphen-separators - `BP` – Buyer's product identifier - `IN` – Customer's(Buyer's) product item number - `MF` – Manufacturer's product identifier. - `SK` – Stock keeping unit - `SRV` – GS1 Global Trade Item Number - `UP` – Universal product number (UPC) - `VN` – Supplier's catalog number. | VN |
|  |  |  | LIN03.3 | \[0…1\] | 1/3 | Code list qualifier. | – |
|  | PIA | \[0…25\] | – | Additional Product Id. | – |
|  |  | PIA01 | \[1…1\] | 1/3 | **Required.** Product id. function qualifier. | 5 |
|  |  | PIA02 | \[1…1\] | – | **Required.** Item Number Identification. | – |
|  |  |  | PIA02.1 | \[0…1\] | 1/35 | Item number. | AB80 |
|  |  |  | PIA02.2 | \[0…1\] | 1/3 | Item number type, coded.  Item number type, coded.  [![Closed](/sites/default/files/tech_comms/mpl/Skins/Default/Stylesheets/Images/transparent.gif)Valid values:](#)- `BB` – Lot number - `BC` – US National-Drug-Code-NDC442-with-hyphen-separators - `BD` – US National-Drug-Code-NDC532-with-hyphen-separators - `BE` – US National-Drug-Code-NDC541-with-hyphen-separators - `BF` – US-National-Drug-Code-NDC542-with-hyphen-separators - `BP` – Buyer's product identifier - `IN` – Customer's(Buyer's) product item number - `MF` – Manufacturer's product identifier. - `SK` – Stock keeping unit - `SRV` – GS1 Global Trade Item Number - `UP` – Universal product number (UPC) - `VN` – Supplier's catalog number. | MF |
|  |  |  | PIA02.3 | \[0…1\] | 1/3 | Code list qualifier. | – |
|  | PIA | \[0…25\] | – | Lot number. | – |
|  |  | PIA01 | \[1…1\] | 1/3 | **Required.** Product id. function qualifier. | 5 |
|  |  | PIA02 | \[1…1\] | – | **Required.** Item Number Identification. | – |
|  |  |  | PIA02.1 | \[0…1\] | 1/35 | Item number. | AB80 |
|  |  |  | PIA02.2 | \[0…1\] | 1/3 | Item number type, coded.  [![Closed](/sites/default/files/tech_comms/mpl/Skins/Default/Stylesheets/Images/transparent.gif)Valid values:](#)- `BB` – Lot number - `BC` – US National-Drug-Code-NDC442-with-hyphen-separators - `BD` – US National-Drug-Code-NDC532-with-hyphen-separators - `BE` – US National-Drug-Code-NDC541-with-hyphen-separators - `BF` – US-National-Drug-Code-NDC542-with-hyphen-separators - `BP` – Buyer's product identifier - `IN` – Customer's(Buyer's) product item number - `MF` – Manufacturer's product identifier. - `SK` – Stock keeping unit - `SRV` – GS1 Global Trade Item Number - `UP` – Universal product number (UPC) - `VN` – Supplier's catalog number. | BB |
|  |  |  | PIA02.3 | \[0…1\] | 1/3 | Code list qualifier. | – |
|  | IMD | \[0…99\] | – | Item description. | – |
|  |  | IMD01 | \[0…1\] | 1/3 | Item description type, coded. | F |
|  |  | IMD02 | \[0…1\] | 1/3 | Item characteristic, coded. | – |
|  |  | IMD03 | \[0…1\] | – | Item description. | – |
|  |  |  | IMD03.1 | \[0…1\] | 1/17 | Item description identification. | – |
|  |  |  | IMD03.2 | \[0…1\] | 1/3 | Code list qualifier. | – |
|  |  |  | IMD03.3 | \[0…1\] | 1/3 | Code list responsible agency, coded. | – |
|  |  |  | IMD03.4 | \[0…1\] | 1/35 | Item description. | Product description 1 |
|  |  |  | IMD03.5 | \[0…1\] | 1/35 | Item description. | – |
|  | QTY | \[0…10\] | – | Quantity . | – |
|  |  | QTY01 | \[1…1\] | – | **Required.** Quantity details. | 5 |
|  |  |  | QTY01.1 | \[1…1\] | 1/3 | **Required.** Quantity qualifier.  Valid values:  - `21` – Item, Lading - `47` - Invoice - `52` – Packaged, Pricing Unit, Purchase Order, Questioned | 47 |
|  |  |  | QTY01.2 | \[1…1\] | 1/15 | **Required.** Quantity. | 6 |
|  |  |  | QTY01.3 | \[0…1\] | 1/3 | Measure unit qualifier. | EA |
|  | DTM | \[0…10\] | – | Date. | – |
|  |  | DTM01 | \[1…1\] | – | **Required.** Date or time or period. | – |
|  |  |  | DTM01.1 | \[1…1\] | 8/8 | **Required.** Date or time or period qualifier.  Valid values:  - `2` – Delivery requested date - `4` – Purchase order date - `10` – Shipped date - `36` – Expiration date - `46` – Cancel if not delivered by date - `69` – Estimated delivery date - `137` – Document date - `149` – Invoice Date - `318` – Requested shipment date | 149 |
|  |  |  | DTM01.2 | \[0…1\] | 4/8 | Date. | 20230304 |
|  |  |  | DTM01.3 | \[0…1\] | 4/8 | Date or time or period format qualifier. Valid value is `102` – YYYYMMDD format. | 102 |
|  | MOA | \[0…10\] | – | Monetary amount. | – |
|  |  | MOA01 | \[1…1\] | – | **Required.** Monetary amount. | – |
|  |  |  | MOA01.1 | \[1…1\] | 1/3 | **Required.** Monetary amount type qualifier.  [![Closed](/sites/default/files/tech_comms/mpl/Skins/Default/Stylesheets/Images/transparent.gif)Valid values:](#)- `23` – Charge Amount - `79` – Total line items amount - `86` – Message total monetary amount - `124` – Tax amount - `125` – Taxable amount - `129` – Total amount subject to payment discount - `131` – Total charges/allowances - `154` – Message total duty/tax/fee amount - `203` – Line item amount |  |
|  |  |  | MOA01.2 | \[0…1\] | 1/18 | Monetary amount. | – |
|  |  |  | MOA01.3 | \[0…1\] | 1/3 | Currency, coded. | – |
|  |  |  | MOA01.4 | \[0…1\] | 1/3 | Monetary amount. | – |
|  |  |  | MOA01.5 | \[0…1\] | 1/3 | Currency, coded. | – |
|  | PRI | \[0…25\] | – | Price details. | – |
|  |  | PRI01 | \[1…1\] | – | **Required.** Price information. | – |
|  |  |  | PRI01.1 | \[1…1\] | 1/3 | **Required.** Price qualifier.  Valid values:  - `AAA` – Net - `AAB` – Gross - `AAD` – Average - `AAF` – Extended - `INF` – Information - `INV` – Invoice | AAA |
|  |  |  | PRI01.2 | \[0…1\] | 1/15 | Price. | 117.84 |
|  |  |  | PRI01.3 | \[0…1\] | 1/3 | Price type, coded. | – |
|  |  |  | PRI01.4 | \[0…1\] | 1/3 | Price type, qualifier. | – |
|  |  |  | PRI01.5 | \[0…1\] | 1/9 | Unit price basis. | – |
|  |  |  | PRI01.6 | \[0…1\] | 1/3 | Sub-line price change, coded. | – |
|  | TAX | \[0…5\] | – | Line level duty or tax or fee details. | – |
|  |  | TAX01 | \[1…1\] | 1/3 | **Required.** Duty or tax or fee function code qualifier. Valid value is `7` – Agreed upon code. | 7 |
|  |  | TAX02 | \[0…1\] | – | Duty or tax or fee type. | – |
|  |  |  | TAX02.1 | \[1…1\] | 1/3 | **Required.** Duty or tax or fee type name code.  Valid Value:  [![Closed](/sites/default/files/tech_comms/mpl/Skins/Default/Stylesheets/Images/transparent.gif)Valid values:](#)- `VAT` – Corresponds to the canonical code `VAT`. The value added tax. - `TOT` – Corresponds to the canonical code `GOODSANDSERVICES`. The total tax levied on goods and services. - `STT` – Corresponds to the canonical code `STATESALES`. The state or provincial sales tax. - `LOC` – Corresponds to the canonical code `CITYSALES`. The local sales tax. - `IMP` – Corresponds to the canonical code `CUSTOMSDUTY`. The import tax on customs duty. - `OTH` – Corresponds to the canonical code `SURTAX`. Other taxes. | VAT |
|  |  |  | TAX02.2 | \[1…1\] | 1/3 | **Required.** Code list identification code. | – |
|  |  | TAX03 | \[1…1\] | 1/3 | **Required.** Duty or tax or fee account detail. | – |
|  |  | TAX04 | \[1…1\] | 1/3 | **Required.** Duty or tax or fee assessment basis quantity. | – |
|  |  | TAX05 | \[0…1\] | – | Duty or tax or fee detail. | – |
|  |  |  | TAX05.1 | \[1…1\] | 1/3 | **Required.** Duty or tax or fee rate code. | – |
|  |  |  | TAX05.2 | \[1…1\] | 1/3 | **Required.** Code list identification code. | – |
|  |  |  | TAX05.3 | \[1…1\] | 1/3 | **Required.** Code list responsible agency code. | – |
|  |  |  | TAX05.4 | \[1…1\] | 1/3 | **Required.** Duty or tax or fee rate. | 19 |
|  |  | TAX06 | \[1…1\] | 1/3 | Duty or tax or fee category code. Valid value is `S` = Standard rate. | S |
|  | MOA | \[0…1\] | – | Monetary amount. | – |
|  |  | MOA01 | \[1…1\] | – | **Required.** Monetary amount. | – |
|  |  |  | MOA01.1 | \[1…1\] | 1/3 | **Required.** Monetary amount type qualifier.  [![Closed](/sites/default/files/tech_comms/mpl/Skins/Default/Stylesheets/Images/transparent.gif)Valid values:](#)- `23` – Charge Amount - `79` – Total line items amount - `86` – Message total monetary amount - `124` – Tax amount - `125` – Taxable amount - `129` – Total amount subject to payment discount - `131` – Total charges/allowances - `154` – Message total duty/tax/fee amount - `203` – Line item amount | 124 |
|  |  |  | MOA01.2 | \[0…1\] | 1/18 | Monetary amount. | – |
|  |  |  | MOA01.3 | \[0…1\] | 1/3 | Currency, coded. | – |
|  |  |  | MOA01.4 | \[0…1\] | 1/3 | Monetary amount. | – |
|  |  |  | MOA01.5 | \[0…1\] | 1/3 | Currency, coded. | – |
|  | ALC | \[0…15\] | – | Allowance or charge. | – |
|  |  | ALC01 | \[1…1\] | 1/3 | **Required.** Allowance or charge qualifier.  Valid values:  - `J` – Adjustments to credits or charges, Administrative credits or charges, Advances on credits or charges. - `D` – Advance on allowance, Advance fee, Air transport charge, Assembly credit or charge, Base charge. - `C` – Bill of lading charge, Cancelation charge, Carrier charge (Freight Charge), Carrier credit allowance, Carrier debit allowance, Cartage credit or charge, Delivery credit or charge, Delivery surcharge, Deposit, Destination charge. - `Q` – Discount, Distribution service, Distributor discount or allowance, Diversion charge, Documentation charge, Excess weight charge, Finance charge, Flat rate. - `X` – Adjustment for maximum charge billing, Absolute minimum charge, Unsaleable minimum charge allowance. | J |
|  |  | ALC02 | \[0…1\] | – | Allowance or charge information. | – |
|  |  |  | ALC02.1 | \[0…1\] | 1/35 | Allowance or charge number. | 247.00 |
|  |  |  | ALC02.2 | \[0…1\] | 1/3 | Charge or allowance description, coded. | – |
|  |  | ALC03 | \[0…1\] | 1/3 | Settlement, coded. | – |
|  | UNS | \[1…1\] | – | **Required.** Section control. | – |
|  |  | UNS01 | \[1…1\] |  | **Required.** Section Identification.  Valid values:  `D` – Header or detail section separation.  `S` – Detail or summary section separation. | S |
|  | CNT | \[0…10\] | – | Control total. | – |
|  |  | CNT01 | \[0…1\] | – | Control. | – |
|  |  |  | CNT01.1 | \[1…1\] | 1/3 | **Required.** Control total type code qualifier. Valid value is `2` – Line item count. | 2 |
|  |  |  | CNT01.2 | \[1…1\] | 1/18 | **Required.** Control total quantity. | – |
|  |  |  | CNT01.3 | \[0…1\] | 1/3 | Measurement unit code. | – |
|  | MOA | \[0…10\] | – | Monetary amount. | – |
|  |  | MOA01 | \[1…1\] | – | **Required.** Monetary amount. | – |
|  |  |  | MOA01.1 | \[1…1\] | 1/3 | **Required.** Monetary amount type qualifier.  [![Closed](/sites/default/files/tech_comms/mpl/Skins/Default/Stylesheets/Images/transparent.gif)Valid values:](#)- `23` – Charge Amount - `79` – Total line items amount - `86` – Message total monetary amount - `124` – Tax amount - `125` – Taxable amount - `129` – Total amount subject to payment discount - `131` – Total charges/allowances - `154` – Message total duty/tax/fee amount - `203` – Line item amount | 86 |
|  |  |  | MOA01.2 | \[0…1\] | 1/18 | Monetary amount. | – |
|  |  |  | MOA01.3 | \[0…1\] | 1/3 | Currency, coded. | – |
|  |  |  | MOA01.4 | \[0…1\] | 1/3 | Monetary amount. | – |
|  |  |  | MOA01.5 | \[0…1\] | 1/3 | Currency, coded. | – |
|  | TAX LOOP |  | – |
|  | TAX | \[0…5\] | – | Duty or tax or fee details. | – |
|  |  | TAX01 | \[1…1\] | 1/3 | **Required.** Duty or tax or fee function code qualifier Valid value is `7` – Agreed upon code. | 7 |
|  |  | TAX02 | \[0…1\] | – | Duty or tax or fee type. | – |
|  |  |  | TAX02.1 | \[1…1\] | 1/3 | **Required.** Duty or tax or fee type name code.  Valid Value:  [![Closed](/sites/default/files/tech_comms/mpl/Skins/Default/Stylesheets/Images/transparent.gif)Valid values:](#)- `VAT` – Corresponds to the canonical code `VAT`. The value added tax. - `TOT` – Corresponds to the canonical code `GOODSANDSERVICES`. The total tax levied on goods and services. - `STT` – Corresponds to the canonical code `STATESALES`. The state or provincial sales tax. - `LOC` – Corresponds to the canonical code `CITYSALES`. The local sales tax. - `IMP` – Corresponds to the canonical code `CUSTOMSDUTY`. The import tax on customs duty. - `OTH` – Corresponds to the canonical code `SURTAX`. Other taxes. | VAT |
|  |  |  | TAX02.2 | \[1…1\] | 1/3 | **Required.** Code list identification code. | – |
|  |  | TAX03 | \[1…1\] | 1/3 | **Required.** Duty or tax or fee account detail. | – |
|  |  | TAX04 | \[1…1\] | 1/3 | **Required.** Duty or tax or fee assessment basis quantity. | – |
|  |  | TAX05 | \[0…1\] | – | Duty or tax or fee detail. | – |
|  |  |  | TAX05.1 | \[1…1\] | 1/3 | **Required.** Duty or tax or fee rate code. | – |
|  |  |  | TAX05.2 | \[1…1\] | 1/3 | **Required.** Code list identification code. | – |
|  |  |  | TAX05.3 | \[1…1\] | 1/3 | **Required.** Code list responsible agency code. | – |
|  |  |  | TAX05.4 | \[1…1\] | 1/3 | **Required.** Duty or tax or fee rate. | 19 |
|  |  | TAX06 | \[1…1\] | 1/3 | **Required.** Duty or tax or fee category code. Valid value is `S` = Standard rate. | S |
|  | MOA | \[0…10\] | – | Monetary amount. | – |
|  |  | MOA01 |  |  | Monetary amount. |  |
|  |  |  | MOA01.1 |  | 1/3 | Monetary amount type qualifier.  [![Closed](/sites/default/files/tech_comms/mpl/Skins/Default/Stylesheets/Images/transparent.gif)Valid values:](#)- `23` – Charge Amount - `79` – Total line items amount - `86` – Message total monetary amount - `124` – Tax amount - `125` – Taxable amount - `129` – Total amount subject to payment discount - `131` – Total charges/allowances - `154` – Message total duty/tax/fee amount - `203` – Line item amount | 124 |
|  |  |  | MOA01.2 |  | 1/18 | Monetary amount. | – |
|  |  |  | MOA01.3 |  | 1/3 | Currency, coded. | – |
|  |  |  | MOA01.4 |  | 1/3 | Monetary amount. | – |
|  |  |  | MOA01.5 |  | 1/3 | Currency, coded. | – |
| UNT | \[1…\*\] |  | UNT message trailer(UNH…UNT transaction). | – |
|  | UNT01 | \[1…1\] | 1/14 | **Required.** Number of segments in a message, starting with UNH and ending with UNT. | 45 |
|  | UNT02 | \[1…1\] | 1/14 | **Required.** Message reference number. | 1 |
| UNZ | \[1…1\] | – | **Required.** UNB… UNZ interchange control trailer envelope. Only one interchange expected per transmission. | – |
|  | UNZ01 | \[1…1\] | 1/5 | **Required.** Interchange control count. | 1 |
|  | UNZ02 | \[1…1\] | 1/14 | **Required.** Interchange control reference. | 3 |

 

 

[![Closed](/sites/default/files/tech_comms/mpl/Skins/Default/Stylesheets/Images/transparent.gif)Example](#)```xml
UNA:+.?
UNB+UNOH:3+7777776067344:ZZZ+7777776069999:ZZZ+231020:1420+131+PASSCODE:BB+ORDER
S++1++I
UNH+1+INVOIC:D:96A:UN
BGM+380+2738662+9
DTM+137:20221016:102
DTM+46:20230401:102
DTM+2:20230109:102
DTM+69:20230108:102
DTM+36:20230101:102
DTM+149:20230102:102
DTM+4:20230105:102
DTM+318:20230106:102
DTM+10:20230107:102
RFF+ON:PO-004545
RFF+CT:CONTRACT123
RFF+BC:CUSTCONTRACT-0045450
RFF+DM:DOC-0045450
RFF+RE:RELEASE-0045450
RFF+VC:SUPPCONTRACT-0045450
RFF+VN:SO888999
RFF+IV:IV777666
NAD+RE+0001014700::91++Pharma Wholesale Supplier+2522 Bellisarios Drive:Main
Floor+South Miami+FL+33563+US
CTA+PD+ContactIdentifier:ContactPerson
COM+someperson@email.com:EM*12345678:TE
NAD+BY+123456789::16++Pharma Customer+3489 San Juan Boulevard:Suite 777+Kendall
Beach+FL+33243+ME
NAD+BS+8712199999999::16++Bill and shipto Name+Bill and Shipto
Street1:Street2+BS_City+BS_State+Postal_code+BR
CTA+PD+contactTitle:ContactName
COM+someperson@email.com:EM*12345678:TE
NAD+BT+0123568789033::92++Pharma Customer_BT+3489 San Juan Boulevard_BT:Suite
777_BT+Kendall Beach_BT+FL+33243+AU
NAD+SF+0123568789044::91++Pharma Customer_SF+3489 San Juan Boulevard_SF:Suite
777_SF+Kendall Beach_SF+FL+33244+DE
NAD+PR+0123568789033::91++Pharma Customer_PR+3489 San Juan Boulevard_PR:Suite
777_PR+Kendall Beach_PR+FL+33245+CN
CTA+PD+ContactTitle:ContactName
COM+someperson@email.com:EM*12345678:TE
NAD+ST+8888888888::91++Pharma Customer+3489 San Juan Boulevard:Suite 777+Kendall
Beach+FL+33243+NL
NAD+SU+987654321::16++Pharma1 Supplier+555 Neelan Road+Newark+NJ+07101+RU
CTA+SU+ContactIdentifier:ContactPerson
COM+someperson@email.com:EM*12345678:TE
NAD+CA+987654322::16++Pharma1 Supplier_CA+555 Neelan Road_CA+Newark+NJ+07102+CA
TAX+7+VAT+99+98+97:96:95:19.00
MOA+124:16.2
CUX+2:EUR:9++2
PYT+1+100:99:98:until 07/11/2003 for 3% discount
PCD+122:5.00
ALC+J+500.00
LIN+000010++00123456789013:ON
PIA+1+IN-CUST3000000333:IN
PIA+1+BP-BYE-3000000333:BP
PIA+1+VN-vend-4000000326:VN
PIA+1+UP-3000000333:UP
PIA+1+LOT-123:BB
PIA+1+MF-140001414:MF
IMD+F+100+4:::SORITOL SR FCT 20MG 3X10 IL
QTY+21:12000:EA
QTY+47:22000:YD
DTM+46:20230410:102
DTM+2:20230111:102
DTM+69:20230101:102
DTM+36:20230110:102
DTM+149:20230110:102
DTM+137:20230110:102
DTM+4:20230110:102
DTM+318:20230110:102
DTM+10:20230110:102
PRI+AAB:188000.00
TAX+7+LOC+94+93+92:91:90:20.00
MOA+124:1800.00
ALC+J+500.00
UNS+S
CNT+2:1
MOA+203:200.00
MOA+124:18800.00
MOA+125:169200.00
MOA+129:169200.00
TAX+7+VAT+89+88+87:86:85:19+S
MOA+124:503.50
TAX+7+TOT+84+83+82:81:80:21+S
MOA+124:453.60
UNT+76+1
UNZ+3+2
```

 

 

 

 

 ![](/sites/default/files/tech_comms/mpl/Content/Resources/Images/global_images/note_tip_24x24.png) Review TraceLink's [API: Terms of Use](https://www.tracelink.com/legal-and-trust/api-terms-of-use)



 

 

 

 

#### Table of contents

 

 

 

 

 

 

 

##### Related Content

 

 [ ![Related content](https://www.tracelink.com/sites/default/files/2024-09/cloud.svg) ](/resources/tracelink-university/advance-ship-notice-edifact) 

#####  Advance ship notice (EDIFACT) 

 Shipment notices allow companies to exchange serialized data for sales shipments with upstream and downstream supply chain trade partners without giving these trade partners access to their serialization system of record. 

 

 [View More](/resources/tracelink-university/advance-ship-notice-edifact) 

 

 [ ![Related content](https://www.tracelink.com/sites/default/files/2024-09/cloud.svg) ](/resources/tracelink-university/invoice-idoc) 

#####  Invoice (IDoc) 

 The Invoice IDoc message sends a request for payment from the seller to the buyer and details information such as the full amount due and payment terms. 

 

 [View More](/resources/tracelink-university/invoice-idoc) 

 

 [ ![Related content]() ](/resources/tracelink-university/posted-sales-invoice-inbound-apis-link-actions) 

#####  Posted Sales Invoice Inbound APIs - Link Actions 

The Posted Sales Invoice in MS Dynamics Business Central ERP records the details of a completed sales transaction.

 

 

 [View More](/resources/tracelink-university/posted-sales-invoice-inbound-apis-link-actions) 

 

 [ ![Related content](https://www.tracelink.com/sites/default/files/2024-09/cloud.svg) ](/resources/tracelink-university/inventory-balances-edifact) 

#####  Inventory balances (EDIFACT) 

 Inventory balances allow suppliers to communicate with their remote or third-party warehouses about their available and upcoming inventory levels. 

 

 [View More](/resources/tracelink-university/inventory-balances-edifact) 

 

 [ ![Related content](https://www.tracelink.com/sites/default/files/2024-09/cloud.svg) ](/resources/tracelink-university/handling-and-movement-instruction-edifact) 

#####  Handling and movement instruction (EDIFACT) 

 The Handling and Movement Instruction is an EDIFACT message that enables organizations to issue standardized movement and handling instructions to their supply chain partners. 

 

 [View More](/resources/tracelink-university/handling-and-movement-instruction-edifact) 

 

 [ ![Related content](https://www.tracelink.com/sites/default/files/2024-09/cloud.svg) ](/resources/tracelink-university/inventory-updates-edifact) 

#####  Inventory updates (EDIFACT) 

 Inventory updates allow suppliers to communicate with their remote or third-party warehouses, 3PLs, or CMOs about changes to the available inventory for specific products. 

 

 [View More](/resources/tracelink-university/inventory-updates-edifact)