diff --git a/CHANGELOG b/CHANGELOG index 4c0c93ea46..0f263e2209 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,5 @@ +* Add purchase service tax group + Version 5.6.0 - 2020-05-04 * Bug fixes (see mercurial logs for details) * Add sale service tax group diff --git a/tax.xml b/tax.xml index 9e65c19857..8a71db0c35 100644 --- a/tax.xml +++ b/tax.xml @@ -155,7 +155,7 @@ this repository contains the full copyright notices and license terms. --> S - IVA 21% (operaciones corrientes) + IVA 21% (bienes) IVA 21% @@ -165,8 +165,19 @@ this repository contains the full copyright notices and license terms. --> A + + IVA 21% (servicios) + IVA 21% + + + percentage + + + + A + - IVA 10% (operaciones corrientes) + IVA 10% (bienes) IVA 10% @@ -176,8 +187,19 @@ this repository contains the full copyright notices and license terms. --> A + + IVA 10% (servicios) + IVA 10% + + + percentage + + + + A + - IVA 4% (operaciones corrientes) + IVA 4% (bienes) IVA 4% @@ -188,7 +210,7 @@ this repository contains the full copyright notices and license terms. --> A - IVA Exento (operaciones corrientes) + IVA Exento (bienes) IVA Exento @@ -197,6 +219,16 @@ this repository contains the full copyright notices and license terms. --> + + IVA Exento (servicios) + IVA Exento + + + percentage + + + + IVA 21% (bienes de inversión) IVA 21% @@ -241,7 +273,7 @@ this repository contains the full copyright notices and license terms. --> - IVA Importaciones (operaciones corrientes) + IVA Importaciones (bienes) Importaciones @@ -250,6 +282,16 @@ this repository contains the full copyright notices and license terms. --> + + IVA Importaciones (servicios) + Importaciones + + + percentage + + + + IVA Importaciones (bienes de inversión) IVA Importaciones @@ -261,7 +303,7 @@ this repository contains the full copyright notices and license terms. --> - IVA Intracomunitario (operaciones corrientes) + IVA Intracomunitario (bienes) IVA Intracomunitario @@ -269,6 +311,15 @@ this repository contains the full copyright notices and license terms. --> + + IVA Intracomunitario (servicios) + IVA Intracomunitario + + + none + + + IVA Intracomunitario (bienes de inversión) IVA Intracomunitario @@ -385,7 +436,7 @@ this repository contains the full copyright notices and license terms. --> - IVA Intracomunitario. Operaciones corrientes (1) + IVA Intracomunitario. Bienes (1) IVA Intracomunitario (1) @@ -397,7 +448,7 @@ this repository contains the full copyright notices and license terms. --> A - IVA Intracomunitario. Operaciones corrientes (2) + IVA Intracomunitario. Bienes (2) IVA Intracomunitario (2) @@ -407,6 +458,29 @@ this repository contains the full copyright notices and license terms. --> + + IVA Intracomunitario. Servicios (1) + IVA Intracomunitario (1) + + + + percentage + + + + I + + + IVA Intracomunitario. Servicios (2) + IVA Intracomunitario (2) + + + + percentage + + + + IVA Intracomunitario. Bienes inversión (1) IVA Intracomunitario (1) @@ -575,6 +649,20 @@ this repository contains the full copyright notices and license terms. --> base credit + + + + + + base + invoice + + + + + - + base + credit + Otras operaciones con inversión del sujeto pasivo 12 @@ -913,6 +1001,20 @@ this repository contains the full copyright notices and license terms. --> base credit + + + + + + base + invoice + + + + + - + base + credit + @@ -927,6 +1029,20 @@ this repository contains the full copyright notices and license terms. --> base credit + + + + + + base + invoice + + + + + - + base + credit + @@ -1027,6 +1143,20 @@ this repository contains the full copyright notices and license terms. --> base credit + + + + + + base + invoice + + + + + - + base + credit + Importaciones de bienes de inversión 34 @@ -1069,6 +1199,20 @@ this repository contains the full copyright notices and license terms. --> base credit + + + + + + base + invoice + + + + + - + base + credit + Adquisiciones intracomunitario de bienes de inversión 38 @@ -1816,6 +1960,11 @@ this repository contains the full copyright notices and license terms. --> + + + + + @@ -1858,6 +2007,12 @@ this repository contains the full copyright notices and license terms. --> + + + + + + @@ -1870,6 +2025,12 @@ this repository contains the full copyright notices and license terms. --> + + + + + + diff --git a/tax_groups.xml b/tax_groups.xml index 7c41983096..7f1f6d917c 100644 --- a/tax_groups.xml +++ b/tax_groups.xml @@ -14,8 +14,13 @@ this repository contains the full copyright notices and license terms. --> sale - Compras - Compras + Compras de bienes + Compras de bienes + purchase + + + Compras de servicios + Compras de servicios purchase diff --git a/tax_normal.xml b/tax_normal.xml index 8a1dfae838..a21758c0a6 100644 --- a/tax_normal.xml +++ b/tax_normal.xml @@ -155,7 +155,7 @@ this repository contains the full copyright notices and license terms. --> S - IVA 21% (operaciones corrientes) + IVA 21% (bienes) IVA 21% @@ -165,8 +165,19 @@ this repository contains the full copyright notices and license terms. --> A + + IVA 21% (servicios) + IVA 21% + + + percentage + + + + A + - IVA 10% (operaciones corrientes) + IVA 10% (bienes) IVA 10% @@ -176,8 +187,19 @@ this repository contains the full copyright notices and license terms. --> A + + IVA 10% (servicios) + IVA 10% + + + percentage + + + + A + - IVA 4% (operaciones corrientes) + IVA 4% (bienes) IVA 4% @@ -188,7 +210,7 @@ this repository contains the full copyright notices and license terms. --> A - IVA Exento (operaciones corrientes) + IVA Exento (bienes) IVA Exento @@ -197,6 +219,16 @@ this repository contains the full copyright notices and license terms. --> + + IVA Exento (servicios) + IVA Exento + + + percentage + + + + IVA 21% (bienes de inversión) IVA 21% @@ -241,7 +273,7 @@ this repository contains the full copyright notices and license terms. --> - IVA Importaciones (operaciones corrientes) + IVA Importaciones (bienes) Importaciones @@ -250,6 +282,16 @@ this repository contains the full copyright notices and license terms. --> + + IVA Importaciones (servicios) + Importaciones + + + percentage + + + + IVA Importaciones (bienes de inversión) IVA Importaciones @@ -261,7 +303,7 @@ this repository contains the full copyright notices and license terms. --> - IVA Intracomunitario (operaciones corrientes) + IVA Intracomunitario (bienes) IVA Intracomunitario @@ -269,6 +311,15 @@ this repository contains the full copyright notices and license terms. --> + + IVA Intracomunitario (servicios) + IVA Intracomunitario + + + none + + + IVA Intracomunitario (bienes de inversión) IVA Intracomunitario @@ -385,7 +436,7 @@ this repository contains the full copyright notices and license terms. --> - IVA Intracomunitario. Operaciones corrientes (1) + IVA Intracomunitario. Bienes (1) IVA Intracomunitario (1) @@ -397,7 +448,7 @@ this repository contains the full copyright notices and license terms. --> A - IVA Intracomunitario. Operaciones corrientes (2) + IVA Intracomunitario. Bienes (2) IVA Intracomunitario (2) @@ -407,6 +458,29 @@ this repository contains the full copyright notices and license terms. --> + + IVA Intracomunitario. Servicios (1) + IVA Intracomunitario (1) + + + + percentage + + + + I + + + IVA Intracomunitario. Servicios (2) + IVA Intracomunitario (2) + + + + percentage + + + + IVA Intracomunitario. Bienes inversión (1) IVA Intracomunitario (1) @@ -575,6 +649,20 @@ this repository contains the full copyright notices and license terms. --> base credit + + + + + + base + invoice + + + + + - + base + credit + Otras operaciones con inversión del sujeto pasivo 12 @@ -913,6 +1001,20 @@ this repository contains the full copyright notices and license terms. --> base credit + + + + + + base + invoice + + + + + - + base + credit + @@ -927,6 +1029,20 @@ this repository contains the full copyright notices and license terms. --> base credit + + + + + + base + invoice + + + + + - + base + credit + @@ -1027,6 +1143,20 @@ this repository contains the full copyright notices and license terms. --> base credit + + + + + + base + invoice + + + + + - + base + credit + Importaciones de bienes de inversión 34 @@ -1069,6 +1199,20 @@ this repository contains the full copyright notices and license terms. --> base credit + + + + + + base + invoice + + + + + - + base + credit + Adquisiciones intracomunitario de bienes de inversión 38 @@ -1816,6 +1960,11 @@ this repository contains the full copyright notices and license terms. --> + + + + + @@ -1858,6 +2007,12 @@ this repository contains the full copyright notices and license terms. --> + + + + + + @@ -1870,6 +2025,12 @@ this repository contains the full copyright notices and license terms. --> + + + + + + diff --git a/tax_pyme.xml b/tax_pyme.xml index 789a7c7a99..07852a8c92 100644 --- a/tax_pyme.xml +++ b/tax_pyme.xml @@ -155,7 +155,7 @@ this repository contains the full copyright notices and license terms. --> S - IVA 21% (operaciones corrientes) + IVA 21% (bienes) IVA 21% @@ -165,8 +165,19 @@ this repository contains the full copyright notices and license terms. --> A + + IVA 21% (servicios) + IVA 21% + + + percentage + + + + A + - IVA 10% (operaciones corrientes) + IVA 10% (bienes) IVA 10% @@ -176,8 +187,19 @@ this repository contains the full copyright notices and license terms. --> A + + IVA 10% (servicios) + IVA 10% + + + percentage + + + + A + - IVA 4% (operaciones corrientes) + IVA 4% (bienes) IVA 4% @@ -188,7 +210,7 @@ this repository contains the full copyright notices and license terms. --> A - IVA Exento (operaciones corrientes) + IVA Exento (bienes) IVA Exento @@ -197,6 +219,16 @@ this repository contains the full copyright notices and license terms. --> + + IVA Exento (servicios) + IVA Exento + + + percentage + + + + IVA 21% (bienes de inversión) IVA 21% @@ -241,7 +273,7 @@ this repository contains the full copyright notices and license terms. --> - IVA Importaciones (operaciones corrientes) + IVA Importaciones (bienes) Importaciones @@ -250,6 +282,16 @@ this repository contains the full copyright notices and license terms. --> + + IVA Importaciones (servicios) + Importaciones + + + percentage + + + + IVA Importaciones (bienes de inversión) IVA Importaciones @@ -261,7 +303,7 @@ this repository contains the full copyright notices and license terms. --> - IVA Intracomunitario (operaciones corrientes) + IVA Intracomunitario (bienes) IVA Intracomunitario @@ -269,6 +311,15 @@ this repository contains the full copyright notices and license terms. --> + + IVA Intracomunitario (servicios) + IVA Intracomunitario + + + none + + + IVA Intracomunitario (bienes de inversión) IVA Intracomunitario @@ -385,7 +436,7 @@ this repository contains the full copyright notices and license terms. --> - IVA Intracomunitario. Operaciones corrientes (1) + IVA Intracomunitario. Bienes (1) IVA Intracomunitario (1) @@ -397,7 +448,7 @@ this repository contains the full copyright notices and license terms. --> A - IVA Intracomunitario. Operaciones corrientes (2) + IVA Intracomunitario. Bienes (2) IVA Intracomunitario (2) @@ -407,6 +458,29 @@ this repository contains the full copyright notices and license terms. --> + + IVA Intracomunitario. Servicios (1) + IVA Intracomunitario (1) + + + + percentage + + + + I + + + IVA Intracomunitario. Servicios (2) + IVA Intracomunitario (2) + + + + percentage + + + + IVA Intracomunitario. Bienes inversión (1) IVA Intracomunitario (1) @@ -575,6 +649,20 @@ this repository contains the full copyright notices and license terms. --> base credit + + + + + + base + invoice + + + + + - + base + credit + Otras operaciones con inversión del sujeto pasivo 12 @@ -913,6 +1001,20 @@ this repository contains the full copyright notices and license terms. --> base credit + + + + + + base + invoice + + + + + - + base + credit + @@ -927,6 +1029,20 @@ this repository contains the full copyright notices and license terms. --> base credit + + + + + + base + invoice + + + + + - + base + credit + @@ -1027,6 +1143,20 @@ this repository contains the full copyright notices and license terms. --> base credit + + + + + + base + invoice + + + + + - + base + credit + Importaciones de bienes de inversión 34 @@ -1069,6 +1199,20 @@ this repository contains the full copyright notices and license terms. --> base credit + + + + + + base + invoice + + + + + - + base + credit + Adquisiciones intracomunitario de bienes de inversión 38 @@ -1816,6 +1960,11 @@ this repository contains the full copyright notices and license terms. --> + + + + + @@ -1858,6 +2007,12 @@ this repository contains the full copyright notices and license terms. --> + + + + + + @@ -1870,6 +2025,12 @@ this repository contains the full copyright notices and license terms. --> + + + + + + diff --git a/tests/scenario_reporting.rst b/tests/scenario_reporting.rst index 65be801da3..745ad4a202 100644 --- a/tests/scenario_reporting.rst +++ b/tests/scenario_reporting.rst @@ -90,11 +90,13 @@ Create account category:: >>> Tax = Model.get('account.tax') >>> customer_tax, = Tax.find([ ... ('company', '=', company.id), + ... ('group.kind', '=', 'sale'), ... ('name', '=', 'IVA 21% (bienes)'), ... ]) >>> supplier_tax, = Tax.find([ ... ('company', '=', company.id), - ... ('name', '=', 'IVA 21% (operaciones corrientes)'), + ... ('group.kind', '=', 'purchase'), + ... ('name', '=', 'IVA 21% (bienes)'), ... ]) >>> ProductCategory = Model.get('product.category') >>> account_category = ProductCategory(name="Account Category") diff --git a/tests/scenario_reporting_cancelled_invoices.rst b/tests/scenario_reporting_cancelled_invoices.rst index 120ee03f74..229f172c10 100644 --- a/tests/scenario_reporting_cancelled_invoices.rst +++ b/tests/scenario_reporting_cancelled_invoices.rst @@ -53,7 +53,8 @@ Create account category:: >>> Tax = Model.get('account.tax') >>> supplier_tax, = Tax.find([ ... ('company', '=', company.id), - ... ('name', '=', 'IVA 21% (operaciones corrientes)'), + ... ('group.kind', '=', 'purchase'), + ... ('name', '=', 'IVA 21% (bienes)'), ... ]) >>> ProductCategory = Model.get('product.category') >>> account_category = ProductCategory(name="Account Category") diff --git a/tests/scenario_reporting_compensate.rst b/tests/scenario_reporting_compensate.rst index 82806168c2..5712ae3f9c 100644 --- a/tests/scenario_reporting_compensate.rst +++ b/tests/scenario_reporting_compensate.rst @@ -56,6 +56,7 @@ Create account category:: >>> Tax = Model.get('account.tax') >>> customer_tax, = Tax.find([ ... ('company', '=', company.id), + ... ('group.kind', '=', 'sale'), ... ('name', '=', 'IVA 21% (bienes)'), ... ]) >>> ProductCategory = Model.get('product.category')