No more than one note is allowed on document level.
ubl-creditnote:CreditNote | ubl-invoice:Invoice
count(cbc:Note) <= 1