Total of open payments on the invoice

Total of open payments on the invoice

Can I add the total payments that are open or due on a new invoice for a recurring customer ?