Type search words and press enter
"Use Edit Log for transactions/masters, and digital signature for invoices/reports with Release 2.1. Download NOW!"
https://help.tallysolutions.com/docs/td9rel54/auth-lib/log_out_close_session.htm

Log out/Close Session

On exiting the mobile application, log out or close the remote session.

The XML request to close a session is:

HTTP Headers

ID          : TPCLOSESESSION

SOURCE      : EA

TARGET      : TNS

CONTENT-TYPE:text/xml;charset=utf-16

XML Message

<ENVELOPE>

<HEADER>

<VERSION>1</VERSION>

<REQVERSION>

<TALLYREQUEST>Execute</TALLYREQUEST>

<TYPE>Action</TYPE>

<ID>TPCLOSESESSION</ID>

<TOKEN></TOKEN>

<SESSIONID>{session id}</SESSIONID>

</HEADER>

</ENVELOPE>

The XML response with the status of the session is:

XML Message

<ENVELOPE>

<HEADER>

<VERSION>1</VERSION>

<STATUS>1</STATUS>

</HEADER>

<BODY>

<DATA>

<STATUS.LIST>

<STATUS>

<CODE></CODE>

<DESC></DESC>

</STATUS>

</STATUS.LIST>

</DATA>

</BODY>

</ENVELOPE>

Note: For all permissible XML requests, refer Tally.ERP 9 Integration Capabilities document available in the download centre. Developers should check if the users have specific rights relating to functionality.