Well you have everything except the assets account:
bean-query test.beancount 'select date, number, account where account ~
"Expenses:" '
Just write a bit of Python.
On Tue, Nov 30, 2021 at 4:07 PM Daniele Nicolodi wrote:
> On 30/11/2021 19:41, Varac wrote:
> > For tax consultency I need to
On 30/11/2021 19:41, Varac wrote:
For tax consultency I need to export an csv file which lists my
transactions in this format (only fields relevant to my question given):
date, amount, account_from, account_to
I.e. given this transaction:
2021-11-30 txn "Shopping"
Assets:Beans
If you are at all familiar with Python, I'd do this by hand in code by
looping over the transactions and postings within rather than trying to
fiddle with BQL.
Here's some inspiration:
https://github.com/beancount/beancount/blob/v2/beancount/projects/export.py
Once you are familiar with a few API
For tax consultency I need to export an csv file which lists my
transactions in this format (only fields relevant to my question given):
date, amount, account_from, account_to
I.e. given this transaction:
2021-11-30 txn "Shopping"
Assets:Beans -10 EUR
Expenses:Unneccessary