In order to reverse a supplier invoice, you need to process a Return & Debit note, not a credit note - I presume that you did that, and that you matched the R&D note to the invoice?