Shipment Information Update (XML) API
Smart Inventory Tracker Owners receive this asynchronous outbound message from TraceLink when a warehouse operator completes a shipment. This message includes the products, lot numbers, quantities, and container information associated with the delivery number, which can be used to update inventory within the company's ERP system or WMS.
Owners, or an Administrator for the Owner, must enable the Complete Shipment event workflow and set the message to be delivered automatically in the Transaction Delivery Rules in Company Administration to receive this message.

See the Body guidelines, Errors, and Body example for this message below.
Body guidelines
Element | Occurs Length |
Type |
Description |
|||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
sit:SIT |
– |
1...1– | Required. The TL XML message root element. | |||||||||
sit:ControlFileHeader | – |
1...1– | Required. Smart Inventory Tracker header record group. | |||||||||
cmn:FileSenderNumber | 1/* |
1...1String | Required. Identifier for the sender of the file. | |||||||||
cmn:FileReceiverNumber | 1/* |
1...1String | Required. Identifier for the receiver of the file. | |||||||||
cmn:FileControlNumber | 1/* |
1...1String | Required. Unique file identifier assigned by the sender. | |||||||||
cmn:FileDate | 10/10 |
1...1Date | Required. Date the file is created in YYYY-MM-DD format. | |||||||||
cmn:FileTime | 8/8 |
1...1Time | Required. Time the file is created in HH:MM:SSZ format. | |||||||||
sit:MessageBody | – |
1...1– | Required. Smart Inventory Tracker shipment information message details. | |||||||||
cmn:DeliveryNumber | 1/* |
1...1String | Required. The unique identifier for the shipment. | |||||||||
cmn: |
1/* |
1...1String |
Required. The type of sale or transfer. Valid values:
|
|||||||||
cmn:TransactionIdentifiers | – |
1...1– | Required. List of transaction identifiers associated with the shipment. | |||||||||
cmn:TransactionIdentifier | 1/* |
1...*String | Required. The shipment's transaction identifier. | |||||||||
@type | 1/* |
1...1String |
Required. The transaction identifier type. Valid values:
|
|||||||||
@date | 0/* |
0...1Date | The date printed on the transaction document in YYYY-MM-DD format. | |||||||||
cmn:DeliveryInspection | 0/* |
0...1String |
The inspection status of the physical delivery against the delivery documentation. Valid values:
|
|||||||||
cmn:DeliveryInspectionDate | 0/* |
0...1Date | The date of the physical delivery inspection against the delivery documentation. | |||||||||
cmn:DeliveryInspectionNote | 0/* |
0...1String | Comments about the physical delivery inspection against the delivery documentation. | |||||||||
cmn:AggregationInspection | 0/* |
0...1String |
The inspection status of the aggregation hierarchy of the container. Valid values:
|
|||||||||
cmn:CarrierInfo | – |
0...*– | The full business information associated with the carrier responsible for delivering the shipment. cmn:CarrierInfo contains an XML Choice element that governs whether master data lookup will be used to populate the address elements. The choice elements allow only one of the element sets contained in the choice declaration to be present within the containing element. | |||||||||
cmn:CarrierBusinessPartyInfo | – |
0...1– | Conditionally required if cmn:CarrierBusinessPartyLookupId is not populated. This is Option 2 for cmn:CarrierInfo option. This element contains the full business information associated with the transportation carrier business entity. | |||||||||
cmn:BusinessId | 1/* |
1...*String |
Required. Indicates the identifier associated with either the sold from business entity or the sold to business entity. This value is mandatory for regulatory reporting. Different countries require different values as noted below: ![]()
|
|||||||||
@type | 1/* |
1...1String |
Required. The business id type. ![]()
|
|||||||||
cmn:BusinessClassification | 0/* |
0...1String |
This field classifies the business type of the TraceLink customer or trading partner. Valid values:
![]() |
|||||||||
cmn:BusinessInfo | – |
0...1– |
|
|||||||||
cmn:BusinessName | 1/* |
1...1String | Required. The name of the receiving business entity. | |||||||||
cmn:Street1 | 1/* |
1...1String | Required. The first line of the street address for the company indicated in cmn:BusinessName. | |||||||||
cmn:Street2 | 0/* |
0...1String | The second line of the street address for the company indicated in cmn:BusinessName. | |||||||||
cmn:City |
|
1...1String | Required. The city of the company indicated in cmn:BusinessName. | |||||||||
cmn:Village | 0/* |
0...1String | Name of the village in which the company is located. | |||||||||
cmn:HouseNumber | 0/* |
0...1String | Building, house, or unit number of the company. House numbers are usually only separated from the street address in China. For all addresses outside of China, continue to enter the building, house, or unit number in Street1. | |||||||||
cmn:Township | 0/* |
0...1String | Name of the township in which the company is located. | |||||||||
cmn:District | 0/* |
0...1String |
|
|||||||||
cmn:StateOrRegion | 1/* |
1...1String | Required. Two-letter abbreviation specified in ISO 3166-2:1998 country subdivision code. The state, province, or region of the company specified in cmn:BusinessName. | |||||||||
cmn:PostalCode | 1/* |
1...1String | Required. The zip or other postal code of the company indicated in cmn:BusinessName. | |||||||||
cmn:Country | 1/* |
1...1String | Required. Standard two-letter abbreviation specified in ISO 3166-1alpha-2:1997 country code. The country code of the company indicated in cmn:BusinessName.![]()
|
|||||||||
cmn:CorporateFax | 0/* |
0...1String | Company fax number. | |||||||||
cmn:AddressObjectGUID | 0/* |
0...1String |
The global identifier assigned by the Russian Federation Information Address System (FIAS). Maximum 36 characters, using the digits 0-9 and letters A-F. |
|||||||||
cmn:HouseGUID | 0/* |
0...1String |
The global House identifier assigned by the Russian Federation Information Address System (FIAS). Maximum 36 characters, using the digits 0-9 and letters A-F. |
|||||||||
cmn:TaxRegistrationCode | 0/* |
0...1String | The code used to identify this entity for tax or other legal reporting purposes (e.g. a Russia KPP Registration Code). | |||||||||
cmn:PremisesCode | 0/* |
0...1String | Identifier representing a physical area within the company location (e.g. a location's second floor). | |||||||||
cmn:OrderItemAssociations | – |
1...1– | Required. List of the unique product, lot, and quantity combinations in the shipment. Taken from the order items in Serialized Operations Manager and includes any updates made to the shipment in Smart Inventory Tracker. ![]() |
|||||||||
cmn:OrderItemAssociation | – |
1...1– | Required. Information about a specific order item. | |||||||||
cmn:InternalMaterialCode | 0/* |
0...1String | The Internal Material Number that identifies the product. | |||||||||
cmn:CountryDrugCode | 1/* |
0...1String | The national drug code that identifies the product. | |||||||||
@type | 0/* |
0...1String |
Required. The national drug code type. ![]()
|
|||||||||
cmn:PackagingItemCode | 1/* |
1...1String | Required. The packaging code that identifies the product and its packaging level. | |||||||||
@type | 1/* |
1...1String | Required. The type of packaging code. Valid values:
|
|||||||||
cmn:LotNumber | 0/* |
0...1String | The lot number associated with the product. | |||||||||
cmn:ExpirationDate | 0/* |
0...1Date | The expiration date associated with the product in YYYY-MM-DD format. | |||||||||
cmn:Quantity | 1/* |
1...1Integer | Required. The number of items with this product and lot number combination included in the shipment. ![]() |
|||||||||
cmn:IsSerialized | – |
0...1Boolean |
Indicates whether the product is serialized. Valid values:
If a value is not specified, this element defaults to true. |
|||||||||
cmn:PackagingLevel | 1/* |
1...1String | Required. The packaging level (i.e. packaging unit of measure) of the product. At the cmn:OrderItemAssociation level, the packaging level is always each (i.e. EA). | |||||||||
cmn:PackGroups | – |
0...1– | List of the top-level parent containers within the order item. Each pack is logically grouped with other packs that have the same container quantity (i.e. lowest saleable units). cmn:NumberOfPacks identifies the total number of packs in that group. |
|||||||||
cmn:PackGroup | – |
1...*– | Required. Information about a specific top-level parent. | |||||||||
cmn:ContainerQty | 1/* |
1...1Integer | Required. The number of eaches (i.e. lowest saleable units) contained within each top-level parent in this group. | |||||||||
cmn:NumberOfPacks | 1/* |
1...1Integer | Required. The number of top-level parents that share the same cmn:ContainerQty. | |||||||||
cmn:PackagingItemCode | 1/* |
0...1String | The packaging code value for the top-level parents in this group. | |||||||||
@type | 1/* |
1...1String |
Required. The packaging code type for the top-level parents in this group. Valid values:
|
|||||||||
cmn:PackagingLevel | 1/* |
1...1String |
Required. The packaging level for the top-level parents in this group. Valid values:
|
|||||||||
cmn:OrderItemContainers | – |
0...1– | The list of containers within the order item. | |||||||||
cmn:OrderItemContainer | – |
1...*– | Required. Information about the specific container. | |||||||||
cmn:SerialNumber | 1/* |
1...1String | Required. The serial number for the container, formatted without parentheses (e.g. 00103123400000001515). GTIN, NTIN, SSCC, and EDMC serial numbers are allowed. | |||||||||
cmn:PackagingLevel | 1/* |
1...1String |
Required. The packaging level (i.e. packaging unit of measure) of the container. Valid values:
|
|||||||||
cmn:Quantity | 1/* |
1...1Integer | Required. Total number of eaches (i.e. lowest saleable units) aggregated to the container. | |||||||||
cmn:PackGroups | – |
0...1– | List of the top-level parents within this specific container. | |||||||||
cmn:PackGroup | – |
1...*– | Required. Information about a specific group within the container. | |||||||||
cmn:ContainerQty | 1/* |
1...1Integer | Required. The number of eaches (i.e. lowest saleable units) contained within each top-level parent in this group. | |||||||||
cmn:NumberOfPacks | 1/* |
1...1Integer | Required. The number of top-level parents that share the same cmn:ContainerQty. | |||||||||
cmn:PackagingItemCode | 1/* |
0...1String | The packaging code value for the top-level parents in this group. | |||||||||
@type | 1/* |
1...1String |
Required. The packaging code type for the top-level parents in this group. Valid values:
|
|||||||||
cmn:PackagingLevel | 1/* |
1...1String |
Required. The packaging level for the top-level parents in this group. Valid values:
|
Errors
Elements | Error Message | Description |
---|---|---|
cmn:DeliveryNumber | Delivery number is required !!! | The error occurs if the source is empty or null. |
cmn: |
Valid |
The error occurs if the source is present, but there is no matching entry in the lookup file, or the source is empty or null. |
cmn:TransactionIdentifier | Transaction identifier is required !!! | The error occurs if the source is empty or null. |
cmn:TransactionIdentifier | @type | Valid transaction identifier type is required !!! | The error occurs if cmn:TransactionIdentifier is present, but the source is empty or null, or if there is no matching entry in the lookup file. |
cmn:OrderItemAssociation | cmn:PackagingItemCode | Packaging item code is required !!! | The error occurs if the source is empty or null. |
cmn:PackagingItemCode | @type | Valid packaging item code type is required !!! | The error occurs if cmn:PackagingItemCode is present, but the source is empty or null, or if there is no matching entry in the lookup file. |
cmn:ContainerQty | Container quantity is required !!! | The error occurs if the source is empty or null. |
cmn:NumberOfPacks | Number of packs is required !!! | The error occurs if the source is empty or null. |
cmn:SerialNumber | Serial number is required !!! | The error occurs if the source is empty or null. |
cmn:Quantity | Order item container quantity is required !!! | The error occurs if the source is empty or null. |
Body Example
<?xml version="1.0" encoding="UTF-8"?>
<sit:SITShipmentInformationUpdate xmlns:sit="urn:tracelink:mapper:sl:smart_inventory_tracker" xmlns:cmn="urn:tracelink:mapper:sl:commontypes">
<sit:ControlFileHeader>
<cmn:FileSenderNumber>8888882028655</cmn:FileSenderNumber>
<cmn:FileReceiverNumber>8888882028677</cmn:FileReceiverNumber>
<cmn:FileControlNumber>20190728063132</cmn:FileControlNumber>
<cmn:FileDate>2019-07-28</cmn:FileDate>
<cmn:FileTime>06:52:45Z</cmn:FileTime>
</sit:ControlFileHeader>
<sit:MessageBody>
<cmn:DeliveryNumber>80013145</cmn:DeliveryNumber>
<cmn:SalesDistributionType>EXPORTSALE</cmn:SalesDistributionType>
<cmn:TransactionIdentifiers>
<cmn:TransactionIdentifier type="PO">DG-20031211-1</cmn:TransactionIdentifier>
<cmn:TransactionIdentifier type="SALESORDER">10054</cmn:TransactionIdentifier>
</cmn:TransactionIdentifiers>
<cmn:OrderItemAssociations>
<cmn:OrderItemAssociation>
<cmn:InternalMaterialCode>1400-315</cmn:InternalMaterialCode>
<cmn:PackagingItemCode type="GTIN-14">00882026030229</cmn:PackagingItemCode>
<cmn:LotNumber>A12345</cmn:LotNumber>
<cmn:ExpirationDate>2021-08-15</cmn:ExpirationDate>
<cmn:Quantity>100</cmn:Quantity>
<cmn:IsSerialized>true</cmn:IsSerialized>
<cmn:PackagingLevel>EA</cmn:PackagingLevel>
<cmn:PackGroups>
<cmn:PackGroup>
<cmn:ContainerQty>100</cmn:ContainerQty>
<cmn:NumberOfPacks>5</cmn:NumberOfPacks>
<cmn:PackagingItemCode type="GTIN-14">00882026030229</cmn:PackagingItemCode>
<cmn:PackagingLevel>EA</cmn:PackagingLevel>
</cmn:PackGroup>
</cmn:PackGroups>
<cmn:OrderItemContainers>
<cmn:OrderItemContainer>
<cmn:SerialNumber>015088202501033321100000060001</cmn:SerialNumber>
<cmn:PackagingLevel>EA</cmn:PackagingLevel>
<cmn:Quantity>100</cmn:Quantity>
<cmn:PackGroups>
<cmn:PackGroup>
<cmn:ContainerQty>100</cmn:ContainerQty>
<cmn:NumberOfPacks>5</cmn:NumberOfPacks>
<cmn:PackagingItemCode type="GTIN-14">00882026030229</cmn:PackagingItemCode>
<cmn:PackagingLevel>EA</cmn:PackagingLevel>
</cmn:PackGroup>
</cmn:PackGroups>
</cmn:OrderItemContainer>
</cmn:OrderItemContainers>
</cmn:OrderItemAssociation>
</cmn:OrderItemAssociations>
</sit:MessageBody>
</sit:SITShipmentInformationUpdate>