• 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

0.0
/src/main/java/com/fincatto/documentofiscal/nfe310/classes/evento/downloadnf/Any.java
1
package com.fincatto.documentofiscal.nfe310.classes.evento.downloadnf;
2

3
import com.fincatto.documentofiscal.DFBase;
4
import com.fincatto.documentofiscal.nfe310.classes.NFProtocolo;
5
import com.fincatto.documentofiscal.nfe310.classes.nota.NFNota;
6
import org.simpleframework.xml.Attribute;
7
import org.simpleframework.xml.Element;
8
import org.simpleframework.xml.Namespace;
9
import org.simpleframework.xml.Root;
10

11
@Root(name = "nfeProc")
12
@Namespace(reference = "http://www.portalfiscal.inf.br/nfe")
13
public class Any extends DFBase {
14
    private static final long serialVersionUID = 4770990764329708815L;
15
    
16
    @Attribute(name = "versao")
17
    private String versao;
18

19
    @Element(name = "NFe", required = false)
20
    private NFNota nota;
21

22
    @Element(name = "protNFe", required = false)
23
    private NFProtocolo protocolo;
24

UNCOV
25
    public Any() {
×
26
        this.versao = null;
×
27
        this.nota = null;
×
28
        this.protocolo = null;
×
29
    }
×
30

31
    public String getVersao() {
UNCOV
32
        return this.versao;
×
33
    }
34

35
    public void setVersao(final String versao) {
UNCOV
36
        this.versao = versao;
×
37
    }
×
38

39
    public NFNota getNota() {
UNCOV
40
        return this.nota;
×
41
    }
42

43
    public void setNota(final NFNota nota) {
UNCOV
44
        this.nota = nota;
×
45
    }
×
46

47
    public NFProtocolo getProtocolo() {
UNCOV
48
        return this.protocolo;
×
49
    }
50

51
    public void setProtocolo(final NFProtocolo protocolo) {
UNCOV
52
        this.protocolo = protocolo;
×
53
    }
×
54
}
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