To cancel the DTE of a credit note corresponds to generate a debit note, you must enter the credit note and at the top click More > Duplicate > Sales Invoice, enter the DTE tab and check the "Issue as debit note" quadrant, the Related credit note field will be enabled, click on the field and the list of credit notes issued for that customer will be displayed,for you to select the one you want to cancel, you must also select the debit note type.
Verify the lines to credit or error correction, finally don't forget to select SAVE, and automatically the software will ask you if you want to issue the debit note, you select accept or cancel.