Discussion:
[tryton] Invoice amount rounding and sales tax reverse calculation
'Artem Braga' via tryton
2018-08-14 14:00:42 UTC
Permalink
Hello.

Rounding factor in Tryton can set up the rounding of currency unit up to 0.05. With the sale price list it is possible to set up the product sale price with tax included (sales tax will be reverse calculated).

Typically tax rules require, that sales tax amount is not rounded and is calculated on the invoice with the precision of 0.01 units of currency.

Is there any way to round the total invoice amount up to the nearest 0.05 and to reverse calculate sales tax on the rounded total invoice amount with the precision of 0.01?

Thank you.
--
You received this message because you are subscribed to the Google Groups "tryton" group.
To view this discussion on the web visit https://groups.google.com/d/msgid/tryton/d8ac086c-008a-4c87-864a-6efab51507cb%40googlegroups.com.
'Cédric Krier' via tryton
2018-08-14 14:30:31 UTC
Permalink
Post by 'Artem Braga' via tryton
Is there any way to round the total invoice amount up to the nearest 0.05 and to reverse calculate sales tax on the rounded total invoice amount with the precision of 0.01?
No, computation of unit price from price tax included is per line.
--
Cédric Krier - B2CK SPRL
Email/Jabber: ***@b2ck.com
Tel: +32 472 54 46 59
Website: http://www.b2ck.com/
--
You received this message because you are subscribed to the Google Groups "tryton" group.
To view this discussion on the web visit https://groups.google.com/d/msgid/tryton/20180814143031.n5xm2tncslthddxs%40kei.
'Cédric Krier' via tryton
2018-08-14 15:25:36 UTC
Permalink
Post by 'Cédric Krier' via tryton
Post by 'Artem Braga' via tryton
Is there any way to round the total invoice amount up to the nearest 0.05 and to reverse calculate sales tax on the rounded total invoice amount with the precision of 0.01?
No, computation of unit price from price tax included is per line.
But this remember the Swiss rounding problem: https://bugs.tryton.org/issue1000
--
Cédric Krier - B2CK SPRL
Email/Jabber: ***@b2ck.com
Tel: +32 472 54 46 59
Website: http://www.b2ck.com/
--
You received this message because you are subscribed to the Google Groups "tryton" group.
To view this discussion on the web visit https://groups.google.com/d/msgid/tryton/20180814152536.5ljpdgn3a6p2c344%40kei.
Loading...