---
title: "Create Tax"
method: POST
path: "/orders/{id}/tax_lines"
tags: ["Taxes"]
---

# Create Tax

`POST /orders/{id}/tax_lines`

Creates a new tax line for an existing order. The tax line is added to the order identified by `id`. The response returns the created tax line.

## Path parameters

- `id` string, required

## Headers

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

## Request body

- OrderTaxRequest — create new taxes for an existing order
  - `amount` integer, required — The amount to be collected for tax in cents
  - `description` string, required — description or tax's 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)
