rtslink.com
Home / RTSlink DLL

DLL for Tally Data Integration 


Product   : RTSlink DLL
Platform  : Windows 98 and above
Tally        : Version 6.3 and above
Category : DLL to programmatically push and pull [Import and Export] data from Tally Accounting Software


An Introduction to RTSLink DLL


RTSlink DLL is a Dynamic Link Library (DLL) that allows Software developers to Integrate their Applications with Tally Accounting Software. Using RTSlink, developers can push or pull data from Tally Software in real-time.

RTSlink is based on the Client/Server principles which are as follows:-

  • The Client Application sends a Request to the Tally Server. The request may be either to Write data (Import data into Tally) or Read data (Export data from Tally).
  • The Server processes the request and sends a response back to the client.


Supports Tally 9


RTSlink DLL works with Tally 6.3 and all higher versions including the latest release of Tally 9.

Tally 9 - XML


To work with RTSlink DLL, you need to have a basic understanding about XML and XML tags.

Click here for a one minute guide to XML.


RTSlink DLL - Functions


  • Open()
    Checks whether Tally Software is running or not. If the connection is successful, a zero value is returned. If the connection fails, the error code number is returned.
  • Send()
    Sends a request to the Tally Software in form of XML message/tags.
  • SQLRequest()
    Retrieve Tally Software data (Masters or Vouchers) using SQL-SELECT statement.
  • SQLDelete()
    Delete Tally Software data (Masters or Vouchers) using SQL-DELETE statement.
  • GetLastErrorMessage()
    Retrieves the last Error Message Text.

Additional functionality


Most of the time, you will be using the core functions viz. Open(); Send() in your code. However, to provide more flexibility to the programmer, some additional functionality has been provided.

You may use these functions as an alternative to the send() function.
  • Method 1: Use SendXMLFileToServer() to send a XML file to Tally
    Your application should create a XML file that contains the required XML tags. Next, invoke the SendXMLFileToServer() function to write this file to [Tally] server application. For more information, refer to the section Using the DLL in Visual Basic.
  • Method 2: Use AddXMLTag() & SendXMLTagsToServer()
    Alternatively, your application may invoke the AddXMLTag() function several times to write all the Tags you want. These tags are stored temporarily in memory. After this, you must invoke the SendXMLTagsToServer() function to write these tags to [Tally] server. For more information, refer to the section Using the DLL in Visual Basic.


More on Tally Integration using RTSlink DLL...

Next: Using the DLL in Visual Basic


Tally is a registered trademark of Tally Solutions FZ LLC.

Valid HTML 4.01 Transitional