Message

No more than one note is allowed on document level.

Context
ubl-creditnote:CreditNote | ubl-invoice:Invoice
Test
count(cbc:Note) <= 1
Usage
/ ubl:Invoice / cbc:Note
/ ubl:CreditNote / cbc:Note