How to Issue the credit memo for over payment? Journal entry?

Jani Bhasha (student) (47 Points)

13 October 2020  
Hello,

By mistakenly paid more than invoice value. How to Issue the credit memo to get excess amount from the vendor. And we are not going to adjust forther invoice also. What is the entry of credit memo to adjust over payment.

For example

Invoice value is 1000 and payment made 2000 wrongly. Now how to issues credit memo for overpayment