我正在尝试通过发布 XML 请求获取 Tally Erp 9 Ledger 凭证,除了期初余额和期末余额外,一切正常。请指导我获得两个余额。
**XML Request:**
<ENVELOPE>
<HEADER>
<TALLYREQUEST>Export Data</TALLYREQUEST>
</HEADER>
<BODY>
<EXPORTDATA>
<REQUESTDESC>
<STATICVARIABLES>
<SVFROMDATE>20190401</SVFROMDATE>
<SVTODATE>20190901</SVTODATE>
<SVEXPORTFORMAT>$$SysName:XML</SVEXPORTFORMAT>
<LEDGERNAME>Tally Ledger Name</LEDGERNAME>
</STATICVARIABLES>
<REPORTNAME>Ledger Vouchers</REPORTNAME>
</REQUESTDESC>
</EXPORTDATA>
</BODY>
</ENVELOPE>
**XML Response:**
<ENVELOPE>
<DSPVCHDATE>1-9-2019</DSPVCHDATE>
<DSPVCHLEDACCOUNT>PNB Bank A/C 9900</DSPVCHLEDACCOUNT>
<DSPVCHTYPE>Pymt</DSPVCHTYPE>
<DSPVCHDRAMT>-1500000.00</DSPVCHDRAMT>
<DSPVCHCRAMT></DSPVCHCRAMT>
<DSPEXPLVCHNUMBER>(No. :14)</DSPEXPLVCHNUMBER>
<DSPVCHDATE>1-9-2019</DSPVCHDATE>
<DSPVCHLEDACCOUNT>PNB Bank A/C 9900</DSPVCHLEDACCOUNT>
<DSPVCHTYPE>Pymt</DSPVCHTYPE>
<DSPVCHDRAMT>-1000.00</DSPVCHDRAMT>
<DSPVCHCRAMT></DSPVCHCRAMT>
<DSPEXPLVCHNUMBER>(No. :17)</DSPEXPLVCHNUMBER>
<DSPVCHDATE>1-9-2019</DSPVCHDATE>
<DSPVCHLEDACCOUNT>PNB Bank A/C 9900</DSPVCHLEDACCOUNT>
<DSPVCHTYPE>Pymt</DSPVCHTYPE>
<DSPVCHDRAMT>-1000.00</DSPVCHDRAMT>
<DSPVCHCRAMT></DSPVCHCRAMT>
<DSPEXPLVCHNUMBER>(No. :18)</DSPEXPLVCHNUMBER>
</ENVELOPE>