Calculate Taxes
Calculate taxes for an existing Cadana person. The person’s address determines the jurisdiction, and their stored compensation and tax profile provide calculation inputs (overridden by salary when supplied).
Beyond the base salary, the request accepts the same per-entry earnings as a payroll entry — allowances, bonus, overtime, and voluntary deductions — and computes them identically to a payroll run.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Headers
Required when using a Platform API token. The tenant key identifying which business to operate on.
Body
ID of the Cadana person to calculate taxes for. The person's address determines the jurisdiction, and their stored compensation and tax profile provide calculation inputs.
Pin the calculation to a specific tax ruleset version, for example v2.1.0. Omit to use the current ruleset. An unknown, malformed or non-pinnable version is rejected with a 400 rather than silently falling back.
"v2.1.0"
Bonus amount for the period, included in gross and taxable income.
Overtime amount for the period.
Allowance line items (e.g. housing, meal stipends). Each carries a name, isTaxable, and amount. Pass isTaxable explicitly — when omitted it defaults to false, meaning the allowance counts toward gross pay but not taxable income.
Voluntary (non-statutory) deduction line items to apply. Items with isStatutory: true are ignored — statutory items like income tax and social security are computed by the engine.
The dates the salary covers. If omitted, this defaults to a full calendar month.
The pay period frequency. If omitted, this defaults to monthly.
monthly, semi-monthly, bi-weekly, weekly, daily Country-specific calculation inputs (e.g. ytdSalary, riskCategory). Use GET /v1/tax/fields?country={code} to discover what each jurisdiction accepts. Numeric fields are expressed in major currency units — e.g. India's hraReceived, rentPaid, declared80c, and annualBaseSalary are whole rupees — unlike amount objects, which use the lowest denomination.
Response
Calculate taxes response
ID of the person taxes were calculated for
The pinned ruleset version this result was computed against. Returned only when the request pinned a version.
"v2.1.0"
Imputed-income line items (e.g. benefits-in-kind) surfaced by the country engine. Omitted when none apply.