Body

xml INVRPT (Inventory Report)

The INVRPT message intent is to exchange information related to inventories of raw materials, manufactured articles, or other stockable items, and can be exchanged between a manufacturer and distributor (wholesaler), or manufacturer and consignment holder, etc.

General usage

- The message includes functionality to differentiate classes of inventory, and to permit financial valuation of inventories facilitating price protection claims, auditing, statutory declarations, etc.
- The specified quantities relating to a product can indicate opening stock, closing stock, and goods movement (receipts or withdrawals) of held inventory, for a given time frame.
- The specified quantities can relate directly to a product or package, and may be sub-detailed within different groups or classes, e.g., batch, age, valuation, location, etc.

Fields used in the INVRPT message

Name Required Description Examples XPATH Type Limits Sort
Sender Gln Yes

The sender of the EDI message, identified by a GLN.

 <sender gln="1111111111111"> 

/b24Message/inventoryReport/sender/#gln

Number 1
Recipient Gln Yes

The recipient of the EDI message, identified by a GLN.

 <recipient gln="2222222222222"> 

/b24Message/inventoryReport/recipient/#gln

Number 2
Supplier Gln Yes

The supplier, identified by a GLN.

 <supplier gln="2222222222222"/> 

/b24Message/inventoryReport/supplier/#gln

Number 3
Buyer Gln Yes

The reseller group/HQ, identified by a GLN.

 <buyer gln="1111111111111"/> 

/b24Message/inventoryReport/buyer/#gln

Number 4
Inventory Report Number Yes

Document number for specific Inventory report

 <documentReference documentType="InventoryReport" id="INV-123" date="2018-03-21"> 

/b24Message/inventoryReport/documentReference[@documentType="InventoryReport"]/@id

Text 5
Inventory Report Date Yes

Document/creation date for specific Inventory report

 <documentReference documentType="InventoryReport" id="INV-123" date="2018-03-21"> 

/b24Message/inventoryReport/documentReference[@documentType="InventoryReport"]/@date

Date/Time 6
Site Gln Yes

Location subject to inventory

 <location gln="2222222222222"> 

/b24Message/inventoryReport/site/location/#gln

Number 8
Supplier Item ID No

The supplier's unique item ID of the product.

 <item id="1000000001111"> 

/b24Message/inventoryReport/site/item/@id

Text 9
Barcode with type Yes

The supplier's EAN/UPC code of the product.

 <itemReference registry="Supplier" coding="EAN13">1234567891123</itemReference> 

/b24Message/inventoryReport/site/item/itemReference[@registry="Supplier" and @coding="EAN13"]

Number 10
Quantity in stock No

Product quantity currently in stock at site.

 <item quantity="2"> 

/b24Message/inventoryReport/site/item/@quantity

Number 11
Allocated Quantity No

Quantity of product that has been allocated. That is to say that it is a quantity of product currently in storage that has already been purchased and is awaiting delivery out of storage.

 <item allocQuantity="0"> 

/b24Message/inventoryReport/site/item/@allocQuantity

Number 12
Target Quantity No

The quantity that the sender of the inventory report intends to have available in storage. So that if the current quantity at the site is lower than the target quantity, the intention is to have more of the product be delivered to the site.

 <item targetQuantity="6"> 

/b24Message/inventoryReport/site/item/@targetQuantity

Number 13
Incoming quantity No

Incoming quantity currently expecting delivery, this is a repetitive element, in case there are several expected delivery, every delivery should be represented by an <incoming"> element with the quantity expected to be delivered and the date it is expected to arrive

 <incoming date="2018-05-05" quantity="1"> 

/b24Message/inventoryReport/site/item/incoming/@quantity

Number 14
Incoming Date No

The date the incoming Quantity is expected to be delivered, the incoming element is repetitive ,in case there are several expected delivery, every delivery should be represented by an <incoming"> element with the quantity expected to be delivered and the date it is expected to arrive

 <incoming date="2018-05-05" quantity="1"> 

/b24Message/inventoryReport/site/item/incoming/@date

Date/Time 15