Message

An Invoice shall contain the Buyer name (BT-44).

Context
/ubl:Invoice | /cn:CreditNote
Test
normalize-space(cac:AccountingCustomerParty/cac:Party/cac:PartyLegalEntity/cbc:RegistrationName) != ''
Usage
/ ubl:Invoice / cac:AccountingCustomerParty / cac:Party / cac:PartyLegalEntity / cbc:RegistrationName
/ ubl:CreditNote / cac:AccountingCustomerParty / cac:Party / cac:PartyLegalEntity / cbc:RegistrationName