GST APIEnvironment:
Default OTP575757
API Reference
Overview
Public
Authentication
GSTR
GSTR1
GSTR1A
GSTR2A
GSTR2B
GSTR2X
GSTR3B
GSTR4
GSTR4A
GSTR4Annual
GSTR5
GSTR6
GSTR6A
GSTR7
GSTR8
GSTR9
GSTR9A
GSTR9C
SPIKE
ALL
Save User MastersPOST
Get User MastersGET
Get File DetailsGET
Get Large File DetailsGET
Late FeeGET
Get additional late fee breakupGET
Document DownloadGET
Proceed To FileGET
New Proceed To File(GSTR1,GSTR5,GSTR6)GET
Document UploadPOST
Get Return StatusGET
Save PreferencePUT
Get PreferenceGET
IMS
ITC03
ITC04
CMP
Payment
Ledger
e-Invoice
Notices
GST APIALLDocument Upload

Document Upload

POSThttps://apisandbox.whitebooks.in/all/docupld

Used to upload Document

Parameters

query parameters
emailstringrequired
API Developer User Email
header parameters
gstinstringrequired
GST Number
ret_periodstringrequired
Return Period (MMYYYY)
gst_usernamestringrequired
GST UserName
state_cdstringrequired
State Code
ip_addressstringrequired
IP Address
txnstringrequired
Transaction
client_idstringrequired
Client ID
client_secretstringrequired
Client Secret

Request Body

application/jsonrequired
ctstringoptional
Example: "application/pdf"
datastringoptional
Example: "Base64 encoded document"
doc_namstringoptional
Example: "Document.pdf"

Response

Not Found. If requested entity is not found or if requested API is not found.
POST/all/docupld
1const response = await fetch('https://apisandbox.whitebooks.in/all/docupld?email=value', {
2 method: 'POST',
3 headers: {
4 gstin: "value",
5 ret_period: "value",
6 gst_username: "value",
7 state_cd: "value",
8 ip_address: "value",
9 txn: "value",
10 client_id: "value",
11 client_secret: "value",
12 Content-Type: "application/json"
13},
14 body: JSON.stringify({
15 "ct": "application/pdf",
16 "data": "Base64 encoded document",
17 "doc_nam": "Document.pdf"
18}),
19});
20
21const data = await response.json();
22console.log(data);
No example available.