← Back to team overview

openerp-india team mailing list archive

[Bug 1059581] [NEW] Tax sequence not respected

 

Public bug reported:

When the computed amount of a tax must be included in another tax
computation (two or more taxes in an invoice), sometimes the result is
incorrect because the tax sequence is not maintained.

For example, in Spain, in some cases IRPF tax, that decrease the total
amount of the invoice (for example 2%) must be computed including VAT.
VAT is configured as include in base. If you have a invoice with base
amount 100, it is not the same doing:

1- 100 - IRPF 2% + VAT 21% = 119
2- 100 + IVA 21% - IRPF 2% =  118,58

When computing taxes order is not being taken into account.

I attach a patch that resolves this problem.

** Affects: openobject-addons
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/1059581

Title:
  Tax sequence not respected

Status in OpenERP Addons (modules):
  New

Bug description:
  When the computed amount of a tax must be included in another tax
  computation (two or more taxes in an invoice), sometimes the result is
  incorrect because the tax sequence is not maintained.

  For example, in Spain, in some cases IRPF tax, that decrease the total
  amount of the invoice (for example 2%) must be computed including VAT.
  VAT is configured as include in base. If you have a invoice with base
  amount 100, it is not the same doing:

  1- 100 - IRPF 2% + VAT 21% = 119
  2- 100 + IVA 21% - IRPF 2% =  118,58

  When computing taxes order is not being taken into account.

  I attach a patch that resolves this problem.

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/1059581/+subscriptions


Follow ups

References