~/dpkkmishra
LinkedIn

$ cd ../blog

feat(accounting)

An accountant in your WhatsApp

A bookkeeping assistant for small businesses that reads invoice photos, asks before it records anything, and reconciles the bank without guessing.

AI assistantsdocument extractionPostgreSQLReact

Small business owners don’t open accounting software. They open WhatsApp. So the assistant lives there: send it a photo of an invoice, ask it how the month is going, and get on with your day.

Read, then confirm

The assistant extracts the details from an invoice photo, then asks for confirmation before it records the expense. That one extra message is the product. Money software that acts on a blurry photo without asking is a liability with a chat interface.

Parsing and AI, together

Neither is enough alone. Plain parsing is exact when the document is clean and useless when it isn’t. AI extraction copes with the mess and occasionally invents things. Combining them, and checking one against the other, gets you something you can put in a ledger.

Two guards sit on top:

  • Duplicate detection. The same invoice arrives twice more often than you’d think: once as a photo, once forwarded by a partner.
  • Bank reconciliation by amount, date and payee, including split payments, where one invoice is settled in several transfers.

The accountant stays in the loop

When a match is uncertain, the system doesn’t pick a winner. It queues the item for an accountant to review. Accountants don’t want magic. They want fewer keystrokes and no surprises.

Under the hood

FastAPI and PostgreSQL behind, React in front for the accountant’s side. The interesting engineering is not the stack. It is deciding, case by case, when the software is allowed to be confident.

Lessons

  • Meet people where they already type.
  • Confirmation is cheap. Corrections are expensive.
  • “I’m not sure” is a feature, as long as it lands on the right person’s desk.