e-Invoice APIEnvironment:
API Reference
Overview
Authentication
Get GSTN Details
Get Sync GSTIN From CP
Get Sync GSTIN From CPGET
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-Invoice APIGet Sync GSTIN From CPGet Sync GSTIN From CP

Get Sync GSTIN From CP

GEThttps://apisandbox.whitebooks.in/einvoice/type/SYNC_GSTIN_FROMCP/version/V1_03

Get Sync GSTIN From CP Details for a given GST Number

Parameters

query parameters
param1stringrequired
GSTN Number
emailstringrequired
User Email
header parameters
ip_addressstringrequired
IP Address
client_idstringrequired
Client ID
client_secretstringrequired
Client Secret
usernamestringrequired
User name
auth-tokenstringrequired
Token
gstinstringrequired
GSTIN number

Response

Successful, Get Sync GSTIN From CP Details.
GET/einvoice/type/SYNC_GSTIN_FROMCP/version/V1_03
1const response = await fetch('https://apisandbox.whitebooks.in/einvoice/type/SYNC_GSTIN_FROMCP/version/V1_03?param1=value&email=value', {
2 method: 'GET',
3 headers: {
4 ip_address: "value",
5 client_id: "value",
6 client_secret: "value",
7 username: "value",
8 auth-token: "value",
9 gstin: "value"
10},
11});
12
13const data = await response.json();
14console.log(data);
No example available.