<?xml version="1.0" encoding="utf-8"?>
<odoo auto_sequence="1">
    <record id="tax_report" model="account.report">
        <field name="name">Tax Report</field>
        <field name="name@nl">Belastingrapport</field>
        <field name="name@de">Steuerbericht</field>
        <field name="root_report_id" ref="account.generic_tax_report"/>
        <field name="country_id" ref="base.nl"/>
        <field name="allow_foreign_vat" eval="True"/>
        <field name="availability_condition">country</field>
        <field name="integer_rounding">DOWN</field>
        <field name="column_ids">
            <record id="tax_report_base" model="account.report.column">
                <field name="name">Base</field>
                <field name="name@nl">Grondslag</field>
                <field name="name@de">Bemessungsgrundlage</field>
                <field name="expression_label">base</field>
            </record>
            <record id="tax_report_tax" model="account.report.column">
                <field name="name">Tax</field>
                <field name="name@nl">Omzetbelasting</field>
                <field name="name@de">Umsatzsteuer</field>
                <field name="expression_label">tax</field>
            </record>
        </field>
        <field name="line_ids">
            <record id="tax_report_rub_1" model="account.report.line">
                <field name="name">Section 1: Domestic performance</field>
                <field name="name@nl">Rubriek 1: Prestaties binnenland</field>
                <field name="name@de">Abschnitt 1: Inländische Leistung</field>
                <field name="aggregation_formula"></field>
                <field name="hierarchy_level">0</field>
                <field name="code">NL_VAT_1</field>
                <field name="children_ids">
                    <record id="tax_report_rub_1a" model="account.report.line">
                        <field name="name">1a. Supplies/services taxed at high rate (turnover)</field>
                        <field name="name@nl">1a. Leveringen/diensten belast met hoog tarief (omzet)</field>
                        <field name="name@de">1a. Hoch besteuerte Lieferungen/Dienstleistungen (Umsatz)</field>
                        <field name="code">NL_VAT_1a</field>
                        <field name="expression_ids">
                            <record id="tax_report_rub_1a_tag" model="account.report.expression">
                                <field name="label">base</field>
                                <field name="engine">tax_tags</field>
                                <field name="formula">-1a (omzet)</field>
                            </record>
                            <record id="tax_report_rub_btw_1a_tag" model="account.report.expression">
                                <field name="label">tax</field>
                                <field name="engine">tax_tags</field>
                                <field name="formula">-1a (BTW)</field>
                            </record>
                        </field>
                    </record>
                    <record id="tax_report_rub_1b" model="account.report.line">
                        <field name="name">1b. Supplies/services taxed at low rate (turnover)</field>
                        <field name="name@nl">1b. Leveringen/diensten belast met laag tarief (omzet)</field>
                        <field name="name@de">1b. Niedrig besteuerte Lieferungen/Dienstleistungen (Umsatz)</field>
                        <field name="code">NL_VAT_1b</field>
                        <field name="expression_ids">
                            <record id="tax_report_rub_1b_tag" model="account.report.expression">
                                <field name="label">base</field>
                                <field name="engine">tax_tags</field>
                                <field name="formula">-1b (omzet)</field>
                            </record>
                            <record id="tax_report_rub_btw_1b_tag" model="account.report.expression">
                                <field name="label">tax</field>
                                <field name="engine">tax_tags</field>
                                <field name="formula">-1b (BTW)</field>
                            </record>
                        </field>
                    </record>
                    <record id="tax_report_rub_1c" model="account.report.line">
                        <field name="name">1c. Supplies/services taxed at other rates except 0% (turnover)</field>
                        <field name="name@nl">1c. Leveringen/diensten belast met overige tarieven behalve 0% (omzet)</field>
                        <field name="name@de">1c. Lieferungen/Dienstleistungen, die mit anderen Sätzen als 0 % besteuert werden (Umsatz)</field>
                        <field name="code">NL_VAT_1c</field>
                        <field name="expression_ids">
                            <record id="tax_report_rub_1c_tag" model="account.report.expression">
                                <field name="label">base</field>
                                <field name="engine">tax_tags</field>
                                <field name="formula">-1c (omzet)</field>
                            </record>
                            <record id="tax_report_rub_btw_1c_tag" model="account.report.expression">
                                <field name="label">tax</field>
                                <field name="engine">tax_tags</field>
                                <field name="formula">-1c (BTW)</field>
                            </record>
                        </field>
                    </record>
                    <record id="tax_report_rub_1d" model="account.report.line">
                        <field name="name">1d. Private use (turnover)</field>
                        <field name="name@nl">1d. Privégebruik (omzet)</field>
                        <field name="name@de">1d. Private Nutzung (Umsatz)</field>
                        <field name="code">NL_VAT_1d</field>
                        <field name="expression_ids">
                            <record id="tax_report_rub_1d_tag" model="account.report.expression">
                                <field name="label">base</field>
                                <field name="engine">tax_tags</field>
                                <field name="formula">1d (omzet)</field>
                            </record>
                            <record id="tax_report_rub_btw_1d_tag" model="account.report.expression">
                                <field name="label">tax</field>
                                <field name="engine">tax_tags</field>
                                <field name="formula">1d (BTW)</field>
                            </record>
                        </field>
                    </record>
                    <record id="tax_report_rub_1e" model="account.report.line">
                        <field name="name">1e. Supplies/services taxed at 0% or not taxed with you (turnover)</field>
                        <field name="name@nl">1e. Leveringen/diensten belast met 0% of niet bij u belast (omzet)</field>
                        <field name="name@de">1e. Lieferungen/Dienstleistungen, die bei Ihnen mit 0 % oder gar nicht besteuert werden (Umsatz)</field>
                        <field name="code">NL_VAT_1e</field>
                        <field name="expression_ids">
                            <record id="tax_report_rub_1e_tag" model="account.report.expression">
                                <field name="label">base</field>
                                <field name="engine">tax_tags</field>
                                <field name="formula">-1e (omzet)</field>
                            </record>
                            <record id="tax_report_rub_btw_1e_tag" model="account.report.expression">
                                <field name="label">tax</field>
                                <field name="engine">tax_tags</field>
                                <field name="formula">1e (BTW)</field>
                            </record>
                        </field>
                    </record>
                </field>
                <field name="expression_ids">
                    <record id="tax_report_sec1_base_agg" model="account.report.expression">
                        <field name="label">base</field>
                        <field name="engine">aggregation</field>
                        <field name="formula">NL_VAT_1a.base + NL_VAT_1b.base + NL_VAT_1c.base + NL_VAT_1d.base + NL_VAT_1e.base</field>
                    </record>
                    <record id="tax_report_sec1_tax_agg" model="account.report.expression">
                        <field name="label">tax</field>
                        <field name="engine">aggregation</field>
                        <field name="formula">NL_VAT_1a.tax + NL_VAT_1b.tax + NL_VAT_1c.tax + NL_VAT_1d.tax + NL_VAT_1e.tax</field>
                    </record>
                </field>
            </record>
            <record id="tax_report_rub_2" model="account.report.line">
                <field name="name">Section 2: Domestic reverse charge arrangements (turnover)</field>
                <field name="name@nl">Rubriek 2: Verleggingsregelingen binnenland (omzet)</field>
                <field name="name@de">Abschnitt 2: Inländische Umkehrung der Steuerschuldnerschaft (Umsatz)</field>
                <field name="aggregation_formula"></field>
                <field name="code">NL_VAT_2</field>
                <field name="hierarchy_level">0</field>
                <field name="children_ids">
                    <record id="tax_report_rub_2a" model="account.report.line">
                        <field name="name">2a. Supplies/services where the collection of turnover tax has been transferred to you (turnover)</field>
                        <field name="name@nl">2a. Leveringen/diensten waarbij de heffing van omzetbelasting naar u is verlegd (omzet)</field>
                        <field name="name@de">2a. Lieferungen/Dienstleistungen, bei denen die Umsatzsteuer an Sie abgeführt wurde (Umsatz)</field>
                        <field name="code">NL_VAT_2a</field>
                        <field name="expression_ids">
                            <record id="tax_report_rub_2a_tag" model="account.report.expression">
                                <field name="label">base</field>
                                <field name="engine">tax_tags</field>
                                <field name="formula">2a (omzet)</field>
                            </record>
                            <record id="tax_report_rub_btw_2a_tag" model="account.report.expression">
                                <field name="label">tax</field>
                                <field name="engine">tax_tags</field>
                                <field name="formula">-2a (BTW)</field>
                            </record>
                        </field>
                    </record>
                </field>
                <field name="expression_ids">
                    <record id="tax_report_sec2_base_agg" model="account.report.expression">
                        <field name="label">base</field>
                        <field name="engine">aggregation</field>
                        <field name="formula">NL_VAT_2a.base</field>
                    </record>
                    <record id="tax_report_sec2_tax_agg" model="account.report.expression">
                        <field name="label">tax</field>
                        <field name="engine">aggregation</field>
                        <field name="formula">NL_VAT_2a.tax</field>
                    </record>
                </field>
            </record>
            <record id="tax_report_rub_3" model="account.report.line">
                <field name="name">Section 3: Performance to or from abroad (turnover)</field>
                <field name="name@nl">Rubriek 3: Prestaties naar of in het buitenland (omzet)</field>
                <field name="name@de">Abschnitt 3: Leistungen ins oder aus dem Ausland (Umsatz)</field>
                <field name="aggregation_formula"></field>
                <field name="code">NL_VAT_3</field>
                <field name="hierarchy_level">0</field>
                <field name="children_ids">
                    <record id="tax_report_rub_3a" model="account.report.line">
                        <field name="name">3a. Deliveries to countries outside the EU (exports) (turnover)</field>
                        <field name="name@nl">3a. Leveringen naar landen buiten de EU (uitvoer) (omzet)</field>
                        <field name="name@de">3a. Lieferungen in Länder außerhalb der EU (Exporte) (Umsatz)</field>
                        <field name="code">NL_VAT_3a</field>
                        <field name="expression_ids">
                            <record id="tax_report_rub_3a_tag" model="account.report.expression">
                                <field name="label">base</field>
                                <field name="engine">tax_tags</field>
                                <field name="formula">-3a (omzet)</field>
                            </record>
                        </field>
                    </record>
                    <record id="tax_report_rub_3b" model="account.report.line">
                        <field name="name">3b. Deliveries to/services in countries within the EU and A-B-C supply chain transactions (turnover)</field>
                        <field name="name@nl">3b. Leveringen naar/diensten in landen binnen de EU en ABC-leveringen (omzet)</field>
                        <field name="name@de">3b. Lieferungen/Dienstleistungen in Ländern innerhalb der EU und ABC-Lieferungen (Umsatz)</field>
                        <field name="aggregation_formula"></field>
                        <field name="code">NL_VAT_3b</field>
                        <field name="children_ids">
                            <record id="tax_report_rub_3bg" model="account.report.line">
                                <field name="name">3bg. Deliveries of products to countries within the EU (turnover).</field>
                                <field name="name@nl">3bg. Leveringen van producten naar landen binnen de EU (omzet)</field>
                                <field name="name@de">3bg. Lieferungen von Produkten in Länder innerhalb der EU (Umsatz)</field>
                                <field name="code">NL_VAT_3bg</field>
                                <field name="expression_ids">
                                    <record id="tax_report_rub_3bg_tag" model="account.report.expression">
                                        <field name="label">base</field>
                                        <field name="engine">tax_tags</field>
                                        <field name="formula">-3bg (omzet)</field>
                                    </record>
                                </field>
                            </record>
                            <record id="tax_report_rub_3bt" model="account.report.line">
                                <field name="name">3bt. A-B-C supply chain transactions within the EU (turnover)</field>
                                <field name="name@nl">3bt. ABC-leveringen binnen de EU (omzet)</field>
                                <field name="name@de">3bt. ABC-Lieferungen innerhalb der EU (Umsatz)</field>
                                <field name="code">NL_VAT_3bt</field>
                                <field name="expression_ids">
                                    <record id="tax_report_rub_3bt_tag" model="account.report.expression">
                                        <field name="label">base</field>
                                        <field name="engine">tax_tags</field>
                                        <field name="formula">-3bt (omzet)</field>
                                    </record>
                                </field>
                            </record>
                            <record id="tax_report_rub_3bs" model="account.report.line">
                                <field name="name">3bs. Services in countries within the EU (revenue)</field>
                                <field name="name@nl">3bs. Diensten in landen binnen de EU (omzet)</field>
                                <field name="name@de">3bs. Dienstleistungen in Ländern innerhalb der EU (Umsatz)</field>
                                <field name="code">NL_VAT_3bs</field>
                                <field name="expression_ids">
                                    <record id="tax_report_rub_3bs_tag" model="account.report.expression">
                                        <field name="label">base</field>
                                        <field name="engine">tax_tags</field>
                                        <field name="formula">-3bs (omzet)</field>
                                    </record>
                                </field>
                            </record>
                        </field>
                        <field name="expression_ids">
                            <record id="tax_report_sec3b_base_agg" model="account.report.expression">
                                <field name="label">base</field>
                                <field name="engine">aggregation</field>
                                <field name="formula">NL_VAT_3bg.base + NL_VAT_3bt.base + NL_VAT_3bs.base</field>
                            </record>
                        </field>
                    </record>
                    <record id="tax_report_rub_3c" model="account.report.line">
                        <field name="name">3c. Installation/remote sales within the EU (turnover)</field>
                        <field name="name@nl">3c. Installatie/afstandsverkopen binnen de EU (omzet)</field>
                        <field name="name@de">3c. Installation/Fernabsatz innerhalb der EU (Umsatz)</field>
                        <field name="code">NL_VAT_3c</field>
                        <field name="expression_ids">
                            <record id="tax_report_rub_3c_tag" model="account.report.expression">
                                <field name="label">base</field>
                                <field name="engine">tax_tags</field>
                                <field name="formula">-3c (omzet)</field>
                            </record>
                        </field>
                    </record>
                </field>
                <field name="expression_ids">
                    <record id="tax_report_sec3_base_agg" model="account.report.expression">
                        <field name="label">base</field>
                        <field name="engine">aggregation</field>
                        <field name="formula">NL_VAT_3a.base + NL_VAT_3b.base + NL_VAT_3c.base</field>
                    </record>
                </field>
            </record>
            <record id="tax_report_rub_4" model="account.report.line">
                <field name="name">Section 4: Services provided to you from abroad (turnover)</field>
                <field name="name@nl">Rubriek 4: Prestaties vanuit het buitenland aan u verricht (omzet)</field>
                <field name="name@de">Abschnitt 4: Ihnen aus dem Ausland erbrachte Dienstleistungen (Umsatz)</field>
                <field name="aggregation_formula"></field>
                <field name="code">NL_VAT_4</field>
                <field name="hierarchy_level">0</field>
                <field name="children_ids">
                    <record id="tax_report_rub_4a" model="account.report.line">
                        <field name="name">4a. Supplies/services from countries outside the EU (imports) (turnover)</field>
                        <field name="name@nl">4a. Leveringen/diensten uit landen buiten de EU (invoer) (omzet)</field>
                        <field name="name@de">4a. Lieferungen/Dienstleistungen aus Ländern außerhalb der EU (Importe) (Umsatz)</field>
                        <field name="code">NL_VAT_4a</field>
                        <field name="expression_ids">
                            <record id="tax_report_rub_4a_tag" model="account.report.expression">
                                <field name="label">base</field>
                                <field name="engine">tax_tags</field>
                                <field name="formula">4a (omzet)</field>
                            </record>
                            <record id="tax_report_rub_btw_4a_tag" model="account.report.expression">
                                <field name="label">tax</field>
                                <field name="engine">tax_tags</field>
                                <field name="formula">-4a (BTW)</field>
                            </record>
                        </field>
                    </record>
                    <record id="tax_report_rub_4b" model="account.report.line">
                        <field name="name">4b. Supplies/services from countries within the EU (turnover)</field>
                        <field name="name@nl">4b. Leveringen/diensten uit landen binnen de EU (omzet)</field>
                        <field name="name@de">4b. Lieferungen/Dienstleistungen aus Ländern innerhalb der EU (Umsatz)</field>
                        <field name="code">NL_VAT_4b</field>
                        <field name="expression_ids">
                            <record id="tax_report_rub_4b_tag" model="account.report.expression">
                                <field name="label">base</field>
                                <field name="engine">tax_tags</field>
                                <field name="formula">4b (omzet)</field>
                            </record>
                            <record id="tax_report_rub_btw_4b_tag" model="account.report.expression">
                                <field name="label">tax</field>
                                <field name="engine">tax_tags</field>
                                <field name="formula">-4b (BTW)</field>
                            </record>
                        </field>
                    </record>
                </field>
                <field name="expression_ids">
                    <record id="tax_report_sec4_base_agg" model="account.report.expression">
                        <field name="label">base</field>
                        <field name="engine">aggregation</field>
                        <field name="formula">NL_VAT_4a.base + NL_VAT_4b.base</field>
                    </record>
                     <record id="tax_report_sec4_tax_agg" model="account.report.expression">
                        <field name="label">tax</field>
                        <field name="engine">aggregation</field>
                        <field name="formula">NL_VAT_4a.tax + NL_VAT_4b.tax</field>
                    </record>
                </field>
            </record>
            <record id="tax_report_rub_btw_5" model="account.report.line">
                <field name="name">Section 5: Input tax, small business scheme and total (VAT)</field>
                <field name="name@nl">Rubriek 5: Voorbelasting, kleineondernemersregeling en totaal (btw)</field>
                <field name="name@de">Abschnitt 5: Vorsteuer, Kleinunternehmerregelung und Gesamtbetrag (MwSt.)</field>
                <field name="aggregation_formula"></field>
                 <field name="code">NL_VAT_5</field>
                <field name="hierarchy_level">0</field>
                <field name="children_ids">
                    <record id="tax_report_rub_btw_5a" model="account.report.line">
                        <field name="name">5a. Sales tax payable (headings 1a to 4b) (VAT)</field>
                        <field name="name@nl">5a. Verschuldigde omzetbelasting (rubrieken 1a t/m 4b) (btw)</field>
                        <field name="name@de">5a. Zu zahlende Umsatzsteuer (Rubriken 1a bis 4b) (MwSt.)</field>
                        <field name="aggregation_formula"></field>
                         <field name="code">NL_VAT_5a</field>
                        <field name="expression_ids">
                             <record id="tax_report_rub_btw_5a_agg" model="account.report.expression">
                                <field name="label">tax</field>
                                <field name="engine">aggregation</field>
                                <field name="formula">NL_VAT_1.tax + NL_VAT_2.tax + NL_VAT_4.tax</field>
                            </record>
                        </field>
                    </record>
                    <record id="tax_report_rub_btw_5b" model="account.report.line">
                        <field name="name">5b. Input tax (VAT)</field>
                        <field name="name@nl">5b. Voorbelasting (btw)</field>
                        <field name="name@de">5b. Vorsteuer (MwSt.)</field>
                        <field name="code">NL_VAT_5b</field>
                        <field name="expression_ids">
                            <record id="tax_report_rub_btw_5b_tag" model="account.report.expression">
                                <field name="label">tax</field>
                                <field name="engine">tax_tags</field>
                                <field name="formula">5b (BTW)</field>
                            </record>
                        </field>
                    </record>
                    <record id="tax_report_rub_btw_5c" model="account.report.line">
                        <field name="name">5c. Subtotal (heading 5a minus 5b) (VAT)</field>
                        <field name="name@nl">5c. Subtotaal (rubriek 5a min 5b) (btw)</field>
                        <field name="name@de">5c. Zwischensumme (Rubrik 5a minus 5b) (MwSt.)</field>
                        <field name="aggregation_formula"></field>
                        <field name="code">NL_VAT_5c</field>
                        <field name="expression_ids">
                            <record id="tax_report_rub_btw_5c_agg" model="account.report.expression">
                                <field name="label">tax</field>
                                <field name="engine">aggregation</field>
                                <field name="formula">NL_VAT_5a.tax - NL_VAT_5b.tax</field>
                            </record>
                        </field>
                    </record>
                    <record id="tax_report_rub_btw_5d" model="account.report.line">
                        <field name="name">5d. Reduction according to the small business scheme (VAT)</field>
                        <field name="name@nl">5d. Vermindering volgens de kleineondernemersregeling (btw)</field>
                        <field name="name@de">5d. Ermäßigung nach der Kleinunternehmerregelung (MwSt.)</field>
                        <field name="code">NL_VAT_5d</field>
                        <field name="expression_ids">
                            <record id="tax_report_rub_btw_5d_tag" model="account.report.expression">
                                <field name="label">tax</field>
                                <field name="engine">tax_tags</field>
                                <field name="formula">5d (BTW)</field>
                            </record>
                        </field>
                    </record>
                    <record id="tax_report_rub_btw_5e" model="account.report.line">
                        <field name="name">5e. Estimate previous return(s) (VAT)</field>
                        <field name="name@nl">5e. Schatting vorige aangifte(n) (btw)</field>
                        <field name="name@de">5e. Schätzung der früheren Steuererklärung(en) (MwSt.)</field>
                        <field name="code">NL_VAT_5e</field>
                        <field name="expression_ids">
                            <record id="tax_report_rub_btw_5e_tag" model="account.report.expression">
                                <field name="label">tax</field>
                                <field name="engine">tax_tags</field>
                                <field name="formula">5e (BTW)</field>
                            </record>
                        </field>
                    </record>
                    <record id="tax_report_rub_btw_5f" model="account.report.line">
                        <field name="name">5f. Estimate this return (VAT)</field>
                        <field name="name@nl">5f. Schatting deze aangifte (btw)</field>
                        <field name="name@de">5f. Schätzung dieser Erklärung (MwSt.)</field>
                        <field name="code">NL_VAT_5f</field>
                        <field name="expression_ids">
                            <record id="tax_report_rub_btw_5f_tag" model="account.report.expression">
                                <field name="label">tax</field>
                                <field name="engine">tax_tags</field>
                                <field name="formula">5f (BTW)</field>
                            </record>
                        </field>
                    </record>
                    <record id="tax_report_rub_btw_5g" model="account.report.line">
                        <field name="name">5g. Total payable/reclaimable (VAT)</field>
                        <field name="name@nl">5g. Totaal te betalen/terug te vragen (btw)</field>
                        <field name="name@de">5g. Zu zahlender/rückforderbarer Gesamtbetrag (MwSt.)</field>
                        <field name="aggregation_formula"></field>
                        <field name="code">NL_VAT_5g</field>
                        <field name="expression_ids">
                            <record id="tax_report_rub_btw_5g_agg" model="account.report.expression">
                                <field name="label">tax</field>
                                <field name="engine">aggregation</field>
                                <field name="formula">NL_VAT_5c.tax - NL_VAT_5d.tax - NL_VAT_5e.tax - NL_VAT_5f.tax</field>
                            </record>
                        </field>
                    </record>
                </field>
            </record>
        </field>
    </record>
</odoo>
