I'm here to help you link your payment with the credit note.
Please make sure that you've selected the A/R account for your payment (expense & cheque). Once done, go to the Receive Payment screen to link the expense transaction and your credit note.
Here are some articles for more information:
Keep me posted if you need further questions. I'm here to help you.