> For the complete documentation index, see [llms.txt](https://docs.wave.pt/wave-trade-x/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.wave.pt/wave-trade-x/avancadas/reports-via-email.md).

# Reports via email

É possível fazer o envio de emails com PDFs dos Documentos (p.ex. Propostas ou Encomendas), Recibos e Extratos de Conta Corrente a partir do Tablet.

O desenho do template pode ser editado no Portal X e disponibilizado para o Tablet.

Pode efetuar estas configurações no Portal X em Tabelas Auxiliares <mark style="color:red;">(1)</mark> -> Templates <mark style="color:red;">(2)</mark> -> Documentos <mark style="color:red;">(3)</mark>. Além de poder editar os templates já existentes, pode também criar novos templates <mark style="color:red;">(4)</mark>.

<figure><img src="/files/RE1vj4DNoNkWWvyI8EMh" alt=""><figcaption><p>Templates</p></figcaption></figure>

Em cada template terá a oportunidade de editar a página, o cabeçalho, as linhas e o rodapé. Em cada secção poderá editar através da pré-visualização ou através do código <mark style="color:red;">(1)</mark>.

<figure><img src="/files/tYL6wtzwAtIKNKNmK0Bd" alt=""><figcaption><p>Pré-visualização</p></figcaption></figure>

<figure><img src="/files/p87J0jjjnok51PqaRhyZ" alt=""><figcaption><p>Código </p></figcaption></figure>

De maneira a receber os templates na App Wave Trade X, é necessário associar os tipos de templates:

* **Documento** -> associar em cada tipo de documento
* **Recibo** -> associar em cada tipo de recibo
* **Conta Corrente** -> associar em cada terminal

<figure><img src="/files/xqhIMz1H3MT8tV8rV4c5" alt=""><figcaption><p>Associar template de Documento no tipo de documento</p></figcaption></figure>

<figure><img src="/files/H4ThWM76pBaQhDDd5frR" alt=""><figcaption><p>Associar template de Recibo no tipo de recibo</p></figcaption></figure>

<figure><img src="/files/jvXOqUP3fBHkvQXuckuK" alt=""><figcaption><p>Associar template de Conta Corrente em cada terminal</p></figcaption></figure>


---

# 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:

```
GET https://docs.wave.pt/wave-trade-x/avancadas/reports-via-email.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
