GST APIEnvironment:
Default OTP575757
API Reference
Overview
Public
Authentication
GSTR
GSTR1
GSTR1A
GSTR2A
GSTR2B
GSTR2X
GSTR3B
Get GSTR3B SummaryGET
Get GSTR1 auto calculated liability detailsGET
Save GSTR3B dataPUT
Offset Liability GSTR3B DataPUT
Save past liability breakup GSTR3B DataPUT
File GSTR3B dataPOST
File GSTR3B dataPOST
validate GSTR3B against auto calculated valuesPOST
Recompute System Calulated InterestPOST
Get system calculated interestGET
Get ITC Reversal BalanceGET
Get Opening Balance For Credit Reversal and Re-claimed DetailsGET
Get latest closing balanceGET
Get RCM opening balanceGET
Submit RCM opening balancePOST
GSTR4
GSTR4A
GSTR4Annual
GSTR5
GSTR6
GSTR6A
GSTR7
GSTR8
GSTR9
GSTR9A
GSTR9C
SPIKE
ALL
IMS
ITC03
ITC04
CMP
Payment
Ledger
e-Invoice
Notices
GST APIGSTR3BOffset Liability GSTR3B Data

Offset Liability GSTR3B Data

PUThttps://apisandbox.whitebooks.in/gstr3b/retoffset

Offset Liability GSTR3B 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
pdcasharray<object>optional
Array items:
liab_ldg_idnumberoptional
Liability id
Example: 1233
trans_typnumberoptional
Transaction code
Example: 30002
ipdnumberoptional
Igst Tax paid through cash
Example: 3517817
cpdnumberoptional
Cgst Tax paid through cash
Example: 3517817
spdnumberoptional
Sgst Tax paid through cash
Example: 3517817
cspdnumberoptional
Cgst Tax paid through cash
Example: 3517817
c_intrpdnumberoptional
Cgst Interest paid through cash
Example: 30
c_lfeepdnumberoptional
Cgst Late Fee paid through cash
Example: 13
cs_intrpdnumberoptional
Cess Interest paid through cash
Example: 15
i_intrpdnumberoptional
Igst Interest paid through cash
Example: 20
s_intrpdnumberoptional
Sgst Interest paid through cash
Example: 10
s_lfeepdnumberoptional
Sgst Late fee paid through cash
Example: 13
pditcobjectoptional
liab_ldg_idnumberoptional
Liability Id
Example: 12321
trans_typnumberoptional
Transaction code
Example: 30002
i_pdinumberoptional
Igst Tax paid through Igst ITC
Example: 3517817
i_pdcnumberoptional
Igst Tax paid through Cgst ITC
Example: 2290459
i_pdsnumberoptional
Igst Tax paid through Sgst ITC
Example: 2290459
c_pdcnumberoptional
Cgst Tax paid through Cgst ITC
Example: 2290459
c_pdinumberoptional
Cgst Tax paid through Igst ITC
Example: 3517817
s_pdinumberoptional
Sgst Tax paid through Igst ITC
Example: 3517817
s_pdsnumberoptional
Sgst Tax paid through Sgst ITC
Example: 2290459
cs_pdcsnumberoptional
Cess Tax paid through Cess ITC
Example: 2290459

Response

Not Found. If requested entity is not found or if requested API is not found.
PUT/gstr3b/retoffset
1const response = await fetch('https://apisandbox.whitebooks.in/gstr3b/retoffset?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 "pdcash": [
16 {
17 "liab_ldg_id": 1233,
18 "trans_typ": 30002,
19 "ipd": 3517817,
20 "cpd": 3517817,
21 "spd": 3517817,
22 "cspd": 3517817,
23 "c_intrpd": 30,
24 "c_lfeepd": 13,
25 "cs_intrpd": 15,
26 "i_intrpd": 20,
27 "s_intrpd": 10,
28 "s_lfeepd": 13
29 }
30 ],
31 "pditc": {
32 "liab_ldg_id": 12321,
33 "trans_typ": 30002,
34 "i_pdi": 3517817,
35 "i_pdc": 2290459,
36 "i_pds": 2290459,
37 "c_pdc": 2290459,
38 "c_pdi": 3517817,
39 "s_pdi": 3517817,
40 "s_pds": 2290459,
41 "cs_pdcs": 2290459
42 }
43}),
44});
45
46const data = await response.json();
47console.log(data);
No example available.