au-accounts-app
v1.2.0
Published
Offline, self-contained AU small-business bookkeeping app — invoicing, quotes, bills, bank reconciliation, GST/PAYG and BAS, loans and lending, share investments with CGT parcel tracking. Runs from file:// in a browser, no install or server.
Maintainers
Readme
AU Small Business Accounts
A self-contained, offline bookkeeping app for an AU sole trader / small business (with
optional personal/investment ledgers). No install, no server, no build step — open
AU_Accounts_App.html in a browser and it runs entirely client-side,
saving to local storage. It ships as a small folder rather than a single file (the HTML plus a
vendored charting script, see vendor/) — keep them together.

Get started
Two steps: get the folder, then double-click the HTML file. There is nothing to install and no account to create.
1. Get the code. Either way, you end up with a folder on your machine:
Download a ZIP — on the project page, use the Code button → Download source code → zip, then unzip it wherever you keep your documents.
Or clone it, if you have Git:
git clone https://gitlab.com/peter.prib/au-accounts-app.git
2. Open AU_Accounts_App.html. Double-click it in Explorer/Finder and it opens in your
default browser, ready to use. (If double-clicking opens an editor instead, right-click the
file → Open with → your browser.) Bookmark the page so you can get back to it.
Keep the vendor/ folder next to the HTML file — that's the charting script and the storage
compressor, and the app loads them from alongside itself. If you ever relocate the app, move
the whole folder rather than the file on its own.
That's the entire installation. One thing worth knowing before you start entering figures: your browser keeps your books against the page's location, so settle on a folder the app can stay in. Moving it later is fine — export a backup first (Settings & Data), then import it once the app is open from its new home.
Or, if you have Node installed
npx will fetch it, put it somewhere permanent and open it for you:
npx au-accounts-app # opens it in your default browser
npx au-accounts-app --path # print the file path instead
npx au-accounts-app prices CBA.AX BHP.AX
# fetch share prices → share-prices.csv, to import in the app
npx au-accounts-app --with-prices
# open it AND run the price helper, so "Fetch from Yahoo" works
npx au-accounts-app prices --serve
# just the helper, if the app is already open
npx au-accounts-app --help # all optionsThe first run copies the app to ~/au-accounts-app/ and opens it from there; later runs open
the same copy, and a newer version refreshes it in place. That folder is the app's permanent
home — your browser stores your books against the page's location, so the app needs to live
at a path that doesn't move. (npx alone would run it from a cache directory that changes
between versions and can be cleared, which is how ledgers go missing.) Override the location
with AU_ACCOUNTS_HOME, or use --here for a throwaway look at a version without installing
it. An upgrade only ever replaces the app's own files — anything else in that folder,
exported backups above all, is left alone.
Either way it runs as a local file:// page: no server, no build step, nothing leaves the
machine. (The one exception is the optional share-price lookup — prices above, or the Shares
tab's "Update prices", which sends ticker symbols and nothing else to Yahoo Finance. A file://
page can't read a cross-origin response, so prices --serve runs a small helper on your own
machine that fetches quotes for the page — the same arrangement a server-backed app uses, except
it only runs while you run it, only answers on loopback, and only ever sees ticker symbols. The
app works with it absent and tells you the command if you ask it to fetch without it.) If you move the app yourself, export a backup first (Settings & Data) and import it
afterwards — the browser won't carry your data across to the new location.
See HOW_TO_USE.md for the full feature walkthrough (invoicing, quotes, bills,
bank reconciliation, share investments, loan accounts, money lent out, GST/PAYG and quarterly
BAS, financial-year reporting, multiple ledgers, and backups).
A look around
A first open is empty — these are the same screens with a year's trading in them.
Invoices. Draft → Issued → Paid, with what's overdue called out. Bills (payables) work the same way on the other side.

Bank. Import the CSV/OFX/QFX/QIF your internet banking exports (or a statement PDF) and match each line against an invoice, a bill, a loan, a share trade or an expense account. The app suggests the match where it can see one.

Shares. Holdings by parcel (tax lot), with the CGT working — which parcels a sale drew from, the 12-month discount, and the gain that lands in the tax estimate.

ATO / BAS. GST and PAYG accrue as you trade; each quarter's activity statement nets them onto one ATO running-balance account that payments and refunds settle against.

End of year. The pack you hand an accountant — and it opens with the checks an accountant asks first, so a draft invoice or an unmatched bank line can't quietly sit outside the figures.

The screenshots are of a made-up business. Every figure in them was posted by the app's own
functions from the demo ledger in tools/demo-ledger.js;
node tools/screenshots.js rebuilds the ledger and re-photographs each tab in a headless
browser, so the pictures can't drift away from what the app actually renders.
Features
- Customers, suppliers, and a products/services catalogue
- Quotes, with a labour/materials/markup line calculator → convert an accepted quote straight into a Draft invoice
- Invoices (receivables) and Bills (payables), each with a Draft → posted lifecycle that keeps the journal balanced double-entry. A bill line's GL account can be corrected even after the bill is approved or paid — the posted journal entry fixes itself automatically
- Payment plans — settle one bill (or invoice) over dated instalments: rates in quarters, an insurance premium monthly, an ATO arrangement. Instalments don't have to be equal, payments settle them in date order wherever you record them, overdue follows the instalment rather than the document's own due date, and changing one instalment re-cuts the rest the way that supplier actually runs a plan — spread over the later ones, all on the final payment, a fixed amount for however many it takes, or nothing at all. If paying monthly is quoted at more than the up-front price, entering the quoted instalment adds the difference to the bill as a surcharge line, and next year's renewal opens on this year's plan. A plan is a schedule: it posts nothing
- Bank tab — import CSV/OFX/QFX/QIF statements and reconcile against invoices, bills, loans, share buys/sells, or general income/expense accounts. Supports multiple bank accounts, with fuzzy supplier matching, quick bill creation right from an unmatched transaction, and one-click matching of a transfer between your own accounts (two transactions, one balanced JE, no P&L impact)
- Share investments — buy/sell tracking by parcel (tax lot), with a sell-side suggestion for which parcel(s) to draw from to minimize the taxable gain (Australia's 50% CGT discount for 12-month+ holdings, loss carry-forward across financial years) — folded straight into the tax set-aside estimate. The suggestion is a starting point, not the only option: every parcel still holding units is listed and editable, so a contract note naming specific buy orders can be reproduced exactly, and editing a sale re-opens the split as recorded. Brokerage is split from the cost of the shares themselves: either capitalised into the CGT cost base (the investor default) or deducted as an expense (a share-trading business), with its GST optionally claimed as an input tax credit. Any buy or sell can be corrected in place — the original journal entry is rewritten rather than reversed, and if the trade has since been partly sold, the affected sales are restated against the new cost base and the changed gains reported back. Consolidations and splits rescale the affected parcels without posting anything: not a CGT event, total cost base unchanged, and every parcel keeps its original acquisition date so the 12-month discount clock isn't reset. Each holding has a single dated history of its buys, sales and corporate actions — buys shown in the units they were actually bought in, so a consolidation reads as the restatement it was — and every sale takes a note for why it looks the way it does ("company collapsed, liquidator's declaration", "takeover scheme")
- ATO / BAS — GST and PAYG accrue as you trade, a quarterly (or monthly) activity statement nets them onto a single ATO running-balance account, and payments or refunds settle against it from the Bank tab. Handles lodging in one quarter and paying in the next, part-payments, refunds, and transactions entered late for an already-lodged quarter (they roll into the next statement). PAYG income-tax instalments feed the tax set-aside estimate automatically
- GST on purchases — per-line input tax credits on bills (GST-inclusive or exclusive entry), plus a GST question on direct bank matches, so deductions aren't overstated by the GST you get back. The split is shown per line — GST, ex-GST and inclusive amounts side by side — and each line's GST can be typed over with the figure the supplier's tax invoice actually states, for the lines that are part GST-free or invoices that round their own way. Nothing is separated out and nothing reaches the GST account unless the ledger is registered
- Every long list scrolls and filters — journal, bank, invoices, bills, quotes, contacts, loan and lending movements, share parcels and history all sit in a scrolling box with a type-ahead filter (terms combine; matching is over everything the row shows, including your own notes) and a live count. Filters survive the re-render that follows an action, and no list is truncated any more
- End-of-year report — a complete year-end pack for the selected financial year, on screen and printable to PDF: income and deductions per account, the capital-gains schedule with its discount and loss-offset working, private spending shown separately, activity statements lodged and where GST/PAYG stand at 30 June, the estimated tax position, a balance sheet, and every loan with its closing balance and interest. Each figure carries the individual tax-return item it feeds (a suggested starting point, not lodgment advice), and an account nothing maps to is reported rather than guessed at. It opens with the checks an accountant asks first — journal balanced, balance sheet reconciling to equity plus accumulated profit, no draft invoices or bills left dated in the year, nothing imported still unmatched, no posting to an account code that doesn't exist
- Editable chart of accounts, with three account-pack presets: small business (AU sole trader), personal with investments (property & shares, including paired private/deductible accounts for bills shared between home and an investment property), and general personal expense management (private budgeting categories, kept out of the tax estimate entirely)
- Per-facility loan accounts (principal + paired interest account, 1:1) with deductible/non-deductible tracking, and an optional linked asset account for a net-position view (loan vs. an offset account or the property itself)
- Money lent to another party — the same one-arrangement-one-account model mirrored: an asset account for what they still owe you, a paired income account for interest they've paid, advance/repayment tracking with the interest split (only the interest is income), and a write-off path for what won't come back. Borrowing and lending share one implementation, so auto-matching, the net position and the posting rules behave identically on both sides
- Two accountant-facing exports: a deductible-only P&L extract, and the full journal for your own reconciliation
- A single Financial year selector (Jul–Jun, AU) driving the tax set-aside estimate, Dashboard accounting graphics (income vs expenses by month, expense breakdown, AR/AP snapshot), and every period-based CSV export
- Multiple independent ledgers (e.g. business ABN + personal) from one file
- CSV/JSON export for every list, plus full JSON backup/restore
Data & privacy
All data lives in the browser's local storage — nothing is sent anywhere. Exporting a backup
(Settings & Data → "Export full backup") writes a timestamped accounts_data-<date>-<time>.json, plus an unstamped accounts_data.json when you've pointed it at a backup folder.
That file is deliberately excluded from this repository (see .gitignore) since it holds
real business/personal details once you start using the app — keep it local, or store it
somewhere private if you back it up.
Talking to an AI assistant about your books
ACCOUNTS_AGENT_GUIDE.md documents the exact data shape and
accounting rules an AI assistant (e.g. Claude) should follow if you ask it to read or edit
accounts_data.json directly — so the assistant and the app stay in sync and the ledger stays
double-entry-correct.
Copyright
Copyright (c) 2026 Jaroslav Peter Prib, Purveyor of Execellence. See LICENSE.
