# DS301

Source: https://xmlvalid.com/rules/DS301

> Signature not found. Version … is signed: the document needs the signature (ds:Signature in ext:UBLExtensions) and the cac:Signature element that points to it.

- Level: error
- Rule sets: MyInvois validations of LHDN (Malaysia) MyInvois SDK of 25 September 2026
- Context: `/*`
- Test: `not($version = ('1.1', '1.3')) or ($signature and cac:Signature)`

## Why it fails

- The document says version 1.1 (or 1.3), the signed one, but was sent unsigned: the version was copied from a sample.
- The signature is in the document, but `cac:Signature`, the element that points to it, was left out.

## How to fix it

- Either sign the document with the certificate LHDN's certification authority issued and keep `cac:Signature`, or give `listVersionID` 1.0 if your submissions are not signed yet.

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