# Tax Management

Taxes are accumulated in the token contract and are managed only during sell transactions (or adding liquidity) when the swap threshold is reached.

Creators can customize the following tax handling settings:

## **Swap Threshold (Required):**

Defined as a percentage of the total supply, this is the amount of collected taxes in the contract needed before the taxes are distributed.

## **Handling Amount:**

An optional feature available for tokens with native taxes. Represented as a percentage of the total supply, it specifies how much taxes should be handled during distribution. This is useful when the accumulated taxes in the contract far exceed the Swap Threshold, preventing large swaps when converting tokens into native tokens.

## **FAQs:**

* Why not manage taxes on every transaction?\
  \&#xNAN;*Handling taxes for each transaction increases gas fees and could be inefficient, as the amount of tax to distribute might be minimal due to the frequent handling.*


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.ape.express/token-creation/tokens/tax-token/tax-management.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
