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
subUsed when the total tax is a combination of multiple taxes (for example, local, state/provincial, and/or federal taxes). The total of all subrates must equal the TaxRate amount
.
These subrates are used to calculate the taxPortions
field of a Cart or Order and the taxedPrice
field of LineItems, CustomLineItems, and ShippingInfos.
Controls calculation of taxed prices for Line Items, Custom Line Items, and Shipping Methods as explained in Cart tax calculation.