Changeset - 6deaacb11bdd
[Not reviewed]
0 1 0
Bradley Kuhn (bkuhn) - 6 months ago 2023-12-22 05:12:36
bkuhn@ebb.org
Add US:TN:Unemployment as a valid `payroll-type` metadata for taxes
1 file changed with 1 insertions and 0 deletions:
0 comments (0 inline, 0 general)
conservancy_beancount/plugin/meta_payroll_type.py
Show inline comments
...
 
@@ -77,31 +77,32 @@ class SalaryHook(_PayrollTypeHook):
 
        '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
 

	
 

	
 
class TaxHook(_PayrollTypeHook):
 
    ACCOUNT = 'Expenses:Payroll:Taxes'
 
    VALUES_ENUM = core.MetadataEnum(METADATA_KEY, [
 
        'CA:EI',
 
        'CA:PP',
 
        'CA:WCB',
 
        'US:IL:Unemployment',
 
        'US:TN:Unemployment',
 
        'US:MA:Health',
 
        'US:MA:Unemployment',
 
        'US:MA:WorkTrain',
 
        'US:Medicare',
 
        'US:OR:Unemployment',
 
        'US:SocialSecurity',
 
    ])
0 comments (0 inline, 0 general)