Skip to main content

TDS Compliance API

TDS (Tax Deducted at Source) compliance is the set of processes used by a deductor to prepare, validate, and submit quarterly e-TDS returns and generate TDS certificates in India. Use these APIs to download CSI (Challan Status Inquiry) files, generate FVU (File Validation Utility) packages, e-file quarterly TDS returns, and create Form 16/16A certificates using a job-based async workflow with optional webhooks.

Key features

How it works

1

Authenticate to get an access token

Call the authentication endpoint to obtain a bearer token for subsequent API requests.
2

Download CSI file

Generate an OTP and verify it to retrieve the CSI file URL for challan reconciliation.
3

Generate FVU package

Submit a job with return data, upload additional inputs if needed, then poll or await a webhook to download the validated FVU ZIP.
4

E-file the quarterly return

Submit the FVU for e-filing, then poll or await a webhook to download the acknowledgement receipt and Form 27A.
5

Generate Form 16/16A certificates

Submit a certificate generation job with deductee details, then poll or await a webhook to fetch completed certificate outputs.

Recipes

API categories

CSI download APIs

APIPurpose
Generate OTPRequest an OTP to initiate CSI file download from TRACES
Verify OTPVerify OTP and retrieve the CSI file download URL

FVU generation APIs

APIPurpose
Submit jobCreate a new FVU generation job with return data
Poll jobCheck job status and download FVU ZIP when complete
Search jobList and filter previously submitted FVU jobs

E-file APIs

APIPurpose
Submit jobSubmit FVU for e-filing to the income tax portal
Poll jobCheck filing status and download receipt/Form 27A
Search jobList and filter previously submitted e-filing jobs

Form 16/16A certificate APIs

APIPurpose
Submit jobCreate a certificate generation job for Form 16 or Form 16A
CredentialsReference for TRACES credentials required for certificate generation
Poll jobCheck job status and retrieve certificate outputs
Fetch jobRetrieve details of a specific certificate generation job

Common use cases

Use the TDS Compliance API when you need to:
  • Build a payroll platform that validates quarterly TDS return files by generating FVU packages automatically
  • Help finance teams e-file quarterly TDS returns programmatically and store acknowledgements and receipts
  • Generate and distribute Form 16/16A certificates to employees and vendors after returns are processed
  • Automate CSI retrieval for challan reconciliation before preparing the quarterly return
  • Run asynchronous compliance workflows at scale using webhooks instead of polling

Frequently asked questions

TDS (Tax Deducted at Source) compliance refers to the processes a deductor follows to withhold tax at source, file quarterly returns with the Income Tax Department, and issue TDS certificates to deductees. The TDS Compliance API automates these workflows including CSI download, FVU generation, e-filing, and certificate creation.
CSI (Challan Status Inquiry) is a file downloaded from TRACES (TDS Reconciliation Analysis and Correction Enabling System) that contains challan payment details. You need the CSI file to reconcile tax payments before preparing your quarterly TDS return. Use the Download CSI APIs to retrieve this file programmatically.
FVU (File Validation Utility) is a tool provided by the Income Tax Department to validate TDS return files before submission. The TDS Compliance API generates FVU-validated ZIP packages from your return data. Submit a job with your return data, then poll or receive a webhook to download the validated FVU package ready for e-filing.
Job-based APIs handle long-running operations asynchronously. You submit a job with input data, receive a job ID, then either poll the job status endpoint or configure webhooks to receive a callback when the job completes. See the job-based API workflow guide for implementation details.
The TDS Compliance API supports webhooks for all job-based endpoints. Configure a webhook URL to receive notifications when jobs complete instead of polling. See the webhooks guide.
You need valid TRACES credentials (TAN-based login) to generate Form 16 and Form 16A certificates. See the credentials reference for required fields and setup before submitting jobs.
The TDS Compliance API supports quarterly TDS returns filed by deductors, including Form 24Q (salary payments), Form 26Q (non-salary payments), and Form 27Q (payments to non-residents). Certificate generation supports both Form 16 (salary) and Form 16A (non-salary) TDS certificates.
The TDS Compliance API returns structured error responses with codes and messages. Common errors include invalid credentials, validation failures, and job timeouts. Check the errors guide for error code reference and troubleshooting steps.