Re: Optionally make commodity directive mandatory?

2023-12-28 Thread Martin Blais
You're welcome! On Thu, Dec 28, 2023, 20:11 Lover O'Bean wrote: > Yes; while it doesn't address timing, it should be good enough for now: > > https://beancount.github.io/docs/api_reference/beancount.plugins.html#beancount.plugins.check_commodity.validate_commodity_directives > > (Also, while I

Re: Optionally make commodity directive mandatory?

2023-12-28 Thread Lover O'Bean
Yes; while it doesn't address timing, it should be good enough for now: https://beancount.github.io/docs/api_reference/beancount.plugins.html#beancount.plugins.check_commodity.validate_commodity_directives (Also, while I was "in the neighborhood", I noticed another plugin that addresses another

Re: Optionally make commodity directive mandatory?

2023-12-28 Thread Martin Michlmayr
There's a plugin for this: validate_commodity_directives A plugin that verifies that all seen commodities have a Commodity directive. * Lover O'Bean [2023-12-28 17:16]: > I am new to beancount, but would like the option of requiring that each > commodity / currency be created with a

Re: Moving assets between accounts and preserve cost basis?

2023-12-28 Thread Artur Matos
Thanks everyone. I was hoping I could avoid transferring the lots explicitly but it's OK. Thanks. On Saturday 23 December 2023 at 03:41:41 UTC-5 Justus Pendleton wrote: > This may not help you but I figure I'll mention it here since moving cost > basis came up. > > A few years I wrote a

Optionally make commodity directive mandatory?

2023-12-28 Thread Lover O'Bean
I am new to beancount, but would like the option of requiring that each commodity / currency be created with a commodity directive before being used, in the same way that accounts require an open directive before being used. For example, if I declare AIRMILES.WN (IATA code) today but two years

Re: Labeling/ marking Accounts

2023-12-28 Thread 'Patrick Ruckstuhl' via Beancount
Hi nugget, yes you can add metadata also on an account level. You add it on the open directive. There is even bean query support for it OPEN_META(str)': Get the metadata dict of the open directive of the account. 2016-10-07 open Income:Foo CHF   tax_relevant: true Regards,

Labeling/ marking Accounts

2023-12-28 Thread nug get
Hi all I started a basic tax-forecast plugin for Switzerland. One key ingredient is the providing of a list of all accounts that are subject to income and wealth taxation. My current working prototype