Fedha API is a multi-tenant double-entry accounting microservice. Connect any system via HTTP — post transactions, generate financial reports, and reconcile bank statements.
Why Fedha API
Built on the principles that make accounting software reliable — correctness first, then convenience.
Reference accounts by name — PRIMARY_BANK, AR_CONTROL, MPESA — not by numeric codes. No hardcoded account numbers scattered across your app.
Every journal entry is linked to your own source_type and source_id. Trace any balance back to its origin — invoice, payment, or expense — in one query.
Seed 40+ accounts in a single API call. Pick a domain template — rental, transport, or generic — and start posting entries immediately.
Trial balance, income statement, balance sheet, cash position, and AR aging — all queryable as JSON, ready to display in any dashboard.
Built-in reconciliation workflow. Load journal lines for a period, mark cleared items, and lock the period when done.
REST API — works with Python, JavaScript, PHP, Ruby, Go, or any HTTP client. No SDK required, just standard JSON requests.
Getting Started
No complex setup. No migrations to run. No schema to design. Start recording accounting entries in minutes.
Register your application as a tenant. Each tenant is fully isolated — its own accounts, journals, and reports.
Load a complete Chart of Accounts in one call. Pick rental, transport, or generic to match your domain.
Every financial event — payment, invoice, expense — becomes a balanced journal entry. Reference accounts by name, not code.
Query trial balance, income statement, balance sheet, and more. All computed in real time from your journal data.
Built for Real Businesses
Fedha API ships with pre-built Chart of Accounts templates for the most common business types.
Rent invoicing, security deposits, maintenance expenses, and AR aging for overdue tenants.
domain: rentalFreight receivables, fuel expenses, vehicle depreciation, and driver salary tracking.
domain: transportSales revenue, returns, supplier payables, VAT handling, and cash position reporting.
domain: genericFee collection, salary processing, petty cash, and year-end income statement generation.
domain: generic