Feature Requests
Share ideas, discuss and vote on requests from other users in community

Do not delete invoices even after expire or redemption

Netpower AS shared this idea 2 months ago
Under Consideration

I would consider seriously to find a more permanent solution to not delete invoices but set a pointer active or inactive invoice. You should have all historical data on the DB.

In my experience with other billing systems, they just mark it deleted but it is in the database, exist still the info. And this is my preferred way to be done.

Comments (2)


Hi there,

Thanks for your suggestion. At present domain renewal invoices will be cancelled once a domain expires. A domain renewal invoice won't be deleted entirely: https://docs.whmcs.com/Domains_Tab#Domain_Grace_and_Redemption_Fees

However if an invoice contains other line items besides expired domain, we need to delete the expired items from the invoice so the other items can still be paid.

Is it this latter behaviour you'd like to change?


My suggestion in general is do not delete at all an invoice. In EU it is iliegal to be deleted or to chaneg one invoice. So best way i see it, is give option if on EU system never delete an invoice or line. Have the extra option to credit the whole or part of the invoice. Not oly for domains but for all products. If for long time one invocie is unpayed, can change status to cutoff. That means all other products stop or notify cuwstomer will be stopped if the invoice is not be paid.