banking-core-ledger
CommunityAuthoritative ledger and available balance engine
Software Engineering#ledger#holds#available balance#regulation cc#optimistic locking#posting adapter#overdraft detection
Authorzenobiuszeto
Version1.0.0
Installs0
System Documentation
What problem does it solve?
The skill provides a consistent, auditable ledger and balance calculation system that eliminates ambiguity about available funds by accounting for posted entries, holds, pending debits and credits, and memo postings while ensuring atomic updates and regulatory funds-availability rules.
Core Features & Use Cases
- Accurate Balance Calculation: Computes ledger balance and available balance as ledger - holds - pending debits + pending credits, recalculating from source tables on each query to avoid stale derived values.
- Hold Management & TTL Expiry: Place, release, and expire authorization, exception, and administrative holds with configurable TTLs and event emission for downstream processing.
- Regulation CC Funds Availability: Apply deposit type rules and new-account windows to compute availability dates and enforce deposit acceptance rules.
- Concurrency & Atomicity: Use optimistic locking on ledger entries and account balances to ensure atomic balance updates and safe concurrent posting with retry/error handling.
- Pluggable Posting Adapter & Integrations: Support internal and external ledger adapters for posting entries and querying balances, enabling configurable integration with downstream systems.
- Use Case: Enforce funds availability for an ACH deposit into a new account, apply holds for authorizations, compute available balance for an outgoing debit, and trigger overdraft/NSF events based on policy.
Quick Start
Show the ledger and available balance for account acct-12345 including active holds, pending debits, and pending credits, and indicate any Reg CC availability dates.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: banking-core-ledger Download link: https://github.com/zenobiuszeto/banking-strawman-capabilities/archive/main.zip#banking-core-ledger Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.