Skip to content

Worked Journal Entries

Accounting model · Chart of accounts

Each entry is booked from the platform’s point of view. IDs (E01–E35) are stable and are referenced from code and tests in later steps.

The entries form one continuous story. Read them in order: each one starts from the balances the previous one left.

Name Role Accounts
Abebe Customer 2010:cust-abebe
Hana Customer 2010:cust-hana, offline device dev-hana-01
Merkato Coffee Merchant 2030:merch-coffee
The platform Runs the wallet and holds the bank accounts 1010, 1020, revenue and expense accounts

Before E01, the platform’s owners put 5,000 ETB of their own money into the platform’s operating bank account. This is the platform’s capital, which it uses to pay its own costs (see E14). It is not customer money.

# Account Type Dr Cr
1 1020 Bank: operating account Asset 5,000
2 3010 Owner’s capital Equity 5,000
Total 5,000 5,000

The platform keeps two bank accounts: the customer funds account (1010) holds only money owed to customers and merchants, plus fees not yet swept; the operating account (1020) holds the platform’s own money. Keeping them apart means customer money can never pay the platform’s bills.

ID Entry
E01 Deposit via bank
E02 Withdrawal: requested
E03 Withdrawal: sent and confirmed
E04 Withdrawal: rejected by the bank
E05 Withdrawal: returned by bank
E06 P2P transfer
E07 QR merchant payment with fee
E08 Card tap payment
E09 Fingerprint payment
E10 Payment request paid
E11 Full refund
E12 Partial refund
E13 Reversal
E14 Admin adjustment
E15 Merchant settlement payout
E16 Offline escrow reservation
E17 Offline receipt settlement
E18 Escrow return on expiry
E19 Deposit with an unknown reference
E20 Suspense resolved
E21 Dispute opened
E22 Dispute resolved for the payer
E23 Dispute opened
E24 Dispute resolved for the merchant
E25 Voucher closed early
E26 A receipt over the escrow left
E27 A frozen voucher’s escrow returned
E28 A late receipt paid from the payer’s wallet
E29 A late receipt, partly from the loss account
E30 The payer repays a shortfall
E31 A cloned device’s second receipt
E32 A bank charge nobody booked
E33 The suspense item is a bank charge
E34 A deposit booked twice
E35 The duplicate is taken back from the wallet
### E00. <Name>
**Scenario:** <who does what, with concrete amounts>
| # | Account | Type | Dr | Cr |
|---|---|---|---:|---:|
| 1 | | | | |
| 2 | | | | |
| | **Total** | | **0** | **0** |
**Why:** <why each account moves on this side>
**Open questions:** <anything unsure, to raise with the reviewer>