An Enterprise-Grade, High-Performance Invoice Management Solution.
This system is engineered for silver trading businesses and high-velocity retail environments. It combines a robust Flask backend with a stunning Premium Glass UI to deliver a seamless, intuitive, and visually captivating experience. Designed for reliability, speed, and modern aesthetics.
- Centralized Profiles: Create and manage detailed customer profiles with ease.
- Transaction History: View complete purchase and payment history at a glance.
- Smart Search: Instantly find customers and invoices with real-time filtering.
- Dual Calculation Modes:
- ⚖️ Ready Mode: Precision calculation based on Silver Weight × Market Rate.
- ⚒️ Mazduri Mode: Labor-based calculation (Piece Count × Labor Rate).
- Real-Time Math: Prices, totals, and balances update instantly as you type—no page reloads.
- Auto-Numbering: Smart invoice ID generation ensures organized record-keeping.
- Multi-Payment Support: Accept Cash, Bank Transfer, Cheque, and Mobile Wallets.
- Partial Payments: Flexible payment tracking with advanced handling of deposits and remaining balances.
- Audit Logging: comprehensive security logs track every system action for full accountability.
- Glassmorphism UI: A visually stunning, translucent interface with blur effects and ambient lighting.
- Responsive Design: Flawless experience across Desktop, Tablet, and Mobile devices.
- Interactive Dashboard: dynamic charts and quick-action widgets for instant business insights.
- 📄 PDF Generation: Professional, branded invoices generated instantly for printing or sharing.
- 📊 Excel Export: One-click full database export for offline analysis and backup.
| Executive Dashboard | Smart Invoice Creation |
|---|---|
![]() |
![]() |
| Real-time insights and quick actions | Instant calculations with dual-mode support |
| Glass Login Interface | Data Management |
|---|---|
![]() |
![]() |
| Secure, aesthetic access point | Filterable, sortable data grids |
A clean, modular architecture ensures maintainability and scalability.
premium-invoice-management-system/
├── backend/ # 🧠 Application Logic (Flask)
│ ├── app.py # Main Application Entry Point
│ ├── models.py # Database Models (SQLAlchemy)
│ ├── routes/ # API Endpoints & Blueprint Controllers
│ ├── utils.py # Financial Calculations & Helpers
│ └── pdf_generator.py # ReportLab PDF Generation Engine
├── frontend/ # 💎 Presentation Layer (Glass UI)
│ ├── css/theme.css # Custom Glassmorphism Styles
│ ├── js/api.js # Frontend-Backend Communication
│ └── index.html # Main Dashboard Interface
├── data/ # 💾 Persistence Layer
│ └── invoice.db # SQLite Database (Auto-generated)
└── requirements.txt # 📦 Dependency Definitions
Get up and running in minutes.
- Python 3.10+ installed on your system.
- Git for version control.
git clone https://github.com/YOUR_USERNAME/premium-invoice-management-system.git
cd premium-invoice-management-systemIsolate dependencies to keep your system clean.
Windows:
python -m venv venv
.\venv\Scripts\activatemacOS / Linux:
python3 -m venv venv
source venv/bin/activatecd backend
pip install -r requirements.txtOption A: One-Click (Windows)
Double-click the start_server.bat file included in the root directory.
Option B: Manual Start
python app.pyAccess the system at: http://localhost:5000
Navigate to "Customers" > "Add New". Enter the client's details. This creates a profile that will be linked to all their future invoices.
Go to "New Invoice". Select the customer, choose the billing mode (Ready or Mazduri), and add items. The system calculates totals automatically. Click "Save & Generate PDF" to finalize.
In the "Invoices" view, select an unpaid invoice and click "Add Payment". Enter the amount and method (e.g., Cash, Bank). The balance updates instantly.
Use the "Export Data" button on the Dashboard to download the full database as an Excel file for reporting or backup.
We are constantly improving. Upcoming features include:
- Multi-User Role Management (Admin/Staff access levels)
- Inventory Tracking Integration (Auto-deduct stock)
- Dark/Light Mode Toggle
- Automated Email Notifications for invoices and receipts
This project is licensed under the MIT License. You are free to use, modify, and distribute this software. See the LICENSE file for details.
Developed by Syed Rasab Ul Haque
- 📧 Email: rasab1781@gmail.com
- 💼 LinkedIn: www.linkedin.com/in/rasab3922
Built with ❤️ using Flask, SQLite, and Glassmorphism Design.



