---
title: "Replace vat rate"
method: PUT
path: "/v1/vat-rates"
tags: ["Settings"]
---

# Replace vat rate

`PUT /v1/vat-rates`

## Request

- Base URL: `https://api.officina.it`
- URL: `https://api.officina.it/v1/vat-rates`
- Auth: HTTP bearer

set with the given ordered codes.

## Request body

- object
  - `codes` string[], required: L'insieme completo delle aliquote attive. Le aliquote non elencate vengono disattivate.

## Response `200`

success

## Other responses

- `400`: Request body is unparseable or X-API-Version is missing.
- `401`: Missing, malformed, expired, or wrong-audience bearer token.
- `402`: The company has no active subscription, or its plan does not include API access. API access is included in the Business and Illimitato plans.
- `403`: The authenticated user lacks the required permission.
- `422`: A request field is missing or invalid (fast-fail).
- `500`: Unhandled server error. Detail is logged, not exposed.

---

[API](https://skmtc.dev/officina/apis/officina-it-api.md) · [All operations](https://skmtc.dev/officina/apis/officina-it-api/llms.txt) · [OpenAPI document](https://skmtc.dev/officina/apis/officina-it-api/revisions/7da3fccfe551?raw)
