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

#   VAT on invoice has dissapeared

##

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

Less More

- Posts: 29
- Thank you received: 0
-
-

9 years 9 months ago [\#259038](#259038) by [Stroppen](/forum/user/17246-stroppen "View Stroppen's Profile")  *[VAT on invoice has dissapeared](/forum/35-orders-management/888211-vat-on-invoice-has-dissapeared#259038 "-- url of the page with the problem -- :   www.belysningsimporten.se/  -- HikaShop version -- : 2.6.4 -- Joomla version -- : 3.6.5 -- PHP version -- : 5.4.45  Hello  The compilation of VAT previously available has disappeared on the invoice, so now it's just the sub total, shipping and total that appears. VAT will still appear in the order and confirmation email and the box for detailed VAT is checked.  I have exactly the same information in the order / invoice.php on our other site, but where VAT is shown as it should on the invoice.  Any ideas on what could be wrong?  Thanks in advance!  Regards, Henrik")* was created by *[Stroppen](/forum/user/17246-stroppen "View Stroppen's Profile")*

-- url of the page with the problem -- : [ www.belysningsimporten.se/](https://www.belysningsimporten.se/)
-- HikaShop version -- : 2.6.4
-- Joomla version -- : 3.6.5
-- PHP version -- : 5.4.45

Hello

The compilation of VAT previously available has disappeared on the invoice, so now it's just the sub total, shipping and total that appears.
VAT will still appear in the order and confirmation email and the box for detailed VAT is checked.

I have exactly the same information in the order / invoice.php on our other site, but where VAT is shown as it should on the invoice.

Any ideas on what could be wrong?

Thanks in advance!

Regards,
Henrik

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM1LW9yZGVycy1tYW5hZ2VtZW50Lzg4ODIxMS12YXQtb24taW52b2ljZS1oYXMtZGlzc2FwZWFyZWQ/dG1wbD1tYXJrZG93bg==) 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)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86295
- Thank you received: 14273
-
-

9 years 9 months ago [\#259073](#259073) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[VAT on invoice has dissapeared](/forum/35-orders-management/888211-vat-on-invoice-has-dissapeared#259073 "-- url of the page with the problem -- :   www.belysningsimporten.se/  -- HikaShop version -- : 2.6.4 -- Joomla version -- : 3.6.5 -- PHP version -- : 5.4.45  Hello  The compilation of VAT previously available has disappeared on the invoice, so now it's just the sub total, shipping and total that appears. VAT will still appear in the order and confirmation email and the box for detailed VAT is checked.  I have exactly the same information in the order / invoice.php on our other site, but where VAT is shown as it should on the invoice.  Any ideas on what could be wrong?  Thanks in advance!  Regards, Henrik")*

Hi,

The VAT data displayed in the invoice is taken from the VAT data in the order in the database.
So if you edit the order details in the backend do you see the VAT like you want ?
Could you provide some screenshots so that we can understand the situation ?
- of the tax rules
- of the order details in the backend
- of the invoice
- of the email

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

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

Less More

- Posts: 29
- Thank you received: 0
-
-

9 years 9 months ago -  9 years 9 months ago [\#259082](#259082) by [Stroppen](/forum/user/17246-stroppen "View Stroppen's Profile")  Replied by *[Stroppen](/forum/user/17246-stroppen "View Stroppen's Profile")* on topic *[VAT on invoice has dissapeared](/forum/35-orders-management/888211-vat-on-invoice-has-dissapeared#259082 "-- url of the page with the problem -- :   www.belysningsimporten.se/  -- HikaShop version -- : 2.6.4 -- Joomla version -- : 3.6.5 -- PHP version -- : 5.4.45  Hello  The compilation of VAT previously available has disappeared on the invoice, so now it's just the sub total, shipping and total that appears. VAT will still appear in the order and confirmation email and the box for detailed VAT is checked.  I have exactly the same information in the order / invoice.php on our other site, but where VAT is shown as it should on the invoice.  Any ideas on what could be wrong?  Thanks in advance!  Regards, Henrik")*

Hi Nicolas,

Accompany pictures on order, e-mail, tax rates and the code for the invoice and the invoice  [ ![Invoice.jpg](/forum/attachment/35470) ](/forum/attachment/35470 "Invoice.jpg")

.
Code:

&lt;?php /** * @package HikaShop for Joomla! * @version 2.6.0 * @author hikashop.com * @copyright (C) 2010-2015 HIKARI SOFTWARE. All rights reserved. * @license GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html */ defined('_JEXEC') or die('Restricted access'); ?&gt;&lt;div id="hikashop_invoice_main_div"&gt; &lt;div id="print" style="float:right"&gt;

Code:

&lt;tr&gt; &lt;?php if($this-&gt;invoice_type=='full' &amp;&amp; !empty($this-&gt;element-&gt;billing_address)){?&gt; &lt;td&gt; &lt;fieldset class="adminform" id="htmlfieldset_billing"&gt; &lt;legend style="background-color: #FFFFFF;"&gt;&lt;?php echo JText::_('HIKASHOP_BILLING_ADDRESS'); ?&gt;&lt;/legend&gt; &lt;?php $class = hikashop_get('class.address'); echo $class-&gt;displayAddress($this-&gt;element-&gt;fields,$this-&gt;element-&gt;billing_address,'order'); ?&gt; &lt;/fieldset&gt; &lt;/td&gt; &lt;?php }?&gt;

Regards,
Henrik

[ ![Mail.jpg](/forum/attachment/35467) ](/forum/attachment/35467 "Mail.jpg")

[ ![Order-details.jpg](/forum/attachment/35469) ](/forum/attachment/35469 "Order-details.jpg")

[ ![VAT.jpg](/forum/attachment/35468) ](/forum/attachment/35468 "VAT.jpg")

- [ ![Mail.jpg](/forum/attachment/35467) ](/forum/attachment/35467 "Mail.jpg") [ ](/forum/attachment/35467?download=1 "Mail.jpg")
- [ ![VAT.jpg](/forum/attachment/35468) ](/forum/attachment/35468 "VAT.jpg") [ ](/forum/attachment/35468?download=1 "VAT.jpg")
- [ ![Order-details.jpg](/forum/attachment/35469) ](/forum/attachment/35469 "Order-details.jpg") [ ](/forum/attachment/35469?download=1 "Order-details.jpg")
- [ ![Invoice.jpg](/forum/attachment/35470) ](/forum/attachment/35470 "Invoice.jpg") [ ](/forum/attachment/35470?download=1 "Invoice.jpg")

Last edit: 9 years 9 months ago by [Jerome](/forum/user/80-jerome "View Jerome's Profile").

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

- **[Philip](/forum/user/34318-philip "View Philip's Profile")**
- [![Philip's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar34318_2015-11-18-2.png)](/forum/user/34318-philip "View Philip's Profile")
- [ Offline](/forum/user/34318-philip)

Less More

- Posts: 4820
- Thank you received: 654
-
-

9 years 9 months ago -  9 years 9 months ago [\#259118](#259118) by [Philip](/forum/user/34318-philip "View Philip's Profile")  Replied by *[Philip](/forum/user/34318-philip "View Philip's Profile")* on topic *[VAT on invoice has dissapeared](/forum/35-orders-management/888211-vat-on-invoice-has-dissapeared#259118 "-- url of the page with the problem -- :   www.belysningsimporten.se/  -- HikaShop version -- : 2.6.4 -- Joomla version -- : 3.6.5 -- PHP version -- : 5.4.45  Hello  The compilation of VAT previously available has disappeared on the invoice, so now it's just the sub total, shipping and total that appears. VAT will still appear in the order and confirmation email and the box for detailed VAT is checked.  I have exactly the same information in the order / invoice.php on our other site, but where VAT is shown as it should on the invoice.  Any ideas on what could be wrong?  Thanks in advance!  Regards, Henrik")*

Hello,

I'm quite surprised by your screenshots, one question do you have some override view and especially on your order view ?
To check this point, go to **Components** =&gt; **HikaShop** =&gt; **Configuration**, on **Display** dropdown select **Views**.
Then, use the **three dropdown filters** with : **Order**/**Your backend template**/**Back end**.

[ ![overrideBE.png](/forum/attachment/35488) ](/forum/attachment/35488 "overrideBE.png")

See, the **view number 13**, called **invoice**, the little **trash icon** means that there some custom (or an override) on the invoice view.
If you have this, **save it** on your side, and try to delete it by clicking on the trash icon.
And if, that solve your issue that means that your override is the roots issue.

Awaiting news from you.

Regards

- [ ![overrideBE.png](/forum/attachment/35488) ](/forum/attachment/35488 "overrideBE.png") [ ](/forum/attachment/35488?download=1 "overrideBE.png")

Last edit: 9 years 9 months ago by [Philip](/forum/user/34318-philip "View Philip's Profile").

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

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

Less More

- Posts: 29
- Thank you received: 0
-
-

9 years 9 months ago [\#259155](#259155) by [Stroppen](/forum/user/17246-stroppen "View Stroppen's Profile")  Replied by *[Stroppen](/forum/user/17246-stroppen "View Stroppen's Profile")* on topic *[VAT on invoice has dissapeared](/forum/35-orders-management/888211-vat-on-invoice-has-dissapeared#259155 "-- url of the page with the problem -- :   www.belysningsimporten.se/  -- HikaShop version -- : 2.6.4 -- Joomla version -- : 3.6.5 -- PHP version -- : 5.4.45  Hello  The compilation of VAT previously available has disappeared on the invoice, so now it's just the sub total, shipping and total that appears. VAT will still appear in the order and confirmation email and the box for detailed VAT is checked.  I have exactly the same information in the order / invoice.php on our other site, but where VAT is shown as it should on the invoice.  Any ideas on what could be wrong?  Thanks in advance!  Regards, Henrik")*

Hi Philip

Yes we have a few overrides, also on the view order invoice but it does not help to trash the override.
We have the exact same code in this file as we have on our other site where it works fine, so it feels like there is something else that cause the error.

Regards,
Henrik

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM1LW9yZGVycy1tYW5hZ2VtZW50Lzg4ODIxMS12YXQtb24taW52b2ljZS1oYXMtZGlzc2FwZWFyZWQ/dG1wbD1tYXJrZG93bg==) 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)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86295
- Thank you received: 14273
-
-

9 years 9 months ago [\#259157](#259157) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[VAT on invoice has dissapeared](/forum/35-orders-management/888211-vat-on-invoice-has-dissapeared#259157 "-- url of the page with the problem -- :   www.belysningsimporten.se/  -- HikaShop version -- : 2.6.4 -- Joomla version -- : 3.6.5 -- PHP version -- : 5.4.45  Hello  The compilation of VAT previously available has disappeared on the invoice, so now it's just the sub total, shipping and total that appears. VAT will still appear in the order and confirmation email and the box for detailed VAT is checked.  I have exactly the same information in the order / invoice.php on our other site, but where VAT is shown as it should on the invoice.  Any ideas on what could be wrong?  Thanks in advance!  Regards, Henrik")*

Hi,

The tax data is in the order details page based on your screenshots. So if it's not in the invoice I can only think that the code of the invoice has been changed.
I don't see what else it could be.
Could you provide a backend access via our contact form along with a link to this thread so that we could check on the issue ?
[ www.hikashop.com/support/contact-us.html](https://www.hikashop.com/support/contact-us.html)

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

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

Less More

- Posts: 29
- Thank you received: 0
-
-

9 years 9 months ago [\#259182](#259182) by [Stroppen](/forum/user/17246-stroppen "View Stroppen's Profile")  Replied by *[Stroppen](/forum/user/17246-stroppen "View Stroppen's Profile")* on topic *[VAT on invoice has dissapeared](/forum/35-orders-management/888211-vat-on-invoice-has-dissapeared#259182 "-- url of the page with the problem -- :   www.belysningsimporten.se/  -- HikaShop version -- : 2.6.4 -- Joomla version -- : 3.6.5 -- PHP version -- : 5.4.45  Hello  The compilation of VAT previously available has disappeared on the invoice, so now it's just the sub total, shipping and total that appears. VAT will still appear in the order and confirmation email and the box for detailed VAT is checked.  I have exactly the same information in the order / invoice.php on our other site, but where VAT is shown as it should on the invoice.  Any ideas on what could be wrong?  Thanks in advance!  Regards, Henrik")*

Hi

I have sent access information to your contact form.

Regards,
Henrik

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM1LW9yZGVycy1tYW5hZ2VtZW50Lzg4ODIxMS12YXQtb24taW52b2ljZS1oYXMtZGlzc2FwZWFyZWQ/dG1wbD1tYXJrZG93bg==) 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)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86295
- Thank you received: 14273
-
-

9 years 9 months ago [\#259251](#259251) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[VAT on invoice has dissapeared](/forum/35-orders-management/888211-vat-on-invoice-has-dissapeared#259251 "-- url of the page with the problem -- :   www.belysningsimporten.se/  -- HikaShop version -- : 2.6.4 -- Joomla version -- : 3.6.5 -- PHP version -- : 5.4.45  Hello  The compilation of VAT previously available has disappeared on the invoice, so now it's just the sub total, shipping and total that appears. VAT will still appear in the order and confirmation email and the box for detailed VAT is checked.  I have exactly the same information in the order / invoice.php on our other site, but where VAT is shown as it should on the invoice.  Any ideas on what could be wrong?  Thanks in advance!  Regards, Henrik")*

Hi,

Thank you. I've found the issue and fix it.
The problem came from the line: Code:

$taxes = round($this-&gt;order-&gt;order_subtotal - $this-&gt;order-&gt;order_subtotal_no_vat + $this-&gt;order-&gt;order_shipping_tax + $this-&gt;order-&gt;order_payment_tax - $this-&gt;order-&gt;order_discount_tax,$this-&gt;currencyHelper-&gt;getRounding($this-&gt;order-&gt;order_currency_id,true));

which had to be changed to: Code:

$taxes = $this-&gt;currencyHelper-&gt;round($this-&gt;order-&gt;order_subtotal - $this-&gt;order-&gt;order_subtotal_no_vat + $this-&gt;order-&gt;order_shipping_tax + $this-&gt;order-&gt;order_payment_tax - $this-&gt;order-&gt;order_discount_tax,$this-&gt;currencyHelper-&gt;getRounding($this-&gt;order-&gt;order_currency_id,true));

in the invoice view file.

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

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

Less More

- Posts: 29
- Thank you received: 0
-
-

9 years 9 months ago [\#259315](#259315) by [Stroppen](/forum/user/17246-stroppen "View Stroppen's Profile")  Replied by *[Stroppen](/forum/user/17246-stroppen "View Stroppen's Profile")* on topic *[VAT on invoice has dissapeared](/forum/35-orders-management/888211-vat-on-invoice-has-dissapeared#259315 "-- url of the page with the problem -- :   www.belysningsimporten.se/  -- HikaShop version -- : 2.6.4 -- Joomla version -- : 3.6.5 -- PHP version -- : 5.4.45  Hello  The compilation of VAT previously available has disappeared on the invoice, so now it's just the sub total, shipping and total that appears. VAT will still appear in the order and confirmation email and the box for detailed VAT is checked.  I have exactly the same information in the order / invoice.php on our other site, but where VAT is shown as it should on the invoice.  Any ideas on what could be wrong?  Thanks in advance!  Regards, Henrik")*

Brilliant! Thank you for your help.

Regards,
Henrik

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

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

[](#top)
