Re-keying data from the invoice system
Most integrations require pushing all invoice and buyer data again to generate the e-way bill. WhiteBooks reads existing IRNs and pre-populates 90% of the e-way bill fields automatically.
Generate, extend, and cancel e-way bills programmatically. Auto-populate from existing IRNs. Handle bulk dispatch from warehouses. Used in production by Pharmeasy (14 warehouses) and WheelsEye.
Most integrations require pushing all invoice and buyer data again to generate the e-way bill. WhiteBooks reads existing IRNs and pre-populates 90% of the e-way bill fields automatically.
Trucks break down. Routes divert. Bills expire. WhiteBooks emits a webhook 4 hours before any e-way bill expires, giving your dispatch team time to extend.
When one vehicle carries 30 consignments, you generate one consolidated e-way bill — not 30. Most APIs don't expose consolidated bills cleanly; WhiteBooks does.
Authenticate with the e-Way Bill portal and obtain a session token. Required before any bill generation or query operation.
Generate an e-way bill for a single consignment. Full consignor, consignee, item, tax, and transport details in, EWB number out.
Generate a consolidated e-way bill for a multi-consignment vehicle trip. Pass an array of EWB numbers on one trip sheet.
Extend validity near expiry with a reason code (vehicle breakdown, transshipment, natural calamity) and remaining distance.
Cancel an e-way bill within 24 hours of generation, with a cancellation reason code and remark.
Reject an e-way bill assigned to you by another party. Returns updated EWB status after rejection.
Update Part-B / vehicle number mid-transit for transshipment. Requires transport mode, place, state, and reason.
Reassign or update transporter ID mid-transit. Useful when logistics partners change hands during a long-haul movement.
Regenerate the consolidated trip sheet for a vehicle carrying multiple consignments. Returns updated print-ready PDF reference.
Retrieve full e-way bill details, validity, and Part-A / Part-B status for any EWB number.
Bulk-fetch all e-way bills generated on a given date. Ideal for daily reconciliation and dispatch-log audits.
Fetch all e-way bills assigned to a specific transporter. Supports date-range filtering for fleet-level visibility.
Retrieve all e-way bills for a transporter filtered by consigner or consignee GSTIN. Useful for vendor-level reconciliation.
Fetch transporter e-way bills filtered by the destination or origin state code. Supports multi-state logistics dashboards.
Generate a report of e-way bills by the date they were assigned to a transporter. Useful for SLA tracking and on-time dispatch reporting.
Fetch all e-way bills where your GSTIN is the counter-party (consignee or consignor) but not the generator. Essential for 3PL and marketplace flows.
List all e-way bills you generated that were rejected by the receiving party. Returns rejection reason codes for dispute resolution.
Retrieve all e-way bills generated by a specific consigner GSTIN. Useful for supplier-level tracking and audits.
Fetch the full consolidated trip sheet for a vehicle — all consignments, EWB numbers, and validity windows — in one call.
Look up a transporter's registered details by GSTIN — legal name, registration status, and vehicle fleet size on record.
Validate and fetch GSTIN details within the e-way bill portal context — legal name, registration status, and state code.
Look up HSN code details — commodity description, applicable GST rate, and UQC (unit quantity code) — for e-way bill line items.
Initiate a bulk/multi-vehicle e-way bill session. Returns a session token used for batch add and update operations.
Add consignments to an active multi-vehicle session. Accepts an array of e-way bill numbers to be consolidated.
Update vehicle or transporter details for an active multi-vehicle session before finalising the consolidated trip sheet.
Retrieve the full list of EWB portal error codes with descriptions. Use to build meaningful error messages in your integration.
Close (consolidate and finalize) an e-way bill session. Marks all consignments in the session as dispatched and locks the trip sheet.
SDKs in Node.js, Python, PHP, Java, Go. Integration patterns for warehouse management dispatch flows, transporter onboarding, and freight brokerage platforms. Webhooks: bill generated, bill approaching expiry (4hr alert), bill expired, vehicle updated, bill cancelled.
Native connectors for instant data flow
Maintained against every ERP upgrade
No CSV exports. No email uploads.
Bank-grade security & data protection
WhiteBooks runs a shared AI engine across every product. Trained on Indian compliance data, tuned for finance teams, and embedded in the workflows you already use.
Beyond GSTN's pin-to-pin calculation, WhiteBooks predicts realistic transit time based on route history, transporter performance, and seasonal factors. Returned in every bill creation response.
Webhook events include flags for invalid vehicle number formats, unknown transporter IDs, distances outside historical norms, and bills generated outside typical dispatch hours.
Ask "show me all e-way bills that expired last week" or "which warehouses generated the most bills in March?" — answers from live data, source rows linked.
Given a list of consignments and available vehicles, the /v1/ewaybill/optimize endpoint suggests vehicle assignments to minimize bills generated (via consolidated bills) and maximize utilization.
Pharmeasy generates e-way bills for 14 warehouses via the WhiteBooks API. WheelsEye uses the API for fleet onboarding and transporter invoice reconciliation. Same SLA, same direct GSP pipe.