# XV-SA-14

Source: https://xmlvalid.com/rules/XV-SA-14

> The signature in the QR code (tag 7) is not the invoice's ds:SignatureValue.

- Level: error
- Rule sets: ZATCA cryptographic stamp and QR code checks Security Features Implementation Standards 1.1, SDK 3.4.6
- Context: `/*/cac:AdditionalDocumentReference[cbc:ID = 'QR']`
- Test: `not($readable and $signature) or $fields[8] = '' or $fields[8] = normalize-space($signature/ds:SignatureValue)`

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