Got a project?

Get in touch
All work

SpendSilo (demo)

Every invoice photo is checked by a person before it counts as spend.

An invoice capture app for South African businesses. It reads photos of invoices and till slips with a vision model, checks the numbers and holds each one for a person to approve before it reaches the spend reports.

Client
SpendSilo (demo)
Year
2026
Role
Sole developer: product, extraction pipeline and public demo

Works on your phone

Open the demo on your phone and add it to your home screen.

SpendSilo is a progressive web app, so it installs straight from the browser with no app store involved. Tap Try the demo and add it to your home screen when it offers. From then on it opens full screen like any other app, and Take photo goes straight to the camera, so you can snap a till slip and watch it being read.

spendsilo.yourdesign.co.za

Everyone who visits shares the demo account until it resets at night, so don't upload anything private.

2 cents
Allowed gap between subtotal plus VAT and the total
34
Receipt photos in the hand-labelled test set
64
Sample documents in the demo, restored every night

Context

I built SpendSilo in June 2026 to see how much of an invoice capture app could run as a website. It installs to a phone’s home screen and opens full screen like any other app, with no app store in between. You photograph a supplier invoice or a till slip, or drop a batch of PDFs on the desktop, and get back the supplier, dates, totals, VAT and line items as clean data.

It is built for South African businesses, so it defaults to rand and 15% VAT, reads dates day first and knows what a South African VAT number looks like. I parked it in July 2026 and shut its servers down, then brought it back in December 2026 as a public demo.

The problem

Supplier paperwork reaches a small business as WhatsApp photos, crumpled till slips, scanned PDFs and the odd handwritten note. Typing it into a spreadsheet is slow, and a vision model can do most of the reading. But a model will return a wrong total with full confidence, and one misread total spoils every report built on it. The same shop also turns up under three different names, and the same slip gets photographed twice.

What I did

Nothing is approved automatically. Every document waits in a review queue, where a person sees the original photo beside the extracted fields, corrects what is wrong and approves it. Only approved documents count in the dashboard, the reports and the exports.

The SpendSilo review screen with a sample fuel-station till slip on the left and the fields read from it on the right: supplier matched by VAT number, totals, VAT, two line items and a 95% confidence score

An upload runs like this:

  1. The browser shrinks large phone photos before sending them, which saves data and keeps them under the upload size limit.
  2. The server stores the original untouched, answers straight away and reads the document in the background, so closing the tab does not stop the job. The phone checks the database for progress.
  3. The server turns the image upright from the camera’s orientation data and scales it to a long side of 1568 pixels, which matches what the model reads at high detail. It goes to OpenAI’s vision model with a prompt written for South African invoices, and the model has to answer in a fixed JSON format.
  4. A schema checks the shape of the answer. Business rules then check the money and flag anything missing or wrong: no total, no date, a tax invoice without an invoice number or VAT number, a subtotal and VAT that don’t add up to the total within two cents, or a VAT number that isn’t ten digits starting with 4, the South African format.
  5. A confidence score decides how the document is flagged in the queue.

The model’s own confidence is the number it is worst at, because it stays high when a field is misread. SpendSilo takes the lower of the model’s score and a score worked out from the fields it actually found. If the document’s own arithmetic does not add up, or the supplier and the date are both missing, the document is marked low confidence whatever the model claimed. LLMs behind typed contracts covers the general approach.

Each supplier gets one “silo”, even when it appears as “SPAR” on one slip and under a longer branch name on the next. Matching tries the exact name, a cleaned-up name and a fuzzy match, then the VAT number, phone number and address. Approving a document links it to an existing silo or creates a new one.

Possible duplicates are flagged as they upload, matched on supplier, invoice number, date and total. Till slips often have no number, so for those the match is supplier, date and total. The reviewer keeps the document or deletes it.

A business with more than one site, such as a building job or a branch, can put each invoice on a site, or split one invoice across sites by tagging its line items. The site controls only appear once a second site is active. The last share of a split is worked out as the total minus the others, so the shares always add up to the invoice total to the cent.

Reports show spend and VAT by supplier and by site, per day, week, month, quarter or year. The exports are an invoice register in CSV, one row per site share, and a monthly VAT summary.

Each business sees only its own data. Row-level security in the database scopes every query to the signed-in user, and stored files sit under each user’s own path. The admin account can reset passwords and delete accounts, and has no screen for anyone’s invoices. The offline cache holds the app’s shell and never stores API responses or signed image links.

Any change to the model, the prompt or the image handling is scored field by field against a test set of 34 receipt photos. The labels hold only what a careful person can read on the image, so a cropped-off shop name is labelled as missing and a model that guesses the name loses the point.

The public demo

The demo runs on a database of its own, and the loader refuses to write to the production project. Everything in it is invented: one building contractor with four sites, 26 suppliers and about six months of paperwork. I generated 64 documents for it, from thermal till slips and prepaid electricity vouchers to a two-page PDF invoice, and rendered the photos with tilt, shadows, creases, poor light and blur. Every document carries a “sample, demo data” mark.

The demo’s statuses, warnings and confidence scores come from the app’s own code. The seed builder runs each document through the real validation, scoring, duplicate detection, supplier matching and site split, and the build fails if a document would land anywhere other than where it is meant to.

Visitors can upload their own documents, which go through the real extraction, up to five files at a time and 50 a day across the whole demo. Sign-ups are switched off in the authentication service itself, because hiding the sign-up link would still leave the API open. Every night, between 01:00 and 02:00, the demo resets: visitor uploads and changes are removed, the demo account’s password is restored and the sample set is loaded again.

The result

The demo runs at spendsilo.yourdesign.co.za, and Try the demo signs you straight in. These are its limits:

  • Only the demo is running.
  • PDFs open as a link on the review screen instead of showing beside the fields.
  • Corrections are written to an audit log, but the log has no screen yet.
  • OpenAI’s vision model reads every upload, and each one costs money to process, which is why the demo caps uploads.

Got something like this that needs building?

A few lines about what you’re trying to build or fix is enough. It lands in my inbox and I reply within the business hour, honestly, including whether I’m the right person. If I’m not, I’ll say so and point you at someone who is.

I reply to every enquiry within one business hour.

Prefer email? support@yourdesign.co.za· (+27) 079 177 1970

Next case study: Confidential, lending →