Pesquisar na Comunidade
Showing results for tags 'ambiente Nacional'.
Encontrado 2 registros
-
297 Rejeicao: Assinatura difere do calculado
um tópico no fórum postou andre.fidelis06 Dúvidas não relacionadas ao ACBr
Estou enviando evento do ator interessado, mas sempre estou recebendo essa recusa 297 Rejeicao: Assinatura difere do calculado segue xml que estou enviando <envEvento xmlns="http://www.portalfiscal.inf.br/nfe" versao="1.00"> <idLote>459697</idLote> <evento versao="1.00"> <infEvento Id="ID1101504124080465688300014355003000611927100459697801"> <cOrgao>91</cOrgao> <tpAmb>1</tpAmb> <CNPJ>04656883000143</CNPJ> <chNFe>41240804656883000143550030006119271004596978</chNFe> <dhEvento>2024-08-12T16:47:12-03:00</dhEvento> <tpEvento>110150</tpEvento> <nSeqEvento>1</nSeqEvento> <verEvento>1.00</verEvento> <detEvento versao="1.00"> <descEvento>Ator interessado da NF-e</descEvento> <cOrgaoAutor>41</cOrgaoAutor> <tpAutor>1</tpAutor> <verAplic>1.00</verAplic> <autXML> <CNPJ>08201770000104</CNPJ> </autXML> <tpAutorizacao>0</tpAutorizacao> <xCondUso>O emitente ou destinatário da NF-e, declara que permite o transportador declarado no campo CNPJ/CPF deste evento a autorizar os transportadores subcontratados ou redespachados a terem acesso ao download da NF-e</xCondUso> </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="#ID1101504124080465688300014355003000611927100459697801"> <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>HPoewMIGP+Mc+y7Pl7vxwlvtDG0=</DigestValue> </Reference> </SignedInfo> <SignatureValue>Ce4rYaieP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mFuYWNpb25hbC12NS5jcmwwW6BZoFeGVWh0dHA6Ly9jY2QyLmFjY2NuY2VydGlmaWNhZG9yYS5jb20uYnIvbGNyL2FjLWNjbmNvbXBhbmhpYWNlcnRpZmljYWRvcmFuYWNpb25hbC12NS5jcmwwHQYDVR0OBBYEFM6CsMFklprRq/ZwyTBvoGIkktb2MA4GA1UdDwEB/wQEAwIF4DANBgkqhkiG9w0BAQsFAAOCAgEAb4yLHKtZGqlD9SudVPl4CcnTIQhlyiNOtJxrMD69/5q7zkOIyjfYbrJJ2K23XxO5HntY79YwR8/lM331cm5l6IJAcOHuw4xFYVXTYRSmFm/DGM5ylDsvwW5erVKSSdFf3D3O6CWXCfGRzwTYx+Y579jnDISHeWVvdn8XggtEvy1kY4bDcbrPdyAyXV+5xu2HHiUbKrR459NFM7Hj39P6UpyYqv7IrSIms0HlY4cjcbH5PgFeRDL7m74WhJm9sTfPxCWaLM9Adk/9ZlU26KSxHU1rBtSWFD8zp+9gAijcysAxnIHWD+rfD4HLNCw9WmxAZ2p9HEKJx7vYv4q3NqHUmt4l+Xpsih+zVmXBhGQPPKGSfJd9lPCe1eEmYGFLn+LozgiLaFzvVrhiyyiqrj/Tnu/SAhMHoHJzT+J6LrDm/1mQXvotXge3QxvwlfePh9AB552B3V4iJ292EcFy1vyz5MRDPcsd376cCguZpefm9XuNsBYUipdxYOA48NKhCtOYe7wu2sEmrCxzr3TjajG68jQxHVMyEJdN1MHauBvpHg09O/jTCsUrb+uGuSuQ5AbJKU6oGUy/SAZa5M5zVyqMxKT+pivzEJuYDmUkv/4Joen+awzJ11ZlRCZSt7WFdfxXHbdy0yAw2LmQx0obBqeJd8XMUILPMIOY8qX7OF74dYg=</X509Certificate> </X509Data> </KeyInfo> </Signature> </evento> </envEvento> segue xml de retorno <retEnvEvento versao="1.00" xmlns="http://www.portalfiscal.inf.br/nfe"><idLote>16762</idLote><tpAmb>2</tpAmb><verAplic>AN_1.8.4</verAplic><cOrgao>91</cOrgao><cStat>128</cStat><xMotivo>Lote de evento processado</xMotivo><retEvento versao="1.00"><infEvento><tpAmb>2</tpAmb><verAplic>AN_1.8.4</verAplic><cOrgao>91</cOrgao><cStat>297</cStat><xMotivo>Rejeicao: Assinatura difere do calculado</xMotivo><chNFe>41240876302157000133550010000167631000167621</chNFe><tpEvento>110150</tpEvento><xEvento>Ator interessado da NF-e</xEvento><nSeqEvento>1</nSeqEvento><dhRegEvento>2024-08-13T08:57:57-03:00</dhRegEvento></infEvento></retEvento></retEnvEvento>- 1 reply
-
- ator interessado
- evento
- (e 4 mais)
-
Problema a ser resolvido : Na consulta destinadas as notas de minas gerais estão demorando até 30 dias ou mais para aparecerem. Chave de acesso para Exemplo: 31140507124577000235550010000225271420476102 Situações Identificadas: 1) As notas somente aparecem quando estão no ambiente nacional. 2) Quando consulto diretamente no site da SEFAZ com a chave de acesso, a primeira tentativa Não encontra a nota, na segunda a nota aparece. Fonte: begin mUltNSu := 0; //Faz a primeira consulta mNFe.ConsultaNFeDest(mCNPJEmpresa, StrToIndicadorNFe(mok,IntToStr(_IndicadorNFE)), StrToIndicadorEmissor(mok,IntToStr(_iNDICADOReMISSOR)), mUltNSu); //Faz o loop while ((mNFe.WebServices.ConsNFeDest.retConsNFeDest.indCont = icPossuiMaisDocumentos) or (mNFe.WebServices.ConsNFeDest.retConsNFeDest.cStat =138)) do begin { //Rotina para armazenar no banco. //Ressalto que as notas somente são exibidas quando estão disponiveis no portal Nacional } //Guardo o ultimo nsu para prosseguir mUltNSu := mNFe.WebServices.ConsNFeDest.retConsNFeDest.ultNSU; mNFe.ConsultaNFeDest(mCNPJEmpresa, StrToIndicadorNFe(mok,IntToStr(_IndicadorNFE)), StrToIndicadorEmissor(mok,IntToStr(_iNDICADOReMISSOR)), mUltNSu); end; end;