mirror of
https://gitlab.com/hibou-io/hibou-odoo/suite.git
synced 2025-01-20 12:37:31 +02:00
TX Texas Amended (+50 squashed commits) Squashed commits: [7da4d616] ID Idaho [a2970d9b] FED amended [8ebf4c24] FED [080f6f05] TN Tennessee [bf2aa103] MI Michigan [493a6361] SC South Carolina [8e97119d] LA Louisiana [ee97a733] DE Delaware [5d9a7ced] WY Wyoming [8f72bfdd] WI Wisconsin [88073c7e] WV West Virginia [192ea027] VA Virginia [a32b4630] VT Vermont [1874a69f] TX Texas [39db5caa] SD South Dakota [21ebee50] RI Rhode Island [677e6f78] PA Pennsylvania [91cb694d] OK Oklahoma [5d93e5c4] ND North Dakota [f3d535ba] NM New Mexico [308fd185] NJ New Jersey [3c36600c] NH New Hampshire [d422bef6] NV Nevada [dc0551f1] NE Nebraska [eaae1e2b] MO Missouri [1ecd2521] MS Mississippi [bb8734ad] MN Minnesota [da6d84bb] Revert "ME Maine" This reverts commite866f89b2b. [e866f89b] ME Maine [c0a7d06c] KY Kentucky [84556347] IN Indiana [ed241bf0] IL Illinois [d4c33133] HI Hawaii [982bf274] GA Georgia [5d0ef117] CT Connecticut [e4713512] CA California [24b867f3] WA Washington - formatting changes [e754b3aa] AR Arkansas [33482ad3] UT Utah [25595393] WA Washington [ac222b58] MT Montana [55babb7b] AZ Arizona todo: Income Tax not calculated [8b184e6f] AL Alabama [cc688c9d] AK Alaska [e8b105ad] OH Ohio [bff5ca12] nc north carolina [118e9a76] ny new york [575953a3] fl florida [401a7ce3] IA Iowa
273 lines
12 KiB
XML
273 lines
12 KiB
XML
<?xml version="1.0" encoding="UTF-8" ?>
|
|
<odoo>
|
|
<!-- Wage Base -->
|
|
<record id="rule_parameter_us_id_suta_wage_base" model="hr.rule.parameter">
|
|
<field name="name">US ID Idaho SUTA Wage Base</field>
|
|
<field name="code">us_id_suta_wage_base</field>
|
|
<field name="country_id" ref="base.us"/>
|
|
</record>
|
|
<data noupdate="1">
|
|
<record id="rule_parameter_us_id_suta_wage_base_2020" model="hr.rule.parameter.value">
|
|
<field name="parameter_value">41600.0</field>
|
|
<field name="rule_parameter_id" ref="rule_parameter_us_id_suta_wage_base"/>
|
|
<field name="date_from" eval="datetime(2020, 1, 1).date()"/>
|
|
</record>
|
|
<record id="rule_parameter_us_id_suta_wage_base_2021" model="hr.rule.parameter.value">
|
|
<field name="parameter_value">43000.0</field>
|
|
<field name="rule_parameter_id" ref="rule_parameter_us_id_suta_wage_base"/>
|
|
<field name="date_from" eval="datetime(2021, 1, 1).date()"/>
|
|
</record>
|
|
</data>
|
|
|
|
<!-- Rate -->
|
|
<record id="rule_parameter_us_id_suta_rate" model="hr.rule.parameter">
|
|
<field name="name">US ID Idaho SUTA Rate</field>
|
|
<field name="code">us_id_suta_rate</field>
|
|
<field name="country_id" ref="base.us"/>
|
|
</record>
|
|
<data noupdate="1">
|
|
<!-- Unchanged in 2021 https://www.labor.idaho.gov/dnn/Businesses/Unemployment-Tax-Rates-->
|
|
<record id="rule_parameter_us_id_suta_rate_2020" model="hr.rule.parameter.value">
|
|
<field name="parameter_value">1.0</field>
|
|
<field name="rule_parameter_id" ref="rule_parameter_us_id_suta_rate"/>
|
|
<field name="date_from" eval="datetime(2020, 1, 1).date()"/>
|
|
</record>
|
|
</data>
|
|
|
|
<record id="rule_parameter_us_id_sit_tax_rate" model="hr.rule.parameter">
|
|
<field name="name">US ID Idaho SIT Tax Rate</field>
|
|
<field name="code">us_id_sit_tax_rate</field>
|
|
<field name="country_id" ref="base.us"/>
|
|
</record>
|
|
<data noupdate="1">
|
|
<!-- https://tax.idaho.gov/pubs/EPB00744_06-16-2020.pdf -->
|
|
<!-- Page 1 to 3 -->
|
|
<!-- Unchanged in 2021 -->
|
|
<record id="rule_parameter_us_id_sit_tax_rate_2020" model="hr.rule.parameter.value">
|
|
<field name="parameter_value">{
|
|
'single': {
|
|
'weekly': (
|
|
( 238, 0.00, 0.000),
|
|
( 269, 0.00, 1.125),
|
|
( 299, 0.00, 3.125),
|
|
( 329, 1.00, 3.625),
|
|
( 359, 2.00, 4.625),
|
|
( 389, 4.00, 5.625),
|
|
( 465, 5.00, 6.625),
|
|
('inf', 10.00, 6.925),
|
|
),
|
|
'bi-weekly': (
|
|
( 477, 0.00, 0.000),
|
|
( 537, 0.00, 1.125),
|
|
( 598, 1.00, 3.125),
|
|
( 658, 3.00, 3.625),
|
|
( 718, 5.00, 4.625),
|
|
( 778, 8.00, 5.625),
|
|
( 929, 11.00, 6.625),
|
|
('inf', 21.00, 6.925),
|
|
),
|
|
'semi-monthly': (
|
|
( 517, 0.00, 0.000),
|
|
( 582, 0.00, 1.125),
|
|
( 647, 1.00, 3.125),
|
|
( 713, 3.00, 3.625),
|
|
( 778, 5.00, 4.625),
|
|
( 843, 8.00, 5.625),
|
|
( 1007, 12.00, 6.625),
|
|
('inf', 23.00, 6.925),
|
|
),
|
|
'monthly': (
|
|
( 1033, 0.00, 0.000),
|
|
( 1164, 0.00, 1.125),
|
|
( 1295, 1.00, 3.125),
|
|
( 1425, 6.00, 3.625),
|
|
( 1556, 10.00, 4.625),
|
|
( 1687, 16.00, 5.625),
|
|
( 2013, 24.00, 6.625),
|
|
('inf', 45.00, 6.925),
|
|
),
|
|
'annually': (
|
|
(12400, 0.00, 0.000),
|
|
(13968, 0.00, 1.125),
|
|
(15536, 18.00, 3.125),
|
|
(17104, 67.00, 3.625),
|
|
(18672, 124.00, 4.625),
|
|
(20240, 197.00, 5.625),
|
|
(24160, 285.00, 6.625),
|
|
('inf', 545.00, 6.925),
|
|
),
|
|
},
|
|
'married': {
|
|
'weekly': (
|
|
( 477, 0.00, 0.000),
|
|
( 537, 0.00, 1.125),
|
|
( 598, 0.00, 3.125),
|
|
( 658, 1.00, 3.625),
|
|
( 718, 3.00, 4.625),
|
|
( 778, 5.00, 5.625),
|
|
( 929, 11.00, 6.625),
|
|
('inf', 21.00, 6.925),
|
|
),
|
|
'bi-weekly': (
|
|
( 954, 0.00, 0.000),
|
|
( 1074, 0.00, 1.125),
|
|
( 1195, 1.00, 3.125),
|
|
( 1316, 5.00, 3.625),
|
|
( 1436, 9.00, 4.625),
|
|
( 1557, 15.00, 5.625),
|
|
( 1858, 22.00, 6.625),
|
|
('inf', 42.00, 6.925),
|
|
),
|
|
'semi-monthly': (
|
|
( 1033, 0.00, 0.000),
|
|
( 1164, 0.00, 1.125),
|
|
( 1295, 1.00, 3.125),
|
|
( 1425, 6.00, 3.625),
|
|
( 1556, 10.00, 4.625),
|
|
( 1687, 16.00, 5.625),
|
|
( 2013, 24.00, 6.625),
|
|
('inf', 45.00, 6.925),
|
|
),
|
|
'monthly': (
|
|
( 2067, 0.00, 0.000),
|
|
( 2328, 0.00, 1.125),
|
|
( 2589, 3.00, 3.125),
|
|
( 2851, 11.00, 3.625),
|
|
( 3112, 21.00, 4.625),
|
|
( 3373, 33.00, 5.625),
|
|
( 4027, 47.00, 6.625),
|
|
('inf', 91.00, 6.925),
|
|
),
|
|
'annually': (
|
|
(24400, 0.00, 0.000),
|
|
(27482, 0.00, 1.125),
|
|
(30562, 35.00, 3.125),
|
|
(33644, 131.00, 3.625),
|
|
(36724, 243.00, 4.625),
|
|
(39806, 385.00, 5.625),
|
|
(47508, 558.00, 6.625),
|
|
('inf', 1068.00, 6.925),
|
|
),
|
|
},
|
|
'head of household': {
|
|
'weekly': (
|
|
( 238, 0.00, 0.000),
|
|
( 269, 0.00, 1.125),
|
|
( 299, 0.00, 3.125),
|
|
( 329, 1.00, 3.625),
|
|
( 359, 2.00, 4.625),
|
|
( 389, 4.00, 5.625),
|
|
( 465, 5.00, 6.625),
|
|
('inf', 10.00, 6.925),
|
|
),
|
|
'bi-weekly': (
|
|
( 477, 0.00, 0.000),
|
|
( 537, 0.00, 1.125),
|
|
( 598, 1.00, 3.125),
|
|
( 658, 3.00, 3.625),
|
|
( 718, 5.00, 4.625),
|
|
( 778, 8.00, 5.625),
|
|
( 929, 11.00, 6.625),
|
|
('inf', 21.00, 6.925),
|
|
),
|
|
'semi-monthly': (
|
|
( 517, 0.00, 0.000),
|
|
( 582, 0.00, 1.125),
|
|
( 647, 1.00, 3.125),
|
|
( 713, 3.00, 3.625),
|
|
( 778, 5.00, 4.625),
|
|
( 843, 8.00, 5.625),
|
|
( 1007, 12.00, 6.625),
|
|
('inf', 23.00, 6.925),
|
|
),
|
|
'monthly': (
|
|
( 1033, 0.00, 0.000),
|
|
( 1164, 0.00, 1.125),
|
|
( 1295, 1.00, 3.125),
|
|
( 1425, 6.00, 3.625),
|
|
( 1556, 10.00, 4.625),
|
|
( 1687, 16.00, 5.625),
|
|
( 2013, 24.00, 6.625),
|
|
('inf', 45.00, 6.925),
|
|
),
|
|
'annually': (
|
|
(12400, 0.00, 0.000),
|
|
(13968, 0.00, 1.125),
|
|
(15536, 18.00, 3.125),
|
|
(17104, 67.00, 3.625),
|
|
(18672, 124.00, 4.625),
|
|
(20240, 197.00, 5.625),
|
|
(24160, 285.00, 6.625),
|
|
('inf', 545.00, 6.925),
|
|
),
|
|
},
|
|
}</field>
|
|
<field name="rule_parameter_id" ref="rule_parameter_us_id_sit_tax_rate"/>
|
|
<field name="date_from" eval="datetime(2020, 1, 1).date()"/>
|
|
</record>
|
|
</data>
|
|
|
|
<record id="rule_parameter_us_id_sit_ictcat_rate" model="hr.rule.parameter">
|
|
<field name="name">US ID Idaho Child Tax Credit Allowance Rate</field>
|
|
<field name="code">us_id_sit_ictcat_rate</field>
|
|
<field name="country_id" ref="base.us"/>
|
|
</record>
|
|
<data noupdate="1">
|
|
<!-- https://tax.idaho.gov/i-1026.cfm?seg=compute -->
|
|
<!-- Idaho Child Tax Credit Allowances Table -->
|
|
<!-- Unchanged in 2021 -->
|
|
<record id="rule_parameter_us_id_sit_ictcat_rate_2020" model="hr.rule.parameter.value">
|
|
<field name="parameter_value">{
|
|
'weekly': 56.92,
|
|
'bi-weekly': 113.85,
|
|
'semi-monthly': 123.33,
|
|
'monthly': 246.67,
|
|
'annually': 2960.00,
|
|
}</field>
|
|
<field name="rule_parameter_id" ref="rule_parameter_us_id_sit_ictcat_rate"/>
|
|
<field name="date_from" eval="datetime(2020, 1, 1).date()"/>
|
|
</record>
|
|
</data>
|
|
|
|
|
|
<!-- Partners and Contribution Registers -->
|
|
<record id="res_partner_us_id_dor" model="res.partner">
|
|
<field name="name">US Idaho - Department of Labor (IDOL) - Unemployment Tax</field>
|
|
</record>
|
|
|
|
<record id="res_partner_us_id_dor_sit" model="res.partner">
|
|
<field name="name">US Idaho - State Tax Commission (ISTC) - Income Tax</field>
|
|
</record>
|
|
|
|
<!-- Categories -->
|
|
|
|
<!-- Rules -->
|
|
<record id="hr_payroll_rule_er_us_id_suta" model="hr.salary.rule">
|
|
<field name="sequence" eval="450"/>
|
|
<field name="struct_id" ref="hr_payroll_structure"/>
|
|
<field name="category_id" ref="hr_payroll_category_er_us_suta"/>
|
|
<field name="name">ER: US ID Idaho State Unemployment</field>
|
|
<field name="code">ER_US_ID_SUTA</field>
|
|
<field name="condition_select">python</field>
|
|
<field name="condition_python">result, _ = general_state_unemployment(payslip, categories, worked_days, inputs, wage_base='us_id_suta_wage_base', rate='us_id_suta_rate', state_code='ID')</field>
|
|
<field name="amount_select">code</field>
|
|
<field name="amount_python_compute">result, result_rate = general_state_unemployment(payslip, categories, worked_days, inputs, wage_base='us_id_suta_wage_base', rate='us_id_suta_rate', state_code='ID')</field>
|
|
<field name="partner_id" ref="res_partner_us_id_dor"/>
|
|
<field name="appears_on_payslip" eval="False"/>
|
|
</record>
|
|
|
|
<record id="hr_payroll_rule_ee_us_id_sit" model="hr.salary.rule">
|
|
<field name="sequence" eval="195"/>
|
|
<field name="struct_id" ref="hr_payroll_structure"/>
|
|
<field name="category_id" ref="hr_payroll_category_ee_us_sit"/>
|
|
<field name="name">EE: US ID Idaho State Income Tax Withholding</field>
|
|
<field name="code">EE_US_ID_SIT</field>
|
|
<field name="condition_select">python</field>
|
|
<field name="condition_python">result, _ = id_idaho_state_income_withholding(payslip, categories, worked_days, inputs)</field>
|
|
<field name="amount_select">code</field>
|
|
<field name="amount_python_compute">result, result_rate = id_idaho_state_income_withholding(payslip, categories, worked_days, inputs)</field>
|
|
<field name="partner_id" ref="res_partner_us_id_dor_sit"/>
|
|
<field name="appears_on_payslip" eval="True"/>
|
|
</record>
|
|
|
|
</odoo> |