I accidently create a credit note for a customer? how do I cancel it

Hello! there 

Subject  Needed with Credit Note Removal

I am writing to seek assistance regarding an issue I have encountered while attempting to rectify an error in our system. While updating a customer name on an invoice, I inadvertently generated a credit note by mistake.

I am contacting you about the procedure for removing this credit note from our records. Could you kindly guide the necessary steps to rectify this situation?

Thank you in advance for your attention to this matter. I appreciate your prompt assistance in resolving this issue.