# Correção na emissão de NFC-e pelo totem com CNPJ vinculado

Identificamos um erro ao realizar pedidos pelo Totem com a opção fiscal ativa, especialmente quando o pedido estava vinculado a um CNPJ. Nesses casos, o Totem não estava emitindo o cupom fiscal, o que podia causar falhas.

Corrigimos o processo de inserção do pedido para garantir que, ao informar documentos como CPF ou CNPJ, o tipo de documento seja corretamente identificado e gravado, permitindo o fluxo fiscal completo e sem interrupções.

<figure><img src="/files/smsJnzlclyLJC3qeXrcr" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: 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://atualizacoes.consumer.com.br/pdv/anteriores/15.0.0/15.0.0.10/correcao-na-emissao-de-nfc-e-pelo-totem-com-cnpj-vinculado.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.
