Skip to content

Commit

Permalink
- Finalizado Versão 4.00.17
Browse files Browse the repository at this point in the history
  • Loading branch information
[email protected] committed Aug 10, 2021
1 parent 7799f60 commit d4cadbe
Show file tree
Hide file tree
Showing 7 changed files with 42 additions and 86 deletions.
50 changes: 27 additions & 23 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# 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/)
# 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/)
Biblioteca Java para consumo do WebService de NFe/NFCe

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

Para Iniciar :
- 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.
- 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.

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

Expand All @@ -16,7 +16,7 @@ Para Iniciar :
<dependency>
<groupId>br.com.swconsultoria</groupId>
<artifactId>java-nfe</artifactId>
<version>4.00.16</version>
<version>4.00.17</version>
</dependency>
```

Expand All @@ -28,7 +28,7 @@ repositories {
}
}
dependencies {
implementation "br.com.swconsultoria:java-nfe:4.00.16"
implementation "br.com.swconsultoria:java-nfe:4.00.17"
}
```

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

# Historico de Versões

## v4.00.17 - SNAPSHOT - 02/08/2021 - Schemas PL.009f
[comment]: <> (## v4.00.17 - SNAPSHOT - 02/08/2021 - Schemas PL.009f)
[comment]: <> (- Correção de SOAP)
[comment]: <> (Snapshot é a versão que se encontra em teste, só use em caso de extrema necessidade.)
[comment]: <> (Para usar, adicione o repositorio de Snapshot ao Maven:)
[comment]: <> (```)
[comment]: <> (<repositories>)
[comment]: <> ( <repository>)
[comment]: <> ( <id>sonatype-nexus-snapshots</id>)
[comment]: <> ( <url>https://oss.sonatype.org/content/repositories/snapshots</url>)
[comment]: <> ( </repository>)
[comment]: <> (</repositories>)
[comment]: <> (<dependency>)
[comment]: <> ( <groupId>br.com.swconsultoria</groupId>)
[comment]: <> ( <artifactId>java-nfe</artifactId>)
[comment]: <> ( <version>4.00.17-SNAPSHOT</version>)
[comment]: <> (</dependency>)
[comment]: <> (```)
[comment]: <> (Ou baixe o Jar aqui: https://github.com/Samuel-Oliveira/Java_NFe/raw/master/java-nfe-4.00.17-SNAPSHOT.jar)

## v4.00.17 - 09/08/2021 - Schemas PL.009f
- Correção de Schemas
- Atualizado Cacert
- Rollback das modificações Maven (Deu Ruim)
- Correção de SOAP

Snapshot é a versão que se encontra em teste, só use em caso de extrema necessidade.
Para usar, adicione o repositorio de Snapshot ao Maven:
```
<repositories>
<repository>
<id>sonatype-nexus-snapshots</id>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
</repository>
</repositories>
<dependency>
<groupId>br.com.swconsultoria</groupId>
<artifactId>java-nfe</artifactId>
<version>4.00.17-SNAPSHOT</version>
</dependency>
```
Ou baixe o Jar aqui: https://github.com/Samuel-Oliveira/Java_NFe/raw/master/java-nfe-4.00.17-SNAPSHOT.jar

## v4.00.16 - 01/08/2021 - Schemas PL.009f
- Correção de vunerabilidades Maven
- Correção Acentuação
Expand Down
Binary file removed java-nfe-4.00.16.jar
Binary file not shown.
Binary file not shown.
Binary file modified schemas.zip
Binary file not shown.
72 changes: 12 additions & 60 deletions schemas/leiauteNFe_v4.00.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ para tpEmis diferente de 1</xs:documentation>
</xs:simpleType>
</xs:element>
</xs:sequence>
<xs:element name="NFref" minOccurs="0" maxOccurs="500">
<xs:element name="NFref" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Grupo de infromações da NF referenciada</xs:documentation>
</xs:annotation>
Expand Down Expand Up @@ -1202,7 +1202,7 @@ Formato ”CFOP9999”.</xs:documentation>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="detExport" minOccurs="0" maxOccurs="500">
<xs:element name="detExport" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Detalhe da exportação</xs:documentation>
</xs:annotation>
Expand Down Expand Up @@ -1279,7 +1279,7 @@ Formato ”CFOP9999”.</xs:documentation>
<xs:documentation>Número de controle da FCI - Ficha de Conteúdo de Importação.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="rastro" minOccurs="0" maxOccurs="500">
<xs:element name="rastro" minOccurs="0" maxOccurs="unbounded">
<xs:complexType>
<xs:sequence>
<xs:element name="nLote">
Expand Down Expand Up @@ -1721,7 +1721,7 @@ N-NormalVIN</xs:documentation>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="arma" maxOccurs="500">
<xs:element name="arma" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Armamentos</xs:documentation>
</xs:annotation>
Expand Down Expand Up @@ -2603,12 +2603,12 @@ A exigência do preenchimento das informações do ICMS diferido fica à critér
</xs:element>
</xs:sequence>
<xs:sequence minOccurs="0">
<xs:element name="pFCPDif" type="TDec_0302a04Opc" minOccurs="0">
<xs:element name="pFCPDif" type="TDec_0302a04Opc">
<xs:annotation>
<xs:documentation>Percentual do diferimento do ICMS relativo ao Fundo de Combate à Pobreza (FCP).</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="vFCPDif" type="TDec_1302" minOccurs="0">
<xs:element name="vFCPDif" type="TDec_1302">
<xs:annotation>
<xs:documentation>Valor do ICMS relativo ao Fundo de Combate à Pobreza (FCP) diferido.</xs:documentation>
</xs:annotation>
Expand Down Expand Up @@ -5097,7 +5097,7 @@ Substituição Tributaria;</xs:documentation>
</xs:simpleType>
</xs:element>
</xs:choice>
<xs:element name="vol" minOccurs="0" maxOccurs="5000">
<xs:element name="vol" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Dados dos volumes</xs:documentation>
</xs:annotation>
Expand Down Expand Up @@ -5157,7 +5157,7 @@ Substituição Tributaria;</xs:documentation>
<xs:documentation>Peso bruto (em kg)</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="lacres" minOccurs="0" maxOccurs="5000">
<xs:element name="lacres" minOccurs="0" maxOccurs="unbounded">
<xs:complexType>
<xs:sequence>
<xs:element name="nLacre">
Expand Down Expand Up @@ -5280,31 +5280,12 @@ Substituição Tributaria;</xs:documentation>
</xs:element>
<xs:element name="tPag">
<xs:annotation>
<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;
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;
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.
</xs:documentation>
<xs:documentation>Forma de Pagamento:</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:whiteSpace value="preserve"/>
<xs:enumeration value="01"/>
<xs:enumeration value="02"/>
<xs:enumeration value="03"/>
<xs:enumeration value="04"/>
<xs:enumeration value="05"/>
<xs:enumeration value="10"/>
<xs:enumeration value="11"/>
<xs:enumeration value="12"/>
<xs:enumeration value="13"/>
<xs:enumeration value="14"/>
<xs:enumeration value="15"/>
<xs:enumeration value="16"/>
<xs:enumeration value="17"/>
<xs:enumeration value="18"/>
<xs:enumeration value="19"/>
<xs:enumeration value="90"/>
<xs:enumeration value="99"/>
<xs:pattern value="[0-9]{2}"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
Expand Down Expand Up @@ -5351,41 +5332,12 @@ Substituição Tributaria;</xs:documentation>
</xs:element>
<xs:element name="tBand" minOccurs="0">
<xs:annotation>
<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
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
23-Sodexo; 24-ValeCard; 25-Verocheque; 26-VR; 27-Ticket;99–Outros</xs:documentation>
<xs:documentation>Bandeira da operadora de cartão</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:whiteSpace value="preserve"/>
<xs:enumeration value="01"/>
<xs:enumeration value="02"/>
<xs:enumeration value="03"/>
<xs:enumeration value="04"/>
<xs:enumeration value="05"/>
<xs:enumeration value="06"/>
<xs:enumeration value="07"/>
<xs:enumeration value="08"/>
<xs:enumeration value="09"/>
<xs:enumeration value="10"/>
<xs:enumeration value="11"/>
<xs:enumeration value="12"/>
<xs:enumeration value="13"/>
<xs:enumeration value="14"/>
<xs:enumeration value="15"/>
<xs:enumeration value="16"/>
<xs:enumeration value="17"/>
<xs:enumeration value="18"/>
<xs:enumeration value="19"/>
<xs:enumeration value="20"/>
<xs:enumeration value="21"/>
<xs:enumeration value="22"/>
<xs:enumeration value="23"/>
<xs:enumeration value="24"/>
<xs:enumeration value="25"/>
<xs:enumeration value="26"/>
<xs:enumeration value="27"/>
<xs:enumeration value="99"/>
<xs:pattern value="[0-9]{2}"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
Expand Down
4 changes: 2 additions & 2 deletions schemas/prod_leiauteNFe_v4.00.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -4890,7 +4890,7 @@ Substituição Tributaria;</xs:documentation>
</xs:simpleType>
</xs:element>
</xs:choice>
<xs:element name="vol" minOccurs="0" maxOccurs="5000">
<xs:element name="vol" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Dados dos volumes</xs:documentation>
</xs:annotation>
Expand Down Expand Up @@ -4950,7 +4950,7 @@ Substituição Tributaria;</xs:documentation>
<xs:documentation>Peso bruto (em kg)</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="lacres" minOccurs="0" maxOccurs="5000">
<xs:element name="lacres" minOccurs="0" maxOccurs="unbounded">
<xs:complexType>
<xs:sequence>
<xs:element name="nLacre">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ public static ConfiguracoesNfe criarConfiguracoes(EstadosEnum estado, AmbienteEn

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

0 comments on commit d4cadbe

Please sign in to comment.