A modern, professional billing/invoicing software for managing sales, expenses, and customer relationships. Includes invoice generation, inventory tracking, expense management, and customer analytics.
- Sales Overview: View today's sales, total units sold, and all-time sales
- Sales Filtering: Filter invoices by date range to view historical data
- Invoice Management: View and delete invoices with quick actions
- Quick Access: Create new bills with a single click
- Low Stock Alerts: Real-time notifications for out-of-stock and low-stock items
- Data Backup: Export all data to JSON file for safekeeping
- Data Restore: Import backup files to restore data
- Customer Database: Add, edit, and delete customer profiles
- Customer Information: Store name, mobile, email, address, and GST number
- Customer Ledger: View complete payment history and transaction analytics per customer
- Quick Statistics: Total customers, active customers, GST-registered customers
- Search & Filter: Find customers by name, mobile, or GST number
- Ledger Analytics: Monthly spending trends, total spent, average order value
- CSV Export: Download individual customer ledgers for accounting
- Expense Tracking: Add, edit, and delete business expenses
- Expense Categories: Categorize expenses (rent, utilities, salary, etc.)
- Monthly Statistics: View total and monthly expense breakdowns
- Visual Analytics: Line chart for trends, doughnut chart for categories
- Fast Operations: Optimized modal forms with instant feedback
- Dark Mode Support: Full dark theme compatibility
- Custom Delete Dialogs: Confirm before deleting expenses
- Payment History: View complete transaction history for any customer
- Customer Analytics: Total spent, invoice count, last purchase, average order
- Purchase Timeline: Interactive bar chart showing monthly spending patterns
- Invoice Details: View individual invoices with item counts and amounts
- CSV Export: Download customer's complete transaction history
- Responsive Design: Works seamlessly on desktop and mobile devices
- Product Database: Add, edit, and delete products
- Stock Tracking: Real-time stock levels with low stock indicators
- Auto-deduction: Stock automatically reduces when invoices are created
- Search: Find products quickly by name or description
- Data Backup: Same backup/restore functionality as dashboard
- Customer Details: Name, address, mobile number, and optional GST number
- Dynamic Item Table: Add/remove items with automatic calculations
- Product Autocomplete: Type-ahead suggestions from inventory
- Customizable GST: Adjust GST rate (default 18%)
- Auto-calculation: Real-time calculation of subtotal, GST, and grand total
- PDF Generation: Download professional tax invoices in PDF format
- WhatsApp Integration: Send invoice details directly via WhatsApp
- Terms & Conditions: Pre-filled terms that can be edited
- Open
index.htmlin any modern web browser (Chrome, Firefox, Edge) - No installation or server setup required!
- Click "Create New Bill" button on the dashboard
- Fill in customer details:
- Customer Name (required)
- Customer Address (required)
- Customer GST No (optional)
- Add invoice items:
- Enter description, quantity, and rate
- Click "+ Add Item" to add more rows
- Click "β" to remove items (minimum 1 required)
- Adjust GST rate if needed (default is 18%)
- Edit terms and conditions if needed
- Click "Generate Invoice PDF" to create and download the invoice
- Invoice is automatically saved to dashboard
- Dashboard shows today's sales automatically
- Use date filters to view sales for specific periods:
- Select "From Date" and "To Date"
- Click "Filter" to apply
- Click "Clear" to reset
- View individual invoices by clicking "View"
- Delete invoices by clicking "Delete"
-
Creating a Backup:
- Click "πΎ Backup Data" button on Dashboard or Inventory page
- A JSON file will be downloaded (e.g.,
KounterPro_Backup_2026-02-09.json) - Store this file safely (Google Drive, Dropbox, USB drive, etc.)
- Recommendation: Create weekly backups
-
Restoring from Backup:
- Click "π Restore Data" button
- Select your backup JSON file
- Confirm the restore (this will replace current data)
- Page will automatically reload with restored data
-
Why Backup?:
- Browser data can be accidentally cleared
- Protection against computer crashes
- Transfer data to a new computer
- Keep historical archives
- Click "π¦ Inventory" from dashboard
- Add products with name, description, rate, and stock quantity
- Edit or delete existing products
- Stock automatically reduces when creating invoices
- Low stock items (< 10 units) are highlighted in yellow
- HTML5, CSS3, JavaScript (Vanilla - no frameworks)
- jsPDF library for PDF generation
- localStorage for data persistence
- All invoices and inventory are stored in browser's localStorage
- Data persists across browser sessions
- No backend or database required
- Important: Backup regularly to prevent data loss
- LocalStorage has 5-10MB limit (sufficient for thousands of invoices)
- Professional tax invoice layout
- Company details (Dynamic)
- Customer information
- Itemized product list
- GST calculation breakdown
- Terms and conditions
- Stamp/seal placeholder
kounterpro/
βββ src/
β βββ pages/
β β βββ 404.html # 404 error page
β β βββ create-bill.html # Invoice/bill creation
β β βββ customers.html # Customer management
β β βββ customer-ledger.html # Customer payment history
β β βββ expenses.html # Expense tracking
β β βββ forgot-password.html # Password recovery
β β βββ index.html # Dashboard (main)
β β βββ inventory.html # Product/inventory management
β β βββ login.html # Login page
β β βββ profile.html # Business profile settings
β β βββ reports.html # Reports & analytics
β β βββ reset-password.html # Password reset
β β βββ signup.html # Registration page
β β
β βββ scripts/
β β βββ auth.js # Authentication logic
β β βββ billing.js # Invoice creation & PDF
β β βββ config.js # Configuration settings
β β βββ customers.js # Customer management
β β βββ customer-ledger.js # Customer ledger functionality
β β βββ dark-mode.js # Dark/light theme toggle
β β βββ dashboard.js # Dashboard functionality
β β βββ dashboard-modern.js # Modern dashboard logic
β β βββ dialog.js # Custom confirmation dialogs
β β βββ expenses.js # Expense management
β β βββ inventory.js # Inventory management
β β βββ notifications.js # Notification system
β β βββ supabase.js # Supabase database integration
β β βββ toast.js # Toast notification system
β β βββ validation.js # Form validation utilities
β β
β βββ styles/
β β βββ dark-mode.css # Dark theme variables
β β βββ styles.css # Main stylesheet
β β βββ styles-new.css # Modern component styles
β β
β βββ assets/ # Images, icons, etc.
β
βββ database/
β βββ add-invoice-date-column.sql # Database migration
β βββ update-profile-schema.sql # Database schema updates
β
βββ docs/
β βββ BACKUP_IMPLEMENTATION.md # Backup feature docs
β βββ DARK_MODE_IMPLEMENTATION.md # Dark mode docs
β βββ ERROR_HANDLING_IMPLEMENTATION.md # Error handling docs
β βββ FUTURE_MULTI_LANGUAGE.md # Multi-language planning
β βββ futureproof.md # Futureproofing docs
β βββ implementation.md # Full implementation guide
β βββ PROFILE_UPDATE_README.md # Profile update docs
β βββ README.md # This file
β βββ SUPABASE_SETUP.md # Database setup guide
β βββ TESTING_BACKUP.md # Backup testing guide
β
βββ index.html # GitHub pages entry point
βββ 404.html # GitHub pages 404 handler
βββ _config.yml # GitHub pages config
βββ .gitignore # Git ignore rules
Invoices are automatically numbered in the format: K####/MM/YY
- K0001/02/26 (First invoice in February 2026)
- K0002/02/26 (Second invoice)
- etc.
Edit the company information in billing.js at line ~86:
pdf.text('Company Name', 15, y);
pdf.text('Indra Auto Nagar, Rangeen Masjid Road Bijapur', 15, y);
// etc.Change the default GST rate in create-bill.html at line 42:
<input type="number" id="gstRate" value="18" ...>Default terms can be edited in create-bill.html at line 90-96
- Chrome (recommended)
- Firefox
- Edge
- Safari
- Any modern browser with localStorage support
- All data is stored locally in your browser
- Create regular backups using the Backup button to prevent data loss
- Clearing browser data will delete all invoices (unless backed up)
- PDF generation works offline (no internet required after initial load)
- Use backup files to transfer data between computers
- All data stays on your computer (no cloud/server)
- No login required for single-user setup
- Backup files contain all your business data - keep them secure
- No tracking or data collection
- Save and manage customer profiles with complete information
- Quick-select dropdown in billing form for faster invoicing
- Edit/delete customer records with confirmation dialogs
- Customer payment history and analytics
- Track business expenses with multiple categories
- Visual analytics with charts showing spending trends
- Categorize and filter expenses efficiently
- Export expense reports for accounting
- View complete transaction history per customer
- Interactive charts showing monthly spending patterns
- Calculate customer analytics (total spent, avg order, last purchase)
- CSV export for each customer's ledger
- Click "Customers" in the sidebar
- Click "Add Customer" button
- Fill in customer details (name, mobile, email, address, GST)
- Click "Save Customer"
- Go to Customers page
- Click "Ledger" button on any customer row
- View their complete payment history
- See spending trends and statistics
- Click "Export CSV" to download their transaction history
- Click "Expenses" in the sidebar
- Click "Add Expense" button
- Fill in expense details (amount, category, date, notes)
- Click "Save Expense"
- View monthly trends in charts
- Filter by category or date range
| Feature | Status | Location |
|---|---|---|
| Dashboard | β Live | index.html |
| Create Invoices | β Live | create-bill.html |
| Inventory | β Live | inventory.html |
| Customers | β Live | customers.html |
| Customer Ledger | β Live | customer-ledger.html |
| Expenses | β Live | expenses.html |
| Data Backup | β Live | All pages |
| Dark Mode | β Live | All pages |
| Reports | π In Progress | reports.html |
| Payment Tracking | π Planned | - |
| Advanced Analytics | π Planned | - |
- β
Data Backup & Restore(Completed Feb 9) - β
Customer Database(Completed Feb 28) - β
Expense Management(Completed Mar 1) - β
Customer Ledger(Completed Mar 1) - π Payment status tracking
- π Enhanced search & filter
- π Advanced reporting & analytics
- π Multi-user support with authentication