How to add Total due balance of invoice

How to add Total due balance

You cannot, except by entering it manually in a custom field. Each sales invoice is an individual transaction, independent of what else the customer may owe. Send a statement if you want to notify the customer of their total amount due. However, the unpaid invoice type of statement might be preferable to the transactions type.