none
cancelamento de nota fiscal RRS feed

  • Pergunta

  • eu consigo esportar nota fiscal normal mais na hora de cancelar ele meda um erroassim o que devo fazer

    Serviço:
    Recepção de Evento

    URL:
    https://nfe2.fazenda.pr.gov.br/nfe-evento/NFeRecepcaoEvento

    XML de Envio:
    <?xml version="1.0" encoding="UTF-8" standalone="no"?>
    <envEvento xmlns="http://www.portalfiscal.inf.br/nfe" versao="1.00">
    <idLote>1359960148921</idLote>
    <evento versao="1.00">
    <infEvento Id="ID1101114113010516012100011455001000002895114083716001">
    <cOrgao>41</cOrgao>
    <tpAmb>1</tpAmb>
    <CNPJ>05160121000114</CNPJ>
    <chNFe>41130105160121000114550010000028951140837160</chNFe>
    <dhEvento>2013-02-04T11:11:57+04:30</dhEvento>
    <tpEvento>110111</tpEvento>
    <nSeqEvento>1</nSeqEvento>
    <verEvento>1.00</verEvento>
    <detEvento versao="1.00">
    <descEvento>Cancelamento</descEvento>
    <nProt>141130014534409</nProt>
    <xJust>erro na natereza de operaçao</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="#ID1101114113010516012100011455001000002895114083716001">
    <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>DmV1tgmbIXTbd3Rbqa4Z8k2bXfE=</DigestValue>
    </Reference>
    </SignedInfo>
    <SignatureValue>r/owXz85GOXCn00e3aXaLRz0YbBXuIthGOT9P0p6nDeaHER/LVEqwAwJqC0i8Qh5D7PGlmJ8cZzl GUpEVjUwOTHKgThCYZ/N1HcwZuvMHuB9C5uE4Da8s59YLErKyt1/QqMNV9mUGq514XBJntfLK30I IB5RkY8aMWRc3tyu5ir8DbE9QdKr39k/mgWFTky8VRvLNEltM5JS9rVUV7n+I2FYEowi76YVfi29 firqKklHMs9Caodjw9yTiwU3Gu/E85H+udGjXtsfK3UOjnxsfmGzT6bo8Nhrth+dSQORruL8wKzK FgSP3eWdH1djLAOIyQQ86IokzTnKjAkVoDIGLg==</SignatureValue>
    <KeyInfo>
    <X509Data>
    <X509Certificate>MIIIlDCCBnygAwIBAgIQFnIcT0+rWJBho9QAXhfS4DANBgkqhkiG9w0BAQsFADCBgDELMAkGA1UE BhMCQlIxEzARBgNVBAoTCklDUC1CcmFzaWwxNjA0BgNVBAsTLVNlY3JldGFyaWEgZGEgUmVjZWl0 YSBGZWRlcmFsIGRvIEJyYXNpbCAtIFJGQjEkMCIGA1UEAxMbQUMgSW5zdGl0dXRvIEZlbmFjb24g UkZCIEcyMB4XDTEyMDcyNDAwMDAwMFoXDTEzMDcyMzIzNTk1OVowggEHMQswCQYDVQQGEwJCUjET MBEGA1UEChQKSUNQLUJyYXNpbDELMAkGA1UECBMCUFIxFDASBgNVBAcUC0NIT1BJTlpJTkhPMTYw NAYDVQQLFC1TZWNyZXRhcmlhIGRhIFJlY2VpdGEgRmVkZXJhbCBkbyBCcmFzaWwgLSBSRkIxFjAU BgNVBAsUDVJGQiBlLUNOUEogQTExJTAjBgNVBAsUHEF1dGVudGljYWRvIHBvciBBUiBTZXNjYXAg UFIxSTBHBgNVBAMTQEcgRSBQT0xMVVggSU5EVVNUUklBIEUgQ09NRVJDSU8gREUgQ09ORkVDQ09F UyBMVEQ6MDUxNjAxMjEwMDAxMTQwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDO6HfN CBDawOCo1T7+5gdkeXNsl47yXt1X0muh5XWry3c+Dcc0CUdafLdcFyL1eFwptSwIBHL1pB2upYzq ti1mfUf09sRgauRAdGrD5TohCtDnqIG2L5paCQRBl4t669orsCBy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X509Certificate>
    </X509Data>
    </KeyInfo>
    </Signature>
    </evento>
    </envEvento>

    XML de Retorno:
    <retEnvEvento versao="1.00" xmlns="http://www.portalfiscal.inf.br/nfe">
    <tpAmb>1</tpAmb>
    <verAplic>PR-Evt-1_2_3</verAplic>
    <cOrgao>41</cOrgao>
    <cStat>215</cStat>
    <xMotivo>Falha no schema XML. org.xml.sax.SAXParseException: cvc-pattern-valid: Value '2013-02-04T11:11:57+04:30' is not facet-valid with respect to pattern '(((20(([02468][048])|([13579][26]))-02-29))|(20[0-9][0-9])-((((0[1-9])|(1[0-2]))-((0[1-9])|(1\d)|(2[0-8]))</xMotivo>
    </retEnvEvento>

    segunda-feira, 4 de fevereiro de 2013 15:04

Respostas

Todas as Respostas

  • Entrar em contato com o pessoal do suporte de NFE e passar o XML que você está enviando....

    Leonardo Lourenço Silva

    sexta-feira, 15 de fevereiro de 2013 04:24
  • Olá!

    O erro acontece porque o valor esperado para o campo deve ser uma string.

    (conforme aponta o validador)

    --> dhEvento' element is invalid - The value '2013-02-04T11:11:57+04:30' is invalid according to its datatype 'String' - The Pattern constraint failed.
    Caminho: envEvento/evento/infEvento/dhEvento


    Renata Paulino Consultoria AX FI (se for útil, por favor, vote!)

    quarta-feira, 30 de julho de 2014 12:39