Message

ubl-invoice:Invoice/cac:AccountingCustomerParty/cac:Party MUST contain exactly one cac:PartyLegalEntity.

Context
ubl-invoice:Invoice/cac:AccountingCustomerParty/cac:Party
Test
count(cac:PartyLegalEntity) = 1
Usage
/ ubl:Invoice / cac:AccountingCustomerParty / cac:Party / cac:PartyLegalEntity
/ ubl:CreditNote / cac:AccountingCustomerParty / cac:Party / cac:PartyLegalEntity