A complete, modern invoice management system built with PHP. Manage clients, suppliers, products, invoices, purchases, and more with a professional POS interface and detailed reporting.
InvoPOS is a full-featured invoicing and business management system designed for small to medium businesses. It provides a clean, modern interface for managing the complete lifecycle of invoices, purchase orders, clients, suppliers, and product inventory.
The system includes a real-time Point of Sale (POS) terminal, role-based access control, comprehensive reporting with charts, and a professional invoice/purchase order printer.
Full CRUD for clients with contact info, addresses, tax numbers, and status tracking.
Manage suppliers with company details, addresses, and联系 information.
Products with SKU, barcode, pricing, cost price, stock tracking, categories, and tax rates.
Dynamic line items, auto-calculation of taxes and discounts, notes, terms, and print-ready output.
Create POs to suppliers, track received status, auto-update stock on receive.
Touch-friendly grid, instant cart, cash/card checkout, real-time stock updates.
Role-based access (Admin, Manager, Staff, Accountant) with granular permissions.
Sales, purchases, profit/loss, top products, client rankings, and printable reports.
Record payments against invoices/purchases, multiple payment methods, balance tracking.
Company info, currency, tax rates, invoice prefixes, date formats, and terms.
Enter your MySQL host, username, password, and database name. The installer will:
To populate the system with sample data (8 clients, 4 suppliers, 12 products, 12 invoices, 8 purchases):
The system uses 13 tables with proper foreign key relationships and cascade deletes.
| Table | Purpose | Key Relationships |
|---|---|---|
roles | User roles with JSON permissions | - |
users | System users | roles.id |
business_settings | Key-value config store | - |
clients | Customer records | - |
suppliers | Supplier records | - |
items | Products with stock | - |
invoices | Sales invoices | clients, users |
invoice_items | Line items for invoices | invoices, items |
purchases | Purchase orders | suppliers, users |
purchase_items | Line items for purchases | purchases, items |
payments | Payment records | invoices, purchases |
expense_categories | Expense categories | - |
expenses | Expense tracking | expense_categories, users |
activity_log | Audit trail | users |
| Role | Clients | Suppliers | Items | Invoices | Purchases | POS | Reports | Users | Settings |
|---|---|---|---|---|---|---|---|---|---|
| Admin | |||||||||
| Manager | |||||||||
| Staff | |||||||||
| Accountant |
Edit config/database.php to change database credentials:
define('DB_HOST', 'localhost');
define('DB_NAME', 'invoice_system');
define('DB_USER', 'root');
define('DB_PASS', '');
All other settings (business name, currency, tax rates, invoice templates) are configurable via the Settings page in the UI.
Email: admin@example.com
Password: admin123
InvoPOS v1.0.0
Built with PHP, MySQL, Bootstrap 5, Chart.js