<?xml version="1.0" encoding="utf-8"?>
<odoo auto_sequence="1">
    <record id="tax_report_vat" model="account.report">
        <field name="name">VAT Report</field>
        <field name="root_report_id" ref="account.generic_tax_report"/>
        <field name="country_id" ref="base.ma"/>
        <field name="filter_fiscal_position" eval="True"/>
        <field name="availability_condition">country</field>
        <field name="column_ids">
            <record id="tax_report_column_base" model="account.report.column">
                <field name="name">Base</field>
                <field name="expression_label">base</field>
            </record>
            <record id="tax_report_column_base_tax" model="account.report.column">
                <field name="name">Base Tax</field>
                <field name="expression_label">base_tax</field>
            </record>
            <record id="tax_report_column_pro" model="account.report.column">
                <field name="name">Prorata (%)</field>
                <field name="expression_label">pro</field>
                <field name="figure_type">percentage</field>
            </record>
            <record id="tax_report_column_tax" model="account.report.column">
                <field name="name">Tax Due/Ded.</field>
                <field name="expression_label">tax</field>
            </record>
        </field>
        <field name="line_ids">
            <record id="tax_report_part_a" model="account.report.line">
                <field name="hierarchy_level">0</field>
                <field name="name">A - Breakdown of total revenues</field>
                <field name="children_ids">
                    <record id="tax_report_line_10" model="account.report.line">
                        <field name="hierarchy_level">3</field>
                        <field name="name">10 - Amount of the revenues realized, including non-taxable operations (excl. VAT)</field>
                        <field name="code">l10n_ma_vat_10</field>
                        <field name="expression_ids">
                            <record id="tax_report_line_10_base" model="account.report.expression">
                                <field name="label">base</field>
                                <field name="engine">aggregation</field>
                                <field name="formula">l10n_ma_vat_20.base + l10n_ma_vat_30.base + l10n_ma_vat_40.base + l10n_ma_vat_50.base + l10n_ma_vat_b.base_sum</field>
                            </record>
                        </field>
                        <field name="children_ids">
                            <record id="tax_report_line_20" model="account.report.line">
                                <field name="hierarchy_level">5</field>
                                <field name="name">20 - Operations outside the scope of VAT</field>
                                <field name="code">l10n_ma_vat_20</field>
                                <field name="expression_ids">
                                    <record id="tax_report_line_20_base" model="account.report.expression">
                                        <field name="label">base</field>
                                        <field name="engine">tax_tags</field>
                                        <field name="formula">20</field>
                                    </record>
                                </field>
                            </record>
                            <record id="tax_report_line_30" model="account.report.line">
                                <field name="hierarchy_level">5</field>
                                <field name="name">30 - Exempt operations without right of deduction (Article 91 of the CGI)</field>
                                <field name="code">l10n_ma_vat_30</field>
                                <field name="expression_ids">
                                    <record id="tax_report_line_30_base" model="account.report.expression">
                                        <field name="label">base</field>
                                        <field name="engine">tax_tags</field>
                                        <field name="formula">30</field>
                                    </record>
                                </field>
                            </record>
                            <record id="tax_report_line_40" model="account.report.line">
                                <field name="hierarchy_level">5</field>
                                <field name="name">40 - Exempt operations with right of deduction (Article 92 of the CGI)</field>
                                <field name="code">l10n_ma_vat_40</field>
                                <field name="expression_ids">
                                    <record id="tax_report_line_40_base" model="account.report.expression">
                                        <field name="label">base</field>
                                        <field name="engine">tax_tags</field>
                                        <field name="formula">40</field>
                                    </record>
                                </field>
                            </record>
                            <record id="tax_report_line_50" model="account.report.line">
                                <field name="hierarchy_level">5</field>
                                <field name="name">50 - Operations carried out under suspension of VAT (Article 94 of the CGI)</field>
                                <field name="code">l10n_ma_vat_50</field>
                                <field name="expression_ids">
                                    <record id="tax_report_line_50_base" model="account.report.expression">
                                        <field name="label">base</field>
                                        <field name="engine">tax_tags</field>
                                        <field name="formula">50</field>
                                    </record>
                                </field>
                            </record>
                            <record id="tax_report_line_55" model="account.report.line">
                                <field name="hierarchy_level">5</field>
                                <field name="name">55 - Taxable operations made by mobile payment (Article 247 ter of the CGI)</field>
                                <field name="code">l10n_ma_vat_55</field>
                                <field name="expression_ids">
                                    <record id="tax_report_line_55_base" model="account.report.expression">
                                        <field name="label">base</field>
                                        <field name="engine">external</field>
                                        <field name="formula">most_recent</field>
                                        <field name="subformula">editable;rounding=2</field>
                                    </record>
                                </field>
                            </record>
                            <record id="tax_report_line_56" model="account.report.line">
                                <field name="hierarchy_level">5</field>
                                <field name="name">56 - Exempt, out-of-scope or suspended operations by mobile payment</field>
                                <field name="code">l10n_ma_vat_56</field>
                                <field name="expression_ids">
                                    <record id="tax_report_line_56_base" model="account.report.expression">
                                        <field name="label">base</field>
                                        <field name="engine">external</field>
                                        <field name="formula">most_recent</field>
                                        <field name="subformula">editable;rounding=2</field>
                                    </record>
                                </field>
                            </record>
                        </field>
                    </record>
                    <record id="tax_report_line_60" model="account.report.line">
                        <field name="hierarchy_level">3</field>
                        <field name="name">60 - Taxable revenues to be allocated (difference line 10 - (20 + 30 + 40 + 50)) (excl. VAT)</field>
                        <field name="code">l10n_ma_vat_60</field>
                        <field name="expression_ids">
                            <record id="tax_report_line_60_base" model="account.report.expression">
                                <field name="label">base</field>
                                <field name="engine">aggregation</field>
                                <field name="formula">l10n_ma_vat_10.base - l10n_ma_vat_20.base - l10n_ma_vat_30.base - l10n_ma_vat_40.base - l10n_ma_vat_50.base</field>
                            </record>
                        </field>
                    </record>
                </field>
            </record>
            <record id="tax_report_part_b" model="account.report.line">
                <field name="hierarchy_level">0</field>
                <field name="name">B - Breakdown of taxable revenues</field>
                <field name="code">l10n_ma_vat_b</field>
                <field name="expression_ids">
                    <record id="tax_report_part_b_base_sum" model="account.report.expression">
                        <field name="label">base_sum</field>
                        <field name="engine">aggregation</field>
                        <field name="formula">l10n_ma_vat_b_20.base_sum + l10n_ma_vat_b_14.base_sum + l10n_ma_vat_b_10.base_sum + l10n_ma_vat_b_7.base_sum</field>
                    </record>
                    <record id="tax_report_part_b_tax_sum" model="account.report.expression">
                        <field name="label">tax_sum</field>
                        <field name="engine">aggregation</field>
                        <field name="formula">l10n_ma_vat_b_20.tax_sum + l10n_ma_vat_b_14.tax_sum + l10n_ma_vat_b_10.tax_sum + l10n_ma_vat_b_7.tax_sum</field>
                    </record>
                </field>
                <field name="children_ids">
                    <record id="tax_report_part_b_20" model="account.report.line">
                        <field name="hierarchy_level">1</field>
                        <field name="name">Standard rate of 20% with right to deduct</field>
                        <field name="code">l10n_ma_vat_b_20</field>
                        <field name="expression_ids">
                            <record id="tax_report_part_b_20_base_sum" model="account.report.expression">
                                <field name="label">base_sum</field>
                                <field name="engine">aggregation</field>
                                <field name="formula">l10n_ma_vat_80.base + l10n_ma_vat_81.base + l10n_ma_vat_82.base + l10n_ma_vat_83.base + l10n_ma_vat_87.base + l10n_ma_vat_93.base + l10n_ma_vat_94.base + l10n_ma_vat_95.base + l10n_ma_vat_102.base</field>
                            </record>
                            <record id="tax_report_part_b_20_tax_sum" model="account.report.expression">
                                <field name="label">tax_sum</field>
                                <field name="engine">aggregation</field>
                                <field name="formula">l10n_ma_vat_80.tax + l10n_ma_vat_81.tax + l10n_ma_vat_82.tax + l10n_ma_vat_83.tax + l10n_ma_vat_87.tax + l10n_ma_vat_93.tax + l10n_ma_vat_94.tax + l10n_ma_vat_95.tax + l10n_ma_vat_102.tax</field>
                            </record>
                        </field>
                        <field name="children_ids">
                            <record id="tax_report_line_80" model="account.report.line">
                                <field name="hierarchy_level">3</field>
                                <field name="name">80 - Production and distribution operations</field>
                                <field name="code">l10n_ma_vat_80</field>
                                <field name="expression_ids">
                                    <record id="tax_report_line_80_base" model="account.report.expression">
                                        <field name="label">base</field>
                                        <field name="engine">tax_tags</field>
                                        <field name="formula">80B</field>
                                    </record>
                                    <record id="tax_report_line_80_tax" model="account.report.expression">
                                        <field name="label">tax</field>
                                        <field name="engine">tax_tags</field>
                                        <field name="formula">80T</field>
                                    </record>
                                </field>
                            </record>
                            <record id="tax_report_line_81" model="account.report.line">
                                <field name="hierarchy_level">3</field>
                                <field name="name">81 - Services</field>
                                <field name="code">l10n_ma_vat_81</field>
                                <field name="expression_ids">
                                    <record id="tax_report_line_81_base" model="account.report.expression">
                                        <field name="label">base</field>
                                        <field name="engine">tax_tags</field>
                                        <field name="formula">81B</field>
                                    </record>
                                    <record id="tax_report_line_81_tax" model="account.report.expression">
                                        <field name="label">tax</field>
                                        <field name="engine">tax_tags</field>
                                        <field name="formula">81T</field>
                                    </record>
                                </field>
                            </record>
                            <record id="tax_report_line_82" model="account.report.line">
                                <field name="hierarchy_level">3</field>
                                <field name="name">82 - Liberal professions referred to in article 89-I-12°-(b) of the CGI</field>
                                <field name="code">l10n_ma_vat_82</field>
                                <field name="expression_ids">
                                    <record id="tax_report_line_82_base" model="account.report.expression">
                                        <field name="label">base</field>
                                        <field name="engine">tax_tags</field>
                                        <field name="formula">82B</field>
                                    </record>
                                    <record id="tax_report_line_82_tax" model="account.report.expression">
                                        <field name="label">tax</field>
                                        <field name="engine">tax_tags</field>
                                        <field name="formula">82T</field>
                                    </record>
                                </field>
                            </record>
                            <record id="tax_report_line_83" model="account.report.line">
                                <field name="hierarchy_level">3</field>
                                <field name="name">83 - Leasing operations</field>
                                <field name="code">l10n_ma_vat_83</field>
                                <field name="expression_ids">
                                    <record id="tax_report_line_83_base" model="account.report.expression">
                                        <field name="label">base</field>
                                        <field name="engine">tax_tags</field>
                                        <field name="formula">83B</field>
                                    </record>
                                    <record id="tax_report_line_83_tax" model="account.report.expression">
                                        <field name="label">tax</field>
                                        <field name="engine">tax_tags</field>
                                        <field name="formula">83T</field>
                                    </record>
                                </field>
                            </record>
                            <record id="tax_report_line_87" model="account.report.line">
                                <field name="hierarchy_level">3</field>
                                <field name="name">87 - Operations of real estate works companies</field>
                                <field name="code">l10n_ma_vat_87</field>
                                <field name="expression_ids">
                                    <record id="tax_report_line_87_base" model="account.report.expression">
                                        <field name="label">base</field>
                                        <field name="engine">tax_tags</field>
                                        <field name="formula">87B</field>
                                    </record>
                                    <record id="tax_report_line_87_tax" model="account.report.expression">
                                        <field name="label">tax</field>
                                        <field name="engine">tax_tags</field>
                                        <field name="formula">87T</field>
                                    </record>
                                </field>
                            </record>
                            <record id="tax_report_line_93" model="account.report.line">
                                <field name="hierarchy_level">3</field>
                                <field name="name">93 - Sales and delivery of used movable property</field>
                                <field name="code">l10n_ma_vat_93</field>
                                <field name="expression_ids">
                                    <record id="tax_report_line_93_base" model="account.report.expression">
                                        <field name="label">base</field>
                                        <field name="engine">tax_tags</field>
                                        <field name="formula">93B</field>
                                    </record>
                                    <record id="tax_report_line_93_tax" model="account.report.expression">
                                        <field name="label">tax</field>
                                        <field name="engine">tax_tags</field>
                                        <field name="formula">93T</field>
                                    </record>
                                </field>
                            </record>
                            <record id="tax_report_line_94" model="account.report.line">
                                <field name="hierarchy_level">3</field>
                                <field name="name">94 - Self-supply of constructions</field>
                                <field name="code">l10n_ma_vat_94</field>
                                <field name="expression_ids">
                                    <record id="tax_report_line_94_base" model="account.report.expression">
                                        <field name="label">base</field>
                                        <field name="engine">tax_tags</field>
                                        <field name="formula">94B</field>
                                    </record>
                                    <record id="tax_report_line_94_tax" model="account.report.expression">
                                        <field name="label">tax</field>
                                        <field name="engine">tax_tags</field>
                                        <field name="formula">94T</field>
                                    </record>
                                </field>
                            </record>
                            <record id="tax_report_line_95" model="account.report.line">
                                <field name="hierarchy_level">3</field>
                                <field name="name">95 - Margin regime referred to in articles 125 bis and 125 quater of the CGI</field>
                                <field name="code">l10n_ma_vat_95</field>
                                <field name="expression_ids">
                                    <record id="tax_report_line_95_base" model="account.report.expression">
                                        <field name="label">base</field>
                                        <field name="engine">tax_tags</field>
                                        <field name="formula">95B</field>
                                    </record>
                                    <record id="tax_report_line_95_tax" model="account.report.expression">
                                        <field name="label">tax</field>
                                        <field name="engine">tax_tags</field>
                                        <field name="formula">95T</field>
                                    </record>
                                </field>
                            </record>
                            <record id="tax_report_line_102" model="account.report.line">
                                <field name="hierarchy_level">3</field>
                                <field name="name">102 - Other</field>
                                <field name="code">l10n_ma_vat_102</field>
                                <field name="expression_ids">
                                    <record id="tax_report_line_102_base" model="account.report.expression">
                                        <field name="label">base</field>
                                        <field name="engine">tax_tags</field>
                                        <field name="formula">102B</field>
                                    </record>
                                    <record id="tax_report_line_102_tax" model="account.report.expression">
                                        <field name="label">tax</field>
                                        <field name="engine">tax_tags</field>
                                        <field name="formula">102T</field>
                                    </record>
                                </field>
                            </record>
                        </field>
                    </record>
                    <record id="tax_report_part_b_14" model="account.report.line">
                        <field name="hierarchy_level">1</field>
                        <field name="name">Reduced rate of 14%</field>
                        <field name="code">l10n_ma_vat_b_14</field>
                        <field name="expression_ids">
                            <record id="tax_report_part_b_14_base_sum" model="account.report.expression">
                                <field name="label">base_sum</field>
                                <field name="engine">aggregation</field>
                                <field name="formula">l10n_ma_vat_b_14_d.base_sum + l10n_ma_vat_b_14_nd.base_sum</field>
                            </record>
                            <record id="tax_report_part_b_14_tax_sum" model="account.report.expression">
                                <field name="label">tax_sum</field>
                                <field name="engine">aggregation</field>
                                <field name="formula">l10n_ma_vat_b_14_d.tax_sum + l10n_ma_vat_b_14_nd.tax_sum</field>
                            </record>
                        </field>
                        <field name="children_ids">
                            <record id="tax_report_part_b_14_d" model="account.report.line">
                                <field name="hierarchy_level">2</field>
                                <field name="name">With right to deduct</field>
                                <field name="code">l10n_ma_vat_b_14_d</field>
                                <field name="expression_ids">
                                    <record id="tax_report_part_b_14_d_base_sum" model="account.report.expression">
                                        <field name="label">base_sum</field>
                                        <field name="engine">aggregation</field>
                                        <field name="formula">l10n_ma_vat_84.base + l10n_ma_vat_88.base + l10n_ma_vat_90.base + l10n_ma_vat_104.base</field>
                                    </record>
                                    <record id="tax_report_part_b_14_d_tax_sum" model="account.report.expression">
                                        <field name="label">tax_sum</field>
                                        <field name="engine">aggregation</field>
                                        <field name="formula">l10n_ma_vat_84.tax + l10n_ma_vat_88.tax + l10n_ma_vat_90.tax + l10n_ma_vat_104.tax</field>
                                    </record>
                                </field>
                                <field name="children_ids">
                                    <record id="tax_report_line_84" model="account.report.line">
                                        <field name="hierarchy_level">3</field>
                                        <field name="name">84 - Butter, excluding home-made butter referred to in Article 91 (I-A. 2°)</field>
                                        <field name="code">l10n_ma_vat_84</field>
                                        <field name="expression_ids">
                                            <record id="tax_report_line_84_base" model="account.report.expression">
                                                <field name="label">base</field>
                                                <field name="engine">tax_tags</field>
                                                <field name="formula">84B</field>
                                            </record>
                                            <record id="tax_report_line_84_tax" model="account.report.expression">
                                                <field name="label">tax</field>
                                                <field name="engine">tax_tags</field>
                                                <field name="formula">84T</field>
                                            </record>
                                        </field>
                                    </record>
                                    <record id="tax_report_line_88" model="account.report.line">
                                        <field name="hierarchy_level">3</field>
                                        <field name="name">88 - Passenger and freight transport operations, excluding rail transport</field>
                                        <field name="code">l10n_ma_vat_88</field>
                                        <field name="expression_ids">
                                            <record id="tax_report_line_88_base" model="account.report.expression">
                                                <field name="label">base</field>
                                                <field name="engine">tax_tags</field>
                                                <field name="formula">88B</field>
                                            </record>
                                            <record id="tax_report_line_88_tax" model="account.report.expression">
                                                <field name="label">tax</field>
                                                <field name="engine">tax_tags</field>
                                                <field name="formula">88T</field>
                                            </record>
                                        </field>
                                    </record>
                                    <record id="tax_report_line_90" model="account.report.line">
                                        <field name="hierarchy_level">3</field>
                                        <field name="name">90 - Electrical energy</field>
                                        <field name="code">l10n_ma_vat_90</field>
                                        <field name="expression_ids">
                                            <record id="tax_report_line_90_base" model="account.report.expression">
                                                <field name="label">base</field>
                                                <field name="engine">tax_tags</field>
                                                <field name="formula">90B</field>
                                            </record>
                                            <record id="tax_report_line_90_tax" model="account.report.expression">
                                                <field name="label">tax</field>
                                                <field name="engine">tax_tags</field>
                                                <field name="formula">90T</field>
                                            </record>
                                        </field>
                                    </record>
                                    <record id="tax_report_line_104" model="account.report.line">
                                        <field name="hierarchy_level">3</field>
                                        <field name="name">104 - Other</field>
                                        <field name="code">l10n_ma_vat_104</field>
                                        <field name="expression_ids">
                                            <record id="tax_report_line_104_base" model="account.report.expression">
                                                <field name="label">base</field>
                                                <field name="engine">tax_tags</field>
                                                <field name="formula">104B</field>
                                            </record>
                                            <record id="tax_report_line_104_tax" model="account.report.expression">
                                                <field name="label">tax</field>
                                                <field name="engine">tax_tags</field>
                                                <field name="formula">104T</field>
                                            </record>
                                        </field>
                                    </record>
                                </field>
                            </record>
                            <record id="tax_report_part_b_14_nd" model="account.report.line">
                                <field name="hierarchy_level">2</field>
                                <field name="name">Without right to deduct</field>
                                <field name="code">l10n_ma_vat_b_14_nd</field>
                                <field name="expression_ids">
                                    <record id="tax_report_part_b_14_nd_base_sum" model="account.report.expression">
                                        <field name="label">base_sum</field>
                                        <field name="engine">aggregation</field>
                                        <field name="formula">l10n_ma_vat_91.base</field>
                                    </record>
                                    <record id="tax_report_part_b_14_nd_tax_sum" model="account.report.expression">
                                        <field name="label">tax_sum</field>
                                        <field name="engine">aggregation</field>
                                        <field name="formula">l10n_ma_vat_91.tax</field>
                                    </record>
                                </field>
                                <field name="children_ids">
                                    <record id="tax_report_line_91" model="account.report.line">
                                        <field name="hierarchy_level">3</field>
                                        <field name="name">91 - Services rendered by any soliciting agent or insurance broker in respect of contracts brought by him to an insurance company</field>
                                        <field name="code">l10n_ma_vat_91</field>
                                        <field name="expression_ids">
                                            <record id="tax_report_line_91_base" model="account.report.expression">
                                                <field name="label">base</field>
                                                <field name="engine">tax_tags</field>
                                                <field name="formula">91B</field>
                                            </record>
                                            <record id="tax_report_line_91_tax" model="account.report.expression">
                                                <field name="label">tax</field>
                                                <field name="engine">tax_tags</field>
                                                <field name="formula">91T</field>
                                            </record>
                                        </field>
                                    </record>
                                </field>
                            </record>
                        </field>
                    </record>
                    <record id="tax_report_part_b_10" model="account.report.line">
                        <field name="hierarchy_level">1</field>
                        <field name="name">Reduced rate of 10% with right to deduct</field>
                        <field name="code">l10n_ma_vat_b_10</field>
                        <field name="expression_ids">
                            <record id="tax_report_part_b_10_base_sum" model="account.report.expression">
                                <field name="label">base_sum</field>
                                <field name="engine">aggregation</field>
                                <field name="formula">l10n_ma_vat_76.base + l10n_ma_vat_77.base + l10n_ma_vat_78.base + l10n_ma_vat_79.base + l10n_ma_vat_85.base + l10n_ma_vat_86.base + l10n_ma_vat_89.base + l10n_ma_vat_92.base + l10n_ma_vat_96.base + l10n_ma_vat_97.base + l10n_ma_vat_98.base + l10n_ma_vat_99.base + l10n_ma_vat_100.base + l10n_ma_vat_101.base + l10n_ma_vat_103.base + l10n_ma_vat_105.base + l10n_ma_vat_108.base + l10n_ma_vat_109.base + l10n_ma_vat_112.base + l10n_ma_vat_118.base</field>
                            </record>
                            <record id="tax_report_part_b_10_tax_sum" model="account.report.expression">
                                <field name="label">tax_sum</field>
                                <field name="engine">aggregation</field>
                                <field name="formula">l10n_ma_vat_76.tax + l10n_ma_vat_77.tax + l10n_ma_vat_78.tax + l10n_ma_vat_79.tax + l10n_ma_vat_85.tax + l10n_ma_vat_86.tax + l10n_ma_vat_89.tax + l10n_ma_vat_92.tax + l10n_ma_vat_96.tax + l10n_ma_vat_97.tax + l10n_ma_vat_98.tax + l10n_ma_vat_99.tax + l10n_ma_vat_100.tax + l10n_ma_vat_101.tax + l10n_ma_vat_103.tax + l10n_ma_vat_105.tax + l10n_ma_vat_108.tax + l10n_ma_vat_109.tax + l10n_ma_vat_112.tax + l10n_ma_vat_118.tax</field>
                            </record>
                        </field>
                        <field name="children_ids">
                            <record id="tax_report_line_76" model="account.report.line">
                                <field name="hierarchy_level">3</field>
                                <field name="name">76 - Photovoltaic panels</field>
                                <field name="code">l10n_ma_vat_76</field>
                                <field name="expression_ids">
                                    <record id="tax_report_line_76_base" model="account.report.expression">
                                        <field name="label">base</field>
                                        <field name="engine">tax_tags</field>
                                        <field name="formula">76B</field>
                                    </record>
                                    <record id="tax_report_line_76_tax" model="account.report.expression">
                                        <field name="label">tax</field>
                                        <field name="engine">tax_tags</field>
                                        <field name="formula">76T</field>
                                    </record>
                                </field>
                            </record>
                            <record id="tax_report_line_77" model="account.report.line">
                                <field name="hierarchy_level">3</field>
                                <field name="name">77 - Solar water heaters</field>
                                <field name="code">l10n_ma_vat_77</field>
                                <field name="expression_ids">
                                    <record id="tax_report_line_77_base" model="account.report.expression">
                                        <field name="label">base</field>
                                        <field name="engine">tax_tags</field>
                                        <field name="formula">77B</field>
                                    </record>
                                    <record id="tax_report_line_77_tax" model="account.report.expression">
                                        <field name="label">tax</field>
                                        <field name="engine">tax_tags</field>
                                        <field name="formula">77T</field>
                                    </record>
                                </field>
                            </record>
                            <record id="tax_report_line_78" model="account.report.line">
                                <field name="hierarchy_level">3</field>
                                <field name="name">78 - Feed for livestock and farmyard animals as well as oil cakes used in their manufacture, excluding other simple feed</field>
                                <field name="code">l10n_ma_vat_78</field>
                                <field name="expression_ids">
                                    <record id="tax_report_line_78_base" model="account.report.expression">
                                        <field name="label">base</field>
                                        <field name="engine">tax_tags</field>
                                        <field name="formula">78B</field>
                                    </record>
                                    <record id="tax_report_line_78_tax" model="account.report.expression">
                                        <field name="label">tax</field>
                                        <field name="engine">tax_tags</field>
                                        <field name="formula">78T</field>
                                    </record>
                                </field>
                            </record>
                            <record id="tax_report_line_79" model="account.report.line">
                                <field name="hierarchy_level">3</field>
                                <field name="name">79 - Equipment for exclusive agricultural use</field>
                                <field name="code">l10n_ma_vat_79</field>
                                <field name="expression_ids">
                                    <record id="tax_report_line_79_base" model="account.report.expression">
                                        <field name="label">base</field>
                                        <field name="engine">tax_tags</field>
                                        <field name="formula">79B</field>
                                    </record>
                                    <record id="tax_report_line_79_tax" model="account.report.expression">
                                        <field name="label">tax</field>
                                        <field name="engine">tax_tags</field>
                                        <field name="formula">79T</field>
                                    </record>
                                </field>
                            </record>
                            <record id="tax_report_line_85" model="account.report.line">
                                <field name="hierarchy_level">3</field>
                                <field name="name">85 - Wood in logs, debarked or simply squared, cork in its natural state, firewood in bundles or sawn to short lengths and charcoal</field>
                                <field name="code">l10n_ma_vat_85</field>
                                <field name="expression_ids">
                                    <record id="tax_report_line_85_base" model="account.report.expression">
                                        <field name="label">base</field>
                                        <field name="engine">tax_tags</field>
                                        <field name="formula">85B</field>
                                    </record>
                                    <record id="tax_report_line_85_tax" model="account.report.expression">
                                        <field name="label">tax</field>
                                        <field name="engine">tax_tags</field>
                                        <field name="formula">85T</field>
                                    </record>
                                </field>
                            </record>
                            <record id="tax_report_line_86" model="account.report.line">
                                <field name="hierarchy_level">3</field>
                                <field name="name">86 - Fishing gear and nets for professional marine fishermen</field>
                                <field name="code">l10n_ma_vat_86</field>
                                <field name="expression_ids">
                                    <record id="tax_report_line_86_base" model="account.report.expression">
                                        <field name="label">base</field>
                                        <field name="engine">tax_tags</field>
                                        <field name="formula">86B</field>
                                    </record>
                                    <record id="tax_report_line_86_tax" model="account.report.expression">
                                        <field name="label">tax</field>
                                        <field name="engine">tax_tags</field>
                                        <field name="formula">86T</field>
                                    </record>
                                </field>
                            </record>
                            <record id="tax_report_line_89" model="account.report.line">
                                <field name="hierarchy_level">3</field>
                                <field name="name">89 - Accommodation and catering operations as well as services provided by cafés</field>
                                <field name="code">l10n_ma_vat_89</field>
                                <field name="expression_ids">
                                    <record id="tax_report_line_89_base" model="account.report.expression">
                                        <field name="label">base</field>
                                        <field name="engine">tax_tags</field>
                                        <field name="formula">89B</field>
                                    </record>
                                    <record id="tax_report_line_89_tax" model="account.report.expression">
                                        <field name="label">tax</field>
                                        <field name="engine">tax_tags</field>
                                        <field name="formula">89T</field>
                                    </record>
                                </field>
                            </record>
                            <record id="tax_report_line_92" model="account.report.line">
                                <field name="hierarchy_level">3</field>
                                <field name="name">92 - Rental operations of buildings used as hotels</field>
                                <field name="code">l10n_ma_vat_92</field>
                                <field name="expression_ids">
                                    <record id="tax_report_line_92_base" model="account.report.expression">
                                        <field name="label">base</field>
                                        <field name="engine">tax_tags</field>
                                        <field name="formula">92B</field>
                                    </record>
                                    <record id="tax_report_line_92_tax" model="account.report.expression">
                                        <field name="label">tax</field>
                                        <field name="engine">tax_tags</field>
                                        <field name="formula">92T</field>
                                    </record>
                                </field>
                            </record>
                            <record id="tax_report_line_96" model="account.report.line">
                                <field name="hierarchy_level">3</field>
                                <field name="name">96 - Cooking salt (rock or sea salt)</field>
                                <field name="code">l10n_ma_vat_96</field>
                                <field name="expression_ids">
                                    <record id="tax_report_line_96_base" model="account.report.expression">
                                        <field name="label">base</field>
                                        <field name="engine">tax_tags</field>
                                        <field name="formula">96B</field>
                                    </record>
                                    <record id="tax_report_line_96_tax" model="account.report.expression">
                                        <field name="label">tax</field>
                                        <field name="engine">tax_tags</field>
                                        <field name="formula">96T</field>
                                    </record>
                                </field>
                            </record>
                            <record id="tax_report_line_97" model="account.report.line">
                                <field name="hierarchy_level">3</field>
                                <field name="name">97 - Milled rice and pasta</field>
                                <field name="code">l10n_ma_vat_97</field>
                                <field name="expression_ids">
                                    <record id="tax_report_line_97_base" model="account.report.expression">
                                        <field name="label">base</field>
                                        <field name="engine">tax_tags</field>
                                        <field name="formula">97B</field>
                                    </record>
                                    <record id="tax_report_line_97_tax" model="account.report.expression">
                                        <field name="label">tax</field>
                                        <field name="engine">tax_tags</field>
                                        <field name="formula">97T</field>
                                    </record>
                                </field>
                            </record>
                            <record id="tax_report_line_98" model="account.report.line">
                                <field name="hierarchy_level">3</field>
                                <field name="name">98 - Food fluid oils excluding palm oil</field>
                                <field name="code">l10n_ma_vat_98</field>
                                <field name="expression_ids">
                                    <record id="tax_report_line_98_base" model="account.report.expression">
                                        <field name="label">base</field>
                                        <field name="engine">tax_tags</field>
                                        <field name="formula">98B</field>
                                    </record>
                                    <record id="tax_report_line_98_tax" model="account.report.expression">
                                        <field name="label">tax</field>
                                        <field name="engine">tax_tags</field>
                                        <field name="formula">98T</field>
                                    </record>
                                </field>
                            </record>
                            <record id="tax_report_line_99" model="account.report.line">
                                <field name="hierarchy_level">3</field>
                                <field name="name">99 - Securities transactions</field>
                                <field name="code">l10n_ma_vat_99</field>
                                <field name="expression_ids">
                                    <record id="tax_report_line_99_base" model="account.report.expression">
                                        <field name="label">base</field>
                                        <field name="engine">tax_tags</field>
                                        <field name="formula">99B</field>
                                    </record>
                                    <record id="tax_report_line_99_tax" model="account.report.expression">
                                        <field name="label">tax</field>
                                        <field name="engine">tax_tags</field>
                                        <field name="formula">99T</field>
                                    </record>
                                </field>
                            </record>
                            <record id="tax_report_line_100" model="account.report.line">
                                <field name="hierarchy_level">3</field>
                                <field name="name">100 - Banking and credit transactions and exchange commissions</field>
                                <field name="code">l10n_ma_vat_100</field>
                                <field name="expression_ids">
                                    <record id="tax_report_line_100_base" model="account.report.expression">
                                        <field name="label">base</field>
                                        <field name="engine">tax_tags</field>
                                        <field name="formula">100B</field>
                                    </record>
                                    <record id="tax_report_line_100_tax" model="account.report.expression">
                                        <field name="label">tax</field>
                                        <field name="engine">tax_tags</field>
                                        <field name="formula">100T</field>
                                    </record>
                                </field>
                            </record>
                            <record id="tax_report_line_101" model="account.report.line">
                                <field name="hierarchy_level">3</field>
                                <field name="name">101 - Transactions involving shares and units shares</field>
                                <field name="code">l10n_ma_vat_101</field>
                                <field name="expression_ids">
                                    <record id="tax_report_line_101_base" model="account.report.expression">
                                        <field name="label">base</field>
                                        <field name="engine">tax_tags</field>
                                        <field name="formula">101B</field>
                                    </record>
                                    <record id="tax_report_line_101_tax" model="account.report.expression">
                                        <field name="label">tax</field>
                                        <field name="engine">tax_tags</field>
                                        <field name="formula">101T</field>
                                    </record>
                                </field>
                            </record>
                            <record id="tax_report_line_103" model="account.report.line">
                                <field name="hierarchy_level">3</field>
                                <field name="name">103 - Operations of sale and delivery of works and objects of art</field>
                                <field name="code">l10n_ma_vat_103</field>
                                <field name="expression_ids">
                                    <record id="tax_report_line_103_base" model="account.report.expression">
                                        <field name="label">base</field>
                                        <field name="engine">tax_tags</field>
                                        <field name="formula">103B</field>
                                    </record>
                                    <record id="tax_report_line_103_tax" model="account.report.expression">
                                        <field name="label">tax</field>
                                        <field name="engine">tax_tags</field>
                                        <field name="formula">103T</field>
                                    </record>
                                </field>
                            </record>
                            <record id="tax_report_line_105" model="account.report.line">
                                <field name="hierarchy_level">3</field>
                                <field name="name">105 - Operations of lawyers, interpreters, notaries, adouls, bailiffs and veterinarians</field>
                                <field name="code">l10n_ma_vat_105</field>
                                <field name="expression_ids">
                                    <record id="tax_report_line_105_base" model="account.report.expression">
                                        <field name="label">base</field>
                                        <field name="engine">tax_tags</field>
                                        <field name="formula">105B</field>
                                    </record>
                                    <record id="tax_report_line_105_tax" model="account.report.expression">
                                        <field name="label">tax</field>
                                        <field name="engine">tax_tags</field>
                                        <field name="formula">105T</field>
                                    </record>
                                </field>
                            </record>
                            <record id="tax_report_line_108" model="account.report.line">
                                <field name="hierarchy_level">3</field>
                                <field name="name">108 - Petroleum gas and other gaseous hydrocarbons</field>
                                <field name="code">l10n_ma_vat_108</field>
                                <field name="expression_ids">
                                    <record id="tax_report_line_108_base" model="account.report.expression">
                                        <field name="label">base</field>
                                        <field name="engine">tax_tags</field>
                                        <field name="formula">108B</field>
                                    </record>
                                    <record id="tax_report_line_108_tax" model="account.report.expression">
                                        <field name="label">tax</field>
                                        <field name="engine">tax_tags</field>
                                        <field name="formula">108T</field>
                                    </record>
                                </field>
                            </record>
                            <record id="tax_report_line_109" model="account.report.line">
                                <field name="hierarchy_level">3</field>
                                <field name="name">109 - Petroleum or shale oils, crude or refined</field>
                                <field name="code">l10n_ma_vat_109</field>
                                <field name="expression_ids">
                                    <record id="tax_report_line_109_base" model="account.report.expression">
                                        <field name="label">base</field>
                                        <field name="engine">tax_tags</field>
                                        <field name="formula">109B</field>
                                    </record>
                                    <record id="tax_report_line_109_tax" model="account.report.expression">
                                        <field name="label">tax</field>
                                        <field name="engine">tax_tags</field>
                                        <field name="formula">109T</field>
                                    </record>
                                </field>
                            </record>
                            <record id="tax_report_line_112" model="account.report.line">
                                <field name="hierarchy_level">3</field>
                                <field name="name">112 - Ticket sales operations for museums, cinema and theater</field>
                                <field name="code">l10n_ma_vat_112</field>
                                <field name="expression_ids">
                                    <record id="tax_report_line_112_base" model="account.report.expression">
                                        <field name="label">base</field>
                                        <field name="engine">tax_tags</field>
                                        <field name="formula">112B</field>
                                    </record>
                                    <record id="tax_report_line_112_tax" model="account.report.expression">
                                        <field name="label">tax</field>
                                        <field name="engine">tax_tags</field>
                                        <field name="formula">112T</field>
                                    </record>
                                </field>
                            </record>
                            <record id="tax_report_line_118" model="account.report.line">
                                <field name="hierarchy_level">3</field>
                                <field name="name">118 - Other</field>
                                <field name="code">l10n_ma_vat_118</field>
                                <field name="expression_ids">
                                    <record id="tax_report_line_118_base" model="account.report.expression">
                                        <field name="label">base</field>
                                        <field name="engine">tax_tags</field>
                                        <field name="formula">118B</field>
                                    </record>
                                    <record id="tax_report_line_118_tax" model="account.report.expression">
                                        <field name="label">tax</field>
                                        <field name="engine">tax_tags</field>
                                        <field name="formula">118T</field>
                                    </record>
                                </field>
                            </record>
                        </field>
                    </record>
                    <record id="tax_report_part_b_7" model="account.report.line">
                        <field name="hierarchy_level">1</field>
                        <field name="name">Reduced rate of 7% with right to deduct</field>
                        <field name="code">l10n_ma_vat_b_7</field>
                        <field name="expression_ids">
                            <record id="tax_report_part_b_7_base_sum" model="account.report.expression">
                                <field name="label">base_sum</field>
                                <field name="engine">aggregation</field>
                                <field name="formula">l10n_ma_vat_106.base + l10n_ma_vat_107.base + l10n_ma_vat_110.base + l10n_ma_vat_111.base + l10n_ma_vat_113.base + l10n_ma_vat_114.base + l10n_ma_vat_115.base + l10n_ma_vat_116.base + l10n_ma_vat_117.base + l10n_ma_vat_119.base</field>
                            </record>
                            <record id="tax_report_part_b_7_tax_sum" model="account.report.expression">
                                <field name="label">tax_sum</field>
                                <field name="engine">aggregation</field>
                                <field name="formula">l10n_ma_vat_106.tax + l10n_ma_vat_107.tax + l10n_ma_vat_110.tax + l10n_ma_vat_111.tax + l10n_ma_vat_113.tax + l10n_ma_vat_114.tax + l10n_ma_vat_115.tax + l10n_ma_vat_116.tax + l10n_ma_vat_117.tax + l10n_ma_vat_119.tax</field>
                            </record>
                        </field>
                        <field name="children_ids">
                            <record id="tax_report_line_106" model="account.report.line">
                                <field name="hierarchy_level">3</field>
                                <field name="name">106 - Water delivered to the public distribution networks and sanitation services</field>
                                <field name="code">l10n_ma_vat_106</field>
                                <field name="expression_ids">
                                    <record id="tax_report_line_106_base" model="account.report.expression">
                                        <field name="label">base</field>
                                        <field name="engine">tax_tags</field>
                                        <field name="formula">106B</field>
                                    </record>
                                    <record id="tax_report_line_106_tax" model="account.report.expression">
                                        <field name="label">tax</field>
                                        <field name="engine">tax_tags</field>
                                        <field name="formula">106T</field>
                                    </record>
                                </field>
                            </record>
                            <record id="tax_report_line_107" model="account.report.line">
                                <field name="hierarchy_level">3</field>
                                <field name="name">107 - Rental of water and electricity meters</field>
                                <field name="code">l10n_ma_vat_107</field>
                                <field name="expression_ids">
                                    <record id="tax_report_line_107_base" model="account.report.expression">
                                        <field name="label">base</field>
                                        <field name="engine">tax_tags</field>
                                        <field name="formula">107B</field>
                                    </record>
                                    <record id="tax_report_line_107_tax" model="account.report.expression">
                                        <field name="label">tax</field>
                                        <field name="engine">tax_tags</field>
                                        <field name="formula">107T</field>
                                    </record>
                                </field>
                            </record>
                            <record id="tax_report_line_110" model="account.report.line">
                                <field name="hierarchy_level">3</field>
                                <field name="name">110 - Pharmaceutical products, raw materials and products used in their composition as well as non-returnable packaging of these products and materials</field>
                                <field name="code">l10n_ma_vat_110</field>
                                <field name="expression_ids">
                                    <record id="tax_report_line_110_base" model="account.report.expression">
                                        <field name="label">base</field>
                                        <field name="engine">tax_tags</field>
                                        <field name="formula">110B</field>
                                    </record>
                                    <record id="tax_report_line_110_tax" model="account.report.expression">
                                        <field name="label">tax</field>
                                        <field name="engine">tax_tags</field>
                                        <field name="formula">110T</field>
                                    </record>
                                </field>
                            </record>
                            <record id="tax_report_line_111" model="account.report.line">
                                <field name="hierarchy_level">3</field>
                                <field name="name">111 - School supplies, products and materials in their composition</field>
                                <field name="code">l10n_ma_vat_111</field>
                                <field name="expression_ids">
                                    <record id="tax_report_line_111_base" model="account.report.expression">
                                        <field name="label">base</field>
                                        <field name="engine">tax_tags</field>
                                        <field name="formula">111B</field>
                                    </record>
                                    <record id="tax_report_line_111_tax" model="account.report.expression">
                                        <field name="label">tax</field>
                                        <field name="engine">tax_tags</field>
                                        <field name="formula">111T</field>
                                    </record>
                                </field>
                            </record>
                            <record id="tax_report_line_113" model="account.report.line">
                                <field name="hierarchy_level">3</field>
                                <field name="name">113 - Refined or agglomerated sugar</field>
                                <field name="code">l10n_ma_vat_113</field>
                                <field name="expression_ids">
                                    <record id="tax_report_line_113_base" model="account.report.expression">
                                        <field name="label">base</field>
                                        <field name="engine">tax_tags</field>
                                        <field name="formula">113B</field>
                                    </record>
                                    <record id="tax_report_line_113_tax" model="account.report.expression">
                                        <field name="label">tax</field>
                                        <field name="engine">tax_tags</field>
                                        <field name="formula">113T</field>
                                    </record>
                                </field>
                            </record>
                            <record id="tax_report_line_114" model="account.report.line">
                                <field name="hierarchy_level">3</field>
                                <field name="name">114 - Canned sardines</field>
                                <field name="code">l10n_ma_vat_114</field>
                                <field name="expression_ids">
                                    <record id="tax_report_line_114_base" model="account.report.expression">
                                        <field name="label">base</field>
                                        <field name="engine">tax_tags</field>
                                        <field name="formula">114B</field>
                                    </record>
                                    <record id="tax_report_line_114_tax" model="account.report.expression">
                                        <field name="label">tax</field>
                                        <field name="engine">tax_tags</field>
                                        <field name="formula">114T</field>
                                    </record>
                                </field>
                            </record>
                            <record id="tax_report_line_115" model="account.report.line">
                                <field name="hierarchy_level">3</field>
                                <field name="name">115 - Milk powder</field>
                                <field name="code">l10n_ma_vat_115</field>
                                <field name="expression_ids">
                                    <record id="tax_report_line_115_base" model="account.report.expression">
                                        <field name="label">base</field>
                                        <field name="engine">tax_tags</field>
                                        <field name="formula">115B</field>
                                    </record>
                                    <record id="tax_report_line_115_tax" model="account.report.expression">
                                        <field name="label">tax</field>
                                        <field name="engine">tax_tags</field>
                                        <field name="formula">115T</field>
                                    </record>
                                </field>
                            </record>
                            <record id="tax_report_line_116" model="account.report.line">
                                <field name="hierarchy_level">3</field>
                                <field name="name">116 - Household soap</field>
                                <field name="code">l10n_ma_vat_116</field>
                                <field name="expression_ids">
                                    <record id="tax_report_line_116_base" model="account.report.expression">
                                        <field name="label">base</field>
                                        <field name="engine">tax_tags</field>
                                        <field name="formula">116B</field>
                                    </record>
                                    <record id="tax_report_line_116_tax" model="account.report.expression">
                                        <field name="label">tax</field>
                                        <field name="engine">tax_tags</field>
                                        <field name="formula">116T</field>
                                    </record>
                                </field>
                            </record>
                            <record id="tax_report_line_117" model="account.report.line">
                                <field name="hierarchy_level">3</field>
                                <field name="name">117 - Economy car and products and materials used in its in its manufacture</field>
                                <field name="code">l10n_ma_vat_117</field>
                                <field name="expression_ids">
                                    <record id="tax_report_line_117_base" model="account.report.expression">
                                        <field name="label">base</field>
                                        <field name="engine">tax_tags</field>
                                        <field name="formula">117B</field>
                                    </record>
                                    <record id="tax_report_line_117_tax" model="account.report.expression">
                                        <field name="label">tax</field>
                                        <field name="engine">tax_tags</field>
                                        <field name="formula">117T</field>
                                    </record>
                                </field>
                            </record>
                            <record id="tax_report_line_119" model="account.report.line">
                                <field name="hierarchy_level">3</field>
                                <field name="name">119 - Other</field>
                                <field name="code">l10n_ma_vat_119</field>
                                <field name="expression_ids">
                                    <record id="tax_report_line_119_base" model="account.report.expression">
                                        <field name="label">base</field>
                                        <field name="engine">tax_tags</field>
                                        <field name="formula">119B</field>
                                    </record>
                                    <record id="tax_report_line_119_tax" model="account.report.expression">
                                        <field name="label">tax</field>
                                        <field name="engine">tax_tags</field>
                                        <field name="formula">119T</field>
                                    </record>
                                </field>
                            </record>
                        </field>
                    </record>
                    <record id="tax_report_line_120" model="account.report.line">
                        <field name="hierarchy_level">2</field>
                        <field name="name">120 - Reversal of VAT in different ways (cessation, regularization, ...)</field>
                        <field name="code">l10n_ma_vat_120</field>
                        <field name="expression_ids">
                            <record id="tax_report_line_120_tax" model="account.report.expression">
                                <field name="label">tax</field>
                                <field name="engine">external</field>
                                <field name="formula">most_recent</field>
                                <field name="subformula">editable;rounding=2</field>
                            </record>
                        </field>
                    </record>
                    <record id="tax_report_line_121" model="account.report.line">
                        <field name="hierarchy_level">2</field>
                        <field name="name">121 - Withholding tax on the amount of commissions allocated by insurance companies to their brokers</field>
                        <field name="code">l10n_ma_vat_121</field>
                        <field name="expression_ids">
                            <record id="tax_report_line_121_tax" model="account.report.expression">
                                <field name="label">tax</field>
                                <field name="engine">external</field>
                                <field name="formula">most_recent</field>
                                <field name="subformula">editable;rounding=2</field>
                            </record>
                        </field>
                    </record>
                    <record id="tax_report_line_122" model="account.report.line">
                        <field name="hierarchy_level">2</field>
                        <field name="name">122 - Withholding tax on interest paid by credit institutions</field>
                        <field name="code">l10n_ma_vat_122</field>
                        <field name="expression_ids">
                            <record id="tax_report_line_122_tax" model="account.report.expression">
                                <field name="label">tax</field>
                                <field name="engine">external</field>
                                <field name="formula">most_recent</field>
                                <field name="subformula">editable;rounding=2</field>
                            </record>
                        </field>
                    </record>
                    <record id="tax_report_line_123" model="account.report.line">
                        <field name="hierarchy_level">2</field>
                        <field name="name">123 - Withholding tax on proceeds from securitization transactions</field>
                        <field name="code">l10n_ma_vat_123</field>
                        <field name="expression_ids">
                            <record id="tax_report_line_123_tax" model="account.report.expression">
                                <field name="label">tax</field>
                                <field name="engine">external</field>
                                <field name="formula">most_recent</field>
                                <field name="subformula">editable;rounding=2</field>
                            </record>
                        </field>
                    </record>
                    <record id="tax_report_line_124" model="account.report.line">
                        <field name="hierarchy_level">2</field>
                        <field name="name">124 - Withholding tax on transactions carried out by non-residents for the benefit of Moroccan customers excluded from the scope of application of VAT</field>
                        <field name="code">l10n_ma_vat_124</field>
                        <field name="expression_ids">
                            <record id="tax_report_line_124_tax" model="account.report.expression">
                                <field name="label">tax</field>
                                <field name="engine">external</field>
                                <field name="formula">most_recent</field>
                                <field name="subformula">editable;rounding=2</field>
                            </record>
                        </field>
                    </record>
                </field>
            </record>
            <record id="tax_report_part_c" model="account.report.line">
                <field name="hierarchy_level">0</field>
                <field name="name">C - Operations carried out with non-resident taxpayers (Article 115 of the CGI)</field>
                <field name="children_ids">
                    <record id="tax_report_line_129" model="account.report.line">
                        <field name="hierarchy_level">3</field>
                        <field name="name">129 - Operations with non-resident taxpayers</field>
                        <field name="code">l10n_ma_vat_129</field>
                        <field name="expression_ids">
                            <record id="tax_report_line_129_base" model="account.report.expression">
                                <field name="label">base</field>
                                <field name="engine">tax_tags</field>
                                <field name="formula">129B</field>
                            </record>
                            <record id="tax_report_line_129_tax" model="account.report.expression">
                                <field name="label">tax</field>
                                <field name="engine">tax_tags</field>
                                <field name="formula">129T</field>
                            </record>
                        </field>
                    </record>
                </field>
            </record>
            <record id="tax_report_line_130" model="account.report.line">
                <field name="hierarchy_level">0</field>
                <field name="name">130 - Total VAT Payable</field>
                <field name="code">l10n_ma_vat_130</field>
                <field name="expression_ids">
                    <record id="tax_report_line_130_tax_criterium" model="account.report.expression">
                        <field name="label">tax_criterium</field>
                        <field name="engine">aggregation</field>
                        <field name="formula">l10n_ma_vat_b.tax_sum - l10n_ma_vat_190.tax</field>
                    </record>
                    <record id="tax_report_line_130_tax_extra" model="account.report.expression">
                        <field name="label">tax_extra</field>
                        <field name="engine">aggregation</field>
                        <field name="formula">l10n_ma_vat_121.tax + l10n_ma_vat_122.tax + l10n_ma_vat_123.tax + l10n_ma_vat_124.tax + l10n_ma_vat_129.tax</field>
                        <field name="subformula">if_other_expr_above(l10n_ma_vat_130.tax_criterium, EUR(0))</field>
                    </record>
                    <record id="tax_report_line_130_tax" model="account.report.expression">
                        <field name="label">tax</field>
                        <field name="engine">aggregation</field>
                        <field name="formula">l10n_ma_vat_b.tax_sum + l10n_ma_vat_130.tax_extra</field>
                    </record>
                </field>
            </record>
            <record id="tax_report_part_d" model="account.report.line">
                <field name="hierarchy_level">0</field>
                <field name="name">D - Breakdown of deductions</field>
                <field name="code">l10n_ma_vat_d</field>
                <field name="expression_ids">
                    <record id="tax_report_part_d_tax_sum" model="account.report.expression">
                        <field name="label">tax_sum</field>
                        <field name="engine">aggregation</field>
                        <field name="formula">l10n_ma_vat_d_1.tax_sum + l10n_ma_vat_d_2.tax_sum</field>
                    </record>
                </field>
                <field name="children_ids">
                    <record id="tax_report_part_d_1" model="account.report.line">
                        <field name="hierarchy_level">1</field>
                        <field name="name">1 - NON-FIXED ASSETS PURCHASES</field>
                        <field name="code">l10n_ma_vat_d_1</field>
                        <field name="expression_ids">
                            <record id="tax_report_part_d_1_tax_sum" model="account.report.expression">
                                <field name="label">tax_sum</field>
                                <field name="engine">aggregation</field>
                                <field name="formula">l10n_ma_vat_d_1_1.tax_sum + l10n_ma_vat_d_1_2.tax_sum</field>
                            </record>
                        </field>
                        <field name="children_ids">
                            <record id="tax_report_part_d_1_1" model="account.report.line">
                                <field name="hierarchy_level">2</field>
                                <field name="name">Services</field>
                                <field name="code">l10n_ma_vat_d_1_1</field>
                                <field name="expression_ids">
                                    <record id="tax_report_part_d_1_1_tax_sum" model="account.report.expression">
                                        <field name="label">tax_sum</field>
                                        <field name="engine">aggregation</field>
                                        <field name="formula">l10n_ma_vat_140.tax + l10n_ma_vat_141.tax + l10n_ma_vat_142.tax + l10n_ma_vat_143.tax + l10n_ma_vat_144.tax + l10n_ma_vat_153.tax</field>
                                    </record>
                                </field>
                                <field name="children_ids">
                                    <record id="tax_report_line_140" model="account.report.line">
                                        <field name="hierarchy_level">3</field>
                                        <field name="name">140 - Services (20%)</field>
                                        <field name="code">l10n_ma_vat_140</field>
                                        <field name="expression_ids">
                                            <record id="tax_report_line_140_base_tax" model="account.report.expression">
                                                <field name="label">base_tax</field>
                                                <field name="engine">tax_tags</field>
                                                <field name="formula">140T</field>
                                            </record>
                                            <record id="tax_report_line_140_pro" model="account.report.expression">
                                                <field name="label">pro</field>
                                                <field name="engine">external</field>
                                                <field name="formula">most_recent</field>
                                                <field name="subformula">editable;rounding=0</field>
                                            </record>
                                            <record id="tax_report_line_140_tax" model="account.report.expression">
                                                <field name="label">tax</field>
                                                <field name="engine">aggregation</field>
                                                <field name="formula">l10n_ma_vat_140.base_tax * l10n_ma_vat_140.pro / 100</field>
                                            </record>
                                        </field>
                                    </record>
                                    <record id="tax_report_line_141" model="account.report.line">
                                        <field name="hierarchy_level">3</field>
                                        <field name="name">141 - Transportation (14%)</field>
                                        <field name="code">l10n_ma_vat_141</field>
                                        <field name="expression_ids">
                                            <record id="tax_report_line_141_base_tax" model="account.report.expression">
                                                <field name="label">base_tax</field>
                                                <field name="engine">tax_tags</field>
                                                <field name="formula">141T</field>
                                            </record>
                                            <record id="tax_report_line_141_pro" model="account.report.expression">
                                                <field name="label">pro</field>
                                                <field name="engine">external</field>
                                                <field name="formula">most_recent</field>
                                                <field name="subformula">editable;rounding=0</field>
                                            </record>
                                            <record id="tax_report_line_141_tax" model="account.report.expression">
                                                <field name="label">tax</field>
                                                <field name="engine">aggregation</field>
                                                <field name="formula">l10n_ma_vat_141.base_tax * l10n_ma_vat_141.pro / 100</field>
                                            </record>
                                        </field>
                                    </record>
                                    <record id="tax_report_line_142" model="account.report.line">
                                        <field name="hierarchy_level">3</field>
                                        <field name="name">142 - Banking operation (10%)</field>
                                        <field name="code">l10n_ma_vat_142</field>
                                        <field name="expression_ids">
                                            <record id="tax_report_line_142_base_tax" model="account.report.expression">
                                                <field name="label">base_tax</field>
                                                <field name="engine">tax_tags</field>
                                                <field name="formula">142T</field>
                                            </record>
                                            <record id="tax_report_line_142_pro" model="account.report.expression">
                                                <field name="label">pro</field>
                                                <field name="engine">external</field>
                                                <field name="formula">most_recent</field>
                                                <field name="subformula">editable;rounding=0</field>
                                            </record>
                                            <record id="tax_report_line_142_tax" model="account.report.expression">
                                                <field name="label">tax</field>
                                                <field name="engine">aggregation</field>
                                                <field name="formula">l10n_ma_vat_142.base_tax * l10n_ma_vat_142.pro / 100</field>
                                            </record>
                                        </field>
                                    </record>
                                    <record id="tax_report_line_143" model="account.report.line">
                                        <field name="hierarchy_level">3</field>
                                        <field name="name">143 - Hotels for travelers, and all real estate for tourism purposes (10%)</field>
                                        <field name="code">l10n_ma_vat_143</field>
                                        <field name="expression_ids">
                                            <record id="tax_report_line_143_base_tax" model="account.report.expression">
                                                <field name="label">base_tax</field>
                                                <field name="engine">tax_tags</field>
                                                <field name="formula">143T</field>
                                            </record>
                                            <record id="tax_report_line_143_pro" model="account.report.expression">
                                                <field name="label">pro</field>
                                                <field name="engine">external</field>
                                                <field name="formula">most_recent</field>
                                                <field name="subformula">editable;rounding=0</field>
                                            </record>
                                            <record id="tax_report_line_143_tax" model="account.report.expression">
                                                <field name="label">tax</field>
                                                <field name="engine">aggregation</field>
                                                <field name="formula">l10n_ma_vat_143.base_tax * l10n_ma_vat_143.pro / 100</field>
                                            </record>
                                        </field>
                                    </record>
                                    <record id="tax_report_line_144" model="account.report.line">
                                        <field name="hierarchy_level">3</field>
                                        <field name="name">144 - Operations performed by lawyers, interpreters, notaries, adouls, bailiffs and veterinarians (10%)</field>
                                        <field name="code">l10n_ma_vat_144</field>
                                        <field name="expression_ids">
                                            <record id="tax_report_line_144_base_tax" model="account.report.expression">
                                                <field name="label">base_tax</field>
                                                <field name="engine">tax_tags</field>
                                                <field name="formula">144T</field>
                                            </record>
                                            <record id="tax_report_line_144_pro" model="account.report.expression">
                                                <field name="label">pro</field>
                                                <field name="engine">external</field>
                                                <field name="formula">most_recent</field>
                                                <field name="subformula">editable;rounding=0</field>
                                            </record>
                                            <record id="tax_report_line_144_tax" model="account.report.expression">
                                                <field name="label">tax</field>
                                                <field name="engine">aggregation</field>
                                                <field name="formula">l10n_ma_vat_144.base_tax * l10n_ma_vat_144.pro / 100</field>
                                            </record>
                                        </field>
                                    </record>
                                    <record id="tax_report_line_153" model="account.report.line">
                                        <field name="hierarchy_level">3</field>
                                        <field name="name">153 - Other services (10%)</field>
                                        <field name="code">l10n_ma_vat_153</field>
                                        <field name="expression_ids">
                                            <record id="tax_report_line_153_base_tax" model="account.report.expression">
                                                <field name="label">base_tax</field>
                                                <field name="engine">tax_tags</field>
                                                <field name="formula">153T</field>
                                            </record>
                                            <record id="tax_report_line_153_pro" model="account.report.expression">
                                                <field name="label">pro</field>
                                                <field name="engine">external</field>
                                                <field name="formula">most_recent</field>
                                                <field name="subformula">editable;rounding=0</field>
                                            </record>
                                            <record id="tax_report_line_153_tax" model="account.report.expression">
                                                <field name="label">tax</field>
                                                <field name="engine">aggregation</field>
                                                <field name="formula">l10n_ma_vat_153.base_tax * l10n_ma_vat_153.pro / 100</field>
                                            </record>
                                        </field>
                                    </record>
                                </field>
                            </record>
                            <record id="tax_report_part_d_1_2" model="account.report.line">
                                <field name="hierarchy_level">2</field>
                                <field name="name">Other non-fixed assets purchases</field>
                                <field name="code">l10n_ma_vat_d_1_2</field>
                                <field name="expression_ids">
                                    <record id="tax_report_part_d_1_2_tax_sum" model="account.report.expression">
                                        <field name="label">tax_sum</field>
                                        <field name="engine">aggregation</field>
                                        <field name="formula">l10n_ma_vat_145.tax + l10n_ma_vat_146.tax + l10n_ma_vat_147.tax + l10n_ma_vat_148.tax + l10n_ma_vat_149.tax + l10n_ma_vat_150.tax + l10n_ma_vat_151.tax + l10n_ma_vat_152.tax + l10n_ma_vat_155.tax + l10n_ma_vat_156.tax + l10n_ma_vat_158.tax</field>
                                    </record>
                                </field>
                                <field name="children_ids">
                                    <record id="tax_report_line_145" model="account.report.line">
                                        <field name="hierarchy_level">3</field>
                                        <field name="name">145 - Import purchases (20%)</field>
                                        <field name="code">l10n_ma_vat_145</field>
                                        <field name="expression_ids">
                                            <record id="tax_report_line_145_base_tax" model="account.report.expression">
                                                <field name="label">base_tax</field>
                                                <field name="engine">tax_tags</field>
                                                <field name="formula">145T</field>
                                            </record>
                                            <record id="tax_report_line_145_pro" model="account.report.expression">
                                                <field name="label">pro</field>
                                                <field name="engine">external</field>
                                                <field name="formula">most_recent</field>
                                                <field name="subformula">editable;rounding=0</field>
                                            </record>
                                            <record id="tax_report_line_145_tax" model="account.report.expression">
                                                <field name="label">tax</field>
                                                <field name="engine">aggregation</field>
                                                <field name="formula">l10n_ma_vat_145.base_tax * l10n_ma_vat_145.pro / 100</field>
                                            </record>
                                        </field>
                                    </record>
                                    <record id="tax_report_line_146" model="account.report.line">
                                        <field name="hierarchy_level">3</field>
                                        <field name="name">146 - Domestic purchases (20%)</field>
                                        <field name="code">l10n_ma_vat_146</field>
                                        <field name="expression_ids">
                                            <record id="tax_report_line_146_base_tax" model="account.report.expression">
                                                <field name="label">base_tax</field>
                                                <field name="engine">tax_tags</field>
                                                <field name="formula">146T</field>
                                            </record>
                                            <record id="tax_report_line_146_pro" model="account.report.expression">
                                                <field name="label">pro</field>
                                                <field name="engine">external</field>
                                                <field name="formula">most_recent</field>
                                                <field name="subformula">editable;rounding=0</field>
                                            </record>
                                            <record id="tax_report_line_146_tax" model="account.report.expression">
                                                <field name="label">tax</field>
                                                <field name="engine">aggregation</field>
                                                <field name="formula">l10n_ma_vat_146.base_tax * l10n_ma_vat_146.pro / 100</field>
                                            </record>
                                        </field>
                                    </record>
                                    <record id="tax_report_line_147" model="account.report.line">
                                        <field name="hierarchy_level">3</field>
                                        <field name="name">147 - Import purchases (14%)</field>
                                        <field name="code">l10n_ma_vat_147</field>
                                        <field name="expression_ids">
                                            <record id="tax_report_line_147_base_tax" model="account.report.expression">
                                                <field name="label">base_tax</field>
                                                <field name="engine">tax_tags</field>
                                                <field name="formula">147T</field>
                                            </record>
                                            <record id="tax_report_line_147_pro" model="account.report.expression">
                                                <field name="label">pro</field>
                                                <field name="engine">external</field>
                                                <field name="formula">most_recent</field>
                                                <field name="subformula">editable;rounding=0</field>
                                            </record>
                                            <record id="tax_report_line_147_tax" model="account.report.expression">
                                                <field name="label">tax</field>
                                                <field name="engine">aggregation</field>
                                                <field name="formula">l10n_ma_vat_147.base_tax * l10n_ma_vat_147.pro / 100</field>
                                            </record>
                                        </field>
                                    </record>
                                    <record id="tax_report_line_148" model="account.report.line">
                                        <field name="hierarchy_level">3</field>
                                        <field name="name">148 - Domestic purchases (14%)</field>
                                        <field name="code">l10n_ma_vat_148</field>
                                        <field name="expression_ids">
                                            <record id="tax_report_line_148_base_tax" model="account.report.expression">
                                                <field name="label">base_tax</field>
                                                <field name="engine">tax_tags</field>
                                                <field name="formula">148T</field>
                                            </record>
                                            <record id="tax_report_line_148_pro" model="account.report.expression">
                                                <field name="label">pro</field>
                                                <field name="engine">external</field>
                                                <field name="formula">most_recent</field>
                                                <field name="subformula">editable;rounding=0</field>
                                            </record>
                                            <record id="tax_report_line_148_tax" model="account.report.expression">
                                                <field name="label">tax</field>
                                                <field name="engine">aggregation</field>
                                                <field name="formula">l10n_ma_vat_148.base_tax * l10n_ma_vat_148.pro / 100</field>
                                            </record>
                                        </field>
                                    </record>
                                    <record id="tax_report_line_149" model="account.report.line">
                                        <field name="hierarchy_level">3</field>
                                        <field name="name">149 - Import purchases (10%)</field>
                                        <field name="code">l10n_ma_vat_149</field>
                                        <field name="expression_ids">
                                            <record id="tax_report_line_149_base_tax" model="account.report.expression">
                                                <field name="label">base_tax</field>
                                                <field name="engine">tax_tags</field>
                                                <field name="formula">149T</field>
                                            </record>
                                            <record id="tax_report_line_149_pro" model="account.report.expression">
                                                <field name="label">pro</field>
                                                <field name="engine">external</field>
                                                <field name="formula">most_recent</field>
                                                <field name="subformula">editable;rounding=0</field>
                                            </record>
                                            <record id="tax_report_line_149_tax" model="account.report.expression">
                                                <field name="label">tax</field>
                                                <field name="engine">aggregation</field>
                                                <field name="formula">l10n_ma_vat_149.base_tax * l10n_ma_vat_149.pro / 100</field>
                                            </record>
                                        </field>
                                    </record>
                                    <record id="tax_report_line_150" model="account.report.line">
                                        <field name="hierarchy_level">3</field>
                                        <field name="name">150 - Domestic purchases (10%)</field>
                                        <field name="code">l10n_ma_vat_150</field>
                                        <field name="expression_ids">
                                            <record id="tax_report_line_150_base_tax" model="account.report.expression">
                                                <field name="label">base_tax</field>
                                                <field name="engine">tax_tags</field>
                                                <field name="formula">150T</field>
                                            </record>
                                            <record id="tax_report_line_150_pro" model="account.report.expression">
                                                <field name="label">pro</field>
                                                <field name="engine">external</field>
                                                <field name="formula">most_recent</field>
                                                <field name="subformula">editable;rounding=0</field>
                                            </record>
                                            <record id="tax_report_line_150_tax" model="account.report.expression">
                                                <field name="label">tax</field>
                                                <field name="engine">aggregation</field>
                                                <field name="formula">l10n_ma_vat_150.base_tax * l10n_ma_vat_150.pro / 100</field>
                                            </record>
                                        </field>
                                    </record>
                                    <record id="tax_report_line_151" model="account.report.line">
                                        <field name="hierarchy_level">3</field>
                                        <field name="name">151 - Import purchases (7%)</field>
                                        <field name="code">l10n_ma_vat_151</field>
                                        <field name="expression_ids">
                                            <record id="tax_report_line_151_base_tax" model="account.report.expression">
                                                <field name="label">base_tax</field>
                                                <field name="engine">tax_tags</field>
                                                <field name="formula">151T</field>
                                            </record>
                                            <record id="tax_report_line_151_pro" model="account.report.expression">
                                                <field name="label">pro</field>
                                                <field name="engine">external</field>
                                                <field name="formula">most_recent</field>
                                                <field name="subformula">editable;rounding=0</field>
                                            </record>
                                            <record id="tax_report_line_151_tax" model="account.report.expression">
                                                <field name="label">tax</field>
                                                <field name="engine">aggregation</field>
                                                <field name="formula">l10n_ma_vat_151.base_tax * l10n_ma_vat_151.pro / 100</field>
                                            </record>
                                        </field>
                                    </record>
                                    <record id="tax_report_line_152" model="account.report.line">
                                        <field name="hierarchy_level">3</field>
                                        <field name="name">152 - Domestic purchases (7%)</field>
                                        <field name="code">l10n_ma_vat_152</field>
                                        <field name="expression_ids">
                                            <record id="tax_report_line_152_base_tax" model="account.report.expression">
                                                <field name="label">base_tax</field>
                                                <field name="engine">tax_tags</field>
                                                <field name="formula">152T</field>
                                            </record>
                                            <record id="tax_report_line_152_pro" model="account.report.expression">
                                                <field name="label">pro</field>
                                                <field name="engine">external</field>
                                                <field name="formula">most_recent</field>
                                                <field name="subformula">editable;rounding=0</field>
                                            </record>
                                            <record id="tax_report_line_152_tax" model="account.report.expression">
                                                <field name="label">tax</field>
                                                <field name="engine">aggregation</field>
                                                <field name="formula">l10n_ma_vat_152.base_tax * l10n_ma_vat_152.pro / 100</field>
                                            </record>
                                        </field>
                                    </record>
                                    <record id="tax_report_line_155" model="account.report.line">
                                        <field name="hierarchy_level">2</field>
                                        <field name="name">155 - Contract work (20%)</field>
                                        <field name="code">l10n_ma_vat_155</field>
                                        <field name="expression_ids">
                                            <record id="tax_report_line_155_base_tax" model="account.report.expression">
                                                <field name="label">base_tax</field>
                                                <field name="engine">tax_tags</field>
                                                <field name="formula">155T</field>
                                            </record>
                                            <record id="tax_report_line_155_pro" model="account.report.expression">
                                                <field name="label">pro</field>
                                                <field name="engine">external</field>
                                                <field name="formula">most_recent</field>
                                                <field name="subformula">editable;rounding=0</field>
                                            </record>
                                            <record id="tax_report_line_155_tax" model="account.report.expression">
                                                <field name="label">tax</field>
                                                <field name="engine">aggregation</field>
                                                <field name="formula">l10n_ma_vat_155.base_tax * l10n_ma_vat_155.pro / 100</field>
                                            </record>
                                        </field>
                                    </record>
                                    <record id="tax_report_line_156" model="account.report.line">
                                        <field name="hierarchy_level">3</field>
                                        <field name="name">156 - Subcontracting (real estate work) (20%)</field>
                                        <field name="code">l10n_ma_vat_156</field>
                                        <field name="expression_ids">
                                            <record id="tax_report_line_156_base_tax" model="account.report.expression">
                                                <field name="label">base_tax</field>
                                                <field name="engine">tax_tags</field>
                                                <field name="formula">156T</field>
                                            </record>
                                            <record id="tax_report_line_156_pro" model="account.report.expression">
                                                <field name="label">pro</field>
                                                <field name="engine">external</field>
                                                <field name="formula">most_recent</field>
                                                <field name="subformula">editable;rounding=0</field>
                                            </record>
                                            <record id="tax_report_line_156_tax" model="account.report.expression">
                                                <field name="label">tax</field>
                                                <field name="engine">aggregation</field>
                                                <field name="formula">l10n_ma_vat_156.base_tax * l10n_ma_vat_156.pro / 100</field>
                                            </record>
                                        </field>
                                    </record>
                                    <record id="tax_report_line_158" model="account.report.line">
                                        <field name="hierarchy_level">2</field>
                                        <field name="name">158 - Undisclosed VAT (Article 125 ter of the CGI)</field>
                                        <field name="code">l10n_ma_vat_158</field>
                                        <field name="expression_ids">
                                            <record id="tax_report_line_158_base_tax" model="account.report.expression">
                                                <field name="label">base_tax</field>
                                                <field name="engine">external</field>
                                                <field name="formula">most_recent</field>
                                                <field name="subformula">editable;rounding=2</field>
                                            </record>
                                            <record id="tax_report_line_158_pro" model="account.report.expression">
                                                <field name="label">pro</field>
                                                <field name="engine">external</field>
                                                <field name="formula">most_recent</field>
                                                <field name="subformula">editable;rounding=0</field>
                                            </record>
                                            <record id="tax_report_line_158_tax" model="account.report.expression">
                                                <field name="label">tax</field>
                                                <field name="engine">aggregation</field>
                                                <field name="formula">l10n_ma_vat_158.base_tax * l10n_ma_vat_158.pro / 100</field>
                                            </record>
                                        </field>
                                    </record>
                                </field>
                            </record>
                        </field>
                    </record>
                    <record id="tax_report_part_d_2" model="account.report.line">
                        <field name="hierarchy_level">1</field>
                        <field name="name">2 - FIXED ASSETS</field>
                        <field name="code">l10n_ma_vat_d_2</field>
                        <field name="expression_ids">
                            <record id="tax_report_part_d_2_tax_sum" model="account.report.expression">
                                <field name="label">tax_sum</field>
                                <field name="engine">aggregation</field>
                                <field name="formula">l10n_ma_vat_162.tax + l10n_ma_vat_163.tax + l10n_ma_vat_164.tax + l10n_ma_vat_165.tax + l10n_ma_vat_166.tax + l10n_ma_vat_167.tax + l10n_ma_vat_168.tax + l10n_ma_vat_160.tax + l10n_ma_vat_169.tax</field>
                            </record>
                        </field>
                        <field name="children_ids">
                            <record id="tax_report_line_162" model="account.report.line">
                                <field name="hierarchy_level">3</field>
                                <field name="name">162 - Import purchases (20%)</field>
                                <field name="code">l10n_ma_vat_162</field>
                                <field name="expression_ids">
                                    <record id="tax_report_line_162_base_tax" model="account.report.expression">
                                        <field name="label">base_tax</field>
                                        <field name="engine">tax_tags</field>
                                        <field name="formula">162T</field>
                                    </record>
                                    <record id="tax_report_line_162_pro" model="account.report.expression">
                                        <field name="label">pro</field>
                                        <field name="engine">external</field>
                                        <field name="formula">most_recent</field>
                                        <field name="subformula">editable;rounding=0</field>
                                    </record>
                                    <record id="tax_report_line_162_tax" model="account.report.expression">
                                        <field name="label">tax</field>
                                        <field name="engine">aggregation</field>
                                        <field name="formula">l10n_ma_vat_162.base_tax * l10n_ma_vat_162.pro / 100</field>
                                    </record>
                                </field>
                            </record>
                            <record id="tax_report_line_163" model="account.report.line">
                                <field name="hierarchy_level">3</field>
                                <field name="name">163 - Domestic purchases (20%)</field>
                                <field name="code">l10n_ma_vat_163</field>
                                <field name="expression_ids">
                                    <record id="tax_report_line_163_base_tax" model="account.report.expression">
                                        <field name="label">base_tax</field>
                                        <field name="engine">tax_tags</field>
                                        <field name="formula">163T</field>
                                    </record>
                                    <record id="tax_report_line_163_pro" model="account.report.expression">
                                        <field name="label">pro</field>
                                        <field name="engine">external</field>
                                        <field name="formula">most_recent</field>
                                        <field name="subformula">editable;rounding=0</field>
                                    </record>
                                    <record id="tax_report_line_163_tax" model="account.report.expression">
                                        <field name="label">tax</field>
                                        <field name="engine">aggregation</field>
                                        <field name="formula">l10n_ma_vat_163.base_tax * l10n_ma_vat_163.pro / 100</field>
                                    </record>
                                </field>
                            </record>
                            <record id="tax_report_line_164" model="account.report.line">
                                <field name="hierarchy_level">3</field>
                                <field name="name">164 - Self-supply other than constructions (20%)</field>
                                <field name="code">l10n_ma_vat_164</field>
                                <field name="expression_ids">
                                    <record id="tax_report_line_164_base_tax" model="account.report.expression">
                                        <field name="label">base_tax</field>
                                        <field name="engine">tax_tags</field>
                                        <field name="formula">164T</field>
                                    </record>
                                    <record id="tax_report_line_164_pro" model="account.report.expression">
                                        <field name="label">pro</field>
                                        <field name="engine">external</field>
                                        <field name="formula">most_recent</field>
                                        <field name="subformula">editable;rounding=0</field>
                                    </record>
                                    <record id="tax_report_line_164_tax" model="account.report.expression">
                                        <field name="label">tax</field>
                                        <field name="engine">aggregation</field>
                                        <field name="formula">l10n_ma_vat_164.base_tax * l10n_ma_vat_164.pro / 100</field>
                                    </record>
                                </field>
                            </record>
                            <record id="tax_report_line_165" model="account.report.line">
                                <field name="hierarchy_level">3</field>
                                <field name="name">165 - Facilities and installations (20%)</field>
                                <field name="code">l10n_ma_vat_165</field>
                                <field name="expression_ids">
                                    <record id="tax_report_line_165_base_tax" model="account.report.expression">
                                        <field name="label">base_tax</field>
                                        <field name="engine">tax_tags</field>
                                        <field name="formula">165T</field>
                                    </record>
                                    <record id="tax_report_line_165_pro" model="account.report.expression">
                                        <field name="label">pro</field>
                                        <field name="engine">external</field>
                                        <field name="formula">most_recent</field>
                                        <field name="subformula">editable;rounding=0</field>
                                    </record>
                                    <record id="tax_report_line_165_tax" model="account.report.expression">
                                        <field name="label">tax</field>
                                        <field name="engine">aggregation</field>
                                        <field name="formula">l10n_ma_vat_165.base_tax * l10n_ma_vat_165.pro / 100</field>
                                    </record>
                                </field>
                            </record>
                            <record id="tax_report_line_166" model="account.report.line">
                                <field name="hierarchy_level">3</field>
                                <field name="name">166 - Constructions (20%)</field>
                                <field name="code">l10n_ma_vat_166</field>
                                <field name="expression_ids">
                                    <record id="tax_report_line_166_base_tax" model="account.report.expression">
                                        <field name="label">base_tax</field>
                                        <field name="engine">tax_tags</field>
                                        <field name="formula">166T</field>
                                    </record>
                                    <record id="tax_report_line_166_pro" model="account.report.expression">
                                        <field name="label">pro</field>
                                        <field name="engine">external</field>
                                        <field name="formula">most_recent</field>
                                        <field name="subformula">editable;rounding=0</field>
                                    </record>
                                    <record id="tax_report_line_166_tax" model="account.report.expression">
                                        <field name="label">tax</field>
                                        <field name="engine">aggregation</field>
                                        <field name="formula">l10n_ma_vat_166.base_tax * l10n_ma_vat_166.pro / 100</field>
                                    </record>
                                </field>
                            </record>
                            <record id="tax_report_line_167" model="account.report.line">
                                <field name="hierarchy_level">3</field>
                                <field name="name">167 - Self-supply of constructions (20%)</field>
                                <field name="code">l10n_ma_vat_167</field>
                                <field name="expression_ids">
                                    <record id="tax_report_line_167_base_tax" model="account.report.expression">
                                        <field name="label">base_tax</field>
                                        <field name="engine">tax_tags</field>
                                        <field name="formula">167T</field>
                                    </record>
                                    <record id="tax_report_line_167_pro" model="account.report.expression">
                                        <field name="label">pro</field>
                                        <field name="engine">external</field>
                                        <field name="formula">most_recent</field>
                                        <field name="subformula">editable;rounding=0</field>
                                    </record>
                                    <record id="tax_report_line_167_tax" model="account.report.expression">
                                        <field name="label">tax</field>
                                        <field name="engine">aggregation</field>
                                        <field name="formula">l10n_ma_vat_167.base_tax * l10n_ma_vat_167.pro / 100</field>
                                    </record>
                                </field>
                            </record>
                            <record id="tax_report_line_168" model="account.report.line">
                                <field name="hierarchy_level">3</field>
                                <field name="name">168 - Other fixed assets (14%)</field>
                                <field name="code">l10n_ma_vat_168</field>
                                <field name="expression_ids">
                                    <record id="tax_report_line_168_base_tax" model="account.report.expression">
                                        <field name="label">base_tax</field>
                                        <field name="engine">tax_tags</field>
                                        <field name="formula">168T</field>
                                    </record>
                                    <record id="tax_report_line_168_pro" model="account.report.expression">
                                        <field name="label">pro</field>
                                        <field name="engine">external</field>
                                        <field name="formula">most_recent</field>
                                        <field name="subformula">editable;rounding=0</field>
                                    </record>
                                    <record id="tax_report_line_168_tax" model="account.report.expression">
                                        <field name="label">tax</field>
                                        <field name="engine">aggregation</field>
                                        <field name="formula">l10n_ma_vat_168.base_tax * l10n_ma_vat_168.pro / 100</field>
                                    </record>
                                </field>
                            </record>
                            <record id="tax_report_line_160" model="account.report.line">
                                <field name="hierarchy_level">3</field>
                                <field name="name">160 - Other fixed assets (10%)</field>
                                <field name="code">l10n_ma_vat_160</field>
                                <field name="expression_ids">
                                    <record id="tax_report_line_160_base_tax" model="account.report.expression">
                                        <field name="label">base_tax</field>
                                        <field name="engine">tax_tags</field>
                                        <field name="formula">160T</field>
                                    </record>
                                    <record id="tax_report_line_160_pro" model="account.report.expression">
                                        <field name="label">pro</field>
                                        <field name="engine">external</field>
                                        <field name="formula">most_recent</field>
                                        <field name="subformula">editable;rounding=0</field>
                                    </record>
                                    <record id="tax_report_line_160_tax" model="account.report.expression">
                                        <field name="label">tax</field>
                                        <field name="engine">aggregation</field>
                                        <field name="formula">l10n_ma_vat_160.base_tax * l10n_ma_vat_160.pro / 100</field>
                                    </record>
                                </field>
                            </record>
                            <record id="tax_report_line_169" model="account.report.line">
                                <field name="hierarchy_level">3</field>
                                <field name="name">169 - Other fixed assets (7%)</field>
                                <field name="code">l10n_ma_vat_169</field>
                                <field name="expression_ids">
                                    <record id="tax_report_line_169_base_tax" model="account.report.expression">
                                        <field name="label">base_tax</field>
                                        <field name="engine">tax_tags</field>
                                        <field name="formula">169T</field>
                                    </record>
                                    <record id="tax_report_line_169_pro" model="account.report.expression">
                                        <field name="label">pro</field>
                                        <field name="engine">external</field>
                                        <field name="formula">most_recent</field>
                                        <field name="subformula">editable;rounding=0</field>
                                    </record>
                                    <record id="tax_report_line_169_tax" model="account.report.expression">
                                        <field name="label">tax</field>
                                        <field name="engine">aggregation</field>
                                        <field name="formula">l10n_ma_vat_169.base_tax * l10n_ma_vat_169.pro / 100</field>
                                    </record>
                                </field>
                            </record>
                        </field>
                    </record>
                </field>
            </record>
            <record id="tax_report_line_182" model="account.report.line">
                <field name="hierarchy_level">0</field>
                <field name="name">182 - Total deductions (lines 140 to 169)</field>
                <field name="code">l10n_ma_vat_182</field>
                <field name="expression_ids">
                    <record id="tax_report_line_182_tax" model="account.report.expression">
                        <field name="label">tax</field>
                        <field name="engine">aggregation</field>
                        <field name="formula">l10n_ma_vat_d_1.tax_sum + l10n_ma_vat_d_2.tax_sum</field>
                    </record>
                </field>
            </record>
            <record id="tax_report_part_ded" model="account.report.line">
                <field name="hierarchy_level">0</field>
                <field name="name">Deduction adjustments</field>
                <field name="children_ids">
                    <record id="tax_report_line_170" model="account.report.line">
                        <field name="hierarchy_level">3</field>
                        <field name="name">170 - Credit from previous period</field>
                        <field name="code">l10n_ma_vat_170</field>
                        <field name="expression_ids">
                            <record id="tax_report_line_170_applied_carryover" model="account.report.expression">
                                <field name="label">_applied_carryover_tax</field>
                                <field name="engine">external</field>
                                <field name="formula">most_recent</field>
                                <field name="date_scope">previous_tax_period</field>
                            </record>
                            <record id="tax_report_line_170_initial_carryover" model="account.report.expression">
                                <field name="label">initial_carryover</field>
                                <field name="engine">tax_tags</field>
                                <field name="formula">170T</field>
                                <field name="date_scope">previous_tax_period</field>
                            </record>
                            <record id="tax_report_line_170_tax" model="account.report.expression">
                                <field name="label">tax</field>
                                <field name="engine">aggregation</field>
                                <field name="formula">l10n_ma_vat_170._applied_carryover_tax + l10n_ma_vat_170.initial_carryover</field>
                            </record>
                        </field>
                    </record>
                    <record id="tax_report_line_180" model="account.report.line">
                        <field name="hierarchy_level">3</field>
                        <field name="name">180 - Additional deduction of the pro-rata regularization</field>
                        <field name="code">l10n_ma_vat_180</field>
                        <field name="expression_ids">
                            <record id="tax_report_line_180_tax" model="account.report.expression">
                                <field name="label">tax</field>
                                <field name="engine">external</field>
                                <field name="formula">most_recent</field>
                                <field name="subformula">editable;rounding=2</field>
                            </record>
                        </field>
                    </record>
                    <record id="tax_report_line_181" model="account.report.line">
                        <field name="hierarchy_level">3</field>
                        <field name="name">181 - Cumulative tax credit fraction</field>
                        <field name="code">l10n_ma_vat_181</field>
                        <field name="expression_ids">
                            <record id="tax_report_line_181_tax" model="account.report.expression">
                                <field name="label">tax</field>
                                <field name="engine">external</field>
                                <field name="formula">most_recent</field>
                                <field name="subformula">editable;rounding=2</field>
                            </record>
                        </field>
                    </record>
                    <record id="tax_report_line_185" model="account.report.line">
                        <field name="hierarchy_level">3</field>
                        <field name="name">185 - Amount of cancelled credit, remaining chargeable, not reimbursed for investment property</field>
                        <field name="code">l10n_ma_vat_185</field>
                        <field name="expression_ids">
                            <record id="tax_report_line_185_tax" model="account.report.expression">
                                <field name="label">tax</field>
                                <field name="engine">external</field>
                                <field name="formula">most_recent</field>
                                <field name="subformula">editable;rounding=2</field>
                            </record>
                        </field>
                    </record>
                    <record id="tax_report_line_186" model="account.report.line">
                        <field name="hierarchy_level">3</field>
                        <field name="name">186 - Amount claimed as reimbursement for investment property (Article 103 bis of the CGI)</field>
                        <field name="code">l10n_ma_vat_186</field>
                        <field name="expression_ids">
                            <record id="tax_report_line_186_tax" model="account.report.expression">
                                <field name="label">tax</field>
                                <field name="engine">external</field>
                                <field name="formula">most_recent</field>
                                <field name="subformula">editable;rounding=2</field>
                            </record>
                        </field>
                    </record>
                    <record id="tax_report_line_187" model="account.report.line">
                        <field name="hierarchy_level">3</field>
                        <field name="name">187 - Amount of reimbursement authorized (Article 103 of the CGI)</field>
                        <field name="code">l10n_ma_vat_187</field>
                        <field name="expression_ids">
                            <record id="tax_report_line_187_tax" model="account.report.expression">
                                <field name="label">tax</field>
                                <field name="engine">external</field>
                                <field name="formula">most_recent</field>
                                <field name="subformula">editable;rounding=2</field>
                            </record>
                        </field>
                    </record>
                </field>
            </record>
            <record id="tax_report_line_190" model="account.report.line">
                <field name="hierarchy_level">0</field>
                <field name="name">190 - Total deductible VAT ((182 to 185) - (186 and 187))</field>
                <field name="code">l10n_ma_vat_190</field>
                <field name="expression_ids">
                    <record id="tax_report_line_190_tax" model="account.report.expression">
                        <field name="label">tax</field>
                        <field name="engine">aggregation</field>
                        <field name="formula">l10n_ma_vat_182.tax + l10n_ma_vat_170.tax + l10n_ma_vat_180.tax + l10n_ma_vat_181.tax + l10n_ma_vat_185.tax - l10n_ma_vat_186.tax - l10n_ma_vat_187.tax</field>
                    </record>
                </field>
            </record>
            <record id="tax_report_part_results" model="account.report.line">
                <field name="hierarchy_level">0</field>
                <field name="name">VAT Results</field>
                <field name="children_ids">
                    <record id="tax_report_line_200" model="account.report.line">
                        <field name="hierarchy_level">3</field>
                        <field name="name">200 - Payable VAT (130 - 190)</field>
                        <field name="code">l10n_ma_vat_200</field>
                        <field name="expression_ids">
                            <record id="tax_report_line_200_tax" model="account.report.expression">
                                <field name="label">tax</field>
                                <field name="engine">aggregation</field>
                                <field name="formula">l10n_ma_vat_130.tax - l10n_ma_vat_190.tax</field>
                                <field name="subformula">if_above(EUR(0))</field>
                            </record>
                        </field>
                    </record>
                    <record id="tax_report_line_201" model="account.report.line">
                        <field name="hierarchy_level">3</field>
                        <field name="name">201 - Credit (190 - 130)</field>
                        <field name="code">l10n_ma_vat_201</field>
                        <field name="expression_ids">
                            <record id="tax_report_line_201_tax" model="account.report.expression">
                                <field name="label">tax</field>
                                <field name="engine">aggregation</field>
                                <field name="formula">l10n_ma_vat_190.tax - l10n_ma_vat_130.tax</field>
                                <field name="subformula">if_above(EUR(0))</field>
                            </record>
                        </field>
                    </record>
                    <record id="tax_report_line_202" model="account.report.line">
                        <field name="hierarchy_level">3</field>
                        <field name="name">202 - 15% reduction of the credit for the period ((182 + 180) - 130) x 15%</field>
                        <field name="code">l10n_ma_vat_202</field>
                        <field name="expression_ids">
                            <record id="tax_report_line_202_tax" model="account.report.expression">
                                <field name="label">tax</field>
                                <field name="engine">external</field>
                                <field name="formula">most_recent</field>
                                <field name="subformula">editable;rounding=2</field>
                            </record>
                        </field>
                    </record>
                    <record id="tax_report_line_203" model="account.report.line">
                        <field name="hierarchy_level">3</field>
                        <field name="name">203 - Credit to be carried forward (201 - 202)</field>
                        <field name="code">l10n_ma_vat_203</field>
                        <field name="expression_ids">
                            <record id="tax_report_line_203_tax" model="account.report.expression">
                                <field name="label">tax</field>
                                <field name="engine">aggregation</field>
                                <field name="formula">l10n_ma_vat_201.tax - l10n_ma_vat_202.tax</field>
                                <field name="subformula">if_above(EUR(0))</field>
                            </record>
                            <record id="tax_report_line_203_carryover" model="account.report.expression">
                                <field name="label">_carryover_tax</field>
                                <field name="engine">aggregation</field>
                                <field name="formula">l10n_ma_vat_203.tax</field>
                                <field name="subformula">if_above(EUR(0))</field>
                                <field name="carryover_target">l10n_ma_vat_170._applied_carryover_tax</field>
                            </record>
                        </field>
                    </record>
                    <record id="tax_report_line_204" model="account.report.line">
                        <field name="hierarchy_level">3</field>
                        <field name="name">204 - Credit with payment including VAT due under articles 115, 116 and 117 of the CGI</field>
                        <field name="code">l10n_ma_vat_204</field>
                        <field name="expression_ids">
                            <record id="tax_report_line_204_tax_criterium" model="account.report.expression">
                                <field name="label">tax_criterium</field>
                                <field name="engine">aggregation</field>
                                <field name="formula">l10n_ma_vat_b.tax_sum - l10n_ma_vat_190.tax</field>
                            </record>
                            <record id="tax_report_line_204_tax" model="account.report.expression">
                                <field name="label">tax</field>
                                <field name="engine">aggregation</field>
                                <field name="formula">l10n_ma_vat_121.tax + l10n_ma_vat_122.tax + l10n_ma_vat_123.tax + l10n_ma_vat_124.tax + l10n_ma_vat_129.tax</field>
                                <field name="subformula">if_other_expr_below(l10n_ma_vat_204.tax_criterium, EUR(0))</field>
                            </record>
                        </field>
                    </record>
                </field>
            </record>
        </field>
    </record>
</odoo>
