Message

ubl-creditnote:CreditNote/cac:AccountingSupplierParty/cac:Party MUST contain exactly one cac:PartyLegalEntity.

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