Hi @yogarajah
I think this post may be of some help: Adding a credit to a supplier from previous accounts