Create a tax rate

Create a tax or VAT rate for use in [expense management](https://docs.monite.com/expense-management/index). You can attach the created tax rates to line items in receipts via the `accounting_tax_rate_id` field of line items. **Note:** These tax rates are different from [`/custom_vat_rates`](https://docs.monite.com/api/custom-vat-rates/post-custom-vat-rates) and [`/vat_rates`](https://docs.monite.com/api/vat-rates/get-vat-rates) which are used in [accounts receivable](https://docs.monite.com/accounts-receivable/index).

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Headers

x-monite-versionstringRequired
x-monite-entity-idstringRequired
The ID of the entity that owns the requested resource.

Request

This endpoint expects an object.
codestringOptional<=500 characters

A user-defined reference code by which the tax can be identified. This is similar to the codes used in accounting systems.

descriptionstringOptional<=2048 characters
An arbitrary description of the tax rate.
effective_tax_rateintegerOptional0-10000

The tax rate value as the percentage multiplied by 100. For example, 12.5% is represented as 1250.

namestringOptional<=500 characters
The display name of the tax rate.

Response

Successful Response
idstringformat: "uuid"

A unique Monite-generated ID assigned to this tax rate. You can use this ID as the value of the accounting_tax_rate_id field in line items of payables, receivables, and receipts.

created_atdatetime
UTC date and time when this tax rate was created in Monite. Timestamps follow the ISO 8601 format.
updated_atdatetime
UTC date and time when this tax rate was last updated in Monite.
codestring
The reference code of the tax rate.
componentslist of objects
An array of tax components.
descriptionstring
An arbitrary description of the tax rate.
effective_tax_rateinteger

The effective tax rate value as the percentage multiplied by 100. For example, 12.5% is represented as 1250.

For manually created tax rates (is_external=false), this is the tax rate value defined by the user.

For tax rates fetched from accounting systems (is_external=true), the effective tax rate is calculated based on the components.

  • In case of QuickBooks, effective_tax_rate is the same as total_tax_rate and is the sum of all tax components.
  • In case of Xero, the effective rate can be higher than the sum total. This happens in the compounded tax rate scenarios, where multiple taxes are applied in a sequence and later taxes are applied to amounts that already include earlier taxes.
is_externalbooleanDefaults to false

true if this tax rate was fetched from the connected accounting system, or false if it was created manually by the entity.

namestring
The display name of the tax rate.
statusstring
total_tax_rateinteger

Used only in tax rates fetched from accounting systems (is_external=true). Specifies the total (not compounded) tax rate value as the sum of all components. The value is the percentage multiplied by 100. For example, 12.5% is represented as 1250.

For QuickBoooks, total_tax_rate is the same as effective_tax_rate.

Errors

400
Post Accounting Tax Rates Request Bad Request Error
401
Post Accounting Tax Rates Request Unauthorized Error
403
Post Accounting Tax Rates Request Forbidden Error
422
Post Accounting Tax Rates Request Unprocessable Entity Error
429
Post Accounting Tax Rates Request Too Many Requests Error