<?xml version="1.0" encoding="utf-8" ?>
<!-- Copyright 2016 Tecnativa - Antonio Espinosa
     Copyright 2017-2020 Tecnativa - Pedro M. Baeza
     License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). -->
<odoo>
    <record id="aeat_mod303_map" model="l10n.es.aeat.map.tax">
        <field name="model">303</field>
        <field name="date_to">2021-06-30</field>
    </record>
    <record id="aeat_mod303_map_line_01" model="l10n.es.aeat.map.tax.line">
        <field name="map_parent_id" ref="aeat_mod303_map" />
        <field name="field_number">01</field>
        <field name="name">Régimen General - Base imponible 4%</field>
        <field name="to_regularize" eval="False" />
        <field name="move_type">regular</field>
        <field name="field_type">base</field>
        <field name="sum_type">both</field>
        <field name="inverse" eval="False" />
        <!-- Base facturas de venta (haber) - Descuentos en facturas de venta(debe):
         S_IVA4B, S_IVA4S -->
        <field
            name="tax_ids"
            eval="[(6, False, [ref('l10n_es.account_tax_template_s_iva4b'), ref('l10n_es.account_tax_template_s_iva4s')])]"
        />
    </record>
    <record id="aeat_mod303_map_line_03" model="l10n.es.aeat.map.tax.line">
        <field name="map_parent_id" ref="aeat_mod303_map" />
        <field name="field_number">03</field>
        <field name="name">Régimen General - Cuota 4%</field>
        <field name="to_regularize" eval="True" />
        <field name="move_type">regular</field>
        <field name="field_type">amount</field>
        <field name="sum_type">both</field>
        <field name="inverse" eval="False" />
        <!-- Cuota facturas de venta (haber) - Descuentos en facturas de venta(debe):
     S_IVA4B, S_IVA4S -->
        <field
            name="tax_ids"
            eval="[(6, False, [ref('l10n_es.account_tax_template_s_iva4b'), ref('l10n_es.account_tax_template_s_iva4s')])]"
        />
    </record>
    <record id="aeat_mod303_map_line_04" model="l10n.es.aeat.map.tax.line">
        <field name="map_parent_id" ref="aeat_mod303_map" />
        <field name="field_number">04</field>
        <field name="name">Régimen General - Base imponible 10%</field>
        <field name="to_regularize" eval="False" />
        <field name="move_type">regular</field>
        <field name="field_type">base</field>
        <field name="sum_type">both</field>
        <field name="inverse" eval="False" />
        <!-- Base facturas de venta (haber) - Descuentos en facturas de venta(debe):
         S_IVA10B, S_IVA10S -->
        <field
            name="tax_ids"
            eval="[(6, False, [ref('l10n_es.account_tax_template_s_iva10b'), ref('l10n_es.account_tax_template_s_iva10s')])]"
        />
    </record>
    <record id="aeat_mod303_map_line_06" model="l10n.es.aeat.map.tax.line">
        <field name="map_parent_id" ref="aeat_mod303_map" />
        <field name="field_number">06</field>
        <field name="name">Régimen General - Cuota 10%</field>
        <field name="to_regularize" eval="True" />
        <field name="move_type">regular</field>
        <field name="field_type">amount</field>
        <field name="sum_type">both</field>
        <field name="inverse" eval="False" />
        <!-- Cuota facturas de venta (haber) - Descuentos en facturas de venta (debe):
     S_IVA10B, S_IVA10S -->
        <field
            name="tax_ids"
            eval="[(6, False, [ref('l10n_es.account_tax_template_s_iva10b'), ref('l10n_es.account_tax_template_s_iva10s')])]"
        />
    </record>
    <record id="aeat_mod303_map_line_07" model="l10n.es.aeat.map.tax.line">
        <field name="map_parent_id" ref="aeat_mod303_map" />
        <field name="field_number">07</field>
        <field name="name">Régimen General - Base imponible 21%</field>
        <field name="to_regularize" eval="False" />
        <field name="move_type">regular</field>
        <field name="field_type">base</field>
        <field name="sum_type">both</field>
        <field name="inverse" eval="False" />
        <!-- Base facturas de venta (haber) - Descuentos en facturas de venta(debe):
         S_IVA21B, S_IVA21S, S_IVA21ISP -->
        <field
            name="tax_ids"
            eval="[(6, False, [ref('l10n_es.account_tax_template_s_iva21b'), ref('l10n_es.account_tax_template_s_iva21s'), ref('l10n_es.account_tax_template_s_iva21isp')])]"
        />
    </record>
    <record id="aeat_mod303_map_line_09" model="l10n.es.aeat.map.tax.line">
        <field name="map_parent_id" ref="aeat_mod303_map" />
        <field name="field_number">09</field>
        <field name="name">Régimen General - Cuota 21%</field>
        <field name="to_regularize" eval="True" />
        <field name="move_type">regular</field>
        <field name="field_type">amount</field>
        <field name="sum_type">both</field>
        <field name="inverse" eval="False" />
        <!-- Cuota facturas de venta (haber) - Descuentos en facturas de venta(debe):
     S_IVA21B, S_IVA21S, S_IVA21ISP -->
        <field
            name="tax_ids"
            eval="[(6, False, [ref('l10n_es.account_tax_template_s_iva21b'), ref('l10n_es.account_tax_template_s_iva21s'), ref('l10n_es.account_tax_template_s_iva21isp')])]"
        />
    </record>
    <record id="aeat_mod303_map_line_10" model="l10n.es.aeat.map.tax.line">
        <field name="map_parent_id" ref="aeat_mod303_map" />
        <field name="field_number">10</field>
        <field
            name="name"
        >Adquisiciones intracomunitarias de bienes y servicios - Base imponible</field>
        <field name="to_regularize" eval="False" />
        <field name="move_type">regular</field>
        <field name="field_type">base</field>
        <field name="sum_type">both</field>
        <field name="inverse" eval="True" />
        <!-- Base facturas de compra (debe) - Descuento en facturas de compra (haber):
         P_IVA4_IC_BC,  P_IVA4_SP_IN,  P_IVA4_IC_BI,
         P_IVA10_IC_BC, P_IVA10_SP_IN, P_IVA10_IC_BI,
         P_IVA21_IC_BC, P_IVA21_SP_IN, P_IVA21_IC_BI -->
        <field
            name="tax_ids"
            eval="[(6, False, [ref('l10n_es.account_tax_template_p_iva4_ic_bc'), ref('l10n_es.account_tax_template_p_iva4_sp_in'), ref('l10n_es.account_tax_template_p_iva4_ic_bi'), ref('l10n_es.account_tax_template_p_iva10_ic_bc'), ref('l10n_es.account_tax_template_p_iva10_sp_in'), ref('l10n_es.account_tax_template_p_iva10_ic_bi'), ref('l10n_es.account_tax_template_p_iva21_ic_bc'), ref('l10n_es.account_tax_template_p_iva21_sp_in'), ref('l10n_es.account_tax_template_p_iva21_ic_bi')])]"
        />
    </record>
    <record id="aeat_mod303_map_line_11" model="l10n.es.aeat.map.tax.line">
        <field name="map_parent_id" ref="aeat_mod303_map" />
        <field name="field_number">11</field>
        <field
            name="name"
        >Adquisiciones intracomunitarias de bienes y servicios - Cuota</field>
        <field name="to_regularize" eval="True" />
        <field name="move_type">regular</field>
        <field name="field_type">amount</field>
        <field name="sum_type">both</field>
        <field name="inverse" eval="False" />
        <field name="account_id" ref="l10n_es.account_common_477" />
        <!-- Cuota facturas de compra (haber):
         P_IVA4_IC_BC,  P_IVA4_SP_IN,  P_IVA4_IC_BI,
         P_IVA10_IC_BC, P_IVA10_SP_IN, P_IVA10_IC_BI,
         P_IVA21_IC_BC, P_IVA21_SP_IN, P_IVA21_IC_BI -->
        <field
            name="tax_ids"
            eval="[(6, False, [ref('l10n_es.account_tax_template_p_iva4_ic_bc'), ref('l10n_es.account_tax_template_p_iva4_sp_in'), ref('l10n_es.account_tax_template_p_iva4_ic_bi'), ref('l10n_es.account_tax_template_p_iva10_ic_bc'), ref('l10n_es.account_tax_template_p_iva10_sp_in'), ref('l10n_es.account_tax_template_p_iva10_ic_bi'), ref('l10n_es.account_tax_template_p_iva21_ic_bc'), ref('l10n_es.account_tax_template_p_iva21_sp_in'), ref('l10n_es.account_tax_template_p_iva21_ic_bi')])]"
        />
    </record>
    <record id="aeat_mod303_map_line_12" model="l10n.es.aeat.map.tax.line">
        <field name="map_parent_id" ref="aeat_mod303_map" />
        <field name="field_number">12</field>
        <field
            name="name"
        >Otras operac. con inversión del suj. pasivo (excepto adq. intracom.) - Base imponible</field>
        <field name="to_regularize" eval="False" />
        <field name="move_type">regular</field>
        <field name="field_type">base</field>
        <field name="sum_type">both</field>
        <field name="inverse" eval="True" />
        <!-- Base facturas de compra (debe) - Descuento en facturas de compra (haber):
            P_IVA4_SP_EX, P_IVA4_ISP
            P_IVA10_SP_EX, P_IVA10_ISP
            P_IVA21_SP_EX1, P_IVA21_ISP -->
        <field
            name="tax_ids"
            eval="[(6, False, [ref('l10n_es.account_tax_template_p_iva4_sp_ex'), ref('l10n_es.account_tax_template_p_iva4_isp'), ref('l10n_es.account_tax_template_p_iva10_sp_ex'), ref('l10n_es.account_tax_template_p_iva10_isp'), ref('l10n_es.account_tax_template_p_iva21_sp_ex'), ref('l10n_es.account_tax_template_p_iva21_isp')])]"
        />
    </record>
    <record id="aeat_mod303_map_line_13" model="l10n.es.aeat.map.tax.line">
        <field name="map_parent_id" ref="aeat_mod303_map" />
        <field name="field_number">13</field>
        <field
            name="name"
        >Otras operac. con inversión del suj. pasivo (excepto adq. intracom.) - Cuota</field>
        <field name="to_regularize" eval="True" />
        <field name="move_type">regular</field>
        <field name="field_type">amount</field>
        <field name="sum_type">both</field>
        <field name="inverse" eval="False" />
        <field name="account_id" ref="l10n_es.account_common_477" />
        <!-- Cuota facturas de compra (haber):
            P_IVA4_SP_EX, P_IVA4_ISP
            P_IVA10_SP_EX, P_IVA10_ISP
            P_IVA21_SP_EX1, P_IVA21_ISP -->
        <field
            name="tax_ids"
            eval="[(6, False, [ref('l10n_es.account_tax_template_p_iva4_sp_ex'), ref('l10n_es.account_tax_template_p_iva4_isp'), ref('l10n_es.account_tax_template_p_iva10_sp_ex'), ref('l10n_es.account_tax_template_p_iva10_isp'), ref('l10n_es.account_tax_template_p_iva21_sp_ex'), ref('l10n_es.account_tax_template_p_iva21_isp')])]"
        />
    </record>
    <record id="aeat_mod303_map_line_14_sale" model="l10n.es.aeat.map.tax.line">
        <field name="map_parent_id" ref="aeat_mod303_map" />
        <field name="field_number">14</field>
        <field name="name">Modificación bases y cuotas - Base imponible (Ventas)</field>
        <field name="to_regularize" eval="False" />
        <field name="move_type">refund</field>
        <field name="field_type">base</field>
        <field name="sum_type">both</field>
        <field name="inverse" eval="False" />
        <!-- Base facturas rectificativas de venta (debe) - Descuentos en facturas rectificativas de venta (haber):
         S_IVA4B, S_IVA4S, S_IVA10B, S_IVA10S, S_IVA21B, S_IVA21S, S_IVA21ISP -->
        <field
            name="tax_ids"
            eval="[(6, False, [ref('l10n_es.account_tax_template_s_iva4b'), ref('l10n_es.account_tax_template_s_iva4s'), ref('l10n_es.account_tax_template_s_iva10b'), ref('l10n_es.account_tax_template_s_iva10s'), ref('l10n_es.account_tax_template_s_iva21b'), ref('l10n_es.account_tax_template_s_iva21s'), ref('l10n_es.account_tax_template_s_iva21isp')])]"
        />
    </record>
    <record id="aeat_mod303_map_line_14_purchase" model="l10n.es.aeat.map.tax.line">
        <field name="map_parent_id" ref="aeat_mod303_map" />
        <field name="field_number">14</field>
        <field
            name="name"
        >Modificación bases y cuotas - Base imponible (Compras)</field>
        <field name="to_regularize" eval="False" />
        <field name="move_type">refund</field>
        <field name="field_type">base</field>
        <field name="sum_type">both</field>
        <field name="inverse" eval="True" />
        <!-- Base facturas rectificativas de compra (haber) - Descuentos en facturas rectificativas de compra (debe):
            P_IVA4_IC_BC,  P_IVA4_SP_IN,  P_IVA4_IC_BI, P_IVA4_SP_EX, P_IVA4_ISP
            P_IVA10_IC_BC, P_IVA10_SP_IN, P_IVA10_IC_BI, P_IVA10_SP_EX, P_IVA10_ISP
            P_IVA21_IC_BC, P_IVA21_SP_IN, P_IVA21_IC_BI, P_IVA21_SP_EX1, P_IVA21_ISP -->
        <field
            name="tax_ids"
            eval="[(6, False, [ref('l10n_es.account_tax_template_p_iva4_ic_bc'), ref('l10n_es.account_tax_template_p_iva4_sp_in'), ref('l10n_es.account_tax_template_p_iva4_ic_bi'), ref('l10n_es.account_tax_template_p_iva10_ic_bc'), ref('l10n_es.account_tax_template_p_iva10_sp_in'), ref('l10n_es.account_tax_template_p_iva10_ic_bi'), ref('l10n_es.account_tax_template_p_iva21_ic_bc'), ref('l10n_es.account_tax_template_p_iva21_sp_in'), ref('l10n_es.account_tax_template_p_iva21_ic_bi'), ref('l10n_es.account_tax_template_p_iva4_sp_ex'), ref('l10n_es.account_tax_template_p_iva4_isp'), ref('l10n_es.account_tax_template_p_iva10_sp_ex'), ref('l10n_es.account_tax_template_p_iva10_isp'), ref('l10n_es.account_tax_template_p_iva21_sp_ex'), ref('l10n_es.account_tax_template_p_iva21_isp')])]"
        />
    </record>
    <record id="aeat_mod303_map_line_15_sale" model="l10n.es.aeat.map.tax.line">
        <field name="map_parent_id" ref="aeat_mod303_map" />
        <field name="field_number">15</field>
        <field name="name">Modificación bases y cuotas - Cuota (Ventas)</field>
        <field name="to_regularize" eval="True" />
        <field name="move_type">refund</field>
        <field name="field_type">amount</field>
        <field name="sum_type">both</field>
        <field name="inverse" eval="False" />
        <!-- Cuotas de facturas rectificativas de venta (debe):
         S_IVA4B, S_IVA4S, S_IVA10B, S_IVA10S, S_IVA21B, S_IVA21S, S_IVA21ISP -->
        <field
            name="tax_ids"
            eval="[(6, False, [ref('l10n_es.account_tax_template_s_iva4b'), ref('l10n_es.account_tax_template_s_iva4s'), ref('l10n_es.account_tax_template_s_iva10b'), ref('l10n_es.account_tax_template_s_iva10s'), ref('l10n_es.account_tax_template_s_iva21b'), ref('l10n_es.account_tax_template_s_iva21s'), ref('l10n_es.account_tax_template_s_iva21isp')])]"
        />
    </record>
    <record id="aeat_mod303_map_line_15_purchase" model="l10n.es.aeat.map.tax.line">
        <field name="map_parent_id" ref="aeat_mod303_map" />
        <field name="field_number">15</field>
        <field name="name">Modificación bases y cuotas - Cuota (Compras)</field>
        <field name="to_regularize" eval="True" />
        <field name="move_type">refund</field>
        <field name="field_type">amount</field>
        <field name="sum_type">both</field>
        <field name="inverse" eval="False" />
        <field name="account_id" ref="l10n_es.account_common_477" />
        <!-- Cuota facturas rectificativas de compra (debe):
            P_IVA4_IC_BC,  P_IVA4_SP_IN,  P_IVA4_IC_BI, P_IVA4_SP_EX, P_IVA4_ISP
            P_IVA10_IC_BC, P_IVA10_SP_IN, P_IVA10_IC_BI, P_IVA10_SP_EX, P_IVA10_ISP
            P_IVA21_IC_BC, P_IVA21_SP_IN, P_IVA21_IC_BI, P_IVA21_SP_EX1, P_IVA21_ISP -->
        <field
            name="tax_ids"
            eval="[(6, False, [ref('l10n_es.account_tax_template_p_iva4_ic_bc'), ref('l10n_es.account_tax_template_p_iva4_sp_in'), ref('l10n_es.account_tax_template_p_iva4_ic_bi'), ref('l10n_es.account_tax_template_p_iva10_ic_bc'), ref('l10n_es.account_tax_template_p_iva10_sp_in'), ref('l10n_es.account_tax_template_p_iva10_ic_bi'), ref('l10n_es.account_tax_template_p_iva21_ic_bc'), ref('l10n_es.account_tax_template_p_iva21_sp_in'), ref('l10n_es.account_tax_template_p_iva21_ic_bi'), ref('l10n_es.account_tax_template_p_iva4_sp_ex'), ref('l10n_es.account_tax_template_p_iva4_isp'), ref('l10n_es.account_tax_template_p_iva10_sp_ex'), ref('l10n_es.account_tax_template_p_iva10_isp'), ref('l10n_es.account_tax_template_p_iva21_sp_ex'), ref('l10n_es.account_tax_template_p_iva21_isp')])]"
        />
    </record>
    <record id="aeat_mod303_map_line_16" model="l10n.es.aeat.map.tax.line">
        <field name="map_parent_id" ref="aeat_mod303_map" />
        <field name="field_number">16</field>
        <field name="name">Recargo equivalencia - Base imponible 0.5%</field>
        <field name="to_regularize" eval="False" />
        <field name="move_type">regular</field>
        <field name="field_type">base</field>
        <field name="sum_type">both</field>
        <field name="inverse" eval="False" />
        <!-- Base facturas de venta (haber) - Descuentos en facturas de venta (debe):
         S_REQ05 -->
        <field
            name="tax_ids"
            eval="[(6, False, [ref('l10n_es.account_tax_template_s_req05')])]"
        />
    </record>
    <record id="aeat_mod303_map_line_18" model="l10n.es.aeat.map.tax.line">
        <field name="map_parent_id" ref="aeat_mod303_map" />
        <field name="field_number">18</field>
        <field name="name">Recargo equivalencia - Cuota 0.5%</field>
        <field name="to_regularize" eval="True" />
        <field name="move_type">regular</field>
        <field name="field_type">amount</field>
        <field name="sum_type">both</field>
        <field name="inverse" eval="False" />
        <!-- Cuota facturas de venta (haber): S_REQ05 -->
        <field
            name="tax_ids"
            eval="[(6, False, [ref('l10n_es.account_tax_template_s_req05')])]"
        />
    </record>
    <record id="aeat_mod303_map_line_19" model="l10n.es.aeat.map.tax.line">
        <field name="map_parent_id" ref="aeat_mod303_map" />
        <field name="field_number">19</field>
        <field name="name">Recargo equivalencia - Base imponible 1.4%</field>
        <field name="to_regularize" eval="False" />
        <field name="move_type">regular</field>
        <field name="field_type">base</field>
        <field name="sum_type">both</field>
        <field name="inverse" eval="False" />
        <!-- Base facturas de venta (haber) - Descuentos en facturas de venta (debe):
         S_REQ014 -->
        <field
            name="tax_ids"
            eval="[(6, False, [ref('l10n_es.account_tax_template_s_req014')])]"
        />
    </record>
    <record id="aeat_mod303_map_line_21" model="l10n.es.aeat.map.tax.line">
        <field name="map_parent_id" ref="aeat_mod303_map" />
        <field name="field_number">21</field>
        <field name="name">Recargo equivalencia - Cuota 1.4%</field>
        <field name="to_regularize" eval="True" />
        <field name="move_type">regular</field>
        <field name="field_type">amount</field>
        <field name="sum_type">both</field>
        <field name="inverse" eval="False" />
        <!-- Cuota facturas de venta (haber): S_REQ014 -->
        <field
            name="tax_ids"
            eval="[(6, False, [ref('l10n_es.account_tax_template_s_req014')])]"
        />
    </record>
    <record id="aeat_mod303_map_line_22" model="l10n.es.aeat.map.tax.line">
        <field name="map_parent_id" ref="aeat_mod303_map" />
        <field name="field_number">22</field>
        <field name="name">Recargo equivalencia - Base imponible 5.2%</field>
        <field name="to_regularize" eval="False" />
        <field name="move_type">regular</field>
        <field name="field_type">base</field>
        <field name="sum_type">both</field>
        <field name="inverse" eval="False" />
        <!-- Base facturas de venta (haber) - Descuentos en facturas de venta (debe):
         S_REQ52 -->
        <field
            name="tax_ids"
            eval="[(6, False, [ref('l10n_es.account_tax_template_s_req52')])]"
        />
    </record>
    <record id="aeat_mod303_map_line_24" model="l10n.es.aeat.map.tax.line">
        <field name="map_parent_id" ref="aeat_mod303_map" />
        <field name="field_number">24</field>
        <field name="name">Recargo equivalencia - Cuota 5.2%</field>
        <field name="to_regularize" eval="True" />
        <field name="move_type">regular</field>
        <field name="field_type">amount</field>
        <field name="sum_type">both</field>
        <field name="inverse" eval="False" />
        <!-- Cuota facturas de venta (haber): S_REQ52 -->
        <field
            name="tax_ids"
            eval="[(6, False, [ref('l10n_es.account_tax_template_s_req52')])]"
        />
    </record>
    <record id="aeat_mod303_map_line_25" model="l10n.es.aeat.map.tax.line">
        <field name="map_parent_id" ref="aeat_mod303_map" />
        <field name="field_number">25</field>
        <field
            name="name"
        >Modificación bases y cuotas del recargo de equivalencia - Base imponible</field>
        <field name="to_regularize" eval="False" />
        <field name="move_type">refund</field>
        <field name="field_type">base</field>
        <field name="sum_type">both</field>
        <field name="inverse" eval="False" />
        <!-- Base facturas rectificativas de venta (debe) - Descuentos en facturas rectificativas de venta (haber):
         S_REQ05, S_REQ014, S_REQ52 -->
        <field
            name="tax_ids"
            eval="[(6, False, [ref('l10n_es.account_tax_template_s_req05'), ref('l10n_es.account_tax_template_s_req014'), ref('l10n_es.account_tax_template_s_req52')])]"
        />
    </record>
    <record id="aeat_mod303_map_line_26" model="l10n.es.aeat.map.tax.line">
        <field name="map_parent_id" ref="aeat_mod303_map" />
        <field name="field_number">26</field>
        <field
            name="name"
        >Modificación bases y cuotas del recargo de equivalencia - Cuota</field>
        <field name="to_regularize" eval="True" />
        <field name="move_type">refund</field>
        <field name="field_type">amount</field>
        <field name="sum_type">both</field>
        <field name="inverse" eval="False" />
        <!-- Cuotas de facturas rectificativas de venta (debe):
        S_REQ05, S_REQ014, S_REQ52 -->
        <field
            name="tax_ids"
            eval="[(6, False, [ref('l10n_es.account_tax_template_s_req05'), ref('l10n_es.account_tax_template_s_req014'), ref('l10n_es.account_tax_template_s_req52')])]"
        />
    </record>
    <record id="aeat_mod303_map_line_28" model="l10n.es.aeat.map.tax.line">
        <field name="map_parent_id" ref="aeat_mod303_map" />
        <field name="field_number">28</field>
        <field
            name="name"
        >Por cuotas soportadas en operaciones interiores corrientes - Base</field>
        <field name="to_regularize" eval="False" />
        <field name="move_type">regular</field>
        <field name="field_type">base</field>
        <field name="sum_type">both</field>
        <field name="inverse" eval="True" />
        <!-- Base facturas de compra (debe) - Descuentos en facturas de compra (haber):
         P_REQ05, P_REQ014, P_REQ5.2
         P_IVA4_SC, P_IVA4_BC, P_IVA4_ISP, P_IVA4_SP_EX,
         P_IVA10_SC, P_IVA10_BC, P_IVA10_ISP, P_IVA10_SP_EX,
         P_IVA21_SC, P_IVA21_BC, P_IVA21_ISP, P_IVA21_SP_EX -->
        <field
            name="tax_ids"
            eval="[(6, False, [ref('l10n_es.account_tax_template_p_req05'), ref('l10n_es.account_tax_template_p_req014'), ref('l10n_es.account_tax_template_p_req52'), ref('l10n_es.account_tax_template_p_iva4_sc'), ref('l10n_es.account_tax_template_p_iva4_bc'), ref('l10n_es.account_tax_template_p_iva4_isp'), ref('l10n_es.account_tax_template_p_iva4_sp_ex'), ref('l10n_es.account_tax_template_p_iva10_sc'), ref('l10n_es.account_tax_template_p_iva10_bc'), ref('l10n_es.account_tax_template_p_iva10_isp'), ref('l10n_es.account_tax_template_p_iva10_sp_ex'), ref('l10n_es.account_tax_template_p_iva21_sc'), ref('l10n_es.account_tax_template_p_iva21_bc'), ref('l10n_es.account_tax_template_p_iva21_isp'), ref('l10n_es.account_tax_template_p_iva21_sp_ex')])]"
        />
    </record>
    <record id="aeat_mod303_map_line_29" model="l10n.es.aeat.map.tax.line">
        <field name="map_parent_id" ref="aeat_mod303_map" />
        <field name="field_number">29</field>
        <field
            name="name"
        >Por cuotas soportadas en operaciones interiores corrientes - Cuota</field>
        <field name="to_regularize" eval="True" />
        <field name="move_type">regular</field>
        <field name="field_type">amount</field>
        <field name="sum_type">both</field>
        <field name="inverse" eval="True" />
        <field name="account_id" ref="l10n_es.account_common_472" />
        <!-- Cuota facturas de compra (debe):
         P_REQ05, P_REQ014, P_REQ5.2
         P_IVA4_SC, P_IVA4_BC, P_IVA4_ISP, P_IVA4_SP_EX,
         P_IVA10_SC, P_IVA10_BC, P_IVA10_ISP, P_IVA10_SP_EX,
         P_IVA21_SC, P_IVA21_BC, P_IVA21_ISP, P_IVA21_SP_EX -->
        <field
            name="tax_ids"
            eval="[(6, False, [ref('l10n_es.account_tax_template_p_req05'), ref('l10n_es.account_tax_template_p_req014'), ref('l10n_es.account_tax_template_p_req52'), ref('l10n_es.account_tax_template_p_iva4_sc'), ref('l10n_es.account_tax_template_p_iva4_bc'), ref('l10n_es.account_tax_template_p_iva4_isp'), ref('l10n_es.account_tax_template_p_iva4_sp_ex'), ref('l10n_es.account_tax_template_p_iva10_sc'), ref('l10n_es.account_tax_template_p_iva10_bc'), ref('l10n_es.account_tax_template_p_iva10_isp'), ref('l10n_es.account_tax_template_p_iva10_sp_ex'), ref('l10n_es.account_tax_template_p_iva21_sc'), ref('l10n_es.account_tax_template_p_iva21_bc'), ref('l10n_es.account_tax_template_p_iva21_isp'), ref('l10n_es.account_tax_template_p_iva21_sp_ex')])]"
        />
    </record>
    <record id="aeat_mod303_map_line_30" model="l10n.es.aeat.map.tax.line">
        <field name="map_parent_id" ref="aeat_mod303_map" />
        <field name="field_number">30</field>
        <field
            name="name"
        >Por cuotas soportadas en operaciones interiores con bienes de inversión - Base</field>
        <field name="to_regularize" eval="False" />
        <field name="move_type">regular</field>
        <field name="field_type">base</field>
        <field name="sum_type">both</field>
        <field name="inverse" eval="True" />
        <!-- Base facturas de compra (debe) - Descuentos en facturas de compra (haber):
         P_IVA4_BI, P_IVA10_BI, P_IVA21_BI -->
        <field
            name="tax_ids"
            eval="[(6, False, [ref('l10n_es.account_tax_template_p_iva4_bi'), ref('l10n_es.account_tax_template_p_iva10_bi'), ref('l10n_es.account_tax_template_p_iva21_bi')])]"
        />
    </record>
    <record id="aeat_mod303_map_line_31" model="l10n.es.aeat.map.tax.line">
        <field name="map_parent_id" ref="aeat_mod303_map" />
        <field name="field_number">31</field>
        <field
            name="name"
        >Por cuotas soportadas en operaciones interiores con bienes de inversión - Cuota</field>
        <field name="to_regularize" eval="True" />
        <field name="move_type">regular</field>
        <field name="field_type">amount</field>
        <field name="sum_type">both</field>
        <field name="inverse" eval="True" />
        <!-- Cuota facturas de compra (debe):
         P_IVA4_BI, P_IVA10_BI, P_IVA21_BI -->
        <field
            name="tax_ids"
            eval="[(6, False, [ref('l10n_es.account_tax_template_p_iva4_bi'), ref('l10n_es.account_tax_template_p_iva10_bi'), ref('l10n_es.account_tax_template_p_iva21_bi')])]"
        />
    </record>
    <record id="aeat_mod303_map_line_32" model="l10n.es.aeat.map.tax.line">
        <field name="map_parent_id" ref="aeat_mod303_map" />
        <field name="field_number">32</field>
        <field
            name="name"
        >Por cuotas soportadas en las importaciones de bienes corrientes - Base</field>
        <field name="to_regularize" eval="False" />
        <field name="move_type">regular</field>
        <field name="field_type">base</field>
        <field name="sum_type">both</field>
        <field name="inverse" eval="True" />
        <!-- Base facturas de compra (debe) - Descuentos en facturas de compra (haber):
         P_IVA4_IBC, P_IVA10_IBC, P_IVA21_IBC -->
        <field
            name="tax_ids"
            eval="[(6, False, [ref('l10n_es.account_tax_template_p_iva4_ibc'), ref('l10n_es.account_tax_template_p_iva10_ibc'), ref('l10n_es.account_tax_template_p_iva21_ibc')])]"
        />
    </record>
    <record id="aeat_mod303_map_line_33" model="l10n.es.aeat.map.tax.line">
        <field name="map_parent_id" ref="aeat_mod303_map" />
        <field name="field_number">33</field>
        <field
            name="name"
        >Por cuotas soportadas en las importaciones de bienes corrientes - Cuota</field>
        <field name="to_regularize" eval="True" />
        <field name="move_type">regular</field>
        <field name="field_type">amount</field>
        <field name="sum_type">both</field>
        <field name="inverse" eval="True" />
        <!-- Cuota facturas de compra (debe):
         P_IVA4_IBC, P_IVA10_IBC, P_IVA21_IBC -->
        <field
            name="tax_ids"
            eval="[(6, False, [ref('l10n_es.account_tax_template_p_iva4_ibc'), ref('l10n_es.account_tax_template_p_iva10_ibc'), ref('l10n_es.account_tax_template_p_iva21_ibc')])]"
        />
    </record>
    <record id="aeat_mod303_map_line_34" model="l10n.es.aeat.map.tax.line">
        <field name="map_parent_id" ref="aeat_mod303_map" />
        <field name="field_number">34</field>
        <field
            name="name"
        >Por cuotas soportadas en las importaciones de bienes de inversión - Base</field>
        <field name="to_regularize" eval="False" />
        <field name="move_type">regular</field>
        <field name="field_type">base</field>
        <field name="sum_type">both</field>
        <field name="inverse" eval="True" />
        <!-- Base facturas de compra (debe) - Descuentos en facturas de compra (haber):
         P_IVA4_IBI, P_IVA10_IBI, P_IVA21_IBI -->
        <field
            name="tax_ids"
            eval="[(6, False, [ref('l10n_es.account_tax_template_p_iva4_ibi'), ref('l10n_es.account_tax_template_p_iva10_ibi'), ref('l10n_es.account_tax_template_p_iva21_ibi')])]"
        />
    </record>
    <record id="aeat_mod303_map_line_35" model="l10n.es.aeat.map.tax.line">
        <field name="map_parent_id" ref="aeat_mod303_map" />
        <field name="field_number">35</field>
        <field
            name="name"
        >Por cuotas soportadas en las importaciones de bienes de inversión - Cuota</field>
        <field name="to_regularize" eval="True" />
        <field name="move_type">regular</field>
        <field name="field_type">amount</field>
        <field name="sum_type">both</field>
        <field name="inverse" eval="True" />
        <field name="account_id" ref="l10n_es.account_common_472" />
        <!-- Cuota facturas de compra (debe):
         P_IVA4_IBI, P_IVA10_IBI, P_IVA21_IBI -->
        <field
            name="tax_ids"
            eval="[(6, False, [ref('l10n_es.account_tax_template_p_iva4_ibi'), ref('l10n_es.account_tax_template_p_iva10_ibi'), ref('l10n_es.account_tax_template_p_iva21_ibi')])]"
        />
    </record>
    <record id="aeat_mod303_map_line_36" model="l10n.es.aeat.map.tax.line">
        <field name="map_parent_id" ref="aeat_mod303_map" />
        <field name="field_number">36</field>
        <field
            name="name"
        >En adquisiciones intracomunitarias de bienes y servicios corrientes - Base</field>
        <field name="to_regularize" eval="False" />
        <field name="move_type">regular</field>
        <field name="field_type">base</field>
        <field name="sum_type">both</field>
        <field name="inverse" eval="True" />
        <!-- Base facturas de compra (debe) - Descuentos en facturas de compra (haber):
         P_IVA4_IC_BC,  P_IVA4_SP_IN
         P_IVA10_IC_BC, P_IVA10_SP_IN
         P_IVA21_IC_BC, P_IVA21_SP_IN -->
        <field
            name="tax_ids"
            eval="[(6, False, [ref('l10n_es.account_tax_template_p_iva4_ic_bc'), ref('l10n_es.account_tax_template_p_iva4_sp_in'), ref('l10n_es.account_tax_template_p_iva10_ic_bc'), ref('l10n_es.account_tax_template_p_iva10_sp_in'), ref('l10n_es.account_tax_template_p_iva21_ic_bc'), ref('l10n_es.account_tax_template_p_iva21_sp_in')])]"
        />
    </record>
    <record id="aeat_mod303_map_line_37" model="l10n.es.aeat.map.tax.line">
        <field name="map_parent_id" ref="aeat_mod303_map" />
        <field name="field_number">37</field>
        <field
            name="name"
        >En adquisiciones intracomunitarias de bienes y servicios corrientes - Cuota</field>
        <field name="to_regularize" eval="True" />
        <field name="move_type">regular</field>
        <field name="field_type">amount</field>
        <field name="sum_type">both</field>
        <field name="inverse" eval="True" />
        <field name="account_id" ref="l10n_es.account_common_472" />
        <!-- Cuota facturas de compra (debe):
         P_IVA4_IC_BC,  P_IVA4_SP_IN
         P_IVA10_IC_BC, P_IVA10_SP_IN
         P_IVA21_IC_BC, P_IVA21_SP_IN -->
        <field
            name="tax_ids"
            eval="[(6, False, [ref('l10n_es.account_tax_template_p_iva4_ic_bc'), ref('l10n_es.account_tax_template_p_iva4_sp_in'), ref('l10n_es.account_tax_template_p_iva10_ic_bc'), ref('l10n_es.account_tax_template_p_iva10_sp_in'), ref('l10n_es.account_tax_template_p_iva21_ic_bc'), ref('l10n_es.account_tax_template_p_iva21_sp_in')])]"
        />
    </record>
    <record id="aeat_mod303_map_line_38" model="l10n.es.aeat.map.tax.line">
        <field name="map_parent_id" ref="aeat_mod303_map" />
        <field name="field_number">38</field>
        <field
            name="name"
        >En adquisiciones intracomunitarias de bienes de inversión - Base</field>
        <field name="to_regularize" eval="False" />
        <field name="move_type">regular</field>
        <field name="field_type">base</field>
        <field name="sum_type">both</field>
        <field name="inverse" eval="True" />
        <!-- Base facturas de compra (debe) - Descuentos en facturas de compra (haber):
         P_IVA4_IC_BI, P_IVA10_IC_BI, P_IVA21_IC_BI -->
        <field
            name="tax_ids"
            eval="[(6, False, [ref('l10n_es.account_tax_template_p_iva4_ic_bi'), ref('l10n_es.account_tax_template_p_iva10_ic_bi'), ref('l10n_es.account_tax_template_p_iva21_ic_bi')])]"
        />
    </record>
    <record id="aeat_mod303_map_line_39" model="l10n.es.aeat.map.tax.line">
        <field name="map_parent_id" ref="aeat_mod303_map" />
        <field name="field_number">39</field>
        <field
            name="name"
        >En adquisiciones intracomunitarias de bienes de inversión - Cuota</field>
        <field name="to_regularize" eval="True" />
        <field name="move_type">regular</field>
        <field name="field_type">amount</field>
        <field name="sum_type">both</field>
        <field name="inverse" eval="True" />
        <field name="account_id" ref="l10n_es.account_common_472" />
        <!-- Cuota facturas de compra (debe):
         P_IVA4_IC_BI, P_IVA10_IC_BI, P_IVA21_IC_BI -->
        <field
            name="tax_ids"
            eval="[(6, False, [ref('l10n_es.account_tax_template_p_iva4_ic_bi'), ref('l10n_es.account_tax_template_p_iva10_ic_bi'), ref('l10n_es.account_tax_template_p_iva21_ic_bi')])]"
        />
    </record>
    <record id="aeat_mod303_map_line_40" model="l10n.es.aeat.map.tax.line">
        <field name="map_parent_id" ref="aeat_mod303_map" />
        <field name="field_number">40</field>
        <field name="name">Rectificación de deducciones - Base</field>
        <field name="to_regularize" eval="False" />
        <field name="move_type">refund</field>
        <field name="field_type">base</field>
        <field name="sum_type">both</field>
        <field name="inverse" eval="True" />
        <!-- Base facturas rectificativas de compra (haber) - Descuentos en facturas rectificativas de compra (debe):
         P_REQ05, P_REQ014, P_REQ5.2
         P_IVA4_BC,  P_IVA4_SC,  P_IVA4_BI,  P_IVA4_IBC,  P_IVA4_IBI,  P_IVA4_IC_BC,  P_IVA4_IC_BI,  P_IVA4_SP_IN,  P_IVA4_SP_EX,  P_IVA4_ISP
         P_IVA10_BC, P_IVA10_SC, P_IVA10_BI, P_IVA10_IBC, P_IVA10_IBI, P_IVA10_IC_BC, P_IVA10_IC_BI, P_IVA10_SP_IN, P_IVA10_SP_EX, P_IVA10_ISP
         P_IVA21_BC, P_IVA21_SC, P_IVA21_BI, P_IVA21_IBC, P_IVA21_IBI, P_IVA21_IC_BC, P_IVA21_IC_BI, P_IVA21_SP_IN, P_IVA21_SP_EX, P_IVA21_ISP -->
        <field
            name="tax_ids"
            eval="[(6, False, [ref('l10n_es.account_tax_template_p_req05'), ref('l10n_es.account_tax_template_p_req014'), ref('l10n_es.account_tax_template_p_req52'), ref('l10n_es.account_tax_template_p_iva4_bc'), ref('l10n_es.account_tax_template_p_iva4_sc'), ref('l10n_es.account_tax_template_p_iva4_bi'), ref('l10n_es.account_tax_template_p_iva4_ibc'), ref('l10n_es.account_tax_template_p_iva4_ibi'), ref('l10n_es.account_tax_template_p_iva4_ic_bc'), ref('l10n_es.account_tax_template_p_iva4_ic_bi'), ref('l10n_es.account_tax_template_p_iva4_sp_in'), ref('l10n_es.account_tax_template_p_iva4_sp_ex'), ref('l10n_es.account_tax_template_p_iva4_isp'), ref('l10n_es.account_tax_template_p_iva10_bc'), ref('l10n_es.account_tax_template_p_iva10_sc'), ref('l10n_es.account_tax_template_p_iva10_bi'), ref('l10n_es.account_tax_template_p_iva10_ibc'), ref('l10n_es.account_tax_template_p_iva10_ibi'), ref('l10n_es.account_tax_template_p_iva10_ic_bc'), ref('l10n_es.account_tax_template_p_iva10_ic_bi'), ref('l10n_es.account_tax_template_p_iva10_sp_in'), ref('l10n_es.account_tax_template_p_iva10_sp_ex'), ref('l10n_es.account_tax_template_p_iva10_isp'), ref('l10n_es.account_tax_template_p_iva21_bc'), ref('l10n_es.account_tax_template_p_iva21_sc'), ref('l10n_es.account_tax_template_p_iva21_bi'), ref('l10n_es.account_tax_template_p_iva21_ibc'), ref('l10n_es.account_tax_template_p_iva21_ibi'), ref('l10n_es.account_tax_template_p_iva21_ic_bc'), ref('l10n_es.account_tax_template_p_iva21_ic_bi'), ref('l10n_es.account_tax_template_p_iva21_sp_in'), ref('l10n_es.account_tax_template_p_iva21_sp_ex'), ref('l10n_es.account_tax_template_p_iva21_isp')])]"
        />
    </record>
    <record id="aeat_mod303_map_line_41" model="l10n.es.aeat.map.tax.line">
        <field name="map_parent_id" ref="aeat_mod303_map" />
        <field name="field_number">41</field>
        <field name="name">Rectificación de deducciones - Cuota</field>
        <field name="to_regularize" eval="True" />
        <field name="move_type">refund</field>
        <field name="field_type">amount</field>
        <field name="sum_type">both</field>
        <field name="inverse" eval="True" />
        <field name="account_id" ref="l10n_es.account_common_472" />
        <!-- Cuota facturas rectificativas de compra (haber):
         P_REQ05, P_REQ014, P_REQ5.2
         P_IVA4_BC,  P_IVA4_SC,  P_IVA4_BI,  P_IVA4_IBC,  P_IVA4_IBI,  P_IVA4_IC_BC,  P_IVA4_IC_BI,  P_IVA4_SP_IN,  P_IVA4_SP_EX,  P_IVA4_ISP
         P_IVA10_BC, P_IVA10_SC, P_IVA10_BI, P_IVA10_IBC, P_IVA10_IBI, P_IVA10_IC_BC, P_IVA10_IC_BI, P_IVA10_SP_IN, P_IVA10_SP_EX, P_IVA10_ISP
         P_IVA21_BC, P_IVA21_SC, P_IVA21_BI, P_IVA21_IBC, P_IVA21_IBI, P_IVA21_IC_BC, P_IVA21_IC_BI, P_IVA21_SP_IN, P_IVA21_SP_EX, P_IVA21_ISP -->
        <field
            name="tax_ids"
            eval="[(6, False, [ref('l10n_es.account_tax_template_p_req05'), ref('l10n_es.account_tax_template_p_req014'), ref('l10n_es.account_tax_template_p_req52'), ref('l10n_es.account_tax_template_p_iva4_bc'), ref('l10n_es.account_tax_template_p_iva4_sc'), ref('l10n_es.account_tax_template_p_iva4_bi'), ref('l10n_es.account_tax_template_p_iva4_ibc'), ref('l10n_es.account_tax_template_p_iva4_ibi'), ref('l10n_es.account_tax_template_p_iva4_ic_bc'), ref('l10n_es.account_tax_template_p_iva4_ic_bi'), ref('l10n_es.account_tax_template_p_iva4_sp_in'), ref('l10n_es.account_tax_template_p_iva4_sp_ex'), ref('l10n_es.account_tax_template_p_iva4_isp'), ref('l10n_es.account_tax_template_p_iva10_bc'), ref('l10n_es.account_tax_template_p_iva10_sc'), ref('l10n_es.account_tax_template_p_iva10_bi'), ref('l10n_es.account_tax_template_p_iva10_ibc'), ref('l10n_es.account_tax_template_p_iva10_ibi'), ref('l10n_es.account_tax_template_p_iva10_ic_bc'), ref('l10n_es.account_tax_template_p_iva10_ic_bi'), ref('l10n_es.account_tax_template_p_iva10_sp_in'), ref('l10n_es.account_tax_template_p_iva10_sp_ex'), ref('l10n_es.account_tax_template_p_iva10_isp'), ref('l10n_es.account_tax_template_p_iva21_bc'), ref('l10n_es.account_tax_template_p_iva21_sc'), ref('l10n_es.account_tax_template_p_iva21_bi'), ref('l10n_es.account_tax_template_p_iva21_ibc'), ref('l10n_es.account_tax_template_p_iva21_ibi'), ref('l10n_es.account_tax_template_p_iva21_ic_bc'), ref('l10n_es.account_tax_template_p_iva21_ic_bi'), ref('l10n_es.account_tax_template_p_iva21_sp_in'), ref('l10n_es.account_tax_template_p_iva21_sp_ex'), ref('l10n_es.account_tax_template_p_iva21_isp')])]"
        />
    </record>
    <record id="aeat_mod303_map_line_42" model="l10n.es.aeat.map.tax.line">
        <field name="map_parent_id" ref="aeat_mod303_map" />
        <field name="field_number">42</field>
        <field
            name="name"
        >Compensaciones Régimen especial A. G. y P. - Cuota compras</field>
        <field name="to_regularize" eval="True" />
        <field name="move_type">all</field>
        <field name="field_type">amount</field>
        <field name="sum_type">both</field>
        <field name="inverse" eval="True" />
        <!-- Cuota facturas de compra (debe) - Cuota facturas rectificativas de compra (haber):
         P_IVA12_AGR -->
        <field
            name="tax_ids"
            eval="[(6, False, [ref('l10n_es.account_tax_template_p_iva12_agr')])]"
        />
    </record>
    <record id="aeat_mod303_map_line_43" model="l10n.es.aeat.map.tax.line">
        <field name="map_parent_id" ref="aeat_mod303_map" />
        <field name="field_number">43</field>
        <field name="name">Regularización bienes de inversión</field>
        <field name="to_regularize" eval="True" />
        <!-- TODO: Asignar un impuesto para poder filtrar los apuntes relacionados
    <field name="field_type">amount</field>
    <field name="sum_type">credit</field>
    <field name="inverse" eval="True"/>
    -->
        <field name="tax_ids" eval="[(6, False, [])]" />
    </record>
    <record id="aeat_mod303_map_line_44" model="l10n.es.aeat.map.tax.line">
        <field name="map_parent_id" ref="aeat_mod303_map" />
        <field name="field_number">44</field>
        <field
            name="name"
        >Regularización por aplicación del porcentaje definitivo de prorrata</field>
        <field name="to_regularize" eval="True" />
        <!-- TODO: Asignar un impuesto para poder filtrar los apuntes relacionados
    <field name="field_type">amount</field>
    <field name="sum_type">credit</field>
    <field name="inverse" eval="True"/>
    -->
        <field name="tax_ids" eval="[(6, False, [])]" />
    </record>
    <record id="aeat_mod303_map_line_59" model="l10n.es.aeat.map.tax.line">
        <field name="map_parent_id" ref="aeat_mod303_map" />
        <field name="field_number">59</field>
        <field
            name="name"
        >Entregas intracomunitarias de bienes y servicios - Base ventas</field>
        <field name="to_regularize" eval="False" />
        <field name="move_type">all</field>
        <field name="field_type">base</field>
        <field name="sum_type">both</field>
        <field name="inverse" eval="False" />
        <!-- Base facturas de venta (haber) - Base facturas rectificativas de venta (debe):
         S_IVA0_IC, S_IVA0_SP_I -->
        <field
            name="tax_ids"
            eval="[(6, False, [ref('l10n_es.account_tax_template_s_iva0_ic'), ref('l10n_es.account_tax_template_s_iva0_sp_i')])]"
        />
    </record>
    <record id="aeat_mod303_map_line_60" model="l10n.es.aeat.map.tax.line">
        <field name="map_parent_id" ref="aeat_mod303_map" />
        <field name="field_number">60</field>
        <field name="name">Exportaciones y operaciones asimiladas - Base ventas</field>
        <field name="to_regularize" eval="False" />
        <field name="move_type">all</field>
        <field name="field_type">base</field>
        <field name="sum_type">both</field>
        <field name="inverse" eval="False" />
        <!-- Base facturas de venta (haber) - Base facturas rectificativas de venta (debe):
         S_IVA0_E, S_IVA_NS, S_IVA_NS_B -->
        <field
            name="tax_ids"
            eval="[(6, False, [ref('l10n_es.account_tax_template_s_iva0_e'), ref('l10n_es.account_tax_template_s_iva0')])]"
        />
    </record>
    <record id="aeat_mod303_map_line_61" model="l10n.es.aeat.map.tax.line">
        <field name="map_parent_id" ref="aeat_mod303_map" />
        <field name="field_number">61</field>
        <field
            name="name"
        >Operaciones no sujetas o con inversión del sujeto pasivo que originan derecho a dedución - Base ventas</field>
        <field name="to_regularize" eval="False" />
        <field name="move_type">all</field>
        <field name="field_type">base</field>
        <field name="sum_type">both</field>
        <field name="inverse" eval="False" />
        <!-- Base facturas de venta (haber) - Base facturas rectificativas de venta (debe):
         S_IVA_SP_E, S_IVA0_ISP -->
        <field
            name="tax_ids"
            eval="[(6, False, [ref('l10n_es.account_tax_template_s_iva_e'), ref('l10n_es.account_tax_template_s_iva0_isp')])]"
        />
    </record>
    <record id="aeat_mod303_map_line_62" model="l10n.es.aeat.map.tax.line">
        <field name="map_parent_id" ref="aeat_mod303_map" />
        <field name="field_number">62</field>
        <field
            name="name"
        >Importes de las entregas de bienes y prestaciones de servicios a las que habiéndoles sido aplicado el régimen especial del criterio de caja hubieran resultado devengadas conforme a la regla general de devengo contenida en el art. 75 LIVA - Base imponible</field>
        <field name="to_regularize" eval="False" />
        <!-- TODO: Asignar un impuesto para poder filtrar los apuntes relacionados
    <field name="field_type">base</field>
    <field name="sum_type">credit</field>
    <field name="inverse" eval="False"/>
    -->
        <field name="tax_ids" eval="[(6, False, [])]" />
    </record>
    <record id="aeat_mod303_map_line_63" model="l10n.es.aeat.map.tax.line">
        <field name="map_parent_id" ref="aeat_mod303_map" />
        <field name="field_number">63</field>
        <field
            name="name"
        >Importes de las entregas de bienes y prestaciones de servicios a las que habiéndoles sido aplicado el régimen especial del criterio de caja hubieran resultado devengadas conforme a la regla general de devengo contenida en el art. 75 LIVA - Cuota</field>
        <field name="to_regularize" eval="True" />
        <!-- TODO: Asignar un impuesto para poder filtrar los apuntes relacionados
    <field name="field_type">amount</field>
    <field name="sum_type">credit</field>
    <field name="inverse" eval="False"/>
    -->
        <field name="tax_ids" eval="[(6, False, [])]" />
    </record>
    <record id="aeat_mod303_map_line_74" model="l10n.es.aeat.map.tax.line">
        <field name="map_parent_id" ref="aeat_mod303_map" />
        <field name="field_number">74</field>
        <field
            name="name"
        >Importe de las adquisiciones de bienes y servicios a las que sea de aplicación o afecte el régimen especial del criterio de caja conforme a la ley general de devengo contenida en el artículo 75 de LIVA - Base imponible</field>
        <field name="to_regularize" eval="False" />
        <!-- TODO: Asignar un impuesto para poder filtrar los apuntes relacionados
    <field name="field_type">base</field>
    <field name="sum_type">debit</field>
    <field name="inverse" eval="False"/>
    -->
        <field name="tax_ids" eval="[(6, False, [])]" />
    </record>
    <record id="aeat_mod303_map_line_75" model="l10n.es.aeat.map.tax.line">
        <field name="map_parent_id" ref="aeat_mod303_map" />
        <field name="field_number">75</field>
        <field
            name="name"
        >Importe de las adquisiciones de bienes y servicios a las que sea de aplicación o afecte el régimen especial del criterio de caja conforme a la ley general de devengo contenida en el artículo 75 de LIVA - Cuota</field>
        <field name="to_regularize" eval="True" />
        <!-- TODO: Asignar un impuesto para poder filtrar los apuntes relacionados
    <field name="field_type">amount</field>
    <field name="sum_type">debit</field>
    <field name="inverse" eval="False"/>
    -->
        <field name="tax_ids" eval="[(6, False, [])]" />
    </record>
    <record id="aeat_mod303_map_line_80" model="l10n.es.aeat.map.tax.line">
        <field name="map_parent_id" ref="aeat_mod303_map" />
        <field name="field_number">80</field>
        <field name="name">Operaciones en régimen general</field>
        <field name="move_type">all</field>
        <field name="field_type">base</field>
        <field name="sum_type">both</field>
        <field name="inverse" eval="False" />
        <field
            name="tax_ids"
            eval="[(6, False, [ref('l10n_es.account_tax_template_s_iva21b'), ref('l10n_es.account_tax_template_s_iva21s'), ref('l10n_es.account_tax_template_s_iva10b'), ref('l10n_es.account_tax_template_s_iva10s'), ref('l10n_es.account_tax_template_s_iva4b'), ref('l10n_es.account_tax_template_s_iva4s')])]"
        />
    </record>
    <record id="aeat_mod390_map_line_83" model="l10n.es.aeat.map.tax.line">
        <field name="map_parent_id" ref="aeat_mod303_map" />
        <field name="field_number">83</field>
        <field name="name">Operaciones exentas sin derecho a deducción</field>
        <field name="move_type">all</field>
        <field name="field_type">base</field>
        <field name="sum_type">both</field>
        <field name="inverse" eval="False" />
        <field
            name="tax_ids"
            eval="[(6, False, [ref('l10n_es.account_tax_template_s_iva0'), ref('l10n_es.account_tax_template_s_iva0_ns')])]"
        />
    </record>
    <record id="aeat_mod303_map_line_84" model="l10n.es.aeat.map.tax.line">
        <field name="map_parent_id" ref="aeat_mod303_map" />
        <field name="field_number">84</field>
        <field
            name="name"
        >Operaciones no sujetas por reglas de localización o con inversión del sujeto pasivo</field>
        <field name="to_regularize" eval="False" />
        <field name="move_type">all</field>
        <field name="field_type">base</field>
        <field name="sum_type">both</field>
        <field name="inverse" eval="False" />
        <!-- Base facturas de venta (haber) - Base facturas rectificativas de venta (debe):
            S_IVA_SP_E, S_IVA_NS, S_IVA0_ISP -->
        <field
            name="tax_ids"
            eval="[(6, False, [ref('l10n_es.account_tax_template_s_iva_e'), ref('l10n_es.account_tax_template_s_iva_ns'), ref('l10n_es.account_tax_template_s_iva_ns_b'), ref('l10n_es.account_tax_template_s_iva0_isp')])]"
        />
    </record>
    <record id="aeat_mod303_map_line_93" model="l10n.es.aeat.map.tax.line">
        <field name="map_parent_id" ref="aeat_mod303_map" />
        <field name="field_number">93</field>
        <field name="name">Entregas intracomunitarias exentas</field>
        <field name="move_type">all</field>
        <field name="field_type">base</field>
        <field name="sum_type">both</field>
        <field name="inverse" eval="False" />
        <field
            name="tax_ids"
            eval="[(6, False, [ref('l10n_es.account_tax_template_s_iva0_ic'), ref('l10n_es.account_tax_template_s_iva0_sp_i')])]"
        />
    </record>
    <record id="aeat_mod390_map_line_94" model="l10n.es.aeat.map.tax.line">
        <field name="map_parent_id" ref="aeat_mod303_map" />
        <field name="field_number">94</field>
        <field
            name="name"
        >Exportaciones y otras operaciones exentas con derecho a deducción</field>
        <field name="move_type">all</field>
        <field name="field_type">base</field>
        <field name="sum_type">both</field>
        <field name="inverse" eval="False" />
        <field
            name="tax_ids"
            eval="[(6, False, [ref('l10n_es.account_tax_template_s_iva0_e')])]"
        />
    </record>
    <record id="aeat_mod390_map_line_96" model="l10n.es.aeat.map.tax.line">
        <field name="map_parent_id" ref="aeat_mod303_map" />
        <field name="field_number">96</field>
        <field
            name="name"
        >Operaciones realizadas por sujetos pasivos acogidos al régimen especial del recargo de equivalencia</field>
        <field name="move_type">all</field>
        <field name="field_type">base</field>
        <field name="sum_type">both</field>
        <field name="inverse" eval="True" />
        <field
            name="tax_ids"
            eval="[(6, False, [ref('l10n_es.account_tax_template_s_req05'), ref('l10n_es.account_tax_template_s_req014'), ref('l10n_es.account_tax_template_s_req52')])]"
        />
    </record>
</odoo>
