You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think there is one case which is currently not reflected in the VAT rate calculation for the european union. In EU, there is a scenarion where it is important where the delivery goes to. Example:
A company in germany is selling something to a company in italy with vat ids. This would be normally vat rate 0%. But if the delivery goes to germany (some country as the seller), the german tax rate needs to be applied.
I checked this in the code and I was able to identify these two functions which need to be adapted in my opinion:
html.form.class.php#load_tva
functions.lib.php#get_default_tva
I can provide the implementation for it, but would like to discuss shortly how the best way would be to implement it.
Dolibarr Version
No response
Environment PHP
No response
Environment Database
No response
Steps to reproduce the behavior and expected behavior
No response
Attached files
No response
The text was updated successfully, but these errors were encountered:
After discussion again with a tax consultant, there are many more cases in which tax rate needs to be german rate or null. Currently not possible to determine this based only on dolibarr data. Therefore I close this ticket as this has to be done manually.
Bug
Hi,
I think there is one case which is currently not reflected in the VAT rate calculation for the european union. In EU, there is a scenarion where it is important where the delivery goes to. Example:
A company in germany is selling something to a company in italy with vat ids. This would be normally vat rate 0%. But if the delivery goes to germany (some country as the seller), the german tax rate needs to be applied.
I checked this in the code and I was able to identify these two functions which need to be adapted in my opinion:
html.form.class.php#load_tva
functions.lib.php#get_default_tva
I can provide the implementation for it, but would like to discuss shortly how the best way would be to implement it.
Dolibarr Version
No response
Environment PHP
No response
Environment Database
No response
Steps to reproduce the behavior and expected behavior
No response
Attached files
No response
The text was updated successfully, but these errors were encountered: