Zen Cart Logo
Forums / Managing Customers and Orders / Sales Tax Web Service Look up

Sales Tax Web Service Look up

Views: 730

Results 1 to 4 of 4
29 Apr 2016, 5:22 AM
#1
dacor avatar

dacor

New Zenner

Join Date:
Nov 2013
Location:
usa
Posts:
2
Plugin Contributions:
0

Sales Tax Web Service Look up

I have searched the boards and FAQ's and have not found the answer for this one. I don't know about the other states, but in Washington state sales tax is based on the address of delivery of goods. And in this state there could be 4 different tax rate in a four block area. Everything is based on zip+4. The nice thing is that the state has developed a simple web service to find the tax rate for any location.
example; http://dor.wa.gov/AddressRates.aspx?output=text&addr=6500Lindersonway&city=&zip=985011001
response: LocationCode=3406 Rate=0.089 ResultCode=0
I've looked at several plugins for the sales tax and they all have significant cost or issues that make this a much cleaner solution. I want to find where the shopping cart pulls the percentage for the defined zone rate (in my case washington state zone) and overwrite it with this new LocationCode value. I have taken a first look at the code and see a ton of files to wade through. I think I will add a function to return the rate and overwrite the sql value. Does anyone know which files pull the tax rate for the shopping cart?
Thanks... daveo

29 Apr 2016, 8:37 AM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Sales Tax Web Service Look up

You can start with
includes/classes/order.php and about line 41

29 Apr 2016, 1:16 PM
#3
rixstix avatar

rixstix

Totally Zenned

Join Date:
Aug 2009
Location:
North Idaho, USA
Posts:
2,015
Plugin Contributions:
0

Re: Sales Tax Web Service Look up

Tax Cloud is also a free option.

https://taxcloud.net/#pricing

29 Apr 2016, 3:06 PM
#4
dacor avatar

dacor

New Zenner

Join Date:
Nov 2013
Location:
usa
Posts:
2
Plugin Contributions:
0

Re: Sales Tax Web Service Look up

Tax cloud is free however, they want to pay the tax to the state. THis will not work for us since we do off line sales as well.