[IMP] l10n_us_hr_payroll: Reformat Tax table and changed wage for VT Vermont 2020

This commit is contained in:
Bhoomi Vaishnani
2020-08-19 16:52:50 -04:00
parent 0d89486abb
commit c00409dffe
4 changed files with 90 additions and 19 deletions

View File

@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8" ?>
<odoo>
<!-- Wage Base -->
<!-- Wage Base from https://labor.vermont.gov/unemployment-insurance/ui-employers/quarterly-reporting-taxable-wage-information -->
<record id="rule_parameter_us_vt_suta_wage_base" model="hr.rule.parameter">
<field name="name">US VT Vermont SUTA Wage Base</field>
<field name="code">us_vt_suta_wage_base</field>
@@ -8,7 +8,7 @@
</record>
<data noupdate="1">
<record id="rule_parameter_us_vt_suta_wage_base_2020" model="hr.rule.parameter.value">
<field name="parameter_value">16000.0</field>
<field name="parameter_value">16100.0</field>
<field name="rule_parameter_id" ref="rule_parameter_us_vt_suta_wage_base"/>
<field name="date_from" eval="datetime(2020, 1, 1).date()"/>
</record>
@@ -47,7 +47,7 @@
<field name="date_from" eval="datetime(2020, 1, 1).date()"/>
</record>
</data>
<!-- Table based on https://tax.vermont.gov/sites/tax/files/documents/WithholdingInstructions.pdf-->
<record id="rule_parameter_us_vt_sit_tax_rate" model="hr.rule.parameter">
<field name="name">US VT Vermont SIT Tax Rate</field>
<field name="code">us_vt_sit_tax_rate</field>
@@ -57,20 +57,92 @@
<record id="rule_parameter_us_vt_sit_tax_rate_2020" model="hr.rule.parameter.value">
<field name="parameter_value">{
'single': {
'weekly': ((60, 0.00, 0.00), (836, 0.00, 3.35), (1941, 26.00, 6.60), (3983, 98.93, 7.60), ('inf', 254.12, 8.75)),
'bi-weekly': ((120, 0.00, 0.00), (1672, 0.00, 3.35), (3882, 51.99, 6.60), (7966, 197.85, 7.60), ('inf', 508.24, 8.75)),
'semi-monthly': ((130, 0.00, 0.00), (1811, 0.00, 3.35), (4205, 56.31, 6.60), (8630, 214.32, 7.60), ('inf', 550.62, 8.75)),
'monthly': ((260, 0.00, 0.00), (3623, 0.00, 3.35), (8410, 112.66, 6.60), (17260, 428.60, 7.60), ('inf', 1101.20, 8.75)),
'quarterly': ((781, 0.00, 0.00), (10869, 0.00, 3.35), (25231, 337.95, 6.60), (51781, 1285.84, 7.60), ('inf', 3303.64, 8.75)),
'annually': ((3125, 0.00, 0.00), (43475, 0.00, 3.35), (100925, 1351.73, 6.60), (207125, 5143.43, 7.60), ('inf', 13214.63, 8.75)),
'weekly': (
( 60, 0.00, 0.00),
( 836, 0.00, 3.35),
( 1941, 26.00, 6.60),
( 3983, 98.93, 7.60),
('inf', 254.12, 8.75),
),
'bi-weekly': (
( 120, 0.00, 0.00),
( 1672, 0.00, 3.35),
( 3882, 51.99, 6.60),
( 7966, 197.85, 7.60),
('inf', 508.24, 8.75),
),
'semi-monthly': (
( 130, 0.00, 0.00),
( 1811, 0.00, 3.35),
( 4205, 56.31, 6.60),
( 8630, 214.32, 7.60),
('inf', 550.62, 8.75),
),
'monthly': (
( 260, 0.00, 0.00),
( 3623, 0.00, 3.35),
( 8410, 112.66, 6.60),
(17260, 428.60, 7.60),
('inf', 1101.20, 8.75),
),
'quarterly': (
( 781, 0.00, 0.00),
(10869, 0.00, 3.35),
(25231, 337.95, 6.60),
(51781, 1285.84, 7.60),
('inf', 3303.64, 8.75),
),
'annually': (
( 3125, 0.00, 0.00),
( 43475, 0.00, 3.35),
(100925, 1351.73, 6.60),
(207125, 5143.43, 7.60),
( 'inf', 13214.63, 8.75),
),
},
'married': {
'weekly': ((180, 0.00, 0.00), (1477, 0.00, 3.35), (3315, 43.45, 6.60), (4956, 164.76, 7.60), ('inf', 289.47, 8.75)),
'bi-weekly': ((361, 0.00, 0.00), (2955, 0.00, 3.35), (6630, 86.90, 6.60), (9913, 329.45, 7.60), ('inf', 578.96, 8.75)),
'semi-monthly': ((391, 0.00, 0.00), (3201, 0.00, 3.35), (7182, 94.14, 6.60), (10739, 356.88, 7.60), ('inf', 627.21, 8.75)),
'monthly': ((781, 0.00, 0.00), (6402, 0.00, 3.35), (14365, 188.30, 6.60), (21477, 713.86, 7.60), ('inf', 1254.37, 8.75)),
'quarterly': ((2344, 0.00, 0.00), (19206, 0.00, 3.35), (43094, 564.88, 6.60), (64431, 2141.49, 7.60), ('inf', 3763.10, 8.75)),
'annually': ((9375, 0.00, 0.00), (76825, 0.00, 3.35), (172375, 2259.58, 6.60), (257725, 8565.88, 7.60), ('inf', 15052.48, 8.75)),
'weekly': (
( 180, 0.00, 0.00),
( 1477, 0.00, 3.35),
( 3315, 43.45, 6.60),
( 4956, 164.76, 7.60),
('inf', 289.47, 8.75),
),
'bi-weekly': (
( 361, 0.00, 0.00),
( 2955, 0.00, 3.35),
( 6630, 86.90, 6.60),
(9913, 329.45, 7.60),
('inf', 578.96, 8.75),
),
'semi-monthly': (
( 391, 0.00, 0.00),
( 3201, 0.00, 3.35),
( 7182, 94.14, 6.60),
(10739, 356.88, 7.60),
('inf', 627.21, 8.75),
),
'monthly': (
( 781, 0.00, 0.00),
( 6402, 0.00, 3.35),
(14365, 188.30, 6.60),
(21477, 713.86, 7.60),
('inf', 1254.37, 8.75),
),
'quarterly': (
( 2344, 0.00, 0.00),
(19206, 0.00, 3.35),
(43094, 564.88, 6.60),
(64431, 2141.49, 7.60),
('inf', 3763.10, 8.75),
),
'annually': (
( 9375, 0.00, 0.00),
( 76825, 0.00, 3.35),
(172375, 2259.58, 6.60),
(257725, 8565.88, 7.60),
( 'inf', 15052.48, 8.75),
),
},
}</field>
<field name="rule_parameter_id" ref="rule_parameter_us_vt_sit_tax_rate"/>

View File

@@ -257,9 +257,8 @@ class HRContractUSPayrollConfig(models.Model):
vt_w4vt_sit_filing_status = fields.Selection([
('single', 'Single'),
('married', 'Married'),
('head_household', 'Head of Household')
], string='Vermont VT W-4VT Filing Status', help='VT W-4VT')
vt_w4vt_sit_allowances = fields.Integer(string='Vermont VT W-4VT Allowances', help='VT W-4VT 1.')
vt_w4vt_sit_allowances = fields.Integer(string='Vermont VT W-4VT Allowances', help='VT W-4VT 5.')
va_va4_sit_exemptions = fields.Integer(string='Virginia VA-4(P) Personal Exemptions',
help='VA-4(P) 1(a)')

View File

@@ -8,7 +8,7 @@ class TestUsVTPayslip(TestUsPayslip):
###
# 2020 Taxes and Rates
###
VT_UNEMP_MAX_WAGE = 16000.0
VT_UNEMP_MAX_WAGE = 16100.0
VT_UNEMP = 1.0
# Calculation based on example https://tax.vermont.gov/sites/tax/files/documents/WithholdingInstructions.pdf

View File

@@ -268,7 +268,7 @@
<group name="state_vt_vermont" string="VT Vermont" attrs="{'invisible':[('state_id', '!=', %(base.state_us_46)s)]}">
<p colspan="2"><h3>Form VT W-4VT - State Income Tax</h3></p>
<field name="vt_w4vt_sit_filing_status" string="Filing Status"/>
<field name="vt_w4vt_sit_allowances" string="Allowances 1."/>
<field name="vt_w4vt_sit_allowances" string="Allowances 5."/>
<field name="state_income_tax_additional_withholding" string="Additional Withholding 6."/>
<field name="state_income_tax_exempt" string="Exempt"/>
</group>