> 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

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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://ajuda.pdvlegal.com.br/retaguarda/produtos/configuracao-do-fator-de-conversao-no-produto.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.
