To fix an error on a finalized credit note, create a new credit note for it. A finalized credit note cannot be edited or deleted, the same as a finalized invoice.
A draft credit note can still be edited or deleted. For a full or partial refund, create the credit note as a draft first, so you can correct mistakes before you finalize it. You create a credit note for a credit note the same way as a credit note for an invoice. For the steps, see Credit and Refund a Finalised and Paid Invoice in Full or Credit a Finalised Invoice That Has Not Been Paid. When you credit a credit note, the Credit the invoice, create new draft option is not available.
