Credit note contain wrong information

What is right way to correct credit note when I insert wrong data for example
I create Credit note but after I send to zatca and I found mistake in date?

@kiaziz

@Ammar You may either generate tax invoice or debit note to reverse a credit note and then issue a new credit note with correct information.