GST APIEnvironment:
Default OTP575757
API Reference
Overview
Public
Authentication
GSTR
GSTR1
GSTR1A
Get GSTR1A SummaryGET
Get GSTR1A Document IssuedGET
Get CDNRA InvoicesGET
Get B2CL InvoicesGET
Get B2BA InvoicesGET
Get ATAGET
Get TXPGET
Get Supplier ECO invoicesGET
Get Supplier ECOA invoicesGET
Get ECOM InvoicesGET
Get ECOMA InvoicesGET
Save GSTR1A dataPUT
Get B2B InvoicesGET
Get B2CLA InvoicesGET
Get B2CSA InvoicesGET
Get CDNR InvoicesGET
Get ATGET
Get EXPAGET
Get B2CS InvoicesGET
Get EXPGET
Get Nil Rated SuppliesGET
Get HSN Summary detailsGET
API call for getting all Credit/ Debit Notes issued to un-registered persons for a return period.GET
API call for getting all amended Credit/ Debit Notes issued to un-registered persons for a return period.GET
Reset GSTR1A DataPOST
File GSTR1A dataPOST
File GSTR1A dataPOST
Proceed To FileGET
Get TXPAGET
Get Declaration DetailsGET
Confirm Declaration DetailsPOST
GSTR2A
GSTR2B
GSTR2X
GSTR3B
GSTR4
GSTR4A
GSTR4Annual
GSTR5
GSTR6
GSTR6A
GSTR7
GSTR8
GSTR9
GSTR9A
GSTR9C
SPIKE
ALL
IMS
ITC03
ITC04
CMP
Payment
Ledger
e-Invoice
Notices

Confirm GSTR-1A / IFF Liability Declaration

POSThttps://apisandbox.whitebooks.in/gstr1a/confirmdeclaration

This API is used to confirm the GSTR1/GSTR1A/IFF Liability Details.

Parameters

query parameters
gstinstringrequired
GSTIN of the taxpayer
retperiodstringrequired
Return Period
emailstringrequired
Email
header parameters
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: "32CHAND3868A1Z3"
ret_periodstringoptional
Return Period
Example: "092024"
r2bStaleStatusstringoptional
GSTR2B Stale Status
Example: "N"
chksumstringoptional
CheckSum of the payload
Example: "0b194f5f9cfeb178a4d1440103641b81eb17728b9afd6691a3661aa9c3dd0f8d"
liabobjectoptional
gstr1Liabobjectoptional
sec_nmstringoptional
GSTR1 Liability Section Name
Example: "TTL_LIAB_GSTR1"
chksumstringoptional
GSTR1 Liablity Check sum value
Example: "da88731791fdf49c66735228563c4bc798f0af67ba0d1a7089c94762e9f724a6"
ttl_taxnumberoptional
Total taxable value of records
Example: 2000
ttl_igstnumberoptional
IGST Amount
Example: 10
ttl_cgstnumberoptional
CGST Amount
Example: 0
ttl_sgstnumberoptional
SGST Amount
Example: 0
ttl_cessnumberoptional
Total Tax Paid CESS
Example: 0
ttl_valnumberoptional
SGST Amount
Example: 10
iffLiabarray<object>optional
Array items:
sec_nmstringoptional
IFF Liability Section Name
Example: "TTL_LIAB_IFF"
chksumstringoptional
IFF Liablity Check sum value
Example: "da88731791fdf49c66735228563c4bc798f0af67ba0d1a7089c94762e9f724a6"
iff_ret_periodstringoptional
IFF Return Period
Example: "042024"
ttl_taxnumberoptional
Total taxable value of records
Example: 2000
ttl_igstnumberoptional
IGST Amount
Example: 10
ttl_cgstnumberoptional
CGST Amount
Example: 0
ttl_sgstnumberoptional
SGST Amount
Example: 0
ttl_cessnumberoptional
Total Tax Paid CESS
Example: 0
ttl_valnumberoptional
SGST Amount
Example: 10
gstr1aLiabobjectoptional
sec_nmstringoptional
GSTR1A Liability Section Name
Example: "TTL_LIAB_GSTR1A"
chksumstringoptional
GSTR1A Liablity Check sum value
Example: "da88731791fdf49c66735228563c4bc798f0af67ba0d1a7089c94762e9f724a6"
ttl_taxnumberoptional
Total taxable value of records
Example: 2000
ttl_igstnumberoptional
IGST Amount
Example: 10
ttl_cgstnumberoptional
CGST Amount
Example: 0
ttl_sgstnumberoptional
SGST Amount
Example: 0
ttl_cessnumberoptional
Total Tax Paid CESS
Example: 0
ttl_valnumberoptional
SGST Amount
Example: 10
balobjectoptional
cash_balobjectoptional
chksumstringoptional
Check sum of Object
Example: "da88731791fdf49c66735228563c4bc798f0af67ba0d1a7089c94762e9f724a6"
igst_balnumberoptional
IGST Amount
Example: 10
cgst_balnumberoptional
CGST Amount
Example: 0
sgst_balnumberoptional
SGST Amount
Example: 0
cess_balnumberoptional
CESS Amount
Example: 0
ttl_balnumberoptional
SGST Amount
Example: 10
itc_balobjectoptional
chksumstringoptional
Check sum of Object
Example: "da88731791fdf49c66735228563c4bc798f0af67ba0d1a7089c94762e9f724a6"
igst_balnumberoptional
IGST Amount
Example: 10
cgst_balnumberoptional
CGST Amount
Example: 0
sgst_balnumberoptional
SGST Amount
Example: 0
cess_balnumberoptional
CESS Amount
Example: 0
ttl_balnumberoptional
SGST Amount
Example: 10
gstr2b_itc_balobjectoptional
chksumstringoptional
Check sum of Object
Example: "da88731791fdf49c66735228563c4bc798f0af67ba0d1a7089c94762e9f724a6"
igst_balnumberoptional
IGST Amount
Example: 10
cgst_balnumberoptional
CGST Amount
Example: 0
sgst_balnumberoptional
SGST Amount
Example: 0
cess_balnumberoptional
CESS Amount
Example: 0
ttl_balnumberoptional
SGST Amount
Example: 10

Response

Not Found. If requested entity is not found or if requested API is not found.

Frequently Asked Questions

The body requires a sec_sum object containing liability summary (liab_sum) and differential amounts (diff_sum) with IGST, CGST, SGST, and CESS breakdowns — and a bal object with current cash_bal, itc_bal, and gstr2b_itc_bal ledger amounts including their checksums.
The checksum values in liab_sum.chksum, cash_bal.chksum, etc. are SHA-256 hashes of the corresponding data objects generated by GSTN. Retrieve them from the GET /gstr1a/getdeclaration response and pass them back verbatim in the confirmation payload.
No. The confirmation is a single atomic call that locks all declared liability and ledger sections simultaneously. You must include all the summary and balance objects returned from GET /gstr1a/getdeclaration.
A successful confirmation commits the GSTR-1A/IFF liability state on GSTN and returns an acknowledgement. The confirmed declaration is a prerequisite for the subsequent return filing step. No further amendments can be made after confirmation in the same return period.
POST/gstr1a/confirmdeclaration
1const response = await fetch('https://apisandbox.whitebooks.in/gstr1a/confirmdeclaration?gstin=value&retperiod=value&email=value', {
2 method: 'POST',
3 headers: {
4 gst_username: "value",
5 state_cd: "value",
6 ip_address: "value",
7 txn: "value",
8 client_id: "value",
9 client_secret: "value",
10 Content-Type: "application/json"
11},
12 body: JSON.stringify({
13 "gstin": "32CHAND3868A1Z3",
14 "ret_period": "092024",
15 "r2bStaleStatus": "N",
16 "chksum": "0b194f5f9cfeb178a4d1440103641b81eb17728b9afd6691a3661aa9c3dd0f8d",
17 "liab": {
18 "gstr1Liab": {
19 "sec_nm": "TTL_LIAB_GSTR1",
20 "chksum": "da88731791fdf49c66735228563c4bc798f0af67ba0d1a7089c94762e9f724a6",
21 "ttl_tax": 2000,
22 "ttl_igst": 10,
23 "ttl_cgst": 0,
24 "ttl_sgst": 0,
25 "ttl_cess": 0,
26 "ttl_val": 10
27 },
28 "iffLiab": [
29 {
30 "sec_nm": "TTL_LIAB_IFF",
31 "chksum": "da88731791fdf49c66735228563c4bc798f0af67ba0d1a7089c94762e9f724a6",
32 "iff_ret_period": "042024",
33 "ttl_tax": 2000,
34 "ttl_igst": 10,
35 "ttl_cgst": 0,
36 "ttl_sgst": 0,
37 "ttl_cess": 0,
38 "ttl_val": 10
39 }
40 ],
41 "gstr1aLiab": {
42 "sec_nm": "TTL_LIAB_GSTR1A",
43 "chksum": "da88731791fdf49c66735228563c4bc798f0af67ba0d1a7089c94762e9f724a6",
44 "ttl_tax": 2000,
45 "ttl_igst": 10,
46 "ttl_cgst": 0,
47 "ttl_sgst": 0,
48 "ttl_cess": 0,
49 "ttl_val": 10
50 }
51 },
52 "bal": {
53 "cash_bal": {
54 "chksum": "da88731791fdf49c66735228563c4bc798f0af67ba0d1a7089c94762e9f724a6",
55 "igst_bal": 10,
56 "cgst_bal": 0,
57 "sgst_bal": 0,
58 "cess_bal": 0,
59 "ttl_bal": 10
60 },
61 "itc_bal": {
62 "chksum": "da88731791fdf49c66735228563c4bc798f0af67ba0d1a7089c94762e9f724a6",
63 "igst_bal": 10,
64 "cgst_bal": 0,
65 "sgst_bal": 0,
66 "cess_bal": 0,
67 "ttl_bal": 10
68 },
69 "gstr2b_itc_bal": {
70 "chksum": "da88731791fdf49c66735228563c4bc798f0af67ba0d1a7089c94762e9f724a6",
71 "igst_bal": 10,
72 "cgst_bal": 0,
73 "sgst_bal": 0,
74 "cess_bal": 0,
75 "ttl_bal": 10
76 }
77 }
78}),
79});
80
81const data = await response.json();
82console.log(data);
No example available.