Click on the Sales Module => Sales Order => sales order search opens.
Click on the eye button on the corresponding sales order which is located in the right end side. Eye button represents the view of created sales orders
Then user will be redirected to sales order invoice view window from there click on the more option button and click cancel button.
When the user clicks the Cancel button, it shows a cancel window
By default it shows customer details like name of the customer, invoice number of the transaction and the amount
And the user need to enter the reason for the Cancellation.