Hello everybody,

My main currency is EUR, but sometimes I buy something in USD. When I do 
that the payment provider (i.e. PayPal) automatically converts between USD 
and EUR and pulls the EUR amount from my checking account.

This is how I track this in beancount:

2021-01-01 open Expenses:Electronics
2021-01-01 open Assets:Checking EUR

2021-01-01 * "Buy something in USD"
  Expenses:Electronics                               20.00 USD @@ 18.00 EUR
  Assets:Checking                                   -18.00 EUR

I would now like to get a report with these columns:
- date
- narration
- posting (in the currency it was made)
- posting in EUR
- running total in EUR

I tried to play around with bean-query, but the convert function did not 
work as I expected. It did not convert to EUR unless I provided a specific 
date. But I don't want to convert at just one specific date. I want to 
convert using the same rate that was also used in the transaction.

What is the way to do this?

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beancount/250c7d44-4f50-4aba-a529-732a34083199n%40googlegroups.com.

Reply via email to