Inventory APIs
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 can also use inventory balances to communicate their inventory levels to buyers for forecasting purposes, or if the buyer is a wholesaler and needs to ensure the supplier has the required amount of product in-stock before placing an order.
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. Communicating inventory quantity or status updates allows companies to maintain accurate inventory records, which ensures compliance with government regulations, optimizes warehouse operations, reduces inefficiencies, and prevents stockouts or overstocks. Companies are also able to make informed decisions regarding procurement, production, and inventory management strategies.
These inventory updates often occur because a supplier finds a discrepancy between the inventory records in their system compared to the physical quantities they find on the shelves in the warehouse, either during a routine inventory check or when an incident happens (e.g. the warehouse is short for an order the system says they should be able to fill, a pallet is damaged).
Type = API Reference,; Topic = Multienterprise Information Network Tower (MINT), Transforms,;Persona = TraceLink Administrator, User,; Orchestration = Manufacturing, Logistics, Commerce, Clinical Supply,; Function = Supply Chain, IT, Procurement,
Inventory Balances (IDoc)
Suppliers use inventory balances to communicate about available and upcoming inventory levels with their remote or third-party warehouses or buyers.
Contact your TraceLink Services representative for more information about integrating with this message.
- Message Type: MPC_INVENTORY_BALANCE (Inventory Balance)
- IDoc Format: INVRPT01
- Transform Names:
- B2B_IDoc_INVRPT_INVRPT01_InventoryBalance_IB_V2
- B2B_IDoc_INVRPT_INVRPT01_InventoryBalance_OB_V1

Input Element | Occurs | Length | Description | Example | ||||||
---|---|---|---|---|---|---|---|---|---|---|
INVRPT01 | – | Required. XML IDoc DESADV root element. | – | |||||||
IDOC | – | Required. IDoc root. | – | |||||||
@BEGIN | 0/* | Required. Begin of message attribute. | 1 | |||||||
EDI_DC40 | – | Required. IDoc control record. | – | |||||||
@SEGMENT | 0/* | Required. Begin of segment attribute. | 1 | |||||||
TABNAM | 0/* | Required. IDoc table name. | EDI_DC40 | |||||||
MANDT | 0/3 | Client. | 300 | |||||||
DOCNUM | 0/16 | IDoc number. | 0000000000619827 | |||||||
STATUS | 0/* | Current IDoc processing status. | 03 | |||||||
DIRECT | 0/* | Required. Direction. | 1 | |||||||
OUTMOD | 0/1 | Output mode. | 2 | |||||||
EXPRSS | 0/1 | Overriding in inbound processing. | – | |||||||
TEST | 0/1 | Test flag. | – | |||||||
IDOCTYP | 0/30 | Required. IDoc basic type. | INVRPT | |||||||
CIMTYP | 0/* | Name of extension type. | – | |||||||
MESTYP | 0/* | Logical message type. | INVRPT01 | |||||||
MESCOD | 0/3 | Logical message code. | – | |||||||
MESFCT | 0/3 | Logical message function. | – | |||||||
STD | 0/1 | EDI standard. | – | |||||||
STDVRS | 0/6 | Version of EDI standard. | – | |||||||
STDMES | 0/6 | EDI message type. | – | |||||||
SNDPOR | 0/10 | Required. Sender port (SAP System, EDI subsystem). | SAPD11 | |||||||
SNDPRT | 0/2 | Required. Partner type of sender. | LS | |||||||
SNDPFC | 0/2 | Partner function of sender. | – | |||||||
SNDPRN | 0/10 | Partner number of sender. | ERPCLNT302 | |||||||
SNDSAD | 0/21 | Sender address (SADR). | – | |||||||
SNDLAD | 0/70 | Instance 1 of the logical address of sender mapping to fileSenderNumber. Require a value that concatenates party type with party identifier in party type format. | 0010136941923 | |||||||
RCVPOR | 0/10 | Required. SAP receiver port. | TRACELINK | |||||||
RCVPRT | 0/2 | Partner type of receiver. | LS | |||||||
RCVPFC | 0/2 | Partner function of receiver. | LS | |||||||
RCVPRN | 0/10 | Partner number of receiver. | TRACELINK | |||||||
RCVSAD | 0/21 | Receiver address (SADR). | – | |||||||
RCVLAD | 0/70 | Instance 1 logical address of receiver. Required for TraceLink. Identifies the receiver of the IDoc for the TraceLink system. 's location ID. Must match the value that the IDoc sender has configured for their receiver partner in TraceLink. | 3333331013655 | |||||||
CREDAT | 8/8 | Required. Date IDoc was created in format YYYYMMDD. | 20230511 | |||||||
CRETIM | 6/6 | Required. Time IDoc was created in format HHMMSS. | 161000 | |||||||
REFINT | 0/14 | Reference to interchange file. | – | |||||||
REFGRP | 0/14 | Reference to message group. | – | |||||||
REFMES | 0/14 | Reference to message. | – | |||||||
ARCKEY | 0/70 | EDI archive key. | – | |||||||
SERIAL | 0/20 | EDI/ALE: Serialization field. | – | |||||||
E1DRM01 | – | Required. Inventory balance report header segment. | – | |||||||
@SEGMENT | 0/* | Required. Begin of segment attribute. | 1 | |||||||
ACTION | 0/3 |
Processing action code for the whole IDoc message. Valid values:
Not populated – Not applicable. |
ORIGINAL | |||||||
EFF_DATE | 0/8 | Effective date for inventory balance report. | 20240228 | |||||||
EFF_TIME | 0/6 | Effective time. | 12:40:34 | |||||||
TRANSNO | 0/35 | Inventory balance report document number. | 0081426104 | |||||||
TRANDATE | 0/8 | Inventory balance report document date. | 2024-03-08 | |||||||
TRANTIME | 0/6 | Inventory balance report document time. | 1 | |||||||
E1ADRM0 | – |
Mapping for bill-to party (customer) identifier and address information. |
– | |||||||
@SEGMENT | 0/* | Required. Begin of segment attribute. | 1 | |||||||
PARTNER_Q | 0/3 |
Qualifier identifying customer party location data. Valid values:
|
AG | |||||||
ADDRESS_T | 0/1 | Address type. | – | |||||||
PARTNER_ID | 0/17 | SAP partner number. | 0001307782 | |||||||
JURISDIC | 0/17 | Location for tax calculation - Tax Jurisdiction Code. | – | |||||||
LANGUAGE | 0/2 | Language key. | EN | |||||||
NAME1 | 0/40 | Party name or description. | BLUE FERRET HEALTH | |||||||
NAME2 | 0/* | Party name or description. | – | |||||||
NAME3 | 0/* | Party name or description. | – | |||||||
STREET1 | 0/40 | House number and street. | 5995 COMMERCE CENTER DR | |||||||
STREET2 | 0/40 | House number and street. | – | |||||||
STREET3 | 0/40 | House number and street. | – | |||||||
POSTL_COD1 | 0/10 | Postal code. | 43125 | |||||||
CITY1 | 0/40 | Town or city. | GROVEPORT | |||||||
TELEPHONE1 | 0/30 | Telephone number. | 6144096700 | |||||||
TELEFAX | 0/30 | Telephone number. | 6144096751 | |||||||
COUNTRY1 | 0/3 | Country indicator (ISO alphanumeric). | US | |||||||
REGION | 0/3 | Region, state code. | OH | |||||||
E1DRM02 | – | Inventory balance report line item details. | – | |||||||
@SEGMENT | 0/* | Required. Begin of segment attribute. | 1 | |||||||
POSEX | 0/6 | Line item number for inventory balance report. | 000010 | |||||||
ACTION | 0/3 |
Processing function, transaction set purpose code. Valid values:
Not populated – Not applicable. |
– | |||||||
STQTY | 0/15 | Line item quantity. | 1000 | |||||||
MEASUNIT | 0/3 |
Unit of measure for total line item quantity. Quantity UOM's values:
|
EA | |||||||
EFF_DATE | 0/8 | Effective date. | 20240308 | |||||||
E1DRM04 | – | On hand quantity at storage locations for product at line item level. | – | |||||||
@SEGMENT | 0/* | Required. Begin of segment attribute. | 1 | |||||||
QUALF | 0/3 |
Qualifier identifying quantity
type recorded in IDoc. Valid value for IDoc is |
079 | |||||||
STOCK_LOC | 0/10 | Quantity Details for storage locations. | 4578 | |||||||
QTY | 0/15 | On hand quantity at storage location. | 500 | |||||||
UOM | 0/3 |
Unit of measure for on hand quantity. Quantity UOM's values:
|
EA | |||||||
E1EDP19 | – | On hand quantity at storage locations for product at line item level. | – | |||||||
@SEGMENT | 0/* | Required. Begin of segment attribute. | 1 | |||||||
QUALF | 0/3 |
Qualifier identifying type of material identifier. Valid values:
|
001 | |||||||
IDTNR | 0/35 | Product code identifier value. | 00015874962358 | |||||||
KTEXT | 0/70 | Product name or description. | PHARMA PRODUCT NAME |

<INVRPT01>
<IDOC BEGIN="1">
<EDI_DC40 SEGMENT="1">
<TABNAM>EDI_DC40</TABNAM>
<MANDT>999</MANDT>
<DOCNUM>DOCNUM</DOCNUM>
<STATUS>03</STATUS>
<DIRECT>1</DIRECT>
<OUTMOD>2</OUTMOD>
<EXPRSS>1</EXPRSS>
<TEST>X</TEST>
<IDOCTYP>INVRPT01</IDOCTYP>
<CIMTYP></CIMTYP>
<MESTYP>INVRPT</MESTYP>
<MESCOD>COD</MESCOD>
<MESFCT>s5</MESFCT>
<STD>s</STD>
<STDVRS>s7</STDVRS>
<STDMES>s8</STDMES>
<SNDPOR>s9</SNDPOR>
<SNDPRT>s1</SNDPRT>
<SNDPFC>s1</SNDPFC>
<SNDPRN>s92</SNDPRN>
<SNDSAD>SenAdd</SNDSAD>
<SNDLAD>Sender</SNDLAD>
<RCVPOR>s13</RCVPOR>
<RCVPRT>LS</RCVPRT>
<RCVPFC>LS</RCVPFC>
<RCVPRN>s93</RCVPRN>
<RCVSAD></RCVSAD>
<RCVLAD>Receiver</RCVLAD>
<CREDAT>20240103</CREDAT>
<CRETIM>091013</CRETIM>
<REFINT>s17</REFINT>
<REFGRP>s18</REFGRP>
<REFMES>s19</REFMES>
<ARCKEY>s20</ARCKEY>
<SERIAL>s21</SERIAL>
</EDI_DC40>
<E1DRM01 SEGMENT="1">
<ACTION>000</ACTION>
<EFF_DATE>20240101</EFF_DATE>
<EFF_TIME>110123</EFF_TIME>
<TRANSNO>s25</TRANSNO>
<TRANDATE>20231229</TRANDATE>
<TRANTIME>100001</TRANTIME>
</E1DRM01>
<E1ADRM0 SEGMENT="1">
<PARTNER_Q>AG</PARTNER_Q>
<ADDRESS_T>A</ADDRESS_T>
<PARTNER_ID>BillTo</PARTNER_ID>
<JURISDIC>Juris</JURISDIC>
<LANGUAGE>EN</LANGUAGE>
<NAME1>BillTo</NAME1>
<NAME2>BillToName2</NAME2>
<NAME3>BillToName3</NAME3>
<STREET1>BillToStreet1</STREET1>
<STREET2>BillToStreet2</STREET2>
<STREET3>BillToStreet3</STREET3>
<POSTL_COD1>BTPostal</POSTL_COD1>
<CITY1>BTCity</CITY1>
<TELEPHONE1>BTPhone</TELEPHONE1>
<TELEFAX>BTFax</TELEFAX>
<COUNTRY1>BT</COUNTRY1>
<REGION>S1</REGION>
</E1ADRM0>
<E1ADRM0 SEGMENT="1">
<PARTNER_Q>LF</PARTNER_Q>
<ADDRESS_T>A</ADDRESS_T>
<PARTNER_ID>SUPPLIER</PARTNER_ID>
<JURISDIC>Juris</JURISDIC>
<LANGUAGE>EN</LANGUAGE>
<NAME1>Supplier</NAME1>
<NAME2>SupplierName2</NAME2>
<NAME3>SupplierName3</NAME3>
<STREET1>LFStreer1</STREET1>
<STREET2>LFStreer2</STREET2>
<STREET3>LFStreet3</STREET3>
<POSTL_COD1>Post2</POSTL_COD1>
<CITY1>LFCity</CITY1>
<TELEPHONE1>LFPhone</TELEPHONE1>
<TELEFAX>LFFax</TELEFAX>
<COUNTRY1>LF</COUNTRY1>
<REGION>LF</REGION>
</E1ADRM0>
<E1ADRM0 SEGMENT="1">
<PARTNER_Q>MF</PARTNER_Q>
<ADDRESS_T>A</ADDRESS_T>
<PARTNER_ID>MANUFACTURER</PARTNER_ID>
<JURISDIC>Juris</JURISDIC>
<LANGUAGE>EN</LANGUAGE>
<NAME1>Manufacturer</NAME1>
<NAME2>ManufacturerName2</NAME2>
<NAME3>ManufacturerName3</NAME3>
<STREET1>MFStreet1</STREET1>
<STREET2>MFStreet2</STREET2>
<STREET3>MFStreet3</STREET3>
<POSTL_COD1>MFPost</POSTL_COD1>
<CITY1>MFCity</CITY1>
<TELEPHONE1>MFPhone</TELEPHONE1>
<TELEFAX>MFFax</TELEFAX>
<COUNTRY1>MF</COUNTRY1>
<REGION>MFR</REGION>
</E1ADRM0>
<E1ADRM0 SEGMENT="1">
<PARTNER_Q>WE</PARTNER_Q>
<ADDRESS_T>A</ADDRESS_T>
<PARTNER_ID>SHIPTO</PARTNER_ID>
<JURISDIC>Juris</JURISDIC>
<LANGUAGE>EN</LANGUAGE>
<NAME1>ShipTo</NAME1>
<NAME2>ShipToName2</NAME2>
<NAME3>ShipToName3</NAME3>
<STREET1>WEStreet1</STREET1>
<STREET2>WEStreet2</STREET2>
<STREET3>WEStreet3</STREET3>
<POSTL_COD1>WEPost</POSTL_COD1>
<CITY1>WECity</CITY1>
<TELEPHONE1>WEPhone</TELEPHONE1>
<TELEFAX>WEFax</TELEFAX>
<COUNTRY1>WE</COUNTRY1>
<REGION>WER</REGION>
</E1ADRM0>
<E1ADRM0 SEGMENT="1">
<PARTNER_Q>OSP</PARTNER_Q>
<ADDRESS_T>A</ADDRESS_T>
<PARTNER_ID>SHIPFROM</PARTNER_ID>
<JURISDIC>Juris</JURISDIC>
<LANGUAGE>EN</LANGUAGE>
<NAME1>ShipFrom</NAME1>
<NAME2>ShipFromName2</NAME2>
<NAME3>ShipFromName3</NAME3>
<STREET1>SFStreet1</STREET1>
<STREET2>SFStreet2</STREET2>
<STREET3>SFStreet3</STREET3>
<POSTL_COD1>SFPost</POSTL_COD1>
<CITY1>SFCity</CITY1>
<TELEPHONE1>SFPhone</TELEPHONE1>
<TELEFAX>SFFax</TELEFAX>
<COUNTRY1>SF</COUNTRY1>
<REGION>SFR</REGION>
</E1ADRM0>
<E1DRM02 SEGMENT="1">
<POSEX>000010</POSEX>
<ACTION>005</ACTION>
<STQTY>1305750</STQTY>
<MEASUNIT>CR</MEASUNIT>
<EFF_DATE>20240101</EFF_DATE>
<E1DRM04 SEGMENT="1">
<QUALF>079</QUALF>
<STOCK_LOC>A-100</STOCK_LOC>
<QTY>1500</QTY>
<UOM>BX</UOM>
<E1EDP19 SEGMENT="1">
<QUALF>004</QUALF>
<IDTNR>MANUFACTURER</IDTNR>
<KTEXT>ProdName 1</KTEXT>
</E1EDP19>
<E1EDP19 SEGMENT="1">
<QUALF>002</QUALF>
<IDTNR>Supplier</IDTNR>
<KTEXT>Name 2</KTEXT>
</E1EDP19>
<E1EDP19 SEGMENT="1">
<QUALF>003</QUALF>
<IDTNR>GTIN14</IDTNR>
<KTEXT>Name 3</KTEXT>
</E1EDP19>
<E1EDP19 SEGMENT="1">
<QUALF>001</QUALF>
<IDTNR>CUSTOMER</IDTNR>
<KTEXT>Customer Desc 3</KTEXT>
</E1EDP19>
</E1DRM04>
</E1DRM02>
</IDOC>
</INVRPT01>
Tag end
Type = API Reference,; Topic = Multienterprise Information Network Tower (MINT), Transforms,;Persona = TraceLink Administrator, User,; Orchestration = Manufacturing, Logistics, Commerce, Clinical Supply,; Function = Supply Chain, IT, Procurement,
Inventory Balances (X12)
Suppliers use inventory balances to communicate about available and upcoming inventory levels with their remote or third-party warehouses, or buyers.
Contact your TraceLink Services representative for more information about integrating with this message.
- Message Type: MPC_INVENTORY_BALANCE (Inventory Balance)
- X12 Format: 846
- Transform Names:
- B2B_EDI_X12_846_InventoryBalance_IB_V3
- B2B_EDI_X12_846_InventoryBalance_OB_V1

Input Element | Occurs | Length | Description | Example | |||
---|---|---|---|---|---|---|---|
ISA | – | Required. ISA interchange envelope. | – | ||||
ISA01 | 2/2 | Required. Qualifier for authorization control number in ISA02. | 00 | ||||
ISA02 | 10/10 | Required. Information used for additional identification or authorization of the interchange sender or the data in the interchange/ 10 spaces a valid entry. | – | ||||
ISA03 | 2/2 | Required. Qualifier for security information in ISA04. | 00 | ||||
ISA04 | 10/10 | Required. Identifies security information about the interchange sender or data | |||||
ISA05 | 2/2 |
Required. Interchange sender partner ID qualifier. Valid values:
|
07 | ||||
ISA06 | 15/15 | Required. Instance 1 interchange sender identification mapping to fileSenderNumber with party type defined in ISA05. | 7777776067344 | ||||
ISA07 | 2/2 |
Required. Interchange receiver partner ID qualifier. Valid values:
|
07 | ||||
ISA08 | 15/15 | Required.EDI receiver ID mapping to file control header and to ServiceLinkId. | 888888404358877 | ||||
ISA09 | 6/6 | Required. Interchange date in 6 char YYMMDD format. | 231020 | ||||
ISA10 | 4/4 | Required. Interchange time in 4 char HHMM format. | 1420 | ||||
ISA11 | 1/1 | Required. Repetition separator. Delimiter that separates repeated occurrences of a data element or composite data structure. Must be different than the data element separator, component separator, and segment terminator. | : | ||||
ISA12 | 5/5 | Required. Interchange control version
number. Valid value is 00401 . |
00501 | ||||
ISA13 | 9/9 | Required. Interchange Control Number for file control header. | 0000000000619827 | ||||
ISA14 | 1/1 |
Required. Interchange level acknowledgment requested. Valid values:
|
0 | ||||
ISA15 | 1/1 |
Required. Indicates whether the interchange is for production, test, or information purposes. Valid values:
|
P | ||||
ISA16 | 1/1 | Required. Component element separator. Delimiter that separates data elements within a composite data structure. Must be different than the data element separator and segment terminator. | > | ||||
GS | Required. GS group functional envelope. Child of ISA. Only one GS group expected per interchange. | ||||||
GS01 | 2/2 | Required. GS group function code. Valid
value is IB - Inventory Balance. |
IB | ||||
GS02 | 2/15 | Required. Application sender's code. | 2222224043588 | ||||
GS03 | 2/15 | Required. Application receiver's code. | TRACELINK | ||||
GS04 | 8/8 | Required. Current date stamp in 8 char X12 date format YYYYMMDD. | 231020 | ||||
GS05 | 4/8 | Required. Current time stamp in 6 char X12 time format HHMMSS. | 142000 | ||||
GS06 | 1/9 | Required. Group Control ID Number. | 619827 | ||||
GS07 | 1/2 | Required. Responsible Agency Code. Valid
value is X . |
X | ||||
GS08 | 1/12 | Required. X12 message version code. Valid
value is 004010 . |
005010 | ||||
ST | – | ST transaction set envelope. Child of GS group. Only one ST transaction expected. | – | ||||
ST01 | 3/3 | Required. Transaction set identifier code. | 846 | ||||
ST02 | 4/9 | Required. Transaction set ID number. Counter for each ST segment beginning with 1. | 1 | ||||
BIA | – | Required. Beginning segment for Purchase Order. Child of ST transaction set. | – | ||||
BIA01 | 2/2 |
Required. Transaction purpose code. Valid values:
|
00 | ||||
BIA02 | 2/2 | Required. Inventory Balance type code.
Valid value is MM – Manufacturer inventory. |
MM | ||||
BIA03 | 1/22 | Required. Reference Identification. | 4506733288 | ||||
BIA04 | 8/8 | Required. Inventory balance creation date in YYYYMMDD X12 date format. | 20240520 | ||||
BIA05 | 4/8 | Inventory balance create time in HHMMSSss format. | 124019 | ||||
CUR | – | Purchase order currency. | – | ||||
CUR01 | 2/3 | Required. Entity identifier code identifying an organizational entity, a physical location, property or individual using the identified currency code. | BY | ||||
CUR02 | 3/3 | Required. ISO currency code for the country whose currency the charges are specified. | USD | ||||
DTM | – | Shipping date. Child of HL shipment. | – | ||||
DTM01 | 3/3 |
Required. Date or time qualifier identifying shipment date. Valid values:
|
007 | ||||
DTM02 | 8/8 | Date in CCYYMMDD format for shipment or delivery date of sending party. | 2024-05-25 | ||||
DTM03 | 4/8 | Time in HHMMSS or HHMM format for shipment or delivery date of sending party. | 1230 | ||||
REF | – | Purchase order reference information. | – | ||||
REF01 | 2/3 | Required. Reference identification qualifier. | DM | ||||
REF02 | 1/50 | Reference identification for the purchase order as specified by the reference identification qualifier. | 009875623 | ||||
REF03 | 1/80 | Description referenced identifier. | – | ||||
N1 | – |
Name segment loop for:
|
– | ||||
N101 | 2/3 |
Required. Entity identifier code for party identifier and address information for:
|
ST | ||||
N102 | 1/60 | Name. | Wholesale Inc | ||||
N103 | 1/2 |
Identifier code qualifier. Valid values:
|
11 | ||||
N104 | 2/80 | Ship to party identifier, as qualified by N103. | 3333331013655 | ||||
N3 | – | Address. Child of Ship to N1 Name segment. | – | ||||
N301 | 1/55 | Required. Street address 1. | 555 Neelan Road | ||||
N302 | 1/55 | Street address 2. | Suite 123 | ||||
N4 | – | Geographic Location. Child of ship to N1 name segment. | – | ||||
N401 | 2/30 | City name. | Sacramento | ||||
N402 | 2/2 | State or province code. Code (Standard state/province) as defined by appropriate government agency. | CA | ||||
N403 | 3/15 | Postal code. Code defining international postal zone code (zip code for United States). | 95833 | ||||
N404 | 2/3 | Country code. | US | ||||
N405 | 1/2 | Placeholder for future use of SGLN. | – | ||||
N406 | 1/30 | Placeholder for future use. Origin or Destination Shipping Location ID. SGLN number. NNI will not have sGLNs defined for any of their customers for the 2015 requirement. | – | ||||
PER | – | Administrative communications contact. | – | ||||
PER01 | 2/2 | Required. Contact function code. Valid
value is
IC – Information contact. |
– | ||||
PER02 | 1/60 | Name. | ContactName | ||||
PER03 | 2/2 | Communication number qualifier. | – | ||||
PER04 | 1/256 | Communication number. | – | ||||
PER05 | 2/2 | Communication number qualifier. | – | ||||
PER06 | 1/256 | Communication number. | – | ||||
LIN | – | Inventory balance message line item details. | – | ||||
LIN01 | 1/20 | Inventory Balance line item number. | 000010 | ||||
LIN02 | 2/2 |
Required. Instance 1 product service ID qualifier mapping from global standards enum list. Valid values:
|
VN | ||||
LIN03 | 1/48 | Required. Product or service identifier. Should be the same identifiers that will be used in the invoice. | 08202000230 | ||||
LIN04 | 2/2 |
Product service ID qualifier mapping from global standards enum list. Valid values:
|
PI | ||||
LIN05 | 1/48 | Product or service identifier. Should be the same identifiers that will be used in the invoice. | 08202000222 | ||||
LIN06 | 2/2 |
Product service ID qualifier mapping from global standards enumeration list. Valid values:
|
MF | ||||
LIN07 | 1/48 | Product or service identifier. Should be the same identifiers that will be used in the invoice. | 08202000230 | ||||
LIN08 | 2/2 |
Product service ID qualifier mapping from global standards enumeration list. Valid values:
|
VN | ||||
LIN09 | 1/48 | Product or service identifier. Should be the same identifiers that will be used in the invoice. | 08202000230 | ||||
LIN10 | 2/2 |
Product service ID qualifier mapping from global standards enumeration list. Valid values:
|
VN | ||||
LIN11 | 1/48 | Product or service identifier. Should be the same identifiers that will be used in the invoice. | 08202000230 | ||||
LIN12 | 2/2 |
Product service ID qualifier mapping from global standards enumeration list. Valid values:
|
VN | ||||
LIN13 | 1/48 | Product or service identifier. Should be the same identifiers that will be used in the invoice. | 08202000230 | ||||
LIN14 | 2/2 |
Product service ID qualifier mapping from global standards enumeration list. Valid values:
|
VN | ||||
LIN15 | 1/48 | Product or service identifier. Should be the same identifiers that will be used in the invoice. | 08202000230 | ||||
LIN16 | 2/2 |
Product service ID qualifier mapping from global standards enumeration list. Valid values:
|
VN | ||||
LIN17 | 1/48 | Product or service identifier. Should be the same identifiers that will be used in the invoice. | 08202000230 | ||||
LIN18 | 2/2 |
Product service ID qualifier mapping from global standards enumeration list. Valid values:
|
VN | ||||
LIN19 | 1/48 | Product or service identifier. Should be the same identifiers that will be used in the invoice. | 08202000230 | ||||
LIN20 | 2/2 |
Product service ID qualifier mapping from global standards enumeration list. Valid values:
|
VN | ||||
LIN21 | 1/48 | Product or service identifier. Should be the same identifiers that will be used in the invoice. | 08202000230 | ||||
LIN22 | 2/2 |
Product service ID qualifier mapping from global standards enumeration list. Valid values:
|
VN | ||||
LIN23 | 1/48 | Product or service identifier. Should be the same identifiers that will be used in the invoice. | 08202000230 | ||||
PID | – | SN1- Item Details. Child of HL level Item. | – | ||||
PID01 | 1/1 | Required. Item description type. Valid
value is
F –Free from |
F | ||||
PID05 | 1/80 | Item description. | Generic acetomedecine | ||||
DTM | – | DTM-Date or time reference. | – | ||||
DTM01 | 3/3 | Required. Date or time qualifier. Valid
value is
036 – Expiration. |
036 | ||||
DTM02 | 8/8 | Date. | 20250501 | ||||
DTM03 | 4/8 | Time. | – | ||||
DTM | – | DTM-Date or time reference. | – | ||||
DTM01 | 3/3 |
Required. Date or time qualifier. Valid values:
|
018 | ||||
DTM02 | 8/8 | Date. | 20250501 | ||||
DTM03 | 4/8 | Time. | – | ||||
SDQ | – | Destination quantity. | – | ||||
SDQ01 | 2/2 | Required. Unit or basis for measurement code. | EA | ||||
SDQ02 | 1/2 | Identification code qualifier. | 92 | ||||
SDQ03 | 2/80 | Required. Location identifier value for target location. | '8888882028677 | ||||
SDQ04 | 1/15 | Required. Quantity of product to be sent to identified location. | 125 | ||||
SDQ05 | 2/80 | Location identifier value for target location. | 8888882028677 | ||||
SDQ06 | 1/15 | Quantity of product to be sent to identified location. | 125 | ||||
SDQ07 | 2/80 | Location identifier value for target location. | 8888882028677 | ||||
SDQ08 | 1/15 | Quantity of product to be sent to identified location. | 125 | ||||
SDQ09 | 2/80 | Location identifier value for target location. | 8888882028677 | ||||
SDQ10 | 1/15 | Quantity of product to be sent to identified location. | 125 | ||||
SDQ11 | 2/80 | Location identifier value for target location. | 8888882028677 | ||||
SDQ12 | 1/15 | Quantity of product to be sent to identified location. | 125 | ||||
SDQ13 | 2/80 | Location identifier value for target location. | 8888882028677 | ||||
SDQ14 | 1/15 | Quantity of product to be sent to identified location. | 125 | ||||
SDQ15 | 2/80 | Location identifier value for target location. | 8888882028677 | ||||
SDQ16 | 1/15 | Quantity of product to be sent to identified location. | 125 | ||||
SDQ17 | 2/80 | Location identifier value for target location. | 8888882028677 | ||||
SDQ18 | 1/15 | Quantity of product to be sent to identified location. | 125 | ||||
SDQ19 | 2/80 | Location identifier value for target location. | 8888882028677 | ||||
SDQ20 | 1/15 | Quantity of product to be sent to identified location. | 125 | ||||
SDQ21 | 2/80 | Location identifier value for target location. | 8888882028677 | ||||
SDQ22 | 1/15 | Quantity of product to be sent to identified location. | 125 | ||||
QTY | – | Quantity information. | – | ||||
QTY01 | 2/2 |
Required.Type of Quantity recorded. Valid values:
Inspection value is not supported. |
33 | ||||
QTY02 | 1/15 | Quantity. | 50 | ||||
QTY03 | – | Composite unit of measure. | – | ||||
QTY03.1 | 1/2 |
Required. Unit or basis for measurement code. ![]()
|
EA | ||||
QTY04 | 1/30 | Free-form information. | – | ||||
SE | 1…1– | – | Required. ST … SE transaction set trailer envelope. Child of GS group. Only one ST transaction expected. | – | |||
SE01 | 1/10 | Required. Total count of segments in ST … SE transaction set including ST and SE segments. | 10 | ||||
SE02 | 4/9 | Required. Transaction set control number. | 1 | ||||
GE | – | Required. GS … GE functional group trailer envelope. Child of ISA interchange. Only one GS group expected. | – | ||||
GE01 | 1/6 | Required. Number of transaction sets in functional group. | 5 | ||||
GE02 | 1/9 | Required. Functional group control number. | 619827 | ||||
IEA | – | Required. ISA … IEA interchange control trailer envelope. Only one interchange expected per transmission.– | – | ||||
IEA01 | 1/5 | Required. Number of functional groups in interchange. | 1 | ||||
IEA02 | 9/9 | Required. Interchange control number. | 0000000000619827 |

ISA*00* *00* *01*SenderValue *07*Receiver
*230901*1123*U*00401*000000001*0*P*:~
GS*IB*SenderValue*Receiver*20230901*11231022*1*X*004010~
ST*846*0001~
BIA*00*MM*1574578220*20240301*122021~
CUR*BY*USD~
DTM*007*20240101*124019~
REF*DM*009875623*test description~
N1*BT*BillTo*9*DUNS4001000286~
N3*Stella Maris*Condado Ave 14~
N4*San Juan*PR*00902*US~
PER*AJ*BillToContact*TE*BillToPhone*EM*BillToEmail~
N1*SU*SUPPLIER/VENDOR (LF/SU)*11*DEA001000286~
N3*Stella Maris*Condado Ave 14~
N4*San Juan*PR*00902*US~
PER*AJ*SUContact*TE*SUPhone*EM*SUEmail~
N1*MF*manufactureBusiness*11*DEA006009000~
N3*address1*address2~
N4*newyork*XX*462016*FI~
PER*AJ*s129*TE*s130*EM*s128~
N1*ST*ShipTo*92*COMPSITE4562~
N3*ShipTo Address 1*ShipTo Address 2~
N4*ShipTo City*YY*4542ShipTo-&Pst*JP*DE*1234~
PER*AJ*ShipToContact*TE*ShipToPhone*EM*ShipToEmail~
N1*SF*ShipFrom*1*DUNS0010002869028~
N3*Stella Maris*Condado Ave 14~
N4*San Juan*PR*00902*US~
PER*AJ*SFContact*TE*SFPhone*EM*SFEmail~
LIN*0001*VN*SUPPLIER_VN*MF*MANUFACTURER-MF*PI*CUSTOMER-PI*SK*SKU-SK*UK*GTIN14-
UK*UP*UPC-UP*FV*CA_DIN-FV*N1*NDC442-N1*N2*NDC532-N2*N3*NDC541-N3*LT*LT-54745~
PID*F****Name1~
DTM*036*20260111*124019~
DTM*007*20240222*124029~
SDQ*EA*UL*STR01*101*STR02*102*STR03*103*STR04*104*STR05*105*STR06*106*STR07*107*
STR08*108*STR09*109*STR10*110~
QTY*33*152002*EA*ITEM QUANTITY test info~
QTY*17*1500*BX*STORAGE LOCATION test info~
SE*33*0001~
GE*1*1~
IEA*1*000000001~
Tag end
Type = API Reference,; Topic = Multienterprise Information Network Tower (MINT), Transforms,;Persona = TraceLink Administrator, User,; Orchestration = Manufacturing, Logistics, Commerce, Clinical Supply,; Function = Supply Chain, IT, Procurement,
Inventory Balances (EDIFACT)
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.
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

Input Element | Occurs | Length | Description | Example | ||||
---|---|---|---|---|---|---|---|---|
INVRPT | Required. EDIFACT orders. | |||||||
UNA | UNA Interchange Header. | |||||||
UNA03 | 1/1 | Required. Decimal mark. | ||||||
UNA04 | 1/1 | Required. Release indicator. | ||||||
UNA05 | 1/1 | Required. Reserved for future. | ||||||
UNB | Required. UNB interchange header. | |||||||
UNB01 | Required. Syntax identifier. | |||||||
UNB01.1 | 4/4 |
Required. Syntax identifier. ![]()
|
UN0B | |||||
UNB01.2 | 1/1 | Required. Syntax version number. | 1 | |||||
UNB02 | Required. Interchange sender. | |||||||
UNB02.1 | 1/35 | Required. Sender identification. | SENDER1 | |||||
UNB02.2 | 1/4 |
Partner identification code qualifier. ![]()
|
14 | |||||
UNB02.3 | 1/14 | Address for reverse routing. | ||||||
UNB03 | Required. Interchange recipient. | |||||||
UNB03.1 | 1/35 | Required. Recipient identification. | RECEIVER1 | |||||
UNB03.2 | 1/4 |
Partner identification code qualifier. ![]()
|
1 | |||||
UNB03.3 | 1/14 | Interchange recipient internal identification. | ||||||
UNB04 | Required. Date and time of preparation. | |||||||
UNB04.1 | 6/6 | Required. Date of preparation. | 231020 | |||||
UNB04.2 | 4/4 | Required. Time of preparation. | 1420 | |||||
UNB05 | 1/14 | Required. Interchange control reference. | 131 | |||||
UNB06 | Recipient's reference password. | |||||||
UNB06.1 | 1/14 | Recipient's reference or password. | XYZ | |||||
UNB06.2 | 2/2 |
Recipient's reference or password qualifier. Valid values:
|
REFERENCE | |||||
UNB07 | 1/14 | Application reference. | INVRPT | |||||
UNB08 | 1/1 | Processing priority code. | ||||||
UNB09 | 1/1 | Acknowledgment request. | 1 | |||||
UNB10 | 1/35 | Communication agreement ID. | ||||||
UNB11 | 1/1 | Test indicator. | I | |||||
UNH | UNH Message Header. | |||||||
UNH01 | 1/14 | Required. Message reference number. | '000000101 | |||||
UNH02 | Required. Message identifier. | |||||||
UNH02.1 | 1/6 | Required. Message type identifier. | INVRPT | |||||
UNH02.2 | 1/3 | Required. Message type version number. | D | |||||
UNH02.3 | '1/3 | Required. Message type release number. | 97A | |||||
UNH02.4 | '1/3 | Required. Controlling agency. | UN | |||||
UNH02.5 | 1/6 | Association assigned code. | ||||||
UNH03 | 1/35 | Common access reference. | ||||||
UNH04 | Status of the Transfer | |||||||
UNH04.1 | 1/2 | Required. Sequence message transfer number | ||||||
UNH04.2 | 0…1 | 1/1 | First or last sequence message transfer indication | |||||
BGM | Required. Beginning of message. | |||||||
BGM01 | Document or message name. | |||||||
BGM01.1 | 1/3 |
Processing function. Valid values:
|
1 | |||||
BGM01.2 | 1/17 | Code list qualifier | ||||||
BGM01.3 | 1/3 | Code list responsible agency, coded. | ||||||
BGM01.4 | 1/35 | Document or message name. | ||||||
BGM02 | Document or message number. | |||||||
BGM02.1 | 1/70 | Document identifier. | 2738662 | |||||
BGM03 | 1/3 |
Message function, coded. Valid values:
|
9 | |||||
BGM04 | 1/3 | Response type, coded. | ||||||
DTM | Date | |||||||
DTM01 | Required. Date or time or period. | |||||||
DTM01.1 | 1/3 |
Required. Date or time or period qualifier. Valid values:
|
137 | |||||
DTM01.2 | 1/35 | Date | 20230304 | |||||
DTM01.3 | 1/3 |
Date or time or period format qualifier. Valid values:
|
102 | |||||
NAD |
NAD: Name segment loop for:
|
|||||||
NAD01 | 1/3 |
Required. Party Qualifier for:
Entity identifier code for party identifier and address information for bill to party. Valid values:
|
N/A | |||||
NAD02 | Party identification details. | |||||||
NAD02.1 | 1/35 | Required. Party identifier. | 8712199999999 | |||||
NAD02.2 | 1/3 | Code list identification code. | ||||||
NAD02.3 | 1/3 |
Code list responsible agency code. Valid values:
|
16 | |||||
NAD03 | Name and address. | |||||||
NAD03.1 | 1/35 | Required. Name and address description. | ||||||
NAD03.2 | 1/35 | Name and address description. | ||||||
NAD04 | Party name. | |||||||
NAD04.1 | 1/35 | Required. Party name. | Supplier Name | |||||
NAD04.2 | 1/35 | Party name. | ||||||
NAD04.3 | 1/35 | Party name. | ||||||
NAD05 | Street. | |||||||
NAD05.1 | 1/35 | Required. Street and number or postal box. | Supplier Street | |||||
NAD05.2 | 1/35 | Street and number or postal box. | ||||||
NAD06 | 1/35 | City name. | Supplier City | |||||
NAD07 | Country subdivision details. | |||||||
NAD07.1 | 1/9 | Country sub-entity identification. | ||||||
NAD08 | 1/17 | Postcode identification code. | Postal Code | |||||
NAD09 | 1/3 |
Country identifier. ![]()
|
||||||
CTA | CTA: Contact information. | |||||||
CTA01 | 1/3 |
Required. Contact function, coded. Valid
value is
|
SU | |||||
CTA02 | Department or employee details. | |||||||
CTA02.1 | 1/17 | Department or employee identification. | ||||||
CTA02.2 | 1/256 | Department or employee. | John Smith | |||||
COM | COM: Communication contact. | |||||||
COM01 | Communication Information | |||||||
COM01.1 | 1/512 | Required. Communication number. | 50812345678 | |||||
COM01.2 | 1/3 | Required.Communication channel qualifier. | TE | |||||
COM01 | Communication information. | |||||||
COM01.1 | 1/512 | Required. Communication number. | stx.team@partner.de | |||||
COM01.2 | 1/3 | Required. Communication channel qualifier. | EM | |||||
LIN | Line item. | |||||||
LIN01 | 1/6 | Line item number. | 15 | |||||
LIN02 | 1/3 |
Processing function, Valid values:
|
1 | |||||
LIN03 | Item Number Identification. | |||||||
LIN03.1 | 1/35 | Item number . | 8712100000010 | |||||
LIN03.2 | 1/3 |
Item number type, coded. Valid values:
|
VN | |||||
LIN03.3 | 1/17 | Code list qualifier. | ||||||
PIA | Additional Product Id. | |||||||
PIA01 | 1/3 | Required. Product id. function qualifier. | 5 | |||||
PIA02 | Required. Item Number Identification. | |||||||
PIA02.1 | 1/35 | Item number. | AB80 | |||||
PIA02.2 | 1/3 |
Item number type, coded. Valid values:
|
SA | |||||
PIA02.3 | 1/17 | Code list qualifier. | ||||||
PIA03 | Item Number identification. | |||||||
PIA03.1 | 1/35 | Item number. | AB80 | |||||
PIA03.2 | 1/3 |
Item number type, coded. Valid values:
|
SA | |||||
PIA03.3 | 1/17 | Code list qualifier. | ||||||
PIA04 | Item number identification. | |||||||
PIA04.1 | 1/35 | Item number. | AB80 | |||||
PIA04.2 | 1/3 |
Item number type, coded. Valid values:
|
SA | |||||
PIA04.3 | 1/17 | Code list qualifier. | ||||||
PIA05 | Item number identification. | |||||||
PIA05.1 | 1/35 | Item number. | AB80 | |||||
PIA05.2 | 1/3 |
Item number type, coded. Valid values:
|
SA | |||||
PIA05.3 | 1/17 | Code list qualifier. | ||||||
PIA06 | Item number identification. | |||||||
PIA06.1 | 1/35 | Item number. | AB80 | |||||
PIA06.2 | 1/3 |
Item number type, coded. Valid values:
|
SA | |||||
PIA06.3 | 1/17 | Code list qualifier. | ||||||
IMD | Item description. | |||||||
IMD01 | 1/3 |
Item description type, coded Valid values:
|
F | |||||
IMD02 | 1/3 | Item characteristic, coded. | ||||||
IMD02.1 | 1/3 | Item description identification. | ||||||
IMD02.2 | 1/17 | Code list identification code. | ||||||
IMD02.3 | 1/3 | Code list responsible agency code. | ||||||
IMD03 | Item description. | |||||||
IMD03.1 | 1/17 | Item description identification. | ||||||
IMD03.2 | 1/17 | Code list qualifier. | ||||||
IMD03.3 | 1/3 | Code list responsible agency, coded. | ||||||
IMD03.4 | 1/256 | Item description. | Product description 1 | |||||
IMD03.5 | 1/256 | Item description. | ||||||
IMD03.6 | 1/3 | Item description. | ||||||
DTM | Date | |||||||
DTM01 | Required. Date or time or period. | |||||||
DTM01.1 | 1/3 | Required. Date or time or period qualifier.
Valid value is
36 – Expiration date or time. |
36 | |||||
DTM01.2 | 1/35 | Date. | 20230304 | |||||
DTM01.3 | 1/3 | Date or time or period format
qualifier. Valid value is
102 – YYYYMMDD format. |
102 | |||||
INV | Inventory. | |||||||
INV01 | 1/3 | Inventory movement direction code. | ||||||
INV02 | 1/3 | Inventory movement reason code. | ||||||
INV03 | 1/3 | Inventory movement reason code. | ||||||
INV04 | 1/3 | Inventory balance method code. | ||||||
QTY | Quantity. | |||||||
QTY01 | Required. Quantity details. | 5 | ||||||
QTY01.1 | 1/3 |
Required. Quantity qualifier Valid values:
|
17 | |||||
QTY01.2 | 1/35 | Required. Quantity. | 6 | |||||
QTY01.3 | 1/8 |
Measure unit qualifier. ![]()
|
EA | |||||
UNT | Required. UNT Message Trailer(UNH…UNT transaction) . | |||||||
UNT01 | 1/10 | Required. Number of segments in a message, starting with UNH and ending with UNT | 45 | |||||
UNT02 | 1/14 | Required. Message reference number. | 1 | |||||
UNZ | Required. UNB… UNZ interchange control trailer envelope. Only one interchange expected per transmission. | |||||||
UNZ01 | 1/6 | Required. Interchange control count. | 1 | |||||
UNZ02 | 1/14 | Required. Interchange control reference. | 3 |

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''
Tag end
Type = API Reference,; Topic = Multienterprise Information Network Tower (MINT), Transforms,;Persona = TraceLink Administrator, User,; Orchestration = Manufacturing, Logistics, Commerce, Clinical Supply,; Function = Supply Chain, IT, Procurement,
Inventory Updates (IDoc)
Suppliers use inventory updates to communicate information about changes in inventory quantity or status with their remote or third-party warehouses or CMOs.
Contact your TraceLink Services representative for more information about integrating with this message.
- Message Type: MPC_INVENTORY_UPDATE (Inventory Update)
- IDoc Format: MBGMCR03
- Transform Names:
- B2B_IDoc_MBGMCR_MBGMCR03_InventoryUpdate_IB_V2
- B2B_IDoc_MBGMCR_MBGMCR03_InventoryUpdate_OB_V3
B2B_IDoc_WMMBID_WMMBID01_InventoryUpdate_OB_V1

Input Element | Occurs | Length | Description | Example | |||||
---|---|---|---|---|---|---|---|---|---|
MBGMCR03 | – | Required. XML IDoc DESADV root element. | – | ||||||
IDOC | – | Required. IDoc root. | – | ||||||
@BEGIN | 0/* | Required. Begin of message attribute. | 1 | ||||||
EDI_DC40 | – | Required. IDoc control record. | – | ||||||
@SEGMENT | 0/* | Required. Begin of segment attribute. | 1 | ||||||
TABNAM | 0/* | Required. IDoc table name. | EDI_DC40 | ||||||
MANDT | 0/3 | Client. | 300 | ||||||
DOCNUM | 0/16 | IDoc number. | 0000000000619827 | ||||||
STATUS | 0/* | Current IDoc processing status. | 03 | ||||||
DIRECT | 0/* | Required. Direction. | 1 | ||||||
OUTMOD | 0/1 | Output mode. | 2 | ||||||
EXPRSS | 0/1 | Overriding in inbound processing. | – | ||||||
TEST | 0/1 | Test flag. | – | ||||||
IDOCTYP | 0/30 | Required. IDoc basic type. | MBGMCR | ||||||
CIMTYP | 0/* | Name of extension type. | – | ||||||
MESTYP | 0/* | Logical message type. | MBGMCR03 | ||||||
MESCOD | 0/3 | Logical message code. | – | ||||||
MESFCT | 0/3 | Logical message function. | – | ||||||
STD | 0/1 | EDI standard. | – | ||||||
STDVRS | 0/6 | Version of EDI standard. | – | ||||||
STDMES | 0/6 | EDI message type. | – | ||||||
SNDPOR | 0/10 | Required. Sender port. (SAP System, EDI subsystem) | SAPD11 | ||||||
SNDPRT | 0/2 | Required. Partner type of sender. | LS | ||||||
SNDPFC | 0/2 | Partner function of sender. | – | ||||||
SNDPRN | 0/10 | Partner number of sender. | ERPCLNT302 | ||||||
SNDSAD | 0/21 | Sender address. (SADR) | – | ||||||
SNDLAD | 0/70 | Logical address of sender mapping to fileSenderNumber. Required for TraceLink. Require a value that concatenates party type with party identifier in party type format. | 0010136941923 | ||||||
RCVPOR | 0/10 | Required.SAP receiver port. | TRACELINK | ||||||
RCVPRT | 0/2 | Partner type of receiver. | LS | ||||||
RCVPFC | 0/2 | Partner function of receiver. | LS | ||||||
RCVPRN | 0/10 | Partner number of receiver. | TRACELINK | ||||||
RCVSAD | 0/21 | Receiver address (SADR). | – | ||||||
RCVLAD | 0/70 |
Instance 1 logical address of receiver. Required for TraceLink. Identifies the receiver of the IDoc for the TraceLink system. 's location ID. Must match the value that the IDoc sender has configured for their receiver partner in TraceLink. |
3333331013655 | ||||||
CREDAT | 0/8 | Required. Date IDoc was created in format YYYYMMDD. | 20230511 | ||||||
CRETIM | 0/6 | Required. Time IDoc was created in format HHMMSS. | 161000 | ||||||
REFINT | 0/14 | Reference to interchange file. | – | ||||||
REFGRP | 0/14 | Reference to message group. | – | ||||||
REFMES | 0/14 | Reference to message. | – | ||||||
ARCKEY | 0/70 | EDI archive key. | – | ||||||
SERIAL | 0/20 | EDI/ALE: Serialization field. | – | ||||||
E1MBGMCR | – | Required. Inventory update report segment. | – | ||||||
@SEGMENT | 0/* | Required. Begin of segment attribute. | 1 | ||||||
TESTRUN | 0/1 | Switch to simulation session for write BAPIs. | – | ||||||
E1BP2017_GM_HEAD_01 | – | BAPI communication structure: Material document header data. | – | ||||||
@SEGMENT | 0/* | Required. Begin of segment attribute. | 1 | ||||||
PSTNG_DATE | 0/8 | Posting date in the document. | 20240530 | ||||||
DOC_DATE | 0/8 | Document date in document. | 20240530 | ||||||
REF_DOC_NO | 0/16 | Reference document number. Required value used for internal IB processing by TL. | 3004000120 | ||||||
BILL_OF_LADING | 0/16 | Number of bill of lading at time of goods receipt. | 00897560024 | ||||||
GR_GI_SLIP_NO | 0/10 | Goods receipt or issue slip number. | – | ||||||
PR_UNAME | 0/12 | User name. | – | ||||||
HEADER_TXT | 0/25 | Document header text | – | ||||||
VER_GR_GI_SLIP | 0/1 | Version for printing GR or GI Slip. | – | ||||||
VER_GR_GI_SLIPX | 0/1 | Updated information in related user data field. | – | ||||||
EXT_WMS | 0/1 | Control posting for external WMS. | – | ||||||
REF_DOC_NO_LONG | 0/35 | Reference document number. (for dependencies see long text) | – | ||||||
BILL_OF_LADING_LONG | 0/35 | Bill of lading number in GR. (for dependencies see long text) | – | ||||||
BAR_CODE | 0/40 | Bar code entry. | – | ||||||
E1BP2017_GM_CODE | – | MMIM: New key assignment GM_CODE to transaction of inventory management. | – | ||||||
@SEGMENT | 0/* | Required.Begin of segment attribute. | 1 | ||||||
GM_CODE | 0/2 | Assign code to transaction for BAPI goods movement. | 01 | ||||||
E1BP2017_GM_ITEM_CREATE | – | BAPI communication structure: Create material document item. | – | ||||||
@SEGMENT | 0/* | Required. Begin of segment attribute. | 1 | ||||||
MATERIAL | 0/18 | Material number. | DPC4971019 | ||||||
PLANT | 0/4 | Plant. | '0001013694 | ||||||
STGE_LOC | 0/4 | Storage location. | CH01 | ||||||
BATCH | 0/10 | Batch number. | '0001106639 | ||||||
MOVE_TYPE | 0/3 |
Movement type. (Inventory Management) ![]()
|
101 | ||||||
STCK_TYPE | 0/1 |
Stock Type. Valid values:
|
F | ||||||
SPEC_STOCK | 0/1 |
Special Stock Indicator. Valid values:
|
E | ||||||
VENDOR | 0/10 | Vendor account number. | – | ||||||
CUSTOMER | 0/10 | Account number of customer. | – | ||||||
SALES_ORD | 0/10 | Sales order number. | SALESORDERNUM | ||||||
S_ORD_ITEM | 0/6 | Item number in sales order. | 1 | ||||||
SCHED_LINE | 0/4 | Delivery schedule for sales order. | – | ||||||
VAL_TYPE | 0/10 | Valuation type. | – | ||||||
ENTRY_QNT | 0/15 | Quantity unit of entry. | 25 | ||||||
ENTRY_UOM | 0/3 |
Unit of Entry. ![]()
|
EA | ||||||
ENTRY_UOM_ISO | 0/3 | ISO code for unit of measurement. | – | ||||||
PR_PR_QNT | 0/15 | Quantity in purchase order price unit. | – | ||||||
ORDERPR_UN | 0/3 | Order price unit. (Purchasing) | – | ||||||
ORDERPR_UN_ISO | 0/3 | ISO code for unit of measurement. | – | ||||||
PO_NUMBER | 0/10 | Purchase order number. | PO123 | ||||||
PO_ITEM | 0/5 | Item number of purchasing document. | 1 | ||||||
SHIPPING | 0/2 | Shipping instructions. | – | ||||||
COMP_SHIP | 0/2 | Compliance with shipping instructions. | – | ||||||
NO_MORE_GR | 0/1 | Delivery completed indicator. | – | ||||||
ITEM_TEXT | 0/50 | Item text. | Pharma product | ||||||
GR_RCPT | 0/12 | Goods receipt or Ship-To Party. | GR123 | ||||||
UNLOAD_PT | 0/25 | Unloading point. | – | ||||||
COSTCENTER | 0/10 | Cost center. | – | ||||||
ORDERID | 0/12 | Order number. | ORDER1 | ||||||
ORDER_ITNO | 0/4 | Order item number. | 1 | ||||||
CALC_MOTIVE | 0/2 | Accounting indicator. | – | ||||||
ASSET_NO | 0/12 | Main asset number. | – | ||||||
SUB_NUMBER | 0/4 | Asset SubNumber. | – | ||||||
RESERV_NO | 0/10 | Number of reservation or dependent requirement. | RESERV1 | ||||||
RES_ITEM | 0/4 | Item number of reservation or dependent requirement. | 1 | ||||||
RES_TYPE | 0/1 | Record type. | – | ||||||
WITHDRAWN | 0/1 | Final Issue for this reservation. | – | ||||||
MOVE_MAT | 0/18 | Receiving or issuing material. | – | ||||||
MOVE_PLANT | 0/4 | Receiving or issuing plant. | – | ||||||
MOVE_STLOC | 0/4 | Receiving or issuing storage location. | – | ||||||
MOVE_BATCH | 0/10 | Receiving or issuing batch. | – | ||||||
MOVE_VAL_TYPE | 0/10 | Valuation type for transfer batch. | – | ||||||
MVT_IND | 0/1 |
Movement indicator. Valid values:
|
O | ||||||
MOVE_REAS | 0/4 |
Reason for Movement ![]()
|
0005 | ||||||
RL_EST_KEY | 0/8 | Internal key for real estate object. | – | ||||||
REF_DATE | 0/8 | Reference date for settlement. | – | ||||||
COST_OBJ | 0/12 | Cost object. | – | ||||||
PROFIT_CTR | 0/10 | Profit center. | – | ||||||
WBS_ELEM | 0/24 | Work breakdown structure element (WBS Element). | – | ||||||
NETWORK | 0/12 | Network number for account assignment. | – | ||||||
ACTIVITY | 0/4 | Operation or activity number. | – | ||||||
PART_ACCT | 0/10 | Partner account number. | – | ||||||
AMOUNT_LC | 0/25 | Externally entered posting amount in local currency. | – | ||||||
AMOUNT_SV | 0/25 | Externally entered sales value in local currency. | – | ||||||
REF_DOC_YR | 0/4 | Fiscal year of a reference document. | – | ||||||
REF_DOC | 0/10 | Document number of a reference document. | – | ||||||
REF_DOC_IT | 0/4 | Item of a reference document. | – | ||||||
EXPIRYDATE | 0/8 | Shelf life expiration or best-before date. | 20250511 | ||||||
PROD_DATE | 0/8 | Date of manufacture. | 20240531 | ||||||
FUND | 0/10 | Fund. | – | ||||||
FUNDS_CTR | 0/16 | Funds center. | – | ||||||
CMMT_ITEM | 0/14 | Commitment item. | – | ||||||
VAL_SALES_ORD | 0/10 | Sales order number of valuated sales order stock. | – | ||||||
VAL_S_ORD_ITEM | 0/6 | Sales order item of valuated sales order stock. | – | ||||||
VAL_WBS_ELEM | 0/24 | Work breakdown structure element (WBS Element) | – | ||||||
GL_ACCOUNT | 0/10 | G/L account number | – | ||||||
IND_PROPOSE_QUANX | 0/1 | Propose quantities | – | ||||||
XSTOB | 0/1 | Use reversal movement type indicator. | – | ||||||
EAN_UPC | 0/18 | International article number (EAN/UPC). | – | ||||||
DELIV_NUMB_TO_SEARCH | 0/10 | Delivery. | – | ||||||
DELIV_ITEM_TO_SEARCH | 0/6 | Delivery item. | – | ||||||
SERIALNO_AUTO_NUMBERASSIGNMENT | 0/1 | Create serial number automatically. | – | ||||||
VENDRBATCH | 0/15 | Vendor batch number. | '6024593 | ||||||
STGE_TYPE | 0/3 | Storage type. | – | ||||||
STGE_BIN | 0/10 | Storage bin. | – | ||||||
SU_PL_STCK_1 | 0/4 | Number of storage units to be placed into storage. | – | ||||||
ST_UN_QTYY_1 | 0/15 | Quantity per storage unit to be placed into stock in AltUOM. | – | ||||||
ST_UN_QTYY_1_ISO | 0/3 | ISO code for unit of measurement. | – | ||||||
UNITTYPE_1 | 0/3 | Storage unit type. | – | ||||||
SU_PL_STCK_2 | 04 | Number of storage units to be placed into storage. | – | ||||||
ST_UN_QTYY_2 | 0/15 | Quantity per storage unit to be placed into stock in AltUOM. | – | ||||||
ST_UN_QTYY_2_ISO | 0/3 | ISO code for unit of measurement. | – | ||||||
UNITTYPE_2 | 0/3 | Storage unit type. | – | ||||||
STGE_TYPE_PC | 0/3 | Storage type for transfer posting. | – | ||||||
STGE_BIN_PC | 0/10 | Storage bin for transfer posting. | – | ||||||
NO_PST_CHGNT | 0/1 | Indicator: Do not create posting change notice. | – | ||||||
GR_NUMBER | 0/10 | Goods receipt number. | – | ||||||
STGE_TYPE_ST | 0/3 | Storage type for stock transfer. | – | ||||||
STGE_BIN_ST | 0/10 | Storage bin for stock transfer. | – | ||||||
MATDOC_TR_CANCEL | 0/10 | Material document number of transfer requirement to be cancelled. | – | ||||||
MATITEM_TR_CANCEL | 0/4 | Material document item of transfer requirement to be cancelled. | – | ||||||
MATYEAR_TR_CANCEL | 0/4 | Material document year of transfer requirement to be cancelled. | – | ||||||
NO_TRANSFER_REQ | 0/1 | Indicator: No transfer requirement created. | – | ||||||
CO_BUSPROC | 0/12 | Business process. | – | ||||||
ACTTYPE | 0/6 | Activity type. | – | ||||||
SUPPL_VEND | 0/10 | Supplying vendor. | – | ||||||
MATERIAL_EXTERNAL | 0/40 | Long material number for MATERIAL field. | – | ||||||
MATERIAL_GUID | 0/32 | External GUID for MATERIAL field. | – | ||||||
MATERIAL_VERSION | 0/10 | Version number for MATERIAL field. | – | ||||||
MOVE_MAT_EXTERNAL | 0/40 | Long material number for MOVE_MAT field. | – | ||||||
MOVE_MAT_GUID | 0/32 | External GUID for MOVE_MAT field. | – | ||||||
MOVE_MAT_VERSION | 0/10 | Version number for MOVE_MAT field. | – | ||||||
FUNC_AREA | 0/4 | Functional area. | – | ||||||
TR_PART_BA | 0/4 | Trading partner's business are | – | ||||||
PAR_COMPCO | 0/4 | Clearing company code. | – |

<MBGMCR03>
<IDOC BEGIN="1">
<EDI_DC40 SEGMENT="1">
<TABNAM>EDI_DC40</TABNAM>
<MANDT>300</MANDT>
<DOCNUM>0000000134206118</DOCNUM>
<DOCREL>s6</DOCREL>
<STATUS>03</STATUS>
<DIRECT>1</DIRECT>
<OUTMOD>s</OUTMOD>
<EXPRSS>s</EXPRSS>
<TEST>X</TEST>
<IDOCTYP>MBGMCR03</IDOCTYP>
<CIMTYP></CIMTYP>
<MESTYP>MBGMCR</MESTYP>
<MESCOD>COD</MESCOD>
<MESFCT>s5</MESFCT>
<STD>s</STD>
<STDVRS>s18</STDVRS>
<STDMES>s19</STDMES>
<SNDPOR>SAPD11</SNDPOR>
<SNDPRT>LS</SNDPRT>
<SNDPFC>LS</SNDPFC>
<SNDPRN>7123456780</SNDPRN>
<SNDSAD>s24</SNDSAD>
<SNDLAD>0010136941</SNDLAD>
<RCVPOR>TRACELINK</RCVPOR>
<RCVPRT>LS</RCVPRT>
<RCVPFC>s2</RCVPFC>
<RCVPRN>MUNROCL300</RCVPRN>
<RCVSAD>s30</RCVSAD>
<RCVLAD>333333101312</RCVLAD>
<CREDAT>20240327</CREDAT>
<CRETIM>1620</CRETIM>
<REFINT>s34</REFINT>
<REFGRP>s35</REFGRP>
<REFMES>s36</REFMES>
<ARCKEY>s37</ARCKEY>
<SERIAL>s38</SERIAL>
</EDI_DC40>
<E1MBGMCR SEGMENT="1">
<TESTRUN>s</TESTRUN>
<E1BP2017_GM_HEAD_01 SEGMENT="1">
<PSTNG_DATE>20240329</PSTNG_DATE>
<DOC_DATE>20240330</DOC_DATE>
<REF_DOC_NO>4500003288</REF_DOC_NO>
<BILL_OF_LADING>012547</BILL_OF_LADING>
<PR_UNAME>username</PR_UNAME>
<HEADER_TXT>testtext</HEADER_TXT>
<GR_GI_SLIP_NO>s46</GR_GI_SLIP_NO>
<VER_GR_GI_SLIP>s</VER_GR_GI_SLIP>
<VER_GR_GI_SLIPX>s</VER_GR_GI_SLIPX>
<EXT_WMS>s</EXT_WMS>
<REF_DOC_NO_LONG>s52</REF_DOC_NO_LONG>
<BILL_OF_LADING_LONG>s53</BILL_OF_LADING_LONG>
<BAR_CODE>s54</BAR_CODE>
</E1BP2017_GM_HEAD_01>
<E1BP2017_GM_CODE SEGMENT="1">
<GM_CODE>01</GM_CODE>
</E1BP2017_GM_CODE>
<E1BP2017_GM_ITEM_CREATE SEGMENT="1">
<MATERIAL>100021</MATERIAL>
<PLANT>P345</PLANT>
<STGE_LOC>CH01</STGE_LOC>
<BATCH>0001106639</BATCH>
<MOVE_TYPE>322</MOVE_TYPE>
<STCK_TYPE>2</STCK_TYPE>
<SPEC_STOCK>Y</SPEC_STOCK>
<VENDOR>8568745</VENDOR>
<CUSTOMER>3333101365</CUSTOMER>
<SALES_ORD>SUPL456</SALES_ORD>
<S_ORD_ITEM>001</S_ORD_ITEM>
<ENTRY_QNT>100</ENTRY_QNT>
<ENTRY_UOM>EA</ENTRY_UOM>
<PO_NUMBER>PO123</PO_NUMBER>
<PO_ITEM>00010</PO_ITEM>
<ITEM_TEXT>Pharma productA</ITEM_TEXT>
<GR_RCPT>333331013650</GR_RCPT>
<ORDERID>012547</ORDERID>
<ORDER_ITNO>001</ORDER_ITNO>
<RESERV_NO>RES987</RESERV_NO>
<RES_ITEM>001</RES_ITEM>
<MVT_IND>W</MVT_IND>
<MOVE_REAS>0544</MOVE_REAS>
<EXPIRYDATE>20240322</EXPIRYDATE>
<PROD_DATE>20240321</PROD_DATE>
<VENDRBATCH>WHLOT123</VENDRBATCH>
<SCHED_LINE>s73</SCHED_LINE>
<VAL_TYPE>s74</VAL_TYPE>
<ENTRY_UOM_ISO>s77</ENTRY_UOM_ISO>
<PO_PR_QNT>s78</PO_PR_QNT>
<ORDERPR_UN>s79</ORDERPR_UN>
<ORDERPR_UN_ISO>s80</ORDERPR_UN_ISO>
<SHIPPING>s8</SHIPPING>
<COMP_SHIP>s8</COMP_SHIP>
<NO_MORE_GR>s</NO_MORE_GR>
<UNLOAD_PT>s88</UNLOAD_PT>
<COSTCENTER>s89</COSTCENTER>
<CALC_MOTIVE>s9</CALC_MOTIVE>
<ASSET_NO>s93</ASSET_NO>
<SUB_NUMBER>s94</SUB_NUMBER>
<RES_TYPE>s</RES_TYPE>
<WITHDRAWN>s</WITHDRAWN>
<MOVE_MAT>s99</MOVE_MAT>
<MOVE_PLANT>s100</MOVE_PLANT>
<MOVE_STLOC>s101</MOVE_STLOC>
<MOVE_BATCH>s102</MOVE_BATCH>
<MOVE_VAL_TYPE>s103</MOVE_VAL_TYPE>
<RL_EST_KEY>s106</RL_EST_KEY>
<REF_DATE>s107</REF_DATE>
<COST_OBJ>s108</COST_OBJ>
<PROFIT_SEGM_NO>s109</PROFIT_SEGM_NO>
<PROFIT_CTR>s110</PROFIT_CTR>
<WBS_ELEM>s111</WBS_ELEM>
<NETWORK>s112</NETWORK>
<ACTIVITY>s113</ACTIVITY>
<PART_ACCT>s114</PART_ACCT>
<AMOUNT_LC>s115</AMOUNT_LC>
<AMOUNT_SV>s116</AMOUNT_SV>
<REF_DOC_YR>s117</REF_DOC_YR>
<REF_DOC>s118</REF_DOC>
<REF_DOC_IT>s119</REF_DOC_IT>
<FUND>s122</FUND>
<FUNDS_CTR>s123</FUNDS_CTR>
<CMMT_ITEM>s124</CMMT_ITEM>
<VAL_SALES_ORD>s125</VAL_SALES_ORD>
<VAL_S_ORD_ITEM>s126</VAL_S_ORD_ITEM>
<VAL_WBS_ELEM>s127</VAL_WBS_ELEM>
<GL_ACCOUNT>s128</GL_ACCOUNT>
<IND_PROPOSE_QUANX>s</IND_PROPOSE_QUANX>
<XSTOB>s</XSTOB>
<EAN_UPC>s131</EAN_UPC>
<DELIV_NUMB_TO_SEARCH>s132</DELIV_NUMB_TO_SEARCH>
<DELIV_ITEM_TO_SEARCH>s133</DELIV_ITEM_TO_SEARCH>
<SERIALNO_AUTO_NUMBERASSIGNMENT>s</SERIALNO_AUTO_NUMBERASSIGNMENT>
<STGE_TYPE>s13</STGE_TYPE>
<STGE_BIN>s137</STGE_BIN>
<SU_PL_STCK_1>s138</SU_PL_STCK_1>
<ST_UN_QTYY_1>s139</ST_UN_QTYY_1>
<ST_UN_QTYY_1_ISO>s14</ST_UN_QTYY_1_ISO>
<UNITTYPE_1>s14</UNITTYPE_1>
<SU_PL_STCK_2>s142</SU_PL_STCK_2>
<ST_UN_QTYY_2>s143</ST_UN_QTYY_2>
<ST_UN_QTYY_2_ISO>s14</ST_UN_QTYY_2_ISO>
<UNITTYPE_2>s14</UNITTYPE_2>
<STGE_TYPE_PC>s14</STGE_TYPE_PC>
<STGE_BIN_PC>s147</STGE_BIN_PC>
<NO_PST_CHGNT>s</NO_PST_CHGNT>
<GR_NUMBER>s149</GR_NUMBER>
<STGE_TYPE_ST>s15</STGE_TYPE_ST>
<STGE_BIN_ST>s151</STGE_BIN_ST>
<MATDOC_TR_CANCEL>s152</MATDOC_TR_CANCEL>
<MATITEM_TR_CANCEL>s153</MATITEM_TR_CANCEL>
<MATYEAR_TR_CANCEL>s154</MATYEAR_TR_CANCEL>
<NO_TRANSFER_REQ>s</NO_TRANSFER_REQ>
<CO_BUSPROC>s156</CO_BUSPROC>
<ACTTYPE>s157</ACTTYPE>
<SUPPL_VEND>s158</SUPPL_VEND>
<MATERIAL_EXTERNAL>s159</MATERIAL_EXTERNAL>
<MATERIAL_GUID>s160</MATERIAL_GUID>
<MATERIAL_VERSION>s161</MATERIAL_VERSION>
<MOVE_MAT_EXTERNAL>s162</MOVE_MAT_EXTERNAL>
<MOVE_MAT_GUID>s163</MOVE_MAT_GUID>
<MOVE_MAT_VERSION>s164</MOVE_MAT_VERSION>
<FUNC_AREA>s165</FUNC_AREA>
<TR_PART_BA>s166</TR_PART_BA>
<PAR_COMPCO>s167</PAR_COMPCO>
</E1BP2017_GM_ITEM_CREATE>
</E1MBGMCR>
</IDOC>
</MBGMCR03>
Tag end
Type = API Reference,; Topic = Multienterprise Information Network Tower (MINT), Transforms,;Persona = TraceLink Administrator, User,; Orchestration = Manufacturing, Logistics, Commerce, Clinical Supply,; Function = Supply Chain, IT, Procurement,
Inventory Updates (X12)
Suppliers use inventory updates to communicate information about changes in inventory quantity or status with their remote or third-party warehouses or CMOs.
Contact your TraceLink Services representative for more information about integrating with this message.
- Message Type: MPC_INVENTORY_UPDATE (Inventory Update)
- X12 Format: 947
- Transform Names:
- B2B_EDI_X12_947_InventoryUpdate_IB_V2
- B2B_EDI_X12_947_InventoryUpdate_OB_V1

Input Element | Occurs | Length | Description | Example | |||
---|---|---|---|---|---|---|---|
ISA | – | Required. ISA interchange envelope. | – | ||||
ISA01 | 2/2 | Required. Qualifier for authorization control number in ISA02. | 00 | ||||
ISA02 | 10/10 | Required. Information used for additional identification or authorization of the interchange sender or the data in the interchange/ 10 spaces a valid entry. | – | ||||
ISA03 | 2/2 | Required. Qualifier for security information in ISA04. | 00 | ||||
ISA04 | 10/10 | Required. Identifies security information about the interchange sender or data. | – | ||||
ISA05 | 2/2 |
Required. Interchange sender partner ID qualifier. Valid values:
|
07 | ||||
ISA06 | 15/15 | Required. Interchange sender identification mapping to fileSenderNumber with party type defined in ISA05. | 7777776067344 | ||||
ISA07 | 2/2 |
Required. Interchange receiver partner ID qualifier. Valid values:
|
01 | ||||
ISA08 | 15/15 | Required. EDI receiver ID mapping to file control header and to ServiceLinkId. | 888888404358877 | ||||
ISA09 | 6/6 | Required. Interchange date in 6 char YYMMDD format. | 231020 | ||||
ISA10 | 4/4 | Required. Interchange time in 4 char HHMM format. | 1420 | ||||
ISA11 | 1/1 | Required. This value is dependent on X12 version. - Version 4012 and earlier, this is the interchange control standards identifier. Valid value is U, version 4020 and later, this is the repetition separator, a delimiter that separates repeated occurrences of a data element or composite data structure, which must be different than the data element separator, component separator, and segment terminator. | ^ | ||||
ISA12 | 5/5 | Required. Interchange control version number. This could be any X12 version. | 00501 | ||||
ISA13 | 9/9 | Required. Interchange Control Number mapping to file control header. | 0000000000619827 | ||||
ISA14 | 1/1 |
Required. Interchange level acknowledgment requested. Valid values:
|
0 | ||||
ISA15 | 1/1 |
Required. Indicates whether the interchange is for production, test, or information purposes. Valid values:
|
P | ||||
ISA16 | 1/1 | Required. Component element separator. Delimiter that separates data elements within a composite data structure. Must be different than the data element separator and segment terminator. | > | ||||
GS | – | GS group functional envelope. Child of ISA. Only one GS group expected per interchange. | – | ||||
GS01 | 2/2 | Required. GS group function code. Valid
value is RE - WHS stock transfer receipt advice. |
RE | ||||
GS02 | 2/15 | Required. Application sender's code. | 2222224043588 | ||||
GS03 | 2/15 | Required. Application receiver's code. | TRACELINK | ||||
GS04 | 8/8 | Required. Current date stamp in 8 char X12 date format YYYYMMDD. | 20301020 | ||||
GS05 | 4/8 | Required. Current time stamp in 6 char X12 time format HHMMSS. | 142000 | ||||
GS06 | 1/9 | Required. Group control ID number. | 619827 | ||||
GS07 | 1/2 |
Required. Responsible agency code. Valid values:
|
X | ||||
GS08 | 1/12 | Required. X12 message version code. Valid
value is 005010 . |
005010 | ||||
ST | – | ST transaction set envelope. Child of GS group. Only one ST transaction expected. | – | ||||
ST01 | 3/3 | Required. Transaction set identifier code. | 947 | ||||
ST02 | 4/9 | Required. Transaction set ID number. Counter for each ST segment beginning with 1. | 0001 | ||||
W15 | – | Required. Warehouse Adjustment Notification. | – | ||||
W1501 | 8/8 | Required. Date for inventory update. Required value. | 20240329 | ||||
W1502 | 1/22 | Adjustment Number. Identification assigned to an inventory level or status adjustment. | 4500003288 | ||||
W1503 | 1/22 | Update (adjustment) number assigned to an inventory level or status update. | 123456 | ||||
W1504 | 2/2 |
Transaction Set Purpose Code. Valid values:
|
00 | ||||
W1505 | 2/2 | Transaction type code. Valid value is
IA - Inventory. |
IA | ||||
W1506 | 2-Jan | Required. Action code. | 20240329 | ||||
N1 | – |
Name segment loop for:
|
– | ||||
N101 | 2/3 |
Required. Entity qualifier for the buyer party identifier and address information. Valid values:
|
BY | ||||
N102 | 1/60 | Required. Name. | Pharma customer | ||||
N103 | 1/2 |
Required. Identifier code qualifier. Valid values:
|
UL | ||||
N104 | 2/80 | Required. Instance 1 buyer party identifier as qualified by N103 mapping to companyIdentifierValue. | 3333331013655 | ||||
N3 | – | N3: Address: Child of warehouse party N1 name segment. | – | ||||
N301 | 1/55 | Required. Street address 1. | 555 Neelan Road | ||||
N302 | 1/55 | Street address 2. | Suite 123 | ||||
N4 | – | N4: Geographic Location. Child of warehouse party N1 name segment. | – | ||||
N401 | 2/30 | Required. City name. | Sacramento | ||||
N402 | 2/2 | Required. State or province code. Code (Standard state/province) as defined by appropriate government agency. | CA | ||||
N403 | 3/15 | Required. Postal code. Code defining international postal zone code excluding punctuation and blanks. | 95833 | ||||
N404 | 2/3 | Required. Country code. | US | ||||
PER | – | Contact Information. | – | ||||
PER01 | 2/2 |
Required. Contact function code identifying
major duty or responsibility of person or group named as contact. Valid
value is
|
AJ | ||||
PER02 | 1/40 | Required. Name of the contact person responsible for authenticating the pedigree information. | John Smith | ||||
PER03 | 2/2 |
Required. Communication number qualifier identifying the contact person's telephone number or email address. Valid values:
|
TE | ||||
PER04 | 11/20 | Required. Communication number: Telephone number of the contact person expected in this field. | +1.516.747.6849 | ||||
PER04 | 11/20 | Required. Communication number: Email address of the contact person. | jsmith@manufac.com | ||||
PER05 | 2/2 |
Required. Communication number qualifier identifying the contact person's telephone number or email address. Valid values:
|
EM | ||||
PER06 | 6/50 | Required. Communication number : Email address for the contact person expected in this field. | jsmith@manufac.com | ||||
PER06 | 6/50 | Required. Communication number: Telephone number of the contact person. | +1.516.747.6849 | ||||
N9 | – | Extended reference information. | – | ||||
N901 | 2/3 | Reference identifier qualifier.
Valid value is
BM – BOL. |
BM | ||||
N902 | 1/50 | Reference information. | 012547 | ||||
N903 | 1/45 | Free from description. | – | ||||
N904 | 8/8 | Required. Date. | 20240329 | ||||
G61 | 0…3 | – | Contact. | – | |||
G6101 | 2/2 | Required. Contact function code. Valid value is
IC – Information contact. |
– | ||||
G6102 | 1/60 | Required. Name. | – | ||||
G6103 | 2/2 |
Communication number qualifier. Valid values:
|
– | ||||
G6104 | 1/256 | Communication Number | – | ||||
G6105 | 1/20 | Contact Inquiry Reference | – | ||||
G62 | – | Mapping for expiration date. | – | ||||
G6201 | 3/3 | Required. Qualifier identifying expiration
date. Valid value is
36 – Expiration. |
36 | ||||
G6202 | 8/8 | Date value in date format YYYYMMDD | 20240329 | ||||
G62 | – | Mapping for manufacturing date. | – | ||||
G6201 | 3/3 | Required. Qualifier identifying
manufacturing date. Valid value is
BL – Manufacturing. |
BL | ||||
G6202 | 8/8 | Date value in date format YYYYMMDD. | 20240329 | ||||
NTE | – | Note or special instruction. | – | ||||
NTE01 | 3/3 |
Note reference code. Valid values:
|
ADD | ||||
NTE02 | 1/80 | Description. | – | ||||
W19 | – | Warehouse update item detail. | – | ||||
W1901 | 2/2 |
Required. Quantity or adjustment reason code. Valid values:
Note: Each of these, except 88 and 08, can be either a posting or a reversal based on whether the quantity in W1902 is a positive (posting) or negative (reversal) value. |
CR | ||||
W1902 | 1/10 | Required. Credit and debit quantity. | 15 | ||||
W1903 | 2/2 |
Required. Unit of measure for quantity. Quantity UOM's:
|
EA | ||||
W1904 | 12/12 | U.P.C Case code. | – | ||||
W1905 | 2/2 |
Required. Product or service ID qualifier. Valid values:
|
BP | ||||
W1906 | 1/48 | Required. Product or service identifier value as qualifier by W1905. | 100021 | ||||
W1907 | 2/2 | Product or service ID qualifier. | – | ||||
W1908 | 1/48 | Product or service identifier value. | – | ||||
W1909 | 1/12 | Warehouse lot number. | WHLOT123 | ||||
W1910 | 1/10 | Weight. | – | ||||
W1911 | 1/2 | Weight qualifier. | – | ||||
W1912 | 1/1 | Weight unit code. | – | ||||
W1913 | 1/10 | Weight. | – | ||||
W1914 | 1/2 | Weight qualifier. | – | ||||
W1915 | 1/1 | Weight unit code. | – | ||||
W1916 | 1/2 | Inventory transaction type code. | DM | ||||
W1917 | 2/2 | Product or service qualifier. Valid value is
W2 – Work unit number. |
VN | ||||
W1918 | 1/48 | Product or service identifier value as qualifier by W1917. | 1000818 | ||||
G69 | – | Line item detail description. | – | ||||
G6901 | 1/45 | Required. Free from description. | – | ||||
N9 | – | Mapping to lot number. | – | ||||
N901 | 2/3 | Required. Extended reference qualifier for
mapping to lot number. Valid value is
LT – Lot number. |
LT | ||||
N902 | 1/50 | Required. Lot number. | LT102521 | ||||
N9 | Mapping to plant identifier. | ||||||
N901 | 2/3 | Extended reference qualifier for
mapping to plant identifier. Valid value is
PE – Plant Identifier. |
PE | ||||
N902 | 1/50 | Plant identifier value. | 012547 | ||||
N9 | – | Mapping to storage location. | – | ||||
N901 | 2/3 | Extended reference qualifier for
mapping to storage location. Valid value is
WS – Warehouse location. |
WS | ||||
N902 | 1/50 | Reference Information | 12345 | ||||
N9 | – | Mapping directions for document identifiers that inventory posts against. | – | ||||
N901 | 2/3 |
Reference identifier qualifier. Valid values:
|
PO | ||||
N902 | 1/50 | Inventory update document identifier. | 012547 | ||||
N903 | 1/45 | Line item number for the referenced document in N902. | 10 | ||||
SE | – | Required. ST … SE transaction set trailer envelope. Child of GS group. Only one ST transaction expected. | – | ||||
SE01 | 1/10 | Required. Total count of segments in ST … SE transaction set including ST and SE segments. | 10 | ||||
SE02 | 4/9 | Required. Transaction set control number. | 0001 | ||||
GE | – | Required. GS … GE functional group trailer envelope. Child of ISA interchange. Only one GS group expected. | – | ||||
GE01 | 1/6 | Required. Number of transaction sets in functional group. | 5 | ||||
GE02 | 1/9 | Required. Functional group control number. | 619827 | ||||
IEA | – | Required. ISA … IEA interchange control trailer envelope. Only one interchange expected per transmission. | – | ||||
IEA01 | 1/5 | Required. Number of functional groups in interchange. | 1 | ||||
IEA02 | 9/9 | Required. Interchange control number | 0000000000619827 |

ISA*00*Author1234*00*Security00*07*7777776067344
*01*888888404358877*231020*1420*^*00501*123456789*0*P*>
GS*RE*2222224043588*TRACELINK*20301020*142000*619827*X*005010
ST*947*0001
W15*20240329*4500003288*123456*00*IA*14
N1*BY*Pharma customer*UL*3333331013655
N3*555 Neelan Road*Suite 123
N4*Sacramento*CA*95833*US
PER*AJ*John Smith*TE*+1.516.747.6849*EM*jsmith@manufac.com
N1*SU*Pharma supplier*UL*8568745
N3*Address_1*Address_2
N4*City_SU*SU*95833*US
PER*AJ*John Smith*EM*jsmith@manufac.com*TE*+1.516.747.6849
N1*ST*Wholesale Inc*11*3333331013655
N3*555 Neelan Road*Suite 123
N4*Sacramento*CA*95833*US
PER*AJ*John Smith*TE*+1.516.747.6849*EM*jsmith@manufac.com
N9*BM*012547
G62*36*20240322
G62*BL*20240321
W19*05*100*EA**BP*100021***WHLOT123*******IT
G69*free form description goes here
N9*LT*LT102521
N9*PE*012547
N9*WS*12345
N9*PO*PurchaseOrder*10
N9*WO*WorkOrder*20
N9*DO*Delivery*30
N9*RSN*Reservation*40
SE*27*0001
GE*1*619827
IEA*1*123456789
Tag end
Type = API Reference,; Topic = Multienterprise Information Network Tower (MINT), Transforms,;Persona = TraceLink Administrator, User,; Orchestration = Manufacturing, Logistics, Commerce, Clinical Supply,; Function = Supply Chain, IT, Procurement,