fatalEN 16931syntax binding ruleUBL
Invoice line note shall occur maximum once
'Invoice line note' appears more than once, and this profile allows it at most once.
Keep the single correct 'Invoice line note' and delete the rest. Repeating an element that the semantic model treats as singular is usually a serialiser writing every value it has instead of choosing one.
UBL — context cac:InvoiceLine | cac:CreditNoteLine
(count(cbc:Note) <= 1)