Dolibarr / dolibarr

Dolibarr ERP CRM is a modern software package to manage your company or foundation's activity (contacts, suppliers, invoices, orders, stocks, agenda, accounting, ...). it's an open source Web application (written in PHP) designed for businesses of any sizes, foundations and freelancers.
https://www.dolibarr.org
GNU General Public License v3.0
5.28k stars 2.74k forks source link

VAT for EU customers (international) #12557

Closed xabitrigo closed 3 years ago

xabitrigo commented 4 years ago

Bug

International buys should allow VAT types for both the origin and destination countries. According to this: https://europa.eu/youreurope/citizens/consumers/shopping/vat/ both cases are possible.

I'm trying to add a supplier invoice (with French SIREN) that used a Spanish VAT for the invoice, and I'm unable to do so.

Environment

Expected and actual behavior

Display the VAT for the seller and buyer countries

Steps to reproduce the behavior

Only the seller country VATs are available

xabitrigo commented 4 years ago

Just as a workaround, I've had to add the Spanish VAT to France in the llx_c_tva dictionary.

simnandez commented 4 years ago

Try adding the hidden option SERVICE_ARE_ECOMMERCE_200238EC, more info at https://wiki.dolibarr.org/index.php/Setup_Other#Services_Module

github-actions[bot] commented 3 years ago

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).

xabitrigo commented 2 years ago

Sorry to bump this back. This seems to be working for predefined products, but not for free-text items.

What I was expecting was to be able to select the VAT to apply on a free item from the list of VATs of the destination country. Instead I can only select the VAT from the origin country, even after using SERVICE_ARE_ECOMMERCE_200238EC.

ErikRakhorst commented 1 year ago

One year further and still no solution. The behavior is still as described above. It works for predefined products, but not if you modify a line or add a custom product.