artursnunes
Mensagens : 3 Data de inscrição : 11/10/2013
| Assunto: E160 - Arquivo enviado fora da estrutura do arquivo XML de entrada. Qui Out 17, 2013 10:10 am | |
| Boa tarde. Estou tentando integrar com a Prefeitura de Guarulhos, baseado no layout gerado pelo XML SPY, porém está me retornando o código de erro E160 (Arquivo enviado fora da estrutura do arquivo XML de entrada.), como já utilizei vários recursos de validação de XML através dos XSDs disponíveis e mesmo assim está me retornando esse erro, se alguém conseguir me ajudar, agradeço. Segue XML: Cabeçalho - Código:
-
<cabecalho versao="3" xmlns="" xmlns:xsi=""> <versaoDados xmlns="">3</versaoDados> </cabecalho> Dados - Código:
-
<?xml version="1.0" encoding="UTF-8"?> <EnviarLoteRpsEnvio xmlns="" xmlns:n2="" xmlns:tipos="" xmlns:dsig="" xmlns:xsi=""> <LoteRps Id="32"> <tipos:NumeroLote>32</tipos:NumeroLote> <tipos:Cnpj>1111111111111</tipos:Cnpj> <tipos:InscricaoMunicipal>999999</tipos:InscricaoMunicipal> <tipos:QuantidadeRps>1</tipos:QuantidadeRps> <tipos:ListaRps> <tipos:Rps> <tipos:InfRps Id="1"> <tipos:IdentificacaoRps> <tipos:Numero>1</tipos:Numero> <tipos:Serie>U</tipos:Serie> <tipos:Tipo>1</tipos:Tipo> </tipos:IdentificacaoRps> <tipos:DataEmissao>2013-10-10T15:58:00</tipos:DataEmissao> <tipos:NaturezaOperacao>1</tipos:NaturezaOperacao> <tipos:OptanteSimplesNacional>2</tipos:OptanteSimplesNacional> <tipos:IncentivadorCultural>2</tipos:IncentivadorCultural> <tipos:Status>1</tipos:Status> <tipos:Servico> <tipos:Valores> <tipos:ValorServicos>75.00</tipos:ValorServicos> <tipos:ValorDeducoes>0.00</tipos:ValorDeducoes> <tipos:ValorPis>0.00</tipos:ValorPis> <tipos:ValorCofins>0.00</tipos:ValorCofins> <tipos:ValorInss>0.00</tipos:ValorInss> <tipos:ValorIr>0.00</tipos:ValorIr> <tipos:ValorCsll>0.00</tipos:ValorCsll> <tipos:IssRetido>2</tipos:IssRetido> <tipos:ValorIss>0.00</tipos:ValorIss> <tipos:ValorIssRetido>0.00</tipos:ValorIssRetido> <tipos:OutrasRetencoes>0.00</tipos:OutrasRetencoes> <tipos:BaseCalculo>0.00</tipos:BaseCalculo> <tipos:Aliquota>0.00</tipos:Aliquota> <tipos:ValorLiquidoNfse>75.00</tipos:ValorLiquidoNfse> </tipos:Valores> <tipos:ItemListaServico>1601</tipos:ItemListaServico> <tipos:CodigoTributacaoMunicipio>493020101</tipos:CodigoTributacaoMunicipio> <tipos:Discriminacao>SERVICOS DE TRANSPORTE DE NATUREZA MUNICIPAL</tipos:Discriminacao> <tipos:CodigoMunicipio>3518800</tipos:CodigoMunicipio> </tipos:Servico> <tipos:Prestador> <tipos:Cnpj>11111111111111</tipos:Cnpj> <tipos:InscricaoMunicipal>111111</tipos:InscricaoMunicipal> </tipos:Prestador> <tipos:Tomador> <tipos:IdentificacaoTomador> <tipos:CpfCnpj> <tipos:Cnpj>11111111111111</tipos:Cnpj> </tipos:CpfCnpj> </tipos:IdentificacaoTomador> <tipos:RazaoSocial>A S R TRANSPORTES LTDA</tipos:RazaoSocial> <tipos:Endereco> <tipos:Endereco>RUA ITAJUBA</tipos:Endereco> <tipos:Numero>131</tipos:Numero> <tipos:Bairro>CUMBICA</tipos:Bairro> <tipos:CodigoMunicipio>9999999</tipos:CodigoMunicipio> <tipos:Uf>SP</tipos:Uf> <tipos:Cep>9999999</tipos:Cep> </tipos:Endereco> </tipos:Tomador> </tipos:InfRps> <Signature xmlns=""> <SignedInfo> <CanonicalizationMethod Algorithm=""/> <SignatureMethod Algorithm=""/> <Reference URI="#1"> <Transforms> <Transform Algorithm=""/> <Transform Algorithm=""/> </Transforms> <DigestMethod Algorithm=""/> <DigestValue>exivxMv8Vxy9taZfPM7E</DigestValue> </Reference> </SignedInfo> <SignatureValue>G1d4RKtv3Utq1uJxeB7y3Ufy4GCuuG88uPIFTQRb20UaA8+jR6xlQjWXazyOd</SignatureValue> <KeyInfo> <X509Data> <X509Certificate>MIIIGjCCBgKgAwIBAgIIBwzw+TOabj4wDQYJKoZIhvcNAQELBQAwdTELM</X509Certificate> </X509Data> </KeyInfo> </Signature> </tipos:Rps> </tipos:ListaRps> </LoteRps> <Signature xmlns=""> <SignedInfo> <CanonicalizationMethod Algorithm=""/> <SignatureMethod Algorithm=""/> <Reference URI="#32"> <Transforms> <Transform Algorithm=""/> <Transform Algorithm=""/> </Transforms> <DigestMethod Algorithm=""/> <DigestValue>DUpLuQRoUaPP23O8YV0</DigestValue> </Reference> </SignedInfo> <SignatureValue>JsWm+RXD5631jKT4/L8h/kcwyhD7HxZrEbnfbIMAzwky3vS5LOLX7rsCnNNDfC0WVo</SignatureValue> <KeyInfo> <X509Data> <X509Certificate>MIIIGjCCBgKgAwIBAgIIBwzw+TOabj4wDQYJKoZIhvcNAQELBQAwdTELMAkGA</X509Certificate> </X509Data> </KeyInfo> </Signature> </EnviarLoteRpsEnvio> PS: Os dados foram alterados. | |
|