account_tax_report_data.xml 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290
  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.za"/>
  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="total_vat_payable" model="account.report.line">
  17. <field name="name">[20] VAT PAYABLE/REFUNDABLE (Total A - Total B)</field>
  18. <field name="aggregation_formula">TotalA.balance - TotalB.balance</field>
  19. <field name="children_ids">
  20. <record id="total_output_tax" model="account.report.line">
  21. <field name="name">[13] Total A: TOTAL OUTPUT TAX (4 + 4A + 9 + 11 + 12)</field>
  22. <field name="code">TotalA</field>
  23. <field name="aggregation_formula">VAT4.balance + VAT4A.balance + (SEC6.balance * 0.6 + SEC7.balance) + VAT11.balance + VAT12.balance</field>
  24. <field name="children_ids">
  25. <record id="standard_rate_exclude_capital_goods_service" model="account.report.line">
  26. <field name="name">[1] Standard Rate (Excluding Capital goods and/or services and accomodation)</field>
  27. <field name="code">VAT1</field>
  28. <field name="expression_ids">
  29. <record id="standard_rate_exclude_capital_goods_service_tag" model="account.report.expression">
  30. <field name="label">balance</field>
  31. <field name="engine">tax_tags</field>
  32. <field name="formula">[1] Standard Rate (Excluding Capital goods and/or services and accomodation)</field>
  33. </record>
  34. </field>
  35. </record>
  36. <record id="vat_on_standard_rate_exclude_capital_goods_service" model="account.report.line">
  37. <field name="name">[4] x 15/ (100 + 15)</field>
  38. <field name="code">VAT4</field>
  39. <field name="expression_ids">
  40. <record id="vat_on_standard_rate_exclude_capital_goods_service_tag" model="account.report.expression">
  41. <field name="label">balance</field>
  42. <field name="engine">tax_tags</field>
  43. <field name="formula">[4] x 15/ (100 + 15)</field>
  44. </record>
  45. </field>
  46. </record>
  47. <record id="standard_rate_only_capital_goods_service" model="account.report.line">
  48. <field name="name">[1A] Standard Rate (Only Capital goods and/or services)</field>
  49. <field name="code">VAT1A</field>
  50. <field name="expression_ids">
  51. <record id="standard_rate_only_capital_goods_service_tag" model="account.report.expression">
  52. <field name="label">balance</field>
  53. <field name="engine">tax_tags</field>
  54. <field name="formula">[1A] Standard Rate (Only Capital goods and/or services)</field>
  55. </record>
  56. </field>
  57. </record>
  58. <record id="vat_on_standard_rate_only_capital_goods_service" model="account.report.line">
  59. <field name="name">[4A] x 15/ (100 + 15)</field>
  60. <field name="code">VAT4A</field>
  61. <field name="expression_ids">
  62. <record id="vat_on_standard_rate_only_capital_goods_service_tag" model="account.report.expression">
  63. <field name="label">balance</field>
  64. <field name="engine">tax_tags</field>
  65. <field name="formula">[4A] x 15/ (100 + 15)</field>
  66. </record>
  67. </field>
  68. </record>
  69. <record id="zero_rate_exclude_goods_exported" model="account.report.line">
  70. <field name="name">[2] Zero Rate (excluding goods exported)</field>
  71. <field name="code">VAT2</field>
  72. <field name="expression_ids">
  73. <record id="zero_rate_exclude_goods_exported_tag" model="account.report.expression">
  74. <field name="label">balance</field>
  75. <field name="engine">tax_tags</field>
  76. <field name="formula">[2] Zero Rate (excluding goods exported)</field>
  77. </record>
  78. </field>
  79. </record>
  80. <record id="zero_rate_only_goods_exported" model="account.report.line">
  81. <field name="name">[2A] Zero Rate (Only goods exported)</field>
  82. <field name="code">VAT2A</field>
  83. <field name="expression_ids">
  84. <record id="zero_rate_only_goods_exported_tag" model="account.report.expression">
  85. <field name="label">balance</field>
  86. <field name="engine">tax_tags</field>
  87. <field name="formula">[2A] Zero Rate (Only goods exported)</field>
  88. </record>
  89. </field>
  90. </record>
  91. <record id="exempt_and_non_supplies" model="account.report.line">
  92. <field name="name">[3] Exempt and Non supplies</field>
  93. <field name="code">VAT3</field>
  94. <field name="expression_ids">
  95. <record id="exempt_and_non_supplies_tag" model="account.report.expression">
  96. <field name="label">balance</field>
  97. <field name="engine">tax_tags</field>
  98. <field name="formula">[3] Exempt and Non supplies</field>
  99. </record>
  100. </field>
  101. </record>
  102. <record id="accomodation_exceeding_28_days" model="account.report.line">
  103. <field name="name">[5] Accomodation exceeding 28 days</field>
  104. <field name="code">VAT5</field>
  105. <field name="expression_ids">
  106. <record id="accomodation_exceeding_28_days_tag" model="account.report.expression">
  107. <field name="label">balance</field>
  108. <field name="engine">tax_tags</field>
  109. <field name="formula">[5] Accomodation exceeding 28 days</field>
  110. </record>
  111. </field>
  112. </record>
  113. <record id="accomodation_exceeding_28_days_60_percent" model="account.report.line">
  114. <field name="name">[6] x 60%</field>
  115. <field name="aggregation_formula">VAT5.balance * 0.6</field>
  116. </record>
  117. <record id="accomodation_under_28_days" model="account.report.line">
  118. <field name="name">[7] Accomodation under 28 days</field>
  119. <field name="code">VAT7</field>
  120. <field name="expression_ids">
  121. <record id="accomodation_under_28_days_tag" model="account.report.expression">
  122. <field name="label">balance</field>
  123. <field name="engine">tax_tags</field>
  124. <field name="formula">[7] Accomodation under 28 days</field>
  125. </record>
  126. </field>
  127. </record>
  128. <record id="accomodation_28_days" model="account.report.line">
  129. <field name="name">[8] Total (6 + 7)</field>
  130. <field name="aggregation_formula">(VAT5.balance * 0.6) + VAT7.balance</field>
  131. </record>
  132. <record id="vat_on_accomodation_28_days" model="account.report.line">
  133. <field name="name">[9] x 15 / (100 ??) </field>
  134. <field name="aggregation_formula">SEC6.balance * 0.6 + SEC7.balance </field>
  135. <field name="children_ids">
  136. <record id="vat_on_accomodation_exceeding_28_days" model="account.report.line">
  137. <field name="name">VAT on Accomodation exceeding 28 days</field>
  138. <field name="code">SEC6</field>
  139. <field name="expression_ids">
  140. <record id="vat_on_accomodation_exceeding_28_days_tag" model="account.report.expression">
  141. <field name="label">balance</field>
  142. <field name="engine">tax_tags</field>
  143. <field name="formula">VAT on Accomodation exceeding 28 days</field>
  144. </record>
  145. </field>
  146. </record>
  147. <record id="vat_on_accomodation_under_28_days" model="account.report.line">
  148. <field name="name">VAT on Accomodation under 28 days</field>
  149. <field name="code">SEC7</field>
  150. <field name="expression_ids">
  151. <record id="vat_on_accomodation_under_28_days_tag" model="account.report.expression">
  152. <field name="label">balance</field>
  153. <field name="engine">tax_tags</field>
  154. <field name="formula">VAT on Accomodation under 28 days</field>
  155. </record>
  156. </field>
  157. </record>
  158. </field>
  159. </record>
  160. <record id="vat_plus_base_of_second_hand_goods_export" model="account.report.line">
  161. <field name="name">[10] Change in use and export of second-hand goods</field>
  162. <field name="aggregation_formula">VAT10a.balance + VAT11.balance</field>
  163. <field name="children_ids">
  164. <record id="second_hand_goods_export" model="account.report.line">
  165. <field name="name">[10] Base Amount: Change in use and export of second-hand goods</field>
  166. <field name="code">VAT10a</field>
  167. <field name="expression_ids">
  168. <record id="second_hand_goods_export_tag" model="account.report.expression">
  169. <field name="label">balance</field>
  170. <field name="engine">tax_tags</field>
  171. <field name="formula">[10] Change in use and export of second-hand goods</field>
  172. </record>
  173. </field>
  174. </record>
  175. </field>
  176. </record>
  177. <record id="vat_on_second_hand_goods_export" model="account.report.line">
  178. <field name="name">[11] x 15 / (100 + 15)</field>
  179. <field name="code">VAT11</field>
  180. <field name="expression_ids">
  181. <record id="vat_on_second_hand_goods_export_tag" model="account.report.expression">
  182. <field name="label">balance</field>
  183. <field name="engine">tax_tags</field>
  184. <field name="formula">[11] x 15 / (100 + 15)</field>
  185. </record>
  186. </field>
  187. </record>
  188. <record id="other_imported_services" model="account.report.line">
  189. <field name="name">[12] Other and imported services</field>
  190. <field name="code">VAT12</field>
  191. <field name="expression_ids">
  192. <record id="other_imported_services_tag" model="account.report.expression">
  193. <field name="label">balance</field>
  194. <field name="engine">tax_tags</field>
  195. <field name="formula">[12] Other and imported services</field>
  196. </record>
  197. </field>
  198. </record>
  199. </field>
  200. </record>
  201. <record id="total_input_tax" model="account.report.line">
  202. <field name="name">[19] Total B: TOTAL INPUT TAX (14 + 14A + 15 + 15A + 16 + 17 + 18)</field>
  203. <field name="code">TotalB</field>
  204. <field name="aggregation_formula">VAT14.balance + VAT14A.balance + VAT15.balance + VAT15A.balance + VAT16.balance + VAT17.balance + VAT18.balance</field>
  205. <field name="children_ids">
  206. <record id="capital_goods_services_supplied" model="account.report.line">
  207. <field name="name">[14] Capital Goods and/or services supplied to you</field>
  208. <field name="code">VAT14</field>
  209. <field name="expression_ids">
  210. <record id="capital_goods_services_supplied_tag" model="account.report.expression">
  211. <field name="label">balance</field>
  212. <field name="engine">tax_tags</field>
  213. <field name="formula">[14] Capital Goods and/or services supplied to you</field>
  214. </record>
  215. </field>
  216. </record>
  217. <record id="capital_goods_imported" model="account.report.line">
  218. <field name="name">[14A] Capital Goods imported by you</field>
  219. <field name="code">VAT14A</field>
  220. <field name="expression_ids">
  221. <record id="capital_goods_imported_tag" model="account.report.expression">
  222. <field name="label">balance</field>
  223. <field name="engine">tax_tags</field>
  224. <field name="formula">[14A] Capital Goods imported by you</field>
  225. </record>
  226. </field>
  227. </record>
  228. <record id="other_goods_services_supplied" model="account.report.line">
  229. <field name="name">[15] Other goods and/or services supplied to you (not Capital Goods)</field>
  230. <field name="code">VAT15</field>
  231. <field name="expression_ids">
  232. <record id="other_goods_services_supplied_tag" model="account.report.expression">
  233. <field name="label">balance</field>
  234. <field name="engine">tax_tags</field>
  235. <field name="formula">[15] Other goods and/or services supplied to you (not Capital Goods)</field>
  236. </record>
  237. </field>
  238. </record>
  239. <record id="other_goods_imported" model="account.report.line">
  240. <field name="name">[15A] Other goods imported by you (not Capital Goods)</field>
  241. <field name="code">VAT15A</field>
  242. <field name="expression_ids">
  243. <record id="other_goods_imported_tag" model="account.report.expression">
  244. <field name="label">balance</field>
  245. <field name="engine">tax_tags</field>
  246. <field name="formula">[15A] Other goods imported by you (not Capital Goods)</field>
  247. </record>
  248. </field>
  249. </record>
  250. <record id="change_in_use" model="account.report.line">
  251. <field name="name">[16] Change in Use</field>
  252. <field name="code">VAT16</field>
  253. <field name="expression_ids">
  254. <record id="change_in_use_tag" model="account.report.expression">
  255. <field name="label">balance</field>
  256. <field name="engine">tax_tags</field>
  257. <field name="formula">[16] Change in Use</field>
  258. </record>
  259. </field>
  260. </record>
  261. <record id="bad_debts" model="account.report.line">
  262. <field name="name">[17] Bad Debts</field>
  263. <field name="code">VAT17</field>
  264. <field name="expression_ids">
  265. <record id="bad_debts_tag" model="account.report.expression">
  266. <field name="label">balance</field>
  267. <field name="engine">tax_tags</field>
  268. <field name="formula">[17] Bad Debts</field>
  269. </record>
  270. </field>
  271. </record>
  272. <record id="others" model="account.report.line">
  273. <field name="name">[18] Other</field>
  274. <field name="code">VAT18</field>
  275. <field name="expression_ids">
  276. <record id="others_tag" model="account.report.expression">
  277. <field name="label">balance</field>
  278. <field name="engine">tax_tags</field>
  279. <field name="formula">[18] Other</field>
  280. </record>
  281. </field>
  282. </record>
  283. </field>
  284. </record>
  285. </field>
  286. </record>
  287. </field>
  288. </record>
  289. </odoo>