{
"country": "CA",
"province": "QC",
"province_name": "Quebec",
"province_name_fr": "Québec",
"date": "2026-11-10",
"net": "100.00",
"total_tax": "14.98",
"gross": "114.98",
"total_rate_pct": "14.975",
"components": [
{
"tax": "GST",
"name_fr": "TPS",
"rate_pct": "5",
"amount": "5.00",
"effective_from": "2013-04-01",
"effective_to": null,
"source_url": "https://www.canada.ca/en/revenue-agency/services/tax/businesses/topics/gst-hst-businesses/charge-collect-which-rate/calculator.html",
"source_urls": [
"https://www.canada.ca/en/revenue-agency/services/tax/businesses/topics/gst-hst-businesses/charge-collect-which-rate/calculator.html"
]
},
{
"tax": "QST",
"name_fr": "TVQ",
"rate_pct": "9.975",
"amount": "9.98",
"effective_from": "2013-04-01",
"effective_to": null,
"source_url": "https://www.revenuquebec.ca/fr/entreprises/taxes/tpstvh-et-tvq/perception-de-la-tps-et-de-la-tvq/calcul-des-taxes/",
"source_urls": [
"https://www.revenuquebec.ca/fr/entreprises/taxes/tpstvh-et-tvq/perception-de-la-tps-et-de-la-tvq/calcul-des-taxes/",
"https://www.finances.gouv.qc.ca/documents/Communiques/en/COMEN_20110930-sheets.pdf"
]
}
],
"warnings": [],
"table_version": "2026-11-02",
"disclaimer": "Rate lookup and arithmetic only, not tax advice. You choose the province or IVA code; verify with the CRA, Revenu Québec, your province or Hacienda.",
"docs": "https://steadyscrape.dev/tax-api"
}
curl --location --request GET 'https://zylalabs.com/api/14817/canada+sales+tax+qst+calculator+api/38406/tax+from+a+net+amount?country=CA&province=QC&amount=100.00' --header 'Authorization: Bearer YOUR_API_KEY'
{
"country": "CA",
"province": "QC",
"province_name": "Quebec",
"province_name_fr": "Québec",
"date": "2026-11-10",
"net": "62.49",
"total_tax": "9.37",
"gross": "71.86",
"total_rate_pct": "14.975",
"components": [
{
"tax": "GST",
"name_fr": "TPS",
"rate_pct": "5",
"amount": "3.13",
"effective_from": "2013-04-01",
"effective_to": null,
"source_url": "https://www.canada.ca/en/revenue-agency/services/tax/businesses/topics/gst-hst-businesses/charge-collect-which-rate/calculator.html",
"source_urls": [
"https://www.canada.ca/en/revenue-agency/services/tax/businesses/topics/gst-hst-businesses/charge-collect-which-rate/calculator.html"
]
},
{
"tax": "QST",
"name_fr": "TVQ",
"rate_pct": "9.975",
"amount": "6.24",
"effective_from": "2013-04-01",
"effective_to": null,
"source_url": "https://www.revenuquebec.ca/fr/entreprises/taxes/tpstvh-et-tvq/perception-de-la-tps-et-de-la-tvq/calcul-des-taxes/",
"source_urls": [
"https://www.revenuquebec.ca/fr/entreprises/taxes/tpstvh-et-tvq/perception-de-la-tps-et-de-la-tvq/calcul-des-taxes/",
"https://www.finances.gouv.qc.ca/documents/Communiques/en/COMEN_20110930-sheets.pdf"
]
}
],
"warnings": [],
"rounding": "per_line",
"lines": [
{
"line": 1,
"description": "Plan",
"net": "49.99",
"total_tax": "7.49",
"gross": "57.48",
"components": [
{
"tax": "GST",
"amount": "2.50"
},
{
"tax": "QST",
"amount": "4.99"
}
]
},
{
"line": 2,
"net": "12.50",
"total_tax": "1.88",
"gross": "14.38",
"components": [
{
"tax": "GST",
"amount": "0.63"
},
{
"tax": "QST",
"amount": "1.25"
}
]
}
],
"table_version": "2026-11-02",
"disclaimer": "Rate lookup and arithmetic only, not tax advice. You choose the province or IVA code; verify with the CRA, Revenu Québec, your province or Hacienda.",
"docs": "https://steadyscrape.dev/tax-api"
}
curl --location --request POST 'https://zylalabs.com/api/14817/canada+sales+tax+qst+calculator+api/38407/tax+from+a+net+amount+or+invoice+lines' --header 'Authorization: Bearer YOUR_API_KEY'
--data-raw '{"province":"QC","lines":[{"amount":49.99,"description":"Plan"},{"amount":12.5}]}'
{
"country": "CA",
"province": "QC",
"province_name": "Quebec",
"province_name_fr": "Québec",
"date": "2026-11-10",
"net": "86.97",
"total_tax": "13.03",
"gross": "100.00",
"total_rate_pct": "14.975",
"rounding_difference": "0.00",
"components": [
{
"tax": "GST",
"name_fr": "TPS",
"rate_pct": "5",
"amount": "4.35",
"effective_from": "2013-04-01",
"effective_to": null,
"source_url": "https://www.canada.ca/en/revenue-agency/services/tax/businesses/topics/gst-hst-businesses/charge-collect-which-rate/calculator.html",
"source_urls": [
"https://www.canada.ca/en/revenue-agency/services/tax/businesses/topics/gst-hst-businesses/charge-collect-which-rate/calculator.html"
]
},
{
"tax": "QST",
"name_fr": "TVQ",
"rate_pct": "9.975",
"amount": "8.68",
"effective_from": "2013-04-01",
"effective_to": null,
"source_url": "https://www.revenuquebec.ca/fr/entreprises/taxes/tpstvh-et-tvq/perception-de-la-tps-et-de-la-tvq/calcul-des-taxes/",
"source_urls": [
"https://www.revenuquebec.ca/fr/entreprises/taxes/tpstvh-et-tvq/perception-de-la-tps-et-de-la-tvq/calcul-des-taxes/",
"https://www.finances.gouv.qc.ca/documents/Communiques/en/COMEN_20110930-sheets.pdf"
]
}
],
"warnings": [],
"table_version": "2026-11-02",
"disclaimer": "Rate lookup and arithmetic only, not tax advice. You choose the province or IVA code; verify with the CRA, Revenu Québec, your province or Hacienda.",
"docs": "https://steadyscrape.dev/tax-api"
}
curl --location --request GET 'https://zylalabs.com/api/14817/canada+sales+tax+qst+calculator+api/38408/net+and+tax+from+a+tax-included+total?country=CA&province=QC&gross=100.00' --header 'Authorization: Bearer YOUR_API_KEY'
{
"country": "CA",
"province": "QC",
"province_name": "Quebec",
"province_name_fr": "Québec",
"date": "2026-11-10",
"net": "100.00",
"total_tax": "14.98",
"gross": "114.98",
"total_rate_pct": "14.975",
"rounding_difference": "0.00",
"components": [
{
"tax": "GST",
"name_fr": "TPS",
"rate_pct": "5",
"amount": "5.00",
"effective_from": "2013-04-01",
"effective_to": null,
"source_url": "https://www.canada.ca/en/revenue-agency/services/tax/businesses/topics/gst-hst-businesses/charge-collect-which-rate/calculator.html",
"source_urls": [
"https://www.canada.ca/en/revenue-agency/services/tax/businesses/topics/gst-hst-businesses/charge-collect-which-rate/calculator.html"
]
},
{
"tax": "QST",
"name_fr": "TVQ",
"rate_pct": "9.975",
"amount": "9.98",
"effective_from": "2013-04-01",
"effective_to": null,
"source_url": "https://www.revenuquebec.ca/fr/entreprises/taxes/tpstvh-et-tvq/perception-de-la-tps-et-de-la-tvq/calcul-des-taxes/",
"source_urls": [
"https://www.revenuquebec.ca/fr/entreprises/taxes/tpstvh-et-tvq/perception-de-la-tps-et-de-la-tvq/calcul-des-taxes/",
"https://www.finances.gouv.qc.ca/documents/Communiques/en/COMEN_20110930-sheets.pdf"
]
}
],
"warnings": [],
"table_version": "2026-11-02",
"disclaimer": "Rate lookup and arithmetic only, not tax advice. You choose the province or IVA code; verify with the CRA, Revenu Québec, your province or Hacienda.",
"docs": "https://steadyscrape.dev/tax-api"
}
curl --location --request POST 'https://zylalabs.com/api/14817/canada+sales+tax+qst+calculator+api/38409/net+and+tax+from+a+tax-included+total' --header 'Authorization: Bearer YOUR_API_KEY'
--data-raw '{"province":"QC","gross":114.98}'
{
"country": "CA",
"province": "QC",
"province_name": "Quebec",
"province_name_fr": "Québec",
"date": "2026-11-10",
"total_rate_pct": "14.975",
"components": [
{
"tax": "GST",
"name_fr": "TPS",
"rate_pct": "5",
"effective_from": "2013-04-01",
"effective_to": null,
"source_url": "https://www.canada.ca/en/revenue-agency/services/tax/businesses/topics/gst-hst-businesses/charge-collect-which-rate/calculator.html",
"source_urls": [
"https://www.canada.ca/en/revenue-agency/services/tax/businesses/topics/gst-hst-businesses/charge-collect-which-rate/calculator.html"
]
},
{
"tax": "QST",
"name_fr": "TVQ",
"rate_pct": "9.975",
"effective_from": "2013-04-01",
"effective_to": null,
"source_url": "https://www.revenuquebec.ca/fr/entreprises/taxes/tpstvh-et-tvq/perception-de-la-tps-et-de-la-tvq/calcul-des-taxes/",
"source_urls": [
"https://www.revenuquebec.ca/fr/entreprises/taxes/tpstvh-et-tvq/perception-de-la-tps-et-de-la-tvq/calcul-des-taxes/",
"https://www.finances.gouv.qc.ca/documents/Communiques/en/COMEN_20110930-sheets.pdf"
]
}
],
"warnings": [],
"table_version": "2026-11-02",
"disclaimer": "Rate lookup and arithmetic only, not tax advice. You choose the province or IVA code; verify with the CRA, Revenu Québec, your province or Hacienda.",
"docs": "https://steadyscrape.dev/tax-api"
}
curl --location --request GET 'https://zylalabs.com/api/14817/canada+sales+tax+qst+calculator+api/38410/rates+in+force+on+a+date+with+sources?country=CA&province=QC' --header 'Authorization: Bearer YOUR_API_KEY'
{
"ok": true,
"table_version": "2026-11-02",
"disclaimer": "Rate lookup and arithmetic only, not tax advice. You choose the province or IVA code; verify with the CRA, Revenu Québec, your province or Hacienda.",
"docs": "https://steadyscrape.dev/tax-api"
}
curl --location --request GET 'https://zylalabs.com/api/14817/canada+sales+tax+qst+calculator+api/38411/health+and+rate-table+version' --header 'Authorization: Bearer YOUR_API_KEY'
注册后,每个开发者都会被分配一个个人 API 访问密钥,这是一个唯一的字母和数字组合,用于访问我们的 API 端点。要使用 加拿大销售税QST计算器 API 进行身份验证,只需在 Authorization 标头中包含您的 bearer token。
| 标头 | 描述 |
|---|---|
授权
|
必需
应为 Bearer access_key. 订阅后,请查看上方的"您的 API 访问密钥"。
|
自2013年以来所有13个加拿大省和地区的GST/HST/PST/QST税率,反向(净从毛收入计算)计算,发票行,以及哥斯达黎加的IVA代码
每个端点返回详细的税收计算,包括净额、总税额、毛额和GST/HST/PST/QST或哥斯达黎加IVA的税务组成细分数据。数据包括省级特定税率和生效日期
关键字段包括“国家”“省”“净额”“总税”“毛额”“总税率百分比”和“组成部分”,详细列出了各个税种、税率和金额。每个组件还包括生效日期和来源网址
参数包括省份(或IVA代码)和净金额或总金额。对于发票行,用户可以以JSON格式提交最多100行。每个端点都需要特定的参数以返回准确的税务计算
响应数据采用JSON格式结构,其中包含一个主要对象,包含总体税收信息,以及一个详细说明每种税类型的“组件”数组。这种组织结构便于解析和理解税收细目
数据来自加拿大官方政府网站,确保准确性和可靠性。每个税收组件都包含一个“source_url”,链接到相关官方文件以供验证
典型的用例包括计算发票的销售税、确定企业的税务责任以及验证税率以确保合规。用户还可以利用API进行基于生效日期的历史税率分析
用户可以通过提取“total_tax”用于财务报告,使用“components”进行详细的税务分解,并参考“source_urls”进行合规检查来利用返回的数据。这种结构化数据有助于准确的税务计算
数据准确性通过定期根据官方政府来源更新税率来维护。该API提供每个税率的生效日期,允许用户验证特定交易的税率适用性