And don’t use local tax
use {object_total_vat_x.y} line.
like {object_total_vat_17.000}
ıt works for me
And don’t use local tax
use {object_total_vat_x.y} line.
like {object_total_vat_17.000}
ıt works for me
It doesn’t work
Although
htdocs/core/class/commondocgenerator.class.php
does calculate
...
["object_total_vat_7.000"]=> float(3.5)
["object_total_vat_locale_7.000"]=> string(4) "3.50"
["object_total_vat_19.000"]=> float(47.5)
["object_total_vat_locale_19.000"]=> string(5) "47.50"
["object_total_vat_0.000"]=> float(0)
["object_total_vat_locale_0.000"]=> string(4) "0.00" }
nothing shows up in the ODT document!
Best regards
if you sent me the odt file i can try it on my dolibarr and see if there is anything wrong?
There must be something wrong with your configuration because your file work on my system
ı changed your object_total_vat_19.0 = {object_total_vat_19.000} line to 18.000
But i added new tax ratios for Turkiye from settings, dictionaries, tax ratios part.
I believe it may work if you add a new %19 ratio. Worth a try…
Thanks a lot! Now it works.
What I did - I entered ONLY the “placeholders” ANEW, key by key - avoiding backspace to correct typing errors. Now the real numbers show:
...
object_total_vat = 51
object_total_vat_19.0 = {object_total_vat_19.000}
47.5
object_total_vat_19.0 = {object_total_vat_locale_19.000}
object_total_vat_7.0 = {object_total_vat_7.000}
3.5
object_total_vat_7.0 = {object_total_vat_locale_7.000}
object_total_ttc = 351
object_total_discount_ht = 0
object_vatrate = {object_vatrate}
{object_vatrate}
...
Best regards
Hi Casati,
I stumbled upon a problem reagarding exactly this scenario.
It works as long there are items with 7% and 19%, but as soon there are no more 7% items, it shows me “{object_total_vat_7.000}” instead of “0” (Zero).
Did you encounter this problem and maybe have been able to solve this??
Cheers
Bernd
Hello, I would like to reopen this topic.
I have a 17.0.3 installation and the resulting VAT for individual groups is not displayed.
Při pokusu o vygenerování součtu konkrétní sazby DPH v souboru odt se součet nevygeneruje, ale zůstane zde pouze {object_total_vat_20}
Zkusil jsem:
{object_total_vat_20}
{object_total_vat_20.000}
{object_total_vat_20.00}
a také pro další vyměřování DPH, ale konkrétní částka se v dokladu neobjeví