Transaction Ledger
An immutable, append-only log of every financial event (debits and credits) that serves as the bedrock of financial integrity.
Key Details
- Implemented as append-only (immutable) — entries can never be modified or deleted, only corrected with new compensating entries
- Each entry contains timestamp, amount, currency, debit account, credit account, transaction reference, and metadata
- Supports both synchronous writes (consistency-first) and asynchronous event-sourced writes (throughput-first) depending on requirements
- Query patterns include balance lookups (sum of all entries for an account), transaction history, and point-in-time balance reconstruction
- Critical for regulatory compliance — provides the complete, tamper-evident record of every financial event in the system