Open API v1 · live

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
openapi.tmbill.com
# 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"
#   }]
# }
What you can build

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.

How it works

Four steps to your first number.

  1. 01

    Owner creates a key

    In Backoffice > Settings > API keys: name, stores, optional IPs and expiry.

  2. 02

    Owner confirms

    A one-time code goes to the owner's verified email. It approves only that exact key.

  3. 03

    You store the key

    Shown once. Keep it in a secret manager on your server.

  4. 04

    Call the API

    Authorization: Bearer tmb_live_... on every request. JSON back.

The full key guide
Endpoints

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.

  • GET
    /v1/health

    Service health. No key needed.

    open
  • GET
    /v1/me

    The calling key: app, scopes, expiry, granted stores.

    open
  • GET
    /v1/stores

    Stores the key can read, paged.

    stores:read
  • GET
    /v1/stores/{store_id}

    One store: currency, timezone, timings, status.

    stores:read
  • GET
    /v1/sales/summary

    Totals by day, hour or order type.

    sales:read
  • GET
    /v1/sales/items

    Item and category sales, ranked.

    sales:read
  • GET
    /v1/sales/payments

    Payment mode breakdown and credit due.

    sales:read
Open the API reference
Security

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.

FAQ

Questions, answered.

Only the restaurant's owner account, in TMBill Backoffice, confirmed with a one-time code sent to the owner.

Ready

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.

Get started