Message

A creditnote transaction T14 in Profile other than xx MUST have an invoice or creditnote reference identifier.

Context
ubl:CreditNote
Test
local-name(/*) = 'CreditNote' and (((//cac:BillingReference/cac:InvoiceDocumentReference/cbc:ID) or (//cac:BillingReference/cac:CreditNoteDocumentReference/cbc:ID)) or (//cbc:ProfileID = 'urn:www.cenbii.eu:profile:biixx:ver2.0'))
Usage
/ ubl:CreditNote / cac:BillingReference / cac:InvoiceDocumentReference / cbc:ID
/ ubl:CreditNote / cac:BillingReference / cac:CreditNoteDocumentReference / cbc:ID