API Reference

The WhiteBooks API suite

Four production REST APIs — including our GST API — over a directly GSTN-licensed GSP channel. Pick an API to browse every endpoint with request and response schemas, code samples, and a live playground.

Base URLs

Sandboxhttps://apisandbox.whitebooks.in
Productionhttps://api.whitebooks.in

Every request is authenticated with an OAuth 2.0 bearer token plus your x-api-key. New here? Start with the Quickstart.

Authentication

OAuth 2.0 tokens, refresh, and production security controls.

Read the guide

All endpoints

Every operation across the API suite, grouped by API and resource.

GST API

281 endpointsGST API overview

REST API for GST return filing (GSTR-1, 3B, 9), GSTIN validation, GSTR-2A/2B retrieval, and HSN/SAC search — over a directly GSTN-licensed GSP channel.

e-Invoice API

11 endpointse-Invoice API overview

Generate, cancel, and fetch IRNs on India’s Invoice Registration Portal with sub-200ms p50 latency. Single and bulk operations over a direct GSP pipe.

Get GSTN Details

Get Sync GSTIN From CP

Generate IRN

Get EInvoice Details

Get IRN details by Doc Details

Cancel IRN

Get Rejected IRNs

Generate Ewaybill

Get Ewaybill Details by IRN

Get B2C QR Code Details

e-Way Bill API

27 endpointse-Way Bill API overview

Create and manage e-way bills against the NIC system, auto-populate from an IRN, and run bulk operations — with retry-safe transient error handling.

Generate Eway Bill

Update PART-B/Vehicle Number

Generate Consolidated Ewaybill

Cancel E-Way bill

Reject EwayBill

Update Transporter

Extend Validity of E-Way Bill

Regenerate Consolidated E-Way Bill - Api

Get EwayBill Details

Get consolidated e-way bill

Get Error List

Get GSTIN details

GET Transin details

GET HSN details

Initiate Multi Vehicle Movement

Add Multi Vehicles

Change Multi Vehicles

Closure e-Way Bill