Types > TaxDetail
Commerce APITypesTaxDetail
TaxDetail

Description

Fields

city_tax: Int!

Amount of city jurisdiction tax applied


city_tax_is_compound: Boolean!

Whether city tax rate is compound


city_tax_name: String!

City jurisdiction tax name from matching tax rule


city_tax_rate: Float!

City tax rate (in percents)


country: String!

The two-letter code for the country


country_tax: Int!

Amount of country jurisdiction tax applied


country_tax_name: String!

Country jurisdiction tax name from matching tax rule


country_tax_rate: Float!

Country tax rate (in percents)


county_tax: Int!

Amount of county jurisdiction tax applied


county_tax_is_compound: Boolean!

Whether county tax rate is compound


county_tax_name: String!

County jurisdiction tax name from matching tax rule


county_tax_rate: Float!

County tax rate (in percents)


name: String!

Name of the matching tax rule


province: String!

The two-letter code for the province or state


province_tax: Int!

Amount of province jurisdiction tax applied


province_tax_is_compound: Boolean!

Whether province tax rate is compound


province_tax_name: String!

Province jurisdiction tax name from matching tax rule


province_tax_rate: Float!

Province tax rate (in percents)


shipping_tax_class: String!

Shipping tax class used


shipping_tax_method: ShippingTaxMethod

Method that is used to calculate shipping tax


special_tax: Int!

Amount of special jurisdiction tax applied


special_tax_is_compound: Boolean!

Whether special tax rate is compound


special_tax_name: String!

Special jurisdiction tax name from matching tax rule


special_tax_rate: Float!

Special tax rate (in percents)


tax_rounding: Int!

Tax rounding error remainder


Used By

Types

OrderLineItemDetail, ShippingDetail

Preview (typescript)

interface TaxDetail {
city_tax: number
city_tax_is_compound: boolean
city_tax_name: string
city_tax_rate: number
country: string
country_tax: number
country_tax_name: string
country_tax_rate: number
county_tax: number
county_tax_is_compound: boolean
county_tax_name: string
county_tax_rate: number
name: string
province: string
province_tax: number
province_tax_is_compound: boolean
province_tax_name: string
province_tax_rate: number
shipping_tax_class: string
shipping_tax_method?: ShippingTaxMethod | null
special_tax: number
special_tax_is_compound: boolean
special_tax_name: string
special_tax_rate: number
tax_rounding: number
}