GST APIEnvironment:
Default OTP575757
API Reference
Overview
Public
Authentication
GSTR
GSTR1
GSTR1A
GSTR2A
GSTR2B
GSTR2X
GSTR3B
GSTR4
GSTR4A
GSTR4Annual
GSTR5
GSTR6
GSTR6A
GSTR7
File GSTR7POST
File GSTR7 dataPOST
Save GSTR7PUT
Get GSTR7 SummaryGET
Get TDS detailsGET
Get TDS ChecksumGET
GSTR8
GSTR9
GSTR9A
GSTR9C
SPIKE
ALL
IMS
ITC03
ITC04
CMP
Payment
Ledger
e-Invoice
Notices
GST APIGSTR7Save GSTR7

Save GSTR7

PUThttps://apisandbox.whitebooks.in/gstr7/retsave

This API is to save GSTR7 data

Parameters

query parameters
emailstringrequired
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
gstinstringoptional
GSTIN of Deductor
Example: "12AUGGC1893F3DQ"
fpstringoptional
Return Period
Example: "112017"
tdsarray<object>optional
Array items:
gstin_dedstringoptional
GSTIN of Deductee
Example: 300
amt_dedstringoptional
Total Amount deducted by Deductor
Example: 300
iamtnumberoptional
IGST Amount deducted by Deductor
Example: 300
camtnumberoptional
CGST Amount deducted by Deductor
Example: 0
samtnumberoptional
SGST Amount deducted by Deductor
Example: 0
tdsaarray<object>optional
Array items:
omonthstringoptional
Original Financial Period
Example: "012018"
ogstin_dedstringoptional
Original GSTIN of Deductee
Example: "05AAFPQ1111B1ZP"
oamt_dedstringoptional
Original Amount deducted by Deductor
Example: 2000
gstin_dedstringoptional
Revised GSTIN of Deductee
Example: "05AAFPQ1111B1ZP"
amt_dednumberoptional
Revised Amount deducted by Deductor
Example: 3000
iamtnumberoptional
IGST Amount deducted by Deductor
Example: 300
camtnumberoptional
CGST Amount deducted by Deductor
Example: 0
samtnumberoptional
SGST Amount deducted by Deductor
Example: 0

Response

Not Found. If requested entity is not found or if requested API is not found.
PUT/gstr7/retsave
1const response = await fetch('https://apisandbox.whitebooks.in/gstr7/retsave?email=value', {
2 method: 'PUT',
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 "gstin": "12AUGGC1893F3DQ",
16 "fp": "112017",
17 "tds": [
18 {
19 "gstin_ded": 300,
20 "amt_ded": 300,
21 "iamt": 300,
22 "camt": 0,
23 "samt": 0
24 }
25 ],
26 "tdsa": [
27 {
28 "omonth": "012018",
29 "ogstin_ded": "05AAFPQ1111B1ZP",
30 "oamt_ded": 2000,
31 "gstin_ded": "05AAFPQ1111B1ZP",
32 "amt_ded": 3000,
33 "iamt": 300,
34 "camt": 0,
35 "samt": 0
36 }
37 ]
38}),
39});
40
41const data = await response.json();
42console.log(data);
No example available.