---
title: "Create a tax exemption"
method: POST
path: "/tax_exemptions"
tags: ["Tax Exemptions"]
---

# Create a tax exemption

`POST /tax_exemptions`

Creates a tax exemption.

## Headers

- `idempotency-key` string, uuid, required

## Request body

- object
  - `user_ids` string[], required — Ids of the users for whom the tax exemption is to be created.
  - `tax_exemption_details` object, required
    - `tax_exemption_type` 'SINGLE' | 'MARRIED' — Tax exemption type * SINGLE - Tax exemption for Individual. * MARRIED - Tax exemption for married couples.
    - `tax_exemption_amount` object, required
      - `amount` string, required
      - `currency` 'EUR' | 'GBP', required — Alphabetic three-letter [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) currency code. * EUR - Euro * GBP - Pound Sterling
  - `country` string, required — Country code. [ISO 3166 alpha-2 Codes](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2).
  - `valid_to_date` string, date — Date until which the tax exemption is valid. If it is unlimited, it is omitted. For Germany it is always the last day of the year (YYYY-12-31). [RFC 3339, section 5.6](https://json-schema.org/draft/2020-12/json-schema-validation.html#RFC3339)

## Response `202`

Creation request accepted.

- object
  - `id` string, uuid — Tax Exemption Unique Identifier

## Other responses

- `400` — Bad Request. The incoming request had a malformed parameter/object.
- `401` — Unauthorized. The caller has not been authenticated.
- `403` — Forbidden. The caller has been authenticated but is not allowed to take the requested action.
- `404` — Not Found. The requested resource could not be found.
- `406` — Not Acceptable. The resource does not have a current representation that would be acceptable to the user agent. "Accept" header defined unsupported value.
- `429` — Too Many Requests. The caller has exceeded their quota for the time period and has been throttled.
- `500` — Internal Server Error. The service encountered an unexpected error.
- `503` — Service Unavailable. The service handling for this request cannot be reached at this time.
- `504` — Gateway Timeout. The service gateway has reached its internal timeout.

---

[API](https://skmtc.net/upvest/apis/upvest-investment-api.md) · [All operations](https://skmtc.net/upvest/apis/upvest-investment-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/upvest/upvest-investment-api/revisions/eb94c0091916/schema)
