Moosa Memon
← Index of work

Noticing the commission a carrier simply didn't pay

CommissionSync: ingests insurance carrier commission statements in whatever form they arrive (PDF, CSV, Excel, scanned fax), normalizes them into one schema, checks every payment against the agency's own commission schedules, and surfaces only the rows a human needs to look at.

Type
Automation
Stack
Python / OCR / n8n / Supabase
Status
Complete; demo runs four synthetic carriers in four formats end to end

Problem

An insurance or benefits agency receives statements from dozens of carriers every month, each with its own column names and layout. Staff re-key them into spreadsheets, cross-check against the book of business, and chase carriers that underpaid. The expensive part is the last one: a carrier that simply omits a policy produces no row to notice. Nobody catches an absence by reading harder.

System

Ingestion routes each file by type (tabular parsers for CSV and XLSX, text extraction for PDFs, OCR for scans) into one normalized statement schema. Reconciliation joins every row against the agency’s commission schedules and the book of business, flagging underpayments, rate mismatches, and, crucially, policies that should have appeared and didn’t. Output is a short flagged list per carrier, not a re-keyed spreadsheet.

Worth knowing

This was built to replace a paid commission-tracking SaaS with something that fits the agency’s real rate structure instead of the other way around. Tiered rates, first-year versus renewal splits, and carrier-specific quirks live in config, so the reconciliation is exact for that agency rather than approximately right for every agency.

Have a workflow that looks like this?

Most of these start as a messy, manual process someone got tired of. Twenty minutes is usually enough to sketch how I'd approach yours.