Jump to content

[RESOLVED] Pro-rate error on 1-Feb-2010


ffeingol

Recommended Posts

One of our people entered an order today for a client. The product is 40.00 USD / month. Prorata Date is 1, Charge Next Month is 15. WHMCS calculated the invoice as 36.13 instead of the full 40.00. After doing a bit of math the system 'appears' to have pro-rated the invoice with the following calculation:

 

40.00 (monthly price) * ( 28 (days left in Feb) / 31 (days in a month??) = 36.129 or 36.13 rounded.

Link to comment
Share on other sites

  • WHMCS CEO

Prorata calculations are based on an average month currently but with a short month like this one, that can result in some odd values. So we have now written an update to use the current months days in the calculation (available before the next release on request).

 

Matt

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • 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