Jump to content

Delphi chamada_delphi.png acbr.png

C6 chamada_c6.png botao.png

XMLEnviarEvento falha no schema


  • Este tópico foi criado há 1744 dias atrás.
  • Talvez seja melhor você criar um NOVO TÓPICO do que postar uma resposta aqui.

Recommended Posts

Ola,

Ao executar o comando abaixo, aparece o seguinte erro:

ERRO: Rejeicao: Falha no Schema XML

Enviei por outro programa para testar o XML e deu certo. O que poderia ser?

Utilizando versão 1.1.0.28 do Acbr Monitor.

Obrigado.

NFe.XMLEnviarEvento("<envEvento versao="1.00" xmlns="http://www.portalfiscal.inf.br/nfe"><idLote>3987</idLote><evento versao="1.00" xmlns="http://www.portalfiscal.inf.br/nfe"><infEvento Id="ID1101113517061402160800010755001000002524100002524201"><cOrgao>35</cOrgao><tpAmb>1</tpAmb><CNPJ>14021608000107</CNPJ><chNFe>35170614021608000107550010000025241000025242</chNFe><dhEvento>2017-06-05T13:46:38-03:00</dhEvento><tpEvento>110111</tpEvento><nSeqEvento>1</nSeqEvento><verEvento>1.00</verEvento><detEvento versao="1.00"><descEvento>Cancelamento</descEvento><nProt>135170351141370</nProt><xJust>NF EMITIDA ERRADA SERA SUBSTITUIDA</xJust></detEvento></infEvento><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="#ID1101113517061402160800010755001000002524100002524201"><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>gJtm9geS4uBp8fcUkAx/STpNZJE=</DigestValue></Reference></SignedInfo><SignatureValue>adL/AC89JLJ407bQJc6SRlvpW6kKSyRVRgzRTq0xJ2v4Ng+sJhWPw34akqcYRwESQTIHKeODiRv7Inv3NQ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gzMTAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwoBcGBWBMAQMHoA4TDDAwMDAwMDAwMDAwMDANBgkqhkiG9w0BAQsFAAOCAgEAnVBay2Q31uDE1bfgHzEBP/rXgbyV2ccXGVtRaFFgyhiHAO4UtESuqCLozKuVy7kGoYvTo6Yh1VTDTR/CW94fc1/+4nit2hhvIw9Ogg7CBknqlFZ4GrUzC/EEOTuve2DV0ut91dhpufwoC14HXo7xfNIrzA0UEtLTDLOWBJuKxrrYonyKpiuvoocXm1/fbkBh+toePyqajyWG7ToZFnfuuhuK+1g5pUoEUnPzaN8OtKMcajnpzFCJUnajWj+cMEpPgueOeOJY+idMToAhmGstm5MkaumDW9jfiB0cH2K8DfJAagy03mmbcJLxIElKlXMSUZ2uMRayENmQJwQ6SBE7/vP/QWykS7s2q/gW0aeh6jqWS7AcT1UbBsNnCjB58KxutJi8MGUXVVd495/y5YAkLT1tkdpAxq2MJhUedl2p5ECHKFnpPu6EILMay/MS8OVkq/uaI3FFletVTFR5ZxodtyC63aMmMWQ1dw4lonu+Km5Dbv9tihrGjiiMOuK2kMGYDzc/RQ5PLKpg4XnS8IenL9IDj5VRkBBa+Qz4JxgfZawwHy0LSz1b2Gr+eIHjdJy4YGQRf/CJbIdoEcuDqUejCbxVUE6COvB7UZdix5yNvx9cM2K6GyHPt0QS8qnM43H1pK4K1DlKVioo+KgE4L6BB8Yno5zkAOGf6fYMhL/YGT4=</X509Certificate></X509Data></KeyInfo></Signature></evento></envEvento>")
ERRO: Rejeicao: Falha no Schema XML

Link to comment
Share on other sites

  • Consultores

Bom dia Bruno,

Evite de colocar no corpo da postagem conteúdo de arquivos e sim anexa para que seja possível uma melhor analise do problema.

Consultor SAC ACBr Italo Giurizzato Junior
Ajude o Projeto ACBr crescer - Assine o SAC

Projeto ACBr

Analista de Sistemas / e-mail: [email protected] / Fone: (16) 9-9701-5030 / Araraquara-SP

Link to comment
Share on other sites

  • Consultores

Bom dia Bruno,

Notei que no seu XML de evento de cancelamento consta a seguinte informação:

<dhEvento>2017-06-05T13:46:38-03:00</dhEvento>

Estamos em Agosto e você esta informando que a data do evento é 05/06/2017, esta certo isso?

Até onde sei a SEFAZ não aceita data retroativa. 

Consultor SAC ACBr Italo Giurizzato Junior
Ajude o Projeto ACBr crescer - Assine o SAC

Projeto ACBr

Analista de Sistemas / e-mail: [email protected] / Fone: (16) 9-9701-5030 / Araraquara-SP

Link to comment
Share on other sites

  • Consultores

Boa noite Bruno,

Através do validador da SEFAZ-RS (link: https://www.sefaz.rs.gov.br/NFE/NFE-VAL.aspx)

O XML de Lote de Evento foi validado com sucesso, não contem nada de errado.

Logo me leva a crer que o problema esta na SEFAZ-SP, favor entrar em contato com eles e expõe o problema.

Consultor SAC ACBr Italo Giurizzato Junior
Ajude o Projeto ACBr crescer - Assine o SAC

Projeto ACBr

Analista de Sistemas / e-mail: [email protected] / Fone: (16) 9-9701-5030 / Araraquara-SP

Link to comment
Share on other sites

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.