You can't teleport distant objects to you unless you can see them or have prepared the object beforehand or have extremely high-level magics
Note that whether corpses are objects or creatures is a subject of debate. This answer, similarly to my games, takes the position that corpses are objects.
Teleportation spells that allow you to teleport a distant object to you exist, and one such spell exists which could even easily be used by a 7th level sorcerer to retrieve an arbitrary corpse. However, all of those spells require you either to prepare the object beforehand, which it seems unlikely for you to have done, or to have line of effect, which you probably don't.
Note as well that many spells have weight or dimension limits that might be a problem, depending on the race of the corpse in question. There are also caster level concerns with regards to range, but temporary increases to caster level or the Extend Spell metamagic can fix that problem trivially.
The spells are:
There are also higher-level spells you could use with a scroll or something, but none that easily solve the problem via teleporting the corpse to you from the 100' above without you doing anything besides casting the teleportation spell first. The closest effect to this is Teleport Structure, a 6th level Sorc/Wiz spell, which lets you teleport one unoccupied structure within a settlement you own to another place in that settlement. By designating the collapsed cave as a structure, founding a settlement (or having a friendly rogue with the relevant class abilities do that), staking claim to the cave, and then casting an 8-hour long ritual you can teleport the pile of rubble above-ground with the corpse in it (it's an object, not a creature). This technically accomplishes your requirements, but if you want to actually retrieve the corpse you could always teleport the rubble in upside down.
A scroll of Teleport Structure costs 1,650 gp. Founding a settlement costs money as well, typically, though incorporating unclaimed land into a previously existing settlement you own often doesn't.
Beyond that, you might consider a 13,825 gp scroll of the 9th level spell Gate, but that would get you the actual dead character, not their body, unless corpses are creatures. In order to render that spell operable, you must first cast the 9th level spell Cursed Earth via scroll for another 13,825 gp to cause the corpse to rise as a zombie, then use Gate to call the particular zombie to you. In total, that would cost 27,650 gp, or about 37 times as much as a wand of Expeditious Excavation, which would normally be considered overkill for this job itself but is made much more reasonable-seeming by comparison.