Refund from a supplier

We have an credit note outstanding on a suppliers account that they have now refunded us the money.

How do I post this to allocate it against the credit note?

Thanks