SalesTaxOptions
Defined in: salestax.ts:54
Options for calculateSalesTax: a rate, or a province/kind to look one up.
Properties
Section titled “Properties”| Property | Type | Description |
|---|---|---|
rate? |
number |
Percent, 0 to 100, at most 2 decimals. Takes precedence over province. |
province? |
string |
- |
kind? |
SalesTaxKind |
Defaults to services when a province is given. |
date? |
string | Date |
- |
inclusive? |
boolean |
true if amount already includes the tax. |