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

calculation VAT and TTC #14687

Closed
hanen91-ch opened this issue Sep 9, 2020 · 6 comments
Closed

calculation VAT and TTC #14687

hanen91-ch opened this issue Sep 9, 2020 · 6 comments
Labels
Bug This is a bug (something does not work as expected) Discussion Some questions or discussions are opened and wait answers of author or other people to be processed Issue Stale (automatic label) This issue is stale because it has been open 1 year with no activity. Remove this label to keep open

Comments

@hanen91-ch
Copy link

Hi everybody,
would you like to help me, i have a problem about modifying the VAT calculation and the VAT amount.
I explain how I want to modify them.
for example :
HT = 10.000
TAX 2 (1%) = 0.100
VAT (19%) = (mnt HT + TAX2) * 19%
TTC = HT + TAX2 + VAT

@hanen91-ch hanen91-ch added the Bug This is a bug (something does not work as expected) label Sep 9, 2020
@eldy
Copy link
Member

eldy commented Sep 10, 2020

It is really not common to have the VAT calculation that include the TAX 2. This opposite occurs in a lot of country but this cas is the first time. What is your country ? What is the name of the Tax2 in your country ? Are you sure it is not the opposite:
HT = 10.000
VAT (19%) = mnt HT * 19% = 1.9
TAX 2 (1% of HT +VAT) = 0.19
TTC = HT + TAX2 + VAT
Result for HT and TTC should be same but repartition between VAT and TAX2 will differ.

@eldy eldy added the Discussion Some questions or discussions are opened and wait answers of author or other people to be processed label Sep 10, 2020
@hanen91-ch
Copy link
Author

Thank you for your return, my country is tunisia, and my second tax is the fodec (1%). And for the calculation it is sure as I have already said.
HT = 10,000
TAX 2 (1% HT) = 0.100
VAT (19%) = (mnt HT + TAX2) * 19% = 1.919
TTC = HT + TAX2 + VAT

@eldy
Copy link
Member

eldy commented Sep 10, 2020

OK. The following page is speaking about this trouble (in french):
https://wiki.dolibarr.org/index.php/R%C3%A8gles_de_calcul_et_arrondi_de_TVA#Pour_la_Tunisie

@dolibit-ut
Copy link
Contributor

if you add all the taxes to the net amount, the order doesn't matter:

net/ht = 100
1% 100 * 0.01 = 1
19% 100 * 0.19 = 19
Summe/total = 120

and if you have to add/mutliply one tax to the other it also shouldn't matter:

A)
net/ht = 100

  • Tax1 ( 1%) 100 * 1.01 = 101,00
  • Tax2 ( 19%) 101 * 1.19 = 120,19

B)
net/ht = 100

  • Tax1 ( 19%) 100 * 1.19 = 119,00
  • Tax2 ( 1%) 119 * 1.01 = 120,19

always the same result

@hanen91-ch
Copy link
Author

Salut à tous,
merci à vos idées, mais je veux juste savoir ou se fait exactement le calcul de tva si on utilise un 2éme taxe.
Merci à vous.

@github-actions
Copy link

This issue is stale because it has been open 1 year with no activity. If this is a bug, please comment to confirm it is still present on latest stable version. if this is a feature request, please comment to notify the request is still relevant and not yet covered by latest stable version. This issue may be closed automatically by stale bot in 10 days (you should still be able to re-open it if required).

@github-actions github-actions bot added the Issue Stale (automatic label) This issue is stale because it has been open 1 year with no activity. Remove this label to keep open label Sep 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug This is a bug (something does not work as expected) Discussion Some questions or discussions are opened and wait answers of author or other people to be processed Issue Stale (automatic label) This issue is stale because it has been open 1 year with no activity. Remove this label to keep open
Projects
None yet
Development

No branches or pull requests

3 participants