Avaliação do Tópico:
  • 0 Voto(s) - 0 em Média
  • 1
  • 2
  • 3
  • 4
  • 5
Emissão de lote RPS para Coronel Fabriciano
#11
Bom dia,

A assinatura do XML é invalida.
https://www.receita.fazenda.gov.br/Aplicacoes/SSL/ATBHE/assinadoc/ValidadorAssinaturas.app/valida.aspx

att,
Hiago
Responder
#12
Peguei um XML de um cliente e modifiquei as informações dentro do mesmo, evitando a disponibilidade de dados indevidamente. Por isso a assinatura é invalida, o envio deste documento só serve de exemplo de como deve ficar a estrutura do XML.

(25-03-2019, 07:37 PM)hadagalberto Escreveu:  
(21-03-2019, 08:54 PM)Hiago Escreveu:  Segue exemplo.





Código:
<?xml version="1.0" encoding="UTF-8"?>
<EnviarLoteRpsSincronoEnvio xmlns="http://www.abrasf.org.br/nfse.xsd">
<LoteRps Id="1136" versao="2.00">
<NumeroLote>1136</NumeroLote>
<CpfCnpj>
<Cnpj>00123456000100</Cnpj>
</CpfCnpj>
<InscricaoMunicipal>0020389</InscricaoMunicipal>
<QuantidadeRps>1</QuantidadeRps>
<ListaRps>
<Rps>
<InfDeclaracaoPrestacaoServico Id="Rps7206">
<Rps>
<IdentificacaoRps>
<Numero>7206</Numero>
<Serie>A</Serie>
<Tipo>1</Tipo>
</IdentificacaoRps>
<DataEmissao>2019-03-21</DataEmissao>
<Status>1</Status>
</Rps>
<Competencia>2019-03-21</Competencia>
<Servico>
<Valores>
<ValorServicos>792.00</ValorServicos>
<ValorIss>15.84</ValorIss>
<Aliquota>2.0000</Aliquota>
</Valores>
<IssRetido>2</IssRetido>
<ItemListaServico>1.07</ItemListaServico>
<Discriminacao>Descricao: ENC.MENSAIS DE SOFTWARE-ACD MARCO/2019. Quantidade: 1,000 Vr. Unitario: 792,00 Vr. Total: 792,00 |</Discriminacao>
<CodigoMunicipio>3147600</CodigoMunicipio>
<CodigoPais>1058</CodigoPais>
<ExigibilidadeISS>1</ExigibilidadeISS>
<MunicipioIncidencia>3122306</MunicipioIncidencia>
</Servico>
<Prestador>
<CpfCnpj>
<Cnpj>04343781000178</Cnpj>
</CpfCnpj>
<InscricaoMunicipal>0020389</InscricaoMunicipal>
</Prestador>
<Tomador>
<IdentificacaoTomador>
<CpfCnpj>
<Cnpj>00654321000100</Cnpj>
</CpfCnpj>
</IdentificacaoTomador>
<RazaoSocial>JOSE DO TESTE</RazaoSocial>
<Endereco>
<Endereco>RUA FINO RODRIGUES SANTOS</Endereco>
<Numero>90</Numero>
<Bairro>LAGOAS</Bairro>
<CodigoMunicipio>335484</CodigoMunicipio>
<Uf>MG</Uf>
<CodigoPais>1058</CodigoPais>
<Cep>37460000</Cep>
</Endereco>
<Contato>
<Telefone>3233113161</Telefone>
<Email>endereco@email.com.br</Email>
</Contato>
</Tomador>
<RegimeEspecialTributacao>6</RegimeEspecialTributacao>
<OptanteSimplesNacional>2</OptanteSimplesNacional>
<IncentivoFiscal>2</IncentivoFiscal>
</InfDeclaracaoPrestacaoServico>
<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="#Rps7206">
<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>wCClamckkZaSD2UJco3tdQoME=</DigestValue>
</Reference>
</SignedInfo>
<SignatureValue>rGvsyj3A1ltJMwmuSuHzzv6KpnVdQ9NoEtdqMQOzNd9cIF8TRlvrMVfLertretrzmF0K8N6HtijW1​0sG6TsyGTVyiEMaOonZmXLkSlTLRO563bBoebY3YacHGT+B7faVB0742fgyxIkMByrV8RjrgVVl5EyUH​xQL1SWnhnT5+dSL6l4qdI78fQfmeUgNruJbunduYb6ccMSTmAcWDhS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v1bxRSk/jaS3NOaChh4YKHYIwuBh/shmfAXwy</X509Certificate>
</X509Data>
</KeyInfo>
</Signature>
</Rps>
</ListaRps>
</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="#1136">
<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>S0Xxf+FfLPAxySFsO63+8L6Gk=</DigestValue>
</Reference>
</SignedInfo>
<SignatureValue>lNIKaQNolUdY1B8wZZDJMdhPe6MbepyYT80FlJLxzfo/eByfu9jgbnCr5jegfgfgfSoQsI8Bb9P5g57WsajWbVonIPylyNieDwOH7nkQTD6Wd915EotsHSvt0Y+Z​o0wCFpSnyPcDVxSMvz66XQylSneyyK5zWgQBX5TD4L63pQGt57FnVjpXRINxzrB2BX5AIn1jVGZ847JO​/uGV5My/QPsPuSIr7EQ+QxI2mzioPUZlnPSIrpOAWlAhEE6sxLKxbCWrWtsXwqSBNmxLEHB7SfyQovbjbZRJnxu/ndVdTK/SkeJ+ecdYKOdh0aj8Tx2LrYzK+PtNDFLnetf+WbioA==</SignatureValue>
<KeyInfo>
<X509Data>
<X509Certificate>MIIHizCCBXOgAwIBAgIIRdfE8k/79KMwDQYJKoZIhvcNAQELBQAwczELMAkGA1UEBhMCQlIxEzARBgNVBAoTCklDUC1CcmFzaWwxNjA0BgN​VBAsTLVNlY3JldGFyaWEgZGEgUmVjZWl0YSBGZWRlcmFsIGRvIEJyYXNpbCAtIFJGQjEXMBUGA1UEAxM​OQUMgQ05ETCBSRkIgdjMwHhcNMTkwMTE1MjAwMDIxWhcNMjAw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JKoZIhvcNAQEL​BQADggIBAALcK54/4KHAZ+Pk0IiY4bR+GO1S5vN8pDeyPIurw2x/wlTSw2MI6QRS+mgKoBVmxVxjdesBXVHfbOeuuGo3qc35IWgw1q/9jsZxoeDb0QlcR+RVdxHwo9GdxmN1km8J0D9sonaiIIxHLhdZDXV9wRa8UFzLWaY2mMEGWXcFEGc/b3gsMV5d/naxlkRUBRCl0+UsqYRzwnG9x+A1PPAPDDJcqvIzTIo+nxLawAHQsgj7MWKfouvrSQf1jGJxxgPRPzafb​7Ry1iP4hpt3mTa9m9wGQPsoI2WnP8+1ChB6DZgde62ZoJSd2qC3A6JC2QBuG/UMIRAsi4FKr1shlJ/xfTE0lTYhCTsZ1UgRCgIZkD+WwDTA68kidRTF+blv4UZFR3gXTGKN4bzJv1Gk1z/OoZ/BnKKEDJz0IHhLHt8yiISMUpHiHzZVCet1vXGc7ASRQYinVyPmsBLntnVVaJ/MJQmsqGhOHK+zG//znIYVexC2tkAjnJXc4hXfnvPcD3yZTpOwrkF33H+M1Hey2W1ZPH0UbM9eF/DdTjKB87UzmAMEAdgJEj5KKIRJL1KL/b1twUd66inLXX/HkCQzf03p/4/ustDCvF3GvHPmDe/L0qel9T9l6fEbegjeUeHlKxA9QX4zu3Vv1bxRSk/jaS3NOaChh4YKHYIwuBh/shmfAXwy</X509Certificate>
</X509Data>
</KeyInfo>
</Signature>
</EnviarLoteRpsSincronoEnvio>

Prezado Hiago,
Vi seu XML e deixei idêntico ao que enviou. Porém o site da receita ta me mostrando a seguinte mensagem:
[Imagem: Ihrqgs8.jpg]
Testando seu XML, o site da receita federal quebra.
Segue meu XML, teria como dar uma olhada para ver onde estou errando?

Código:
<EnviarLoteRpsSincronoEnvio xmlns="http://www.abrasf.org.br/nfse.xsd">
 <LoteRps versao="1.00" Id="LoteRps2419992">
   <NumeroLote>00034700</NumeroLote>
   <CpfCnpj>
     <Cnpj>00331801000644</Cnpj>
   </CpfCnpj>
   <InscricaoMunicipal>28819</InscricaoMunicipal>
   <QuantidadeRps>1</QuantidadeRps>
   <ListaRps>
     <Rps>
       <InfDeclaracaoPrestacaoServico Id="Rps2419992">
         <Rps>
           <IdentificacaoRps>
             <Numero>347</Numero>
             <Serie>RCT</Serie>
             <Tipo>1</Tipo>
           </IdentificacaoRps>
           <DataEmissao>2019-03-12</DataEmissao>
           <Status>1</Status>
         </Rps>
         <Competencia>2019-03-12</Competencia>
         <Servico>
           <Valores>
             <ValorServicos>140000.00</ValorServicos>
             <ValorDeducoes>0</ValorDeducoes>
             <ValorPis>0</ValorPis>
             <ValorCofins>0</ValorCofins>
             <ValorInss>0</ValorInss>
             <ValorIr>0</ValorIr>
             <ValorCsll>0</ValorCsll>
             <OutrasRetencoes>0</OutrasRetencoes>
             <ValorIss>0.00</ValorIss>
             <Aliquota>0.00</Aliquota>
             <DescontoIncondicionado>0</DescontoIncondicionado>
             <DescontoCondicionado>0</DescontoCondicionado>
           </Valores>
           <IssRetido>2</IssRetido>
           <ItemListaServico>0801</ItemListaServico>
           <Discriminacao>PRESTAÇÃO DE SERVIÇOS AMBULATORIAIS ( SIA/SUS) MÊS DE MARÇO/2019
IMUNIDADE TRIBUTÁRIA PARA IRRF, PIS, COFINS, CSLL, ISS DE ACORDO COM O ART.150 CAPUT, VI, ALÍNEA "C", DA CF/88. IMUNIDADE DO ISS DEFERIDO PROCESSO N. 7839/001/2015 DE 30/06/2016, ART. 14 E 169 DO CTM. DISPENSADA DA RETENÇÃO DO INSS CONFORME IN RFB 971/2009, ART 149 ITEM III – Procon Coronel Fabriciano, Rua Efrem Macedo, 259 – Santa Helena – Tel. 31 3846-7707
- PRESTACAO DE SERVICOS EDUCACIONAIS</Discriminacao>
           <CodigoMunicipio>3119401</CodigoMunicipio>
           <ExigibilidadeISS>5</ExigibilidadeISS>
         </Servico>
         <Prestador>
           <CpfCnpj>
             <Cnpj>00331801000644</Cnpj>
           </CpfCnpj>
           <InscricaoMunicipal>28819</InscricaoMunicipal>
         </Prestador>
         <Tomador>
           <IdentificacaoTomador>
             <CpfCnpj>
               <Cnpj>19876424000142</Cnpj>
             </CpfCnpj>
           </IdentificacaoTomador>
           <RazaoSocial>Prefeitura Municipal de Ipatinga</RazaoSocial>
           <Endereco>
             <Endereco>Avenida Maria Jorge Selim de Sales</Endereco>
             <Numero>100</Numero>
             <Complemento>01</Complemento>
             <Bairro>centro</Bairro>
             <CodigoMunicipio>3131307</CodigoMunicipio>
             <Uf>MG</Uf>
             <Cep>35160011</Cep>
           </Endereco>
           <Contato>
             <Telefone>318298000</Telefone>
           </Contato>
         </Tomador>
         <Intermediario>
           <IdentificacaoIntermediario>
             <CpfCnpj>
               <Cnpj>00331801000644</Cnpj>
             </CpfCnpj>
             <InscricaoMunicipal>28819</InscricaoMunicipal>
           </IdentificacaoIntermediario>
           <RazaoSocial>TESTE - Centro Universitário do Leste de Minas Gerais - UNILESTE</RazaoSocial>
         </Intermediario>
         <OptanteSimplesNacional>2</OptanteSimplesNacional>
         <IncentivoFiscal>2</IncentivoFiscal>
       </InfDeclaracaoPrestacaoServico>
       <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="#Rps2419992">
             <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>UxizpWzZ0qHmiW6QBSqkIMJF8PE=</DigestValue>
           </Reference>
         </SignedInfo>
         <SignatureValue>qyuLO02v8VO4BIVdJRh8Gfzy+sBRoIQXMhNQyxovxlPoa2FB//WzU2AfbSh5mFV13bKIHzALcatsCoWUdyW3jlMTQcFGj0efyPqevPaMvrThkPHtM8rMDY0Y6/RGR7mxMuGVaqynenYdKw9eaqw26Rp3hqXuKPi8j2jvymwx+TyDn74nm1bpbpfHqHT4cIy+SZof8pwmgZ​vrGab8SDsXo5kxjZK+NHO/gMmG/bdqXpz6AchTDgGeKGB1afHyC4xpKxw3IOd+nExs8KAfszmb6ebH4qkjqQ7btxeqOuQZ0b2jTXSVqWYFt​ujOHdTKX6P9M4jtWNyX4i2HpA9x9Injmg==</SignatureValue>
         <KeyInfo>
           <X509Data>
             <X509Certificate>MIIHxDCCBaygAwIBAgIIUgMZAgZkVkgwDQYJKoZIhvcNAQELBQAwgYkxCzAJBgNVBAYTAkJSMRMwE​QYDVQQKEwpJQ1AtQnJhc2lsMTQwMgYDVQQLEytBdXRvcmlkYWRlIENlcnRpZmljYWRvcmEgUmFpeiBCc​mFzaWxlaXJhIHYyMRIwEAYDVQQLEwlBQyBTT0xVVEkxGzAZBgNVBAMTEkFDIFNPTFVUSSBNdWx0aXBsY​TAeFw0xOTAyMTIxMjA2MzVaFw0yMDAyMTExNjAyMDBaMIHkMQswCQYDVQQGEwJCUjETMBEGA1UEChMKS​UNQLUJyYXNpbDE0MDIGA1UECxMrQXV0b3JpZGFkZSBDZXJ0aWZpY2Fkb3JhIFJhaXogQnJhc2lsZWlyY​SB2MjESMBAGA1UECxMJQUMgU09MVVRJMRswGQYDVQQLExJBQyBTT0xVVEkgTXVsdGlwbGExGjAYBgNVB​AsTEUNlcnRpZmljYWRvIFBKIEExMT0wOwYDVQQDEzRVTklBTyBCUkFTSUxFSVJBIERFIEVEVUNBQ0FPI​ENBVE9MSUNBOjAwMzMxODAxMDAwNjQ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAzMdwc​JNOogJg740WNVAFU92tmYMaJmDlwuc8xTGAEWkqjt6N7Tc7Tpe/PCN0S4IePSMR+MjssvlQags0rtvG9GxgqeA0NhXDZPXCilJRlCoR4obKmf2e4aR/9HvAGOJg9k0eDAYc1ZfsoGJEnsZWNhZYE0g37D71Wtn7M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C8TLTI3MDkxOTM4NjU2MjczNzc4ODcwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMKAXBgVg​TAEDB6AOEwwwMDAwMDAwMDAwMDAwDQYJKoZIhvcNAQELBQADggIBAH1yBttvP2aJjVvZS1lL9OVNH/QHbBZy0MITxGF6I1/I0EBgk1bTrCRn472hjKK7JfoGrJfnBylW9bym2FhAMB1u7qw/Lx89mLNiNayrXiTeoigwukCSqe0ox4LIxaVwgLItcxXxNlEJx/kaIx6FOkz+IIbxxYTJYmhkeDSd+dZxm17MLKNmLWzDvp7EmNAPvJHzFFH0XSFgC3sEwrekYaoXzERkhh​HWBtT/e1SKmBXBF18FRhmLmcTY/9zqDOnI1WcNVrxQA+7Sv7KFKXC8by8gdIZvtUq8ikH4Dcaa/sjEjCZZnos6j7OehG/yzPFCOucgOJg3qOrm0kzO4I7FQ9f3yVefYJt7x0QRbjySTtmPZm5wIQpOW/jG6Tgnn5RdPPmWPEl6tHjtEKeNO9nPD0519yOvWUS4WqF8HrbMQASMACZw1s19WioA+ialnjYe9YHwuo​j6VF0QrGAWPJfGFIRQkHm9zHsK4Ajdyjl2pmqX1wy7vC/8+myiR7vOlFHdT/R/tpUcijaVMy0ewJkaVnoP98FbehWc48Jdc4Sp+LcuJDk/hNhdNEFw2lTsHDGuG9fmeGmBl1GqITzUDHjE1zYL1iYaFz7cG9AV5gfOurcfpPQBgvg6KBCCHx/uFXbuE6Z7ERRI9dPbsgqVV4P+v+e2kO2WD6BodNDGWDxfzjJ/</X509Certificate>
           </X509Data>
         </KeyInfo>
       </Signature>
     </Rps>
   </ListaRps>
 </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="#LoteRps2419992">
       <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>VuY5bczeqLwqMkHXUl0hEZrUWTQ=</DigestValue>
     </Reference>
   </SignedInfo>
   <SignatureValue>ADG2DTKLmSZPNd/husFzVhPY10UKnNCcTjYTPLSVcIsskHR+58Z8AbpI1OcoVCP3XrlTavw92tQ24Zup+55ooXFQdt42tbt​htazWZukmk8Vz1PZZa1BErxDjzLNCBFy3XEulqIKHxgOi2shU1Fu5V9CBGgvLJgXq1CErkT9Iths52Ll​V4hnyoAzsSbTvCcg4buw6VKSMnzhwhawhxwo2f3qz9wLEdzkWyXEWlELRlfasBCelu5AdrtC2vpoicBo​WM7kI6m8Q4kK0Kpiaj3ld/P01TxZ4gkS/jTzAK7B+TrcG1Jd0MZLW5VFZojfdgVdBR+d89VdBHLCaUBnqeP8WOQ==</SignatureValue>
   <KeyInfo>
     <X509Data>
       <X509Certificate>MIIHxDCCBaygAwIBAgIIUgMZAgZkVkgwDQYJKoZIhvcNAQELBQAwgYkxCzAJBgNVBAYTAkJSMRMwE​QYDVQQKEwpJQ1AtQnJhc2lsMTQwMgYDVQQLEytBdXRvcmlkYWRlIENlcnRpZmljYWRvcmEgUmFpeiBCc​mFzaWxlaXJhIHYyMRIwEAYDVQQLEwlBQyBTT0xVVEkxGzAZBgNVBAMTEkFDIFNPTFVUSSBNdWx0aXBsY​TAeFw0xOTAyMTIxMjA2MzVaFw0yMDAyMTExNjAyMDBaMIHkMQswCQYDVQQGEwJCUjETMBEGA1UEChMKS​UNQLUJyYXNpbDE0MDIGA1UECxMrQXV0b3JpZGFkZSBDZXJ0aWZpY2Fkb3JhIFJhaXogQnJhc2lsZWlyY​SB2MjESMBAGA1UECxMJQUMgU09MVVRJMRswGQYDVQQLExJBQyBTT0xVVEkgTXVsdGlwbGExGjAYBgNVB​AsTEUNlcnRpZ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CCHx/uFXbuE6Z7ERRI9dPbsgqVV4P+v+e2kO2WD6BodNDGWDxfzjJ/</X509Certificate>
     </X509Data>
   </KeyInfo>
 </Signature>
</EnviarLoteRpsSincronoEnvio>
Responder
#13
Bom dia Hiago

Algum posicionamento sobre essa situação do XML abaixo?






(28-03-2019, 01:22 PM)Hiago Escreveu:  Peguei um XML de um cliente e modifiquei as informações dentro do mesmo, evitando a disponibilidade de dados indevidamente. Por isso a assinatura é invalida, o envio deste documento só serve de exemplo de como deve ficar a estrutura do XML.


(25-03-2019, 07:37 PM)hadagalberto Escreveu:  
(21-03-2019, 08:54 PM)Hiago Escreveu:  Segue exemplo.






Código:
<?xml version="1.0" encoding="UTF-8"?>
<EnviarLoteRpsSincronoEnvio xmlns="http://www.abrasf.org.br/nfse.xsd">
<LoteRps Id="1136" versao="2.00">
<NumeroLote>1136</NumeroLote>
<CpfCnpj>
<Cnpj>00123456000100</Cnpj>
</CpfCnpj>
<InscricaoMunicipal>0020389</InscricaoMunicipal>
<QuantidadeRps>1</QuantidadeRps>
<ListaRps>
<Rps>
<InfDeclaracaoPrestacaoServico Id="Rps7206">
<Rps>
<IdentificacaoRps>
<Numero>7206</Numero>
<Serie>A</Serie>
<Tipo>1</Tipo>
</IdentificacaoRps>
<DataEmissao>2019-03-21</DataEmissao>
<Status>1</Status>
</Rps>
<Competencia>2019-03-21</Competencia>
<Servico>
<Valores>
<ValorServicos>792.00</ValorServicos>
<ValorIss>15.84</ValorIss>
<Aliquota>2.0000</Aliquota>
</Valores>
<IssRetido>2</IssRetido>
<ItemListaServico>1.07</ItemListaServico>
<Discriminacao>Descricao: ENC.MENSAIS DE SOFTWARE-ACD MARCO/2019. Quantidade: 1,000 Vr. Unitario: 792,00 Vr. Total: 792,00 |</Discriminacao>
<CodigoMunicipio>3147600</CodigoMunicipio>
<CodigoPais>1058</CodigoPais>
<ExigibilidadeISS>1</ExigibilidadeISS>
<MunicipioIncidencia>3122306</MunicipioIncidencia>
</Servico>
<Prestador>
<CpfCnpj>
<Cnpj>04343781000178</Cnpj>
</CpfCnpj>
<InscricaoMunicipal>0020389</InscricaoMunicipal>
</Prestador>
<Tomador>
<IdentificacaoTomador>
<CpfCnpj>
<Cnpj>00654321000100</Cnpj>
</CpfCnpj>
</IdentificacaoTomador>
<RazaoSocial>JOSE DO TESTE</RazaoSocial>
<Endereco>
<Endereco>RUA FINO RODRIGUES SANTOS</Endereco>
<Numero>90</Numero>
<Bairro>LAGOAS</Bairro>
<CodigoMunicipio>335484</CodigoMunicipio>
<Uf>MG</Uf>
<CodigoPais>1058</CodigoPais>
<Cep>37460000</Cep>
</Endereco>
<Contato>
<Telefone>3233113161</Telefone>
<Email>endereco@email.com.br</Email>
</Contato>
</Tomador>
<RegimeEspecialTributacao>6</RegimeEspecialTributacao>
<OptanteSimplesNacional>2</OptanteSimplesNacional>
<IncentivoFiscal>2</IncentivoFiscal>
</InfDeclaracaoPrestacaoServico>
<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="#Rps7206">
<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>wCClamckkZaSD2UJco3tdQoME=</DigestValue>
</Reference>
</SignedInfo>
<SignatureValue>rGvsyj3A1ltJMwmuSuHzzv6KpnVdQ9NoEtdqMQOzNd9cIF8TRlvrMVfLertretrzmF0K8N6HtijW1​0sG6TsyGTVyiEMaOonZmXLkSlTLRO563bBoebY3YacHGT+B7faVB0742fgyxIkMByrV8RjrgVVl5EyUH​xQL1SWnhnT5+dSL6l4qdI78fQfmeUgNruJbunduYb6ccMSTmAcWDhSs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1bxRSk/jaS3NOaChh4YKHYIwuBh/shmfAXwy</X509Certificate>
</X509Data>
</KeyInfo>
</Signature>
</Rps>
</ListaRps>
</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="#1136">
<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>S0Xxf+FfLPAxySFsO63+8L6Gk=</DigestValue>
</Reference>
</SignedInfo>
<SignatureValue>lNIKaQNolUdY1B8wZZDJMdhPe6MbepyYT80FlJLxzfo/eByfu9jgbnCr5jegfgfgfSoQsI8Bb9P5g57WsajWbVonIPylyNieDwOH7nkQTD6Wd915EotsHSvt0Y+Z​o0wCFpSnyPcDVxSMvz66XQylSneyyK5zWgQBX5TD4L63pQGt57FnVjpXRINxzrB2BX5AIn1jVGZ847JO​/uGV5My/QPsPuSIr7EQ+QxI2mzioPUZlnPSIrpOAWlAhEE6sxLKxbCWrWtsXwqSBNmxLEHB7SfyQovbjbZRJnxu/ndVdTK/SkeJ+ecdYKOdh0aj8Tx2LrYzK+PtNDFLnetf+WbioA==</SignatureValue>
<KeyInfo>
<X509Data>
<X509Certificate>MIIHizCCBXOgAwIBAgIIRdfE8k/79KMwDQYJKoZIhvcNAQELBQAwczELMAkGA1UEBhMCQlIxEzARBgNVBAoTCklDUC1CcmFzaWwxNjA0BgN​VBAsTLVNlY3JldGFyaWEgZGEgUmVjZWl0YSBGZWRlcmFsIGRvIEJyYXNpbCAtIFJGQjEXMBUGA1UEAxM​OQUMgQ05ETCBSRkIgdjMwHhcNMTkwMTE1MjAwMDIxWhcNMjAwM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KoZIhvcNAQEL​BQADggIBAALcK54/4KHAZ+Pk0IiY4bR+GO1S5vN8pDeyPIurw2x/wlTSw2MI6QRS+mgKoBVmxVxjdesBXVHfbOeuuGo3qc35IWgw1q/9jsZxoeDb0QlcR+RVdxHwo9GdxmN1km8J0D9sonaiIIxHLhdZDXV9wRa8UFzLWaY2mMEGWXcFEGc/b3gsMV5d/naxlkRUBRCl0+UsqYRzwnG9x+A1PPAPDDJcqvIzTIo+nxLawAHQsgj7MWKfouvrSQf1jGJxxgPRPzafb​7Ry1iP4hpt3mTa9m9wGQPsoI2WnP8+1ChB6DZgde62ZoJSd2qC3A6JC2QBuG/UMIRAsi4FKr1shlJ/xfTE0lTYhCTsZ1UgRCgIZkD+WwDTA68kidRTF+blv4UZFR3gXTGKN4bzJv1Gk1z/OoZ/BnKKEDJz0IHhLHt8yiISMUpHiHzZVCet1vXGc7ASRQYinVyPmsBLntnVVaJ/MJQmsqGhOHK+zG//znIYVexC2tkAjnJXc4hXfnvPcD3yZTpOwrkF33H+M1Hey2W1ZPH0UbM9eF/DdTjKB87UzmAMEAdgJEj5KKIRJL1KL/b1twUd66inLXX/HkCQzf03p/4/ustDCvF3GvHPmDe/L0qel9T9l6fEbegjeUeHlKxA9QX4zu3Vv1bxRSk/jaS3NOaChh4YKHYIwuBh/shmfAXwy</X509Certificate>
</X509Data>
</KeyInfo>
</Signature>
</EnviarLoteRpsSincronoEnvio>

Prezado Hiago,
Vi seu XML e deixei idêntico ao que enviou. Porém o site da receita ta me mostrando a seguinte mensagem:
[Imagem: Ihrqgs8.jpg]
Testando seu XML, o site da receita federal quebra.
Segue meu XML, teria como dar uma olhada para ver onde estou errando?


Código:
<EnviarLoteRpsSincronoEnvio xmlns="http://www.abrasf.org.br/nfse.xsd">
 <LoteRps versao="1.00" Id="LoteRps2419992">
   <NumeroLote>00034700</NumeroLote>
   <CpfCnpj>
     <Cnpj>00331801000644</Cnpj>
   </CpfCnpj>
   <InscricaoMunicipal>28819</InscricaoMunicipal>
   <QuantidadeRps>1</QuantidadeRps>
   <ListaRps>
     <Rps>
       <InfDeclaracaoPrestacaoServico Id="Rps2419992">
         <Rps>
           <IdentificacaoRps>
             <Numero>347</Numero>
             <Serie>RCT</Serie>
             <Tipo>1</Tipo>
           </IdentificacaoRps>
           <DataEmissao>2019-03-12</DataEmissao>
           <Status>1</Status>
         </Rps>
         <Competencia>2019-03-12</Competencia>
         <Servico>
           <Valores>
             <ValorServicos>140000.00</ValorServicos>
             <ValorDeducoes>0</ValorDeducoes>
             <ValorPis>0</ValorPis>
             <ValorCofins>0</ValorCofins>
             <ValorInss>0</ValorInss>
             <ValorIr>0</ValorIr>
             <ValorCsll>0</ValorCsll>
             <OutrasRetencoes>0</OutrasRetencoes>
             <ValorIss>0.00</ValorIss>
             <Aliquota>0.00</Aliquota>
             <DescontoIncondicionado>0</DescontoIncondicionado>
             <DescontoCondicionado>0</DescontoCondicionado>
           </Valores>
           <IssRetido>2</IssRetido>
           <ItemListaServico>0801</ItemListaServico>
           <Discriminacao>PRESTAÇÃO DE SERVIÇOS AMBULATORIAIS ( SIA/SUS) MÊS DE MARÇO/2019
IMUNIDADE TRIBUTÁRIA PARA IRRF, PIS, COFINS, CSLL, ISS DE ACORDO COM O ART.150 CAPUT, VI, ALÍNEA "C", DA CF/88. IMUNIDADE DO ISS DEFERIDO PROCESSO N. 7839/001/2015 DE 30/06/2016, ART. 14 E 169 DO CTM. DISPENSADA DA RETENÇÃO DO INSS CONFORME IN RFB 971/2009, ART 149 ITEM III – Procon Coronel Fabriciano, Rua Efrem Macedo, 259 – Santa Helena – Tel. 31 3846-7707
- PRESTACAO DE SERVICOS EDUCACIONAIS</Discriminacao>
           <CodigoMunicipio>3119401</CodigoMunicipio>
           <ExigibilidadeISS>5</ExigibilidadeISS>
         </Servico>
         <Prestador>
           <CpfCnpj>
             <Cnpj>00331801000644</Cnpj>
           </CpfCnpj>
           <InscricaoMunicipal>28819</InscricaoMunicipal>
         </Prestador>
         <Tomador>
           <IdentificacaoTomador>
             <CpfCnpj>
               <Cnpj>19876424000142</Cnpj>
             </CpfCnpj>
           </IdentificacaoTomador>
           <RazaoSocial>Prefeitura Municipal de Ipatinga</RazaoSocial>
           <Endereco>
             <Endereco>Avenida Maria Jorge Selim de Sales</Endereco>
             <Numero>100</Numero>
             <Complemento>01</Complemento>
             <Bairro>centro</Bairro>
             <CodigoMunicipio>3131307</CodigoMunicipio>
             <Uf>MG</Uf>
             <Cep>35160011</Cep>
           </Endereco>
           <Contato>
             <Telefone>318298000</Telefone>
           </Contato>
         </Tomador>
         <Intermediario>
           <IdentificacaoIntermediario>
             <CpfCnpj>
               <Cnpj>00331801000644</Cnpj>
             </CpfCnpj>
             <InscricaoMunicipal>28819</InscricaoMunicipal>
           </IdentificacaoIntermediario>
           <RazaoSocial>TESTE - Centro Universitário do Leste de Minas Gerais - UNILESTE</RazaoSocial>
         </Intermediario>
         <OptanteSimplesNacional>2</OptanteSimplesNacional>
         <IncentivoFiscal>2</IncentivoFiscal>
       </InfDeclaracaoPrestacaoServico>
       <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="#Rps2419992">
             <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>UxizpWzZ0qHmiW6QBSqkIMJF8PE=</DigestValue>
           </Reference>
         </SignedInfo>
         <SignatureValue>qyuLO02v8VO4BIVdJRh8Gfzy+sBRoIQXMhNQyxovxlPoa2FB//WzU2AfbSh5mFV13bKIHzALcatsCoWUdyW3jlMTQcFGj0efyPqevPaMvrThkPHtM8rMDY0Y6/RGR7mxMuGVaqynenYdKw9eaqw26Rp3hqXuKPi8j2jvymwx+TyDn74nm1bpbpfHqHT4cIy+SZof8pwmgZ​vrGab8SDsXo5kxjZK+NHO/gMmG/bdqXpz6AchTDgGeKGB1afHyC4xpKxw3IOd+nExs8KAfszmb6ebH4qkjqQ7btxeqOuQZ0b2jTXSVqWYFt​ujOHdTKX6P9M4jtWNyX4i2HpA9x9Injmg==</SignatureValue>
         <KeyInfo>
           <X509Data>
             <X509Certificate>MIIHxDCCBaygAwIBAgIIUgMZAgZkVkgwDQYJKoZIhvcNAQELBQAwgYkxCzAJBgNVBAYTAkJSMRMwE​QYDVQQKEwpJQ1AtQnJhc2lsMTQwMgYDVQQLEytBdXRvcmlkYWRlIENlcnRpZmljYWRvcmEgUmFpeiBCc​mFzaWxlaXJhIHYyMRIwEAYDVQQLEwlBQyBTT0xVVEkxGzAZBgNVBAMTEkFDIFNPTFVUSSBNdWx0aXBsY​TAeFw0xOTAyMTIxMjA2MzVaFw0yMDAyMTExNjAyMDBaMIHkMQswCQYDVQQGEwJCUjETMBEGA1UEChMKS​UNQLUJyYXNpbDE0MDIGA1UECxMrQXV0b3JpZGFkZSBDZXJ0aWZpY2Fkb3JhIFJhaXogQnJhc2lsZWlyY​SB2MjESMBAGA1UECxMJQUMgU09MVVRJMRswGQYDVQQLExJBQyBTT0xVVEkgTXVsdGlwbGExGjAYBgNVB​AsTEUNlcnRpZmljYWRvIFBKIEExMT0wOwYDVQQDEzRVTklBTyBCUkFTSUxFSVJBIERFIEVEVUNBQ0FPI​ENBVE9MSUNBOjAwMzMxODAxMDAwNjQ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAzMdwc​JNOogJg740WNVAFU92tmYMaJmDlwuc8xTGAEWkqjt6N7Tc7Tpe/PCN0S4IePSMR+MjssvlQags0rtvG9GxgqeA0NhXDZPXCilJRlCoR4obKmf2e4aR/9HvAGOJg9k0eDAYc1ZfsoGJEnsZWNhZYE0g37D71Wtn7Mr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8TLTI3MDkxOTM4NjU2MjczNzc4ODcwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMKAXBgVg​TAEDB6AOEwwwMDAwMDAwMDAwMDAwDQYJKoZIhvcNAQELBQADggIBAH1yBttvP2aJjVvZS1lL9OVNH/QHbBZy0MITxGF6I1/I0EBgk1bTrCRn472hjKK7JfoGrJfnBylW9bym2FhAMB1u7qw/Lx89mLNiNayrXiTeoigwukCSqe0ox4LIxaVwgLItcxXxNlEJx/kaIx6FOkz+IIbxxYTJYmhkeDSd+dZxm17MLKNmLWzDvp7EmNAPvJHzFFH0XSFgC3sEwrekYaoXzERkhh​HWBtT/e1SKmBXBF18FRhmLmcTY/9zqDOnI1WcNVrxQA+7Sv7KFKXC8by8gdIZvtUq8ikH4Dcaa/sjEjCZZnos6j7OehG/yzPFCOucgOJg3qOrm0kzO4I7FQ9f3yVefYJt7x0QRbjySTtmPZm5wIQpOW/jG6Tgnn5RdPPmWPEl6tHjtEKeNO9nPD0519yOvWUS4WqF8HrbMQASMACZw1s19WioA+ialnjYe9YHwuo​j6VF0QrGAWPJfGFIRQkHm9zHsK4Ajdyjl2pmqX1wy7vC/8+myiR7vOlFHdT/R/tpUcijaVMy0ewJkaVnoP98FbehWc48Jdc4Sp+LcuJDk/hNhdNEFw2lTsHDGuG9fmeGmBl1GqITzUDHjE1zYL1iYaFz7cG9AV5gfOurcfpPQBgvg6KBCCHx/uFXbuE6Z7ERRI9dPbsgqVV4P+v+e2kO2WD6BodNDGWDxfzjJ/</X509Certificate>
           </X509Data>
         </KeyInfo>
       </Signature>
     </Rps>
   </ListaRps>
 </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="#LoteRps2419992">
       <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>VuY5bczeqLwqMkHXUl0hEZrUWTQ=</DigestValue>
     </Reference>
   </SignedInfo>
   <SignatureValue>ADG2DTKLmSZPNd/husFzVhPY10UKnNCcTjYTPLSVcIsskHR+58Z8AbpI1OcoVCP3XrlTavw92tQ24Zup+55ooXFQdt42tbt​htazWZukmk8Vz1PZZa1BErxDjzLNCBFy3XEulqIKHxgOi2shU1Fu5V9CBGgvLJgXq1CErkT9Iths52Ll​V4hnyoAzsSbTvCcg4buw6VKSMnzhwhawhxwo2f3qz9wLEdzkWyXEWlELRlfasBCelu5AdrtC2vpoicBo​WM7kI6m8Q4kK0Kpiaj3ld/P01TxZ4gkS/jTzAK7B+TrcG1Jd0MZLW5VFZojfdgVdBR+d89VdBHLCaUBnqeP8WOQ==</SignatureValue>
   <KeyInfo>
     <X509Data>
       <X509Certificate>MIIHxDCCBaygAwIBAgIIUgMZAgZkVkgwDQYJKoZIhvcNAQELBQAwgYkxCzAJBgNVBAYTAkJSMRMwE​QYDVQQKEwpJQ1AtQnJhc2lsMTQwMgYDVQQLEytBdXRvcmlkYWRlIENlcnRpZmljYWRvcmEgUmFpeiBCc​mFzaWxlaXJhIHYyMRIwEAYDVQQLEwlBQyBTT0xVVEkxGzAZBgNVBAMTEkFDIFNPTFVUSSBNdWx0aXBsY​TAeFw0xOTAyMTIxMjA2MzVaFw0yMDAyMTExNjAyMDBaMIHkMQswCQYDVQQGEwJCUjETMBEGA1UEChMKS​UNQLUJyYXNpbDE0MDIGA1UECxMrQXV0b3JpZGFkZSBDZXJ0aWZpY2Fkb3JhIFJhaXogQnJhc2lsZWlyY​SB2MjESMBAGA1UECxMJQUMgU09MVVRJMRswGQYDVQQLExJBQyBTT0xVVEkgTXVsdGlwbGExGjAYBgNVB​AsTEUNlcnRpZm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CHx/uFXbuE6Z7ERRI9dPbsgqVV4P+v+e2kO2WD6BodNDGWDxfzjJ/</X509Certificate>
     </X509Data>
   </KeyInfo>
 </Signature>
</EnviarLoteRpsSincronoEnvio>
Responder
#14
Bom dia Hiago

Algum posicionamento sobre essa situação do XML abaixo?






(28-03-2019, 01:22 PM)Hiago Escreveu:  Peguei um XML de um cliente e modifiquei as informações dentro do mesmo, evitando a disponibilidade de dados indevidamente. Por isso a assinatura é invalida, o envio deste documento só serve de exemplo de como deve ficar a estrutura do XML.


(25-03-2019, 07:37 PM)hadagalberto Escreveu:  
(21-03-2019, 08:54 PM)Hiago Escreveu:  Segue exemplo.






Código:
<?xml version="1.0" encoding="UTF-8"?>
<EnviarLoteRpsSincronoEnvio xmlns="http://www.abrasf.org.br/nfse.xsd">
<LoteRps Id="1136" versao="2.00">
<NumeroLote>1136</NumeroLote>
<CpfCnpj>
<Cnpj>00123456000100</Cnpj>
</CpfCnpj>
<InscricaoMunicipal>0020389</InscricaoMunicipal>
<QuantidadeRps>1</QuantidadeRps>
<ListaRps>
<Rps>
<InfDeclaracaoPrestacaoServico Id="Rps7206">
<Rps>
<IdentificacaoRps>
<Numero>7206</Numero>
<Serie>A</Serie>
<Tipo>1</Tipo>
</IdentificacaoRps>
<DataEmissao>2019-03-21</DataEmissao>
<Status>1</Status>
</Rps>
<Competencia>2019-03-21</Competencia>
<Servico>
<Valores>
<ValorServicos>792.00</ValorServicos>
<ValorIss>15.84</ValorIss>
<Aliquota>2.0000</Aliquota>
</Valores>
<IssRetido>2</IssRetido>
<ItemListaServico>1.07</ItemListaServico>
<Discriminacao>Descricao: ENC.MENSAIS DE SOFTWARE-ACD MARCO/2019. Quantidade: 1,000 Vr. Unitario: 792,00 Vr. Total: 792,00 |</Discriminacao>
<CodigoMunicipio>3147600</CodigoMunicipio>
<CodigoPais>1058</CodigoPais>
<ExigibilidadeISS>1</ExigibilidadeISS>
<MunicipioIncidencia>3122306</MunicipioIncidencia>
</Servico>
<Prestador>
<CpfCnpj>
<Cnpj>04343781000178</Cnpj>
</CpfCnpj>
<InscricaoMunicipal>0020389</InscricaoMunicipal>
</Prestador>
<Tomador>
<IdentificacaoTomador>
<CpfCnpj>
<Cnpj>00654321000100</Cnpj>
</CpfCnpj>
</IdentificacaoTomador>
<RazaoSocial>JOSE DO TESTE</RazaoSocial>
<Endereco>
<Endereco>RUA FINO RODRIGUES SANTOS</Endereco>
<Numero>90</Numero>
<Bairro>LAGOAS</Bairro>
<CodigoMunicipio>335484</CodigoMunicipio>
<Uf>MG</Uf>
<CodigoPais>1058</CodigoPais>
<Cep>37460000</Cep>
</Endereco>
<Contato>
<Telefone>3233113161</Telefone>
<Email>endereco@email.com.br</Email>
</Contato>
</Tomador>
<RegimeEspecialTributacao>6</RegimeEspecialTributacao>
<OptanteSimplesNacional>2</OptanteSimplesNacional>
<IncentivoFiscal>2</IncentivoFiscal>
</InfDeclaracaoPrestacaoServico>
<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="#Rps7206">
<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>wCClamckkZaSD2UJco3tdQoME=</DigestValue>
</Reference>
</SignedInfo>
<SignatureValue>rGvsyj3A1ltJMwmuSuHzzv6KpnVdQ9NoEtdqMQOzNd9cIF8TRlvrMVfLertretrzmF0K8N6HtijW1​0sG6TsyGTVyiEMaOonZmXLkSlTLRO563bBoebY3YacHGT+B7faVB0742fgyxIkMByrV8RjrgVVl5EyUH​xQL1SWnhnT5+dSL6l4qdI78fQfmeUgNruJbunduYb6ccMSTmAcWDhSsM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bxRSk/jaS3NOaChh4YKHYIwuBh/shmfAXwy</X509Certificate>
</X509Data>
</KeyInfo>
</Signature>
</Rps>
</ListaRps>
</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="#1136">
<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>S0Xxf+FfLPAxySFsO63+8L6Gk=</DigestValue>
</Reference>
</SignedInfo>
<SignatureValue>lNIKaQNolUdY1B8wZZDJMdhPe6MbepyYT80FlJLxzfo/eByfu9jgbnCr5jegfgfgfSoQsI8Bb9P5g57WsajWbVonIPylyNieDwOH7nkQTD6Wd915EotsHSvt0Y+Z​o0wCFpSnyPcDVxSMvz66XQylSneyyK5zWgQBX5TD4L63pQGt57FnVjpXRINxzrB2BX5AIn1jVGZ847JO​/uGV5My/QPsPuSIr7EQ+QxI2mzioPUZlnPSIrpOAWlAhEE6sxLKxbCWrWtsXwqSBNmxLEHB7SfyQovbjbZRJnxu/ndVdTK/SkeJ+ecdYKOdh0aj8Tx2LrYzK+PtNDFLnetf+WbioA==</SignatureValue>
<KeyInfo>
<X509Data>
<X509Certificate>MIIHizCCBXOgAwIBAgIIRdfE8k/79KMwDQYJKoZIhvcNAQELBQAwczELMAkGA1UEBhMCQlIxEzARBgNVBAoTCklDUC1CcmFzaWwxNjA0BgN​VBAsTLVNlY3JldGFyaWEgZGEgUmVjZWl0YSBGZWRlcmFsIGRvIEJyYXNpbCAtIFJGQjEXMBUGA1UEAxM​OQUMgQ05ETCBSRkIgdjMwHhcNMTkwMTE1MjAwMDIxWhcNMjAwMT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oZIhvcNAQEL​BQADggIBAALcK54/4KHAZ+Pk0IiY4bR+GO1S5vN8pDeyPIurw2x/wlTSw2MI6QRS+mgKoBVmxVxjdesBXVHfbOeuuGo3qc35IWgw1q/9jsZxoeDb0QlcR+RVdxHwo9GdxmN1km8J0D9sonaiIIxHLhdZDXV9wRa8UFzLWaY2mMEGWXcFEGc/b3gsMV5d/naxlkRUBRCl0+UsqYRzwnG9x+A1PPAPDDJcqvIzTIo+nxLawAHQsgj7MWKfouvrSQf1jGJxxgPRPzafb​7Ry1iP4hpt3mTa9m9wGQPsoI2WnP8+1ChB6DZgde62ZoJSd2qC3A6JC2QBuG/UMIRAsi4FKr1shlJ/xfTE0lTYhCTsZ1UgRCgIZkD+WwDTA68kidRTF+blv4UZFR3gXTGKN4bzJv1Gk1z/OoZ/BnKKEDJz0IHhLHt8yiISMUpHiHzZVCet1vXGc7ASRQYinVyPmsBLntnVVaJ/MJQmsqGhOHK+zG//znIYVexC2tkAjnJXc4hXfnvPcD3yZTpOwrkF33H+M1Hey2W1ZPH0UbM9eF/DdTjKB87UzmAMEAdgJEj5KKIRJL1KL/b1twUd66inLXX/HkCQzf03p/4/ustDCvF3GvHPmDe/L0qel9T9l6fEbegjeUeHlKxA9QX4zu3Vv1bxRSk/jaS3NOaChh4YKHYIwuBh/shmfAXwy</X509Certificate>
</X509Data>
</KeyInfo>
</Signature>
</EnviarLoteRpsSincronoEnvio>

Prezado Hiago,
Vi seu XML e deixei idêntico ao que enviou. Porém o site da receita ta me mostrando a seguinte mensagem:
[Imagem: Ihrqgs8.jpg]
Testando seu XML, o site da receita federal quebra.
Segue meu XML, teria como dar uma olhada para ver onde estou errando?


Código:
<EnviarLoteRpsSincronoEnvio xmlns="http://www.abrasf.org.br/nfse.xsd">
 <LoteRps versao="1.00" Id="LoteRps2419992">
   <NumeroLote>00034700</NumeroLote>
   <CpfCnpj>
     <Cnpj>00331801000644</Cnpj>
   </CpfCnpj>
   <InscricaoMunicipal>28819</InscricaoMunicipal>
   <QuantidadeRps>1</QuantidadeRps>
   <ListaRps>
     <Rps>
       <InfDeclaracaoPrestacaoServico Id="Rps2419992">
         <Rps>
           <IdentificacaoRps>
             <Numero>347</Numero>
             <Serie>RCT</Serie>
             <Tipo>1</Tipo>
           </IdentificacaoRps>
           <DataEmissao>2019-03-12</DataEmissao>
           <Status>1</Status>
         </Rps>
         <Competencia>2019-03-12</Competencia>
         <Servico>
           <Valores>
             <ValorServicos>140000.00</ValorServicos>
             <ValorDeducoes>0</ValorDeducoes>
             <ValorPis>0</ValorPis>
             <ValorCofins>0</ValorCofins>
             <ValorInss>0</ValorInss>
             <ValorIr>0</ValorIr>
             <ValorCsll>0</ValorCsll>
             <OutrasRetencoes>0</OutrasRetencoes>
             <ValorIss>0.00</ValorIss>
             <Aliquota>0.00</Aliquota>
             <DescontoIncondicionado>0</DescontoIncondicionado>
             <DescontoCondicionado>0</DescontoCondicionado>
           </Valores>
           <IssRetido>2</IssRetido>
           <ItemListaServico>0801</ItemListaServico>
           <Discriminacao>PRESTAÇÃO DE SERVIÇOS AMBULATORIAIS ( SIA/SUS) MÊS DE MARÇO/2019
IMUNIDADE TRIBUTÁRIA PARA IRRF, PIS, COFINS, CSLL, ISS DE ACORDO COM O ART.150 CAPUT, VI, ALÍNEA "C", DA CF/88. IMUNIDADE DO ISS DEFERIDO PROCESSO N. 7839/001/2015 DE 30/06/2016, ART. 14 E 169 DO CTM. DISPENSADA DA RETENÇÃO DO INSS CONFORME IN RFB 971/2009, ART 149 ITEM III – Procon Coronel Fabriciano, Rua Efrem Macedo, 259 – Santa Helena – Tel. 31 3846-7707
- PRESTACAO DE SERVICOS EDUCACIONAIS</Discriminacao>
           <CodigoMunicipio>3119401</CodigoMunicipio>
           <ExigibilidadeISS>5</ExigibilidadeISS>
         </Servico>
         <Prestador>
           <CpfCnpj>
             <Cnpj>00331801000644</Cnpj>
           </CpfCnpj>
           <InscricaoMunicipal>28819</InscricaoMunicipal>
         </Prestador>
         <Tomador>
           <IdentificacaoTomador>
             <CpfCnpj>
               <Cnpj>19876424000142</Cnpj>
             </CpfCnpj>
           </IdentificacaoTomador>
           <RazaoSocial>Prefeitura Municipal de Ipatinga</RazaoSocial>
           <Endereco>
             <Endereco>Avenida Maria Jorge Selim de Sales</Endereco>
             <Numero>100</Numero>
             <Complemento>01</Complemento>
             <Bairro>centro</Bairro>
             <CodigoMunicipio>3131307</CodigoMunicipio>
             <Uf>MG</Uf>
             <Cep>35160011</Cep>
           </Endereco>
           <Contato>
             <Telefone>318298000</Telefone>
           </Contato>
         </Tomador>
         <Intermediario>
           <IdentificacaoIntermediario>
             <CpfCnpj>
               <Cnpj>00331801000644</Cnpj>
             </CpfCnpj>
             <InscricaoMunicipal>28819</InscricaoMunicipal>
           </IdentificacaoIntermediario>
           <RazaoSocial>TESTE - Centro Universitário do Leste de Minas Gerais - UNILESTE</RazaoSocial>
         </Intermediario>
         <OptanteSimplesNacional>2</OptanteSimplesNacional>
         <IncentivoFiscal>2</IncentivoFiscal>
       </InfDeclaracaoPrestacaoServico>
       <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="#Rps2419992">
             <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>UxizpWzZ0qHmiW6QBSqkIMJF8PE=</DigestValue>
           </Reference>
         </SignedInfo>
         <SignatureValue>qyuLO02v8VO4BIVdJRh8Gfzy+sBRoIQXMhNQyxovxlPoa2FB//WzU2AfbSh5mFV13bKIHzALcatsCoWUdyW3jlMTQcFGj0efyPqevPaMvrThkPHtM8rMDY0Y6/RGR7mxMuGVaqynenYdKw9eaqw26Rp3hqXuKPi8j2jvymwx+TyDn74nm1bpbpfHqHT4cIy+SZof8pwmgZ​vrGab8SDsXo5kxjZK+NHO/gMmG/bdqXpz6AchTDgGeKGB1afHyC4xpKxw3IOd+nExs8KAfszmb6ebH4qkjqQ7btxeqOuQZ0b2jTXSVqWYFt​ujOHdTKX6P9M4jtWNyX4i2HpA9x9Injmg==</SignatureValue>
         <KeyInfo>
           <X509Data>
             <X509Certificate>MIIHxDCCBaygAwIBAgIIUgMZAgZkVkgwDQYJKoZIhvcNAQELBQAwgYkxCzAJBgNVBAYTAkJSMRMwE​QYDVQQKEwpJQ1AtQnJhc2lsMTQwMgYDVQQLEytBdXRvcmlkYWRlIENlcnRpZmljYWRvcmEgUmFpeiBCc​mFzaWxlaXJhIHYyMRIwEAYDVQQLEwlBQyBTT0xVVEkxGzAZBgNVBAMTEkFDIFNPTFVUSSBNdWx0aXBsY​TAeFw0xOTAyMTIxMjA2MzVaFw0yMDAyMTExNjAyMDBaMIHkMQswCQYDVQQGEwJCUjETMBEGA1UEChMKS​UNQLUJyYXNpbDE0MDIGA1UECxMrQXV0b3JpZGFkZSBDZXJ0aWZpY2Fkb3JhIFJhaXogQnJhc2lsZWlyY​SB2MjESMBAGA1UECxMJQUMgU09MVVRJMRswGQYDVQQLExJBQyBTT0xVVEkgTXVsdGlwbGExGjAYBgNVB​AsTEUNlcnRpZmljYWRvIFBKIEExMT0wOwYDVQQDEzRVTklBTyBCUkFTSUxFSVJBIERFIEVEVUNBQ0FPI​ENBVE9MSUNBOjAwMzMxODAxMDAwNjQ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAzMdwc​JNOogJg740WNVAFU92tmYMaJmDlwuc8xTGAEWkqjt6N7Tc7Tpe/PCN0S4IePSMR+MjssvlQags0rtvG9GxgqeA0NhXDZPXCilJRlCoR4obKmf2e4aR/9HvAGOJg9k0eDAYc1ZfsoGJEnsZWNhZYE0g37D71Wtn7MrO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TLTI3MDkxOTM4NjU2MjczNzc4ODcwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMKAXBgVg​TAEDB6AOEwwwMDAwMDAwMDAwMDAwDQYJKoZIhvcNAQELBQADggIBAH1yBttvP2aJjVvZS1lL9OVNH/QHbBZy0MITxGF6I1/I0EBgk1bTrCRn472hjKK7JfoGrJfnBylW9bym2FhAMB1u7qw/Lx89mLNiNayrXiTeoigwukCSqe0ox4LIxaVwgLItcxXxNlEJx/kaIx6FOkz+IIbxxYTJYmhkeDSd+dZxm17MLKNmLWzDvp7EmNAPvJHzFFH0XSFgC3sEwrekYaoXzERkhh​HWBtT/e1SKmBXBF18FRhmLmcTY/9zqDOnI1WcNVrxQA+7Sv7KFKXC8by8gdIZvtUq8ikH4Dcaa/sjEjCZZnos6j7OehG/yzPFCOucgOJg3qOrm0kzO4I7FQ9f3yVefYJt7x0QRbjySTtmPZm5wIQpOW/jG6Tgnn5RdPPmWPEl6tHjtEKeNO9nPD0519yOvWUS4WqF8HrbMQASMACZw1s19WioA+ialnjYe9YHwuo​j6VF0QrGAWPJfGFIRQkHm9zHsK4Ajdyjl2pmqX1wy7vC/8+myiR7vOlFHdT/R/tpUcijaVMy0ewJkaVnoP98FbehWc48Jdc4Sp+LcuJDk/hNhdNEFw2lTsHDGuG9fmeGmBl1GqITzUDHjE1zYL1iYaFz7cG9AV5gfOurcfpPQBgvg6KBCCHx/uFXbuE6Z7ERRI9dPbsgqVV4P+v+e2kO2WD6BodNDGWDxfzjJ/</X509Certificate>
           </X509Data>
         </KeyInfo>
       </Signature>
     </Rps>
   </ListaRps>
 </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="#LoteRps2419992">
       <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>VuY5bczeqLwqMkHXUl0hEZrUWTQ=</DigestValue>
     </Reference>
   </SignedInfo>
   <SignatureValue>ADG2DTKLmSZPNd/husFzVhPY10UKnNCcTjYTPLSVcIsskHR+58Z8AbpI1OcoVCP3XrlTavw92tQ24Zup+55ooXFQdt42tbt​htazWZukmk8Vz1PZZa1BErxDjzLNCBFy3XEulqIKHxgOi2shU1Fu5V9CBGgvLJgXq1CErkT9Iths52Ll​V4hnyoAzsSbTvCcg4buw6VKSMnzhwhawhxwo2f3qz9wLEdzkWyXEWlELRlfasBCelu5AdrtC2vpoicBo​WM7kI6m8Q4kK0Kpiaj3ld/P01TxZ4gkS/jTzAK7B+TrcG1Jd0MZLW5VFZojfdgVdBR+d89VdBHLCaUBnqeP8WOQ==</SignatureValue>
   <KeyInfo>
     <X509Data>
       <X509Certificate>MIIHxDCCBaygAwIBAgIIUgMZAgZkVkgwDQYJKoZIhvcNAQELBQAwgYkxCzAJBgNVBAYTAkJSMRMwE​QYDVQQKEwpJQ1AtQnJhc2lsMTQwMgYDVQQLEytBdXRvcmlkYWRlIENlcnRpZmljYWRvcmEgUmFpeiBCc​mFzaWxlaXJhIHYyMRIwEAYDVQQLEwlBQyBTT0xVVEkxGzAZBgNVBAMTEkFDIFNPTFVUSSBNdWx0aXBsY​TAeFw0xOTAyMTIxMjA2MzVaFw0yMDAyMTExNjAyMDBaMIHkMQswCQYDVQQGEwJCUjETMBEGA1UEChMKS​UNQLUJyYXNpbDE0MDIGA1UECxMrQXV0b3JpZGFkZSBDZXJ0aWZpY2Fkb3JhIFJhaXogQnJhc2lsZWlyY​SB2MjESMBAGA1UECxMJQUMgU09MVVRJMRswGQYDVQQLExJBQyBTT0xVVEkgTXVsdGlwbGExGjAYBgNVB​AsTEUNlcnRpZmlj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Hx/uFXbuE6Z7ERRI9dPbsgqVV4P+v+e2kO2WD6BodNDGWDxfzjJ/</X509Certificate>
     </X509Data>
   </KeyInfo>
 </Signature>
</EnviarLoteRpsSincronoEnvio>
Responder
#15
Bom dia Marcio,

Não existe nenhum problema relacionado o que você marcou... Qual seria seu o problema?

att,
Hiago
Responder
#16
(05-04-2019, 11:31 AM)Hiago Escreveu:  Bom dia Marcio,

Não existe nenhum problema relacionado o que você marcou... Qual seria seu o problema?

att,
Hiago

Boa tarde, Hiago

Entendo que não é fácil uma implantação e atender todos os envolvidos no processo de validação do mesmo, não é mesmo!
Quando pensamos que seu Cliente (P.M.Coronel Fabriciano) tem que estar satisfeito com o software, bem como todos os demais, prestadores e tomadores de serviços que são os usuários finais.
Pois bem, você como o hiper, mega, máster programador responsável pelo Governo Digital, poderia nos ajudar a solucionar o problema de web service retorna o erro GOV12, bem como na montagem do XML, e apontar onde estão os erros e como poderíamos corrigi-los.

Seria de grande valia para nós que dependemos do software GOVDigital sua ajuda nesse momento, o nosso programador hadagalberto
Junior (Member) tem efetuado varias solicitações.


Peço sua ajuda, somos do Grupo da UNILESTE vale do aço, e precisamos concluir esse processo para que possamos emitir as notas fiscais.


conto com a sua compreensão


Marcio Silva

61 33839089
Responder
#17
Boa tarde Macos,

Peguei o ultimo envio feito, segue XML reposta abaixo.
Código:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<EnviarLoteRpsSincronoResposta xmlns="http://www.abrasf.org.br/nfse.xsd" xmlns:ns2="http://www.w3.org/2000/09/xmldsig#">
    <NumeroLote>15266200</NumeroLote>
    <DataRecebimento>2019-04-08T09:39:15.111-03:00</DataRecebimento>
    <Protocolo>2779738</Protocolo>
    <ListaNfse/>
    <ListaMensagemRetorno/>
    <ListaMensagemRetornoLote>
        <MensagemRetorno>
            <IdentificacaoRps>
                <Numero>152662</Numero>
                <Serie>6</Serie>
                <Tipo>1</Tipo>
            </IdentificacaoRps>
            <Codigo>E10</Codigo>
            <Mensagem>RPS já informado.</Mensagem>
        </MensagemRetorno>
    </ListaMensagemRetornoLote>
</EnviarLoteRpsSincronoResposta>
Dessa forma peguei o ultimo RPS (152653) informado para o CNPJ 00331801000644, favor fazer o envio com número de RPS maiores que esse.

att,
Hiago
Responder


Pular para Fórum:


Usuários visualizando este tópico: 1 Visitante(s)