Sage 50 generated credit note

SOLVED

Hello, I deleted a paid invoice by mistake and the system automatically generated a credit note. Can someone please tell  me where I can find this transaction and cancel the credit note?

Thank you, Michele