account_tax_template_data.xml 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <odoo>
  3. <!-- Sales Taxes -->
  4. <record id="il_vat_sales_17" model="account.tax.template">
  5. <field name="sequence">1</field>
  6. <field name="description">17%</field>
  7. <field name="name">VAT Sales</field>
  8. <field name="amount">17</field>
  9. <field name="amount_type">percent</field>
  10. <field name="type_tax_use">sale</field>
  11. <field name="chart_template_id" ref="il_chart_template"/>
  12. <field name="tax_group_id" ref="tax_group_vat_17"/>
  13. <field name="invoice_repartition_line_ids" eval="[(5, 0, 0),
  14. (0,0, {
  15. 'repartition_type': 'base',
  16. 'plus_report_expression_ids': [ref('account_tax_report_line_out_base_tag')],
  17. }),
  18. (0,0, {
  19. 'repartition_type': 'tax',
  20. 'account_id': ref('il_account_111110'),
  21. 'plus_report_expression_ids': [ref('account_tax_report_line_out_balance_tag')],
  22. }),
  23. ]"/>
  24. <field name="refund_repartition_line_ids" eval="[(5, 0, 0),
  25. (0,0, {
  26. 'repartition_type': 'base',
  27. 'minus_report_expression_ids': [ref('account_tax_report_line_out_base_tag')],
  28. }),
  29. (0,0, {
  30. 'repartition_type': 'tax',
  31. 'account_id': ref('il_account_111110'),
  32. 'minus_report_expression_ids': [ref('account_tax_report_line_out_balance_tag')],
  33. }),
  34. ]"/>
  35. </record>
  36. <record id="il_vat_pa_sales_17" model="account.tax.template">
  37. <field name="sequence">8</field>
  38. <field name="description">17%</field>
  39. <field name="name">VAT PA Sales</field>
  40. <field name="amount">17</field>
  41. <field name="amount_type">percent</field>
  42. <field name="type_tax_use">sale</field>
  43. <field name="chart_template_id" ref="il_chart_template"/>
  44. <field name="tax_group_id" ref="tax_group_vat_17"/>
  45. <field name="invoice_repartition_line_ids" eval="[(5, 0, 0),
  46. (0,0, {
  47. 'repartition_type': 'base',
  48. 'plus_report_expression_ids': [ref('account_tax_report_line_out_base_tag')],
  49. }),
  50. (0,0, {
  51. 'repartition_type': 'tax',
  52. 'account_id': ref('il_account_111120'),
  53. 'plus_report_expression_ids': [ref('account_tax_report_line_out_balance_pa_tag')],
  54. }),
  55. ]"/>
  56. <field name="refund_repartition_line_ids" eval="[(5, 0, 0),
  57. (0,0, {
  58. 'repartition_type': 'base',
  59. 'minus_report_expression_ids': [ref('account_tax_report_line_out_base_tag')],
  60. }),
  61. (0,0, {
  62. 'repartition_type': 'tax',
  63. 'account_id': ref('il_account_111120'),
  64. 'minus_report_expression_ids': [ref('account_tax_report_line_out_balance_pa_tag')],
  65. }),
  66. ]"/>
  67. </record>
  68. <record id="il_vat_sales_exempt" model="account.tax.template">
  69. <field name="sequence">9</field>
  70. <field name="description">0%</field>
  71. <field name="name">VAT exempt sales</field>
  72. <field name="price_include" eval="1"/>
  73. <field name="amount">0</field>
  74. <field name="amount_type">percent</field>
  75. <field name="type_tax_use">sale</field>
  76. <field name="chart_template_id" ref="il_chart_template"/>
  77. <field name="tax_group_id" ref="tax_group_vat_exempt"/>
  78. <field name="invoice_repartition_line_ids" eval="[(5, 0, 0),
  79. (0,0, {
  80. 'repartition_type': 'base',
  81. 'plus_report_expression_ids': [ref('account_tax_report_line_out_base_exempt_tag')],
  82. }),
  83. (0,0, {
  84. 'repartition_type': 'tax',
  85. 'account_id': ref('il_account_111110'),
  86. }),
  87. ]"/>
  88. <field name="refund_repartition_line_ids" eval="[(5, 0, 0),
  89. (0,0, {
  90. 'repartition_type': 'base',
  91. 'minus_report_expression_ids': [ref('account_tax_report_line_out_base_exempt_tag')],
  92. }),
  93. (0,0, {
  94. 'repartition_type': 'tax',
  95. 'account_id': ref('il_account_111110'),
  96. }),
  97. ]"/>
  98. </record>
  99. <record id="il_vat_self_inv_purchase" model="account.tax.template">
  100. <field name="sequence">10</field>
  101. <field name="description">17%</field>
  102. <field name="name">Self Invoice</field>
  103. <field name="amount">17</field>
  104. <field name="amount_type">percent</field>
  105. <field name="type_tax_use">purchase</field>
  106. <field name="chart_template_id" ref="il_chart_template"/>
  107. <field name="tax_group_id" ref="tax_group_vat_17"/>
  108. <field name="invoice_repartition_line_ids" eval="[(5, 0, 0),
  109. (0,0, {
  110. 'factor_percent': 100,
  111. 'repartition_type': 'base',
  112. 'plus_report_expression_ids': [ref('account_tax_report_line_out_base_tag')]
  113. }),
  114. (0,0, {
  115. 'factor_percent': 100,
  116. 'repartition_type': 'tax',
  117. 'account_id': ref('il_account_101310'),
  118. 'plus_report_expression_ids': [ref('account_tax_report_line_in_balance_17_tag')],
  119. }),
  120. (0,0, {
  121. 'factor_percent': -100,
  122. 'repartition_type': 'tax',
  123. 'account_id': ref('il_account_111110'),
  124. 'minus_report_expression_ids': [ref('account_tax_report_line_out_balance_tag')]
  125. }),
  126. ]"/>
  127. <field name="refund_repartition_line_ids" eval="[(5, 0, 0),
  128. (0,0, {
  129. 'repartition_type': 'base',
  130. 'minus_report_expression_ids': [ref('account_tax_report_line_out_base_tag')],
  131. }),
  132. (0,0, {
  133. 'factor_percent': 100,
  134. 'repartition_type': 'tax',
  135. 'account_id': ref('il_account_101310'),
  136. 'minus_report_expression_ids': [ref('account_tax_report_line_in_balance_17_tag')],
  137. }),
  138. (0,0, {
  139. 'factor_percent': -100,
  140. 'repartition_type': 'tax',
  141. 'account_id': ref('il_account_111110'),
  142. 'plus_report_expression_ids': [ref('account_tax_report_line_out_balance_tag')],
  143. }),
  144. ]"/>
  145. </record>
  146. <!-- Purchase Taxes -->
  147. <record id="il_vat_inputs_17" model="account.tax.template">
  148. <field name="sequence">2</field>
  149. <field name="description">17%</field>
  150. <field name="name">VAT inputs</field>
  151. <field name="amount">17</field>
  152. <field name="amount_type">percent</field>
  153. <field name="type_tax_use">purchase</field>
  154. <field name="chart_template_id" ref="il_chart_template"/>
  155. <field name="tax_group_id" ref="tax_group_vat_17"/>
  156. <field name="invoice_repartition_line_ids" eval="[(5, 0, 0),
  157. (0,0, {'repartition_type': 'base'}),
  158. (0,0, {
  159. 'repartition_type': 'tax',
  160. 'account_id': ref('il_account_101310'),
  161. 'plus_report_expression_ids': [ref('account_tax_report_line_in_balance_17_tag')],
  162. }),
  163. ]"/>
  164. <field name="refund_repartition_line_ids" eval="[(5, 0, 0),
  165. (0,0, {'repartition_type': 'base'}),
  166. (0,0, {
  167. 'repartition_type': 'tax',
  168. 'account_id': ref('il_account_101310'),
  169. 'minus_report_expression_ids': [ref('account_tax_report_line_in_balance_17_tag')],
  170. }),
  171. ]"/>
  172. </record>
  173. <record id="il_vat_pa_purchase_16" model="account.tax.template">
  174. <field name="sequence">3</field>
  175. <field name="description">16%</field>
  176. <field name="name">VAT 16% (PA)</field>
  177. <field name="amount">16</field>
  178. <field name="amount_type">percent</field>
  179. <field name="type_tax_use">purchase</field>
  180. <field name="chart_template_id" ref="il_chart_template"/>
  181. <field name="tax_group_id" ref="tax_group_vat_16"/>
  182. <field name="invoice_repartition_line_ids" eval="[(5, 0, 0),
  183. (0,0, {'repartition_type': 'base'}),
  184. (0,0, {
  185. 'repartition_type': 'tax',
  186. 'account_id': ref('il_account_101340'),
  187. 'plus_report_expression_ids': [ref('account_tax_report_line_in_balance_pa_16_tag')],
  188. }),
  189. ]"/>
  190. <field name="refund_repartition_line_ids" eval="[(5, 0, 0),
  191. (0,0, {'repartition_type': 'base'}),
  192. (0,0, {
  193. 'repartition_type': 'tax',
  194. 'account_id': ref('il_account_101340'),
  195. 'minus_report_expression_ids': [ref('account_tax_report_line_in_balance_pa_16_tag')],
  196. }),
  197. ]"/>
  198. </record>
  199. <record id="il_vat_inputs_2_3_17" model="account.tax.template">
  200. <field name="sequence">4</field>
  201. <field name="description">17%</field>
  202. <field name="name">VAT Inputs 2/3</field>
  203. <field name="amount">17</field>
  204. <field name="amount_type">percent</field>
  205. <field name="type_tax_use">purchase</field>
  206. <field name="chart_template_id" ref="il_chart_template"/>
  207. <field name="tax_group_id" ref="tax_group_vat_17"/>
  208. <field name="invoice_repartition_line_ids" eval="[(5, 0, 0),
  209. (0,0, {'repartition_type': 'base'}),
  210. (0,0, {
  211. 'factor_percent': 66.67,
  212. 'repartition_type': 'tax',
  213. 'account_id': ref('il_account_101310'),
  214. 'plus_report_expression_ids': [ref('account_tax_report_line_in_balance_2_3_tag')],
  215. }),
  216. (0,0, {
  217. 'factor_percent': 33.33,
  218. 'repartition_type': 'tax',
  219. }),
  220. ]"/>
  221. <field name="refund_repartition_line_ids" eval="[(5, 0, 0),
  222. (0,0, {'repartition_type': 'base'}),
  223. (0,0, {
  224. 'factor_percent': 66.67,
  225. 'repartition_type': 'tax',
  226. 'account_id': ref('il_account_101310'),
  227. 'minus_report_expression_ids': [ref('account_tax_report_line_in_balance_2_3_tag')],
  228. }),
  229. (0,0, {
  230. 'factor_percent': 33.33,
  231. 'repartition_type': 'tax',
  232. }),
  233. ]"/>
  234. </record>
  235. <record id="il_vat_inputs_1_4_17" model="account.tax.template">
  236. <field name="sequence">5</field>
  237. <field name="description">17%</field>
  238. <field name="name">VAT Inputs 1/4</field>
  239. <field name="amount">17</field>
  240. <field name="amount_type">percent</field>
  241. <field name="type_tax_use">purchase</field>
  242. <field name="chart_template_id" ref="il_chart_template"/>
  243. <field name="tax_group_id" ref="tax_group_vat_17"/>
  244. <field name="invoice_repartition_line_ids" eval="[(5, 0, 0),
  245. (0,0, {'repartition_type': 'base'}),
  246. (0,0, {
  247. 'factor_percent': 75,
  248. 'repartition_type': 'tax',
  249. 'account_id': ref('il_account_101310'),
  250. 'plus_report_expression_ids': [ref('account_tax_report_line_in_balance_1_4_tag')],
  251. }),
  252. (0,0, {
  253. 'factor_percent': 25,
  254. 'repartition_type': 'tax',
  255. }),
  256. ]"/>
  257. <field name="refund_repartition_line_ids" eval="[(5, 0, 0),
  258. (0,0, {'repartition_type': 'base'}),
  259. (0,0, {
  260. 'factor_percent': 75,
  261. 'repartition_type': 'tax',
  262. 'account_id': ref('il_account_101310'),
  263. 'minus_report_expression_ids': [ref('account_tax_report_line_in_balance_1_4_tag')],
  264. }),
  265. (0,0, {
  266. 'factor_percent': 25,
  267. 'repartition_type': 'tax',
  268. }),
  269. ]"/>
  270. </record>
  271. <record id="il_vat_inputs_fa_17" model="account.tax.template">
  272. <field name="sequence">6</field>
  273. <field name="description">17%</field>
  274. <field name="name">VAT inputs for fixed assets</field>
  275. <field name="amount">17</field>
  276. <field name="amount_type">percent</field>
  277. <field name="type_tax_use">purchase</field>
  278. <field name="chart_template_id" ref="il_chart_template"/>
  279. <field name="tax_group_id" ref="tax_group_vat_17"/>
  280. <field name="invoice_repartition_line_ids" eval="[(5, 0, 0),
  281. (0,0, {'repartition_type': 'base'}),
  282. (0,0, {
  283. 'repartition_type': 'tax',
  284. 'account_id': ref('il_account_101320'),
  285. 'plus_report_expression_ids': [ref('account_tax_report_line_vat_in_fa_tag')],
  286. }),
  287. ]"/>
  288. <field name="refund_repartition_line_ids" eval="[(5, 0, 0),
  289. (0,0, {'repartition_type': 'base'}),
  290. (0,0, {
  291. 'repartition_type': 'tax',
  292. 'account_id': ref('il_account_101320'),
  293. 'minus_report_expression_ids': [ref('account_tax_report_line_vat_in_fa_tag')],
  294. }),
  295. ]"/>
  296. </record>
  297. <record id="il_vat_purchase_exempt" model="account.tax.template">
  298. <field name="sequence">7</field>
  299. <field name="description">0%</field>
  300. <field name="name">VAT exempt purchase</field>
  301. <field name="amount">0</field>
  302. <field name="price_include" eval="1"/>
  303. <field name="amount_type">percent</field>
  304. <field name="type_tax_use">purchase</field>
  305. <field name="chart_template_id" ref="il_chart_template"/>
  306. <field name="tax_group_id" ref="tax_group_vat_exempt_purchase"/>
  307. <field name="invoice_repartition_line_ids" eval="[(5, 0, 0),
  308. (0,0, {'repartition_type': 'base'}),
  309. (0,0, {
  310. 'repartition_type': 'tax',
  311. 'account_id': ref('il_account_101310'),
  312. }),
  313. ]"/>
  314. <field name="refund_repartition_line_ids" eval="[(5, 0, 0),
  315. (0,0, {'repartition_type': 'base'}),
  316. (0,0, {
  317. 'repartition_type': 'tax',
  318. 'account_id': ref('il_account_101310'),
  319. }),
  320. ]"/>
  321. </record>
  322. <record id="il_vat_only_purchase" model="account.tax.template">
  323. <field name="sequence">17</field>
  324. <field name="description">0%</field>
  325. <field name="name">VAT Import Line</field>
  326. <field name="description">VAT Import Line</field>
  327. <field name="amount">100</field>
  328. <field name="amount_type">division</field>
  329. <field name="type_tax_use">purchase</field>
  330. <field name="chart_template_id" ref="il_chart_template"/>
  331. <field name="tax_group_id" ref="tax_group_vat_17"/>
  332. <field name="price_include" eval="True"/>
  333. <field name="invoice_repartition_line_ids" eval="[(5, 0, 0),
  334. (0,0, {'repartition_type': 'base'}),
  335. (0,0, {
  336. 'repartition_type': 'tax',
  337. 'account_id': ref('il_account_101840'),
  338. 'plus_report_expression_ids': [ref('account_tax_report_line_in_balance_17_tag')],
  339. }),
  340. ]"/>
  341. <field name="refund_repartition_line_ids" eval="[(5, 0, 0),
  342. (0,0, {'repartition_type': 'base'}),
  343. (0,0, {
  344. 'repartition_type': 'tax',
  345. 'account_id': ref('il_account_101840'),
  346. 'minus_report_expression_ids': [ref('account_tax_report_line_in_balance_17_tag')],
  347. }),
  348. ]"/>
  349. </record>
  350. <record id="il_vat_purchase_zero" model="account.tax.template">
  351. <field name="sequence">7</field>
  352. <field name="description">0%</field>
  353. <field name="name">VAT Zero</field>
  354. <field name="amount">0</field>
  355. <field name="amount_type">percent</field>
  356. <field name="price_include" eval="1"/>
  357. <field name="type_tax_use">purchase</field>
  358. <field name="chart_template_id" ref="il_chart_template"/>
  359. <field name="tax_group_id" ref="tax_group_vat_exempt_purchase"/>
  360. <field name="invoice_repartition_line_ids" eval="[(5, 0, 0),
  361. (0,0, {'repartition_type': 'base'}),
  362. (0,0, {
  363. 'repartition_type': 'tax',
  364. 'account_id': ref('il_account_101310'),
  365. }),
  366. ]"/>
  367. <field name="refund_repartition_line_ids" eval="[(5, 0, 0),
  368. (0,0, {'repartition_type': 'base'}),
  369. (0,0, {
  370. 'repartition_type': 'tax',
  371. 'account_id': ref('il_account_101310'),
  372. }),
  373. ]"/>
  374. </record>
  375. <record id="il_vat_sales_zero" model="account.tax.template">
  376. <field name="sequence">9</field>
  377. <field name="description">0%</field>
  378. <field name="name">VAT Zero</field>
  379. <field name="price_include" eval="1"/>
  380. <field name="amount">0</field>
  381. <field name="amount_type">percent</field>
  382. <field name="type_tax_use">sale</field>
  383. <field name="chart_template_id" ref="il_chart_template"/>
  384. <field name="tax_group_id" ref="tax_group_vat_exempt"/>
  385. <field name="invoice_repartition_line_ids" eval="[(5, 0, 0),
  386. (0,0, {
  387. 'repartition_type': 'base',
  388. 'plus_report_expression_ids': [ref('account_tax_report_line_out_base_exempt_tag')],
  389. }),
  390. (0,0, {
  391. 'repartition_type': 'tax',
  392. 'account_id': ref('il_account_111110'),
  393. }),
  394. ]"/>
  395. <field name="refund_repartition_line_ids" eval="[(5, 0, 0),
  396. (0,0, {
  397. 'repartition_type': 'base',
  398. 'minus_report_expression_ids': [ref('account_tax_report_line_out_base_exempt_tag')],
  399. }),
  400. (0,0, {
  401. 'repartition_type': 'tax',
  402. 'account_id': ref('il_account_111110'),
  403. }),
  404. ]"/>
  405. </record>
  406. </odoo>