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.46k stars 2.79k forks source link

Bug: Error applying VAT to exempt clients #9189

Closed JuanBrillo closed 3 years ago

JuanBrillo commented 6 years ago

Bug

Environment

Report

When from a customer's file (which has a VAT specified in its file) a quote, order is created ..., this specification does not work, and the default VAT of the products is applied, when, having to select a 0% VAT manually in each and every one of the products, when this should be automatic if a client has specified that he is exempt from paying VAT on his file.

This error occurs to us both in the version we use (5.0.7) and in the version for tests (7.0.3).


Spanish

Cuando desde la ficha de un cliente (el cual tiene especificado en su ficha que no hay que aplicarle IVA) se crea un presupuesto, pedido..., dicha especificacion no funciona, y se aplica el IVA por defecto de los productos, cuando, teniendo que seleccionar un IVA al 0% manualmente en todos y cada uno de los productos, cuando esto deberia ser automatico si un cliente tiene especificado que esta exento de pagar IVA en su ficha.

Dicho error nos ocurre tanto en la version que usamos (5.0.7) como en la version para pruebas (7.0.3).

github-actions[bot] commented 4 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. Without comment, this issue will be closed automatically by stale bot in 15 days.

JuanBrillo commented 4 years ago

Currently, in version 11.0.1, the same thing continues. You have to go one by one on all products by removing the local tax.


Actualmente, en la version 11.0.1, sigue pasando lo mismo. Hay que ir uno a uno en todos los productos quitando el impuesto local.

eldy commented 4 years ago

There is no way to specify that is client is exempt of VAT currently in Dolibarr. The field "VAT use" means this thirdparty does not apply VAT when this thirdparty makes an invoice itself. Currently the rule to define if a vat is applied or not is By default when creating prospects, invoices, orders etc. the Sales Tax rate follows the active standard rule:

If the seller is not subject to Sales tax, then Sales tax defaults to 0. End of rule. If the (seller's country = buyer's country), then the Sales tax by default equals the Sales tax of the product in the seller's country. End of rule. If the seller and buyer are both in the European Community and goods are transport-related products (haulage, shipping, airline), the default VAT is 0. This rule is dependant on the seller's country - please consult with your accountant. The VAT should be paid by the buyer to the customs office in their country and not to the seller. End of rule. (rule not implemented) If the seller and buyer are both in the European Community and the buyer is not a company (with a registered intra-Community VAT number) then the VAT defaults to the VAT rate of the seller's country. End of rule. If the seller and buyer are both in the European Community and the buyer is a company (with a registered intra-Community VAT number), then the VAT is 0 by default. End of rule. In any other case the proposed default is Sales tax=0. End of rule.

So there is no way to define that a customer is exempt of VAT when he buy products to you. So this may be a feature request.

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