How bilalpiaic/easy-books works
Easy-Books is a multi-tenant accounting SaaS with installable operational, industry, statutory, and intelligence add-ons. The principal workflow is users creating invoices or bills, calculating document taxes, posting balanced vouchers to the general ledger, and reviewing live financial or operational reports. The README documents the accounting and reporting contracts; the sampled sources show API startup, authentication, tenant-scoped shared dependencies, module management, and report-engine behavior. Several domain-router connections are documented product capabilities rather than inspected call paths.
Main entry points: invoices.py Invoices and bills · posting.py Voucher posting · models.py General ledger · (dashboard) Web workspace
Components 19
User experience
- Web workspace
frontend/src/app/(dashboard)
Platform foundation
- FastAPI application
backend/main.py - Identity and tenants
backend/routers/auth.py - Request dependencies
backend/routers/common.py - Add-on management
backend/routers/modules.py - Tenant data
backend/db.py
Accounting workflow
- Invoices and bills
backend/routers/invoices.py - Tax calculation
backend/services/tax_engine.py - Voucher posting
backend/services/posting.py - Payment allocation
backend/routers/payments.py - General ledger
backend/models.py
Operations and industries
- Inventory operations
backend/services/inventory.py - Purchasing and stock
backend/routers/purchase_orders.py - Industry add-ons
backend/routers
Reports and integrations
- Live reports
backend/routers/reports.py - Report builder
backend/services/report_engine.py - Bank reconciliation
backend/routers/reconciliations.py - E-invoice compliance
backend/services/peppol.py
Other components
- Tenant user
Connections 22
- Tenant user → Web workspace: uses
- Web workspace → FastAPI application: submits requests
- FastAPI application → Identity and tenants: routes requests
backend/main.py - Identity and tenants → Request dependencies: authenticates
backend/routers/auth.py - Request dependencies → Tenant data: loads tenant data
backend/routers/common.py - Tenant user → Add-on management: installs add-ons
backend/routers/modules.py - Add-on management → Tenant data: stores module state
backend/routers/modules.py - Tenant user → Invoices and bills: creates documents
- Invoices and bills → Tax calculation: calculates tax
backend/services/tax_engine.py - Invoices and bills → Voucher posting: posts vouchers
- Tenant user → Payment allocation: allocates payments
- Payment allocation → Voucher posting: posts settlements
- Voucher posting → General ledger: writes entries
- Tenant user → Purchasing and stock: manages purchasing
- Purchasing and stock → Inventory operations: tracks stock
- Tenant user → Industry add-ons: uses add-ons
- Tenant user → Live reports: views reports
- Live reports → General ledger: reads live balances
- Tenant user → Report builder: builds reports
- Report builder → General ledger: queries tenant data
backend/services/report_engine.py - Tenant user → Bank reconciliation: reconciles accounts
- Tenant user → E-invoice compliance: uses e-invoicing