Your restaurant data, in your own systems.
Read TMBill stores, sales, item sales and payment modes over a simple, secure REST API. Built for ERPs, accounting tools, BI dashboards and head offices. Owner-approved keys, numbers that match Backoffice.
- 7
- endpoints live
- 31
- days per query
- 60/min
- per key
# Yesterday's sales for one store
curl -H "Authorization: Bearer $TMBILL_KEY" \
"https://openapi.tmbill.com/v1/sales/summary?store_id=1234&from=2026-12-01&to=2026-12-01"
# {
# "currency": "INR", "final": true,
# "rows": [{
# "key": "2026-12-01", "order_count": 182,
# "net_sales": "51070.00", "tax": "2553.50",
# "total": "54387.00"
# }]
# }Stop exporting reports. Connect them.
Everything a restaurant's back office already sees in TMBill, available to the tools they already use.
Accounting and ERP
Post daily sales, taxes and payment modes to Tally, Zoho, SAP or your ERP without re-typing.
Head-office dashboards
One view of every outlet across brands and markets, in your own BI tool.
Menu analytics
Item and category sales by day, hour or order type for pricing and menu engineering.
Reconciliation
Match cash, UPI, cards and aggregator payouts against what the POS billed.
Four steps to your first number.
- 01
Owner creates a key
In Backoffice > Settings > API keys: name, stores, optional IPs and expiry.
- 02
Owner confirms
A one-time code goes to the owner's verified email. It approves only that exact key.
- 03
You store the key
Shown once. Keep it in a secret manager on your server.
- 04
Call the API
Authorization: Bearer tmb_live_... on every request. JSON back.
Small surface, exact numbers.
Every list is paged, every money value is an exact decimal string with its currency, every error has a request id.
- GETopen
/v1/healthService health. No key needed.
- GETopen
/v1/meThe calling key: app, scopes, expiry, granted stores.
- GETstores:read
/v1/storesStores the key can read, paged.
- GETstores:read
/v1/stores/{store_id}One store: currency, timezone, timings, status.
- GETsales:read
/v1/sales/summaryTotals by day, hour or order type.
- GETsales:read
/v1/sales/itemsItem and category sales, ranked.
- GETsales:read
/v1/sales/paymentsPayment mode breakdown and credit due.
Secure by default, not by setting.
Sales data is confidential. Every safeguard below is on for every key, with no extra configuration.
Owner-approved keys
Only the restaurant owner creates keys, confirmed with a one-time code. TMBill staff can't.
Scoped to the stores you need
One store, a brand, a market or all stores. Optional IP allow-list and expiry.
Revoke in one click
A revoked key stops on the next call. Rolling keeps the old key alive for up to 7 days.
Abuse-proof limits
Per-key, per-integration and per-IP limits, CloudFront and a firewall in front.
Read-only by design
Phase 1 can't change anything in the POS. GET requests only.
Numbers you can trust
The same rules as the Backoffice day-end report, money as exact decimals.
Every step, written down.
Getting started
From zero to your first sales number in about ten minutes. Every step below is what works today.
ReadGetting a key
Keys are created by the restaurant owner in TMBill Backoffice, never by TMBill staff. This is what the owner does.
ReadAuthentication
One header on every request. Server to server only.
ReadStores
Which stores the key can read, with currency, timezone and opening hours.
ReadSales
Sales totals, item sales and payment modes for one store and up to 31 days.
ReadReport filters
The same filters as the Backoffice reports, on every sales endpoint.
ReadPagination
Every list is paged with an opaque cursor.
ReadErrors
One error shape everywhere, with a request id for support.
ReadRate limits
Generous for integrations, firm against floods.
ReadQuestions, answered.
Ask the owner for a key and make your first call today.
Ten minutes from key to first sales number. Test keys work against sandbox stores.