# OS 104370 - OBRIG. FISCAL - DOC. ELETRONICO - CÁLCULO DE NF COM CBENEF NÃO CADASTRADO, GERAR TAG COM "SEM CBENEF"

#### **Objetivo:**

A solicitação tem como objetivo validar a implementação da rotina de gravação do código de benefício fiscal (`CBenef`) durante a geração da Nota Fiscal, garantindo que:

- O sistema identifica já na geração da NF se existe ajuste de ICMS associado ao NCM + CST + UF da operação;
- Quando existir parametrização de ajuste fiscal, o sistema grava corretamente o código do ajuste no item da NF;
- Quando não existir parametrização de ajuste fiscal para o NCM + CST + UF, e houver operação com redução, isenção ou diferimento de ICMS, o sistema grave automaticamente o conteúdo `"SEM CBENEF"` na TAG `<cBenef>`;
- A transmissão da NF utilize exatamente o valor gravado na NF, sem nova busca de parametrização no momento da transmissão;
- O XML gerado e autorizado pela SEFAZ apresenta corretamente as TAGs `<cBenef>` e `<motDesICMS>`.

#### **Premissas:**

- Necessário o ambiente estar atualizado com as versões: 
    - **Doc. Eletrônico** de número **139955** ou superior.
    - **Faturamento** de número **139954** ou superior.

#### **Teste realizado após a atualização.**

<div id="bkmrk-cen%C3%A1rio-01---validar"><div class="flex h-svh w-screen flex-col"><div class="relative z-0 flex min-h-0 w-full flex-1"><div class="relative flex min-h-0 w-full flex-1"><div class="@container/main relative flex min-w-0 flex-1 flex-col -translate-y-[calc(env(safe-area-inset-bottom,0px)/2)] pt-[calc(env(safe-area-inset-bottom,0px)/2)]"><div class="@w-sm/main:[scrollbar-gutter:var(--stage-scroll-gutter)] touch:[scrollbar-width:none] group/scroll-root relative flex min-h-0 min-w-0 flex-1 flex-col [scrollbar-gutter:stable] not-print:overflow-x-clip not-print:overflow-y-auto group-data-stream-active/scroll-root:[overflow-anchor:none] scroll-pt-(--header-height) [--sticky-padding-top:var(--header-height)] [--sticky-padding-bottom:0px] [--scroll-root-safe-area-inset-top:calc(var(--sticky-padding-top)+env(safe-area-inset-top,0px))] [--scroll-root-safe-area-inset-bottom:calc(var(--sticky-padding-bottom)+var(--screen-keyboard-height,0px)+env(safe-area-inset-bottom,0px))] [--scroll-root-safe-area-height:calc(100lvh-var(--scroll-root-safe-area-inset-top)-var(--scroll-root-safe-area-inset-bottom))] has-data-[fixed-header=less-than-xl]:@w-xl/main:scroll-pt-0 has-data-[fixed-header=less-than-xl]:@w-xl/main:[--sticky-padding-top:0px] has-data-[fixed-header=less-than-xxl]:@w-2xl/main:scroll-pt-0 has-data-[fixed-header=less-than-xxl]:@w-2xl/main:[--sticky-padding-top:0px]" data-scroll-from-top="" data-scroll-root=""><main class="min-h-0 flex-1" id="bkmrk-cen%C3%A1rio-01---validar-1" tabindex="-1"><div class="group/thread flex flex-col min-h-full" id="bkmrk-cen%C3%A1rio-01---validar-2"><div class="composer-parent flex flex-1 flex-col focus-visible:outline-0" role="presentation"><div class="relative basis-auto flex-col -mb-(--composer-overlap-px) pb-(--composer-overlap-px) [--composer-overlap-px:28px] grow flex"><div class="flex flex-col text-sm"><div class="qMYqUG_convSearchResultHighlightRoot"><div class="" data-is-intersecting="true" data-turn-id-container="request-WEB:0df3fcbb-4d3c-4b40-aec9-2f8dd603145f-43"><div class="relative w-full overflow-visible"><section class="text-token-text-primary w-full focus:outline-none has-data-writing-block:pointer-events-none [&:has([data-writing-block])>*]:pointer-events-auto R6Vx5W_threadScrollVars scroll-mb-[calc(var(--scroll-root-safe-area-inset-bottom,0px)+var(--thread-response-height))] scroll-mt-[calc(var(--header-height)+min(200px,max(70px,20svh)))]" data-scroll-anchor="false" data-testid="conversation-turn-2" data-turn="assistant" data-turn-id="request-WEB:0df3fcbb-4d3c-4b40-aec9-2f8dd603145f-43" data-turn-id-container="request-WEB:0df3fcbb-4d3c-4b40-aec9-2f8dd603145f-43" dir="auto">#### **Cenário 01 - Emitir NF sem cadastro de ajuste ICMS e validar gravação automática “SEM CBENEF”**

<div class="qMYqUG_convSearchResultHighlightRoot"><div class="" data-is-intersecting="true" data-turn-id-container="request-WEB:6651cba3-6ceb-4284-b74f-0ea0c40f59dd-50"><div class="relative w-full overflow-visible"><section class="text-token-text-primary w-full focus:outline-none has-data-writing-block:pointer-events-none [&:has([data-writing-block])>*]:pointer-events-auto R6Vx5W_threadScrollVars scroll-mb-[calc(var(--scroll-root-safe-area-inset-bottom,0px)+var(--thread-response-height))] scroll-mt-[calc(var(--header-height)+min(200px,max(70px,20svh)))]" data-scroll-anchor="false" data-testid="conversation-turn-2" data-turn="assistant" data-turn-id="request-WEB:6651cba3-6ceb-4284-b74f-0ea0c40f59dd-50" data-turn-id-container="request-WEB:6651cba3-6ceb-4284-b74f-0ea0c40f59dd-50" dir="auto">**Objetivo:** Validar que o sistema grave automaticamente `"SEM CBENEF"` quando não houver parametrização de ajuste ICMS vinculada ao NCM + CST + UF da operação.

<div class="text-base my-auto mx-auto pb-10 [--thread-content-margin:var(--thread-content-margin-xs,calc(var(--spacing)*4))] @w-sm/main:[--thread-content-margin:var(--thread-content-margin-sm,calc(var(--spacing)*6))] @w-lg/main:[--thread-content-margin:var(--thread-content-margin-lg,calc(var(--spacing)*16))] px-(--thread-content-margin)"><div class="[--thread-content-max-width:40rem] @w-lg/main:[--thread-content-max-width:48rem] mx-auto max-w-(--thread-content-max-width) flex-1 group/turn-messages focus-visible:outline-hidden relative flex w-full min-w-0 flex-col agent-turn"><div class="flex max-w-full flex-col gap-4 grow"><div class="min-h-8 text-message relative flex w-full flex-col items-end gap-2 text-start break-words whitespace-normal outline-none keyboard-focused:focus-ring [.text-message+&]:mt-1" data-message-author-role="assistant" data-message-id="02ba44db-8cba-4f26-b68f-d5ee03b516db" data-message-model-slug="gpt-5-5" data-turn-start-message="true" dir="auto" tabindex="0"><div class="flex w-full flex-col gap-1 empty:hidden"><div class="markdown prose dark:prose-invert wrap-break-word w-full light markdown-new-styling">---

</div></div></div></div></div></div><span style="text-decoration: underline;">Passo 01 </span>- Configurar CFOP/CIO com CST de isenção/redução/diferimento.

Ações

<div class="text-base my-auto mx-auto pb-10 [--thread-content-margin:var(--thread-content-margin-xs,calc(var(--spacing)*4))] @w-sm/main:[--thread-content-margin:var(--thread-content-margin-sm,calc(var(--spacing)*6))] @w-lg/main:[--thread-content-margin:var(--thread-content-margin-lg,calc(var(--spacing)*16))] px-(--thread-content-margin)"><div class="[--thread-content-max-width:40rem] @w-lg/main:[--thread-content-max-width:48rem] mx-auto max-w-(--thread-content-max-width) flex-1 group/turn-messages focus-visible:outline-hidden relative flex w-full min-w-0 flex-col agent-turn"><div class="flex max-w-full flex-col gap-4 grow"><div class="min-h-8 text-message relative flex w-full flex-col items-end gap-2 text-start break-words whitespace-normal outline-none keyboard-focused:focus-ring [.text-message+&]:mt-1" data-message-author-role="assistant" data-message-id="02ba44db-8cba-4f26-b68f-d5ee03b516db" data-message-model-slug="gpt-5-5" data-turn-start-message="true" dir="auto" tabindex="0"><div class="flex w-full flex-col gap-1 empty:hidden"><div class="markdown prose dark:prose-invert wrap-break-word w-full light markdown-new-styling">1. Acessar:  
    **Fiscal &gt; CFOP &gt; CFOP - Código Fiscal Operação** [![image.png](https://wiki.sendsolutions.com.br/uploads/images/gallery/2026-06/scaled-1680-/xlXwkUNUd4kbpYHr-image.png)](https://wiki.sendsolutions.com.br/uploads/images/gallery/2026-06/xlXwkUNUd4kbpYHr-image.png)
    
    [![image.png](https://wiki.sendsolutions.com.br/uploads/images/gallery/2026-06/scaled-1680-/MR5dwMSWBKSA7t0j-image.png)](https://wiki.sendsolutions.com.br/uploads/images/gallery/2026-06/MR5dwMSWBKSA7t0j-image.png)
2. Localizar a CFOP/CIO utilizada no teste.  
    [![image.png](https://wiki.sendsolutions.com.br/uploads/images/gallery/2026-06/scaled-1680-/11zmFnFW1LhwhImS-image.png)](https://wiki.sendsolutions.com.br/uploads/images/gallery/2026-06/11zmFnFW1LhwhImS-image.png)  
    [![image.png](https://wiki.sendsolutions.com.br/uploads/images/gallery/2026-06/scaled-1680-/KY8Tz8plnqxMnKsu-image.png)](https://wiki.sendsolutions.com.br/uploads/images/gallery/2026-06/KY8Tz8plnqxMnKsu-image.png)
3. Acessar a aba **ICMS**.
4. Configurar uma tributação com benefício fiscal: 
    - Exemplo: 
        - CST 40 – Isenta;
        - Redução de base;
        - Diferimento.
5. Confirmar a configuração.  
    [![image.png](https://wiki.sendsolutions.com.br/uploads/images/gallery/2026-06/scaled-1680-/EvIZ8uPOFKwD6SM5-image.png)](https://wiki.sendsolutions.com.br/uploads/images/gallery/2026-06/EvIZ8uPOFKwD6SM5-image.png)

</div></div></div></div></div></div><p class="callout info">Resultado esperado</p>

<div class="text-base my-auto mx-auto pb-10 [--thread-content-margin:var(--thread-content-margin-xs,calc(var(--spacing)*4))] @w-sm/main:[--thread-content-margin:var(--thread-content-margin-sm,calc(var(--spacing)*6))] @w-lg/main:[--thread-content-margin:var(--thread-content-margin-lg,calc(var(--spacing)*16))] px-(--thread-content-margin)"><div class="[--thread-content-max-width:40rem] @w-lg/main:[--thread-content-max-width:48rem] mx-auto max-w-(--thread-content-max-width) flex-1 group/turn-messages focus-visible:outline-hidden relative flex w-full min-w-0 flex-col agent-turn"><div class="flex max-w-full flex-col gap-4 grow"><div class="min-h-8 text-message relative flex w-full flex-col items-end gap-2 text-start break-words whitespace-normal outline-none keyboard-focused:focus-ring [.text-message+&]:mt-1" data-message-author-role="assistant" data-message-id="02ba44db-8cba-4f26-b68f-d5ee03b516db" data-message-model-slug="gpt-5-5" data-turn-start-message="true" dir="auto" tabindex="0"><div class="flex w-full flex-col gap-1 empty:hidden"><div class="markdown prose dark:prose-invert wrap-break-word w-full light markdown-new-styling">- A CFOP/CIO deve permanecer configurada com tributação que gere benefício/desoneração de ICMS.
- A CST utilizada deve ser gravada corretamente na configuração fiscal.

---

</div></div></div></div></div></div><span style="text-decoration: underline;">Passo 02 </span>- Validar inexistência de ajuste ICMS parametrizado. Ações

<div class="text-base my-auto mx-auto pb-10 [--thread-content-margin:var(--thread-content-margin-xs,calc(var(--spacing)*4))] @w-sm/main:[--thread-content-margin:var(--thread-content-margin-sm,calc(var(--spacing)*6))] @w-lg/main:[--thread-content-margin:var(--thread-content-margin-lg,calc(var(--spacing)*16))] px-(--thread-content-margin)"><div class="[--thread-content-max-width:40rem] @w-lg/main:[--thread-content-max-width:48rem] mx-auto max-w-(--thread-content-max-width) flex-1 group/turn-messages focus-visible:outline-hidden relative flex w-full min-w-0 flex-col agent-turn"><div class="flex max-w-full flex-col gap-4 grow"><div class="min-h-8 text-message relative flex w-full flex-col items-end gap-2 text-start break-words whitespace-normal outline-none keyboard-focused:focus-ring [.text-message+&]:mt-1" data-message-author-role="assistant" data-message-id="02ba44db-8cba-4f26-b68f-d5ee03b516db" data-message-model-slug="gpt-5-5" data-turn-start-message="true" dir="auto" tabindex="0"><div class="flex w-full flex-col gap-1 empty:hidden"><div class="markdown prose dark:prose-invert wrap-break-word w-full light markdown-new-styling">1. Acessar:  
    **Fiscal &gt; Situação Tributária (ICMS) x Ajuste x Classificação Fiscal** [![image.png](https://wiki.sendsolutions.com.br/uploads/images/gallery/2026-06/scaled-1680-/nbgHADxsgPBE4El1-image.png)](https://wiki.sendsolutions.com.br/uploads/images/gallery/2026-06/nbgHADxsgPBE4El1-image.png)
2. Filtrar pelo: 
    - CST;
    - UF;
    - NCM utilizado no produto.
3. Validar que NÃO exista cadastro de ajuste para o cenário.  
    [![image.png](https://wiki.sendsolutions.com.br/uploads/images/gallery/2026-06/scaled-1680-/yPRkKS0z0yxE8QxX-image.png)](https://wiki.sendsolutions.com.br/uploads/images/gallery/2026-06/yPRkKS0z0yxE8QxX-image.png)

</div></div></div></div></div></div><p class="callout info">Resultado esperado</p>

<div class="text-base my-auto mx-auto pb-10 [--thread-content-margin:var(--thread-content-margin-xs,calc(var(--spacing)*4))] @w-sm/main:[--thread-content-margin:var(--thread-content-margin-sm,calc(var(--spacing)*6))] @w-lg/main:[--thread-content-margin:var(--thread-content-margin-lg,calc(var(--spacing)*16))] px-(--thread-content-margin)"><div class="[--thread-content-max-width:40rem] @w-lg/main:[--thread-content-max-width:48rem] mx-auto max-w-(--thread-content-max-width) flex-1 group/turn-messages focus-visible:outline-hidden relative flex w-full min-w-0 flex-col agent-turn"><div class="flex max-w-full flex-col gap-4 grow"><div class="min-h-8 text-message relative flex w-full flex-col items-end gap-2 text-start break-words whitespace-normal outline-none keyboard-focused:focus-ring [.text-message+&]:mt-1" data-message-author-role="assistant" data-message-id="02ba44db-8cba-4f26-b68f-d5ee03b516db" data-message-model-slug="gpt-5-5" data-turn-start-message="true" dir="auto" tabindex="0"><div class="flex w-full flex-col gap-1 empty:hidden"><div class="markdown prose dark:prose-invert wrap-break-word w-full light markdown-new-styling">- O sistema não deve localizar parametrização de ajuste ICMS para: 
    - CST;
    - UF;
    - NCM da operação.

---

</div></div></div></div></div></div><span style="text-decoration: underline;">Passo 03</span> - Emitir pedido e iniciar faturamento.

Ações

<div class="text-base my-auto mx-auto pb-10 [--thread-content-margin:var(--thread-content-margin-xs,calc(var(--spacing)*4))] @w-sm/main:[--thread-content-margin:var(--thread-content-margin-sm,calc(var(--spacing)*6))] @w-lg/main:[--thread-content-margin:var(--thread-content-margin-lg,calc(var(--spacing)*16))] px-(--thread-content-margin)"><div class="[--thread-content-max-width:40rem] @w-lg/main:[--thread-content-max-width:48rem] mx-auto max-w-(--thread-content-max-width) flex-1 group/turn-messages focus-visible:outline-hidden relative flex w-full min-w-0 flex-col agent-turn"><div class="flex max-w-full flex-col gap-4 grow"><div class="min-h-8 text-message relative flex w-full flex-col items-end gap-2 text-start break-words whitespace-normal outline-none keyboard-focused:focus-ring [.text-message+&]:mt-1" data-message-author-role="assistant" data-message-id="02ba44db-8cba-4f26-b68f-d5ee03b516db" data-message-model-slug="gpt-5-5" data-turn-start-message="true" dir="auto" tabindex="0"><div class="flex w-full flex-col gap-1 empty:hidden"><div class="markdown prose dark:prose-invert wrap-break-word w-full light markdown-new-styling">1. Criar pedido de venda utilizando: 
    - Produto com NCM parametrizado;
    - CFOP/CIO configurada no cenário.
2. Acessar:  
    **Faturamento &gt; Emitir Nota Fiscal** [![image.png](https://wiki.sendsolutions.com.br/uploads/images/gallery/2026-06/scaled-1680-/LrrY89vMaR6fWl07-image.png)](https://wiki.sendsolutions.com.br/uploads/images/gallery/2026-06/LrrY89vMaR6fWl07-image.png)
    
    [![image.png](https://wiki.sendsolutions.com.br/uploads/images/gallery/2026-06/scaled-1680-/sqpDemAjhgjpinAD-image.png)](https://wiki.sendsolutions.com.br/uploads/images/gallery/2026-06/sqpDemAjhgjpinAD-image.png)
3. Selecionar o pedido.  
    [![image.png](https://wiki.sendsolutions.com.br/uploads/images/gallery/2026-06/scaled-1680-/BikVga2X9kFb7S4C-image.png)](https://wiki.sendsolutions.com.br/uploads/images/gallery/2026-06/BikVga2X9kFb7S4C-image.png)
4. Avançar para a etapa de itens.  
    [![image.png](https://wiki.sendsolutions.com.br/uploads/images/gallery/2026-06/scaled-1680-/q7rstjUatBh9P2q6-image.png)](https://wiki.sendsolutions.com.br/uploads/images/gallery/2026-06/q7rstjUatBh9P2q6-image.png)

</div></div></div></div></div></div><p class="callout info">Resultado esperado</p>

<div class="text-base my-auto mx-auto pb-10 [--thread-content-margin:var(--thread-content-margin-xs,calc(var(--spacing)*4))] @w-sm/main:[--thread-content-margin:var(--thread-content-margin-sm,calc(var(--spacing)*6))] @w-lg/main:[--thread-content-margin:var(--thread-content-margin-lg,calc(var(--spacing)*16))] px-(--thread-content-margin)"><div class="[--thread-content-max-width:40rem] @w-lg/main:[--thread-content-max-width:48rem] mx-auto max-w-(--thread-content-max-width) flex-1 group/turn-messages focus-visible:outline-hidden relative flex w-full min-w-0 flex-col agent-turn"><div class="flex max-w-full flex-col gap-4 grow"><div class="min-h-8 text-message relative flex w-full flex-col items-end gap-2 text-start break-words whitespace-normal outline-none keyboard-focused:focus-ring [.text-message+&]:mt-1" data-message-author-role="assistant" data-message-id="02ba44db-8cba-4f26-b68f-d5ee03b516db" data-message-model-slug="gpt-5-5" data-turn-start-message="true" dir="auto" tabindex="0"><div class="flex w-full flex-col gap-1 empty:hidden"><div class="markdown prose dark:prose-invert wrap-break-word w-full light markdown-new-styling">- O pedido deve ser carregado corretamente.
- O item deve apresentar: 
    - CFOP;
    - CIO;
    - CST esperada.

---

</div></div></div></div></div></div><span style="text-decoration: underline;">Passo 04</span> - Gerar a Nota Fiscal

Ações

<div class="text-base my-auto mx-auto pb-10 [--thread-content-margin:var(--thread-content-margin-xs,calc(var(--spacing)*4))] @w-sm/main:[--thread-content-margin:var(--thread-content-margin-sm,calc(var(--spacing)*6))] @w-lg/main:[--thread-content-margin:var(--thread-content-margin-lg,calc(var(--spacing)*16))] px-(--thread-content-margin)"><div class="[--thread-content-max-width:40rem] @w-lg/main:[--thread-content-max-width:48rem] mx-auto max-w-(--thread-content-max-width) flex-1 group/turn-messages focus-visible:outline-hidden relative flex w-full min-w-0 flex-col agent-turn"><div class="flex max-w-full flex-col gap-4 grow"><div class="min-h-8 text-message relative flex w-full flex-col items-end gap-2 text-start break-words whitespace-normal outline-none keyboard-focused:focus-ring [.text-message+&]:mt-1" data-message-author-role="assistant" data-message-id="02ba44db-8cba-4f26-b68f-d5ee03b516db" data-message-model-slug="gpt-5-5" data-turn-start-message="true" dir="auto" tabindex="0"><div class="flex w-full flex-col gap-1 empty:hidden"><div class="markdown prose dark:prose-invert wrap-break-word w-full light markdown-new-styling">1. Avançar até a etapa final do faturamento.
2. Clicar em:  
    **Gerar Nota Fiscal** [![image.png](https://wiki.sendsolutions.com.br/uploads/images/gallery/2026-06/scaled-1680-/t7YIBuzhabzvxoWK-image.png)](https://wiki.sendsolutions.com.br/uploads/images/gallery/2026-06/t7YIBuzhabzvxoWK-image.png)
    
    [![image.png](https://wiki.sendsolutions.com.br/uploads/images/gallery/2026-06/scaled-1680-/8O3kOIJjRPp5MWHp-image.png)](https://wiki.sendsolutions.com.br/uploads/images/gallery/2026-06/8O3kOIJjRPp5MWHp-image.png)

</div></div></div></div></div></div><p class="callout info">Resultado esperado</p>

<div class="text-base my-auto mx-auto pb-10 [--thread-content-margin:var(--thread-content-margin-xs,calc(var(--spacing)*4))] @w-sm/main:[--thread-content-margin:var(--thread-content-margin-sm,calc(var(--spacing)*6))] @w-lg/main:[--thread-content-margin:var(--thread-content-margin-lg,calc(var(--spacing)*16))] px-(--thread-content-margin)"><div class="[--thread-content-max-width:40rem] @w-lg/main:[--thread-content-max-width:48rem] mx-auto max-w-(--thread-content-max-width) flex-1 group/turn-messages focus-visible:outline-hidden relative flex w-full min-w-0 flex-col agent-turn"><div class="flex max-w-full flex-col gap-4 grow"><div class="min-h-8 text-message relative flex w-full flex-col items-end gap-2 text-start break-words whitespace-normal outline-none keyboard-focused:focus-ring [.text-message+&]:mt-1" data-message-author-role="assistant" data-message-id="02ba44db-8cba-4f26-b68f-d5ee03b516db" data-message-model-slug="gpt-5-5" data-turn-start-message="true" dir="auto" tabindex="0"><div class="flex w-full flex-col gap-1 empty:hidden"><div class="markdown prose dark:prose-invert wrap-break-word w-full light markdown-new-styling">- A NF deve ser gerada com sucesso.
- O sistema deve identificar automaticamente que: 
    - Existe benefício/desoneração de ICMS;
    - Não existe ajuste ICMS parametrizado.
- O sistema deve gravar automaticamente: 
    - `SEM CBENEF`  
        no item da NF.

---

</div></div></div></div></div></div>Passo 05 - Consultar a NF gerada.

Ações

<div class="text-base my-auto mx-auto pb-10 [--thread-content-margin:var(--thread-content-margin-xs,calc(var(--spacing)*4))] @w-sm/main:[--thread-content-margin:var(--thread-content-margin-sm,calc(var(--spacing)*6))] @w-lg/main:[--thread-content-margin:var(--thread-content-margin-lg,calc(var(--spacing)*16))] px-(--thread-content-margin)"><div class="[--thread-content-max-width:40rem] @w-lg/main:[--thread-content-max-width:48rem] mx-auto max-w-(--thread-content-max-width) flex-1 group/turn-messages focus-visible:outline-hidden relative flex w-full min-w-0 flex-col agent-turn"><div class="flex max-w-full flex-col gap-4 grow"><div class="min-h-8 text-message relative flex w-full flex-col items-end gap-2 text-start break-words whitespace-normal outline-none keyboard-focused:focus-ring [.text-message+&]:mt-1" data-message-author-role="assistant" data-message-id="02ba44db-8cba-4f26-b68f-d5ee03b516db" data-message-model-slug="gpt-5-5" data-turn-start-message="true" dir="auto" tabindex="0"><div class="flex w-full flex-col gap-1 empty:hidden"><div class="markdown prose dark:prose-invert wrap-break-word w-full light markdown-new-styling">1. Acessar:  
    **Consulta Nota Fiscal**
2. Abrir a NF emitida.
3. Acessar a aba:  
    **Itens**
4. Expandir os detalhes do item.  
    [![image.png](https://wiki.sendsolutions.com.br/uploads/images/gallery/2026-06/scaled-1680-/djZPs9rkSuWn4OBg-image.png)](https://wiki.sendsolutions.com.br/uploads/images/gallery/2026-06/djZPs9rkSuWn4OBg-image.png)

</div></div></div></div></div></div><p class="callout info">Resultado esperado</p>

<div class="text-base my-auto mx-auto pb-10 [--thread-content-margin:var(--thread-content-margin-xs,calc(var(--spacing)*4))] @w-sm/main:[--thread-content-margin:var(--thread-content-margin-sm,calc(var(--spacing)*6))] @w-lg/main:[--thread-content-margin:var(--thread-content-margin-lg,calc(var(--spacing)*16))] px-(--thread-content-margin)"><div class="[--thread-content-max-width:40rem] @w-lg/main:[--thread-content-max-width:48rem] mx-auto max-w-(--thread-content-max-width) flex-1 group/turn-messages focus-visible:outline-hidden relative flex w-full min-w-0 flex-col agent-turn"><div class="flex max-w-full flex-col gap-4 grow"><div class="min-h-8 text-message relative flex w-full flex-col items-end gap-2 text-start break-words whitespace-normal outline-none keyboard-focused:focus-ring [.text-message+&]:mt-1" data-message-author-role="assistant" data-message-id="02ba44db-8cba-4f26-b68f-d5ee03b516db" data-message-model-slug="gpt-5-5" data-turn-start-message="true" dir="auto" tabindex="0"><div class="flex w-full flex-col gap-1 empty:hidden"><div class="markdown prose dark:prose-invert wrap-break-word w-full light markdown-new-styling">- O item da NF deve apresentar: 
    - CST correta;
    - Motivo da desoneração;
    - Valor de ICMS desonerado;
    - Código de benefício:  
        `SEM CBENEF`.
- O valor de desoneração deve estar calculado corretamente.

---

</div></div></div></div></div></div>Passo 06 - Transmitir NF

Ações

<div class="text-base my-auto mx-auto pb-10 [--thread-content-margin:var(--thread-content-margin-xs,calc(var(--spacing)*4))] @w-sm/main:[--thread-content-margin:var(--thread-content-margin-sm,calc(var(--spacing)*6))] @w-lg/main:[--thread-content-margin:var(--thread-content-margin-lg,calc(var(--spacing)*16))] px-(--thread-content-margin)"><div class="[--thread-content-max-width:40rem] @w-lg/main:[--thread-content-max-width:48rem] mx-auto max-w-(--thread-content-max-width) flex-1 group/turn-messages focus-visible:outline-hidden relative flex w-full min-w-0 flex-col agent-turn"><div class="flex max-w-full flex-col gap-4 grow"><div class="min-h-8 text-message relative flex w-full flex-col items-end gap-2 text-start break-words whitespace-normal outline-none keyboard-focused:focus-ring [.text-message+&]:mt-1" data-message-author-role="assistant" data-message-id="02ba44db-8cba-4f26-b68f-d5ee03b516db" data-message-model-slug="gpt-5-5" data-turn-start-message="true" dir="auto" tabindex="0"><div class="flex w-full flex-col gap-1 empty:hidden"><div class="markdown prose dark:prose-invert wrap-break-word w-full light markdown-new-styling">1. Efetuar a transmissão da NF-e.  
    [![image.png](https://wiki.sendsolutions.com.br/uploads/images/gallery/2026-06/scaled-1680-/Ay3sbzvZx94UpSa3-image.png)](https://wiki.sendsolutions.com.br/uploads/images/gallery/2026-06/Ay3sbzvZx94UpSa3-image.png)
2. Aguardar autorização da SEFAZ.  
    [![image.png](https://wiki.sendsolutions.com.br/uploads/images/gallery/2026-06/scaled-1680-/y0Jfb8ZRUZ9h0Xm1-image.png)](https://wiki.sendsolutions.com.br/uploads/images/gallery/2026-06/y0Jfb8ZRUZ9h0Xm1-image.png)

</div></div></div></div></div></div><p class="callout info">Resultado esperado</p>

<div class="text-base my-auto mx-auto pb-10 [--thread-content-margin:var(--thread-content-margin-xs,calc(var(--spacing)*4))] @w-sm/main:[--thread-content-margin:var(--thread-content-margin-sm,calc(var(--spacing)*6))] @w-lg/main:[--thread-content-margin:var(--thread-content-margin-lg,calc(var(--spacing)*16))] px-(--thread-content-margin)"><div class="[--thread-content-max-width:40rem] @w-lg/main:[--thread-content-max-width:48rem] mx-auto max-w-(--thread-content-max-width) flex-1 group/turn-messages focus-visible:outline-hidden relative flex w-full min-w-0 flex-col agent-turn"><div class="flex max-w-full flex-col gap-4 grow"><div class="min-h-8 text-message relative flex w-full flex-col items-end gap-2 text-start break-words whitespace-normal outline-none keyboard-focused:focus-ring [.text-message+&]:mt-1" data-message-author-role="assistant" data-message-id="02ba44db-8cba-4f26-b68f-d5ee03b516db" data-message-model-slug="gpt-5-5" data-turn-start-message="true" dir="auto" tabindex="0"><div class="flex w-full flex-col gap-1 empty:hidden"><div class="markdown prose dark:prose-invert wrap-break-word w-full light markdown-new-styling">- A transmissão deve ocorrer com sucesso.
- O sistema NÃO deve buscar novamente parametrização de ajuste durante a transmissão.
- Deve ser utilizado exatamente o valor gravado no item da NF.

---

</div></div></div></div></div></div>Passo 07 - Validar XML da NF

Ações

<div class="text-base my-auto mx-auto pb-10 [--thread-content-margin:var(--thread-content-margin-xs,calc(var(--spacing)*4))] @w-sm/main:[--thread-content-margin:var(--thread-content-margin-sm,calc(var(--spacing)*6))] @w-lg/main:[--thread-content-margin:var(--thread-content-margin-lg,calc(var(--spacing)*16))] px-(--thread-content-margin)"><div class="[--thread-content-max-width:40rem] @w-lg/main:[--thread-content-max-width:48rem] mx-auto max-w-(--thread-content-max-width) flex-1 group/turn-messages focus-visible:outline-hidden relative flex w-full min-w-0 flex-col agent-turn"><div class="flex max-w-full flex-col gap-4 grow"><div class="min-h-8 text-message relative flex w-full flex-col items-end gap-2 text-start break-words whitespace-normal outline-none keyboard-focused:focus-ring [.text-message+&]:mt-1" data-message-author-role="assistant" data-message-id="02ba44db-8cba-4f26-b68f-d5ee03b516db" data-message-model-slug="gpt-5-5" data-turn-start-message="true" dir="auto" tabindex="0"><div class="flex w-full flex-col gap-1 empty:hidden"><div class="markdown prose dark:prose-invert wrap-break-word w-full light markdown-new-styling">1. Abrir XML autorizado da NF.
2. Localizar as TAGs: 
    - `<cBenef>`
    - `<motDesICMS>`

</div></div></div></div></div></div>[![image.png](https://wiki.sendsolutions.com.br/uploads/images/gallery/2026-06/scaled-1680-/xyJeStDBT8b7C15z-image.png)](https://wiki.sendsolutions.com.br/uploads/images/gallery/2026-06/xyJeStDBT8b7C15z-image.png)

<p class="callout info">Resultado esperado</p>

<div class="text-base my-auto mx-auto pb-10 [--thread-content-margin:var(--thread-content-margin-xs,calc(var(--spacing)*4))] @w-sm/main:[--thread-content-margin:var(--thread-content-margin-sm,calc(var(--spacing)*6))] @w-lg/main:[--thread-content-margin:var(--thread-content-margin-lg,calc(var(--spacing)*16))] px-(--thread-content-margin)"><div class="[--thread-content-max-width:40rem] @w-lg/main:[--thread-content-max-width:48rem] mx-auto max-w-(--thread-content-max-width) flex-1 group/turn-messages focus-visible:outline-hidden relative flex w-full min-w-0 flex-col agent-turn"><div class="flex max-w-full flex-col gap-4 grow"><div class="min-h-8 text-message relative flex w-full flex-col items-end gap-2 text-start break-words whitespace-normal outline-none keyboard-focused:focus-ring [.text-message+&]:mt-1" data-message-author-role="assistant" data-message-id="02ba44db-8cba-4f26-b68f-d5ee03b516db" data-message-model-slug="gpt-5-5" data-turn-start-message="true" dir="auto" tabindex="0"><div class="flex w-full flex-col gap-1 empty:hidden"><div class="markdown prose dark:prose-invert wrap-break-word w-full light markdown-new-styling">- O XML deve conter:

</div></div></div></div></div></div>```
<cBenef>SEM CBENEF</cBenef>
```

<div class="text-base my-auto mx-auto pb-10 [--thread-content-margin:var(--thread-content-margin-xs,calc(var(--spacing)*4))] @w-sm/main:[--thread-content-margin:var(--thread-content-margin-sm,calc(var(--spacing)*6))] @w-lg/main:[--thread-content-margin:var(--thread-content-margin-lg,calc(var(--spacing)*16))] px-(--thread-content-margin)"><div class="[--thread-content-max-width:40rem] @w-lg/main:[--thread-content-max-width:48rem] mx-auto max-w-(--thread-content-max-width) flex-1 group/turn-messages focus-visible:outline-hidden relative flex w-full min-w-0 flex-col agent-turn"><div class="flex max-w-full flex-col gap-4 grow"><div class="min-h-8 text-message relative flex w-full flex-col items-end gap-2 text-start break-words whitespace-normal outline-none keyboard-focused:focus-ring [.text-message+&]:mt-1" data-message-author-role="assistant" data-message-id="02ba44db-8cba-4f26-b68f-d5ee03b516db" data-message-model-slug="gpt-5-5" data-turn-start-message="true" dir="auto" tabindex="0"><div class="flex w-full flex-col gap-1 empty:hidden"><div class="markdown prose dark:prose-invert wrap-break-word w-full light markdown-new-styling"><div class="relative w-full mt-4 mb-1"><div class=""><div class="relative"><div class="h-full min-h-0 min-w-0"><div class="h-full min-h-0 min-w-0"></div></div></div></div></div>- O XML deve conter:

</div></div></div></div></div></div>```
<motDesICMS>9</motDesICMS>
```

<div class="text-base my-auto mx-auto pb-10 [--thread-content-margin:var(--thread-content-margin-xs,calc(var(--spacing)*4))] @w-sm/main:[--thread-content-margin:var(--thread-content-margin-sm,calc(var(--spacing)*6))] @w-lg/main:[--thread-content-margin:var(--thread-content-margin-lg,calc(var(--spacing)*16))] px-(--thread-content-margin)"><div class="[--thread-content-max-width:40rem] @w-lg/main:[--thread-content-max-width:48rem] mx-auto max-w-(--thread-content-max-width) flex-1 group/turn-messages focus-visible:outline-hidden relative flex w-full min-w-0 flex-col agent-turn"><div class="flex max-w-full flex-col gap-4 grow"><div class="min-h-8 text-message relative flex w-full flex-col items-end gap-2 text-start break-words whitespace-normal outline-none keyboard-focused:focus-ring [.text-message+&]:mt-1" data-message-author-role="assistant" data-message-id="02ba44db-8cba-4f26-b68f-d5ee03b516db" data-message-model-slug="gpt-5-5" data-turn-start-message="true" dir="auto" tabindex="0"><div class="flex w-full flex-col gap-1 empty:hidden"><div class="markdown prose dark:prose-invert wrap-break-word w-full light markdown-new-styling"><div class="relative w-full mt-4 mb-1"><div class=""><div class="relative"><div class="h-full min-h-0 min-w-0"><div class="h-full min-h-0 min-w-0"><div class="border border-token-border-light border-radius-3xl corner-superellipse/1.1 rounded-3xl"></div></div></div></div></div></div>- O CST deve ser compatível com o cenário utilizado.

</div></div></div></div></div></div><p class="callout info">Resultado esperado</p>

<div class="text-base my-auto mx-auto pb-10 [--thread-content-margin:var(--thread-content-margin-xs,calc(var(--spacing)*4))] @w-sm/main:[--thread-content-margin:var(--thread-content-margin-sm,calc(var(--spacing)*6))] @w-lg/main:[--thread-content-margin:var(--thread-content-margin-lg,calc(var(--spacing)*16))] px-(--thread-content-margin)"><div class="[--thread-content-max-width:40rem] @w-lg/main:[--thread-content-max-width:48rem] mx-auto max-w-(--thread-content-max-width) flex-1 group/turn-messages focus-visible:outline-hidden relative flex w-full min-w-0 flex-col agent-turn"><div class="flex max-w-full flex-col gap-4 grow"><div class="min-h-8 text-message relative flex w-full flex-col items-end gap-2 text-start break-words whitespace-normal outline-none keyboard-focused:focus-ring [.text-message+&]:mt-1" data-message-author-role="assistant" data-message-id="02ba44db-8cba-4f26-b68f-d5ee03b516db" data-message-model-slug="gpt-5-5" data-turn-start-message="true" dir="auto" tabindex="0"><div class="flex w-full flex-col gap-1 empty:hidden"><div class="markdown prose dark:prose-invert wrap-break-word w-full light markdown-new-styling">- A NF deve estar autorizada.
- O portal da SEFAZ deve apresentar: 
    - Código do benefício:  
        `SEM CBENEF`
- Não deve ocorrer rejeição relacionada ao `CBenef`.

---

</div></div></div></div></div></div>#### **Cenário 02 - Emitir NF com ajuste ICMS parametrizado**

**Objetivo:** Validar que o sistema grave o código de ajuste configurado quando existir parametrização para NCM + CST + UF.

<div class="text-base my-auto mx-auto pb-10 [--thread-content-margin:var(--thread-content-margin-xs,calc(var(--spacing)*4))] @w-sm/main:[--thread-content-margin:var(--thread-content-margin-sm,calc(var(--spacing)*6))] @w-lg/main:[--thread-content-margin:var(--thread-content-margin-lg,calc(var(--spacing)*16))] px-(--thread-content-margin)"><div class="[--thread-content-max-width:40rem] @w-lg/main:[--thread-content-max-width:48rem] mx-auto max-w-(--thread-content-max-width) flex-1 group/turn-messages focus-visible:outline-hidden relative flex w-full min-w-0 flex-col agent-turn"><div class="flex max-w-full flex-col gap-4 grow"><div class="min-h-8 text-message relative flex w-full flex-col items-end gap-2 text-start break-words whitespace-normal outline-none keyboard-focused:focus-ring [.text-message+&]:mt-1" data-message-author-role="assistant" data-message-id="02ba44db-8cba-4f26-b68f-d5ee03b516db" data-message-model-slug="gpt-5-5" data-turn-start-message="true" dir="auto" tabindex="0"><div class="flex w-full flex-col gap-1 empty:hidden"><div class="markdown prose dark:prose-invert wrap-break-word w-full light markdown-new-styling">---

</div></div></div></div></div></div>Passo 01 - Cadastrar ajuste ICMS

Ações

<div class="text-base my-auto mx-auto pb-10 [--thread-content-margin:var(--thread-content-margin-xs,calc(var(--spacing)*4))] @w-sm/main:[--thread-content-margin:var(--thread-content-margin-sm,calc(var(--spacing)*6))] @w-lg/main:[--thread-content-margin:var(--thread-content-margin-lg,calc(var(--spacing)*16))] px-(--thread-content-margin)"><div class="[--thread-content-max-width:40rem] @w-lg/main:[--thread-content-max-width:48rem] mx-auto max-w-(--thread-content-max-width) flex-1 group/turn-messages focus-visible:outline-hidden relative flex w-full min-w-0 flex-col agent-turn"><div class="flex max-w-full flex-col gap-4 grow"><div class="min-h-8 text-message relative flex w-full flex-col items-end gap-2 text-start break-words whitespace-normal outline-none keyboard-focused:focus-ring [.text-message+&]:mt-1" data-message-author-role="assistant" data-message-id="02ba44db-8cba-4f26-b68f-d5ee03b516db" data-message-model-slug="gpt-5-5" data-turn-start-message="true" dir="auto" tabindex="0"><div class="flex w-full flex-col gap-1 empty:hidden"><div class="markdown prose dark:prose-invert wrap-break-word w-full light markdown-new-styling">1. Acessar:  
    **Fiscal &gt; Situação Tributária (ICMS) x Ajuste x Classificação Fiscal** [![image.png](https://wiki.sendsolutions.com.br/uploads/images/gallery/2026-06/scaled-1680-/6ZyYsbGkYn77Qyx3-image.png)](https://wiki.sendsolutions.com.br/uploads/images/gallery/2026-06/6ZyYsbGkYn77Qyx3-image.png)
2. Clicar em:  
    **Inserir  
    [![image.png](https://wiki.sendsolutions.com.br/uploads/images/gallery/2026-06/scaled-1680-/yPRkKS0z0yxE8QxX-image.png)](https://wiki.sendsolutions.com.br/uploads/images/gallery/2026-06/yPRkKS0z0yxE8QxX-image.png)**
3. Informar: 
    - CST;
    - NCM;
    - UF;
    - Código do ajuste ICMS.
4. Confirmar cadastro.  
    [![image.png](https://wiki.sendsolutions.com.br/uploads/images/gallery/2026-06/scaled-1680-/n28gOvc0gvbi6n1Q-image.png)](https://wiki.sendsolutions.com.br/uploads/images/gallery/2026-06/n28gOvc0gvbi6n1Q-image.png)
    
    [![image.png](https://wiki.sendsolutions.com.br/uploads/images/gallery/2026-06/scaled-1680-/J6qW59BC9XxazvU7-image.png)](https://wiki.sendsolutions.com.br/uploads/images/gallery/2026-06/J6qW59BC9XxazvU7-image.png)
5. Caminho para consultar o NCM do produto, caso queiram consultar.  
    [![image.png](https://wiki.sendsolutions.com.br/uploads/images/gallery/2026-06/scaled-1680-/XbRZfJJIOjkUO3Xf-image.png)](https://wiki.sendsolutions.com.br/uploads/images/gallery/2026-06/XbRZfJJIOjkUO3Xf-image.png)

</div></div></div></div></div></div><p class="callout info">Resultado esperado</p>

<div class="text-base my-auto mx-auto pb-10 [--thread-content-margin:var(--thread-content-margin-xs,calc(var(--spacing)*4))] @w-sm/main:[--thread-content-margin:var(--thread-content-margin-sm,calc(var(--spacing)*6))] @w-lg/main:[--thread-content-margin:var(--thread-content-margin-lg,calc(var(--spacing)*16))] px-(--thread-content-margin)"><div class="[--thread-content-max-width:40rem] @w-lg/main:[--thread-content-max-width:48rem] mx-auto max-w-(--thread-content-max-width) flex-1 group/turn-messages focus-visible:outline-hidden relative flex w-full min-w-0 flex-col agent-turn"><div class="flex max-w-full flex-col gap-4 grow"><div class="min-h-8 text-message relative flex w-full flex-col items-end gap-2 text-start break-words whitespace-normal outline-none keyboard-focused:focus-ring [.text-message+&]:mt-1" data-message-author-role="assistant" data-message-id="02ba44db-8cba-4f26-b68f-d5ee03b516db" data-message-model-slug="gpt-5-5" data-turn-start-message="true" dir="auto" tabindex="0"><div class="flex w-full flex-col gap-1 empty:hidden"><div class="markdown prose dark:prose-invert wrap-break-word w-full light markdown-new-styling">- O ajuste ICMS deve ser salvo corretamente.
- O cadastro deve ficar ativo para: 
    - CST;
    - UF;
    - NCM informados.

---

</div></div></div></div></div></div>Passo 02 - Emitir nova NF

Ações

<div class="text-base my-auto mx-auto pb-10 [--thread-content-margin:var(--thread-content-margin-xs,calc(var(--spacing)*4))] @w-sm/main:[--thread-content-margin:var(--thread-content-margin-sm,calc(var(--spacing)*6))] @w-lg/main:[--thread-content-margin:var(--thread-content-margin-lg,calc(var(--spacing)*16))] px-(--thread-content-margin)"><div class="[--thread-content-max-width:40rem] @w-lg/main:[--thread-content-max-width:48rem] mx-auto max-w-(--thread-content-max-width) flex-1 group/turn-messages focus-visible:outline-hidden relative flex w-full min-w-0 flex-col agent-turn"><div class="flex max-w-full flex-col gap-4 grow"><div class="min-h-8 text-message relative flex w-full flex-col items-end gap-2 text-start break-words whitespace-normal outline-none keyboard-focused:focus-ring [.text-message+&]:mt-1" data-message-author-role="assistant" data-message-id="02ba44db-8cba-4f26-b68f-d5ee03b516db" data-message-model-slug="gpt-5-5" data-turn-start-message="true" dir="auto" tabindex="0"><div class="flex w-full flex-col gap-1 empty:hidden"><div class="markdown prose dark:prose-invert wrap-break-word w-full light markdown-new-styling">1. Repetir o processo de emissão da NF.  
    [![image.png](https://wiki.sendsolutions.com.br/uploads/images/gallery/2026-06/scaled-1680-/OVeRXTj7rcilfNxz-image.png)](https://wiki.sendsolutions.com.br/uploads/images/gallery/2026-06/OVeRXTj7rcilfNxz-image.png)
2. Gerar nova nota fiscal utilizando: 
    - Mesmo produto;
    - Mesmo NCM;
    - Mesma CST;
    - Mesma UF.

</div></div></div></div></div></div>[![image.png](https://wiki.sendsolutions.com.br/uploads/images/gallery/2026-06/scaled-1680-/QcJ5xRWk1MuHVzGK-image.png)](https://wiki.sendsolutions.com.br/uploads/images/gallery/2026-06/QcJ5xRWk1MuHVzGK-image.png)

[![image.png](https://wiki.sendsolutions.com.br/uploads/images/gallery/2026-06/scaled-1680-/dRkXXTKsYwXLuK8T-image.png)](https://wiki.sendsolutions.com.br/uploads/images/gallery/2026-06/dRkXXTKsYwXLuK8T-image.png)

[![image.png](https://wiki.sendsolutions.com.br/uploads/images/gallery/2026-06/scaled-1680-/crLNIlSxCvp1Odzm-image.png)](https://wiki.sendsolutions.com.br/uploads/images/gallery/2026-06/crLNIlSxCvp1Odzm-image.png)

<p class="callout info">Resultado esperado</p>

<div class="text-base my-auto mx-auto pb-10 [--thread-content-margin:var(--thread-content-margin-xs,calc(var(--spacing)*4))] @w-sm/main:[--thread-content-margin:var(--thread-content-margin-sm,calc(var(--spacing)*6))] @w-lg/main:[--thread-content-margin:var(--thread-content-margin-lg,calc(var(--spacing)*16))] px-(--thread-content-margin)"><div class="[--thread-content-max-width:40rem] @w-lg/main:[--thread-content-max-width:48rem] mx-auto max-w-(--thread-content-max-width) flex-1 group/turn-messages focus-visible:outline-hidden relative flex w-full min-w-0 flex-col agent-turn"><div class="flex max-w-full flex-col gap-4 grow"><div class="min-h-8 text-message relative flex w-full flex-col items-end gap-2 text-start break-words whitespace-normal outline-none keyboard-focused:focus-ring [.text-message+&]:mt-1" data-message-author-role="assistant" data-message-id="02ba44db-8cba-4f26-b68f-d5ee03b516db" data-message-model-slug="gpt-5-5" data-turn-start-message="true" dir="auto" tabindex="0"><div class="flex w-full flex-col gap-1 empty:hidden"><div class="markdown prose dark:prose-invert wrap-break-word w-full light markdown-new-styling">- A NF deve ser emitida normalmente.
- O sistema deve localizar o ajuste ICMS parametrizado.

---

</div></div></div></div></div></div><span style="text-decoration: underline;">Passo 03</span> - Consultar item da NF

Ações

<div class="text-base my-auto mx-auto pb-10 [--thread-content-margin:var(--thread-content-margin-xs,calc(var(--spacing)*4))] @w-sm/main:[--thread-content-margin:var(--thread-content-margin-sm,calc(var(--spacing)*6))] @w-lg/main:[--thread-content-margin:var(--thread-content-margin-lg,calc(var(--spacing)*16))] px-(--thread-content-margin)"><div class="[--thread-content-max-width:40rem] @w-lg/main:[--thread-content-max-width:48rem] mx-auto max-w-(--thread-content-max-width) flex-1 group/turn-messages focus-visible:outline-hidden relative flex w-full min-w-0 flex-col agent-turn"><div class="flex max-w-full flex-col gap-4 grow"><div class="min-h-8 text-message relative flex w-full flex-col items-end gap-2 text-start break-words whitespace-normal outline-none keyboard-focused:focus-ring [.text-message+&]:mt-1" data-message-author-role="assistant" data-message-id="02ba44db-8cba-4f26-b68f-d5ee03b516db" data-message-model-slug="gpt-5-5" data-turn-start-message="true" dir="auto" tabindex="0"><div class="flex w-full flex-col gap-1 empty:hidden"><div class="markdown prose dark:prose-invert wrap-break-word w-full light markdown-new-styling">1. Abrir a NF emitida.
2. Acessar: **Itens**
3. Expandir detalhes do item.  
    [![image.png](https://wiki.sendsolutions.com.br/uploads/images/gallery/2026-06/scaled-1680-/kvZUGvpYkrw2spyA-image.png)](https://wiki.sendsolutions.com.br/uploads/images/gallery/2026-06/kvZUGvpYkrw2spyA-image.png)

</div></div></div></div></div></div><p class="callout info">Resultado esperado</p>

<div class="text-base my-auto mx-auto pb-10 [--thread-content-margin:var(--thread-content-margin-xs,calc(var(--spacing)*4))] @w-sm/main:[--thread-content-margin:var(--thread-content-margin-sm,calc(var(--spacing)*6))] @w-lg/main:[--thread-content-margin:var(--thread-content-margin-lg,calc(var(--spacing)*16))] px-(--thread-content-margin)"><div class="[--thread-content-max-width:40rem] @w-lg/main:[--thread-content-max-width:48rem] mx-auto max-w-(--thread-content-max-width) flex-1 group/turn-messages focus-visible:outline-hidden relative flex w-full min-w-0 flex-col agent-turn"><div class="flex max-w-full flex-col gap-4 grow"><div class="min-h-8 text-message relative flex w-full flex-col items-end gap-2 text-start break-words whitespace-normal outline-none keyboard-focused:focus-ring [.text-message+&]:mt-1" data-message-author-role="assistant" data-message-id="02ba44db-8cba-4f26-b68f-d5ee03b516db" data-message-model-slug="gpt-5-5" data-turn-start-message="true" dir="auto" tabindex="0"><div class="flex w-full flex-col gap-1 empty:hidden"><div class="markdown prose dark:prose-invert wrap-break-word w-full light markdown-new-styling">- O item da NF deve apresentar: 
    - Código do benefício fiscal correspondente ao ajuste cadastrado;
    - Motivo de desoneração correto;
    - Valor desonerado correto.
- O campo NÃO deve apresentar: 
    - `SEM CBENEF`.

---

</div></div></div></div></div></div><span style="text-decoration: underline;">Passo 04</span> - Validar XML

Ações

<div class="text-base my-auto mx-auto pb-10 [--thread-content-margin:var(--thread-content-margin-xs,calc(var(--spacing)*4))] @w-sm/main:[--thread-content-margin:var(--thread-content-margin-sm,calc(var(--spacing)*6))] @w-lg/main:[--thread-content-margin:var(--thread-content-margin-lg,calc(var(--spacing)*16))] px-(--thread-content-margin)"><div class="[--thread-content-max-width:40rem] @w-lg/main:[--thread-content-max-width:48rem] mx-auto max-w-(--thread-content-max-width) flex-1 group/turn-messages focus-visible:outline-hidden relative flex w-full min-w-0 flex-col agent-turn"><div class="flex max-w-full flex-col gap-4 grow"><div class="min-h-8 text-message relative flex w-full flex-col items-end gap-2 text-start break-words whitespace-normal outline-none keyboard-focused:focus-ring [.text-message+&]:mt-1" data-message-author-role="assistant" data-message-id="02ba44db-8cba-4f26-b68f-d5ee03b516db" data-message-model-slug="gpt-5-5" data-turn-start-message="true" dir="auto" tabindex="0"><div class="flex w-full flex-col gap-1 empty:hidden"><div class="markdown prose dark:prose-invert wrap-break-word w-full light markdown-new-styling">1. Abrir XML autorizado.
2. Validar TAG `<cBenef>`.

</div></div></div></div></div></div>[![image.png](https://wiki.sendsolutions.com.br/uploads/images/gallery/2026-06/scaled-1680-/A4rt52zeGT2lwUfy-image.png)](https://wiki.sendsolutions.com.br/uploads/images/gallery/2026-06/A4rt52zeGT2lwUfy-image.png)

<p class="callout info">Resultado esperado</p>

<div class="text-base my-auto mx-auto pb-10 [--thread-content-margin:var(--thread-content-margin-xs,calc(var(--spacing)*4))] @w-sm/main:[--thread-content-margin:var(--thread-content-margin-sm,calc(var(--spacing)*6))] @w-lg/main:[--thread-content-margin:var(--thread-content-margin-lg,calc(var(--spacing)*16))] px-(--thread-content-margin)"><div class="[--thread-content-max-width:40rem] @w-lg/main:[--thread-content-max-width:48rem] mx-auto max-w-(--thread-content-max-width) flex-1 group/turn-messages focus-visible:outline-hidden relative flex w-full min-w-0 flex-col agent-turn"><div class="flex max-w-full flex-col gap-4 grow"><div class="min-h-8 text-message relative flex w-full flex-col items-end gap-2 text-start break-words whitespace-normal outline-none keyboard-focused:focus-ring [.text-message+&]:mt-1" data-message-author-role="assistant" data-message-id="02ba44db-8cba-4f26-b68f-d5ee03b516db" data-message-model-slug="gpt-5-5" data-turn-start-message="true" dir="auto" tabindex="0"><div class="flex w-full flex-col gap-1 empty:hidden"><div class="markdown prose dark:prose-invert wrap-break-word w-full light markdown-new-styling">- O XML deve apresentar o código de ajuste parametrizado.
- Exemplo:

<div class="relative w-full mt-4 mb-1"><div class=""><div class="relative"><div class="h-full min-h-0 min-w-0"><div class="h-full min-h-0 min-w-0"><div class="border border-token-border-light border-radius-3xl corner-superellipse/1.1 rounded-3xl"><div class="h-full w-full border-radius-3xl bg-token-bg-elevated-secondary corner-superellipse/1.1 overflow-clip rounded-3xl lxnfua_clipPathFallback"><div class="relative"><div class=""><div class="relative z-0 flex max-w-full"></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div>```
<cBenef>SP000299</cBenef>
```

<div class="text-base my-auto mx-auto pb-10 [--thread-content-margin:var(--thread-content-margin-xs,calc(var(--spacing)*4))] @w-sm/main:[--thread-content-margin:var(--thread-content-margin-sm,calc(var(--spacing)*6))] @w-lg/main:[--thread-content-margin:var(--thread-content-margin-lg,calc(var(--spacing)*16))] px-(--thread-content-margin)"><div class="[--thread-content-max-width:40rem] @w-lg/main:[--thread-content-max-width:48rem] mx-auto max-w-(--thread-content-max-width) flex-1 group/turn-messages focus-visible:outline-hidden relative flex w-full min-w-0 flex-col agent-turn"><div class="flex max-w-full flex-col gap-4 grow"><div class="min-h-8 text-message relative flex w-full flex-col items-end gap-2 text-start break-words whitespace-normal outline-none keyboard-focused:focus-ring [.text-message+&]:mt-1" data-message-author-role="assistant" data-message-id="02ba44db-8cba-4f26-b68f-d5ee03b516db" data-message-model-slug="gpt-5-5" data-turn-start-message="true" dir="auto" tabindex="0"><div class="flex w-full flex-col gap-1 empty:hidden"><div class="markdown prose dark:prose-invert wrap-break-word w-full light markdown-new-styling"><div class="relative w-full mt-4 mb-1"><div class=""><div class="relative"></div></div></div>- O XML não deve apresentar:

<div class="relative w-full mt-4 mb-1"><div class=""><div class="relative"><div class="h-full min-h-0 min-w-0"><div class="h-full min-h-0 min-w-0"><div class="border border-token-border-light border-radius-3xl corner-superellipse/1.1 rounded-3xl"><div class="h-full w-full border-radius-3xl bg-token-bg-elevated-secondary corner-superellipse/1.1 overflow-clip rounded-3xl lxnfua_clipPathFallback"><div class="relative"><div class=""><div class="relative z-0 flex max-w-full"></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div>```
<cBenef>SEM CBENEF</cBenef>
```

<div class="text-base my-auto mx-auto pb-10 [--thread-content-margin:var(--thread-content-margin-xs,calc(var(--spacing)*4))] @w-sm/main:[--thread-content-margin:var(--thread-content-margin-sm,calc(var(--spacing)*6))] @w-lg/main:[--thread-content-margin:var(--thread-content-margin-lg,calc(var(--spacing)*16))] px-(--thread-content-margin)"><div class="[--thread-content-max-width:40rem] @w-lg/main:[--thread-content-max-width:48rem] mx-auto max-w-(--thread-content-max-width) flex-1 group/turn-messages focus-visible:outline-hidden relative flex w-full min-w-0 flex-col agent-turn"><div class="flex max-w-full flex-col gap-4 grow"><div class="min-h-8 text-message relative flex w-full flex-col items-end gap-2 text-start break-words whitespace-normal outline-none keyboard-focused:focus-ring [.text-message+&]:mt-1" data-message-author-role="assistant" data-message-id="02ba44db-8cba-4f26-b68f-d5ee03b516db" data-message-model-slug="gpt-5-5" data-turn-start-message="true" dir="auto" tabindex="0"><div class="flex w-full flex-col gap-1 empty:hidden"><div class="markdown prose dark:prose-invert wrap-break-word w-full light markdown-new-styling">---

</div></div></div></div></div></div><p class="callout success">Validação final</p>

<div class="text-base my-auto mx-auto pb-10 [--thread-content-margin:var(--thread-content-margin-xs,calc(var(--spacing)*4))] @w-sm/main:[--thread-content-margin:var(--thread-content-margin-sm,calc(var(--spacing)*6))] @w-lg/main:[--thread-content-margin:var(--thread-content-margin-lg,calc(var(--spacing)*16))] px-(--thread-content-margin)"><div class="[--thread-content-max-width:40rem] @w-lg/main:[--thread-content-max-width:48rem] mx-auto max-w-(--thread-content-max-width) flex-1 group/turn-messages focus-visible:outline-hidden relative flex w-full min-w-0 flex-col agent-turn"><div class="flex max-w-full flex-col gap-4 grow"><div class="min-h-8 text-message relative flex w-full flex-col items-end gap-2 text-start break-words whitespace-normal outline-none keyboard-focused:focus-ring [.text-message+&]:mt-1" data-message-author-role="assistant" data-message-id="02ba44db-8cba-4f26-b68f-d5ee03b516db" data-message-model-slug="gpt-5-5" data-turn-start-message="true" dir="auto" tabindex="0"><div class="flex w-full flex-col gap-1 empty:hidden"><div class="markdown prose dark:prose-invert wrap-break-word w-full light markdown-new-styling">- O sistema identifica benefício fiscal já na geração da NF;
- O sistema grava automaticamente `"SEM CBENEF"` sem necessidade de parametrização manual;
- O sistema grava corretamente código de ajuste quando existir parametrização;
- O XML for gerado corretamente;
- A NF foi autorizada pela SEFAZ;
- A transmissão utilizar exatamente o valor gravado na NF;
- Não ocorrer rejeição por ausência de `CBenef`;
- O usuário não precisa cadastrar parametrizações exponenciais de `"SEM CBENEF"` por UF + CST + NCM.

</div></div></div></div></div></div></section></div></div></div><div class="text-base my-auto mx-auto pb-10 [--thread-content-margin:var(--thread-content-margin-xs,calc(var(--spacing)*4))] @w-sm/main:[--thread-content-margin:var(--thread-content-margin-sm,calc(var(--spacing)*6))] @w-lg/main:[--thread-content-margin:var(--thread-content-margin-lg,calc(var(--spacing)*16))] px-(--thread-content-margin)"><div class="[--thread-content-max-width:40rem] @w-lg/main:[--thread-content-max-width:48rem] mx-auto max-w-(--thread-content-max-width) flex-1 group/turn-messages focus-visible:outline-hidden relative flex w-full min-w-0 flex-col agent-turn"><div class="flex max-w-full flex-col gap-4 grow"><div class="min-h-8 text-message relative flex w-full flex-col items-end gap-2 text-start break-words whitespace-normal outline-none keyboard-focused:focus-ring [.text-message+&]:mt-1" data-message-author-role="assistant" data-message-id="2f9534a7-0c7d-47c4-8f4b-5fc0f4e851e9" data-message-model-slug="gpt-5-5" data-turn-start-message="true" dir="auto" tabindex="0"><div class="flex w-full flex-col gap-1 empty:hidden"><div class="markdown prose dark:prose-invert wrap-break-word w-full light markdown-new-styling">---

</div></div></div></div></div></div></section></div></div></div></div></div></div></div></main></div></div></div></div></div></div>#### [![image.png](https://wiki.sendsolutions.com.br/uploads/images/gallery/2026-05/scaled-1680-/T0DZNDRLE6zQdtfj-image.png)](https://wiki.sendsolutions.com.br/uploads/images/gallery/2026-05/T0DZNDRLE6zQdtfj-image.png)

<p class="callout danger">**ATENÇÃO: As informações neste documento são meramente ilustrativas e utilizadas apenas para fins de teste.**</p>