Understanding Integration Inventory Masters
Understanding Integration Inventory Masters
The following table describes the type of inventory masters and its purpose:
Master Information
Stock Group
Stock Group in inventory are similar to Groups in Accounting masters. Stock Groups are useful to
classify the Stock Items. The stock group classification can be made based on some common
features such as brand name, product type, quality, etc. Grouping helps to locate Stock Items easily
and report their details in statements. The stock group can have collection of stock groups (sub
stock groups) as well.
The following XML request can be send to Tally from a TPA to create a stock group ‘Electronics’
<ENVELOPE>
<HEADER>
<TALLYREQUEST>Import Data</TALLYREQUEST>
</HEADER>
<BODY>
<IMPORTDATA>
<REQUESTDESC>
</REQUESTDESC>
<REQUESTDATA>
<NAME>Electronics</NAME>
</STOCKGROUP>
</TALLYMESSAGE>
</REQUESTDATA>
</IMPORTDATA>
</BODY>
</ENVELOPE>
Stock Item
Stock Item refers to the goods that an organization manufacture, trade or maintains. A stock item
can be created by providing a Name in Tally. However, the inventory master UOM (Unit of Measure)
is mandatory to define the quantity. It is good to create the dependent masters of the stock items
before creating a stock item.
The following are the XML tags for creating a stock item:
<ENVELOPE>
<HEADER>
<TYPE>Data</TYPE>
</HEADER>
<BODY>
<IMPORTDATA>
<REQUESTDESC>
</REQUESTDESC>
<REQUESTDATA>
</NAME.LIST>
</STOCKITEM>
</TALLYMESSAGE>
</REQUESTDATA>
</IMPORTDATA>
</BODY>
</ENVELOPE>
To create multiple stock items, the tag set <Stockitem> can be repeated as required.
UOM of a stock item cannot be altered when the stock item used in a transaction or in
a master
Tally responses in the following XML format for the XML request:
Tag Description
Example:
</STANDARDPRICELIST.LIST>
<STANDARDCOSTLIST.LIST>
</STANDARDCOSTLIST.LIST>
<BATCHNAME>
</BATCHNAME>
Identify/map items pushed by TPA
There may be a need to map the stock items maintained in Tally vs stock items maintained in TPA.
In such case, it is necessary to store a reference value in stock item master. This can be achieved
using the fields Alias or Part number of the stock item. Tally has a capability to provide multiple
Aliases and Part numbers to a master.
Alias
The Alias field gets enabled by the option “Provide aliases along with name?” in Stock item master
configuration.
NAME.LIST
List Yes It is the header of alias list
TPA can store multiple unique aliases using this following XML tags
<NAME.LIST TYPE=”String”>
<NAME>Stockno12345</NAME>
<NAME>TPA-Item-001</NAME>
</NAME.LIST>
Part No
The Part No. field gets enabled by the option “Use Part Number for stock items?” in Stock item
master configuration. This field is used to enter the catalogue number.
TPA can store multiple unique Part numbers using this following XML tags
<MAILINGNAME.LIST TYPE=”String”>
<MAILINGNAME>TPA-Stockno-00001</MAILINGNAME>
<MAILINGNAME>00001</MAILINGNAME>
</MAILINGNAME.LIST>
Units of Measure
Stock Items are purchased or sold on the basis of quantity. The quantity is measured by Units.
There are two type of UOMs, Simple and Compound. Simple unit is for basic requirement such as
numbers, meters, kilograms, and pieces. Compound units can be used with the combination of two
UOMs, like 1 box of 10 pieces [1 box = 10 pieces], to measure the stock items in two
aspects
Simple UOM
Simple units are nos, pcs, and so on.
Compound UOM
A Compound unit is a relation between two Simple Units. Hence, before you create a Compound
Unit, ensure that you have already created two Simple Units.
For example, To Create Compound unit – Doz (Dozen) of 12 Nos (Numbers), you have to create two
simple units, Doz (Dozen) and Nos (Numbers) and set the conversion factor as 12.
To provide number of
decimal places.
DECIMALPLACES Number No
(Applicable for simple
unit)
To provide the
conversion factor
from base to
CONVERSION Number Yes
additional unit
(Applicable for
Compound unit)
In compound unit creation, <NAME> tag value will not be considered. Tally creates the
name for compound unit based on the conversion factor of Base unit and additional
unit.
<ENVELOPE> <ENVELOPE>
<HEADER> <HEADER>
<TALLYREQUEST>Import <TALLYREQUEST>Import
Data</TALLYREQUEST> Data</TALLYREQUEST>
</HEADER> </HEADER>
<BODY> <BODY>
<IMPORTDATA> <IMPORTDATA>
<REQUESTDESC> <REQUESTDESC>
</REQUESTDESC> </REQUESTDESC>
<REQUESTDATA> <REQUESTDATA>
</ENVELOPE>
<DECIMALPLACES>0</DECIMALPLACES>
</UNIT>
</TALLYMESSAGE>
</REQUESTDATA>
</IMPORTDATA>
</BODY>
</ENVELOPE>
Location/Godown
Location/Godown is the place where Stock Items are stored. You can obtain stock reports for each
godown and account for the movement of stock between locations/godowns. Click here for the
steps to create a Godown, manually in Tally.
The following XML request can be send to Tally from a TPA to create a Location/Godown ‘Factory’
<ENVELOPE>
<HEADER>
</HEADER>
<BODY>
<IMPORTDATA>
<REQUESTDESC>
</REQUESTDESC>
<REQUESTDATA>
<NAME>Factory</NAME>
</GODOWN>
</TALLYMESSAGE>
</REQUESTDATA>
</IMPORTDATA>
</BODY>
</ENVELOPE>
There is a default godown ‘Main Location’ available in Tally. Incase the feature
‘Maintain multiple godowns?’ is not enabled in Tally, the name of godown can be set to
‘Main Location’, as it is a default value in masters and transactions
Guidelines
The mandatory tags required to import/create the inventory masters in Tally is explained in this
document. To understand other tags, create a sample master with the required features in Tally and
export the same in XML format. Click here for the steps to export the masters from Tally.
Extracting/pulling the Inventory masters from Tally to TPA is covered under the section Export
Reports/Data from Tally.
Related Topics
Understanding Accounting Masters Integration