---
title: "Update Tax"
method: PUT
path: "/orders/{id}/tax_lines/{tax_id}"
tags: ["Taxes"]
---

# Update Tax

`PUT /orders/{id}/tax_lines/{tax_id}`

Updates an existing tax line for an order. The tax line identified by `tax_id` belongs to the order identified by `id`. Only the fields provided in the request body are updated.

## Path parameters

- `id` string, required
- `tax_id` string, required

## Headers

- `Accept-Language` 'es' | 'en'
- `X-Child-Company-Id` string

## Request body

- UpdateOrderTaxRequest — Create a new tax line for an existing order.
  - `amount` integer — The amount to be collected for tax in cents
  - `description` string — Description or tax name
  - `metadata` object

## Response `200`

successful

## Other responses

- `401` — authentication error
- `404` — not found entity
- `422` — parameter validation error
- `500` — internal server error

---

[API](https://skmtc.dev/digitalfemsa/apis/femsa-api.md) · [All operations](https://skmtc.dev/digitalfemsa/apis/femsa-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/digitalfemsa/femsa-api/revisions/2e43caddf36b/schema)
