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

#   pdf invoice subtotal without taxes

##

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

Less More

- Posts: 515
- Thank you received: 22
-
-

4 years 11 months ago [\#337811](#337811) by [jouwnaambord.nl](/forum/user/1188-jouwnaambord-nl "View jouwnaambord.nl's Profile")  *[pdf invoice subtotal without taxes](/forum/40-taxes/903636-pdf-invoice-subtotal-without-taxes#337811 "-- HikaShop version -- : 4.4.4 -- Joomla version -- : 3.10.3 -- PHP version -- : 7.4  Hi,  How can I get the subtotal in the pdf invoice to be a subtotal without tax? Now the calculated producttotal is without tax and the subtotal with tax, that give confusion with clients (see screenshot). I don't want to disable the tax view as the prices have to be displayed with tax at the frontend. I just want the subtotal to be the same as the calculated productprice.")* was created by *[jouwnaambord.nl](/forum/user/1188-jouwnaambord-nl "View jouwnaambord.nl's Profile")*

-- HikaShop version -- : 4.4.4
-- Joomla version -- : 3.10.3
-- PHP version -- : 7.4

Hi,

How can I get the subtotal in the pdf invoice to be a subtotal without tax? Now the calculated producttotal is without tax and the subtotal with tax, that give confusion with clients (see screenshot). I don't want to disable the tax view as the prices have to be displayed with tax at the frontend. I just want the subtotal to be the same as the calculated productprice.

- [ ![Factuur&#95;pdf.jpg](/forum/attachment/54011) ](/forum/attachment/54011 "Factuur&#95;pdf.jpg") [ ](/forum/attachment/54011?download=1 "Factuur&#95;pdf.jpg")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQwLXRheGVzLzkwMzYzNi1wZGYtaW52b2ljZS1zdWJ0b3RhbC13aXRob3V0LXRheGVzP3RtcGw9bWFya2Rvd24=) 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: 86583
- Thank you received: 14324
-
-

4 years 11 months ago [\#337814](#337814) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[pdf invoice subtotal without taxes](/forum/40-taxes/903636-pdf-invoice-subtotal-without-taxes#337814 "-- HikaShop version -- : 4.4.4 -- Joomla version -- : 3.10.3 -- PHP version -- : 7.4  Hi,  How can I get the subtotal in the pdf invoice to be a subtotal without tax? Now the calculated producttotal is without tax and the subtotal with tax, that give confusion with clients (see screenshot). I don't want to disable the tax view as the prices have to be displayed with tax at the frontend. I just want the subtotal to be the same as the calculated productprice.")*

Hi,

What you're showing it quite strange.
In the code of the plugins/hikashop/attachinvoice/attachinvoice/invoice.php you have this code by default:
[ i.imgur.com/20T8Jy5.png](https://i.imgur.com/20T8Jy5.png)
The first half of that screenshot displays the price for each product and the second half of that screenshot displays the subtotal.
In both cases, you can see the same condition: Code:

if($config-&gt;get('price_with_tax')){ ... }else{ ... }

This means that both areas will display either the amount with taxes or without taxes based on the same setting of the HikaShop configuration.
So with that default code, it's impossible to have one of them with taxes and the other without taxes since both have the same check.
What that means is that you must have changed the code in there in a way which makes both amounts inconsistent.
I don't know what you changed exactly though so I can't say what you should do.

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

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

Less More

- Posts: 515
- Thank you received: 22
-
-

4 years 11 months ago [\#337833](#337833) by [jouwnaambord.nl](/forum/user/1188-jouwnaambord-nl "View jouwnaambord.nl's Profile")  Replied by *[jouwnaambord.nl](/forum/user/1188-jouwnaambord-nl "View jouwnaambord.nl's Profile")* on topic *[pdf invoice subtotal without taxes](/forum/40-taxes/903636-pdf-invoice-subtotal-without-taxes#337833 "-- HikaShop version -- : 4.4.4 -- Joomla version -- : 3.10.3 -- PHP version -- : 7.4  Hi,  How can I get the subtotal in the pdf invoice to be a subtotal without tax? Now the calculated producttotal is without tax and the subtotal with tax, that give confusion with clients (see screenshot). I don't want to disable the tax view as the prices have to be displayed with tax at the frontend. I just want the subtotal to be the same as the calculated productprice.")*

Hi,

Thanks. Your quite right, I must have changed that in the past. As I said I do want the prices shown with tax at the frontend, but the financial rules in the Netherlands require to show the subtotal in an invoice without tax, then the tax added after the subtotal, to end with a grandtotal.

I will take a look in the php code to change the Subtotal in the same way.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQwLXRheGVzLzkwMzYzNi1wZGYtaW52b2ljZS1zdWJ0b3RhbC13aXRob3V0LXRheGVzP3RtcGw9bWFya2Rvd24=) 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.051 seconds

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