Unit code list identifier attribute should not be present
/ubl:Invoice | /cn:CreditNote
not(//@unitCodeListIdentifier)