Displaying individual VAT sums

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:

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

Thanks for your help and input.
Chris.

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.

1 Like

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

Hello :slight_smile:

have a look at this post, on the french forum

Good continuation