| Example | Shows |
|---|---|
| Overdraft and the shortfall posting | A debit larger than the balance: a negative posting on an account that permits it, InsufficientFunds on one that does not |
| Currency exchange | Deposit, a two-leg cross-asset trade, withdrawal, and books scoping the two flows |
| Retail point of sale | Inventory as assets, a sale recording COGS, cash deposited to bank |
| Escrow | A workflow state held in an account: pay in, then release or refund, then close the drained account |
| Runnable programs | The programs in crates/kuatia/examples/, included from source |
The exchange and retail chapters are walkthroughs: the code is real but the
accounts are declared inline rather than built into a program you can run. The
overdraft and runnable chapters include programs cargo test compiles.