Message

A UBL invoice should not include the PayeeParty PartyLegalEntity HeadOfficeParty

Context
/ubl:Invoice | /cn:CreditNote
Test
not(cac:PayeeParty/cac:PartyLegalEntity/cac:HeadOfficeParty)