Originally Posted by: "Chris Dittmeier"
Now you can enter the rates from the state charts and break it down by county and zip.
Having the customer enter their county helps also.
My question is - how? It sounds like the taxes in NY are similar to CA. The problem lies in BVC's default way of selecting from the table. Some cities have multiple zip codes and some zip codes have multiple city names (some "official", and some not). Some of these cities charge a local tax and may not be included in the entire zip code, so zip code alone is not enough information to charge sales tax in CA.
If I made a cross-reference list between zip code and city and merged it with the information from the CA BOE, I would have a somewhat correct way of doing it, however the logic within BVC 5 doesn't seem like it will handle a list like that, being that the state, city, county, and zip code are ORed together and ALL of these taxes will be applied.
For example, the zip code 90001 has 2 potential city names, Firestone Park and Los Angeles. If I populate the BVC table with only city and zip code along with the appropriate rate, I would have many records with a city name "Los Angeles" and 2 records with zip code 90001. So if a customer entered "Los Angeles" and "90001", BVC will fetch all records with either city name "Los Angeles" OR zip code "90001" and then apply the taxes for ALL of those records - this is certainly not what I want to happen.
Now if you compound this with the issue that there are many USPS approved and preferred city names for a specific zip code (some of which are city abbveviations), there are even more records to deal with. For example, "West Los Angeles" could be abbreviated to "WLA" by the customer, which is perfectly acceptable as far as USPS is concerned.
If I were to change the stored procedure to use an "AND" instead of an "OR" between City and Zip, there would be issues if a particular city name was not matched correctly in the database - ideally, I would like it to default to a particular city in the zip code if the exact one wasn't matched, but that requires a lot of custom logic programmed into the core of BVC.
By the way, I noticed there is a county field in the database, but I haven't found a way to enable it so the customer can see it - it isn't on the addresses page under options. How do I turn it on? Without changing any code, is it possible to have it only appear if "California" is selected as the state?