Connect Tally to AI Payment Reminders: TallyPrime Outstanding Sync
In short: On the Tally Connector tab click Generate Token and then Download Connector (ZIP). On the Windows PC where TallyPrime runs, set TallyPrime to act as a Server on port 9000, unzip TallyConnector.zip, double-click run-connector.bat and run install-autosync.bat as administrator. Your Sundry Debtors' pending bills then sync every 15 minutes while Tally is open, and bills cleared in Tally close on the next sync.
A step-by-step guide for BookAICall, an AI voice agent platform that makes and answers phone calls for businesses in Hindi, English, Hinglish and other Indian languages. Updated .
Steps
Open Trade Receivables and click the Tally Connector tab. The TallyPrime Desktop Connector card shows Not set up.
On the PC where Tally runs, open TallyPrime and go to F1 (Help) > Settings > Connectivity. Set TallyPrime acts as to Server (or Both) and Port to 9000, save, restart TallyPrime and open your company.
Back in the portal, click Generate Token, then Download Connector (ZIP) straight away. The token is shown only once, and the download writes it into config.json for you.
Copy TallyConnector.zip to the Tally PC, unzip it (for example in Documents) and double-click run-connector.bat. The first sync starts at once.
Right-click install-autosync.bat and choose Run as administrator. The connector now runs every 15 minutes while you are logged in and Tally is open.
Click Check Status. The badge shows Online, with Company in Tally, Last contact, Last data sync and a line such as: Last sync: 412 pending bills received, 37 new parties.
Optional: under Sync Settings, fill Tally Company to Sync, change the Sync Interval (minutes) or switch on Receipt Voucher Auto-Writeback, then click Save Connector Settings.
What the connector sends
- Every pending bill of your Sundry Debtors: bill number, bill date, due date, bill amount and pending amount, with the ledger's mobile number, contact name, GSTIN and credit period.
- Every sync is a full list. A bill that is no longer pending in Tally is closed here as Cleared in Tally, so parties who paid are not called.
- A party kept without bill-wise details in Tally comes in as one running balance line, ON-ACCOUNT, and shows the Running Balance badge.
- If a sync looks incomplete (for example the wrong company was open), nothing is closed and the result line says so. Check connector.log on the Tally PC.
- A mobile number on the Tally ledger becomes the party's contact, so the AI can call it. Parties without one are listed under Missing Phones on Parties & Invoices.
Status and the stale-data guard
- Online: the connector was in touch in the last 30 minutes. Offline (no contact in 30 min): the PC is off, Tally is closed or the connector is not running. Not set up: no token yet.
- Automatic recovery calls need fresh data. If the last sync is older than the Tally Stale-Sync Limit (hours) in Trade Settings (24 by default), the amber banner Automatic calls paused: Tally data is not fresh appears and calls wait, so nobody who paid yesterday is called today.
- Open Tally and the connector; after the next sync, click Re-check Sync and calls resume in the next calling window.
Sync Settings
- Tally Company to Sync: the exact company name as Tally shows it. Leave it blank to sync the company that is open. The connector picks it up on its next check.
- Sync Interval (minutes): 5 to 120. The connector checks every 15 minutes and syncs when this much time has passed since the last sync.
- Receipt Voucher Auto-Writeback (optional, off by default): when your team clicks Verify & Clear on a payment, the connector creates a Receipt voucher in Tally against the bills it was set off against. The party ledger is credited and the bank ledger named in config.json is debited (Bank Account unless you change cash_bank_ledger to your ledger's exact name). Switch it on only after your accountant agrees.
- Under the button you see Receipt vouchers: waiting, created and failed. A failed voucher shows its error and Retry, which posts it again on the next sync.
Safe by design
The connector only makes outbound HTTPS connections: no open ports, static IP or VPN are needed. It reads Tally, and writes to Tally only when Receipt Voucher Auto-Writeback is on. To stop one PC from ever writing, set block_writeback to true in its config.json. Keep config.json private: the token in it lets the connector send bills to your account.
New PC, lost files or a leaked token
Click Regenerate Token and confirm. The connector on the old PC stops syncing at once. Click Download Connector (ZIP) again and set it up on the new PC, or paste the new token into the old config.json.
Tally.ERP 9
The same connector works with Tally.ERP 9: in Gateway of Tally press F12 Configure, Advanced Configuration, and set Tally.ERP 9 is acting as to Server or Both, with Port 9000. To check either version, open http://127.0.0.1:9000 in a browser on the Tally PC: it should say the Tally server is running.
Example: A hardware distributor in Indore syncs Tally every half hour
Agarwal Hardware keeps 260 dealer ledgers in TallyPrime on the accounts PC. Their accountant, Sunil, sets Tally to Server on port 9000, generates a token, unzips the connector in Documents and runs install-autosync.bat as administrator. Ten minutes later the Tally Connector tab shows Online and 1,140 pending bills from 212 parties. He sets the Sync Interval to 30 minutes and leaves writeback off for the first month. On Friday the PC is switched off at 7 PM; on Saturday morning the banner says calls are paused until Tally syncs, so nobody who paid on Friday evening is called. Sunil opens Tally at 10 AM, the connector syncs within 15 minutes and recovery calls start again.
Tips
- Run the connector on the PC where Tally stays open during office hours; if Tally is closed, nothing syncs.
- Add mobile numbers to the party ledgers in Tally once: they then come in with every sync.
- Keep the Tally Stale-Sync Limit at 24 hours unless Tally is open only on some days.
Frequently asked questions
Tally ko BookAICall se kaise connect karein?
Trade Receivables, Tally Connector tab: Generate Token, Download Connector (ZIP), then on the Tally PC set port 9000, unzip, run run-connector.bat and install-autosync.bat as administrator.
Does the connector work with Tally.ERP 9?
Yes. Turn on Server (or Both) on port 9000 under F12 Configure, Advanced Configuration, and run the same connector.
Do I need a static IP or open a port to the internet?
No. The connector only calls out over HTTPS from the Tally PC; port 9000 is used only inside that PC.
Why does it say Offline?
The connector has not been in touch for 30 minutes: the PC is off, Tally is closed, or the scheduled task is missing. Run run-connector.bat to see the error, or check connector.log.
A party paid in Tally but is still listed.
The bill closes on the next sync. Click Check Status to see the last data sync; if it is old, open Tally on the PC.
Will it change anything in my Tally?
Only if you switch on Receipt Voucher Auto-Writeback: then each payment you verify becomes a Receipt voucher. Otherwise it only reads.
I lost the token. What now?
Click Regenerate Token, then Download Connector (ZIP) again. The old token stops working.
Can I sync two Tally companies?
One connector syncs one company at a time: the one in Tally Company to Sync, or the one open in Tally.
Questions this guide answers
- How do I sync Tally outstanding bills to the cloud?
- Does the Tally connector work with Tally.ERP 9?
- Do I need a static IP to connect Tally?
- Can verified payments be written back to Tally as receipt vouchers?
Related guides
- AI Payment Reminder Calls for Distributors: Tally Outstanding Follow-up: The B2B Trade Receivables Suite chases overdue payments from your dealers and customers for you. Connect Tally or import your pending…
- Import Outstanding Bills from Excel or a Tally Bills Receivable Report: In Trade Receivables click Import Bills (Excel/CSV), choose a .csv, .xlsx or .xls file (for example Tally's Bills Receivable report…
- Track Payment Promises and Verify UTR Payment Claims from Debtors: Promises to pay and payment claims, from AI calls or entered by your team, are kept on the Promises & Payments tab. A promise stops calls…
- How to Set Up AI Payment Reminder Calls for Overdue Customers: Trade Settings decide who the AI calls and when: your calling window (always inside 9 AM to 9 PM IST), grace days after the due date, the…