Skip to content
ProjectsProject 06 / 06

~/mgl $ cat /projects/rcb/README.md

RCB

A tool that prepares the monthly bookkeeping of company card expenses, to spare accounting long, repetitive work. Available on request to any company with the same need.

Project type
Development
Year
2026
A transaction sheet in RCB: the receipt on the left, the taxes read from it on the right and the “the sum adds up” check.

~/mgl $ cat /projects/rcb/challenge.md

The challenge

Client
Accounting tool · Company card expenses
Our role
Design and development

Every month, a company's accounting team prepares the bookkeeping of expenses made with company Visa cards: copying statements into Excel, finding and renaming each receipt, filling in taxes and tips, then choosing the account, tax code and cost centre for every line.

Long, meticulous, repetitive work, on documents that must not leave the company. The rule set from day one: the tool never makes anything up. Every uncertain value has to show, and accounting approves everything before the Excel file is written. And the tool had to open with a simple double-click, with nothing to install.

RCB's review screen, on demo data: four October transactions, values to confirm in orange and the missing receipt in red.
fig. 01 — Monthly review: orange to confirm, red to fill in
The same review screen in dark mode, with the No receipt, To check and Checked filters.
fig. 02 — The review screen in dark mode
RCB settings: jurisdictions, SAP codes and GST, QST and HST rates, to be confirmed on first launch.
fig. 03 — Settings, adapted to the company's accounts

~/mgl $ cat /projects/rcb/solution.md

The solution

Pick a month and RCB does the rest: it reads statements and receipts (PDFs, photos, emails), matches each receipt to its expense, checks the taxes and suggests the rest from past data. All that's left is to confirm what's orange and fill in what's red. The tool then fills in the month's Excel workbook and files the renamed receipts.

  1. // 01Nothing leaves the computerEverything is processed on the spot: no document is ever sent over the Internet.
  2. // 02When in doubt, it asksEvery rule was checked against real past data: when in doubt, the value turns orange rather than being silently wrong.
  3. // 03Protected filesOriginal receipts are never modified, and the workbook is backed up before every write.
  • Preact
  • TypeScript
  • Vite
  • Tesseract.js
  • PDF.js
  • SheetJS

~/mgl $ cat /projects/rcb/architecture.md

RCB’sarchitecture

No server, no install, no account: RCB is a single file that opens in the browser and works directly in accounting's shared folder. Close it halfway through, and the review picks up where it left off.

~/mgl/rcb $ npm run build

RCB's architecture diagramThe RCB file opens in Chrome or Edge, which gives it access to the folder of statements and receipts. Photos and scanned PDFs are read on the spot, in WebAssembly. The tool then writes the month's tab into the Excel workbook and the ZIP of receipts, without ever leaving the computer.local machine · offline[01]folderstatements · receipts[02]browserchrome · edge[03]rcb.htmlpreact · one file[04]exceltab · zip[05]ocrtesseract · wasmrequestresponse
local machine · offline
  1. [01]folderstatements · receipts
  2. [02]browserchrome · edge
  3. [03]rcb.htmlpreact · one file
    • [04]ocrtesseract · wasm
  4. [05]exceltab · zip
RCB's review screen, on demo data: four October transactions, values to confirm in orange and the missing receipt in red.

~/mgl $ cat /projects/rcb/results.csv

The results

Tested on 37 months of real past data, RCB no longer presents any wrong value as certain: when in doubt, it says so. A few more confirmations, but no more errors slipping through. RCB is available on request, adapted to each company's accounts and habits.

3kinds of receipts read: PDF, photo, email
0errors slipping through unnoticed
0documents sent over the Internet

~/mgl $ mail -s "Re: rcb" hello@mg-l.net

Have a similar project in mind? Let’s talk: we reply within one business day.

Contact us

~/mgl $ ls /projects | grep -v rcb

See more projects