How to display total outstanding balance on Invoice Template

Hi guys,
I’m able to see the current outstanding balance for a specific customer under
Third-party > Customer - we can see the “Current outstanding bill”.
However, it must be reflected on the next invoice.
But, I couldn’t find any way to show it on the Invoice template.
Any help will be much appreciate.

Hello Did you or anyone find the solution for above, I am looking for same