account_tax_report_data.xml 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237
  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.uy"/>
  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_base_impb" model="account.report.line">
  17. <field name="name">Base Imponible</field>
  18. <field name="aggregation_formula">BASE_IMPONIBLE_COMPRAS.balance + BASE_IMPONIBLE_VENTAS.balance</field>
  19. <field name="children_ids">
  20. <record id="account_tax_report_base_impb_cmprs" model="account.report.line">
  21. <field name="name">Base Imponible Compras</field>
  22. <field name="code">BASE_IMPONIBLE_COMPRAS</field>
  23. <field name="aggregation_formula">UYTAX_010101.balance + UYTAX_020101.balance + UYTAX_030101.balance + UYTAX_040101.balance</field>
  24. <field name="children_ids">
  25. <record id="account_tax_report_base_impb_cmprs_22" model="account.report.line">
  26. <field name="name">Base Compras 22%</field>
  27. <field name="code">UYTAX_010101</field>
  28. <field name="expression_ids">
  29. <record id="account_tax_report_base_impb_cmprs_22_tag" model="account.report.expression">
  30. <field name="label">balance</field>
  31. <field name="engine">tax_tags</field>
  32. <field name="formula">Base Compras 22%</field>
  33. </record>
  34. </field>
  35. </record>
  36. <record id="account_tax_report_base_impb_cmprs_10" model="account.report.line">
  37. <field name="name">Base Compras 10%</field>
  38. <field name="code">UYTAX_020101</field>
  39. <field name="expression_ids">
  40. <record id="account_tax_report_base_impb_cmprs_10_tag" model="account.report.expression">
  41. <field name="label">balance</field>
  42. <field name="engine">tax_tags</field>
  43. <field name="formula">Base Compras 10%</field>
  44. </record>
  45. </field>
  46. </record>
  47. <record id="account_tax_report_base_impb_cmprs_0" model="account.report.line">
  48. <field name="name">Base Compras 0%</field>
  49. <field name="code">UYTAX_030101</field>
  50. <field name="expression_ids">
  51. <record id="account_tax_report_base_impb_cmprs_0_tag" model="account.report.expression">
  52. <field name="label">balance</field>
  53. <field name="engine">tax_tags</field>
  54. <field name="formula">Base Compras 0%</field>
  55. </record>
  56. </field>
  57. </record>
  58. <record id="account_tax_report_impb_cmprs" model="account.report.line">
  59. <field name="name">Base Imponible Compras</field>
  60. <field name="code">UYTAX_040101</field>
  61. <field name="expression_ids">
  62. <record id="account_tax_report_impb_cmprs_tag" model="account.report.expression">
  63. <field name="label">balance</field>
  64. <field name="engine">tax_tags</field>
  65. <field name="formula">Base Imponible Compras</field>
  66. </record>
  67. </field>
  68. </record>
  69. </field>
  70. </record>
  71. <record id="account_tax_report_base_impb_vnts" model="account.report.line">
  72. <field name="name">Base Imponible Ventas</field>
  73. <field name="code">BASE_IMPONIBLE_VENTAS</field>
  74. <field name="aggregation_formula">UYTAX_010201.balance + UYTAX_020201.balance + UYTAX_030201.balance + UYTAX_040201.balance</field>
  75. <field name="children_ids">
  76. <record id="account_tax_report_base_impb_vnts_22" model="account.report.line">
  77. <field name="name">Base Ventas 22%</field>
  78. <field name="code">UYTAX_010201</field>
  79. <field name="expression_ids">
  80. <record id="account_tax_report_base_impb_vnts_22_tag" model="account.report.expression">
  81. <field name="label">balance</field>
  82. <field name="engine">tax_tags</field>
  83. <field name="formula">Base Ventas 22%</field>
  84. </record>
  85. </field>
  86. </record>
  87. <record id="account_tax_report_base_impb_vnts_10" model="account.report.line">
  88. <field name="name">Base Ventas 10%</field>
  89. <field name="code">UYTAX_020201</field>
  90. <field name="expression_ids">
  91. <record id="account_tax_report_base_impb_vnts_10_tag" model="account.report.expression">
  92. <field name="label">balance</field>
  93. <field name="engine">tax_tags</field>
  94. <field name="formula">Base Ventas 10%</field>
  95. </record>
  96. </field>
  97. </record>
  98. <record id="account_tax_report_base_impb_vnts_0" model="account.report.line">
  99. <field name="name">Base Ventas 0%</field>
  100. <field name="code">UYTAX_030201</field>
  101. <field name="expression_ids">
  102. <record id="account_tax_report_base_impb_vnts_0_tag" model="account.report.expression">
  103. <field name="label">balance</field>
  104. <field name="engine">tax_tags</field>
  105. <field name="formula">Base Ventas 0%</field>
  106. </record>
  107. </field>
  108. </record>
  109. <record id="account_tax_report_impb_vnts" model="account.report.line">
  110. <field name="name">Base Imponible Ventas</field>
  111. <field name="code">UYTAX_040201</field>
  112. <field name="expression_ids">
  113. <record id="account_tax_report_impb_vnts_tag" model="account.report.expression">
  114. <field name="label">balance</field>
  115. <field name="engine">tax_tags</field>
  116. <field name="formula">Base Imponible Ventas</field>
  117. </record>
  118. </field>
  119. </record>
  120. </field>
  121. </record>
  122. </field>
  123. </record>
  124. <record id="account_tax_report_sldo_iva" model="account.report.line">
  125. <field name="name">Saldo de IVA</field>
  126. <field name="aggregation_formula">IVA_COMPRAS__PAGADO.balance + UYTAX_040102.balance + IVA_VENTAS__PERCIBIDO.balance</field>
  127. <field name="children_ids">
  128. <record id="account_tax_report_iva_cmprs_pagdo" model="account.report.line">
  129. <field name="name">IVA Compras - pagado</field>
  130. <field name="code">IVA_COMPRAS__PAGADO</field>
  131. <field name="aggregation_formula">UYTAX_010102.balance + UYTAX_020102.balance + COMPRAS_EXENTO_IVA.balance</field>
  132. <field name="children_ids">
  133. <record id="account_tax_report_iva_cmprs_22" model="account.report.line">
  134. <field name="name">IVA Compras 22%</field>
  135. <field name="code">UYTAX_010102</field>
  136. <field name="expression_ids">
  137. <record id="account_tax_report_iva_cmprs_22_tag" model="account.report.expression">
  138. <field name="label">balance</field>
  139. <field name="engine">tax_tags</field>
  140. <field name="formula">IVA Compras 22%</field>
  141. </record>
  142. </field>
  143. </record>
  144. <record id="account_tax_report_iva_cmprs_10" model="account.report.line">
  145. <field name="name">IVA Compras 10%</field>
  146. <field name="code">UYTAX_020102</field>
  147. <field name="expression_ids">
  148. <record id="account_tax_report_iva_cmprs_10_tag" model="account.report.expression">
  149. <field name="label">balance</field>
  150. <field name="engine">tax_tags</field>
  151. <field name="formula">IVA Compras 10%</field>
  152. </record>
  153. </field>
  154. </record>
  155. <record id="account_tax_report_cmprs_exnto_iva" model="account.report.line">
  156. <field name="name">Compras Exento IVA</field>
  157. <field name="code">COMPRAS_EXENTO_IVA</field>
  158. <field name="expression_ids">
  159. <record id="account_tax_report_cmprs_exnto_iva_formula" model="account.report.expression">
  160. <field name="label">balance</field>
  161. <field name="engine">external</field>
  162. <field name="formula">sum</field>
  163. <field name="subformula">editable;rounding=2</field>
  164. </record>
  165. </field>
  166. </record>
  167. </field>
  168. </record>
  169. <record id="account_tax_report_cmprs_pagdo" model="account.report.line">
  170. <field name="name">IVA Compras - pagado</field>
  171. <field name="code">UYTAX_040102</field>
  172. <field name="expression_ids">
  173. <record id="account_tax_report_cmprs_pagdo_tag" model="account.report.expression">
  174. <field name="label">balance</field>
  175. <field name="engine">tax_tags</field>
  176. <field name="formula">IVA Compras - pagado</field>
  177. </record>
  178. </field>
  179. </record>
  180. <record id="account_tax_report_iva_vnts_prcbdo" model="account.report.line">
  181. <field name="name">IVA Ventas - percibido</field>
  182. <field name="code">IVA_VENTAS__PERCIBIDO</field>
  183. <field name="aggregation_formula">UYTAX_010202.balance + UYTAX_020202.balance + VENTAS_EXENTO_IVA.balance + UYTAX_040202.balance</field>
  184. <field name="children_ids">
  185. <record id="account_tax_report_iva_vnts_22" model="account.report.line">
  186. <field name="name">IVA Ventas 22%</field>
  187. <field name="code">UYTAX_010202</field>
  188. <field name="expression_ids">
  189. <record id="account_tax_report_iva_vnts_22_tag" model="account.report.expression">
  190. <field name="label">balance</field>
  191. <field name="engine">tax_tags</field>
  192. <field name="formula">IVA Ventas 22%</field>
  193. </record>
  194. </field>
  195. </record>
  196. <record id="account_tax_report_iva_vnts_10" model="account.report.line">
  197. <field name="name">IVA Ventas 10%</field>
  198. <field name="code">UYTAX_020202</field>
  199. <field name="expression_ids">
  200. <record id="account_tax_report_iva_vnts_10_tag" model="account.report.expression">
  201. <field name="label">balance</field>
  202. <field name="engine">tax_tags</field>
  203. <field name="formula">IVA Ventas 10%</field>
  204. </record>
  205. </field>
  206. </record>
  207. <record id="account_tax_report_vnts_iva" model="account.report.line">
  208. <field name="name">Ventas Exento IVA</field>
  209. <field name="code">VENTAS_EXENTO_IVA</field>
  210. <field name="expression_ids">
  211. <record id="account_tax_report_vnts_iva_formula" model="account.report.expression">
  212. <field name="label">balance</field>
  213. <field name="engine">external</field>
  214. <field name="formula">sum</field>
  215. <field name="subformula">editable;rounding=2</field>
  216. </record>
  217. </field>
  218. </record>
  219. <record id="account_tax_report_vnts_prcbdo" model="account.report.line">
  220. <field name="name">IVA Ventas - percibido</field>
  221. <field name="code">UYTAX_040202</field>
  222. <field name="expression_ids">
  223. <record id="account_tax_report_vnts_prcbdo_tag" model="account.report.expression">
  224. <field name="label">balance</field>
  225. <field name="engine">tax_tags</field>
  226. <field name="formula">IVA Ventas - percibido</field>
  227. </record>
  228. </field>
  229. </record>
  230. </field>
  231. </record>
  232. </field>
  233. </record>
  234. </field>
  235. </record>
  236. </odoo>