> For the complete documentation index, see [llms.txt](https://ajuda.pdvlegal.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.pdvlegal.com.br/modulo-fiscal/migrate-invoicy/exportacao-de-xml-via-e-mail.md). Agents can also search and read this documentation through its [MCP server](https://ajuda.pdvlegal.com.br/~gitbook/mcp).

# Exportação de XML via e-mail

Use este processo para exportar XMLs de forma pontual ou recorrente no Invoicy.

{% hint style="warning" %}
A exportação pode levar até 48 horas, dependendo do número de notas emitidas.\
Caso você identifique que o volume seja superior a 10 mil notas, recomendamos filtrar a exportação em períodos de 15 em 15 dias para tornar o processo mais rápido.
{% endhint %}

{% hint style="info" %}
Importante: o PDV Legal não possui governabilidade sobre esse processamento.\
É necessário aguardar o envio e a conclusão pelo parceiro.
{% endhint %}

Existem dois tipos de exportação:

* **Exportação comum**: usada quando o envio é pontual.
* **Exportação recorrente**: usada quando o envio precisa acontecer automaticamente.

### Exportação comum

{% stepper %}
{% step %}

### Acesse o Invoicy

* Entre em [https://web.invoicy.com.br](https://web.invoicy.com.br/).
  {% endstep %}

{% step %}

### Inicie a exportação

* Clique em **Exportar** (canto esquerdo da tela).
  {% endstep %}

{% step %}

### Preencha os filtros de exportação

Para garantir que todas as notas sejam enviadas ao contador, configure os filtros conforme abaixo:

1. **Status:** Selecione a opção **"Todos"**.
2. **Modelo:** Selecione a opção **"Todos"**.
3. **Período:** Defina o mês ou intervalo de datas desejado (ex: Mês Anterior).

<figure><img src="https://1320237751-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLaIVEmahy7qwD0rmQzED%2Fuploads%2FvyPaC2fhlH8wnjFDmqfS%2FexportacaoXml1.gif?alt=media&amp;token=4c8b9fc8-16f5-42f2-a488-107a2c220f8e" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

### Selecione o tipo de exportação

* Escolha **Baixar os XMLs** (para envio manual) ou **Lista em Excel** (XLS/CSV).
* **Até 15 arquivos**: O download inicia automaticamente.
* **Mais de 15 arquivos**:
  * Insira o e-mail do contador.
  * Clique em **Agendar** para receber um link de download via e-mail.

<figure><img src="https://1320237751-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLaIVEmahy7qwD0rmQzED%2Fuploads%2F5QRgtufDyuZM9F53plqu%2FexportacaoXml2.gif?alt=media&amp;token=589d960f-5d9f-4529-8a6b-c6f2a82d5fbe" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

### Visualize os agendamentos programados

* Volte à tela principal de exportação e role até o final.

<figure><img src="https://1320237751-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLaIVEmahy7qwD0rmQzED%2Fuploads%2F312OnBLv3ZTI3h3Q0zbd%2Fexpor-comum5.png?alt=media&amp;token=ade3edd7-64f2-44ae-8e48-5175e3c5e5cc" alt=""><figcaption></figcaption></figure>
{% endstep %}
{% endstepper %}

***

### Exportação recorrente

{% stepper %}
{% step %}

### Acesse a exportação recorrente

* Repita os passos 1 e 2 da exportação comum.
* Desta vez, selecione **Exportação recorrente**.
  {% endstep %}

{% step %}

### Configure o agendamento e a validade

1. Preencha os filtros de **Status** e **Modelo** como "Todos".
2. Insira o **e-mail do destinatário** (ex: <contador@empresa.com>).

   <div data-gb-custom-block data-tag="hint" data-style="info" class="hint hint-info"><p>Para enviar a mais de uma pessoa, separe os e-mails com <strong>ponto e vírgula (<code>;</code>)</strong>.</p></div>
3. **Dia para execução:** Escolha o dia do mês em que o e-mail será disparado (ex: Dia 01 ou 05).
4. **Quantidade de meses:** Digite **12**.
   * *Nota:* O agendamento precisa ter um fim. Recomendamos configurar para 1 ano (12 meses). Após esse período, será necessário refazer o agendamento.
5. Salve:
   * Clique em **Agendar**.

<figure><img src="https://1320237751-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLaIVEmahy7qwD0rmQzED%2Fuploads%2Fh7gM0nUMJMjQ3Sf1Uwi5%2FexportacaoXml3.gif?alt=media&amp;token=bca8cebf-6095-461b-964f-3e52e927a64b" alt=""><figcaption></figcaption></figure>
{% endstep %}
{% endstepper %}

***

### Boas práticas

{% hint style="success" %}

* **Exportação recorrente**: Configure para envio automático todo mês.
* **Organização**: Use a opção "Lista em Excel" para controle detalhado.
* **Verificação**: Confira os agendamentos em **Exportar > Final da tela**.
  {% 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 by asking a question.

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

```
GET https://ajuda.pdvlegal.com.br/modulo-fiscal/migrate-invoicy/exportacao-de-xml-via-e-mail.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.
