Invoices are among the most frequent touchpoints with your customers. A professional, well-branded invoice reinforces credibility and makes payment processing smooth. WHMCS provides extensive invoice customization options from numbering formats to complete template redesigns. This guide covers everything you need to create invoices that look professional and meet business requirements.
Invoice Numbering Configuration
Invoice numbers serve as unique identifiers for internal tracking, customer reference, and potentially legal or tax requirements. WHMCS offers flexible numbering options to match your business needs.
Format Options
Navigate to Setup → General Settings → Invoices to configure numbering. Options include sequential numbering starting from any number, prefix and suffix additions for organization, date-based components for chronological sorting, and custom formats using merge fields. Example formats that work well include INV-0001 for simple sequential numbering, 2026-0001 for year-prefixed sequences, and WH-2026-01-0001 for company code with year and month identifiers.
Starting Number
Set the starting invoice number to create continuity from previous systems. If migrating from another platform, you might start at where the old system left off. New businesses sometimes start higher numbers like 1001 to appear more established.
Reset Behavior
Choose whether numbering resets annually, never resets, or follows custom rules. Annual reset with year prefix works well for businesses that file annual reports by invoice date. Continuous numbering simplifies tracking but creates very high numbers over time.
Template Customization
PDF Invoice Template
The PDF invoice template determines what customers see when downloading or receiving invoices by email. WHMCS uses a template system that combines HTML-like structure with Smarty variables for dynamic content.
Find templates in Templates → Invoice PDF. The default template provides a solid starting point. Key areas to customize include logo placement and sizing for your branding, company information block with legal details, color scheme matching your brand palette, and footer content for payment terms and contact information.
Adding Your Logo
Upload your logo to the WHMCS assets directory and reference it in the template. Use appropriate dimensions (typically 200-300px wide for invoice headers) and ensure the image is high resolution for print quality if customers print invoices.
Company Information
Configure complete company details that appear on invoices. This typically includes registered company name as it appears on legal documents, business address, tax identification numbers like VAT number or GST number, and contact information for billing questions. Consult with your accountant about required elements for your jurisdiction.
Branding Elements
Color Customization
Modify the template CSS to use your brand colors. Replace default blues and grays with your brand palette. Focus on header background, accent lines and borders, and text highlighting for amounts. Maintain readability since invoices are often printed in black and white. Test both color and monochrome printing.
Typography
The default template uses web-safe fonts that render consistently. If using custom fonts, embed them in the PDF template or use font services that support PDF embedding. Inconsistent fonts across customer devices create unprofessional appearance.
Layout Adjustments
Modify the table structure, spacing, and information hierarchy. Common adjustments include highlighting the total amount due prominently, adding service descriptions in detail rows, including payment due date in a visible location, and QR codes for quick mobile payment if supported by your gateways.
Dynamic Content
Smarty Variables
WHMCS passes invoice data to templates through Smarty variables. Common variables you can use include invoice number and date, customer name and address, line item details with descriptions, subtotal and tax breakdowns, payment status and history, and custom field values from client profiles.
Conditional Content
Show different content based on invoice status or customer type. Use Smarty if statements to display payment instructions only on unpaid invoices, show different payment methods based on currency, include late fee warnings on overdue invoices, and add VIP messaging for premium customers.
Email Invoice Templates
Invoice Created Email
Customize the email that accompanies new invoice notifications. Include clear subject lines with invoice number and amount, prominent payment links and buttons, brief listing of services being billed, and due date with late fee policy if applicable. This email drives payment action, so clarity and prominent CTAs matter.
Payment Reminder Emails
Configure escalating reminders that increase urgency without damaging customer relationships. First reminder stays friendly and assumes the customer simply forgot. Second reminder notes overdue status and potential service impact. Third reminder warns of imminent suspension with specific date. Test these emails to ensure the right balance of urgency and professionalism.
Compliance Requirements
Tax Information
Different jurisdictions have specific invoice requirements including tax registration numbers displayed prominently, tax breakdown showing rates and amounts separately, specific wording for reverse charge or exempt transactions, and sequential numbering with no gaps for some tax authorities. Research your local requirements or consult with an accountant familiar with your business type.
International Considerations
For businesses serving multiple countries, consider multi-language invoice templates based on customer location, currency-appropriate formatting for decimal separators, country-specific tax handling for VAT and GST rules, and time zone considerations for invoice dates. WHMCS's multi-currency features handle much of this automatically when properly configured.
Testing Invoices
Preview Functionality
Test invoice appearance with sample data before going live. Create test invoices with realistic content and verify they render correctly across different scenarios including single-item invoices, multi-line invoices with various products, invoices with applied credits and discounts, and invoices in different currencies.
PDF Quality
Download generated PDFs and check print quality. Verify images are crisp, text is readable at both screen and print sizes, and layout doesn't break at page boundaries for long invoices.
Advanced Customization
Custom Hooks for Special Cases
Use hooks to modify invoice behavior for specific scenarios including different templates for different client groups, automated adjustments based on invoice content, and integration with external accounting systems.
Third-Party Invoice Modules
If built-in customization isn't sufficient, third-party modules offer advanced invoicing features like quote-to-invoice conversion, deposit invoicing for large projects, and enhanced PDF styling with drag-and-drop editors.
Conclusion
Professional invoices contribute to customer trust and smoother payment collection. Invest time in proper customization including your branding, clear payment instructions, and compliance-friendly formatting. The templates you create serve thousands of invoices over time, so the upfront effort pays ongoing dividends in professional appearance and reduced payment issues. Review your invoices periodically as your branding evolves, ensuring they continue to represent your business well.
About Shahid Malla
ExpertFull Stack Developer with 10+ years of experience in WHMCS development, WordPress, and server management. Trusted by 600+ clients worldwide for hosting automation and custom solutions.