It would need to go to the IVA as classed as a windfall up until you get the completion certificate.
However to an extent it depends on where the lump sum is coming from and the circumstances.
IVA started March 2011, Completed March 2016 and certificate issued 11 days after final payment. It was not always easy but then some of the best decisions aren't.