Hello there, @Rafiq.
I'll help ensure you'll be able to match the payment on the Banking screen appropriately.
Yes, you have to record a Credit Note apply the over-payment in the future and to match the transactions accordingly.
To enter a credit note:
To apply the credit note:
To learn more about credit note, you can check this article: Enter and apply a credit note or delayed credit.
Let me know if you have any other questions. I'm always available to help!