# Displaying individual VAT sums

**URL:** <https://www.dolibarr.org/forum/t/displaying-individual-vat-sums/21886>\
**Category:** Financial modules\
**Created:** [February 19, 2022, 1:36pm UTC](https://www.dolibarr.org/forum/t/displaying-individual-vat-sums/21886 "2022-02-19T13:36:47Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![cpb](https://www.dolibarr.org/forum/letter_avatar_proxy/v4/letter/c/db5fbb/32.png) [@cpb](https://www.dolibarr.org/forum/u/cpb)\
**Post date:** [February 19, 2022, 1:36pm UTC](https://www.dolibarr.org/forum/t/displaying-individual-vat-sums/21886/1 "2022-02-19T13:36:47Z")

</div>

Hi,

I use Dolibarr 14.0.5.

Following question: While creating an invoice I have products that have the option to use standard VAT rate (7.7%) and for certain special products the reduced VAT rate (2.5%). That all works perfectly fine - for the PDF invoices.

However, the invoice summary shows only the sum of the two VAT rates → However, for the government forms I need to fill in the individual sums (it is not allowed to “mix” the VAT rates). The only way to get the two values is to open the PDF invoice - that is cumbersome. Is there a way to display the separated VAT values (as in the invoice).

Example

These values are in the PDF invoices:

 ![IMG_20220219_142300](https://www.dolibarr.org/forum/uploads/dolibarrorg/original/2X/0/0d5dd05b2ebc94350e4724b122ce79ca729945cd.jpeg)

Can I display those values here (instead of the sum):

 ![IMG_20220219_142156](https://www.dolibarr.org/forum/uploads/dolibarrorg/original/2X/c/ca1326c0b30cc2de7c156dded60f5c04f46a32e4.jpeg)

Thanks for your help and input.  
Chris.

---

<div class="post-metadata">

**Author:** ![milenmk](https://www.dolibarr.org/forum/user_avatar/www.dolibarr.org/milenmk/32/4128_2.png) [@milenmk](https://www.dolibarr.org/forum/u/milenmk)\
**Post date:** [February 19, 2022, 4:35pm UTC](https://www.dolibarr.org/forum/t/displaying-individual-vat-sums/21886/2 "2022-02-19T16:35:29Z")

</div>

It’s possible, but some files need to be edited: the template file for the invoice in “/core/modules/facture” and “/core/lib/pdf.lib.php”

In the first one, you set where the column will be and what will be its size, and in the second - the data for the column.

---

<div class="post-metadata">

**Author:** ![WimR](https://www.dolibarr.org/forum/letter_avatar_proxy/v4/letter/w/ea5d25/32.png) [@WimR](https://www.dolibarr.org/forum/u/WimR)\
**Post date:** [October 10, 2024, 3:42pm UTC](https://www.dolibarr.org/forum/t/displaying-individual-vat-sums/21886/3 "2024-10-10T15:42:42Z")

</div>

For me, I was thinking of putting this in the list view (using extrafields). But I suppose, we have to calculate the individual vat values ourselves before we can display them. Or is there a “handle” we can use to get these values?  
I found the total\_tva and also the object\_total\_vat\_x.y. But I don’t suppose we can use the last value in the computed fields of the extrafields…

Any pointers in the right direction would be helpful.  
Wim

---

<div class="post-metadata">

**Author:** ![pcbleu](https://www.dolibarr.org/forum/user_avatar/www.dolibarr.org/pcbleu/32/3120_2.png) [@pcbleu](https://www.dolibarr.org/forum/u/pcbleu)\
**Post date:** [October 12, 2024, 7:22am UTC](https://www.dolibarr.org/forum/t/displaying-individual-vat-sums/21886/4 "2024-10-12T07:22:34Z")

</div>

Hello 🙂

have a look [at this post, on the french forum](https://www.dolibarr.fr/forum/t/recap-tva-sur-facture-vente/35229/4)

Good continuation
