OScar.
← Blog

30 November 2026 · 6 min read

The bank line that finds its invoice

A long day in the bookkeeping workshop: a payment on the bank statement now finds the invoice it pays, a euro invoice prints its VAT in kronor, the books pack into one file, print their reports as PDF and write their own description.

A bank statement with one line circled and tied by a string to an invoice on a corkboard, beside a small moving box of folders

Some days are about one big new thing. This one started with the little moment every small business knows: the money has arrived, and now it has to meet its invoice. Behind the scenes, OScar's bookkeeping learned bank reconciliation the friendly way: the bank line and the invoice find each other, and you only say yes. Along the way, invoices in euros learned to speak kronor, a company's books learned to pack themselves into one box, and by the evening they could print their reports and write down, in plain Swedish, how they are kept. That closes the bookkeeping tool's first chapter.

The bank line that finds its invoice

Until today the same money could wait in the bookkeeping inbox twice: once as "the invoice was paid" and once as the line on the bank statement. Book both and the payment is in the books twice.

Now a line of money coming in looks at the company's open invoices and asks, politely, "the payment of one of these?" If the bank's text holds the invoice's payment reference or its number, that invoice stands first and says so. Pick it, and the voucher fills itself in: the bank on one side, what the customer owed on the other. One press posts it, marks the invoice paid in Invoices on the day the bank says the money came, and both waiting things leave the inbox together. One payment, booked once.

When it is certain (the text names exactly one open invoice, and the amount is that invoice's, to the öre) the inbox's list offers it as ready, so a pile of customer payments can go in with a tick each. Anything less certain waits for you to open it and pick: a short payment, or a fee the bank took on the way, is still yours to book by hand.

And because mistakes happen, Mark as unpaid takes such a payment back and puts the bank line back in the inbox.

Euro invoices that speak kronor

A Swedish company that charges Swedish VAT on an invoice in euros (or dollars) has to state that VAT in kronor too. Invoices now prints it under the total: the VAT in SEK, the European Central Bank's rate it was worked out at, and the day of that rate. The books then take exactly those kronor, so what the invoice says and what the VAT return reports are the same figure.

The rate is the ECB's of the invoice date, or the last one before it (a Saturday's invoice uses Friday's). If the rates cannot be read at the moment you send, that invoice waits a minute rather than going out without its kronor.

One seller per company

An invoice says who it comes from, and in the bookkeeping projects that is now the company itself: its name, its numbers, its address and how to pay, kept in one place on the company's page, under "On invoices". Every invoice of the company's projects prints those details, and keeps the ones it was sent with, so changing the address tomorrow never rewrites the invoice you sent today.

The invoice you sent is the invoice you keep

Two smaller pieces from the morning round this out. A credit note now gets its own entry in the books: the sale taken back on the credit note's own day, from the credit note's own figures. And the PDF an invoice went out as is kept in the company's archive exactly as it was sent, with a fingerprint that shows it has not changed. A later copy (a reminder, a download) is those very bytes, not a fresh drawing that only looks the same.

Books that pack themselves

Books are kept for seven years, and they belong to the company, not to the program. So the last piece of the bookkeeping tool's first chapter is a single button: Make the archive. In the background OScar gathers everything into one ZIP file: every fiscal year as a SIE file (the Swedish standard for moving books between programs), every voucher and line as plain data, every receipt and invoice PDF, the history of what was done, and an index with a fingerprint for each file. Each file is checked against its fingerprint on the way in, so an archive that says it is whole is whole.

It is ready in seconds, kept for a week, and downloads straight to your computer. The README inside even explains how to check a file yourself. Only once such an archive covers everything in the books can books that hold records be erased: you always get to take them with you first.

Reports you can print

The Reports page grew a Download PDF button that hands over exactly what the screen shows, for the whole year or the month you picked. The archive takes every fiscal year's reports in Swedish, with the two classics of printed bookkeeping beside them: the journal (every voucher in the order it was entered) and the general ledger (every account line by line, with its running balance). One small typographic quest on the way: the first font's digits came in different widths, and a column of amounts should line up like a calculator tape. A font whose digits are all one width solved it.

Books that explain themselves

Swedish law asks a company to keep a description of its bookkeeping system: how the books are kept, which rules write entries, where everything is stored. In OScar it is now made from the books themselves, every time you ask: the company, how each part feeds the ledger, the chart held up against the standard Swedish chart, how accounts add up into the reports, the series, every rule that proposes an entry, and an archive plan that says plainly where each part is kept. What only the company can say (how paper receipts are handled, who does what, what happens outside OScar) it writes itself on the Company page, and every change is kept with what it said before. A version is filed in the archive with one press, and by itself whenever a year is closed. Beside it sits the processing history: every line of the books' log, in words.

Small things

  • A payment in another currency books the difference between the invoice's kronor and the bank's kronor as an exchange gain or loss, on the accounts the Swedish chart has for exactly that.
  • A company's details for invoices are refused while the address or a way to pay is missing, and New invoice sends you to the right page instead of letting an invoice go out half-dressed.
  • Every new piece of the books' engine was read by an independent reviewer before it went live, two or three times each, and every finding was fixed first. For the written description that meant reading every sentence against what the tool really does, and rewriting the ones that promised a little too much.
  • A very big year's journal and general ledger come in numbered parts, so even a busy company's archive is made in one go.

With that, the books stand on their own: kept, checked, printed, described and packed. Next on the workbench: purchases (suppliers and their bills, and sending a receipt to the books straight from Documents or a mail), and the VAT return's deadlines showing up in Tasks.

  • changelog
  • oscar
  • invoices
  • bookkeeping