Invoice Cancellation on Termination

Invoice Cancellation on Termination

Developed By Chenzo David

Compatible with WHMCS v9.0

Invoice Termination

Invoice Termination is a smart WHMCS addon built to reduce manual invoice cleanup after service termination.

When a hosting account is terminated, unpaid invoices connected to that service can remain behind and create unnecessary confusion for admins and clients. This addon automatically steps in after a successful termination and checks related unpaid invoices linked to the service.

If the terminated hosting service is the only real billable item on the invoice, with the exception of late fees, the addon automatically cancels the invoice.

If the invoice contains other valid billable items, the addon removes only the terminated service-related line items and leaves the rest of the invoice intact.

The module can also review related hosting addon and upgrade-linked invoices, log every action taken, and optionally notify administrators when invoices are cancelled or amended.

This helps keep WHMCS billing cleaner, more accurate, and easier to manage without manual intervention.

Key Features

  • Runs automatically after successful hosting account termination
  • Detects related unpaid invoices for the terminated service
  • Cancels invoice if the terminated service is the only billable item
  • Preserves late fee logic during invoice review
  • Removes only terminated service-related lines when other billable items remain
  • Supports related hosting addon invoice handling
  • Supports related upgrade invoice review
  • Includes action logging inside the addon admin page
  • Optional admin notifications
  • No special server configuration required
  • Simple installation and lightweight structure

Main Benefits

  • Reduces manual billing cleanup
  • Prevents clients from seeing irrelevant unpaid invoices after termination
  • Keeps invoice records more accurate
  • Saves admin time
  • Improves WHMCS billing workflow
  • Helps avoid mistakes caused by manual invoice edits

Requirements

  • WHMCS
  • Standard WHMCS addon module support
  • No ionCube changes or special server setup required
  • No external API required

Installation Steps

  1. Upload the invoicetermination folder to:

    modules/addons/
    

 

There are no reviews yet!

Be the first to review Invoice Cancellation on Termination.

Version Compatibility


Compatible with WHMCS v9.0

Full Version Compatibility


  • All versions of WHMCS v9.0
  • Selected versions of WHMCS v8.13
        8.13.0 - 8.13.1
  • All versions of WHMCS v8.12
  • All versions of WHMCS v8.11

System Requirements


  • 8.13+

* Requirements listed are in addition to the WHMCS default system requirements.

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 Chenzo David

Changelog

v1.1.0 Released April 6th, 2026

Latest Version


Version 1.1.0

  • Added live invoice cancellation and amendment logic
  • Added related unpaid invoice detection
  • Added addon and upgrade invoice review
  • Added admin notification support
  • Added detailed logging page

Version 1.0.0

  • Initial release
  • Base addon structure
  • Hook detection
  • Logging system

 

See also

FREE ResellerClub Tools v2

Working comfortably with ResellerClub's products and services through your WHMCS system requires additional tools.

Free
SEO Manager

The module developed to add meta description and meta keywords and change the page title

Free
WHOIS for Clients

WHOIS for Clients

Free
Dropbox Backup for WHMCS

This module will integrate WHMCS with Dropbox to upload a copy of WHMCS database onto the cloud. You will never have to worry about losing data any more.

Free
Software Licensing Addon

Build, License & Distribute Your Own Apps using WHMCS

Commercial