Skip to content

AI systemsFinance

Expense Auditor

Read a month of receipts, sort and check every claim, and route the odd ones for approval.

  • OCR
  • Naive Bayes
  • Robust z-scores
  • Approval rules
  • Text generation
  1. Deep learningWaitingRead the receiptsTesseract OCR: its LSTM network reads the text
    In
    12 receipt photos
    Out
    Merchant, date, total, tax and how it was paid
    Why
    Downloads about 7 MB the first time you read
    fields
  2. Machine learningWorkingSort and spot the odd onesNaive Bayes on 480 past claims; robust z-scores; Jaro-Winkler
    In
    Merchant, items, purpose and amount
    Out
    A category, and flags for odd amounts and repeats
    Why
    Training on the past claims…
    category, flags
  3. AutomationReadyRoute by the policySeven rules, six of them yours to change; the strictest decides
    In
    Category, amount, date, project code and flags
    Out
    Approve, the manager, the finance head or reject
    Why
    Meals over ₹1,500 a day and weekend claims to the manager; over ₹10,000 to finance; repeats rejected
    routes, totals
  4. Generative AIWaitingWrite the month upSmolLM2 360M, checked against the totals
    In
    The totals and the flagged claims
    Out
    A paragraph for the owner
    Why
    A template writes it until you load the model

The month's receipts

0 of 12 read

October 2026 at Kovai Design Studio, a made-up 14-person design studio in Coimbatore: twelve expense claims with photos of their receipts. The studio, its people, the shops and every figure are invented for this demo.

The first read downloads the OCR engine and its English model, about 7 MB, from this site. Your browser keeps them, and the receipts never leave this tab.

R01 · Taxi

R01, Taxi: the receipt, not read yet

Claimed by Harish Chandran on 5 Oct for “Taxi to the Marudham Organics shoot”, project P-118.

Not read yet. Read it on its own, or the whole month above; each stage of the system then shows its work here.

Approvals board

Claims land here as they are read, in the column the policy sends them to.

Policy

₹1,500
₹10,000
3.5
Against the same category's past claims, and the same person's

Every change re-routes the month at once; the audit trail says what moved.

Totals by category

The totals fill in as receipts are read. Rejected claims stay out of the spend.

The month in a paragraph

Template

Read some receipts first: the summary is written from the month's totals, and both versions appear here.

  • SmolLM2 360M Instructabout 275 to 390 MB · Apache 2.0

It downloads once from the model's public host, then stays cached in this browser. Nothing you enter is uploaded.

SmolLM2 is a small open model that writes in your browser. It gets the month's totals and the flagged claims, nothing else, and every number it writes is checked against them. Everything above works without it.

What the language model is given
Nothing yet: read some receipts first.

Audit trail

Waiting…

The CSV has one row per claim with its route, the rules behind it and any decision; text a spreadsheet would run as a formula is kept as text.

Things to try

  1. Read the sample month and watch the approvals board fill.
  2. Open R02, the crew lunch, and raise the meal cap to ₹2,500 or type a lower total: its route changes.
  3. Load the language model, write the month up, and see every number in it checked.

Where I'd use it

  • Expense claims
  • Spend checks
  • Approval routing
  • Monthly summaries

Want this on your own data? Tell me about your project.