Learn how to make a sales tax rate and agencies delete/inactive.
Making a sales tax rate inactive removes it from your QuickBooks Online interface. However, to preserve data integrity you can't delete it completely.
Then making inactive accounts in the chart of accounts, this will not delete the transaction created in this account. You'll have to delete the transaction if necessary.
How to inactive an account: