Debian Codegraph @

addons/l10n_ar_withholding/views/l10n_ar_earnings_scale_view.xml

raw
1 <?xml version="1.0" encoding="utf-8"?>
2 <odoo>
3
4 <record id="view_afip_earnings_table_scale_tree" model="ir.ui.view">
5 <field name="name">l10n_ar.earnings.scale.tree</field>
6 <field name="model">l10n_ar.earnings.scale</field>
7 <field name="arch" type="xml">
8 <list>
9 <field name="name"/>
10 </list>
11 </field>
12 </record>
13
14 <record id="view_afip_earnings_table_scale_form" model="ir.ui.view">
15 <field name="name">l10n_ar.earnings.scale.form</field>
16 <field name="model">l10n_ar.earnings.scale</field>
17 <field name="arch" type="xml">
18 <form>
19 <sheet>
20 <group>
21 <field name="name"/>
22 <field name="line_ids">
23 <list editable="bottom">
24 <field name="from_amount"/>
25 <field name="to_amount"/>
26 <field name="fixed_amount"/>
27 <field name="percentage"/>
28 <field name="excess_amount"/>
29 </list>
30 </field>
31 </group>
32 <b><u>Formula Earnings with Scale</u></b><br/>
33 <div>
34 <ul>
35 <li>Base amount = Tax base + tax bases applied this month to the same tax and partner - non-taxable amount</li>
36 <li>Withholding amount = (Base amount - immediately previous amount of the column 'S/ Exceeding $') * row percentage / 100 + row fixed amount ('$' column)</li>
37 <li>If the base amount is lower than 0.0 then the withholding is 0.0</li>
38 <li>If the withholding amount is lower than the minimum threshold on the tax then the final withholding amount is 0.0</li>
39 </ul>
40 </div>
41 <b><u>ARCA Sources</u></b><br/>
42 <span>Calculator of the Withholding Amount: </span>
43 <a href="https://servicioscf.afip.gob.ar/calc-rg830/" target="_blank">ARCA Calculator</a><br/>
44 <span>Link to ARCA aditional info: </span>
45 <a href="https://servicioscf.afip.gob.ar/publico/abc/ABCpaso2.aspx?id_nivel1=3269&amp;id_nivel2=3304&amp;p=R%C3%A9g.%20General%20de%20Retenci%C3%B3n%20del%20Impuesto%20a%20las%20Ganancias%20-%20RG%20830" target="_blank">ARCA Additional info</a>
46 </sheet>
47 </form>
48 </field>
49 </record>
50
51 <record model="ir.actions.act_window" id="act_afip_earnings_table_scale">
52 <field name="name">ARCA tax</field>
53 <field name="type">ir.actions.act_window</field>
54 <field name="res_model">l10n_ar.earnings.scale</field>
55 <field name="view_mode">list,form</field>
56 <field name="view_id" ref="view_afip_earnings_table_scale_tree"/>
57 </record>
58
59 <menuitem name="Earnings Scale" action="act_afip_earnings_table_scale" id="menu_action_afip_earnings_table_scale_line" sequence="95" parent="l10n_ar.menu_afip_config"/>
60
61 </odoo>