-
Notifications
You must be signed in to change notification settings - Fork 382
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #827 from wmixvideo/eldevanjr-master
Eldevanjr master
- Loading branch information
Showing
49 changed files
with
10,475 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 10 additions & 0 deletions
10
src/main/resources/schemas/PL_CTe_300a_NT2022.001/GTVe_v3.00.xsd
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!-- edited with XMLSpy v2008 (http://www.altova.com) by [email protected] (PROCERGS) --> | ||
<xs:schema xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://www.portalfiscal.inf.br/cte" targetNamespace="http://www.portalfiscal.inf.br/cte" elementFormDefault="qualified" attributeFormDefault="unqualified"> | ||
<xs:include schemaLocation="cteTiposBasico_v3.00.xsd"/> | ||
<xs:element name="GTVe" type="TGTVe"> | ||
<xs:annotation> | ||
<xs:documentation>Guia de Trasnsporte Eletrônica</xs:documentation> | ||
</xs:annotation> | ||
</xs:element> | ||
</xs:schema> |
81 changes: 81 additions & 0 deletions
81
src/main/resources/schemas/PL_CTe_300a_NT2022.001/consReciCTeTiposBasico_v3.00.xsd
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,81 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!-- edited with XMLSpy v2008 (http://www.altova.com) by [email protected] (PROCERGS) --> | ||
<xs:schema xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://www.portalfiscal.inf.br/cte" targetNamespace="http://www.portalfiscal.inf.br/cte" elementFormDefault="qualified" attributeFormDefault="unqualified"> | ||
<xs:import namespace="http://www.w3.org/2000/09/xmldsig#" schemaLocation="xmldsig-core-schema_v1.01.xsd"/> | ||
<xs:include schemaLocation="tiposGeralCTe_v3.00.xsd"/> | ||
<xs:include schemaLocation="cteTiposBasico_v3.00.xsd"/> | ||
<xs:complexType name="TConsReciCTe"> | ||
<xs:annotation> | ||
<xs:documentation>Tipo Pedido de Consulta do Recibo do Lote de CT-e</xs:documentation> | ||
</xs:annotation> | ||
<xs:sequence> | ||
<xs:element name="tpAmb" type="TAmb"> | ||
<xs:annotation> | ||
<xs:documentation>Identificação do Ambiente: | ||
1 - Produção | ||
2 - Homologação</xs:documentation> | ||
</xs:annotation> | ||
</xs:element> | ||
<xs:element name="nRec" type="TRec"> | ||
<xs:annotation> | ||
<xs:documentation>Número do Recibo do lote a ser consultado</xs:documentation> | ||
</xs:annotation> | ||
</xs:element> | ||
</xs:sequence> | ||
<xs:attribute name="versao" type="TVerConsReciCTe" use="required"/> | ||
</xs:complexType> | ||
<xs:complexType name="TRetConsReciCTe"> | ||
<xs:annotation> | ||
<xs:documentation>Tipo Retorno do Pedido de Consulta do Recibo do Lote de CT-e</xs:documentation> | ||
</xs:annotation> | ||
<xs:sequence> | ||
<xs:element name="tpAmb" type="TAmb"> | ||
<xs:annotation> | ||
<xs:documentation>Identificação do Ambiente: | ||
1 - Produção | ||
2 - Homologação</xs:documentation> | ||
</xs:annotation> | ||
</xs:element> | ||
<xs:element name="verAplic" type="TVerAplic"> | ||
<xs:annotation> | ||
<xs:documentation>Versão do Aplicativo que processou a CT-e</xs:documentation> | ||
</xs:annotation> | ||
</xs:element> | ||
<xs:element name="nRec" type="TRec"> | ||
<xs:annotation> | ||
<xs:documentation>Número do Recibo Consultado</xs:documentation> | ||
</xs:annotation> | ||
</xs:element> | ||
<xs:element name="cStat" type="TStat"> | ||
<xs:annotation> | ||
<xs:documentation>código do status do retorno da consulta.</xs:documentation> | ||
</xs:annotation> | ||
</xs:element> | ||
<xs:element name="xMotivo" type="TMotivo"> | ||
<xs:annotation> | ||
<xs:documentation>Descrição literal do status do do retorno da consulta.</xs:documentation> | ||
</xs:annotation> | ||
</xs:element> | ||
<xs:element name="cUF" type="TCodUfIBGE"> | ||
<xs:annotation> | ||
<xs:documentation>Idntificação da UF</xs:documentation> | ||
</xs:annotation> | ||
</xs:element> | ||
<xs:element name="protCTe" type="TProtCTe" minOccurs="0" maxOccurs="50"> | ||
<xs:annotation> | ||
<xs:documentation>Conjunto de CT-es processados, só existe nos casos em que o lote consultado se encontra processado</xs:documentation> | ||
</xs:annotation> | ||
</xs:element> | ||
</xs:sequence> | ||
<xs:attribute name="versao" type="TVerConsReciCTe" use="required"/> | ||
</xs:complexType> | ||
<xs:simpleType name="TVerConsReciCTe"> | ||
<xs:annotation> | ||
<xs:documentation> Tipo Versão do Consulta Lote de CT-e </xs:documentation> | ||
</xs:annotation> | ||
<xs:restriction base="xs:string"> | ||
<xs:whiteSpace value="preserve"/> | ||
<xs:pattern value="3\.00"/> | ||
</xs:restriction> | ||
</xs:simpleType> | ||
</xs:schema> |
9 changes: 9 additions & 0 deletions
9
src/main/resources/schemas/PL_CTe_300a_NT2022.001/consReciCTe_v3.00.xsd
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<xs:schema xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns="http://www.portalfiscal.inf.br/cte" xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.portalfiscal.inf.br/cte" elementFormDefault="qualified" attributeFormDefault="unqualified"> | ||
<xs:include schemaLocation="consReciCTeTiposBasico_v3.00.xsd"/> | ||
<xs:element name="consReciCTe" type="TConsReciCTe"> | ||
<xs:annotation> | ||
<xs:documentation>Schema XML de validação do Pedido de Consulta de Lote de CT-e</xs:documentation> | ||
</xs:annotation> | ||
</xs:element> | ||
</xs:schema> |
121 changes: 121 additions & 0 deletions
121
src/main/resources/schemas/PL_CTe_300a_NT2022.001/consSitCTeTiposBasico_v3.00.xsd
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,121 @@ | ||
<?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/cte" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" targetNamespace="http://www.portalfiscal.inf.br/cte" elementFormDefault="qualified" attributeFormDefault="unqualified"> | ||
<xs:include schemaLocation="tiposGeralCTe_v3.00.xsd"/> | ||
<xs:import namespace="http://www.w3.org/2000/09/xmldsig#" schemaLocation="xmldsig-core-schema_v1.01.xsd"/> | ||
<xs:complexType name="TConsSitCTe"> | ||
<xs:annotation> | ||
<xs:documentation>Tipo Pedido de Consulta da Situação Atual do Conhecimento de Transporte eletrônico</xs:documentation> | ||
</xs:annotation> | ||
<xs:sequence> | ||
<xs:element name="tpAmb" type="TAmb"> | ||
<xs:annotation> | ||
<xs:documentation>Identificação do Ambiente: | ||
1 - Produção | ||
2 - Homologação</xs:documentation> | ||
</xs:annotation> | ||
</xs:element> | ||
<xs:element name="xServ" type="TServ" fixed="CONSULTAR"> | ||
<xs:annotation> | ||
<xs:documentation>Serviço Solicitado</xs:documentation> | ||
</xs:annotation> | ||
</xs:element> | ||
<xs:element name="chCTe" type="TChNFe"> | ||
<xs:annotation> | ||
<xs:documentation>Chaves de acesso da CT-e, compostas por: UF do emitente, AAMM da emissão da CT-e, CNPJ do emitente, modelo, série e número da CT-e e código numérico + DV.</xs:documentation> | ||
</xs:annotation> | ||
</xs:element> | ||
</xs:sequence> | ||
<xs:attribute name="versao" use="required"> | ||
<xs:simpleType> | ||
<xs:restriction base="TVerConsSitCTe"/> | ||
</xs:simpleType> | ||
</xs:attribute> | ||
</xs:complexType> | ||
<xs:complexType name="TRetConsSitCTe"> | ||
<xs:annotation> | ||
<xs:documentation>Tipo Retorno de Pedido de Consulta da Situação Atual do Conhecimento de Transporte eletrônico</xs:documentation> | ||
</xs:annotation> | ||
<xs:sequence> | ||
<xs:element name="tpAmb" type="TAmb"> | ||
<xs:annotation> | ||
<xs:documentation>Identificação do Ambiente: | ||
1 - Produção | ||
2 - Homologação</xs:documentation> | ||
</xs:annotation> | ||
</xs:element> | ||
<xs:element name="verAplic" type="TVerAplic"> | ||
<xs:annotation> | ||
<xs:documentation>Versão do Aplicativo que processou o CT-e</xs:documentation> | ||
</xs:annotation> | ||
</xs:element> | ||
<xs:element name="cStat" type="TStat"> | ||
<xs:annotation> | ||
<xs:documentation>Código do status da mensagem enviada.</xs:documentation> | ||
</xs:annotation> | ||
</xs:element> | ||
<xs:element name="xMotivo" type="TMotivo"> | ||
<xs:annotation> | ||
<xs:documentation>Descrição literal do status do serviço solicitado.</xs:documentation> | ||
</xs:annotation> | ||
</xs:element> | ||
<xs:element name="cUF" type="TCodUfIBGE"> | ||
<xs:annotation> | ||
<xs:documentation>código da UF de atendimento</xs:documentation> | ||
</xs:annotation> | ||
</xs:element> | ||
<xs:element name="protCTe" minOccurs="0"> | ||
<xs:complexType> | ||
<xs:sequence> | ||
<xs:any processContents="skip"> | ||
<xs:annotation> | ||
<xs:documentation>Retornar protCTe da versão correspondente do CT-e autorizado</xs:documentation> | ||
</xs:annotation> | ||
</xs:any> | ||
</xs:sequence> | ||
<xs:attribute name="versao" use="required"> | ||
<xs:simpleType> | ||
<xs:restriction base="xs:string"> | ||
<xs:whiteSpace value="preserve"/> | ||
<xs:enumeration value="1.03"/> | ||
<xs:enumeration value="1.04"/> | ||
<xs:enumeration value="2.00"/> | ||
<xs:enumeration value="3.00"/> | ||
</xs:restriction> | ||
</xs:simpleType> | ||
</xs:attribute> | ||
</xs:complexType> | ||
</xs:element> | ||
<xs:element name="procEventoCTe" minOccurs="0" maxOccurs="unbounded"> | ||
<xs:complexType> | ||
<xs:sequence> | ||
<xs:any> | ||
<xs:annotation> | ||
<xs:documentation>Retornar procEventoCTe da versão correspondente do evento CT-e autorizado</xs:documentation> | ||
</xs:annotation> | ||
</xs:any> | ||
</xs:sequence> | ||
<xs:attribute name="versao" use="required"> | ||
<xs:simpleType> | ||
<xs:restriction base="xs:string"> | ||
<xs:whiteSpace value="preserve"/> | ||
<xs:enumeration value="1.04"/> | ||
<xs:enumeration value="2.00"/> | ||
<xs:enumeration value="3.00"/> | ||
</xs:restriction> | ||
</xs:simpleType> | ||
</xs:attribute> | ||
</xs:complexType> | ||
</xs:element> | ||
</xs:sequence> | ||
<xs:attribute name="versao" type="TVerConsSitCTe" use="required"/> | ||
</xs:complexType> | ||
<xs:simpleType name="TVerConsSitCTe"> | ||
<xs:annotation> | ||
<xs:documentation> Tipo Versão do Consulta situação de CT-e - 2.00</xs:documentation> | ||
</xs:annotation> | ||
<xs:restriction base="xs:string"> | ||
<xs:pattern value="3\.00"/> | ||
</xs:restriction> | ||
</xs:simpleType> | ||
</xs:schema> |
9 changes: 9 additions & 0 deletions
9
src/main/resources/schemas/PL_CTe_300a_NT2022.001/consSitCTe_v3.00.xsd
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://www.portalfiscal.inf.br/cte" targetNamespace="http://www.portalfiscal.inf.br/cte" elementFormDefault="qualified" attributeFormDefault="unqualified"> | ||
<xs:include schemaLocation="consSitCTeTiposBasico_v3.00.xsd"/> | ||
<xs:element name="consSitCTe" type="TConsSitCTe"> | ||
<xs:annotation> | ||
<xs:documentation>Schema de validação XML dp Pedido de Consulta da Situação Atual do CT-e.</xs:documentation> | ||
</xs:annotation> | ||
</xs:element> | ||
</xs:schema> |
9 changes: 9 additions & 0 deletions
9
src/main/resources/schemas/PL_CTe_300a_NT2022.001/consStatServCTe_v3.00.xsd
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<xs:schema xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns="http://www.portalfiscal.inf.br/cte" xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.portalfiscal.inf.br/cte" elementFormDefault="qualified" attributeFormDefault="unqualified"> | ||
<xs:include schemaLocation="consStatServTiposBasico_v3.00.xsd"/> | ||
<xs:element name="consStatServCte" type="TConsStatServ"> | ||
<xs:annotation> | ||
<xs:documentation>Schema XML de validação do Pedido de Consulta do Status do Serviço CT-e</xs:documentation> | ||
</xs:annotation> | ||
</xs:element> | ||
</xs:schema> |
108 changes: 108 additions & 0 deletions
108
src/main/resources/schemas/PL_CTe_300a_NT2022.001/consStatServTiposBasico_v3.00.xsd
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,108 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<xs:schema xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns="http://www.portalfiscal.inf.br/cte" xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.portalfiscal.inf.br/cte" elementFormDefault="qualified" attributeFormDefault="unqualified"> | ||
<xs:include schemaLocation="tiposGeralCTe_v3.00.xsd"/> | ||
<xs:complexType name="TConsStatServ"> | ||
<xs:annotation> | ||
<xs:documentation>Tipo Pedido de Consulta do Status do Serviço CTe</xs:documentation> | ||
</xs:annotation> | ||
<xs:sequence> | ||
<xs:element name="tpAmb" type="TAmb"> | ||
<xs:annotation> | ||
<xs:documentation>Identificação do Ambiente: | ||
1 - Produção | ||
2 - Homologação</xs:documentation> | ||
</xs:annotation> | ||
</xs:element> | ||
<xs:element name="xServ" type="TServ" fixed="STATUS"> | ||
<xs:annotation> | ||
<xs:documentation>Serviço Solicitado</xs:documentation> | ||
</xs:annotation> | ||
</xs:element> | ||
</xs:sequence> | ||
<xs:attribute name="versao" use="required"> | ||
<xs:simpleType> | ||
<xs:restriction base="TVerConsStat"/> | ||
</xs:simpleType> | ||
</xs:attribute> | ||
</xs:complexType> | ||
<xs:complexType name="TRetConsStatServ"> | ||
<xs:annotation> | ||
<xs:documentation>Tipo Resultado da Consulta do Status do Serviço CTe</xs:documentation> | ||
</xs:annotation> | ||
<xs:sequence> | ||
<xs:element name="tpAmb" type="TAmb"> | ||
<xs:annotation> | ||
<xs:documentation>Identificação do Ambiente: | ||
1 - Produção | ||
2 - Homologação</xs:documentation> | ||
</xs:annotation> | ||
</xs:element> | ||
<xs:element name="verAplic"> | ||
<xs:annotation> | ||
<xs:documentation>Versão do Aplicativo que processou o CT-e</xs:documentation> | ||
</xs:annotation> | ||
<xs:simpleType> | ||
<xs:restriction base="TVerAplic"> | ||
<xs:whiteSpace value="collapse"/> | ||
</xs:restriction> | ||
</xs:simpleType> | ||
</xs:element> | ||
<xs:element name="cStat" type="TStat"> | ||
<xs:annotation> | ||
<xs:documentation>Código do status da mensagem enviada.</xs:documentation> | ||
</xs:annotation> | ||
</xs:element> | ||
<xs:element name="xMotivo" type="TMotivo"> | ||
<xs:annotation> | ||
<xs:documentation>Descrição literal do status do serviço solicitado.</xs:documentation> | ||
</xs:annotation> | ||
</xs:element> | ||
<xs:element name="cUF" type="TCodUfIBGE"> | ||
<xs:annotation> | ||
<xs:documentation>Código da UF responsável pelo serviço</xs:documentation> | ||
</xs:annotation> | ||
</xs:element> | ||
<xs:element name="dhRecbto" type="TDateTimeUTC"> | ||
<xs:annotation> | ||
<xs:documentation>AAAA-MM-DDTHH:MM:SS TZD</xs:documentation> | ||
</xs:annotation> | ||
</xs:element> | ||
<xs:element name="tMed" minOccurs="0"> | ||
<xs:annotation> | ||
<xs:documentation>Tempo médio de resposta do serviço (em segundos) dos últimos 5 minutos</xs:documentation> | ||
</xs:annotation> | ||
<xs:simpleType> | ||
<xs:restriction base="xs:integer"> | ||
<xs:pattern value="[0-9]{1,4}"/> | ||
</xs:restriction> | ||
</xs:simpleType> | ||
</xs:element> | ||
<xs:element name="dhRetorno" type="TDateTimeUTC" minOccurs="0"> | ||
<xs:annotation> | ||
<xs:documentation>AAAA-MM-DDTHH:MM:SSDeve ser preenchida com data e hora previstas para o retorno dos serviços prestados.</xs:documentation> | ||
</xs:annotation> | ||
</xs:element> | ||
<xs:element name="xObs" minOccurs="0"> | ||
<xs:annotation> | ||
<xs:documentation>Campo observação utilizado para incluir informações ao contribuinte</xs:documentation> | ||
</xs:annotation> | ||
<xs:simpleType> | ||
<xs:restriction base="xs:string"> | ||
<xs:minLength value="1"/> | ||
<xs:maxLength value="255"/> | ||
<xs:whiteSpace value="collapse"/> | ||
</xs:restriction> | ||
</xs:simpleType> | ||
</xs:element> | ||
</xs:sequence> | ||
<xs:attribute name="versao" type="TVerConsStat" use="required"/> | ||
</xs:complexType> | ||
<xs:simpleType name="TVerConsStat"> | ||
<xs:annotation> | ||
<xs:documentation> Tipo Versão do Consulta do Status do Serviço CTe</xs:documentation> | ||
</xs:annotation> | ||
<xs:restriction base="xs:string"> | ||
<xs:pattern value="3\.00"/> | ||
</xs:restriction> | ||
</xs:simpleType> | ||
</xs:schema> |
Oops, something went wrong.