Skip to content

Commit 22c8927

Browse files
committed
merge
2 parents 2cf41ed + 4783999 commit 22c8927

Some content is hidden

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

65 files changed

+63334
-122
lines changed

CHANGELOG.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,5 @@
11
# Notas de versão
2-
- Atualizado URL Consulta Cadastro RS
2+
- Atualizado WebServices NFCe Ceara
3+
- Atualizado CACERT
4+
- Adicionado QrCode NFC-e V3
5+
- Adicionado Layout Reforma Tributária

README.md

Lines changed: 62 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Java-NFe [![MIT License](https://img.shields.io/github/license/Samuel-Oliveira/Java_NFe.svg) ](https://github.com/Samuel-Oliveira/Java_NFe/blob/master/LICENSE) [![Maven Central](https://img.shields.io/maven-central/v/br.com.swconsultoria/java-nfe.svg?label=Maven%20Central)](https://search.maven.org/artifact/br.com.swconsultoria/java-nfe/4.00.38/jar)
1+
# Java-NFe [![MIT License](https://img.shields.io/github/license/Samuel-Oliveira/Java_NFe.svg) ](https://github.com/Samuel-Oliveira/Java_NFe/blob/master/LICENSE) [![Maven Central](https://img.shields.io/maven-central/v/br.com.swconsultoria/java-nfe.svg?label=Maven%20Central)](https://search.maven.org/artifact/br.com.swconsultoria/java-nfe/4.00.39/jar)
22
Biblioteca Java para consumo do WebService de NFe/NFCe
33

44
### Powered by
@@ -22,7 +22,7 @@ Para Iniciar :
2222
<dependency>
2323
<groupId>br.com.swconsultoria</groupId>
2424
<artifactId>java-nfe</artifactId>
25-
<version>4.00.38</version>
25+
<version>4.00.39</version>
2626
</dependency>
2727
```
2828

@@ -34,16 +34,75 @@ repositories {
3434
}
3535
}
3636
dependencies {
37-
implementation "br.com.swconsultoria:java-nfe:4.00.38"
37+
implementation "br.com.swconsultoria:java-nfe:4.00.39"
3838
}
3939
```
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**.
47+
Para garantir que não haja impacto nos sistemas em produção, **todas as novas classes estão isoladas** no seguinte pacote: br.com.swconsultoria.nfe.schema_rt.nfe
48+
49+
---
50+
51+
## 🧠 O que muda?
52+
53+
A reforma, neste momento, afeta apenas as seguintes funções:
54+
55+
- 🔍 `consultaRecibo` — Consulta NF-e / NFC-e Assíncrona
56+
- 🧾 `montaNfe` — Montagem, Assinatura e Validação do XML
57+
- 🚀 `enviarNfe` — Envio de NF-e / NFC-e
58+
59+
Para utilizar essas funções adaptadas à Reforma Tributária, utilize a classe: **NfeRT**
60+
61+
---
62+
63+
## 📦 Schemas XSD
64+
65+
Foi adicionado um arquivo ZIP com os novos schemas: **schemas_rt.zip**
66+
67+
**Importante:**
68+
Esse arquivo deve ser **extraído na mesma pasta dos schemas atuais**, sobrescrevendo-os temporariamente **apenas se você deseja testar o novo layout da Reforma Tributária**.
69+
70+
---
71+
72+
## 🗓️ Cronograma de Implantação da Reforma Tributária (NF-e / NFC-e)
73+
74+
| Data | Evento |
75+
|-------------------------------|---------------------------------------------------------------------------------------------|
76+
| **07/07/2025 até 28/07/2025** | Entrada em **homologação** dos novos campos: `IBS`, `CBS` e `IS`. *(Varia conforme a UF)* |
77+
| **04/08/2025** | Homologação da implantação dos **eventos fiscais** necessários para a apuração tributária. |
78+
| **06/10/2025** | Entrada em **produção** dos eventos e dos novos campos, porém com **preenchimento opcional**. |
79+
| **05/01/2026** | Os campos `IBS`, `CBS` e `IS` tornam-se de **preenchimento obrigatório em produção**. |
80+
81+
---
82+
83+
## 💼 Consultoria Especializada
84+
85+
Estamos com uma equipe dedicada exclusivamente à **Reforma Tributária**.
86+
A partir de **Agosto de 2025**, estaremos oferecendo serviços de **consultoria personalizada** para apoiar empresas na migração de seus sistemas para o novo layout.
87+
88+
---
89+
90+
## 📞 Contato
91+
92+
- Discord: `.samueloliveira`
93+
94+
- WhatsApp/Telefone: **(62) 99306-6546**
95+
4396
________________________________________________________________________________________________
4497

4598
# Historico de Versões
4699

100+
## v4.00.39 - 21/06/2025 - Schemas PL.009p1 e PL.010b
101+
- Atualizado WebServices NFCe Ceara
102+
- Atualizado CACERT
103+
- Adicionado QrCode NFC-e V3
104+
- Adicionado Layout Reforma Tributária
105+
47106
## v4.00.38 - 06/05/2025 - Schemas PL.009p1
48107
- Atualizado URL Consulta Cadastro RS
49108

pom.xml

Lines changed: 48 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
22
<modelVersion>4.0.0</modelVersion>
3+
34
<groupId>br.com.swconsultoria</groupId>
45
<artifactId>java-nfe</artifactId>
5-
<version>4.00.39-SNAPSHOT</version>
6+
<version>4.00.40-SNAPSHOT</version>
67
<name>Java_NFe</name>
78
<description>Api java para consumo do webService de nota fiscal eletronica</description>
89
<url>https://github.com/Samuel-Oliveira/Java_NFe</url>
@@ -28,6 +29,27 @@
2829
<maven.compiler.source>1.8</maven.compiler.source>
2930
<maven.compiler.target>1.8</maven.compiler.target>
3031
<java.version>1.8</java.version>
32+
33+
<!-- Versions -->
34+
<java-certificado.version>3.10</java-certificado.version>
35+
<ini4j.version>0.5.4</ini4j.version>
36+
<httpcore.version>4.4.6</httpcore.version>
37+
<jaxb-impl.version>2.3.1</jaxb-impl.version>
38+
<jaxb-xjc.version>2.3.1</jaxb-xjc.version>
39+
<jaxb-core.version>2.3.0.1</jaxb-core.version>
40+
<axis2.version>1.7.5</axis2.version>
41+
<axiom-api.version>1.2.20</axiom-api.version>
42+
<jmockit.version>1.46</jmockit.version>
43+
<junit-jupiter.version>5.4.0</junit-jupiter.version>
44+
<lombok.version>1.18.30</lombok.version>
45+
<maven-assembly-plugin.version>3.1.1</maven-assembly-plugin.version>
46+
<maven-compiler-plugin.version>3.8.0</maven-compiler-plugin.version>
47+
<nexus-staging-maven-plugin.version>1.6.13</nexus-staging-maven-plugin.version>
48+
<maven-gpg-plugin.version>1.6</maven-gpg-plugin.version>
49+
<maven-release-plugin.version>3.0.0</maven-release-plugin.version>
50+
<maven-source-plugin.version>3.2.1</maven-source-plugin.version>
51+
<maven-javadoc-plugin.version>3.5.0</maven-javadoc-plugin.version>
52+
<maven-surefire-plugin.version>3.0.0</maven-surefire-plugin.version>
3153
</properties>
3254

3355
<distributionManagement>
@@ -57,7 +79,7 @@
5779
<plugin>
5880
<groupId>org.apache.maven.plugins</groupId>
5981
<artifactId>maven-assembly-plugin</artifactId>
60-
<version>3.1.1</version>
82+
<version>${maven-assembly-plugin.version}</version>
6183
<configuration>
6284
<descriptorRefs>
6385
<descriptorRef>jar-with-dependencies</descriptorRef>
@@ -80,108 +102,97 @@
80102
</profiles>
81103

82104
<dependencies>
83-
<!-- Certificado Utils -->
84105
<dependency>
85106
<groupId>br.com.swconsultoria</groupId>
86107
<artifactId>java_certificado</artifactId>
87-
<version>3.9</version>
108+
<version>${java-certificado.version}</version>
88109
</dependency>
89-
90110
<dependency>
91111
<groupId>org.apache.httpcomponents</groupId>
92112
<artifactId>httpcore</artifactId>
93-
<version>4.4.6</version>
113+
<version>${httpcore.version}</version>
94114
</dependency>
95-
96-
<!--Java 11-->
97115
<dependency>
98116
<groupId>com.sun.xml.bind</groupId>
99117
<artifactId>jaxb-impl</artifactId>
100-
<version>2.3.1</version>
118+
<version>${jaxb-impl.version}</version>
101119
</dependency>
102120
<dependency>
103121
<groupId>com.sun.xml.bind</groupId>
104122
<artifactId>jaxb-xjc</artifactId>
105-
<version>2.3.1</version>
123+
<version>${jaxb-xjc.version}</version>
106124
</dependency>
107125
<dependency>
108126
<groupId>com.sun.xml.bind</groupId>
109127
<artifactId>jaxb-core</artifactId>
110-
<version>2.3.0.1</version>
128+
<version>${jaxb-core.version}</version>
111129
</dependency>
112-
113130
<dependency>
114131
<groupId>org.apache.axis2</groupId>
115132
<artifactId>axis2-kernel</artifactId>
116-
<version>1.7.5</version>
133+
<version>${axis2.version}</version>
117134
<exclusions>
118135
<exclusion>
119-
<artifactId>servlet-api</artifactId>
120136
<groupId>javax.servlet</groupId>
137+
<artifactId>servlet-api</artifactId>
121138
</exclusion>
122139
<exclusion>
123-
<artifactId>commons-fileupload</artifactId>
124140
<groupId>commons-fileupload</groupId>
141+
<artifactId>commons-fileupload</artifactId>
125142
</exclusion>
126143
</exclusions>
127144
</dependency>
128-
129145
<dependency>
130146
<groupId>org.apache.axis2</groupId>
131147
<artifactId>axis2-adb</artifactId>
132-
<version>1.7.5</version>
148+
<version>${axis2.version}</version>
133149
</dependency>
134-
135150
<dependency>
136151
<groupId>org.apache.axis2</groupId>
137152
<artifactId>axis2-jaxws</artifactId>
138-
<version>1.7.5</version>
153+
<version>${axis2.version}</version>
139154
</dependency>
140-
141155
<dependency>
142156
<groupId>org.apache.axis2</groupId>
143157
<artifactId>axis2-transport-http</artifactId>
144-
<version>1.7.5</version>
158+
<version>${axis2.version}</version>
145159
</dependency>
146-
147160
<dependency>
148161
<groupId>org.apache.axis2</groupId>
149162
<artifactId>axis2-transport-local</artifactId>
150-
<version>1.7.5</version>
163+
<version>${axis2.version}</version>
151164
</dependency>
152-
153165
<dependency>
154166
<groupId>org.apache.ws.commons.axiom</groupId>
155167
<artifactId>axiom-api</artifactId>
156-
<version>1.2.20</version>
168+
<version>${axiom-api.version}</version>
157169
</dependency>
158170
<dependency>
159171
<groupId>org.jmockit</groupId>
160172
<artifactId>jmockit</artifactId>
161-
<version>1.46</version>
173+
<version>${jmockit.version}</version>
162174
<scope>test</scope>
163175
</dependency>
164176
<dependency>
165177
<groupId>org.junit.jupiter</groupId>
166178
<artifactId>junit-jupiter</artifactId>
167-
<version>5.4.0</version>
179+
<version>${junit-jupiter.version}</version>
168180
<scope>test</scope>
169181
</dependency>
170182
<dependency>
171183
<groupId>org.projectlombok</groupId>
172184
<artifactId>lombok</artifactId>
173-
<version>1.18.30</version>
185+
<version>${lombok.version}</version>
174186
<scope>provided</scope>
175187
</dependency>
176-
177188
</dependencies>
178189

179190
<build>
180191
<plugins>
181192
<plugin>
182193
<groupId>org.apache.maven.plugins</groupId>
183194
<artifactId>maven-compiler-plugin</artifactId>
184-
<version>3.8.0</version>
195+
<version>${maven-compiler-plugin.version}</version>
185196
<configuration>
186197
<source>1.8</source>
187198
<target>1.8</target>
@@ -190,7 +201,7 @@
190201
<plugin>
191202
<groupId>org.sonatype.plugins</groupId>
192203
<artifactId>nexus-staging-maven-plugin</artifactId>
193-
<version>1.6.13</version>
204+
<version>${nexus-staging-maven-plugin.version}</version>
194205
<extensions>true</extensions>
195206
<configuration>
196207
<serverId>sonatype-nexus</serverId>
@@ -201,7 +212,7 @@
201212
<plugin>
202213
<groupId>org.apache.maven.plugins</groupId>
203214
<artifactId>maven-gpg-plugin</artifactId>
204-
<version>1.6</version>
215+
<version>${maven-gpg-plugin.version}</version>
205216
<executions>
206217
<execution>
207218
<id>sign-artifacts</id>
@@ -215,7 +226,7 @@
215226
<plugin>
216227
<groupId>org.apache.maven.plugins</groupId>
217228
<artifactId>maven-release-plugin</artifactId>
218-
<version>3.0.0</version>
229+
<version>${maven-release-plugin.version}</version>
219230
<configuration>
220231
<pushChanges>false</pushChanges>
221232
<localCheckout>true</localCheckout>
@@ -224,7 +235,7 @@
224235
<plugin>
225236
<groupId>org.apache.maven.plugins</groupId>
226237
<artifactId>maven-source-plugin</artifactId>
227-
<version>3.2.1</version>
238+
<version>${maven-source-plugin.version}</version>
228239
<executions>
229240
<execution>
230241
<id>attach-sources</id>
@@ -237,7 +248,7 @@
237248
<plugin>
238249
<groupId>org.apache.maven.plugins</groupId>
239250
<artifactId>maven-javadoc-plugin</artifactId>
240-
<version>3.5.0</version>
251+
<version>${maven-javadoc-plugin.version}</version>
241252
<executions>
242253
<execution>
243254
<id>attach-javadocs</id>
@@ -253,11 +264,9 @@
253264
<plugin>
254265
<groupId>org.apache.maven.plugins</groupId>
255266
<artifactId>maven-surefire-plugin</artifactId>
256-
<version>3.0.0</version>
267+
<version>${maven-surefire-plugin.version}</version>
257268
<configuration>
258-
<argLine>
259-
-javaagent:src/test/resources/agent.jar
260-
</argLine>
269+
<argLine>-javaagent:src/test/resources/agent.jar</argLine>
261270
</configuration>
262271
</plugin>
263272
</plugins>

schemas_rt.zip

41.8 KB
Binary file not shown.

0 commit comments

Comments
 (0)