Skip to content

Commit d4cadbe

Browse files
- Finalizado Versão 4.00.17
1 parent 7799f60 commit d4cadbe

File tree

7 files changed

+42
-86
lines changed

7 files changed

+42
-86
lines changed

README.md

Lines changed: 27 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Java-NFe [![Build Status](https://travis-ci.org/Samuel-Oliveira/Java_NFe.svg?branch=master)](https://travis-ci.org/Samuel-Oliveira/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.16/jar) [![Language grade: Java](https://img.shields.io/lgtm/grade/java/g/Samuel-Oliveira/Java_NFe.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/Samuel-Oliveira/Java_NFe/context:java) [![Total alerts](https://img.shields.io/lgtm/alerts/g/Samuel-Oliveira/Java_NFe.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/Samuel-Oliveira/Java_NFe/alerts/)
1+
# Java-NFe [![Build Status](https://travis-ci.org/Samuel-Oliveira/Java_NFe.svg?branch=master)](https://travis-ci.org/Samuel-Oliveira/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.17/jar) [![Language grade: Java](https://img.shields.io/lgtm/grade/java/g/Samuel-Oliveira/Java_NFe.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/Samuel-Oliveira/Java_NFe/context:java) [![Total alerts](https://img.shields.io/lgtm/alerts/g/Samuel-Oliveira/Java_NFe.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/Samuel-Oliveira/Java_NFe/alerts/)
22
Biblioteca Java para consumo do WebService de NFe/NFCe
33

44
## Dúvidas, Sugestões ou Consultoria
@@ -7,7 +7,7 @@ Entre no Discord do Projeto: https://discord.gg/ZXpqnaV
77
## Gostou do Projeto? Dê sua colaboração pelo Pix: 01713390108 <img src="https://swconsultoria.com.br/pix.png" width="200">
88

99
Para Iniciar :
10-
- Caso use Libs baixe o java-nfe-4.00.16.jar (https://github.com/Samuel-Oliveira/Java_NFe/raw/master/java-nfe-4.00.16.jar) e o adicione às bibliotecas de Seu Projeto.
10+
- Caso use Libs baixe o java-nfe-4.00.17.jar (https://github.com/Samuel-Oliveira/Java_NFe/raw/master/java-nfe-4.00.17.jar) e o adicione às bibliotecas de Seu Projeto.
1111

1212
- Baixe o Schemas.rar (https://github.com/Samuel-Oliveira/Java_NFe/raw/master/schemas.zip) e extraia na sua Máquina.
1313

@@ -16,7 +16,7 @@ Para Iniciar :
1616
<dependency>
1717
<groupId>br.com.swconsultoria</groupId>
1818
<artifactId>java-nfe</artifactId>
19-
<version>4.00.16</version>
19+
<version>4.00.17</version>
2020
</dependency>
2121
```
2222

@@ -28,7 +28,7 @@ repositories {
2828
}
2929
}
3030
dependencies {
31-
implementation "br.com.swconsultoria:java-nfe:4.00.16"
31+
implementation "br.com.swconsultoria:java-nfe:4.00.17"
3232
}
3333
```
3434

@@ -37,27 +37,31 @@ Veja a Wiki https://github.com/Samuel-Oliveira/Java_NFe/wiki, para ter um Tutori
3737
________________________________________________________________________________________________
3838

3939
# Historico de Versões
40-
41-
## v4.00.17 - SNAPSHOT - 02/08/2021 - Schemas PL.009f
40+
[comment]: <> (## v4.00.17 - SNAPSHOT - 02/08/2021 - Schemas PL.009f)
41+
[comment]: <> (- Correção de SOAP)
42+
[comment]: <> (Snapshot é a versão que se encontra em teste, só use em caso de extrema necessidade.)
43+
[comment]: <> (Para usar, adicione o repositorio de Snapshot ao Maven:)
44+
[comment]: <> (```)
45+
[comment]: <> (<repositories>)
46+
[comment]: <> ( <repository>)
47+
[comment]: <> ( <id>sonatype-nexus-snapshots</id>)
48+
[comment]: <> ( <url>https://oss.sonatype.org/content/repositories/snapshots</url>)
49+
[comment]: <> ( </repository>)
50+
[comment]: <> (</repositories>)
51+
[comment]: <> (<dependency>)
52+
[comment]: <> ( <groupId>br.com.swconsultoria</groupId>)
53+
[comment]: <> ( <artifactId>java-nfe</artifactId>)
54+
[comment]: <> ( <version>4.00.17-SNAPSHOT</version>)
55+
[comment]: <> (</dependency>)
56+
[comment]: <> (```)
57+
[comment]: <> (Ou baixe o Jar aqui: https://github.com/Samuel-Oliveira/Java_NFe/raw/master/java-nfe-4.00.17-SNAPSHOT.jar)
58+
59+
## v4.00.17 - 09/08/2021 - Schemas PL.009f
60+
- Correção de Schemas
61+
- Atualizado Cacert
62+
- Rollback das modificações Maven (Deu Ruim)
4263
- Correção de SOAP
4364

44-
Snapshot é a versão que se encontra em teste, só use em caso de extrema necessidade.
45-
Para usar, adicione o repositorio de Snapshot ao Maven:
46-
```
47-
<repositories>
48-
<repository>
49-
<id>sonatype-nexus-snapshots</id>
50-
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
51-
</repository>
52-
</repositories>
53-
<dependency>
54-
<groupId>br.com.swconsultoria</groupId>
55-
<artifactId>java-nfe</artifactId>
56-
<version>4.00.17-SNAPSHOT</version>
57-
</dependency>
58-
```
59-
Ou baixe o Jar aqui: https://github.com/Samuel-Oliveira/Java_NFe/raw/master/java-nfe-4.00.17-SNAPSHOT.jar
60-
6165
## v4.00.16 - 01/08/2021 - Schemas PL.009f
6266
- Correção de vunerabilidades Maven
6367
- Correção Acentuação

java-nfe-4.00.16.jar

-17.5 MB
Binary file not shown.

schemas.zip

131 Bytes
Binary file not shown.

schemas/leiauteNFe_v4.00.xsd

Lines changed: 12 additions & 60 deletions
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ para tpEmis diferente de 1</xs:documentation>
276276
</xs:simpleType>
277277
</xs:element>
278278
</xs:sequence>
279-
<xs:element name="NFref" minOccurs="0" maxOccurs="500">
279+
<xs:element name="NFref" minOccurs="0" maxOccurs="unbounded">
280280
<xs:annotation>
281281
<xs:documentation>Grupo de infromações da NF referenciada</xs:documentation>
282282
</xs:annotation>
@@ -1202,7 +1202,7 @@ Formato ”CFOP9999”.</xs:documentation>
12021202
</xs:sequence>
12031203
</xs:complexType>
12041204
</xs:element>
1205-
<xs:element name="detExport" minOccurs="0" maxOccurs="500">
1205+
<xs:element name="detExport" minOccurs="0" maxOccurs="unbounded">
12061206
<xs:annotation>
12071207
<xs:documentation>Detalhe da exportação</xs:documentation>
12081208
</xs:annotation>
@@ -1279,7 +1279,7 @@ Formato ”CFOP9999”.</xs:documentation>
12791279
<xs:documentation>Número de controle da FCI - Ficha de Conteúdo de Importação.</xs:documentation>
12801280
</xs:annotation>
12811281
</xs:element>
1282-
<xs:element name="rastro" minOccurs="0" maxOccurs="500">
1282+
<xs:element name="rastro" minOccurs="0" maxOccurs="unbounded">
12831283
<xs:complexType>
12841284
<xs:sequence>
12851285
<xs:element name="nLote">
@@ -1721,7 +1721,7 @@ N-NormalVIN</xs:documentation>
17211721
</xs:sequence>
17221722
</xs:complexType>
17231723
</xs:element>
1724-
<xs:element name="arma" maxOccurs="500">
1724+
<xs:element name="arma" maxOccurs="unbounded">
17251725
<xs:annotation>
17261726
<xs:documentation>Armamentos</xs:documentation>
17271727
</xs:annotation>
@@ -2603,12 +2603,12 @@ A exigência do preenchimento das informações do ICMS diferido fica à critér
26032603
</xs:element>
26042604
</xs:sequence>
26052605
<xs:sequence minOccurs="0">
2606-
<xs:element name="pFCPDif" type="TDec_0302a04Opc" minOccurs="0">
2606+
<xs:element name="pFCPDif" type="TDec_0302a04Opc">
26072607
<xs:annotation>
26082608
<xs:documentation>Percentual do diferimento do ICMS relativo ao Fundo de Combate à Pobreza (FCP).</xs:documentation>
26092609
</xs:annotation>
26102610
</xs:element>
2611-
<xs:element name="vFCPDif" type="TDec_1302" minOccurs="0">
2611+
<xs:element name="vFCPDif" type="TDec_1302">
26122612
<xs:annotation>
26132613
<xs:documentation>Valor do ICMS relativo ao Fundo de Combate à Pobreza (FCP) diferido.</xs:documentation>
26142614
</xs:annotation>
@@ -5097,7 +5097,7 @@ Substituição Tributaria;</xs:documentation>
50975097
</xs:simpleType>
50985098
</xs:element>
50995099
</xs:choice>
5100-
<xs:element name="vol" minOccurs="0" maxOccurs="5000">
5100+
<xs:element name="vol" minOccurs="0" maxOccurs="unbounded">
51015101
<xs:annotation>
51025102
<xs:documentation>Dados dos volumes</xs:documentation>
51035103
</xs:annotation>
@@ -5157,7 +5157,7 @@ Substituição Tributaria;</xs:documentation>
51575157
<xs:documentation>Peso bruto (em kg)</xs:documentation>
51585158
</xs:annotation>
51595159
</xs:element>
5160-
<xs:element name="lacres" minOccurs="0" maxOccurs="5000">
5160+
<xs:element name="lacres" minOccurs="0" maxOccurs="unbounded">
51615161
<xs:complexType>
51625162
<xs:sequence>
51635163
<xs:element name="nLacre">
@@ -5280,31 +5280,12 @@ Substituição Tributaria;</xs:documentation>
52805280
</xs:element>
52815281
<xs:element name="tPag">
52825282
<xs:annotation>
5283-
<xs:documentation>Forma de Pagamento: 01-Dinheiro; 02-Cheque; 03-Cartão de Crédito; 04-Cartão de Débito; 05-Crédito Loja;
5284-
10-Vale Alimentação; 11-Vale Refeição; 12-Vale Presente; 13-Vale Combustível; 14-Duplicata Mercantil; 15-Boleto Bancario; 16-Depósito Bancário;
5285-
17-Pagamento Instantâneo (PIX); 18-Transferência bancária, Carteira Digital; 19-Programa de fidelidade, Cashback, Crédito Virtual; 90-Sem Pagamento; 99-Outros.
5286-
</xs:documentation>
5283+
<xs:documentation>Forma de Pagamento:</xs:documentation>
52875284
</xs:annotation>
52885285
<xs:simpleType>
52895286
<xs:restriction base="xs:string">
52905287
<xs:whiteSpace value="preserve"/>
5291-
<xs:enumeration value="01"/>
5292-
<xs:enumeration value="02"/>
5293-
<xs:enumeration value="03"/>
5294-
<xs:enumeration value="04"/>
5295-
<xs:enumeration value="05"/>
5296-
<xs:enumeration value="10"/>
5297-
<xs:enumeration value="11"/>
5298-
<xs:enumeration value="12"/>
5299-
<xs:enumeration value="13"/>
5300-
<xs:enumeration value="14"/>
5301-
<xs:enumeration value="15"/>
5302-
<xs:enumeration value="16"/>
5303-
<xs:enumeration value="17"/>
5304-
<xs:enumeration value="18"/>
5305-
<xs:enumeration value="19"/>
5306-
<xs:enumeration value="90"/>
5307-
<xs:enumeration value="99"/>
5288+
<xs:pattern value="[0-9]{2}"/>
53085289
</xs:restriction>
53095290
</xs:simpleType>
53105291
</xs:element>
@@ -5351,41 +5332,12 @@ Substituição Tributaria;</xs:documentation>
53515332
</xs:element>
53525333
<xs:element name="tBand" minOccurs="0">
53535334
<xs:annotation>
5354-
<xs:documentation>Bandeira da operadora de cartão de crédito/débito:01–Visa; 02–Mastercard; 03–American Express; 04–Sorocred;05-Diners Club;06-Elo;07-Hipercard;08-Aura;09-Cabal
5355-
10-Alelo; 11-Banes Card; 12-CalCard; 13-Credz; 14-Discover; 15-GoodCard; 16-GreenCard; 17-Hiper; 18-JcB; 19-Mais;20-MaxVan; 21-Policard;22-RedeCompras
5356-
23-Sodexo; 24-ValeCard; 25-Verocheque; 26-VR; 27-Ticket;99–Outros</xs:documentation>
5335+
<xs:documentation>Bandeira da operadora de cartão</xs:documentation>
53575336
</xs:annotation>
53585337
<xs:simpleType>
53595338
<xs:restriction base="xs:string">
53605339
<xs:whiteSpace value="preserve"/>
5361-
<xs:enumeration value="01"/>
5362-
<xs:enumeration value="02"/>
5363-
<xs:enumeration value="03"/>
5364-
<xs:enumeration value="04"/>
5365-
<xs:enumeration value="05"/>
5366-
<xs:enumeration value="06"/>
5367-
<xs:enumeration value="07"/>
5368-
<xs:enumeration value="08"/>
5369-
<xs:enumeration value="09"/>
5370-
<xs:enumeration value="10"/>
5371-
<xs:enumeration value="11"/>
5372-
<xs:enumeration value="12"/>
5373-
<xs:enumeration value="13"/>
5374-
<xs:enumeration value="14"/>
5375-
<xs:enumeration value="15"/>
5376-
<xs:enumeration value="16"/>
5377-
<xs:enumeration value="17"/>
5378-
<xs:enumeration value="18"/>
5379-
<xs:enumeration value="19"/>
5380-
<xs:enumeration value="20"/>
5381-
<xs:enumeration value="21"/>
5382-
<xs:enumeration value="22"/>
5383-
<xs:enumeration value="23"/>
5384-
<xs:enumeration value="24"/>
5385-
<xs:enumeration value="25"/>
5386-
<xs:enumeration value="26"/>
5387-
<xs:enumeration value="27"/>
5388-
<xs:enumeration value="99"/>
5340+
<xs:pattern value="[0-9]{2}"/>
53895341
</xs:restriction>
53905342
</xs:simpleType>
53915343
</xs:element>

schemas/prod_leiauteNFe_v4.00.xsd

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4890,7 +4890,7 @@ Substituição Tributaria;</xs:documentation>
48904890
</xs:simpleType>
48914891
</xs:element>
48924892
</xs:choice>
4893-
<xs:element name="vol" minOccurs="0" maxOccurs="5000">
4893+
<xs:element name="vol" minOccurs="0" maxOccurs="unbounded">
48944894
<xs:annotation>
48954895
<xs:documentation>Dados dos volumes</xs:documentation>
48964896
</xs:annotation>
@@ -4950,7 +4950,7 @@ Substituição Tributaria;</xs:documentation>
49504950
<xs:documentation>Peso bruto (em kg)</xs:documentation>
49514951
</xs:annotation>
49524952
</xs:element>
4953-
<xs:element name="lacres" minOccurs="0" maxOccurs="5000">
4953+
<xs:element name="lacres" minOccurs="0" maxOccurs="unbounded">
49544954
<xs:complexType>
49554955
<xs:sequence>
49564956
<xs:element name="nLacre">

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ public static ConfiguracoesNfe criarConfiguracoes(EstadosEnum estado, AmbienteEn
8686

8787
if (Logger.getLogger("").isLoggable(Level.SEVERE)) {
8888
System.err.println("####################################################################");
89-
System.err.println(" Api Java Nfe - Versão 4.00.17-SNAPSHOT - 02/08/2021");
89+
System.err.println(" Api Java Nfe - Versão 4.00.17 - 09/08/2021");
9090
if (Logger.getLogger("").isLoggable(Level.WARNING)) {
9191
System.err.println(" Samuel Olivera - [email protected] ");
9292
}

0 commit comments

Comments
 (0)