curl --request POST \
--url https://api.sandbox.co.in/tcs/reports/txt \
--header 'Authorization: <authorization>' \
--header 'Content-Type: application/json' \
--header 'x-api-key: <x-api-key>' \
--data '
{
"@entity": "in.co.sandbox.tcs.reports.request",
"financial_year": "FY 2024-25",
"quarter": "Q1",
"tan": "AHMA09719B",
"previous_receipt_number": "123456789123456"
}
'{
"code": 200,
"timestamp": 1763362637000,
"transaction_id": "e2b9145f-69d5-4bbe-a6de-be6fc08b426f",
"data": {
"@entity": "in.co.sandbox.tcs.reports.job",
"job_id": "46d96540-e4e0-4188-81f5-959f4732490f",
"tan": "AHMA09719B",
"quarter": "Q3",
"financial_year": "FY 2023-24",
"previous_receipt_number": "123456789012345",
"status": "created",
"created_at": 1763102487000,
"json_url": "https://test-api.sandbox.co.in/tcs/reports/in-co-sandbox-tcs-reports-test/tan/financial_year/quarter/80716d9a-4aa0-4905-8ff1-0aca61042a0e.json"
}
}Create a job to generate the TXT file required to prepare your TCS return
curl --request POST \
--url https://api.sandbox.co.in/tcs/reports/txt \
--header 'Authorization: <authorization>' \
--header 'Content-Type: application/json' \
--header 'x-api-key: <x-api-key>' \
--data '
{
"@entity": "in.co.sandbox.tcs.reports.request",
"financial_year": "FY 2024-25",
"quarter": "Q1",
"tan": "AHMA09719B",
"previous_receipt_number": "123456789123456"
}
'{
"code": 200,
"timestamp": 1763362637000,
"transaction_id": "e2b9145f-69d5-4bbe-a6de-be6fc08b426f",
"data": {
"@entity": "in.co.sandbox.tcs.reports.job",
"job_id": "46d96540-e4e0-4188-81f5-959f4732490f",
"tan": "AHMA09719B",
"quarter": "Q3",
"financial_year": "FY 2023-24",
"previous_receipt_number": "123456789012345",
"status": "created",
"created_at": 1763102487000,
"json_url": "https://test-api.sandbox.co.in/tcs/reports/in-co-sandbox-tcs-reports-test/tan/financial_year/quarter/80716d9a-4aa0-4905-8ff1-0aca61042a0e.json"
}
}JWT access token
API key for identification
in.co.sandbox.tcs.reports.request Financial Year for which TCS is being filed
"FY 2024-25"
Quarter for which TCS is being filed
Q1, Q2, Q3, Q4 TAN of collectee. Regular Expression: [A-Z]{4}[0-9]{5}[A-Z]{1}
"AHMA09719B"
Receipt Number of previously filed TCS Return
"123456789123456"
Was this page helpful?