Zen Cart Logo
Forums / Currencies & Sales Taxes, VAT, GST, etc. / Making a customer tax exempt

Making a customer tax exempt

Locked

Views: 15,954

Results 1 to 20 of 39
This thread is locked. New replies are disabled.
7 Nov 2006, 11:17 PM
#1
fontuna avatar

fontuna

New Zenner

Join Date:
Mar 2006
Posts:
53
Plugin Contributions:
0

Making a customer tax exempt

Hi

I am a canadian seller. I have two taxes that are charged to customers. I need to make a customer exempt from one of these taxes.

Is there a mod that I can install or is there any other way to make customers exempt from 1 of the 2 taxes I charge.

Thanks,

Adam

7 Nov 2006, 11:25 PM
#2
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Making a customer tax exempt

Tax exempt is not built into Zen Cart on a per customer basis ...

This can be customized to add this feature ...

You might check on some searches and the downloads to see if someone hasn't attempted an add-on for this to help get you started ...

21 Feb 2007, 1:48 AM
#4
earmsby avatar

earmsby

Zen Follower

Join Date:
Oct 2006
Location:
Worcester, MA
Posts:
451
Plugin Contributions:
0

Re: Making a customer tax exempt

Does anyone know if the current version of that module works correctly? I couldn't quite decipher the version notes - one note seemed to say there were bugs and another note seemed to say it worked in ZC 1.3.7

21 Feb 2007, 10:50 PM
#5
aldark avatar

aldark

New Zenner

Join Date:
Feb 2007
Location:
Dayton, OH
Posts:
5
Plugin Contributions:
0

Re: Making a customer tax exempt

earmsby:

Does anyone know if the current version of that module works correctly? I couldn't quite decipher the version notes - one note seemed to say there were bugs and another note seemed to say it worked in ZC 1.3.7

I wondered the same thing. I'm working on a cart for a client who'll sell to a pretty good size US Federal agency and tax exempt is a must.

22 Feb 2007, 11:58 AM
#6
earmsby avatar

earmsby

Zen Follower

Join Date:
Oct 2006
Location:
Worcester, MA
Posts:
451
Plugin Contributions:
0

Re: Making a customer tax exempt

I'll let you know. I went ahead and downloaded the mod but haven't installed it yet. Hope to play with it tomorrow.

23 Feb 2007, 7:09 AM
#7
feratechinc avatar

feratechinc

New Zenner

Join Date:
Feb 2007
Posts:
27
Plugin Contributions:
0

Re: Making a customer tax exempt

Any status updates on the tax exempt module? Is it also possible to make a client tax exempt by offering a discount?

23 Feb 2007, 4:31 PM
#8
dbrewster avatar

dbrewster

Zen Follower

Join Date:
Jul 2005
Location:
Charlottesville, VA
Posts:
376
Plugin Contributions:
0

Re: Making a customer tax exempt

The current module on tax exemption works.

Unfortunately, my last uploaded comments did not overwrite the preexisting comments. I am not able to edit the comments that are there now. It's an ugly hodge-podge, I wasn't clear on what info was needed when it was uploaded.

It works! I use it.

See my site to see how I alert customers who may be eligible for tax exempt status.

---Diana

23 Feb 2007, 6:14 PM
#9
feratechinc avatar

feratechinc

New Zenner

Join Date:
Feb 2007
Posts:
27
Plugin Contributions:
0

Re: Making a customer tax exempt

Thank you dbrewster,

I will be setting up ZenCart on my website tonight. My company does a lot of business with Catholic Schools and tax exempt clients are a must.

25 Feb 2007, 1:56 AM
#10
earmsby avatar

earmsby

Zen Follower

Join Date:
Oct 2006
Location:
Worcester, MA
Posts:
451
Plugin Contributions:
0

Re: Making a customer tax exempt

As dbrewster already reported, the mod does work in it's current form. I followed the directions in the install.txt file and everything works just fine. The only real issue for me is that I need to be able to give at least one customer tax exempt status for more than one state tax rate. My client is in NJ and apparently NJ and NY have a reciprocal tax agreement so they have to charge both NJ and NY state tax (not for the same order!).

They have one customer who is really a wholesale customer and therefore not subject to the tax and he drop ships to both NY and NJ, so I need to make that one customer tax exempt for both NJ and NY tax. So, I will fiddle with the mod to see if there is a way I can make it work for this exception.

But for most tax situations, this module should do the trick! Yea!

5 Mar 2007, 5:42 PM
#11
fostergross avatar

fostergross

New Zenner

Join Date:
Dec 2006
Posts:
20
Plugin Contributions:
0

Re: Making a customer tax exempt

dbrewster: I downloaded the newest version of the module from the zen cart site. I like the mod however I had some troubles in getting it to work properly.

It seems there is a 2 sections of code labeled

//Absolute Solutions Edit

These sections of code appear to be absolute reset sections that allow full control over the variables, which is great but it took me a bit to find and comment them out. Maybe in future releases mention that this needs to be commented out in the documentation.

Furthermore, one minor improvement I made was to make the display name of the tax class display , instead of the generic 'Tax Exempt:'

Place this :

$this->title = $tax_exempt_discount->fields['tax_exempt_name'];

under this :

function process() {
      global $db, $order, $currencies;
      $tax_exempt_query = $db->Execute("select customers_tax_exempt from " . TABLE_CUSTOMERS . " where customers_id = '" . $_SESSION['customer_id'] . "'");
      if ($tax_exempt_query->fields['customers_tax_exempt'] != '0') {
        $tax_exempt_discount = $db->Execute("select tax_exempt_name, tax_exempt_percentage from " . TABLE_TAX_EXEMPT . " where
                                        tax_exempt_id = '" . $tax_exempt_query->fields['customers_tax_exempt'] . "'");
										
        $order_total = $this->get_order_total();
        $gift_vouchers = $_SESSION['cart']->gv_only();
		$discount = ($order_total - $gift_vouchers) * $tax_exempt_discount->fields['tax_exempt_percentage'] / 100;

This might not work great in mulit-lingual sites but in single language sites It is great as it allows you to give your customers more description on what exemption they are receiving, which accountants always like.

Other than that it seems like a great module thanks a bunch.

8 Mar 2007, 5:30 AM
#12
mb1 avatar

mb1

Totally Zenned

Join Date:
Jun 2006
Posts:
565
Plugin Contributions:
0

Re: Making a customer tax exempt

can you make them tax exempt from just one of the 2 taxs?

9 Mar 2007, 2:47 PM
#13
fostergross avatar

fostergross

New Zenner

Join Date:
Dec 2006
Posts:
20
Plugin Contributions:
0

Re: Making a customer tax exempt

MB1: The way the tax exempt module works is that it generates a negative amount based on a percentage you select. It does this based on the subtotal, so if you wanted to exempt someone for PST in Ontario, you could give that customer a 8% tax exemption, which nullifies the 8% that will be added in by the tax module.

So yes you can exempt people from 1 or more taxes or even parts of taxes based on the percentage you put into the exemption.

12 Mar 2007, 10:19 PM
#14
lukemcr avatar

lukemcr

New Zenner

Join Date:
Feb 2007
Location:
Sacramento, CA
Posts:
64
Plugin Contributions:
0

Re: Making a customer tax exempt

I would be cautious using this module when also using discount coupons or group pricing.

Here's a section of a sample order I set up on my cart: it looks fine at first glance, but the numbers don't add up.

The sub total plus shipping minus the Discount Code amount don't equal what the total at the end says.

I may yet be able to get the two modules to play well together (Tax Exempt and Discount Coupon), but we'll see...

In the meantime, you should do a sample order and use a calculator to make sure that the numbers all make sense.

13 Mar 2007, 2:09 PM
#15
fostergross avatar

fostergross

New Zenner

Join Date:
Dec 2006
Posts:
20
Plugin Contributions:
0

Re: Making a customer tax exempt

That seems like you might have to change the order that the discounts are being applied in. Check the order that your order total module is running the sub modules. At least I think that might fix it.

13 Mar 2007, 2:45 PM
#16
dbrewster avatar

dbrewster

Zen Follower

Join Date:
Jul 2005
Location:
Charlottesville, VA
Posts:
376
Plugin Contributions:
0

Re: Making a customer tax exempt

For example, in Admin > Modules > Order Total,

My Group Discount settings:
Sort Order
500

Include Shipping
true

Include Tax
true

Re-calculate Tax
None

Tax Class
Taxable Goods
My tax settings:
Sort Order
300
My tax exempt settings:
Sort Order
310

Include Shipping
false

Include Tax
true

Re-calculate Tax
None

Tax Class
Taxable Goods

Getting the sort order and the "Re-calculate Tax" setting right is critical. I had the same problem that lukemcr describes until I did more research on the boards and found the right settings for Order Total.

Also: any comments in the code like "//Absolute Solutions Edit" are a reference to the programmer (Absolute Solutions = Chris Eden) who wrote the code, not the functionality of the code! I would hesitate to remove those sections since he fixed problems that pre-existed with this module.

---Diana

13 Mar 2007, 3:35 PM
#17
lukemcr avatar

lukemcr

New Zenner

Join Date:
Feb 2007
Location:
Sacramento, CA
Posts:
64
Plugin Contributions:
0

Re: Making a customer tax exempt

Oh yeah, I've done that: the checkout order is ordered just like it says in the readme. If you put it in another order, it will display incorrectly. (Tax is applied after the discount is taken, but the tax exemption value is applied before.)

13 Mar 2007, 4:16 PM
#18
lukemcr avatar

lukemcr

New Zenner

Join Date:
Feb 2007
Location:
Sacramento, CA
Posts:
64
Plugin Contributions:
0

Re: Making a customer tax exempt

This is my Admin > Modules > Order Total page.

As you can see, it's just like it's described in the readme: the only difference is that I'm using a discount code "Membership Discount Code" renamed from "Discount Coupon" instead of a Group Discount. (The membership discount code has the same sort order as the Group Discount, however.)

The problem here is that the coupon module is taking 20% off of the order total plus tax plus shipping. Tax-exempt doesn't hide the tax from discount code, so I guess both modules aren't working great.

Thanks for responding, guys. :-)

13 Mar 2007, 5:00 PM
#19
lukemcr avatar

lukemcr

New Zenner

Join Date:
Feb 2007
Location:
Sacramento, CA
Posts:
64
Plugin Contributions:
0

Re: Making a customer tax exempt

Sorry for the triple post, guys. :(

I had enabled the discount code on tax and shipping. (It's fixed now though.) The problem is more cut and dried now though:

The tax exempt module subtracts the 6% tax ($99.60) from the subtotal before the discount code kicks in. The tax exempt module should subtract the tax after the discount code is applied. (Subtract $59.76 instead of $99.60)

Here it is now:

And here it is after I change the tax order to be after the discount code.

It's the same problem as before, except you can see the problem in the order total process, as opposed to before, when you couldn't.

Sorry for all the pictures. :-(

14 Mar 2007, 2:28 PM
#20
dbrewster avatar

dbrewster

Zen Follower

Join Date:
Jul 2005
Location:
Charlottesville, VA
Posts:
376
Plugin Contributions:
0

Re: Making a customer tax exempt

Is your Group Discount set to recalculate tax? There is a setting like that for several of the components.

You might play around with the order of the Order Total, it has a profound impact on the order of calculations.

I did use Group Discount along with tax exempt status, and I also had erroneous totals until I found the right order, and right settings for "recalculate tax".

Here's mine: http://www.coreknowledge.org/CK/images/ordertotal_order.gif

---Diana