Skip to content

Commit 1388bce

Browse files
Merge branch 'release/4.00.39'
2 parents 726e70e + 3ffb8ae commit 1388bce

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

+63335
-124
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
## Dúvidas, Sugestões ou Consultoria
@@ -17,7 +17,7 @@ Para Iniciar :
1717
<dependency>
1818
<groupId>br.com.swconsultoria</groupId>
1919
<artifactId>java-nfe</artifactId>
20-
<version>4.00.38</version>
20+
<version>4.00.39</version>
2121
</dependency>
2222
```
2323

@@ -29,16 +29,75 @@ repositories {
2929
}
3030
}
3131
dependencies {
32-
implementation "br.com.swconsultoria:java-nfe:4.00.38"
32+
implementation "br.com.swconsultoria:java-nfe:4.00.39"
3333
}
3434
```
3535

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

38+
________________________________________________________________________________________________
39+
# 🚨 Atenção — Reforma Tributária na NF-e / NFC-e
40+
41+
Foram adicionadas as classes com o **layout da Reforma Tributária**.
42+
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
43+
44+
---
45+
46+
## 🧠 O que muda?
47+
48+
A reforma, neste momento, afeta apenas as seguintes funções:
49+
50+
- 🔍 `consultaRecibo` — Consulta NF-e / NFC-e Assíncrona
51+
- 🧾 `montaNfe` — Montagem, Assinatura e Validação do XML
52+
- 🚀 `enviarNfe` — Envio de NF-e / NFC-e
53+
54+
Para utilizar essas funções adaptadas à Reforma Tributária, utilize a classe: **NfeRT**
55+
56+
---
57+
58+
## 📦 Schemas XSD
59+
60+
Foi adicionado um arquivo ZIP com os novos schemas: **schemas_rt.zip**
61+
62+
**Importante:**
63+
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**.
64+
65+
---
66+
67+
## 🗓️ Cronograma de Implantação da Reforma Tributária (NF-e / NFC-e)
68+
69+
| Data | Evento |
70+
|-------------------------------|---------------------------------------------------------------------------------------------|
71+
| **07/07/2025 até 28/07/2025** | Entrada em **homologação** dos novos campos: `IBS`, `CBS` e `IS`. *(Varia conforme a UF)* |
72+
| **04/08/2025** | Homologação da implantação dos **eventos fiscais** necessários para a apuração tributária. |
73+
| **06/10/2025** | Entrada em **produção** dos eventos e dos novos campos, porém com **preenchimento opcional**. |
74+
| **05/01/2026** | Os campos `IBS`, `CBS` e `IS` tornam-se de **preenchimento obrigatório em produção**. |
75+
76+
---
77+
78+
## 💼 Consultoria Especializada
79+
80+
Estamos com uma equipe dedicada exclusivamente à **Reforma Tributária**.
81+
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.
82+
83+
---
84+
85+
## 📞 Contato
86+
87+
- Discord: `.samueloliveira`
88+
89+
- WhatsApp/Telefone: **(62) 99306-6546**
90+
3891
________________________________________________________________________________________________
3992

4093
# Historico de Versões
4194

95+
## v4.00.39 - 21/06/2025 - Schemas PL.009p1 e PL.010b
96+
- Atualizado WebServices NFCe Ceara
97+
- Atualizado CACERT
98+
- Adicionado QrCode NFC-e V3
99+
- Adicionado Layout Reforma Tributária
100+
42101
## v4.00.38 - 06/05/2025 - Schemas PL.009p1
43102
- Atualizado URL Consulta Cadastro RS
44103

pom.xml

Lines changed: 49 additions & 41 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.22</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,114 +102,102 @@
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-
<!-- Ini4J -->
90110
<dependency>
91111
<groupId>org.ini4j</groupId>
92112
<artifactId>ini4j</artifactId>
93-
<version>0.5.4</version>
113+
<version>${ini4j.version}</version>
94114
</dependency>
95-
96115
<dependency>
97116
<groupId>org.apache.httpcomponents</groupId>
98117
<artifactId>httpcore</artifactId>
99-
<version>4.4.6</version>
118+
<version>${httpcore.version}</version>
100119
</dependency>
101-
102-
<!--Java 11-->
103120
<dependency>
104121
<groupId>com.sun.xml.bind</groupId>
105122
<artifactId>jaxb-impl</artifactId>
106-
<version>2.3.1</version>
123+
<version>${jaxb-impl.version}</version>
107124
</dependency>
108125
<dependency>
109126
<groupId>com.sun.xml.bind</groupId>
110127
<artifactId>jaxb-xjc</artifactId>
111-
<version>2.3.1</version>
128+
<version>${jaxb-xjc.version}</version>
112129
</dependency>
113130
<dependency>
114131
<groupId>com.sun.xml.bind</groupId>
115132
<artifactId>jaxb-core</artifactId>
116-
<version>2.3.0.1</version>
133+
<version>${jaxb-core.version}</version>
117134
</dependency>
118-
119135
<dependency>
120136
<groupId>org.apache.axis2</groupId>
121137
<artifactId>axis2-kernel</artifactId>
122-
<version>1.7.5</version>
138+
<version>${axis2.version}</version>
123139
<exclusions>
124140
<exclusion>
125-
<artifactId>servlet-api</artifactId>
126141
<groupId>javax.servlet</groupId>
142+
<artifactId>servlet-api</artifactId>
127143
</exclusion>
128144
<exclusion>
129-
<artifactId>commons-fileupload</artifactId>
130145
<groupId>commons-fileupload</groupId>
146+
<artifactId>commons-fileupload</artifactId>
131147
</exclusion>
132148
</exclusions>
133149
</dependency>
134-
135150
<dependency>
136151
<groupId>org.apache.axis2</groupId>
137152
<artifactId>axis2-adb</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-jaxws</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-http</artifactId>
150-
<version>1.7.5</version>
163+
<version>${axis2.version}</version>
151164
</dependency>
152-
153165
<dependency>
154166
<groupId>org.apache.axis2</groupId>
155167
<artifactId>axis2-transport-local</artifactId>
156-
<version>1.7.5</version>
168+
<version>${axis2.version}</version>
157169
</dependency>
158-
159170
<dependency>
160171
<groupId>org.apache.ws.commons.axiom</groupId>
161172
<artifactId>axiom-api</artifactId>
162-
<version>1.2.20</version>
173+
<version>${axiom-api.version}</version>
163174
</dependency>
164175
<dependency>
165176
<groupId>org.jmockit</groupId>
166177
<artifactId>jmockit</artifactId>
167-
<version>1.46</version>
178+
<version>${jmockit.version}</version>
168179
<scope>test</scope>
169180
</dependency>
170181
<dependency>
171182
<groupId>org.junit.jupiter</groupId>
172183
<artifactId>junit-jupiter</artifactId>
173-
<version>5.4.0</version>
184+
<version>${junit-jupiter.version}</version>
174185
<scope>test</scope>
175186
</dependency>
176187
<dependency>
177188
<groupId>org.projectlombok</groupId>
178189
<artifactId>lombok</artifactId>
179-
<version>1.18.22</version>
190+
<version>${lombok.version}</version>
180191
<scope>provided</scope>
181192
</dependency>
182-
183193
</dependencies>
184194

185195
<build>
186196
<plugins>
187197
<plugin>
188198
<groupId>org.apache.maven.plugins</groupId>
189199
<artifactId>maven-compiler-plugin</artifactId>
190-
<version>3.8.0</version>
200+
<version>${maven-compiler-plugin.version}</version>
191201
<configuration>
192202
<source>1.8</source>
193203
<target>1.8</target>
@@ -196,7 +206,7 @@
196206
<plugin>
197207
<groupId>org.sonatype.plugins</groupId>
198208
<artifactId>nexus-staging-maven-plugin</artifactId>
199-
<version>1.6.13</version>
209+
<version>${nexus-staging-maven-plugin.version}</version>
200210
<extensions>true</extensions>
201211
<configuration>
202212
<serverId>sonatype-nexus</serverId>
@@ -207,7 +217,7 @@
207217
<plugin>
208218
<groupId>org.apache.maven.plugins</groupId>
209219
<artifactId>maven-gpg-plugin</artifactId>
210-
<version>1.6</version>
220+
<version>${maven-gpg-plugin.version}</version>
211221
<executions>
212222
<execution>
213223
<id>sign-artifacts</id>
@@ -221,7 +231,7 @@
221231
<plugin>
222232
<groupId>org.apache.maven.plugins</groupId>
223233
<artifactId>maven-release-plugin</artifactId>
224-
<version>3.0.0</version>
234+
<version>${maven-release-plugin.version}</version>
225235
<configuration>
226236
<pushChanges>false</pushChanges>
227237
<localCheckout>true</localCheckout>
@@ -230,7 +240,7 @@
230240
<plugin>
231241
<groupId>org.apache.maven.plugins</groupId>
232242
<artifactId>maven-source-plugin</artifactId>
233-
<version>3.2.1</version>
243+
<version>${maven-source-plugin.version}</version>
234244
<executions>
235245
<execution>
236246
<id>attach-sources</id>
@@ -243,7 +253,7 @@
243253
<plugin>
244254
<groupId>org.apache.maven.plugins</groupId>
245255
<artifactId>maven-javadoc-plugin</artifactId>
246-
<version>3.5.0</version>
256+
<version>${maven-javadoc-plugin.version}</version>
247257
<executions>
248258
<execution>
249259
<id>attach-javadocs</id>
@@ -259,11 +269,9 @@
259269
<plugin>
260270
<groupId>org.apache.maven.plugins</groupId>
261271
<artifactId>maven-surefire-plugin</artifactId>
262-
<version>3.0.0</version>
272+
<version>${maven-surefire-plugin.version}</version>
263273
<configuration>
264-
<argLine>
265-
-javaagent:src/test/resources/agent.jar
266-
</argLine>
274+
<argLine>-javaagent:src/test/resources/agent.jar</argLine>
267275
</configuration>
268276
</plugin>
269277
</plugins>

schemas_rt.zip

41.8 KB
Binary file not shown.

0 commit comments

Comments
 (0)