Django Ledger is a Django app that adds double-entry books, statements, commercial documents, and financial analytics to existing Django projects.
Overview
Django Ledger is a financial management and double-entry accounting engine built on the Django web framework. Teams embed it inside Django products to keep entities, charts of accounts, ledgers, journal entries, and transactions aligned with strict balancing rules.
It supports hierarchical charts of accounts, general ledger operations, purchase and sales orders, bills and invoices, banking imports from OFX and QFX, inventory with units of measure, fiscal closing entries, and automated income statements, balance sheets, and cash flow statements. Financial ratios and analytics are included, with multi-entity tenancy and isolation.
Integration means adding the package to installed apps, wiring template context, URL routes, and running migrations. Administrators can manage entities through Django admin, and optional sample data generation is available when extra demo dependencies are installed.
The project targets fintech apps, e-commerce backends, multi-entity ERP-style systems, and internal finance tools that need audit-ready books and reporting APIs inside Django.
Key features
- Double-entry accounting with balancing rules
- Hierarchical chart of accounts
- Income statement, balance sheet, and cash flow
- Bills, invoices, and commercial documents
- OFX and QFX bank imports
- Multi-entity tenancy
- Financial ratios and analytics
- Django admin entity management UI
Use cases
- Embedding books in Django fintech products
- E-commerce order and inventory accounting
- Multi-entity ERP-style reporting
- Internal budgeting and expense platforms