Jump to content
  • 0

Support for two taxes


ecohosting

Question

Hi Everyone,

 

New to WHMCS and I gotta say I'm loving it! Great job!

 

I'm on a trial right now but I am so convinced this is the right solution I have already begun integration into our site.

 

I have one question (or maybe feature request?); can I create two separate yet inclusive tax rules so they both display on the invoice? Things are a little complicated here in Canada. In Quebec we have a provincial tax (7.5%) and a federal tax (6%). Provincial taxes are applied to the full amount including the federal tax. What this amounts to is a total taxation of 13.95%. This is easy enough to do and works fine but our clients need the tax breakdown for their records. IE we need to see this kind of breakdown for invoices (amounts only):

 

Amount: $100.00

Fed Tax: $6.00 ($100 x 6%)

Prov Tx: $7.95 ($106 x 7.5%)

Total : $113.95

 

Is this possible given the current tax system in WHMCS? If not is it something that could be considered?

 

Thanks,

 

Gio

EcoHosting.com

Link to comment
Share on other sites

18 answers to this question

Recommended Posts

  • 0
  • WHMCS CEO

Hi Gio,

 

Unfortunately this isn't possible through the taxing system. However, if you set your tax rate to the full $13.95%, you could then use some calculations in the viewinvoice.tpl template file which is where the client views the invoice to breakdown the total cost into the two seperate tax charges. If that would be acceptable for you then we should be able to help you with the code you'd need to do this.

 

Matt

Link to comment
Share on other sites

  • 0

Hello, Why not adding multiple taxe system into WHCMS ? I think it will be a pretty big upgrade ! I'm living in Quebec too and If I can't use mutliple taxes, I can't use WHCMS :( Anyone can help me to setup my whcms with the fairly smple method menioned abobe ? Thank you, Guillaume Tremblay.

Link to comment
Share on other sites

  • 0

I'd second this. I'm in Saskatchewan, and we would need PST & GST shown just for our Sask customers - just GST for the rest of Canada, and neither for US customers. At least with 5% PST and 5% GST now it is a simple calculation for people most of the time - but would still be great to have them listed and tracked separately, since we have to report / pay them separately.

Link to comment
Share on other sites

  • 0

That doesn't look to be a workable option for us. IF all out customers were in Saskatchewan, then charging 10% and dividing it in the invoice display to 5% adn 5% would be workable. However, many of our customers are elsewhere in Canada, and simply dividing the tax in half would not be correct. Really, in order to be compliant with Revenue Canada, it needs to track the two taxes separately. :)

Link to comment
Share on other sites

  • 0

It's very bad thing that WHMCS don't support 2 tax levels.

 

Here what I did to over pass this restriction :

 

In viewinvoice.tpl (viewcart.tpl, etc.) :

 

{if $taxenabled}

<tr class="carttablesummary">
<td align="right">TPS (5%):  </td><td align="right">
{if $taxrate != 0} // If tax are set to 0, i don't want negative tax !

{assign var=stotal value=$subtotal|replace:''|replace:'$':''|replace:' CAD':''}
                               {assign var=tps value=$stotal*0.05}
                               {assign var=ttaxes value=$taxtotal|replace:'$':''|replace:' CAD':''}

//I don't understand why they provide none clean variable with WHMCS. But we need to strip everything else except the clean number !!!

                               {assign var=tvq value=$ttaxes-$tps}
	      {$tps|string_format:"%.2f"} $
//Here, we really don't want an incorrect tax calulation, so to be sure I calculate all tax - 1rst tax = 2nd tax.
{else}
                               0.00 $ // If no tax, set to 0.00$
{/if}
</td>
</tr>
<tr class="carttablesummary">
<td align="right"> TVQ (7.5%):  </td>
<td align="right">
                               {if $tvq > 0}
                               {$tvq|string_format:"%.2f"} $ // Display second tax
{else}
                               0.00 $ // If no tax, set to 0.00$
{/if}
</td>
</tr>
{/if}

 

If your from Quebec, you probably just have to strip my comments and copy/paste this code to you invoice.

 

It's not a clean way and 100% precise, but it's acceptable solution. The bad things is that we have 12.875% combine tax rate and WHMCS only support 12.87 or 12.88. I prefer to charge little bit less tax to my customer, so I use 12.87%.

 

There is one problem staying. When we have round number like 1$ it show 1 $ and not 1.00 $.

 

I'm working on that!

 

I wish it will help someone ! Feel free to give me an other way...

Link to comment
Share on other sites

  • 0

We're in Saskatchewan, but we also have lots of customers in Alberta too. It's sort of OK to divide our 10% by two for our local customers, but we can't divide the 5% GST by two for out-of-province customers. The real thing I'm concerned about is years from now when Revenue Canada comes knocking and wants our tax reports... I don't think anything except truly having 2-tax support will really be workable at that point.

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
Answer this question...

×   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