Settling Payroll and expense claim to employee clearing accounts

when we make payments to employees against their payroll and expense claim of previous months or pendings. or some time a partial payment or one payment against many expense claims, we do not know currently which claim/salary is paid and which one is pending. is shows only the last balance.

Will be very useful if system allows posting of employee payments against their specific references like how the payments/receipts done with suppliers and customers invoices