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).

warning: reported, still valid

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
not($type = ('02', '03', '04', '12', '13', '14')) or cac:BillingReference/cac:InvoiceDocumentReference[normalize-space(cbc:ID) ne ''][normalize-space(cbc:UUID) ne '']

Checked with MyInvois e-Invoice