Please follow the steps mentioned in the article below to create E-invoice for credit note.
Step 1: Please go to Sales >> Credit notes Step 2: Select the document and click on three dots Step 3: Click on Create E-invoice