Сliniccards has enabled the option to create your own invoice templates.
Settings - Other - Document Templates
When creating an invoice, you can use the DEBT insert.
This allows you to display the full amount of debt of patients when printing an invoice or bill.