Olá pessoal,
Estou realizando as alterações referentes ao novo leiaute 2.1.2 do REINF (atualização 14/04/2023) e parece que não está totalmente liberada pelo REINF no modelo assíncrono.
Ao utilizar os novos XSD’s(2.01.02), base de produção restrita (homologação) o envio é feito normalmente, mas a resposta vem sempre com ERRO!!! Indicando que o Reinf ainda não está preparado para receber esses novos XSD’s.
Afinal, esses novos XSD’s foram liberados, mas não estão sendo aceitos ainda??? Alguém passando por esse problema?? Alguma resposta do pessoal referente a isso?? Tentei contato mas sem sucesso até agora.
Erro Retornado:
<codResp>MS0030</codResp>
<dscResp>A estrutura do arquivo XML está em desconformidade com o esquema XSD. O namespace http://www.reinf.esocial.gov.br/schemas/evtInfoContribuinte/v2_01_02 informado no documento XML não é um namespace reconhecido. </dscResp>
XML de Envio:
<Reinf xmlns=”http://www.reinf.esocial.gov.br/schemas/evtInfoContribuinte/v2_01_02″><evtInfoContri id=”ID1520083150000002023041814284300001″><ideEvento><tpAmb>2</tpAmb><procEmi>1</procEmi><verProc>RemoverContribuinte</verProc></ideEvento><ideContri><tpInsc>1</tpInsc><nrInsc>52008315</nrInsc></ideContri><infoContri><inclusao><idePeriodo><iniValid>2018-05</iniValid></idePeriodo><infoCadastro><classTrib>00</classTrib><indEscrituracao>1</indEscrituracao><indDesoneracao>0</indDesoneracao><indAcordoIsenMulta>0</indAcordoIsenMulta><indSitPJ>0</indSitPJ><contato><nmCtt>FRANCO DI NALLO</nmCtt><cpfCtt>25262386849</cpfCtt><foneFixo>1833751147</foneFixo><foneCel>18997735556</foneCel></contato></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=”#ID1520083150000002023041814284300001″><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>CKzodARq6kvq2yJZ5W5worIuV9R7DZvP87OxTpSBsyI=</DigestValue></Reference></SignedInfo><SignatureValue>dgt7qEbWBJ9Og6hzp/E4PQarawte/Vrn9z7O0ox25XGHMwasFNudiEF5zXKjktiNMyhW5v6fxhtg
K7QzuiRja4ZX6IbOTe9cFw+ec2mQlfSBOMqU4sktDAdYV2nEicYqhtMWWExDs9RSvuDzInw6X03O
eARPqmLS++Vn2bRXFk9CEdztlO64kD8vly4SYkXqXfI2MfO85kP7vs5HPFxuhsO0lKtGAi377FU1
tysIHk19q0M399hv12oOqSKOnD9ysR2UAT2/3rLzORGl6Ze02lrHZWaZ5PON9EhdUVisztkeCXrm
DoW9qQ9TZZhfXE+rs+t7dnzVU3C19JZ/jt1P8A==</SignatureValue><KeyInfo><X509Data><X509Certificate>MIIH7TCCBdWgAwIBAgIQadGud8EJOqbnMkinnJzlCDANBgkqhkiG9w0BAQsFADB0MQswCQYDVQQG
EwJCUjETMBEGA1UEChMKSUNQLUJyYXNpbDEtMCsGA1UECxMkQ2VydGlzaWduIENlcnRpZmljYWRv
cmEgRGlnaXRhbCBTLkEuMSEwHwYDVQQDExhBQyBDZXJ0aXNpZ24gTXVsdGlwbGEgRzcwHhcNMjIx
MjA3MTkwMTQ1WhcNMjMxMjA3MTkwMTQ1WjCBxjELMAkGA1UEBhMCQlIxEzARBgNVBAoMCklDUC1C
cmFzaWwxHjAcBgNVBAsMFUFDIENlcnRpc2lnbiBNdWx0aXBsYTEXMBUGA1UECwwONDQzNzM4ODQw
MDAxMDMxEzARBgNVBAsMClByZXNlbmNpYWwxGzAZBgNVBAsMEkFzc2luYXR1cmEgVGlwbyBBMTE3
MDUGA1UEAwwuQ09PUEVSQVRJVkEgQUdST1BFQ1VBUklBIERFIFBFRFJJTkhBUyBQQVVMSVNUQTCC
ASIwDQY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9Y6Yjb2mKh1bO
eyQs9RO3TEjC1IbBEauVqmtHpKrOsxBrDrf5SeSKmuEPHAtAwpM=</X509Certificate></X509Data></KeyInfo></Signature></Reinf>
Segue o XML de retorno o que ele me retorna (repare que ele ta voltando como 2.01.01 e o erro é por não estar preparado para o 2.01.02 ainda):
<Reinf xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance” xmlns:xsd=”http://www.w3.org/2001/XMLSchema” xmlns=”http://www.reinf.esocial.gov.br/schemas/retornoLoteEventosAssincrono/v1_00_00″>
<retornoLoteEventosAssincrono>
<ideContribuinte>
<tpInsc>1</tpInsc>
<nrInsc>52008315</nrInsc>
</ideContribuinte>
<status>
<cdResposta>3</cdResposta>
<descResposta>Lote processado com sucesso – Possui um ou mais eventos com ocorrências de erro.</descResposta>
</status>
<dadosRecepcaoLote>
<dhRecepcao>2023-04-18T14:29:00.047</dhRecepcao>
<versaoAplicativoRecepcao>2.0.0-1205877</versaoAplicativoRecepcao>
<protocoloEnvio>2.202304.190823</protocoloEnvio>
</dadosRecepcaoLote>
<dadosProcessamentoLote>
<versaoAplicativoProcessamentoLote>2.0.0-1238572</versaoAplicativoProcessamentoLote>
</dadosProcessamentoLote>
<retornoEventos>
<eventoId=”ID1520083150000002023041814284300001″>
<retornoEvento>
<Reinfxmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance”xmlns:xsd=”http://www.w3.org/2001/XMLSchema”xmlns=”http://www.reinf.esocial.gov.br/schemas/evtTotal/v2_01_01″>
<evtTotalid=”ID900100000000001210013604″>
<ideEvento>
<perApur/>
</ideEvento>
<ideContri>
<tpInsc>1</tpInsc>
<nrInsc>52008315</nrInsc>
</ideContri>
<ideRecRetorno>
<ideStatus>
<cdRetorno>1</cdRetorno>
<descRetorno>ERRO</descRetorno>
<regOcorrs>
<tpOcorr>1</tpOcorr>
<localErroAviso/>
<codResp>MS0030</codResp>
<dscResp>A estrutura do arquivo XML está em desconformidade com o esquema XSD. O namespace http://www.reinf.esocial.gov.br/schemas/evtInfoContribuinte/v2_01_02 informado no documento XML não é um namespace reconhecido. </dscResp>
</regOcorrs>
</ideStatus>
</ideRecRetorno>
<infoRecEv>
<dhProcess>2023-04-18T14:29:00.8010173-03:00</dhProcess>
<tpEv>1000</tpEv>
<idEv>ID1520083150000002023041814284300001</idEv>
<hash>CKzodARq6kvq2yJZ5W5worIuV9R7DZvP87OxTpSBsyI=</hash>
</infoRecEv>
</evtTotal>
<Signaturexmlns=”http://www.w3.org/2000/09/xmldsig#”>
<SignedInfo>
<CanonicalizationMethodAlgorithm=”http://www.w3.org/TR/2001/REC-xml-c14n-20010315″/>
<SignatureMethodAlgorithm=”http://www.w3.org/2001/04/xmldsig-more#rsa-sha256″/>
<ReferenceURI=”#ID900100000000001210013604″>
<Transforms>
<TransformAlgorithm=”http://www.w3.org/2000/09/xmldsig#enveloped-signature”/>
<TransformAlgorithm=”http://www.w3.org/TR/2001/REC-xml-c14n-20010315″/>
</Transforms>
<DigestMethodAlgorithm=”http://www.w3.org/2001/04/xmlenc#sha256″/>
<DigestValue>WamvkOEjmaolg8o1znQd8fXIbgaP+9/atqXF+hIPEew=</DigestValue>
</Reference>
</SignedInfo>
<SignatureValue>bhuNDjqx3C0kuO0iB9fL5TZ/zMvursFPCWgobusLm1TKH/NmwiQTd+rzqVGtdaFDYAt7JsD1yPhTGk2XXt0F3gvCfRex6aIq9M/iOumgbHBxOe692C/1xC3ZVxFkpqy8JfQTPnz7vZyRbQFQb1EDk6Gg9d7XwQkFyUlrxz27aar77luyzQP11v9EUucF3IgZSEGMr+2ZN8DvR8pT+EunqWSJvkS8Vj63abFN3S2rzt3THLqNjmRx8xXFr9oIOnjBifXUMQ4B8kU3j7WWNJGw6LUDGh+/DeC4FIn0tEhsG6kHsVTu6S/IVrw1YYSlaQl2r1iK4kzac0YfRQlr0ai08w==</SignatureValue>
<KeyInfo>
<X509Data>
<X509Certificate>MIIIeTCCBmGgAwIBAgIMQIp3Ti/EvLxOVjuCMA0GCSqGSIb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GCSqGSIb3DQEBCwUAA4ICAQCwdoS/2WQfCXsNX3grbxGN+ZacurDX/lTeThoVpn485YsRAEpngmn0lRR7xsU8tO4x5RzzwIexKXoS7mib2iuGsk/KqBGP8r5SCPEdv5wyo3v+Zs1ND4j3bQtlWR4LpSUfo4mabiTUrrkV+TmQW839Xd9izC6bLMEbmw+SHdyADk/Z5MyLEBSK9vlz/5mX8SfQgFb+kk10uFmY0Z9wA9L4exp596d12D1YARncLzmA8RSOY/wGplIYW55V228vHoS1Wmxo6Ox4YALOipxuFHiwNi0xUW8Si9+/rPudnGJrP04LUyFUUi8FjuFiF7EK9UwAgXEAb0IBQoTrwOtOpacbKYJ0U7zdD/ANXrMbo0q7cnOBLMnCo2fAyzos7YO1pWO9vtcKZmUyGJH+wcfpvQH5U8cySQM8HY1jrymh3mDmZy+CULgHgLOpEIsQEirw1PyKhI38dVE+pFPY3jIJTTWzIga3USvUwtt1tq+9NW1cneIeIrFRIcAMWf3h8f5kk58v0S/fvo+e/6esCX6ljEkNW988hZMlI/prNKFA0DhfOFWimETCpwDVkvQcnE6Dg374MvYsQB3JPPBPybRDKO36m4MRvbvpPPmX90u9GrgM44CYYMlZpBZZ6VFTOeuvCyLSjHLgPDQdQA3f/AUEcQKq/JF+t5x1+LViAPsEJFdrCw==</X509Certificate>
</X509Data>
</KeyInfo>
</Signature>
</Reinf>
</retornoEvento>
</evento>
</retornoEventos>
</retornoLoteEventosAssincrono>
</Reinf>