How to restrict users from editing and deleting the existing invoices?

To restrict users from editing and deleting the existing invoices, Go to settings >> All users/Roles >> Roles and permissions >> Edit user >> Disable ‘sales edit’ and ‘sales delete’ option >> Update role.