How to add downpayment

How to add downpayment, like if we create sales invoice with sub total Rp 1.000.000 and the customer need to add dowpayment in invoice like 50% and the total sales invoice is Rp 500.000, thank you iun advance

You issue a receipt of the down payment amount against the invoice.

Your illustration is not clear, I’m not sure what the sub total is there for. You can easily receive money against an invoice as down payment on the invoice after you have issued that invoice.

thank you