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
GSTR9C
SPIKE
ALL
IMS
ITC03
Save ITC03 dataPUT
Get ITC03 SummaryGET
File ITC03 dataPOST
File ITC03 dataPOST
Get ITC03 InvoicesGET
Get ITC03 InvoicesGET
Offset Liability ITC03 dataPUT
ITC04
CMP
Payment
Ledger
e-Invoice
Notices
GST APIITC03 Offset Liability ITC03 data

Offset Liability ITC03 data

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

API call for offsetting the liabilities from ITC03

Parameters

query parameters
emailstringrequired
User Email
typestringrequired
Type (SETOFF4A / SETOFF4B)
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 number
Example: "12AVVVH1234HA1X"
ret_typestringoptional
Return Type
Example: "ITC03-4A"
pd_by_cashobjectoptional
tran_cdintegeroptional
Tran code
Example: 30002
sgstobjectoptional
intrnumberoptional
Interest Amount
Example: 0
othnumberoptional
other Amount
Example: 0
txnumberoptional
Tax Amount
Example: 0
feenumberoptional
Fee Amount
Example: 0
totnumberoptional
Total Amount
Example: 0
pennumberoptional
Penalty Amount
Example: 0
cgstobjectoptional
intrnumberoptional
Interest Amount
Example: 0
othnumberoptional
other Amount
Example: 0
txnumberoptional
Tax Amount
Example: 0
feenumberoptional
Fee Amount
Example: 0
totnumberoptional
Total Amount
Example: 0
pennumberoptional
Penalty Amount
Example: 0
cessobjectoptional
intrnumberoptional
Interest Amount
Example: 0
othnumberoptional
other Amount
Example: 0
txnumberoptional
Tax Amount
Example: 0
feenumberoptional
Fee Amount
Example: 0
totnumberoptional
Total Amount
Example: 0
pennumberoptional
Penalty Amount
Example: 0
igstobjectoptional
intrnumberoptional
Interest Amount
Example: 0
othnumberoptional
other Amount
Example: 0
txnumberoptional
Tax Amount
Example: 0
feenumberoptional
Fee Amount
Example: 0
totnumberoptional
Total Amount
Example: 0
pennumberoptional
Penalty Amount
Example: 0
pd_by_itcobjectoptional
tran_cdintegeroptional
Tran code
Example: 30002
igst_igst_amtnumberoptional
IGST as IGST
Example: 0
igst_cgst_amtnumberoptional
IGST as CGST
Example: 0
igst_sgst_amtnumberoptional
IGST as SGST
Example: 0
sgst_sgst_amtnumberoptional
SGST as SGST
Example: 0
sgst_igst_amtnumberoptional
SGST as IGST
Example: 0
cgst_cgst_amtnumberoptional
CGST as CGST
Example: 0
cgst_igst_amtnumberoptional
CGST as IGST
Example: 0
cess_cess_amtnumberoptional
CESS as CESS
Example: 0

Response

Not Found. If requested entity is not found or if requested API is not found.
PUT/itc03/retoffset
1const response = await fetch('https://apisandbox.whitebooks.in/itc03/retoffset?email=value&type=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": "12AVVVH1234HA1X",
16 "ret_type": "ITC03-4A",
17 "pd_by_cash": {
18 "tran_cd": 30002,
19 "sgst": {
20 "intr": 0,
21 "oth": 0,
22 "tx": 0,
23 "fee": 0,
24 "tot": 0,
25 "pen": 0
26 },
27 "cgst": {
28 "intr": 0,
29 "oth": 0,
30 "tx": 0,
31 "fee": 0,
32 "tot": 0,
33 "pen": 0
34 },
35 "cess": {
36 "intr": 0,
37 "oth": 0,
38 "tx": 0,
39 "fee": 0,
40 "tot": 0,
41 "pen": 0
42 },
43 "igst": {
44 "intr": 0,
45 "oth": 0,
46 "tx": 0,
47 "fee": 0,
48 "tot": 0,
49 "pen": 0
50 }
51 },
52 "pd_by_itc": {
53 "tran_cd": 30002,
54 "igst_igst_amt": 0,
55 "igst_cgst_amt": 0,
56 "igst_sgst_amt": 0,
57 "sgst_sgst_amt": 0,
58 "sgst_igst_amt": 0,
59 "cgst_cgst_amt": 0,
60 "cgst_igst_amt": 0,
61 "cess_cess_amt": 0
62 }
63}),
64});
65
66const data = await response.json();
67console.log(data);
No example available.