FórumCategoria: Fórum - Perguntas e RespostasReinf Erro Assinatura MS0017 – Assinatura do evento inválida. Verifique se houve alteracao no arquivo apos o mesmo ter sido assinado.
Antony F Pessoa perguntou há 2 anos

O prazo está finalizando, e não consigo enviar. Valores e informações batidos, mas ocorre  erro. 
Estou usando o arquivo Xml sem formatação, UTF-8.
Segue meu arquivo, caso alguém consiga ajudar:
 
<?xml version=”1.0″ encoding=”utf-8″?>
<Reinf xmlns=”http://www.reinf.esocial.gov.br/schemas/envioLoteEventosAssincrono/v1_00_00″&gt;
<envioLoteEventos>
<ideContribuinte><tpInsc>1</tpInsc><nrInsc>99999999</nrInsc></ideContribuinte>
<eventos><evento Id=”ID1999999990000002023101118513200001″>
<Reinf xmlns=”http://www.reinf.esocial.gov.br/schemas/evtTomadorServicos/v2_01_02″&gt;
<evtServTom id=”ID1999999990000002023101118513200001″>
<ideEvento>
<indRetif>1</indRetif>
<perApur>2023-09</perApur>
<tpAmb>1</tpAmb>
<procEmi>1</procEmi>
<verProc>1.0</verProc>
</ideEvento>

</evtServTom>
<Signature xmlns=”http://www.w3.org/2000/09/xmldsig#”&gt;
<SignedInfo><CanonicalizationMethod Algorithm=”http://www.w3.org/TR/2001/REC-xml-c14n-20010315&#8243; />
<SignatureMethod Algorithm=”http://www.w3.org/2001/04/xmldsig-more#rsa-sha256&#8243; />
<Reference URI=”#ID1999999990000002023101118513200001″>
<Transforms><Transform Algorithm=”http://www.w3.org/2000/09/xmldsig#enveloped-signature&#8221; />
<Transform Algorithm=”http://www.w3.org/TR/2001/REC-xml-c14n-20010315&#8243; />
</Transforms>
<DigestMethod Algorithm=”http://www.w3.org/2001/04/xmlenc#sha256&#8243; />
<DigestValue>1s8iQiZiflAqlWaASBlwmwiW+wEfwsGuykQiwmLmHDk=
</DigestValue></Reference>
</SignedInfo>
<SignatureValue>x</SignatureValue>
<KeyInfo><X509Data><X509Certificate>x</X509Certificate>
</X509Data>
</KeyInfo>
</Signature>
</Reinf>
</evento>
</eventos>
</envioLoteEventos>
</Reinf>

1 Respostas
Renata Rovina respondeu há 1 ano

Remova qualquer caractere especial, como: çàáé:; etc dos campos string.