Results 1 to 6 of 6
  1. #1
    Join Date
    Mar 2011
    Posts
    25
    Plugin Contributions
    0

    Default Sales Tax Reports?

    Is there a way to run a report that will show the total amount of sales tax collect over a specific time frame.

    I need to know how to do this for accounting purposes.

    Also is there a way to run a report for total sales (not just the list of sales that appears in the report section, but something that you can print or export out of the zen cart system)

    Any help is appreciated.

    Kristi

  2. #2
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,690
    Plugin Contributions
    11

    Default Re: Sales Tax Reports

    SELECT
    Sum(orders.order_tax)
    FROM
    orders
    WHERE
    orders.order_tax > 0 AND
    orders.date_purchased >= '2010-01-01 00:00:00' AND
    orders.date_purchased < '2011-01-01 00:00:00'


    NOTE: This assumes that you have no table prefixes. If you have a prefix like zen_, then all instances of orders.**** would become zen_orders.****

    Yes, the orders.order_tax > 0 is a little bit of overkill, but..........
    Last edited by dbltoe; 14 Apr 2011 at 11:29 PM.
    A little help with colors.
    myZenCartHost.com - Zen Cart Certified, PCI Compatible Hosting by JEANDRET
    Free SSL & Domain with semi-annual and longer hosting. Updating 1.5.2 and Up.

  3. #3
    Join Date
    Mar 2011
    Posts
    25
    Plugin Contributions
    0

    Default Re: Sales Tax Reports?

    This may be a dumb question but is this script that I run against the site or is there some way to access this information through the admin?

    Sorry but I am more design orientied other than the scripting side of things.

    Thank You for your response.

  4. #4
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,690
    Plugin Contributions
    11

    Default Re: Sales Tax Reports?

    This is a query that needs to be run against your database and it won't work in the admin. That's for other than queries.

    If you have phpMyAdmin (usually in the database section of cpanel), open it, click on your database, click on the Query tab, paste the query in the "SQL query on database #######" box, click on Submit Query in the bottom-right corner of that box.

    Your result will be in between the two Show buttons under "Sum(orders.order_tax)

    Again, be sure to check if you use a prefix.
    A little help with colors.
    myZenCartHost.com - Zen Cart Certified, PCI Compatible Hosting by JEANDRET
    Free SSL & Domain with semi-annual and longer hosting. Updating 1.5.2 and Up.

  5. #5
    Join Date
    Oct 2007
    Posts
    11
    Plugin Contributions
    0

    Default Re: Sales Tax Reports?

    Check out this add on

  6. #6
    Join Date
    Mar 2011
    Posts
    25
    Plugin Contributions
    0

    Default Re: Sales Tax Reports?

    Quote Originally Posted by alivewjesus View Post
    Check out this add on
    This is awesome! Exactly what I was in need of... it is nice to just click on monthly report and there it is.

    Do you know of any add-on that allows a daily export of orders to a CSV file?

 

 

Similar Threads

  1. New York State Sales Tax by Zip Full Database for Local Sales Tax Mod 2011
    By SCHNiKEN in forum Currencies & Sales Taxes, VAT, GST, etc.
    Replies: 0
    Last Post: 11 Apr 2011, 04:51 AM
  2. Year end sales reports for tax purposes?
    By SmokyOkie in forum General Questions
    Replies: 2
    Last Post: 15 Feb 2011, 05:14 AM
  3. Replies: 11
    Last Post: 23 Jul 2010, 11:49 AM
  4. Admin > Reports > Sales Tax Report
    By batteryman in forum General Questions
    Replies: 7
    Last Post: 6 Feb 2008, 08:44 PM

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