A UBL invoice should not include the AccountingCustomerParty Party PartyLegalEntity HeadOfficeParty
/ubl:Invoice | /cn:CreditNote
not(cac:AccountingCustomerParty/cac:Party/cac:PartyLegalEntity/cac:HeadOfficeParty)