DeWebDude Posted May 22, 2017 Share Posted May 22, 2017 Is there a way to turn off automatic invoicing? Thanks! 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted May 22, 2017 Share Posted May 22, 2017 in what sense? when an order has just been made or renewal invoicing? 0 Quote Link to comment Share on other sites More sharing options...
DeWebDude Posted May 22, 2017 Author Share Posted May 22, 2017 When someone is already a hosting client, we don't want to generate an invoice for now from WHMCS for services ( technically billing it on another platform ). If a client logs in, they can still lets say renew a domain name etc, but it won't be automatically be generated. Thanks! 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted May 22, 2017 Share Posted May 22, 2017 you could disable the appropriate email templates from sending - whilst that wouldn't prevent the invoice from being generated, it would prevent the client from receiving it... and you can later go in and cancel the invoice. taking the order, but disabling the invoice from being created would likely require an action hook. 0 Quote Link to comment Share on other sites More sharing options...
DeWebDude Posted May 22, 2017 Author Share Posted May 22, 2017 I'll check those 2 options, thank you!! 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted May 22, 2017 Share Posted May 22, 2017 and of course disable invoice generation from the cron (if you run it) to prevent recurring invoicing. 0 Quote Link to comment Share on other sites More sharing options...
twhiting9275 Posted May 23, 2017 Share Posted May 23, 2017 ^^ I was just going to say that Add something like this skip --CreateInvoices --AutoSuspensions --AutoTerminations to your cron job. This will skip invoices , terminations and suspensions . You'll just have to do them manually 0 Quote Link to comment Share on other sites More sharing options...
DeWebDude Posted June 1, 2017 Author Share Posted June 1, 2017 Hello, Looks like invoices are still being generated even though we are using the suggested cron: */5 * * * * php -q /home/xxxx/public_html/crons/cron.php skip --CreateInvoices Did I do something wrong?? 0 Quote Link to comment Share on other sites More sharing options...
DeWebDude Posted June 26, 2017 Author Share Posted June 26, 2017 Hello All, as I mentioned above invoices are still being autogenerated, anything I can do to stop them?? 0 Quote Link to comment Share on other sites More sharing options...
niels Posted September 4, 2020 Share Posted September 4, 2020 Did you (or anyone else reading this) ever figure out how to do this? WHMCS continues to create renewal invoices, even with the "skip --CreateInvoices" parameters. In my crontab: */5 * * * * php7.3 -q /home/www/myanuson/crons/cron.php skip --CreateInvoices 0 Quote Link to comment Share on other sites More sharing options...
DeWebDude Posted July 1, 2021 Author Share Posted July 1, 2021 Sorry for the delay, I think we still have this issue, but have managed to ignore it, of course it would be better to stop it. 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.