Skip to content

Commit

Permalink
Merge branch 'release/4.00.35'
Browse files Browse the repository at this point in the history
  • Loading branch information
Samuel-Oliveira committed Dec 1, 2024
2 parents d3a1f60 + 2a1e578 commit ddbf435
Show file tree
Hide file tree
Showing 279 changed files with 46,758 additions and 294 deletions.
19 changes: 9 additions & 10 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
# Notas de versão

- Atualizacao de URL Webservice
- Unificacao SVAN e SVC-AN Em Homologacao
- Urls QRCode Rio de Janeiro
- Add Url Inutilizacao SVC

- Atualizado Cacerts
- Implementado NT2023.004
- Implementado NT2019.001

- Atualizaçao de layout para Schemas PL.009n
- Atualizado CACERT
- Adicionado modo Multithreading
- Atualizado Schemas para PL.009p1
- Implementado NT2024.001
- Implementado NT2024.003
- Adicionado Evento Insucesso Entrega (NT2023.005)
- Adicionado Evento Cancelamento Insucesso Entrega (NT2023.005)
- Adicionado Evento Conciliacao Financeira (NT2024.002)
- Adicionado Evento Cancelamento Conciliacao Financeira (NT2024.002)
17 changes: 14 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# 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.34/jar)
# 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.35/jar)
Biblioteca Java para consumo do WebService de NFe/NFCe

## Dúvidas, Sugestões ou Consultoria
Expand All @@ -17,7 +17,7 @@ Para Iniciar :
<dependency>
<groupId>br.com.swconsultoria</groupId>
<artifactId>java-nfe</artifactId>
<version>4.00.34</version>
<version>4.00.35</version>
</dependency>
```

Expand All @@ -29,7 +29,7 @@ repositories {
}
}
dependencies {
implementation "br.com.swconsultoria:java-nfe:4.00.34"
implementation "br.com.swconsultoria:java-nfe:4.00.35"
}
```

Expand All @@ -39,6 +39,17 @@ ________________________________________________________________________________

# Historico de Versões

## v4.00.35 - 01/12/2024 - Schemas PL.009p1
- Atualizado CACERT
- Adicionado modo Multithreading
- Atualizado Schemas para PL.009p1
- Implementado NT2024.001
- Implementado NT2024.003
- Adicionado Evento Insucesso Entrega (NT2023.005)
- Adicionado Evento Cancelamento Insucesso Entrega (NT2023.005)
- Adicionado Evento Conciliacao Financeira (NT2024.002)
- Adicionado Evento Cancelamento Conciliacao Financeira (NT2024.002)

## v4.00.34 - 08/06/2024 - Schemas PL.009n
- Atualizacao de URL Webservice
- Unificacao SVAN e SVC-AN Em Homologacao
Expand Down
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>br.com.swconsultoria</groupId>
<artifactId>java-nfe</artifactId>
<version>4.00.35-SNAPSHOT</version>
<version>4.00.36-SNAPSHOT</version>
<name>Java_NFe</name>
<description>Api java para consumo do webService de nota fiscal eletronica</description>
<url>https://github.com/Samuel-Oliveira/Java_NFe</url>
Expand Down Expand Up @@ -84,7 +84,7 @@
<dependency>
<groupId>br.com.swconsultoria</groupId>
<artifactId>java_certificado</artifactId>
<version>3.6</version>
<version>3.8</version>
</dependency>
<!-- Ini4J -->
<dependency>
Expand Down
Binary file modified schemas.zip
Binary file not shown.
11 changes: 11 additions & 0 deletions schemas/EventoCancEConf_v1.00.xsd
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://www.portalfiscal.inf.br/nfe"
targetNamespace="http://www.portalfiscal.inf.br/nfe" elementFormDefault="qualified"
attributeFormDefault="unqualified">
<xs:include schemaLocation="leiauteEventoCancEConf_v1.00.xsd"/>
<xs:element name="evento" type="TEvento">
<xs:annotation>
<xs:documentation>Schema XML de validação do evento de Cancelamento do Comprovante de Entrega da NFe</xs:documentation>
</xs:annotation>
</xs:element>
</xs:schema>
11 changes: 11 additions & 0 deletions schemas/EventoCancInsucessoNFe_v1.00.xsd
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://www.portalfiscal.inf.br/nfe"
targetNamespace="http://www.portalfiscal.inf.br/nfe" elementFormDefault="qualified"
attributeFormDefault="unqualified">
<xs:include schemaLocation="leiauteEventoCancInsucessoNFe_v1.00.xsd"/>
<xs:element name="evento" type="TEvento">
<xs:annotation>
<xs:documentation>Schema XML de validação do evento de Cancelamento do Comprovante de Entrega da NFe</xs:documentation>
</xs:annotation>
</xs:element>
</xs:schema>
11 changes: 11 additions & 0 deletions schemas/EventoEConf_v1.00.xsd
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://www.portalfiscal.inf.br/nfe"
targetNamespace="http://www.portalfiscal.inf.br/nfe" elementFormDefault="qualified"
attributeFormDefault="unqualified">
<xs:include schemaLocation="leiauteEventoEConf_v1.00.xsd"/>
<xs:element name="evento" type="TEvento">
<xs:annotation>
<xs:documentation>Schema XML de validação do evento de Conciliação Financeira</xs:documentation>
</xs:annotation>
</xs:element>
</xs:schema>
11 changes: 11 additions & 0 deletions schemas/EventoInsucessoNFe_v1.00.xsd
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://www.portalfiscal.inf.br/nfe"
targetNamespace="http://www.portalfiscal.inf.br/nfe" elementFormDefault="qualified"
attributeFormDefault="unqualified">
<xs:include schemaLocation="leiauteEventoInsucessoNFe_v1.00.xsd"/>
<xs:element name="evento" type="TEvento">
<xs:annotation>
<xs:documentation>Schema XML de validação do evento de Insucesso na entrega da NF-e</xs:documentation>
</xs:annotation>
</xs:element>
</xs:schema>
4 changes: 2 additions & 2 deletions schemas/consReciNFe_v4.00.xsd
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns="http://www.portalfiscal.inf.br/nfe" xmlns:xs="http://www.w3.org/2001/XMLSchema"
targetNamespace="http://www.portalfiscal.inf.br/nfe" elementFormDefault="qualified"
attributeFormDefault="unqualified">
targetNamespace="http://www.portalfiscal.inf.br/nfe" elementFormDefault="qualified"
attributeFormDefault="unqualified">
<xs:include schemaLocation="leiauteNFe_v4.00.xsd"/>
<xs:element name="consReciNFe" type="TConsReciNFe">
<xs:annotation>
Expand Down
4 changes: 2 additions & 2 deletions schemas/consStatServ_v4.00.xsd
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns="http://www.portalfiscal.inf.br/nfe" xmlns:xs="http://www.w3.org/2001/XMLSchema"
targetNamespace="http://www.portalfiscal.inf.br/nfe" elementFormDefault="qualified"
attributeFormDefault="unqualified">
targetNamespace="http://www.portalfiscal.inf.br/nfe" elementFormDefault="qualified"
attributeFormDefault="unqualified">
<xs:include schemaLocation="leiauteConsStatServ_v4.00.xsd"/>
<xs:element name="consStatServ" type="TConsStatServ">
<xs:annotation>
Expand Down
108 changes: 108 additions & 0 deletions schemas/e110192_v1.00.xsd
Original file line number Diff line number Diff line change
@@ -0,0 +1,108 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- edited with XMLSpy v2008 (http://www.altova.com) by [email protected] (PROCERGS) -->
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://www.portalfiscal.inf.br/nfe"
targetNamespace="http://www.portalfiscal.inf.br/nfe" elementFormDefault="qualified"
attributeFormDefault="unqualified">
<xs:include schemaLocation="tiposBasico_v1.03.xsd"/>
<xs:element name="detEvento">
<xs:annotation>
<xs:documentation>Schema XML de validação do evento de Comprovante de Entrega da NF-e</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="descEvento">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="Insucesso na Entrega da NF-e"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="cOrgaoAutor" type="TCOrgaoIBGE"/>
<xs:element name="verAplic" type="TVerAplic">
<xs:annotation>
<xs:documentation>Versão do Aplicativo do Autor do Evento</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="dhTentativaEntrega" type="TDateTimeUTC">
<xs:annotation>
<xs:documentation>Data e hora do final da tentativa entrega. Formato AAAA-MMDDThh:mm:ssTZD
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="nTentativa" minOccurs="0">
<xs:simpleType>
<xs:annotation>
<xs:documentation>Número da tentativa de entrega que não teve sucesso</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:string">
<xs:pattern value="[0-9]{1,3}"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="tpMotivo">
<xs:simpleType>
<xs:annotation>
<xs:documentation>Motivo do insucesso - 1 – Recebedor não encontrado
2 – Recusa do recebedor
3 – Endereço inexistente
4 – Outros (exige informar justificativa) </xs:documentation>
</xs:annotation>
<xs:restriction base="xs:string">
<xs:whiteSpace value="preserve"/>
<xs:enumeration value="1"/>
<xs:enumeration value="2"/>
<xs:enumeration value="3"/>
<xs:enumeration value="4"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="xJustMotivo" minOccurs="0">
<xs:annotation>
<xs:documentation>Justificativa do motivo do insucesso. Informar apenas para tpMotivo=4 </xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="TString">
<xs:maxLength value="250"/>
<xs:minLength value="25"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="latGPS" type="TLatitude" minOccurs="0">
<xs:annotation>
<xs:documentation>Latitude do ponto de entrega</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="longGPS" type="TLongitude" minOccurs="0">
<xs:annotation>
<xs:documentation>Longitude do ponto de entrega</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="hashTentativaEntrega">
<xs:annotation>
<xs:documentation>Hash (SHA1) no formato Base64 resultante da concatenação: Chave de acesso da NFe + Base64 da imagem capturada da entrega (Exemplo: imagem capturada da assinatura eletrônica, digital do recebedor, foto, etc)
Observação: 28 caracteres são representados no schema como 20 bytes do tipo base64Binary</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:base64Binary">
<xs:length value="20"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="dhHashTentativaEntrega" type="TDateTimeUTC" minOccurs="0">
<xs:annotation>
<xs:documentation>Data e hora da geração do hash da tentativa de entrega. Formato AAAA-MMDDThh:mm:ssTZD.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
<xs:attribute name="versao" use="required">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:whiteSpace value="preserve"/>
<xs:enumeration value="1.00"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:complexType>
</xs:element>
</xs:schema>
42 changes: 42 additions & 0 deletions schemas/e110193_v1.00.xsd
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- edited with XMLSpy v2008 (http://www.altova.com) by [email protected] (PROCERGS) -->
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://www.portalfiscal.inf.br/nfe"
targetNamespace="http://www.portalfiscal.inf.br/nfe" elementFormDefault="qualified"
attributeFormDefault="unqualified">
<xs:include schemaLocation="tiposBasico_v1.03.xsd"/>
<xs:element name="detEvento">
<xs:annotation>
<xs:documentation>Schema XML de validação do evento de Cancelamento do Comprovante de Entrega da NF-e</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="descEvento">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="Cancelamento Insucesso na Entrega da NF-e"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="cOrgaoAutor" type="TCOrgaoIBGE"/>
<xs:element name="verAplic" type="TVerAplic">
<xs:annotation>
<xs:documentation>Versão do Aplicativo do Autor do Evento</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="nProtEvento" type="TProt">
<xs:annotation>
<xs:documentation>Número do Protocolo de Autorização do Evento da NF-e a que se refere este cancelamento.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
<xs:attribute name="versao" use="required">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:whiteSpace value="preserve"/>
<xs:enumeration value="1.00"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:complexType>
</xs:element>
</xs:schema>
Loading

0 comments on commit ddbf435

Please sign in to comment.