Prerequisites
1
API key from Dashboard
Get your API key from the Cadana Dashboard. See Authentication for details.
2
Active business on Cadana
Your business must be created and verified on the platform.
Check Location Support
Verify which countries and regions are supported. The response includes valid state/region codes needed when creating a person. Response:Get Required Tax Fields
Some countries require additional fields (marital status, number of dependents, etc.) for accurate calculations. Retrieve the required fields before creating a person. Response:Field properties
Each field is self-describing, so you can render an onboarding form dynamically instead of hard-coding one per country.Rendering forms from the schema
Alongsidedata, the response carries a full JSON Schema (draft 2020-12) under schema, and the schemaVersion it targets. data is enough for a flat form; schema describes the same fields and the relationships between them, so you can render conditional fields and validate a completed profile with any standard validator (e.g. Ajv for JavaScript or jsonschema for Python) — no per-country logic.
Some cross-field relationships have no standard keyword, so they are expressed as
x-cadana-* extensions. A standard validator ignores them; handle them yourself where you need the rule enforced:
For example, a country schema can gate one field on another and cap a subset against a total:
x-cadana-ui.visibleWhen to decide when to show hasReducedMobility, and let the schema be the source of truth for validation before you submit.
Create a Person
Create a person with their address, salary, and compensation details. The returnedid is used for all subsequent tax calculations.
Response:
Manage Persons
Calculate Taxes
Calculate taxes for a person. Pass thepersonId and the salary for the period.
Response:
Response fields
The
additionalAttributes field accepts country-specific values like year-to-date salary or pension contributions. These are calculation-time inputs — different from the tax profile fields set when creating a person. Use the tax fields endpoint to discover what’s available for each country. Numeric fields are expressed in major currency units — e.g. India’s hraReceived, rentPaid, and declared80c are whole rupees — unlike amount objects, which use the lowest denomination.
Next Steps
Employment Cost Calculator
Quick estimates without a person record — great for compensation planning
Tax API Reference
Full API documentation
Global Tax Engine
Product overview and capabilities
File Statutory Returns
After calculating taxes, file returns and remit to government authorities
Run Payroll
Pay your workers using the calculated tax amounts