For most Kenyan SMEs, the invoice is not the problem. The problem is everything around it: the invoice issued late, the customer who says they never received it, the payment that arrived on M-Pesa and was never matched, and the supplier invoice that sat in a WhatsApp thread for three weeks.
Automation helps when it shortens the distance between work done and cash received, and when it removes the manual matching that follows every payment.
What eTIMS changes
KRA's electronic Tax Invoice Management System is now part of the invoicing workflow for VAT-registered businesses, and expenses supported only by non-compliant invoices risk being disallowed. That has two practical consequences for automation: the invoice must be generated or validated against eTIMS before it goes out, and your accounts payable process needs to check that supplier invoices are compliant before they are approved for payment.
Treat eTIMS as an integration requirement, not a feature. Ask any vendor how they submit, how they handle failures and credit notes, and what happens when the tax system is unavailable.
The invoice lifecycle, and where it breaks
- Create: details pulled from an order or job card, with the right VAT treatment.
- Deliver: emailed, sent on WhatsApp, or printed, and recorded as delivered.
- Remind: scheduled follow-ups before and after the due date.
- Receive: supplier invoices arriving as PDFs, photos and chat attachments.
- Capture: line items, tax, PO number and vendor details extracted.
- Match: against the purchase order, delivery note and contract.
- Approve: routed to the right person with a limit and a deadline.
- Pay: scheduled, authorised and recorded.
- Reconcile: payment matched to the invoice and the bank or wallet entry.
Most SMEs have a decent system for step one and manual effort everywhere else. The payback is usually in steps four to nine.
What to automate
- Extraction from PDF invoices, email attachments and WhatsApp images.
- Validation against purchase orders, budgets and vendor master data.
- Duplicate detection, which alone can justify the project.
- Approval routing with escalation when someone does not respond.
- Reminder sequences that stop when payment lands.
- Reconciliation of M-Pesa and bank payments to invoices using transaction codes and references.
- An ageing dashboard that shows what is late, by customer and by amount.
Be realistic about accuracy
Extraction accuracy depends on the input, not on the marketing. Clean, digital PDFs from a consistent supplier can be handled well enough that most invoices pass without a human. Photographs of crumpled invoices, mixed languages and unusual layouts will not. A sensible target is a high pass rate on digital documents and a review queue for the rest, with the queue measured like any other workload.
Do not promise 100% accuracy, and do not let the model decide tax treatment. It extracts and proposes; the rules engine and the finance team decide.
Integrations you will probably need
- Accounting: QuickBooks, Xero, Sage, Odoo, SAP Business One, or a custom ERP.
- Payments: the Safaricom Daraja API for M-Pesa, plus bank statement imports in MT940 or CSV.
- Tax: eTIMS submission and validation.
- Messaging: WhatsApp Business API for supplier submission and customer reminders.
- Storage: a document store that satisfies the Kenya Data Protection Act 2019, with retention rules.
What drives the timeline
A focused build that handles supplier invoice capture, PO matching and M-Pesa reconciliation in one accounting system typically takes six to eight weeks. Adding eTIMS submission, multi-entity approval chains or a custom ERP adds time. The constraint is usually access to a test environment and a sample of real documents, not the model.
Metrics to judge it by
Days sales outstanding, percentage of invoices processed without a human touch, exception rate and the reasons, cost per invoice, duplicate payments caught, time from receipt to approval, and remittance advice sent on time. Baseline a month before the pilot; otherwise the improvement is a feeling rather than a number.
Mistakes to avoid
- Automating delivery while leaving approval manual, so nothing actually gets faster.
- Ignoring supplier invoice compliance until an assessment disallows the expense.
- Building extraction for every possible format instead of the twenty suppliers that matter.
- No exception queue, so staff keep a parallel spreadsheet and trust collapses.
- Storing invoice images containing personal data indefinitely.
Questions we get asked
Do our suppliers need new software?
No. They can keep sending invoices by email or WhatsApp. The system handles intake on your side.
Will this replace our accountant?
No. It removes re-keying and matching. Judgement, tax positions and supplier relationships stay with your team.
Can it work with M-Pesa paybill and till payments?
Yes, through the Daraja API and statement reconciliation. The hard part is reference discipline: customers must quote an invoice number, or the matcher needs rules for likely matches and a person for the rest.
What does it cost?
Driven by integrations and document volume. A single-entity build with one accounting system is a different scope from a multi-company group with approval hierarchies. Insist on a fixed scope with the integrations named.
Start with the invoice-to-cash path and the twenty suppliers who generate most of your paperwork. That is where the hours are, and where a small build pays for itself.