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.
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.
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
Imputed-income line items (e.g. benefits-in-kind) surfaced by the country engine. Omitted when none apply.