Changeset - 2840a64215bf
[Not reviewed]
0 1 0
Rosanne DiMesio (dimesio) - 14 months ago 2023-05-02 04:32:03
dimesio@sfconservancy.org
Add new payroll type codes

Oregon added a new payroll tax for disability so we need to add the
payroll-types for Ohio's state and local taxes.
1 file changed with 4 insertions and 0 deletions:
0 comments (0 inline, 0 general)
conservancy_beancount/plugin/meta_payroll_type.py
Show inline comments
...
 
@@ -51,38 +51,42 @@ class OtherBenefitsHook(_PayrollTypeHook):
 

	
 

	
 
class SalaryHook(_PayrollTypeHook):
 
    ACCOUNT = 'Expenses:Payroll:Salary'
 
    _tax_values = [
 
        'CA:Tax:EI',
 
        'CA:Tax:Income',
 
        'CA:Tax:PP',
 
        'US:IL:Tax:Income',
 
        'US:MA:Tax:Income',
 
        'US:NY:Tax:Income',
 
        'US:NY:Tax:NYC',
 
        'US:OH:Tax:Income',
 
        'US:OH:Tax:COLUMB',
 
        'US:OH:Tax:PNTSD',
 
        'US:OR:Tax:Income',
 
        'US:OR:Tax:STT',
 
        'US:Tax:Income',
 
        'US:Tax:Medicare',
 
        'US:Tax:SocialSecurity',
 
    ]
 
    VALUES_ENUM = core.MetadataEnum(METADATA_KEY, [
 
        'CA:General',
 
        'CA:PTO:Earned',
 
        'CA:PTO:Taken',
 
        'US:403b:Employee',
 
        'US:403b:Match',
 
        'US:General',
 
        'US:MA:Disability:PFL',
 
        'US:OR:Disability:PFL',
 
        'US:MA:Disability:PML',
 
        'US:NY:Disability',
 
        'US:NY:Disability:PFL',
 
        'US:PTO:Earned',
 
        'US:PTO:Taken',
 
        *_tax_values,
 
    ], {
 
        value.replace(':Tax:', ':Taxes:', 1): value
 
        for value in _tax_values
 
    })
 
    del _tax_values
 

	
0 comments (0 inline, 0 general)