account_tax_report_data.xml 7.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <odoo>
  3. <record id="tax_report" model="account.report">
  4. <field name="name">Tax Report</field>
  5. <field name="root_report_id" ref="account.generic_tax_report"/>
  6. <field name="country_id" ref="base.uk"/>
  7. <field name="filter_fiscal_position" eval="True"/>
  8. <field name="availability_condition">country</field>
  9. <field name="column_ids">
  10. <record id="tax_report_balance" model="account.report.column">
  11. <field name="name">Balance</field>
  12. <field name="expression_label">balance</field>
  13. </record>
  14. </field>
  15. <field name="line_ids">
  16. <record id="account_tax_report_line_vat_cal" model="account.report.line">
  17. <field name="name">VAT calculations</field>
  18. <field name="aggregation_formula">UKTAX_1.balance + UKTAX_2.balance + UKTAX_4.balance</field>
  19. <field name="children_ids">
  20. <record id="account_tax_report_line_vat_box1" model="account.report.line">
  21. <field name="name">[BOX 1] VAT due on sales and other outputs</field>
  22. <field name="code">UKTAX_1</field>
  23. <field name="expression_ids">
  24. <record id="account_tax_report_line_vat_box1_tag" model="account.report.expression">
  25. <field name="label">balance</field>
  26. <field name="engine">tax_tags</field>
  27. <field name="formula">1</field>
  28. </record>
  29. </field>
  30. </record>
  31. <record id="account_tax_report_line_vat_box2" model="account.report.line">
  32. <field name="name">[BOX 2] VAT due on acquisitions from EC</field>
  33. <field name="code">UKTAX_2</field>
  34. <field name="expression_ids">
  35. <record id="account_tax_report_line_vat_box2_tag" model="account.report.expression">
  36. <field name="label">balance</field>
  37. <field name="engine">tax_tags</field>
  38. <field name="formula">2</field>
  39. </record>
  40. </field>
  41. </record>
  42. <record id="account_tax_report_line_vat_box3" model="account.report.line">
  43. <field name="name">[BOX 3] Total VAT due (box 1 + box 2)</field>
  44. <field name="aggregation_formula">UKTAX_1.balance + UKTAX_2.balance</field>
  45. </record>
  46. <record id="account_tax_report_line_vat_box4" model="account.report.line">
  47. <field name="name">[BOX 4] VAT reclaimed on purchases and other inputs (including acquisitions from EC)</field>
  48. <field name="code">UKTAX_4</field>
  49. <field name="expression_ids">
  50. <record id="account_tax_report_line_vat_box4_tag" model="account.report.expression">
  51. <field name="label">balance</field>
  52. <field name="engine">tax_tags</field>
  53. <field name="formula">4</field>
  54. </record>
  55. </field>
  56. </record>
  57. <record id="account_tax_report_line_vat_box5" model="account.report.line">
  58. <field name="name">[BOX 5] VAT to pay/reclaim</field>
  59. <field name="aggregation_formula">UKTAX_1.balance + UKTAX_2.balance - UKTAX_4.balance</field>
  60. </record>
  61. </field>
  62. </record>
  63. <record id="account_tax_report_line_exd_vat" model="account.report.line">
  64. <field name="name">Sales and Purchases Excluding VAT</field>
  65. <field name="aggregation_formula">UKTAX_6.balance + UKTAX_7.balance</field>
  66. <field name="children_ids">
  67. <record id="account_tax_report_line_exd_vat_box6" model="account.report.line">
  68. <field name="name">[BOX 6] Total value of sales and other outputs excluding VAT (including EC supplies)</field>
  69. <field name="code">UKTAX_6</field>
  70. <field name="expression_ids">
  71. <record id="account_tax_report_line_exd_vat_box6_tag" model="account.report.expression">
  72. <field name="label">balance</field>
  73. <field name="engine">tax_tags</field>
  74. <field name="formula">6</field>
  75. </record>
  76. </field>
  77. </record>
  78. <record id="account_tax_report_line_exd_vat_box7" model="account.report.line">
  79. <field name="name">[BOX 7] Total value of purchases and inputs excluding VAT (including EC acquisitions)</field>
  80. <field name="code">UKTAX_7</field>
  81. <field name="expression_ids">
  82. <record id="account_tax_report_line_exd_vat_box7_tag" model="account.report.expression">
  83. <field name="label">balance</field>
  84. <field name="engine">tax_tags</field>
  85. <field name="formula">7</field>
  86. </record>
  87. </field>
  88. </record>
  89. </field>
  90. </record>
  91. <record id="account_tax_report_line_ec_exd_vat" model="account.report.line">
  92. <field name="name">EC Sales and Purchases excluding VAT</field>
  93. <field name="aggregation_formula">UKTAX_8.balance + UKTAX_9.balance</field>
  94. <field name="children_ids">
  95. <record id="account_tax_report_line_exd_vat_box8" model="account.report.line">
  96. <field name="name">[BOX 8] Total value of EC sales excluding VAT</field>
  97. <field name="code">UKTAX_8</field>
  98. <field name="expression_ids">
  99. <record id="account_tax_report_line_exd_vat_box8_tag" model="account.report.expression">
  100. <field name="label">balance</field>
  101. <field name="engine">tax_tags</field>
  102. <field name="formula">8</field>
  103. </record>
  104. </field>
  105. </record>
  106. <record id="account_tax_report_line_exd_vat_box9" model="account.report.line">
  107. <field name="name">[BOX 9] Total value of EC purchases excluding VAT</field>
  108. <field name="code">UKTAX_9</field>
  109. <field name="expression_ids">
  110. <record id="account_tax_report_line_exd_vat_box9_tag" model="account.report.expression">
  111. <field name="label">balance</field>
  112. <field name="engine">tax_tags</field>
  113. <field name="formula">9</field>
  114. </record>
  115. </field>
  116. </record>
  117. </field>
  118. </record>
  119. </field>
  120. </record>
  121. </odoo>