• 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

42.11
/src/main/java/com/fincatto/documentofiscal/nfe400/classes/nota/NFNotaInfoTotal.java
1
package com.fincatto.documentofiscal.nfe400.classes.nota;
2

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

8
/**
9
 * W01
10
 */
11
public class NFNotaInfoTotal extends DFBase {
1✔
12
    private static final long serialVersionUID = 4579495471129802055L;
13
    
14
    @Element(name = "ICMSTot")
15
    private NFNotaInfoICMSTotal icmsTotal;
16

17
    @Element(name = "ISSQNtot", required = false)
18
    private NFNotaInfoISSQNTotal issqnTotal;
19

20
    @Element(name = "retTrib", required = false)
21
    private NFNotaInfoRetencoesTributos retencoesTributos;
22
    
23
    @Element(name = "ISTot", required = false)
24
    private NFNotaInfoISTot isTot; // W31
25
    
26
    @Element(name = "IBSCBSTot", required = false)
27
    private NFNotaInfoIBSCBSTot ibscbsTot; // W34
28
    
29
    @Element(name = "vNFTot", required = false)
30
    private String vNFTot; // W60
31

32
    public void setIcmsTotal(final NFNotaInfoICMSTotal icmsTotal) {
33
        this.icmsTotal = icmsTotal;
1✔
34
    }
1✔
35

36
    public void setIssqnTotal(final NFNotaInfoISSQNTotal issqnTotal) {
37
        this.issqnTotal = issqnTotal;
1✔
38
    }
1✔
39

40
    public void setRetencoesTributos(final NFNotaInfoRetencoesTributos retencoesTributos) {
41
        this.retencoesTributos = retencoesTributos;
1✔
42
    }
1✔
43

44
    public NFNotaInfoICMSTotal getIcmsTotal() {
45
        return this.icmsTotal;
1✔
46
    }
47

48
    public NFNotaInfoISSQNTotal getIssqnTotal() {
UNCOV
49
        return this.issqnTotal;
×
50
    }
51

52
    public NFNotaInfoRetencoesTributos getRetencoesTributos() {
UNCOV
53
        return this.retencoesTributos;
×
54
    }
55

56
    public NFNotaInfoISTot getIsTot() {
UNCOV
57
        return isTot;
×
58
    }
59

60
    public void setIsTot(NFNotaInfoISTot isTot) {
UNCOV
61
        this.isTot = isTot;
×
UNCOV
62
    }
×
63

64
    public NFNotaInfoIBSCBSTot getIbscbsTot() {
UNCOV
65
        return ibscbsTot;
×
66
    }
67

68
    public void setIbscbsTot(NFNotaInfoIBSCBSTot ibscbsTot) {
UNCOV
69
        this.ibscbsTot = ibscbsTot;
×
UNCOV
70
    }
×
71

72
    public String getVNFTot() {
UNCOV
73
        return vNFTot;
×
74
    }
75

76
    public void setVNFTot(BigDecimal vNFTot) {
UNCOV
77
        this.vNFTot = DFBigDecimalValidador.tamanho13Com2CasasDecimais(vNFTot, "Valor total da NF-e com IBS / CBS / IS");
×
UNCOV
78
    }
×
79
    
80
}
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