<?xml version="1.0" encoding="utf-8"?>
<odoo>

    <record id="tax_report" model="account.report">
        <field name="name">Tax Report</field>
        <field name="root_report_id" ref="account.generic_tax_report"/>
        <field name="country_id" ref="base.hr"/>
        <field name="filter_fiscal_position" eval="True"/>
        <field name="availability_condition">country</field>
        <field name="column_ids">
            <record id="tax_report_balance" model="account.report.column">
                <field name="name">Balance</field>
                <field name="expression_label">balance</field>
            </record>
        </field>
        <field name="line_ids">
            <record id="account_tax_report_line_ostali_porezi" model="account.report.line">
                <field name="name">Ostali porezi, carine, trošarine i sl.</field>
                <field name="aggregation_formula">POREZ_NA_POTROSNJU.balance</field>
                <field name="children_ids">
                    <record id="account_tax_report_line_porez" model="account.report.line">
                        <field name="name">Porez na potrošnju</field>
                        <field name="code">POREZ_NA_POTROSNJU</field>
                        <field name="expression_ids">
                            <record id="account_tax_report_line_porez_formula" model="account.report.expression">
                                <field name="label">balance</field>
                                <field name="engine">external</field>
                                <field name="formula">sum</field>
                                <field name="subformula">editable;rounding=2</field>
                            </record>
                        </field>
                    </record>
                </field>
            </record>
            <record id="account_tax_report_line_pdv" model="account.report.line">
                <field name="name">PDV</field>
                <field name="aggregation_formula">(((koje.balance + (izvozne.balance + isporuke.balance + tuzemne.balance + ostale.balance) + isporuke_po.balance) + (izdani_10.balance + izdani_25.balance)) + (pretporez_10.balance + (0.7 * pretporez_25_70.balance + 0.3 * pretporez_25_30.balance) + placeni_uvozu.balance + placeni_usluge_10.balance + placeni_usluge_25.balance + pretporez_0.balance)) + (((izdani_racuni.balance + izdani_racuni_25.balance) + (pretporez_10_tax.balance + pretporez_25_tax.balance + placeni_uvozu_tax.balance + placeni_usluge_10_tax.balance + placeni_usluge_25_ta.balance))) + ((nepriznati_pretporez_25_other.balance + (0.3 * nepriznati_pretporez_25_30.balance) + (0.7 * nepriznati_pretporez_25_70.balance)) + pretporez_koji.balance + (nepriznati_pretporez_25_tax.balance) + (pretporez_koji_neplaceni.balance + pretporez_koji_neplaceni_25.balance + pretporez_koji_neplaceni_usluge_25.balance))</field>
                <field name="children_ids">
                    <record id="account_tax_report_line_obrazac_pdv" model="account.report.line">
                        <field name="name">OBRAZAC PDV</field>
                        <field name="aggregation_formula">(((koje.balance + (izvozne.balance + isporuke.balance + tuzemne.balance + ostale.balance) + isporuke_po.balance) + (izdani_10.balance + izdani_25.balance)) + (pretporez_10.balance + (0.7 * pretporez_25_70.balance + 0.3 * pretporez_25_30.balance) + placeni_uvozu.balance + placeni_usluge_10.balance + placeni_usluge_25.balance + pretporez_0.balance)) + (((izdani_racuni.balance + izdani_racuni_25.balance) + (pretporez_10_tax.balance + pretporez_25_tax.balance + placeni_uvozu_tax.balance + placeni_usluge_10_tax.balance + placeni_usluge_25_ta.balance)))</field>
                        <field name="children_ids">
                            <record id="account_tax_report_line_osnovica" model="account.report.line">
                                <field name="name">O S N O V I C A</field>
                                <field name="aggregation_formula">((koje.balance + (izvozne.balance + isporuke.balance + tuzemne.balance + ostale.balance) + isporuke_po.balance) + (izdani_10.balance + izdani_25.balance)) + (pretporez_10.balance + (0.7 * pretporez_25_70.balance + 0.3 * pretporez_25_30.balance) + placeni_uvozu.balance + placeni_usluge_10.balance + placeni_usluge_25.balance + pretporez_0.balance)</field>
                                <field name="children_ids">
                                    <record id="account_tax_report_line_obracun" model="account.report.line">
                                        <field name="name">Obračun isporuka (I+II)</field>
                                        <field name="aggregation_formula">OBRACUN_I_ISPORUKE_NE_PODLIJEZU__OSLOBODENE.balance + OBRACUN_II_OPOREZIVE_ISPORUKE.balance</field>
                                        <field name="children_ids">
                                            <record id="account_tax_report_line_obracun_isporuke" model="account.report.line">
                                                <field name="name">I. Isporuke ne podliježu / oslobođene</field>
                                                <field name="code">OBRACUN_I_ISPORUKE_NE_PODLIJEZU__OSLOBODENE</field>
                                                <field name="aggregation_formula">koje.balance + I2_OSLOBODENE_UKUPNO.balance + isporuke_po.balance</field>
                                                <field name="children_ids">
                                                    <record id="account_tax_report_line_koje" model="account.report.line">
                                                        <field name="name">I.1. Koje ne podliježu oporezivanju</field>
                                                        <field name="code">koje</field>
                                                        <field name="expression_ids">
                                                            <record id="account_tax_report_line_koje_tag" model="account.report.expression">
                                                                <field name="label">balance</field>
                                                                <field name="engine">tax_tags</field>
                                                                <field name="formula">I.1. Koje ne podliježu oporezivanju</field>
                                                            </record>
                                                        </field>
                                                    </record>
                                                    <record id="account_tax_report_line_oslobodene" model="account.report.line">
                                                        <field name="name">I.2. Oslobođene ukupno</field>
                                                        <field name="code">I2_OSLOBODENE_UKUPNO</field>
                                                        <field name="aggregation_formula">izvozne.balance + isporuke.balance + tuzemne.balance + ostale.balance</field>
                                                        <field name="children_ids">
                                                            <record id="account_tax_report_line_izvozne" model="account.report.line">
                                                                <field name="name">I.2.1. Izvozne</field>
                                                                <field name="code">izvozne</field>
                                                                <field name="expression_ids">
                                                                    <record id="account_tax_report_line_izvozne_tag" model="account.report.expression">
                                                                        <field name="label">balance</field>
                                                                        <field name="engine">tax_tags</field>
                                                                        <field name="formula">I.2.1. Izvozne</field>
                                                                    </record>
                                                                </field>
                                                            </record>
                                                            <record id="account_tax_report_line_isporuke" model="account.report.line">
                                                                <field name="name">I.2.2. Isporuke dobara</field>
                                                                <field name="code">isporuke</field>
                                                                <field name="expression_ids">
                                                                    <record id="account_tax_report_line_isporuke_tag" model="account.report.expression">
                                                                        <field name="label">balance</field>
                                                                        <field name="engine">tax_tags</field>
                                                                        <field name="formula">I.2.2. Isporuke dobara</field>
                                                                    </record>
                                                                </field>
                                                            </record>
                                                            <record id="account_tax_report_line_tuzemne" model="account.report.line">
                                                                <field name="name">I.2.3. Tuzemne - bez prava odbitka</field>
                                                                <field name="code">tuzemne</field>
                                                                <field name="expression_ids">
                                                                    <record id="account_tax_report_line_tuzemne_tag" model="account.report.expression">
                                                                        <field name="label">balance</field>
                                                                        <field name="engine">tax_tags</field>
                                                                        <field name="formula">I.2.3. Tuzemne  - bez prava odbitka</field>
                                                                    </record>
                                                                </field>
                                                            </record>
                                                            <record id="account_tax_report_line_ostale" model="account.report.line">
                                                                <field name="name">I.2.4. Ostale – s pravom odbitka</field>
                                                                <field name="code">ostale</field>
                                                                <field name="expression_ids">
                                                                    <record id="account_tax_report_line_ostale_tag" model="account.report.expression">
                                                                        <field name="label">balance</field>
                                                                        <field name="engine">tax_tags</field>
                                                                        <field name="formula">I.2.4. Ostale – s pravom odbitka</field>
                                                                    </record>
                                                                </field>
                                                            </record>
                                                        </field>
                                                    </record>
                                                    <record id="account_tax_report_line_isporuke_po" model="account.report.line">
                                                        <field name="name">I.3. Isporuke po stopi od 0%</field>
                                                        <field name="code">isporuke_po</field>
                                                        <field name="expression_ids">
                                                            <record id="account_tax_report_line_isporuke_po_tag" model="account.report.expression">
                                                                <field name="label">balance</field>
                                                                <field name="engine">tax_tags</field>
                                                                <field name="formula">I.3. Isporuke po stopi od 0%</field>
                                                            </record>
                                                        </field>
                                                    </record>
                                                </field>
                                            </record>
                                            <record id="account_tax_report_line_oporezive" model="account.report.line">
                                                <field name="name">II. Oporezive isporuke</field>
                                                <field name="code">OBRACUN_II_OPOREZIVE_ISPORUKE</field>
                                                <field name="aggregation_formula">izdani_10.balance + OBRACUN_II2_IZDANI_RACUNI_PO_STOPI_22_I_23.balance + izdani_25.balance + II4_NENAPLACENI_IZVOZ.balance + II5_OSLOBODENJE_IZVOZA__PUTNICKI_PROMET.balance</field>
                                                <field name="children_ids">
                                                    <record id="account_tax_report_line_izdani_10" model="account.report.line">
                                                        <field name="name">II.1 Izdani računi po stopi 10%</field>
                                                        <field name="code">izdani_10</field>
                                                        <field name="expression_ids">
                                                            <record id="account_tax_report_line_izdani_10_tag" model="account.report.expression">
                                                                <field name="label">balance</field>
                                                                <field name="engine">tax_tags</field>
                                                                <field name="formula">II.1 Izdani računi po stopi 10% (osnovica)</field>
                                                            </record>
                                                        </field>
                                                    </record>
                                                    <record id="account_tax_report_line_izdani_22_i_23" model="account.report.line">
                                                        <field name="name">II.2 Izdani računi po stopi 22% i 23%</field>
                                                        <field name="code">OBRACUN_II2_IZDANI_RACUNI_PO_STOPI_22_I_23</field>
                                                        <field name="expression_ids">
                                                            <record id="account_tax_report_line_izdani_22_i_23_formula" model="account.report.expression">
                                                                <field name="label">balance</field>
                                                                <field name="engine">external</field>
                                                                <field name="formula">sum</field>
                                                                <field name="subformula">editable;rounding=2</field>
                                                            </record>
                                                        </field>
                                                    </record>
                                                    <record id="account_tax_report_line_izdani_25" model="account.report.line">
                                                        <field name="name">II.3 Izdani računi po stopi 25%</field>
                                                        <field name="code">izdani_25</field>
                                                        <field name="expression_ids">
                                                            <record id="account_tax_report_line_izdani_25_tag" model="account.report.expression">
                                                                <field name="label">balance</field>
                                                                <field name="engine">tax_tags</field>
                                                                <field name="formula">II.3 Izdani računi po stopi 25% (osnovica)</field>
                                                            </record>
                                                        </field>
                                                    </record>
                                                    <record id="account_tax_report_line_nenaplaceni" model="account.report.line">
                                                        <field name="name">II.4 Nenaplaćeni izvoz</field>
                                                        <field name="code">II4_NENAPLACENI_IZVOZ</field>
                                                        <field name="expression_ids">
                                                            <record id="account_tax_report_line_nenaplaceni_formula" model="account.report.expression">
                                                                <field name="label">balance</field>
                                                                <field name="engine">external</field>
                                                                <field name="formula">sum</field>
                                                                <field name="subformula">editable;rounding=2</field>
                                                            </record>
                                                        </field>
                                                    </record>
                                                    <record id="account_tax_report_line_oslobodenje" model="account.report.line">
                                                        <field name="name">II.5 Oslobođenje izvoza – putnički promet</field>
                                                        <field name="code">II5_OSLOBODENJE_IZVOZA__PUTNICKI_PROMET</field>
                                                        <field name="expression_ids">
                                                            <record id="account_tax_report_line_oslobodenje_formula" model="account.report.expression">
                                                                <field name="label">balance</field>
                                                                <field name="engine">external</field>
                                                                <field name="formula">sum</field>
                                                                <field name="subformula">editable;rounding=2</field>
                                                            </record>
                                                        </field>
                                                    </record>
                                                </field>
                                            </record>
                                        </field>
                                    </record>
                                    <record id="account_tax_report_line_obracunani" model="account.report.line">
                                        <field name="name">III. OBRAČUNANI PRETPOREZ</field>
                                        <field name="aggregation_formula">pretporez_10.balance + (0.7 * pretporez_25_70.balance + 0.3 * pretporez_25_30.balance) + placeni_uvozu.balance + placeni_usluge_10.balance + placeni_usluge_25.balance + pretporez_0.balance</field>
                                        <field name="children_ids">
                                            <record id="account_tax_report_line_pretporez_10" model="account.report.line">
                                                <field name="name">III.1. Pretporez 10%</field>
                                                <field name="code">pretporez_10</field>
                                                <field name="expression_ids">
                                                    <record id="account_tax_report_line_pretporez_10_tag" model="account.report.expression">
                                                        <field name="label">balance</field>
                                                        <field name="engine">tax_tags</field>
                                                        <field name="formula">III.1. Pretporez 10% (osnovica)</field>
                                                    </record>
                                                </field>
                                            </record>
                                            <record id="account_tax_report_line_pretporez_22_i_23" model="account.report.line">
                                                <field name="name">III.2. Pretporez 22% i23%</field>
                                                <field name="expression_ids">
                                                    <record id="account_tax_report_line_pretporez_22_i_23_tag" model="account.report.expression">
                                                        <field name="label">balance</field>
                                                        <field name="engine">tax_tags</field>
                                                        <field name="formula">III.2. Pretporez 22% i23%</field>
                                                    </record>
                                                </field>
                                            </record>
                                            <record id="account_tax_report_line_pretporez_25" model="account.report.line">
                                                <field name="name">III.3. Pretporez 25%</field>
                                                <field name="aggregation_formula">0.3 * pretporez_25_30.balance + 0.7 * pretporez_25_70.balance</field>
                                                <field name="children_ids">
                                                    <record id="account_tax_report_line_pretporez_25_30" model="account.report.line">
                                                        <field name="name">III.3. Pretporez 25% (30%)</field>
                                                        <field name="code">pretporez_25_30</field>
                                                        <field name="expression_ids">
                                                            <record id="account_tax_report_line_pretporez_25_30_tag" model="account.report.expression">
                                                                <field name="label">balance</field>
                                                                <field name="engine">tax_tags</field>
                                                                <field name="formula">III.3. Pretporez 25% (30%)</field>
                                                            </record>
                                                        </field>
                                                    </record>
                                                    <record id="account_tax_report_line_pretporez_25_70" model="account.report.line">
                                                        <field name="name">III.3. Pretporez 25% (70%)</field>
                                                        <field name="code">pretporez_25_70</field>
                                                        <field name="expression_ids">
                                                            <record id="account_tax_report_line_pretporez_25_70_tag" model="account.report.expression">
                                                                <field name="label">balance</field>
                                                                <field name="engine">tax_tags</field>
                                                                <field name="formula">III.3. Pretporez 25% (70%)</field>
                                                            </record>
                                                        </field>
                                                    </record>
                                                </field>
                                            </record>
                                            <record id="account_tax_report_line_placeni_uvozu" model="account.report.line">
                                                <field name="name">III.4. Plaćeni PP pri uvozu</field>
                                                <field name="code">placeni_uvozu</field>
                                                <field name="expression_ids">
                                                    <record id="account_tax_report_line_placeni_uvozu_tag" model="account.report.expression">
                                                        <field name="label">balance</field>
                                                        <field name="engine">tax_tags</field>
                                                        <field name="formula">III.4. Plaćeni PP pri uvozu (osnovica)</field>
                                                    </record>
                                                </field>
                                            </record>
                                            <record id="account_tax_report_line_placeni_usluge_10" model="account.report.line">
                                                <field name="name">III.5. Plaćeni PP na ino usluge 10%</field>
                                                <field name="code">placeni_usluge_10</field>
                                                <field name="expression_ids">
                                                    <record id="account_tax_report_line_placeni_usluge_10_tag" model="account.report.expression">
                                                        <field name="label">balance</field>
                                                        <field name="engine">tax_tags</field>
                                                        <field name="formula">III.5. Plaćeni PP na ino usluge 10% (osnovica)</field>
                                                    </record>
                                                </field>
                                            </record>
                                            <record id="account_tax_report_line_placeni_usluge_22_i_23" model="account.report.line">
                                                <field name="name">III.6. Plaćeni PP na ino usluge 22% i 23%</field>
                                                <field name="expression_ids">
                                                    <record id="account_tax_report_line_placeni_usluge_22_i_23_tag" model="account.report.expression">
                                                        <field name="label">balance</field>
                                                        <field name="engine">tax_tags</field>
                                                        <field name="formula">III.6. Plaćeni PP na ino usluge 22% i 23%</field>
                                                    </record>
                                                </field>
                                            </record>
                                            <record id="account_tax_report_line_placeni_usluge_25" model="account.report.line">
                                                <field name="name">III.7. Plaćeni PP na ino usluge 25%</field>
                                                <field name="code">placeni_usluge_25</field>
                                                <field name="expression_ids">
                                                    <record id="account_tax_report_line_placeni_usluge_25_tag" model="account.report.expression">
                                                        <field name="label">balance</field>
                                                        <field name="engine">tax_tags</field>
                                                        <field name="formula">III.7. Plaćeni PP na ino usluge 25% (osnovica)</field>
                                                    </record>
                                                </field>
                                            </record>
                                            <record id="account_tax_report_line_pretporez_0" model="account.report.line">
                                                <field name="name">III.0. Pretporez 0%</field>
                                                <field name="code">pretporez_0</field>
                                                <field name="expression_ids">
                                                    <record id="account_tax_report_line_pretporez_0_tag" model="account.report.expression">
                                                        <field name="label">balance</field>
                                                        <field name="engine">tax_tags</field>
                                                        <field name="formula">III.0. Pretporez 0%</field>
                                                    </record>
                                                </field>
                                            </record>
                                        </field>
                                    </record>
                                </field>
                            </record>
                            <record id="account_tax_report_line_pdv_porez" model="account.report.line">
                                <field name="name">PDV – POREZ – razlika za uplatu/preplata</field>
                                <field name="aggregation_formula">VI_POREZNA_OBVEZA_U_RAZDOBLJU.balance + UPLACENO_U_RAZDOBLJU.balance</field>
                                <field name="children_ids">
                                    <record id="account_tax_report_line_porezna" model="account.report.line">
                                        <field name="name">VI. POREZNA OBVEZA U RAZDOBLJU</field>
                                        <field name="code">VI_POREZNA_OBVEZA_U_RAZDOBLJU</field>
                                        <field name="aggregation_formula">POREZNA_I_ISPORUKE_NE_PODLIJEZU__OSLOBODENE.balance + POREZNA_II_OPOREZIVE_ISPORUKE.balance + III_OBRACUNANI_PRETPOREZ.balance</field>
                                        <field name="children_ids">
                                            <record id="account_tax_report_line_isporuke_ne" model="account.report.line">
                                                <field name="name">I. Isporuke ne podliježu / oslobođene</field>
                                                <field name="code">POREZNA_I_ISPORUKE_NE_PODLIJEZU__OSLOBODENE</field>
                                                <field name="expression_ids">
                                                    <record id="account_tax_report_line_isporuke_ne_formula" model="account.report.expression">
                                                        <field name="label">balance</field>
                                                        <field name="engine">external</field>
                                                        <field name="formula">sum</field>
                                                        <field name="subformula">editable;rounding=2</field>
                                                    </record>
                                                </field>
                                            </record>
                                            <record id="account_tax_report_line_oporezive_isporuke" model="account.report.line">
                                                <field name="name">II. Oporezive isporuke</field>
                                                <field name="code">POREZNA_II_OPOREZIVE_ISPORUKE</field>
                                                <field name="aggregation_formula">izdani_racuni.balance + POREZNA_II2_IZDANI_RACUNI_PO_STOPI_22_I_23.balance + izdani_racuni_25.balance + II4_OSLOBODENJE_IZVOZA__PUTNICKI_PROMET.balance</field>
                                                <field name="children_ids">
                                                    <record id="account_tax_report_line_izdani_racuni" model="account.report.line">
                                                        <field name="name">II.1 Izdani računi po stopi 10%</field>
                                                        <field name="code">izdani_racuni</field>
                                                        <field name="expression_ids">
                                                            <record id="account_tax_report_line_izdani_racuni_tag" model="account.report.expression">
                                                                <field name="label">balance</field>
                                                                <field name="engine">tax_tags</field>
                                                                <field name="formula">II.1 Izdani računi po stopi 10% (porez)</field>
                                                            </record>
                                                        </field>
                                                    </record>
                                                    <record id="account_tax_report_line_izdani_racuni_22_i_23" model="account.report.line">
                                                        <field name="name">II.2 Izdani računi po stopi 22% i 23%</field>
                                                        <field name="code">POREZNA_II2_IZDANI_RACUNI_PO_STOPI_22_I_23</field>
                                                        <field name="expression_ids">
                                                            <record id="account_tax_report_line_izdani_racuni_22_i_23_formula" model="account.report.expression">
                                                                <field name="label">balance</field>
                                                                <field name="engine">external</field>
                                                                <field name="formula">sum</field>
                                                                <field name="subformula">editable;rounding=2</field>
                                                            </record>
                                                        </field>
                                                    </record>
                                                    <record id="account_tax_report_line_izdani_racuni_25" model="account.report.line">
                                                        <field name="name">II.3 Izdani računi po stopi 25%</field>
                                                        <field name="code">izdani_racuni_25</field>
                                                        <field name="expression_ids">
                                                            <record id="account_tax_report_line_izdani_racuni_25_tag" model="account.report.expression">
                                                                <field name="label">balance</field>
                                                                <field name="engine">tax_tags</field>
                                                                <field name="formula">II.3 Izdani računi po stopi 25% (porez)</field>
                                                            </record>
                                                        </field>
                                                    </record>
                                                    <record id="account_tax_report_line_oslobodenje_izvoza" model="account.report.line">
                                                        <field name="name">II.4 Oslobođenje izvoza – putnički promet</field>
                                                        <field name="code">II4_OSLOBODENJE_IZVOZA__PUTNICKI_PROMET</field>
                                                        <field name="expression_ids">
                                                            <record id="account_tax_report_line_oslobodenje_izvoza_formula" model="account.report.expression">
                                                                <field name="label">balance</field>
                                                                <field name="engine">external</field>
                                                                <field name="formula">sum</field>
                                                                <field name="subformula">editable;rounding=2</field>
                                                            </record>
                                                        </field>
                                                    </record>
                                                </field>
                                            </record>
                                            <record id="account_tax_report_line_obracunani_pretporez" model="account.report.line">
                                                <field name="name">III. OBRAČUNANI PRETPOREZ</field>
                                                <field name="code">III_OBRACUNANI_PRETPOREZ</field>
                                                <field name="aggregation_formula">pretporez_10_tax.balance + III2_PRETPOREZ_22_I_23.balance + pretporez_25_tax.balance + placeni_uvozu_tax.balance + placeni_usluge_10_tax.balance + III6_PLACENI_PP_NA_INO_USLUGE_22_I_23.balance + placeni_usluge_25_ta.balance + III8_ISPRAVCI_PRETPOREZA.balance</field>
                                                <field name="children_ids">
                                                    <record id="account_tax_report_line_pretporez_10_tax" model="account.report.line">
                                                        <field name="name">III.1. Pretporez 10%</field>
                                                        <field name="code">pretporez_10_tax</field>
                                                        <field name="expression_ids">
                                                            <record id="account_tax_report_line_pretporez_10_tax_tag" model="account.report.expression">
                                                                <field name="label">balance</field>
                                                                <field name="engine">tax_tags</field>
                                                                <field name="formula">III.1. Pretporez 10% (porez)</field>
                                                            </record>
                                                        </field>
                                                    </record>
                                                    <record id="account_tax_report_line_pretporez_22_i_23_tax" model="account.report.line">
                                                        <field name="name">III.2. Pretporez 22% i 23%</field>
                                                        <field name="code">III2_PRETPOREZ_22_I_23</field>
                                                        <field name="expression_ids">
                                                            <record id="account_tax_report_line_pretporez_22_i_23_tax_formula" model="account.report.expression">
                                                                <field name="label">balance</field>
                                                                <field name="engine">external</field>
                                                                <field name="formula">sum</field>
                                                                <field name="subformula">editable;rounding=2</field>
                                                            </record>
                                                        </field>
                                                    </record>
                                                    <record id="account_tax_report_line_pretporez_25_tax" model="account.report.line">
                                                        <field name="name">III.3. Pretporez 25%</field>
                                                        <field name="code">pretporez_25_tax</field>
                                                        <field name="expression_ids">
                                                            <record id="account_tax_report_line_pretporez_25_tax_tag" model="account.report.expression">
                                                                <field name="label">balance</field>
                                                                <field name="engine">tax_tags</field>
                                                                <field name="formula">III.3. Pretporez 25%</field>
                                                            </record>
                                                        </field>
                                                    </record>
                                                    <record id="account_tax_report_line_placeni_uvozu_tax" model="account.report.line">
                                                        <field name="name">III.4. Plaćeni PP pri uvozu</field>
                                                        <field name="code">placeni_uvozu_tax</field>
                                                        <field name="expression_ids">
                                                            <record id="account_tax_report_line_placeni_uvozu_tax_tag" model="account.report.expression">
                                                                <field name="label">balance</field>
                                                                <field name="engine">tax_tags</field>
                                                                <field name="formula">III.4. Plaćeni PP pri uvozu (porez)</field>
                                                            </record>
                                                        </field>
                                                    </record>
                                                    <record id="account_tax_report_line_placeni_usluge_10_tax" model="account.report.line">
                                                        <field name="name">III.5. Plaćeni PP na ino usluge 10%</field>
                                                        <field name="code">placeni_usluge_10_tax</field>
                                                        <field name="expression_ids">
                                                            <record id="account_tax_report_line_placeni_usluge_10_tax_tag" model="account.report.expression">
                                                                <field name="label">balance</field>
                                                                <field name="engine">tax_tags</field>
                                                                <field name="formula">III.5. Plaćeni PP na ino usluge 10% (porez)</field>
                                                            </record>
                                                        </field>
                                                    </record>
                                                    <record id="account_tax_report_line_placeni_usluge_22_i_23_tax" model="account.report.line">
                                                        <field name="name">III.6. Plaćeni PP na ino usluge 22% i 23%</field>
                                                        <field name="code">III6_PLACENI_PP_NA_INO_USLUGE_22_I_23</field>
                                                        <field name="expression_ids">
                                                            <record id="account_tax_report_line_placeni_usluge_22_i_23_tax_formula" model="account.report.expression">
                                                                <field name="label">balance</field>
                                                                <field name="engine">external</field>
                                                                <field name="formula">sum</field>
                                                                <field name="subformula">editable;rounding=2</field>
                                                            </record>
                                                        </field>
                                                    </record>
                                                    <record id="account_tax_report_line_placeni_usluge_25_tax" model="account.report.line">
                                                        <field name="name">III.7. Plaćeni PP na ino usluge 25%</field>
                                                        <field name="code">placeni_usluge_25_ta</field>
                                                        <field name="expression_ids">
                                                            <record id="account_tax_report_line_placeni_usluge_25_tax_tag" model="account.report.expression">
                                                                <field name="label">balance</field>
                                                                <field name="engine">tax_tags</field>
                                                                <field name="formula">III.7. Plaćeni PP na ino usluge 25% (porez)</field>
                                                            </record>
                                                        </field>
                                                    </record>
                                                    <record id="account_tax_report_line_ispravci" model="account.report.line">
                                                        <field name="name">III.8. Ispravci pretporeza</field>
                                                        <field name="code">III8_ISPRAVCI_PRETPOREZA</field>
                                                        <field name="expression_ids">
                                                            <record id="account_tax_report_line_ispravci_formula" model="account.report.expression">
                                                                <field name="label">balance</field>
                                                                <field name="engine">external</field>
                                                                <field name="formula">sum</field>
                                                                <field name="subformula">editable;rounding=2</field>
                                                            </record>
                                                        </field>
                                                    </record>
                                                </field>
                                            </record>
                                        </field>
                                    </record>
                                    <record id="account_tax_report_line_uplaceno" model="account.report.line">
                                        <field name="name">Uplaćeno u razdoblju</field>
                                        <field name="code">UPLACENO_U_RAZDOBLJU</field>
                                        <field name="expression_ids">
                                            <record id="account_tax_report_line_uplaceno_formula" model="account.report.expression">
                                                <field name="label">balance</field>
                                                <field name="engine">external</field>
                                                <field name="formula">sum</field>
                                                <field name="subformula">editable;rounding=2</field>
                                            </record>
                                        </field>
                                    </record>
                                </field>
                            </record>
                        </field>
                    </record>
                    <record id="account_tax_report_line_pdv_ostalo" model="account.report.line">
                        <field name="name">PDV - OSTALO</field>
                        <field name="aggregation_formula">(nepriznati_pretporez_25_other.balance + (0.3 * nepriznati_pretporez_25_30.balance) + (0.7 * nepriznati_pretporez_25_70.balance)) + pretporez_koji.balance + (nepriznati_pretporez_25_tax.balance) + (pretporez_koji_neplaceni.balance + pretporez_koji_neplaceni_25.balance + pretporez_koji_neplaceni_usluge_25.balance)</field>
                        <field name="children_ids">
                            <record id="account_tax_report_line_ostali_podaci" model="account.report.line">
                                <field name="name">Ostali podaci</field>
                                <field name="aggregation_formula">1_ZA_ISPRAVAK_PRETPOREZA.balance + 2_OTUDENJESTJECANJE_GOSPODARSKE_CJELINE_ILI_POGONA.balance + 3_NABAVA_DOBARA_I_USLUGA_ZA_REPREZENTACIJU.balance + 4_NABAVA_OSOBNIH_VOZILA_I_DRUGIH_SREDSTAVA_ZA_OSOBNI_PRIJEVOZ.balance + 5_OSNOVICA_ZA_OBRACUN_VLASTITE_POTROSNJE_ZA_OSOBNA_VOZILA_NABAV.balance</field>
                                <field name="children_ids">
                                    <record id="account_tax_report_line_ispravak" model="account.report.line">
                                        <field name="name">1. ZA ISPRAVAK PRETPOREZA</field>
                                        <field name="code">1_ZA_ISPRAVAK_PRETPOREZA</field>
                                        <field name="aggregation_formula">11_NABAVA_NEKRETNINA.balance + 12_PRODAJA_NEKRETNINA.balance + 13_NABAVA_OSOBNIH_VOZILA.balance + 14_PRODAJA_OSOBNIH_VOZILA.balance + 15_NABAVA_DUGOTRAJNE_IMOVINE.balance + 16_PRODAJA_DUGOTRAJNE_IMOVINE.balance</field>
                                        <field name="children_ids">
                                            <record id="account_tax_report_line_nabava" model="account.report.line">
                                                <field name="name">1.1. NABAVA NEKRETNINA</field>
                                                <field name="code">11_NABAVA_NEKRETNINA</field>
                                                <field name="expression_ids">
                                                    <record id="account_tax_report_line_nabava_formula" model="account.report.expression">
                                                        <field name="label">balance</field>
                                                        <field name="engine">external</field>
                                                        <field name="formula">sum</field>
                                                        <field name="subformula">editable;rounding=2</field>
                                                    </record>
                                                </field>
                                            </record>
                                            <record id="account_tax_report_line_prodaja" model="account.report.line">
                                                <field name="name">1.2. PRODAJA NEKRETNINA</field>
                                                <field name="code">12_PRODAJA_NEKRETNINA</field>
                                                <field name="expression_ids">
                                                    <record id="account_tax_report_line_prodaja_formula" model="account.report.expression">
                                                        <field name="label">balance</field>
                                                        <field name="engine">external</field>
                                                        <field name="formula">sum</field>
                                                        <field name="subformula">editable;rounding=2</field>
                                                    </record>
                                                </field>
                                            </record>
                                            <record id="account_tax_report_line_nabava_osobnih" model="account.report.line">
                                                <field name="name">1.3. NABAVA OSOBNIH VOZILA</field>
                                                <field name="code">13_NABAVA_OSOBNIH_VOZILA</field>
                                                <field name="expression_ids">
                                                    <record id="account_tax_report_line_nabava_osobnih_formula" model="account.report.expression">
                                                        <field name="label">balance</field>
                                                        <field name="engine">external</field>
                                                        <field name="formula">sum</field>
                                                        <field name="subformula">editable;rounding=2</field>
                                                    </record>
                                                </field>
                                            </record>
                                            <record id="account_tax_report_line_prodaja_osobnih" model="account.report.line">
                                                <field name="name">1.4. PRODAJA OSOBNIH VOZILA</field>
                                                <field name="code">14_PRODAJA_OSOBNIH_VOZILA</field>
                                                <field name="expression_ids">
                                                    <record id="account_tax_report_line_prodaja_osobnih_formula" model="account.report.expression">
                                                        <field name="label">balance</field>
                                                        <field name="engine">external</field>
                                                        <field name="formula">sum</field>
                                                        <field name="subformula">editable;rounding=2</field>
                                                    </record>
                                                </field>
                                            </record>
                                            <record id="account_tax_report_line_nabava_dugotrajne" model="account.report.line">
                                                <field name="name">1.5. NABAVA DUGOTRAJNE IMOVINE</field>
                                                <field name="code">15_NABAVA_DUGOTRAJNE_IMOVINE</field>
                                                <field name="expression_ids">
                                                    <record id="account_tax_report_line_nabava_dugotrajne_formula" model="account.report.expression">
                                                        <field name="label">balance</field>
                                                        <field name="engine">external</field>
                                                        <field name="formula">sum</field>
                                                        <field name="subformula">editable;rounding=2</field>
                                                    </record>
                                                </field>
                                            </record>
                                            <record id="account_tax_report_line_prodaja_dugotrajne" model="account.report.line">
                                                <field name="name">1.6. PRODAJA DUGOTRAJNE IMOVINE</field>
                                                <field name="code">16_PRODAJA_DUGOTRAJNE_IMOVINE</field>
                                                <field name="expression_ids">
                                                    <record id="account_tax_report_line_prodaja_dugotrajne_formula" model="account.report.expression">
                                                        <field name="label">balance</field>
                                                        <field name="engine">external</field>
                                                        <field name="formula">sum</field>
                                                        <field name="subformula">editable;rounding=2</field>
                                                    </record>
                                                </field>
                                            </record>
                                        </field>
                                    </record>
                                    <record id="account_tax_report_line_otudenje" model="account.report.line">
                                        <field name="name">2. OTUĐENJE/STJECANJE GOSPODARSKE CJELINE ILI POGONA</field>
                                        <field name="code">2_OTUDENJESTJECANJE_GOSPODARSKE_CJELINE_ILI_POGONA</field>
                                        <field name="expression_ids">
                                            <record id="account_tax_report_line_otudenje_formula" model="account.report.expression">
                                                <field name="label">balance</field>
                                                <field name="engine">external</field>
                                                <field name="formula">sum</field>
                                                <field name="subformula">editable;rounding=2</field>
                                            </record>
                                        </field>
                                    </record>
                                    <record id="account_tax_report_line_nabava_dobara" model="account.report.line">
                                        <field name="name">3. NABAVA DOBARA I USLUGA ZA REPREZENTACIJU</field>
                                        <field name="code">3_NABAVA_DOBARA_I_USLUGA_ZA_REPREZENTACIJU</field>
                                        <field name="expression_ids">
                                            <record id="account_tax_report_line_nabava_dobara_formula" model="account.report.expression">
                                                <field name="label">balance</field>
                                                <field name="engine">external</field>
                                                <field name="formula">sum</field>
                                                <field name="subformula">editable;rounding=2</field>
                                            </record>
                                        </field>
                                    </record>
                                    <record id="account_tax_report_line_nabava_osobnih_vozila" model="account.report.line">
                                        <field name="name">4. NABAVA OSOBNIH VOZILA I DRUGIH SREDSTAVA ZA OSOBNI PRIJEVOZ</field>
                                        <field name="code">4_NABAVA_OSOBNIH_VOZILA_I_DRUGIH_SREDSTAVA_ZA_OSOBNI_PRIJEVOZ</field>
                                        <field name="expression_ids">
                                            <record id="account_tax_report_line_nabava_osobnih_vozila_formula" model="account.report.expression">
                                                <field name="label">balance</field>
                                                <field name="engine">external</field>
                                                <field name="formula">sum</field>
                                                <field name="subformula">editable;rounding=2</field>
                                            </record>
                                        </field>
                                    </record>
                                    <record id="account_tax_report_line_osnovica_za_obracun" model="account.report.line">
                                        <field name="name">5. OSNOVICA ZA OBRAČUN VLASTITE POTROŠNJE ZA OSOBNA VOZILA NABAV</field>
                                        <field name="code">5_OSNOVICA_ZA_OBRACUN_VLASTITE_POTROSNJE_ZA_OSOBNA_VOZILA_NABAV</field>
                                        <field name="expression_ids">
                                            <record id="account_tax_report_line_osnovica_za_obracun_formula" model="account.report.expression">
                                                <field name="label">balance</field>
                                                <field name="engine">external</field>
                                                <field name="formula">sum</field>
                                                <field name="subformula">editable;rounding=2</field>
                                            </record>
                                        </field>
                                    </record>
                                </field>
                            </record>
                            <record id="account_tax_report_line_nepriznati_pretporez" model="account.report.line">
                                <field name="name">NEPRIZNATI PRETPOREZ</field>
                                <field name="aggregation_formula">0.3 * nepriznati_pretporez_25_30.balance + 0.7 * nepriznati_pretporez_25_70.balance + nepriznati_pretporez_25_other.balance + pretporez_koji.balance</field>
                                <field name="children_ids">
                                    <record id="account_tax_report_line_nepriznati_pretporez_osnovica_3070" model="account.report.line">
                                        <field name="name">NEPRIZNATI PRETPOREZ (osnovica 30 ili 70%)</field>
                                        <field name="aggregation_formula">0.3 * nepriznati_pretporez_25_30.balance + 0.7 * nepriznati_pretporez_25_70.balance + nepriznati_pretporez_25_other.balance</field>
                                        <field name="children_ids">
                                            <record id="account_tax_report_line_nepriznati_pretporez_10" model="account.report.line">
                                                <field name="name">Nepriznati pretporez 10% (o)</field>
                                                <field name="expression_ids">
                                                    <record id="account_tax_report_line_nepriznati_pretporez_10_formula" model="account.report.expression">
                                                        <field name="label">balance</field>
                                                        <field name="engine">external</field>
                                                        <field name="formula">sum</field>
                                                        <field name="subformula">editable;rounding=2</field>
                                                    </record>
                                                </field>
                                            </record>
                                            <record id="account_tax_report_line_nepriznati_pretporez_22_i_23" model="account.report.line">
                                                <field name="name">Nepriznati pretporez 22% i 23% (o)</field>
                                                <field name="expression_ids">
                                                    <record id="account_tax_report_line_nepriznati_pretporez_22_i_23_formula" model="account.report.expression">
                                                        <field name="label">balance</field>
                                                        <field name="engine">external</field>
                                                        <field name="formula">sum</field>
                                                        <field name="subformula">editable;rounding=2</field>
                                                    </record>
                                                </field>
                                            </record>
                                            <record id="account_tax_report_line_nepriznati_pretporez_25" model="account.report.line">
                                                <field name="name">Nepriznati pretporez 25% (o)</field>
                                                <field name="aggregation_formula">0.3 * nepriznati_pretporez_25_30.balance + 0.7 * nepriznati_pretporez_25_70.balance + nepriznati_pretporez_25_other.balance</field>
                                                <field name="children_ids">
                                                    <record id="account_tax_report_line_nepriznati_pretporez_25_30" model="account.report.line">
                                                        <field name="name">Nepriznati pretporez 25% (o) (30%)</field>
                                                        <field name="code">nepriznati_pretporez_25_30</field>
                                                        <field name="expression_ids">
                                                            <record id="account_tax_report_line_nepriznati_pretporez_25_30_tag" model="account.report.expression">
                                                                <field name="label">balance</field>
                                                                <field name="engine">tax_tags</field>
                                                                <field name="formula">Nepriznati pretporez 25% (o) (30%)</field>
                                                            </record>
                                                        </field>
                                                    </record>
                                                    <record id="account_tax_report_line_nepriznati_pretporez_25_70" model="account.report.line">
                                                        <field name="name">Nepriznati pretporez 25% (o) (70%)</field>
                                                        <field name="code">nepriznati_pretporez_25_70</field>
                                                        <field name="expression_ids">
                                                            <record id="account_tax_report_line_nepriznati_pretporez_25_70_tag" model="account.report.expression">
                                                                <field name="label">balance</field>
                                                                <field name="engine">tax_tags</field>
                                                                <field name="formula">Nepriznati pretporez 25% (o) (70%)</field>
                                                            </record>
                                                        </field>
                                                    </record>
                                                    <record id="account_tax_report_line_nepriznati_pretporez_25_other" model="account.report.line">
                                                        <field name="name">Nepriznati pretporez 25% (o)</field>
                                                        <field name="code">nepriznati_pretporez_25_other</field>
                                                        <field name="expression_ids">
                                                            <record id="account_tax_report_line_nepriznati_pretporez_25_other_tag" model="account.report.expression">
                                                                <field name="label">balance</field>
                                                                <field name="engine">tax_tags</field>
                                                                <field name="formula">Nepriznati pretporez 25% (o)</field>
                                                            </record>
                                                        </field>
                                                    </record>
                                                </field>
                                            </record>
                                        </field>
                                    </record>
                                    <record id="account_tax_report_line_pretporez_koji" model="account.report.line">
                                        <field name="name">Pretporez koji još nije priznan (uključivo i neplaćeni R-2)</field>
                                        <field name="code">pretporez_koji</field>
                                        <field name="expression_ids">
                                            <record id="account_tax_report_line_pretporez_koji_tag" model="account.report.expression">
                                                <field name="label">balance</field>
                                                <field name="engine">tax_tags</field>
                                                <field name="formula">Pretporez koji još nije priznan (uključivo i neplaćeni R-2)</field>
                                            </record>
                                        </field>
                                    </record>
                                    <record id="account_tax_report_line_nepriznati_pretporez_porez" model="account.report.line">
                                        <field name="name">NEPRIZNATI PRETPOREZ (porez)</field>
                                        <field name="aggregation_formula">NEPRIZNATI_PRETPOREZ_30_ILI_70.balance</field>
                                        <field name="children_ids">
                                            <record id="account_tax_report_line_nepriznati_pretporez_3070" model="account.report.line">
                                                <field name="name">NEPRIZNATI PRETPOREZ (30 ili 70%)</field>
                                                <field name="code">NEPRIZNATI_PRETPOREZ_30_ILI_70</field>
                                                <field name="aggregation_formula">NEPRIZNATI_PRETPOREZ_10_P.balance + NEPRIZNATI_PRETPOREZ_22_I_23_P.balance + nepriznati_pretporez_25_tax.balance</field>
                                                <field name="children_ids">
                                                    <record id="account_tax_report_line_nepriznati_pretporez_10_tax" model="account.report.line">
                                                        <field name="name">Nepriznati pretporez 10% (p)</field>
                                                        <field name="code">NEPRIZNATI_PRETPOREZ_10_P</field>
                                                        <field name="expression_ids">
                                                            <record id="account_tax_report_line_nepriznati_pretporez_10_tax_formula" model="account.report.expression">
                                                                <field name="label">balance</field>
                                                                <field name="engine">external</field>
                                                                <field name="formula">sum</field>
                                                                <field name="subformula">editable;rounding=2</field>
                                                            </record>
                                                        </field>
                                                    </record>
                                                    <record id="account_tax_report_line_nepriznati_pretporez_22_i_23_tax" model="account.report.line">
                                                        <field name="name">Nepriznati pretporez 22% i 23% (p)</field>
                                                        <field name="code">NEPRIZNATI_PRETPOREZ_22_I_23_P</field>
                                                        <field name="expression_ids">
                                                            <record id="account_tax_report_line_nepriznati_pretporez_22_i_23_tax_formula" model="account.report.expression">
                                                                <field name="label">balance</field>
                                                                <field name="engine">external</field>
                                                                <field name="formula">sum</field>
                                                                <field name="subformula">editable;rounding=2</field>
                                                            </record>
                                                        </field>
                                                    </record>
                                                    <record id="account_tax_report_line_nepriznati_pretporez_25_tax" model="account.report.line">
                                                        <field name="name">Nepriznati pretporez 25% (p)</field>
                                                        <field name="code">nepriznati_pretporez_25_tax</field>
                                                        <field name="expression_ids">
                                                            <record id="account_tax_report_line_nepriznati_pretporez_25_tax_tag" model="account.report.expression">
                                                                <field name="label">balance</field>
                                                                <field name="engine">tax_tags</field>
                                                                <field name="formula">Nepriznati pretporez 25% (p)</field>
                                                            </record>
                                                        </field>
                                                    </record>
                                                </field>
                                            </record>
                                        </field>
                                    </record>
                                    <record id="account_tax_report_line_pretporez_koji_ukupno" model="account.report.line">
                                        <field name="name">Pretporez koji još nije priznan (ukupno)</field>
                                        <field name="aggregation_formula">pretporez_koji_neplaceni.balance + pretporez_koji_neplaceni_25.balance + pretporez_koji_neplaceni_usluge_25.balance + PRETPOREZ_KOJI_JOS_NIJE_PRIZNAN_NEPLACENE_INO_USLUGE_10.balance</field>
                                        <field name="children_ids">
                                            <record id="account_tax_report_line_pretporez_koji_neplaceni" model="account.report.line">
                                                <field name="name">Pretporez koji još nije priznan (neplaćeni R2)</field>
                                                <field name="code">pretporez_koji_neplaceni</field>
                                                <field name="expression_ids">
                                                    <record id="account_tax_report_line_pretporez_koji_neplaceni_tag" model="account.report.expression">
                                                        <field name="label">balance</field>
                                                        <field name="engine">tax_tags</field>
                                                        <field name="formula">Pretporez koji još nije priznan (neplaćeni R2)</field>
                                                    </record>
                                                </field>
                                            </record>
                                            <record id="account_tax_report_line_pretporez_koji_neplaceni_25" model="account.report.line">
                                                <field name="name">Pretporez koji još nije priznan (neplaćeni UVOZ dobara 25%)</field>
                                                <field name="code">pretporez_koji_neplaceni_25</field>
                                                <field name="expression_ids">
                                                    <record id="account_tax_report_line_pretporez_koji_neplaceni_25_tag" model="account.report.expression">
                                                        <field name="label">balance</field>
                                                        <field name="engine">tax_tags</field>
                                                        <field name="formula">Pretporez koji još nije priznan (neplaćeni UVOZ dobara 25%)</field>
                                                    </record>
                                                </field>
                                            </record>
                                            <record id="account_tax_report_line_pretporez_koji_neplaceni_usluge_25" model="account.report.line">
                                                <field name="name">Pretporez koji još nije priznan (neplaćene INO usluge 25%)</field>
                                                <field name="code">pretporez_koji_neplaceni_usluge_25</field>
                                                <field name="expression_ids">
                                                    <record id="account_tax_report_line_pretporez_koji_neplaceni_usluge_25_tag" model="account.report.expression">
                                                        <field name="label">balance</field>
                                                        <field name="engine">tax_tags</field>
                                                        <field name="formula">Pretporez koji još nije priznan (neplaćene INO usluge 25%)</field>
                                                    </record>
                                                </field>
                                            </record>
                                            <record id="account_tax_report_line_pretporez_koji_neplaceni_usluge_10" model="account.report.line">
                                                <field name="name">Pretporez koji još nije priznan (neplaćene INO usluge 10%)</field>
                                                <field name="code">PRETPOREZ_KOJI_JOS_NIJE_PRIZNAN_NEPLACENE_INO_USLUGE_10</field>
                                                <field name="expression_ids">
                                                    <record id="account_tax_report_line_pretporez_koji_neplaceni_usluge_10_formula" model="account.report.expression">
                                                        <field name="label">balance</field>
                                                        <field name="engine">external</field>
                                                        <field name="formula">sum</field>
                                                        <field name="subformula">editable;rounding=2</field>
                                                    </record>
                                                </field>
                                            </record>
                                        </field>
                                    </record>
                                </field>
                            </record>
                        </field>
                    </record>
                </field>
            </record>
        </field>
    </record>
</odoo>
