Nova Scotia HST calculator
hst-calcAdds 14% NS HST to a subtotal, or splits a tax-included total. Confirm the rate with CRA. Returns { subtotalCents, hstCents, totalCents, rate }. Price: 1 credit (1 credit = 1 CAD cent) per successful call; input that does not match the schema is rejected before billing.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rate | No | HST rate as a fraction (0.14 is the Nova Scotia rate). | |
| included | No | amountCents already includes HST: split it instead of adding to it. | |
| amountCents | Yes | Pre-tax subtotal, or the tax-included total when included is true. Integer CAD cents. |