Jump to content
cosmin

Hook -delete invoice with 0.00 ammount

Recommended Posts

I need a hook to remove invoice generated with 0.00 (for example a domain extensions has free registrar transfer).

The hook must do:
1. Delete the invoice with 0.00 generated
2. Prevent sending email with invoice
3. Change the number for next invoice (practically current number - 1/number of deleted invoice must be next).

Thank you!

Share this post


Link to post
Share on other sites

If you still need help please contact us here for custom WHMCS Development

Share this post


Link to post
Share on other sites

Hi,

 

We can create the addon hook module for you which activate / deactivate anytime. Please contact us here for custom development.

Share this post


Link to post
Share on other sites
8 hours ago, cosmin said:

I need a hook to remove invoice generated with 0.00 (for example a domain extensions has free registrar transfer).

The hook must do:
1. Delete the invoice with 0.00 generated
2. Prevent sending email with invoice
3. Change the number for next invoice (practically current number - 1/number of deleted invoice must be next).

Thank you!

http://www.whmcsjet.com/how-to-disable-invoice-generation-for-0-00-invoices/

https://www.whmcs.blog.br/principal/desabilitando-faturas-com-valor-000/

Share this post


Link to post
Share on other sites

it's probably worth adding that @edvancombr suggestions would only prevent the invoice email from being sent to the client - the invoice would still be created... so it only resolves step 2 of your needs... steps 1&3 won't be solved by this.

Share this post


Link to post
Share on other sites
3 hours ago, brian! said:

it's probably worth adding that @edvancombr suggestions would only prevent the invoice email from being sent to the client - the invoice would still be created... so it only resolves step 2 of your needs... steps 1&3 won't be solved by this.

Need number 1 is easy to solve, I can not see a solution right now.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

×

Important Information

By using this site, you agree to our Terms of Use & Guidelines