Beangrow & pension employee contribution

64 views
Skip to first unread message

Balint K

unread,
Jan 19, 2025, 3:20:37 AM1/19/25
to Beancount
Hey all,

I'm trying to add a cash-only pension account to my portfolio, but I'm not sure what's the best way to register the employee contributions properly to get the inflows right.

The contribution entries look like this:
YYYY-MM-DD * "<Employer>" "Salary"
  Income:<...>                    -... CHF
  Expenses:Taxes:<...>             ... CHF
  ...
  Assets:PensionAcct               ... CHF
    line: "Employee Contribution"
  Assets:CheckingAcct              ... CHF


YYYY-MM-DD * "<Employer>" "Employer contribution"
  Income:PensionEmployerContribution   -... CHF
  Assets:PensionAcct

And the beangrow config at the moment is:

  investment {
    asset_account: "Assets:PensionAcct"
    dividend_accounts: "Income:PensionAcct:Interest"
    cash_accounts: "Income:PensionEmployerContribution"
  }  

The obvious problem is that it doesn't track the employee contribution as cash-in, only the employer one, so the returns are wrong. I tried adding the Income account as a cash_accounts, but then it registered all the income as cash-in. I've tried match_accounts, but it didn't do anything.

Is there a way to solve this without having a pass-through cash account for the pension account (so the income flows into a "pension cash" acct first, and then to the pension account)?

Thanks,
Balint
Reply all
Reply to author
Forward
0 new messages