Hi Sue

Assuming you are talking about Payables, create a manual check batch, dated today, check number 999999 ("Print check" box unchecked), and select the invoice and the credit note so that the total amount paid is zero.

Once you post the manual check batch, the transactions will be matched. This has no effect on the vendor's balance or on Ledger.

Steve