This guide uses an M-PESA agent business to explain how to record starting capital, customer deposits and withdrawals, float purchases, transaction costs, commission income, business expenses and personal drawings in Duka Maps.
If you have just created a new duka, starter accounts will already be available. Check your Accounts page and use the existing accounts. Only add any that are missing. You can also edit existing accounts and give them clearer names where necessary—for example, rename M-PESA to M-PESA Float.
For this walkthrough, we assume the ordinary accounts are missing so you can learn how to create them. Transaction Cost is provided automatically, and its name is fixed. You do not need to create or rename it.
All amounts below are illustrative. Follow the examples in order to obtain the balances shown.
1. Add the accounts
Open your duka and choose Accounts. Check for existing accounts before adding the following:
| Account name | Account type |
|---|---|
| Starting Capital | Owners’ Capital Account |
| Cash Drawer | Money Account |
| M-PESA Float | Money Account |
| M-PESA Working Account | Money Account |
| Commission Income | Income Account |
| Airtime and Internet | Expense Account |
| Personal Drawings | Owners’ Capital Account |
For each new account, select the indicated Account type, choose Transaction account, leave Parent group blank and keep the account Active.
These accounts serve different purposes:
- Cash Drawer holds the business’s physical cash.
- M-PESA Float tracks agent float used for customer deposits and withdrawals.
- M-PESA Working Account holds commission money received.
- Commission Income records commission earned by the business.
- Airtime and Internet records business airtime and internet expenses.
- Starting Capital records the owner-funded opening amount.
- Personal Drawings records money withdrawn by the owner for personal use.
Also confirm that Transaction Cost is available as an Active Expense Transaction account.
For practice, use a demo duka with no previous Journal entries and zero balances in these accounts. Do not repeat opening entries in accounts where those balances have already been recorded.
2. Record starting capital
If your business is already operating, begin by recording the money it currently holds.
In this example, the business has:
| Money Account | Opening balance in KSh |
|---|---|
| Cash Drawer | 40,000 |
| M-PESA Float | 60,000 |
| Total starting capital | 100,000 |
Open Journal and record these two entries separately:
| From Account | To Account | Amount in KSh |
|---|---|---|
| Starting Capital | Cash Drawer | 40,000 |
| Starting Capital | M-PESA Float | 60,000 |
Narration for the first entry: Opening cash balance when starting Duka Maps records
Narration for the second entry: Opening M-PESA agent float balance when starting Duka Maps records
Use the date you begin keeping your records in Duka Maps. For subsequent transactions, use the date each transaction occurred.
Leave the automatic Transaction Cost field blank throughout this guide. We will record the float purchase cost manually.
After submitting both entries, open Accounts and confirm:
- Cash Drawer: KSh 40,000
- M-PESA Float: KSh 60,000
- Starting Capital: KSh 100,000 under Owners’ Capital
These are opening balances, not sales or commission income. This simple example assumes both balances are owner-funded, with no opening loans or other liabilities. Borrowed money should not be classified as owners’ capital.
3. Record a customer deposit
A customer gives you KSh 50,000 to deposit into their M-PESA wallet.
From the agent’s perspective, cash increases while float decreases by the same amount.
In Journal, record:
| From Account | To Account | Amount in KSh |
|---|---|---|
| M-PESA Float | Cash Drawer | 50,000 |
Narration: Customer deposit — demo reference D001
Leave Transaction Cost blank and submit. For actual transactions, use the real transaction reference.
Your balances should now be:
| Account | Balance in KSh |
|---|---|
| Cash Drawer | 90,000 |
| M-PESA Float | 10,000 |
The customer’s deposit moves value from float to cash. The KSh 50,000 is not your commission income.
4. Record a customer withdrawal
Another customer withdraws KSh 4,000, and you give them cash.
Your Cash Drawer decreases while your agent float increases by KSh 4,000.
In Journal, record:
| From Account | To Account | Amount in KSh |
|---|---|---|
| Cash Drawer | M-PESA Float | 4,000 |
Narration: Customer withdrawal — demo reference W001
Leave Transaction Cost blank and submit.
Your balances should now be:
| Account | Balance in KSh |
|---|---|
| Cash Drawer | 86,000 |
| M-PESA Float | 14,000 |
Your total business money is still KSh 100,000. Customer deposits and withdrawals move value between cash and float; they are not business income or expenses.
However, only KSh 14,000 remains as float. The next step is to buy more float so you can continue serving customers making deposits.
5. Buy float and record the transaction cost
You give KSh 20,000 in cash to buy float. A KSh 100 transaction cost is deducted, so you receive KSh 19,900 in M-PESA Float.
Record this using two separate Journal entries.
Record the amount paid towards float
First, record the full cash amount:
| From Account | To Account | Amount in KSh |
|---|---|---|
| Cash Drawer | M-PESA Float | 20,000 |
Narration: Cash paid to buy M-PESA float
Leave the automatic Transaction Cost field blank and submit.
Record the cost deducted from float
Next, record:
| From Account | To Account | Amount in KSh |
|---|---|---|
| M-PESA Float | Transaction Cost | 100 |
Narration: Transaction cost deducted when buying M-PESA float
Again, leave the automatic Transaction Cost field blank and submit.
The two entries together record KSh 20,000 leaving cash, KSh 19,900 being added to float and KSh 100 becoming a business expense. Do not enter the cost again in the automatic field.
After both entries, confirm:
| Account | Balance in KSh |
|---|---|
| Cash Drawer | 66,000 |
| M-PESA Float | 33,900 |
| Transaction Cost | 100 |
Your remaining business money is KSh 99,900.
6. Record commission income
You receive KSh 7,000 in commission into your M-PESA Working Account.
This Money Account is separate from M-PESA Float. The commission should first be recorded in the account where it was received.
In Journal, record:
| From Account | To Account | Amount in KSh |
|---|---|---|
| Commission Income | M-PESA Working Account | 7,000 |
Narration: M-PESA commission received in Working Account
Leave Transaction Cost blank and submit.
Confirm these balances:
| Account | Balance in KSh |
|---|---|
| Cash Drawer | 66,000 |
| M-PESA Float | 33,900 |
| M-PESA Working Account | 7,000 |
| Commission Income | 7,000 |
The commission has increased your business money by KSh 7,000. M-PESA Float remains unchanged because the commission was received in the Working Account.
For the rest of this example, leave the commission in the Working Account.
If you later transfer it to float, record M-PESA Working Account → M-PESA Float for the amount transferred. That movement is a transfer between your own Money Accounts, so do not record the commission income again.
7. Record a business expense
You buy KSh 200 of business airtime using M-PESA Float. Record the expense under Airtime and Internet.
In Journal, record:
| From Account | To Account | Amount in KSh |
|---|---|---|
| M-PESA Float | Airtime and Internet | 200 |
Narration: Business airtime purchased using M-PESA Float
Leave Transaction Cost blank and submit.
Confirm these balances:
| Account | Balance in KSh |
|---|---|
| Cash Drawer | 66,000 |
| M-PESA Float | 33,700 |
| M-PESA Working Account | 7,000 |
| Airtime and Internet | 200 |
M-PESA Float has reduced by KSh 200. Cash Drawer remains unchanged because the airtime was purchased using float.
8. Record personal drawings
The owner takes KSh 3,000 from the Cash Drawer for personal use.
Record this under Personal Drawings. It reduces the money remaining in the business but is not a business expense.
In Journal, record:
| From Account | To Account | Amount in KSh |
|---|---|---|
| Cash Drawer | Personal Drawings | 3,000 |
Narration: Cash withdrawn by owner for personal use
Leave Transaction Cost blank and submit.
Cash Drawer should now show KSh 63,000. Personal Drawings shows KSh 3,000 withdrawn, displayed as a negative balance under Owners’ Capital.
9. Review the closing position
Open Accounts and review your balances. The commission remains in the M-PESA Working Account.
| Money Account | Closing balance in KSh |
|---|---|
| Cash Drawer | 63,000 |
| M-PESA Float | 33,700 |
| M-PESA Working Account | 7,000 |
| Total business money | 103,700 |
You started with KSh 100,000. Customer deposits and withdrawals moved money between cash and float. Buying float also moved money between these accounts, with KSh 100 deducted as a transaction cost.
You then earned KSh 7,000 in commission, spent KSh 200 on business airtime and withdrew KSh 3,000 for personal use.
Calculate the profit
For this example, calculate profit as follows:
| Item | Amount in KSh |
|---|---|
| Commission Income | 7,000 |
| Less: Transaction Cost | (100) |
| Less: Airtime and Internet | (200) |
| Profit for this example | 6,700 |
Personal drawings reduce the money remaining in the business but do not reduce profit.
Your closing position reconciles as follows:
KSh 100,000 starting capital + KSh 6,700 profit − KSh 3,000 personal drawings = KSh 103,700 remaining business money.
Open each Money Account’s statement in Ledger and compare its balance with your actual cash, M-PESA Float and Working Account records.
The same approach applies to agency banking. Keep separate Money Accounts for each provider’s float and commission wallet, and record transactions according to where the money actually moves.