I read this twice, your numbers still don't make sense to m.e As a general rule, while it's supported, I would recommend not posting any amounts to non-leaf accounts, because it raises questions on aggregation (do you want to aggregate including the subaccounts or not). There's even a plugin that helps you enforce that: https://github.com/beancount/beancount/blob/master/beancount/plugins/leafonly.py
On Sat, Aug 15, 2020 at 4:58 PM [email protected] < [email protected]> wrote: > Hi all > Say, I had 3 accounts with the following structure & balances: > > Assets:Parent CHF 1000 > Assets:Parent:Child1 CHF 100 > Assets:Parent:Child2 CHF 200 > > Then I could want the total T = CHF 1000, or the Parent-Only PO = CHF 800. > There is the possibility that the remaining CHF 800 are distributed over > other children, such that PO = CHF 0. > > Is there a way to: > > 1. specifically query either value T or PO? > 2. specifically pad & balance either value? > 3. display either value in fava; in the balance sheet and the > account's journal? > > > This general question finds it application where I have a parent bank > account of which the total T must match the balance from the bank > statement. However, that total is subdivided into provisions for future > expenses, a liquidity cushion, and "freely available" money. Each of those > are reflected as child accounts in my beancount ledger. > > Thanks for your rely! > > -- > You received this message because you are subscribed to the Google Groups > "Beancount" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/beancount/837a46eb-058f-494f-bd7b-2fced166d853n%40googlegroups.com > <https://groups.google.com/d/msgid/beancount/837a46eb-058f-494f-bd7b-2fced166d853n%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "Beancount" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/beancount/CAK21%2BhPfQz3O5zrLFH%2BMFmuTd-4fEEd7_5vBRdgbBc6rvKJ6VQ%40mail.gmail.com.
