Canada GST/HST and PST rate and tax amount
indirect-tax_canada-gst-hst-pstLook up GST/HST (and PST where the CRA table lists one) for a province and date, and compute tax on an amount in cents before you charge or file indirect tax. Call with province, date, and amountCents; optional supply. Returns regime, gstOrHstRate, pstRate, gstOrHstCents, pstCents, totalCents, and effectiveFrom. HTTP 200 with status complete, partial, or failed is charged at the full listed price. HTTP 4xx/5xx are not charged. Keywords: before you charge or file indirect tax, province, date, amountCents, supply, regime, gstOrHstRate, pstRate, gstOrHstCents, pstCents, totalCents, effectiveFrom, Canada GST/HST and PST rate and tax amount, canada gst hst pst.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"province": "<province>",
"date": "<date>",
"amountCents": "<amountCents>"
},
"name": "indirect-tax_canada-gst-hst-pst"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | Yes | date, string, date. Required. | |
| supply | No | supply, string, one of taxable, zero_rated. Required. | taxable |
| province | Yes | province, string, one of AB, BC, MB, NB, NL, NT. Required. | |
| amountCents | Yes | amountCents, integer, from 0 to 9007199254740991. Required. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| regime | No | regime. String. | |
| pstRate | No | pstRate. Null. | |
| sources | No | sources. Array. | |
| pstCents | No | pstCents. Number. | |
| totalCents | No | totalCents. Number. | |
| limitations | No | limitations. Array. | |
| gstOrHstRate | No | gstOrHstRate. Number. | |
| effectiveFrom | No | effectiveFrom. String. | |
| gstOrHstCents | No | gstOrHstCents. Number. |