Jump to content

Recommended Posts

Is there any way to setup the default WHMCS Support Module billing due-dates for invoices generated? Currently when selecting "create on next cron run" the invoice is generated with a due date that is one day before the invoice date (ie: invoice created 1/1/2019, due date 12/31/2018).

Few sidenotes/related things

- this due date before invoice date issue also seems to break the auto-cc processing from happening
- would be nice if the billing entry auto-applied the ticket number and link by default
 

billing-snip.thumb.jpg.0b022f2a4105dcd57bd14edcf0f827f0.jpg

Link to comment
Share on other sites

The due date for those are taken from Setup menu -> Automation settings -> Billing settings section -> Invoice generation field .  If you set to 5, it will set the invoice due date 5 days out from when it is generated.  If you want due date when the invoice is generated, you would set 0.

For card processing, check Setup menu -> Automation settings -> Credit Card Charging Settings section -> Process Days Before Due and if you set "0", it will charge on the due date.  If you set 1 it will charge 1 day before the due date I believe.  Personally, I prefer a invoice generation date of 7 days for monthly, with a charging on the due date (setting 0).

If you wanted to have separate settings for support ticket billing items, including ticket number,  like anything else WHMCS can't do out of box, make it.  So for dev, you could use ticketadminreply hook and I believe the billing item would be in the $_POST to grab though not the specific ID.  You would need to match up the due billing items with the ticket billing item to get the right one and then modify it from there. (no hooks for billing item creation either) There could be potential for mixed billing items if they are submitted with the same line item, date, and amount but different ticket.   If you need a developer to do this, post in the requests community.

Link to comment
Share on other sites

Thanks Steven, sounds like there's a bug in my rug...

Have had automation set for 10 days out on new invoices for years and just assumed it wasn't applied for support tickets for some reason.. Just revisited and changed it to 15 in case the update fixes, will report back tomorrow on that and move this over to a whmcs support ticket if it doesn't work.

Appreciate the quick reply and info on some of the hooks for additional customizations too!

Link to comment
Share on other sites

So, just to update for anyone else who runs into this issue... this is actually how WHMCS is supposed to bill support billing entries. Response from WHMCS support below, have requested a workaround and will post info on that as/if it becomes available.

 

Hi Christopher,

Thank you for the clear explanation of your issue.

This is the desired and expected behavior in WHMCS. The invoice generated for billable items and support ticket billing entries are supposed to be due as soon as they are generated. The option on the Automation Settings page relates to Product Renewal invoices and manually created invoices. Any new order invoices, support ticket billing entries are due immediately when they are generated.

Hope it clears it up. Do let us know if you need any further assistance.

Best regards,

--
Sachin
Technical Analyst I
WHMCS, Ltd.
www.whmcs.com

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated