• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

wmixvideo / nfe / #9106

22 May 2026 12:03PM UTC coverage: 50.605% (+23.6%) from 26.996%
#9106

push

web-flow
feat: suporte a CNPJ alfanumérico em chaves NF-e, CT-e e campos CNPJ (#1165)

* feat: adicionando schema 1.14 para cte 4.00

* feat: removendo validacao de apenas numerico no identificador

* feat: removendo validacao de apenas numerico no identificador

* test: adicionando teste

* test: adicionando teste

* test: adicionando teste

* feat: cnpj, chave de cte e nfe para aceitar alfanumerico

---------

Co-authored-by: Matteus Colins Moreira <matteuscolins@Colinss-MacBook-Pro.local>
Co-authored-by: Matteus Colins <matteusc.moreira@gmail.com>
Co-authored-by: Diego Fincatto <58352+fincatto@users.noreply.github.com>

39 of 84 new or added lines in 75 files covered. (46.43%)

2960 existing lines in 403 files now uncovered.

14856 of 29357 relevant lines covered (50.6%)

0.51 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

71.43
/src/main/java/com/fincatto/documentofiscal/nfe310/classes/nota/NFImpostoDevolvido.java
1
package com.fincatto.documentofiscal.nfe310.classes.nota;
2

3
import com.fincatto.documentofiscal.DFBase;
4
import com.fincatto.documentofiscal.validadores.DFBigDecimalValidador;
5
import org.simpleframework.xml.Element;
6

7
import java.math.BigDecimal;
8

9
public class NFImpostoDevolvido extends DFBase {
1✔
10
    private static final long serialVersionUID = 3300133386344205418L;
11
    
12
    @Element(name = "pDevol")
13
    private String percentualDevolucao;
14
    
15
    @Element(name = "IPI")
16
    private NFInformacaoImpostoDevolvido informacaoIPIDevolvido;
17

18
    public String getPercentualDevolucao() {
UNCOV
19
        return this.percentualDevolucao;
×
20
    }
21

22
    public void setPercentualDevolucao(final BigDecimal percentualDevolucao) {
23
        this.percentualDevolucao = DFBigDecimalValidador.tamanho5Com2CasasDecimais(percentualDevolucao, "Percentual Devolucao");
1✔
24
    }
1✔
25

26
    public NFInformacaoImpostoDevolvido getInformacaoIPIDevolvido() {
UNCOV
27
        return this.informacaoIPIDevolvido;
×
28
    }
29

30
    public void setInformacaoIPIDevolvido(final NFInformacaoImpostoDevolvido informacaoIPIDevolvido) {
31
        this.informacaoIPIDevolvido = informacaoIPIDevolvido;
1✔
32
    }
1✔
33
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc