> For the complete documentation index, see [llms.txt](https://ajuda.espiaonfe.com.br/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://ajuda.espiaonfe.com.br/gestao/ct-e.md).

# CT-e

- [Consultar CT-e na SEFAZ](https://ajuda.espiaonfe.com.br/gestao/ct-e/consultas-na-sefaz.md): Entenda como funciona a consulta de CT-e na SEFAZ, os requisitos, as principais regras e como acompanhar os conhecimentos de transporte eletrônicos emitidos contra seu CNPJ.
- [Consulta com Certificado A1](https://ajuda.espiaonfe.com.br/gestao/ct-e/consultas-na-sefaz/certificado-a1.md): Aprenda como consultar CT-e na SEFAZ com certificado digital A1, conheça os requisitos e configure a consulta no Espião Cloud de forma simples e automatizada.
- [Consulta com Certificado A3](https://ajuda.espiaonfe.com.br/gestao/ct-e/consultas-na-sefaz/certificado-a3.md): Aprenda como consultar CT-e na SEFAZ com certificado digital A3, conheça os requisitos e configure a consulta pelo Cloud Monitor do Espião Cloud.
- [Histórico](https://ajuda.espiaonfe.com.br/gestao/ct-e/historico.md)
- [Pesquisar documentos](https://ajuda.espiaonfe.com.br/gestao/ct-e/historico/pesquisar-documentos.md)
- [Grupos de Empresas](https://ajuda.espiaonfe.com.br/gestao/ct-e/historico/grupos-de-empresas.md)
- [Importar XML](https://ajuda.espiaonfe.com.br/gestao/ct-e/historico/importar-xml.md)
- [Marcadores](https://ajuda.espiaonfe.com.br/gestao/ct-e/historico/marcadores.md)
- [Download XML/PDF](https://ajuda.espiaonfe.com.br/gestao/ct-e/historico/download-xml-pdf.md)
- [Consultar situação](https://ajuda.espiaonfe.com.br/gestao/ct-e/historico/consultar-situacao.md)
- [Outras opções](https://ajuda.espiaonfe.com.br/gestao/ct-e/historico/outras-opcoes.md)
- [Funcionalidades tabela](https://ajuda.espiaonfe.com.br/gestao/ct-e/historico/funcionalidades-tabela.md)
- [Configurar tabela](https://ajuda.espiaonfe.com.br/gestao/ct-e/historico/configurar-tabela.md)
- [Downloads Express](https://ajuda.espiaonfe.com.br/gestao/ct-e/historico/downloads-express.md)
- [CT-e / GTVE](https://ajuda.espiaonfe.com.br/gestao/ct-e/historico/ct-e-gtve.md)
- [Desacordo](https://ajuda.espiaonfe.com.br/gestao/ct-e/desacordo.md)
- [Relatórios](https://ajuda.espiaonfe.com.br/gestao/ct-e/relatorios.md)
- [Configurações](https://ajuda.espiaonfe.com.br/gestao/ct-e/configuracoes.md)
- [Configurações de armazenamento CT-e](https://ajuda.espiaonfe.com.br/gestao/ct-e/configuracoes/configuracoes-de-armazenamento-ct-e.md)
- [Consulta automática](https://ajuda.espiaonfe.com.br/gestao/ct-e/configuracoes/consulta-automatica.md)


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://ajuda.espiaonfe.com.br/gestao/ct-e.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
