In brief: ' 1. EUR {{100. HUF}} ' is incorrect syntax for what you're 
trying to do. Read the documentation (it's awesome) and it should be 
obvious.

On Sunday, June 21, 2020 at 11:14:07 PM UTC-7 Máté Farkas wrote:

> Hi,
>
> I tried to import to beancount my 11k transactions of 15 years.
>
> It works pretty well, except with the account with different currency. (I 
> was able to eliminate the No Position Matches errors using "NONE" booking 
> method, but fava has a bug <https://github.com/beancount/fava/issues/855>, 
> so I cannot hide the account which was closed years ago.)
>
> Here is a minimalistic example, how can I make it working (without setting 
> booking method to "NONE"):
>
> option "title" "Currency account test"
> option "operating_currency" "HUF"
>
> 2020-01-01 open Income:Test
> 2020-01-01 open Expenses:Test
> 2020-01-01 open Assets:Test EUR "AVERAGE"
>
> 2020-01-02 price EUR 100. HUF
> 2020-01-02 *
>   Assets:Test       1. EUR {{100. HUF}}
>   Income:Test    -100. HUF
>
> 2020-01-03 price EUR 200. HUF
> 2020-01-03 *
>   Assets:Test       1. EUR {{200. HUF}}
>   Income:Test    -200. HUF
>
> 2020-01-04 price EUR 150. HUF
> 2020-01-04 *
>   Assets:Test      -2. EUR {{300. HUF}}
>   Expenses:Test   300. HUF
>
> Versions:
>
>    - fava, version 1.15
>    - Beancount 2.3.0
>    
> Thank you in advance,
> Máté.
>

-- 
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 beancount+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beancount/e15ac71a-e01a-44f0-aa73-12486a0a3ff2n%40googlegroups.com.

Reply via email to