# XV-MY-12

Source: https://xmlvalid.com/rules/XV-MY-12

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

- Level: error
- Rule sets: MyInvois validations of LHDN (Malaysia) MyInvois SDK of 25 September 2026
- Context: `/*`
- Test: `$certDigest = '' or $certificate = '' or $certDigest = js:xvCertificatePart($certificate, 'digest')`

Validate a document against these rules: https://xmlvalid.com/validate
