It covers CSI download (OTP-based), FVU generation, e-filing, and post-filing steps.
Before you begin:
- You must have generated the Form 24Q TXT file using the TDS Reports API.
- You must have a valid Sandbox
authorizationtoken. - You must know the correct
TAN,financial_year, andquarter.
1
Prepare TDS Return (Generate TXT)
Ensure that you have generated the Form 24Q TXT file using the TDS Reports APIs.If you’ve already completed the Prepare Form 24Q TDS Return recipe, you can reuse the TXT file and continue to the next step.
2
Generate OTP for CSI Download
To fetch the CSI file, you must first generate an OTP.
This OTP is sent by TRACES to the TAN’s registered email/mobile.Endpoint:
This OTP is sent by TRACES to the TAN’s registered email/mobile.Endpoint:
POST /tds/compliance/download-csi/generate_otpcURL Request – Generate CSI OTP
cURL Request – Generate CSI OTP
This step only triggers OTP delivery.
No CSI file or download URL is returned here.
No CSI file or download URL is returned here.
3
Verify OTP and Get CSI Download URL
Verify the OTP received to obtain a signed CSI download URL.Endpoint:
A successful response includes:
POST /tds/compliance/download-csi/verify_otpcURL Request – Verify CSI OTP
cURL Request – Verify CSI OTP
csi_download_url(signed, time-limited)
4
Generate FVU
With the TXT and CSI files ready, create an FVU generation job.
The response returns:
cURL Request – Create FVU Job
cURL Request – Create FVU Job
-
txt_file_upload_url -
csi_file_upload_url
5
Provide TXT & CSI Files
Upload the TXT and CSI files using the signed URLs.
cURL – Upload TXT
cURL – Upload TXT
cURL – Upload CSI
cURL – Upload CSI
6
Fetch FVU Generation Status
Poll the FVU job until it completes.
When the job
cURL – Fetch FVU Status
cURL – Fetch FVU Status
status is succeeded, download:-
fvu_zip_file_url
7
E-file TDS Return
Create an e-file job for Form 24Q.
The response contains
cURL – Create E-file Job
cURL – Create E-file Job
fvu_upload_file_url.8
Provide FVU ZIP
Upload the ZIP containing the FVU file and Form 27A.
cURL – Upload FVU ZIP
cURL – Upload FVU ZIP
9
Fetch TDS Return Status
Poll the e-file job to confirm filing completion.
On success, the response includes:
cURL – Fetch E-file Status
cURL – Fetch E-file Status
-
receipt_number -
receipt_file_url -
form27a_file_url
10
Generate Form 16 (Optional)
After filing Form 24Q, you can generate Form 16 certificates.Ensure that the request includes at least 3 PAN–amount combinations.
cURL – Generate Form 16
cURL – Generate Form 16