Vat in odt invoice

I have 2 vat. One is 24% and other 13%
I have put these tags to the odt invoice to show the total vat of 24% and 13% with success
{object_total_vat_24}
{object_total_vat_13}
But i want to show and the total amount without vat per vat. I have used the tag {object_total_ht} but it shows the whole amount without vat for all the products including 24% and 13% together. Is there any tag to separate this? Fo example {object_total_ht_x.x}?

Same problem for me. Is there a solution for this?

Hi,

Normally for 24%, you should put 24.000
so {object_total_ht_24.000}

Hi Ksar thank you for your reply,
I tried it. It didn’t work for me.
Also I don’t see object_total_ht_x.x documented here

Hi,

Sorry it is {object_total_vat_x.y}
So {object_total_vat_24.000}

This is working for me

ΑΝΑΛΥΣΗ ΦΠΑ

ΦΠΑ

ΚΑΘΑΡΟ ΠΟΣΟ

ΠΟΣΟ ΦΠΑ

24%

** Εσφαλμένη παράσταση **

[!-- IF {object_total_vat_24}
–]{object_total_vat_24}[!-- ELSE {object_total_vat_24} --] 0 [!-- ENDIF
{object_total_vat_24} --]

13%

** Εσφαλμένη παράσταση **

[!-- IF
{object_total_vat_13} --]{object_total_vat_13}[!-- ELSE {object_total_vat_13}
–] 0 [!-- ENDIF {object_total_vat_13} --]

Στις Τετ, 22 Απρ 2020 στις 2:11 μ.μ., ο/η ksar via Dolibarr international forum noreply-org@dolibarr.org έγραψε:

Hi Alan,

Ok this gives the VAT for each different rate. But on the same invoice you may have products with different VAT. Therefore in the end you may need the total priceA(ex.tax) which corresponds to the total price of the objects purchased using 24% VAT and the total priceB(ex.tax) for the objects purchased using 13%.

Hi,

This doesn’t exist.

Thanks Ksar,

I thought so. I tried this too:
[!-- IF {object_total_vat_24} --]4.1666667*{object_total_vat_24}[!-- ELSE {object_total_vat_24} --] NULL [!-- ENDIF {object_total_vat_24} --]
But It didn’t calculate it. It just replaced the {object_total_vat_24} value
Any ideas?

Hi,

You need to create own tags : https://wiki.dolibarr.org/index.php/Create_an_ODT_document_template#Other_personalized_tags

I would like to reopen this topic.
I have a 17.0.3 installation and I do not see the resulting VAT for individual groups in the “odt” file.

When trying to generate a sum of a specific VAT rate in the odt file, the sum is not generated, but only {object_total_vat_20} remains

I tried:
'{object_total_vat_20}
{object_total_vat_20.000}
{object_total_vat_20.00}

and also for further assessment of VAT, but the specific amount does not appear in the document