OsaBooks: a guide for owners

For the person whose business this is. No accounting background assumed.

If you are the accountant, read the guide for accountants instead. If you are changing the code, read the guide for developers.


What it does

You give it your bank statements. It works out what each line was, keeps a proper set of books, and produces your GST returns and the figures your accountant needs at year end.

The important part is the second sentence. Plenty of software will import a bank statement. What makes this a set of books rather than a list is that every line lands in a double-entry ledger that has to balance, so a mistake shows up as a number that does not add up rather than as a report that quietly reads wrong.

What it will not do


Where your data lives

Worth understanding before you put a year of your business into it, because it depends on how you opened it.

If you started it with the launcher (OsaBooks.cmd on Windows, OsaBooks.command on a Mac), your books are files in a folder on your computer. One file per part — transactions, decisions, invoices, chart. You can back them up, copy them to another machine, and read them without this software. This is the mode to use for real books.

If you opened it as a web page with no launcher running, there is no folder, and your books are kept inside that browser on that device. That is fine for trying it out. It is a poor place for anything you care about:

Either way, nothing is uploaded. Your files are read on your own machine and the app does not send them anywhere. That is also why nobody can recover your books for you if you lose them — there is no copy but yours.

If you keep your books online (Books, then sign in under Books on the server), they are kept on the OsaBooks server instead, where only you and the people you invite can open them, from any computer. Turn on two-factor sign-in there: a six-digit code from an authenticator app on your phone (Google Authenticator, Microsoft Authenticator, 1Password and the like), asked when you sign in on a new computer or browser, so your password on its own cannot open your books. Add a spare, such as your password manager, in case the phone is lost. An owner can also require it for everybody in a set of books, under who can see them.

The app tells you which mode you are in: with a folder behind it, the ledger's name shows at the bottom of the sidebar and the demo offers to "Open the demo books"; without one, it offers to "Load demo data".

Back it up. In folder mode, copy the folder. Wherever you are, Books → Download a backup (also on Bank import) writes everything to a single file you can keep somewhere else, the coding rules and the history included, and Restore from a backup puts it all back.


Running it on your own computer

The demo online is for looking at. For books of your own you run OsaBooks on your own machine, which takes about ten minutes once.

You are not "installing an app" in the usual sense: you are putting a folder on your computer and double-clicking a file in it. Nothing goes into Program Files, nothing runs at startup, and nothing phones home.

1. Install Node.js

Go to nodejs.org and download the LTS version — the one on the left, marked "Recommended For Most Users". Run the installer and accept every default.

Node.js is the engine OsaBooks runs on. You will never open it or see it again.

2. Get the OsaBooks folder

You will be given either a ZIP file or a link. Download it and unzip it somewhere you will find again — Documents is a good choice, and somewhere inside a folder that is backed up is better.

Do not run it from inside the ZIP. Windows will let you open files in a ZIP without unpacking it, and OsaBooks will fail in confusing ways if you do.

3. Start it

Open the folder and double-click:

The first time, it spends a minute or two fetching what it needs and building itself. A black window shows what it is doing; that is normal, and it closes on its own. Your browser then opens at OsaBooks.

To stop it, double-click Stop OsaBooks in the same folder. Closing the browser tab does not stop it.

If something gets in the way

Windows says it protected your PC. Click More info, then Run anyway. This is SmartScreen not recognising a file that few people have downloaded; it is not a virus warning.

Mac says it is from an unidentified developer. Right-click OsaBooks.command, choose Open, then Open again in the box that appears. You only do this once.

Mac says it cannot be opened, or opens it in a text editor. The file lost its permission to run, which happens with some ways of downloading. Open Terminal, type chmod +x (with the space), drag OsaBooks.command into the window, and press Enter. Then double-click it as normal.

Nothing happens, or the window flashes and vanishes. Node.js is probably not installed, or was installed after you first tried. Restart the computer and try again.

It says OsaBooks is already running. It is — the launcher reopens your browser at it rather than starting a second copy.

Where your books end up

In a folder called ledgers inside the OsaBooks folder, as ordinary files. Back that up the way you back up anything else you would hate to lose. There is no copy anywhere else, and nobody can recover it for you.

Updating

You will be given a new folder. Copy your ledgers folder out of the old one and into the new one before you start it. Your books are those files; everything else is just the software.


Setting up

Open Setup. It lists what is needed, in the order it is needed, and ticks each item off as it arrives. You do not have to do it in one sitting.

1. Say whose books these are

At the top of Setup. Your company, trust, or your own name. It is the one thing no file can tell it: a chart of accounts arrives with sixty accounts and not one of them says whose they are.

If one set of books holds several things — a company and two rental properties, say — add the others on Entities & accounts. Most people need only the one.

A rental property is an entity of its own. Give it its kind (residential or commercial), whether it is registered for GST, and its owners with their shares — "Ana Whitcombe 50%; Tom Whitcombe 50%" — then assign its income and expense accounts to it. An entity that is not registered for GST charges and claims none, so anything coded to its accounts stays off every GST return whatever the account's tax code says. Household spending can be an entity too, which keeps it out of every figure rather than mixed into one.

When the owners or their shares change, you are asked whether the new shares apply from a date or correct every year. From a date, the years before keep the shares they had, and a year the change falls in counts each set of shares for its days. Changing only one name is offered as the same person renamed: their shares, own accounts, returns and tax details move to the new name.

If your coded history uses its own categories — "Totara Rent", say — rename the category on Entities & accounts to the account it really is, by its code or its name. The two are merged: every line coded to the category moves to the account, the account keeps its own GST treatment and entity, and the imported file's lines count as agreeing with it.

2. Fetch your files, all at once

Setup lists exactly what to export and where each one lives. If you use an accounting system already, they all come from the same place and the whole set takes a few minutes — so fetch them in one visit rather than one at a time.

Then drop the lot on the same page, in any order. Each file is recognised by its own columns, so you do not have to say which is which.

At a minimum you need your bank statements. Everything else improves what the software can tell you, and Setup says what each one adds. The ones that earn their place quickly:

FileWhat it gives you
Chart of accountsConsistent account names, and the GST treatment each account uses
Your existing coded historyYour own past coding becomes the rules. This is the big one — see below
Trial balance at last year endOpening balances, without which a balance sheet is wrong rather than merely short
InvoicesIncome counted when you invoiced it, and receipts matched to what they settled
Fixed asset registerDepreciation, which no bank statement can produce

3. Say which bank accounts are yours

On Entities & accounts. Your chart lists an account called something like "Business Cheque Account"; your ledger has one identified by its number. Tell it which is which.

This matters more than it sounds. Money moving between two of your own accounts is a transfer, not income — but the software can only know that if it knows both ends belong to you. Get this wrong and paying your own credit card looks like a sale.

Tick A loan beside an account that is money owed, such as a home loan or a TotalMoney account. The cash flow statement then leaves it out of cash, and shows money borrowed or repaid under financing. Accounts whose names say loan, mortgage, TotalMoney or line of credit start ticked.

4. Opening balances

On its own page. Load the trial balance from your previous year end (from Xero: Reporting → Trial Balance, dated the year end before the books start, with all columns selected and Compare with set to 4 years), or choose Enter opening balances and type them in: each account's balance on the day the books start, as a debit or a credit, with a balancing line to retained earnings or owner's equity. It saves only once debits equal credits. Skip this only if the books start at the very beginning of the business, when there is genuinely nothing to bring forward.

5. Let it learn your coding

On Coding reconciliation, load the coded history you exported. The software lines up every coding it proposes against what you actually did, and writes rules from the agreement. Kept your coding on a spreadsheet instead? Download a template gives the three columns it needs — date (day first), amount (money out negative) and the account — with two example lines.

You never type keyword rules. Your own past decisions are the rules.

You do not work through this a row at a time. A year is hundreds of lines and most of them are not in dispute, so each section has a toolbar across the top:

ButtonWhat it does
Use Xero/Imported for all (N) (recommended)Takes the coding your accounting system already had
Use all splits (N) (recommended)Takes its splits, where a payment was divided across accounts
Use rules for all (N)Takes this app's own proposal instead

The green ones are first because they are usually right: a coding somebody already reviewed and filed beats a guess, and where the two agree the choice does not matter anyway.

Read the number on the button before clicking it. With nothing ticked, these apply to every row in that section, and the label says for all (312). Tick some rows and the same button changes to for 12 selected. The label always tells you the scope — it is the one thing worth checking, because there is a lot of difference between twelve and three hundred.

Use the Select all checkbox to take a whole section, or tick individual rows when only some should go one way.

So the usual shape of a year is: accept the bulk of it in a few clicks, then deal with the handful the two sources disagree about — which is exactly the handful worth your attention.


The everyday job

Reconcile is where you spend your time. It shows bank lines that still need a decision, with a suggestion against each one.

Three things to know:

Suggestions are suggestions. Accept, change, or split. Nothing is filed on your behalf.

Corrections stick. Correcting a line teaches it, and the correction survives re-importing the same statement later. If you find yourself making the same correction twice, something is wrong — say so.

It flags what it is unsure about rather than guessing. A line it cannot place stays visible until you deal with it. An empty Reconcile page means the books are done, not that it gave up.

Every confirmed line has an account. A line cannot be confirmed with nothing on it: pick an account, split it, or match it to an invoice. Confirming a line with no account used to take it off the list and post it nowhere.

The three that catch people out

Transfers. Moving money between your own accounts is not income and not an expense. The software looks for the matching leg and offers it as a transfer for you to confirm. Check the pairing before confirming — two unrelated payments of the same round amount a day apart look identical to a computer, and confirming a false transfer hides two real transactions at once.

A line is either a transfer or coded to an account, never both. Accept all confirms the other suggestions on screen and leaves any line that could be a transfer unconfirmed, for you to look at on its own. A line that already has an account is never matched as a transfer for you; if it really is one, linking it asks before removing the coding. Any line left in both states from before this rule is listed at the top of Reconcile.

Customer payments. If you raise invoices, a receipt should settle the invoice, not count as a fresh sale. Coding it as a sale counts the same income twice and leaves the invoice looking unpaid for ever. Match it under Settles which invoice? on the line.

Entertainment. Most business entertainment is only half deductible in New Zealand. In a split, the Entertainment: half deductible button does the halving, the GST and the notes correctly. Use it rather than coding the whole amount. It shows when the chart has both Entertainment and Entertainment - Non deductible.

Sharing a cost. Halve makes two equal parts for you to code, for example half each to two people. Each part takes its own account's GST, so a part coded to someone not registered for GST has none.


GST

GST reconciliation builds your returns from your coding, period by period, on the payments basis.

Load the returns you have already filed — the workbook your accounting system exports, with its page of transactions — and each period is shown against what the books now say, as Box 8 less Box 12. Click a period to see the lines behind the difference: those in the filed return and not in yours, and those in yours and not in the return. A payment the other system recorded against two or three invoices is paired with the one bank line it arrived as.

No workbook to load? Every period the books cover that has no filed return is listed with the return the books produce for it. If that is what you filed, mark as filed keeps it as it stands today, and anything you change later shows against it. If you filed different figures, Record a filed return takes boxes 5, 6, 9, 11 and 13 as filed (and boxes 8 and 12 if you want the filed rounding) and works out the rest.

Differences are normal and not automatically errors. The usual ones:

Each difference should have an explanation, and each period has somewhere to write it: an amount — yours less the filed figure — and a reason. Left then shows only what nobody has explained yet.

Two things the return gets right without being told. A transfer between your own accounts is never on a return, however its bank line reads. And a refund goes back into the box its account belongs to: a refund from a supplier reduces purchases, a refund to a customer reduces sales.

Check the return before you file it. It is your return.


Year end

What your accountant will want, and what this produces. Reports opens on a list of every report, grouped the way an accounting package groups them — financial statements, taxes and balances, transactions — with the ones you star kept at the top.

Choose Accrual (imported file) as the basis and the profit and loss, balance sheet and IR10 become your previous system's own figures, read from its journal report — so the two can be laid side by side.

Draft invoices are not posted, and neither are voided or deleted ones: until an invoice is approved it is not in the books.

Two things the software cannot know, and will not pretend to:

  1. Judgement journals. Provisions, reclassifications, and year-end adjustments your accountant makes in their working papers. Once made, they are entered on Reports → Manual journals: as many lines as the entry needs, to any account including a bank account, and it will not save until it balances. Every one needs a reason typed against it, because a journal nobody can explain is one nobody can defend.
  2. Anything that never touched a bank account. Non-cash adjustments, and anything that happened before the books start.

Expect your accountant to make adjustments. That is what they are for. The point of this software is that they start from a complete, balanced, explainable ledger rather than from a shoebox.


When something looks wrong

A number you cannot account for. Every figure decomposes. Click through from the report to the account to the transactions behind it.

Check nothing is missing. Bank import → Import bank balances compares the running balance of what you imported against the bank's own daily figures. If a transaction is missing or counted twice, it names the exact day and the exact amount. This is the single most valuable check in the app, and it needs no coding at all — do it before you trust any report. No balances export? Open Enter statement balances by hand, choose the account and type the closing balance from two statements, a start and an end: it runs the same check.

Comparing with your previous system. Coding reconciliation lines up the coding of every bank line against the one your previous system gave it, and lists the ones that disagree with a button to take either answer. A payment matched to an invoice shows as settles INV-…: taking the other system's coding for it takes it off the invoice too, and keeping yours keeps the match.

Undo it. History records every change, most recent first, with a way to put it back.

A balance sheet that does not balance almost always means opening balances, not coding.


Trying it first

There is a complete invented set of books — a coffee roastery and two rentals — one residential, one commercial and registered for GST — owned by a couple whose tax returns are in it too, part way through a year, with codings, splits, invoices and a transfer already in it. Worth ten minutes before you load a real year.

Online, it loads by itself: anything you see there is invented, and you can change it freely. On your own machine it opens in books of its own, from Setup → Demo data, so nothing of yours is touched.


Licence and liability

OsaBooks is free software under the GNU Affero General Public Licence, version 3 or later, with the additional terms in NOTICE. You may run, study, share and change it; if you change it and let other people use your version over a network, you have to offer them its source too, keep the credit "OsaBooks, by hidicker" with its link, and give your version a name of its own. It is provided as is, with no warranty. Nobody who wrote or distributes it is liable if a figure is wrong.

You remain responsible for what you file. Check the figures.

OsaBooks — free accounting for New Zealand. Free software under the GNU AGPL v3 with the additional terms in NOTICE, provided as is and without warranty of any kind. Built from user-guide.md.