Printing Loan Balance on Payslip

SUGGESTED

How do I print a capital balance of a loan on a standard payslip?