Core Concepts
Understanding the accounting fundamentals of Open Ledger.
Open Ledger is built on established accounting principles while providing modern APIs and components. Understanding these core concepts will help you effectively implement and customize the platform.
Double-Entry entitykeeping
At the foundation of Open Ledger is the double-entry entitykeeping system, where every transaction affects at least two accounts:
Account Types and Behaviors
Open Ledger follows standard accounting rules for how different account types behave:
Handling Negative Amounts
When processing transactions, negative amounts are treated as reversals:
- Negative DEBIT: Effectively treated as a CREDIT
- Negative CREDIT: Effectively treated as a DEBIT
This handles scenarios like refunds, returns, and expense reimbursements correctly.
Chart of Accounts
The Chart of Accounts is a comprehensive listing of all accounts used by an organization to record financial transactions in its general ledger. Each account typically has:
- A unique numeric identifier or code
- A descriptive name
- Classification that determines which financial statement it appears on (e.g., Balance Sheet or Income Statement)
Open Ledger maintains this accounting structure while offering extended capabilities:
Account Model
In Open Ledger, accounts are modeled with these key attributes:
Transactions and Journal Entries
Every financial event is recorded as a transaction in Open Ledger:
Transaction Model
Transaction Lifecycle
- Creation: Transactions begin as
PENDING
when first recorded - Clearing: Move to
CLEARED
when confirmed by financial institutions - Reconciliation: Marked as
RECONCILED
when matched to bank records - Posting: Finalized as
POSTED
when approved for financial statements - Reversal: Can be
REVERSED
if needed to correct errors - Expiration: Marked
EXPIRED
if pending transactions aren’t confirmed
Financial Reports
Open Ledger automatically generates standard financial reports:
Revenue and expenses summary showing net profit/loss over time.
Assets = Liabilities + Equity at a specific point in time.
Cash movement across operating, investing, and financing activities.
Data Model Integration
Open Ledger’s data model maps to traditional accounting concepts while maintaining modern API practices:
Multi-tenant Structure:
- Organizations & Workspaces: Multi-tenant structure for enterprise use
- Instances: Independent accounting environments
- entities: Individual accounting entities (companies, departments)
- Ledger Accounts: Chart of accounts entries
- Transactions: Financial events with double-entry enforcement
- Categories: Classification system for transactions
API Integration Points:
- Transaction Creation: Record financial events
- Account Management: Create/modify chart of accounts
- Categorization: Classify transactions for reporting
- Report Generation: Create financial statements
- Data Synchronization: Connect with external financial sources
By understanding these core concepts, you’ll be better equipped to implement and customize Open Ledger for your specific requirements.