Skip to content

Commit

Permalink
Merge branch 'release/4.00.8'
Browse files Browse the repository at this point in the history
  • Loading branch information
Samuel-Oliveira committed Apr 19, 2024
2 parents 3582a24 + e1ae001 commit ab6e8a5
Show file tree
Hide file tree
Showing 37 changed files with 25,673 additions and 15,218 deletions.
9 changes: 6 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Java-CTe [![MIT License](https://img.shields.io/github/license/Samuel-Oliveira/Java_CTe.svg) ](https://github.com/Samuel-Oliveira/Java_CTe/blob/master/LICENSE) [![Maven Central](https://img.shields.io/maven-central/v/br.com.swconsultoria/java-cte.svg?label=Maven%20Central)](https://search.maven.org/artifact/br.com.swconsultoria/java-cte/4.00.7/jar)
# Java-CTe [![MIT License](https://img.shields.io/github/license/Samuel-Oliveira/Java_CTe.svg) ](https://github.com/Samuel-Oliveira/Java_CTe/blob/master/LICENSE) [![Maven Central](https://img.shields.io/maven-central/v/br.com.swconsultoria/java-cte.svg?label=Maven%20Central)](https://search.maven.org/artifact/br.com.swconsultoria/java-cte/4.00.8/jar)
API Java para consumo do WebService de CTe

## Dúvidas, Sugestões ou Consultoria
Expand All @@ -18,14 +18,14 @@ Para Iniciar :
<dependency>
<groupId>br.com.swconsultoria</groupId>
<artifactId>java-cte</artifactId>
<version>4.00.7</version>
<version>4.00.8</version>
</dependency>
```

- Gradle :
```groovy
dependencies {
implementation "br.com.swconsultoria:java-cte:4.00.7"
implementation "br.com.swconsultoria:java-cte:4.00.8"
}
```

Expand All @@ -35,6 +35,9 @@ ________________________________________________________________________________

# Historico de Versões

## v4.00.8 - 19/04/2024
- Atualizado nova versao Java Certificado

## v4.00.7 - 04/04/2024
- Correcao Eventos MS - Uso de prefixo de namespace nao permitido - status 404
- Atualizado nova versao Java Certificado
Expand Down
8 changes: 4 additions & 4 deletions docs/docs/index.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Java-CTe [![Build Status](https://travis-ci.org/Samuel-Oliveira/Java_CTe.svg?branch=master)](https://travis-ci.org/Samuel-Oliveira/Java_CTe) [![MIT License](https://img.shields.io/github/license/Samuel-Oliveira/Java_CTe.svg) ](https://github.com/Samuel-Oliveira/Java_CTe/blob/master/LICENSE) [![Maven Central](https://img.shields.io/maven-central/v/br.com.swconsultoria/java-cte.svg?label=Maven%20Central)](https://search.maven.org/artifact/br.com.swconsultoria/java-cte/4.00.7/jar)
# Java-CTe [![Build Status](https://travis-ci.org/Samuel-Oliveira/Java_CTe.svg?branch=master)](https://travis-ci.org/Samuel-Oliveira/Java_CTe) [![MIT License](https://img.shields.io/github/license/Samuel-Oliveira/Java_CTe.svg) ](https://github.com/Samuel-Oliveira/Java_CTe/blob/master/LICENSE) [![Maven Central](https://img.shields.io/maven-central/v/br.com.swconsultoria/java-cte.svg?label=Maven%20Central)](https://search.maven.org/artifact/br.com.swconsultoria/java-cte/4.00.8/jar)
API Java para consumo do WebService de CTe

## Dúvidas, Sugestões ou Consultoria
Expand All @@ -8,7 +8,7 @@ API Java para consumo do WebService de CTe
<img src="https://swconsultoria.com.br/pix.png" width="200">

Para Iniciar :
- Caso use Libs baixe o [java-cte-4.00.7.jar](https://github.com/Samuel-Oliveira/Java_CTe/raw/master/java-cte-4.00.7.jar) e o adicione às bibliotecas de Seu Projeto.
- Caso use Libs baixe o [java-cte-4.00.8.jar](https://github.com/Samuel-Oliveira/Java_CTe/raw/master/java-cte-4.00.8.jar) e o adicione às bibliotecas de Seu Projeto.

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

Expand All @@ -17,14 +17,14 @@ Para Iniciar :
<dependency>
<groupId>br.com.swconsultoria</groupId>
<artifactId>java-cte</artifactId>
<version>4.00.7</version>
<version>4.00.8</version>
</dependency>
```

- Gradle :
```groovy
dependencies {
implementation "br.com.swconsultoria:java-cte:4.00.7"
implementation "br.com.swconsultoria:java-cte:4.00.8"
}
```

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-cte</artifactId>
<version>4.00.8-SNAPSHOT</version>
<version>4.00.9-SNAPSHOT</version>
<name>Java_CTe</name>
<description>API Java para consumo do WebService de CTe</description>
<url>https://github.com/Samuel-Oliveira/Java_CTe</url>
Expand Down Expand Up @@ -85,7 +85,7 @@
<dependency>
<groupId>br.com.swconsultoria</groupId>
<artifactId>java_certificado</artifactId>
<version>3.4</version>
<version>3.5</version>
</dependency>

<!-- Ini4J -->
Expand Down
Binary file modified schemas.zip
Binary file not shown.
209 changes: 207 additions & 2 deletions schemas/cteTiposBasico_v4.00.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -3664,9 +3664,9 @@ Onde v9.99 é a a designação genérica para a versão do arquivo. Por exemplo,
<xs:annotation>
<xs:documentation>Forma de emissão do CT-e</xs:documentation>
<xs:documentation>Preencher com:
1 - Normal;
1 - Normal;
5 - Contingência FSDA;
7 - Autorização pela SVC-RS;
7 - Autorização pela SVC-RS;
8 - Autorização pela SVC-SP</xs:documentation>
</xs:annotation>
<xs:simpleType>
Expand Down Expand Up @@ -5371,6 +5371,29 @@ Somente para Transporte de Valores</xs:documentation>
<xs:documentation>Valor do ICMS</xs:documentation>
</xs:annotation>
</xs:element>
<xs:sequence minOccurs="0">
<xs:annotation>
<xs:documentation>Sequencia XML</xs:documentation>
</xs:annotation>
<xs:element name="vICMSDeson" type="TDec_1302">
<xs:annotation>
<xs:documentation>Valor do ICMS de desoneração</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="cBenef">
<xs:annotation>
<xs:documentation>Código de Benefício Fiscal na UF</xs:documentation>
<xs:documentation>Código de Benefício Fiscal utilizado pela UF
</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="TString">
<xs:whiteSpace value="preserve"/>
<xs:maxLength value="10"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:sequence>
</xs:complexType>
</xs:element>
Expand All @@ -5397,6 +5420,29 @@ Somente para Transporte de Valores</xs:documentation>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:sequence minOccurs="0">
<xs:annotation>
<xs:documentation>Sequencia XML</xs:documentation>
</xs:annotation>
<xs:element name="vICMSDeson" type="TDec_1302">
<xs:annotation>
<xs:documentation>Valor do ICMS de desoneração</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="cBenef">
<xs:annotation>
<xs:documentation>Código de Benefício Fiscal na UF</xs:documentation>
<xs:documentation>Código de Benefício Fiscal utilizado pela UF
</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="TString">
<xs:whiteSpace value="preserve"/>
<xs:maxLength value="10"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:sequence>
</xs:complexType>
</xs:element>
Expand Down Expand Up @@ -5442,6 +5488,28 @@ Somente para Transporte de Valores</xs:documentation>
<xs:documentation>Preencher somente quando o transportador substituído, for optante pelo crédito outorgado previsto no Convênio 106/96 e corresponde ao percentual de 20% do valor do ICMS ST retido. </xs:documentation>
</xs:annotation>
</xs:element>
<xs:sequence minOccurs="0">
<xs:annotation>
<xs:documentation>Sequencia XML</xs:documentation>
</xs:annotation>
<xs:element name="vICMSDeson" type="TDec_1302">
<xs:annotation>
<xs:documentation>Valor do ICMS de desoneração</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="cBenef">
<xs:annotation>
<xs:documentation>Código de Benefício Fiscal na UF</xs:documentation>
<xs:documentation>Código de Benefício Fiscal utilizado pela UF</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="TString">
<xs:whiteSpace value="preserve"/>
<xs:maxLength value="10"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:sequence>
</xs:complexType>
</xs:element>
Expand Down Expand Up @@ -5488,6 +5556,28 @@ Somente para Transporte de Valores</xs:documentation>
<xs:documentation>Valor do Crédito Outorgado/Presumido</xs:documentation>
</xs:annotation>
</xs:element>
<xs:sequence minOccurs="0">
<xs:annotation>
<xs:documentation>Sequencia XML</xs:documentation>
</xs:annotation>
<xs:element name="vICMSDeson" type="TDec_1302">
<xs:annotation>
<xs:documentation>Valor do ICMS de desoneração</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="cBenef">
<xs:annotation>
<xs:documentation>Código de Benefício Fiscal na UF </xs:documentation>
<xs:documentation>Código de Benefício Fiscal utilizado pela UF</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="TString">
<xs:whiteSpace value="preserve"/>
<xs:maxLength value="10"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:sequence>
</xs:complexType>
</xs:element>
Expand Down Expand Up @@ -5529,6 +5619,29 @@ Somente para Transporte de Valores</xs:documentation>
<xs:documentation>Valor do ICMS devido outra UF</xs:documentation>
</xs:annotation>
</xs:element>
<xs:sequence minOccurs="0">
<xs:annotation>
<xs:documentation>Sequencia XML</xs:documentation>
</xs:annotation>
<xs:element name="vICMSDeson" type="TDec_1302">
<xs:annotation>
<xs:documentation>Valor do ICMS de desoneração</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="cBenef">
<xs:annotation>
<xs:documentation>Código de Benefício Fiscal na UF</xs:documentation>
<xs:documentation>Código de Benefício Fiscal utilizado pela UF
</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="TString">
<xs:whiteSpace value="preserve"/>
<xs:maxLength value="10"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:sequence>
</xs:complexType>
</xs:element>
Expand Down Expand Up @@ -5645,6 +5758,29 @@ Somente para Transporte de Valores</xs:documentation>
<xs:documentation>Valor do ICMS</xs:documentation>
</xs:annotation>
</xs:element>
<xs:sequence minOccurs="0">
<xs:annotation>
<xs:documentation>Sequencia XML</xs:documentation>
</xs:annotation>
<xs:element name="vICMSDeson" type="TDec_1302">
<xs:annotation>
<xs:documentation>Valor do ICMS de desoneração</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="cBenef">
<xs:annotation>
<xs:documentation>Código de Benefício Fiscal na UF</xs:documentation>
<xs:documentation>Código de Benefício Fiscal utilizado pela UF
</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="TString">
<xs:whiteSpace value="preserve"/>
<xs:maxLength value="10"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:sequence>
</xs:complexType>
</xs:element>
Expand All @@ -5671,6 +5807,29 @@ Somente para Transporte de Valores</xs:documentation>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:sequence minOccurs="0">
<xs:annotation>
<xs:documentation>Sequencia XML</xs:documentation>
</xs:annotation>
<xs:element name="vICMSDeson" type="TDec_1302">
<xs:annotation>
<xs:documentation>Valor do ICMS de desoneração</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="cBenef">
<xs:annotation>
<xs:documentation>Código de Benefício Fiscal na UF</xs:documentation>
<xs:documentation>Código de Benefício Fiscal utilizado pela UF
</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="TString">
<xs:whiteSpace value="preserve"/>
<xs:maxLength value="10"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:sequence>
</xs:complexType>
</xs:element>
Expand Down Expand Up @@ -5717,6 +5876,29 @@ Somente para Transporte de Valores</xs:documentation>
<xs:documentation>Valor do Crédito Outorgado/Presumido</xs:documentation>
</xs:annotation>
</xs:element>
<xs:sequence minOccurs="0">
<xs:annotation>
<xs:documentation>Sequencia XML</xs:documentation>
</xs:annotation>
<xs:element name="vICMSDeson" type="TDec_1302">
<xs:annotation>
<xs:documentation>Valor do ICMS de desoneração</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="cBenef">
<xs:annotation>
<xs:documentation>Código de Benefício Fiscal na UF</xs:documentation>
<xs:documentation>Código de Benefício Fiscal utilizado pela UF
</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="TString">
<xs:whiteSpace value="preserve"/>
<xs:maxLength value="10"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:sequence>
</xs:complexType>
</xs:element>
Expand Down Expand Up @@ -5758,6 +5940,29 @@ Somente para Transporte de Valores</xs:documentation>
<xs:documentation>Valor do ICMS devido outra UF</xs:documentation>
</xs:annotation>
</xs:element>
<xs:sequence minOccurs="0">
<xs:annotation>
<xs:documentation>Sequencia XML</xs:documentation>
</xs:annotation>
<xs:element name="vICMSDeson" type="TDec_1302">
<xs:annotation>
<xs:documentation>Valor do ICMS de desoneração</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="cBenef">
<xs:annotation>
<xs:documentation>Código de Benefício Fiscal na UF</xs:documentation>
<xs:documentation>Código de Benefício Fiscal utilizado pela UF
</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="TString">
<xs:whiteSpace value="preserve"/>
<xs:maxLength value="10"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:sequence>
</xs:complexType>
</xs:element>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -167,8 +167,8 @@ public static ConfiguracoesCte criarConfiguracoes(EstadosEnum estado, AmbienteEn

log.info(String.format("JAVA-CTE | Samuel Oliveira | [email protected] " +
"| VERSAO=%s | DATA_VERSAO=%s | PASTA_SCHEMAS=%s | AMBIENTE=%s | ESTADO=%s",
"4.00.7",
"04/04/2024",
"4.00.8",
"19/04/2024",
pastaSchemas,
ambiente,
estado.getNome().toUpperCase()));
Expand Down
Loading

0 comments on commit ab6e8a5

Please sign in to comment.