committed by
Danimar Ribeiro
11 changed files with 39 additions and 484 deletions
-
58pytrustnfe/nfse/campinas/__init__.py
-
30pytrustnfe/nfse/campinas/templates/ConsultaSeqRps.xsd
-
46pytrustnfe/nfse/campinas/templates/ConsultarLote.xsd
-
55pytrustnfe/nfse/campinas/templates/cancelar.xsd
-
88pytrustnfe/nfse/campinas/templates/consulta_notas.xsd
-
0pytrustnfe/nfse/campinas/templates/consultarLote.xml
-
19pytrustnfe/nfse/campinas/templates/consultarNFSeRps.xml
-
55pytrustnfe/nfse/campinas/templates/consultarNFSeRps.xsd
-
149pytrustnfe/nfse/campinas/templates/enviar.xsd
-
3setup.py
@ -1,30 +0,0 @@ |
|||||
<?xml version="1.0" encoding="UTF-8" ?> |
|
||||
|
|
||||
<xs:schema xmlns:tipos="http://localhost:8080/WsNFe2/tp" |
|
||||
xmlns:xs="http://www.w3.org/2001/XMLSchema" |
|
||||
xmlns:ns1="http://localhost:8080/WsNFe2/lote" |
|
||||
targetNamespace="http://localhost:8080/WsNFe2/lote"> |
|
||||
<xs:import namespace="http://localhost:8080/WsNFe2/tp" |
|
||||
schemaLocation="Tipos.xsd" /> |
|
||||
<xs:element name="ConsultaSeqRps"> |
|
||||
<xs:complexType> |
|
||||
<xs:sequence> |
|
||||
<xs:element name="Cabecalho"> |
|
||||
<xs:complexType> |
|
||||
<xs:sequence> |
|
||||
<xs:element name="CodCid" type="tipos:tpCodCidade" minOccurs="1" maxOccurs="1"/> |
|
||||
<xs:element name="IMPrestador" type="tipos:tpInscricaoMunicipal" minOccurs="1" maxOccurs="1"/> |
|
||||
<xs:element name="CPFCNPJRemetente" type="tipos:tpCPFCNPJ" minOccurs="1" maxOccurs="1"/> |
|
||||
<xs:element name="SeriePrestacao" type="tipos:tpSeriePrestacao" minOccurs="0" maxOccurs="1"/> |
|
||||
<xs:element name="Versao" type="tipos:tpVersao" fixed="1" minOccurs="1" maxOccurs="1"/> |
|
||||
</xs:sequence> |
|
||||
</xs:complexType> |
|
||||
</xs:element> |
|
||||
</xs:sequence> |
|
||||
</xs:complexType> |
|
||||
</xs:element> |
|
||||
|
|
||||
|
|
||||
|
|
||||
|
|
||||
</xs:schema> |
|
||||
@ -1,46 +0,0 @@ |
|||||
<?xml version="1.0" encoding="utf-8"?> |
|
||||
<xs:schema |
|
||||
xmlns:tipos="http://localhost:8080/WsNFe2/tp" |
|
||||
xmlns:xs="http://www.w3.org/2001/XMLSchema" |
|
||||
xmlns:ns1="http://localhost:8080/WsNFe2/lote" targetNamespace="http://localhost:8080/WsNFe2/lote"> |
|
||||
<xs:import namespace="http://localhost:8080/WsNFe2/tp" schemaLocation="Tipos.xsd"/> |
|
||||
<xs:element name="ReqConsultaLote"> |
|
||||
<xs:annotation> |
|
||||
<xs:documentation>Schema utilizado para REQUISIçÂO de Consulta de Lote de RPS.</xs:documentation> |
|
||||
<xs:documentation>Este Schema XML é utilizado pelos Prestadores de serviços para consultarem Lote de RPS emitidos por eles.</xs:documentation> |
|
||||
</xs:annotation> |
|
||||
<xs:complexType> |
|
||||
<xs:sequence> |
|
||||
<xs:element name="Cabecalho"> |
|
||||
<xs:annotation> |
|
||||
<xs:documentation>Cabeçalho do pedido.</xs:documentation> |
|
||||
</xs:annotation> |
|
||||
<xs:complexType> |
|
||||
<xs:sequence> |
|
||||
<xs:element name="CodCidade" type="tipos:tpCodCidade" minOccurs="1" maxOccurs="1"> |
|
||||
<xs:annotation> |
|
||||
<xs:documentation>Informe o Codigo da Cidade.</xs:documentation> |
|
||||
</xs:annotation> |
|
||||
</xs:element> |
|
||||
<xs:element name="CPFCNPJRemetente" type="tipos:tpCPFCNPJ" minOccurs="1" maxOccurs="1"> |
|
||||
<xs:annotation> |
|
||||
<xs:documentation>Informe o CPF/CNPJ do Remetente autorizado a transmitir a mensagem XML.</xs:documentation> |
|
||||
</xs:annotation> |
|
||||
</xs:element> |
|
||||
<xs:element name="Versao" type="tipos:tpVersao" fixed="1" minOccurs="1" maxOccurs="1"> |
|
||||
<xs:annotation> |
|
||||
<xs:documentation>Informe a Versão do Schema XML utilizado.</xs:documentation> |
|
||||
</xs:annotation> |
|
||||
</xs:element> |
|
||||
<xs:element name="NumeroLote" type="tipos:tpNumero" minOccurs="1" maxOccurs="1"> |
|
||||
<xs:annotation> |
|
||||
<xs:documentation>Informe o Número do Lote a ser consultado.</xs:documentation> |
|
||||
</xs:annotation> |
|
||||
</xs:element> |
|
||||
</xs:sequence> |
|
||||
</xs:complexType> |
|
||||
</xs:element> |
|
||||
</xs:sequence> |
|
||||
</xs:complexType> |
|
||||
</xs:element> |
|
||||
</xs:schema> |
|
||||
@ -1,55 +0,0 @@ |
|||||
<?xml version="1.0" encoding="utf-8"?> |
|
||||
<!-- edited with XMLSpy v2008 sp1 (http://www.altova.com) by Marcel (DSF) --> |
|
||||
<xs:schema xmlns:tipos="http://localhost:8080/WsNFe2/tp" |
|
||||
xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" |
|
||||
xmlns:ns1="http://localhost:8080/WsNFe2/lote" targetNamespace="http://localhost:8080/WsNFe2/lote"> |
|
||||
<xs:import namespace="http://localhost:8080/WsNFe2/tp" |
|
||||
schemaLocation="Tipos.xsd" /> |
|
||||
<xs:import namespace="http://www.w3.org/2000/09/xmldsig#" |
|
||||
schemaLocation="xmldsig-core-schema_v1.01.xsd" /> |
|
||||
<xs:element name="ReqCancelamentoNFSe"> |
|
||||
<xs:annotation> |
|
||||
<xs:documentation>Schema utilizado para Cancelamento de NFSe.</xs:documentation> |
|
||||
<xs:documentation>Este Schema XML é utilizado pelos Prestadores de serviços cancelarem NFSe emitidas por eles.</xs:documentation> |
|
||||
</xs:annotation> |
|
||||
<xs:complexType> |
|
||||
<xs:sequence> |
|
||||
<xs:element name="Cabecalho"> |
|
||||
<xs:annotation> |
|
||||
<xs:documentation>Cabeçalho do pedido.</xs:documentation> |
|
||||
</xs:annotation> |
|
||||
<xs:complexType> |
|
||||
<xs:sequence> |
|
||||
<xs:element name="CodCidade" type="tipos:tpCodCidade" minOccurs="1" maxOccurs="1"> |
|
||||
<xs:annotation> |
|
||||
<xs:documentation>Informe o Codigo da Cidade.</xs:documentation> |
|
||||
</xs:annotation> |
|
||||
</xs:element> |
|
||||
<xs:element name="CPFCNPJRemetente" type="tipos:tpCPFCNPJ" minOccurs="1" maxOccurs="1"> |
|
||||
<xs:annotation> |
|
||||
<xs:documentation>Informe o CPF/CNPJ do Remetente autorizado a transmitir a mensagem XML.</xs:documentation> |
|
||||
</xs:annotation> |
|
||||
</xs:element> |
|
||||
<xs:element name="transacao" type="xs:boolean" default="true" minOccurs="1" maxOccurs="1"> |
|
||||
<xs:annotation> |
|
||||
<xs:documentation>Informe se as NF-e a serem canceladas farão parte de uma mesma transação. True - As NF-e só serão canceladas se não ocorrer nenhum evento de erro durante o processamento de todo o lote; False - As NF-e aptas a serem canceladas serão canceladas, mesmo que ocorram eventos de erro durante processamento do cancelamento de outras NF-e deste lote.</xs:documentation> |
|
||||
</xs:annotation> |
|
||||
</xs:element> |
|
||||
<xs:element name="Versao" type="tipos:tpVersao" fixed="1" minOccurs="1" maxOccurs="1"> |
|
||||
<xs:annotation> |
|
||||
<xs:documentation>Informe a Versão do Schema XML utilizado.</xs:documentation> |
|
||||
</xs:annotation> |
|
||||
</xs:element> |
|
||||
</xs:sequence> |
|
||||
</xs:complexType> |
|
||||
</xs:element> |
|
||||
<xs:element name="Lote" type="tipos:tpLoteCancelamentoNFSe"> |
|
||||
<xs:annotation> |
|
||||
<xs:documentation>Detalhe do pedido de cancelamento de NFSe. Cada detalhe deverá conter a Chave de uma NFSe e sua respectiva assinatura de cancelamento.</xs:documentation> |
|
||||
</xs:annotation> |
|
||||
</xs:element> |
|
||||
<xs:element ref="ds:Signature" minOccurs="0" maxOccurs="1" /> |
|
||||
</xs:sequence> |
|
||||
</xs:complexType> |
|
||||
</xs:element> |
|
||||
</xs:schema> |
|
||||
@ -1,88 +0,0 @@ |
|||||
<?xml version="1.0" encoding="utf-8"?> |
|
||||
<xs:schema xmlns:tipos="http://localhost:8080/WsNFe2/tp" |
|
||||
xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" |
|
||||
xmlns:ns1="http://localhost:8080/WsNFe2/lote" targetNamespace="http://localhost:8080/WsNFe2/lote"> |
|
||||
<xs:import namespace="http://localhost:8080/WsNFe2/tp" |
|
||||
schemaLocation="Tipos.xsd" /> |
|
||||
<xs:import namespace="http://www.w3.org/2000/09/xmldsig#" |
|
||||
schemaLocation="xmldsig-core-schema_v1.01.xsd" /> |
|
||||
<xs:element name="ReqConsultaNotas"> |
|
||||
<xs:annotation> |
|
||||
<xs:documentation>Schema utilizado para REQUISIÇAO de consultas |
|
||||
de notas que foram enviadas por lote de RPS.</xs:documentation> |
|
||||
<xs:documentation>Este Schema XML é utilizado pelos prestadores |
|
||||
de serviços para consultas de notas que foram enviadas por lote de |
|
||||
RPS.</xs:documentation> |
|
||||
</xs:annotation> |
|
||||
<xs:complexType> |
|
||||
<xs:sequence> |
|
||||
<xs:element name="Cabecalho"> |
|
||||
<xs:annotation> |
|
||||
<xs:documentation>Cabeçalho do pedido.</xs:documentation> |
|
||||
</xs:annotation> |
|
||||
<xs:complexType> |
|
||||
<xs:sequence> |
|
||||
<xs:element name="CodCidade" type="tipos:tpCodCidade" |
|
||||
minOccurs="1" maxOccurs="1"> |
|
||||
<xs:annotation> |
|
||||
<xs:documentation>Informe o Codigo da Cidade. |
|
||||
</xs:documentation> |
|
||||
</xs:annotation> |
|
||||
</xs:element> |
|
||||
<xs:element name="CPFCNPJRemetente" type="tipos:tpCPFCNPJ" |
|
||||
minOccurs="1" maxOccurs="1"> |
|
||||
<xs:annotation> |
|
||||
<xs:documentation>Informe o CPF/CNPJ do Remetente |
|
||||
autorizado a transmitir a mensagem XML.</xs:documentation> |
|
||||
</xs:annotation> |
|
||||
</xs:element> |
|
||||
<xs:element name="InscricaoMunicipalPrestador" type="tipos:tpInscricaoMunicipal" |
|
||||
minOccurs="1" maxOccurs="1"> |
|
||||
<xs:annotation> |
|
||||
<xs:documentation>Informe a Inscrição Municipal do |
|
||||
Prestador</xs:documentation> |
|
||||
</xs:annotation> |
|
||||
</xs:element> |
|
||||
<xs:element name="dtInicio" type="xs:date" minOccurs="1" |
|
||||
maxOccurs="1"> |
|
||||
<xs:annotation> |
|
||||
<xs:documentation>Informe a data de início do período |
|
||||
transmitido (AAAA-MM-DD).</xs:documentation> |
|
||||
</xs:annotation> |
|
||||
</xs:element> |
|
||||
<xs:element name="dtFim" type="xs:date" minOccurs="1" |
|
||||
maxOccurs="1"> |
|
||||
<xs:annotation> |
|
||||
<xs:documentation>Informe a data final do período |
|
||||
transmitido (AAAA-MM-DD).</xs:documentation> |
|
||||
</xs:annotation> |
|
||||
</xs:element> |
|
||||
<xs:element name="NotaInicial" type="tipos:tpNumero" |
|
||||
minOccurs="0" maxOccurs="1"> |
|
||||
<xs:annotation> |
|
||||
<xs:documentation>Numero da nota inicial da consulta. Ou |
|
||||
seja a consulta ira retornar as notas no periodo, onde o |
|
||||
numero da nota seja maior ou igual a esse numero. O retorno |
|
||||
não pode ultrapassar 500Kb. Caso não tenha o numero da nota, |
|
||||
passar o valor Zero, será retornado as notas geradas no |
|
||||
periodo até o limite de 500kb.</xs:documentation> |
|
||||
</xs:annotation> |
|
||||
</xs:element> |
|
||||
<xs:element name="Versao" type="tipos:tpVersao" |
|
||||
minOccurs="1" maxOccurs="1"> |
|
||||
<xs:annotation> |
|
||||
<xs:documentation>Informe a Versão.</xs:documentation> |
|
||||
</xs:annotation> |
|
||||
</xs:element> |
|
||||
|
|
||||
</xs:sequence> |
|
||||
<xs:attribute name="Id" type="xs:string" use="optional"/> |
|
||||
</xs:complexType> |
|
||||
|
|
||||
</xs:element> |
|
||||
<xs:element ref="ds:Signature" minOccurs="0" |
|
||||
maxOccurs="1" /> |
|
||||
</xs:sequence> |
|
||||
</xs:complexType> |
|
||||
</xs:element> |
|
||||
</xs:schema> |
|
||||
@ -1,19 +0,0 @@ |
|||||
<ns1:ReqConsultaNFSeRPS xmlns:ns1="http://localhost:8080/WsNFe2/lote" |
|
||||
xmlns:tipos="http://localhost:8080/WsNFe2/tp" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
|
||||
xsi:schemaLocation="http://localhost:8080/WsNFe2/lote http://localhost:8080/WsNFe2/xsd/ReqConsultaNFSeRPS.xsd"> |
|
||||
<Cabecalho> |
|
||||
<CodCidade>{{ consulta.cidade }}</CodCidade> |
|
||||
<CPFCNPJRemetente>{{ consulta.cpf_cnpj }}</CPFCNPJRemetente> |
|
||||
<transacao>true</transacao> |
|
||||
<Versao>1</Versao> |
|
||||
</Cabecalho> |
|
||||
<Lote Id="lote:{{ consulta.lote }}"> |
|
||||
<RPSConsulta> |
|
||||
<RPS Id="rps:{{ consulta.rps_id }}"> |
|
||||
<InscricaoMunicipalPrestador>{{ consulta.inscricao_municipal }}</InscricaoMunicipalPrestador> |
|
||||
<NumeroRPS>{{ consulta.rps_id }}</NumeroRPS> |
|
||||
<SeriePrestacao>{{ consulta.serie_prestacao }}</SeriePrestacao> |
|
||||
</RPS> |
|
||||
</RPSConsulta> |
|
||||
</Lote> |
|
||||
</ns1:ReqConsultaNFSeRPS> |
|
||||
@ -1,55 +0,0 @@ |
|||||
<?xml version="1.0" encoding="utf-8"?> |
|
||||
<!-- edited with XMLSpy v2008 sp1 (http://www.altova.com) by Marcel (DSF) --> |
|
||||
<xs:schema xmlns:tipos="http://localhost:8080/WsNFe2/tp" |
|
||||
xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" |
|
||||
xmlns:ns1="http://localhost:8080/WsNFe2/lote" targetNamespace="http://localhost:8080/WsNFe2/lote"> |
|
||||
<xs:import namespace="http://localhost:8080/WsNFe2/tp" |
|
||||
schemaLocation="Tipos.xsd" /> |
|
||||
<xs:import namespace="http://www.w3.org/2000/09/xmldsig#" |
|
||||
schemaLocation="xmldsig-core-schema_v1.01.xsd" /> |
|
||||
<xs:element name="ReqConsultaNFSeRPS"> |
|
||||
<xs:annotation> |
|
||||
<xs:documentation>Schema utilizado para Consulta de NFSe.</xs:documentation> |
|
||||
<xs:documentation>Este Schema XML é utilizado pelos Prestadores de serviços consultarem NFSe emitidas por eles.</xs:documentation> |
|
||||
</xs:annotation> |
|
||||
<xs:complexType> |
|
||||
<xs:sequence> |
|
||||
<xs:element name="Cabecalho"> |
|
||||
<xs:annotation> |
|
||||
<xs:documentation>Cabeçalho do pedido.</xs:documentation> |
|
||||
</xs:annotation> |
|
||||
<xs:complexType> |
|
||||
<xs:sequence> |
|
||||
<xs:element name="CodCidade" type="tipos:tpCodCidade" minOccurs="1" maxOccurs="1"> |
|
||||
<xs:annotation> |
|
||||
<xs:documentation>Informe o Codigo da Cidade.</xs:documentation> |
|
||||
</xs:annotation> |
|
||||
</xs:element> |
|
||||
<xs:element name="CPFCNPJRemetente" type="tipos:tpCPFCNPJ" minOccurs="1" maxOccurs="1"> |
|
||||
<xs:annotation> |
|
||||
<xs:documentation>Informe o CPF/CNPJ do Remetente autorizado a transmitir a mensagem XML.</xs:documentation> |
|
||||
</xs:annotation> |
|
||||
</xs:element> |
|
||||
<xs:element name="transacao" type="xs:boolean" default="true" minOccurs="1" maxOccurs="1"> |
|
||||
<xs:annotation> |
|
||||
<xs:documentation>Informe se as NF-e a serem consultadas farão parte de uma mesma transação. Informe sempre True.</xs:documentation> |
|
||||
</xs:annotation> |
|
||||
</xs:element> |
|
||||
<xs:element name="Versao" type="tipos:tpVersao" fixed="1" minOccurs="1" maxOccurs="1"> |
|
||||
<xs:annotation> |
|
||||
<xs:documentation>Informe a Versão do Schema XML utilizado.</xs:documentation> |
|
||||
</xs:annotation> |
|
||||
</xs:element> |
|
||||
</xs:sequence> |
|
||||
</xs:complexType> |
|
||||
</xs:element> |
|
||||
<xs:element name="Lote" type="tipos:tpLoteConsultaNFSe" minOccurs="1" maxOccurs="1"> |
|
||||
<xs:annotation> |
|
||||
<xs:documentation>Detalhe do pedido de consulta de NFSe. Cada detalhe deverá conter a Chave de uma NFSe e sua respectiva assinatura de consulta.</xs:documentation> |
|
||||
</xs:annotation> |
|
||||
</xs:element> |
|
||||
<xs:element ref="ds:Signature" minOccurs="0" maxOccurs="1" /> |
|
||||
</xs:sequence> |
|
||||
</xs:complexType> |
|
||||
</xs:element> |
|
||||
</xs:schema> |
|
||||
@ -1,149 +0,0 @@ |
|||||
<xs:schema xmlns:tipos="http://localhost:8080/WsNFe2/tp" |
|
||||
xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" |
|
||||
xmlns:ns1="http://localhost:8080/WsNFe2/lote" targetNamespace="http://localhost:8080/WsNFe2/lote"> |
|
||||
<xs:import namespace="http://localhost:8080/WsNFe2/tp" |
|
||||
schemaLocation="Tipos.xsd" /> |
|
||||
<xs:import namespace="http://www.w3.org/2000/09/xmldsig#" |
|
||||
schemaLocation="xmldsig-core-schema_v1.01.xsd" /> |
|
||||
<xs:element name="ReqEnvioLoteRPS"> |
|
||||
<xs:annotation> |
|
||||
<xs:documentation>Schema utilizado para envio de lote de RPS.</xs:documentation> |
|
||||
<xs:documentation>Este Schema XML é utilizado pelos prestadores |
|
||||
de serviços para substituição em lote de RPS por NFS-e. |
|
||||
</xs:documentation> |
|
||||
</xs:annotation> |
|
||||
<xs:complexType> |
|
||||
<xs:sequence> |
|
||||
<xs:element name="Cabecalho"> |
|
||||
<xs:annotation> |
|
||||
<xs:documentation>Cabeçalho do Lote.</xs:documentation> |
|
||||
</xs:annotation> |
|
||||
<xs:complexType> |
|
||||
<xs:sequence> |
|
||||
<xs:element name="CodCidade" type="tipos:tpCodCidade" minOccurs="1" maxOccurs="1"> |
|
||||
<xs:annotation> |
|
||||
<xs:documentation>Informe o Codigo da Cidade no Padrão SIAFI. |
|
||||
</xs:documentation> |
|
||||
</xs:annotation> |
|
||||
</xs:element> |
|
||||
<xs:element name="CPFCNPJRemetente" type="tipos:tpCPFCNPJ" minOccurs="1" maxOccurs="1"> |
|
||||
<xs:annotation> |
|
||||
<xs:documentation> |
|
||||
CNPJ do contribuinte ou CPF do Responsável Legal autorizado a entregar o lote. |
|
||||
</xs:documentation> |
|
||||
</xs:annotation> |
|
||||
</xs:element> |
|
||||
<xs:element name="RazaoSocialRemetente" type="tipos:tpRazaoSocial" minOccurs="1" maxOccurs="1"> |
|
||||
<xs:annotation> |
|
||||
<xs:documentation> |
|
||||
Informe o Nome do Contribuinte ou do Responsável Legal |
|
||||
</xs:documentation> |
|
||||
</xs:annotation> |
|
||||
</xs:element> |
|
||||
<xs:element name="transacao" type="xs:boolean" |
|
||||
default="true" minOccurs="1" maxOccurs="1"> |
|
||||
<xs:annotation> |
|
||||
<xs:documentation> |
|
||||
Informe se os RPS a serem |
|
||||
substituídos por |
|
||||
NF-e farão |
|
||||
parte de uma mesma transação. |
|
||||
True - Os RPS só serão |
|
||||
substituídos por NF-e se não |
|
||||
ocorrer nenhum evento de erro |
|
||||
durante o processamento de todo |
|
||||
o lote; False - Os RPS válidos |
|
||||
serão substituídos por NF-e, |
|
||||
mesmo que ocorram eventos de |
|
||||
erro durante processamento de |
|
||||
outros RPS deste lote. Por definição |
|
||||
estão sendo aceitos apenas lotes com RPS válidos, |
|
||||
o lote é |
|
||||
recusado caso haja algum RPS inválido. |
|
||||
</xs:documentation> |
|
||||
</xs:annotation> |
|
||||
</xs:element> |
|
||||
<xs:element name="dtInicio" type="xs:date" minOccurs="1" maxOccurs="1"> |
|
||||
<xs:annotation> |
|
||||
<xs:documentation> |
|
||||
Informe a data de início do |
|
||||
período |
|
||||
transmitido |
|
||||
(AAAA-MM-DD). |
|
||||
</xs:documentation> |
|
||||
</xs:annotation> |
|
||||
</xs:element> |
|
||||
<xs:element name="dtFim" type="xs:date" minOccurs="1" maxOccurs="1"> |
|
||||
<xs:annotation> |
|
||||
<xs:documentation> |
|
||||
Informe a data final do período |
|
||||
transmitido |
|
||||
(AAAA-MM-DD). |
|
||||
</xs:documentation> |
|
||||
</xs:annotation> |
|
||||
</xs:element> |
|
||||
<xs:element name="QtdRPS" type="tipos:tpQtdRpsLote" minOccurs="1" maxOccurs="1"> |
|
||||
<xs:annotation> |
|
||||
<xs:documentation> |
|
||||
Informe o total de RPS contidos |
|
||||
na mensagem |
|
||||
XML. OBS: O xml não pode ultrapassar o tamanho maximo de 500kb. |
|
||||
</xs:documentation> |
|
||||
</xs:annotation> |
|
||||
</xs:element> |
|
||||
<xs:element name="ValorTotalServicos" type="tipos:tpValor" minOccurs="1" maxOccurs="1"> |
|
||||
<xs:annotation> |
|
||||
<xs:documentation> |
|
||||
Informe o valor total dos |
|
||||
serviços prestados |
|
||||
dos RPS |
|
||||
contidos na mensagem XML. |
|
||||
</xs:documentation> |
|
||||
</xs:annotation> |
|
||||
</xs:element> |
|
||||
<xs:element name="ValorTotalDeducoes" type="tipos:tpValor" minOccurs="1" maxOccurs="1"> |
|
||||
<xs:annotation> |
|
||||
<xs:documentation> |
|
||||
Informe o valor total das |
|
||||
deduções dos RPS |
|
||||
contidos na |
|
||||
mensagem XML. |
|
||||
</xs:documentation> |
|
||||
</xs:annotation> |
|
||||
</xs:element> |
|
||||
<xs:element name="Versao" type="tipos:tpVersao" fixed="1" minOccurs="1" maxOccurs="1"> |
|
||||
<xs:annotation> |
|
||||
<xs:documentation> |
|
||||
Informe a Versão do Schema XML |
|
||||
utilizado. |
|
||||
</xs:documentation> |
|
||||
</xs:annotation> |
|
||||
</xs:element> |
|
||||
<xs:element name="MetodoEnvio" type="tipos:tpMetodoEnvio" |
|
||||
minOccurs="1" maxOccurs="1"> |
|
||||
<xs:annotation> |
|
||||
<xs:documentation>Informe o Método de Envio</xs:documentation> |
|
||||
</xs:annotation> |
|
||||
</xs:element> |
|
||||
<xs:element name="VersaoComponente" type="tipos:tpVersaoComponente" |
|
||||
minOccurs="0" maxOccurs="1"> |
|
||||
<xs:annotation> |
|
||||
<xs:documentation>Versão da DLL de envio de lote. Não é necessário informar esse campo caso não utilize a DLL. |
|
||||
</xs:documentation> |
|
||||
</xs:annotation> |
|
||||
</xs:element> |
|
||||
|
|
||||
</xs:sequence> |
|
||||
</xs:complexType> |
|
||||
</xs:element> |
|
||||
<xs:element name="Lote" type="tipos:tpLote" minOccurs="1" maxOccurs="1"> |
|
||||
<xs:annotation> |
|
||||
<xs:documentation>Informe os RPS a serem substituidos por |
|
||||
NF-e.</xs:documentation> |
|
||||
</xs:annotation> |
|
||||
</xs:element> |
|
||||
<xs:element ref="ds:Signature" minOccurs="0" maxOccurs="1" /> |
|
||||
</xs:sequence> |
|
||||
</xs:complexType> |
|
||||
</xs:element> |
|
||||
</xs:schema> |
|
||||
Write
Preview
Loading…
Cancel
Save
Reference in new issue