Dreza Posted June 23, 2021 Share Posted June 23, 2021 Hello, There are times when orders are placed but only activated after a few months. When this happens the system generates invoices for all the previous months even though it was not active during those months. How can I stop WHMCS from generating these historic invoices? Thank you 0 Quote Link to comment Share on other sites More sharing options...
steven99 Posted June 25, 2021 Share Posted June 25, 2021 General settings -> Invoices -> uncheck "Continuous Invoice Generation". However, the service needs to have a non-active status for that to not generate invoices. Setting the service status to pending may do the trick. In terms of developer methods for this, using the InvoiceCreation hook and a checking if the status is x and if so cancel / delete the invoice. 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.