Re: Beancount - Income and Expenses Signs

405 views
Skip to first unread message

Martin Blais

unread,
Jul 2, 2017, 10:16:18 PM7/2/17
to Beancount
On Wed, Jun 28, 2017 at 2:00 AM, Kunal A. <kuna...@gmail.com> wrote:

I have a question about the direction of accounts(credit/debit) in Beancount.

Usually in Ledger I would have had :-
Revenue/Income (-)
Assets (+/- )

Assets is +

 
Liabilities (+/- )

Liabilities is -

 
Expenses (+)

I am not sure if the same applies for Beancount particularly because Fava has a nice interface that shows Income and expenses with a graph and having Income in negative would look a bit odd.

I have a feature request to render all amounts with corrected signs (absolute value expected to be positive).
Internally nothing would change, however.
This is possible because all amounts from postings have an associated account, so the signs can be corrected.


Let me know your view on the above.

Other notes:

The signs are the usual ones. It's possible from time-to-time that an account temporarily holds a balance of a different sign.

Postings (changes) to assets and liabilities accounts can be of either sign.
Postings to expenses accounts are nearly always positive.
Postings to income accounts are nearly always negative.


Another interesting feature I found was was the TreeMap and I was wondering if it is possible to use expressions to reduce the depth of the Treemap?
For example i would have:

Expenses;Cafe:TeaHome
Expenses:Cafe:Starbucks
Expenses:Restaurant:McDonald
Expenses:Restaurant:PizzaHut

I would only want to get a reporting for the subheading of Cafe/Restaurant and now the lower levels(TeaHome,Starbucks etc..
Is this possible? I still need to get familiarized with BQL so  I haven't tried using it yet.

You'd write some custom script to do that.
I have an old test I did here:

I think this type of thing is supported in Fava.



Thanks
Kunal A.


--
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 beancount+unsubscribe@googlegroups.com.
To post to this group, send email to bean...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/beancount/77642c6b-ef01-4473-bfcc-a10d90222edf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages