Made
How Huismus is made
With Huismus, quality comes first: these are your books. AI writes much of the code, the maker decides and keeps watch, and every change is checked so your invoices and amounts stay right.
AI makes a lot, the maker decides
The maker decides what gets built and in what order. The list of work is public, next to the code. AI then writes the plan, the code, the tests and the texts.
A new screen, or a task that will work differently, is looked at by the maker before it goes into Huismus. Anything about money, text about law or tax without a source, and everything that changes existing records is also decided by the maker, not by the AI.
The maker doesn't read the code itself line by line. The tests and the reviewers below do that. The maker keeps their own books in Huismus and tries a new version there first.
Fixed rules, in plain text
The rules Huismus keeps to are written in plain text next to the code: amounts in cents, issued stays as it is, numbers without gaps, one place for the totals. While building, AI reviewers with one task each look at a change: does it keep to those rules, does it do what was agreed, and can the code be explained.
The work goes in small steps: one subject per change, with a plan first. For everything that calculates with invoices, the tests come before the code.
What Huismus says about tax comes from an official source, with the link and the date. Without a source, Huismus doesn't say it.
Every test, with every change
Huismus has more than 2,500 tests. A test is a piece of code that makes Huismus do something and checks the outcome: issuing an invoice, adding up a total, reading an export.
They all run with every change on GitHub, where the Huismus code is public: first on the change itself, then on the whole. One command says yes or no.
That same command also checks that the database matches the code, and that no files of real records sit among the code.
An issued invoice stays as it is
Once issued, an invoice or credit note can't be changed or deleted. You correct a mistake with a credit note.
Two places guard that. The Huismus code refuses such a change, and the database refuses it too: for the document, for its lines and for the VAT per rate. If the code has a bug, the database still stops the change.
There is one exception, and you choose it yourself: Edit anyway takes an invoice back to a draft, with the same number. That no longer works once a credit note has been issued for that invoice.
Numbers without gaps
An invoice only gets its number when you issue it, in the same step that makes it final. If issuing fails, no number is used up.
One test asks for twenty numbers at the same moment and checks that they come out as exactly 1 to 20: no gap and no number twice.
Amounts in whole cents
Huismus stores every amount in whole cents, so no cent gets lost in the arithmetic. One piece of code works out the totals, for the screen and the PDF. The import uses it to check your old invoices.
Tests with random invoices check that the subtotal is always the sum of the lines, and the total always the subtotal plus the VAT.
The import checks every total
An import starts with a trial run: you see what would happen, and nothing is saved yet. Huismus works out each invoice's total again and compares it with the total from your old bookkeeping app, to the cent. If one differs, you see which one and by how much.
Import the same export twice and nothing changes the second time. A test checks that too.
In a real browser
Some of the tests use Huismus in a real browser, the way you do: clicking, typing, issuing an invoice. They open every page in Dutch and in English, at three screen widths from phone to wide screen, and walk through the app with nine years of made-up records.
With every change that happens in Chromium, the engine of Chrome and Edge. When something you see changes, afterwards also in the engines of Safari and Firefox.
Before every new version
A new version only goes online when two checks pass: the packages Huismus builds on have no known vulnerability, and the security check of Django, the framework under Huismus, gives no warning.
Before those checks, a separate AI reviewer goes through everything that changed since the previous version: passwords and keys, connections to the outside, ways in without logging in, and everything you import. A finding rated high or medium holds the version back until it is fixed. A low one goes on the list of work. This is an agreement written next to the code, not an automatic check.
What a test doesn't catch
A test only catches what someone thought of. Some bugs are only found by someone using Huismus. For such a bug there is first a test that shows it, then the fix, and where possible a check that catches every bug of that kind.
The list of those bugs is next to the code (in Dutch), including the kinds that have no check yet. If you find a bug yourself, report it.
Check it yourself
The source code is public, and so are the tests and the agreements. These are the places this page is about:
Try Huismus
Free, no account. Your records stay on your own computer.
You install Huismus on your Mac or PC.
See what Huismus doesWant to look around first? When you first open it, choose Try with sample data.