How to transfer the debit value to another account head ?

Suggestions:
If users want to rectify a transaction , or require to transfer the debit value to another account head. Instead of transafering the account head, users can do the reverse entry in expense voucher to credit amount which was debited and debit the account which was credited previously. Using the type as expense and sundry as others in the expense voucher .