> 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 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://ajuda.espiaonfe.com.br/gestao/ct-e.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.
