Accounting API
Taxes

Tax Object

Attributes

id string A unique identifier for the tax rate.



object string The value is always tax.



label string The label of the tax rate.



type string The possible values are product_tax and shipping_tax.



applies_to string The possible values are all_products, selected_products, all_shippings and selected_shippings.



rate decimal The tax rate percentage.



amount decimal The fixed tax amount.



country string (Country code) The country where this tax rate applies to. Available for tax rates with type product_tax.



postcodes array of strings An array of postcodes to use for filtering. When customers attempt to make an order, the tax rate will apply if their postcode matches (full or partial) any of the values in the array.



states array of strings An array of states to use for filtering. When customers attempt to make an order, the tax rate will apply if their state matches any of the values in the array.



active boolean This attribute shows whether the tax rate is currently enabled.



payments array of strings payment codes The payment whitelist for the tax rate.