Backend · FastAPI · PostgreSQL · 2025
Skanda Billing
Multi-tenant billing & credit management backend.
Case study
01 · Problem
Problem
A small accounting practice was processing hundreds of supplier bills a month — half by hand, half by guesswork. Multiple businesses ran through one mailbox, and credit limits were tracked in someone’s head.
02 · Solution
Solution
A multi-tenant backend that ingests bills via OCR, extracts structured fields, applies tenant-specific credit rules, and produces auditable invoices and reports. Every action is logged; every tenant is isolated.
03 · Implementation
Implementation
- FastAPI service with strict Pydantic schemas and OpenAPI docs
- PostgreSQL + SQLAlchemy + Alembic migrations
- JWT auth with role-based access control
- OCR pipeline for bill ingestion with confidence-scored review queue
- Audit log on every state-changing endpoint
- Reporting endpoints for credit, delivery orders, and proxy invoices
04 · Demo
Demo
>Want one like this?
05 · Outcome
Outcome
A multi-tenant backend handling complex billing workflows for multiple businesses, with a full audit trail and OCR automation that took bill processing from hours to minutes.
06 · Engineering insight
Engineering insight
OCR alone is not enough. The win came from a tight review UI for low-confidence extractions — humans correcting the model is what made the data trustworthy enough to bill on.
Want something like Skanda Billing? Tell us about it on the intake form.
Start a project