TrueNorth API ยท Canada
Canadian payroll API
One call returns the full payroll calculation for a Canadian employee: every deduction, the take home pay, and your true cost as the employer, based on the CRA payroll formulas.
What it does
The calculator works from an annual salary or from a single pay cheque. For one pay period, send the gross amount for the period with the pay date and period number, and add year to date amounts for gross pay, CPP and EI. The year to date figures are what let contributions stop at the right pay: CPP and EI are calculated against their annual maximums, so an employee who has reached the maximum mid year stops being charged, exactly as a payroll run should handle it.
The answer separates federal and provincial income tax, CPP or QPP including the second tier, and EI or QPIP, then gives net pay, the employer's own contributions, and the total cost to employ. Figures cover 2025 and 2026.
Who needs it
- Payroll and HR software that calculates Canadian pay in product
- Bookkeepers running payroll for clients in more than one province
- Employers checking a pay figure before committing to it
- Developers replacing spreadsheet copies of the CRA formulas
Coverage
All provinces and territories, including Quebec, where QPP and QPIP replace CPP and EI and provincial tax runs on its own rules. One province parameter selects the full rule set for the employee's province of employment.
The endpoint
GET/payroll
Federal and provincial tax, CPP or QPP, and EI for an annual salary or a single pay cheque in any province, with net pay and the employer's total cost. Per period runs take year to date amounts, so CPP and EI stop at the yearly maximums.
Full documentation, with live examples, is on the endpoints page.
Pricing
This service costs one credit per successful answer. Errors are free, so a failed call never consumes a credit. Registration includes 1,000 free credits with no credit card needed, and credits never expire. One time credit packs are listed on the pricing page.
Registration includes 1,000 free credits, and they never expire.
Start free with 1,000 credits
TrueNorth API