Retorno do web-service.
Codigo do erro: E185
Descrição do erro: Arquivo de
cabeçalho enviado fora da estrutura do arquivo XML de entrada.
Envie um
arquivo de cabeçalho dentro do schema do arquivo XML de entrada.
Ja verifiquei as informações com o cliente e estão todas corretas.
Se alguém tiver um xml de exemplo pra me enviar me ajudaria muito.
<?xml version="1.0"?>
-<ns2:EnviarLoteRpsEnvio xmlns:ns1="http://www.ginfes.com.br/tipos_v03.xsd" xmlns:ns2="http://www.ginfes.com.br/servico_enviar_lote_rps_envio_v03.xsd">
-<ns2:LoteRps Id="1234">
<ns1:NumeroLote>1234</ns1:NumeroLote>
<ns1:Cnpj>21940250000181</ns1:Cnpj>
<ns1:InscricaoMunicipal>859960</ns1:InscricaoMunicipal>
<ns1:QuantidadeRps>1</ns1:QuantidadeRps>
-<ns1:ListaRps>
-<ns1:Rps>
-<ns1:InfRps Id="12345">
-<ns1:IdentificacaoRps>
<ns1:Numero>51265</ns1:Numero>
<ns1:Serie>2</ns1:Serie>
<ns1:Tipo>1</ns1:Tipo>
</ns1:IdentificacaoRps>
<ns1:DataEmissao>2016-03-03T17:03:00</ns1:DataEmissao>
<ns1:NaturezaOperacao>1</ns1:NaturezaOperacao>
<ns1:OptanteSimplesNacional>1</ns1:OptanteSimplesNacional>
<ns1:IncentivadorCultural>1</ns1:IncentivadorCultural>
<ns1:Status>1</ns1:Status>
-<ns1:Servico>
-<ns1:Valores>
<ns1:ValorServicos>0.01</ns1:ValorServicos>
<ns1:ValorPis>0</ns1:ValorPis>
<ns1:ValorCofins>0</ns1:ValorCofins>
<ns1:ValorCsll>0</ns1:ValorCsll>
<ns1:ValorIss>0.01</ns1:ValorIss>
<ns1:BaseCalculo>0.01</ns1:BaseCalculo>
<ns1:Aliquota>0.01</ns1:Aliquota>
<ns1:ValorLiquidoNfse>0.01</ns1:ValorLiquidoNfse>
</ns1:Valores>
<ns1:ItemListaServico>0.01</ns1:ItemListaServico>
<ns1:CodigoTributacaoMunicipio>1.07/1.07/620910000</ns1:CodigoTributacaoMunicipio>
<ns1:Discriminacao>Teste</ns1:Discriminacao>
<ns1:CodigoMunicipio>3543402</ns1:CodigoMunicipio>
</ns1:Servico>
-<ns1:Prestador>
<ns1:Cpf>34499035864</ns1:Cpf>
</ns1:Prestador>
-<ns1:Tomador>
-<ns1:IdentificacaoTomador>
-<ns1:CpfCnpj>
<ns1:Cpf>34499035864</ns1:Cpf>
</ns1:CpfCnpj>
</ns1:IdentificacaoTomador>
<ns1:RazaoSocial>CVC BRASIL OPERADORA E AGENCIA DE VIAGENS S/A</ns1:RazaoSocial>
-<ns1:Endereco>
<ns1:Endereco>RUA GERTRUDES DE LIMA</ns1:Endereco>
<ns1:Numero>53</ns1:Numero>
<ns1:Bairro>CENTRO</ns1:Bairro>
<ns1:CodigoMunicipio>3543402</ns1:CodigoMunicipio>
<ns1:Uf>SP</ns1:Uf>
<ns1:Cep>14065150</ns1:Cep>
</ns1:Endereco>
-<ns1:Contato>
<ns1:Telefone>1132057212</ns1:Telefone>
<ns1:Email>caique.galvanin@inovasie.com.br</ns1:Email>
</ns1:Contato>
</ns1:Tomador>
</ns1:InfRps>
</ns1:Rps>
</ns1:ListaRps>
</ns2:LoteRps>
-<Signature xmlns="http://www.w3.org/2000/09/xmldsig#">
-<SignedInfo>
<CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/>
<SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"/>
-<Reference URI="#1234">
-<Transforms>
<Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"/>
<Transform Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/>
</Transforms>
<DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/>
<DigestValue>NefSeJfKE7HBJeH/Cp4eyWrMFNI=</DigestValue>
</Reference>
</SignedInfo>
<SignatureValue>amRlFOvHRJ+B22gRyCzGG1oN3CnrAVZEnZnSpXF13kTdYaaFqeT+uKh0pF8CJ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