  

 

Tracelink University

 ## Breadcrumb

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

 

 

# Inventory balances (EDIFACT)

 

 

 

 

 

 

 

 

- [Download PDF](/node/626001/pdf)
- [Share](#)
    - [ LinkedIn ](https://www.linkedin.com/shareArticle?mini=true&url=https://www.tracelink.com/resources/tracelink-university/inventory-balances-edifact&title=Inventory balances (EDIFACT)&summary=Inventory balances allow suppliers to communicate with their remote or third-party warehouses about their available and upcoming inventory levels. &source=TraceLink "LinkedIn")
    - [ Facebook ](https://www.facebook.com/share.php?u=https://www.tracelink.com/resources/tracelink-university/inventory-balances-edifact&t=Inventory balances (EDIFACT) "Facebook")
    - [ Mail ](mailto:?subject=Inventory balances (EDIFACT)+|+TraceLink&body=https://www.tracelink.com/resources/tracelink-university/inventory-balances-edifact "Mail")
    - [ Twitter ](https://twitter.com/intent/tweet?text=Inventory balances (EDIFACT) https://www.tracelink.com/resources/tracelink-university/inventory-balances-edifact&via=TraceLink "Twitter")
 
 

 

 

 

 

#### Table of contents

 

 

 

**Inventory balances** allow suppliers to communicate with their remote or third-party warehouses about their available and upcoming inventory levels. Inventory balances contain several types of inventory information such as physical product location within a warehouse, product category, and total available inventory. Communicating inventory levels ensures suppliers can keep the required amount of inventory stocked at their locations and enables them to perform other key activities like properly preparing to fulfill large orders. Inventory balances are usually sent at regular intervals or because the buyer requests inventory information.

Suppliers use inventory balances to communicate about available and upcoming inventory levels with their remote or third-party warehouses, or buyers.

 ![](/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\_INVENTORY\_BALANCE (Inventory Balance)
- **EDIFACT Format**: EDIFACT INVRPT
- **Transform Names**: 
    - B2B\_EDI\_EDIFACT\_INVRPT\_InventoryBalance\_IB\_V1
    - B2B\_EDI\_EDIFACT\_INVRPT\_InventoryBalance\_OB\_V1
 
[![Closed](/sites/default/files/tech_comms/mpl/Skins/Default/Stylesheets/Images/transparent.gif)Guidelines](#)             Input Element Occurs Length Description Example     INVRPT \[1…1\]  
   **Required.** EDIFACT orders.     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/4 **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` – Duns (Dun &amp; Bradstreet). Partner identification code assigned by Dun &amp; Bradstreet.
- `4` – IATA (International Air Transport Association) partner identification code assigned by the International Air Transport Association.
- `5` – INSEE (Institut National de la Statistique et des Etudes Economiques) - SIRET. French national statistics institute. SIRET means Systeme Informatique du Repertoire des entreprises et de leurs Etablissements.
- `8` – UCC Communications ID (Uniform Code Council Communications Identifier) a ten digit code used to uniquely identify physical and logical locations.
- `9` – DUNS (Data Universal Numbering System) partner identifier with 4 digit suffix assigned by Dun &amp; Bradstreet.
- `12` – Telephone number where a partner identification code corresponds to the partner telephone number.
- `14` – GS1. Partner identification code assigned by GS1, an international organization of GS1 Member Organizations that manages the GS1 System.
- `18` – AIAG (Automotive Industry Action Group) partner identifier code assigned by the Automotive Industry Action Group.
- `22` – INSEE (Institut National de la Statistique et des Etudes Economiques) - SIREN (Systeme Informatique du Repertoire des Entreprises et de leurs etablissements). French national statistics institute.
- `30` – ISO 6523: Organization identification. Partner identification code specified in ISO 6523 for the identification of organizations.
- `31` – DIN (Deutsches Institut fuer Normung). German standardization institute.
- `33` – BfA (Bundesversicherungsanstalt fuer Angestellte). German social security association.
- `34` – National Statistical Agency. Partner identification code assigned by a national statistical agency.
- `51` – GEIS (General Electric Information Services). Partner identification code assigned by General Electric Information Services.
- `52` – INS (IBM Network Services). Partner identification code assigned by IBM Network Services.
- `53` – Datenzentrale des Einzelhandels. German data centre for retail trade.
- `54` – Bundesverband der Deutschen Baustoffhaendler. German building material trade association.
- `55` – Bank identifier code.
- `57` – KTNet (Korea Trade Network Services) partner identification code.
- `58` – UPU (Universal Postal Union) partner identification code.
- `59` – ODETTE (Organization for Data Exchange through Tele-Transmission in Europe). European automotive industry project.
- `61` – SCAC (Standard Carrier Alpha Code). Directory of standard multimodal carriers and tariff agent codes. The SCAC lists and codes transportation companies.
- `63` – ECA (Electronic Commerce Australia). Australian association for electronic commerce.
- `65` – TELEBOX 400 (Deutsche Telekom). German telecommunications service.
- `80` – NHS (National Health Service). United Kingdom National Health Service.
- `82` – Statens Teleforvaltning. Norwegian telecommunications regulatory authority (NTRA).
- `84` – Athens Chamber of Commerce. Greek Chamber of Commerce.
- `85` – Swiss Chamber of Commerce.
- `86` – United States Council for International Business.
- `87` – National Federation of Chambers of Commerce and Industry. Belgium National Federation of Chambers of Commerce and Industry.
- `89` – Association of British Chambers of Commerce.
- `90` – SITA (Societe Internationale de Telecommunications Aeronautiques).
- `91` – Partner identifier assigned by seller or seller's agent.
- `92` – Partner identifier assigned by buyer or buyer's agent.
- `103` – TW Trade-van an EDI VAN service center for customs, transport, and insurance in national and international trade.
- `128` – CH BCNR (Swiss Clearing Bank Number) identifier for a Swiss clearing bank as a sender and/or receiver of an electronic message.
- `129` – CH BPI (Swiss Business Partner Identification) identifier code for a corporate or Swiss non-clearing bank as a sender and/or receiver of an electronic message.
- `144` – US DoDAAC (Department of Defense Activity Address Code). Code assigned to uniquely identify all military units in the United States Department of Defense.
- `145` – FR DGCP (Direction Generale de la Comptabilite Publique). Code assigned by the French public accounting office.
- `146` – FR DGI (Direction Generale des Impots). Code assigned by the French taxation authority.
- `147` – JP JIPDEC/ECPC (Japan Information Processing Development Corporation / Electronic Commerce Promotion Center) party identification code.
- `148` – ITU (International Telecommunications Union) Data Network Identification Code (DNIC).
- `500` – DE BDEW (Bundesverband der Energie- und Wasserwirtschaft e.V.). The Federal Association of Energy and Water (BDEW) is the trade association of the German natural gas, electricity supply, long-distance heating and water supply industries.
- `501` – EASEE-gas (European Association for the Streamlining of Energy Exchange). Partner identification code registered with EASEE-gas.
- `502` – DE DVGW (Deutsche Vereinigung des Gas- und Wasserfaches e.V.) the German Technical and Scientific Association for Gas and Water.
- `Z01` – Registration number of a vehicle assigned by a recognised authority.
- `ZZZ` – Mutually defined between trading partners.
 
 

 

  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` – Duns (Dun &amp; Bradstreet). Partner identification code assigned by Dun &amp; Bradstreet.
- `4` – IATA (International Air Transport Association) partner identification code assigned by the International Air Transport Association.
- `5` – INSEE (Institut National de la Statistique et des Etudes Economiques) - SIRET. French national statistics institute. SIRET means Systeme Informatique du Repertoire des entreprises et de leurs Etablissements.
- `8` – UCC Communications ID (Uniform Code Council Communications Identifier) a ten digit code used to uniquely identify physical and logical locations.
- `9` – DUNS (Data Universal Numbering System) partner identifier with 4 digit suffix assigned by Dun &amp; Bradstreet.
- `12` – Telephone number where a partner identification code corresponds to the partner telephone number.
- `14` – GS1. Partner identification code assigned by GS1, an international organization of GS1 Member Organizations that manages the GS1 System.
- `18` – AIAG (Automotive Industry Action Group) partner identifier code assigned by the Automotive Industry Action Group.
- `22` – INSEE (Institut National de la Statistique et des Etudes Economiques) - SIREN (Systeme Informatique du Repertoire des Entreprises et de leurs etablissements). French national statistics institute.
- `30` – ISO 6523: Organization identification. Partner identification code specified in ISO 6523 for the identification of organizations.
- `31` – DIN (Deutsches Institut fuer Normung). German standardization institute.
- `33` – BfA (Bundesversicherungsanstalt fuer Angestellte). German social security association.
- `34` – National Statistical Agency. Partner identification code assigned by a national statistical agency.
- `51` – GEIS (General Electric Information Services). Partner identification code assigned by General Electric Information Services.
- `52` – INS (IBM Network Services). Partner identification code assigned by IBM Network Services.
- `53` – Datenzentrale des Einzelhandels. German data centre for retail trade.
- `54` – Bundesverband der Deutschen Baustoffhaendler. German building material trade association.
- `55` – Bank identifier code.
- `57` – KTNet (Korea Trade Network Services) partner identification code.
- `58` – UPU (Universal Postal Union) partner identification code.
- `59` – ODETTE (Organization for Data Exchange through Tele-Transmission in Europe). European automotive industry project.
- `61` – SCAC (Standard Carrier Alpha Code). Directory of standard multimodal carriers and tariff agent codes. The SCAC lists and codes transportation companies.
- `63` – ECA (Electronic Commerce Australia). Australian association for electronic commerce.
- `65` – TELEBOX 400 (Deutsche Telekom). German telecommunications service.
- `80` – NHS (National Health Service). United Kingdom National Health Service.
- `82` – Statens Teleforvaltning. Norwegian telecommunications regulatory authority (NTRA).
- `84` – Athens Chamber of Commerce. Greek Chamber of Commerce.
- `85` – Swiss Chamber of Commerce.
- `86` – United States Council for International Business.
- `87` – National Federation of Chambers of Commerce and Industry. Belgium National Federation of Chambers of Commerce and Industry.
- `89` – Association of British Chambers of Commerce.
- `90` – SITA (Societe Internationale de Telecommunications Aeronautiques).
- `91` – Partner identifier assigned by seller or seller's agent.
- `92` – Partner identifier assigned by buyer or buyer's agent.
- `103` – TW Trade-van an EDI VAN service center for customs, transport, and insurance in national and international trade.
- `128` – CH BCNR (Swiss Clearing Bank Number) identifier for a Swiss clearing bank as a sender and/or receiver of an electronic message.
- `129` – CH BPI (Swiss Business Partner Identification) identifier code for a corporate or Swiss non-clearing bank as a sender and/or receiver of an electronic message.
- `144` – US DoDAAC (Department of Defense Activity Address Code). Code assigned to uniquely identify all military units in the United States Department of Defense.
- `145` – FR DGCP (Direction Generale de la Comptabilite Publique). Code assigned by the French public accounting office.
- `146` – FR DGI (Direction Generale des Impots). Code assigned by the French taxation authority.
- `147` – JP JIPDEC/ECPC (Japan Information Processing Development Corporation / Electronic Commerce Promotion Center) party identification code.
- `148` – ITU (International Telecommunications Union) Data Network Identification Code (DNIC).
- `500` – DE BDEW (Bundesverband der Energie- und Wasserwirtschaft e.V.). The Federal Association of Energy and Water (BDEW) is the trade association of the German natural gas, electricity supply, long-distance heating and water supply industries.
- `501` – EASEE-gas (European Association for the Streamlining of Energy Exchange). Partner identification code registered with EASEE-gas.
- `502` – DE DVGW (Deutsche Vereinigung des Gas- und Wasserfaches e.V.) the German Technical and Scientific Association for Gas and Water.
- `Z01` – Registration number of a vehicle assigned by a recognised authority.
- `ZZZ` – Mutually defined between trading partners.
 
 

 

  1         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. 231020       UNB04.2 \[1…1\]  
 4/4 **Required.** Time of preparation. 1420     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. INVRPT     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     UNH \[1…\*\]  
   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. INVRPT           UNH02.2 \[1…1\]  
 1/3 **Required.** Message type version number. D           UNH02.3 \[1…1\]  
 '1/3 **Required.** Message type release number. 97A           UNH02.4 \[1…1\]  
 '1/3 **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\]  
 1/2 **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 Processing function.

 Valid values:

- `1` - Added or Created
- `2` - Deleted or Canceled
- `3` - Changed
 
  1           BGM01.2 \[0…1\]  
 1/17 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\]  
   Document or message number.             BGM02.1 \[0…1\]  
 1/70 Document identifier. 2738662         BGM03 \[0…1\]  
 1/3 Message function, coded.

 Valid values:

- `9` - Original document, create in target.
- `4` - Change order.
- `1` - Cancel order.
 
  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\]  
 1/3 **Required.** Date or time or period qualifier.

Valid values:

- `7` – Effective date
- `44` – Availability date
- `90` – Report start date
- `91` – Report end date
- `137` – Document date or time
- `273` – Validity period
 
  137           DTM01.2 \[0…1\]  
 1/35 Date 20230304           DTM01.3 \[0…1\]  
 1/3 Date or time or period format qualifier.

Valid values:

- `102` – YYYYMMDD format
- `203` – CCYYMMDDHHMM format
 
  102       NAD \[0…20\]  
   NAD: Name segment loop for:

- Bill to party
- Supplier party
- Manufacturer party
- Inventory reporting party.
- Warehouse party
- Ship From party
- Distributor party
 
            NAD01 \[1…1\]  
 1/3 **Required.** Party Qualifier for:

- Bill To party.
- Supplier party
- Manufacturer party
- Ship to party
- Ship from party
- Carrier party
 
 Entity identifier code for party identifier and address information for bill to party.

Valid values:

- `BT` – Bill to party.
- `SU` – Supplier
- `MF` – Manufacturer party.
- `GY` – Inventory reporting party.
- `WH` – Warehouse party.
- `ST` – Ship to party.
- `SF` – Ship From Party.
- `DS` – Distributor party.
 
  N/A         NAD02 \[0…1\]  
   Party identification details.             NAD02.1 \[1…1\]  
 1/35 **Required.** Party identifier. 8712199999999           NAD02.2 \[0…1\]  
 1/3 Code list identification code.             NAD02.3 \[0…1\]  
 1/3 Code list responsible agency code.

Valid values:

- `16` – D-U-N-S number, Dun and Bradstreet.
- `91` – Assigned by seller or company identifier.
- `92` – Assigned by buyer or company site identifier.
- `164` – Drug Enforcement Agency registration number.
 
  16         NAD03 \[0…1\]  
   Name and address.             NAD03.1 \[1…1\]  
 1/35 **Required.** Name and address description.             NAD03.2 \[0…1\]  
 1/35 Name and address description.           NAD04 \[0…1\]  
   Party name.             NAD04.1 \[1…1\]  
 1/35 **Required.** Party name. Supplier Name           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. Supplier Street           NAD05.2 \[0…1\]  
 1/35 Street and number or postal box.           NAD06 \[0…1\]  
 1/35 City name. Supplier City         NAD07 \[0…1\]  
   Country subdivision details.             NAD07.1 \[0…1\]  
 1/9 Country sub-entity identification.           NAD08 \[0…1\]  
 1/17 Postcode identification code. Postal Code       NAD09 \[0…1\]  
 1/3 Country identifier.

[![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
 
 

 

          CTA \[0…10\]  
   CTA: Contact information.            CTA01 \[1…1\]  
 1/3 **Required.** Contact function, coded. Valid value is `SU` –Supplier contact.

  SU         CTA02 \[0…1\]  
   Department or employee details.             CTA02.1 \[0…1\]  
 1/17 Department or employee identification.             CTA02.2 \[0…1\]  
 1/256 Department or employee. John Smith       COM \[0…5\]  
   COM: Communication contact.           COM01  \[1…3\]  
   Communication Information             COM01.1 \[1…1\]  
 1/512 **Required.** Communication number. 50812345678           COM01.2 \[1…1\]  
 1/3 **Required.**Communication channel qualifier. TE         COM01  \[1…3\]  
   Communication information.             COM01.1 \[1…1\]  
 1/512 **Required.** Communication number. stx.team@partner.de           COM01.2 \[1…1\]  
 1/3 **Required.** Communication channel qualifier. EM       LIN \[1…9999999\]  
   Line item.            LIN01 \[0…1\]  
 1/6 Line item number. 15         LIN02 \[0…1\]  
 1/3 Processing function,

Valid values:

- `1` - Added or created.
- `2` - Deleted or canceled.
- `3` - Changed.
 
  1         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.

Valid values:

- `BP` – Buyer's product identifier.
- `IN` – Customer's(Buyer's) product item number.
- `SRV` – GS1 Global Trade Item Number.
- `MF` – Manufacturer's product identifier.
- `SK` – SKU, Stock Keeping Unit.
- `VN` – Supplier's catalog number.
- `VP` – Vendor, supplier's part number.
- `UP` – Universal product number (UPC).
- `BC` – Buyer's product identifier.
- `BD` – Manufacturer's product identifier.
- `BE` – Supplier's catalog number.
- `BF` – Universal product number (UPC)
 
  VN           LIN03.3 \[0…1\]  
 1/17 Code list qualifier.         PIA \[0…10\]  
   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.

Valid values:

- `BP` – Buyer's product identifier.
- `IN` – Customer's(Buyer's) product item number.
- `SRV` – GS1 Global Trade Item Number.
- `MF` – Manufacturer's product identifier.
- `SK` – SKU, Stock Keeping Unit.
- `VN` – Supplier's catalog number.
- `VP` – Vendor, supplier's part number.
- `UP` – Universal product number (UPC).
- `BC` – Buyer's product identifier.
- `BD` – Manufacturer's product identifier.
- `BE` – Supplier's catalog number.
- `BF` – Universal product number (UPC).
- `BB` and `NB` – Lot number.
 
  SA           PIA02.3 \[0…1\]  
 1/17 Code list qualifier.           PIA03 \[0…1\]  
   Item Number identification.             PIA03.1 \[0…1\]  
 1/35 Item number. AB80           PIA03.2 \[0…1\]  
 1/3 Item number type, coded.

Valid values:

- `BP` – Buyer's product identifier.
- `IN` – Customer's(Buyer's) product item number.
- `SRV` – GS1 Global Trade Item Number.
- `MF` – Manufacturer's product identifier.
- `SK` – SKU, Stock Keeping Unit.
- `VN` – Supplier's catalog number.
- `VP` – Vendor, supplier's part number.
- `UP` – Universal product number (UPC).
- `BC` – Buyer's product identifier.
- `BD` – Manufacturer's product identifier.
- `BE` – Supplier's catalog number.
- `BF` – Universal product number (UPC).
- `BB` and `NB` – Lot number.
 
  SA           PIA03.3 \[0…1\]  
 1/17 Code list qualifier.           PIA04 \[0…1\]  
   Item number identification.             PIA04.1 \[0…1\]  
 1/35 Item number. AB80           PIA04.2 \[0…1\]  
 1/3 Item number type, coded.

Valid values:

- `BP` – Buyer's product identifier.
- `IN` – Customer's(Buyer's) product item number.
- `SRV` – GS1 Global Trade Item Number.
- `MF` – Manufacturer's product identifier.
- `SK` – SKU, Stock Keeping Unit.
- `VN` – Supplier's catalog number.
- `VP` – Vendor, supplier's part number.
- `UP` – Universal product number (UPC).
- `BC` – Buyer's product identifier.
- `BD` – Manufacturer's product identifier.
- `BE` – Supplier's catalog number.
- `BF` – Universal product number (UPC).
- `BB` and `NB` – Lot number.
 
  SA           PIA04.3 \[0…1\]  
 1/17 Code list qualifier.           PIA05 \[0…1\]  
   Item number identification.             PIA05.1 \[0…1\]  
 1/35 Item number. AB80           PIA05.2 \[0…1\]  
 1/3 Item number type, coded.

Valid values:

- `BP` – Buyer's product identifier.
- `IN` – Customer's(Buyer's) product item number.
- `SRV` – GS1 Global Trade Item Number.
- `MF` – Manufacturer's product identifier.
- `SK` – SKU, Stock Keeping Unit.
- `VN` – Supplier's catalog number.
- `VP` – Vendor, supplier's part number.
- `UP` – Universal product number (UPC).
- `BC` – Buyer's product identifier.
- `BD` – Manufacturer's product identifier.
- `BE` – Supplier's catalog number.
- `BF` – Universal product number (UPC).
- `BB` and `NB` – Lot number.
 
  SA           PIA05.3 \[0…1\]  
 1/17 Code list qualifier.           PIA06 \[0…1\]  
   Item number identification.             PIA06.1 \[0…1\]  
 1/35 Item number. AB80           PIA06.2 \[0…1\]  
 1/3 Item number type, coded.

Valid values:

- `BP` – Buyer's product identifier.
- `IN` – Customer's(Buyer's) product item number.
- `SRV` – GS1 Global Trade Item Number.
- `MF` – Manufacturer's product identifier.
- `SK` – SKU, Stock Keeping Unit.
- `VN` – Supplier's catalog number.
- `VP` – Vendor, supplier's part number.
- `UP` – Universal product number (UPC).
- `BC` – Buyer's product identifier.
- `BD` – Manufacturer's product identifier.
- `BE` – Supplier's catalog number.
- `BF` – Universal product number (UPC).
- `BB` and `NB` – Lot number.
 
  SA           PIA06.3 \[0…1\]  
 1/17 Code list qualifier.         IMD \[0…10\]  
   Item description.            IMD01 \[0…1\]  
 1/3 Item description type, coded

Valid values:

- `C` - Code (from industry code list)
- `F` - Free-form
- `S` - Structured (from industry code list)
- `B` - Code and text
 
  F         IMD02 \[0…1\]  
 1/3 Item characteristic, coded.             IMD02.1 \[0…1\]  
 1/3 Item description identification.             IMD02.2 \[0…1\]  
 1/17 Code list identification code.             IMD02.3 \[0…1\]  
 1/3 Code list responsible agency code.           IMD03 \[0…1\]  
   Item description.             IMD03.1 \[0…1\]  
 1/17 Item description identification.             IMD03.2 \[0…1\]  
 1/17 Code list qualifier.             IMD03.3 \[0…1\]  
 1/3 Code list responsible agency, coded.             IMD03.4 \[0…1\]  
 1/256 Item description. Product description 1           IMD03.5 \[0…1\]  
 1/256 Item description.             IMD03.6 \[0…1\]  
 1/3 Item description.         DTM \[0…5\]  
   Date           DTM01 \[1…1\]  
   **Required.** Date or time or period.             DTM01.1 \[1…1\]  
 1/3 **Required.** Date or time or period qualifier. Valid value is `36` – Expiration date or time. 36           DTM01.2 \[0…1\]  
 1/35 Date. 20230304           DTM01.3 \[0…1\]  
 1/3 Date or time or period format qualifier. Valid value is `102` – YYYYMMDD format. 102       INV \[0…9999\]  
   Inventory.            INV01 \[0…1\]  
 1/3 Inventory movement direction code.           INV02 \[0…1\]  
 1/3 Inventory movement reason code.           INV03 \[0…1\]  
 1/3 Inventory movement reason code.           INV04 \[0…1\]  
 1/3 Inventory balance method code.         QTY \[0…9\]  
   Quantity.           QTY01 \[1…1\]  
   **Required.** Quantity details. 5           QTY01.1 \[1…1\]  
 1/3 **Required.** Quantity qualifier

Valid values:

- `17` – Quantity on hand.
- `21` – Ordered quantity.
- `27` – On Hold quantity.
- `89` – Inspection.
- `170` – Allocated quantity.
 
  17           QTY01.2 \[1…1\]  
 1/35 **Required.** Quantity. 6           QTY01.3 \[0…1\]  
 1/8 Measure unit qualifier.

[![Closed](/sites/default/files/tech_comms/mpl/Skins/Default/Stylesheets/Images/transparent.gif)Valid Values](#)- `CA` – Case.
- `CC` – Cubic Centimeter.
- `CF` – Cubic Feet.
- `CG` – Card, Blister.
- `CI` – Cubic Inches.
- `CL` – Cylinder.
- `CM` – Centimeter.
- `CN` – Can.
- `CP` – Crate.
- `CQ` – Cartridge.
- `CR` – Cubic Meters.
- `CT` – Carton.
- `DA` – Day.
- `DI` – Dispenser.
- `DK` – Kilometers.
- `DL` – Deciliter.
- `DM` – Decimeter.
- `DR` – Drum.
- `DS` – Display.
- `DZ` – Dozen.
- `EA` – Each.
- `FO` – Fluid Ounce.
- `FT` – Foot.
- `GA` – Gallon.
- `GL` – Gram/liter.
- `GR` – Gram.
- `GS` – Gross.
- `H4` – Hectoliter.
- `HF` – Hundred Feet.
- `HR` – Hours.
- `IN` – Inch.
- `K6` – Kiloliters.
- `KG` – Kilogram.
- `KT` – Kit.
- `LB` – Pounds.
- `LF` – Linear Foot.
- `LO` – Lot (unit of procurement).
- `LT` – Liter.
- `LY` – Linear Yard.
- `MC` – Microgram.
- `ME` – Milligram.
- `ML` – Milliliter.
- `MM` – Millimeter.
- `MO` – Months.
- `MR` – Meter.
- `OZ` – Ounces.
- `PC` – Piece.
- `PF` – Pallet.
- `PK` – Package.
- `PR` – Pair.
- `PT` – Pint.
- `QT` – Quart.
- `RL` – Roll.
- `SC` – Square Centimeter.
- `SF` – Months.
- `SH` – Sheet.
- `SI` – Square Inch.
- `SM` – Square Meter.
- `ST` – Set.
- `SY` – Square Yard.
- `T3` – Thousand Pieces.
- `TB` – Tube.
- `TH` – Thousand.
- `TY` – Tray.
- `U2` – Tablet.
- `UM` – Million.
- `UN` – Unit.
- `V2` – Pouch.
- `VI` – Vial.
- `WK` – Week.
- `YD` – Yard.
- `YR` – Years.
 
 

 

  EA     UNT \[1…1\]  
   **Required.** UNT Message Trailer(UNH…UNT transaction) .          UNT01 \[1…1\]  
 1/10 **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/6 **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+UNOB:1+SENDER1:14:ZZUK+RECEIVER1:1:ZZUK+240913:1420+131+XYZ:AA+INVRPT++1++I'
UNH+000000101+INVRPT:D:97A:UN+Interchg_id'
BGM+35+2738662+1'
DTM+7:20230304:102'
DTM+36:202303051207'
DTM+44:20230306154812111:304'
DTM+90:20230307:102'
DTM+91:20230308124812:204'
DTM+137:202303091209:203'
DTM+273:20230310113445:204'
NAD+BT+8712199999999::16++BillTo Name+BillTo Street1:BillTo
Street2+BillToCity+BT_State+BTPostalcode+US'
CTA+PD+:Contact Person_BT'
COM+1234567890:TE'
COM+BT_Email@partner.de:EM'
NAD+SU+8712199998888::164++Supplier Name+Supplier Street1:Supplier
Street2+SuppliCity+SU_State+SUPostalcode+US'
CTA+PD+:Contact Person_SU'
COM+1234567891:TE'
COM+SU_Email@partner.de:EM'
NAD+MF+8712199997777::91++Manufacturer Name+Manufacturer Street1:Manufacturer
Street2+MF_City+MF_State+MFPostalcode+US'
CTA+PD+:Contact Person_MF'
COM+1234567892:TE'
COM+MF_Email@partner.de:EM'
NAD+GY+8712199996666::92++Reporting Name+Reporting Street1:Reporting
Street2+GY_City+GY_State+GYPostalcode+US'
CTA+PD+:Contact Person_GY'
COM+1234567893:TE'
COM+GY_Email@partner.de:EM'
NAD+WH+8712199995555::16++Warehouse Name+Warehouse Street1:Warehouse
Street2+WH_City+WH_State+WHPostalcode+US'
CTA+PD+:Contact Person_WH'
COM+1234567894:TE'
COM+WH_Email@partner.de:EM'
NAD+ST+8712199994444::164++ShipTo Name+ShipTo Street1:ShipTo
Street2+ST_City+ST_State+STPostalcode+US'
CTA+PD+:Contact Person_ST'
COM+1234567895:TE'
COM+ST_Email@partner.de:EM'
NAD+SF+8712199993333::91++ShipFrom Name+ShipFrom Street1:ShipFrom
Street2+SF_City+SF_State+SFPostalcode+US'
CTA+PD+:Contact Person_SF'
COM+1234567896:TE'
COM+SF_Email@partner.de:EM'
NAD+DS+8712199992222::92++Distributor Name+Distributor Street1:Distributor
Street2+DS_City+DS_State+DSPostalcode+US'
CTA+PD+:Contact Person_DS'
COM+1234567897:TE'
COM+DS_Email@partner.de:EM'
LIN+0001+1+8712100000010:VN'
PIA+1+Customer1:IN+GTIN14_1:SRV+UPC_1:UP+US_NDC442_1:BC+US_NDC532_1:BD'
PIA+2+Customer2:IN+Buyer1:BP+Manufacturer1:MF'
PIA+3+LOT1:BB+US_NDC542_1:BF+US_NDC541_1:BE+SKU_1:SK'
IMD+F++:::Product Description 1::EN'
IMD+F++:::Product Description 2::AR'
DTM+7:20240304:102'
DTM+36:202403051207'
DTM+44:20240306154812111:304'
DTM+90:20240307:102'
DTM+91:20240308124812:204'
INV++++1'
QTY+17:60:EA'
QTY+21:100:PC'
INV++++2'
QTY+27:10:CA'
QTY+89:20:PK'
QTY+170:30:EA'
UNT+78+s121'
UNZ+124+s125''
```

 

 

 

 

 ![](/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/forecast-plan-idoc) 

#####  Forecast plan (IDoc) 

 Forecasting APIs allow companies to exchange data about anticipated product demand and supply availability with upstream supply chain Partners without giving these Partners access to their serialization system of record. 

 

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

 

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

#####  Forecast plan (X12) 

 Forecasting APIs allow companies to exchange data about anticipated product demand and supply availability with upstream supply chain Partners without giving these Partners access to their serialization system of record. 

 

 [View More](/resources/tracelink-university/forecast-plan-x12) 

 

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

#####  Forecast plan response (IDoc) 

 Forecasting APIs allow companies to exchange data about anticipated product demand and supply availability with downstream supply chain Partners without giving these Partners access to their serialization system of record. 

 

 [View More](/resources/tracelink-university/forecast-plan-response-idoc)