How to add/display payment history into invoices closed

How to add/display payment history into invoices closed

Hi ,
How can I make a invoice template to display all information about payments history related to the invoice ?

Regards,