https://your-domain/api/v1 Sample GSTIN 27AABCS1429B1ZUUse aps_test_… keys: labelled sample data, never billed.E-Way Bill APIs for
Modern Developers
The API Server E-way Bill API fetches and generates E-way Bills with full validation, idempotent retries and demo mode, with the complete NIC operation set (update, cancel, extend, consolidate) documented ahead of its provider rollout.
- TLS Encrypted
- Billed per Success Only
- Append-only Ledger
Request
POST/api/v1/ewaybill
Response 200 OK
{
"environment": "sandbox",
"request_id": "req_p7ta…",
"object": "eway_bill_generation",
"mode": "demo",
"created": false,
"ewb_no": null,
"ewb_date": null,
"valid_upto": null,
"message": "Demo only: the details passed validation. No E-way Bill was created and nothing was sent to the E-way Bill system.",
"replayed": false,
"billing": {
"charged_inr": "0.00",
"charged_mp": 0
}
}Checksum ValidatedSample Data LabelledNever Billed in Sandbox
28+
API Endpoints
₹0.09
Lowest rate per call
Free
Sandbox environment
No expiry
Wallet credit
0
Charge on errors
JSON
Plain REST over HTTPS
Architecture
API Server sits between your application and the NIC E-way Bill system, providing a reliable relay layer over the licensed GSP channel: one key, one contract, and billing that only moves on success.
API Server API Lifecycle
- 1
Request
You send a request
to API Server - 2
Process
We validate, hold
& route via GSP layer - 3
Transmit
GSP-licensed relay
to NIC EWB - 4
Response
NIC EWB processes
& sends response - 5
Deliver
Response delivered
back to your app
Your App
SDK / REST
Audit Logs
Immutable trail
API Server
api/v1
AuthValidateHoldRoute
Webhooks
Events & alerts
GSP Layer
Licensed GSP
✓ Secure✓ Reliable✓ Compliant
NIC
Govt. API
How To Start
Follow these steps to get started with the E-way Bill API integration.
STEP 01
Sign up with WhatsApp
One OTP creates your account. No password, no card, nothing to install.
STEP 02
Create a sandbox key
Dashboard → API Keys → New sandbox key (aps_test_…). Shown once, stored hashed.
STEP 03
Make your first call
Call POST /api/v1/ewaybill with the sample values. Sandbox is free forever.
STEP 04
Recharge your wallet
Pick a plan from ₹3,999. The full amount becomes credit: valid 2 years, lifetime on top plans.
STEP 05
Switch to a live key
Same code, aps_live_… key. Real data, billed only on successful calls.
STEP 06
Need something custom?
Tell us the tool you need and the team will build it to order.
Sandbox API
Sample GSTIN for sandbox calls: 27AABCS1429B1ZU. Sandbox records are openly fictional ("SAMPLE …" names), so they can never be mistaken for live data.
API Server Sandbox Information 100% free · no card
- 01
Sign up with WhatsApp
One OTP, and your account exists.
- 02
Open Dashboard → API Keys
Your developer dashboard for keys, usage and billing.
- 03
Create a sandbox key
Pick Sandbox as the environment. The key starts with aps_test_.
- 04
Call any endpoint
Every endpoint works in sandbox, free, with labelled sample data.
curl -X POST "https://your-domain/api/v1/ewaybill" \
-H "Authorization: Bearer $API_SERVER_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: inv-SAMPLE-0001" \
--data @ewaybill.jsonJump Into the API
Pick a category to land straight on the endpoint reference: request parameters, sample payloads and code examples included.28 groups · 28 endpoints
Authentication1 endpoint
Authentication Request.
Open referenceGenerate Eway Bill1 endpoint
Generate Eway Bill.
Open referenceUpdate PART-B/Vehicle Number1 endpoint
Update PART-B/Vehicle Number.
Open referenceGenerate Consolidated Ewaybill1 endpoint
Generate Consolidated Ewaybill.
Open referenceCancel E-Way Bill1 endpoint
Cancel E-Way Bill.
Open referenceReject Ewaybill1 endpoint
Reject Ewaybill.
Open referenceBrowse all 22 more API groups
Best Practices
Follow these patterns for production-grade, maintainable integrations.
Use Sandbox Before Production
Sandbox responses carry environment: "sandbox" and mirror the live schema exactly, so go-live is a key swap, not a rewrite.
Authorization: Bearer aps_test_…Keep Keys on the Server
The full key is shown once and stored hashed with us. Put it in your server's secret manager; never ship it to a browser or an app.
API_SERVER_KEY=aps_live_… # env varHandle the Error Envelope
Every error is JSON with a stable code. Branch on error.code, honour Retry-After on 429, and remember that errors are never billed.
if (body.error) switch (body.error.code) { … }Send an Idempotency-Key
E-way Bill generation requires one. Retries with the same key replay the original result, so a timeout can never double-generate.
Idempotency-Key: order-7421-attemptResources & FAQ
Everything you need to integrate: machine-readable specs, importable collections and the error contract.
OpenAPI 3.1 Spec .JSON
The full contract, ready for codegen or Swagger UI.
DownloadPostman Collection .JSON
Import every endpoint and start testing immediately.
DownloadError Codes TABLE
Every public code, status and meaning.
ViewFrequently Asked Questions
What is the API Server E-way Bill API?
The API Server E-way Bill API fetches and generates E-way Bills with full validation, idempotent retries and demo mode, with the complete NIC operation set (update, cancel, extend, consolidate) documented ahead of its provider rollout. You pay per successful call from a prepaid wallet; errors are free.
Is there a ready-made Tally, Zoho or SAP connector?
Not yet. Any software that can make an HTTPS request can integrate in minutes, and the no-code connection sheet in the workspace is made to hand to your software vendor. If you need a specific connector, request it and we will build it to order.
How do I get free sandbox access?
Sign up with a WhatsApp OTP, open Dashboard → API Keys and create a sandbox key. No card, no recharge, no time limit.
How is my data secured?
Keys are stored hashed and shown once, payments are verified server-side, the wallet sits on an append-only ledger, and everything travels over TLS. We do not hold certifications we have not earned, so you will not see badges here.
What does a call cost?
Between ₹0.09 and ₹0.35 depending on your recharge plan, charged only on success. Credit is valid 2 years (lifetime on the Scale and Enterprise plans) and there is no subscription.
PREPAID · NO EXPIRY · PAY PER SUCCESS
Scale compliance work with honest APIs
Integrate the E-way Bill API into your ERP, accounting software or SaaS product. Start in the sandbox today; go live when you are ready.