Before excavation, you might have recorded the original ground levels OGL
After excavating trench, you might have recorded the reduce level of trench bottom RL
This will give you the heights / depths of trench.
Measure widht and length.
Width x Length x Depth = Volume.
Without records of level and dimension, you cant calculate.
You can calculate by assuming the dimension, but this will not be acceptable for billing.