How to record payment against the customer and to settle against the Sales invoice?

To record the payment for customer and to settle against the Sales Invoice, please go to Sales section >> Enter the customer’s name in search box >> Click on Customer name >> You Got >> Enter the Amount, Select the payment date & payment type >> Click on Settle pending document >> Select the document >> Add payment.