e-Way Bill API for Tally Prime & ERP 9

Tally TDL add-on for e-Way Bill. Generate, update Part-B, extend, cancel — from Tally voucher screens.

Get sandbox keys → View OpenAPI docs Talk to sales

What is the e-Way Bill API for Tally Prime & ERP 9?

The WhiteBooks Tally e-Way Bill TDL surfaces EWB actions on Tally Prime delivery/sales vouchers. Click "Generate EWB" after voucher save and the connector calls WhiteBooks API, writes the EWB number + validity back to the voucher, and supports Part-B update + extension as separate menu actions.

For multi-warehouse Tally setups, the connector picks up the source warehouse GSTIN automatically and routes EWB generation to the correct GSTIN account at NIC.

Quick spec

Code examples

curl Node.jsPythonJava
curl -X POST 'https://apisandbox.whitebooks.in/eway/api/v1/eway/generate' \
  -H 'Authorization: Bearer YOUR_TOKEN' \
  -H 'Content-Type: application/json' \
  -d '{ /* payload */ }'
Node.js
const res = await fetch('https://apisandbox.whitebooks.in/eway/api/v1/eway/generate', {
  method: 'POST',
  headers: {
    'Authorization': 'Bearer ' + accessToken,
    'Content-Type': 'application/json',
  },
  body: JSON.stringify(payload),
});
const data = await res.json();
Python
import requests

resp = requests.post(
    'https://apisandbox.whitebooks.in/eway/api/v1/eway/generate',
    headers={'Authorization': f'Bearer {access_token}'},
    json=payload,
)
data = resp.json()
Java
HttpRequest req = HttpRequest.newBuilder()
    .uri(URI.create("https://apisandbox.whitebooks.in/eway/api/v1/eway/generate"))
    .header("Authorization", "Bearer " + accessToken)
    .header("Content-Type", "application/json")
    .post(BodyPublishers.ofString(payload))
    .build();
HttpResponse<String> resp = HttpClient.newHttpClient()
    .send(req, BodyHandlers.ofString());

Integrate in 3 steps

  1. Sign up at accounts.whitebooks.in — sandbox credentials issued instantly, no sales gate.
  2. Make your first call against the sandbox base URL using the code example above. Validate against your local model.
  3. Move to production once your tests pass — switch host to https://api.whitebooks.in/eway. Same payload, same response shape.

Frequently asked questions

Does it work with Tally ERP 9?

Yes — release 6.6+ supported.

How is Part-B handled?

Separate menu action on the voucher. Loads vehicle picklist from Tally master.

Is consolidated EWB supported?

Yes — multi-voucher selection screen allows bundling up to 10 EWBs into a consolidated.

Is the TDL editable?

Yes — source published at github.com/whitebooks-in/tally-eway-tdl.

Explore the full e-Way Bill API

This is one endpoint inside the WhiteBooks e-Way Bill API suite. See the full documentation — every endpoint, every parameter, every error code.

Open the e-Way Bill API page →

Related e-Way Bill API endpoints

e-Way Bill Generation API → e-Way Bill Cancellation API → Part-B Update API → e-Way Bill Validity Extension API →