Go to Purchase --> Setting --> Invoice Tab to Down Payment.
Percentage-Based Down Payments
Fixed Amount Down Payments
Down payment Deduction
The down payment registered is deducted from the vendor's final bill, reflecting the reduced amount that needs to be paid.
Once a purchase order is confirmed, you can register a down payment by selecting the option to register a down payment from the purchase order view. You will have the choice to either specify a percentage or a fixed amount as a down payment.
The down payment registered is deducted from the total amount of the vendor bill. When the bill is generated, the amount paid as a down payment is subtracted from the total, and the remaining balance is shown as payable.