Skip to content

Commit 9dd4577

Browse files
Adicionado Conculta ao JSON dos CST/Cclasstrib do IBSCBS
1 parent 2472869 commit 9dd4577

File tree

4 files changed

+14
-20
lines changed

4 files changed

+14
-20
lines changed

README.md

Lines changed: 6 additions & 12 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.44/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.45/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.44</version>
25+
<version>4.00.45</version>
2626
</dependency>
2727
```
2828

@@ -34,7 +34,7 @@ repositories {
3434
}
3535
}
3636
dependencies {
37-
implementation "br.com.swconsultoria:java-nfe:4.00.44"
37+
implementation "br.com.swconsultoria:java-nfe:4.00.45"
3838
}
3939
```
4040

@@ -45,15 +45,6 @@ ________________________________________________________________________________
4545

4646
Foram adicionadas as classes com o **layout da Reforma Tributária** a partir da versao 4.00.42.
4747

48-
## 🗓️ Cronograma de Implantação da Reforma Tributária (NF-e / NFC-e)
49-
50-
| Data | Evento |
51-
|-------------------------------|---------------------------------------------------------------------------------------------|
52-
| **07/07/2025 até 28/07/2025** | Entrada em **homologação** dos novos campos: `IBS`, `CBS` e `IS`. *(Varia conforme a UF)* |
53-
| **04/08/2025** | Homologação da implantação dos **eventos fiscais** necessários para a apuração tributária. |
54-
| **06/10/2025** | Entrada em **produção** dos eventos e dos novos campos, porém com **preenchimento opcional**. |
55-
| **05/01/2026** | Os campos `IBS`, `CBS` e `IS` tornam-se de **preenchimento obrigatório em produção**. |
56-
5748
---
5849

5950
## 💼 Consultoria Especializada
@@ -73,6 +64,9 @@ ________________________________________________________________________________
7364

7465
# Historico de Versões
7566

67+
## v4.00.45 - 09/11/2025 - Schemas PL.010b (v1.1)
68+
- Adicionado Conculta ao JSON dos CST/Cclasstrib do IBSCBS
69+
7670
## v4.00.44 - 28/10/2025 - Schemas PL.010b (v1.1)
7771
- Correcao sequencia Manifestacao Util
7872

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
<groupId>br.com.swconsultoria</groupId>
55
<artifactId>java-nfe</artifactId>
6-
<version>4.00.44</version>
6+
<version>4.00.45</version>
77
<name>Java_NFe</name>
88
<description>Api java para consumo do webService de nota fiscal eletronica</description>
99
<url>https://github.com/Samuel-Oliveira/Java_NFe</url>

src/main/java/br/com/swconsultoria/nfe/dom/ConfiguracoesNfe.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,8 +109,8 @@ public static ConfiguracoesNfe criarConfiguracoes(EstadosEnum estado, AmbienteEn
109109

110110
log.info(String.format("JAVA-NFE | Samuel Oliveira | [email protected] " +
111111
"| VERSAO=%s | DATA_VERSAO=%s | PASTA_SCHEMAS=%s | AMBIENTE=%s | ESTADO=%s",
112-
"4.00.44",
113-
"28/10/2025",
112+
"4.00.45",
113+
"09/11/2025",
114114
pastaSchemas,
115115
ambiente,
116116
estado.getNome().toUpperCase()));

src/test/java/br/com/swconsultoria/nfe/exemplos/EConfTeste.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ public static void main(String[] args) {
2525
try {
2626

2727
// Inicia As Configurações
28-
ConfiguracoesNfe config = ConfiguracaoTeste.iniciaConfiguracoes(EstadosEnum.GO, AmbienteEnum.HOMOLOGACAO);
28+
ConfiguracoesNfe config = ConfiguracaoTeste.iniciaConfiguracoes(EstadosEnum.GO, AmbienteEnum.PRODUCAO);
2929

3030
// Monta o Evento
3131
br.com.swconsultoria.nfe.schema.envEventoEConf.TEnvEvento envEvento = new br.com.swconsultoria.nfe.schema.envEventoEConf.TEnvEvento();
@@ -35,11 +35,11 @@ public static void main(String[] args) {
3535
TEvento evento = new TEvento();
3636
evento.setVersao("1.00");
3737
TEvento.InfEvento infEvento = new TEvento.InfEvento();
38-
infEvento.setId("ID" + "110750" + "52251010732644000128650030000004409296182274" + "01");
38+
infEvento.setId("ID" + "110750" + "522511107326440001286509887049582437824" + "01");
3939
infEvento.setCOrgao("52");
4040
infEvento.setTpAmb("2");
4141
infEvento.setCNPJ("10732644000128");
42-
infEvento.setChNFe("52251010732644000128650030000004409296182274");
42+
infEvento.setChNFe("5225111073264400012865009887049582437824");
4343
infEvento.setDhEvento(XmlNfeUtil.dataNfe(LocalDateTime.now()));
4444
infEvento.setTpEvento("110750");
4545
infEvento.setNSeqEvento("1");
@@ -57,7 +57,7 @@ public static void main(String[] args) {
5757
detPag.setIndPag("1");
5858
detPag.setTPag("04");
5959
detPag.setVPag("500.00");
60-
detPag.setDPag("2025-09-21");
60+
detPag.setDPag("2025-11-04");
6161
detPag.setCNPJPag("10440482000154");
6262
detPag.setUFPag(TUfEmi.GO);
6363
detPag.setTBand("02");
@@ -68,7 +68,7 @@ public static void main(String[] args) {
6868
System.out.println(XmlNfeUtil.objectToXml(envEvento));
6969

7070
//Envia a ECONF
71-
TRetEnvEvento retorno = Nfe.econf(config, envEvento, DocumentoEnum.NFCE, true);
71+
TRetEnvEvento retorno = Nfe.econf(config, envEvento, DocumentoEnum.NFE, false);
7272

7373
if (!retorno.getCStat().equals("128")) {
7474
throw new NfeException(retorno.getCStat() + " - " + retorno.getXMotivo());

0 commit comments

Comments
 (0)