beginner question about total assets

102 views
Skip to first unread message

Prasun Ratn

unread,
Apr 9, 2024, 8:41:20 AM4/9/24
to Beancount
Hello

I was trying out beancount today and I didn't see a way to report total assets. I was able to use 'holdings' which gives a per-account view. I also tried 'networth' but it shows an empty output.

I am using Beancount 2.3.6 (git:d77540c4; 2023-10-05) which I installed via pip.

This is my file and the commands I tried.

> type debug.beancount
2010-01-01 open Equity:OpeningBalances

2010-01-01 open Assets:Icici

2023/04/01 * "None"
    Equity:OpeningBalances    -1705.48 INR
    Assets:Icici

2023/06/29 * "Interest Q1"
    Income:Interest    -13.0 INR
    Assets:Icici

2023/08/02 * "Self Transfer"
    Assets:Cash    100.0 INR
    Assets:Icici

2023/08/02 * "Ice Cream"
    Expenses:Food    50.0 INR
    Assets:Icici


2010-01-01 open Income:Interest
2010-01-01 open Assets:Cash
2010-01-01 open Expenses:Food



> bean-report debug.beancount balances
Assets:Cash                100.0 INR
Assets:Icici              1568.5 INR
Equity:OpeningBalances   -1705.5 INR
Expenses:Food               50.0 INR
Income:Interest            -13.0 INR
Liabilities




>bean-report debug.beancount holdings
Account          Units  Currency  Cost Currency  Average Cost  Price  Book Value  Market Value
------------  --------  --------  -------------  ------------  -----  ----------  ------------
Assets:Cash     100.00       INR            INR                           100.00        100.00
Assets:Icici  1,568.48       INR            INR                         1,568.48      1,568.48
------------  --------  --------  -------------  ------------  -----  ----------  ------------




> bean-report debug.beancount networth
Currency  Net Worth
--------  ---------
--------  ---------

fin

unread,
Apr 9, 2024, 6:43:22 PM4/9/24
to bean...@googlegroups.com
Prasun Ratn wrote:
> ------=_Part_30172_1766701835.1712666165285
> Content-Type: multipart/alternative;
> boundary="----=_Part_30173_1527687050.1712666165285"
>
> ------=_Part_30173_1527687050.1712666165285
> Content-Type: text/plain; charset="UTF-8"
>
> Hello


hello, :)

i have three things added that i don't see you using:

- a prices file
- a commodities file
- the option "operating_currency" "USD"... (so in your case that
would be "INR" instead of "USD")

i'm not sure which ones make the difference, but i hope this helps. :)

fin

Rahul Kuchhal

unread,
Apr 9, 2024, 8:56:02 PM4/9/24
to Beancount
I think the currency to USD might be missing.

Add this to debug.beancount and try again

option "operating_currency" "INR"

Reply all
Reply to author
Forward
0 new messages