In addition to journal entries of types 'out_refund' and 'in_refund', reversing the original journal entries is also allowed through negative debit or negative credit amounts.
This module help you to set analytic distribution on payment| analytic distribution on Customer/Vendor Payment | analytic distribution,on tree/from view| payment journal entries with analytic distribution