Ir para conteúdo
  • Cadastre-se

Liandrocs

Membros
  • Total de ítens

    87
  • Registro em

  • Última visita

  • Days Won

    1

Tudo que Liandrocs postou

  1. O acbr tem esta function RetornaCodigoUF(UF) ?
  2. No https://www.sefaz.rs.gov.br/nfe/NFE-VAL.aspx Não passa com cOrgão 91 se eu mudar para 32 Espirito Santo Valida Linha 167 pcnEventoNFe function TInfEvento.getcOrgao: integer; // (AC,AL,AP,AM,BA,CE,DF,ES,GO,MA,MT,MS,MG,PA,PB,PR,PE,PI,RJ,RN,RS,RO,RR,SC,SP,SE,TO); // (12,27,16,13,29,23,53,32,52,21,51,50,31,15,25,41,26,22,33,24,43,11,14,42,35,28,17); begin if FcOrgao <> 0 then Result := FcOrgao else begin Result := StrToInt(copy(FChave,1,2)); {Estados que utilizam a SVAN: ES, MA, PA, PI, RN => Devem utilizar 91} if Result in [32,21,15,22,24] then Result := 91; end; end;
  3. Este XML é gerado pelo ACBR atualizado.
  4. Desculpa acho que o Ctrl-C Ctrl-V Falhou em minha maquina, pois fui conferir o XML que peguei na maquina de meu cliente e não continha estes erros... Só não valida pelo cOrgão = 91 <envEvento xmlns="http://www.portalfiscal.inf.br/nfe" versao="1.00"> <idLote>1304031634</idLote> <evento xmlns="http://www.portalfiscal.inf.br/nfe" versao="1.00"> <infEvento Id="ID1101112113040908815300010755001000001473100033677301"> <cOrgao>91</cOrgao> <tpAmb>1</tpAmb> <CNPJ>09088153000107</CNPJ> <chNFe>21130409088153000107550010000014731000336773</chNFe> <dhEvento>2013-04-03T16:34:51-03:00</dhEvento> <tpEvento>110111</tpEvento> <nSeqEvento>1</nSeqEvento> <verEvento>1.00</verEvento> <detEvento versao="1.00"> <descEvento>Cancelamento</descEvento> <nProt>421130005604426</nProt> <xJust>erro de digitacao</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="#ID1101112113040908815300010755001000001473100033677301"> <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>b4c/Vg/gOKsoIp9RrNpO932qPV4=</DigestValue> </Reference> </SignedInfo> <SignatureValue>1Rri5nFE75grt264OXAbbQD+258lRoqEMwE3uE4zZFUzvOcoYUWed2JN23NT3IL95uWCiBFDAtGzt2JYt1MV8Fqk7xJ9IacOP4Ti/Bij5Li8Ss7wRBPhSQ6yCdLC4RzAqTwYZ7NqSaJYEBTWyzOD+VCblXrRIOozDR7jZeTB34c=</SignatureValue> <KeyInfo><X509Data><X509Certificate>MIIGujCCBaKgAwIBAgIQEHhKlwDr3xF/dmx/KUNUADANBgkqhkiG9w0BAQUFADB4MQswCQYDVQQGEwJCUjETMBEGA1UEChMKSUNQLUJyYXNpbDE2MDQGA1UECxMtU2VjcmV0YXJpYSBkYSBSZWNlaXRhIEZlZGVyYWwgZG8gQnJhc2lsIC0gUkZCMRwwGgYDVQQDExNBQyBDZXJ0aXNpZ24gUkZCIEczMB4XDTExMDYxNzAwMDAwMFoXDTE0MDYxNTIzNTk1OVowggEWMQswCQYDVQQGEwJCUjELMAkGA1UECBMCTUExEzARBgNVBAcUCkFDQUlMQU5ESUExEzARBgNVBAoUCklDUC1CcmFzaWwxNjA0BgNVBAsULVNlY3JldGFyaWEgZGEgUmVjZWl0YSBGZWRlcmFsIGRvIEJyYXNpbCAtIFJGQjEWMBQGA1UECxQNUkZCIGUtQ05QSiBBMzE4MDYGA1UECxQvQXV0ZW50aWNhZG8gcG9yIENlcnRpc2lnbiBDZXJ0aWZpY2Fkb3JhIERpZ2l0YWwxRjBEBgNVBAMTPUNBUkxPUyBTT1VTQSBDT01CVVNUSVZFSVMgR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24uY29tLmJyL3JlcG9zaXRvcmlvL2RwYzAdBgNVHSUEFjAUBggrBgEFBQcDAgYIKwYBBQUHAwQwgZsGCCsGAQUFBwEBBIGOMIGLMF8GCCsGAQUFBzAChlNodHRwOi8vaWNwLWJyYXNpbC5jZXJ0aXNpZ24uY29tLmJyL3JlcG9zaXRvcmlvL2NlcnRpZmljYWRvcy9BQ19DZXJ0aXNpZ25fUkZCX0czLnA3YzAoBggrBgEFBQcwAYYcaHR0cDovL29jc3AuY2VydGlzaWduLmNvbS5icjANBgkqhkiG9w0BAQUFAAOCAQEAB/f8uwT6cKP79oSfSZw4cEhBVxTXjJ98keCIrgFFdF5nhITFgdIxBVum14l6EVz6xoO+sCDQj50Els30Ap3wyu6pzHU1bpRzZI7ZG6CrpRasgKjLkVfLq2MRh8jq/UEC/gyVgd0W6/sCd6EHPcLwT6Y9hZJ9JAGLrO+xuyE4UHMcQToEffDLPXtW1IcQOD0h2yjrwV208P4VvIhtOKTC4NsCn3EOIsdswxso9elkPdd+Pg+hl43LepdlSx6GsAsEjCpf1vlQBqApPxfiM/iKX5+Xj6osejmu4GxvYN9qO2rnulREbUi3+Bzwo2nI09nkvIAL9kwhfftMqHfaXqu0JQ==</X509Certificate></X509Data></KeyInfo> </Signature> </evento> </envEvento>
  5. Eis o arquivo original que resulta na mensagem de erro. <envEvento xmlns="http://www.portalfiscal.inf.br/nfe" versao="1.00"> <idLote>1304031634</idLote> <evento xmlns="http://www.portalfiscal.inf.br/nfe" versao="1.00"> <infEvento Id="ID1101112113040908815300010755001000001473100033677301"> <cOrgao>91</cOrgao> <tpAmb>1</tpAmb> <CNPJ>09088153000107</CNPJ> <chNFe>21130409088153000107550010000014731000336773</chNFe> <dhEvento>2013-04-03T16:34:51-03:00</dhEvento> <tpEvento>110111</tpEvento> <nSeqEvento>1</nSeqEvento> <verEvento>1.00</verEvento> <detEvento versao="1.00"> <descEvento>Cancelamento</descEvento> <nProt>421130005604426</nProt> <xJust>erro de digitacao</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="#ID1101112113040908815300010755001000001473100033677301"><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>b4c/Vg/gOKsoIp9RrNpO932qPV4=</DigestValue></Reference></SignedInfo><SignatureValue>1Rri5nFE75grt264OXAbbQD+258lRoqEMwE3uE4zZFUzvOcoYUWed2JN23NT3IL95uWCiBFDAtGzt2JYt1MV8Fqk7xJ9IacOP4Ti/Bij5Li8Ss7wRBPhSQ6yCdLC4RzAqTwYZ7NqSaJYEBTWyzOD+VCblXrRIOozDR7jZeTB34c=</SignatureValue><KeyInfo><X509Data><X509Certificate>MIIGujCCBaKgAwIBAgIQEHhKlwDr3xF/dmx/KUNUADANBgkqhkiG9w0BAQUFADB4MQswCQYDVQQGEwJCUjETMBEGA1UEChMKSUNQLUJyYXNpbDE2MDQGA1UECxMtU2VjcmV0YXJpYSBkYSBSZWNlaXRhIEZlZGVyYWwgZG8gQnJhc2lsIC0gUkZCMRwwGgYDVQQDExNBQyBDZXJ0aXNpZ24gUkZCIEczMB4XDTExMDYxNzAwMDAwMFoXDTE0MDYxNTIzNTk1OVowggEWMQswCQYDVQQGEwJCUjELMAkGA1UECBMCTUExEzARBgNVBAcUCkFDQUlMQU5ESUExEzARBgNVBAoUCklDUC1CcmFzaWwxNjA0BgNVBAsULVNlY3JldGFyaWEgZGEgUmVjZWl0YSBGZWRlcmFsIGRvIEJyYXNpbCAtIFJGQjEWMBQGA1UECxQNUkZCIGUtQ05QSiBBMzE4MDYGA1UECxQvQXV0ZW50aWNhZG8gcG9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N0Q1JMLmNybDBVBgNVHSAETjBMMEoGBmBMAQIDBjBAMD4GCCsGAQUFBwIBFjJodHRwOi8vaWNwLWJyYXNpbC5jZXJ0aXNpZ24uY29tLmJyL3JlcG9zaXRvcmlvL2RwYzAdBgNVHSUEFjAUBggrBgEFBQcDAgYIKwYBBQUHAwQwgZsGCCsGAQUFBwEBBIGOMIGLMF8GCCsGAQUFBzAChlNodHRwOi8vaWNwLWJyYXNpbC5jZXJ0aXNpZ24uY29tLmJyL3JlcG9zaXRvcmlvL2NlcnRpZmljYWRvcy9BQ19DZXJ0aXNpZ25fUkZCX0czLnA3YzAoBggrBgEFBQcwAYYcaHR0cDovL29jc3AuY2VydGlzaWduLmNvbS5icjANBgkqhkiG9w0BAQUFAAOCAQEAB/f8uwT6cKP79oSfSZw4cEhBVxTXjJ98keCIrgFFdF5nhITFgdIxBVum14l6EVz6xoO+sCDQj50Els30Ap3wyu6pzHU1bpRzZI7ZG6CrpRasgKjLkVfLq2MRh8jq/UEC/gyVgd0W6/sCd6EHPcLwT6Y9hZJ9JAGLrO+xuyE4UHMcQToEffDLPXtW1IcQOD0h2yjrwV208P4VvIhtOKTC4NsCn3EOIsdswxso9elkPdd+Pg+hl43LepdlSx6GsAsEjCpf1vlQBqApPxfiM/iKX5+Xj6osejmu4GxvYN9qO2rnulREbUi3+Bzwo2nI09nkvIAL9kwhfftMqHfaXqu0JQ==</X509Certificate></X509Data></KeyInfo></Signature> </evento> </envEvento>
  6. Sim ficou sem assinatura por eu não ter o cartão, no RS passa mas no meu clientes que é espirito santo não passa... Rejeição: Falha no Arquivo XML
  7. Rejeição: Falha no Arquivo XML O Cliente é do Estado Espirito Santo.
  8. Não tive como gerar arquivo do cliente, mas gerei em minha base com o mesmo executável. <envEvento xmlns="http://www.portalfiscal.inf.br/nfe" versao="1.00"> <idLote>1304031542</idLote> <evento xmlns="http://www.portalfiscal.inf.br/nfe" versao="1.00"> <infEvento Id="ID1101115211040338866700010055001000000253100011616601"> <cOrgao>52</cOrgao ><tpAmb>1</tpAmb> <CNPJ>03388667000100</CNPJ> <chNFe>52110403388667000100550010000002531000116166</chNFe> <dhEvento>2013-04-03T15:42:01-03:00</dhEvento> <tpEvento>110111</tpEvento> <nSeqEvento>1</nSeqEvento> <verEvento>1.00</verEvento> <detEvento versao="1.00"> <descEvento>Cancelamento</descEvento>< nProt>152110170595221</nProt> <xJust>Teste Cancelamento</xJust> </detEvento> </infEvento> </evento> </envEvento>
  9. Componente... e atualizei ontem o componente.
  10. Atualizei o ACBR e os Schemas (agora) e dá o erro: XML não é validado. Para o estado do ES (Espirito Santo)
  11. Para pegar caminho e nome é assim ACBRNF.Configuracoes.Geral.PathSalvar + ACBRNF.CartaCorrecao.CCe.ObterNomeArquivo
×
×
  • Criar Novo...

Informação Importante

Colocamos cookies em seu dispositivo para ajudar a tornar este site melhor. Você pode ajustar suas configurações de cookies, caso contrário, assumiremos que você está bem para continuar.