Open bcs018 opened 10 months ago
You give us a whole lot of info, but you tell us nothing about the exact error you are getting...
the error is that the signature is not validating, it is saying that the signature is invalid
look at the lines:
$serviceresponse_node = $xmlDocument->getElementsByTagName("evtRetPJ")->item(0); $serviceresponse_node2 = $xmlDocument->getElementsByTagNameNS('http://www.reinf.esocial.gov.br/schemas/evt4020PagtoBeneficiarioPJ/v2_01_02', '*')->item(0);
Is that right?,, $serviceresponse_node is the content I want to sign, and $serviceresponse_node2 is where I want to put the signature
Hello, I'm trying to validate the XML, from the EFD Reinf, from the Federal Revenue of Brazil, but I'm told that the signature is invalid. I already use this library in other XML signatures and it signs normally, but in this specific case I am not succeeding, follow the XML and the code PHP.:
`<?xml version="1.0" encoding="utf-8"?>