Changeset - 83e6e80bb89c
[Not reviewed]
0 2 0
Bradley Kuhn (bkuhn) - 2 years ago 2021-12-06 18:43:32
bkuhn@ebb.org
meta_payroll_type — US:PTO — distinguish between Earned and Taken

Metadata `payroll-type` will go on `Liabilities:Payable:Vacation` and
`Expenses:Payroll:Salary`, but we need to distinguish as to whether
the Payroll was earned or taken.

Later, `Liabilities:Payable:Vacation` should require a
`payroll-type` metadata of either `US:PTO:Taken` or `US:PTO:Earned`,
and the `CA:` equivalents.
2 files changed with 4 insertions and 2 deletions:
0 comments (0 inline, 0 general)
conservancy_beancount/plugin/meta_payroll_type.py
Show inline comments
...
 
@@ -77,3 +77,4 @@ class SalaryHook(_PayrollTypeHook):
 
        'US:NY:Disability:PFL',
 
        'US:PTO',
 
        'US:PTO:Earned',
 
        'US:PTO:Taken',
 
        *_tax_values,
tests/test_meta_payroll_type.py
Show inline comments
...
 
@@ -44,3 +44,4 @@ HOOK_DATA = [
 
        'US:403b:Match',
 
        'US:PTO',
 
        'US:PTO:Earned',
 
        'US:PTO:Taken',
 
    ),
0 comments (0 inline, 0 general)