EliteDevs Invoice Generator
A professional WordPress plugin for creating and managing invoices
by Ibrahim Hossain · github.com/ridoyrko/elitedevs-invoice-generator · website
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/ridoyrko/elitedevs-invoice-generator/archive/refs/heads/master.zipA professional WordPress plugin for creating, managing, and tracking invoices with a beautiful frontend form and comprehensive admin panel.
🌟 Features
Frontend Invoice Creation
- Beautiful Invoice Form - Modern, responsive design with gradient styling
- Real-time Calculations - Automatic subtotal, tax, and total calculations
- International Phone Input - Built-in country code selector
- Dynamic Item Management - Add/remove invoice items on the fly
- Live Preview - See invoice before saving
- PDF Generation - Download invoices as PDF
- Access Control - Admin-only access with user-friendly error messages
Admin Panel
- Invoice Management Dashboard - View all invoices with statistics
- Quick Status Changes - Update invoice status without opening edit page
- Bulk Actions - Update multiple invoices at once
- Advanced Filtering - Filter by status, search by client/invoice number
- Detailed Invoice View - Professional invoice display
- Edit Invoices - Full editing capabilities
- Revenue Tracking - Automatic revenue calculation from paid invoices
Invoice Statuses
- Pending (Orange) - Newly created invoices
- Sent (Blue) - Invoices sent to clients
- Paid (Green) - Confirmed payments
- Cancelled (Red) - Cancelled invoices
Customization Options
- Company Details - Logo, name, address, contact info
- Invoice Styling - Custom colors (background, primary, accent)
- Tax Settings - Enable/disable tax, custom tax rate and label
- Currency Settings - Custom symbol and position
- Invoice Numbering - Custom prefix and starting number
- Footer Text - Custom footer message
- Signature - Upload company signature
📋 Requirements
- WordPress 5.0 or higher
- PHP 7.4 or higher
- MySQL 5.6 or higher
🚀 Installation
Method 1: Upload via WordPress Admin
- Download the plugin ZIP file
- Go to WordPress Admin → Plugins → Add New
- Click Upload Plugin
- Choose the ZIP file and click Install Now
- Click Activate Plugin
Method 2: Manual Installation
- Download the plugin ZIP file
- Extract the ZIP file
- Upload the
elitedevs-invoice-generatorfolder to/wp-content/plugins/ - Go to WordPress Admin → Plugins
- Find "EliteDevs Invoice Generator" and click Activate
Method 3: Clone from GitHub
cd wp-content/plugins/
git clone https://github.com/YOUR-USERNAME/elitedevs-invoice-generator.git
📖 Usage
Initial Setup
-
Configure Company Details
- Go to Invoices → Settings
- Fill in your company information
- Upload logo and signature (optional)
- Set currency and tax preferences
-
Create Frontend Page
- Create a new page in WordPress
- Add the shortcode:
[elitedevs_invoice_form] - Publish the page
- Only administrators can access this page
Creating Invoices
Via Frontend Form
- Navigate to your invoice creation page
- Fill in client details
- Add invoice items (description, quantity, price)
- Add notes (optional)
- Click Generate Invoice to preview
- Click Save Invoice to save to database
- Click Download PDF to get PDF version
Via Admin Panel
- Go to Invoices → All Invoices
- Click Create New Invoice (if implemented)
- Fill in all details
- Click Save
Managing Invoices
Quick Status Changes
- Hover over any invoice number
- Click status action (e.g., "Mark Sent", "Mark Paid")
- Status updates immediately
Bulk Actions
- Select multiple invoices (checkboxes)
- Choose action from dropdown
- Click Apply
Filtering
- Use status dropdown to filter by status
- Use search box to find by client name, email, or invoice number
Statistics Dashboard
The dashboard shows:
- Total Invoices - All invoices in system
- Pending - Awaiting action
- Sent - Sent to clients
- Paid - Confirmed payments
- Total Revenue - Sum of paid invoices only
🎨 Customization
Shortcode
[elitedevs_invoice_form]
Styling
The plugin uses CSS custom properties for easy customization:
:root {
--primary-color: #1e73be;
--secondary-color: #195d99;
--success-color: #10b981;
--danger-color: #ef4444;
}
You can override these in your theme's CSS.
Hooks & Filters
(Coming soon - will document available hooks for developers)
📊 Database Structure
The plugin creates one table: wp_elitedevs_invoices
Columns:
id- Primary keyinvoice_number- Unique invoice numberclient_name- Client nameclient_email- Client emailclient_phone- Client phoneclient_address- Client addressinvoice_date- Invoice datedue_date- Payment due dateitems- JSON encoded items arraysubtotal- Subtotal amounttax_amount- Tax amounttotal_amount- Total amountnotes- Invoice notesstatus- Invoice status (pending/sent/paid/cancelled)created_at- Creation timestampupdated_at- Last update timestamp
🔒 Security Features
- ✅ Nonce verification on all forms
- ✅ Capability checks (
manage_options) - ✅ Data sanitization and validation
- ✅ Prepared SQL statements
- ✅ CSRF protection
- ✅ XSS prevention
- ✅ Access control on frontend form
🛠️ Development
File Structure
elitedevs-invoice-generator/
├── admin/
│ └── views/ # Admin view templates
├── assets/
│ ├── admin/
│ │ ├── css/ # Admin styles
│ │ └── js/ # Admin scripts
│ └── frontend/
│ ├── css/ # Frontend styles
│ └── js/ # Frontend scripts
├── frontend/
│ └── views/ # Frontend view templates
├── includes/
│ ├── Admin/ # Admin classes
│ ├── Frontend/ # Frontend classes
│ ├── Activator.php # Plugin activation
│ ├── Deactivator.php # Plugin deactivation
│ ├── Invoice_Manager.php # CRUD operations
│ └── Plugin.php # Main plugin class
└── elitedevs-invoice-generator.php # Plugin entry point
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
📝 Changelog
Version 1.0.0 (2026-01-19)
- Initial release
- Frontend invoice creation form
- Admin invoice management
- Quick status changes
- Bulk actions
- PDF generation
- Revenue tracking
- Access control
📄 License
This plugin is licensed under the GPL v2 or later.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
👨💻 Author
EliteDevs
🙏 Acknowledgments
- WordPress community
- Contributors and testers
- Open source libraries used
📞 Support
For support, please open an issue on GitHub or contact through WordPress.org plugin page.
🔗 Links
- GitHub Repository
- WordPress.org Plugin Page (Coming soon)
- Documentation (Coming soon)
Made with ❤️ by EliteDevs