---
title: "Update Tax"
method: PUT
path: "/admin/taxes/{tax_id}"
tags: ["provider", "admin"]
---

# Update Tax

`PUT /admin/taxes/{tax_id}`

## Request

- Base URL: `https://docs.decodahealth.com` (the document declares no server; this is the origin it was published from)
- URL: `https://docs.decodahealth.com/admin/taxes/{tax_id}`
- Auth: none declared. Required headers: `TENANT`, `API-KEY`
- TypeScript: <https://skmtc.dev/decodahealth/apis/decoda-api/docs/admin/taxes/:tax_id/put.ts> (a function with typed inputs; its response is checked against the schema)

Update an existing tax.

## Path parameters

- `tax_id` string, required

## Headers

- `TENANT` string, required
- `API-KEY` string, required

## Request body

- TaxUpdate: Schema for updating an existing tax.
  - `name` string, nullable: Name of the tax
  - `percentage` number, nullable: Tax percentage (e.g., 8.25 for 8.25%)

## Response `200`

Successful Response

- TaxDetail: Detailed tax information.
  - `id` string, required: Unique identifier for the tax
  - `name` string, required: Name of the tax (e.g., 'Sales Tax', 'VAT')
  - `percentage` number, required: Tax percentage (e.g., 8.25 for 8.25%)
  - `location_id` string, required: Location this tax applies to

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/decodahealth/apis/decoda-api.md) - [All operations](https://skmtc.dev/decodahealth/apis/decoda-api/llms.txt) - [OpenAPI document](https://skmtc.dev/decodahealth/apis/decoda-api/revisions/4ab18c80f9e9?raw)
