Starting a new ledger
File → New… (Cmd+N on macOS, Ctrl+N on Linux) opens the New ledger wizard. It sets up a new set of books in a folder you choose, then opens them. The first time you start Ledgeline, with no journal to reopen, it opens on this wizard.
Nothing is written until the last step. Cancel on the first step goes back to the journal you had open.
The wizard needs the desktop app, because it uses the system folder picker. A browser connected to ledgeline --server shows the wizard but can’t create anything.
Start fresh
- Chart. Pick a starting chart of accounts:
- Personal: bank accounts, cash, investments, a credit card, loans, income, and everyday spending.
- Business: bank accounts, receivables, inventory, fixed assets, payables, sales tax, payroll, owner’s equity, revenue, and common business expenses.
- Empty: no accounts. Add your own in Settings → Accounts, or let an import bring them in.
- Currency. Pick the base currency, or Other… for any currency code. The preview shows how amounts will look. Tick the decimal comma box to write
1.000,00instead of1,000.00. - Accounts. Review the chart. Rename an account in place, or remove one you won’t use. Subaccounts take their parent’s type. You can add accounts and change tags later in Settings → Accounts.
- Folder. Press Choose folder… and pick an empty folder, or make a new one in the picker. A folder that holds only hidden files, such as
.DS_Storeor.git, counts as empty. Give the ledger a name; it starts as the folder’s name. Then press Create ledger.
Ledgeline opens the new journal and adds it to File → Open Recent.
Start from another app
Pick the app you’re coming from, such as Quicken, Banktivity, Moneydance, GnuCash, Xero, QuickBooks Online, YNAB, Monarch or Copilot, or a bank statement. The wizard says where that app keeps its export. Then choose the exported file.
The currency and folder steps are the same as above. Ledgeline creates an empty ledger, then opens the Imports screen with your file already loaded. There you map the export’s accounts and categories to hledger accounts, then choose what to write. Since the new ledger has no accounts yet, Ledgeline suggests a name for each one from the export itself (a bank register becomes assets:bank:…, a spending category expenses:…), so most of your work is checking those suggestions. See Importing a QIF file, Importing from other apps and Importing from QuickBooks for what each export brings over.
A bank statement (OFX, QFX or CSV) goes through the ordinary statement import instead, with a rules file. If Ledgeline can’t read the file at all, the wizard says so. It still creates the ledger, and you can import the file later.
Try with sample data
The first step has a Try with sample data link. It opens a copy of the sample books: a household with bank accounts, a brokerage account, a mortgage and a few years of transactions, the journal used throughout this manual, plus Juniper Studio, the household’s small side business. The copy lives in Ledgeline’s cache folder, and each click starts from a fresh copy, so feel free to change it. Every date in it is moved forward by the same whole number of months, so that its newest transactions fall in the current month and the journal’s default view (the last 90 days) opens on data.
What the sample gives each part of Ledgeline:
- Budget: a monthly household budget and a yearly travel goal, with bars under, near and over.
- Projections: a saved scenario beside the journal,
projection-household-plan.journal, listed as Household plan. - Invoices: the side business’s invoices, booked to accounts receivable, with their payments matched; one invoice part paid and one overdue; a contractor’s bill owed through accounts payable.
- Journal → Recognition: a care plan billed for three months and earned one month at a time, with entries due.
The same folder is Ledgeline Invoicer’s sample. Its invoices, customers and tracked time are files beside the journal, and Open Ledgeline Invoicer on the Invoices page opens them in the Invoicer.
The files the wizard writes
Two files, both plain hledger journals:
main.journal is the file Ledgeline opens. Its first line is the ledger’s name, which Ledgeline shows at the top of the window. It sets the base currency and includes the chart of accounts. New transactions go at the end of it.
; Acme Books
;
; Created by Ledgeline's New ledger wizard. The chart of accounts is in
; accounts.journal; transactions go at the end of this file.
decimal-mark .
commodity $1,000.00
D $1,000.00
include accounts.journal
; Transactions
accounts.journal declares every account with its type:, and a few accounts with the report tags Ledgeline reads:
account assets ; type: A
account assets:bank ; type: C, bsgroup: Cash and cash equivalents
account assets:bank:checking
account assets:receivable ; bsgroup: Accounts receivable, kpi: receivable
account liabilities:loans ; bsterm: noncurrent, bsgroup: Long-term debt
account transfers ; type: A, clearing:
account revenue ; type: R, issection: revenue
account expenses:cost-of-goods-sold ; issection: cogs
Every top-level account has a declared type, so reports classify the accounts correctly even if you rename them into another language. See Accounts.
The transfers account is a clearing account for moving money between your own accounts. See Transfer matching. The business chart’s kpi: tags turn on the startup metrics on Insights. Remove them if you don’t want those figures.
The wizard never writes over a file. It refuses a folder that holds anything other than hidden files. It doesn’t create ledgeline.toml either; see Settings files.
Both files work with the hledger command: hledger -f main.journal check passes on a new ledger.