GST APIEnvironment:
Default OTP575757
API Reference
Overview
Public
Authentication
GSTR
GSTR1
GSTR1A
GSTR2A
GSTR2B
GSTR2X
GSTR3B
GSTR4
GSTR4A
GSTR4Annual
GSTR5
Get B2B InvoicesGET
Get B2BA InvoicesGET
Get CDNR InvoicesGET
Get CDNRA InvoicesGET
Get IMPG InvoicesGET
Get IMPGA InvoicesGET
Get IMPS InvoicesGET
Get IMPSA InvoicesGET
Save GSTR5 dataPUT
Get CDNA UnregisteredGET
Get GSTR5 SummaryGET
SubmitPOST
File GSTR5POST
File GSTR5 dataPOST
Get B2CL InvoicesGET
Get B2CS InvoicesGET
Get CDN UnregisteredGET
Get Tax LiabGET
Offset Liability GSTR5 dataPUT
Get B2CLA InvoicesGET
Get B2CSA InvoicesGET
GSTR6
GSTR6A
GSTR7
GSTR8
GSTR9
GSTR9A
GSTR9C
SPIKE
ALL
IMS
ITC03
ITC04
CMP
Payment
Ledger
e-Invoice
Notices
GST APIGSTR5 Offset Liability GSTR5 data

Offset Liability GSTR5 data

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

API call for offsetting the liabilities and interest from GSTR5

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/gstr5/retoffset
1const response = await fetch('https://apisandbox.whitebooks.in/gstr5/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.