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
File GSTR9APOST
File GSTR9A dataPOST
Save GSTR9APUT
Get GSTR9A DetailsGET
Get GSTR9A Auto Calculated DetailsGET
GSTR9C
SPIKE
ALL
IMS
ITC03
ITC04
CMP
Payment
Ledger
e-Invoice
Notices
GST APIGSTR9ASave GSTR9A

Save GSTR9A

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

This API is to save GSTR9A 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
Example: "04AJIPA1572EAZK"
fpstringoptional
Financial Year
Example: "032018"
table5objectoptional
gtnumberoptional
Gross TrunOver
Example: 1000.12
table6objectoptional
flagstringoptional
Flag for identifying Delete
Example: "D"
tx_trnovrarray<object>optional
Array items:
rtnumberoptional
Rate of Tax
Example: 1
trnovrnumberoptional
IGST Amount
Example: 20
camtnumberoptional
CGST Amount
Example: 20
samtnumberoptional
SGST Amount
Example: 20
exmpobjectoptional
trnovrnumberoptional
IGST Amount
Example: 20
camtnumberoptional
CGST Amount
Example: 20
samtnumberoptional
SGST Amount
Example: 20
table7objectoptional
flagstringoptional
Flag for identifying Delete
Example: "D"
b2bobjectoptional
txvalnumberoptional
Taxable value of Goods or Service as per invoice
Example: 10000
iamtnumberoptional
IGST Amount as per invoice
Example: 20
camtnumberoptional
CGST Amount as per invoice
Example: 20
samtnumberoptional
SGST Amount as per invoice
Example: 20
csamtnumberoptional
Cess Amount as per invoice
Example: 20
b2burobjectoptional
txvalnumberoptional
Taxable value of Goods or Service as per invoice
Example: 10000
iamtnumberoptional
IGST Amount as per invoice
Example: 20
camtnumberoptional
CGST Amount as per invoice
Example: 20
samtnumberoptional
SGST Amount as per invoice
Example: 20
csamtnumberoptional
Cess Amount as per invoice
Example: 20
impsobjectoptional
txvalnumberoptional
Taxable value of Goods or Service as per invoice
Example: 10000
iamtnumberoptional
IGST Amount as per invoice
Example: 20
csamtnumberoptional
Cess Amount as per invoice
Example: 20
table8objectoptional
flagstringoptional
Flag for identifying Delete
Example: "D"
b2bobjectoptional
txvalnumberoptional
Taxable value of Goods or Service as per invoice
Example: 10000
iamtnumberoptional
IGST Amount as per invoice
Example: 20
camtnumberoptional
CGST Amount as per invoice
Example: 20
samtnumberoptional
SGST Amount as per invoice
Example: 20
csamtnumberoptional
Cess Amount as per invoice
Example: 20
impgobjectoptional
txvalnumberoptional
Taxable value of Goods or Service as per invoice
Example: 10000
iamtnumberoptional
IGST Amount as per invoice
Example: 20
csamtnumberoptional
Cess Amount as per invoice
Example: 20
table9objectoptional
flagstringoptional
Flag for identifying Delete
Example: "D"
tx_payobjectoptional
iamtnumberoptional
IGST Amount as per invoice
Example: 20
camtnumberoptional
CGST Amount as per invoice
Example: 20
samtnumberoptional
SGST Amount as per invoice
Example: 20
csamtnumberoptional
Cess Amount as per invoice
Example: 20
intrnumberoptional
Interest Amount
Example: 20
feenumberoptional
Fee Amount
Example: 20
table10objectoptional
flagstringoptional
Flag for identifying Delete
Example: "D"
txosa_dnobjectoptional
trnovrnumberoptional
Total Turnover
Example: 1000
camtnumberoptional
CGST Amount as per invoice
Example: 20
samtnumberoptional
SGST Amount as per invoice
Example: 20
b2b_dnobjectoptional
trnovrnumberoptional
Total TurnOver
Example: 1000
iamtnumberoptional
IGST Amount as per invoice
Example: 20
camtnumberoptional
CGST Amount as per invoice
Example: 20
samtnumberoptional
SGST Amount as per invoice
Example: 20
csamtnumberoptional
Cess Amount as per invoice
Example: 20
txosa_cnobjectoptional
trnovrnumberoptional
Total TurnOver
Example: 1000
camtnumberoptional
CGST Amount as per invoice
Example: 20
samtnumberoptional
SGST Amount as per invoice
Example: 20
b2b_cnobjectoptional
trnovrnumberoptional
Total TurnOver
Example: 1000
iamtnumberoptional
IGST Amount as per invoice
Example: 20
camtnumberoptional
CGST Amount as per invoice
Example: 20
samtnumberoptional
SGST Amount as per invoice
Example: 20
csamtnumberoptional
Cess Amount as per invoice
Example: 20
table14objectoptional
flagstringoptional
Flag for identifying Delete
Example: "D"
payobjectoptional
iamtnumberoptional
IGST Amount as per invoice
Example: 20
camtnumberoptional
CGST Amount as per invoice
Example: 20
samtnumberoptional
SGST Amount as per invoice
Example: 20
csamtnumberoptional
Cess Amount as per invoice
Example: 20
intrnumberoptional
Interest Amount
Example: 0
paidobjectoptional
iamtnumberoptional
IGST Amount as per invoice
Example: 20
camtnumberoptional
CGST Amount as per invoice
Example: 20
samtnumberoptional
SGST Amount as per invoice
Example: 20
csamtnumberoptional
Cess Amount as per invoice
Example: 20
intrnumberoptional
Interest Amount
Example: 0
table15objectoptional
flagstringoptional
Flag for identifying Delete
Example: "D"
rfd_clmdobjectoptional
iamtnumberoptional
IGST Amount as per invoice
Example: 20
camtnumberoptional
CGST Amount as per invoice
Example: 20
samtnumberoptional
SGST Amount as per invoice
Example: 20
csamtnumberoptional
Cess Amount as per invoice
Example: 20
intrnumberoptional
Interest Amount
Example: 0
feenumberoptional
Fee Amount
Example: 0
pennumberoptional
Penalty Amount
Example: 0
rfd_sancobjectoptional
iamtnumberoptional
IGST Amount as per invoice
Example: 20
camtnumberoptional
CGST Amount as per invoice
Example: 20
samtnumberoptional
SGST Amount as per invoice
Example: 20
csamtnumberoptional
Cess Amount as per invoice
Example: 20
intrnumberoptional
Interest Amount
Example: 0
feenumberoptional
Fee Amount
Example: 0
pennumberoptional
Penalty Amount
Example: 0
rfd_rejtobjectoptional
iamtnumberoptional
IGST Amount as per invoice
Example: 20
camtnumberoptional
CGST Amount as per invoice
Example: 20
samtnumberoptional
SGST Amount as per invoice
Example: 20
csamtnumberoptional
Cess Amount as per invoice
Example: 20
intrnumberoptional
Interest Amount
Example: 0
feenumberoptional
Fee Amount
Example: 0
pennumberoptional
Penalty Amount
Example: 0
rfd_pendobjectoptional
iamtnumberoptional
IGST Amount as per invoice
Example: 20
camtnumberoptional
CGST Amount as per invoice
Example: 20
samtnumberoptional
SGST Amount as per invoice
Example: 20
csamtnumberoptional
Cess Amount as per invoice
Example: 20
intrnumberoptional
Interest Amount
Example: 0
feenumberoptional
Fee Amount
Example: 0
pennumberoptional
Penalty Amount
Example: 0
tax_dmndobjectoptional
iamtnumberoptional
IGST Amount as per invoice
Example: 20
camtnumberoptional
CGST Amount as per invoice
Example: 20
samtnumberoptional
SGST Amount as per invoice
Example: 20
csamtnumberoptional
Cess Amount as per invoice
Example: 20
intrnumberoptional
Interest Amount
Example: 0
feenumberoptional
Fee Amount
Example: 0
pennumberoptional
Penalty Amount
Example: 0
txpdobjectoptional
trnovrnumberoptional
Total TurnOver
Example: 1000
iamtnumberoptional
IGST Amount as per invoice
Example: 20
camtnumberoptional
CGST Amount as per invoice
Example: 20
samtnumberoptional
SGST Amount as per invoice
Example: 20
csamtnumberoptional
Cess Amount as per invoice
Example: 20
intrnumberoptional
Interest Amount
Example: 0
feenumberoptional
Fee Amount
Example: 0
pennumberoptional
Penalty Amount
Example: 0
dmnd_pendobjectoptional
trnovrnumberoptional
Total TurnOver
Example: 1000
iamtnumberoptional
IGST Amount as per invoice
Example: 20
camtnumberoptional
CGST Amount as per invoice
Example: 20
samtnumberoptional
SGST Amount as per invoice
Example: 20
csamtnumberoptional
Cess Amount as per invoice
Example: 20
intrnumberoptional
Interest Amount
Example: 0
feenumberoptional
Fee Amount
Example: 0
pennumberoptional
Penalty Amount
Example: 0
table16objectoptional
flagstringoptional
Flag for identifying Delete
Example: "D"
debitobjectoptional
iamtnumberoptional
IGST Amount as per invoice
Example: 20
camtnumberoptional
CGST Amount as per invoice
Example: 20
samtnumberoptional
SGST Amount as per invoice
Example: 20
csamtnumberoptional
Cess Amount as per invoice
Example: 20
creditobjectoptional
iamtnumberoptional
IGST Amount as per invoice
Example: 20
camtnumberoptional
CGST Amount as per invoice
Example: 20
samtnumberoptional
SGST Amount as per invoice
Example: 20
csamtnumberoptional
Cess Amount as per invoice
Example: 20

Response

Not Found. If requested entity is not found or if requested API is not found.
PUT/gstr9a/retsave
1const response = await fetch('https://apisandbox.whitebooks.in/gstr9a/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": "04AJIPA1572EAZK",
16 "fp": "032018",
17 "table5": {
18 "gt": 1000.12
19 },
20 "table6": {
21 "flag": "D",
22 "tx_trnovr": [
23 {
24 "rt": 1,
25 "trnovr": 20,
26 "camt": 20,
27 "samt": 20
28 }
29 ],
30 "exmp": {
31 "trnovr": 20,
32 "camt": 20,
33 "samt": 20
34 }
35 },
36 "table7": {
37 "flag": "D",
38 "b2b": {
39 "txval": 10000,
40 "iamt": 20,
41 "camt": 20,
42 "samt": 20,
43 "csamt": 20
44 },
45 "b2bur": {
46 "txval": 10000,
47 "iamt": 20,
48 "camt": 20,
49 "samt": 20,
50 "csamt": 20
51 },
52 "imps": {
53 "txval": 10000,
54 "iamt": 20,
55 "csamt": 20
56 }
57 },
58 "table8": {
59 "flag": "D",
60 "b2b": {
61 "txval": 10000,
62 "iamt": 20,
63 "camt": 20,
64 "samt": 20,
65 "csamt": 20
66 },
67 "impg": {
68 "txval": 10000,
69 "iamt": 20,
70 "csamt": 20
71 }
72 },
73 "table9": {
74 "flag": "D",
75 "tx_pay": {
76 "iamt": 20,
77 "camt": 20,
78 "samt": 20,
79 "csamt": 20,
80 "intr": 20,
81 "fee": 20
82 }
83 },
84 "table10": {
85 "flag": "D",
86 "txosa_dn": {
87 "trnovr": 1000,
88 "camt": 20,
89 "samt": 20
90 },
91 "b2b_dn": {
92 "trnovr": 1000,
93 "iamt": 20,
94 "camt": 20,
95 "samt": 20,
96 "csamt": 20
97 },
98 "txosa_cn": {
99 "trnovr": 1000,
100 "camt": 20,
101 "samt": 20
102 },
103 "b2b_cn": {
104 "trnovr": 1000,
105 "iamt": 20,
106 "camt": 20,
107 "samt": 20,
108 "csamt": 20
109 }
110 },
111 "table14": {
112 "flag": "D",
113 "pay": {
114 "iamt": 20,
115 "camt": 20,
116 "samt": 20,
117 "csamt": 20,
118 "intr": 0
119 },
120 "paid": {
121 "iamt": 20,
122 "camt": 20,
123 "samt": 20,
124 "csamt": 20,
125 "intr": 0
126 }
127 },
128 "table15": {
129 "flag": "D",
130 "rfd_clmd": {
131 "iamt": 20,
132 "camt": 20,
133 "samt": 20,
134 "csamt": 20,
135 "intr": 0,
136 "fee": 0,
137 "pen": 0
138 },
139 "rfd_sanc": {
140 "iamt": 20,
141 "camt": 20,
142 "samt": 20,
143 "csamt": 20,
144 "intr": 0,
145 "fee": 0,
146 "pen": 0
147 },
148 "rfd_rejt": {
149 "iamt": 20,
150 "camt": 20,
151 "samt": 20,
152 "csamt": 20,
153 "intr": 0,
154 "fee": 0,
155 "pen": 0
156 },
157 "rfd_pend": {
158 "iamt": 20,
159 "camt": 20,
160 "samt": 20,
161 "csamt": 20,
162 "intr": 0,
163 "fee": 0,
164 "pen": 0
165 },
166 "tax_dmnd": {
167 "iamt": 20,
168 "camt": 20,
169 "samt": 20,
170 "csamt": 20,
171 "intr": 0,
172 "fee": 0,
173 "pen": 0
174 },
175 "txpd": {
176 "trnovr": 1000,
177 "iamt": 20,
178 "camt": 20,
179 "samt": 20,
180 "csamt": 20,
181 "intr": 0,
182 "fee": 0,
183 "pen": 0
184 },
185 "dmnd_pend": {
186 "trnovr": 1000,
187 "iamt": 20,
188 "camt": 20,
189 "samt": 20,
190 "csamt": 20,
191 "intr": 0,
192 "fee": 0,
193 "pen": 0
194 }
195 },
196 "table16": {
197 "flag": "D",
198 "debit": {
199 "iamt": 20,
200 "camt": 20,
201 "samt": 20,
202 "csamt": 20
203 },
204 "credit": {
205 "iamt": 20,
206 "camt": 20,
207 "samt": 20,
208 "csamt": 20
209 }
210 }
211}),
212});
213
214const data = await response.json();
215console.log(data);
No example available.