feat: tpImp=6 (DANFE Simplificado Tipo 2) no enum TipoImpressao#87
Open
honjoya wants to merge 3 commits into
Open
feat: tpImp=6 (DANFE Simplificado Tipo 2) no enum TipoImpressao#87honjoya wants to merge 3 commits into
honjoya wants to merge 3 commits into
Conversation
Adiciona tiSimplificadoTipo2 enum
There was a problem hiding this comment.
Pull request overview
Adiciona suporte ao novo valor tpImp=6 (DANFE Simplificado Tipo 2) no modelo de domínio da NF-e, permitindo serialização/desserialização do XML conforme a atualização normativa citada no PR.
Changes:
- Inclui o novo valor
tiSimplificadoTipo2 = 6no enumTipoImpressao, comXmlEnum("6")eDescription. - Ajusta a documentação do enum para incluir o item 6 e corrige a pontuação do item 5.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| /// <para>4 - DANFe NFC-e;</para> | ||
| /// <para>5 - DANFe NFC-e em mensagem eletrônica</para> | ||
| /// <para>5 - DANFe NFC-e em mensagem eletrônica;</para> | ||
| /// <para>6 - DANFe Simplificado Tipo 2</para> |
| tiMsgEletronica = 5, | ||
|
|
||
| /// <summary> | ||
| /// 6 - DANFe Simplificado Tipo 2 (NF-e modelo 55 em layout de cupom — Ajuste SINIEF 13/26, NT 2026.002) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Resumo
Adiciona o valor tiSimplificadoTipo2 = 6 ao enum de tipo de impressao do DANFE (tag tpImp), conforme NT 2026.002/2026.003 e Ajustes SINIEF 32/2025 e 13/2026 — DANFE Simplificado Tipo 2 para NF-e modelo 55 no varejo. Producao: 03/08/2026.
Consumido pelo emissor (nfe/dfetech-product-invoice-api, branch feat/danfe-simplificado-tipo-2) na conversao do XML (tpImp=6) e pelo renderizador novo no nfe/DanfeSharp#48.
Testes
Cobertura no emissor: mapeamento PrintType -> tiSimplificadoTipo2 (NfeConvertTpImp6Tests) e gate de emissao tpImp=6.