<?xml version="1.0" encoding="utf-8"?>
<odoo>
    <data>
        <!-- Account Taxes -->
        <record id="tax0sale" model="account.tax.template">
            <field name="chart_template_id" ref="ve_chart_template_amd"/>
            <field name="name">Exento (ventas)</field>
            <field name="description">Exento (ventas)</field>
            <field name="amount">0</field>
            <field name="amount_type">percent</field>
            <field name="type_tax_use">sale</field>
            <field name="tax_group_id" ref="tax_group_iva_0"/>
            <field name="invoice_repartition_line_ids" eval="[(5, 0, 0),
            (0,0, {'repartition_type': 'base'}),
            (0,0, {'repartition_type': 'tax'}),
        ]"/>
            <field name="refund_repartition_line_ids" eval="[(5, 0, 0),
            (0,0, {'repartition_type': 'base'}),
            (0,0, {'repartition_type': 'tax'}),
        ]"/>
        </record>
        <record id="tax1sale" model="account.tax.template">
            <field name="chart_template_id" ref="ve_chart_template_amd"/>
            <field name="name">IVA (12.0%) ventas</field>
            <field name="description">IVA (12.0%) ventas</field>
            <field name="amount">12</field>
            <field name="amount_type">percent</field>
            <field name="type_tax_use">sale</field>
            <field name="tax_group_id" ref="tax_group_iva_12"/>
            <field name="invoice_repartition_line_ids" eval="[(5, 0, 0),
            (0,0, {'repartition_type': 'base'}),
            (0,0, {
                'repartition_type': 'tax',
                'account_id': ref('account_activa_account_2172003'),
            }),
        ]"/>
            <field name="refund_repartition_line_ids" eval="[(5, 0, 0),
            (0,0, {'repartition_type': 'base'}),
            (0,0, {
                'repartition_type': 'tax',
                'account_id': ref('account_activa_account_2172003'),
            }),
        ]"/>
        </record>
        <record id="tax2sale" model="account.tax.template">
            <field name="chart_template_id" ref="ve_chart_template_amd"/>
            <field name="name">IVA (8.0%) ventas</field>
            <field name="description">IVA (8.0%) ventas</field>
            <field name="amount">8</field>
            <field name="amount_type">percent</field>
            <field name="type_tax_use">sale</field>
            <field name="tax_group_id" ref="tax_group_iva_8"/>
            <field name="invoice_repartition_line_ids" eval="[(5, 0, 0),
            (0,0, {'repartition_type': 'base'}),
            (0,0, {
                'repartition_type': 'tax',
                'account_id': ref('account_activa_account_2172003'),
            }),
        ]"/>
            <field name="refund_repartition_line_ids" eval="[(5, 0, 0),
            (0,0, {'repartition_type': 'base'}),
            (0,0, {
                'repartition_type': 'tax',
                'account_id': ref('account_activa_account_2172003'),
            }),
        ]"/>
        </record>
        <record id="tax3sale" model="account.tax.template">
            <field name="chart_template_id" ref="ve_chart_template_amd"/>
            <field name="name">IVA (22.0%) ventas</field>
            <field name="description">IVA (22.0%) ventas</field>
            <field name="amount">22</field>
            <field name="amount_type">percent</field>
            <field name="type_tax_use">sale</field>
            <field name="tax_group_id" ref="tax_group_iva_22"/>
            <field name="invoice_repartition_line_ids" eval="[(5, 0, 0),
            (0,0, {'repartition_type': 'base'}),
            (0,0, {
                'repartition_type': 'tax',
                'account_id': ref('account_activa_account_2172003'),
            }),
        ]"/>
            <field name="refund_repartition_line_ids" eval="[(5, 0, 0),
            (0,0, {'repartition_type': 'base'}),
            (0,0, {
                'repartition_type': 'tax',
                'account_id': ref('account_activa_account_2172003'),
            }),
        ]"/>
        </record>
        <record id="tax0purchase" model="account.tax.template">
            <field name="chart_template_id" ref="ve_chart_template_amd"/>
            <field name="name">Exento (compras)</field>
            <field name="description">Exento (compras)</field>
            <field name="amount">0</field>
            <field name="amount_type">percent</field>
            <field name="type_tax_use">purchase</field>
            <field name="tax_group_id" ref="tax_group_iva_0"/>
            <field name="invoice_repartition_line_ids" eval="[(5, 0, 0),
            (0,0, {'repartition_type': 'base'}),
            (0,0, {'repartition_type': 'tax'}),
        ]"/>
            <field name="refund_repartition_line_ids" eval="[(5, 0, 0),
            (0,0, {'repartition_type': 'base'}),
            (0,0, {'repartition_type': 'tax'}),
        ]"/>
        </record>
        <record id="tax1purchase" model="account.tax.template">
            <field name="chart_template_id" ref="ve_chart_template_amd"/>
            <field name="name">IVA (12.0%) compras</field>
            <field name="description">IVA (12.0%) compras</field>
            <field name="amount">12</field>
            <field name="amount_type">percent</field>
            <field name="type_tax_use">purchase</field>
            <field name="tax_group_id" ref="tax_group_iva_12"/>
            <field name="invoice_repartition_line_ids" eval="[(5, 0, 0),
            (0,0, {'repartition_type': 'base'}),
            (0,0, {
                'repartition_type': 'tax',
                'account_id': ref('account_activa_account_1151004'),
            }),
        ]"/>
            <field name="refund_repartition_line_ids" eval="[(5, 0, 0),
            (0,0, {'repartition_type': 'base'}),
            (0,0, {
                'repartition_type': 'tax',
                'account_id': ref('account_activa_account_1151004'),
            }),
        ]"/>
        </record>
        <record id="tax2purchase" model="account.tax.template">
            <field name="chart_template_id" ref="ve_chart_template_amd"/>
            <field name="name">IVA (8.0%) compras</field>
            <field name="description">IVA (8.0%) compras</field>
            <field name="amount">8</field>
            <field name="amount_type">percent</field>
            <field name="type_tax_use">purchase</field>
            <field name="tax_group_id" ref="tax_group_iva_8"/>
            <field name="invoice_repartition_line_ids" eval="[(5, 0, 0),
            (0,0, {'repartition_type': 'base'}),
            (0,0, {
                'repartition_type': 'tax',
                'account_id': ref('account_activa_account_1151004'),
            }),
        ]"/>
            <field name="refund_repartition_line_ids" eval="[(5, 0, 0),
            (0,0, {'repartition_type': 'base'}),
            (0,0, {
                'repartition_type': 'tax',
                'account_id': ref('account_activa_account_1151004'),
            }),
        ]"/>
        </record>
        <record id="tax3purchase" model="account.tax.template">
            <field name="chart_template_id" ref="ve_chart_template_amd"/>
            <field name="name">IVA (22.0%) compras</field>
            <field name="description">IVA (22.0%) compras</field>
            <field name="amount">22</field>
            <field name="amount_type">percent</field>
            <field name="type_tax_use">purchase</field>
            <field name="tax_group_id" ref="tax_group_iva_22"/>
            <field name="invoice_repartition_line_ids" eval="[(5, 0, 0),
            (0,0, {'repartition_type': 'base'}),
            (0,0, {
                'repartition_type': 'tax',
                'account_id': ref('account_activa_account_1151004'),
            }),
        ]"/>
            <field name="refund_repartition_line_ids" eval="[(5, 0, 0),
            (0,0, {'repartition_type': 'base'}),
            (0,0, {
                'repartition_type': 'tax',
                'account_id': ref('account_activa_account_1151004'),
            }),
        ]"/>
        </record>
    </data>
</odoo>
