Prerequisites
API key from Dashboard
Get your API key from the Cadana Dashboard. See Authentication for details.
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: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
| Operation | Endpoint |
|---|---|
| Get | GET /v1/persons/{id} |
| Update basic info | PUT /v1/persons/{id}/basicInfo |
| Update personal info | PUT /v1/persons/{id}/personalInfo |
| Update job info | PUT /v1/persons/{id}/jobInfo |
| Update tax profile | PUT /v1/persons/{id}/taxProfile |
Calculate Taxes
Calculate taxes for a person. Pass thepersonId and the salary for the period.
Response:
Response fields
| Field | Description |
|---|---|
grossAmount | Input salary for the period |
netAmount | Take-home pay after all deductions |
deductions | Employee deductions (social security, income tax, etc.) |
employerContributions | Employer-side costs not deducted from the employee’s pay |
summary | Step-by-step calculation breakdown showing formulas, brackets, and rates for each line item |
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.
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