Using Unallocated Amount For students In Education Module

Hello, Is there a way i can use unallocated amount of a certain Student who made an over payment in his previous academic term to his next fee structure of a different academic term. Please assist.