https://your-domain/api/v1 Sample GSTIN 27AABCS1429B1ZUUse aps_test_… keys: labelled sample data, never billed.Parent API: E-way Bill APIQuickstart guideAuthentication guide
E-way Bill Details API
Fetches an E-way Bill by its 12-digit number and returns the provider payload (parties, document, values, transport, vehicles, items). Live calls need E-way Bill access to be active on the account; sandbox keys work without it.
Billing: On a found bill. Not-found, errors and timeouts are free.
Parameters
Path parameters
ewbNostring (12 digits)requiredThe E-way Bill number.
Header parameters
AuthorizationstringrequiredBearer <your API key>: aps_live_… or aps_test_…. X-API-Key is also accepted.
Response
200400401402403404409429502503504
200 returns the JSON shown in the example panel. Every non-200 uses the standard envelope with a stable error.code:
- 400
invalid_requestA field is missing or malformed; details.issues lists what. - 400
invalid_gstinThe GSTIN fails format or checksum validation. - 400
invalid_ewb_noAn E-way Bill number has 12 digits. - 401
invalid_api_keyThe key is missing, malformed, revoked, or used with the wrong environment prefix. - 402
insufficient_balanceThe wallet cannot cover this call. Recharge and retry. - 403
insufficient_scopeThe key lacks the scope this endpoint needs. - 403
ewb_not_enabledE-way Bill access has not been purchased on this account. - 403
ewb_activation_pendingSetup is paid; provider onboarding has not finished. - 404
not_foundNo such resource. - 409
idempotency_conflictA request with this Idempotency-Key is still in progress. - 429
rate_limitedToo many requests; honour Retry-After. - 502
upstream_errorThe data source failed. You were not charged. - 503
provider_not_configuredThis capability has no live provider configured. - 504
upstream_timeoutThe data source took too long. You were not charged.
Frequently Asked Questions
What does the response contain?
The provider payload for the bill: parties, document details, values, transport mode, vehicle history and item list, under `raw`.
Do I need E-way Bill access for this endpoint?
Live keys need E-way Bill access to be active on the account. Sandbox keys (aps_test_…) can call it without any purchase and get labelled sample bills.
Am I charged for a bill that does not exist?
No. Only a found bill is billed; not-found, errors and timeouts are free.