Case study4 min read
How a distributor matches 92% of payments without a person

A distributor of fast-moving consumer goods sells to more than two thousand retailers across southern Ghana. Customers pay by mobile money, bank transfer and cheque, often for several invoices at once and rarely for the exact amount.
Two people in finance spent most of each week matching payments to invoices in the accounting system. Part payments sat unexplained, statements went out wrong, and sales reps chased customers for money already paid.
Building it
The agent reads the bank and mobile money statements as they arrive, and the open invoices from the accounting system. It matches each payment to its invoices using the amount, the reference, the payer’s number and the customer’s history.
We built it on the distributor’s own records: six months of statements and the matches the finance team had already made. Every rule it learned is written down where the team can read and change it.
What the agent does
- 01Matches each payment to one or more open invoices
- 02Records part payments against the right balance
- 03Flags every payment it cannot explain, with the reason
- 04Updates the customer statement once a match is approved
The rest go to finance as a short list, each with what the agent found and what it could not.
What changed
Nine payments in ten are now matched without a person touching them. The rest go to finance as a short list, each with what the agent found and what it could not.
Statements are right on the day they go out, and reps stop chasing money that has already arrived.


