Ir para conteúdo
  • Cadastre-se

dev botao

Recommended Posts

Postado

A nota fiscal está sendo emitida corretamente usando o componente.

Mas o recebedor está questionando essa situação "Assinatura Digital: Inválida"

Pediu que verificasse o XML através desse link "https://www.sefaz.rs.gov.br/nfe/nfe-val.aspx"

E tanto o XML gerado quanto o XML baixado da Receita tem o mesmo conteúdo (fiz uma comparação pelo Notepad++)

E passando tanto o XML baixado da Receita quanto o XML gerado a resposta é sempre a mesma "Assinatura Digital: Inválida"

 

	<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="#NFe35240823633903000105550010000003081741452190">
					<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>xybsPWIwQCNm5rmyN27JQfn3tPc=</DigestValue>
				</Reference>
			</SignedInfo>
			<SignatureValue>ezU7dx48CcLmzZyyJg8rKCAgfS6jE1FJsQ5LjOjNeIaccf6p+MzSC4JeS2jRlr5y0dlg6cCeGGiIn/zcJCWfFG/mjZynM+BPch2UKQLRfFpg0GnaXX253hO7nvGDGidz2NKfcI6UomWQGVCIu+WyyOwPCaJL+RKsmLsr4g3bAuX5cBWufseFxy+oO/zPd9B4ekG54LZd/3RW5GVTOibDPCFBUyzbNRsuPQt+OzeVJU9GftjM2VfonKgIqzG+qPpMPOyaqPKhbpbUtSsXaK3379gwaY4ul/OsCxwBug2z08OHlK6GsBQLRIIt4U3lHezXdUygIbPHQxTUxju+YJstvA==</SignatureValue>
			<KeyInfo>
				<X509Data>
					<X509Certificate>MIIIHDCCBgSgAwIBAgIIR+JARF2x7iUwDQYJKo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Qs8S+2iq49uosreTSzcuModFGANMjrsxDylW6xxoQ51oPW97ieEb3mkbYdF7DGumYurFaVeMs1rT5yELAoCTXI0IpVSE3o/73mI2KczoLIHjbvV7b04KAj9uiipZx3N+iG66h0k1zMCvQY1IlNDY8fuawQ7jqWg92GJN2pz/qpzuFePd9efw/0t5TBi0usTU/uxeprEmd5CkGrSGqs8xQEUZHfkqLSmee5R7w8BgnACj/lVPAAU5rERTYzveoCkGRJ4a0yAVs1rgbFUANKELUM4JHgSB20AWZ6CIRoqGnt+tRBUEr+ruvB58FTraGPql7c//on6hAJNLn9K9Fyw5R0TfdaAAKexIpx+BTNIqBg9W/6adO0gC29y59Y0L2M98Kue40dgIZvosY/tMr6hu9O0fje1RitZSx+Vkv/WcqKdDpj0M/HCkN0C+2eI1WoLH2iyBQWtz2n7gcg//M4ApzLbjuxpmjoYA7QnoGuPF+BjCizKItue/tz1ScMibxQ194wxnn/SvwktlPqQq8NAEYDp3awFerQ8ZV8xgEE9RW0bbbrr/4bjJDIb9TUExfAyAcAFM7rOqJerm/I9I6zQ8zAOCuuCz7iQ1OG/LEhap2YuHJgcyRNxo3x5w==</X509Certificate>
				</X509Data>
			</KeyInfo>
		</Signature>
	</NFe>
	<protNFe versao="4.00">
		<infProt Id="Id135241666617015">
			<tpAmb>1</tpAmb>
			<verAplic>SP_NFE_PL009_V4</verAplic>
			<chNFe>35240823633903000105550010000003081741452190</chNFe>
			<dhRecbto>2024-08-02T08:36:27-03:00</dhRecbto>
			<nProt>135241666617015</nProt>
			<digVal>xybsPWIwQCNm5rmyN27JQfn3tPc=</digVal>
			<cStat>100</cStat>
			<xMotivo>Autorizado o uso da NF-e</xMotivo>
		</infProt>
	</protNFe>
</nfeProc>

 

Crie uma conta ou entre para comentar

Você precisar ser um membro para fazer um comentário

Criar uma conta

Crie uma nova conta em nossa comunidade. É fácil!

Crie uma nova conta

Entrar

Já tem uma conta? Faça o login.

Entrar Agora
×
×
  • 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.

The popup will be closed in 10 segundos...