Tax rate objects allow you to apply different tax rates to items that can be invoiced.
You can retrieve individual tax rates as well as a list of all your tax rates.
Tax Rate
Property | Type | Required | Description |
---|---|---|---|
name | string | true | The name of the tax rate in hand. |
code | string | false | A unique code to identify the tax rate. |
type | string | false | The type of the tax rate. |
rate | number | true | The rate of the tax rate. It will be automatically calculated based on the percentage rate of the components. |
components | TaxRateComponent | true | A list of tax rate components. Each tax rate component needs to have a name and rate of its own. |
Tax Rate Component
Property | Type | Required | Description |
---|---|---|---|
name | string | false | The name of the tax rate component. |
rate | number | true | The rate of the tax rate component. |