Skip to content

Examples ​

Working end-to-end flows you can follow against a test company.

The two directions ​

Nearly every integration is one of these, or both.

DirectionWalkthroughWhat it covers
Tally → your productPull vouchers from TallyList, fetch, process idempotently, acknowledge
Your product → TallyCreate an invoice in TallySubmit, retain the transaction, verify the Tally result
Your product → TallySettle invoices with a receiptRecord money received against the specific bills it pays

Plus the Postman collection, which is the most complete executable reference to the API today.

For AI agents ​

Build an MCP server for TallyPrime using the Bizmitra REST API wraps the same two directions in a Model Context Protocol server, so an AI agent can read a customer's books — and, where you allow it, write to them. It covers tool-surface design, keeping the company id out of the model's reach, and the rules a write tool has to follow. The runnable server lives in mcp-server/.

Before you run them ​

  • A paired company, verified with company health.
  • A dedicated Tally test company. Not a customer's live books.
  • The masters your payloads reference already created. See Masters.

Open source examples ​

The example repository is public:

github.com/BizmitraERP/bizmitra-tally-api-examples

It contains the Postman collection and the source of these walkthroughs, MIT licensed. Use of the hosted API and Connector App is governed separately by Bizmitra's commercial terms.

Habits worth building now ​

Both walkthroughs are written to demonstrate the same three things, because they are what separate a demo from an integration:

Verify, do not assume. An accepted write is not a completed write. Check the transaction.

Persist identifiers immediately. transaction_id before anything else; tally_voucher_guid when it arrives.

Make it safe to run twice. Every step should tolerate being repeated, because eventually it will be.

Documentation content is all rights reserved; code samples are MIT licensed. Use of the Bizmitra API, Connector App, and hosted services is governed separately by Bizmitra’s commercial terms.