Beangulp: create transaction with currency conversion.

67 views
Skip to first unread message

vijayvithal jahagirdar

unread,
Oct 31, 2024, 12:52:13 PM10/31/24
to Beancount
I have an csv file with transactions in a currency different from my default currency.
I want to generate transaction like these
Income:CUR1:FOO -6886 CUR1 @81.66 INR

My beangulp script currently generates
Income:CUR1:FOO -6886 CUR1
I have a script which fetches the exchange rate on that date. say `get_rate(date)`
How do I use this information to convert the generated Transaction to the desired one?

Reply all
Reply to author
Forward
0 new messages