Project: stone-tax Prepared for: Micro Mind Country/Locale: Pakistan (PK) Date: 2026-02-28 Version: 1.0.0
This document defines the System Requirements for stone-tax β an IRIS-inspired Income Tax Return (ITR) Filing System designed for local deployment in Pakistan. Built for tax professionals and individual filers, stone-tax replicates and extends the core functionality of the FBR IRIS portal with multi-role access, custom dashboards, and a modern responsive interface.
This SRD serves as the single source of truth for all stakeholders involved in the design, development, and deployment of the stone-tax platform. The system is intended to run on a local WampServer/localhost environment, targeting Pakistani tax consultants, accountants, and individual taxpayers.
stone-tax is a full-stack web application modeled after Pakistan's IRIS Income Tax Return Filing System. It enables users to file income tax returns, manage withholding statements, track payments, communicate via an inbox/outbox system, and manage their tax profiles β all within a secure, locally hosted environment.
The system supports three primary user roles: Admin, Tax Consultant/Accountant, and Individual Taxpayer (User). Each role has a tailored dashboard and permission set. The application is built for local business use, making it ideal for tax consultancy firms, accounting offices, and individual professionals managing client filings in Pakistan.
Key highlights:
The system administrator responsible for managing users, roles, system settings, and audit logs. Has full access to all modules. Typically an IT manager or senior staff member at a tax consultancy firm.
A licensed tax professional who manages the filings of multiple clients. Has access to a dedicated client management dashboard, can file returns on behalf of clients, and communicates with clients through the messaging system.
A financial professional who assists clients with bookkeeping, withholding statements, and payment tracking. Similar permissions to a Tax Consultant but focused on financial records rather than filing.
A Pakistani taxpayer filing their own income tax return. Can manage their own profile, file returns, track payments, upload documents, and communicate with their assigned consultant.
The stone-tax interface is inspired by the FBR IRIS portal β clean, professional, and government-grade β while being elevated with a modern, responsive design suitable for local Pakistani business users.
| Role | Primary | Accent | Background | Text |
|---|---|---|---|---|
| Global Brand | #1B3A6B (Deep Government Blue) | #00A651 (Pakistan Green) | #F5F7FA (Light Grey) | #1A1A2E (Deep Navy) |
| Admin | #1B3A6B | #E74C3C (Alert Red) | #EEF2F7 | #1A1A2E |
| Tax Consultant | #1B3A6B | #F39C12 (Amber) | #FFF9F0 | #1A1A2E |
| Accountant | #1B3A6B | #2ECC71 (Emerald) | #F0FFF5 | #1A1A2E |
| User/Taxpayer | #1B3A6B | #3498DB (Sky Blue) | #F5F7FA | #1A1A2E |
Imagine landing on stone-tax and being greeted by what feels like the inside of a pristine, modernized government tax office β but made entirely of light and motion.
The Landing / Login Page: The background is a subtle animated blueprint grid β light blue graph paper lines that gently pulse and breathe, evoking the precision of official government documents. Over this grid, a large Pakistan Green (#00A651) crescent and star watermark slowly rotates at 1% opacity, always present, deeply patriotic.
The login card floats at center screen like an official document lifted off a desk β it casts a soft, real-time shadow that shifts as you hover your cursor, as if you're physically picking it up. The card has a faint embossed texture, mimicking official government stationery.
Dashboard Entry Animation: Upon successful login, the screen doesn't fade or slide β instead, it performs a "stamp and file" transition: a green rubber stamp graphic slams down with a satisfying sound cue ("VERIFIED"), then the entire screen peels back like a folder being opened, revealing the dashboard beneath. Different stamps for different roles β red for Admin, amber for Consultant, green for User.
The 7 Action Cards: Each of the 7 dashboard action cards is designed to look like a physical government file folder β thick card stock edges, a colored tab label at the top, and a small paper clip icon. On hover, the card lifts and tilts (3D CSS transform), the folder tab flips up, and the card face reveals an animated micro-statistic (e.g., "3 Returns Pending" counts up in real time). The folders are arranged on a virtual desk surface with a realistic wood-grain gradient.
Tax Return Filing Flow: The filing wizard feels like filling out a physical form under glass β each field illuminates with a soft yellow highlight (like a highlighter pen) as you focus on it. Completed sections get a small green checkmark stamp. When the return is submitted, a dramatic "FILED" stamp animation in Pakistan Green splashes across the form, followed by a satisfying paper-shuffle sound.
Consultant Client Overview: The consultant dashboard presents clients as individual manila file folders in a horizontal scrolling carousel. Each folder shows the client's initials on the tab, their filing status as a colored tag, and a quick-peek animation when hovered β the top of the folder opens slightly to reveal the first data point (last filing date, outstanding amount).
Color-Shifting Navbar: The top navigation bar subtly shifts its accent stripe color based on the active module β blue for Dashboard, green for Returns, amber for Payments, red for Alerts β giving users instant spatial awareness within the app.
Micro-interactions:
This concept transforms a typically dry government tax portal into an experience that feels alive, tactile, and uniquely Pakistani β blending the gravity of official documentation with the delight of thoughtful, modern UI design.
.env files, never hardcoded| Layer | Technology | Purpose |
|---|---|---|
| Web UI | React | SPA dashboard, filing forms, messaging |
| Styling | Tailwind CSS + Custom CSS | IRIS-inspired responsive design |
| Charts | Recharts / Chart.js | Consultant/Accountant analytics dashboards |
| Layer | Technology | Purpose |
|---|---|---|
| API Framework | FastAPI (Python) | REST API for all business logic |
| Authentication | FastAPI JWT Auth / OAuth2 | Secure token-based auth with RBAC |
| Session Mgmt | Redis (via Docker) | Fast session and token store |
| Type | Technology | Purpose |
|---|---|---|
| RDBMS | MySQL / MariaDB | Users, returns, payments, messages, audit logs |
| Migrations | Alembic | Schema versioning and migration management |
| Tool | Purpose |
|---|---|
| Docker | Containerize all services |
| docker-compose | Multi-container local orchestration (API, DB, Redis, Frontend) |
| Tool | Purpose |
|---|---|
| Kubernetes | Production-grade container orchestration for scaled deployments |
The following were considered but not selected for this project phase:
admin / admin123) will be changed immediately upon first deployment| Term | Definition |
|---|---|
| IRIS | Integrated Revenue Information System β FBR Pakistan's online tax portal |
| FBR | Federal Board of Revenue β Pakistan's tax regulatory authority |
| NTN | National Tax Number β unique identifier assigned to Pakistani taxpayers |
| CNIC | Computerized National Identity Card β Pakistan's national ID |
| ITR | Income Tax Return β annual filing submitted by taxpayers |
| PKT | Pakistan Standard Time (UTC+5) |
| PKR | Pakistani Rupee β official currency of Pakistan |
| RBAC | Role-Based Access Control β permission model based on user roles |
| SPA | Single Page Application β web app with dynamic routing (React) |
| Alembic | Python database migration tool for SQLAlchemy-compatible databases |
| WampServer | Windows-based local server stack (Apache, MySQL, PHP) used in the original prototype |
| docker-compose | Tool for defining and running multi-container Docker applications |
| Withholding Statement | A tax document showing taxes deducted at source before payment to the taxpayer |
| Tax Consultant | A licensed professional who manages tax filings on behalf of clients |
| Accountant | A financial professional managing bookkeeping and financial records for clients |
| Audit Log | A chronological record of all system activities for security and compliance |
Document prepared by the stone-tax Engineering Team for Micro Mind | Pakistan | February 2026 This SRD is a living document and will be updated as requirements evolve.

No comments yet. Be the first!