Hello,
Check following link for the stepwise help in creating advance payment entry, and adjusting with in Sales Invoice.
https://manual.erpnext.com/accounts/advance-payment-entry
- In the Sales Invoice, Advance section, you will find button called “Get Advance Received”. Clicking on this button will pull advance payment voucher made for Customer selected in Sales Invoice.
- For the payment entry, as indicated in the screenshot, you are able to select Party/Customer/Supplier in the payment entry.
- In the payment entry, for the Customer’s row, update “Is Advance” as “Yes”. Only payment vouchers updated as “Is Advance - Yes” are pulled in the Sales Invoice.
One advance payment voucher is correctly pulled in the Sales Invoice, you will be able to update “Allocated Amount” for it.