Page 1 of 6 123 ... LastLast
Results 1 to 10 of 56
  1. #1
    Join Date
    Sep 2006
    Posts
    7
    Plugin Contributions
    0

    Default California Sales Tax Module

    I've implemented a tax module for California. According to the BOE, you're supposed to charge CA local tax based on where the items are going to be shipped. However, any tax that you don't collect is the responsibility of the buyer ... they're the ones who are supposed to submit the tax that they didn't pay. So, I decided to implement something simpler such as what newegg.com does.. basically, you charge your local tax if the order is shipped to your local county, and 7.25% to other destinations in CA. Out of state is not charged tax.

    My module contains all of the zip codes in Los Angeles County, and charges 8.25% if the item will be shipped to a zip code withing LA County.

    You can easily modify the module to work w/ other states and zip codes.

    This is a quick and dirty hack.. the data are all hard coded into the PHP, rather than using SQL ... perhaps I will go back and make it fancier if I have time in the future.
    Attached Files Attached Files

  2. #2
    Join Date
    Sep 2006
    Posts
    7
    Plugin Contributions
    0

    Default Re: California Sales Tax Module

    I decided that my quick and dirty implementation was too ugly, so I implemented a database version today. You put all your local zip codes into a table called local_zips, and then the php does a query to decide whether or not the zip code is local.

    The non-database version is also included in the new zip archive.
    Attached Files Attached Files

  3. #3
    Join Date
    Jan 2005
    Location
    Lake Havasu, AZ
    Posts
    1,149
    Plugin Contributions
    0

    Default Re: California Sales Tax Module

    Thanks for this ! Saves a LOT of set up time for us Californians
    When the world gets in my face I say Have A Nice Day.
    * I DO Think and I HAVE BEEN Zenned - therefore, I AM * I donate - do you?
    Custom Templates and Zen Services CRS Designs, Inc.

  4. #4
    Join Date
    Sep 2006
    Posts
    7
    Plugin Contributions
    0

    Default Re: California Sales Tax Module

    Oops! Sorry I left some debug messages in scl-zip-tax-v2.zip... but for some strange reason I can't edit my previous posts. So here is it again, w/o the debugs.
    Attached Files Attached Files

  5. #5
    Join Date
    Jun 2006
    Location
    Toronto,ON, Canada
    Posts
    15
    Plugin Contributions
    0

    Re: Need Local Taxes separated out in admin area

    Hi there,

    It sounds like this might be what I am looking for...

    The store is located in Ontario, Canada...and I need to be able to separate out the local and federal taxes in the sales report so the client can remit the appropriate amounts to the government at tax time.

    Is there a quick way to change this module to allow this, or is there another solution more suitable...

    I had tried the sales report with local filter, but it filters for California and I am not sure how to change that - I get an error message when I change it to Ontario in the stats_sales_report.php file.

    Please help! :)
    Think Green, Be Green: The Healthy Alternative, for now and for the future.
    www.ThinkGreenStore.com

  6. #6
    Join Date
    Jun 2006
    Location
    Toronto,ON, Canada
    Posts
    15
    Plugin Contributions
    0

    Idea or Suggestion Re: California Sales Tax Module

    I found the answer.

    I just changed shipping_state':'billing_state to delivery_state':'delivery_state in classes/sales_report.php (line 105)

    and

    California to Ontario (line 65) in stats_sales_report.php.

    :)
    Think Green, Be Green: The Healthy Alternative, for now and for the future.
    www.ThinkGreenStore.com

  7. #7
    Join Date
    Oct 2006
    Posts
    223
    Plugin Contributions
    0

    Default Re: California Sales Tax Module

    I'm assuming I could use this module for NY and just change the ZIP codes?

  8. #8
    Join Date
    Mar 2005
    Location
    California
    Posts
    663
    Plugin Contributions
    0

    Default Re: California Sales Tax Module

    Thanks, this is very nice. I'll check it out right away.

    Just one thing, you mention "any tax that you don't collect is the responsibility of the buyer ... ", I think that's wrong, it's the other way around. You (the seller) are resposible for paying sales tax to the BOE, you are allowed, but not required, to pass this cost on to the customer, but you are the one ultimately responsible for making sales tax payments.

    I just charge 8.25% for all of California. The BOE does allow this and doesn't mind, it just says if you over-collected just send it all to them. I think most companies do it this way, it's just too much of a hassle figuring it out for all counties/districts unless you only deal withing your local zone.

  9. #9
    Join Date
    Dec 2005
    Posts
    108
    Plugin Contributions
    0

    Default Re: California Sales Tax Module

    Does this module work with: Zen Cart 1.3.0.2

  10. #10
    Join Date
    Oct 2006
    Posts
    5
    Plugin Contributions
    0

    Default Re: California Sales Tax Module

    I have Zen cart 1.3.6 (the latest version) and I want to know the advantages and disadvantages of doing it via PHP file or the database.

 

 
Page 1 of 6 123 ... LastLast

Similar Threads

  1. Super California Sales Tax Add-on
    By wendyandmilo in forum All Other Contributions/Addons
    Replies: 40
    Last Post: 10 Sep 2016, 03:09 AM
  2. v151 San Francisco tax AND California tax
    By noyloza in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 29 Apr 2013, 03:31 PM
  3. No Description on California Sales Tax Line in Checkout
    By bacbladerunner in forum General Questions
    Replies: 2
    Last Post: 17 Jun 2011, 04:09 AM
  4. Tax problem with sales tax and trinity payjunction module
    By rdxrdx in forum Addon Payment Modules
    Replies: 0
    Last Post: 1 Jul 2010, 10:25 PM
  5. California Sales Tax Zone Mods/Info
    By mjc in forum Currencies & Sales Taxes, VAT, GST, etc.
    Replies: 2
    Last Post: 28 Feb 2008, 05:41 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR