> For the complete documentation index, see [llms.txt](https://kb.stoque.com.br/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://kb.stoque.com.br/zeev/geracao-automatica-de-documentos/o-que-e-a-geracao-automatica-de-documentos.md).

# O que é a geração automática de documentos

É possível gerar documentos automaticamente pelo sistema, de acordo com um template e utilizando os valores preenchidos no formulário do aplicativo de processo.

A pessoa poderá gerar documentos nos formatos .PDF ou .DOCX.&#x20;

A partir da versão 4.31 essa funcionalidade está disponível exclusivamente por meio do uso da API de createFile. Para mais informações, acesse o Swagger do seu ambiente pelo seguinte endereço: *https\://\<endereço de seu ambiente Zeev>/api/docs/index*

Após acessar a URL, procure pela API **createFile** (na seção Files / Anexos).

{% hint style="danger" %}
Desde a versão 4.31 o uso dos webservices de createPDF ou createDOCX tornou-se obsoleto. Não será possível configurar novas integrações com esses webservices.

A partir de 01/07/2025, a camada de webservices do produto será descontinuada sendo substituída pela API.
{% endhint %}

Assista no vídeo abaixo uma demonstração prática do recurso:

{% embed url="<https://www.youtube.com/watch?v=9KDwwBskpZw>" %}


---

# 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://kb.stoque.com.br/zeev/geracao-automatica-de-documentos/o-que-e-a-geracao-automatica-de-documentos.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.
