AutoTally keeps a synced copy of your books. Almost every read is answered from that copy, not from Tally. That is why reads are fast and why they keep working when the computer running Tally is off. It also means a figure can be out of date, so you need to know how to check.
What is synced
The browser extension next to Tally reads these into AutoTally for each company:
- Masters: ledgers, groups, cost categories, cost centres, currencies, voucher types, stock groups, stock categories, units, godowns, stock items, GST registrations, TDS rates, budgets, employees, pay heads and attendance types.
- Vouchers, with their ledger and inventory entries.
- Outstanding bills.
- Balances: ledger closing balances and stock on hand.
- Statements: trial balance, profit and loss, and balance sheet, for the current period.
How fresh it is
The extension only works while the browser is running on that machine and Tally is open.
| What | How often |
|---|---|
| The extension checks for sync work | About every 30 seconds |
| The extension checks for writes to apply | About every 10 seconds |
| An edit in Tally shows up | After the next sync while the extension is running. Check X-Tally-Synced-At rather than assuming a delay |
| Balances and stored statements refresh | At most once every 15 minutes on a busy book |
A large company takes a while to finish its first sync, and reports are incomplete until it does.
A record deleted in Tally takes longer to disappear than an edit takes to appear, because deletions are found by periodic full checks.
Numbers here describe normal running. They are not a guarantee.
How to tell
Response headers
Successful reads carry two headers:
| Header | Value |
|---|---|
X-Tally-Source |
mirror when the answer came from the synced copy, live when it came from Tally |
X-Tally-Synced-At |
An ISO timestamp, or empty |
What X-Tally-Synced-At holds depends on the route:
| Route | Value |
|---|---|
Lists, such as /v1/ledgers and /v1/vouchers |
When rows of that kind were last written. Empty if never |
/v1/ledgers/:name |
When the balance was recorded. Empty if the ledger has no balance attached |
/v1/stock-items/:name, /v1/vouchers/:guid |
Always empty |
| Statement from storage | When the statement was stored |
| Statement from Tally, or a statement with no figures | Empty |
/v1/status, /v1/bridges/live, document routes and write routes do not send these headers.
GET /v1/status
This is the one to call first. It takes no company: it covers every company in the workspace, and
reports the state of your key's bridge.
{
"bridgeOnline": true,
"tallyReachable": true,
"boxState": "live",
"lastSeenAt": "2026-10-15T09:12:44.000Z",
"companies": [
{
"companyGuid": "a1b2c3d4-0000-0000-0000-000000000001",
"name": "Sharma Traders",
"entities": [
{
"entityType": "Voucher",
"lastSyncedAt": "2026-10-15T08:41:03.000Z",
"rowCount": 5927,
"lastCheckedAt": "2026-10-15T09:12:30.000Z",
"upToDate": true
}
]
}
]
}
| Field | Meaning |
|---|---|
bridgeOnline |
The extension is awake and talking to AutoTally. It says nothing about Tally: closing Tally with the browser open leaves this true |
tallyReachable |
Tally itself answered. Use this one to ask "is Tally up?" |
boxState |
live, tally-closed, offline or none |
lastSeenAt |
The extension's last heartbeat |
entities[].lastSyncedAt |
When rows of this kind were last written. This is not the last time AutoTally looked |
entities[].lastCheckedAt |
When AutoTally last checked Tally for changes. Absent on some kinds |
entities[].upToDate |
true when that check found nothing outstanding. Absent means unknown, not false |
An old lastSyncedAt with upToDate: true is healthy: nothing has changed in the book. An old
lastCheckedAt is the sign of a problem.
GET /v1/bridges/live gives the same answer for tallyReachable and boxState without the company
list.
fresh=true
Adding fresh=true to a read does not read Tally. You get the same synced copy straight away. It
also asks AutoTally to run the next refresh for that company sooner, by skipping the usual gaps between
refreshes.
- It only works with
?company=. Without it, nothing happens. - It has no effect on trial balance, profit and loss, or balance sheet.
- It does not make a change appear faster than the extension can read it, and it does nothing while the box is off beyond leaving the request standing for a short while.
To see the effect, read again after the next sync and compare X-Tally-Synced-At.
What happens when Tally is off
| You call | What you get |
|---|---|
| Most reads | The synced copy, with 200 and no error. It can be any age |
/v1/status |
tallyReachable: false, and a boxState that says why |
| A write commit | 202. The write waits in the queue with no expiry, and applies when the box is back |
| Trial balance, P&L or balance sheet | See below |
A read never fails because Tally is off, so a successful response is not evidence the data is current. If it matters, check
/v1/status.
Statements
Trial balance, profit and loss, and balance sheet need ?company=. AutoTally stores one statement per
company, for the financial year to date. Ask for that and you get it from storage. Ask for another
period and AutoTally asks Tally live, through the extension, which can take up to 90 seconds.
When Tally cannot answer, you still get 200, with a status and no figures:
{
"status": "not_available_offline",
"message": "No stored statement covers 2026-04-01..2026-06-30, and the Tally box could not be reached.",
"requested": { "from": "2026-04-01", "to": "2026-06-30" },
"available": { "from": "2026-04-01", "to": "2026-10-15", "asOf": "2026-10-15T08:41:03.000Z" },
"refreshRequested": false
}
status |
Meaning |
|---|---|
no_snapshot_yet |
Nothing is stored for this company yet. It is built after the first sync |
not_available_offline |
Something is stored, for a different period. available says which |
Always check for status before you read figures from a statement. A real statement has no
status field. See the recipe.
Your own writes
A write you commit reaches the synced copy only after Tally has accepted it and the next sync has read it back. Until then a list will not show it. That is why confirmation is a read back. See Write safety.
