Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Minghao Liu
    @molikto
    have you considered relaxing some lexing rules for Beancount? Like for example support Unicode Account names, tags, and currencies. I think the original syntax for Beancount has a lot of restrictions because it's a lex-then-parse parser. but TreeSitter have context-aware-lexing
    Jakob Schnitzer
    @yagebu
    @molikto: That parser is only used in an experimental branch of Fava so far. I don't have any concrete plans to submit it to Beancount - the Beancount parser is still a bit faster for single parsing runs, however in Fava with caching the tree-sitter parser could be faster. Beancount already supports Unicode in account names and I probably also prefer a stricter syntax for tags and currencies, so I didn't consider any changes there.
    Simon Michael
    @simonmichael
    oh hi. Is this where beancount chatters hang out ? I'm usually in freenode #beancount
    similar size, but this room seems a lot more active
    oh, excuse me. This one is for fava.
    m20a
    @m20a_gitlab
    Hi Beancounters,
    I am looking for a way to brake expenses that I pay yearly so that it shows in the report as monthly expenses.
    For e.g. I am paying my gym membership yearly and I want to see how much that cost me monthly, if you know what I mean. Is there any way to do this in either fava or the beancount file?
    m20a
    @m20a_gitlab
    This is very helpful thanks.
    Martin Blais
    @blais
    Hello Beancounters
    matrixbot
    @matrixbot
    xuhcc Hi!
    vinit khandagle
    @vini_tux_twitter
    Hello Beanounters. Good to be here. Just learning how Fava works!!
    Prafulla T
    @prafullat
    hi, Please review : beancount/fava#1118
    @yagebu
    m20a
    @m20a_gitlab
    Hey Beancounters, I have been experementing with the Querey option in fava and now I have a list of commands that I don't really need.
    *Query
    is there any option to delete them ?
    Adam Gibbins
    @adamgibbins
    Everything fava does is manipulate your beancount files, your queries are in there, you can just delete them
    oh you mean on the query screen the remembered queries you've run? That's in your browsers local storage, you can just clear that
    m20a
    @m20a_gitlab
    uh cool I thought it is storing it somewhere. Stupid me didn't try to clear my browser
    thanks for that
    Yan Haonan
    @VegetaPn
    image.png
    Hi everyone. I occur an error when I run fava on pythoneverywhere. What can I do to fix it?
    Jakob Schnitzer
    @yagebu
    You need to set app.config['BEANCOUNT_FILES'] to contain the paths to the files you want to load
    Yan Haonan
    @VegetaPn
    @yagebu Thank you.
    Andre Engelbrecht
    @andrewebdev
    Hey... newbie here to fava and beancount. I'm in a bit of a pickle. I need to prepare tax returns for my business. Issue is my business uses Cryptocurrency for my foreign clients. Basically they pay me in crypto, and then I use that crypto by either converting back to GBP and then paying salary, or just using the crypto debit card directly.
    I've entered all my transactions for the year, and even included weekly historical prices using the "price" directive
    but I cannot find a way to report the "Realized capital gains"
    (or loss)
    2019-06-26 * "EE Top Up"
          Assets:GB:Coinbase:ETH                 -0.04020595 ETH {{10.00 GBP}}
          Expenses:Communications:Mobile               10.00 GBP
    That is how I enter my transactions. Am I missing anything related to reporting the realized capital gains/loss?
    matrixbot
    @matrixbot
    PotterScholar Yeah, you need a line to calculate the gain/loss, let me show you what I'm doing

    PotterScholar ;ethereum purchases
    2017-07-14 * "Coinbase" "Crypto: Ethereum Purchase"
    Assets:Cryptocurrency:Ethereum 0.51772979 ETH {193.15 USD}
    Expenses:Fees 2.99 USD
    Assets:Checking

    ;ethereum sales
    2017-12-07 ! "<person>" "Crypto: Ethereum Sale"
    Assets:Cryptocurrency:Ethereum -2.55155802 ETH {} @ 427.10 USD
    Expenses:Fees 16.24 USD
    Assets:Checking 1089.77 USD
    Income:Other:Investment-Income

    PotterScholar The gains/losses are in Income:Other:Investment-Income, the basis is maintained in Assets:Crypto:Eth, and the gross profits are in the cash account
    Andre Engelbrecht
    @andrewebdev
    ah ok thx... I'll try that
    Andre Engelbrecht
    @andrewebdev
    hmm, that doesn't work in my case. When I add the extra income line for gain/loss, I get a error: too many missing numbers for currency group 'GBP'
    matrixbot
    @matrixbot
    David Yes, the transaction is balanced, so adding more accounts doesn't make sense. Right now your transaction basically says "I sold eth for £10 and spent £10". There's no room for basis info. You need to modify your transaction to credit the account holding your basis in ETH, then you can add the gain/loss income line.
    David I can better explain in a few hours.
    Andre Engelbrecht
    @andrewebdev
    yeah an explanation would be grand. A lot of the terminology used is going a bit over my head and as much as I read through the docs there are still many things that I miss or am confused about.
    Andre Engelbrecht
    @andrewebdev
    This is what that transaction looks like atm
    2019-05-24 * "EE Top Up"
      Assets:GB:Coinbase:ETH                 -0.05392256 ETH {} @ 196.58 GBP
      Expenses:Communications:Mobile               10.00 GBP
      ;Income:Realized:PnL
    and it balances perfectly, so no PnL. The same goes for all my other transactions
    Andre Engelbrecht
    @andrewebdev
    could it because I'm using "NONE" on my accounts instead of "FIFO/LIFO"?
    Andre Engelbrecht
    @andrewebdev
    ok I figured it out. I had to put the exchange rate inside the curlies as well as using @ -price
    ikwtif
    @ikwtif
    Hi Guys. I have a quick question about the fava option collapse-pattern. I just have this in my journal.beancount file, but it tells me "Invalid option: 'collapse-pattern'" . Anyone know why this wouldn't work?
    ikwtif
    @ikwtif
    help tells you to insert it like this : 2020-01-01 custom "fava-option" "collapse-pattern"
    but that just returns syntax errors
    and when I insert it in like this: "fava-option" "collapse-pattern" ".:.:.*" I get the option error
    ikwtif
    @ikwtif
    so I kind of fixed the syntax errors by putting this inside my accounts.beancount file but still nothing collapses
    2001-01-01 custom "collapse-pattern" ".*:"