Skip to main content
POST
/
tds
/
calculator
/
salary
/
sync
Calculate TDS on Salary Payments
curl --request POST \
  --url https://api.sandbox.co.in/tds/calculator/salary/sync \
  --header 'Authorization: <authorization>' \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <x-api-key>' \
  --data '
{
  "name": "<string>",
  "@entity": "<string>",
  "sheets": [
    {
      "name": "<string>",
      "@entity": "<string>",
      "blocks": [
        {
          "name": "<string>",
          "@entity": "<string>",
          "items": [
            [
              "<string>"
            ]
          ]
        }
      ]
    }
  ]
}
'
{
  "code": 200,
  "timestamp": 1685577600000,
  "transaction_id": "9430ede7-4316-407c-9f78-e9f0edb09933",
  "data": {
    "name": "tds_on_salary",
    "@entity": "workbook",
    "sheets": [
      {
        "name": "salary_details_new_regime_list",
        "@entity": "list",
        "items": [
          [
            "pan_status",
            "PANISVALID"
          ],
          [
            "employee_category",
            "general"
          ],
          [
            "gross_salary_from_previous_employers",
            0
          ],
          [
            "tds_by_previous_employers",
            0
          ],
          [
            "salary_as_per_provisions_contained_in_section_17_1",
            750000
          ],
          [
            "value_of_perquisites_us_17_2",
            0
          ],
          [
            "profits_in_lieu_of_salary_us_17_3",
            0
          ],
          [
            "travel_concession_or_assistance_us_10_5",
            0
          ],
          [
            "death_cum_retirement_gratuity_us_10_10",
            0
          ],
          [
            "commuted_value_of_pension_us_10_10_a",
            0
          ],
          [
            "cash_equivalent_of_leave_salary_encashment_us_10_10_aa",
            0
          ],
          [
            "house_rent_allowance_us_10_13_a",
            0
          ],
          [
            "other_special_allowances_under_section_10_14",
            0
          ],
          [
            "total_amount_of_any_other_exemption_us_10",
            0
          ],
          [
            "standard_deduction_us_16_ia",
            0
          ],
          [
            "entertainment_allowance_us_16_ii",
            0
          ],
          [
            "tax_on_employment_us_16_iii",
            0
          ],
          [
            "income_from_house_property_reported_by_employee_offered_for_tds",
            -200000
          ],
          [
            "income_under_the_head_other_sources_offered_for_tds",
            0
          ],
          [
            "gross_amount_us_80_c",
            0
          ],
          [
            "deductible_amount_us_80_c",
            0
          ],
          [
            "gross_amount_us_80_ccc",
            0
          ],
          [
            "deductible_amount_us_80_ccc",
            0
          ],
          [
            "gross_amount_us_80_ccd_1",
            0
          ],
          [
            "deductible_amount_us_80_ccd_1",
            0
          ],
          [
            "gross_amount_us_80_ccd_1_b",
            0
          ],
          [
            "deductible_amount_us_80_ccd_1_b",
            0
          ],
          [
            "gross_amount_us_80_ccd_2",
            0
          ],
          [
            "deductible_amount_us_80_ccd_2",
            0
          ],
          [
            "gross_amount_us_80_ccg",
            0
          ],
          [
            "deductible_amount_us_80_ccg",
            0
          ],
          [
            "gross_amount_us_80_cch",
            0
          ],
          [
            "deductible_amount_us_80_cch",
            0
          ],
          [
            "gross_amount_us_80_d",
            0
          ],
          [
            "deductible_amount_us_80_d",
            0
          ],
          [
            "gross_amount_us_80_e",
            0
          ],
          [
            "deductible_amount_us_80_e",
            0
          ],
          [
            "gross_amount_us_80_g",
            0
          ],
          [
            "deductible_amount_us_80_g",
            0
          ],
          [
            "qualifying_amount_us_80_g",
            0
          ],
          [
            "gross_amount_us_80_tta",
            0
          ],
          [
            "deductible_amount_us_80_tta",
            0
          ],
          [
            "qualifying_amount_us_80_tta",
            0
          ],
          [
            "gross_amount_for_other_deductions",
            0
          ],
          [
            "deductible_amount_for_other_deductions",
            0
          ],
          [
            "qualifying_amount_for_other_deductions",
            0
          ],
          [
            "income_tax_payable",
            0
          ],
          [
            "surcharge",
            0
          ],
          [
            "health_and_education_cess",
            0
          ],
          [
            "tds_on_salary",
            0
          ],
          [
            "relief_us_87_a",
            25000
          ]
        ]
      },
      {
        "name": "salary_details_old_regime_list",
        "@entity": "list",
        "items": [
          [
            "pan_status",
            "PANISVALID"
          ],
          [
            "employee_category",
            "general"
          ],
          [
            "gross_salary_from_previous_employers",
            0
          ],
          [
            "tds_by_previous_employers",
            0
          ],
          [
            "salary_as_per_provisions_contained_in_section_17_1",
            750000
          ],
          [
            "value_of_perquisites_us_17_2",
            0
          ],
          [
            "profits_in_lieu_of_salary_us_17_3",
            0
          ],
          [
            "travel_concession_or_assistance_us_10_5",
            0
          ],
          [
            "death_cum_retirement_gratuity_us_10_10",
            0
          ],
          [
            "commuted_value_of_pension_us_10_10_a",
            0
          ],
          [
            "cash_equivalent_of_leave_salary_encashment_us_10_10_aa",
            0
          ],
          [
            "house_rent_allowance_us_10_13_a",
            0
          ],
          [
            "other_special_allowances_under_section_10_14",
            0
          ],
          [
            "total_amount_of_any_other_exemption_us_10",
            0
          ],
          [
            "standard_deduction_us_16_ia",
            0
          ],
          [
            "entertainment_allowance_us_16_ii",
            0
          ],
          [
            "tax_on_employment_us_16_iii",
            0
          ],
          [
            "income_from_house_property_reported_by_employee_offered_for_tds",
            -200000
          ],
          [
            "income_under_the_head_other_sources_offered_for_tds",
            0
          ],
          [
            "gross_amount_us_80_c",
            0
          ],
          [
            "deductible_amount_us_80_c",
            0
          ],
          [
            "gross_amount_us_80_ccc",
            0
          ],
          [
            "deductible_amount_us_80_ccc",
            0
          ],
          [
            "gross_amount_us_80_ccd_1",
            0
          ],
          [
            "deductible_amount_us_80_ccd_1",
            0
          ],
          [
            "gross_amount_us_80_ccd_1_b",
            0
          ],
          [
            "deductible_amount_us_80_ccd_1_b",
            0
          ],
          [
            "gross_amount_us_80_ccd_2",
            0
          ],
          [
            "deductible_amount_us_80_ccd_2",
            0
          ],
          [
            "gross_amount_us_80_ccg",
            0
          ],
          [
            "deductible_amount_us_80_ccg",
            0
          ],
          [
            "gross_amount_us_80_cch",
            0
          ],
          [
            "deductible_amount_us_80_cch",
            0
          ],
          [
            "gross_amount_us_80_d",
            0
          ],
          [
            "deductible_amount_us_80_d",
            0
          ],
          [
            "gross_amount_us_80_e",
            0
          ],
          [
            "deductible_amount_us_80_e",
            0
          ],
          [
            "gross_amount_us_80_g",
            0
          ],
          [
            "deductible_amount_us_80_g",
            0
          ],
          [
            "qualifying_amount_us_80_g",
            0
          ],
          [
            "gross_amount_us_80_tta",
            0
          ],
          [
            "deductible_amount_us_80_tta",
            0
          ],
          [
            "qualifying_amount_us_80_tta",
            0
          ],
          [
            "gross_amount_for_other_deductions",
            0
          ],
          [
            "deductible_amount_for_other_deductions",
            0
          ],
          [
            "qualifying_amount_for_other_deductions",
            0
          ],
          [
            "income_tax_payable",
            0
          ],
          [
            "surcharge",
            0
          ],
          [
            "health_and_education_cess",
            0
          ],
          [
            "tds_on_salary",
            0
          ],
          [
            "relief_us_87_a",
            12500
          ]
        ]
      }
    ]
  }
}

Headers

Authorization
string
required

JWT access token

x-api-key
string
required

API key for identification

x-api-version
string

Query Parameters

financial_year
string
required

Body

application/json
name
string
@entity
string
sheets
object[]

Response

200 - OK

code
integer
timestamp
integer
transaction_id
string
data
object