Message

Buyer trade name shall occur maximum once

Context
/ubl:Invoice | /cn:CreditNote
Test
(count(cac:AccountingCustomerParty/cac:Party/cac:PartyName/cbc:Name) <= 1)