I have 3 operating currencies: US dollars, Australian dollars, and Vietnamese dong. I have assets, income, and expenses in all three currencies. When I run
bean-report my.beancount networth I see inconsistent results that confuse. Any guidance on what is wrong (or what I'm doing wrong) or pointers on what I can debug would be appreciated.
Scenario 1.
They are listed in this order at the top of my file.
option "operating_currency" "USD"
option "operating_currency" "AUD"
option "operating_currency" "VND"
The report looks like (numbers are made up, but representative of reality)
Currency Net Worth
-------- ------------
USD 2,378
AUD 3,230
-------- ------------
That's mostly what I would expect...my networth in USD is $X. Use the current exchange rate to also show it in AUD.
Except where is the VND?
Scenario 2.
All I do is change the order in which the operating currencies are declared. I move VND to the middle.
option "operating_currency" "USD"
option "operating_currency" "VND"
option "operating_currency" "AUD"
The reports looks like:
Currency Net Worth
-------- -----------------
USD 2,378
VND 53,693,828
-------- -----------------
Again, this looks like what I expect. Except now AUD has disappeared.
Scenario 3.
This time I move VND to the top of the list.
option "operating_currency" "VND"
option "operating_currency" "USD"
option "operating_currency" "AUD"
The report:
Currency Net Worth
-------- -----------------
VND 48,888,443
USD 2,165
AUD 2,941
-------- -----------------
One step forward, two steps back. Now it shows all three currencies (yay!) but...the numbers have changed and are now wrong. Some of my wealth has disappeared :)
Also...why does just changing the ordering matter? It doesn't seem like it should.