28 November 2026 · 4 min read
A ledger of our own, and invoices that know their place
Three days in the workshop: a bookkeeping tool started from scratch, Invoices moved into each project where it belongs, and credit notes for the invoice that should never have gone out.

Three days, one theme: money that is written down properly. OScar spent them learning to keep books, and Invoices learned two things that bookkeeping asks of it: to live in the project it belongs to, and to cancel a mistake with credit notes instead of an eraser.
Invoices lives in its project now
Until now Invoices was one tool for the whole account, with a project picker at the top of every new invoice. That picker is gone. Add Invoices to a project and it is that project's own: its invoices, its numbering series, its saved lines and email texts. Two businesses, or two lines of work, never end up in the same list by accident.
Each project's Invoices also gets a Name on invoices: the name your emails and reminders sign off with. It starts as the project's own name, without the number some of us put in front of project names to keep them in order, and you can change it on the tool's front page.
A numbering series belongs to the project it was made in, while its letters stay yours across every project, so two projects never print the same invoice number. Old links to the tool still work: they open the same page in your home project. Everything is in the Invoices guide.
Credit notes, for the invoice that should not stand
Everyone sends one eventually: the wrong amount, the wrong customer, a job that was cancelled after the invoice left. Deleting it was the old answer, and only for the newest invoice in its series. The proper answer is a credit note, and now there is a button for it.
Open the invoice under Sent and press Credit this invoice. A credit note is made at once, with the next number in the same series, dated today, for the whole invoice with its amounts negative. It names the invoice it cancels by number and date, which is what the tax rules ask a credit note to do. Both then stand in the Archive, each linking to the other, and neither is chased, reminded or counted as unpaid. Download its PDF and send it to your customer.
Two things are on purpose. A credit note and the invoice it cancels can never be deleted: they are records, and records stay. And only an unpaid invoice can be credited for now. Paying money back is a refund, a step of its own that is still to come, along with crediting part of an invoice.
The EC sales list knows about them too. A credit note to a buyer in another EU country is counted in the period it was made, with a minus, beside that buyer's other sales. An invoice and its credit note in the same period simply cancel out.
Behind the scenes: a bookkeeping tool
Most of these three days went into something you cannot open yet: a bookkeeping tool, built for Swedish companies first. It keeps a company's books by double entry, the way an accountant would: every entry balances, nothing posted is ever changed (a mistake is corrected with a new entry), the numbers never skip, and each entry is sealed so a change in the middle would show.
In three days it learned a lot:
- the Swedish chart of accounts, in Swedish and English;
- an inbox where receipts wait to be booked one at a time;
- bank accounts fed by a statement file, or by the bank itself;
- a VAT return read straight from the books, and approved;
- templates and personal rules for the bank lines that come back every month;
- invoices from Invoices, flowing into the books by themselves to be posted;
- a customer ledger that shows who still owes what, held against the books;
- a company that keeps its books by the cash method, with what was still unpaid at the year's end booked on its last day, as the law asks.
Every rule in it was read at its source first: the Swedish Bookkeeping Act, the guidance of the Swedish Accounting Standards Board, the Tax Agency's own pages. Where a source said nothing, nothing was guessed. Before any change to the books' engine went in, someone other than its author read it, and that read found real things more than once.
Credit notes are where the two tools meet. On a project whose company keeps its books in OScar, an invoice is a record from the moment it is sent, so Delete is not offered there and a credit note is the way to put a mistake right.
Small things
- A mailbox's browser tab says which box it is again ("Inbox", "Sent") instead of the site's name.
- Crediting an invoice, or marking it unpaid before its payment was booked, tidies the bookkeeping inbox by itself, with a note saying why.
- A project you opened once can still be deleted: opening Invoices no longer leaves something behind that held it.
- A round of tidying across the new code: one way to clean a line of text, one way to count days, one place for a customer's name. Nobody will see it, which is the point.
Next: the credit note's own entry in the books, then keeping the very PDF that was mailed, and one seller per company for anyone who runs more than one.
- changelog
- oscar
- invoices
- bookkeeping