---
title: "Update a tax rate"
method: PATCH
path: "/tax-rates/{id}"
tags: ["Tax Rates"]
---

# Update a tax rate

`PATCH /tax-rates/{id}`

## Request

- Base URL: `https://www.ruddr.io/api/workspace`
- URL: `https://www.ruddr.io/api/workspace/tax-rates/{id}`
- Auth: HTTP bearer

## Path parameters

- `id` string, required

## Request body

- object
  - `name` string: The name of the tax rate. Max 255 characters.
  - `rate` number: The tax rate to be applied to invoices, expressed as a decimal between 0 and 1.
  - `isActive` boolean: Whether the tax rate is active.

## Response `200`

200

- TaxRate
  - `id` string: The unique identifier for the object.
  - `name` string: The name of the tax rate.
  - `isActive` boolean: Whether the tax rate is active.
  - `rate` number: The tax rate applied to invoices, expressed as a decimal between 0 and 1.
  - `createdAt` string, date-time: The timestamp when the object was created.

## Other responses

- `400`: 400
- `404`: 404
- `409`: 409

---

[API](https://skmtc.dev/ruddr/apis/ruddr-api.md) · [All operations](https://skmtc.dev/ruddr/apis/ruddr-api/llms.txt) · [OpenAPI document](https://skmtc.dev/ruddr/apis/ruddr-api/revisions/01c3f2a969ba?raw)
