TDS Test Certify

Evaluate TSP Executed Testcases & Certify Results

A structured, hands‑on enablement for new TSP (TDS Service Provider) deductors to practice the CPC TDS API workflow in a sandbox, reduce errors, and build confidence for production.

Purpose

Bridge the gap between theoretical understanding and real‑world API execution—ensuring new deductors can use the TDS APIs effectively, not just know about them.

Key Objectives

  • Understand the TDS API
  • Master request payload creation
  • Execute APIs in the sandbox
  • Build confidence for production operations

Benefits

  • Skill Development: build valid payloads, call APIs, and interpret results
  • Error Reduction: practice in sandbox to avoid production errors
  • Improved Productivity: automate filing tasks
  • Smooth Onboarding: step‑by‑step guidance
  • Confidence & Readiness: realistic testing prepares you for production

24Q Test Case Suite (Sandbox)

Execute the scenarios below in sandbox. Important: include the header x-test-case with the respective Test Case ID while calling the API.
Sample Request for TC_24Q_Retrieve_Header testcase.

curl --location 'http://test-api.tdscpc.gov.in/ext/forms/24Q/v1.0/2025/1/header' \
  --header 'x-test-case: TC_24Q_Retrieve_Header' \
  --header 'Authorization: Bearer 		yJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJ6UW1UYVpOSUs3elhKdkpweE9fak' \
  --data ''

24Q Test Case Suite
Test Case ID Test Case Name Type
TC_24Q_Create_HeaderCreate Form 24Q with HeaderPositive
TC_24Q_Create_ChallanCreate Form 24Q with 5 Challans in a single loadPositive
TC_24Q_Create_DeductorCreate Form 24Q with Deductor rowsPositive
TC_24Q_Create_HeaderUpdate Form 24Q HeaderPositive
TC_24Q_Create_ChallanUpdate Form 24Q ChallansPositive
TC_24Q_Update_DeductorUpdate Form 24Q Deductor rowsPositive
TC_24Q_Retrieve_HeaderRetrieve Form 24Q HeaderPositive
TC_24Q_Retrieve_ChallanRetrieve Form 24Q ChallansPositive
TC_24Q_Retrieve_DeductorRetrieve Form 24Q Deductor rowsPositive
TC_24Q_Execute_ValidateExecute Validate APIPositive
TC_24Q_Retrieve_ErrorFileRetrieving Error FilesPositive
TC_24Q_Statement_StatusCheck Validation StatusPositive
TC_24Q_Schema_ValidationSchema ValidationNegative
TC_24Q_Business_ValidationBusiness ValidationNegative
26Q Test Case Suite
Test Case ID Test Case Name Type
TC_26Q_Create_HeaderCreate Form 26Q with HeaderPositive
TC_26Q_Create_ChallanCreate Form 26Q with 5 Challans in a single loadPositive
TC_26Q_Create_DeductorCreate Form 26Q with Deductor rowsPositive
TC_26Q_Create_HeaderUpdate Form 26Q HeaderPositive
TC_26Q_Create_ChallanUpdate Form 26Q ChallansPositive
TC_26Q_Update_DeductorUpdate Form 26Q Deductor rowsPositive
TC_26Q_Retrieve_HeaderRetrieve Form 26Q HeaderPositive
TC_26Q_Retrieve_ChallanRetrieve Form 26Q ChallansPositive
TC_26Q_Retrieve_DeductorRetrieve Form 26Q Deductor rowsPositive
TC_26Q_Execute_ValidateExecute Validate APIPositive
TC_26Q_Retrieve_ErrorFileRetrieving Error FilesPositive
TC_26Q_Statement_StatusCheck Validation StatusPositive
TC_26Q_Schema_ValidationSchema ValidationNegative
TC_26Q_Business_ValidationBusiness ValidationNegative
27Q Test Case Suite
Test Case ID Test Case Name Type
TC_27Q_Create_HeaderCreate Form 27Q with HeaderPositive
TC_27Q_Create_ChallanCreate Form 27Q with 5 Challans in a single loadPositive
TC_27Q_Create_DeductorCreate Form 27Q with Deductor rowsPositive
TC_27Q_Create_HeaderUpdate Form 27Q HeaderPositive
TC_27Q_Create_ChallanUpdate Form 27Q ChallansPositive
TC_27Q_Update_DeductorUpdate Form 27Q Deductor rowsPositive
TC_27Q_Retrieve_HeaderRetrieve Form 27Q HeaderPositive
TC_27Q_Retrieve_ChallanRetrieve Form 27Q ChallansPositive
TC_27Q_Retrieve_DeductorRetrieve Form 27Q Deductor rowsPositive
TC_27Q_Execute_ValidateExecute Validate APIPositive
TC_27Q_Retrieve_ErrorFileRetrieving Error FilesPositive
TC_27Q_Statement_StatusCheck Validation StatusPositive
TC_27Q_Schema_ValidationSchema ValidationNegative
TC_27Q_Business_ValidationBusiness ValidationNegative
27EQ Test Case Suite
Test Case ID Test Case Name Type
TC_27EQ_Create_HeaderCreate Form 27EQ with HeaderPositive
TC_27EQ_Create_ChallanCreate Form 27EQ with 5 Challans in a single loadPositive
TC_27EQ_Create_DeductorCreate Form 27EQ with Deductor rowsPositive
TC_27EQ_Create_HeaderUpdate Form 27EQ HeaderPositive
TC_27EQ_Create_ChallanUpdate Form 27EQ ChallansPositive
TC_27EQ_Update_DeductorUpdate Form 27EQ Deductor rowsPositive
TC_27EQ_Retrieve_HeaderRetrieve Form 27EQ HeaderPositive
TC_27EQ_Retrieve_ChallanRetrieve Form 27EQ ChallansPositive
TC_27EQ_Retrieve_DeductorRetrieve Form 27EQ Deductor rowsPositive
TC_27EQ_Execute_ValidateExecute Validate APIPositive
TC_27EQ_Retrieve_ErrorFileRetrieving Error FilesPositive
TC_27EQ_Statement_StatusCheck Validation StatusPositive
TC_27EQ_Schema_ValidationSchema ValidationNegative
TC_27EQ_Business_ValidationBusiness ValidationNegative

Evaluate & Certify Results

After you execute all test cases, call /tspdata/api/certifyResult. The service evaluates the executed calls for your clientId within the provided time window, based on HTTP status codes, and returns the test results in JSON.

For execute the API, you login to the developer portal and go the API document page and then select the TDS-Data-Master from the drop down. Here you can see the Certify Results API.

CertifyPortal

CertifyRequest

curl -X POST 'http://test-api.tdscpc.gov.in/tspdata/api/certifyResult' \
  -H 'accept: application/json' \
  -H 'Content-Type: application/json' \
  -d '{
    "clientId": "5aa58413",
    "startTime": "2026-02-01T18:30:00.000Z",
    "endTime":   "2026-02-09T18:29:59.000Z"
  }'

Execution Checklist

  1. For each scenario above, prepare the payload and call the corresponding endpoint in the Sandbox.
  2. Include the header x-test-case: <TestCaseID> for every request—this is mandatory for evaluation.
  3. After completing all runs within the agreed window, invoke Certify Results for your clientId and the date‑time range you executed.
  4. Review the JSON response to confirm pass/fail status per case (evaluation is based on HTTP status codes).
CertifyResponse