> For the complete documentation index, see [llms.txt](https://docs.cnpj.ws/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.cnpj.ws/en/modelos-de-dados/regimes-tributarios.md).

# Tax Regimes

Starting in 2021, the RFB provides information on the tax regime of legal entities, disclosed annually.

The data is extracted from the Fiscal Accounting Bookkeeping (ECF). Rarely, when due to special situations or the existence of Partnerships in Participation (SCP), there is more than one bookkeeping submission in the year with different taxation forms or domicile in more than one city, there will be more than one record for the CNPJ.

Remember that legal entities opting for Simples Nacional, public agencies, autarchies, and public foundations are exempt from submitting the ECF. Inactive legal entities also do not need to send the ECF, provided they have not carried out any activity during the entire calendar year.

Below is the data model for tax regimes:

| Field                 | Type | Description        |
| --------------------- | :--: | ------------------ |
| ano                   |   S  | Year of Assessment |
| regime\_tributario    |   S  | Regime             |
| forma\_de\_tributacao |   S  | Form of Taxation   |

The Receita provides this data always in the year following the ECF submission.

{% hint style="warning" %}
**Attention** Information regarding tax regimes is only available in the Commercial API
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.cnpj.ws/en/modelos-de-dados/regimes-tributarios.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
