Most Kenyan businesses that want “payment automation” do not have a payment problem. Customers already pay, mostly by M-Pesa. The real cost sits after the payment: someone scrolls through SMS messages, works out which customer sent KSh 4,750, marks the invoice paid, then raises a KRA eTIMS invoice by hand. Business payment automation in Kenya means wiring those four jobs together so the payment itself does the paperwork.
Key Takeaways
- Automate the matching, not just the collecting. The hours sit in tying each M-Pesa payment to the right invoice.
- A Paybill with an account number gives you a matching key on every payment. A Buy Goods Till does not, unless your own system starts the payment with an STK prompt.
- Since 1 January 2024, KRA says a business expense must be backed by an electronic tax invoice to be claimed, so eTIMS belongs inside the same automation, not beside it.
- Accounting software with eTIMS built in covers many small businesses. Custom Daraja work earns its cost when volume outgrows standard tools.
- Do the sum before you buy: invoices, payments, minutes each and staff cost per hour tell you what the manual process costs today.
What does a business payment automation solution actually do?
A complete setup handles four stages: request (an invoice or M-Pesa prompt goes to the customer), collect (they pay into your Till, Paybill or bank), match (the payment is tied to the right invoice and the invoice marked paid), and record (the sale is posted in your books and the eTIMS invoice goes to KRA). Most businesses automate one or two stages and keep paying for the gaps.
| Option | What it automates | What stays manual | What it means for you |
|---|---|---|---|
| M-Pesa Till or Paybill, no integration | Collection only | Matching, invoicing, eTIMS, bookkeeping | Fine at low volume. At scale, someone spends hours reading SMS messages and statements. |
| Accounting software with eTIMS built in (for example Zoho Books Kenya edition) | Invoices, reminders, eTIMS, reports | Matching M-Pesa payments unless a connector is added | The cheapest big step for most SMEs. Check how it brings in M-Pesa payments before you pay. |
| Daraja API connected to your own system | Payment prompts, instant payment notices, matching | Whatever you choose not to build | Payments mark invoices paid within seconds. Needs a developer and testing. |
| Daraja plus accounting software plus eTIMS integration | All four stages | Exceptions only (wrong amounts, wrong account numbers) | The full chain. Worth it when volume or errors are costing you real money. |
My view: start from the stage that hurts most. If month-end reconciliation eats days, matching is your project. If KRA invoices are the worry, eTIMS comes first.
Should my business use an M-Pesa Till or a Paybill for automated payments?
A Paybill asks the customer to type an account number when they pay. When your system is connected through Daraja, that account number arrives with the payment in a field called BillRefNumber, alongside the M-Pesa transaction ID, the amount and the time, as this developer guide to the Daraja C2B API shows. If you tell customers to use their invoice number as the account number, every payment carries its own matching key.
A Buy Goods Till has no account number field, so a payment arrives with nothing to say which invoice it settles. The fix is to have your system start the payment with M-Pesa Express (the STK push), which sends a prompt to the customer’s phone with your reference attached. According to this M-Pesa Express guide, the reference shown on the prompt can be up to 12 characters, enough for an invoice number, and the result comes back to your system with the M-Pesa receipt number.
The same C2B guide notes that a Paybill is applied for at a Safaricom shop with your registration documents, and a Till through Safaricom’s self-onboarding portal.
| Situation | Better fit | Why | What it means for you |
|---|---|---|---|
| You send invoices and get paid days or weeks later | Paybill | The customer types the invoice number, so the payment matches itself | Least manual matching for service businesses, schools and wholesalers. |
| Customers pay at the counter or on delivery | Till, plus STK prompt if you want matching | Fast for the customer; the STK prompt adds the reference | Do not ask a queue of shoppers to type account numbers. |
| You sell online | STK prompt on either product | Your checkout starts the payment and knows the order | The order is marked paid when the result comes back. |
What does Safaricom charge a business to receive M-Pesa payments?
For Lipa na M-Pesa Buy Goods, Safaricom revised merchant charges from 7 August 2026. As reported by The Standard, collections of up to KSh 500 became free (up from KSh 200), and collections above KSh 500 continue to attract 0.55%, capped at KSh 200. Paybill charges depend on the tariff your Paybill is set up on, so confirm yours with Safaricom before you budget.
How does the Daraja API automate M-Pesa payments?
Safaricom’s Daraja developer portal gives developers access to the M-Pesa APIs and a sandbox to test in. Two APIs matter most here.
C2B (customer to business). Your developer registers two web addresses against your Till or Paybill. Safaricom sends every payment to the confirmation URL after it completes. The optional validation URL is called before a payment completes, so your system can reject, for example, a Paybill payment to an account number that does not exist. The C2B guide notes that validation is switched off by default and must be enabled on your shortcode, and that the confirmation call cannot reject a payment.
M-Pesa Express (STK push). Your system asks Safaricom to send a payment prompt to the customer’s phone. The customer enters their PIN, and the result comes back to your callback address: success with the receipt number, or a failure code such as the customer cancelling the request.
Once those messages reach your system, the rest is ordinary software: find the invoice by account number or reference, compare the amount paid with the amount due, mark the invoice paid, send a receipt, and store the M-Pesa transaction ID so no payment is processed twice.
Going live needs a tested sandbox integration, a verified Paybill or Till and a public HTTPS server, and the C2B guide puts approval at about 24 to 72 hours. Our guide on M-Pesa integration cost in Kenya explains what a Daraja project involves and where it tends to go wrong.
Do I need KRA eTIMS if I automate my invoicing?
Yes. KRA’s eTIMS overview says all persons engaged in business must onboard eTIMS and issue electronic tax invoices. That includes sole proprietors, partnerships and companies, businesses that are not VAT-registered, and VAT-exempt businesses such as schools and hospitals.
Three rules on the same KRA page shape your automation:
- Expenses need eTIMS invoices. From 1 January 2024, a business expense must be supported by an electronic tax invoice to be claimed, with listed exclusions such as salaries and wages, imports, interest and some withholding-tax items.
- Small sellers can be invoiced by the buyer. Where the seller is a small business with turnover of up to KSh 5 million a year, the buyer can issue the invoice on the seller’s behalf through the buyer-initiated solution.
- The solutions are free. KRA says its eTIMS solutions are provided free of charge. You pay for your own software and integration, not for eTIMS itself.
Which eTIMS option fits an automated setup?
KRA’s list of eTIMS solutions runs from manual tools to full integration.
| eTIMS option | How invoices are raised | Best suited to | What it means for you |
|---|---|---|---|
| eTIMS Lite (USSD *222#, web, mobile app) | By hand, one at a time | KRA names individuals and sole proprietors for the USSD version | Compliant, but nothing is automated. Fine for a handful of invoices a month. |
| Online portal | By hand on etims.kra.go.ke | Invoicing by hand on the web | Also where you view invoices from all your eTIMS solutions. |
| eTIMS Client | Downloadable software on Windows or Android | Supports several branches and cashier tills | Handles more volume, but sits beside your other systems rather than inside them. |
| System to system (OSCU or VSCU) | Your invoicing or ERP system sends invoices to KRA directly | Businesses that already invoice from software | The only option that fits a fully automated chain. |
On KRA’s system-to-system integration page, the OSCU suits systems that are always online, while the VSCU suits bulk invoicing from systems that are not always online. You can build the integration yourself or use a KRA-certified third-party integrator, and either route goes through development, testing and certification.
One detail catches people out. KRA says each eTIMS solution has its own invoice number sequence, and a credit note can only be issued from the solution that raised the original invoice. Raise invoices from two places and refunds get messy. Pick one main route.
For the detail of getting eTIMS right, read how a Kenyan SME can automate KRA eTIMS invoicing without errors.
Which accounting software in Kenya can automate invoices and reconciliation?
For many small businesses, the fastest win is accounting software that already does eTIMS, reminders and recurring invoices. Zoho Books is one example with published Kenyan pricing. Its Kenya pricing page lists a free plan for businesses with annual revenue under KSh 5 million (up to 1,000 invoices and 1,000 expenses a year), and paid plans from KSh 849 a month per organisation when billed annually, excluding taxes. The same page lists automated payment reminders and recurring invoices on the free plan, while eTIMS-compliant invoicing and bank feeds start on the Standard plan. Zoho’s eTIMS page says Zoho Books is KRA-approved eTIMS software that works as an OSCU solution.
What the pricing page does not list is a built-in M-Pesa payment feed. That is the question for any accounting product: how does an M-Pesa payment get into the software and onto the right invoice? The usual answers are a statement import, a third-party connector, or a Daraja integration that posts payments through the software’s API. Ask too how it handles part payments and wrong account numbers.
How do I set up payment automation for my business this month?
- Map today’s process. List every step from “invoice needed” to “money recorded”, and count last month’s invoices and payments.
- Choose your collection products. Paybill for invoiced customers, Till for counter sales, or both.
- Set the matching rule. Make the invoice number the account number and print it on every invoice.
- Pick your accounting software and confirm eTIMS is built in and active for your KRA PIN.
- Onboard eTIMS through one main solution, ideally the system-to-system route your software supports.
- Connect M-Pesa to your books, with a vendor connector if one exists, or a Daraja C2B integration if not.
- Test in the sandbox, then with one small real payment, checked through to the eTIMS invoice.
- Run old and new side by side for a month. Switch off the manual process only when the two agree.
- Review exceptions weekly: wrong account numbers, part payments and duplicates.
Before you add personal data such as customer phone numbers to new systems, check your obligations under the Data Protection Act; our overview of AI and compliance in Kenya is a good start.
Do the sum for your business: is payment automation worth it?
Use your own numbers. Pull last month’s figures and fill these in:
- I = invoices you raised last month
- P = payments you received last month
- m = minutes spent per invoice (creating it, sending it, raising the eTIMS invoice)
- r = minutes spent per payment (finding it, matching it, marking it paid, recording it)
- C = what that staff time costs you per hour, in KSh
Monthly hours = (I × m + P × r) ÷ 60 Monthly cost of the manual process = monthly hours × C
To see how it works, say you raise 300 invoices at 6 minutes each and receive 350 payments at 4 minutes each, and the staff time costs KSh 500 an hour. Those are placeholder figures; replace them with yours.
- Invoice time: 300 × 6 = 1,800 minutes
- Payment time: 350 × 4 = 1,400 minutes
- Total: 1,800 + 1,400 = 3,200 minutes, and 3,200 ÷ 60 = 53.3 hours a month
- Cost: 53.3 × 500 = KSh 26,650 a month
Automation never removes all of it, because exceptions still need a person. If you assume 20% of the work remains, the saving is 26,650 × 0.8 = KSh 21,320 a month. Compare that with the software subscription plus any integration quote, and you have a payback period. Our guide to automation ROI and payback periods shows how to set that out.
Add the M-Pesa fees to the same sheet. On a Buy Goods Till at the rates reported from 7 August 2026, a KSh 8,000 payment costs you 8,000 × 0.0055 = KSh 44. The KSh 200 cap is reached at 200 ÷ 0.0055 = about KSh 36,364, so larger payments cost KSh 200 each, and payments of KSh 500 or less cost nothing.
Use a buffer. Do not go ahead on a saving that only just covers the tools. Look for a saving of at least one and a half times the monthly cost, because the first months bring set-up time and exceptions you did not expect.
Common mistakes with payment and invoice automation
- Automating collection but not matching. A payment link still leaves someone reading statements at month end.
- Leaving the account number to chance. If customers type their name, phone number or “school fees” into the Paybill account field, nothing can match it. Print the exact reference on every invoice.
- Raising eTIMS invoices from two places. Separate number sequences and credit notes that only work from the original solution turn refunds into a tax headache.
- Going live without testing a real payment. The sandbox does not catch everything.
- Not storing the M-Pesa transaction ID. Without it, a repeated notification can mark two invoices paid with one payment.
- Switching off the manual process on day one. If the automation and the hand count disagree, find out before the auditor does.
Quick glossary
- Daraja API: Safaricom’s developer platform that lets your own software receive M-Pesa payment notifications and start payment requests.
- C2B confirmation URL: the web address on your system where Safaricom sends the details of every completed payment to your Till or Paybill.
- STK push (M-Pesa Express): a payment prompt your system sends to a customer’s phone, which they approve with their M-Pesa PIN.
- eTIMS: KRA’s Electronic Tax Invoice Management System, through which every business must issue electronic tax invoices.
- OSCU and VSCU: the two eTIMS system-to-system options, where your invoicing software sends invoices to KRA directly; OSCU for always-online systems, VSCU for bulk invoicing from systems that are not always online.
Frequently asked questions
What is the best business payment automation solution in Kenya?
It depends on where your time goes. For most small businesses, accounting software with eTIMS built in plus a clean Paybill account-number rule solves the biggest problems. A Daraja integration makes sense once matching by hand takes hours each week, or when a payment must trigger something instantly, like releasing an order.
Can M-Pesa payments update my accounting software automatically?
Yes, but usually not out of the box. The payment data comes through Daraja, and your software needs a vendor connector or a small integration to receive it.
Do I need a developer to automate M-Pesa payments?
Not for accounting software, reminders and built-in eTIMS. You do for Daraja work, which involves secure web addresses, credentials, sandbox testing and Safaricom’s go-live approval.
Is eTIMS required if my business is not VAT-registered?
Yes. KRA says all persons engaged in business must issue electronic tax invoices, including businesses that are not VAT-registered and VAT-exempt ones such as schools and hospitals. If your turnover is up to KSh 5 million a year, a buyer can issue the invoice for you through the buyer-initiated solution.
What happens if a customer pays the wrong amount or uses the wrong account number?
The automation should flag it, not guess. A part payment stays against the invoice with the balance showing; a wrong account number goes to an exceptions list. On a Paybill, the optional validation step can reject payments to account numbers that do not exist, but Safaricom only calls it once validation is enabled on your shortcode.
Further reading
- M-Pesa integration cost in Kenya: what a Daraja API project involves and what drives the cost.
- Automating KRA eTIMS invoicing without errors: the eTIMS side of the chain in detail.
- What is invoice automation?: a plain introduction to automating invoices.
- Automation ROI: know your payback period: turn the sum above into a decision.
The bottom line
Getting paid by M-Pesa is easy. The costly part is matching, recording and invoicing afterwards. Fix the matching rule first, choose one eTIMS route, connect payments to your books, and only build custom Daraja work when your own numbers say the manual process costs more than the automation.
If you want to see what this would look like for your business, read about our business automation service, or WhatsApp us on 0184 113 200 to talk it through.