India

Tally data in your own MySQL tables

Tally has no open database, so data cannot be read from the company file. The supported route is Tally's XML gateway on port 9000. Sales Sathi pulls masters and vouchers through that gateway, stores them in MySQL tables keyed on Tally's GUID, and syncs incrementally using Tally's AlterID counters.

Book a demo

Why the company file cannot be read directly

Tally stores data in a proprietary compressed format that only the Tally engine understands. Anything claiming to read it directly is reverse-engineering the format, and breaks on the next version.

How incremental sync works

Tally exposes two change counters per company, one for masters and one for vouchers. Storing the last value seen means only records above that watermark need to be pulled, which turns a company with five lakh vouchers into a few hundred rows per cycle.

The part most implementations miss

Those counters tell you what changed. They do not tell you what was deleted. So each cycle also re-reads the recent weeks and removes anything that has vanished from Tally. Without that step, a deleted voucher lives on in the reports forever.

Plans

What it costs

Starter
₹ 2,500
per month
  • 1 companies
  • 3 users
  • Sync every 60 min
Book a demo
Growth
₹ 6,000
per month
  • 3 companies
  • 10 users
  • Sync every 30 min
Book a demo
Business
₹ 12,000
per month
  • 8 companies
  • 25 users
  • Sync every 15 min
Book a demo
Enterprise
₹ 25,000
per month
  • 50 companies
  • 100 users
  • Sync every 5 min
Book a demo
Questions

Asked here often

Can I query the Tally company file directly with SQL?

No. The company file is a proprietary format with no SQL interface. The supported routes are Tally's XML gateway and its ODBC driver, both of which require Tally to be running with the company loaded.

How are vouchers deleted in Tally handled?

Each sync re-reads a recent window, typically forty-five days, and reports every voucher Tally still holds. Anything in that range that has disappeared is removed from the warehouse, so reports never show a voucher that no longer exists.