Bookkeeping you own.

Books is free invoicing, accounting and cash-flow forecasting for small Canadian businesses. It runs on your own server, so your numbers stay yours.

The Books dashboard in light mode: revenue and expenses, what clients owe you, and total profit.
The dashboard, shown with sample data

One app for the whole back office.

Sales, spending, banking, accounting and tax in one place, with no monthly fee and no limit on clients or users.

Send it. See it opened. Get paid.

Email an invoice with the PDF attached, or share a private link your client opens without logging in.

  • Estimates your client accepts online, then one click to invoice
  • A history on every invoice: sent, viewed, paid
  • Invoice in other currencies at Bank of Canada rates
The invoices list in Books with status filters, due dates and amounts.

Know exactly who has paid.

Record a payment by hand, import a batch, or let clients pay by card on the invoice link.

  • Partial payments, refunds and bad-debt write-offs
  • Card payments through your own Stripe account
  • Exchange gains and losses booked for you
The payments list in Books showing each payment, its method and the invoice it settled.

Receipts in, expenses out.

Drag in a photo or a PDF. Each receipt becomes a draft expense for you to check and add to the books.

  • AI reads the date, vendor, total and tax for you
  • Bills and vendors, with the vendor learned from your bank lines
  • A mileage log at CRA rates
The expenses list in Books with categories, vendors and filters.

Match the bank to the books.

Import a statement and work down the list: categorize, match, transfer or exclude.

  • Match a deposit to its invoice and the payment is recorded
  • Rules that sort the transactions you see every month
  • Reconcile against the statement, then lock the period
Bank accounts in Books with balances and transactions waiting for review.

Proper double-entry books.

A real chart of accounts and journal behind every invoice, expense and bank line.

  • Journal entries you reverse instead of deleting
  • Period lock and a one-step year-end close
  • An audit log of who changed what, with before and after
The chart of accounts in Books with account numbers, types and balances.

Twenty reports, ready to print.

From who owes you to a full set of financial statements, for any date range.

  • Balance sheet, profit and loss, cash flow, trial balance
  • Accounts aging, revenue by client, sales tax summary
  • A check for transactions that are missing a receipt
A profit and loss report in Books with income, expenses and net profit.

Canadian tax, worked out from your books.

Books prepares the figures and the slips. You check them and file them yourself.

  • GST/HST return worksheet, line by line
  • T5 and T4A slips with the file the CRA accepts
  • T1 and T2 worksheets at federal and Alberta rates
A balance sheet in Books listing assets, liabilities and equity.

Forecasts that follow your books.

A cash-flow planner sits beside the accounting and rebuilds itself from your invoices, bills and bank balances.

Where the year is heading.

Net position, income, spending and savings rate for the business and for you personally.

  • Separate business and personal plans
  • Debts with payoff dates, assets and net worth
The Forecasts overview: net position across the year with income, expenses and savings rate.

Your balance on any date.

A day-by-day timeline of what comes in and goes out, starting from today's bank balance.

  • Open invoices land on the day that client usually pays
  • Bills and recurring costs land on their due dates
The cash flow timeline in Forecasts showing each expected deposit and payment and the balance after it.

Plan it like a spreadsheet.

A month-by-month grid with formulas, for the income and costs that aren’t in the books yet.

  • Fill a row from invoiced revenue in one click
  • Real numbers replace your guesses as they arrive
The income grid in Forecasts with one row per income source and one column per month.

No surprise at tax time.

A projected tax bill for the year, broken down by bracket, at federal and Alberta rates.

  • What-if scenarios before you take money out
  • How much to set aside from each withdrawal
The projected tax screen in Forecasts with the bill broken down by bracket.

Everything Books does.

The full list, so you can check it against what you pay for today.

  • Sales

    • Invoices, estimates and payments
    • Private client links and PDF downloads
    • Estimates accepted or declined online
    • View and payment history on each invoice
    • Repeat invoices from saved templates
    • An items and services catalogue
    • Spreadsheet import and export
  • Expenses

    • Expenses with categories, vendors and tax
    • A receipts inbox with AI scanning
    • Receipts matched to the right entry
    • Bills and vendor pages
    • Mileage log at CRA rates
    • Time tracking with a running timer
  • Banking

    • Statement import, with RBC and Wise presets
    • Categorize with splits and tax codes
    • Match deposits to invoices and expenses
    • Rules for repeat transactions
    • Transfers between your own accounts
    • Reconciliation with locked periods
    • Stripe sales pulled in as draft entries
  • Accounting

    • Chart of accounts with running balances
    • Journal entries with attachments
    • Period lock and year-end close
    • Opening balances brought from your old system
    • Seven currencies at Bank of Canada rates
    • Audit log with before and after
  • Canadian tax

    • GST/HST return worksheet
    • T5 and T4A slips with CRA filing files
    • Dividends, checked against your GRIP
    • CCA schedule by asset class
    • T1 and T2 worksheets, Alberta rates
    • Recipient SINs stored encrypted
  • Reports

    • Balance sheet and profit and loss
    • Cash flow and changes in equity
    • General ledger and trial balance
    • Accounts aging and payments collected
    • Revenue by client and item sales
    • Sales tax summary and detail
  • Forecasts

    • Day-by-day cash-flow timeline
    • Business and personal scenarios
    • Income and expense grids with formulas
    • Projected tax and what-if scenarios
    • Debts, assets and net worth
  • Files

    • Folders for every document
    • Attach files to any invoice, bill or entry
    • Receipts filed by month for you
    • A list of files that aren’t linked to anything
  • Security

    • Sign in with Face ID, Touch ID or a passkey
    • Two-factor codes from an authenticator app
    • A read-only login for your accountant
    • Sensitive records encrypted
    • Light and dark mode

Three features lean on a service you bring yourself: card payments need a Stripe account, sending email needs Mailgun or Resend, and receipt scanning needs an Anthropic key. Everything else works without them.

Built for your AI agent.

Give an agent like Claude a key and it can do the bookkeeping in Books for you.

  • Ask it questions

    Who still owes me? What did I spend on software this year? Can I afford this next month? It reads the books and the forecast, then answers.

  • Hand it the chores

    It can create invoices, record payments, import a bank statement, sort and match the transactions, and post journal entries.

  • Keep the last word

    The agent works under the same rules you do. Locked periods stay locked, and every change lands in the audit log.

Get up and running.

You don’t need to be technical. Copy a prompt below into an AI agent and it walks you through every step.

  1. Pick where it runs

    A small cloud server you rent, or your own computer if you only want to try it.

  2. Copy the prompt

    Paste it into Claude Code, or any AI agent that can run commands for you.

  3. Follow along

    Account, two-factor sign-in, billing, a locked-down server, install, backups and a final security check, one step at a time.

A cloud server DigitalOcean, AWS or one you already use.
You're helping me install Books, a free open-source invoicing and accounting app, on my own cloud server. I'm not technical. Go one step at a time, tell me exactly what to click or type, and wait for me to say "done" before you move on.

This server will hold my company's financial records, so treat security as the main job, not an extra. When there's a choice between easier and safer, choose safer and tell me why in one sentence. Never ask me to paste a password, a card number, a recovery code or a secret key into this chat.

The code and the full install guide are here:
https://github.com/ramathornn/books

Read docs/DEPLOYMENT.md in that repository first and follow it, including its notes for the provider I pick. Where this prompt asks for more security than the guide, do both. If the guide and your own knowledge disagree, follow the guide and tell me.

Start by asking me where I want Books to run:
- DigitalOcean
- Amazon Web Services (AWS)
- Another provider I already have an account with

If I have no preference, compare the options in two or three plain sentences, with the monthly cost of each, and let me choose. Use my provider's own names for things from then on.

PART 1. MY ACCOUNTS, BEFORE ANY SERVER EXISTS
1. Create the provider account, or sign in to the one I have. Have me use a long, unique password saved in a password manager.
2. Turn on two-factor authentication with an authenticator app or a security key, not text messages. Have me save the recovery codes somewhere offline.
3. On AWS: secure the root user, then create a separate everyday admin user with its own two-factor, and never use root again. Don't create long-lived access keys. On DigitalOcean: don't create an API token unless we truly need one, and delete it when we're done.
4. Check the payment method, set a billing alert and a monthly budget, and tell me the monthly cost of what you recommend before we create anything.
5. Buy a domain name or use one I own. Turn on two-factor and the transfer lock at the registrar, and make sure the email account that can reset these logins has two-factor too.

PART 2. THE NETWORK AROUND THE SERVER
6. Create an SSH key on my computer (ed25519, protected with a passphrase) and add only the public half to the provider. The private half never leaves my computer and never goes in this chat.
7. Put the server in its own private network (a VPC), not the shared default one.
8. Create the provider's own firewall (a cloud firewall or security group) before the server, and attach it at creation. Deny everything inbound by default. Allow web traffic on ports 80 and 443 from anywhere. Allow SSH on port 22 from my current IP address only; show me how to update that rule if my address changes. Nothing else is open, and the database port is never open to the internet.
9. Create the server: the newest Ubuntu LTS, at least 2 GB of memory, the region closest to me, SSH key login only (no root password emailed to me), with the provider's backups and monitoring turned on. On AWS, require IMDSv2 and encrypt the disk.

PART 3. LOCKING DOWN THE SERVER ITSELF
10. Before anything else: apply all updates and reboot if needed.
11. Create a non-root user for everyday work and give it my SSH key. From then on we don't log in as root.
12. Harden SSH: no root login, no password login, keys only, a low limit on login attempts, only my user allowed, and idle sessions closed. Important: before you restart SSH, have me open a second connection to prove I can still get in, so we can't lock ourselves out.
13. Turn on the server's own firewall (UFW) as a second layer with the same rules: deny inbound by default, allow 22, 80 and 443 only.
14. Install fail2ban to block addresses that keep guessing logins, for SSH and for the web server.
15. Turn on automatic security updates, including an automatic reboot at a quiet hour when an update needs one.
16. Remove or switch off anything the server doesn't need, then list every listening port and tell me what each one is. The only ports reachable from outside should be 22, 80 and 443.
17. Set the clock to sync automatically, and make sure logs are kept and rotated so the disk can't fill up.

PART 4. BOOKS AND ITS DATABASE
18. Install Books by following the guide. Run the app as its own unprivileged user, never as root.
19. The database listens on the server itself only (127.0.0.1), with its own user and a long random password you generate on the server. It must not be reachable from the internet; prove it to me from outside.
20. The app listens on the server itself only, behind the web server. Only the web server faces the internet.
21. Generate every secret on the server with a proper random generator (the sign-in secret, the encryption keys, the database password). Keep them in the .env file, owned by the app user and readable by nobody else. Never print them here, never put them in git, and never reuse one from an example file.
22. Leave the optional extras (card payments, email sending, bank feeds, receipt scanning, the agent API key) switched off unless I ask for them. If I do want the agent API key, make it long and random, and explain that anyone who has it can read and change my books.
23. Give uploaded files and backups their own folders that only the app user can read.

PART 5. HTTPS AND THE WEB SERVER
24. Point my domain at the server and get a free HTTPS certificate that renews itself. Test the renewal with a dry run.
25. Send all plain HTTP to HTTPS, allow only modern TLS versions, and turn on HSTS once HTTPS is working.
26. Hide the web server's version details and set sensible limits on request size and rate for the sign-in page.
27. Run an outside check of the HTTPS setup (for example SSL Labs) and tell me the grade. Aim for an A.

PART 6. MY BOOKS LOGIN
28. Create my admin login with a long, unique password, load the standard chart of accounts and tax codes, and sign in for the first time.
29. Turn on two-factor sign-in or a passkey for my Books login in Settings before I enter any real data. Have me save the recovery details.
30. If my accountant needs access later, show me how to give them their own read-only login instead of sharing mine.

PART 7. BACKUPS, AND PROVING THEY WORK
31. Set up a nightly backup of the database and the uploaded files, encrypted, with at least 14 days kept.
32. Copy the backups somewhere off the server (the provider's object storage or backups in another region), so losing the server doesn't lose the books. Keep the backup encryption key in my password manager, not only on the server.
33. Do a real restore test now: restore last night's backup into a scratch database, show me it worked, then remove the scratch copy. Write down the restore steps for me.
34. Also turn on the provider's snapshots or weekly backups as a second safety net.

PART 8. WATCHING IT
35. Set up a free uptime check on my Books address that emails me when it's down.
36. Set provider alerts for high CPU, a nearly full disk and unusual bandwidth.
37. Show me the two or three commands that tell me who has logged in, what fail2ban has blocked and whether updates are being applied.

PART 9. FINAL SECURITY AUDIT
Before you tell me we're finished, check each of these and show me the result as a pass or fail list. Fix every fail.
- Two-factor is on for the provider, the registrar and my Books login.
- Root login and password login over SSH are both refused (test them).
- From outside, only ports 22, 80 and 443 answer, and 22 answers only from my address (scan it).
- The database and the app port don't answer from outside.
- HTTP redirects to HTTPS, the certificate is valid and renewal passes a dry run.
- The .env file and the backups are readable only by the app user.
- Automatic security updates and fail2ban are running.
- Last night's backup exists, a copy is off the server, and a restore has been tested.
- No leftover API tokens, access keys, test users or default passwords exist.
- The server's software is fully up to date.

Rules for you:
- If you can run commands for me, ask before each command that changes the server and say what it does in one plain sentence.
- If you can't run commands, give me one command at a time to paste, and ask me what it printed.
- Never weaken a security setting to get past an error. Stop, explain the error in plain words and suggest one fix at a time.
- Don't install anything the guide or this prompt doesn't call for without asking me first.
- When we're finished, give me a one-page summary to keep: the address of my Books, how I log in to the server, where the backups are and how to restore them, what it costs each month, how to update Books, and what to do first if I think someone has got in.
Your own computer Free. For trying Books before you put it online.
You are helping me try Books, a free open-source invoicing and accounting app, on my own computer. I am not technical. Go one step at a time, tell me exactly what to click or type, and wait for me to say "done" before you move on.

The code is here:
https://github.com/ramathornn/books

Read the README in that repository first. It includes a setup script, setup.sh, that needs Docker and Node.js 20 or newer.

Walk me through these, in this order:
1. Checking whether Docker Desktop and Node.js 20 or newer are installed, and installing whichever is missing.
2. Downloading the Books code into a folder I choose.
3. Running the setup script and explaining what it is doing while it runs.
4. Creating my login, loading the standard chart of accounts and tax codes, and opening Books in my browser.
5. Showing me how to stop Books and how to start it again tomorrow.
6. Showing me where my data is stored and how to make a backup copy of it.

Rules for you:
- This copy is only for this computer. Do not open it to the internet or change my router or firewall.
- If you can run commands for me, ask before each one and say what it does in one plain sentence.
- If something fails, show me the error, explain it in plain words and suggest one fix at a time.
- When we are finished, tell me how I would move this data to a server later if I decide to keep using Books.

The install guide in the repository puts a small server at roughly $6 to $12 US a month, plus a domain name. Books itself is free.

Books is software, not tax or accounting advice. It prepares your figures, but it doesn’t file anything with the CRA. Its tax worksheets use federal and Alberta rates, so check your filings with an accountant. You run Books yourself, so the server, the backups and the data are yours to look after.

Free. Open source.

Books is released under the MIT licence. A Mac app is on the way, and a Windows app will follow if enough people ask. We built it for our own agency, and we can set it up for yours.

Get in touch

Tell us what you’re working on. We’ll give you an honest quote, no strings attached.