• 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

75.0
/src/main/java/com/fincatto/documentofiscal/nfe310/classes/nota/NFNotaInfoCanaDeducao.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 com.fincatto.documentofiscal.validadores.DFStringValidador;
6
import org.simpleframework.xml.Element;
7

8
import java.math.BigDecimal;
9

10
public class NFNotaInfoCanaDeducao extends DFBase {
1✔
11
    private static final long serialVersionUID = 5519359886554978924L;
12
    
13
    @Element(name = "xDed")
14
    private String descricaoDeducao;
15
    
16
    @Element(name = "vDed")
17
    private String valorDeducao;
18

19
    public void setDescricaoDeducao(final String descricaoDeducao) {
20
        DFStringValidador.tamanho60(descricaoDeducao, "Descricao Deducao");
1✔
21
        this.descricaoDeducao = descricaoDeducao;
1✔
22
    }
1✔
23

24
    public void setValorDeducao(final BigDecimal valorDeducao) {
25
        this.valorDeducao = DFBigDecimalValidador.tamanho15Com2CasasDecimais(valorDeducao, "Valor Deducao");
1✔
26
    }
1✔
27

28
    public String getDescricaoDeducao() {
UNCOV
29
        return this.descricaoDeducao;
×
30
    }
31

32
    public String getValorDeducao() {
UNCOV
33
        return this.valorDeducao;
×
34
    }
35
}
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