Message

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

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