Optional ReadonlyamountPercentage 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.
ReadonlycountryCountry for which the tax applies.
Optional Readonlyincludedfalse, 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.ReadonlynameName of the Tax Rate.
Optional ReadonlystateState within the specified country.
Optional ReadonlysubUsed 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.