# XV-MY-09

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

> A credit, debit or refund note gives the original e-invoice it adjusts: cac:BillingReference/cac:InvoiceDocumentReference with its number (cbc:ID) and its MyInvois unique identifier (cbc:UUID; NA when the original was issued before e-invoicing).

- Level: warning
- Rule sets: MyInvois validations of LHDN (Malaysia) MyInvois SDK of 25 September 2026
- Context: `/*`
- Test: `not($type = ('02', '03', '04', '12', '13', '14')) or cac:BillingReference/cac:InvoiceDocumentReference[normalize-space(cbc:ID) ne ''][normalize-space(cbc:UUID) ne '']`

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