Update a custom VAT rate

Authentication

AuthorizationBearer

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

Path parameters

custom_vat_rate_idstringRequired

Headers

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

Request

This endpoint expects an object.
componentslist of objectsOptional

Sub-taxes included in the Custom VAT.

namestringOptional<=64 characters
Display name of the Custom VAT.

Response

Successful Response
idstringformat: "uuid"
created_atdatetime
Time at which the Custom VAT rate was created. Timestamps follow the ISO 8601 standard.
updated_atdatetime
Time at which the Custom VAT rate was last updated. Timestamps follow the ISO 8601 standard.
componentslist of objects

Sub-taxes included in the Custom VAT.

namestring<=64 characters
Display name of the Custom VAT.
valuedouble

Total sum of the Custom VAT rate including components. Percent multiplied by a 100. Example: 12.125% is 1212.5.

created_by_entity_user_idstringformat: "uuid"
ID of the user that created the Custom VAT rate

Errors

400
Patch Custom Vat Rates ID Request Bad Request Error
401
Patch Custom Vat Rates ID Request Unauthorized Error
403
Patch Custom Vat Rates ID Request Forbidden Error
404
Patch Custom Vat Rates ID Request Not Found Error
422
Patch Custom Vat Rates ID Request Unprocessable Entity Error
429
Patch Custom Vat Rates ID Request Too Many Requests Error