Choose one creature, object, or magical effect within range. Any spell of 3rd level or lower on the target ends. For each spell of 4th level or higher on the target, make an ability check using your spellcasting ability. The DC equals 10 + the spell's level. On a successful check, the spell ends.
Being hidden, and Invisible
Or make the DC 14 spellcasting ability check.Also, just remember that to dispel a 4th level spell like Greater Invisibility, you'll also need to cast Dispel Magic using a 4th level slot.
Casting Dispel Magic with a 4th level slot means that you automatically dispel 4th level and less spell effects. Otherwise its a check.Also, just remember that to dispel a 4th level spell like Greater Invisibility, you'll also need to cast Dispel Magic using a 4th level slot.

(Dungeons & Dragons)
Rulebook featuring "high magic" options, including a host of new spells.