# Deleting a tax exemption order

## Prerequisites

- **Authentication scopes** — `taxes:admin`
For more information, refer to [Authentication scopes](/products/tol/concepts/api_concepts/authentication/authentication_oauth#list-of-authentication-scopes).
- **Webhook handler ready** — Set up a webhook endpoint to listen for deletion confirmations.
  - Subscribe to [`TAX_EXEMPTION.*`](/products/tol/guides/taxes/tax_exemptions_webhooks) events.
For more information, refer to [Implementing webhooks](/products/tol/getting_started/implementing_webhooks).


Upvest offers the option of deleting tax exemption orders.

A complete deletion of an existing tax exemption order is only possible if the user has not yet claimed a tax exemption in the current year. In the event that the user nevertheless wishes to cancel the tax exemption for this and all subsequent tax years - i.e. automatic renewal is no longer applicable - the **DELETE** operation can be executed.

If the tax exemption amounts have already been used in previous transactions, the associated tax exemption will remain active and the deletion request will fail.

A tax exemption can be deleted with the following request:

**DELETE** [`/tax_exemptions/{tax_exemption_id}`](/api/tax-exemptions/delete_tax_exemption)

| Path parameter | Description | Example value |
|  --- | --- | --- |
| `tax_exemption_id` | **Required**: The identifier for the tax exemption that is to be deleted. | `f1a57a04-1a89-4dab-ae3a-ff9b2a9377c1` |


If a tax exemption order has been successfully deleted, a corresponding webhook is triggered (see ['Webhooks'](/products/tol/guides/taxes/tax_exemptions_webhooks))