You cannot delete an account/controlling account if there are references to it in accounting operations.
To delete an account/controlling account:
Select the account/controlling account to be deleted
Use the Delete account context menu item or the Document > Delete account main menu item
The system will ask you to confirm the deletion. ClickYesif you really want to delete the selected account. Click Noif you mistakenly selected the Delete accountmenu item.