TrueNorth API ยท Canada
Canadian sales tax API
One call returns the exact sales tax for a sale in any Canadian province or territory, with GST, HST, PST and QST broken down and ready for a checkout total or an invoice.
What it does
Send a price, a destination province or territory, and a product category, and the answer comes back with each tax component separated: the federal GST or HST, and the provincial PST or QST where one applies. The calculation covers 41 product tax categories, including zero rated basic groceries and prescription drugs, provincial point of sale rebates, Quebec's non compounded QST, and the federal luxury tax on new vehicles over $100,000.
Canadian sales tax follows the place of supply. In most cases that is where the goods are delivered or where the service is received, not where the seller is located. Because each province and territory sets its own combination of taxes, the same product can carry a different total in different parts of the country. The API applies the destination's rules, so the rate tables and category exceptions are maintained on our side, not in your code.
Who needs it
- Ecommerce stores and custom checkouts selling into more than one province
- Marketplaces that calculate and collect tax on behalf of their sellers
- Invoicing and accounting software that needs the correct tax on every line
- Any team maintaining Canadian rate tables by hand today
Coverage
All 13 provinces and territories. GST applies in every province and territory. HST replaces it in Ontario and the Atlantic provinces, PST sits alongside it in British Columbia, Saskatchewan and Manitoba, and Quebec runs its own QST. Every combination is covered, for every one of the 41 product categories.
The endpoint
GET/calculate-tax
Exact GST, PST, HST and QST for any amount in any province, including BC's split tax and the federal luxury tax on new vehicles. Companion endpoints list the 41 tax categories and classify a product from a plain description.
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