# Examples | Example | Shows | |---|---| | [Overdraft and the shortfall posting](overdraft.md) | A debit larger than the balance: a negative posting on an account that permits it, `InsufficientFunds` on one that does not | | [Currency exchange](exchange.md) | Deposit, a two-leg cross-asset trade, withdrawal, and books scoping the two flows | | [Retail point of sale](retail.md) | Inventory as assets, a sale recording COGS, cash deposited to bank | | [Escrow](../pending-states.md) | A workflow state held in an account: pay in, then release or refund, then close the drained account | | [Runnable programs](runnable.md) | 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.