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

# Field Name Required Field Description Xpath Example
1 Sender   The sender of the EDI message, identified by a GLN. /b24Message/inventoryReport/sender/#gln
<sender gln="1111111111111">
2 Recipient   The recipient of the EDI message, identified by a GLN. /b24Message/inventoryReport/recipient/#gln
<recipient gln="2222222222222">
3 Supplier   The supplier, identified by a GLN. /b24Message/inventoryReport/supplier/#gln
<supplier gln="2222222222222"/>
4 Buyer   The reseller group/HQ, identified by a GLN. /b24Message/inventoryReport/buyer/#gln
<buyer gln="1111111111111"/>
5 Document Number   Document number for specific Inventory report /b24Message/inventoryReport/documentReference[@documentType="InventoryReport"]/@id
<documentReference documentType="InventoryReport" id="INV-123" date="2018-03-21">
6 Document Date   Document/creation date for specific Inventory report /b24Message/inventoryReport/documentReference[@documentType="InventoryReport"]/@date
<documentReference documentType="InventoryReport" id="INV-123" date="2018-03-21">
7 Inventory Date   Date of Inventory values.? /b24Message/inventoryReport/documentReference[@documentType="InventoryReport"]/@date
<documentReference documentType="InventoryReport" id="INV-123" date="2018-03-21">
8 Location   Location subject to inventory /b24Message/inventoryReport/site/location/#gln
<location gln="2222222222222">
9 Supplier Item ID   The supplier's unique item ID of the product. /b24Message/inventoryReport/site/item/@id
<item id="1000000001111">
10 Barcode with type   The supplier's EAN/UPC code of the product. /b24Message/inventoryReport/site/item/itemReference[@registry="Supplier" and @coding="EAN13"]
<itemReference registry="Supplier" coding="EAN13">1234567891123</itemReference>
11 Quantity in stock   Product quantity in stock at site. /b24Message/inventoryReport/site/item/@quantity
<item quantity="2">
12 Allocated Quantity   Quantity of product that has been allocated. /b24Message/inventoryReport/site/item/@allocQuantity
<item allocQuantity="0">
13 Target Quantity   Total quantity to be expected at location. /b24Message/inventoryReport/site/item/@targetQuantity
<item targetQuantity="6">
14 Incoming quantity and date   Incoming quantity at date. /b24Message/inventoryReport/site/item/incoming@date and @quantity
<incoming date="2018-05-05" quantity="1">