Collections system with AI-assisted reconciliation
A collections platform for a financial services company that manages its clients' full debt. It includes a reconciliation module where an AI agent proposes which invoice each payment paid and a person approves it.
- Type
- Work
- My role
- Design and development of the whole system
- Year
- 2026
- Status
- In production
What the system does
The client is a financial services company that collects from its own clients’ debtors, so it needs to manage the full debt in one place.
The system brings together pending invoices, incoming payments and the status of each debt. It integrates with SAP, the client’s management system, to keep everything in sync.
What was given and what I did
Already defined were the client’s collections process and its business rules, although they weren’t documented.
I did the design and development of the whole system, the SAP integration and the reconciliation module with its agent.
Reconciliation
Reconciling means knowing which invoice each payment paid. It sounds simple until a single payment covers several invoices, an invoice is paid in parts or the amount doesn’t match exactly.
There were many rules, so a good part of the work was uncovering them with the client. With that, I split reconciliation in two. The part with clear rules is solved with code, and the part that needs judgment is proposed by an agent built on Claude.
- The agent reads skills with the known business rules.
- It uses tools that return match candidates for each payment.
- It proposes the match and calls another tool that shows it to the person.
- The person accepts or rejects. Nothing is reconciled without a human decision.
Results
The collections system reached production. The reconciliation agent was fully developed but didn’t go to production.
What I’d do differently
I’d write the business rules down before coding them, in a versioned registry reviewed with the client. Each rule would carry example cases that also work as tests.
That makes the registry the single source of truth. A new rule or a change is agreed in writing, and both the code and the agent read from it.