Optional
Readonly
amountPercentage in the range of 0-1.
- If no `subRates` are specified, a value must be defined.
- If `subRates` are specified, this can be omitted or its value must be the sum of all `subRates` amounts.
Readonly
countryCountry for which the tax applies.
Optional
Readonly
includedfalse
, the related price is considered the net price and the provided amount
is applied to calculate the gross price.true
, the related price is considered the gross price, and the provided amount
is applied to calculate the net price.Readonly
nameName of the Tax Rate.
Optional
Readonly
stateState within the specified country.
Optional
Readonly
subFor countries (such as the US) where the total tax is a combination of multiple taxes (such as state and local taxes). The total of all subrates must equal the TaxRate amount
.
Controls calculation of taxed prices for Line Items, Custom Line Items, and Shipping Methods as explained in Cart tax calculation.