XV-MY-12

The certificate digest in the signed properties (xades:CertDigest) is the SHA-256 of the certificate in the signature: …, not ….

error: the document is invalid

What the rule checks

As the rule set's publisher wrote it. The rule runs on every element the context matches, and fails where the test is false; the validator reports the line of that element.

Context
/*
Test
$certDigest = '' or $certificate = '' or $certDigest = js:xvCertificatePart($certificate, 'digest')

Checked with MyInvois e-Invoice