Readonly
amountReadonly
countryCountry in which the tax rate is applied in ISO 3166-1 alpha-2 format.
Optional
Readonly
idPresent if the TaxRate is part of a TaxCategory. Absent for external TaxRates in LineItem, CustomLineItem, and ShippingInfo.
Readonly
includedIf true
, tax is included in Embedded Prices or Standalone Prices, and the taxedPrice
is present on LineItems. In this case, the totalNet
price on TaxedPrice includes the TaxRate.
Optional
Readonly
keyUser-defined unique identifier of the TaxRate. Present when set using TaxRateDraft. Not available for external TaxRates created using ExternalTaxRateDraft.
Readonly
nameName of the TaxRate.
Optional
Readonly
stateState within the country, such as Texas in the United States.
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.
Tax rate. If subrates are used, the amount is the sum of all rates in
subRates
.