I need to close the sales order is there any button

I have created a Sales Order for 50 units of an item. I have already created a Sales Invoice for 40 units, and now I want to close the Sales Order. What should I do in this case?

you can close the Sales Order manually.

Open the submitted Sales Order → Status/Actions → Close.

Since 40 out of 50 units have already been invoiced, closing the Sales Order will stop the remaining 10 units from being considered pending.

If you need to continue processing the remaining quantity later, you can reopen the Sales Order.