Cancel Invoice on Termination

Cancel Invoice on Termination

Developed By LCWSoft

Compatible with WHMCS v8.10


This addon uses the Action Hook system and runs whenever a hosting account is terminated. It checks for any Unpaid invoices for the account and automatically marks them as cancelled if the following conditions are met

  1. The hosting account is the only item on the invoice, with the exception of Late Fees.

If the invoice does not meet the above, the hosting account will simply be removed from the invoice (like WHMCS itself does it) and the invoice updated to reflect this.

When a hosting account is Terminated, a notification may be sent to admins if there are any Unpaid invoices that explains whether or not invoice(s) were automatically cancelled or amended. Any related addon and upgrade/downgrade invoices are cancelled as well.


No special server configuration needed.


It is $6.00 CAD monthly (or $60 CAD annually - essentially getting 12 months for the price of 10) with free support & updates for as long as your service is Active.


Download the zip file from our client area and follow the instructions in the INSTALL.txt file included.



5 stars
4 stars
3 stars
2 stars
1 star

Electronics @electronics6022

August 25, 2020 at 07:08:34 PM

No comment provided.

  • 3 years ago
  • Version Number 2.1

Jordi Aguilar @jordi3755

February 21, 2020 at 04:24:54 PM


  • 4 years ago
  • Version Number 2.1

Version Compatibility

Compatible with WHMCS v8.10

Full Version Compatibility

  • Selected versions of WHMCS v8.10
  • Selected versions of WHMCS v8.9
  • Selected versions of WHMCS v8.8
  • All versions of WHMCS v8.7
  • All versions of WHMCS v8.6
  • All versions of WHMCS v8.5
  • All versions of WHMCS v8.4
  • All versions of WHMCS v8.3
  • All versions of WHMCS v8.2
  • All versions of WHMCS v8.1
  • All versions of WHMCS v8.0
  • All versions of WHMCS v7.10
  • All versions of WHMCS v7.9
  • All versions of WHMCS v7.8
  • All versions of WHMCS v7.7
  • All versions of WHMCS v7.6
  • All versions of WHMCS v7.5

Support for this product

The best place to start if you need help with a specific product is to contact the developer. All WHMCS Marketplace developers have both a website and support URL listed.

Developed By LCWSoft


v2.3.1 Released November 23rd, 2022

Latest Version

  • Added support for PHP 8.1


Previous Versions

v2.1 Released June 5th, 2018

View/hide detailed changelog

  • Minor improvements to error handling
  • Updated to support PHP 5.6 to 7.2


v2.0 Released October 10th, 2017

View/hide detailed changelog

  • Added fix for WHMCS 6.x compatibility


v1.9 Released August 27th, 2017

View/hide detailed changelog

  • Added additional debugging options


v1.8 Released February 1st, 2017

View/hide detailed changelog

  • Added Module Debug log support for easier troubleshooting if needed
  • New Feature: E-mails to admins can be disabled
  • New Feature: Logging can be disabled


v1.7 Released November 4th, 2016

View/hide detailed changelog

  • Initial marketplace release


See also

w2x for Xero

Synchronise your invoices, Contacts, Products and Payments with Xero

QuickBooks Online For WHMCS

Integrate your financial data stored in WHMCS into QuickBooks Online.

KashFlow Accounting

Automatically transfer your billing & transaction history to KashFlow

Zero Invoice Management

Avoid sending notifications or creation of 0€ Invoices

Payment Gateway Fees

Payment Gateway Fees