Explore Categories

 

 PDF

Understanding Accounting Masters Integration

Masters are most important entity to record transactions in Tally. The accounting masters primarily consists of Group, Ledger and Voucher Types. The ledger is the actual accounting head to identify your transactions and generate all accounting reports. The following table helps to understand the accounting masters and its purpose:

Master

Information

Group

Group is a collection of ledgers

Ledger

Ledger is the actual accounting master used for recording transactions and generating account reports

Voucher Type

Voucher Type used to categorize the different nature of transactions,  provide specific voucher number and configure its behaviour while recording the transactions

Group

Group is a collection of ledgers of the same nature. Account groups are maintained to determine the hierarchy of Ledger Accounts, which is helpful in determining and presenting meaningful and compliant reports.  Click here for the steps to create a group manually in Tally.

Tally provides the flexibility to the user for organizing the chart of accounts.  The following XML request can be send to Tally to create a group “North Zone Debtors” under predefined group Sundry Debtors:

<ENVELOPE>

<HEADER>

       <TALLYREQUEST>Import Data</TALLYREQUEST>

</HEADER>

<BODY>

<IMPORTDATA>

          <REQUESTDESC>

              <REPORTNAME>All Masters</REPORTNAME>

          </REQUESTDESC>

          <REQUESTDATA>

              <TALLYMESSAGE xmlns:UDF=”TallyUDF”>

                     <GROUP Action=”Create”>

                        <NAME>North Zone Debtors</NAME>

                        <PARENT>Sundry Debtors</PARENT>

                     </GROUP>

             </TALLYMESSAGE>

          </REQUESTDATA>

</IMPORTDATA>

</BODY>

</ENVELOPE>

Ledger

The Ledgers are commonly known as general ledger in accounting standards. Ledgers provides the summary of recorded transactions and helps to generate accounting reports. A ledger in Tally must be created under a group. Click here for the steps to create a ledger manually in Tally.

The following table helps to understand the XML schema with the minimal tags required for creating a ledger.

Tag

Data type

Is mandatory

Description

LEDGER

 

Yes

Opening tag

NAME

String

Yes

To provide the name of the Ledger

PARENT

String

Yes

This should contain a group name from list available in Tally. We can also create our own groups and classify ledger under that group subject to the group is created prior to ledger creation.


The below given XML request creates a ledger in Tally

<ENVELOPE>

<HEADER>

       <TALLYREQUEST>Import Data</TALLYREQUEST>

</HEADER>

<BODY>

<IMPORTDATA>

          <REQUESTDESC>

              <REPORTNAME>All Masters</REPORTNAME>

          </REQUESTDESC>

          <REQUESTDATA>

              <TALLYMESSAGE xmlns:UDF=”TallyUDF”>

                     <LEDGER Action=”Create”>

                        <NAME>Customer ABC</NAME>

                        <PARENT>Sundry Debtors</PARENT>

                     </LEDGER>

              </TALLYMESSAGE>

          </REQUESTDATA>

</IMPORTDATA>

</BODY>

</ENVELOPE>

 

Adding address information in ledger master

The below mentioned XML tags can be included in the XML request to add the address information in ledger master.

<LEDGER Action=”Create”>

   <NAME>Customer ABC</NAME>

   <PARENT>Sundry Debtors</PARENT>

   <MAILINGNAME.LIST TYPE=”String”>

       <MAILINGNAME>Customer – Mailing name</MAILINGNAME>

   </MAILINGNAME.LIST>

   <ADDRESS.LIST TYPE=”String”>

       <ADDRESS>Door no </ADDRESS>

       <ADDRESS>Lane</ADDRESS>

       <ADDRESS>Locality</ADDRESS>

   </ADDRESS.LIST>

   <PINCODE>56008</PINCODE>

   <COUNTRYNAME>India</COUNTRYNAME>

   <LEDSTATENAME>Karnataka</LEDSTATENAME>

   <EMAIL>A@abc.com</EMAIL>

   <EMAILCC>ACC@abc.com</EMAILCC>

   <LEDGERPHONE>0888888</LEDGERPHONE>

   <LEDGERMOBILE>99999999</LEDGERMOBILE>

</LEDGER>

Similarly, we can create any ledger in Tally by specifying the appropriate group / parent.

Altering a ledger

An existing ledger in Tally can be altered by sending a XML request. Only the tag <Ledger> has to be changed as mentioned below in the XML request demonstrated for creating of ledger.

<Ledger NAME=”Customer ABC” Action=”Alter”>

Guidelines

The tool Tally Connector available in TallyPrime Developer can be used for sending XML request and receiving the XML response for the quick understanding

Ensure the dependent masters are available in Tally before sending XML request for creating the master/transactions. Even if the masters are available in Tally ensure that it is created appropriately under nature of group for example, Sales ledger should be available under group Sales Accounts, Purchase ledger should be created under group Purchase Accounts.

  • Third party applications can ensure this by sending XML request and show the appropriate warning/error message to the user.
  • Tally maintains a unique number (master-ID) for all the masters and transactions. Tally master-ID can be associated with Third party applications for additional validation, if required.
  • It is advisable to create one nature of master at once to have better control, for example, Set of Groups and Set of ledgers needs to be created in two XML requests.
  • The tax related information has to be sent to Tally to maintain the statutory records in Tally.
TallyHelpwhatsAppbanner
Is this information useful?
YesNo
Helpful?
/* */