Merge lp:~openerp-dev/openobject-addons/trunk-new-account-tax-design-tpa-l10n_bo-rma into lp:~openerp-dev/openobject-addons/trunk-new-account-tax-design-tpa

Proposed by Randhir Mayatra (OpenERP) on 2014-06-04
Status: Needs review
Proposed branch: lp:~openerp-dev/openobject-addons/trunk-new-account-tax-design-tpa-l10n_bo-rma
Merge into: lp:~openerp-dev/openobject-addons/trunk-new-account-tax-design-tpa
Diff against target: 12894 lines (+8600/-2994)
5 files modified
l10n_bo/account_tax.xml (+137/-41)
l10n_es/taxes_data_assoc.xml (+4070/-1476)
l10n_es/taxes_data_pymes.xml (+4017/-1423)
l10n_pt/account_taxes.xml (+133/-6)
l10n_vn/account_tax.xml (+243/-48)
To merge this branch: bzr merge lp:~openerp-dev/openobject-addons/trunk-new-account-tax-design-tpa-l10n_bo-rma
Reviewer Review Type Date Requested Status
OpenERP R&D Team 2014-06-04 Pending
Review via email: mp+222042@code.launchpad.net

Description of the change

Improved chart of account datas for following module according to new tax design:

l10n_bo
l10n_es
l10n_pt
l10n_vn

Thanks..

To post a comment you must log in.
9478. By Randhir Mayatra (OpenERP) on 2014-06-05

[IMP] improve code for minor changes

9479. By Randhir Mayatra (OpenERP) on 2014-06-24

[IMP] improve code

Unmerged revisions

9479. By Randhir Mayatra (OpenERP) on 2014-06-24

[IMP] improve code

9478. By Randhir Mayatra (OpenERP) on 2014-06-05

[IMP] improve code for minor changes

9477. By Randhir Mayatra (OpenERP) on 2014-06-04

[IMP] imropve code

9476. By Randhir Mayatra (OpenERP) on 2014-06-04

[IMP] imroved parent_id and child_depends

9475. By Randhir Mayatra (OpenERP) on 2014-06-04

[IMP] improved code_sign with tax_amount for l10n_es

9474. By Randhir Mayatra (OpenERP) on 2014-06-03

[IMP] add account_id in data of l10n_bo

9473. By Randhir Mayatra (OpenERP) on 2014-06-03

[IMP] improve tex data for l10n_es,l10n_pt

9472. By Randhir Mayatra (OpenERP) on 2014-06-02

[MERGE] merge with trunk-new-account-tax-design-tpa

9471. By Randhir Mayatra (OpenERP) on 2014-06-02

[IMP] improve tex data for l10n_es

9470. By Randhir Mayatra (OpenERP) on 2014-05-29

[IMP] improve amount in data for l10n_bo

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'l10n_bo/account_tax.xml'
2--- l10n_bo/account_tax.xml 2012-11-14 16:49:46 +0000
3+++ l10n_bo/account_tax.xml 2014-06-24 05:37:02 +0000
4@@ -3,48 +3,144 @@
5 <data>
6
7 <record id="ITAX_21" model="account.tax.template">
8- <field name="chart_template_id" ref="bo_chart_template"/>
9- <field name="name">IVA 13% Venta</field>
10- <field name="amount">0.130000</field>
11- <field name="type">percent</field>
12- <field name="type_tax_use">sale</field>
13- <field name="include_base_amount">1</field>
14- <field name="account_collected_id" ref="231"/>
15- <field name="account_paid_id" ref="231"/>
16- <field name="base_code_id" ref="vat_code_base_sale"/>
17- <field name="tax_code_id" ref="vat_code_IVA_receive"/>
18- <field name="ref_base_code_id" ref="vat_code_base_sale"/>
19- <field name="ref_tax_code_id" ref="vat_code_IVA_receive"/>
20- </record>
21+ <field name="chart_template_id" ref="bo_chart_template"/>
22+ <field name="name">IVA 13% Venta</field>
23+ <field name="amount">13</field>
24+ <field name="type">percent</field>
25+ <field name="type_tax_use">sale</field>
26+ <field name="include_base_amount">1</field>
27+ </record>
28+
29+ <record id="ITAX_21_invoice_base_line" model="account.tax.line.template">
30+ <field name="code_type">base</field>
31+ <field name="tax_amount">100</field>
32+ <field name="amount">100</field>
33+ <field name="apply_on">invoice</field>
34+ <field name="code_id" ref="vat_code_base_sale"/>
35+ <field name="tax_id" ref="ITAX_21"/>
36+ </record>
37+
38+ <record id="ITAX_21_invoice_tax_line" model="account.tax.line.template">
39+ <field name="code_type">tax</field>
40+ <field name="tax_amount">13</field>
41+ <field name="amount">13</field>
42+ <field name="apply_on">invoice</field>
43+ <field name="account_id" ref="231"/>
44+ <field name="code_id" ref="vat_code_IVA_receive"/>
45+ <field name="tax_id" ref="ITAX_21"/>
46+ </record>
47+
48+ <record id="ITAX_21_refund_base_line" model="account.tax.line.template">
49+ <field name="code_type">base</field>
50+ <field name="tax_amount">100</field>
51+ <field name="apply_on">refund</field>
52+ <field name="code_id" ref="vat_code_base_sale"/>
53+ <field name="amount">100</field>
54+ <field name="tax_id" ref="ITAX_21"/>
55+ </record>
56+
57+ <record id="ITAX_21_refund_tax_line" model="account.tax.line.template">
58+ <field name="code_type">tax</field>
59+ <field name="tax_amount">13</field>
60+ <field name="amount">13</field>
61+ <field name="apply_on">refund</field>
62+ <field name="account_id" ref="231"/>
63+ <field name="code_id" ref="vat_code_IVA_receive"/>
64+ <field name="tax_id" ref="ITAX_21"/>
65+ </record>
66+
67 <record id="OTAX_21" model="account.tax.template">
68- <field name="chart_template_id" ref="bo_chart_template"/>
69- <field name="name">IVA 13% Compra</field>
70- <field name="amount">0.130000</field>
71- <field name="type">percent</field>
72- <field name="type_tax_use">purchase</field>
73- <field name="include_base_amount">1</field>
74- <field name="account_collected_id" ref="231"/>
75- <field name="account_paid_id" ref="231"/>
76- <field name="base_code_id" ref="vat_code_base_purchase"/>
77- <field name="tax_code_id" ref="vat_code_IVA_pay"/>
78- <field name="ref_base_code_id" ref="vat_code_base_purchase"/>
79- <field name="ref_tax_code_id" ref="vat_code_IVA_pay"/>
80- </record>
81-
82+ <field name="chart_template_id" ref="bo_chart_template"/>
83+ <field name="name">IVA 13% Compra</field>
84+ <field name="amount">13</field>
85+ <field name="type">percent</field>
86+ <field name="type_tax_use">purchase</field>
87+ <field name="include_base_amount">1</field>
88+ </record>
89+
90+ <record id="OTAX_21_invoice_base_line" model="account.tax.line.template">
91+ <field name="code_type">base</field>
92+ <field name="tax_amount">100</field>
93+ <field name="apply_on">invoice</field>
94+ <field name="code_id" ref="vat_code_base_purchase"/>
95+ <field name="amount">100</field>
96+ <field name="tax_id" ref="OTAX_21"/>
97+ </record>
98+
99+ <record id="OTAX_21_invoice_tax_line" model="account.tax.line.template">
100+ <field name="code_type">tax</field>
101+ <field name="tax_amount">13</field>
102+ <field name="amount">13</field>
103+ <field name="apply_on">invoice</field>
104+ <field name="account_id" ref="231"/>
105+ <field name="code_id" ref="vat_code_IVA_pay"/>
106+ <field name="tax_id" ref="OTAX_21"/>
107+ </record>
108+
109+ <record id="OTAX_21_refund_base_line" model="account.tax.line.template">
110+ <field name="code_type">base</field>
111+ <field name="tax_amount">100</field>
112+ <field name="amount">100</field>
113+ <field name="apply_on">refund</field>
114+ <field name="code_id" ref="vat_code_base_purchase"/>
115+ <field name="tax_id" ref="OTAX_21"/>
116+ </record>
117+
118+ <record id="OTAX_21_refund_tax_line" model="account.tax.line.template">
119+ <field name="code_type">tax</field>
120+ <field name="tax_amount">13</field>
121+ <field name="amount">13</field>
122+ <field name="apply_on">refund</field>
123+ <field name="account_id" ref="231"/>
124+ <field name="code_id" ref="vat_code_IVA_pay"/>
125+ <field name="tax_id" ref="OTAX_21"/>
126+ </record>
127+
128 <record id="ITAX_03" model="account.tax.template">
129- <field name="chart_template_id" ref="bo_chart_template"/>
130- <field name="name">IT 3%</field>
131- <field name="amount">0.30000</field>
132- <field name="type">percent</field>
133- <field name="type_tax_use">sale</field>
134- <field name="price_include">0</field>
135- <field name="account_collected_id" ref="232"/>
136- <field name="account_paid_id" ref="232"/>
137- <field name="base_code_id" ref="vat_code_base_sale"/>
138- <field name="tax_code_id" ref="vat_code_transacciones"/>
139- <field name="ref_base_code_id" ref="vat_code_base_sale"/>
140- <field name="ref_tax_code_id" ref="vat_code_transacciones"/>
141- </record>
142-
143+ <field name="chart_template_id" ref="bo_chart_template"/>
144+ <field name="name">IT 3%</field>
145+ <field name="amount">30</field>
146+ <field name="type">percent</field>
147+ <field name="type_tax_use">sale</field>
148+ <field name="price_include">0</field>
149+ </record>
150+
151+ <record id="ITAX_03_invoice_base_line" model="account.tax.line.template">
152+ <field name="code_type">base</field>
153+ <field name="tax_amount">100</field>
154+ <field name="amount">100</field>
155+ <field name="apply_on">invoice</field>
156+ <field name="code_id" ref="vat_code_base_sale"/>
157+ <field name="tax_id" ref="ITAX_03"/>
158+ </record>
159+
160+ <record id="ITAX_03_invoice_tax_line" model="account.tax.line.template">
161+ <field name="code_type">tax</field>
162+ <field name="tax_amount">30</field>
163+ <field name="amount">30</field>
164+ <field name="apply_on">invoice</field>
165+ <field name="account_id" ref="232"/>
166+ <field name="code_id" ref="vat_code_transacciones"/>
167+ <field name="tax_id" ref="ITAX_03"/>
168+ </record>
169+
170+ <record id="ITAX_03_refund_base_line" model="account.tax.line.template">
171+ <field name="code_type">base</field>
172+ <field name="tax_amount">100</field>
173+ <field name="amount">100</field>
174+ <field name="apply_on">refund</field>
175+ <field name="code_id" ref="vat_code_base_sale"/>
176+ <field name="tax_id" ref="ITAX_03"/>
177+ </record>
178+
179+ <record id="ITAX_03_refund_tax_line" model="account.tax.line.template">
180+ <field name="code_type">tax</field>
181+ <field name="tax_amount">30</field>
182+ <field name="amount">30</field>
183+ <field name="apply_on">refund</field>
184+ <field name="account_id" ref="232"/>
185+ <field name="code_id" ref="vat_code_transacciones"/>
186+ <field name="tax_id" ref="ITAX_03"/>
187+ </record>
188 </data>
189 </openerp>
190
191=== modified file 'l10n_es/taxes_data_assoc.xml'
192--- l10n_es/taxes_data_assoc.xml 2013-10-31 18:43:21 +0000
193+++ l10n_es/taxes_data_assoc.xml 2014-06-24 05:37:02 +0000
194@@ -62,30 +62,87 @@
195 <field name="name">IVA Soportado exento (operaciones corrientes)</field>
196 <field eval="0.0" name="amount"/>
197 <field name="type">percent</field>
198- <field eval="1.0" name="tax_sign"/>
199- <field eval="1.0" name="base_sign"/>
200- <field name="base_code_id" ref="base_assoc_sop_ex"/>
201- <field name="ref_base_code_id" ref="base_assoc_sop_ex"/>
202- <field eval="-1.0" name="ref_tax_sign"/>
203- <field eval="-1.0" name="ref_base_sign"/>
204 <field name="type_tax_use">purchase</field>
205 </record>
206-
207+
208+ <record id="iva_assoc_sop_ex_invoice_base_line" model="account.tax.line.template">
209+ <field name="code_type">base</field>
210+ <field name="tax_amount">100</field>
211+ <field name="amount">100</field>
212+ <field name="apply_on">invoice</field>
213+ <field name="code_id" ref="base_assoc_sop_ex"/>
214+ <field name="tax_id" ref="iva_assoc_sop_ex"/>
215+ </record>
216+
217+ <record id="iva_assoc_sop_ex_invoice_tax_line" model="account.tax.line.template">
218+ <field name="code_type">tax</field>
219+ <field name="tax_amount">0</field>
220+ <field name="amount">0.0</field>
221+ <field name="apply_on">invoice</field>
222+ <field name="code_id" ref="iva_pymes_ded_27_18"/>
223+ <field name="tax_id" ref="iva_assoc_sop_ex"/>
224+ </record>
225+
226+ <record id="iva_assoc_sop_ex_refund_base_line" model="account.tax.line.template">
227+ <field name="code_type">base</field>
228+ <field name="tax_amount">-100</field>
229+ <field name="amount">100</field>
230+ <field name="apply_on">refund</field>
231+ <field name="code_id" ref="base_assoc_sop_ex"/>
232+ <field name="tax_id" ref="iva_assoc_sop_ex"/>
233+ </record>
234+
235+ <record id="iva_assoc_sop_ex_refund_tax_line" model="account.tax.line.template">
236+ <field name="code_type">tax</field>
237+ <field name="tax_amount">0</field>
238+ <field name="amount">0.0</field>
239+ <field name="apply_on">refund</field>
240+ <field name="tax_id" ref="iva_assoc_sop_ex"/>
241+ </record>
242+
243 <!-- IVA REPERCUTIDO-->
244 <record id="iva_assoc_rep_ex" model="account.tax.template">
245 <field name="chart_template_id" ref="l10nES_chart_template_assoc"/>
246 <field name="name">IVA Exento</field>
247 <field eval="0.0" name="amount"/>
248 <field name="type">percent</field>
249- <field name="base_code_id" ref="base_assoc_rep_ex"/>
250- <field name="ref_base_code_id" ref="base_assoc_rep_ex"/>
251- <field eval="1.0" name="tax_sign"/>
252- <field eval="1.0" name="base_sign"/>
253- <field eval="-1.0" name="ref_tax_sign"/>
254- <field eval="-1.0" name="ref_base_sign"/>
255 <field name="type_tax_use">sale</field>
256 </record>
257-
258+
259+ <record id="iva_assoc_rep_ex_invoice_base_line" model="account.tax.line.template">
260+ <field name="code_type">base</field>
261+ <field name="tax_amount">100</field>
262+ <field name="amount">100</field>
263+ <field name="apply_on">invoice</field>
264+ <field name="code_id" ref="base_assoc_rep_ex"/>
265+ <field name="tax_id" ref="iva_assoc_rep_ex"/>
266+ </record>
267+
268+ <record id="iva_assoc_rep_ex_invoice_tax_line" model="account.tax.line.template">
269+ <field name="code_type">tax</field>
270+ <field name="tax_amount">0</field>
271+ <field name="amount">0.0</field>
272+ <field name="apply_on">invoice</field>
273+ <field name="tax_id" ref="iva_assoc_rep_ex"/>
274+ </record>
275+
276+ <record id="iva_assoc_rep_ex_refund_base_line" model="account.tax.line.template">
277+ <field name="code_type">base</field>
278+ <field name="tax_amount">-100</field>
279+ <field name="amount">100</field>
280+ <field name="apply_on">refund</field>
281+ <field name="code_id" ref="base_assoc_rep_ex"/>
282+ <field name="tax_id" ref="iva_assoc_rep_ex"/>
283+ </record>
284+
285+ <record id="iva_assoc_rep_ex_refund_tax_line" model="account.tax.line.template">
286+ <field name="code_type">tax</field>
287+ <field name="tax_amount">0</field>
288+ <field name="amount">0.0</field>
289+ <field name="apply_on">refund</field>
290+ <field name="tax_id" ref="iva_assoc_rep_ex"/>
291+ </record>
292+
293
294
295 <!--Régimen general-->
296@@ -1057,256 +1114,649 @@
297 <record id="iva_assoc_sop_4" model="account.tax.template">
298 <field name="chart_template_id" ref="l10nES_chart_template_assoc"/>
299 <field name="name">4% IVA Soportado (operaciones corrientes)</field>
300- <field eval="0.04" name="amount"/>
301+ <field eval="4" name="amount"/>
302 <field name="type">percent</field>
303- <field name="account_collected_id" ref="pgc_assoc_472000"/>
304- <field name="account_paid_id" ref="pgc_assoc_472000"/>
305- <field name="base_code_id" ref="iva_assoc_ded_22_4"/>
306- <field name="tax_code_id" ref="iva_assoc_ded_23_4"/>
307- <field name="ref_base_code_id" ref="iva_assoc_ded_22_4"/>
308- <field name="ref_tax_code_id" ref="iva_assoc_ded_23_4"/>
309- <field eval="1.0" name="tax_sign"/>
310- <field eval="1.0" name="base_sign"/>
311- <field eval="-1.0" name="ref_tax_sign"/>
312- <field eval="-1.0" name="ref_base_sign"/>
313 <field name="type_tax_use">purchase</field>
314 </record>
315+
316+ <record id="iva_assoc_sop_4_invoice_base_line" model="account.tax.line.template">
317+ <field name="code_type">base</field>
318+ <field name="tax_amount">100</field>
319+ <field name="amount">100</field>
320+ <field name="apply_on">invoice</field>
321+ <field name="code_id" ref="iva_assoc_ded_22_4"/>
322+ <field name="tax_id" ref="iva_assoc_sop_4"/>
323+ </record>
324+
325+ <record id="iva_assoc_sop_4_invoice_tax_line" model="account.tax.line.template">
326+ <field name="code_type">tax</field>
327+ <field name="tax_amount">4</field>
328+ <field name="amount">4</field>
329+ <field name="apply_on">invoice</field>
330+ <field name="account_id" ref="pgc_assoc_472000"/>
331+ <field name="code_id" ref="iva_assoc_ded_23_4"/>
332+ <field name="tax_id" ref="iva_assoc_sop_4"/>
333+ </record>
334+
335+ <record id="iva_assoc_sop_4_refund_base_line" model="account.tax.line.template">
336+ <field name="code_type">base</field>
337+ <field name="tax_amount">-100</field>
338+ <field name="amount">100</field>
339+ <field name="apply_on">refund</field>
340+ <field name="code_id" ref="iva_assoc_ded_22_4"/>
341+ <field name="tax_id" ref="iva_assoc_sop_4"/>
342+ </record>
343+
344+ <record id="iva_assoc_sop_4_refund_tax_line" model="account.tax.line.template">
345+ <field name="code_type">tax</field>
346+ <field name="tax_amount">-4</field>
347+ <field name="amount">4</field>
348+ <field name="apply_on">refund</field>
349+ <field name="account_id" ref="pgc_assoc_472000"/>
350+ <field name="code_id" ref="iva_assoc_ded_23_4"/>
351+ <field name="tax_id" ref="iva_assoc_sop_4"/>
352+ </record>
353+
354
355 <record id="iva_assoc_sop_4_inv" model="account.tax.template">
356 <field name="chart_template_id" ref="l10nES_chart_template_assoc"/>
357 <field name="name">4% IVA Soportado (bienes de inversión)</field>
358- <field eval="0.04" name="amount"/>
359+ <field eval="4" name="amount"/>
360 <field name="type">percent</field>
361- <field name="account_collected_id" ref="pgc_assoc_472000"/>
362- <field name="account_paid_id" ref="pgc_assoc_472000"/>
363- <field name="base_code_id" ref="iva_assoc_ded_24_4"/>
364- <field name="tax_code_id" ref="iva_assoc_ded_25_4"/>
365- <field name="ref_base_code_id" ref="iva_assoc_ded_24_4"/>
366- <field name="ref_tax_code_id" ref="iva_assoc_ded_25_4"/>
367- <field eval="1.0" name="tax_sign"/>
368- <field eval="1.0" name="base_sign"/>
369- <field eval="-1.0" name="ref_tax_sign"/>
370- <field eval="-1.0" name="ref_base_sign"/>
371 <field name="type_tax_use">purchase</field>
372 </record>
373-
374+
375+ <record id="iva_assoc_sop_4_inv_invoice_base_line" model="account.tax.line.template">
376+ <field name="code_type">base</field>
377+ <field name="tax_amount">100</field>
378+ <field name="amount">100</field>
379+ <field name="apply_on">invoice</field>
380+ <field name="code_id" ref="iva_assoc_ded_24_4"/>
381+ <field name="tax_id" ref="iva_assoc_sop_4_inv"/>
382+ </record>
383+
384+ <record id="iva_assoc_sop_4_inv_invoice_tax_line" model="account.tax.line.template">
385+ <field name="code_type">tax</field>
386+ <field name="tax_amount">4</field>
387+ <field name="amount">4</field>
388+ <field name="apply_on">invoice</field>
389+ <field name="account_id" ref="pgc_assoc_472000"/>
390+ <field name="code_id" ref="iva_assoc_ded_25_4"/>
391+ <field name="tax_id" ref="iva_assoc_sop_4_inv"/>
392+ </record>
393+
394+ <record id="iva_assoc_sop_4_inv_refund_base_line" model="account.tax.line.template">
395+ <field name="code_type">base</field>
396+ <field name="tax_amount">-100</field>
397+ <field name="amount">100</field>
398+ <field name="apply_on">refund</field>
399+ <field name="code_id" ref="iva_assoc_ded_24_4"/>
400+ <field name="tax_id" ref="iva_assoc_sop_4_inv"/>
401+ </record>
402+
403+ <record id="iva_assoc_sop_4_inv_refund_tax_line" model="account.tax.line.template">
404+ <field name="code_type">tax</field>
405+ <field name="tax_amount">-4</field>
406+ <field name="amount">4</field>
407+ <field name="apply_on">refund</field>
408+ <field name="account_id" ref="pgc_assoc_472000"/>
409+ <field name="code_id" ref="iva_assoc_ded_25_4"/>
410+ <field name="tax_id" ref="iva_assoc_sop_4_inv"/>
411+ </record>
412+
413 <record id="iva_assoc_sop_7" model="account.tax.template">
414 <field name="chart_template_id" ref="l10nES_chart_template_assoc"/>
415 <field name="name">7% IVA Soportado (operaciones corrientes)</field>
416- <field eval="0.07" name="amount"/>
417+ <field eval="7" name="amount"/>
418 <field name="type">percent</field>
419- <field name="account_collected_id" ref="pgc_assoc_472000"/>
420- <field name="account_paid_id" ref="pgc_assoc_472000"/>
421- <field name="base_code_id" ref="iva_assoc_ded_22_7"/>
422- <field name="tax_code_id" ref="iva_assoc_ded_23_7"/>
423- <field name="ref_base_code_id" ref="iva_assoc_ded_22_7"/>
424- <field name="ref_tax_code_id" ref="iva_assoc_ded_23_7"/>
425- <field eval="1.0" name="tax_sign"/>
426- <field eval="1.0" name="base_sign"/>
427- <field eval="-1.0" name="ref_tax_sign"/>
428- <field eval="-1.0" name="ref_base_sign"/>
429 <field name="type_tax_use">purchase</field>
430 </record>
431-
432+
433+ <record id="iva_assoc_sop_7_invoice_base_line" model="account.tax.line.template">
434+ <field name="code_type">base</field>
435+ <field name="tax_amount">100</field>
436+ <field name="amount">100</field>
437+ <field name="apply_on">invoice</field>
438+ <field name="code_id" ref="iva_assoc_ded_22_7"/>
439+ <field name="tax_id" ref="iva_assoc_sop_7"/>
440+ </record>
441+
442+ <record id="iva_assoc_sop_7_invoice_tax_line" model="account.tax.line.template">
443+ <field name="code_type">tax</field>
444+ <field name="tax_amount">7</field>
445+ <field name="amount">7</field>
446+ <field name="apply_on">invoice</field>
447+ <field name="account_id" ref="pgc_assoc_472000"/>
448+ <field name="code_id" ref="iva_assoc_ded_23_7"/>
449+ <field name="tax_id" ref="iva_assoc_sop_7"/>
450+ </record>
451+
452+ <record id="iva_assoc_sop_7_refund_base_line" model="account.tax.line.template">
453+ <field name="code_type">base</field>
454+ <field name="tax_amount">-100</field>
455+ <field name="amount">100</field>
456+ <field name="apply_on">refund</field>
457+ <field name="code_id" ref="iva_assoc_ded_22_7"/>
458+ <field name="tax_id" ref="iva_assoc_sop_7"/>
459+ </record>
460+
461+ <record id="iva_assoc_sop_7_refund_tax_line" model="account.tax.line.template">
462+ <field name="code_type">tax</field>
463+ <field name="tax_amount">-7</field>
464+ <field name="amount">7</field>
465+ <field name="apply_on">refund</field>
466+ <field name="account_id" ref="pgc_assoc_472000"/>
467+ <field name="code_id" ref="iva_assoc_ded_23_7"/>
468+ <field name="tax_id" ref="iva_assoc_sop_7"/>
469+ </record>
470+
471 <record id="iva_assoc_sop_7_inv" model="account.tax.template">
472 <field name="chart_template_id" ref="l10nES_chart_template_assoc"/>
473 <field name="name">7% IVA Soportado (bienes de inversión)</field>
474- <field eval="0.07" name="amount"/>
475+ <field eval="7" name="amount"/>
476 <field name="type">percent</field>
477- <field name="account_collected_id" ref="pgc_assoc_472000"/>
478- <field name="account_paid_id" ref="pgc_assoc_472000"/>
479- <field name="base_code_id" ref="iva_assoc_ded_24_7"/>
480- <field name="tax_code_id" ref="iva_assoc_ded_25_7"/>
481- <field name="ref_base_code_id" ref="iva_assoc_ded_24_7"/>
482- <field name="ref_tax_code_id" ref="iva_assoc_ded_25_7"/>
483- <field eval="1.0" name="tax_sign"/>
484- <field eval="1.0" name="base_sign"/>
485- <field eval="-1.0" name="ref_tax_sign"/>
486- <field eval="-1.0" name="ref_base_sign"/>
487 <field name="type_tax_use">purchase</field>
488 </record>
489-
490+
491+ <record id="iva_assoc_sop_7_inv_invoice_base_line" model="account.tax.line.template">
492+ <field name="code_type">base</field>
493+ <field name="tax_amount">100</field>
494+ <field name="amount">100</field>
495+ <field name="apply_on">invoice</field>
496+ <field name="code_id" ref="iva_assoc_ded_24_7"/>
497+ <field name="tax_id" ref="iva_assoc_sop_7_inv"/>
498+ </record>
499+
500+ <record id="iva_assoc_sop_7_inv_invoice_tax_line" model="account.tax.line.template">
501+ <field name="code_type">tax</field>
502+ <field name="tax_amount">7</field>
503+ <field name="amount">7</field>
504+ <field name="apply_on">invoice</field>
505+ <field name="account_id" ref="pgc_assoc_472000"/>
506+ <field name="code_id" ref="iva_assoc_ded_25_7"/>
507+ <field name="tax_id" ref="iva_assoc_sop_7_inv"/>
508+ </record>
509+
510+ <record id="iva_assoc_sop_7_inv_refund_base_line" model="account.tax.line.template">
511+ <field name="code_type">base</field>
512+ <field name="tax_amount">-100</field>
513+ <field name="amount">100</field>
514+ <field name="apply_on">refund</field>
515+ <field name="code_id" ref="iva_assoc_ded_24_7"/>
516+ <field name="tax_id" ref="iva_assoc_sop_7_inv"/>
517+ </record>
518+
519+ <record id="iva_assoc_sop_7_inv_refund_tax_line" model="account.tax.line.template">
520+ <field name="code_type">tax</field>
521+ <field name="tax_amount">-7</field>
522+ <field name="amount">7</field>
523+ <field name="apply_on">refund</field>
524+ <field name="account_id" ref="pgc_assoc_472000"/>
525+ <field name="code_id" ref="iva_assoc_ded_25_7"/>
526+ <field name="tax_id" ref="iva_assoc_sop_7_inv"/>
527+ </record>
528+
529 <record id="iva_assoc_sop_8" model="account.tax.template">
530 <field name="chart_template_id" ref="l10nES_chart_template_assoc"/>
531 <field name="name">8% IVA Soportado (operaciones corrientes)</field>
532- <field eval="0.08" name="amount"/>
533+ <field eval="8" name="amount"/>
534 <field name="type">percent</field>
535- <field name="account_collected_id" ref="pgc_assoc_472000"/>
536- <field name="account_paid_id" ref="pgc_assoc_472000"/>
537- <field name="base_code_id" ref="iva_assoc_ded_22_8"/>
538- <field name="tax_code_id" ref="iva_assoc_ded_23_8"/>
539- <field name="ref_base_code_id" ref="iva_assoc_ded_22_8"/>
540- <field name="ref_tax_code_id" ref="iva_assoc_ded_23_8"/>
541- <field eval="1.0" name="tax_sign"/>
542- <field eval="1.0" name="base_sign"/>
543- <field eval="-1.0" name="ref_tax_sign"/>
544- <field eval="-1.0" name="ref_base_sign"/>
545 <field name="type_tax_use">purchase</field>
546 </record>
547-
548+
549+ <record id="iva_assoc_sop_8_invoice_base_line" model="account.tax.line.template">
550+ <field name="code_type">base</field>
551+ <field name="tax_amount">100</field>
552+ <field name="amount">100</field>
553+ <field name="apply_on">invoice</field>
554+ <field name="code_id" ref="iva_assoc_ded_22_8"/>
555+ <field name="tax_id" ref="iva_assoc_sop_8"/>
556+ </record>
557+
558+ <record id="iva_assoc_sop_8_invoice_tax_line" model="account.tax.line.template">
559+ <field name="code_type">tax</field>
560+ <field name="tax_amount">8</field>
561+ <field name="amount">8</field>
562+ <field name="apply_on">invoice</field>
563+ <field name="account_id" ref="pgc_assoc_472000"/>
564+ <field name="code_id" ref="iva_assoc_ded_23_8"/>
565+ <field name="tax_id" ref="iva_assoc_sop_8"/>
566+ </record>
567+
568+ <record id="iva_assoc_sop_8_refund_base_line" model="account.tax.line.template">
569+ <field name="code_type">base</field>
570+ <field name="tax_amount">-100</field>
571+ <field name="amount">100</field>
572+ <field name="apply_on">refund</field>
573+ <field name="code_id" ref="iva_assoc_ded_22_8"/>
574+ <field name="tax_id" ref="iva_assoc_sop_8"/>
575+ </record>
576+
577+ <record id="iva_assoc_sop_8_refund_tax_line" model="account.tax.line.template">
578+ <field name="code_type">tax</field>
579+ <field name="tax_amount">-8</field>
580+ <field name="amount">8</field>
581+ <field name="apply_on">refund</field>
582+ <field name="account_id" ref="pgc_assoc_472000"/>
583+ <field name="code_id" ref="iva_assoc_ded_23_8"/>
584+ <field name="tax_id" ref="iva_assoc_sop_8"/>
585+ </record>
586+
587 <record id="iva_assoc_sop_8_inv" model="account.tax.template">
588 <field name="chart_template_id" ref="l10nES_chart_template_assoc"/>
589 <field name="name">8% IVA Soportado (bienes de inversión)</field>
590- <field eval="0.08" name="amount"/>
591+ <field eval="8" name="amount"/>
592 <field name="type">percent</field>
593- <field name="account_collected_id" ref="pgc_assoc_472000"/>
594- <field name="account_paid_id" ref="pgc_assoc_472000"/>
595- <field name="base_code_id" ref="iva_assoc_ded_24_8"/>
596- <field name="tax_code_id" ref="iva_assoc_ded_25_8"/>
597- <field name="ref_base_code_id" ref="iva_assoc_ded_24_8"/>
598- <field name="ref_tax_code_id" ref="iva_assoc_ded_25_8"/>
599- <field eval="1.0" name="tax_sign"/>
600- <field eval="1.0" name="base_sign"/>
601- <field eval="-1.0" name="ref_tax_sign"/>
602- <field eval="-1.0" name="ref_base_sign"/>
603 <field name="type_tax_use">purchase</field>
604 </record>
605-
606+
607+ <record id="iva_assoc_sop_8_inv_invoice_base_line" model="account.tax.line.template">
608+ <field name="code_type">base</field>
609+ <field name="tax_amount">100</field>
610+ <field name="amount">100</field>
611+ <field name="apply_on">invoice</field>
612+ <field name="code_id" ref="iva_assoc_ded_24_8"/>
613+ <field name="tax_id" ref="iva_assoc_sop_8_inv"/>
614+ </record>
615+
616+ <record id="iva_assoc_sop_8_inv_invoice_tax_line" model="account.tax.line.template">
617+ <field name="code_type">tax</field>
618+ <field name="tax_amount">8</field>
619+ <field name="amount">8</field>
620+ <field name="apply_on">invoice</field>
621+ <field name="account_id" ref="pgc_assoc_472000"/>
622+ <field name="code_id" ref="iva_assoc_ded_25_8"/>
623+ <field name="tax_id" ref="iva_assoc_sop_8_inv"/>
624+ </record>
625+
626+ <record id="iva_assoc_sop_8_inv_refund_base_line" model="account.tax.line.template">
627+ <field name="code_type">base</field>
628+ <field name="tax_amount">-100</field>
629+ <field name="amount">100</field>
630+ <field name="apply_on">refund</field>
631+ <field name="code_id" ref="iva_assoc_ded_24_8"/>
632+ <field name="tax_id" ref="iva_assoc_sop_8_inv"/>
633+ </record>
634+
635+ <record id="iva_assoc_sop_8_inv_refund_tax_line" model="account.tax.line.template">
636+ <field name="code_type">tax</field>
637+ <field name="tax_amount">-8</field>
638+ <field name="amount">8</field>
639+ <field name="apply_on">refund</field>
640+ <field name="account_id" ref="pgc_assoc_472000"/>
641+ <field name="code_id" ref="iva_assoc_ded_25_8"/>
642+ <field name="tax_id" ref="iva_assoc_sop_8_inv"/>
643+ </record>
644+
645 <record id="iva_assoc_sop_10" model="account.tax.template">
646 <field name="chart_template_id" ref="l10nES_chart_template_assoc"/>
647 <field name="name">10% IVA Soportado (operaciones corrientes)</field>
648- <field eval="0.10" name="amount"/>
649+ <field eval="10" name="amount"/>
650 <field name="type">percent</field>
651- <field name="account_collected_id" ref="pgc_assoc_472000"/>
652- <field name="account_paid_id" ref="pgc_assoc_472000"/>
653- <field name="base_code_id" ref="iva_assoc_ded_22_10"/>
654- <field name="tax_code_id" ref="iva_assoc_ded_23_10"/>
655- <field name="ref_base_code_id" ref="iva_assoc_ded_22_10"/>
656- <field name="ref_tax_code_id" ref="iva_assoc_ded_23_10"/>
657- <field eval="1.0" name="tax_sign"/>
658- <field eval="1.0" name="base_sign"/>
659- <field eval="-1.0" name="ref_tax_sign"/>
660- <field eval="-1.0" name="ref_base_sign"/>
661 <field name="type_tax_use">purchase</field>
662 </record>
663-
664+
665+ <record id="iva_assoc_sop_10_invoice_base_line" model="account.tax.line.template">
666+ <field name="code_type">base</field>
667+ <field name="tax_amount">100</field>
668+ <field name="amount">100</field>
669+ <field name="apply_on">invoice</field>
670+ <field name="code_id" ref="iva_assoc_ded_22_10"/>
671+ <field name="tax_id" ref="iva_assoc_sop_10"/>
672+ </record>
673+
674+ <record id="iva_assoc_sop_10_invoice_tax_line" model="account.tax.line.template">
675+ <field name="code_type">tax</field>
676+ <field name="tax_amount">10</field>
677+ <field name="amount">10</field>
678+ <field name="apply_on">invoice</field>
679+ <field name="account_id" ref="pgc_assoc_472000"/>
680+ <field name="code_id" ref="iva_assoc_ded_23_10"/>
681+ <field name="tax_id" ref="iva_assoc_sop_10"/>
682+ </record>
683+
684+ <record id="iva_assoc_sop_10_refund_base_line" model="account.tax.line.template">
685+ <field name="code_type">base</field>
686+ <field name="tax_amount">-100</field>
687+ <field name="amount">100</field>
688+ <field name="apply_on">refund</field>
689+ <field name="code_id" ref="iva_assoc_ded_22_10"/>
690+ <field name="tax_id" ref="iva_assoc_sop_10"/>
691+ </record>
692+
693+ <record id="iva_assoc_sop_10_refund_tax_line" model="account.tax.line.template">
694+ <field name="code_type">tax</field>
695+ <field name="tax_amount">-10</field>
696+ <field name="amount">10</field>
697+ <field name="apply_on">refund</field>
698+ <field name="account_id" ref="pgc_assoc_472000"/>
699+ <field name="code_id" ref="iva_assoc_ded_23_10"/>
700+ <field name="tax_id" ref="iva_assoc_sop_10"/>
701+ </record>
702+
703 <record id="iva_assoc_sop_10_inv" model="account.tax.template">
704 <field name="chart_template_id" ref="l10nES_chart_template_assoc"/>
705 <field name="name">10% IVA Soportado (bienes de inversión)</field>
706- <field eval="0.10" name="amount"/>
707+ <field eval="10" name="amount"/>
708 <field name="type">percent</field>
709- <field name="account_collected_id" ref="pgc_assoc_472000"/>
710- <field name="account_paid_id" ref="pgc_assoc_472000"/>
711- <field name="base_code_id" ref="iva_assoc_ded_24_10"/>
712- <field name="tax_code_id" ref="iva_assoc_ded_25_10"/>
713- <field name="ref_base_code_id" ref="iva_assoc_ded_24_10"/>
714- <field name="ref_tax_code_id" ref="iva_assoc_ded_25_10"/>
715- <field eval="1.0" name="tax_sign"/>
716- <field eval="1.0" name="base_sign"/>
717- <field eval="-1.0" name="ref_tax_sign"/>
718- <field eval="-1.0" name="ref_base_sign"/>
719 <field name="type_tax_use">purchase</field>
720 </record>
721-
722+
723+ <record id="iva_assoc_sop_10_inv_invoice_base_line" model="account.tax.line.template">
724+ <field name="code_type">base</field>
725+ <field name="tax_amount">100</field>
726+ <field name="amount">100</field>
727+ <field name="apply_on">invoice</field>
728+ <field name="code_id" ref="iva_assoc_ded_24_10"/>
729+ <field name="tax_id" ref="iva_assoc_sop_10_inv"/>
730+ </record>
731+
732+ <record id="iva_assoc_sop_10_inv_invoice_tax_line" model="account.tax.line.template">
733+ <field name="code_type">tax</field>
734+ <field name="tax_amount">10</field>
735+ <field name="amount">10</field>
736+ <field name="apply_on">invoice</field>
737+ <field name="account_id" ref="pgc_assoc_472000"/>
738+ <field name="code_id" ref="iva_assoc_ded_25_10"/>
739+ <field name="tax_id" ref="iva_assoc_sop_10_inv"/>
740+ </record>
741+
742+ <record id="iva_assoc_sop_10_inv_refund_base_line" model="account.tax.line.template">
743+ <field name="code_type">base</field>
744+ <field name="tax_amount">-100</field>
745+ <field name="amount">100</field>
746+ <field name="apply_on">refund</field>
747+ <field name="code_id" ref="iva_assoc_ded_24_10"/>
748+ <field name="tax_id" ref="iva_assoc_sop_10_inv"/>
749+ </record>
750+
751+ <record id="iva_assoc_sop_10_inv_refund_tax_line" model="account.tax.line.template">
752+ <field name="code_type">tax</field>
753+ <field name="tax_amount">-10</field>
754+ <field name="amount">10</field>
755+ <field name="apply_on">refund</field>
756+ <field name="account_id" ref="pgc_assoc_472000"/>
757+ <field name="code_id" ref="iva_assoc_ded_25_10"/>
758+ <field name="tax_id" ref="iva_assoc_sop_10_inv"/>
759+ </record>
760+
761 <record id="iva_assoc_sop_16" model="account.tax.template">
762 <field name="chart_template_id" ref="l10nES_chart_template_assoc"/>
763 <field name="name">16% IVA Soportado (operaciones corrientes)</field>
764- <field eval="0.16" name="amount"/>
765+ <field eval="16" name="amount"/>
766 <field name="type">percent</field>
767- <field name="account_collected_id" ref="pgc_assoc_472000"/>
768- <field name="account_paid_id" ref="pgc_assoc_472000"/>
769- <field name="base_code_id" ref="iva_assoc_ded_22_16"/>
770- <field name="tax_code_id" ref="iva_assoc_ded_23_16"/>
771- <field name="ref_base_code_id" ref="iva_assoc_ded_22_16"/>
772- <field name="ref_tax_code_id" ref="iva_assoc_ded_23_16"/>
773- <field eval="1.0" name="tax_sign"/>
774- <field eval="1.0" name="base_sign"/>
775- <field eval="-1.0" name="ref_tax_sign"/>
776- <field eval="-1.0" name="ref_base_sign"/>
777 <field name="type_tax_use">purchase</field>
778 </record>
779-
780+
781+ <record id="iva_assoc_sop_16_invoice_base_line" model="account.tax.line.template">
782+ <field name="code_type">base</field>
783+ <field name="tax_amount">100</field>
784+ <field name="amount">100</field>
785+ <field name="apply_on">invoice</field>
786+ <field name="code_id" ref="iva_assoc_ded_22_16"/>
787+ <field name="tax_id" ref="iva_assoc_sop_16"/>
788+ </record>
789+
790+ <record id="iva_assoc_sop_16_invoice_tax_line" model="account.tax.line.template">
791+ <field name="code_type">tax</field>
792+ <field name="tax_amount">16</field>
793+ <field name="amount">16</field>
794+ <field name="apply_on">invoice</field>
795+ <field name="account_id" ref="pgc_assoc_472000"/>
796+ <field name="code_id" ref="iva_assoc_ded_23_16"/>
797+ <field name="tax_id" ref="iva_assoc_sop_16"/>
798+ </record>
799+
800+ <record id="iva_assoc_sop_16_refund_base_line" model="account.tax.line.template">
801+ <field name="code_type">base</field>
802+ <field name="tax_amount">-100</field>
803+ <field name="amount">100</field>
804+ <field name="apply_on">refund</field>
805+ <field name="code_id" ref="iva_assoc_ded_22_16"/>
806+ <field name="tax_id" ref="iva_assoc_sop_16"/>
807+ </record>
808+
809+ <record id="iva_assoc_sop_16_refund_tax_line" model="account.tax.line.template">
810+ <field name="code_type">tax</field>
811+ <field name="tax_amount">-16</field>
812+ <field name="amount">16</field>
813+ <field name="apply_on">refund</field>
814+ <field name="account_id" ref="pgc_assoc_472000"/>
815+ <field name="code_id" ref="iva_assoc_ded_23_16"/>
816+ <field name="tax_id" ref="iva_assoc_sop_16"/>
817+ </record>
818+
819 <record id="iva_assoc_sop_16_inv" model="account.tax.template">
820 <field name="chart_template_id" ref="l10nES_chart_template_assoc"/>
821 <field name="name">16% IVA Soportado (bienes de inversión)</field>
822- <field eval="0.16" name="amount"/>
823+ <field eval="16" name="amount"/>
824 <field name="type">percent</field>
825- <field name="account_collected_id" ref="pgc_assoc_472000"/>
826- <field name="account_paid_id" ref="pgc_assoc_472000"/>
827- <field name="base_code_id" ref="iva_assoc_ded_24_16"/>
828- <field name="tax_code_id" ref="iva_assoc_ded_25_16"/>
829- <field name="ref_base_code_id" ref="iva_assoc_ded_24_16"/>
830- <field name="ref_tax_code_id" ref="iva_assoc_ded_25_16"/>
831- <field eval="1.0" name="tax_sign"/>
832- <field eval="1.0" name="base_sign"/>
833- <field eval="-1.0" name="ref_tax_sign"/>
834- <field eval="-1.0" name="ref_base_sign"/>
835 <field name="type_tax_use">purchase</field>
836 </record>
837-
838+
839+ <record id="iva_assoc_sop_16_inv_invoice_base_line" model="account.tax.line.template">
840+ <field name="code_type">base</field>
841+ <field name="tax_amount">100</field>
842+ <field name="amount">100</field>
843+ <field name="apply_on">invoice</field>
844+ <field name="code_id" ref="iva_assoc_ded_24_16"/>
845+ <field name="tax_id" ref="iva_assoc_sop_16_inv"/>
846+ </record>
847+
848+ <record id="iva_assoc_sop_16_inv_invoice_tax_line" model="account.tax.line.template">
849+ <field name="code_type">tax</field>
850+ <field name="tax_amount">16</field>
851+ <field name="amount">16</field>
852+ <field name="apply_on">invoice</field>
853+ <field name="account_id" ref="pgc_assoc_472000"/>
854+ <field name="code_id" ref="iva_assoc_ded_25_16"/>
855+ <field name="tax_id" ref="iva_assoc_sop_16_inv"/>
856+ </record>
857+
858+ <record id="iva_assoc_sop_16_inv_refund_base_line" model="account.tax.line.template">
859+ <field name="code_type">base</field>
860+ <field name="tax_amount">-100</field>
861+ <field name="amount">100</field>
862+ <field name="apply_on">refund</field>
863+ <field name="code_id" ref="iva_assoc_ded_24_16"/>
864+ <field name="tax_id" ref="iva_assoc_sop_16_inv"/>
865+ </record>
866+
867+ <record id="iva_assoc_sop_16_inv_refund_tax_line" model="account.tax.line.template">
868+ <field name="code_type">tax</field>
869+ <field name="tax_amount">-16</field>
870+ <field name="amount">16</field>
871+ <field name="apply_on">refund</field>
872+ <field name="account_id" ref="pgc_assoc_472000"/>
873+ <field name="code_id" ref="iva_assoc_ded_25_16"/>
874+ <field name="tax_id" ref="iva_assoc_sop_16_inv"/>
875+ </record>
876+
877 <record id="iva_assoc_sop_18" model="account.tax.template">
878 <field name="chart_template_id" ref="l10nES_chart_template_assoc"/>
879 <field name="name">18% IVA Soportado (operaciones corrientes)</field>
880- <field eval="0.18" name="amount"/>
881+ <field eval="18" name="amount"/>
882 <field name="type">percent</field>
883- <field name="account_collected_id" ref="pgc_assoc_472000"/>
884- <field name="account_paid_id" ref="pgc_assoc_472000"/>
885- <field name="base_code_id" ref="iva_assoc_ded_22_18"/>
886- <field name="tax_code_id" ref="iva_assoc_ded_23_18"/>
887- <field name="ref_base_code_id" ref="iva_assoc_ded_22_18"/>
888- <field name="ref_tax_code_id" ref="iva_assoc_ded_23_18"/>
889- <field eval="1.0" name="tax_sign"/>
890- <field eval="1.0" name="base_sign"/>
891- <field eval="-1.0" name="ref_tax_sign"/>
892- <field eval="-1.0" name="ref_base_sign"/>
893 <field name="type_tax_use">purchase</field>
894 </record>
895-
896+
897+ <record id="iva_assoc_sop_18_invoice_base_line" model="account.tax.line.template">
898+ <field name="code_type">base</field>
899+ <field name="tax_amount">100</field>
900+ <field name="amount">100</field>
901+ <field name="apply_on">invoice</field>
902+ <field name="code_id" ref="iva_assoc_ded_22_18"/>
903+ <field name="tax_id" ref="iva_assoc_sop_18"/>
904+ </record>
905+
906+ <record id="iva_assoc_sop_18_invoice_tax_line" model="account.tax.line.template">
907+ <field name="code_type">tax</field>
908+ <field name="tax_amount">18</field>
909+ <field name="amount">18</field>
910+ <field name="apply_on">invoice</field>
911+ <field name="account_id" ref="pgc_assoc_472000"/>
912+ <field name="code_id" ref="iva_assoc_ded_23_18"/>
913+ <field name="tax_id" ref="iva_assoc_sop_18"/>
914+ </record>
915+
916+ <record id="iva_assoc_sop_18_refund_base_line" model="account.tax.line.template">
917+ <field name="code_type">base</field>
918+ <field name="tax_amount">-100</field>
919+ <field name="amount">100</field>
920+ <field name="apply_on">refund</field>
921+ <field name="code_id" ref="iva_assoc_ded_22_18"/>
922+ <field name="tax_id" ref="iva_assoc_sop_18"/>
923+ </record>
924+
925+ <record id="iva_assoc_sop_18_refund_tax_line" model="account.tax.line.template">
926+ <field name="code_type">tax</field>
927+ <field name="tax_amount">-18</field>
928+ <field name="amount">18</field>
929+ <field name="apply_on">refund</field>
930+ <field name="account_id" ref="pgc_assoc_472000"/>
931+ <field name="code_id" ref="iva_assoc_ded_23_18"/>
932+ <field name="tax_id" ref="iva_assoc_sop_18"/>
933+ </record>
934+
935 <record id="iva_assoc_sop_18_inv" model="account.tax.template">
936 <field name="chart_template_id" ref="l10nES_chart_template_assoc"/>
937 <field name="name">18% IVA Soportado (bienes de inversión)</field>
938- <field eval="0.18" name="amount"/>
939+ <field eval="18" name="amount"/>
940 <field name="type">percent</field>
941- <field name="account_collected_id" ref="pgc_assoc_472000"/>
942- <field name="account_paid_id" ref="pgc_assoc_472000"/>
943- <field name="base_code_id" ref="iva_assoc_ded_24_18"/>
944- <field name="tax_code_id" ref="iva_assoc_ded_25_18"/>
945- <field name="ref_base_code_id" ref="iva_assoc_ded_24_18"/>
946- <field name="ref_tax_code_id" ref="iva_assoc_ded_25_18"/>
947- <field eval="1.0" name="tax_sign"/>
948- <field eval="1.0" name="base_sign"/>
949- <field eval="-1.0" name="ref_tax_sign"/>
950- <field eval="-1.0" name="ref_base_sign"/>
951 <field name="type_tax_use">purchase</field>
952 </record>
953-
954+
955+ <record id="iva_assoc_sop_18_inv_invoice_base_line" model="account.tax.line.template">
956+ <field name="code_type">base</field>
957+ <field name="tax_amount">100</field>
958+ <field name="amount">100</field>
959+ <field name="apply_on">invoice</field>
960+ <field name="code_id" ref="iva_assoc_ded_24_18"/>
961+ <field name="tax_id" ref="iva_assoc_sop_18_inv"/>
962+ </record>
963+
964+ <record id="iva_assoc_sop_18_inv_invoice_tax_line" model="account.tax.line.template">
965+ <field name="code_type">tax</field>
966+ <field name="tax_amount">18</field>
967+ <field name="amount">18</field>
968+ <field name="apply_on">invoice</field>
969+ <field name="account_id" ref="pgc_assoc_472000"/>
970+ <field name="code_id" ref="iva_assoc_ded_25_18"/>
971+ <field name="tax_id" ref="iva_assoc_sop_18_inv"/>
972+ </record>
973+
974+ <record id="iva_assoc_sop_18_inv_refund_base_line" model="account.tax.line.template">
975+ <field name="code_type">base</field>
976+ <field name="tax_amount">-100</field>
977+ <field name="amount">100</field>
978+ <field name="apply_on">refund</field>
979+ <field name="code_id" ref="iva_assoc_ded_24_18"/>
980+ <field name="tax_id" ref="iva_assoc_sop_18_inv"/>
981+ </record>
982+
983+ <record id="iva_assoc_sop_18_inv_refund_tax_line" model="account.tax.line.template">
984+ <field name="code_type">tax</field>
985+ <field name="tax_amount">-18</field>
986+ <field name="amount">18</field>
987+ <field name="apply_on">refund</field>
988+ <field name="account_id" ref="pgc_assoc_472000"/>
989+ <field name="code_id" ref="iva_assoc_ded_25_18"/>
990+ <field name="tax_id" ref="iva_assoc_sop_18_inv"/>
991+ </record>
992+
993 <record id="iva_assoc_sop_21" model="account.tax.template">
994 <field name="chart_template_id" ref="l10nES_chart_template_assoc"/>
995 <field name="name">21% IVA Soportado (operaciones corrientes)</field>
996- <field eval="0.21" name="amount"/>
997+ <field eval="21" name="amount"/>
998 <field name="type">percent</field>
999- <field name="account_collected_id" ref="pgc_assoc_472000"/>
1000- <field name="account_paid_id" ref="pgc_assoc_472000"/>
1001- <field name="base_code_id" ref="iva_assoc_ded_22_21"/>
1002- <field name="tax_code_id" ref="iva_assoc_ded_23_21"/>
1003- <field name="ref_base_code_id" ref="iva_assoc_ded_22_21"/>
1004- <field name="ref_tax_code_id" ref="iva_assoc_ded_23_21"/>
1005- <field eval="1.0" name="tax_sign"/>
1006- <field eval="1.0" name="base_sign"/>
1007- <field eval="-1.0" name="ref_tax_sign"/>
1008- <field eval="-1.0" name="ref_base_sign"/>
1009 <field name="type_tax_use">purchase</field>
1010 <field eval="0" name="sequence"/>
1011 </record>
1012-
1013+
1014+ <record id="iva_assoc_sop_21_invoice_base_line" model="account.tax.line.template">
1015+ <field name="code_type">base</field>
1016+ <field name="tax_amount">100</field>
1017+ <field name="amount">100</field>
1018+ <field name="apply_on">invoice</field>
1019+ <field name="code_id" ref="iva_assoc_ded_22_21"/>
1020+ <field name="tax_id" ref="iva_assoc_sop_21"/>
1021+ </record>
1022+
1023+ <record id="iva_assoc_sop_21_invoice_tax_line" model="account.tax.line.template">
1024+ <field name="code_type">tax</field>
1025+ <field name="tax_amount">21</field>
1026+ <field name="amount">21</field>
1027+ <field name="apply_on">invoice</field>
1028+ <field name="account_id" ref="pgc_assoc_472000"/>
1029+ <field name="code_id" ref="iva_assoc_ded_23_21"/>
1030+ <field name="tax_id" ref="iva_assoc_sop_21"/>
1031+ </record>
1032+
1033+ <record id="iva_assoc_sop_21_refund_base_line" model="account.tax.line.template">
1034+ <field name="code_type">base</field>
1035+ <field name="tax_amount">-100</field>
1036+ <field name="amount">100</field>
1037+ <field name="apply_on">refund</field>
1038+ <field name="code_id" ref="iva_assoc_ded_22_21"/>
1039+ <field name="tax_id" ref="iva_assoc_sop_21"/>
1040+ </record>
1041+
1042+ <record id="iva_assoc_sop_21_refund_tax_line" model="account.tax.line.template">
1043+ <field name="code_type">tax</field>
1044+ <field name="tax_amount">-21</field>
1045+ <field name="amount">21</field>
1046+ <field name="apply_on">refund</field>
1047+ <field name="account_id" ref="pgc_assoc_472000"/>
1048+ <field name="code_id" ref="iva_assoc_ded_23_21"/>
1049+ <field name="tax_id" ref="iva_assoc_sop_21"/>
1050+ </record>
1051+
1052 <record id="iva_assoc_sop_21_inv" model="account.tax.template">
1053 <field name="chart_template_id" ref="l10nES_chart_template_assoc"/>
1054 <field name="name">21% IVA Soportado (bienes de inversión)</field>
1055- <field eval="0.21" name="amount"/>
1056+ <field eval="21" name="amount"/>
1057 <field name="type">percent</field>
1058- <field name="account_collected_id" ref="pgc_assoc_472000"/>
1059- <field name="account_paid_id" ref="pgc_assoc_472000"/>
1060- <field name="base_code_id" ref="iva_assoc_ded_24_21"/>
1061- <field name="tax_code_id" ref="iva_assoc_ded_25_21"/>
1062- <field name="ref_base_code_id" ref="iva_assoc_ded_24_21"/>
1063- <field name="ref_tax_code_id" ref="iva_assoc_ded_25_21"/>
1064- <field eval="1.0" name="tax_sign"/>
1065- <field eval="1.0" name="base_sign"/>
1066- <field eval="-1.0" name="ref_tax_sign"/>
1067- <field eval="-1.0" name="ref_base_sign"/>
1068 <field name="type_tax_use">purchase</field>
1069 </record>
1070-
1071+
1072+ <record id="iva_assoc_sop_21_inv_invoice_base_line" model="account.tax.line.template">
1073+ <field name="code_type">base</field>
1074+ <field name="tax_amount">100</field>
1075+ <field name="amount">100</field>
1076+ <field name="apply_on">invoice</field>
1077+ <field name="code_id" ref="iva_assoc_ded_24_21"/>
1078+ <field name="tax_id" ref="iva_assoc_sop_21_inv"/>
1079+ </record>
1080+
1081+ <record id="iva_assoc_sop_21_inv_invoice_tax_line" model="account.tax.line.template">
1082+ <field name="code_type">tax</field>
1083+ <field name="tax_amount">21</field>
1084+ <field name="amount">21</field>
1085+ <field name="apply_on">invoice</field>
1086+ <field name="account_id" ref="pgc_assoc_472000"/>
1087+ <field name="code_id" ref="iva_assoc_ded_25_21"/>
1088+ <field name="tax_id" ref="iva_assoc_sop_21_inv"/>
1089+ </record>
1090+
1091+ <record id="iva_assoc_sop_21_inv_refund_base_line" model="account.tax.line.template">
1092+ <field name="code_type">base</field>
1093+ <field name="tax_amount">-100</field>
1094+ <field name="amount">100</field>
1095+ <field name="apply_on">refund</field>
1096+ <field name="code_id" ref="iva_assoc_ded_24_21"/>
1097+ <field name="tax_id" ref="iva_assoc_sop_21_inv"/>
1098+ </record>
1099+
1100+ <record id="iva_assoc_sop_21_inv_refund_tax_line" model="account.tax.line.template">
1101+ <field name="code_type">tax</field>
1102+ <field name="tax_amount">-21</field>
1103+ <field name="amount">21</field>
1104+ <field name="apply_on">refund</field>
1105+ <field name="account_id" ref="pgc_assoc_472000"/>
1106+ <field name="code_id" ref="iva_assoc_ded_25_21"/>
1107+ <field name="tax_id" ref="iva_assoc_sop_21_inv"/>
1108+ </record>
1109+
1110 <!-- Plantillas para Extracomunitario-->
1111 <!-- IVA compras -->
1112 <record id="iva_assoc_X0_compras_bc" model="account.tax.template">
1113@@ -1315,288 +1765,747 @@
1114 <field name="description">IVA 0% Importaciones bienes corrientes</field>
1115 <field eval="0.00" name="amount"/>
1116 <field name="type">percent</field>
1117- <field name="base_code_id" ref="iva_assoc_ded_26"/>
1118- <field name="ref_base_code_id" ref="iva_assoc_ded_26"/>
1119- <field name="tax_code_id" ref="iva_assoc_ded_27"/>
1120- <field name="ref_tax_code_id" ref="iva_assoc_ded_27"/>
1121- <field eval="-1.0" name="ref_tax_sign"/>
1122- <field eval="-1.0" name="ref_base_sign"/>
1123 <field name="type_tax_use">purchase</field>
1124 </record>
1125+
1126+ <record id="iva_assoc_X0_compras_bc_invoice_base_line" model="account.tax.line.template">
1127+ <field name="code_type">base</field>
1128+ <field name="tax_amount">100</field>
1129+ <field name="amount">100</field>
1130+ <field name="apply_on">invoice</field>
1131+ <field name="code_id" ref="iva_assoc_ded_26"/>
1132+ <field name="tax_id" ref="iva_assoc_X0_compras_bc"/>
1133+ </record>
1134+
1135+ <record id="iva_assoc_X0_compras_bc_invoice_tax_line" model="account.tax.line.template">
1136+ <field name="code_type">tax</field>
1137+ <field name="tax_amount">0</field>
1138+ <field name="amount">0.0</field>
1139+ <field name="apply_on">invoice</field>
1140+ <field name="code_id" ref="iva_assoc_ded_27"/>
1141+ <field name="tax_id" ref="iva_assoc_X0_compras_bc"/>
1142+ </record>
1143+
1144+ <record id="iva_assoc_X0_compras_bc_refund_base_line" model="account.tax.line.template">
1145+ <field name="code_type">base</field>
1146+ <field name="tax_amount">-100</field>
1147+ <field name="amount">100</field>
1148+ <field name="apply_on">refund</field>
1149+ <field name="code_id" ref="iva_assoc_ded_26"/>
1150+ <field name="tax_id" ref="iva_assoc_X0_compras_bc"/>
1151+ </record>
1152+
1153+ <record id="iva_assoc_X0_compras_bc_refund_tax_line" model="account.tax.line.template">
1154+ <field name="code_type">tax</field>
1155+ <field name="tax_amount">0</field>
1156+ <field name="amount">0.0</field>
1157+ <field name="apply_on">refund</field>
1158+ <field name="code_id" ref="iva_assoc_ded_27"/>
1159+ <field name="tax_id" ref="iva_assoc_X0_compras_bc"/>
1160+ </record>
1161+
1162 <record id="iva_assoc_X0_compras_bi" model="account.tax.template">
1163 <field name="chart_template_id" ref="l10nES_chart_template_assoc"/>
1164 <field name="name">IVA 0% Importaciones bienes de inversión</field>
1165 <field name="description">IVA 0% Importaciones bienes de inversión</field>
1166 <field eval="0.00" name="amount"/>
1167 <field name="type">percent</field>
1168- <field name="base_code_id" ref="iva_assoc_ded_28"/>
1169- <field name="ref_base_code_id" ref="iva_assoc_ded_28"/>
1170- <field name="tax_code_id" ref="iva_assoc_ded_29"/>
1171- <field name="ref_tax_code_id" ref="iva_assoc_ded_29"/>
1172- <field eval="-1.0" name="ref_tax_sign"/>
1173- <field eval="-1.0" name="ref_base_sign"/>
1174 <field name="type_tax_use">purchase</field>
1175 </record>
1176-
1177+
1178+ <record id="iva_assoc_X0_compras_bi_invoice_base_line" model="account.tax.line.template">
1179+ <field name="code_type">base</field>
1180+ <field name="tax_amount">100</field>
1181+ <field name="amount">100</field>
1182+ <field name="apply_on">invoice</field>
1183+ <field name="code_id" ref="iva_assoc_ded_28"/>
1184+ <field name="tax_id" ref="iva_assoc_X0_compras_bi"/>
1185+ </record>
1186+
1187+ <record id="iva_assoc_X0_compras_bi_invoice_tax_line" model="account.tax.line.template">
1188+ <field name="code_type">tax</field>
1189+ <field name="tax_amount">0</field>
1190+ <field name="amount">0.0</field>
1191+ <field name="apply_on">invoice</field>
1192+ <field name="code_id" ref="iva_assoc_ded_29"/>
1193+ <field name="tax_id" ref="iva_assoc_X0_compras_bi"/>
1194+ </record>
1195+
1196+ <record id="iva_assoc_X0_compras_bi_refund_base_line" model="account.tax.line.template">
1197+ <field name="code_type">base</field>
1198+ <field name="tax_amount">-100</field>
1199+ <field name="amount">100</field>
1200+ <field name="apply_on">refund</field>
1201+ <field name="code_id" ref="iva_assoc_ded_28"/>
1202+ <field name="tax_id" ref="iva_assoc_X0_compras_bi"/>
1203+ </record>
1204+
1205+ <record id="iva_assoc_X0_compras_bi_refund_tax_line" model="account.tax.line.template">
1206+ <field name="code_type">tax</field>
1207+ <field name="tax_amount">0</field>
1208+ <field name="amount">0.0</field>
1209+ <field name="apply_on">refund</field>
1210+ <field name="code_id" ref="iva_assoc_ded_29"/>
1211+ <field name="tax_id" ref="iva_assoc_X0_compras_bi"/>
1212+ </record>
1213+
1214 <record id="iva_assoc_X4_compras_bc" model="account.tax.template">
1215 <field name="chart_template_id" ref="l10nES_chart_template_assoc"/>
1216 <field name="name">IVA 4% Importaciones bienes corrientes</field>
1217 <field name="description">IVA 4% Importaciones bienes corrientes</field>
1218- <field eval="0.04" name="amount"/>
1219+ <field eval="4" name="amount"/>
1220 <field name="type">percent</field>
1221- <field name="account_collected_id" ref="pgc_assoc_472000"/>
1222- <field name="account_paid_id" ref="pgc_assoc_472000"/>
1223- <field name="base_code_id" ref="iva_assoc_ded_26_4"/>
1224- <field name="tax_code_id" ref="iva_assoc_ded_27_4"/>
1225- <field name="ref_base_code_id" ref="iva_assoc_ded_26_4"/>
1226- <field name="ref_tax_code_id" ref="iva_assoc_ded_27_4"/>
1227- <field eval="1.0" name="tax_sign"/>
1228- <field eval="1.0" name="base_sign"/>
1229- <field eval="-1.0" name="ref_tax_sign"/>
1230- <field eval="-1.0" name="ref_base_sign"/>
1231 <field name="type_tax_use">purchase</field>
1232 </record>
1233+
1234+ <record id="iva_assoc_X4_compras_bc_invoice_base_line" model="account.tax.line.template">
1235+ <field name="code_type">base</field>
1236+ <field name="tax_amount">100</field>
1237+ <field name="amount">100</field>
1238+ <field name="apply_on">invoice</field>
1239+ <field name="code_id" ref="iva_assoc_ded_26_4"/>
1240+ <field name="tax_id" ref="iva_assoc_X4_compras_bc"/>
1241+ </record>
1242+
1243+ <record id="iva_assoc_X4_compras_bc_invoice_tax_line" model="account.tax.line.template">
1244+ <field name="code_type">tax</field>
1245+ <field name="tax_amount">4</field>
1246+ <field name="amount">4</field>
1247+ <field name="apply_on">invoice</field>
1248+ <field name="account_id" ref="pgc_pymes_472000"/>
1249+ <field name="code_id" ref="iva_assoc_ded_27_4"/>
1250+ <field name="tax_id" ref="iva_assoc_X4_compras_bc"/>
1251+ </record>
1252+
1253+ <record id="iva_assoc_X4_compras_bc_refund_base_line" model="account.tax.line.template">
1254+ <field name="code_type">base</field>
1255+ <field name="tax_amount">-100</field>
1256+ <field name="amount">100</field>
1257+ <field name="apply_on">refund</field>
1258+ <field name="code_id" ref="iva_assoc_ded_26_4"/>
1259+ <field name="tax_id" ref="iva_assoc_X4_compras_bc"/>
1260+ </record>
1261+
1262+ <record id="iva_assoc_X4_compras_bc_refund_tax_line" model="account.tax.line.template">
1263+ <field name="code_type">tax</field>
1264+ <field name="tax_amount">-4</field>
1265+ <field name="amount">4</field>
1266+ <field name="apply_on">refund</field>
1267+ <field name="account_id" ref="pgc_pymes_472000"/>
1268+ <field name="code_id" ref="iva_assoc_ded_27_4"/>
1269+ <field name="tax_id" ref="iva_assoc_X4_compras_bc"/>
1270+ </record>
1271+
1272 <record id="iva_assoc_X4_compras_bi" model="account.tax.template">
1273 <field name="chart_template_id" ref="l10nES_chart_template_assoc"/>
1274 <field name="name">IVA 4% Importaciones bienes de inversión</field>
1275 <field name="description">IVA 4% Importaciones bienes de inversión</field>
1276- <field eval="0.04" name="amount"/>
1277+ <field eval="4" name="amount"/>
1278 <field name="type">percent</field>
1279- <field name="account_collected_id" ref="pgc_assoc_472000"/>
1280- <field name="account_paid_id" ref="pgc_assoc_472000"/>
1281- <field name="base_code_id" ref="iva_assoc_ded_28_4"/>
1282- <field name="tax_code_id" ref="iva_assoc_ded_29_4"/>
1283- <field name="ref_base_code_id" ref="iva_assoc_ded_28_4"/>
1284- <field name="ref_tax_code_id" ref="iva_assoc_ded_29_4"/>
1285- <field eval="1.0" name="tax_sign"/>
1286- <field eval="1.0" name="base_sign"/>
1287- <field eval="-1.0" name="ref_tax_sign"/>
1288- <field eval="-1.0" name="ref_base_sign"/>
1289 <field name="type_tax_use">purchase</field>
1290 </record>
1291-
1292+
1293+ <record id="iva_assoc_X4_compras_bi_invoice_base_line" model="account.tax.line.template">
1294+ <field name="code_type">base</field>
1295+ <field name="tax_amount">100</field>
1296+ <field name="amount">100</field>
1297+ <field name="apply_on">invoice</field>
1298+ <field name="code_id" ref="iva_assoc_ded_28_4"/>
1299+ <field name="tax_id" ref="iva_assoc_X4_compras_bi"/>
1300+ </record>
1301+
1302+ <record id="iva_assoc_X4_compras_bi_invoice_tax_line" model="account.tax.line.template">
1303+ <field name="code_type">tax</field>
1304+ <field name="tax_amount">4</field>
1305+ <field name="amount">4</field>
1306+ <field name="apply_on">invoice</field>
1307+ <field name="account_id" ref="pgc_pymes_472000"/>
1308+ <field name="code_id" ref="iva_assoc_ded_29_4"/>
1309+ <field name="tax_id" ref="iva_assoc_X4_compras_bi"/>
1310+ </record>
1311+
1312+ <record id="iva_assoc_X4_compras_bi_refund_base_line" model="account.tax.line.template">
1313+ <field name="code_type">base</field>
1314+ <field name="tax_amount">-100</field>
1315+ <field name="amount">100</field>
1316+ <field name="apply_on">refund</field>
1317+ <field name="code_id" ref="iva_assoc_ded_28_4"/>
1318+ <field name="tax_id" ref="iva_assoc_X4_compras_bi"/>
1319+ </record>
1320+
1321+ <record id="iva_assoc_X4_compras_bi_refund_tax_line" model="account.tax.line.template">
1322+ <field name="code_type">tax</field>
1323+ <field name="tax_amount">-4</field>
1324+ <field name="amount">4</field>
1325+ <field name="apply_on">refund</field>
1326+ <field name="account_id" ref="pgc_pymes_472000"/>
1327+ <field name="code_id" ref="iva_assoc_ded_29_4"/>
1328+ <field name="tax_id" ref="iva_assoc_X4_compras_bi"/>
1329+ </record>
1330+
1331 <record id="iva_assoc_X7_compras_bc" model="account.tax.template">
1332 <field name="chart_template_id" ref="l10nES_chart_template_assoc"/>
1333 <field name="name">IVA 7% Importaciones bienes corrientes</field>
1334 <field name="description">IVA 7% Importaciones bienes corrientes</field>
1335- <field eval="0.07" name="amount"/>
1336+ <field eval="7" name="amount"/>
1337 <field name="type">percent</field>
1338- <field name="account_collected_id" ref="pgc_assoc_472000"/>
1339- <field name="account_paid_id" ref="pgc_assoc_472000"/>
1340- <field name="base_code_id" ref="iva_assoc_ded_26_7"/>
1341- <field name="tax_code_id" ref="iva_assoc_ded_27_7"/>
1342- <field name="ref_base_code_id" ref="iva_assoc_ded_26_7"/>
1343- <field name="ref_tax_code_id" ref="iva_assoc_ded_27_7"/>
1344- <field eval="1.0" name="tax_sign"/>
1345- <field eval="1.0" name="base_sign"/>
1346- <field eval="-1.0" name="ref_tax_sign"/>
1347- <field eval="-1.0" name="ref_base_sign"/>
1348 <field name="type_tax_use">purchase</field>
1349 </record>
1350+
1351+ <record id="iva_assoc_X7_compras_bc_invoice_base_line" model="account.tax.line.template">
1352+ <field name="code_type">base</field>
1353+ <field name="tax_amount">100</field>
1354+ <field name="amount">100</field>
1355+ <field name="apply_on">invoice</field>
1356+ <field name="code_id" ref="iva_assoc_ded_26_7"/>
1357+ <field name="tax_id" ref="iva_assoc_X7_compras_bc"/>
1358+ </record>
1359+
1360+ <record id="iva_assoc_X7_compras_bc_invoice_tax_line" model="account.tax.line.template">
1361+ <field name="code_type">tax</field>
1362+ <field name="tax_amount">7</field>
1363+ <field name="amount">7</field>
1364+ <field name="apply_on">invoice</field>
1365+ <field name="account_id" ref="pgc_pymes_472000"/>
1366+ <field name="code_id" ref="iva_assoc_ded_27_7"/>
1367+ <field name="tax_id" ref="iva_assoc_X7_compras_bc"/>
1368+ </record>
1369+
1370+ <record id="iva_assoc_X7_compras_bc_refund_base_line" model="account.tax.line.template">
1371+ <field name="code_type">base</field>
1372+ <field name="tax_amount">-100</field>
1373+ <field name="amount">100</field>
1374+ <field name="apply_on">refund</field>
1375+ <field name="code_id" ref="iva_assoc_ded_26_7"/>
1376+ <field name="tax_id" ref="iva_assoc_X7_compras_bc"/>
1377+ </record>
1378+
1379+ <record id="iva_assoc_X7_compras_bc_refund_tax_line" model="account.tax.line.template">
1380+ <field name="code_type">tax</field>
1381+ <field name="tax_amount">-7</field>
1382+ <field name="amount">7</field>
1383+ <field name="apply_on">refund</field>
1384+ <field name="account_id" ref="pgc_pymes_472000"/>
1385+ <field name="code_id" ref="iva_assoc_ded_27_7"/>
1386+ <field name="tax_id" ref="iva_assoc_X7_compras_bc"/>
1387+ </record>
1388+
1389 <record id="iva_assoc_X7_compras_bi" model="account.tax.template">
1390 <field name="chart_template_id" ref="l10nES_chart_template_assoc"/>
1391 <field name="name">IVA 7% Importaciones bienes de inversión</field>
1392 <field name="description">IVA 7% Importaciones bienes de inversión</field>
1393- <field eval="0.07" name="amount"/>
1394+ <field eval="7" name="amount"/>
1395 <field name="type">percent</field>
1396- <field name="account_collected_id" ref="pgc_assoc_472000"/>
1397- <field name="account_paid_id" ref="pgc_assoc_472000"/>
1398- <field name="base_code_id" ref="iva_assoc_ded_28_7"/>
1399- <field name="tax_code_id" ref="iva_assoc_ded_29_7"/>
1400- <field name="ref_base_code_id" ref="iva_assoc_ded_28_7"/>
1401- <field name="ref_tax_code_id" ref="iva_assoc_ded_29_7"/>
1402- <field eval="1.0" name="tax_sign"/>
1403- <field eval="1.0" name="base_sign"/>
1404- <field eval="-1.0" name="ref_tax_sign"/>
1405- <field eval="-1.0" name="ref_base_sign"/>
1406 <field name="type_tax_use">purchase</field>
1407 </record>
1408-
1409+
1410+ <record id="iva_assoc_X7_compras_bi_invoice_base_line" model="account.tax.line.template">
1411+ <field name="code_type">base</field>
1412+ <field name="tax_amount">100</field>
1413+ <field name="amount">100</field>
1414+ <field name="apply_on">invoice</field>
1415+ <field name="code_id" ref="iva_assoc_ded_28_7"/>
1416+ <field name="tax_id" ref="iva_assoc_X7_compras_bi"/>
1417+ </record>
1418+
1419+ <record id="iva_assoc_X7_compras_bi_invoice_tax_line" model="account.tax.line.template">
1420+ <field name="code_type">tax</field>
1421+ <field name="tax_amount">7</field>
1422+ <field name="amount">7</field>
1423+ <field name="apply_on">invoice</field>
1424+ <field name="account_id" ref="pgc_pymes_472000"/>
1425+ <field name="code_id" ref="iva_assoc_ded_29_7"/>
1426+ <field name="tax_id" ref="iva_assoc_X7_compras_bi"/>
1427+ </record>
1428+
1429+ <record id="iva_assoc_X7_compras_bi_refund_base_line" model="account.tax.line.template">
1430+ <field name="code_type">base</field>
1431+ <field name="tax_amount">-100</field>
1432+ <field name="amount">100</field>
1433+ <field name="apply_on">refund</field>
1434+ <field name="code_id" ref="iva_assoc_ded_28_7"/>
1435+ <field name="tax_id" ref="iva_assoc_X7_compras_bi"/>
1436+ </record>
1437+
1438+ <record id="iva_assoc_X7_compras_bi_refund_tax_line" model="account.tax.line.template">
1439+ <field name="code_type">tax</field>
1440+ <field name="tax_amount">-7</field>
1441+ <field name="amount">7</field>
1442+ <field name="apply_on">refund</field>
1443+ <field name="account_id" ref="pgc_pymes_472000"/>
1444+ <field name="code_id" ref="iva_assoc_ded_29_7"/>
1445+ <field name="tax_id" ref="iva_assoc_X7_compras_bi"/>
1446+ </record>
1447+
1448 <record id="iva_assoc_X8_compras_bc" model="account.tax.template">
1449 <field name="chart_template_id" ref="l10nES_chart_template_assoc"/>
1450 <field name="name">IVA 8% Importaciones bienes corrientes</field>
1451 <field name="description">IVA 8% Importaciones bienes corrientes</field>
1452- <field eval="0.08" name="amount"/>
1453+ <field eval="8" name="amount"/>
1454 <field name="type">percent</field>
1455- <field name="account_collected_id" ref="pgc_assoc_472000"/>
1456- <field name="account_paid_id" ref="pgc_assoc_472000"/>
1457- <field name="base_code_id" ref="iva_assoc_ded_26_8"/>
1458- <field name="tax_code_id" ref="iva_assoc_ded_27_8"/>
1459- <field name="ref_base_code_id" ref="iva_assoc_ded_26_8"/>
1460- <field name="ref_tax_code_id" ref="iva_assoc_ded_27_8"/>
1461- <field eval="1.0" name="tax_sign"/>
1462- <field eval="1.0" name="base_sign"/>
1463- <field eval="-1.0" name="ref_tax_sign"/>
1464- <field eval="-1.0" name="ref_base_sign"/>
1465 <field name="type_tax_use">purchase</field>
1466 </record>
1467+
1468+ <record id="iva_assoc_X8_compras_bc_invoice_base_line" model="account.tax.line.template">
1469+ <field name="code_type">base</field>
1470+ <field name="tax_amount">100</field>
1471+ <field name="amount">100</field>
1472+ <field name="apply_on">invoice</field>
1473+ <field name="code_id" ref="iva_assoc_ded_26_8"/>
1474+ <field name="tax_id" ref="iva_assoc_X8_compras_bc"/>
1475+ </record>
1476+
1477+ <record id="iva_assoc_X8_compras_bc_invoice_tax_line" model="account.tax.line.template">
1478+ <field name="code_type">tax</field>
1479+ <field name="tax_amount">8</field>
1480+ <field name="amount">8</field>
1481+ <field name="apply_on">invoice</field>
1482+ <field name="account_id" ref="pgc_pymes_472000"/>
1483+ <field name="code_id" ref="iva_assoc_ded_27_8"/>
1484+ <field name="tax_id" ref="iva_assoc_X8_compras_bc"/>
1485+ </record>
1486+
1487+ <record id="iva_assoc_X8_compras_bc_refund_base_line" model="account.tax.line.template">
1488+ <field name="code_type">base</field>
1489+ <field name="tax_amount">-100</field>
1490+ <field name="amount">100</field>
1491+ <field name="apply_on">refund</field>
1492+ <field name="code_id" ref="iva_assoc_ded_26_8"/>
1493+ <field name="tax_id" ref="iva_assoc_X8_compras_bc"/>
1494+ </record>
1495+
1496+ <record id="iva_assoc_X8_compras_bc_refund_tax_line" model="account.tax.line.template">
1497+ <field name="code_type">tax</field>
1498+ <field name="tax_amount">-8</field>
1499+ <field name="amount">8</field>
1500+ <field name="apply_on">refund</field>
1501+ <field name="account_id" ref="pgc_pymes_472000"/>
1502+ <field name="code_id" ref="iva_assoc_ded_27_8"/>
1503+ <field name="tax_id" ref="iva_assoc_X8_compras_bc"/>
1504+ </record>
1505+
1506 <record id="iva_assoc_X8_compras_bi" model="account.tax.template">
1507 <field name="chart_template_id" ref="l10nES_chart_template_assoc"/>
1508 <field name="name">IVA 8% Importaciones bienes de inversión</field>
1509 <field name="description">IVA 8% Importaciones bienes de inversión</field>
1510- <field eval="0.08" name="amount"/>
1511+ <field eval="8" name="amount"/>
1512 <field name="type">percent</field>
1513- <field name="account_collected_id" ref="pgc_assoc_472000"/>
1514- <field name="account_paid_id" ref="pgc_assoc_472000"/>
1515- <field name="base_code_id" ref="iva_assoc_ded_28_8"/>
1516- <field name="tax_code_id" ref="iva_assoc_ded_29_8"/>
1517- <field name="ref_base_code_id" ref="iva_assoc_ded_28_8"/>
1518- <field name="ref_tax_code_id" ref="iva_assoc_ded_29_8"/>
1519- <field eval="1.0" name="tax_sign"/>
1520- <field eval="1.0" name="base_sign"/>
1521- <field eval="-1.0" name="ref_tax_sign"/>
1522- <field eval="-1.0" name="ref_base_sign"/>
1523 <field name="type_tax_use">purchase</field>
1524 </record>
1525-
1526+
1527+ <record id="iva_assoc_X8_compras_bi_invoice_base_line" model="account.tax.line.template">
1528+ <field name="code_type">base</field>
1529+ <field name="tax_amount">100</field>
1530+ <field name="amount">100</field>
1531+ <field name="apply_on">invoice</field>
1532+ <field name="code_id" ref="iva_assoc_ded_28_8"/>
1533+ <field name="tax_id" ref="iva_assoc_X8_compras_bi"/>
1534+ </record>
1535+
1536+ <record id="iva_assoc_X8_compras_bi_invoice_tax_line" model="account.tax.line.template">
1537+ <field name="code_type">tax</field>
1538+ <field name="tax_amount">8</field>
1539+ <field name="amount">8</field>
1540+ <field name="apply_on">invoice</field>
1541+ <field name="account_id" ref="pgc_pymes_472000"/>
1542+ <field name="code_id" ref="iva_assoc_ded_29_8"/>
1543+ <field name="tax_id" ref="iva_assoc_X8_compras_bi"/>
1544+ </record>
1545+
1546+ <record id="iva_assoc_X8_compras_bi_refund_base_line" model="account.tax.line.template">
1547+ <field name="code_type">base</field>
1548+ <field name="tax_amount">-100</field>
1549+ <field name="amount">100</field>
1550+ <field name="apply_on">refund</field>
1551+ <field name="code_id" ref="iva_assoc_ded_28_8"/>
1552+ <field name="tax_id" ref="iva_assoc_X8_compras_bi"/>
1553+ </record>
1554+
1555+ <record id="iva_assoc_X8_compras_bi_refund_tax_line" model="account.tax.line.template">
1556+ <field name="code_type">tax</field>
1557+ <field name="tax_amount">-8</field>
1558+ <field name="amount">8</field>
1559+ <field name="apply_on">refund</field>
1560+ <field name="account_id" ref="pgc_pymes_472000"/>
1561+ <field name="code_id" ref="iva_assoc_ded_29_8"/>
1562+ <field name="tax_id" ref="iva_assoc_X8_compras_bi"/>
1563+ </record>
1564+
1565 <record id="iva_assoc_X10_compras_bc" model="account.tax.template">
1566 <field name="chart_template_id" ref="l10nES_chart_template_assoc"/>
1567 <field name="name">IVA 10% Importaciones bienes corrientes</field>
1568 <field name="description">IVA 10% Importaciones bienes corrientes</field>
1569- <field eval="0.10" name="amount"/>
1570+ <field eval="10" name="amount"/>
1571 <field name="type">percent</field>
1572- <field name="account_collected_id" ref="pgc_assoc_472000"/>
1573- <field name="account_paid_id" ref="pgc_assoc_472000"/>
1574- <field name="base_code_id" ref="iva_assoc_ded_26_10"/>
1575- <field name="tax_code_id" ref="iva_assoc_ded_27_10"/>
1576- <field name="ref_base_code_id" ref="iva_assoc_ded_26_10"/>
1577- <field name="ref_tax_code_id" ref="iva_assoc_ded_27_10"/>
1578- <field eval="1.0" name="tax_sign"/>
1579- <field eval="1.0" name="base_sign"/>
1580- <field eval="-1.0" name="ref_tax_sign"/>
1581- <field eval="-1.0" name="ref_base_sign"/>
1582 <field name="type_tax_use">purchase</field>
1583 </record>
1584+
1585+ <record id="iva_assoc_X10_compras_bc_invoice_base_line" model="account.tax.line.template">
1586+ <field name="code_type">base</field>
1587+ <field name="tax_amount">100</field>
1588+ <field name="amount">100</field>
1589+ <field name="apply_on">invoice</field>
1590+ <field name="code_id" ref="iva_assoc_ded_26_10"/>
1591+ <field name="tax_id" ref="iva_assoc_X10_compras_bc"/>
1592+ </record>
1593+
1594+ <record id="iva_assoc_X10_compras_bc_invoice_tax_line" model="account.tax.line.template">
1595+ <field name="code_type">tax</field>
1596+ <field name="tax_amount">10</field>
1597+ <field name="amount">10</field>
1598+ <field name="apply_on">invoice</field>
1599+ <field name="account_id" ref="pgc_pymes_472000"/>
1600+ <field name="code_id" ref="iva_assoc_ded_27_10"/>
1601+ <field name="tax_id" ref="iva_assoc_X10_compras_bc"/>
1602+ </record>
1603+
1604+ <record id="iva_assoc_X10_compras_bc_refund_base_line" model="account.tax.line.template">
1605+ <field name="code_type">base</field>
1606+ <field name="tax_amount">-100</field>
1607+ <field name="amount">100</field>
1608+ <field name="apply_on">refund</field>
1609+ <field name="code_id" ref="iva_assoc_ded_26_10"/>
1610+ <field name="tax_id" ref="iva_assoc_X10_compras_bc"/>
1611+ </record>
1612+
1613+ <record id="iva_assoc_X10_compras_bc_refund_tax_line" model="account.tax.line.template">
1614+ <field name="code_type">tax</field>
1615+ <field name="tax_amount">-10</field>
1616+ <field name="amount">10</field>
1617+ <field name="apply_on">refund</field>
1618+ <field name="account_id" ref="pgc_pymes_472000"/>
1619+ <field name="code_id" ref="iva_assoc_ded_27_10"/>
1620+ <field name="tax_id" ref="iva_assoc_X10_compras_bc"/>
1621+ </record>
1622+
1623 <record id="iva_assoc_X10_compras_bi" model="account.tax.template">
1624 <field name="chart_template_id" ref="l10nES_chart_template_assoc"/>
1625 <field name="name">IVA 10% Importaciones bienes de inversión</field>
1626 <field name="description">IVA 10% Importaciones bienes de inversión</field>
1627- <field eval="0.10" name="amount"/>
1628+ <field eval="10" name="amount"/>
1629 <field name="type">percent</field>
1630- <field name="account_collected_id" ref="pgc_assoc_472000"/>
1631- <field name="account_paid_id" ref="pgc_assoc_472000"/>
1632- <field name="base_code_id" ref="iva_assoc_ded_28_10"/>
1633- <field name="tax_code_id" ref="iva_assoc_ded_29_10"/>
1634- <field name="ref_base_code_id" ref="iva_assoc_ded_28_10"/>
1635- <field name="ref_tax_code_id" ref="iva_assoc_ded_29_10"/>
1636- <field eval="1.0" name="tax_sign"/>
1637- <field eval="1.0" name="base_sign"/>
1638- <field eval="-1.0" name="ref_tax_sign"/>
1639- <field eval="-1.0" name="ref_base_sign"/>
1640 <field name="type_tax_use">purchase</field>
1641 </record>
1642-
1643+
1644+ <record id="iva_assoc_X10_compras_bi_invoice_base_line" model="account.tax.line.template">
1645+ <field name="code_type">base</field>
1646+ <field name="tax_amount">100</field>
1647+ <field name="amount">100</field>
1648+ <field name="apply_on">invoice</field>
1649+ <field name="code_id" ref="iva_assoc_ded_28_10"/>
1650+ <field name="tax_id" ref="iva_assoc_X10_compras_bi"/>
1651+ </record>
1652+
1653+ <record id="iva_assoc_X10_compras_bi_invoice_tax_line" model="account.tax.line.template">
1654+ <field name="code_type">tax</field>
1655+ <field name="tax_amount">10</field>
1656+ <field name="amount">10</field>
1657+ <field name="apply_on">invoice</field>
1658+ <field name="account_id" ref="pgc_pymes_472000"/>
1659+ <field name="code_id" ref="iva_assoc_ded_29_10"/>
1660+ <field name="tax_id" ref="iva_assoc_X10_compras_bi"/>
1661+ </record>
1662+
1663+ <record id="iva_assoc_X10_compras_bi_refund_base_line" model="account.tax.line.template">
1664+ <field name="code_type">base</field>
1665+ <field name="tax_amount">-100</field>
1666+ <field name="amount">100</field>
1667+ <field name="apply_on">refund</field>
1668+ <field name="code_id" ref="iva_assoc_ded_28_10"/>
1669+ <field name="tax_id" ref="iva_assoc_X10_compras_bi"/>
1670+ </record>
1671+
1672+ <record id="iva_assoc_X10_compras_bi_refund_tax_line" model="account.tax.line.template">
1673+ <field name="code_type">tax</field>
1674+ <field name="tax_amount">-10</field>
1675+ <field name="amount">10</field>
1676+ <field name="apply_on">refund</field>
1677+ <field name="account_id" ref="pgc_pymes_472000"/>
1678+ <field name="code_id" ref="iva_assoc_ded_29_10"/>
1679+ <field name="tax_id" ref="iva_assoc_X10_compras_bi"/>
1680+ </record>
1681+
1682 <record id="iva_assoc_X16_compras_bc" model="account.tax.template">
1683 <field name="chart_template_id" ref="l10nES_chart_template_assoc"/>
1684 <field name="name">IVA 16% Importaciones bienes corrientes</field>
1685 <field name="description">IVA 16% Importaciones bienes corrientes</field>
1686- <field eval="0.16" name="amount"/>
1687+ <field eval="16" name="amount"/>
1688 <field name="type">percent</field>
1689- <field name="account_collected_id" ref="pgc_assoc_472000"/>
1690- <field name="account_paid_id" ref="pgc_assoc_472000"/>
1691- <field name="base_code_id" ref="iva_assoc_ded_26_16"/>
1692- <field name="tax_code_id" ref="iva_assoc_ded_27_16"/>
1693- <field name="ref_base_code_id" ref="iva_assoc_ded_26_16"/>
1694- <field name="ref_tax_code_id" ref="iva_assoc_ded_27_16"/>
1695- <field eval="1.0" name="tax_sign"/>
1696- <field eval="1.0" name="base_sign"/>
1697- <field eval="-1.0" name="ref_tax_sign"/>
1698- <field eval="-1.0" name="ref_base_sign"/>
1699 <field name="type_tax_use">purchase</field>
1700 </record>
1701+
1702+ <record id="iva_assoc_X16_compras_bc_invoice_base_line" model="account.tax.line.template">
1703+ <field name="code_type">base</field>
1704+ <field name="tax_amount">100</field>
1705+ <field name="amount">100</field>
1706+ <field name="apply_on">invoice</field>
1707+ <field name="code_id" ref="iva_assoc_ded_26_16"/>
1708+ <field name="tax_id" ref="iva_assoc_X16_compras_bc"/>
1709+ </record>
1710+
1711+ <record id="iva_assoc_X16_compras_bc_invoice_tax_line" model="account.tax.line.template">
1712+ <field name="code_type">tax</field>
1713+ <field name="tax_amount">16</field>
1714+ <field name="amount">16</field>
1715+ <field name="apply_on">invoice</field>
1716+ <field name="account_id" ref="pgc_pymes_472000"/>
1717+ <field name="code_id" ref="iva_assoc_ded_27_16"/>
1718+ <field name="tax_id" ref="iva_assoc_X16_compras_bc"/>
1719+ </record>
1720+
1721+ <record id="iva_assoc_X16_compras_bc_refund_base_line" model="account.tax.line.template">
1722+ <field name="code_type">base</field>
1723+ <field name="tax_amount">-100</field>
1724+ <field name="amount">100</field>
1725+ <field name="apply_on">refund</field>
1726+ <field name="code_id" ref="iva_assoc_ded_26_16"/>
1727+ <field name="tax_id" ref="iva_assoc_X16_compras_bc"/>
1728+ </record>
1729+
1730+ <record id="iva_assoc_X16_compras_bc_refund_tax_line" model="account.tax.line.template">
1731+ <field name="code_type">tax</field>
1732+ <field name="tax_amount">-16</field>
1733+ <field name="amount">16</field>
1734+ <field name="apply_on">refund</field>
1735+ <field name="account_id" ref="pgc_pymes_472000"/>
1736+ <field name="code_id" ref="iva_assoc_ded_27_16"/>
1737+ <field name="tax_id" ref="iva_assoc_X16_compras_bc"/>
1738+ </record>
1739+
1740 <record id="iva_assoc_X16_compras_bi" model="account.tax.template">
1741 <field name="chart_template_id" ref="l10nES_chart_template_assoc"/>
1742 <field name="name">IVA 16% Importaciones bienes de inversión</field>
1743 <field name="description">IVA 16% Importaciones bienes de inversión</field>
1744- <field eval="0.16" name="amount"/>
1745+ <field eval="16" name="amount"/>
1746 <field name="type">percent</field>
1747- <field name="account_collected_id" ref="pgc_assoc_472000"/>
1748- <field name="account_paid_id" ref="pgc_assoc_472000"/>
1749- <field name="base_code_id" ref="iva_assoc_ded_28_16"/>
1750- <field name="tax_code_id" ref="iva_assoc_ded_29_16"/>
1751- <field name="ref_base_code_id" ref="iva_assoc_ded_28_16"/>
1752- <field name="ref_tax_code_id" ref="iva_assoc_ded_29_16"/>
1753- <field eval="1.0" name="tax_sign"/>
1754- <field eval="1.0" name="base_sign"/>
1755- <field eval="-1.0" name="ref_tax_sign"/>
1756- <field eval="-1.0" name="ref_base_sign"/>
1757 <field name="type_tax_use">purchase</field>
1758 </record>
1759-
1760+
1761+ <record id="iva_assoc_X16_compras_bi_invoice_base_line" model="account.tax.line.template">
1762+ <field name="code_type">base</field>
1763+ <field name="tax_amount">100</field>
1764+ <field name="amount">100</field>
1765+ <field name="apply_on">invoice</field>
1766+ <field name="code_id" ref="iva_assoc_ded_28_16"/>
1767+ <field name="tax_id" ref="iva_assoc_X16_compras_bi"/>
1768+ </record>
1769+
1770+ <record id="iva_assoc_X16_compras_bi_invoice_tax_line" model="account.tax.line.template">
1771+ <field name="code_type">tax</field>
1772+ <field name="tax_amount">16</field>
1773+ <field name="amount">16</field>
1774+ <field name="apply_on">invoice</field>
1775+ <field name="account_id" ref="pgc_pymes_472000"/>
1776+ <field name="code_id" ref="iva_assoc_ded_29_16"/>
1777+ <field name="tax_id" ref="iva_assoc_X16_compras_bi"/>
1778+ </record>
1779+
1780+ <record id="iva_assoc_X16_compras_bi_refund_base_line" model="account.tax.line.template">
1781+ <field name="code_type">base</field>
1782+ <field name="tax_amount">-100</field>
1783+ <field name="amount">100</field>
1784+ <field name="apply_on">refund</field>
1785+ <field name="code_id" ref="iva_assoc_ded_28_16"/>
1786+ <field name="tax_id" ref="iva_assoc_X16_compras_bi"/>
1787+ </record>
1788+
1789+ <record id="iva_assoc_X16_compras_bi_refund_tax_line" model="account.tax.line.template">
1790+ <field name="code_type">tax</field>
1791+ <field name="tax_amount">-16</field>
1792+ <field name="amount">16</field>
1793+ <field name="apply_on">refund</field>
1794+ <field name="account_id" ref="pgc_pymes_472000"/>
1795+ <field name="code_id" ref="iva_assoc_ded_29_16"/>
1796+ <field name="tax_id" ref="iva_assoc_X16_compras_bi"/>
1797+ </record>
1798+
1799 <record id="iva_assoc_X18_compras_bc" model="account.tax.template">
1800 <field name="chart_template_id" ref="l10nES_chart_template_assoc"/>
1801 <field name="name">IVA 18% Importaciones bienes corrientes</field>
1802 <field name="description">IVA 18% Importaciones bienes corrientes</field>
1803- <field eval="0.18" name="amount"/>
1804+ <field eval="18" name="amount"/>
1805 <field name="type">percent</field>
1806- <field name="account_collected_id" ref="pgc_assoc_472000"/>
1807- <field name="account_paid_id" ref="pgc_assoc_472000"/>
1808- <field name="base_code_id" ref="iva_assoc_ded_26_18"/>
1809- <field name="tax_code_id" ref="iva_assoc_ded_27_18"/>
1810- <field name="ref_base_code_id" ref="iva_assoc_ded_26_18"/>
1811- <field name="ref_tax_code_id" ref="iva_assoc_ded_27_18"/>
1812- <field eval="1.0" name="tax_sign"/>
1813- <field eval="1.0" name="base_sign"/>
1814- <field eval="-1.0" name="ref_tax_sign"/>
1815- <field eval="-1.0" name="ref_base_sign"/>
1816 <field name="type_tax_use">purchase</field>
1817 </record>
1818+
1819+ <record id="iva_assoc_X18_compras_bc_invoice_base_line" model="account.tax.line.template">
1820+ <field name="code_type">base</field>
1821+ <field name="tax_amount">100</field>
1822+ <field name="amount">100</field>
1823+ <field name="apply_on">invoice</field>
1824+ <field name="code_id" ref="iva_assoc_ded_26_18"/>
1825+ <field name="tax_id" ref="iva_assoc_X18_compras_bc"/>
1826+ </record>
1827+
1828+ <record id="iva_assoc_X18_compras_bc_invoice_tax_line" model="account.tax.line.template">
1829+ <field name="code_type">tax</field>
1830+ <field name="tax_amount">18</field>
1831+ <field name="amount">18</field>
1832+ <field name="apply_on">invoice</field>
1833+ <field name="account_id" ref="pgc_pymes_472000"/>
1834+ <field name="code_id" ref="iva_assoc_ded_27_18"/>
1835+ <field name="tax_id" ref="iva_assoc_X18_compras_bc"/>
1836+ </record>
1837+
1838+ <record id="iva_assoc_X18_compras_bc_refund_base_line" model="account.tax.line.template">
1839+ <field name="code_type">base</field>
1840+ <field name="tax_amount">-100</field>
1841+ <field name="amount">100</field>
1842+ <field name="apply_on">refund</field>
1843+ <field name="code_id" ref="iva_assoc_ded_26_18"/>
1844+ <field name="tax_id" ref="iva_assoc_X18_compras_bc"/>
1845+ </record>
1846+
1847+ <record id="iva_assoc_X18_compras_bc_refund_tax_line" model="account.tax.line.template">
1848+ <field name="code_type">tax</field>
1849+ <field name="tax_amount">-18</field>
1850+ <field name="amount">18</field>
1851+ <field name="apply_on">refund</field>
1852+ <field name="account_id" ref="pgc_pymes_472000"/>
1853+ <field name="code_id" ref="iva_assoc_ded_27_18"/>
1854+ <field name="tax_id" ref="iva_assoc_X18_compras_bc"/>
1855+ </record>
1856+
1857 <record id="iva_assoc_X18_compras_bi" model="account.tax.template">
1858 <field name="chart_template_id" ref="l10nES_chart_template_assoc"/>
1859 <field name="name">IVA 18% Importaciones bienes de inversión</field>
1860 <field name="description">IVA 18% Importaciones bienes de inversión</field>
1861- <field eval="0.18" name="amount"/>
1862+ <field eval="18" name="amount"/>
1863 <field name="type">percent</field>
1864- <field name="account_collected_id" ref="pgc_assoc_472000"/>
1865- <field name="account_paid_id" ref="pgc_assoc_472000"/>
1866- <field name="base_code_id" ref="iva_assoc_ded_28_18"/>
1867- <field name="tax_code_id" ref="iva_assoc_ded_29_18"/>
1868- <field name="ref_base_code_id" ref="iva_assoc_ded_28_18"/>
1869- <field name="ref_tax_code_id" ref="iva_assoc_ded_29_18"/>
1870- <field eval="1.0" name="tax_sign"/>
1871- <field eval="1.0" name="base_sign"/>
1872- <field eval="-1.0" name="ref_tax_sign"/>
1873- <field eval="-1.0" name="ref_base_sign"/>
1874 <field name="type_tax_use">purchase</field>
1875 </record>
1876-
1877+
1878+ <record id="iva_assoc_X18_compras_bi_invoice_base_line" model="account.tax.line.template">
1879+ <field name="code_type">base</field>
1880+ <field name="tax_amount">100</field>
1881+ <field name="amount">100</field>
1882+ <field name="apply_on">invoice</field>
1883+ <field name="code_id" ref="iva_assoc_ded_28_18"/>
1884+ <field name="tax_id" ref="iva_assoc_X18_compras_bi"/>
1885+ </record>
1886+
1887+ <record id="iva_assoc_X18_compras_bi_invoice_tax_line" model="account.tax.line.template">
1888+ <field name="code_type">tax</field>
1889+ <field name="tax_amount">18</field>
1890+ <field name="amount">18</field>
1891+ <field name="apply_on">invoice</field>
1892+ <field name="account_id" ref="pgc_pymes_472000"/>
1893+ <field name="code_id" ref="iva_assoc_ded_29_18"/>
1894+ <field name="tax_id" ref="iva_assoc_X18_compras_bi"/>
1895+ </record>
1896+
1897+ <record id="iva_assoc_X18_compras_bi_refund_base_line" model="account.tax.line.template">
1898+ <field name="code_type">base</field>
1899+ <field name="tax_amount">-100</field>
1900+ <field name="amount">100</field>
1901+ <field name="apply_on">refund</field>
1902+ <field name="code_id" ref="iva_assoc_ded_28_18"/>
1903+ <field name="tax_id" ref="iva_assoc_X18_compras_bi"/>
1904+ </record>
1905+
1906+ <record id="iva_assoc_X18_compras_bi_refund_tax_line" model="account.tax.line.template">
1907+ <field name="code_type">tax</field>
1908+ <field name="tax_amount">-18</field>
1909+ <field name="amount">18</field>
1910+ <field name="apply_on">refund</field>
1911+ <field name="account_id" ref="pgc_pymes_472000"/>
1912+ <field name="code_id" ref="iva_assoc_ded_29_18"/>
1913+ <field name="tax_id" ref="iva_assoc_X18_compras_bi"/>
1914+ </record>
1915+
1916 <record id="iva_assoc_X21_compras_bc" model="account.tax.template">
1917 <field name="chart_template_id" ref="l10nES_chart_template_assoc"/>
1918 <field name="name">IVA 21% Importaciones bienes corrientes</field>
1919 <field name="description">IVA 21% Importaciones bienes corrientes</field>
1920- <field eval="0.21" name="amount"/>
1921+ <field eval="21" name="amount"/>
1922 <field name="type">percent</field>
1923- <field name="account_collected_id" ref="pgc_assoc_472000"/>
1924- <field name="account_paid_id" ref="pgc_assoc_472000"/>
1925- <field name="base_code_id" ref="iva_assoc_ded_26_21"/>
1926- <field name="tax_code_id" ref="iva_assoc_ded_27_21"/>
1927- <field name="ref_base_code_id" ref="iva_assoc_ded_26_21"/>
1928- <field name="ref_tax_code_id" ref="iva_assoc_ded_27_21"/>
1929- <field eval="1.0" name="tax_sign"/>
1930- <field eval="1.0" name="base_sign"/>
1931- <field eval="-1.0" name="ref_tax_sign"/>
1932- <field eval="-1.0" name="ref_base_sign"/>
1933 <field name="type_tax_use">purchase</field>
1934 </record>
1935+
1936+ <record id="iva_assoc_X21_compras_bc_invoice_base_line" model="account.tax.line.template">
1937+ <field name="code_type">base</field>
1938+ <field name="tax_amount">100</field>
1939+ <field name="amount">100</field>
1940+ <field name="apply_on">invoice</field>
1941+ <field name="code_id" ref="iva_assoc_ded_26_21"/>
1942+ <field name="tax_id" ref="iva_assoc_X21_compras_bc"/>
1943+ </record>
1944+
1945+ <record id="iva_assoc_X21_compras_bc_invoice_tax_line" model="account.tax.line.template">
1946+ <field name="code_type">tax</field>
1947+ <field name="tax_amount">21</field>
1948+ <field name="amount">21</field>
1949+ <field name="apply_on">invoice</field>
1950+ <field name="account_id" ref="pgc_pymes_472000"/>
1951+ <field name="code_id" ref="iva_assoc_ded_27_21"/>
1952+ <field name="tax_id" ref="iva_assoc_X21_compras_bc"/>
1953+ </record>
1954+
1955+ <record id="iva_assoc_X21_compras_bc_refund_base_line" model="account.tax.line.template">
1956+ <field name="code_type">base</field>
1957+ <field name="tax_amount">-100</field>
1958+ <field name="amount">100</field>
1959+ <field name="apply_on">refund</field>
1960+ <field name="code_id" ref="iva_assoc_ded_26_21"/>
1961+ <field name="tax_id" ref="iva_assoc_X21_compras_bc"/>
1962+ </record>
1963+
1964+ <record id="iva_assoc_X21_compras_bc_refund_tax_line" model="account.tax.line.template">
1965+ <field name="code_type">tax</field>
1966+ <field name="tax_amount">-21</field>
1967+ <field name="amount">21</field>
1968+ <field name="apply_on">refund</field>
1969+ <field name="account_id" ref="pgc_pymes_472000"/>
1970+ <field name="code_id" ref="iva_assoc_ded_27_21"/>
1971+ <field name="tax_id" ref="iva_assoc_X21_compras_bc"/>
1972+ </record>
1973+
1974 <record id="iva_assoc_X21_compras_bi" model="account.tax.template">
1975 <field name="chart_template_id" ref="l10nES_chart_template_assoc"/>
1976 <field name="name">IVA 21% Importaciones bienes de inversión</field>
1977 <field name="description">IVA 21% Importaciones bienes de inversión</field>
1978- <field eval="0.21" name="amount"/>
1979+ <field eval="21" name="amount"/>
1980 <field name="type">percent</field>
1981- <field name="account_collected_id" ref="pgc_assoc_472000"/>
1982- <field name="account_paid_id" ref="pgc_assoc_472000"/>
1983- <field name="base_code_id" ref="iva_assoc_ded_28_21"/>
1984- <field name="tax_code_id" ref="iva_assoc_ded_29_21"/>
1985- <field name="ref_base_code_id" ref="iva_assoc_ded_28_21"/>
1986- <field name="ref_tax_code_id" ref="iva_assoc_ded_29_21"/>
1987- <field eval="1.0" name="tax_sign"/>
1988- <field eval="1.0" name="base_sign"/>
1989- <field eval="-1.0" name="ref_tax_sign"/>
1990- <field eval="-1.0" name="ref_base_sign"/>
1991 <field name="type_tax_use">purchase</field>
1992 </record>
1993
1994+ <record id="iva_assoc_X21_compras_bi_invoice_base_line" model="account.tax.line.template">
1995+ <field name="code_type">base</field>
1996+ <field name="tax_amount">100</field>
1997+ <field name="amount">100</field>
1998+ <field name="apply_on">invoice</field>
1999+ <field name="code_id" ref="iva_assoc_ded_28_21"/>
2000+ <field name="tax_id" ref="iva_assoc_X21_compras_bi"/>
2001+ </record>
2002+
2003+ <record id="iva_assoc_X21_compras_bi_invoice_tax_line" model="account.tax.line.template">
2004+ <field name="code_type">tax</field>
2005+ <field name="tax_amount">21</field>
2006+ <field name="amount">21</field>
2007+ <field name="apply_on">invoice</field>
2008+ <field name="account_id" ref="pgc_pymes_472000"/>
2009+ <field name="code_id" ref="iva_assoc_ded_29_21"/>
2010+ <field name="tax_id" ref="iva_assoc_X21_compras_bi"/>
2011+ </record>
2012+
2013+ <record id="iva_assoc_X21_compras_bi_refund_base_line" model="account.tax.line.template">
2014+ <field name="code_type">base</field>
2015+ <field name="tax_amount">-100</field>
2016+ <field name="amount">100</field>
2017+ <field name="apply_on">refund</field>
2018+ <field name="code_id" ref="iva_assoc_ded_28_21"/>
2019+ <field name="tax_id" ref="iva_assoc_X21_compras_bi"/>
2020+ </record>
2021+
2022+ <record id="iva_assoc_X21_compras_bi_refund_tax_line" model="account.tax.line.template">
2023+ <field name="code_type">tax</field>
2024+ <field name="tax_amount">-21</field>
2025+ <field name="amount">21</field>
2026+ <field name="apply_on">refund</field>
2027+ <field name="account_id" ref="pgc_pymes_472000"/>
2028+ <field name="code_id" ref="iva_assoc_ded_29_21"/>
2029+ <field name="tax_id" ref="iva_assoc_X21_compras_bi"/>
2030+ </record>
2031
2032 <!-- IVA EXPORTACIONES (VENTAS )-->
2033 <record id="iva_assoc_X0" model="account.tax.template">
2034@@ -1605,12 +2514,43 @@
2035 <field name="description">IVA 0% Exportaciones</field>
2036 <field eval="0.00" name="amount"/>
2037 <field name="type">percent</field>
2038- <field name="base_code_id" ref="base_assoc_extra_43"/>
2039- <field name="ref_base_code_id" ref="base_assoc_extra_43"/>
2040- <field eval="-1.0" name="ref_base_sign"/>
2041 <field name="type_tax_use">sale</field>
2042 </record>
2043-
2044+
2045+ <record id="iva_assoc_X0_invoice_base_line" model="account.tax.line.template">
2046+ <field name="code_type">base</field>
2047+ <field name="tax_amount">100</field>
2048+ <field name="amount">100</field>
2049+ <field name="apply_on">invoice</field>
2050+ <field name="code_id" ref="base_assoc_extra_43"/>
2051+ <field name="tax_id" ref="iva_assoc_X0"/>
2052+ </record>
2053+
2054+ <record id="iva_assoc_X0_invoice_tax_line" model="account.tax.line.template">
2055+ <field name="code_type">tax</field>
2056+ <field name="tax_amount">0</field>
2057+ <field name="amount">0.0</field>
2058+ <field name="apply_on">invoice</field>
2059+ <field name="tax_id" ref="iva_assoc_X0"/>
2060+ </record>
2061+
2062+ <record id="iva_assoc_X0_refund_base_line" model="account.tax.line.template">
2063+ <field name="code_type">base</field>
2064+ <field name="tax_amount">-100</field>
2065+ <field name="amount">100</field>
2066+ <field name="apply_on">refund</field>
2067+ <field name="code_id" ref="base_assoc_extra_43"/>
2068+ <field name="tax_id" ref="iva_assoc_X0"/>
2069+ </record>
2070+
2071+ <record id="iva_assoc_X0_refund_tax_line" model="account.tax.line.template">
2072+ <field name="code_type">tax</field>
2073+ <field name="tax_amount">0</field>
2074+ <field name="amount">0.0</field>
2075+ <field name="apply_on">refund</field>
2076+ <field name="tax_id" ref="iva_assoc_X0"/>
2077+ </record>
2078+
2079 <!-- Inversión del sujeto pasivo -->
2080 <record id="iva_assoc_ISP_compras_16" model="account.tax.template">
2081 <field name="chart_template_id" ref="l10nES_chart_template_assoc"/>
2082@@ -1618,502 +2558,1078 @@
2083 <field name="description">IVA 16% Inversión del sujeto pasivo</field>
2084 <field name="amount" eval="1.00"/>
2085 <field name="type">percent</field>
2086- <field name="child_depend" eval="1"/>
2087- <field name="base_sign" eval="1.0"/>
2088- <field name="tax_sign" eval="1.0"/>
2089- <field name="ref_base_sign" eval="-1.0"/>
2090- <field name="ref_tax_sign" eval="-1.0"/>
2091- <field name="type_tax_use">purchase</field>
2092- </record>
2093- <record id="iva_assoc_ISP_compras_16_1" model="account.tax.template">
2094- <field name="chart_template_id" ref="l10nES_chart_template_assoc"/>
2095- <field name="name">IVA 16% Inversión del sujeto pasivo (1)</field>
2096- <field name="parent_id" ref="iva_assoc_ISP_compras_16"/>
2097- <field name="amount" eval="0.00"/>
2098- <field name="type">percent</field>
2099- <field name="base_code_id" ref="base_assoc_extra_44"/>
2100- <field name="ref_base_code_id" ref="base_assoc_extra_44"/>
2101- <field name="base_sign" eval="1.0"/>
2102- <field name="tax_sign" eval="1.0"/>
2103- <field name="ref_base_sign" eval="-1.0"/>
2104- <field name="ref_tax_sign" eval="-1.0"/>
2105- <field name="type_tax_use">purchase</field>
2106- </record>
2107- <record id="iva_assoc_ISP_compras_16_2" model="account.tax.template">
2108- <field name="chart_template_id" ref="l10nES_chart_template_assoc"/>
2109- <field name="name">IVA 16% Inversión del sujeto pasivo (2)</field>
2110- <field name="parent_id" ref="iva_assoc_ISP_compras_16"/>
2111- <field name="amount" eval="-0.16"/>
2112- <field name="type">percent</field>
2113- <field name="account_collected_id" ref="pgc_assoc_477000"/>
2114- <field name="account_paid_id" ref="pgc_assoc_477000"/>
2115- <field name="base_code_id" ref="iva_assoc_dev_07"/>
2116- <field name="tax_code_id" ref="iva_assoc_dev_09"/>
2117- <field name="ref_base_code_id" ref="iva_assoc_dev_07"/>
2118- <field name="ref_tax_code_id" ref="iva_assoc_dev_09"/>
2119- <field name="tax_sign" eval="-1.0"/>
2120- <field name="base_sign" eval="1.0"/>
2121- <field name="ref_tax_sign" eval="1.0"/>
2122- <field name="ref_base_sign" eval="-1.0"/>
2123- <field name="type_tax_use">purchase</field>
2124- </record>
2125- <record id="iva_assoc_ISP_compras_16_3" model="account.tax.template">
2126- <field name="chart_template_id" ref="l10nES_chart_template_assoc"/>
2127- <field name="name">IVA 16% Inversión del sujeto pasivo (3)</field>
2128- <field name="parent_id" ref="iva_assoc_ISP_compras_16"/>
2129- <field name="amount" eval="0.16"/>
2130- <field name="type">percent</field>
2131- <field name="account_collected_id" ref="pgc_assoc_472000"/>
2132- <field name="account_paid_id" ref="pgc_assoc_472000"/>
2133- <field name="base_code_id" ref="iva_assoc_ded_22_16"/>
2134- <field name="tax_code_id" ref="iva_assoc_ded_23_16"/>
2135- <field name="ref_base_code_id" ref="iva_assoc_ded_22_16"/>
2136- <field name="ref_tax_code_id" ref="iva_assoc_ded_23_16"/>
2137- <field name="tax_sign" eval="1.0"/>
2138- <field name="base_sign" eval="1.0"/>
2139- <field name="ref_tax_sign" eval="-1.0"/>
2140- <field name="ref_base_sign" eval="-1.0"/>
2141- <field name="type_tax_use">purchase</field>
2142- </record>
2143-
2144+ <!-- <field name="child_depend" eval="1"/> -->
2145+ <field name="type_tax_use">purchase</field>
2146+ </record>
2147+
2148+ <record id="iva_assoc_ISP_compras_16_invoice_base_line" model="account.tax.line.template">
2149+ <field name="code_type">base</field>
2150+ <field name="tax_amount">100</field>
2151+ <field name="amount">100</field>
2152+ <field name="apply_on">invoice</field>
2153+ <field name="tax_id" ref="iva_assoc_ISP_compras_16"/>
2154+ </record>
2155+
2156+ <!-- <record id="iva_assoc_ISP_compras_16_invoice_tax_line" model="account.tax.line.template">
2157+ <field name="code_type">tax</field>
2158+ <field name="tax_amount">100</field>
2159+ <field name="amount">100</field>
2160+ <field name="apply_on">invoice</field>
2161+ <field name="tax_id" ref="iva_assoc_ISP_compras_16"/>
2162+ </record> -->
2163+
2164+ <record id="iva_assoc_ISP_compras_16_refund_base_line" model="account.tax.line.template">
2165+ <field name="code_type">base</field>
2166+ <field name="tax_amount">-100</field>
2167+ <field name="amount">100</field>
2168+ <field name="apply_on">refund</field>
2169+ <field name="tax_id" ref="iva_assoc_ISP_compras_16"/>
2170+ </record>
2171+
2172+ <!-- <record id="iva_assoc_ISP_compras_16_refund_tax_line" model="account.tax.line.template">
2173+ <field name="code_type">tax</field>
2174+ <field name="tax_amount">100</field>
2175+ <field name="amount">100</field>
2176+ <field name="apply_on">refund</field>
2177+ <field name="tax_id" ref="iva_assoc_ISP_compras_16"/>
2178+ </record> -->
2179+
2180+ <record id="iva_assoc_ISP_compras_16_1_invoice_tax_line" model="account.tax.line.template">
2181+ <field name="code_type">tax</field>
2182+ <field name="tax_amount">0</field>
2183+ <field name="amount">0.0</field>
2184+ <field name="apply_on">invoice</field>
2185+ <field name="tax_id" ref="iva_assoc_ISP_compras_16"/>
2186+ </record>
2187+
2188+ <record id="iva_assoc_ISP_compras_16_1_refund_tax_line" model="account.tax.line.template">
2189+ <field name="code_type">tax</field>
2190+ <field name="tax_amount">0</field>
2191+ <field name="amount">0.0</field>
2192+ <field name="apply_on">refund</field>
2193+ <field name="tax_id" ref="iva_assoc_ISP_compras_16"/>
2194+ </record>
2195+
2196+ <record id="iva_assoc_ISP_compras_16_2_invoice_tax_line" model="account.tax.line.template">
2197+ <field name="code_type">tax</field>
2198+ <field name="tax_amount">-16</field>
2199+ <field name="amount">-16</field>
2200+ <field name="apply_on">invoice</field>
2201+ <field name="account_id" ref="pgc_assoc_477000"/>
2202+ <field name="code_id" ref="iva_assoc_dev_09"/>
2203+ <field name="tax_id" ref="iva_assoc_ISP_compras_16"/>
2204+ </record>
2205+
2206+ <record id="iva_assoc_ISP_compras_16_2_refund_tax_line" model="account.tax.line.template">
2207+ <field name="code_type">tax</field>
2208+ <field name="tax_amount">16</field>
2209+ <field name="amount">-16</field>
2210+ <field name="apply_on">refund</field>
2211+ <field name="account_id" ref="pgc_assoc_477000"/>
2212+ <field name="code_id" ref="iva_assoc_dev_09"/>
2213+ <field name="tax_id" ref="iva_assoc_ISP_compras_16"/>
2214+ </record>
2215+
2216+ <record id="iva_assoc_ISP_compras_16_3_invoice_tax_line" model="account.tax.line.template">
2217+ <field name="code_type">tax</field>
2218+ <field name="tax_amount">16</field>
2219+ <field name="amount">16</field>
2220+ <field name="apply_on">invoice</field>
2221+ <field name="account_id" ref="pgc_assoc_472000"/>
2222+ <field name="code_id" ref="iva_assoc_ded_23_16"/>
2223+ <field name="tax_id" ref="iva_assoc_ISP_compras_16"/>
2224+ </record>
2225+
2226+ <record id="iva_assoc_ISP_compras_16_3_refund_tax_line" model="account.tax.line.template">
2227+ <field name="code_type">tax</field>
2228+ <field name="tax_amount">-16</field>
2229+ <field name="amount">16</field>
2230+ <field name="apply_on">refund</field>
2231+ <field name="account_id" ref="pgc_assoc_472000"/>
2232+ <field name="code_id" ref="iva_assoc_ded_23_16"/>
2233+ <field name="tax_id" ref="iva_assoc_ISP_compras_16"/>
2234+ </record>
2235+
2236 <record id="iva_assoc_ISP_compras_18" model="account.tax.template">
2237 <field name="chart_template_id" ref="l10nES_chart_template_assoc"/>
2238 <field name="name">IVA 18% Inversión del sujeto pasivo</field>
2239 <field name="description">IVA 18% Inversión del sujeto pasivo</field>
2240 <field name="amount" eval="1.00"/>
2241 <field name="type">percent</field>
2242- <field name="child_depend" eval="1"/>
2243- <field name="base_sign" eval="1.0"/>
2244- <field name="tax_sign" eval="1.0"/>
2245- <field name="ref_base_sign" eval="-1.0"/>
2246- <field name="ref_tax_sign" eval="-1.0"/>
2247- <field name="type_tax_use">purchase</field>
2248- </record>
2249- <record id="iva_assoc_ISP_compras_18_1" model="account.tax.template">
2250- <field name="chart_template_id" ref="l10nES_chart_template_assoc"/>
2251- <field name="name">IVA 18% Inversión del sujeto pasivo (1)</field>
2252- <field name="parent_id" ref="iva_assoc_ISP_compras_18"/>
2253- <field name="amount" eval="0.00"/>
2254- <field name="type">percent</field>
2255- <field name="base_code_id" ref="base_assoc_extra_44"/>
2256- <field name="ref_base_code_id" ref="base_assoc_extra_44"/>
2257- <field name="base_sign" eval="1.0"/>
2258- <field name="tax_sign" eval="1.0"/>
2259- <field name="ref_base_sign" eval="-1.0"/>
2260- <field name="ref_tax_sign" eval="-1.0"/>
2261- <field name="type_tax_use">purchase</field>
2262- </record>
2263- <record id="iva_assoc_ISP_compras_18_2" model="account.tax.template">
2264- <field name="chart_template_id" ref="l10nES_chart_template_assoc"/>
2265- <field name="name">IVA 18% Inversión del sujeto pasivo (2)</field>
2266- <field name="parent_id" ref="iva_assoc_ISP_compras_18"/>
2267- <field name="amount" eval="-0.18"/>
2268- <field name="type">percent</field>
2269- <field name="account_collected_id" ref="pgc_assoc_477000"/>
2270- <field name="account_paid_id" ref="pgc_assoc_477000"/>
2271- <field name="base_code_id" ref="iva_assoc_dev_07_18"/>
2272- <field name="tax_code_id" ref="iva_assoc_dev_09_18"/>
2273- <field name="ref_base_code_id" ref="iva_assoc_dev_07_18"/>
2274- <field name="ref_tax_code_id" ref="iva_assoc_dev_09_18"/>
2275- <field name="tax_sign" eval="-1.0"/>
2276- <field name="base_sign" eval="1.0"/>
2277- <field name="ref_tax_sign" eval="1.0"/>
2278- <field name="ref_base_sign" eval="-1.0"/>
2279- <field name="type_tax_use">purchase</field>
2280- </record>
2281- <record id="iva_assoc_ISP_compras_18_3" model="account.tax.template">
2282- <field name="chart_template_id" ref="l10nES_chart_template_assoc"/>
2283- <field name="name">IVA 18% Inversión del sujeto pasivo (3)</field>
2284- <field name="parent_id" ref="iva_assoc_ISP_compras_18"/>
2285- <field name="amount" eval="0.18"/>
2286- <field name="type">percent</field>
2287- <field name="account_collected_id" ref="pgc_assoc_472000"/>
2288- <field name="account_paid_id" ref="pgc_assoc_472000"/>
2289- <field name="base_code_id" ref="iva_assoc_ded_22_18"/>
2290- <field name="tax_code_id" ref="iva_assoc_ded_23_18"/>
2291- <field name="ref_base_code_id" ref="iva_assoc_ded_22_18"/>
2292- <field name="ref_tax_code_id" ref="iva_assoc_ded_23_18"/>
2293- <field name="tax_sign" eval="1.0"/>
2294- <field name="base_sign" eval="1.0"/>
2295- <field name="ref_tax_sign" eval="-1.0"/>
2296- <field name="ref_base_sign" eval="-1.0"/>
2297- <field name="type_tax_use">purchase</field>
2298- </record>
2299-
2300-<record id="iva_assoc_ISP_compras_21" model="account.tax.template">
2301+ <!-- <field name="child_depend" eval="1"/> -->
2302+ <field name="type_tax_use">purchase</field>
2303+ </record>
2304+
2305+ <record id="iva_assoc_ISP_compras_18_invoice_base_line" model="account.tax.line.template">
2306+ <field name="code_type">base</field>
2307+ <field name="tax_amount">100</field>
2308+ <field name="amount">100</field>
2309+ <field name="apply_on">invoice</field>
2310+ <field name="tax_id" ref="iva_assoc_ISP_compras_18"/>
2311+ </record>
2312+
2313+ <!-- <record id="iva_assoc_ISP_compras_18_invoice_tax_line" model="account.tax.line.template">
2314+ <field name="code_type">tax</field>
2315+ <field name="tax_amount">100</field>
2316+ <field name="amount">100</field>
2317+ <field name="apply_on">invoice</field>
2318+ <field name="tax_id" ref="iva_assoc_ISP_compras_18"/>
2319+ </record> -->
2320+
2321+ <record id="iva_assoc_ISP_compras_18_refund_base_line" model="account.tax.line.template">
2322+ <field name="code_type">base</field>
2323+ <field name="tax_amount">-100</field>
2324+ <field name="amount">100</field>
2325+ <field name="apply_on">refund</field>
2326+ <field name="tax_id" ref="iva_assoc_ISP_compras_18"/>
2327+ </record>
2328+
2329+ <!-- <record id="iva_assoc_ISP_compras_18_refund_tax_line" model="account.tax.line.template">
2330+ <field name="code_type">tax</field>
2331+ <field name="tax_amount">-100</field>
2332+ <field name="amount">100</field>
2333+ <field name="apply_on">refund</field>
2334+ <field name="tax_id" ref="iva_assoc_ISP_compras_18"/>
2335+ </record> -->
2336+
2337+ <record id="iva_assoc_ISP_compras_18_1_invoice_tax_line" model="account.tax.line.template">
2338+ <field name="code_type">tax</field>
2339+ <field name="tax_amount">0</field>
2340+ <field name="amount">0.0</field>
2341+ <field name="apply_on">invoice</field>
2342+ <field name="tax_id" ref="iva_assoc_ISP_compras_18"/>
2343+ </record>
2344+
2345+ <record id="iva_assoc_ISP_compras_18_1_refund_tax_line" model="account.tax.line.template">
2346+ <field name="code_type">tax</field>
2347+ <field name="tax_amount">0</field>
2348+ <field name="amount">0.0</field>
2349+ <field name="apply_on">refund</field>
2350+ <field name="tax_id" ref="iva_assoc_ISP_compras_18"/>
2351+ </record>
2352+
2353+ <record id="iva_assoc_ISP_compras_18_2_invoice_tax_line" model="account.tax.line.template">
2354+ <field name="code_type">tax</field>
2355+ <field name="tax_amount">-18</field>
2356+ <field name="amount">-18</field>
2357+ <field name="apply_on">invoice</field>
2358+ <field name="account_id" ref="pgc_assoc_477000"/>
2359+ <field name="code_id" ref="iva_assoc_dev_09_18"/>
2360+ <field name="tax_id" ref="iva_assoc_ISP_compras_18"/>
2361+ </record>
2362+
2363+ <record id="iva_assoc_ISP_compras_18_2_refund_tax_line" model="account.tax.line.template">
2364+ <field name="code_type">tax</field>
2365+ <field name="tax_amount">18</field>
2366+ <field name="amount">-18</field>
2367+ <field name="apply_on">refund</field>
2368+ <field name="account_id" ref="pgc_assoc_477000"/>
2369+ <field name="code_id" ref="iva_assoc_dev_09_18"/>
2370+ <field name="tax_id" ref="iva_assoc_ISP_compras_18"/>
2371+ </record>
2372+
2373+ <record id="iva_assoc_ISP_compras_18_3_invoice_tax_line" model="account.tax.line.template">
2374+ <field name="code_type">tax</field>
2375+ <field name="tax_amount">18</field>
2376+ <field name="amount">18</field>
2377+ <field name="apply_on">invoice</field>
2378+ <field name="account_id" ref="pgc_assoc_472000"/>
2379+ <field name="code_id" ref="iva_assoc_ded_23_18"/>
2380+ <field name="tax_id" ref="iva_assoc_ISP_compras_18"/>
2381+ </record>
2382+
2383+ <record id="iva_assoc_ISP_compras_18_3_refund_tax_line" model="account.tax.line.template">
2384+ <field name="code_type">tax</field>
2385+ <field name="tax_amount">-18</field>
2386+ <field name="amount">18</field>
2387+ <field name="apply_on">refund</field>
2388+ <field name="account_id" ref="pgc_assoc_472000"/>
2389+ <field name="code_id" ref="iva_assoc_ded_23_18"/>
2390+ <field name="tax_id" ref="iva_assoc_ISP_compras_18"/>
2391+ </record>
2392+
2393+ <record id="iva_assoc_ISP_compras_21" model="account.tax.template">
2394 <field name="chart_template_id" ref="l10nES_chart_template_assoc"/>
2395 <field name="name">IVA 21% Inversión del sujeto pasivo</field>
2396 <field name="description">IVA 21% Inversión del sujeto pasivo</field>
2397 <field name="amount" eval="1.00"/>
2398 <field name="type">percent</field>
2399- <field name="child_depend" eval="1"/>
2400- <field name="base_sign" eval="1.0"/>
2401- <field name="tax_sign" eval="1.0"/>
2402- <field name="ref_base_sign" eval="-1.0"/>
2403- <field name="ref_tax_sign" eval="-1.0"/>
2404- <field name="type_tax_use">purchase</field>
2405- </record>
2406- <record id="iva_assoc_ISP_compras_21_1" model="account.tax.template">
2407- <field name="chart_template_id" ref="l10nES_chart_template_assoc"/>
2408- <field name="name">IVA 21% Inversión del sujeto pasivo (1)</field>
2409- <field name="parent_id" ref="iva_assoc_ISP_compras_21"/>
2410- <field name="amount" eval="0.00"/>
2411- <field name="type">percent</field>
2412- <field name="base_code_id" ref="base_assoc_extra_44"/>
2413- <field name="ref_base_code_id" ref="base_assoc_extra_44"/>
2414- <field name="base_sign" eval="1.0"/>
2415- <field name="tax_sign" eval="1.0"/>
2416- <field name="ref_base_sign" eval="-1.0"/>
2417- <field name="ref_tax_sign" eval="-1.0"/>
2418- <field name="type_tax_use">purchase</field>
2419- </record>
2420- <record id="iva_assoc_ISP_compras_21_2" model="account.tax.template">
2421- <field name="chart_template_id" ref="l10nES_chart_template_assoc"/>
2422- <field name="name">IVA 21% Inversión del sujeto pasivo (2)</field>
2423- <field name="parent_id" ref="iva_assoc_ISP_compras_21"/>
2424- <field name="amount" eval="-0.21"/>
2425- <field name="type">percent</field>
2426- <field name="account_collected_id" ref="pgc_assoc_477000"/>
2427- <field name="account_paid_id" ref="pgc_assoc_477000"/>
2428- <field name="base_code_id" ref="iva_assoc_dev_07_21"/>
2429- <field name="tax_code_id" ref="iva_assoc_dev_09_21"/>
2430- <field name="ref_base_code_id" ref="iva_assoc_dev_07_21"/>
2431- <field name="ref_tax_code_id" ref="iva_assoc_dev_09_21"/>
2432- <field name="tax_sign" eval="-1.0"/>
2433- <field name="base_sign" eval="1.0"/>
2434- <field name="ref_tax_sign" eval="1.0"/>
2435- <field name="ref_base_sign" eval="-1.0"/>
2436- <field name="type_tax_use">purchase</field>
2437- </record>
2438- <record id="iva_assoc_ISP_compras_21_3" model="account.tax.template">
2439- <field name="chart_template_id" ref="l10nES_chart_template_assoc"/>
2440- <field name="name">IVA 21% Inversión del sujeto pasivo (3)</field>
2441- <field name="parent_id" ref="iva_assoc_ISP_compras_21"/>
2442- <field name="amount" eval="0.21"/>
2443- <field name="type">percent</field>
2444- <field name="account_collected_id" ref="pgc_assoc_472000"/>
2445- <field name="account_paid_id" ref="pgc_assoc_472000"/>
2446- <field name="base_code_id" ref="iva_assoc_ded_22_21"/>
2447- <field name="tax_code_id" ref="iva_assoc_ded_23_21"/>
2448- <field name="ref_base_code_id" ref="iva_assoc_ded_22_21"/>
2449- <field name="ref_tax_code_id" ref="iva_assoc_ded_23_21"/>
2450- <field name="tax_sign" eval="1.0"/>
2451- <field name="base_sign" eval="1.0"/>
2452- <field name="ref_tax_sign" eval="-1.0"/>
2453- <field name="ref_base_sign" eval="-1.0"/>
2454- <field name="type_tax_use">purchase</field>
2455- </record>
2456-
2457+ <!-- <field name="child_depend" eval="1"/> -->
2458+ <field name="type_tax_use">purchase</field>
2459+ </record>
2460+
2461+ <record id="iva_assoc_ISP_compras_21_invoice_base_line" model="account.tax.line.template">
2462+ <field name="code_type">base</field>
2463+ <field name="tax_amount">100</field>
2464+ <field name="amount">100</field>
2465+ <field name="apply_on">invoice</field>
2466+ <field name="tax_id" ref="iva_assoc_ISP_compras_21"/>
2467+ </record>
2468+
2469+ <!-- <record id="iva_assoc_ISP_compras_21_invoice_tax_line" model="account.tax.line.template">
2470+ <field name="code_type">tax</field>
2471+ <field name="tax_amount">100</field>
2472+ <field name="amount">100</field>
2473+ <field name="apply_on">invoice</field>
2474+ <field name="tax_id" ref="iva_assoc_ISP_compras_21"/>
2475+ </record> -->
2476+
2477+ <record id="iva_assoc_ISP_compras_21_refund_base_line" model="account.tax.line.template">
2478+ <field name="code_type">base</field>
2479+ <field name="tax_amount">-100</field>
2480+ <field name="amount">100</field>
2481+ <field name="apply_on">refund</field>
2482+ <field name="tax_id" ref="iva_assoc_ISP_compras_21"/>
2483+ </record>
2484+
2485+ <!-- <record id="iva_assoc_ISP_compras_21_refund_tax_line" model="account.tax.line.template">
2486+ <field name="code_type">tax</field>
2487+ <field name="tax_amount">-100</field>
2488+ <field name="amount">100</field>
2489+ <field name="apply_on">refund</field>
2490+ <field name="tax_id" ref="iva_assoc_ISP_compras_21"/>
2491+ </record> -->
2492+
2493+ <record id="iva_assoc_ISP_compras_21_1_invoice_tax_line" model="account.tax.line.template">
2494+ <field name="code_type">tax</field>
2495+ <field name="tax_amount">0</field>
2496+ <field name="amount">0.0</field>
2497+ <field name="apply_on">invoice</field>
2498+ <field name="tax_id" ref="iva_assoc_ISP_compras_21"/>
2499+ </record>
2500+
2501+ <record id="iva_assoc_ISP_compras_21_1_refund_tax_line" model="account.tax.line.template">
2502+ <field name="code_type">tax</field>
2503+ <field name="tax_amount">0</field>
2504+ <field name="amount">0.0</field>
2505+ <field name="apply_on">refund</field>
2506+ <field name="tax_id" ref="iva_assoc_ISP_compras_21"/>
2507+ </record>
2508+
2509+ <record id="iva_assoc_ISP_compras_21_2_invoice_tax_line" model="account.tax.line.template">
2510+ <field name="code_type">tax</field>
2511+ <field name="tax_amount">-21</field>
2512+ <field name="amount">-21</field>
2513+ <field name="apply_on">invoice</field>
2514+ <field name="account_id" ref="pgc_assoc_477000"/>
2515+ <field name="code_id" ref="iva_assoc_dev_09_21"/>
2516+ <field name="tax_id" ref="iva_assoc_ISP_compras_21"/>
2517+ </record>
2518+
2519+ <record id="iva_assoc_ISP_compras_21_2_refund_tax_line" model="account.tax.line.template">
2520+ <field name="code_type">tax</field>
2521+ <field name="tax_amount">21</field>
2522+ <field name="amount">-21</field>
2523+ <field name="apply_on">refund</field>
2524+ <field name="account_id" ref="pgc_assoc_477000"/>
2525+ <field name="code_id" ref="iva_assoc_dev_09_21"/>
2526+ <field name="tax_id" ref="iva_assoc_ISP_compras_21"/>
2527+ </record>
2528+
2529+ <record id="iva_assoc_ISP_compras_21_3_invoice_tax_line" model="account.tax.line.template">
2530+ <field name="code_type">tax</field>
2531+ <field name="tax_amount">21</field>
2532+ <field name="amount">21</field>
2533+ <field name="apply_on">invoice</field>
2534+ <field name="account_id" ref="pgc_assoc_472000"/>
2535+ <field name="code_id" ref="iva_assoc_ded_23_21"/>
2536+ <field name="tax_id" ref="iva_assoc_ISP_compras_21"/>
2537+ </record>
2538+
2539+ <record id="iva_assoc_ISP_compras_21_3_refund_tax_line" model="account.tax.line.template">
2540+ <field name="code_type">tax</field>
2541+ <field name="tax_amount">-21</field>
2542+ <field name="amount">21</field>
2543+ <field name="apply_on">refund</field>
2544+ <field name="account_id" ref="pgc_assoc_472000"/>
2545+ <field name="code_id" ref="iva_assoc_ded_23_21"/>
2546+ <field name="tax_id" ref="iva_assoc_ISP_compras_21"/>
2547+ </record>
2548+
2549 <!-- IVA REPERCUTIDO-->
2550 <record id="iva_assoc_rep_4" model="account.tax.template">
2551 <field name="chart_template_id" ref="l10nES_chart_template_assoc"/>
2552 <field name="name">IVA 4%</field>
2553- <field eval="0.04" name="amount"/>
2554+ <field eval="4" name="amount"/>
2555 <field name="type">percent</field>
2556- <field name="account_collected_id" ref="pgc_assoc_477000"/>
2557- <field name="account_paid_id" ref="pgc_assoc_477000"/>
2558- <field name="base_code_id" ref="iva_assoc_dev_01"/>
2559- <field name="tax_code_id" ref="iva_assoc_dev_03"/>
2560- <field name="ref_base_code_id" ref="iva_assoc_dev_01"/>
2561- <field name="ref_tax_code_id" ref="iva_assoc_dev_03"/>
2562- <field eval="1.0" name="tax_sign"/>
2563- <field eval="1.0" name="base_sign"/>
2564- <field eval="-1.0" name="ref_tax_sign"/>
2565- <field eval="-1.0" name="ref_base_sign"/>
2566 <field name="type_tax_use">sale</field>
2567 </record>
2568-
2569+
2570+ <record id="iva_assoc_rep_4_invoice_base_line" model="account.tax.line.template">
2571+ <field name="code_type">base</field>
2572+ <field name="tax_amount">100</field>
2573+ <field name="amount">100</field>
2574+ <field name="apply_on">invoice</field>
2575+ <field name="code_id" ref="iva_assoc_dev_01"/>
2576+ <field name="tax_id" ref="iva_assoc_rep_4"/>
2577+ </record>
2578+
2579+ <record id="iva_assoc_rep_4_invoice_tax_line" model="account.tax.line.template">
2580+ <field name="code_type">tax</field>
2581+ <field name="tax_amount">4</field>
2582+ <field name="amount">4</field>
2583+ <field name="apply_on">invoice</field>
2584+ <field name="account_id" ref="pgc_assoc_477000"/>
2585+ <field name="code_id" ref="iva_assoc_dev_03"/>
2586+ <field name="tax_id" ref="iva_assoc_rep_4"/>
2587+ </record>
2588+
2589+ <record id="iva_assoc_rep_4_refund_base_line" model="account.tax.line.template">
2590+ <field name="code_type">base</field>
2591+ <field name="tax_amount">-100</field>
2592+ <field name="amount">100</field>
2593+ <field name="apply_on">refund</field>
2594+ <field name="code_id" ref="iva_assoc_dev_01"/>
2595+ <field name="tax_id" ref="iva_assoc_rep_4"/>
2596+ </record>
2597+
2598+ <record id="iva_assoc_rep_4_refund_tax_line" model="account.tax.line.template">
2599+ <field name="code_type">tax</field>
2600+ <field name="tax_amount">-4</field>
2601+ <field name="amount">4</field>
2602+ <field name="apply_on">refund</field>
2603+ <field name="account_id" ref="pgc_assoc_477000"/>
2604+ <field name="code_id" ref="iva_assoc_dev_03"/>
2605+ <field name="tax_id" ref="iva_assoc_rep_4"/>
2606+ </record>
2607+
2608 <record id="iva_assoc_rep_7" model="account.tax.template">
2609 <field name="chart_template_id" ref="l10nES_chart_template_assoc"/>
2610 <field name="name">IVA 7%</field>
2611- <field eval="0.07" name="amount"/>
2612+ <field eval="7" name="amount"/>
2613 <field name="type">percent</field>
2614- <field name="account_collected_id" ref="pgc_assoc_477000"/>
2615- <field name="account_paid_id" ref="pgc_assoc_477000"/>
2616- <field name="base_code_id" ref="iva_assoc_dev_04"/>
2617- <field name="tax_code_id" ref="iva_assoc_dev_06"/>
2618- <field name="ref_base_code_id" ref="iva_assoc_dev_04"/>
2619- <field name="ref_tax_code_id" ref="iva_assoc_dev_06"/>
2620- <field eval="1.0" name="tax_sign"/>
2621- <field eval="1.0" name="base_sign"/>
2622- <field eval="-1.0" name="ref_tax_sign"/>
2623- <field eval="-1.0" name="ref_base_sign"/>
2624 <field name="type_tax_use">sale</field>
2625 </record>
2626-
2627+
2628+ <record id="iva_assoc_rep_7_invoice_base_line" model="account.tax.line.template">
2629+ <field name="code_type">base</field>
2630+ <field name="tax_amount">100</field>
2631+ <field name="amount">100</field>
2632+ <field name="apply_on">invoice</field>
2633+ <field name="code_id" ref="iva_assoc_dev_04"/>
2634+ <field name="tax_id" ref="iva_assoc_rep_7"/>
2635+ </record>
2636+
2637+ <record id="iva_assoc_rep_7_invoice_tax_line" model="account.tax.line.template">
2638+ <field name="code_type">tax</field>
2639+ <field name="tax_amount">7</field>
2640+ <field name="amount">7</field>
2641+ <field name="apply_on">invoice</field>
2642+ <field name="account_id" ref="pgc_assoc_477000"/>
2643+ <field name="code_id" ref="iva_assoc_dev_06"/>
2644+ <field name="tax_id" ref="iva_assoc_rep_4"/>
2645+ </record>
2646+
2647+ <record id="iva_assoc_rep_7_refund_base_line" model="account.tax.line.template">
2648+ <field name="code_type">base</field>
2649+ <field name="tax_amount">-100</field>
2650+ <field name="amount">100</field>
2651+ <field name="apply_on">refund</field>
2652+ <field name="code_id" ref="iva_assoc_dev_04"/>
2653+ <field name="tax_id" ref="iva_assoc_rep_7"/>
2654+ </record>
2655+
2656+ <record id="iva_assoc_rep_7_refund_tax_line" model="account.tax.line.template">
2657+ <field name="code_type">tax</field>
2658+ <field name="tax_amount">-7</field>
2659+ <field name="amount">7</field>
2660+ <field name="apply_on">refund</field>
2661+ <field name="account_id" ref="pgc_assoc_477000"/>
2662+ <field name="code_id" ref="iva_assoc_dev_06"/>
2663+ <field name="tax_id" ref="iva_assoc_rep_7"/>
2664+ </record>
2665+
2666 <record id="iva_assoc_rep_8" model="account.tax.template">
2667 <field name="chart_template_id" ref="l10nES_chart_template_assoc"/>
2668 <field name="name">IVA 8%</field>
2669- <field eval="0.08" name="amount"/>
2670+ <field eval="8" name="amount"/>
2671 <field name="type">percent</field>
2672- <field name="account_collected_id" ref="pgc_assoc_477000"/>
2673- <field name="account_paid_id" ref="pgc_assoc_477000"/>
2674- <field name="base_code_id" ref="iva_assoc_dev_04_8"/>
2675- <field name="tax_code_id" ref="iva_assoc_dev_06_8"/>
2676- <field name="ref_base_code_id" ref="iva_assoc_dev_04_8"/>
2677- <field name="ref_tax_code_id" ref="iva_assoc_dev_06_8"/>
2678- <field eval="1.0" name="tax_sign"/>
2679- <field eval="1.0" name="base_sign"/>
2680- <field eval="-1.0" name="ref_tax_sign"/>
2681- <field eval="-1.0" name="ref_base_sign"/>
2682 <field name="type_tax_use">sale</field>
2683 </record>
2684-
2685+
2686+ <record id="iva_assoc_rep_8_invoice_base_line" model="account.tax.line.template">
2687+ <field name="code_type">base</field>
2688+ <field name="tax_amount">100</field>
2689+ <field name="amount">100</field>
2690+ <field name="apply_on">invoice</field>
2691+ <field name="code_id" ref="iva_assoc_dev_04_8"/>
2692+ <field name="tax_id" ref="iva_assoc_rep_8"/>
2693+ </record>
2694+
2695+ <record id="iva_assoc_rep_8_invoice_tax_line" model="account.tax.line.template">
2696+ <field name="code_type">tax</field>
2697+ <field name="tax_amount">8</field>
2698+ <field name="amount">8</field>
2699+ <field name="apply_on">invoice</field>
2700+ <field name="account_id" ref="pgc_assoc_477000"/>
2701+ <field name="code_id" ref="iva_assoc_dev_06_8"/>
2702+ <field name="tax_id" ref="iva_assoc_rep_8"/>
2703+ </record>
2704+
2705+ <record id="iva_assoc_rep_8_refund_base_line" model="account.tax.line.template">
2706+ <field name="code_type">base</field>
2707+ <field name="tax_amount">-100</field>
2708+ <field name="amount">100</field>
2709+ <field name="apply_on">refund</field>
2710+ <field name="code_id" ref="iva_assoc_dev_04_8"/>
2711+ <field name="tax_id" ref="iva_assoc_rep_8"/>
2712+ </record>
2713+
2714+ <record id="iva_assoc_rep_8_refund_tax_line" model="account.tax.line.template">
2715+ <field name="code_type">tax</field>
2716+ <field name="tax_amount">-8</field>
2717+ <field name="amount">8</field>
2718+ <field name="apply_on">refund</field>
2719+ <field name="account_id" ref="pgc_assoc_477000"/>
2720+ <field name="code_id" ref="iva_assoc_dev_06_8"/>
2721+ <field name="tax_id" ref="iva_assoc_rep_8"/>
2722+ </record>
2723+
2724 <record id="iva_assoc_rep_10" model="account.tax.template">
2725 <field name="chart_template_id" ref="l10nES_chart_template_assoc"/>
2726 <field name="name">IVA 10%</field>
2727- <field eval="0.10" name="amount"/>
2728+ <field eval="10" name="amount"/>
2729 <field name="type">percent</field>
2730- <field name="account_collected_id" ref="pgc_assoc_477000"/>
2731- <field name="account_paid_id" ref="pgc_assoc_477000"/>
2732- <field name="base_code_id" ref="iva_assoc_dev_04_10"/>
2733- <field name="tax_code_id" ref="iva_assoc_dev_06_10"/>
2734- <field name="ref_base_code_id" ref="iva_assoc_dev_04_10"/>
2735- <field name="ref_tax_code_id" ref="iva_assoc_dev_06_10"/>
2736- <field eval="1.0" name="tax_sign"/>
2737- <field eval="1.0" name="base_sign"/>
2738- <field eval="-1.0" name="ref_tax_sign"/>
2739- <field eval="-1.0" name="ref_base_sign"/>
2740 <field name="type_tax_use">sale</field>
2741 </record>
2742-
2743+
2744+ <record id="iva_assoc_rep_10_invoice_base_line" model="account.tax.line.template">
2745+ <field name="code_type">base</field>
2746+ <field name="tax_amount">100</field>
2747+ <field name="amount">100</field>
2748+ <field name="apply_on">invoice</field>
2749+ <field name="code_id" ref="iva_assoc_dev_04_10"/>
2750+ <field name="tax_id" ref="iva_assoc_rep_10"/>
2751+ </record>
2752+
2753+ <record id="iva_assoc_rep_10_invoice_tax_line" model="account.tax.line.template">
2754+ <field name="code_type">tax</field>
2755+ <field name="tax_amount">10</field>
2756+ <field name="amount">10</field>
2757+ <field name="apply_on">invoice</field>
2758+ <field name="account_id" ref="pgc_assoc_477000"/>
2759+ <field name="code_id" ref="iva_assoc_dev_06_10"/>
2760+ <field name="tax_id" ref="iva_assoc_rep_10"/>
2761+ </record>
2762+
2763+ <record id="iva_assoc_rep_10_refund_base_line" model="account.tax.line.template">
2764+ <field name="code_type">base</field>
2765+ <field name="tax_amount">-100</field>
2766+ <field name="amount">100</field>
2767+ <field name="apply_on">refund</field>
2768+ <field name="code_id" ref="iva_assoc_dev_04_10"/>
2769+ <field name="tax_id" ref="iva_assoc_rep_10"/>
2770+ </record>
2771+
2772+ <record id="iva_assoc_rep_10_refund_tax_line" model="account.tax.line.template">
2773+ <field name="code_type">tax</field>
2774+ <field name="tax_amount">-10</field>
2775+ <field name="amount">10</field>
2776+ <field name="apply_on">refund</field>
2777+ <field name="account_id" ref="pgc_assoc_477000"/>
2778+ <field name="code_id" ref="iva_assoc_dev_06_10"/>
2779+ <field name="tax_id" ref="iva_assoc_rep_10"/>
2780+ </record>
2781+
2782 <record id="iva_assoc_rep_16" model="account.tax.template">
2783 <field name="chart_template_id" ref="l10nES_chart_template_assoc"/>
2784 <field name="name">IVA 16%</field>
2785- <field eval="0.16" name="amount"/>
2786+ <field eval="16" name="amount"/>
2787 <field name="type">percent</field>
2788- <field name="account_collected_id" ref="pgc_assoc_477000"/>
2789- <field name="account_paid_id" ref="pgc_assoc_477000"/>
2790- <field name="base_code_id" ref="iva_assoc_dev_07"/>
2791- <field name="tax_code_id" ref="iva_assoc_dev_09"/>
2792- <field name="ref_base_code_id" ref="iva_assoc_dev_07"/>
2793- <field name="ref_tax_code_id" ref="iva_assoc_dev_09"/>
2794- <field eval="1.0" name="tax_sign"/>
2795- <field eval="1.0" name="base_sign"/>
2796- <field eval="-1.0" name="ref_tax_sign"/>
2797- <field eval="-1.0" name="ref_base_sign"/>
2798 <field name="type_tax_use">sale</field>
2799 </record>
2800-
2801+
2802+ <record id="iva_assoc_rep_16_invoice_base_line" model="account.tax.line.template">
2803+ <field name="code_type">base</field>
2804+ <field name="tax_amount">100</field>
2805+ <field name="amount">100</field>
2806+ <field name="apply_on">invoice</field>
2807+ <field name="code_id" ref="iva_assoc_dev_07"/>
2808+ <field name="tax_id" ref="iva_assoc_rep_16"/>
2809+ </record>
2810+
2811+ <record id="iva_assoc_rep_16_invoice_tax_line" model="account.tax.line.template">
2812+ <field name="code_type">tax</field>
2813+ <field name="tax_amount">16</field>
2814+ <field name="amount">16</field>
2815+ <field name="apply_on">invoice</field>
2816+ <field name="account_id" ref="pgc_assoc_477000"/>
2817+ <field name="code_id" ref="iva_assoc_dev_09"/>
2818+ <field name="tax_id" ref="iva_assoc_rep_16"/>
2819+ </record>
2820+
2821+ <record id="iva_assoc_rep_16_refund_base_line" model="account.tax.line.template">
2822+ <field name="code_type">base</field>
2823+ <field name="tax_amount">-100</field>
2824+ <field name="amount">100</field>
2825+ <field name="apply_on">refund</field>
2826+ <field name="code_id" ref="iva_assoc_dev_07"/>
2827+ <field name="tax_id" ref="iva_assoc_rep_16"/>
2828+ </record>
2829+
2830+ <record id="iva_assoc_rep_16_refund_tax_line" model="account.tax.line.template">
2831+ <field name="code_type">tax</field>
2832+ <field name="tax_amount">-16</field>
2833+ <field name="amount">16</field>
2834+ <field name="apply_on">refund</field>
2835+ <field name="account_id" ref="pgc_assoc_477000"/>
2836+ <field name="code_id" ref="iva_assoc_dev_09"/>
2837+ <field name="tax_id" ref="iva_assoc_rep_16"/>
2838+ </record>
2839+
2840 <record id="iva_assoc_rep_18" model="account.tax.template">
2841 <field name="chart_template_id" ref="l10nES_chart_template_assoc"/>
2842 <field name="name">IVA 18%</field>
2843- <field eval="0.18" name="amount"/>
2844+ <field eval="18" name="amount"/>
2845 <field name="type">percent</field>
2846- <field name="account_collected_id" ref="pgc_assoc_477000"/>
2847- <field name="account_paid_id" ref="pgc_assoc_477000"/>
2848- <field name="base_code_id" ref="iva_assoc_dev_07_18"/>
2849- <field name="tax_code_id" ref="iva_assoc_dev_09_18"/>
2850- <field name="ref_base_code_id" ref="iva_assoc_dev_07_18"/>
2851- <field name="ref_tax_code_id" ref="iva_assoc_dev_09_18"/>
2852- <field eval="1.0" name="tax_sign"/>
2853- <field eval="1.0" name="base_sign"/>
2854- <field eval="-1.0" name="ref_tax_sign"/>
2855- <field eval="-1.0" name="ref_base_sign"/>
2856 <field name="type_tax_use">sale</field>
2857 </record>
2858-
2859+
2860+ <record id="iva_assoc_rep_18_invoice_base_line" model="account.tax.line.template">
2861+ <field name="code_type">base</field>
2862+ <field name="tax_amount">100</field>
2863+ <field name="amount">100</field>
2864+ <field name="apply_on">invoice</field>
2865+ <field name="code_id" ref="iva_assoc_dev_07_18"/>
2866+ <field name="tax_id" ref="iva_assoc_rep_18"/>
2867+ </record>
2868+
2869+ <record id="iva_assoc_rep_18_invoice_tax_line" model="account.tax.line.template">
2870+ <field name="code_type">tax</field>
2871+ <field name="tax_amount">18</field>
2872+ <field name="amount">18</field>
2873+ <field name="apply_on">invoice</field>
2874+ <field name="account_id" ref="pgc_assoc_477000"/>
2875+ <field name="code_id" ref="iva_assoc_dev_09_18"/>
2876+ <field name="tax_id" ref="iva_assoc_rep_18"/>
2877+ </record>
2878+
2879+ <record id="iva_assoc_rep_18_refund_base_line" model="account.tax.line.template">
2880+ <field name="code_type">base</field>
2881+ <field name="tax_amount">-100</field>
2882+ <field name="amount">100</field>
2883+ <field name="apply_on">refund</field>
2884+ <field name="code_id" ref="iva_assoc_dev_07_18"/>
2885+ <field name="tax_id" ref="iva_assoc_rep_18"/>
2886+ </record>
2887+
2888+ <record id="iva_assoc_rep_18_refund_tax_line" model="account.tax.line.template">
2889+ <field name="code_type">tax</field>
2890+ <field name="tax_amount">-18</field>
2891+ <field name="amount">18</field>
2892+ <field name="apply_on">refund</field>
2893+ <field name="account_id" ref="pgc_assoc_477000"/>
2894+ <field name="code_id" ref="iva_assoc_dev_09_18"/>
2895+ <field name="tax_id" ref="iva_assoc_rep_18"/>
2896+ </record>
2897+
2898 <record id="iva_assoc_rep_21" model="account.tax.template">
2899 <field name="chart_template_id" ref="l10nES_chart_template_assoc"/>
2900 <field name="name">IVA 21%</field>
2901- <field eval="0.21" name="amount"/>
2902+ <field eval="21" name="amount"/>
2903 <field name="type">percent</field>
2904- <field name="account_collected_id" ref="pgc_assoc_477000"/>
2905- <field name="account_paid_id" ref="pgc_assoc_477000"/>
2906- <field name="base_code_id" ref="iva_assoc_dev_07_21"/>
2907- <field name="tax_code_id" ref="iva_assoc_dev_09_21"/>
2908- <field name="ref_base_code_id" ref="iva_assoc_dev_07_21"/>
2909- <field name="ref_tax_code_id" ref="iva_assoc_dev_09_21"/>
2910- <field eval="1.0" name="tax_sign"/>
2911- <field eval="1.0" name="base_sign"/>
2912- <field eval="-1.0" name="ref_tax_sign"/>
2913- <field eval="-1.0" name="ref_base_sign"/>
2914 <field name="type_tax_use">sale</field>
2915 <field eval="0" name="sequence"/>
2916 </record>
2917-
2918-
2919+
2920+ <record id="iva_assoc_rep_21_invoice_base_line" model="account.tax.line.template">
2921+ <field name="code_type">base</field>
2922+ <field name="tax_amount">100</field>
2923+ <field name="amount">100</field>
2924+ <field name="apply_on">invoice</field>
2925+ <field name="code_id" ref="iva_assoc_dev_07_21"/>
2926+ <field name="tax_id" ref="iva_assoc_rep_21"/>
2927+ </record>
2928+
2929+ <record id="iva_assoc_rep_21_invoice_tax_line" model="account.tax.line.template">
2930+ <field name="code_type">tax</field>
2931+ <field name="tax_amount">21</field>
2932+ <field name="amount">21</field>
2933+ <field name="apply_on">invoice</field>
2934+ <field name="account_id" ref="pgc_assoc_477000"/>
2935+ <field name="code_id" ref="iva_assoc_dev_09_21"/>
2936+ <field name="tax_id" ref="iva_assoc_rep_21"/>
2937+ </record>
2938+
2939+ <record id="iva_assoc_rep_21_refund_base_line" model="account.tax.line.template">
2940+ <field name="code_type">base</field>
2941+ <field name="tax_amount">-100</field>
2942+ <field name="amount">100</field>
2943+ <field name="apply_on">refund</field>
2944+ <field name="code_id" ref="iva_assoc_dev_07_21"/>
2945+ <field name="tax_id" ref="iva_assoc_rep_21"/>
2946+ </record>
2947+
2948+ <record id="iva_assoc_rep_21_refund_tax_line" model="account.tax.line.template">
2949+ <field name="code_type">tax</field>
2950+ <field name="tax_amount">-21</field>
2951+ <field name="amount">21</field>
2952+ <field name="apply_on">refund</field>
2953+ <field name="account_id" ref="pgc_assoc_477000"/>
2954+ <field name="code_id" ref="iva_assoc_dev_09_21"/>
2955+ <field name="tax_id" ref="iva_assoc_rep_21"/>
2956+ </record>
2957+
2958 <!-- Plantillas para recargo de equivalencia-->
2959 <record id="re_assoc_05" model="account.tax.template">
2960 <field name="chart_template_id" ref="l10nES_chart_template_assoc"/>
2961 <field name="name">0.50% Recargo Equivalencia</field>
2962- <field eval="0.005" name="amount"/>
2963+ <field eval="5" name="amount"/>
2964 <field name="type">percent</field>
2965- <field name="account_collected_id" ref="pgc_assoc_475000"/>
2966- <field name="account_paid_id" ref="pgc_assoc_475000"/>
2967- <field name="base_code_id" ref="iva_assoc_dev_10"/>
2968- <field name="tax_code_id" ref="iva_assoc_dev_12"/>
2969- <field name="ref_base_code_id" ref="iva_assoc_dev_10"/>
2970- <field name="ref_tax_code_id" ref="iva_assoc_dev_12"/>
2971- <field eval="1.0" name="tax_sign"/>
2972- <field eval="1.0" name="base_sign"/>
2973- <field eval="-1.0" name="ref_tax_sign"/>
2974- <field eval="-1.0" name="ref_base_sign"/>
2975 <field name="type_tax_use">sale</field>
2976 </record>
2977-
2978+
2979+ <record id="re_assoc_05_invoice_base_line" model="account.tax.line.template">
2980+ <field name="code_type">base</field>
2981+ <field name="tax_amount">100</field>
2982+ <field name="amount">100</field>
2983+ <field name="apply_on">invoice</field>
2984+ <field name="code_id" ref="iva_assoc_dev_10"/>
2985+ <field name="tax_id" ref="re_assoc_05"/>
2986+ </record>
2987+
2988+ <record id="re_assoc_05_invoice_tax_line" model="account.tax.line.template">
2989+ <field name="code_type">tax</field>
2990+ <field name="tax_amount">5</field>
2991+ <field name="amount">5</field>
2992+ <field name="apply_on">invoice</field>
2993+ <field name="account_id" ref="pgc_assoc_475000"/>
2994+ <field name="code_id" ref="iva_assoc_dev_12"/>
2995+ <field name="tax_id" ref="re_assoc_05"/>
2996+ </record>
2997+
2998+ <record id="re_assoc_05_refund_base_line" model="account.tax.line.template">
2999+ <field name="code_type">base</field>
3000+ <field name="tax_amount">-100</field>
3001+ <field name="amount">100</field>
3002+ <field name="apply_on">refund</field>
3003+ <field name="code_id" ref="iva_assoc_dev_10"/>
3004+ <field name="tax_id" ref="re_assoc_05"/>
3005+ </record>
3006+
3007+ <record id="re_assoc_05_refund_tax_line" model="account.tax.line.template">
3008+ <field name="code_type">tax</field>
3009+ <field name="tax_amount">-5</field>
3010+ <field name="amount">5</field>
3011+ <field name="apply_on">refund</field>
3012+ <field name="account_id" ref="pgc_assoc_475000"/>
3013+ <field name="code_id" ref="iva_assoc_dev_12"/>
3014+ <field name="tax_id" ref="re_assoc_05"/>
3015+ </record>
3016+
3017 <record id="re_assoc_1" model="account.tax.template">
3018 <field name="chart_template_id" ref="l10nES_chart_template_assoc"/>
3019 <field name="name">1% Recargo Equivalencia</field>
3020- <field eval="0.01" name="amount"/>
3021+ <field eval="1" name="amount"/>
3022 <field name="type">percent</field>
3023- <field name="account_collected_id" ref="pgc_assoc_475000"/>
3024- <field name="account_paid_id" ref="pgc_assoc_475000"/>
3025- <field name="base_code_id" ref="iva_assoc_dev_13"/>
3026- <field name="tax_code_id" ref="iva_assoc_dev_15"/>
3027- <field name="ref_base_code_id" ref="iva_assoc_dev_13"/>
3028- <field name="ref_tax_code_id" ref="iva_assoc_dev_15"/>
3029- <field eval="1.0" name="tax_sign"/>
3030- <field eval="1.0" name="base_sign"/>
3031- <field eval="-1.0" name="ref_tax_sign"/>
3032- <field eval="-1.0" name="ref_base_sign"/>
3033 <field name="type_tax_use">sale</field>
3034 </record>
3035-
3036+
3037+ <record id="re_assoc_1_invoice_base_line" model="account.tax.line.template">
3038+ <field name="code_type">base</field>
3039+ <field name="tax_amount">100</field>
3040+ <field name="amount">100</field>
3041+ <field name="apply_on">invoice</field>
3042+ <field name="code_id" ref="iva_assoc_dev_13"/>
3043+ <field name="tax_id" ref="re_assoc_1"/>
3044+ </record>
3045+
3046+ <record id="re_assoc_1_invoice_tax_line" model="account.tax.line.template">
3047+ <field name="code_type">tax</field>
3048+ <field name="tax_amount">1</field>
3049+ <field name="amount">1</field>
3050+ <field name="apply_on">invoice</field>
3051+ <field name="account_id" ref="pgc_assoc_475000"/>
3052+ <field name="code_id" ref="iva_assoc_dev_15"/>
3053+ <field name="tax_id" ref="re_assoc_1"/>
3054+ </record>
3055+
3056+ <record id="re_assoc_1_refund_base_line" model="account.tax.line.template">
3057+ <field name="code_type">base</field>
3058+ <field name="tax_amount">-100</field>
3059+ <field name="amount">100</field>
3060+ <field name="apply_on">refund</field>
3061+ <field name="code_id" ref="iva_assoc_dev_13"/>
3062+ <field name="tax_id" ref="re_assoc_1"/>
3063+ </record>
3064+
3065+ <record id="re_assoc_1_refund_tax_line" model="account.tax.line.template">
3066+ <field name="code_type">tax</field>
3067+ <field name="tax_amount">-1</field>
3068+ <field name="amount">1</field>
3069+ <field name="apply_on">refund</field>
3070+ <field name="account_id" ref="pgc_assoc_475000"/>
3071+ <field name="code_id" ref="iva_assoc_dev_15"/>
3072+ <field name="tax_id" ref="re_assoc_1"/>
3073+ </record>
3074+
3075 <record id="re_assoc_14" model="account.tax.template">
3076 <field name="chart_template_id" ref="l10nES_chart_template_assoc"/>
3077 <field name="name">1.4% Recargo Equivalencia</field>
3078- <field eval="0.014" name="amount"/>
3079+ <field eval="14" name="amount"/>
3080 <field name="type">percent</field>
3081- <field name="account_collected_id" ref="pgc_assoc_477000"/>
3082- <field name="account_paid_id" ref="pgc_assoc_477000"/>
3083- <field name="base_code_id" ref="iva_assoc_dev_13_14"/>
3084- <field name="tax_code_id" ref="iva_assoc_dev_15_14"/>
3085- <field name="ref_base_code_id" ref="iva_assoc_dev_13_14"/>
3086- <field name="ref_tax_code_id" ref="iva_assoc_dev_15_14"/>
3087- <field eval="1.0" name="tax_sign"/>
3088- <field eval="1.0" name="base_sign"/>
3089- <field eval="-1.0" name="ref_tax_sign"/>
3090- <field eval="-1.0" name="ref_base_sign"/>
3091 <field name="type_tax_use">sale</field>
3092 </record>
3093-
3094+
3095+ <record id="re_assoc_14_invoice_base_line" model="account.tax.line.template">
3096+ <field name="code_type">base</field>
3097+ <field name="tax_amount">100</field>
3098+ <field name="amount">100</field>
3099+ <field name="apply_on">invoice</field>
3100+ <field name="code_id" ref="iva_assoc_dev_13_14"/>
3101+ <field name="tax_id" ref="re_assoc_14"/>
3102+ </record>
3103+
3104+ <record id="re_assoc_14_invoice_tax_line" model="account.tax.line.template">
3105+ <field name="code_type">tax</field>
3106+ <field name="tax_amount">14</field>
3107+ <field name="amount">14</field>
3108+ <field name="apply_on">invoice</field>
3109+ <field name="account_id" ref="pgc_assoc_477000"/>
3110+ <field name="code_id" ref="iva_assoc_dev_15_14"/>
3111+ <field name="tax_id" ref="re_assoc_14"/>
3112+ </record>
3113+
3114+ <record id="re_assoc_14_refund_base_line" model="account.tax.line.template">
3115+ <field name="code_type">base</field>
3116+ <field name="tax_amount">-100</field>
3117+ <field name="amount">100</field>
3118+ <field name="apply_on">refund</field>
3119+ <field name="code_id" ref="iva_assoc_dev_13_14"/>
3120+ <field name="tax_id" ref="re_assoc_14"/>
3121+ </record>
3122+
3123+ <record id="re_assoc_14_refund_tax_line" model="account.tax.line.template">
3124+ <field name="code_type">tax</field>
3125+ <field name="tax_amount">-14</field>
3126+ <field name="amount">14</field>
3127+ <field name="apply_on">refund</field>
3128+ <field name="account_id" ref="pgc_assoc_477000"/>
3129+ <field name="code_id" ref="iva_assoc_dev_15_14"/>
3130+ <field name="tax_id" ref="re_assoc_14"/>
3131+ </record>
3132+
3133 <record id="re_assoc_4" model="account.tax.template">
3134 <field name="chart_template_id" ref="l10nES_chart_template_assoc"/>
3135 <field name="name">4% Recargo Equivalencia</field>
3136- <field eval="0.04" name="amount"/>
3137+ <field eval="4" name="amount"/>
3138 <field name="type">percent</field>
3139- <field name="account_collected_id" ref="pgc_assoc_475000"/>
3140- <field name="account_paid_id" ref="pgc_assoc_475000"/>
3141- <field name="base_code_id" ref="iva_assoc_dev_16"/>
3142- <field name="tax_code_id" ref="iva_assoc_dev_18"/>
3143- <field name="ref_base_code_id" ref="iva_assoc_dev_16"/>
3144- <field name="ref_tax_code_id" ref="iva_assoc_dev_18"/>
3145- <field eval="1.0" name="tax_sign"/>
3146- <field eval="1.0" name="base_sign"/>
3147- <field eval="-1.0" name="ref_tax_sign"/>
3148- <field eval="-1.0" name="ref_base_sign"/>
3149 <field name="type_tax_use">sale</field>
3150 </record>
3151-
3152+
3153+ <record id="re_assoc_4_invoice_base_line" model="account.tax.line.template">
3154+ <field name="code_type">base</field>
3155+ <field name="tax_amount">100</field>
3156+ <field name="amount">100</field>
3157+ <field name="apply_on">invoice</field>
3158+ <field name="code_id" ref="iva_assoc_dev_16"/>
3159+ <field name="tax_id" ref="re_assoc_4"/>
3160+ </record>
3161+
3162+ <record id="re_assoc_4_invoice_tax_line" model="account.tax.line.template">
3163+ <field name="code_type">tax</field>
3164+ <field name="tax_amount">4</field>
3165+ <field name="amount">4</field>
3166+ <field name="apply_on">invoice</field>
3167+ <field name="account_id" ref="pgc_assoc_475000"/>
3168+ <field name="code_id" ref="iva_assoc_dev_18"/>
3169+ <field name="tax_id" ref="re_assoc_4"/>
3170+ </record>
3171+
3172+ <record id="re_assoc_4_refund_base_line" model="account.tax.line.template">
3173+ <field name="code_type">base</field>
3174+ <field name="tax_amount">-100</field>
3175+ <field name="amount">100</field>
3176+ <field name="apply_on">refund</field>
3177+ <field name="code_id" ref="iva_assoc_dev_16"/>
3178+ <field name="tax_id" ref="re_assoc_4"/>
3179+ </record>
3180+
3181+ <record id="re_assoc_4_refund_tax_line" model="account.tax.line.template">
3182+ <field name="code_type">tax</field>
3183+ <field name="tax_amount">-4</field>
3184+ <field name="amount">4</field>
3185+ <field name="apply_on">refund</field>
3186+ <field name="account_id" ref="pgc_assoc_475000"/>
3187+ <field name="code_id" ref="iva_assoc_dev_18"/>
3188+ <field name="tax_id" ref="re_assoc_4"/>
3189+ </record>
3190+
3191 <record id="re_assoc_52" model="account.tax.template">
3192 <field name="chart_template_id" ref="l10nES_chart_template_assoc"/>
3193 <field name="name">5.2% Recargo Equivalencia</field>
3194- <field eval="0.052" name="amount"/>
3195+ <field eval="52" name="amount"/>
3196 <field name="type">percent</field>
3197- <field name="account_collected_id" ref="pgc_assoc_477000"/>
3198- <field name="account_paid_id" ref="pgc_assoc_477000"/>
3199- <field name="base_code_id" ref="iva_assoc_dev_16_52"/>
3200- <field name="tax_code_id" ref="iva_assoc_dev_18_52"/>
3201- <field name="ref_base_code_id" ref="iva_assoc_dev_16_52"/>
3202- <field name="ref_tax_code_id" ref="iva_assoc_dev_18_52"/>
3203- <field eval="1.0" name="tax_sign"/>
3204- <field eval="1.0" name="base_sign"/>
3205- <field eval="-1.0" name="ref_tax_sign"/>
3206- <field eval="-1.0" name="ref_base_sign"/>
3207 <field name="type_tax_use">sale</field>
3208 </record>
3209-
3210+
3211+ <record id="re_assoc_52_invoice_base_line" model="account.tax.line.template">
3212+ <field name="code_type">base</field>
3213+ <field name="tax_amount">100</field>
3214+ <field name="amount">100</field>
3215+ <field name="apply_on">invoice</field>
3216+ <field name="code_id" ref="iva_assoc_dev_16_52"/>
3217+ <field name="tax_id" ref="re_assoc_52"/>
3218+ </record>
3219+
3220+ <record id="re_assoc_52_invoice_tax_line" model="account.tax.line.template">
3221+ <field name="code_type">tax</field>
3222+ <field name="tax_amount">52</field>
3223+ <field name="amount">52</field>
3224+ <field name="apply_on">invoice</field>
3225+ <field name="account_id" ref="pgc_assoc_477000"/>
3226+ <field name="code_id" ref="iva_assoc_dev_18_52"/>
3227+ <field name="tax_id" ref="re_assoc_52"/>
3228+ </record>
3229+
3230+ <record id="re_assoc_52_refund_base_line" model="account.tax.line.template">
3231+ <field name="code_type">base</field>
3232+ <field name="tax_amount">-100</field>
3233+ <field name="amount">100</field>
3234+ <field name="apply_on">refund</field>
3235+ <field name="code_id" ref="iva_assoc_dev_16_52"/>
3236+ <field name="tax_id" ref="re_assoc_52"/>
3237+ </record>
3238+
3239+ <record id="re_assoc_52_refund_tax_line" model="account.tax.line.template">
3240+ <field name="code_type">tax</field>
3241+ <field name="tax_amount">-52</field>
3242+ <field name="amount">52</field>
3243+ <field name="apply_on">refund</field>
3244+ <field name="account_id" ref="pgc_assoc_477000"/>
3245+ <field name="code_id" ref="iva_assoc_dev_18_52"/>
3246+ <field name="tax_id" ref="re_assoc_52"/>
3247+ </record>
3248+
3249 <record id="re_assoc_buy_05" model="account.tax.template">
3250 <field name="chart_template_id" ref="l10nES_chart_template_assoc"/>
3251 <field name="name">0.50% Recargo Equivalencia Compras</field>
3252- <field eval="0.005" name="amount"/>
3253+ <field eval="5" name="amount"/>
3254 <field name="type">percent</field>
3255- <field name="account_collected_id" ref="pgc_assoc_472000"/>
3256- <field name="account_paid_id" ref="pgc_assoc_472000"/>
3257- <field name="base_code_id" ref="iva_assoc_ded_10"/>
3258- <field name="tax_code_id" ref="iva_assoc_ded_12"/>
3259- <field name="ref_base_code_id" ref="iva_assoc_ded_10"/>
3260- <field name="ref_tax_code_id" ref="iva_assoc_ded_12"/>
3261- <field eval="1.0" name="tax_sign"/>
3262- <field eval="1.0" name="base_sign"/>
3263- <field eval="-1.0" name="ref_tax_sign"/>
3264- <field eval="-1.0" name="ref_base_sign"/>
3265 <field name="type_tax_use">purchase</field>
3266 </record>
3267-
3268+
3269+ <record id="re_assoc_buy_05_invoice_base_line" model="account.tax.line.template">
3270+ <field name="code_type">base</field>
3271+ <field name="tax_amount">100</field>
3272+ <field name="amount">100</field>
3273+ <field name="apply_on">invoice</field>
3274+ <field name="code_id" ref="iva_assoc_ded_10"/>
3275+ <field name="tax_id" ref="re_assoc_buy_05"/>
3276+ </record>
3277+
3278+ <record id="re_assoc_buy_05_invoice_tax_line" model="account.tax.line.template">
3279+ <field name="code_type">tax</field>
3280+ <field name="tax_amount">5</field>
3281+ <field name="amount">5</field>
3282+ <field name="apply_on">invoice</field>
3283+ <field name="account_id" ref="pgc_assoc_472000"/>
3284+ <field name="code_id" ref="iva_assoc_ded_12"/>
3285+ <field name="tax_id" ref="re_assoc_buy_05"/>
3286+ </record>
3287+
3288+ <record id="re_assoc_buy_05_refund_base_line" model="account.tax.line.template">
3289+ <field name="code_type">base</field>
3290+ <field name="tax_amount">-100</field>
3291+ <field name="amount">100</field>
3292+ <field name="apply_on">refund</field>
3293+ <field name="code_id" ref="iva_assoc_ded_10"/>
3294+ <field name="tax_id" ref="re_assoc_buy_05"/>
3295+ </record>
3296+
3297+ <record id="re_assoc_buy_05_refund_tax_line" model="account.tax.line.template">
3298+ <field name="code_type">tax</field>
3299+ <field name="tax_amount">-5</field>
3300+ <field name="amount">5</field>
3301+ <field name="apply_on">refund</field>
3302+ <field name="account_id" ref="pgc_assoc_472000"/>
3303+ <field name="code_id" ref="iva_assoc_ded_12"/>
3304+ <field name="tax_id" ref="re_assoc_buy_05"/>
3305+ </record>
3306+
3307 <record id="re_assoc_buy_1" model="account.tax.template">
3308 <field name="chart_template_id" ref="l10nES_chart_template_assoc"/>
3309 <field name="name">1% Recargo Equivalencia Compras</field>
3310- <field eval="0.01" name="amount"/>
3311+ <field eval="1" name="amount"/>
3312 <field name="type">percent</field>
3313- <field name="account_collected_id" ref="pgc_assoc_472000"/>
3314- <field name="account_paid_id" ref="pgc_assoc_472000"/>
3315- <field name="base_code_id" ref="iva_assoc_ded_13"/>
3316- <field name="tax_code_id" ref="iva_assoc_ded_15"/>
3317- <field name="ref_base_code_id" ref="iva_assoc_ded_13"/>
3318- <field name="ref_tax_code_id" ref="iva_assoc_ded_15"/>
3319- <field eval="1.0" name="tax_sign"/>
3320- <field eval="1.0" name="base_sign"/>
3321- <field eval="-1.0" name="ref_tax_sign"/>
3322- <field eval="-1.0" name="ref_base_sign"/>
3323 <field name="type_tax_use">purchase</field>
3324 </record>
3325-
3326+
3327+ <record id="re_assoc_buy_1_invoice_base_line" model="account.tax.line.template">
3328+ <field name="code_type">base</field>
3329+ <field name="tax_amount">100</field>
3330+ <field name="amount">100</field>
3331+ <field name="apply_on">invoice</field>
3332+ <field name="code_id" ref="iva_assoc_ded_13"/>
3333+ <field name="tax_id" ref="re_assoc_buy_1"/>
3334+ </record>
3335+
3336+ <record id="re_assoc_buy_1_invoice_tax_line" model="account.tax.line.template">
3337+ <field name="code_type">tax</field>
3338+ <field name="tax_amount">1</field>
3339+ <field name="amount">1</field>
3340+ <field name="apply_on">invoice</field>
3341+ <field name="account_id" ref="pgc_assoc_472000"/>
3342+ <field name="code_id" ref="iva_assoc_ded_15"/>
3343+ <field name="tax_id" ref="re_assoc_buy_1"/>
3344+ </record>
3345+
3346+ <record id="re_assoc_buy_1_refund_base_line" model="account.tax.line.template">
3347+ <field name="code_type">base</field>
3348+ <field name="tax_amount">-100</field>
3349+ <field name="amount">100</field>
3350+ <field name="apply_on">refund</field>
3351+ <field name="code_id" ref="iva_assoc_ded_13"/>
3352+ <field name="tax_id" ref="re_assoc_buy_1"/>
3353+ </record>
3354+
3355+ <record id="re_assoc_buy_1_refund_tax_line" model="account.tax.line.template">
3356+ <field name="code_type">tax</field>
3357+ <field name="tax_amount">-1</field>
3358+ <field name="amount">1</field>
3359+ <field name="apply_on">refund</field>
3360+ <field name="account_id" ref="pgc_assoc_472000"/>
3361+ <field name="code_id" ref="iva_assoc_ded_15"/>
3362+ <field name="tax_id" ref="re_assoc_buy_1"/>
3363+ </record>
3364+
3365 <record id="re_assoc_buy_14" model="account.tax.template">
3366 <field name="chart_template_id" ref="l10nES_chart_template_assoc"/>
3367 <field name="name">1.4% Recargo Equivalencia Compras</field>
3368- <field eval="0.014" name="amount"/>
3369+ <field eval="14" name="amount"/>
3370 <field name="type">percent</field>
3371- <field name="account_collected_id" ref="pgc_assoc_472000"/>
3372- <field name="account_paid_id" ref="pgc_assoc_472000"/>
3373- <field name="base_code_id" ref="iva_assoc_ded_13_14"/>
3374- <field name="tax_code_id" ref="iva_assoc_ded_15_14"/>
3375- <field name="ref_base_code_id" ref="iva_assoc_ded_13_14"/>
3376- <field name="ref_tax_code_id" ref="iva_assoc_ded_15_14"/>
3377- <field eval="1.0" name="tax_sign"/>
3378- <field eval="1.0" name="base_sign"/>
3379- <field eval="-1.0" name="ref_tax_sign"/>
3380- <field eval="-1.0" name="ref_base_sign"/>
3381 <field name="type_tax_use">purchase</field>
3382 </record>
3383-
3384+
3385+ <record id="re_assoc_buy_14_invoice_base_line" model="account.tax.line.template">
3386+ <field name="code_type">base</field>
3387+ <field name="tax_amount">100</field>
3388+ <field name="amount">100</field>
3389+ <field name="apply_on">invoice</field>
3390+ <field name="code_id" ref="iva_assoc_ded_13_14"/>
3391+ <field name="tax_id" ref="re_assoc_buy_14"/>
3392+ </record>
3393+
3394+ <record id="re_assoc_buy_14_invoice_tax_line" model="account.tax.line.template">
3395+ <field name="code_type">tax</field>
3396+ <field name="tax_amount">14</field>
3397+ <field name="amount">14</field>
3398+ <field name="apply_on">invoice</field>
3399+ <field name="account_id" ref="pgc_assoc_472000"/>
3400+ <field name="code_id" ref="iva_assoc_ded_15_14"/>
3401+ <field name="tax_id" ref="re_assoc_buy_14"/>
3402+ </record>
3403+
3404+ <record id="re_assoc_buy_14_refund_base_line" model="account.tax.line.template">
3405+ <field name="code_type">base</field>
3406+ <field name="tax_amount">-100</field>
3407+ <field name="amount">100</field>
3408+ <field name="apply_on">refund</field>
3409+ <field name="code_id" ref="iva_assoc_ded_13_14"/>
3410+ <field name="tax_id" ref="re_assoc_buy_14"/>
3411+ </record>
3412+
3413+ <record id="re_assoc_buy_14_refund_tax_line" model="account.tax.line.template">
3414+ <field name="code_type">tax</field>
3415+ <field name="tax_amount">-14</field>
3416+ <field name="amount">14</field>
3417+ <field name="apply_on">refund</field>
3418+ <field name="account_id" ref="pgc_assoc_472000"/>
3419+ <field name="code_id" ref="iva_assoc_ded_15_14"/>
3420+ <field name="tax_id" ref="re_assoc_buy_14"/>
3421+ </record>
3422+
3423 <record id="re_assoc_buy_4" model="account.tax.template">
3424 <field name="chart_template_id" ref="l10nES_chart_template_assoc"/>
3425 <field name="name">4% Recargo Equivalencia Compras</field>
3426- <field eval="0.04" name="amount"/>
3427+ <field eval="4" name="amount"/>
3428 <field name="type">percent</field>
3429- <field name="account_collected_id" ref="pgc_assoc_472000"/>
3430- <field name="account_paid_id" ref="pgc_assoc_472000"/>
3431- <field name="base_code_id" ref="iva_assoc_ded_16"/>
3432- <field name="tax_code_id" ref="iva_assoc_ded_18"/>
3433- <field name="ref_base_code_id" ref="iva_assoc_ded_16"/>
3434- <field name="ref_tax_code_id" ref="iva_assoc_ded_18"/>
3435- <field eval="1.0" name="tax_sign"/>
3436- <field eval="1.0" name="base_sign"/>
3437- <field eval="-1.0" name="ref_tax_sign"/>
3438- <field eval="-1.0" name="ref_base_sign"/>
3439 <field name="type_tax_use">purchase</field>
3440 </record>
3441-
3442+
3443+ <record id="re_assoc_buy_4_invoice_base_line" model="account.tax.line.template">
3444+ <field name="code_type">base</field>
3445+ <field name="tax_amount">100</field>
3446+ <field name="amount">100</field>
3447+ <field name="apply_on">invoice</field>
3448+ <field name="code_id" ref="iva_assoc_ded_16"/>
3449+ <field name="tax_id" ref="re_assoc_buy_4"/>
3450+ </record>
3451+
3452+ <record id="re_assoc_buy_4_invoice_tax_line" model="account.tax.line.template">
3453+ <field name="code_type">tax</field>
3454+ <field name="tax_amount">4</field>
3455+ <field name="amount">4</field>
3456+ <field name="apply_on">invoice</field>
3457+ <field name="account_id" ref="pgc_assoc_472000"/>
3458+ <field name="code_id" ref="iva_assoc_ded_18"/>
3459+ <field name="tax_id" ref="re_assoc_buy_4"/>
3460+ </record>
3461+
3462+ <record id="re_assoc_buy_4_refund_base_line" model="account.tax.line.template">
3463+ <field name="code_type">base</field>
3464+ <field name="tax_amount">-100</field>
3465+ <field name="amount">100</field>
3466+ <field name="apply_on">refund</field>
3467+ <field name="code_id" ref="iva_assoc_ded_16"/>
3468+ <field name="tax_id" ref="re_assoc_buy_4"/>
3469+ </record>
3470+
3471+ <record id="re_assoc_buy_4_refund_tax_line" model="account.tax.line.template">
3472+ <field name="code_type">tax</field>
3473+ <field name="tax_amount">-4</field>
3474+ <field name="amount">4</field>
3475+ <field name="apply_on">refund</field>
3476+ <field name="account_id" ref="pgc_assoc_472000"/>
3477+ <field name="code_id" ref="iva_assoc_ded_18"/>
3478+ <field name="tax_id" ref="re_assoc_buy_4"/>
3479+ </record>
3480+
3481 <record id="re_assoc_buy_52" model="account.tax.template">
3482 <field name="chart_template_id" ref="l10nES_chart_template_assoc"/>
3483 <field name="name">5.2% Recargo Equivalencia Compras</field>
3484- <field eval="0.052" name="amount"/>
3485+ <field eval="52" name="amount"/>
3486 <field name="type">percent</field>
3487- <field name="account_collected_id" ref="pgc_assoc_472000"/>
3488- <field name="account_paid_id" ref="pgc_assoc_472000"/>
3489- <field name="base_code_id" ref="iva_assoc_ded_16_52"/>
3490- <field name="tax_code_id" ref="iva_assoc_ded_18_52"/>
3491- <field name="ref_base_code_id" ref="iva_assoc_ded_16_52"/>
3492- <field name="ref_tax_code_id" ref="iva_assoc_ded_18_52"/>
3493- <field eval="1.0" name="tax_sign"/>
3494- <field eval="1.0" name="base_sign"/>
3495- <field eval="-1.0" name="ref_tax_sign"/>
3496- <field eval="-1.0" name="ref_base_sign"/>
3497 <field name="type_tax_use">purchase</field>
3498 </record>
3499-
3500+
3501+ <record id="re_assoc_buy_52_invoice_base_line" model="account.tax.line.template">
3502+ <field name="code_type">base</field>
3503+ <field name="tax_amount">100</field>
3504+ <field name="amount">100</field>
3505+ <field name="apply_on">invoice</field>
3506+ <field name="code_id" ref="iva_assoc_ded_16_52"/>
3507+ <field name="tax_id" ref="re_assoc_buy_52"/>
3508+ </record>
3509+
3510+ <record id="re_assoc_buy_52_invoice_tax_line" model="account.tax.line.template">
3511+ <field name="code_type">tax</field>
3512+ <field name="tax_amount">52</field>
3513+ <field name="amount">52</field>
3514+ <field name="apply_on">invoice</field>
3515+ <field name="account_id" ref="pgc_assoc_472000"/>
3516+ <field name="code_id" ref="iva_assoc_ded_18_52"/>
3517+ <field name="tax_id" ref="re_assoc_buy_52"/>
3518+ </record>
3519+
3520+ <record id="re_assoc_buy_52_refund_base_line" model="account.tax.line.template">
3521+ <field name="code_type">base</field>
3522+ <field name="tax_amount">-100</field>
3523+ <field name="amount">100</field>
3524+ <field name="apply_on">refund</field>
3525+ <field name="code_id" ref="iva_assoc_ded_16_52"/>
3526+ <field name="tax_id" ref="re_assoc_buy_52"/>
3527+ </record>
3528+
3529+ <record id="re_assoc_buy_52_refund_tax_line" model="account.tax.line.template">
3530+ <field name="code_type">tax</field>
3531+ <field name="tax_amount">-52</field>
3532+ <field name="amount">52</field>
3533+ <field name="apply_on">refund</field>
3534+ <field name="account_id" ref="pgc_assoc_472000"/>
3535+ <field name="code_id" ref="iva_assoc_ded_18_52"/>
3536+ <field name="tax_id" ref="re_assoc_buy_52"/>
3537+ </record>
3538
3539 <!-- OPERACIONES INTRACOMUNITARIAS -->
3540
3541@@ -2124,13 +3640,42 @@
3542 <field name="description">IVA 0% Intracomunitario 0</field>
3543 <field eval="0.00" name="amount"/>
3544 <field name="type">percent</field>
3545- <field name="base_code_id" ref="base_assoc_intra_42"/>
3546- <field name="ref_base_code_id" ref="base_assoc_intra_42"/>
3547- <field eval="-1.0" name="ref_base_sign"/>
3548- <field eval="-1.0" name="ref_tax_sign"/>
3549 <field name="type_tax_use">sale</field>
3550 </record>
3551-
3552+
3553+ <record id="iva_assoc_IO_invoice_base_line" model="account.tax.line.template">
3554+ <field name="code_type">base</field>
3555+ <field name="tax_amount">100</field>
3556+ <field name="amount">100</field>
3557+ <field name="apply_on">invoice</field>
3558+ <field name="code_id" ref="base_assoc_intra_42"/>
3559+ <field name="tax_id" ref="iva_assoc_IO"/>
3560+ </record>
3561+
3562+ <record id="iva_assoc_IO_invoice_tax_line" model="account.tax.line.template">
3563+ <field name="code_type">tax</field>
3564+ <field name="tax_amount">0</field>
3565+ <field name="amount">0.0</field>
3566+ <field name="apply_on">invoice</field>
3567+ <field name="tax_id" ref="iva_assoc_IO"/>
3568+ </record>
3569+
3570+ <record id="iva_assoc_IO_refund_base_line" model="account.tax.line.template">
3571+ <field name="code_type">base</field>
3572+ <field name="tax_amount">-100</field>
3573+ <field name="amount">100</field>
3574+ <field name="apply_on">refund</field>
3575+ <field name="code_id" ref="base_assoc_intra_42"/>
3576+ <field name="tax_id" ref="iva_assoc_IO"/>
3577+ </record>
3578+
3579+ <record id="iva_assoc_IO_refund_tax_line" model="account.tax.line.template">
3580+ <field name="code_type">tax</field>
3581+ <field name="tax_amount">0</field>
3582+ <field name="amount">0.0</field>
3583+ <field name="apply_on">refund</field>
3584+ <field name="tax_id" ref="iva_assoc_IO"/>
3585+ </record>
3586
3587 <!-- COMPRAS -->
3588 <record id="iva_assoc_IC_compras_16_bc" model="account.tax.template">
3589@@ -2139,87 +3684,164 @@
3590 <field name="description">IVA 16% Intracomunitario. Bienes corrientes</field>
3591 <field eval="1.00" name="amount"/>
3592 <field name="type">percent</field>
3593- <field eval="1" name="child_depend"/>
3594- <field name="type_tax_use">purchase</field>
3595- </record>
3596- <record id="iva_assoc_IC_compras_16_bc_1" model="account.tax.template">
3597- <field name="chart_template_id" ref="l10nES_chart_template_assoc"/>
3598- <field name="parent_id" ref="iva_assoc_IC_compras_16_bc"/>
3599- <field name="name">IVA 16% Intracomunitario. Bienes corrientes (1)</field>
3600- <field eval="0.16" name="amount"/>
3601- <field name="type">percent</field>
3602- <field name="account_paid_id" ref="pgc_assoc_472000"/>
3603- <field name="account_collected_id" ref="pgc_assoc_472000"/>
3604- <field name="base_code_id" ref="iva_assoc_ded_30_16"/>
3605- <field name="tax_code_id" ref="iva_assoc_ded_31_16"/>
3606- <field name="ref_base_code_id" ref="iva_assoc_ded_30_16"/>
3607- <field name="ref_tax_code_id" ref="iva_assoc_ded_31_16"/>
3608- <field eval="-1.0" name="ref_base_sign"/>
3609- <field eval="-1.0" name="ref_tax_sign"/>
3610- <field name="type_tax_use">purchase</field>
3611- </record>
3612- <record id="iva_assoc_IC_compras_16_bc_2" model="account.tax.template">
3613- <field name="chart_template_id" ref="l10nES_chart_template_assoc"/>
3614- <field name="parent_id" ref="iva_assoc_IC_compras_16_bc"/>
3615- <field name="name">IVA 16% Intracomunitario. Bienes corrientes (2)</field>
3616- <field eval="-0.16" name="amount"/>
3617- <field name="type">percent</field>
3618- <field name="account_paid_id" ref="pgc_assoc_477000"/>
3619- <field name="account_collected_id" ref="pgc_assoc_477000"/>
3620- <field name="base_code_id" ref="iva_assoc_dev_19"/>
3621- <field name="tax_code_id" ref="iva_assoc_dev_20"/>
3622- <field eval="-1.0" name="tax_sign"/>
3623- <field name="ref_base_code_id" ref="iva_assoc_dev_19"/>
3624- <field eval="-1.0" name="ref_base_sign"/>
3625- <!--ATENCIÓN AQUÍ CON LOS SIGNOS. PENDIENTE DE PRUEBA EN PROFUNDIDAD-->
3626- <field name="ref_tax_code_id" ref="iva_assoc_dev_20"/>
3627- <field eval="1.0" name="ref_tax_sign"/>
3628- <field name="type_tax_use">purchase</field>
3629- </record>
3630-
3631+ <!-- <field eval="1" name="child_depend"/> -->
3632+ <field name="type_tax_use">purchase</field>
3633+ </record>
3634+
3635+ <record id="iva_assoc_IC_compras_16_bc_invoice_base_line" model="account.tax.line.template">
3636+ <field name="code_type">base</field>
3637+ <field name="tax_amount">100</field>
3638+ <field name="amount">100</field>
3639+ <field name="apply_on">invoice</field>
3640+ <field name="tax_id" ref="iva_assoc_IC_compras_16_bc"/>
3641+ </record>
3642+
3643+ <!-- <record id="iva_assoc_IC_compras_16_bc_invoice_tax_line" model="account.tax.line.template">
3644+ <field name="code_type">tax</field>
3645+ <field name="tax_amount">100</field>
3646+ <field name="amount">100</field>
3647+ <field name="apply_on">invoice</field>
3648+ <field name="tax_id" ref="iva_assoc_IC_compras_16_bc"/>
3649+ </record> -->
3650+
3651+ <record id="iva_assoc_IC_compras_16_bc_refund_base_line" model="account.tax.line.template">
3652+ <field name="code_type">base</field>
3653+ <field name="tax_amount">-100</field>
3654+ <field name="amount">100</field>
3655+ <field name="apply_on">refund</field>
3656+ <field name="tax_id" ref="iva_assoc_IC_compras_16_bc"/>
3657+ </record>
3658+
3659+ <!-- <record id="iva_assoc_IC_compras_16_bc_refund_tax_line" model="account.tax.line.template">
3660+ <field name="code_type">tax</field>
3661+ <field name="tax_amount">-100</field>
3662+ <field name="amount">100</field>
3663+ <field name="apply_on">refund</field>
3664+ <field name="tax_id" ref="iva_assoc_IC_compras_16_bc"/>
3665+ </record> -->
3666+
3667+ <record id="iva_assoc_IC_compras_16_bc_1_invoice_tax_line" model="account.tax.line.template">
3668+ <field name="code_type">tax</field>
3669+ <field name="tax_amount">16</field>
3670+ <field name="amount">16</field>
3671+ <field name="apply_on">invoice</field>
3672+ <field name="account_id" ref="pgc_assoc_472000"/>
3673+ <field name="code_id" ref="iva_pymes_ded_31_16"/>
3674+ <field name="tax_id" ref="iva_assoc_IC_compras_16_bc"/>
3675+ </record>
3676+
3677+ <record id="iva_assoc_IC_compras_16_bc_1_refund_tax_line" model="account.tax.line.template">
3678+ <field name="code_type">tax</field>
3679+ <field name="tax_amount">-16</field>
3680+ <field name="amount">16</field>
3681+ <field name="apply_on">refund</field>
3682+ <field name="account_id" ref="pgc_assoc_472000"/>
3683+ <field name="code_id" ref="iva_pymes_ded_31_16"/>
3684+ <field name="tax_id" ref="iva_assoc_IC_compras_16_bc"/>
3685+ </record>
3686+
3687+ <record id="iva_assoc_IC_compras_16_bc_2_invoice_tax_line" model="account.tax.line.template">
3688+ <field name="code_type">tax</field>
3689+ <field name="tax_amount">-16</field>
3690+ <field name="amount">-16</field>
3691+ <field name="apply_on">invoice</field>
3692+ <field name="account_id" ref="pgc_assoc_477000"/>
3693+ <field name="code_id" ref="iva_assoc_dev_20"/>
3694+ <field name="tax_id" ref="iva_assoc_IC_compras_16_bc"/>
3695+ </record>
3696+
3697+ <record id="iva_assoc_IC_compras_16_bc_2_refund_tax_line" model="account.tax.line.template">
3698+ <field name="code_type">tax</field>
3699+ <field name="tax_amount">16</field>
3700+ <field name="amount">-16</field>
3701+ <field name="apply_on">refund</field>
3702+ <field name="account_id" ref="pgc_assoc_477000"/>
3703+ <field name="code_id" ref="iva_assoc_dev_20"/>
3704+ <field name="tax_id" ref="iva_assoc_IC_compras_16_bc"/>
3705+ </record>
3706+
3707 <record id="iva_assoc_IC_compras_18_bc" model="account.tax.template">
3708 <field name="chart_template_id" ref="l10nES_chart_template_assoc"/>
3709 <field name="name">IVA 18% Intracomunitario. Bienes corrientes</field>
3710 <field name="description">IVA 18% Intracomunitario. Bienes corrientes</field>
3711 <field eval="1.00" name="amount"/>
3712 <field name="type">percent</field>
3713- <field eval="1" name="child_depend"/>
3714- <field name="type_tax_use">purchase</field>
3715- </record>
3716- <record id="iva_assoc_IC_compras_18_bc_1" model="account.tax.template">
3717- <field name="chart_template_id" ref="l10nES_chart_template_assoc"/>
3718- <field name="parent_id" ref="iva_assoc_IC_compras_18_bc"/>
3719- <field name="name">IVA 18% Intracomunitario. Bienes corrientes (1)</field>
3720- <field eval="0.18" name="amount"/>
3721- <field name="type">percent</field>
3722- <field name="account_paid_id" ref="pgc_assoc_472000"/>
3723- <field name="account_collected_id" ref="pgc_assoc_472000"/>
3724- <field name="base_code_id" ref="iva_assoc_ded_30_18"/>
3725- <field name="tax_code_id" ref="iva_assoc_ded_31_18"/>
3726- <field name="ref_base_code_id" ref="iva_assoc_ded_30_18"/>
3727- <field name="ref_tax_code_id" ref="iva_assoc_ded_31_18"/>
3728- <field eval="-1.0" name="ref_base_sign"/>
3729- <field eval="-1.0" name="ref_tax_sign"/>
3730- <field name="type_tax_use">purchase</field>
3731- </record>
3732- <record id="iva_assoc_IC_compras_18_bc_2" model="account.tax.template">
3733- <field name="chart_template_id" ref="l10nES_chart_template_assoc"/>
3734- <field name="parent_id" ref="iva_assoc_IC_compras_18_bc"/>
3735- <field name="name">IVA 18% Intracomunitario. Bienes corrientes (2)</field>
3736- <field eval="-0.18" name="amount"/>
3737- <field name="type">percent</field>
3738- <field name="account_paid_id" ref="pgc_assoc_477000"/>
3739- <field name="account_collected_id" ref="pgc_assoc_477000"/>
3740- <field name="base_code_id" ref="iva_assoc_dev_19"/>
3741- <field name="tax_code_id" ref="iva_assoc_dev_20"/>
3742- <field eval="-1.0" name="tax_sign"/>
3743- <field name="ref_base_code_id" ref="iva_assoc_dev_19"/>
3744- <field eval="-1.0" name="ref_base_sign"/>
3745- <!--ATENCIÓN AQUÍ CON LOS SIGNOS. PENDIENTE DE PRUEBA EN PROFUNDIDAD-->
3746- <field name="ref_tax_code_id" ref="iva_assoc_dev_20"/>
3747- <field eval="1.0" name="ref_tax_sign"/>
3748- <field name="type_tax_use">purchase</field>
3749- </record>
3750+ <!-- <field eval="1" name="child_depend"/> -->
3751+ <field name="type_tax_use">purchase</field>
3752+ </record>
3753+
3754+ <record id="iva_assoc_IC_compras_18_bc_invoice_base_line" model="account.tax.line.template">
3755+ <field name="code_type">base</field>
3756+ <field name="tax_amount">100</field>
3757+ <field name="amount">100</field>
3758+ <field name="apply_on">invoice</field>
3759+ <field name="tax_id" ref="iva_assoc_IC_compras_18_bc"/>
3760+ </record>
3761+
3762+ <!-- <record id="iva_assoc_IC_compras_18_bc_invoice_tax_line" model="account.tax.line.template">
3763+ <field name="code_type">tax</field>
3764+ <field name="tax_amount">100</field>
3765+ <field name="amount">100</field>
3766+ <field name="apply_on">invoice</field>
3767+ <field name="tax_id" ref="iva_assoc_IC_compras_18_bc"/>
3768+ </record> -->
3769+
3770+ <record id="iva_assoc_IC_compras_18_bc_refund_base_line" model="account.tax.line.template">
3771+ <field name="code_type">base</field>
3772+ <field name="tax_amount">-100</field>
3773+ <field name="amount">100</field>
3774+ <field name="apply_on">refund</field>
3775+ <field name="tax_id" ref="iva_assoc_IC_compras_18_bc"/>
3776+ </record>
3777+
3778+ <!-- <record id="iva_assoc_IC_compras_18_bc_refund_tax_line" model="account.tax.line.template">
3779+ <field name="code_type">tax</field>
3780+ <field name="tax_amount">-100</field>
3781+ <field name="amount">100</field>
3782+ <field name="apply_on">refund</field>
3783+ <field name="tax_id" ref="iva_assoc_IC_compras_18_bc"/>
3784+ </record> -->
3785+
3786+ <record id="iva_assoc_IC_compras_18_bc_1_invoice_tax_line" model="account.tax.line.template">
3787+ <field name="code_type">tax</field>
3788+ <field name="tax_amount">18</field>
3789+ <field name="amount">18</field>
3790+ <field name="apply_on">invoice</field>
3791+ <field name="account_id" ref="pgc_assoc_472000"/>
3792+ <field name="code_id" ref="iva_pymes_ded_31_18"/>
3793+ <field name="tax_id" ref="iva_assoc_IC_compras_18_bc"/>
3794+ </record>
3795+
3796+ <record id="iva_assoc_IC_compras_18_bc_1_refund_tax_line" model="account.tax.line.template">
3797+ <field name="code_type">tax</field>
3798+ <field name="tax_amount">-18</field>
3799+ <field name="amount">18</field>
3800+ <field name="apply_on">refund</field>
3801+ <field name="account_id" ref="pgc_assoc_472000"/>
3802+ <field name="code_id" ref="iva_pymes_ded_31_18"/>
3803+ <field name="tax_id" ref="iva_assoc_IC_compras_18_bc"/>
3804+ </record>
3805+
3806+ <record id="iva_assoc_IC_compras_18_bc_2_invoice_tax_line" model="account.tax.line.template">
3807+ <field name="code_type">tax</field>
3808+ <field name="tax_amount">-18</field>
3809+ <field name="amount">-18</field>
3810+ <field name="apply_on">invoice</field>
3811+ <field name="account_id" ref="pgc_assoc_477000"/>
3812+ <field name="code_id" ref="iva_assoc_dev_20"/>
3813+ <field name="tax_id" ref="iva_assoc_IC_compras_18_bc"/>
3814+ </record>
3815+
3816+ <record id="iva_assoc_IC_compras_18_bc_2_refund_tax_line" model="account.tax.line.template">
3817+ <field name="code_type">tax</field>
3818+ <field name="tax_amount">18</field>
3819+ <field name="amount">-18</field>
3820+ <field name="apply_on">refund</field>
3821+ <field name="account_id" ref="pgc_assoc_477000"/>
3822+ <field name="code_id" ref="iva_assoc_dev_20"/>
3823+ <field name="tax_id" ref="iva_assoc_IC_compras_18_bc"/>
3824+ </record>
3825+
3826 <!--record id="vat_IO_buy_21b_3" model="account.tax.template">
3827 <field name="chart_template_id" ref="l10nES_chart_template_assoc"/>
3828 <field name="parent_id" ref="vat_IO_buy_21b"/>
3829@@ -2238,517 +3860,985 @@
3830 <field name="description">IVA 16% Intracomunitario. Bienes de inversión</field>
3831 <field eval="1.00" name="amount"/>
3832 <field name="type">percent</field>
3833- <field eval="1" name="child_depend"/>
3834- <field name="type_tax_use">purchase</field>
3835- </record>
3836- <record id="iva_assoc_IC_compras_16_bi_1" model="account.tax.template">
3837- <field name="chart_template_id" ref="l10nES_chart_template_assoc"/>
3838- <field name="parent_id" ref="iva_assoc_IC_compras_16_bi"/>
3839- <field name="name">IVA 16% Intracomunitario. Bienes de inversión (1)</field>
3840- <field eval="0.16" name="amount"/>
3841- <field name="type">percent</field>
3842- <field name="account_paid_id" ref="pgc_assoc_472000"/>
3843- <field name="account_collected_id" ref="pgc_assoc_472000"/>
3844- <field name="base_code_id" ref="iva_assoc_ded_32_16"/>
3845- <field name="tax_code_id" ref="iva_assoc_ded_33_16"/>
3846- <field name="ref_base_code_id" ref="iva_assoc_ded_32_16"/>
3847- <field eval="-1.0" name="ref_base_sign"/>
3848- <field name="ref_tax_code_id" ref="iva_assoc_ded_33_16"/>
3849- <field eval="-1.0" name="ref_tax_sign"/>
3850- <field name="type_tax_use">purchase</field>
3851- </record>
3852- <record id="iva_assoc_IC_compras_16_bi_2" model="account.tax.template">
3853- <field name="chart_template_id" ref="l10nES_chart_template_assoc"/>
3854- <field name="parent_id" ref="iva_assoc_IC_compras_16_bi"/>
3855- <field name="name">IVA 16% Intracomunitario. Bienes de inversión (2)</field>
3856- <field eval="-0.16" name="amount"/>
3857- <field name="type">percent</field>
3858- <field name="account_paid_id" ref="pgc_assoc_477000"/>
3859- <field name="account_collected_id" ref="pgc_assoc_477000"/>
3860- <field name="base_code_id" ref="iva_assoc_dev_19"/>
3861- <field name="tax_code_id" ref="iva_assoc_dev_20"/>
3862- <field eval="-1.0" name="tax_sign"/>
3863- <field name="ref_base_code_id" ref="iva_assoc_dev_19"/>
3864- <field eval="-1.0" name="ref_base_sign"/>
3865- <field name="ref_tax_code_id" ref="iva_assoc_dev_20"/>
3866- <field eval="1.0" name="ref_tax_sign"/>
3867- <field name="type_tax_use">purchase</field>
3868- </record>
3869-
3870+ <!-- <field eval="1" name="child_depend"/> -->
3871+ <field name="type_tax_use">purchase</field>
3872+ </record>
3873+
3874+ <record id="iva_assoc_IC_compras_16_bi_invoice_base_line" model="account.tax.line.template">
3875+ <field name="code_type">base</field>
3876+ <field name="tax_amount">100</field>
3877+ <field name="amount">100</field>
3878+ <field name="apply_on">invoice</field>
3879+ <field name="tax_id" ref="iva_assoc_IC_compras_16_bi"/>
3880+ </record>
3881+
3882+ <!-- <record id="iva_assoc_IC_compras_16_bi_invoice_tax_line" model="account.tax.line.template">
3883+ <field name="code_type">tax</field>
3884+ <field name="tax_amount">100</field>
3885+ <field name="amount">100</field>
3886+ <field name="apply_on">invoice</field>
3887+ <field name="tax_id" ref="iva_assoc_IC_compras_16_bi"/>
3888+ </record> -->
3889+
3890+ <record id="iva_assoc_IC_compras_16_bi_refund_base_line" model="account.tax.line.template">
3891+ <field name="code_type">base</field>
3892+ <field name="tax_amount">100</field>
3893+ <field name="amount">100</field>
3894+ <field name="apply_on">refund</field>
3895+ <field name="tax_id" ref="iva_assoc_IC_compras_16_bi"/>
3896+ </record>
3897+
3898+ <!-- <record id="iva_assoc_IC_compras_16_bi_refund_tax_line" model="account.tax.line.template">
3899+ <field name="code_type">tax</field>
3900+ <field name="tax_amount">100</field>
3901+ <field name="amount">100</field>
3902+ <field name="apply_on">refund</field>
3903+ <field name="tax_id" ref="iva_assoc_IC_compras_16_bi"/>
3904+ </record> -->
3905+
3906+ <record id="iva_assoc_IC_compras_16_bi_1_invoice_tax_line" model="account.tax.line.template">
3907+ <field name="code_type">tax</field>
3908+ <field name="tax_amount">16</field>
3909+ <field name="amount">16</field>
3910+ <field name="apply_on">invoice</field>
3911+ <field name="account_id" ref="pgc_assoc_472000"/>
3912+ <field name="code_id" ref="iva_assoc_ded_33_16"/>
3913+ <field name="tax_id" ref="iva_assoc_IC_compras_16_bi"/>
3914+ </record>
3915+
3916+ <record id="iva_assoc_IC_compras_16_bi_1_refund_tax_line" model="account.tax.line.template">
3917+ <field name="code_type">tax</field>
3918+ <field name="tax_amount">-16</field>
3919+ <field name="amount">16</field>
3920+ <field name="apply_on">refund</field>
3921+ <field name="account_id" ref="pgc_assoc_472000"/>
3922+ <field name="code_id" ref="iva_pymes_ded_33_16"/>
3923+ <field name="tax_id" ref="iva_assoc_IC_compras_16_bi"/>
3924+ </record>
3925+
3926+ <record id="iva_assoc_IC_compras_16_bi_2_invoice_tax_line" model="account.tax.line.template">
3927+ <field name="code_type">tax</field>
3928+ <field name="tax_amount">-16</field>
3929+ <field name="amount">-16</field>
3930+ <field name="apply_on">invoice</field>
3931+ <field name="account_id" ref="pgc_assoc_477000"/>
3932+ <field name="code_id" ref="iva_assoc_dev_20"/>
3933+ <field name="tax_id" ref="iva_assoc_IC_compras_16_bi"/>
3934+ </record>
3935+
3936+ <record id="iva_assoc_IC_compras_16_bi_2_refund_tax_line" model="account.tax.line.template">
3937+ <field name="code_type">tax</field>
3938+ <field name="tax_amount">16</field>
3939+ <field name="amount">-16</field>
3940+ <field name="apply_on">refund</field>
3941+ <field name="account_id" ref="pgc_assoc_477000"/>
3942+ <field name="code_id" ref="iva_assoc_dev_20"/>
3943+ <field name="tax_id" ref="iva_assoc_IC_compras_16_bi"/>
3944+ </record>
3945+
3946 <record id="iva_assoc_IC_compras_18_bi" model="account.tax.template">
3947 <field name="chart_template_id" ref="l10nES_chart_template_assoc"/>
3948 <field name="name">IVA 18% Intracomunitario. Bienes de inversión</field>
3949 <field name="description">IVA 18% Intracomunitario. Bienes de inversión</field>
3950 <field eval="1.00" name="amount"/>
3951 <field name="type">percent</field>
3952- <field eval="1" name="child_depend"/>
3953- <field name="type_tax_use">purchase</field>
3954- </record>
3955- <record id="iva_assoc_IC_compras_18_bi_1" model="account.tax.template">
3956- <field name="chart_template_id" ref="l10nES_chart_template_assoc"/>
3957- <field name="parent_id" ref="iva_assoc_IC_compras_18_bi"/>
3958- <field name="name">IVA 18% Intracomunitario. Bienes de inversión (1)</field>
3959- <field eval="0.18" name="amount"/>
3960- <field name="type">percent</field>
3961- <field name="account_paid_id" ref="pgc_assoc_472000"/>
3962- <field name="account_collected_id" ref="pgc_assoc_472000"/>
3963- <field name="base_code_id" ref="iva_assoc_ded_32_18"/>
3964- <field name="tax_code_id" ref="iva_assoc_ded_33_18"/>
3965- <field name="ref_base_code_id" ref="iva_assoc_ded_32_18"/>
3966- <field eval="-1.0" name="ref_base_sign"/>
3967- <field name="ref_tax_code_id" ref="iva_assoc_ded_33_18"/>
3968- <field eval="-1.0" name="ref_tax_sign"/>
3969- <field name="type_tax_use">purchase</field>
3970- </record>
3971- <record id="iva_assoc_IC_compras_18_bi_2" model="account.tax.template">
3972- <field name="chart_template_id" ref="l10nES_chart_template_assoc"/>
3973- <field name="parent_id" ref="iva_assoc_IC_compras_18_bi"/>
3974- <field name="name">IVA 18% Intracomunitario. Bienes de inversión (2)</field>
3975- <field eval="-0.18" name="amount"/>
3976- <field name="type">percent</field>
3977- <field name="account_paid_id" ref="pgc_assoc_477000"/>
3978- <field name="account_collected_id" ref="pgc_assoc_477000"/>
3979- <field name="base_code_id" ref="iva_assoc_dev_19"/>
3980- <field name="tax_code_id" ref="iva_assoc_dev_20"/>
3981- <field eval="-1.0" name="tax_sign"/>
3982- <field name="ref_base_code_id" ref="iva_assoc_dev_19"/>
3983- <field eval="-1.0" name="ref_base_sign"/>
3984- <field name="ref_tax_code_id" ref="iva_assoc_dev_20"/>
3985- <field eval="1.0" name="ref_tax_sign"/>
3986- <field name="type_tax_use">purchase</field>
3987- </record>
3988-
3989+ <!-- <field eval="1" name="child_depend"/> -->
3990+ <field name="type_tax_use">purchase</field>
3991+ </record>
3992+
3993+ <record id="iva_assoc_IC_compras_18_bi_invoice_base_line" model="account.tax.line.template">
3994+ <field name="code_type">base</field>
3995+ <field name="tax_amount">100</field>
3996+ <field name="amount">100</field>
3997+ <field name="apply_on">invoice</field>
3998+ <field name="tax_id" ref="iva_assoc_IC_compras_18_bi"/>
3999+ </record>
4000+
4001+ <!-- <record id="iva_assoc_IC_compras_18_bi_invoice_tax_line" model="account.tax.line.template">
4002+ <field name="code_type">tax</field>
4003+ <field name="tax_amount">100</field>
4004+ <field name="amount">100</field>
4005+ <field name="apply_on">invoice</field>
4006+ <field name="tax_id" ref="iva_assoc_IC_compras_18_bi"/>
4007+ </record> -->
4008+
4009+ <record id="iva_assoc_IC_compras_18_bi_refund_base_line" model="account.tax.line.template">
4010+ <field name="code_type">base</field>
4011+ <field name="tax_amount">100</field>
4012+ <field name="amount">100</field>
4013+ <field name="apply_on">refund</field>
4014+ <field name="tax_id" ref="iva_assoc_IC_compras_18_bi"/>
4015+ </record>
4016+
4017+ <!-- <record id="iva_assoc_IC_compras_18_bi_refund_tax_line" model="account.tax.line.template">
4018+ <field name="code_type">tax</field>
4019+ <field name="tax_amount">100</field>
4020+ <field name="amount">100</field>
4021+ <field name="apply_on">refund</field>
4022+ <field name="tax_id" ref="iva_assoc_IC_compras_18_bi"/>
4023+ </record> -->
4024+
4025+ <record id="iva_assoc_IC_compras_18_bi_1_invoice_tax_line" model="account.tax.line.template">
4026+ <field name="code_type">tax</field>
4027+ <field name="tax_amount">18</field>
4028+ <field name="amount">18</field>
4029+ <field name="apply_on">invoice</field>
4030+ <field name="account_id" ref="pgc_assoc_472000"/>
4031+ <field name="code_id" ref="iva_pymes_ded_33_18"/>
4032+ <field name="tax_id" ref="iva_assoc_IC_compras_18_bi"/>
4033+ </record>
4034+
4035+ <record id="iva_assoc_IC_compras_18_bi_1_refund_tax_line" model="account.tax.line.template">
4036+ <field name="code_type">tax</field>
4037+ <field name="tax_amount">-18</field>
4038+ <field name="amount">18</field>
4039+ <field name="apply_on">refund</field>
4040+ <field name="account_id" ref="pgc_assoc_472000"/>
4041+ <field name="code_id" ref="iva_pymes_ded_33_18"/>
4042+ <field name="tax_id" ref="iva_assoc_IC_compras_18_bi"/>
4043+ </record>
4044+
4045+ <record id="iva_assoc_IC_compras_18_bi_2_invoice_tax_line" model="account.tax.line.template">
4046+ <field name="code_type">tax</field>
4047+ <field name="tax_amount">-18</field>
4048+ <field name="amount">-18</field>
4049+ <field name="apply_on">invoice</field>
4050+ <field name="account_id" ref="pgc_assoc_477000"/>
4051+ <field name="code_id" ref="iva_assoc_dev_20"/>
4052+ <field name="tax_id" ref="iva_assoc_IC_compras_18_bi"/>
4053+ </record>
4054+
4055+ <record id="iva_assoc_IC_compras_18_bi_2_refund_tax_line" model="account.tax.line.template">
4056+ <field name="code_type">tax</field>
4057+ <field name="tax_amount">18</field>
4058+ <field name="amount">-18</field>
4059+ <field name="apply_on">refund</field>
4060+ <field name="account_id" ref="pgc_assoc_477000"/>
4061+ <field name="code_id" ref="iva_assoc_dev_20"/>
4062+ <field name="tax_id" ref="iva_assoc_IC_compras_18_bi"/>
4063+ </record>
4064+
4065 <record id="iva_assoc_IC_compras_7_bc" model="account.tax.template">
4066 <field name="chart_template_id" ref="l10nES_chart_template_assoc"/>
4067 <field name="name">IVA 7% Intracomunitario. Bienes corrientes</field>
4068 <field name="description">IVA 7% Intracomunitario. Bienes corrientes</field>
4069 <field eval="1.00" name="amount"/>
4070 <field name="type">percent</field>
4071- <field eval="1" name="child_depend"/>
4072- <field name="type_tax_use">purchase</field>
4073- </record>
4074- <record id="iva_assoc_IC_compras_7_bc_1" model="account.tax.template">
4075- <field name="chart_template_id" ref="l10nES_chart_template_assoc"/>
4076- <field name="parent_id" ref="iva_assoc_IC_compras_7_bc"/>
4077- <field name="name">IVA 7% Intracomunitario. Bienes corrientes (1)</field>
4078- <field eval="0.07" name="amount"/>
4079- <field name="type">percent</field>
4080- <field name="account_paid_id" ref="pgc_assoc_472000"/>
4081- <field name="account_collected_id" ref="pgc_assoc_472000"/>
4082- <field name="base_code_id" ref="iva_assoc_ded_30_7"/>
4083- <field name="tax_code_id" ref="iva_assoc_ded_31_7"/>
4084- <field name="ref_base_code_id" ref="iva_assoc_ded_30_7"/>
4085- <field eval="-1.0" name="ref_base_sign"/>
4086- <field name="ref_tax_code_id" ref="iva_assoc_ded_31_7"/>
4087- <field eval="-1.0" name="ref_tax_sign"/>
4088- <field name="type_tax_use">purchase</field>
4089- </record>
4090- <record id="iva_assoc_IC_compras_7_bc_2" model="account.tax.template">
4091- <field name="chart_template_id" ref="l10nES_chart_template_assoc"/>
4092- <field name="parent_id" ref="iva_assoc_IC_compras_7_bc"/>
4093- <field name="name">IVA 7% Intracomunitario. Bienes corrientes (2)</field>
4094- <field eval="-0.07" name="amount"/>
4095- <field name="type">percent</field>
4096- <field name="account_paid_id" ref="pgc_assoc_477000"/>
4097- <field name="account_collected_id" ref="pgc_assoc_477000"/>
4098- <field name="base_code_id" ref="iva_assoc_dev_19"/>
4099- <field name="tax_code_id" ref="iva_assoc_dev_20"/>
4100- <field eval="-1.0" name="tax_sign"/>
4101- <field name="ref_base_code_id" ref="iva_assoc_dev_19"/>
4102- <field eval="-1.0" name="ref_base_sign"/>
4103- <field name="ref_tax_code_id" ref="iva_assoc_dev_20"/>
4104- <field eval="1.0" name="ref_tax_sign"/>
4105- <field name="type_tax_use">purchase</field>
4106- </record>
4107-
4108+ <!-- <field eval="1" name="child_depend"/> -->
4109+ <field name="type_tax_use">purchase</field>
4110+ </record>
4111+
4112+ <record id="iva_assoc_IC_compras_7_bc_invoice_base_line" model="account.tax.line.template">
4113+ <field name="code_type">base</field>
4114+ <field name="tax_amount">100</field>
4115+ <field name="amount">100</field>
4116+ <field name="apply_on">invoice</field>
4117+ <field name="tax_id" ref="iva_assoc_IC_compras_7_bc"/>
4118+ </record>
4119+
4120+ <!-- <record id="iva_assoc_IC_compras_7_bc_invoice_tax_line" model="account.tax.line.template">
4121+ <field name="code_type">tax</field>
4122+ <field name="tax_amount">100</field>
4123+ <field name="amount">100</field>
4124+ <field name="apply_on">invoice</field>
4125+ <field name="tax_id" ref="iva_assoc_IC_compras_7_bc"/>
4126+ </record> -->
4127+
4128+ <record id="iva_assoc_IC_compras_7_bc_refund_base_line" model="account.tax.line.template">
4129+ <field name="code_type">base</field>
4130+ <field name="tax_amount">-100</field>
4131+ <field name="amount">100</field>
4132+ <field name="apply_on">refund</field>
4133+ <field name="tax_id" ref="iva_assoc_IC_compras_7_bc"/>
4134+ </record>
4135+
4136+ <!-- <record id="iva_assoc_IC_compras_7_bc_refund_tax_line" model="account.tax.line.template">
4137+ <field name="code_type">tax</field>
4138+ <field name="tax_amount">-100</field>
4139+ <field name="amount">100</field>
4140+ <field name="apply_on">refund</field>
4141+ <field name="tax_id" ref="iva_assoc_IC_compras_7_bc"/>
4142+ </record> -->
4143+
4144+ <record id="iva_assoc_IC_compras_7_bc_1_invoice_tax_line" model="account.tax.line.template">
4145+ <field name="code_type">tax</field>
4146+ <field name="tax_amount">7</field>
4147+ <field name="amount">7</field>
4148+ <field name="apply_on">invoice</field>
4149+ <field name="account_id" ref="pgc_assoc_472000"/>
4150+ <field name="code_id" ref="iva_pymes_ded_31_7"/>
4151+ <field name="tax_id" ref="iva_assoc_IC_compras_7_bc"/>
4152+ </record>
4153+
4154+ <record id="iva_assoc_IC_compras_7_bc_1_refund_tax_line" model="account.tax.line.template">
4155+ <field name="code_type">tax</field>
4156+ <field name="tax_amount">-7</field>
4157+ <field name="amount">7</field>
4158+ <field name="apply_on">refund</field>
4159+ <field name="account_id" ref="pgc_assoc_472000"/>
4160+ <field name="code_id" ref="iva_pymes_ded_31_7"/>
4161+ <field name="tax_id" ref="iva_assoc_IC_compras_7_bc"/>
4162+ </record>
4163+
4164+ <record id="iva_assoc_IC_compras_7_bc_2_invoice_tax_line" model="account.tax.line.template">
4165+ <field name="code_type">tax</field>
4166+ <field name="tax_amount">-7</field>
4167+ <field name="amount">-7</field>
4168+ <field name="apply_on">invoice</field>
4169+ <field name="account_id" ref="pgc_assoc_477000"/>
4170+ <field name="code_id" ref="iva_assoc_dev_20"/>
4171+ <field name="tax_id" ref="iva_assoc_IC_compras_7_bc"/>
4172+ </record>
4173+
4174+ <record id="iva_assoc_IC_compras_7_bc_2_refund_tax_line" model="account.tax.line.template">
4175+ <field name="code_type">tax</field>
4176+ <field name="tax_amount">7</field>
4177+ <field name="amount">-7</field>
4178+ <field name="apply_on">refund</field>
4179+ <field name="account_id" ref="pgc_assoc_477000"/>
4180+ <field name="code_id" ref="iva_assoc_dev_20"/>
4181+ <field name="tax_id" ref="iva_assoc_IC_compras_7_bc"/>
4182+ </record>
4183+
4184 <record id="iva_assoc_IC_compras_7_bi" model="account.tax.template">
4185 <field name="chart_template_id" ref="l10nES_chart_template_assoc"/>
4186 <field name="name">IVA 7% Intracomunitario. Bienes de inversión</field>
4187 <field name="description">IVA 7% Intracomunitario. Bienes de inversión</field>
4188 <field eval="1.00" name="amount"/>
4189 <field name="type">percent</field>
4190- <field eval="1" name="child_depend"/>
4191- <field name="type_tax_use">purchase</field>
4192- </record>
4193- <record id="iva_assoc_IC_compras_7_bi_1" model="account.tax.template">
4194- <field name="chart_template_id" ref="l10nES_chart_template_assoc"/>
4195- <field name="parent_id" ref="iva_assoc_IC_compras_7_bi"/>
4196- <field name="name">IVA 7% Intracomunitario. Bienes de inversión (1)</field>
4197- <field eval="0.07" name="amount"/>
4198- <field name="type">percent</field>
4199- <field name="account_paid_id" ref="pgc_assoc_472000"/>
4200- <field name="account_collected_id" ref="pgc_assoc_472000"/>
4201- <field name="base_code_id" ref="iva_assoc_ded_32_7"/>
4202- <field name="tax_code_id" ref="iva_assoc_ded_33_7"/>
4203- <field name="ref_base_code_id" ref="iva_assoc_ded_32_7"/>
4204- <field eval="-1.0" name="ref_base_sign"/>
4205- <field name="ref_tax_code_id" ref="iva_assoc_ded_33_7"/>
4206- <field eval="-1.0" name="ref_tax_sign"/>
4207- <field name="type_tax_use">purchase</field>
4208- </record>
4209- <record id="iva_assoc_IC_compras_7_bi_2" model="account.tax.template">
4210- <field name="chart_template_id" ref="l10nES_chart_template_assoc"/>
4211- <field name="parent_id" ref="iva_assoc_IC_compras_7_bi"/>
4212- <field name="name">IVA 7% Intracomunitario. Bienes de inversión (2)</field>
4213- <field eval="-0.07" name="amount"/>
4214- <field name="type">percent</field>
4215- <field name="account_paid_id" ref="pgc_assoc_477000"/>
4216- <field name="account_collected_id" ref="pgc_assoc_477000"/>
4217- <field name="base_code_id" ref="iva_assoc_dev_19"/>
4218- <field name="tax_code_id" ref="iva_assoc_dev_20"/>
4219- <field eval="-1.0" name="tax_sign"/>
4220- <field name="ref_base_code_id" ref="iva_assoc_dev_19"/>
4221- <field eval="-1.0" name="ref_base_sign"/>
4222- <field name="ref_tax_code_id" ref="iva_assoc_dev_20"/>
4223- <field eval="1.0" name="ref_tax_sign"/>
4224- <field name="type_tax_use">purchase</field>
4225- </record>
4226-
4227+ <!-- <field eval="1" name="child_depend"/> -->
4228+ <field name="type_tax_use">purchase</field>
4229+ </record>
4230+
4231+ <record id="iva_assoc_IC_compras_7_bi_invoice_base_line" model="account.tax.line.template">
4232+ <field name="code_type">base</field>
4233+ <field name="tax_amount">100</field>
4234+ <field name="amount">100</field>
4235+ <field name="apply_on">invoice</field>
4236+ <field name="tax_id" ref="iva_assoc_IC_compras_7_bi"/>
4237+ </record>
4238+
4239+ <!-- <record id="iva_assoc_IC_compras_7_bi_invoice_tax_line" model="account.tax.line.template">
4240+ <field name="code_type">tax</field>
4241+ <field name="tax_amount">100</field>
4242+ <field name="amount">100</field>
4243+ <field name="apply_on">invoice</field>
4244+ <field name="tax_id" ref="iva_assoc_IC_compras_7_bi"/>
4245+ </record> -->
4246+
4247+ <record id="iva_assoc_IC_compras_7_bi_refund_base_line" model="account.tax.line.template">
4248+ <field name="code_type">base</field>
4249+ <field name="tax_amount">100</field>
4250+ <field name="amount">100</field>
4251+ <field name="apply_on">refund</field>
4252+ <field name="tax_id" ref="iva_assoc_IC_compras_7_bi"/>
4253+ </record>
4254+
4255+ <!-- <record id="iva_assoc_IC_compras_7_bi_refund_tax_line" model="account.tax.line.template">
4256+ <field name="code_type">tax</field>
4257+ <field name="tax_amount">100</field>
4258+ <field name="amount">100</field>
4259+ <field name="apply_on">refund</field>
4260+ <field name="tax_id" ref="iva_assoc_IC_compras_7_bi"/>
4261+ </record> -->
4262+
4263+ <record id="iva_assoc_IC_compras_7_bi_1_invoice_tax_line" model="account.tax.line.template">
4264+ <field name="code_type">tax</field>
4265+ <field name="tax_amount">7</field>
4266+ <field name="amount">7</field>
4267+ <field name="apply_on">invoice</field>
4268+ <field name="account_id" ref="pgc_assoc_472000"/>
4269+ <field name="code_id" ref="iva_pymes_ded_33_7"/>
4270+ <field name="tax_id" ref="iva_assoc_IC_compras_7_bi"/>
4271+ </record>
4272+
4273+ <record id="iva_assoc_IC_compras_7_bi_1_refund_tax_line" model="account.tax.line.template">
4274+ <field name="code_type">tax</field>
4275+ <field name="tax_amount">-7</field>
4276+ <field name="amount">7</field>
4277+ <field name="apply_on">refund</field>
4278+ <field name="account_id" ref="pgc_assoc_472000"/>
4279+ <field name="code_id" ref="iva_pymes_ded_33_7"/>
4280+ <field name="tax_id" ref="iva_assoc_IC_compras_7_bi"/>
4281+ </record>
4282+
4283+ <record id="iva_assoc_IC_compras_7_bi_2_invoice_tax_line" model="account.tax.line.template">
4284+ <field name="code_type">tax</field>
4285+ <field name="tax_amount">-7</field>
4286+ <field name="amount">-7</field>
4287+ <field name="apply_on">invoice</field>
4288+ <field name="account_id" ref="pgc_assoc_477000"/>
4289+ <field name="code_id" ref="iva_assoc_dev_20"/>
4290+ <field name="tax_id" ref="iva_assoc_IC_compras_7_bi"/>
4291+ </record>
4292+
4293+ <record id="iva_assoc_IC_compras_7_bi_2_refund_tax_line" model="account.tax.line.template">
4294+ <field name="code_type">tax</field>
4295+ <field name="tax_amount">7</field>
4296+ <field name="amount">-7</field>
4297+ <field name="apply_on">refund</field>
4298+ <field name="account_id" ref="pgc_assoc_477000"/>
4299+ <field name="code_id" ref="iva_assoc_dev_20"/>
4300+ <field name="tax_id" ref="iva_assoc_IC_compras_7_bi"/>
4301+ </record>
4302+
4303 <record id="iva_assoc_IC_compras_8_bc" model="account.tax.template">
4304 <field name="chart_template_id" ref="l10nES_chart_template_assoc"/>
4305 <field name="name">IVA 8% Intracomunitario. Bienes corrientes</field>
4306 <field name="description">IVA 8% Intracomunitario. Bienes corrientes</field>
4307 <field eval="1.00" name="amount"/>
4308 <field name="type">percent</field>
4309- <field eval="1" name="child_depend"/>
4310- <field name="type_tax_use">purchase</field>
4311- </record>
4312- <record id="iva_assoc_IC_compras_8_bc_1" model="account.tax.template">
4313- <field name="chart_template_id" ref="l10nES_chart_template_assoc"/>
4314- <field name="parent_id" ref="iva_assoc_IC_compras_8_bc"/>
4315- <field name="name">IVA 8% Intracomunitario. Bienes corrientes (1)</field>
4316- <field eval="0.08" name="amount"/>
4317- <field name="type">percent</field>
4318- <field name="account_paid_id" ref="pgc_assoc_472000"/>
4319- <field name="account_collected_id" ref="pgc_assoc_472000"/>
4320- <field name="base_code_id" ref="iva_assoc_ded_30_8"/>
4321- <field name="tax_code_id" ref="iva_assoc_ded_31_8"/>
4322- <field name="ref_base_code_id" ref="iva_assoc_ded_30_8"/>
4323- <field eval="-1.0" name="ref_base_sign"/>
4324- <field name="ref_tax_code_id" ref="iva_assoc_ded_31_8"/>
4325- <field eval="-1.0" name="ref_tax_sign"/>
4326- <field name="type_tax_use">purchase</field>
4327- </record>
4328- <record id="iva_assoc_IC_compras_8_bc_2" model="account.tax.template">
4329- <field name="chart_template_id" ref="l10nES_chart_template_assoc"/>
4330- <field name="parent_id" ref="iva_assoc_IC_compras_8_bc"/>
4331- <field name="name">IVA 8% Intracomunitario. Bienes corrientes (2)</field>
4332- <field eval="-0.08" name="amount"/>
4333- <field name="type">percent</field>
4334- <field name="account_paid_id" ref="pgc_assoc_477000"/>
4335- <field name="account_collected_id" ref="pgc_assoc_477000"/>
4336- <field name="base_code_id" ref="iva_assoc_dev_19"/>
4337- <field name="tax_code_id" ref="iva_assoc_dev_20"/>
4338- <field eval="-1.0" name="tax_sign"/>
4339- <field name="ref_base_code_id" ref="iva_assoc_dev_19"/>
4340- <field eval="-1.0" name="ref_base_sign"/>
4341- <field name="ref_tax_code_id" ref="iva_assoc_dev_20"/>
4342- <field eval="1.0" name="ref_tax_sign"/>
4343- <field name="type_tax_use">purchase</field>
4344- </record>
4345-
4346+ <!-- <field eval="1" name="child_depend"/> -->
4347+ <field name="type_tax_use">purchase</field>
4348+ </record>
4349+
4350+ <record id="iva_assoc_IC_compras_8_bc_invoice_base_line" model="account.tax.line.template">
4351+ <field name="code_type">base</field>
4352+ <field name="tax_amount">100</field>
4353+ <field name="amount">100</field>
4354+ <field name="apply_on">invoice</field>
4355+ <field name="tax_id" ref="iva_assoc_IC_compras_8_bc"/>
4356+ </record>
4357+
4358+ <!-- <record id="iva_assoc_IC_compras_8_bc_invoice_tax_line" model="account.tax.line.template">
4359+ <field name="code_type">tax</field>
4360+ <field name="tax_amount">100</field>
4361+ <field name="amount">100</field>
4362+ <field name="apply_on">invoice</field>
4363+ <field name="tax_id" ref="iva_assoc_IC_compras_8_bc"/>
4364+ </record> -->
4365+
4366+ <record id="iva_assoc_IC_compras_8_bc_refund_base_line" model="account.tax.line.template">
4367+ <field name="code_type">base</field>
4368+ <field name="tax_amount">-100</field>
4369+ <field name="amount">100</field>
4370+ <field name="apply_on">refund</field>
4371+ <field name="tax_id" ref="iva_assoc_IC_compras_8_bc"/>
4372+ </record>
4373+
4374+ <!-- <record id="iva_assoc_IC_compras_8_bc_refund_tax_line" model="account.tax.line.template">
4375+ <field name="code_type">tax</field>
4376+ <field name="tax_amount">-100</field>
4377+ <field name="amount">100</field>
4378+ <field name="apply_on">refund</field>
4379+ <field name="tax_id" ref="iva_assoc_IC_compras_8_bc"/>
4380+ </record> -->
4381+
4382+ <record id="iva_assoc_IC_compras_8_bc_1_invoice_tax_line" model="account.tax.line.template">
4383+ <field name="code_type">tax</field>
4384+ <field name="tax_amount">8</field>
4385+ <field name="amount">8</field>
4386+ <field name="apply_on">invoice</field>
4387+ <field name="account_id" ref="pgc_assoc_472000"/>
4388+ <field name="code_id" ref="iva_pymes_ded_31_8"/>
4389+ <field name="tax_id" ref="iva_assoc_IC_compras_8_bc"/>
4390+ </record>
4391+
4392+ <record id="iva_assoc_IC_compras_8_bc_1_refund_tax_line" model="account.tax.line.template">
4393+ <field name="code_type">tax</field>
4394+ <field name="tax_amount">-8</field>
4395+ <field name="amount">8</field>
4396+ <field name="apply_on">refund</field>
4397+ <field name="account_id" ref="pgc_assoc_472000"/>
4398+ <field name="code_id" ref="iva_pymes_ded_31_8"/>
4399+ <field name="tax_id" ref="iva_assoc_IC_compras_8_bc"/>
4400+ </record>
4401+
4402+ <record id="iva_assoc_IC_compras_8_bc_2_invoice_tax_line" model="account.tax.line.template">
4403+ <field name="code_type">tax</field>
4404+ <field name="tax_amount">-8</field>
4405+ <field name="amount">-8</field>
4406+ <field name="apply_on">invoice</field>
4407+ <field name="account_id" ref="pgc_assoc_477000"/>
4408+ <field name="code_id" ref="iva_assoc_dev_20"/>
4409+ <field name="tax_id" ref="iva_assoc_IC_compras_8_bc"/>
4410+ </record>
4411+
4412+ <record id="iva_assoc_IC_compras_8_bc_2_refund_tax_line" model="account.tax.line.template">
4413+ <field name="code_type">tax</field>
4414+ <field name="tax_amount">8</field>
4415+ <field name="amount">-8</field>
4416+ <field name="apply_on">refund</field>
4417+ <field name="account_id" ref="pgc_assoc_477000"/>
4418+ <field name="code_id" ref="iva_assoc_dev_20"/>
4419+ <field name="tax_id" ref="iva_assoc_IC_compras_8_bc"/>
4420+ </record>
4421+
4422 <record id="iva_assoc_IC_compras_8_bi" model="account.tax.template">
4423 <field name="chart_template_id" ref="l10nES_chart_template_assoc"/>
4424 <field name="name">IVA 8% Intracomunitario. Bienes de inversión</field>
4425 <field name="description">IVA 8% Intracomunitario. Bienes de inversión</field>
4426 <field eval="1.00" name="amount"/>
4427 <field name="type">percent</field>
4428- <field eval="1" name="child_depend"/>
4429- <field name="type_tax_use">purchase</field>
4430- </record>
4431- <record id="iva_assoc_IC_compras_8_bi_1" model="account.tax.template">
4432- <field name="chart_template_id" ref="l10nES_chart_template_assoc"/>
4433- <field name="parent_id" ref="iva_assoc_IC_compras_8_bi"/>
4434- <field name="name">IVA 8% Intracomunitario. Bienes de inversión (1)</field>
4435- <field eval="0.08" name="amount"/>
4436- <field name="type">percent</field>
4437- <field name="account_paid_id" ref="pgc_assoc_472000"/>
4438- <field name="account_collected_id" ref="pgc_assoc_472000"/>
4439- <field name="base_code_id" ref="iva_assoc_ded_32_8"/>
4440- <field name="tax_code_id" ref="iva_assoc_ded_33_8"/>
4441- <field name="ref_base_code_id" ref="iva_assoc_ded_32_8"/>
4442- <field eval="-1.0" name="ref_base_sign"/>
4443- <field name="ref_tax_code_id" ref="iva_assoc_ded_33_8"/>
4444- <field eval="-1.0" name="ref_tax_sign"/>
4445- <field name="type_tax_use">purchase</field>
4446- </record>
4447- <record id="iva_assoc_IC_compras_8_bi_2" model="account.tax.template">
4448- <field name="chart_template_id" ref="l10nES_chart_template_assoc"/>
4449- <field name="parent_id" ref="iva_assoc_IC_compras_8_bi"/>
4450- <field name="name">IVA 8% Intracomunitario. Bienes de inversión (2)</field>
4451- <field eval="-0.08" name="amount"/>
4452- <field name="type">percent</field>
4453- <field name="account_paid_id" ref="pgc_assoc_477000"/>
4454- <field name="account_collected_id" ref="pgc_assoc_477000"/>
4455- <field name="base_code_id" ref="iva_assoc_dev_19"/>
4456- <field name="tax_code_id" ref="iva_assoc_dev_20"/>
4457- <field eval="-1.0" name="tax_sign"/>
4458- <field name="ref_base_code_id" ref="iva_assoc_dev_19"/>
4459- <field eval="-1.0" name="ref_base_sign"/>
4460- <field name="ref_tax_code_id" ref="iva_assoc_dev_20"/>
4461- <field eval="1.0" name="ref_tax_sign"/>
4462- <field name="type_tax_use">purchase</field>
4463- </record>
4464-
4465+ <!-- <field eval="1" name="child_depend"/> -->
4466+ <field name="type_tax_use">purchase</field>
4467+ </record>
4468+
4469+ <record id="iva_assoc_IC_compras_8_bi_invoice_base_line" model="account.tax.line.template">
4470+ <field name="code_type">base</field>
4471+ <field name="tax_amount">100</field>
4472+ <field name="amount">100</field>
4473+ <field name="apply_on">invoice</field>
4474+ <field name="tax_id" ref="iva_assoc_IC_compras_8_bi"/>
4475+ </record>
4476+
4477+ <!-- <record id="iva_assoc_IC_compras_8_bi_invoice_tax_line" model="account.tax.line.template">
4478+ <field name="code_type">tax</field>
4479+ <field name="tax_amount">100</field>
4480+ <field name="amount">100</field>
4481+ <field name="apply_on">invoice</field>
4482+ <field name="tax_id" ref="iva_assoc_IC_compras_8_bi"/>
4483+ </record> -->
4484+
4485+ <record id="iva_assoc_IC_compras_8_bi_refund_base_line" model="account.tax.line.template">
4486+ <field name="code_type">base</field>
4487+ <field name="tax_amount">100</field>
4488+ <field name="amount">100</field>
4489+ <field name="apply_on">refund</field>
4490+ <field name="tax_id" ref="iva_assoc_IC_compras_8_bi"/>
4491+ </record>
4492+
4493+ <!-- <record id="iva_assoc_IC_compras_8_bi_refund_tax_line" model="account.tax.line.template">
4494+ <field name="code_type">tax</field>
4495+ <field name="tax_amount">100</field>
4496+ <field name="amount">100</field>
4497+ <field name="apply_on">refund</field>
4498+ <field name="tax_id" ref="iva_assoc_IC_compras_8_bi"/>
4499+ </record> -->
4500+
4501+
4502+ <record id="iva_assoc_IC_compras_8_bi_1_invoice_tax_line" model="account.tax.line.template">
4503+ <field name="code_type">tax</field>
4504+ <field name="tax_amount">8</field>
4505+ <field name="amount">8</field>
4506+ <field name="apply_on">invoice</field>
4507+ <field name="account_id" ref="pgc_assoc_472000"/>
4508+ <field name="code_id" ref="iva_pymes_ded_33_8"/>
4509+ <field name="tax_id" ref="iva_assoc_IC_compras_8_bi"/>
4510+ </record>
4511+
4512+ <record id="iva_assoc_IC_compras_8_bi_1_refund_tax_line" model="account.tax.line.template">
4513+ <field name="code_type">tax</field>
4514+ <field name="tax_amount">-8</field>
4515+ <field name="amount">8</field>
4516+ <field name="apply_on">refund</field>
4517+ <field name="account_id" ref="pgc_assoc_472000"/>
4518+ <field name="code_id" ref="iva_pymes_ded_33_8"/>
4519+ <field name="tax_id" ref="iva_assoc_IC_compras_8_bi"/>
4520+ </record>
4521+
4522+ <record id="iva_assoc_IC_compras_8_bi_2_invoice_tax_line" model="account.tax.line.template">
4523+ <field name="code_type">tax</field>
4524+ <field name="tax_amount">-8</field>
4525+ <field name="amount">-8</field>
4526+ <field name="apply_on">invoice</field>
4527+ <field name="account_id" ref="pgc_assoc_477000"/>
4528+ <field name="code_id" ref="iva_assoc_dev_20"/>
4529+ <field name="tax_id" ref="iva_assoc_IC_compras_8_bi"/>
4530+ </record>
4531+
4532+ <record id="iva_assoc_IC_compras_8_bi_2_refund_tax_line" model="account.tax.line.template">
4533+ <field name="code_type">tax</field>
4534+ <field name="tax_amount">8</field>
4535+ <field name="amount">-8</field>
4536+ <field name="apply_on">refund</field>
4537+ <field name="account_id" ref="pgc_assoc_477000"/>
4538+ <field name="code_id" ref="iva_assoc_dev_20"/>
4539+ <field name="tax_id" ref="iva_assoc_IC_compras_8_bi"/>
4540+ </record>
4541+
4542 <record id="iva_assoc_IC_compras_4_bc" model="account.tax.template">
4543 <field name="chart_template_id" ref="l10nES_chart_template_assoc"/>
4544 <field name="name">IVA 4% Intracomunitario. Bienes corrientes</field>
4545 <field name="description">IVA 4% Intracomunitario. Bienes corrientes</field>
4546 <field eval="1.00" name="amount"/>
4547 <field name="type">percent</field>
4548- <field eval="1" name="child_depend"/>
4549- <field name="type_tax_use">purchase</field>
4550- </record>
4551- <record id="iva_assoc_IC_compras_4_bc_1" model="account.tax.template">
4552- <field name="chart_template_id" ref="l10nES_chart_template_assoc"/>
4553- <field name="parent_id" ref="iva_assoc_IC_compras_4_bc"/>
4554- <field name="name">IVA 4% Intracomunitario. Bienes corrientes (1)</field>
4555- <field eval="0.04" name="amount"/>
4556- <field name="type">percent</field>
4557- <field name="account_paid_id" ref="pgc_assoc_472000"/>
4558- <field name="account_collected_id" ref="pgc_assoc_472000"/>
4559- <field name="base_code_id" ref="iva_assoc_ded_30_4"/>
4560- <field name="tax_code_id" ref="iva_assoc_ded_31_4"/>
4561- <field name="ref_base_code_id" ref="iva_assoc_ded_30_4"/>
4562- <field eval="-1.0" name="ref_base_sign"/>
4563- <field name="ref_tax_code_id" ref="iva_assoc_ded_31_4"/>
4564- <field eval="-1.0" name="ref_tax_sign"/>
4565- <field name="type_tax_use">purchase</field>
4566- </record>
4567- <record id="iva_assoc_IC_compras_4_bc_2" model="account.tax.template">
4568- <field name="chart_template_id" ref="l10nES_chart_template_assoc"/>
4569- <field name="parent_id" ref="iva_assoc_IC_compras_4_bc"/>
4570- <field name="name">IVA 4% Intracomunitario. Bienes corrientes (2)</field>
4571- <field eval="-0.04" name="amount"/>
4572- <field name="type">percent</field>
4573- <field name="account_paid_id" ref="pgc_assoc_477000"/>
4574- <field name="account_collected_id" ref="pgc_assoc_477000"/>
4575- <field name="base_code_id" ref="iva_assoc_dev_19"/>
4576- <field name="tax_code_id" ref="iva_assoc_dev_20"/>
4577- <field eval="-1.0" name="tax_sign"/>
4578- <field name="ref_base_code_id" ref="iva_assoc_dev_19"/>
4579- <field eval="-1.0" name="ref_base_sign"/>
4580- <field name="ref_tax_code_id" ref="iva_assoc_dev_20"/>
4581- <field eval="1.0" name="ref_tax_sign"/>
4582- <field name="type_tax_use">purchase</field>
4583- </record>
4584-
4585+ <!-- <field eval="1" name="child_depend"/> -->
4586+ <field name="type_tax_use">purchase</field>
4587+ </record>
4588+
4589+ <record id="iva_assoc_IC_compras_4_bc_invoice_base_line" model="account.tax.line.template">
4590+ <field name="code_type">base</field>
4591+ <field name="tax_amount">100</field>
4592+ <field name="amount">100</field>
4593+ <field name="apply_on">invoice</field>
4594+ <field name="tax_id" ref="iva_assoc_IC_compras_4_bc"/>
4595+ </record>
4596+
4597+ <!-- <record id="iva_assoc_IC_compras_4_bc_invoice_tax_line" model="account.tax.line.template">
4598+ <field name="code_type">tax</field>
4599+ <field name="tax_amount">100</field>
4600+ <field name="amount">100</field>
4601+ <field name="apply_on">invoice</field>
4602+ <field name="tax_id" ref="iva_assoc_IC_compras_4_bc"/>
4603+ </record> -->
4604+
4605+ <record id="iva_assoc_IC_compras_4_bc_refund_base_line" model="account.tax.line.template">
4606+ <field name="code_type">base</field>
4607+ <field name="tax_amount">-100</field>
4608+ <field name="amount">100</field>
4609+ <field name="apply_on">refund</field>
4610+ <field name="tax_id" ref="iva_assoc_IC_compras_4_bc"/>
4611+ </record>
4612+
4613+ <!-- <record id="iva_assoc_IC_compras_4_bc_refund_tax_line" model="account.tax.line.template">
4614+ <field name="code_type">tax</field>
4615+ <field name="tax_amount">-100</field>
4616+ <field name="amount">100</field>
4617+ <field name="apply_on">refund</field>
4618+ <field name="tax_id" ref="iva_assoc_IC_compras_4_bc"/>
4619+ </record> -->
4620+
4621+ <record id="iva_assoc_IC_compras_4_bc_1_invoice_tax_line" model="account.tax.line.template">
4622+ <field name="code_type">tax</field>
4623+ <field name="tax_amount">4</field>
4624+ <field name="amount">4</field>
4625+ <field name="apply_on">invoice</field>
4626+ <field name="account_id" ref="pgc_assoc_472000"/>
4627+ <field name="code_id" ref="iva_pymes_ded_31_4"/>
4628+ <field name="tax_id" ref="iva_assoc_IC_compras_4_bc"/>
4629+ </record>
4630+
4631+ <record id="iva_assoc_IC_compras_4_bc_1_refund_tax_line" model="account.tax.line.template">
4632+ <field name="code_type">tax</field>
4633+ <field name="tax_amount">-4</field>
4634+ <field name="amount">4</field>
4635+ <field name="apply_on">refund</field>
4636+ <field name="account_id" ref="pgc_assoc_472000"/>
4637+ <field name="code_id" ref="iva_pymes_ded_31_4"/>
4638+ <field name="tax_id" ref="iva_assoc_IC_compras_4_bc"/>
4639+ </record>
4640+
4641+ <record id="iva_assoc_IC_compras_4_bc_2_invoice_tax_line" model="account.tax.line.template">
4642+ <field name="code_type">tax</field>
4643+ <field name="tax_amount">-4</field>
4644+ <field name="amount">-4</field>
4645+ <field name="apply_on">invoice</field>
4646+ <field name="account_id" ref="pgc_assoc_477000"/>
4647+ <field name="code_id" ref="iva_assoc_dev_20"/>
4648+ <field name="tax_id" ref="iva_assoc_IC_compras_4_bc"/>
4649+ </record>
4650+
4651+ <record id="iva_assoc_IC_compras_4_bc_2_refund_tax_line" model="account.tax.line.template">
4652+ <field name="code_type">tax</field>
4653+ <field name="tax_amount">4</field>
4654+ <field name="amount">-4</field>
4655+ <field name="apply_on">refund</field>
4656+ <field name="account_id" ref="pgc_assoc_477000"/>
4657+ <field name="code_id" ref="iva_assoc_dev_20"/>
4658+ <field name="tax_id" ref="iva_assoc_IC_compras_4_bc"/>
4659+ </record>
4660+
4661 <record id="iva_assoc_IC_compras_4_bi" model="account.tax.template">
4662 <field name="chart_template_id" ref="l10nES_chart_template_assoc"/>
4663 <field name="name">IVA 4% Intracomunitario. Bienes de inversión</field>
4664 <field name="description">IVA 4% Intracomunitario. Bienes de inversión</field>
4665 <field eval="1.00" name="amount"/>
4666 <field name="type">percent</field>
4667- <field eval="1" name="child_depend"/>
4668- <field name="type_tax_use">purchase</field>
4669- </record>
4670- <record id="iva_assoc_IC_compras_4_bi_1" model="account.tax.template">
4671- <field name="chart_template_id" ref="l10nES_chart_template_assoc"/>
4672- <field name="parent_id" ref="iva_assoc_IC_compras_4_bi"/>
4673- <field name="name">IVA 4% Intracomunitario. Bienes de inversión (1)</field>
4674- <field eval="0.04" name="amount"/>
4675- <field name="type">percent</field>
4676- <field name="account_paid_id" ref="pgc_assoc_472000"/>
4677- <field name="account_collected_id" ref="pgc_assoc_472000"/>
4678- <field name="base_code_id" ref="iva_assoc_ded_32_4"/>
4679- <field name="tax_code_id" ref="iva_assoc_ded_33_4"/>
4680- <field name="ref_base_code_id" ref="iva_assoc_ded_32_4"/>
4681- <field eval="-1.0" name="ref_base_sign"/>
4682- <field name="ref_tax_code_id" ref="iva_assoc_ded_33_4"/>
4683- <field eval="-1.0" name="ref_tax_sign"/>
4684- <field name="type_tax_use">purchase</field>
4685- </record>
4686- <record id="iva_assoc_IC_compras_4_bi_2" model="account.tax.template">
4687- <field name="chart_template_id" ref="l10nES_chart_template_assoc"/>
4688- <field name="parent_id" ref="iva_assoc_IC_compras_4_bi"/>
4689- <field name="name">IVA 4% Intracomunitario. Bienes de inversión (2)</field>
4690- <field eval="-0.04" name="amount"/>
4691- <field name="type">percent</field>
4692- <field name="account_paid_id" ref="pgc_assoc_477000"/>
4693- <field name="account_collected_id" ref="pgc_assoc_477000"/>
4694- <field name="base_code_id" ref="iva_assoc_dev_19"/>
4695- <field name="tax_code_id" ref="iva_assoc_dev_20"/>
4696- <field eval="-1.0" name="tax_sign"/>
4697- <field name="ref_base_code_id" ref="iva_assoc_dev_19"/>
4698- <field eval="-1.0" name="ref_base_sign"/>
4699- <field name="ref_tax_code_id" ref="iva_assoc_dev_20"/>
4700- <field eval="1.0" name="ref_tax_sign"/>
4701- <field name="type_tax_use">purchase</field>
4702- </record>
4703-
4704+ <!-- <field eval="1" name="child_depend"/> -->
4705+ <field name="type_tax_use">purchase</field>
4706+ </record>
4707+
4708+ <record id="iva_assoc_IC_compras_4_bi_invoice_base_line" model="account.tax.line.template">
4709+ <field name="code_type">base</field>
4710+ <field name="tax_amount">100</field>
4711+ <field name="amount">100</field>
4712+ <field name="apply_on">invoice</field>
4713+ <field name="tax_id" ref="iva_assoc_IC_compras_4_bi"/>
4714+ </record>
4715+
4716+ <!-- <record id="iva_assoc_IC_compras_4_bi_invoice_tax_line" model="account.tax.line.template">
4717+ <field name="code_type">tax</field>
4718+ <field name="tax_amount">100</field>
4719+ <field name="amount">100</field>
4720+ <field name="apply_on">invoice</field>
4721+ <field name="tax_id" ref="iva_assoc_IC_compras_4_bi"/>
4722+ </record> -->
4723+
4724+ <record id="iva_assoc_IC_compras_4_bi_refund_base_line" model="account.tax.line.template">
4725+ <field name="code_type">base</field>
4726+ <field name="tax_amount">100</field>
4727+ <field name="amount">100</field>
4728+ <field name="apply_on">refund</field>
4729+ <field name="tax_id" ref="iva_assoc_IC_compras_4_bi"/>
4730+ </record>
4731+
4732+ <!-- <record id="iva_assoc_IC_compras_4_bi_refund_tax_line" model="account.tax.line.template">
4733+ <field name="code_type">tax</field>
4734+ <field name="tax_amount">100</field>
4735+ <field name="amount">100</field>
4736+ <field name="apply_on">refund</field>
4737+ <field name="tax_id" ref="iva_assoc_IC_compras_4_bi"/>
4738+ </record> -->
4739+
4740+ <record id="iva_assoc_IC_compras_4_bi_1_invoice_tax_line" model="account.tax.line.template">
4741+ <field name="code_type">tax</field>
4742+ <field name="tax_amount">4</field>
4743+ <field name="amount">4</field>
4744+ <field name="apply_on">invoice</field>
4745+ <field name="account_id" ref="pgc_assoc_472000"/>
4746+ <field name="code_id" ref="iva_pymes_ded_33_4"/>
4747+ <field name="tax_id" ref="iva_assoc_IC_compras_4_bi"/>
4748+ </record>
4749+
4750+ <record id="iva_assoc_IC_compras_4_bi_1_refund_tax_line" model="account.tax.line.template">
4751+ <field name="code_type">tax</field>
4752+ <field name="tax_amount">-4</field>
4753+ <field name="amount">4</field>
4754+ <field name="apply_on">refund</field>
4755+ <field name="account_id" ref="pgc_assoc_472000"/>
4756+ <field name="code_id" ref="iva_pymes_ded_33_4"/>
4757+ <field name="tax_id" ref="iva_assoc_IC_compras_4_bi"/>
4758+ </record>
4759+
4760+ <record id="iva_assoc_IC_compras_4_bi_2_invoice_tax_line" model="account.tax.line.template">
4761+ <field name="code_type">tax</field>
4762+ <field name="tax_amount">-4</field>
4763+ <field name="amount">-4</field>
4764+ <field name="apply_on">invoice</field>
4765+ <field name="account_id" ref="pgc_assoc_477000"/>
4766+ <field name="code_id" ref="iva_assoc_dev_20"/>
4767+ <field name="tax_id" ref="iva_assoc_IC_compras_4_bi"/>
4768+ </record>
4769+
4770+ <record id="iva_assoc_IC_compras_4_bi_2_refund_tax_line" model="account.tax.line.template">
4771+ <field name="code_type">tax</field>
4772+ <field name="tax_amount">4</field>
4773+ <field name="amount">-4</field>
4774+ <field name="apply_on">refund</field>
4775+ <field name="account_id" ref="pgc_assoc_477000"/>
4776+ <field name="code_id" ref="iva_assoc_dev_20"/>
4777+ <field name="tax_id" ref="iva_assoc_IC_compras_4_bi"/>
4778+ </record>
4779+
4780 <record id="iva_assoc_IC_compras_10_bc" model="account.tax.template">
4781 <field name="chart_template_id" ref="l10nES_chart_template_assoc"/>
4782 <field name="name">IVA 10% Intracomunitario. Bienes corrientes</field>
4783 <field name="description">IVA 10% Intracomunitario. Bienes corrientes</field>
4784 <field eval="1.00" name="amount"/>
4785 <field name="type">percent</field>
4786- <field eval="1" name="child_depend"/>
4787- <field name="type_tax_use">purchase</field>
4788- </record>
4789- <record id="iva_assoc_IC_compras_10_bc_1" model="account.tax.template">
4790- <field name="chart_template_id" ref="l10nES_chart_template_assoc"/>
4791- <field name="parent_id" ref="iva_assoc_IC_compras_10_bc"/>
4792- <field name="name">IVA 10% Intracomunitario. Bienes corrientes (1)</field>
4793- <field eval="0.10" name="amount"/>
4794- <field name="type">percent</field>
4795- <field name="account_paid_id" ref="pgc_assoc_472000"/>
4796- <field name="account_collected_id" ref="pgc_assoc_472000"/>
4797- <field name="base_code_id" ref="iva_assoc_ded_30_10"/>
4798- <field name="tax_code_id" ref="iva_assoc_ded_31_10"/>
4799- <field name="ref_base_code_id" ref="iva_assoc_ded_30_10"/>
4800- <field eval="-1.0" name="ref_base_sign"/>
4801- <field name="ref_tax_code_id" ref="iva_assoc_ded_31_8"/>
4802- <field eval="-1.0" name="ref_tax_sign"/>
4803- <field name="type_tax_use">purchase</field>
4804- </record>
4805- <record id="iva_assoc_IC_compras_10_bc_2" model="account.tax.template">
4806- <field name="chart_template_id" ref="l10nES_chart_template_assoc"/>
4807- <field name="parent_id" ref="iva_assoc_IC_compras_10_bc"/>
4808- <field name="name">IVA 10% Intracomunitario. Bienes corrientes (2)</field>
4809- <field eval="-0.10" name="amount"/>
4810- <field name="type">percent</field>
4811- <field name="account_paid_id" ref="pgc_assoc_477000"/>
4812- <field name="account_collected_id" ref="pgc_assoc_477000"/>
4813- <field name="base_code_id" ref="iva_assoc_dev_19"/>
4814- <field name="tax_code_id" ref="iva_assoc_dev_20"/>
4815- <field eval="-1.0" name="tax_sign"/>
4816- <field name="ref_base_code_id" ref="iva_assoc_dev_19"/>
4817- <field eval="-1.0" name="ref_base_sign"/>
4818- <field name="ref_tax_code_id" ref="iva_assoc_dev_20"/>
4819- <field eval="1.0" name="ref_tax_sign"/>
4820- <field name="type_tax_use">purchase</field>
4821+ <!-- <field eval="1" name="child_depend"/> -->
4822+ <field name="type_tax_use">purchase</field>
4823+ </record>
4824+
4825+ <record id="iva_assoc_IC_compras_10_bc_invoice_base_line" model="account.tax.line.template">
4826+ <field name="code_type">base</field>
4827+ <field name="tax_amount">100</field>
4828+ <field name="amount">100</field>
4829+ <field name="apply_on">invoice</field>
4830+ <field name="tax_id" ref="iva_assoc_IC_compras_10_bc"/>
4831+ </record>
4832+
4833+ <!-- <record id="iva_assoc_IC_compras_10_bc_invoice_tax_line" model="account.tax.line.template">
4834+ <field name="code_type">tax</field>
4835+ <field name="tax_amount">100</field>
4836+ <field name="amount">100</field>
4837+ <field name="apply_on">invoice</field>
4838+ <field name="tax_id" ref="iva_assoc_IC_compras_10_bc"/>
4839+ </record> -->
4840+
4841+ <record id="iva_assoc_IC_compras_10_bc_refund_base_line" model="account.tax.line.template">
4842+ <field name="code_type">base</field>
4843+ <field name="tax_amount">-100</field>
4844+ <field name="amount">100</field>
4845+ <field name="apply_on">refund</field>
4846+ <field name="tax_id" ref="iva_assoc_IC_compras_10_bc"/>
4847+ </record>
4848+
4849+ <!-- <record id="iva_assoc_IC_compras_10_bc_refund_tax_line" model="account.tax.line.template">
4850+ <field name="code_type">tax</field>
4851+ <field name="tax_amount">-100</field>
4852+ <field name="amount">100</field>
4853+ <field name="apply_on">refund</field>
4854+ <field name="tax_id" ref="iva_assoc_IC_compras_10_bc"/>
4855+ </record> -->
4856+
4857+ <record id="iva_assoc_IC_compras_10_bc_1_invoice_tax_line" model="account.tax.line.template">
4858+ <field name="code_type">tax</field>
4859+ <field name="tax_amount">10</field>
4860+ <field name="amount">10</field>
4861+ <field name="apply_on">invoice</field>
4862+ <field name="account_id" ref="pgc_assoc_472000"/>
4863+ <field name="code_id" ref="iva_pymes_ded_31_10"/>
4864+ <field name="tax_id" ref="iva_assoc_IC_compras_10_bc"/>
4865+ </record>
4866+
4867+ <record id="iva_assoc_IC_compras_10_bc_1_refund_tax_line" model="account.tax.line.template">
4868+ <field name="code_type">tax</field>
4869+ <field name="tax_amount">-10</field>
4870+ <field name="amount">10</field>
4871+ <field name="apply_on">refund</field>
4872+ <field name="account_id" ref="pgc_assoc_472000"/>
4873+ <field name="code_id" ref="iva_pymes_ded_31_10"/>
4874+ <field name="tax_id" ref="iva_assoc_IC_compras_10_bc"/>
4875 </record>
4876
4877+ <record id="iva_assoc_IC_compras_10_bc_2_invoice_tax_line" model="account.tax.line.template">
4878+ <field name="code_type">tax</field>
4879+ <field name="tax_amount">-10</field>
4880+ <field name="amount">-10</field>
4881+ <field name="apply_on">invoice</field>
4882+ <field name="account_id" ref="pgc_assoc_477000"/>
4883+ <field name="code_id" ref="iva_assoc_dev_20"/>
4884+ <field name="tax_id" ref="iva_assoc_IC_compras_10_bc"/>
4885+ </record>
4886+
4887+ <record id="iva_assoc_IC_compras_10_bc_2_refund_tax_line" model="account.tax.line.template">
4888+ <field name="code_type">tax</field>
4889+ <field name="tax_amount">10</field>
4890+ <field name="amount">-10</field>
4891+ <field name="apply_on">refund</field>
4892+ <field name="account_id" ref="pgc_assoc_477000"/>
4893+ <field name="code_id" ref="iva_assoc_dev_20"/>
4894+ <field name="tax_id" ref="iva_assoc_IC_compras_10_bc"/>
4895+ </record>
4896+
4897 <record id="iva_assoc_IC_compras_10_bi" model="account.tax.template">
4898 <field name="chart_template_id" ref="l10nES_chart_template_assoc"/>
4899 <field name="name">IVA 10% Intracomunitario. Bienes de inversión</field>
4900 <field name="description">IVA 10% Intracomunitario. Bienes de inversión</field>
4901 <field eval="1.00" name="amount"/>
4902 <field name="type">percent</field>
4903- <field eval="1" name="child_depend"/>
4904- <field name="type_tax_use">purchase</field>
4905- </record>
4906- <record id="iva_assoc_IC_compras_10_bi_1" model="account.tax.template">
4907- <field name="chart_template_id" ref="l10nES_chart_template_assoc"/>
4908- <field name="parent_id" ref="iva_assoc_IC_compras_10_bi"/>
4909- <field name="name">IVA 10% Intracomunitario. Bienes de inversión (1)</field>
4910- <field eval="0.10" name="amount"/>
4911- <field name="type">percent</field>
4912- <field name="account_paid_id" ref="pgc_assoc_472000"/>
4913- <field name="account_collected_id" ref="pgc_assoc_472000"/>
4914- <field name="base_code_id" ref="iva_assoc_ded_32_10"/>
4915- <field name="tax_code_id" ref="iva_assoc_ded_33_10"/>
4916- <field name="ref_base_code_id" ref="iva_assoc_ded_32_10"/>
4917- <field eval="-1.0" name="ref_base_sign"/>
4918- <field name="ref_tax_code_id" ref="iva_assoc_ded_33_10"/>
4919- <field eval="-1.0" name="ref_tax_sign"/>
4920- <field name="type_tax_use">purchase</field>
4921- </record>
4922- <record id="iva_assoc_IC_compras_10_bi_2" model="account.tax.template">
4923- <field name="chart_template_id" ref="l10nES_chart_template_assoc"/>
4924- <field name="parent_id" ref="iva_assoc_IC_compras_10_bi"/>
4925- <field name="name">IVA 10% Intracomunitario. Bienes de inversión (2)</field>
4926- <field eval="-0.10" name="amount"/>
4927- <field name="type">percent</field>
4928- <field name="account_paid_id" ref="pgc_assoc_477000"/>
4929- <field name="account_collected_id" ref="pgc_assoc_477000"/>
4930- <field name="base_code_id" ref="iva_assoc_dev_19"/>
4931- <field name="tax_code_id" ref="iva_assoc_dev_20"/>
4932- <field eval="-1.0" name="tax_sign"/>
4933- <field name="ref_base_code_id" ref="iva_assoc_dev_19"/>
4934- <field eval="-1.0" name="ref_base_sign"/>
4935- <field name="ref_tax_code_id" ref="iva_assoc_dev_20"/>
4936- <field eval="1.0" name="ref_tax_sign"/>
4937- <field name="type_tax_use">purchase</field>
4938- </record>
4939-
4940+ <!-- <field eval="1" name="child_depend"/> -->
4941+ <field name="type_tax_use">purchase</field>
4942+ </record>
4943+
4944+ <record id="iva_assoc_IC_compras_10_bi_invoice_base_line" model="account.tax.line.template">
4945+ <field name="code_type">base</field>
4946+ <field name="tax_amount">100</field>
4947+ <field name="amount">100</field>
4948+ <field name="apply_on">invoice</field>
4949+ <field name="tax_id" ref="iva_assoc_IC_compras_10_bi"/>
4950+ </record>
4951+
4952+ <!-- <record id="iva_assoc_IC_compras_10_bi_invoice_tax_line" model="account.tax.line.template">
4953+ <field name="code_type">tax</field>
4954+ <field name="tax_amount">100</field>
4955+ <field name="amount">100</field>
4956+ <field name="apply_on">invoice</field>
4957+ <field name="tax_id" ref="iva_assoc_IC_compras_10_bi"/>
4958+ </record> -->
4959+
4960+ <record id="iva_assoc_IC_compras_10_bi_refund_base_line" model="account.tax.line.template">
4961+ <field name="code_type">base</field>
4962+ <field name="tax_amount">100</field>
4963+ <field name="amount">100</field>
4964+ <field name="apply_on">refund</field>
4965+ <field name="tax_id" ref="iva_assoc_IC_compras_10_bi"/>
4966+ </record>
4967+
4968+ <!-- <record id="iva_assoc_IC_compras_10_bi_refund_tax_line" model="account.tax.line.template">
4969+ <field name="code_type">tax</field>
4970+ <field name="tax_amount">100</field>
4971+ <field name="amount">100</field>
4972+ <field name="apply_on">refund</field>
4973+ <field name="tax_id" ref="iva_assoc_IC_compras_10_bi"/>
4974+ </record> -->
4975+
4976+ <record id="iva_assoc_IC_compras_10_bi_1_invoice_tax_line" model="account.tax.line.template">
4977+ <field name="code_type">tax</field>
4978+ <field name="tax_amount">10</field>
4979+ <field name="amount">10</field>
4980+ <field name="apply_on">invoice</field>
4981+ <field name="account_id" ref="pgc_assoc_472000"/>
4982+ <field name="code_id" ref="iva_pymes_ded_33_10"/>
4983+ <field name="tax_id" ref="iva_assoc_IC_compras_10_bi"/>
4984+ </record>
4985+
4986+ <record id="iva_assoc_IC_compras_10_bi_1_refund_tax_line" model="account.tax.line.template">
4987+ <field name="code_type">tax</field>
4988+ <field name="tax_amount">-10</field>
4989+ <field name="amount">10</field>
4990+ <field name="apply_on">refund</field>
4991+ <field name="account_id" ref="pgc_assoc_472000"/>
4992+ <field name="code_id" ref="iva_pymes_ded_33_10"/>
4993+ <field name="tax_id" ref="iva_assoc_IC_compras_10_bi"/>
4994+ </record>
4995+
4996+ <record id="iva_assoc_IC_compras_10_bi_2_invoice_tax_line" model="account.tax.line.template">
4997+ <field name="code_type">tax</field>
4998+ <field name="tax_amount">-10</field>
4999+ <field name="amount">-10</field>
5000+ <field name="apply_on">invoice</field>
The diff has been truncated for viewing.

Subscribers

People subscribed via source and target branches

to all changes: