Classify foreign ISR withholdings separately

Assign payments to non-residents to the dedicated ISREXT group in both localization datasets and tax rules. Add regression checks for national and foreign ISR groups.
This commit is contained in:
José Arturo García
2026-08-10 02:23:01 -04:00
parent d708024c58
commit 22281ed4a6
7 changed files with 48 additions and 26 deletions
+3 -3
View File
@@ -283,7 +283,7 @@
<field name="description">Retención ISR Exterior 27%</field>
<field name="type">percentage</field>
<field name="rate" eval="Decimal('-27')/100" />
<field name="group" ref="do_tax_group_isr_es_419" />
<field name="group" ref="do_tax_group_isr_ext_es_419" />
<field name="account" ref="do_account_root_es_419" />
<field name="invoice_account" ref="do_account_21020701_es_419" />
<field name="credit_note_account" ref="do_account_21020701_es_419" />
@@ -294,7 +294,7 @@
<field name="description">Retención ISR Exterior 10%</field>
<field name="type">percentage</field>
<field name="rate" eval="Decimal('-10')/100" />
<field name="group" ref="do_tax_group_isr_es_419" />
<field name="group" ref="do_tax_group_isr_ext_es_419" />
<field name="account" ref="do_account_root_es_419" />
<field name="invoice_account" ref="do_account_21020702_es_419" />
<field name="credit_note_account" ref="do_account_21020702_es_419" />
@@ -589,4 +589,4 @@
<field name="legal_notice">Art. 20 Ley 288-04, mod. art. 7 Ley 173-07 — tasa 3%</field>
</record>
</data>
</tryton>
</tryton>