---
title: "Update a tax rate by id"
method: PATCH
path: "/v1/tax-rate/{id}"
tags: ["Tax Rate"]
---

# Update a tax rate by id

`PATCH /v1/tax-rate/{id}`

## Request

- Base URL: `https://api.finalpos.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.finalpos.com/v1/tax-rate/{id}`
- Auth: API key in header `x-api-key`

Updates an existing tax rate at `PUT /tax-rate/:id`.

## Path parameters

- `id` string, required

## Request body

- TaxRateUpdateDto
  - `name` string: Name of the tax rate.
  - `externalId` string: External provider id for the tax rate (e.g. the QuickBooks TaxRate Id). Integration correlation key.
  - `source` string: Origin of the tax rate — the integration provider that created it.

## Response `200`

The tax rate has been successfully updated.

- TaxRateResponseDto
  - `id` string: Unique identifier for the TaxRate.
  - `createdAt` string, date-time: Timestamp when the TaxRate was created.
  - `updatedAt` string, date-time: Timestamp when the TaxRate was last updated.
  - `companyId` string: Company ID associated with the TaxRate.
  - `name` string: Name of the tax rate.
  - `externalId` string: External provider id for the tax rate (e.g. the QuickBooks TaxRate Id). Integration correlation key.
  - `source` string: Origin of the tax rate — the integration provider that created it.

## Other responses

- `400`: Bad request. Returns validation errors or other request-related errors.
- `404`: The resource was not found.

---

[API](https://skmtc.dev/finalpos/apis/final-pos-public-api.md) · [All operations](https://skmtc.dev/finalpos/apis/final-pos-public-api/llms.txt) · [OpenAPI document](https://skmtc.dev/finalpos/apis/final-pos-public-api/revisions/6a6842dcb479?raw)
