Login Registre-se
ERRO AO ENVIAR R2099  XML
Índice dos Fóruns » SPED / PAF-ECF / ESOCIAL / EFD_REINF
Autor Mensagem
VINICIUS GALHIARDI

JavaC Membro

Membro desde: 28/06/2018 11:41:21
Mensagens: 8
Offline

Pessoal, tudo bem?

Estou tentando enviar um 2099 no ambiente de pré prod e está me retornando o seguinte erro:


<?xml version="1.0"?>
-<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
-<s:Body xmlnssd="http://www.w3.org/2001/XMLSchema" xmlnssi="http://www.w3.org/2001/XMLSchema-instance">
-<ReceberLoteEventosResponse xmlns="http://sped.fazenda.gov.br/">
-<ReceberLoteEventosResult>
-<Reinf xmlns="http://www.reinf.esocial.gov.br/schemas/retornoLoteEventos/v1_03_02">
-<retornoLoteEventos id="ID7C49F295C9F8EEDFDD897744E1F93E80">
-<ideTransmissor>
<IdTransmissor>01940175000141</IdTransmissor>
</ideTransmissor>
-<status>
<cdStatus>0</cdStatus>
<descRetorno>SUCESSO</descRetorno>
</status>

-<retornoEventos>
-<evento id="ID1019401750000000001010100000000000">
-<Reinf xmlns="http://www.reinf.esocial.gov.br/schemas/evtTotal/v1_03_02">
-<evtTotal id="ID-1260012282">
-<ideEvento>
<perApur>2018-08</perApur>
</ideEvento>
-<ideContri>
<tpInsc>1</tpInsc>
<nrInsc>01940175</nrInsc>
</ideContri>
-<ideRecRetorno>
-<ideStatus>
<cdRetorno>1</cdRetorno>
<descRetorno>ERRO</descRetorno>
-<regOcorrs>
<tpOcorr>1</tpOcorr>
<localErroAviso/>
<codResp>MS0025</codResp>
<dscResp>Ocorreu um erro no processamento. Por favor tente novamente. Caso o problema persista, favor entrar em contato através do 'Fale Conosco' da EFD - REINF - https://idg.receita.fazenda.gov.br/contato/fale-conosco/empresa/sped/efd-reinf-1 Ao entrar nessa página, clique em 'Indisponibilidade do Sistema', informe o problema e o número [3012789417] e anexe o XML do evento que foi objeto deste erro.</dscResp>
</regOcorrs>
</ideStatus>
</ideRecRetorno>
-<infoRecEv>
<dhProcess>2018-09-19T14:32:32.3875642-03:00</dhProcess>
<tpEv>2099</tpEv>
<idEv>ID1019401750000000001010100000000000</idEv>
<hash>qE0aNld2UdPkCKlm3AuDVohjKa2J6m4ysIW9gtgldS0=</hash>
</infoRecEv>
<infoTotal/>
</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="#ID-1260012282">
-<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>rTmfKUHj5QE1IMFUaBks8A02g74lnsx7+JDdEYIh/SM=</DigestValue>
</Reference>
</SignedInfo>
<SignatureValue>Nn/9+l0vYSvye/615S6xoaUrlXmIjfDXX0ZCeg8QNsevXhzPEjxXuXCWa4YdRg6henLuPaafqOzWHJ8UaPFnXk1bzQlGnZeaphx/y47hIexwaJmcD6DQ8o06BRAnOKdY4CCOpDgimQvub0Mcc7gFvtSMS99+1VXxAClftVNii5sAtGPhDvIUsj750aWZrXDK1+Buoob/CssJm0Pjalu8dbv71cjwovRt7j9wYm3FW+09P+TWJwGshy8Tek04rJHA/Jrv4cgWrJzH2jN5UAvkBIpIJRgfJ+1FzWjJ8T8uebZZEcBsMBeh8zrO6UMDqmpeLa9AKI9UGz7IWBxW26DzLA==</SignatureValue>

<KeyInfo>

<X509Data>
<X509Certificate>MIIHcDCCBVigAwIBAgICTGkwDQYJKoZIhvcNAQELBQAwgY4xCzAJBgNVBAYTAkJSMRMwEQYDVQQKDApJQ1AtQnJhc2lsMTYwNAYDVQQLDC1TZWNyZXRhcmlhIGRhIFJlY2V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8zpc565kxbUZZGFqPk5Tv4+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>


Segue xml que estou enviando:


<?xml version="1.0" encoding="UTF-8"?>

-<soap:Envelope xmlns:sped="http://sped.fazenda.gov.br/" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlnssd="http://www.w3.org/2001/XMLSchema" xmlnssi="http://www.w3.org/2001/XMLSchema-instance">

<soap:Header/>


-<soap:Body>


-<sped:ReceberLoteEventos>


-<sped:loteEventos>


-<Reinf xmlns="http://www.reinf.esocial.gov.br/schemas/envioLoteEventos/v1_03_02">


-<loteEventos>


-<evento id="ID1019401750000000001010100000000000">


-<Reinf xmlns="http://www.reinf.esocial.gov.br/schemas/evtFechamento/v1_03_02">


-<evtFechaEvPer id="ID1019401750000000001010100000000000">


-<ideEvento>

<perApur>2018-08</perApur>

<tpAmb>2</tpAmb>

<procEmi>1</procEmi>

<verProc>4.4.0</verProc>

</ideEvento>


-<ideContri>

<tpInsc>1</tpInsc>

<nrInsc>01940175</nrInsc>

</ideContri>


-<ideRespInf>

<nmResp>ANDRE ARONCHI</nmResp>

<cpfResp>26705075813</cpfResp>

<telefone>1121590500</telefone>

<email>compliance.brasil@thomsonreuters.com</email>

</ideRespInf>


-<infoFech>

<evtServTm>S</evtServTm>

<evtServPr>N</evtServPr>

<evtAssDespRec>N</evtAssDespRec>

<evtAssDespRep>N</evtAssDespRep>

<evtComProd>N</evtComProd>

<evtCPRB>N</evtCPRB>

<evtPgtos>N</evtPgtos>

</infoFech>

</evtFechaEvPer>


-<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="#ID1019401750000000001010100000000000">


-<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>qE0aNld2UdPkCKlm3AuDVohjKa2J6m4ysIW9gtgldS0=</DigestValue>

</Reference>

</SignedInfo>

<SignatureValue>g1QIF02lG65mWRO4r5Dd9xAIfWutGQZ7NEh8IDsSNVDJZIuUDyj2+pX0gUhMYGenEhW4RLvOrGRm51Bjjuy/k6PUAyz8bwo9Wnk6nQ8Ffb9n0aJrih0R7Hsu9nmOEOfnUHqI1p6ZSdCmPF7Jrxc6V5hQQjlsPfkgkLBbnHNb6cFe9+qANQ/ZBp9LTsqvEaeMWXDJjscsiqIJkoPavWu1KFJP1pZ0+PSp+3kNcz25opNfsx1DKTZry+Int3WMJ1yUmkX9xry+Z4Qt1uQB4VP2OzBlnHiiD7tqZZ/RIYvc/9YgmpSdtBKKyC8+KHSAfCA5qi/oz5f8stgjRv6KyYX16Q==</SignatureValue>


-<KeyInfo>


-<X509Data>

<X509Certificate>MIIH1TCCBb2gAwIBAgIIVw8YAghwu6IwDQYJKoZIhvcNAQELBQAwgYkxCzAJBgNVBAYTAkJSMRMwEQYDVQQKEwpJQ1AtQnJhc2lsMTQwMgYDVQQLEytBdXRvcmlkYWRlIENlcnRpZmljYWRvcmEgUmFpeiBCcmFzaWxlaXJhI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vrakrvpeMhEJIkKyD0pc1t8wNzu1NekkzZVAgLwyfbhm46VYxr0o45lZCrCYE30BKwRJaft55sClDujauMg9jaMvSh6XOtNoY5d5CEYm5aCSZDQZkZ9uO4c1+IKIN9bWY1nU9tHSZzxdjUuTquBz6xPd7V8Xucuvvzx3XFN2wvlmg2nKhuLNqF09Yia33svyr5M3KUkOtcdHLVvSA3S0Xd2/dxuxZixMxczeJgwDD08hs2VlTH7thF+iHymPWd7uthRLrFRe6xdeVs9DJnjFDc9uf6s+k9odeza/vCS758yxGmML0Ilj0CptIQlNeNrH6/Cuu5LaBNT7Du3YsOoH6wIt3tY7+dNiMOZO1L6vCbwJlPc+2ffr0+Z6ahY=</X509Certificate>

</X509Data>

</KeyInfo>

</Signature>

</Reinf>

</evento>

</loteEventos>

</Reinf>

</sped:loteEventos>

</sped:ReceberLoteEventos>

</soap:Body>

</soap:Envelope>


Podem me ajudar por favor? Não sei se o problema é meu xml!!!

Obrigado,



Esta mensagem foi editada 1 vez. Última atualização foi em 19/09/2018 14:37:42

Marcello Alves

JavaC Membro

Membro desde: 28/05/2018 09:41:58
Mensagens: 4
Offline

Olá Vinicius, boa tarde.

Não sei se é este o seu problema mas o ID que você gerou não está no padrão.
VINICIUS GALHIARDI

JavaC Membro

Membro desde: 28/06/2018 11:41:21
Mensagens: 8
Offline

Era isso mesmo!!

Segui exatamente essas informações:

A identificação única do evento (Id) é composta por 36 caracteres, conforme o que
segue:
IDTNNNNNNNNNNNNNNAAAAMMDDHHMMSSQQQQQ
ID - Texto Fixo "ID";
T - Tipo de Inscrição do Empregador (1 - CNPJ; 2 - CPF);
NNNNNNNNNNNNNN - Número do CNPJ ou CPF do empregador - Completar com
zeros à direita. No caso de pessoas jurídicas, o CNPJ informado deve conter 8 ou 14
posições de acordo com o enquadramento do contribuinte para preenchimento do
campo {ideEmpregador/nrInsc} do evento R-1000, completando-se com zeros à direita,
se necessário.
AAAAMMDD - Ano, mês e dia da geração do evento;
HHMMSS - Hora, minuto e segundo da geração do evento;
QQQQQ - Número sequencial da chave. Incrementar somente quando ocorrer geração
de eventos na mesma data/hora, completando com zeros à esquerda.
OBS.: No caso de pessoas jurídicas, o CNPJ informado deverá conter 8 ou 14 posições
de acordo com o enquadramento do contribuinte para preenchimento do campo
{ideEmpregador/nrInsc} do evento S-1000, completando-se com zeros à direita, se
necessário.


E foi que foi!!!

Valeu!
 
Índice dos Fóruns » SPED / PAF-ECF / ESOCIAL / EFD_REINF
Ir para:   
Powered by JForum 2.1.9 © JForum Team