> 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/retaguarda/produtos/configuracao-do-fator-de-conversao-no-produto.md).

# Configuração do fator de conversão no produto

Configure a unidade de compra e o fator de conversão antes da entrada de nota.

Use essa configuração quando a unidade de compra for diferente da unidade de venda.

### Como configurar

{% stepper %}
{% step %}
Acesse **Produtos > Cadastro**.
{% endstep %}

{% step %}
Selecione o produto que deseja configurar.
{% endstep %}

{% step %}
Abra a aba **Obrigatório**.
{% endstep %}

{% step %}
Defina o **tipo da unidade** cobrada na compra.
{% endstep %}

{% step %}
Configure o **fator de conversão** da unidade de compra para a unidade de venda.
{% endstep %}

{% step %}
Insira o **EAN/GTIN** do produto de compra, se disponível.
{% endstep %}
{% endstepper %}

### Exemplo

{% hint style="warning" %}
Se você compra 3 caixas com 4 unidades em cada uma, o total convertido será 12 unidades.
{% endhint %}

### Importante

{% hint style="info" %}
Se a compra for em caixas, informe o EAN da caixa.
{% endhint %}

{% hint style="warning" %}
Se o cliente não tiver o EAN, pode manter apenas a unidade de compra e o fator de conversão.

Se a unidade de compra estiver diferente da unidade informada no XML, a conversão não será aplicada na entrada da nota.
{% endhint %}

### Onde validar no XML

Essas informações podem ser confirmadas com o contador, com o fornecedor ou no próprio XML.

Use as tags `uCom` e `cEANTrib` para preencher os campos correspondentes no Cloud.


---

# 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/retaguarda/produtos/configuracao-do-fator-de-conversao-no-produto.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.
