[Skip to main content](#vessel-content)

#   Sales Tax Report Including Shipping Tax

##

- **[cbaugher](/forum/user/28723-cbaugher "View cbaugher's Profile")**
- [![cbaugher's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/28723-cbaugher "View cbaugher's Profile") Topic Author
- [ Offline](/forum/user/28723-cbaugher)

Less More

- Posts: 20
- Thank you received: 1
-
-

12 years 2 months ago [\#169460](#169460) by [cbaugher](/forum/user/28723-cbaugher "View cbaugher's Profile")  *[Sales Tax Report Including Shipping Tax](/forum/36-reports-statistics/870719-sales-tax-report-including-shipping-tax#169460 "-- HikaShop version -- : 2.3.2 -- Joomla version -- : 2.5.24 -- PHP version -- : 5.4.25  In the reports part of Hikashop I can create a sales tax report but it does not including the shipping tax. Is there any way to combine the sales and shipping tax or list them separately. I tried the shipping cost report but it combines the shipping and tax, which does not help me to know just the shipping tax.  Also is there a way to filter the reports by state or zone? This would be helpful to know the total sales price just for those who paid sales taxes in a certain state for filling sales taxes purposes.")* was created by *[cbaugher](/forum/user/28723-cbaugher "View cbaugher's Profile")*

-- HikaShop version -- : 2.3.2
-- Joomla version -- : 2.5.24
-- PHP version -- : 5.4.25

In the reports part of Hikashop I can create a sales tax report but it does not including the shipping tax. Is there any way to combine the sales and shipping tax or list them separately. I tried the shipping cost report but it combines the shipping and tax, which does not help me to know just the shipping tax.

Also is there a way to filter the reports by state or zone? This would be helpful to know the total sales price just for those who paid sales taxes in a certain state for filling sales taxes purposes.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM2LXJlcG9ydHMtc3RhdGlzdGljcy84NzA3MTktc2FsZXMtdGF4LXJlcG9ydC1pbmNsdWRpbmctc2hpcHBpbmctdGF4P3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86363
- Thank you received: 14296
-
-

12 years 2 months ago [\#169558](#169558) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Sales Tax Report Including Shipping Tax](/forum/36-reports-statistics/870719-sales-tax-report-including-shipping-tax#169558 "-- HikaShop version -- : 2.3.2 -- Joomla version -- : 2.5.24 -- PHP version -- : 5.4.25  In the reports part of Hikashop I can create a sales tax report but it does not including the shipping tax. Is there any way to combine the sales and shipping tax or list them separately. I tried the shipping cost report but it combines the shipping and tax, which does not help me to know just the shipping tax.  Also is there a way to filter the reports by state or zone? This would be helpful to know the total sales price just for those who paid sales taxes in a certain state for filling sales taxes purposes.")*

Hi,

There is no way to get the shipping tax included in the calculations of taxes unless you modify the code of the reporting system.

You try to edit the file administrator/components/com_hikashop/classes/widget.php and replace the code (several places):
prod.order_product_tax*prod.order_product_quantity
by:
prod.order_product_tax*prod.order_product_quantity+a.order_shipping_tax

For the filter by state, it would require to modify the code of the zone option of map type reports as it can only handle country grouping, not state grouping. For a developer it would be possible (modifications necessary in both the administrator/components/com_hikashop/classes/widget.php and the administrator/components/com_hikashop/views/dashboard/tmpl/map.php files ) but as a user, it won't be.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM2LXJlcG9ydHMtc3RhdGlzdGljcy84NzA3MTktc2FsZXMtdGF4LXJlcG9ydC1pbmNsdWRpbmctc2hpcHBpbmctdGF4P3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[cbaugher](/forum/user/28723-cbaugher "View cbaugher's Profile")**
- [![cbaugher's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/28723-cbaugher "View cbaugher's Profile") Topic Author
- [ Offline](/forum/user/28723-cbaugher)

Less More

- Posts: 20
- Thank you received: 1
-
-

12 years 2 months ago [\#169848](#169848) by [cbaugher](/forum/user/28723-cbaugher "View cbaugher's Profile")  Replied by *[cbaugher](/forum/user/28723-cbaugher "View cbaugher's Profile")* on topic *[Sales Tax Report Including Shipping Tax](/forum/36-reports-statistics/870719-sales-tax-report-including-shipping-tax#169848 "-- HikaShop version -- : 2.3.2 -- Joomla version -- : 2.5.24 -- PHP version -- : 5.4.25  In the reports part of Hikashop I can create a sales tax report but it does not including the shipping tax. Is there any way to combine the sales and shipping tax or list them separately. I tried the shipping cost report but it combines the shipping and tax, which does not help me to know just the shipping tax.  Also is there a way to filter the reports by state or zone? This would be helpful to know the total sales price just for those who paid sales taxes in a certain state for filling sales taxes purposes.")*

Thank you very much the code you provided worked! This and the state filtering would be a nice addition for those who live in America and the way we have to report sales tax. However, I get that making changes like this is a lot of work and maybe not high on your priority list. Thank you for your help and such a great component.

The following user(s) said Thank You: [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM2LXJlcG9ydHMtc3RhdGlzdGljcy84NzA3MTktc2FsZXMtdGF4LXJlcG9ydC1pbmNsdWRpbmctc2hpcHBpbmctdGF4P3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.058 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
