How to convert a sales invoice to a credit note?

Please go to the sales invoice >> click on the more option >> click on convert>> click on sales return.