An offline-first desktop application for Lagos-based individual taxpayers filing Direct Assessment returns under the Nigeria Tax Act (NTA) 2025.
# LagosFile
**LagosFile** is an offline-first desktop application for Lagos-based individual taxpayers filing Direct Assessment returns under the Nigeria Tax Act (NTA) 2025. It guides you through income entry, capital allowances, deductions, and a full tax computation, then helps you file directly on the LIRS e-Tax portal via a companion browser extension.
Built with **Angular 19** and **Tauri 2** (Rust backend). Your data never leaves your machine.
---
## Features
- **PIN-protected encrypted database** - SQLite encrypted at rest; your PIN derives the key
- **Four-step filing wizard** - Income -> Capital Allowances -> Deductions & Reliefs -> Review & Confirm
- **NTA 2025 computation engine** - Progressive tax bands, minimum tax, CGT exemptions, rent relief
- **Foreign income with FX conversion** - Automatic CBN-rate waterfall (API -> cache -> manual)
- **Filing history & amendments** - Immutable confirmed filings; amendments create new linked records
- **Export engine** - PDF computation statement, CSV line-item export, JSON full record
- **LIRS portal integration** - Browser extension auto-fills the e-Tax portal from your computed filing
- **Document attachments** - Attach PDFs/images to income entries and relief claims (100 MB limit)
- **Backup & restore** - Encrypted database backup with full restore support
- **Configurable tax parameters** - Edit bands, rates, and caps in-app without a software release
- **Year-over-year tax chart** - Dashboard chart showing tax liability across filing years
- **Light / dark / system theming**
---
## Screenshots
Click any section below to expand.
Dashboard — Year-over-year tax overview and filing status
Filing History — Confirmed filings, amendments, and exports
PIN Entry with Biometric — Unlock with PIN or Windows Hello / Touch ID
Configuration — Customise tax bands, rates, and caps
---
## Tech Stack
| Layer | Technology |
|---|---|
| Frontend | Angular 19 (standalone components, Angu …