| 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 that scope the two flows |
| Retail point of sale | Inventory as assets, a sale that records the cost of goods sold, cash paid in to a bank |
| Escrow | An account that holds a workflow state: pay in, then release or refund, then close the drained account |
| Runnable programs | The programs in crates/kuatia/examples/, taken from source |
The exchange and retail chapters are worked cases. The code is real, but each
chapter declares its accounts inline instead of inside a program that you can
run. The overdraft and runnable chapters include programs that cargo test
compiles.