How to show customers net balance on the invoice?

Kindly go to the document settings >> enable the net balance option >> click on update settings.