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 APIITC03Save ITC03 data

Save ITC03 data

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

Used to save entire ITC03 invoices.

Parameters

query parameters
emailstringrequired
User Email
typestringrequired
Type (SAV4A / SAV4B)
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: "08AJIPA1572EEZ8"
rtn_typstringoptional
Return Type
Example: "ITC03-4A"
comp_arnstringoptional
Composition ARN
Example: "AA0705171234561"
dofstringoptional
Document Number (Alphanumeric with / and - are allowed)
Example: "22-10-2017"
invsarray<object>optional
Array items:
cpty_rstringoptional
Counter Party
Example: "05BJKPK5619P1ZN"
cpty_urstringoptional
Counter Party
Example: "05BJKPK5619P1ZN"
flagstringoptional
Taxpayer action
Example: "R"
inumstringoptional
Supplier Invoice Number
Example: "S008400"
idtstringoptional
Supplier Invoice Date
Example: "24-01-2024"
itmsarray<object>optional
Array items:
goods_tystringoptional
Goods Type
Example: "5a"
descstringoptional
Goods description
Example: "fvsdfag"
uqcstringoptional
uqc
Example: "BKL"
qtynumberoptional
Quantity
Example: 11
valnumberoptional
value of goods
Example: 31231
tx_cnumberoptional
Total CGST Value
Example: 22
tx_snumberoptional
Total SGST Value
Example: 22
tx_inumberoptional
Total IGST Value
Example: 0
tx_csnumberoptional
Total cess Value
Example: 0
attachmentobjectoptional
docidstringoptional
Document ID
Example: "360234"
cadetailsobjectoptional
canamestringoptional
Name of the certifying Chartered Accountant/Cost Accountant
Example: "AKHIL ARORA"
firmstringoptional
Name of the certifying Chartered Accountant/Cost Accountant
Example: "TALLY"
memberstringoptional
Membership Number
Example: "567899"
cadtstringoptional
Date of issuance of certificate
Example: "04-04-2017"

Response

Not Found. If requested entity is not found or if requested API is not found.
PUT/itc03/retsave
1const response = await fetch('https://apisandbox.whitebooks.in/itc03/retsave?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": "08AJIPA1572EEZ8",
16 "rtn_typ": "ITC03-4A",
17 "comp_arn": "AA0705171234561",
18 "dof": "22-10-2017",
19 "invs": [
20 {
21 "cpty_r": "05BJKPK5619P1ZN",
22 "cpty_ur": "05BJKPK5619P1ZN",
23 "flag": "R",
24 "inum": "S008400",
25 "idt": "24-01-2024",
26 "itms": [
27 {
28 "goods_ty": "5a",
29 "desc": "fvsdfag",
30 "uqc": "BKL",
31 "qty": 11,
32 "val": 31231,
33 "tx_c": 22,
34 "tx_s": 22,
35 "tx_i": 0,
36 "tx_cs": 0
37 }
38 ]
39 }
40 ],
41 "attachment": {
42 "docid": "360234",
43 "cadetails": {
44 "caname": "AKHIL ARORA",
45 "firm": "TALLY",
46 "member": "567899",
47 "cadt": "04-04-2017"
48 }
49 }
50}),
51});
52
53const data = await response.json();
54console.log(data);
No example available.