2
The problem I mention below is similar to the problem of this link post:
REINF - Invalid Signature. Failed to verify XML document signature. Reinf using c#
What happens is that I am testing the sending of an event to REINF and I am receiving the return below the webservice:
<codResp>MS0017</codResp>
<dscResp>Assinatura do evento inválida. Assinatura Digital do documento XML é inválida</dscResp>
My XML before signing is this:
<Reinf xmlns="http://www.reinf.esocial.gov.br/schemas/envioLoteEventos/v1_03_00">
<loteEventos>
<evento id="ID1670710010000002018030117011200001">
<Reinf xmlns="http://www.reinf.esocial.gov.br/schemas/evtInfoContribuinte/v1_03_00">
<evtInfoContri id="ID1670710010000002018030117011200001">
<ideEvento>
<tpAmb>2</tpAmb>
<procEmi>1</procEmi>
<verProc>1</verProc>
</ideEvento>
<ideContri>
<tpInsc>1</tpInsc>
<nrInsc>67071001</nrInsc>
</ideContri>
<infoContri>
<inclusao>
<idePeriodo>
<iniValid>2018-03</iniValid>
<fimValid>2018-03</fimValid>
</idePeriodo>
<infoCadastro>
<classTrib>99</classTrib>
<indEscrituracao>1</indEscrituracao>
<indDesoneracao>0</indDesoneracao>
<indAcordoIsenMulta>0</indAcordoIsenMulta>
<indSitPJ>0</indSitPJ>
<contato>
<nmCtt>XXXXXXXXXX</nmCtt>
<cpfCtt>00000000000</cpfCtt>
<foneFixo>00000000000</foneFixo>
</contato>
<softHouse>
<cnpjSoftHouse>00000000000</cnpjSoftHouse>
<nmRazao>XXXXXXXXXX</nmRazao>
<nmCont>XXXXXXXXXX</nmCont>
<telefone>00000000000</telefone>
<email>XXXXXXXXXX</email>
</softHouse>
</infoCadastro>
</inclusao>
</infoContri>
</evtInfoContri>
</Reinf>
</evento>
</loteEventos>
</Reinf>
After the signature is like this:
<Reinf xmlns="http://www.reinf.esocial.gov.br/schemas/envioLoteEventos/v1_03_00">
<loteEventos>
<evento id="ID1670710010000002018030117011200001">
<Reinf xmlns="http://www.reinf.esocial.gov.br/schemas/evtInfoContribuinte/v1_03_00">
<evtInfoContri id="ID1670710010000002018030117011200001">
<ideEvento>
<tpAmb>2</tpAmb>
<procEmi>1</procEmi>
<verProc>1</verProc>
</ideEvento>
<ideContri>
<tpInsc>1</tpInsc>
<nrInsc>67071001</nrInsc>
</ideContri>
<infoContri>
<inclusao>
<idePeriodo>
<iniValid>2018-03</iniValid>
<fimValid>2018-03</fimValid>
</idePeriodo>
<infoCadastro>
<classTrib>99</classTrib>
<indEscrituracao>1</indEscrituracao>
<indDesoneracao>0</indDesoneracao>
<indAcordoIsenMulta>0</indAcordoIsenMulta>
<indSitPJ>0</indSitPJ>
<contato>
<nmCtt>XXXXXXXXXX</nmCtt>
<cpfCtt>00000000000</cpfCtt>
<foneFixo>00000000000</foneFixo>
</contato>
<softHouse>
<cnpjSoftHouse>00000000000</cnpjSoftHouse>
<nmRazao>XXXXXXXXXX</nmRazao>
<nmCont>XXXXXXXXXX</nmCont>
<telefone>00000000000</telefone>
<email>XXXXXXXXXX</email>
</softHouse>
</infoCadastro>
</inclusao>
</infoContri>
</evtInfoContri>
<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/2001/04/xmldsig-more#rsa-sha256" />
<Reference URI="#ID1670710010000002018030117011200001">
<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/2001/04/xmlenc#sha256" />
<DigestValue>+Dm6c8v+ZhocqLQ5miRzTsuDnP5TnmwCAkhvWvxiFdI=</DigestValue>
</Reference>
</SignedInfo>
<SignatureValue>ncq4zPSN5EXVYh6YvrdfJn4+jMYhrHR1tM6NStnfmlDZjxCcLFCHrXLxuG6awsEtnJULWSGwbm49uEEBcvY5LHs6iB0fPZOsMlyoaA8plHidK+UQmk0C37/TMGMd1ii/xTeU+XraVCtJIw1xIGLC3q7D2iAQykuUC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9NQVqgGQYFYEwBAwOgEBMONjcwNzEwMDEwMDAxMDagFwYFYEwBAwegDhMMMDAwMDAwMDAwMDAwMA0GCSqGSIb3DQEBCwUAA4ICAQATHgfi7caoxqobwfXRcBhZ7LkVO3GaOBYE92L/KAoWoZR7m2vREbo7mfhXIx2VZXR509Nr6FIPT28EeKAaOR6ZwonykVpicGklkZjUmDgXTb4jtaCNAQZl347Qf+81LEHHwtrL2alhr+hvxXL2Q+UzKTrqtxua4Ta96lF2s7ubcrTnsiHNPSu8cZSzirtsYIm0ExIkNVQpH3xiCIcQIkuWPAjBAuuQtAUK1klmEcNQYz01l5krDIbLiYzwUJXG7CP9wDZvn8xPFzTr9XFgGglb3fy2OKFiSoaB80z90w3Sd1opiuojANEJrQV64A47fSa6BnidA97e5Dtk+GWtbJ0vPoT9/+3HAahJFq5Uq3btghQ3IXxvRSxnsWbqXAR/RPhyQ4Sxe0f1aqtz7cPjf5Ec4m3PHtWhmU5VOPNYv6k3U3+lSXTTNZFP2aydybRatxYVg78Dws3HMhIouS8N9W/6v0eomtGRoX+S/cjN5JwflQ5KvldSt9qhBVGHwZ+W7HrlrfLGKphcFaxFWUpfNO5SBMLypPw2IMu2ZfDBh+WwGnOduRJqAASsJe+XzB8cOONKqsLEtfxLzfVRY71kXwqt3l9X2Ninu3qVr6ubyyuAgK5buKNzzZvfLBVGGziH4nQdeMxypi5hjSFci8RPp4jcCDJ/DANVFlRFG7rNr044rQ==</X509Certificate>
</X509Data>
</KeyInfo>
</Signature>
</Reinf>
</evento>
</loteEventos>
</Reinf>
And after an envelope, it’s like this:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:sped="http://sped.fazenda.gov.br/">
<soapenv:Header/>
<soapenv:Body>
<sped:ReceberLoteEventos>
<sped:loteEventos>
<Reinf xmlns="http://www.reinf.esocial.gov.br/schemas/envioLoteEventos/v1_03_00">
<loteEventos>
<evento id="ID1670710010000002018030117011200001">
<Reinf xmlns="http://www.reinf.esocial.gov.br/schemas/evtInfoContribuinte/v1_03_00">
<evtInfoContri id="ID1670710010000002018030117011200001">
<ideEvento>
<tpAmb>2</tpAmb>
<procEmi>1</procEmi>
<verProc>1</verProc>
</ideEvento>
<ideContri>
<tpInsc>1</tpInsc>
<nrInsc>67071001</nrInsc>
</ideContri>
<infoContri>
<inclusao>
<idePeriodo>
<iniValid>2018-03</iniValid>
<fimValid>2018-03</fimValid>
</idePeriodo>
<infoCadastro>
<classTrib>99</classTrib>
<indEscrituracao>1</indEscrituracao>
<indDesoneracao>0</indDesoneracao>
<indAcordoIsenMulta>0</indAcordoIsenMulta>
<indSitPJ>0</indSitPJ>
<contato>
<nmCtt>XXXXXXXXXX</nmCtt>
<cpfCtt>00000000000</cpfCtt>
<foneFixo>00000000000</foneFixo>
</contato>
<softHouse>
<cnpjSoftHouse>00000000000</cnpjSoftHouse>
<nmRazao>XXXXXXXXXX</nmRazao>
<nmCont>XXXXXXXXXX</nmCont>
<telefone>00000000000</telefone>
<email>XXXXXXXXXX</email>
</softHouse>
</infoCadastro>
</inclusao>
</infoContri>
</evtInfoContri>
<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/2001/04/xmldsig-more#rsa-sha256" />
<Reference URI="#ID1670710010000002018030117011200001">
<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/2001/04/xmlenc#sha256" />
<DigestValue>+Dm6c8v+ZhocqLQ5miRzTsuDnP5TnmwCAkhvWvxiFdI=</DigestValue>
</Reference>
</SignedInfo>
<SignatureValue>ncq4zPSN5EXVYh6YvrdfJn4+jMYhrHR1tM6NStnfmlDZjxCcLFCHrXLxuG6awsEtnJULWSGwbm49uEE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MDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwoB4GBWBMAQMCoBUTE01BUkNPUyBDRVNBUiBUSE9NQVqgGQYFYEwBAwOgEBMONjcwNzEwMDEwMDAxMDagFwYFYEwBAwegDhMMMDAwMDAwMDAwMDAwMA0GCSqGSIb3DQEBCwUAA4ICAQATHgfi7caoxqobwfXRcBhZ7LkVO3GaOBYE92L/KAoWoZR7m2vREbo7mfhXIx2VZXR509Nr6FIPT28EeKAaOR6ZwonykVpicGklkZjUmDgXTb4jtaCNAQZl347Qf+81LEHHwtrL2alhr+hvxXL2Q+UzKTrqtxua4Ta96lF2s7ubcrTnsiHNPSu8cZSzirtsYIm0ExIkNVQpH3xiCIcQIkuWPAjBAuuQtAUK1klmEcNQYz01l5krDIbLiYzwUJXG7CP9wDZvn8xPFzTr9XFgGglb3fy2OKFiSoaB80z90w3Sd1opiuojANEJrQV64A47fSa6BnidA97e5Dtk+GWtbJ0vPoT9/+3HAahJFq5Uq3btghQ3IXxvRSxnsWbqXAR/RPhyQ4Sxe0f1aqtz7cPjf5Ec4m3PHtWhmU5VOPNYv6k3U3+lSXTTNZFP2aydybRatxYVg78Dws3HMhIouS8N9W/6v0eomtGRoX+S/cjN5JwflQ5KvldSt9qhBVGHwZ+W7HrlrfLGKphcFaxFWUpfNO5SBMLypPw2IMu2ZfDBh+WwGnOduRJqAASsJe+XzB8cOONKqsLEtfxLzfVRY71kXwqt3l9X2Ninu3qVr6ubyyuAgK5buKNzzZvfLBVGGziH4nQdeMxypi5hjSFci8RPp4jcCDJ/DANVFlRFG7rNr044rQ==</X509Certificate>
</X509Data>
</KeyInfo>
</Signature>
</Reinf>
</evento>
</loteEventos>
</Reinf>
</sped:loteEventos>
</sped:ReceberLoteEventos>
</soapenv:Body>
</soapenv:Envelope>
And then, the return I get from the webservice is this:
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
<s:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<ReceberLoteEventosResponse xmlns="http://sped.fazenda.gov.br/">
<ReceberLoteEventosResult>
<Reinf xmlns="http://www.reinf.esocial.gov.br/schemas/retornoLoteEventos/v1_03_00">
<retornoLoteEventos id="IDDD96452B198A6A0CC74D2068CBA00E26">
<ideTransmissor>
<IdTransmissor>88305859000150</IdTransmissor>
</ideTransmissor>
<status>
<cdStatus>0</cdStatus>
<descRetorno>SUCESSO</descRetorno>
</status>
<retornoEventos>
<evento id="ID1670710010000002018030117011200001">
<Reinf xmlns="http://www.reinf.esocial.gov.br/schemas/evtTotal/v1_03_00">
<evtTotal id="ID713166721">
<ideEvento>
<perApur/>
</ideEvento>
<ideContri>
<tpInsc>1</tpInsc>
<nrInsc>67071001</nrInsc>
</ideContri>
<ideRecRetorno>
<ideStatus>
<cdRetorno>1</cdRetorno>
<descRetorno>ERRO</descRetorno>
<regOcorrs>
<tpOcorr>1</tpOcorr>
<localErroAviso/>
<codResp>MS0017</codResp>
<dscResp>Assinatura do evento inválida. Assinatura Digital do documento XML é inválida</dscResp>
</regOcorrs>
</ideStatus>
</ideRecRetorno>
<infoRecEv>
<dhProcess>2018-03-15</dhProcess>
<tpEv>1000</tpEv>
<idEv>ID1670710010000002018030117011200001</idEv>
<hash>+Dm6c8v+ZhocqLQ5miRzTsuDnP5TnmwCAkhvWvxiFdI=</hash>
</infoRecEv>
</evtTotal>
<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/2001/04/xmldsig-more#rsa-sha256"/>
<Reference URI="#ID713166721">
<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/2001/04/xmlenc#sha256"/>
<DigestVal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+gGQYFYEwBAwOgEAQOMzM2ODMxMTEwMDAxMDeBHWVkdWFyZG8ueW9zaGlkYUBzZXJwcm8uZ292LmJyMA4GA1UdDwEB/wQEAwIF4DAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggIBAEA7eq1vHVjPuVdP5K/zlUlJCW7hwhn0kJDCU5ybiPQE9xW48Wx8ypz6sM9axbp9PfNMV1JkBqiDK30nNYF+xOgS+OJsNFZfdAwMgOQeZYemuTZgc6V3/QZbrhehZ447qAlZxvYaHD0fZhJuP8pMOu5gS1JOxQHHbAke/qJEVo1SQhUFttFs9daCeTlEF0xtj8wUvnKF0BF86Cc6+LI+ab0F8CVmph64uWaxLDvJ/h6LftxOcnz59z5+uIOdEQLMQWl0Qgxk+PUvhU/CacwP2B94ouQdfyaCLbSgAFck7nhgwowxX7JA3V4OlQRw7aAjt8Kikh/NjWYTfF/GZeEy90XCW8DbBmg4bSIdnaAds9Y6ne4CjO1fPILoDZRXBAzKrvBYyN6/GOd/u1nlMe3OvEPa8zpc565kxbUZZGFqPk5Tv4+11od7rJ+l/4KTj0ok0hRXnpEWQBsbSQ/YsFSOIOaID2uvyl/Q2C0YRbea+OrtmRgMqMAXWUn9TxMbAw2KgoV/V4/3Gv4QVZ/HRGPLidv9UVxf10n8imNwYrjo1focwIym254uUmyeRYcrCWh+UR0x3dwU5agb2uRNkoJ8aTGwpNNhlFdUDCwIulzi8EQRBIp1nuqEW7mQPOnH+PdKwAxd7ESfehnESjmrw0i55AZJF0rhn7CW8lxi2RXmjj9S</X509Certificate>
</X509Data>
</KeyInfo>
</Signature>
</Reinf>
</evento>
</retornoEventos>
</retornoLoteEventos>
</Reinf>
</ReceberLoteEventosResult>
</ReceberLoteEventosResponse>
</s:Body>
</s:Envelope>
I don’t know what else I can do to adjust it, I really appreciate the suggestions!
Thank you.
Sergio.
Sorry for the formatting of the text, this is the first time I put in Stackoverflow.
– Willian Ramos