80-000-0000 for federal taxes — so there is no address lookup to do first and you can go straight to a calculation.
Our employee has just started a job in Vancouver, British Columbia and is receiving her first paycheck. She earns $65,000 a year paid biweekly, so gross wages are $2,500 for the period, on a pay date of January 13, 2026.
Two Canada-specific rules apply to every calculation on this page. Set
calcMethodSupplementalWages to None — Canada ignores it. And on the on-premise SDK, call the Canadian calculate function rather than the U.S. one. For the complete list, see Differences between Canadian and U.S. calculations.Authenticate
Hosted API requests need an API key. Staging and production use separate keys, and each works only in its matching environment.
Pass the key as the raw value of the
Authorization header — no Bearer prefix.
Send a payCalc request
This calculates four employee taxes and three employer taxes. The two claim amounts come from the employee’s tax forms: 16452 from federal Form TD1 and 13216 from Form TD1BC.
- Hosted API
- C
- Java
- .NET
Read the response
Each entry in the returnedtaxCalculation array is one tax. The field you withhold on is taxAmount.
That is $529.89 withheld from a $2,500.00 paycheck, leaving $1,970.11 net, plus $236.54 owed by the employer.
The response also contains
80-000-0000-CPP2-000 and 80-000-0000-ER_CPP2-000, the CPP second additional contribution, even though you did not request them. Both are $0 here because these wages fall below the first earnings ceiling. Expect them and handle them like any other tax.Next steps
Canadian payroll walkthrough
The same calculation in depth, with full code for every interface.
Canadian vs. U.S. calculations
Every difference to know before you go live.
Canadian location codes
The code for each province and territory.
Canadian bonus payments
Off-cycle and bonus runs, which follow different rules.

