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 rate calculation doesn't reflect delivery address #32309

Closed
splohmer opened this issue Dec 10, 2024 · 1 comment
Closed

VAT rate calculation doesn't reflect delivery address #32309

splohmer opened this issue Dec 10, 2024 · 1 comment
Labels
Bug This is a bug (something does not work as expected)

Comments

@splohmer
Copy link

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

@splohmer splohmer added the Bug This is a bug (something does not work as expected) label Dec 10, 2024
@splohmer splohmer closed this as not planned Won't fix, can't repro, duplicate, stale Dec 10, 2024
@splohmer
Copy link
Author

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.

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)
Projects
None yet
Development

No branches or pull requests

1 participant