Prevent Invoice Issuing for Zero Value Invoices in WHMCS

Prevent Invoice Issuing for Zero Value Invoices in WHMCS

Back   Posted on 5 october 2020 / Updated on 21 october 2020
Reading time 2 minutes

Unwanted Invoices

From an invoicing perspective WHMCS has a lot of limitations. It lacks some basic concepts of billing and handles invoices as if it's playing with toys.

One of the many limits of WHMCS is that it issues too many invoices. This can be improved using our monthly invoicing for WHMCS but there certain types of invoices that make absolutely no sense:

  • Fully paid by credit
  • Free products/services
  • 100% discount

In these scenarios issuing invoices is completely useless as amount is zero and there are no payments or transactions involved. We should get rid of them for the following reasons:

  • User experience. Life is too short to spend hours wrangling invoices
  • Hidden costs. Invoice processing is a labor-intensive process
  • In many countries issuing zero value invoices is not supported
  • In others it's even considered suspicious

Billing Extension provides a solution to this problem. The module is capable of "suppressing" unwanted invoices like the ones we just seen. Basically it checks amounts preventing WHMCS from generating zero value invoices.

Invoice Suppression

You can configure invoice suppression from Addons > Billing Extension > Settings > Billing Preferences > Invoice Suppression. Here you find the following dropdown that lets you choose what type of zero value invoices you don't want to issue.

We recommend to use this same settings as it is the most common. The Anti-Fraud option is used to prevent issuing invoices for fraudulent orders in WHMCS but that's another story.

Next time WHMCS tries to issue a zero value invoice, Billing Extension will detect it and stop WHMCS from continuing. The proforma is removed from the system and this page takes its place.

As you can see the page keeps all information. At top-left corner you can quickly see the reason why the invoice has been suppressed. The same information are available also from Addons > Billing Extension > Payments.

We remind you that invoice suppression is not limited to invoices fully paid by credit 100% discount but also due to the following features:

To avoid any possibility of confusion, the module also prevents WHMCS from sending invoice-related notifications (eg. payment confirmations, invoice created etc.).

If you still want to send a notification, the module can send it to both administrators and customers. You can enable it from Addons > Billing Extension > Settings > Billing Preferences where you find the following options.

Invoice Status Admin Page
Suppression Notification (Admin)

Select WHMCS administrators you want to notify about suppressed invoices.

Suppression Notification (Client)

Select the Email Template you want to send to customers when an invoice is suppressed. You can use the following variables to create e customize you template:

  • {$suppress_reason} (eg. Fully paid by credit, full discount...)
  • {$suppress_invoice} Skip when invoice is unnecessary. No for postponed invoices

Keep in mind that the category of Email Template must be General.

Comments (0)

Speak Your Mind Cancel Reply