Chart of accounts
Delete an account
Deletes the account with the given account number from every open fiscal year, unless transactions have been posted to it or it is a protected account.
DELETE
Delete an account
Deleting an account
Deleting an account removes it from every open fiscal year. An account can only be deleted if nothing depends on it:- No transactions may have been posted to the account. Otherwise the request fails with
400 Bad Requestand error codeledger/cannot-delete-account-with-transactions. - System accounts that Infinity relies on, such as VAT accounts, cannot be deleted (
403 Forbidden,ledger/system-account). - Accounts connected to a bank through Live Accounting cannot be deleted (
403 Forbidden,accounts/cannot-delete-live-account).