Validation message

[UBL-SR-40]-Buyer trade name shall occur maximum once

Context

/ubl:Invoice | /cn:CreditNote

XPath

1

(count(cac:AccountingCustomerParty/cac:Party/cac:PartyName/cbc:Name) <= 1)

Used in business terms