Reconciliation means matching every payment you received to what it was for: an invoice, an order, a student's fees, a tenant's rent. For many Kenyan businesses this is a daily chore of scrolling through M-Pesa messages or statements and ticking them off in a book or spreadsheet. It is slow, and mistakes cost money: a customer is chased for a bill they paid, or a payment sits unclaimed for weeks.
The good news is that most of this work can be automated. This guide explains how.
Why manual reconciliation goes wrong
- Customers type the wrong account number, or none at all.
- One customer pays an invoice in several parts.
- Two customers pay the same amount on the same day.
- Staff record a payment from a forwarded SMS that turns out to be fake.
- Statements are downloaded once a week, so problems are found late.
The building blocks of automatic matching
1. A unique reference for every payment
Automatic matching needs a reference that links the payment to something in your records. On a Paybill, that is the account number: an invoice number, order number, admission number or house number. Tell customers exactly what to enter, and print it on invoices and receipts.
2. Payment prompts instead of typing
With STK Push, your system sends the payment request to the customer's phone with the amount and reference already filled in. The customer only enters their PIN. Typing errors disappear, and your system knows which request each payment answers.
3. Instant confirmations to your system
When M-Pesa confirms a payment, the confirmation should reach your system straight away, not wait for a statement. In technical terms this is a callback or webhook: a message sent to your software with the amount, the M-Pesa receipt number, the phone number and the reference.
4. Matching rules
Your system then applies simple rules:
- Reference matches an open invoice and the amount is equal: mark it paid.
- Amount is less: record a part payment and show the balance.
- Amount is more: record the payment and hold the extra as credit.
- No match: put it in an "unmatched" list for a person to review.
5. Never trust a forwarded SMS
Only payments confirmed by M-Pesa to your system should count. A screenshot or forwarded message is not proof of payment.
What good reconciliation looks like day to day
- Invoices and orders turn "paid" by themselves, usually within seconds.
- The customer gets a receipt by SMS or email automatically.
- One short list shows the few payments that need a human decision.
- At month end, the payments report matches your M-Pesa or bank statement without surprises.
Getting started
- Choose your references. Decide what customers should enter as the account number and use it everywhere.
- Use STK Push where you can: at the till, on your website and on invoice links.
- Connect confirmations to your system through a payment integration, so payments arrive with all their details.
- Review the unmatched list daily for the first weeks, and adjust your instructions to customers.
- Compare with the statement monthly until you trust the process.
Where JMSURF PAY fits
JMSURF PAY connects your own M-Pesa Till, Paybill or bank paybill to your website, POS, billing system or SaaS. It sends STK Push prompts and payment links, receives Paybill and Till confirmations, shows every result reconciled in one dashboard with reports and CSV export, and sends signed webhooks to your system. It never holds customer money: Safaricom and the bank pay straight into your account.
Plans on the JMSURF PAY website are a flat subscription with no transaction fees: a Free plan (1 payment channel, 1 user, up to KES 50,000 processed a month), Starter at KES 500 a month and Pro at KES 1,000 a month. A test mode lets developers try the full flow before going live.
Using JMSURF POS, DASH, Garage or ISP? Those systems already have M-Pesa built in and mark sales, invoices and accounts paid by themselves.
Frequently asked questions
What is M-Pesa reconciliation?
It is matching each M-Pesa payment you received to the invoice, order or customer it was for, so your records show who has paid and who still owes.
How can I reconcile M-Pesa payments automatically?
Use a Paybill account number or STK Push so every payment carries a reference, connect M-Pesa confirmations to your system through an integration, and let the system match payments to open invoices with simple rules.
What happens when a customer pays with the wrong account number?
The payment cannot be matched automatically and goes to an unmatched list. Someone reviews it, finds the customer by phone number or amount, and links it by hand.
Can I reconcile payments to a bank paybill?
Yes, if your integration receives confirmations for that bank paybill. Ask your provider which banks it supports.
Is a forwarded M-Pesa SMS proof of payment?
No. Only a confirmation received by your own system from M-Pesa, or a payment showing on your statement, should count.
