> For the complete documentation index, see [llms.txt](https://changelog.maino.com.br/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://changelog.maino.com.br/api-reference-maino/13.-classificacao-fiscal.md).

# 13. ⚖️ Classificação Fiscal

**Gestão de classificações fiscais** Controle de NCMs, CSTs e demais classificações tributárias. **Recursos disponíveis:**

* Cadastro de NCMs
* Configuração de CSTs
* Tabelas de alíquotas
* Simulação tributária

## Listar NCMs fiscais

> Lista todos os NCMs fiscais ativos com paginação

```json
{"openapi":"3.0.1","info":{"title":"Mainô API","version":"v2.0"},"tags":[{"name":"13. ⚖️ Classificação Fiscal","description":"**Gestão de classificações fiscais**\nControle de NCMs, CSTs e demais classificações tributárias.\n**Recursos disponíveis:**\n- Cadastro de NCMs\n- Configuração de CSTs\n- Tabelas de alíquotas\n- Simulação tributária"}],"servers":[{"url":"https://api.maino.com.br/api/v2","description":"Servidor de Produção"}],"security":[{"Bearer":[]}],"components":{"securitySchemes":{"Bearer":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"**Token JWT de Autenticação**\nToken obtido através do endpoint `/authentication`.\n**Formato:** `Bearer {seu_token_jwt}`\n**Exemplo:** `Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...`\n**Validade:** Sem expiração"}}},"paths":{"/fiscal/ncms":{"get":{"summary":"Listar NCMs fiscais","tags":["13. ⚖️ Classificação Fiscal"],"description":"Lista todos os NCMs fiscais ativos com paginação","operationId":"listFiscalNcms","parameters":[{"name":"page","in":"query","required":false,"description":"Número da página para paginação (padrão: 1)","schema":{"type":"integer"}},{"name":"codigo_ncm","in":"query","required":false,"description":"Filtro por código NCM","schema":{"type":"string"}},{"name":"data_atualizacao","in":"query","required":false,"description":"Filtro por data de atualização","schema":{"type":"string"}}],"responses":{"200":{"description":"Lista de NCMs","content":{"application/json":{"schema":{"type":"object","properties":{"ncms":{"type":"array","items":{"type":"object","properties":{"id":{"type":"integer"},"data_atualizacao":{"type":"string","format":"date-time","nullable":true},"inicio_vigencia":{"type":"string","format":"date-time","nullable":true},"fim_vigencia":{"type":"string","format":"date-time","nullable":true},"codigo":{"type":"string"},"descricao":{"type":"string"},"categoria":{"type":"string","nullable":true},"ii_importacao":{"type":"number","format":"float","nullable":true},"ipi_importacao":{"type":"number","format":"float","nullable":true},"cofins_importacao":{"type":"number","format":"float","nullable":true},"gatt_importacao":{"type":"number","format":"float","nullable":true},"dumping_importacao":{"type":"number","format":"float","nullable":true},"tributacoes_importacao":{"type":"array","nullable":true,"items":{"type":"object","properties":{"dados_tributados":{"type":"object"}}}}}}},"pagination":{"type":"object","properties":{"total":{"type":"integer"},"previous_page":{"type":"string","nullable":true},"next_page":{"type":"string","nullable":true}}}}}}}},"401":{"description":"Não autorizado","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}}}}}}}}}}}
```


---

# 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://changelog.maino.com.br/api-reference-maino/13.-classificacao-fiscal.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.
