Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VAT rounding can be wrong in some cases #576

Closed
cbellone opened this issue Jan 9, 2019 · 1 comment
Closed

VAT rounding can be wrong in some cases #576

cbellone opened this issue Jan 9, 2019 · 1 comment
Labels

Comments

@cbellone
Copy link
Member

cbellone commented Jan 9, 2019

Sometimes the calculated VAT can have a wrong rounding. For example, for the following reservation:

5 tickets x 99.00, VAT 22% included in the price

The resulting VAT should be 89.26, as result of the following:

5 x (99 - (99 / 1.22)) = 89.26

we get 89.25 instead

@cbellone
Copy link
Member Author

fixed, will be released asap

icougil pushed a commit to barcelonajug/alf.io that referenced this issue Jan 17, 2019
* fix subscription type detection

* alfio-event#576 generate invoice number only when the payment gateway replies with a successful status

* alfio-event#571 rename method

* use text-indent instead of padding for better cross-browser support

* alfio-event#576 - use 10-digit scale for decimals while calculating VAT

* [Gradle Release Plugin] - pre tag commit:  '1.16.2'.

* [Gradle Release Plugin] - new version commit:  '1.17-SNAPSHOT'.

* update ticket uuid when transitioning to RELEASED

* [Gradle Release Plugin] - pre tag commit:  '1.16.3'.

* [Gradle Release Plugin] - new version commit:  '1.17-SNAPSHOT'.
vorburger pushed a commit to vorburger/alf.io that referenced this issue Feb 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant