GST APIEnvironment:
Default OTP575757
API Reference
Overview
Public
Authentication
GSTR
GSTR1
GSTR1A
GSTR2A
GSTR2B
GSTR2X
GSTR3B
GSTR4
GSTR4A
GSTR4Annual
GSTR5
GSTR6
GSTR6A
GSTR7
GSTR8
Get TCS InvoicesGET
Get GSTR8 SummaryGET
Save GSTR8 dataPUT
File GSTR8 dataPOST
File GSTR8 dataPOST
Get ChecksumGET
Get EIDGET
GSTR9
GSTR9A
GSTR9C
SPIKE
ALL
IMS
ITC03
ITC04
CMP
Payment
Ledger
e-Invoice
Notices
GST APIGSTR8Get TCS Invoices

Get TCS Invoices

GEThttps://apisandbox.whitebooks.in/gstr8/tcs

Getting all TCS invoices for a return period.

Parameters

query parameters
emailstringrequired
Email
gstinstringrequired
GSTIN of the taxpayer
retperiodstringrequired
Return Period format MMYYYY
fromtimestringoptional
From time format DD-MM-YYYY HH:MM,20-12-2016 09:30
rettypestringoptional
Return Type
header parameters
gst_usernamestringrequired
GST UserName
state_cdstringrequired
State Code
ip_addressstringrequired
IP Address
txnstringrequired
Transaction
client_idstringrequired
Client ID
client_secretstringrequired
Client Secret

Response

Not Found. If requested entity is not found or if requested API is not found.
GET/gstr8/tcs
1const response = await fetch('https://apisandbox.whitebooks.in/gstr8/tcs?email=value&gstin=value&retperiod=value&fromtime=value&rettype=value', {
2 method: 'GET',
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},
11});
12
13const data = await response.json();
14console.log(data);
No example available.