Skip to content

API reference ​

Base URL: https://bizmitra.io · Version prefix: /api/v1

All endpoints require Authorization: Bearer {key_id}:{secret}.

Public preview

This page lists the endpoint surface. Detailed per-endpoint request and response schemas are being published progressively. The Postman collection is the most complete executable reference today.

Utility ​

MethodEndpointPurpose
GET/api/v1/pingVerify authentication
GET/api/v1/tally/{resource}Tally bridge passthrough

Writing vouchers ​

All are asynchronous and return a transaction_id. See Jobs and transactions.

MethodEndpointCreates
POST/api/v1/invoicesSales invoice
POST/api/v1/ordersSales order
POST/api/v1/credit-notesCredit note
POST/api/v1/debit-notesDebit note
POST/api/v1/purchasesPurchase
POST/api/v1/receiptsReceipt
POST/api/v1/paymentsPayment
POST/api/v1/contrasContra
POST/api/v1/journalsJournal

Transactions ​

MethodEndpointPurpose
GET/api/v1/transactions?company_id={id}List transaction status
GET/api/v1/transactions/{job}Status of one transaction

Reading vouchers ​

MethodEndpointPurpose
GET/api/v1/pulled-vouchers?company_id={id}List vouchers from Tally
GET/api/v1/pulled-vouchers/{transaction_id}?company_id={id}Fetch one voucher in full
POST/api/v1/pulled-vouchers/ackAcknowledge consumption

List filters: voucher_kind, voucher_type, status, start_date, end_date, limit, offset.

Walkthrough: Pull vouchers from Tally.

Reports ​

MethodEndpointReturns
GET/api/v1/stock-summary?company_id={id}Stock summary, all items
GET/api/v1/stock/monthly?company_id={id}&item_name={name}Monthly movement for one item
GET/api/v1/stock-treeStock group tree
GET/api/v1/stock/vouchers?company_id={id}&item_name={name}Vouchers affecting one item
GET/api/v1/funds-flowFunds flow, 12 months
POST/api/v1/profit-loss/refreshRefresh Profit & Loss
GET/api/v1/profit-lossRead Profit & Loss
GET/api/v1/tds-summaryTDS summary per party
POST/api/v1/tds/bills/refreshRefresh TDS bills for one party
GET/api/v1/tds/bills?party={name}TDS bills for one party

Refresh-then-read

Profit & Loss and TDS bills follow a two-step pattern: POST …/refresh asks the Connector to recompute from Tally, then GET reads the result. The refresh is asynchronous, so allow it to complete before reading, or you will read the previous figures.

Masters ​

MethodEndpointPurpose
POST/api/v1/masters/{type}Create a master
GET/api/v1/masters/{type}?company_id={id}List master jobs
GET/api/v1/masters/{type}/{job}Status of one master job
GET/api/v1/pulled-masters/{type}?company_id={id}List masters read back from Tally

{type} is one of group, ledger, currency, unit, godown, stock_group, stock_category, stock_item, voucher_type. Hyphens are accepted (stock-item).

The first three endpoints report your pushes. pulled-masters reports what exists in the customer's company — it requires the pull.master capability and the masters pull enabled for that company. List filters: limit (max 200), offset.

See Masters.

Applications ​

MethodEndpointPurpose
GET/api/v1/applicationsList applications

Customers ​

MethodEndpointPurpose
GET/api/v1/customersList customers
POST/api/v1/customersCreate a customer
POST/api/v1/customers/{token}/rotateRotate a customer token

Companies ​

MethodEndpointPurpose
GET/api/v1/companiesList companies
POST/api/v1/companiesCreate a company
POST/api/v1/companies/{id}/customerAttach a company to a customer
DELETE/api/v1/companies/{id}/customerDetach a company from a customer
GET/api/v1/companies/{id}/healthConnector and Tally readiness
POST/api/v1/companies/{id}/disconnectDisconnect from its Connector

Pairing ​

MethodEndpointPurpose
POST/api/v1/connectors/pairing-codeGenerate a pairing code
GET/api/v1/connectors/pairing-codesList outstanding codes
POST/api/v1/connectors/pairing-codes/{id}/revokeRevoke a code

See Pairing a company.

Connectors ​

MethodEndpointPurpose
GET/api/v1/connectorsList the fleet
GET/api/v1/connectors/{machine}One connector
GET/api/v1/connectors/{machine}/companiesCompanies it serves
GET/api/v1/connectors/{machine}/jobsSync history
PATCH/api/v1/connectors/{machine}Rename
POST/api/v1/connectors/{machine}/disableStop it taking work
POST/api/v1/connectors/{machine}/enableResume
DELETE/api/v1/connectors/{machine}Remove

See Connectors.

Webhooks ​

MethodEndpointPurpose
GET/api/v1/webhooksList endpoints
POST/api/v1/webhooksCreate an endpoint
GET/api/v1/webhooks/{id}Get one endpoint
PATCH/api/v1/webhooks/{id}Update an endpoint
DELETE/api/v1/webhooks/{id}Delete an endpoint
POST/api/v1/webhooks/{id}/rotate-secretRotate the signing secret
POST/api/v1/webhooks/{id}/testSend a test event
GET/api/v1/webhooks/{id}/deliveriesDelivery history

See Webhooks.

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.