Skip to content
Snippets Groups Projects
Commit ab03b50c authored by Josse Colpaert's avatar Josse Colpaert
Browse files

[FIX] l10n_es_edi_sii: the 21% ISP tax in itself is not isp

The tax 21% ISP actually behaves like a normal 21% tax
(it gets reported in the same lines, ...)

But the reason for its existence is that in case of the
fiscal position Revendedor ISP...  it gets mapped to the
0% ISP tax (which needs to be 0)

Before, if you would however send a 21% ISP tax to the SII,
it would be set as ISP and you would get an error telling
that the tax rate should be 0 in case of ISP.  (but now, it
will be reported as S1 and not trigger the error)

See also discussion in
https://github.com/odoo/odoo/pull/119339#issuecomment-1519720558



closes odoo/odoo#119603

Signed-off-by: default avatarOlivier Colson (oco) <oco@odoo.com>
parent 95c585f6
No related branches found
No related tags found
No related merge requests found
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
<field name="tax_scope">service</field> <field name="tax_scope">service</field>
</record> </record>
<record id="l10n_es.account_tax_template_s_iva21isp" model="account.tax.template"> <record id="l10n_es.account_tax_template_s_iva21isp" model="account.tax.template">
<field name="l10n_es_type">sujeto_isp</field> <field name="l10n_es_type">sujeto</field>
</record> </record>
<record id="l10n_es.account_tax_template_p_iva21_bc" model="account.tax.template"> <record id="l10n_es.account_tax_template_p_iva21_bc" model="account.tax.template">
<field name="name">21% IVA soportado (bienes corrientes)</field> <field name="name">21% IVA soportado (bienes corrientes)</field>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment