To record the payment for vendor and to settle against the Purchase Invoice, please go to Purchase section >> Enter the purchase number in search box >> Click on Vendor name >> You Gave >> Enter the Amount, Select the payment date & payment type >> Click on Settle pending document >> Select the document >> Add payment.