Clienvy API documentation

List tax rates

GET
https://api.clienvy.io/employee/v1
/tax-rates

Returns all tax rates.

List tax rates › query Parameters

search
​string

Filter tax rates by name.

List tax rates › Headers

X-Organization-Id
​string · uuid · required

UUID of the organization (tenant) the request operates on.

List tax rates › Responses

Array of TaxRateResource

id
​string · uuid
name
​string
percentage
​number
type
​string | null

Create a tax rate

POST
https://api.clienvy.io/employee/v1
/tax-rates

Creates a new tax rate. The percentage is fixed at creation and cannot be changed afterwards.

Create a tax rate › Headers

X-Organization-Id
​string · uuid · required

UUID of the organization (tenant) the request operates on.

Create a tax rate › Request Body

name
​string · maxLength: 32 · required
percentage
​number · required

Tax percentage, 0–100.

Create a tax rate › Responses

TaxRateResource

id
​string · uuid
name
​string
percentage
​number
type
​string | null

Get a tax rate

GET
https://api.clienvy.io/employee/v1
/tax-rates/{taxRate}

Returns a single tax rate by ID.

Get a tax rate › path Parameters

taxRate
​string · uuid · required

The tax rate UUID

Get a tax rate › Headers

X-Organization-Id
​string · uuid · required

UUID of the organization (tenant) the request operates on.

Get a tax rate › Responses

TaxRateResource

id
​string · uuid
name
​string
percentage
​number
type
​string | null

Update a tax rate

PUT
https://api.clienvy.io/employee/v1
/tax-rates/{taxRate}

Updates a tax rate's name. The percentage cannot be changed.

Update a tax rate › path Parameters

taxRate
​string · uuid · required

The tax rate UUID

Update a tax rate › Headers

X-Organization-Id
​string · uuid · required

UUID of the organization (tenant) the request operates on.

Update a tax rate › Request Body

name
​string · maxLength: 32 · required

Update a tax rate › Responses

TaxRateResource

id
​string · uuid
name
​string
percentage
​number
type
​string | null

Delete a tax rate

DELETE
https://api.clienvy.io/employee/v1
/tax-rates/{taxRate}

Deletes a tax rate. A tax rate that is still in use cannot be deleted.

Delete a tax rate › path Parameters

taxRate
​string · uuid · required

The tax rate UUID

Delete a tax rate › Headers

X-Organization-Id
​string · uuid · required

UUID of the organization (tenant) the request operates on.

Delete a tax rate › Responses

TaxRateResource

id
​string · uuid
name
​string
percentage
​number
type
​string | null