Books · Accounts
8 published documents
-
Archive account
Archive an account so nothing new posts to it. Accounts are never deleted; system accounts cannot be archived.
-
Create account
Add an account to the chart. Codes are unique per workspace; a sub-account must share its parent's type.
-
Empty the chart of accounts
Delete every account nothing has been posted to, after literal CLEAR confirmation. Accounts the ledger has touched are kept and named in the response. Use this before a migration: the other system's chart should come across as it stands, because a template applied first collides with it — the same code means different accounts in two charts.
-
Get account
Read one account with its type, code and current balance, so a journal line can name it correctly.
-
Import chart of accounts
Import accounts from a Xero or QuickBooks Online chart-of-accounts CSV export (or a generic code,name,type file). Previews by default (dryRun true): every row is reported as create, skip_existing or error with a reason. Pass dryRun false to create the new accounts; existing accounts are never changed, and codes are generated for rows without one.
-
List accounts
List the chart of accounts. Filter by type or archived state, search across code, name and description, and sort by code, name, type, subtype or status.
-
Restore an account
Bring an archived account back into use, provided no live account holds its code.
-
Update account
Change an account's code, name, type, parent, currency or description. Type cannot change once the account has postings; system accounts keep their type.