← Back to projects

Smart Revenue Collector

AI-powered debt collection automation — scoring, personalised outreach, multi-channel dispatch, and CFO approval flows for complex accounts receivable.

PythonFastAPIReactTypeScriptTailwindML
View on GitHub ↗

The problem it solves

Manual debt collection is slow, inconsistent, and doesn't scale. The same generic reminder goes to everyone regardless of their payment history, relationship, or likelihood to pay. Smart Revenue Collector changes that with ML-based scoring, personalised AI-generated messages per debtor, and a priority queue that surfaces the cases most likely to convert.

How it works

The system ingests invoice data, runs behavioural defaulter scoring (based on historical write-off rates, partial payment rates, days-late patterns), applies a dynamic penalty/incentive calculator, generates personalised outreach using Claude or Ollama, and dispatches through a fallback chain: email → SMS → WhatsApp. A CFO approval pipeline handles high-value incentives. A React/TypeScript dashboard gives visibility into queue, reminders, tasks, and insights.

What makes it interesting

The AI message generation is context-aware — it knows the debtor's risk profile, how many times they've been contacted, what channel they typically respond to, and what regulatory constraints apply (SMS messages follow TRAI compliance). The system doesn't just send reminders; it reasons about what kind of message is most likely to work for this specific person.