Skip to content

Commit 9537086

Browse files
Adicionado novos eventos
1 parent 21109b5 commit 9537086

120 files changed

Lines changed: 16292 additions & 152 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
# Notas de versão
2-
- Atualizado Schemas PL.010b (v1.30)
2+
- Atualizado Schemas PL.010b (v1.30)
3+
- Adicionado novos eventos da reforma Tributaria

README.md

Lines changed: 1 addition & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -40,32 +40,13 @@ dependencies {
4040

4141
Veja a Wiki https://github.com/Samuel-Oliveira/Java_NFe/wiki, para ter um Tutorial Completo.
4242

43-
________________________________________________________________________________________________
44-
# 🚨 Atenção — Reforma Tributária na NF-e / NFC-e
45-
46-
Foram adicionadas as classes com o **layout da Reforma Tributária** a partir da versao 4.00.42.
47-
48-
---
49-
50-
## 💼 Consultoria Especializada
51-
52-
Estamos com uma equipe dedicada exclusivamente à **Reforma Tributária**.
53-
A partir de **Setembro de 2025**, estaremos oferecendo serviços de **consultoria personalizada** para apoiar empresas na migração de seus sistemas para o novo layout.
54-
55-
---
56-
57-
## 📞 Contato
58-
59-
- Discord: `.samueloliveira`
60-
- E-mail: [samuel@swconsultoria.com.br](mailto:samuel@swconsultoria.com.br)
61-
- WhatsApp/Telefone: **(62) 99306-6546**
62-
6343
________________________________________________________________________________________________
6444

6545
# Historico de Versões
6646

6747
## v4.00.46 - 06/12/2025 - Schemas PL.010b (v1.30)
6848
- Atualizado Schemas PL.010b (v1.30)
49+
- Adicionado novos eventos da reforma Tributaria (Ver exemplo em: https://github.com/Samuel-Oliveira/Java_NFe/blob/master/src/test/java/br/com/swconsultoria/nfe/exemplos/EventoGenerico.java)
6950

7051
## v4.00.45 - 09/11/2025 - Schemas PL.010b (v1.1)
7152
- Adicionado Conculta ao JSON dos CST/Cclasstrib do IBSCBS

schemas/e110001_v1.00.xsd

Lines changed: 77 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,77 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!-- edited with XMLSpy v2008 (http://www.altova.com) by sas-software@procergs.rs.gov.br (PROCERGS) -->
3+
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://www.portalfiscal.inf.br/nfe"
4+
targetNamespace="http://www.portalfiscal.inf.br/nfe" elementFormDefault="qualified"
5+
attributeFormDefault="unqualified">
6+
<xs:include schemaLocation="tiposBasico_v1.03.xsd"/>
7+
<xs:element name="detEvento">
8+
<xs:annotation>
9+
<xs:documentation>Informações do Cancelamento de evento</xs:documentation>
10+
</xs:annotation>
11+
<xs:complexType>
12+
<xs:sequence>
13+
<xs:element name="descEvento">
14+
<xs:annotation>
15+
<xs:documentation>Informar “Cancelamento de Evento"</xs:documentation>
16+
</xs:annotation>
17+
<xs:simpleType>
18+
<xs:restriction base="xs:string">
19+
<xs:enumeration value="Cancelamento de Evento"/>
20+
</xs:restriction>
21+
</xs:simpleType>
22+
</xs:element>
23+
<xs:element name="cOrgaoAutor" type="TCodUfIBGE">
24+
<xs:annotation>
25+
<xs:documentation>Código do Órgão Autor do Evento. Informar o Código da UF para este Evento.</xs:documentation>
26+
</xs:annotation>
27+
</xs:element>
28+
<xs:element name="verAplic" type="TVerAplic">
29+
<xs:annotation>
30+
<xs:documentation>Versão do Aplicativo que recebeu o Evento</xs:documentation>
31+
</xs:annotation>
32+
</xs:element>
33+
<xs:element name="tpEventoAut">
34+
<xs:annotation>
35+
<xs:documentation>Código do evento autorizado a ser cancelado</xs:documentation>
36+
</xs:annotation>
37+
<xs:simpleType>
38+
<xs:restriction base="xs:string">
39+
<xs:enumeration value="112110"/>
40+
<xs:enumeration value="112120"/>
41+
<xs:enumeration value="112130"/>
42+
<xs:enumeration value="112140"/>
43+
<xs:enumeration value="112150"/>
44+
<xs:enumeration value="211110"/>
45+
<xs:enumeration value="211120"/>
46+
<xs:enumeration value="211124"/>
47+
<xs:enumeration value="211128"/>
48+
<xs:enumeration value="211130"/>
49+
<xs:enumeration value="211140"/>
50+
<xs:enumeration value="211150"/>
51+
<xs:enumeration value="212110"/>
52+
<xs:enumeration value="212120"/>
53+
<xs:enumeration value="412120"/>
54+
<xs:enumeration value="412130"/>
55+
</xs:restriction>
56+
</xs:simpleType>
57+
</xs:element>
58+
<xs:element name="nProtEvento" type="TProt">
59+
<xs:annotation>
60+
<xs:documentation>Informar o número do Protocolo de Autorização do Evento a ser cancelado</xs:documentation>
61+
</xs:annotation>
62+
</xs:element>
63+
</xs:sequence>
64+
<xs:attribute name="versao">
65+
<xs:annotation>
66+
<xs:documentation>Versão do leiaute do evento </xs:documentation>
67+
</xs:annotation>
68+
<xs:simpleType>
69+
<xs:restriction base="xs:string">
70+
<xs:whiteSpace value="preserve"/>
71+
<xs:enumeration value="1.00"/>
72+
</xs:restriction>
73+
</xs:simpleType>
74+
</xs:attribute>
75+
</xs:complexType>
76+
</xs:element>
77+
</xs:schema>

schemas/e112110_v1.00.xsd

Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!-- edited with XMLSpy v2008 (http://www.altova.com) by sas-software@procergs.rs.gov.br (PROCERGS) -->
3+
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://www.portalfiscal.inf.br/nfe"
4+
targetNamespace="http://www.portalfiscal.inf.br/nfe" elementFormDefault="qualified"
5+
attributeFormDefault="unqualified">
6+
<xs:include schemaLocation="tiposBasico_v1.03.xsd"/>
7+
<xs:element name="detEvento">
8+
<xs:annotation>
9+
<xs:documentation>Informações do Evento de Informação de efetivo pagamento integral para liberar crédito presumido do adquirente</xs:documentation>
10+
</xs:annotation>
11+
<xs:complexType>
12+
<xs:sequence>
13+
<xs:element name="descEvento">
14+
<xs:annotation>
15+
<xs:documentation>Descrição do Evento de Informação de efetivo pagamento integral para liberar crédito presumido do adquirente</xs:documentation>
16+
</xs:annotation>
17+
<xs:simpleType>
18+
<xs:restriction base="xs:string">
19+
<xs:enumeration value="Informação de efetivo pagamento integral para liberar crédito presumido do adquirente"/>
20+
</xs:restriction>
21+
</xs:simpleType>
22+
</xs:element>
23+
<xs:element name="cOrgaoAutor" type="TCodUfIBGE">
24+
<xs:annotation>
25+
<xs:documentation>Código do Órgão Autor do Evento. Informar o Código da UF para este Evento.</xs:documentation>
26+
</xs:annotation>
27+
</xs:element>
28+
<xs:element name="tpAutor">
29+
<xs:annotation>
30+
<xs:documentation>Informar 1=Empresa emitente
31+
Valores: 1=Empresa Emitente, 2=Empresa destinatária; 3=Empresa; 5=Fisco;6=RFB; 9=Outros Órgãos;
32+
</xs:documentation>
33+
</xs:annotation>
34+
<xs:simpleType>
35+
<xs:restriction base="xs:string">
36+
<xs:enumeration value="1"/>
37+
</xs:restriction>
38+
</xs:simpleType>
39+
</xs:element>
40+
<xs:element name="verAplic" type="TVerAplic">
41+
<xs:annotation>
42+
<xs:documentation>Versão do Aplicativo que recebeu o Evento</xs:documentation>
43+
</xs:annotation>
44+
</xs:element>
45+
<xs:element name="indQuitacao">
46+
<xs:annotation>
47+
<xs:documentation>Indicador de efetiva quitação do pagamento integral referente a NFe referenciada.
48+
Valor deve ser igual a "1"
49+
</xs:documentation>
50+
</xs:annotation>
51+
<xs:simpleType>
52+
<xs:restriction base="xs:string">
53+
<xs:enumeration value="1"/>
54+
</xs:restriction>
55+
</xs:simpleType>
56+
</xs:element>
57+
</xs:sequence>
58+
<xs:attribute name="versao">
59+
<xs:annotation>
60+
<xs:documentation>Versão do leiaute do evento </xs:documentation>
61+
</xs:annotation>
62+
<xs:simpleType>
63+
<xs:restriction base="xs:string">
64+
<xs:whiteSpace value="preserve"/>
65+
<xs:enumeration value="1.00"/>
66+
</xs:restriction>
67+
</xs:simpleType>
68+
</xs:attribute>
69+
</xs:complexType>
70+
</xs:element>
71+
</xs:schema>

schemas/e112120_v1.00 .xsd

Lines changed: 109 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,109 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!-- edited with XMLSpy v2008 (http://www.altova.com) by sas-software@procergs.rs.gov.br (PROCERGS) -->
3+
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://www.portalfiscal.inf.br/nfe"
4+
targetNamespace="http://www.portalfiscal.inf.br/nfe" elementFormDefault="qualified"
5+
attributeFormDefault="unqualified">
6+
<xs:include schemaLocation="tiposBasico_v1.03.xsd"/>
7+
<xs:element name="detEvento">
8+
<xs:annotation>
9+
<xs:documentation>Informações do Evento de Importação em ALC/ZFM não convertida em isenção</xs:documentation>
10+
</xs:annotation>
11+
<xs:complexType>
12+
<xs:sequence>
13+
<xs:element name="descEvento">
14+
<xs:annotation>
15+
<xs:documentation>Descrição do evento: "Importação em ALC/ZFM não convertida em isenção"</xs:documentation>
16+
</xs:annotation>
17+
<xs:simpleType>
18+
<xs:restriction base="xs:string">
19+
<xs:enumeration value="Importação em ALC/ZFM não convertida em isenção"/>
20+
</xs:restriction>
21+
</xs:simpleType>
22+
</xs:element>
23+
<xs:element name="cOrgaoAutor" type="TCodUfIBGE">
24+
<xs:annotation>
25+
<xs:documentation>Código do Órgão Autor do Evento. Informar o Código da UF para este Evento.</xs:documentation>
26+
</xs:annotation>
27+
</xs:element>
28+
<xs:element name="tpAutor">
29+
<xs:annotation>
30+
<xs:documentation>Informar 1=Empresa emitente
31+
Valores: 1=Empresa Emitente, 2=Empresa destinatária; 3=Empresa; 5=Fisco;6=RFB; 9=Outros Órgãos;
32+
</xs:documentation>
33+
</xs:annotation>
34+
<xs:simpleType>
35+
<xs:restriction base="xs:string">
36+
<xs:enumeration value="1"/>
37+
</xs:restriction>
38+
</xs:simpleType>
39+
</xs:element>
40+
<xs:element name="verAplic" type="TVerAplic">
41+
<xs:annotation>
42+
<xs:documentation>Versão do Aplicativo que recebeu o Evento</xs:documentation>
43+
</xs:annotation>
44+
</xs:element>
45+
<xs:element name="gConsumo" maxOccurs="990">
46+
<xs:annotation>
47+
<xs:documentation>Informações de itens integrados ao ativo imobilizado</xs:documentation>
48+
</xs:annotation>
49+
<xs:complexType>
50+
<xs:sequence>
51+
<xs:element name="vIBS" type="TDec_1302">
52+
<xs:annotation>
53+
<xs:documentation>Valor do IBS correspondente à quantidade que não atendeu aos requisitos para a conversão em isenção</xs:documentation>
54+
</xs:annotation>
55+
</xs:element>
56+
<xs:element name="vCBS" type="TDec_1302">
57+
<xs:annotation>
58+
<xs:documentation>Valor do CBS correspondente à quantidade que não atendeu aos requisitos para a conversão em isenção</xs:documentation>
59+
</xs:annotation>
60+
</xs:element>
61+
<xs:element name="gControleEstoque">
62+
<xs:complexType>
63+
<xs:sequence>
64+
<xs:element name="qtde" type="TDec_1104">
65+
<xs:annotation>
66+
<xs:documentation>Informar a quantidade que não atendeu os requisitos para a conversão em isenção</xs:documentation>
67+
</xs:annotation>
68+
</xs:element>
69+
<xs:element name="unidade">
70+
<xs:annotation>
71+
<xs:documentation>Informar a unidade relativa ao campo gConsumo</xs:documentation>
72+
</xs:annotation>
73+
<xs:simpleType>
74+
<xs:restriction base="TString">
75+
<xs:maxLength value="6"/>
76+
<xs:minLength value="1"/>
77+
</xs:restriction>
78+
</xs:simpleType>
79+
</xs:element>
80+
</xs:sequence>
81+
</xs:complexType>
82+
</xs:element>
83+
</xs:sequence>
84+
<xs:attribute name="nItem" type="TnItem" use="required">
85+
<xs:annotation>
86+
<xs:documentation>Corresponde ao atributo “nItem” do elemento “det” da NF-e de importação </xs:documentation>
87+
</xs:annotation>
88+
</xs:attribute>
89+
</xs:complexType>
90+
</xs:element>
91+
</xs:sequence>
92+
<xs:attribute name="versao">
93+
<xs:annotation>
94+
<xs:documentation>Versão do leiaute do evento </xs:documentation>
95+
</xs:annotation>
96+
<xs:simpleType>
97+
<xs:restriction base="xs:string">
98+
<xs:whiteSpace value="preserve"/>
99+
<xs:enumeration value="1.00"/>
100+
</xs:restriction>
101+
</xs:simpleType>
102+
</xs:attribute>
103+
</xs:complexType>
104+
<xs:unique name="pk_nItem">
105+
<xs:selector xpath="./*"/>
106+
<xs:field xpath="@nItem"/>
107+
</xs:unique>
108+
</xs:element>
109+
</xs:schema>

0 commit comments

Comments
 (0)