Adding previous balance and/or closing balance to an invoice?

How to add customers summary or opening balance of a customer in sales invoice

You cannot. Please see other topics on this subject. I am closing this one.