> 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/nf-e/historico/rastreio-de-lotes-nf-e.md).

# Rastreio de lotes NF-e

Agora é possível localizar as notas das empresas através do lote e realizar o rastreio de lotes diretamente no Histórico de Notas NF-e

O **Rastreio por Lote**, é possível monitorar a origem e a validade dos produtos a partir dos lotes informados nas notas fiscais. Dessa forma, o sistema permite identificar itens vencidos, próximos do vencimento e também os fornecedores envolvidos, garantindo mais controle, rastreabilidade e segurança nas operações.

📃 Para visualizar os documentos, siga as instruções a seguir

1. Para realizar a consulta, acesse no menu o Histórico de Notas NF-e.&#x20;

<div align="left"><figure><img src="https://1086762934-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FqoJpeeYAUN8570QfuPzY%2Fuploads%2Farb8UenTpFhcQrmf259x%2Fimage.png?alt=media&amp;token=161f80a1-d50e-410d-9213-05a6b6ce3200" alt="" width="375"><figcaption></figcaption></figure></div>

2. Clique na aba **Rastreio de Lotes**, selecione a **empresa** que deseja consultar, **defina o período da busca** e clique em **Pesquisar** para visualizar os resultados.

<div align="left"><figure><img src="https://1086762934-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FqoJpeeYAUN8570QfuPzY%2Fuploads%2FkBxTScre4XLKhP9WHNKT%2Fimage.png?alt=media&amp;token=bcc66378-2739-43e6-94e3-2ab47b278eb3" alt="" width="563"><figcaption></figcaption></figure></div>

Caso tenha **o número do lote em mãos**, basta **selecionar a empresa**, **definir o período da busca**, **informar o número do lote** no campo correspondente e clicar em **Pesquisar** para localizar as **notas relacionadas ao lote informado**.

<div align="left"><figure><img src="https://1086762934-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FqoJpeeYAUN8570QfuPzY%2Fuploads%2FoWseqCM3hoYZz3EoEULk%2Fimage.png?alt=media&amp;token=9b1966ab-f40a-44de-8e0c-c227046372de" alt="" width="555"><figcaption></figcaption></figure></div>

3. Após a consulta, é possível utilizar o **Filtro rápido por Status de Validade**, selecionando entre **Todos**, **Vencidos**, **A vencer** ou **Válidos**. Também é possível aplicar **Filtros rápidos por Fornecedor**, facilitando a identificação das notas de acordo com o fornecedor relacionado.

<div align="left"><figure><img src="https://1086762934-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FqoJpeeYAUN8570QfuPzY%2Fuploads%2FA5sGt4x0nZgAKG0sC42I%2Frastreio-de-lote-nf-e.png?alt=media&amp;token=e2249364-8d44-4a13-a19d-1bea86698b19" alt="" width="563"><figcaption></figcaption></figure></div>

**Pronto!** Agora você pode **localizar notas por lote** diretamente no **Histórico de Notas NF-e**, facilitando o rastreamento de produtos, fornecedores e prazos de validade.


---

# 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/nf-e/historico/rastreio-de-lotes-nf-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.
