Katamaze Documentation

Tips and tricks of Billing Extension

In this page you can find a list of tips and tricks that you can use in your WHMCS in conjunction with our Billing Extension module.


WHMCS uses auto-tags to let you customize the Sequential Invoice Number Format. You can configure them in Setup > General Settings > Invoices > Sequential Invoice Number Format. In a standard installation of WHMCS you can use the following auto-tags:

  • {YEAR}
  • {MONTH}
  • {DAY}
  • {NUMBER} This is the invoice number

Billing Extension allows you to use additional auto-tags that are not available in WHMCS:

  • {USERID}

It means that you can customize the Sequential Invoice Number Format to something like this:



This feature is very useful in case you need to store all your PDF files of invoices with a particular name in your Document Management System.

Quantity shortcut

With the use of a particular syntax in the description of an invoice item, you can display quantity and unit price as you can see from the screenshot below. The syntax is [quantity:X] where the X represents your quantity (e.g. [quantity:10]). The module will then automatically handle and show the unit price and quantity on your invoice.


Show customized text on Invoices and proformas

This is not an hidden feature of the module but just an hint. Let's say that you need to display two particular messages on your PDF invoices:

  • Show on all proformas "This is not a VAT invoice"
  • Show on all paid invoices "To be used as VAT invoice"

Simply open your invoicepdf.tpl files located in templates/{YOUR_TEMPLATE} directory and place the following code where you want to show the above messages:


if($status=='Paid'): $pdf->Cell(180,4,"To be used as VAT invoice",'','','C');
else: $pdf->Cell(180,4,"This is not a VAT invoice",'','','C'); 


There are no attachments for this article.
There are no comments for this article. Be the first to post a comment.
Full Name
Email Address
Security Code Security Code
Related Articles RSS Feed
General Settings
Viewed 1340 times since Tue, Feb 2, 2016
Module upgrade
Viewed 1096 times since Mon, Mar 21, 2016
Simplified Invoicing
Viewed 1051 times since Wed, Feb 3, 2016
Credit & Taxes
Viewed 205 times since Mon, Sep 4, 2017
Credit notes, reverse invoices, invoices and proformas
Viewed 2473 times since Wed, Feb 3, 2016
VIES support for WHMCS
Viewed 860 times since Sun, Apr 3, 2016
Invoice overpayments
Viewed 246 times since Mon, Sep 4, 2017
Introduction to multi-brand billing
Viewed 1199 times since Mon, May 9, 2016
Overpayments: Mode 1, Mode 2
Viewed 929 times since Thu, Mar 3, 2016
Toggle Invoicing
Viewed 816 times since Sat, Apr 15, 2017