On 16/09/2020 18:27, redst...@gmail.com wrote:
>     > B) Hide the conversion by booking it into a holding account:
>     > 2020-01-01 * "Furniture"
>     > Liabilities:CreditCard -30 EUR
>     > Liabilities:Hold -35 USD @ 0.75 EUR
>     > Liabilities:Hold 30 EUR
>     > Expenses:Table 25 USD
>     > Expenses:Chair 15 USD
> 
>     Your example does not balance, but even after fixing the math, I am not
>     sure it would owrk as intended: a transaction like
> 
>     2020-09-16 * "Test"
>     Liabilities:Hold -20 USD @ 0.75 EUR
>     Liabilities:Hold 15 EUR
> 
>     balances, but is not zero sum.
> 
> 
> What do you mean by "not zero sum"? How does this affect you?

This transactions balances to:

Assets
Equity
Expenses
Income
Liabilities:Hold    15.00 EUR
Liabilities:Hold   -20.00 USD

because a cost and not a price is (correctly) used to convert from USD
to EUR. This makes it very difficult to define an invariant on the
Liabilities:Hold account and thus check that no mistakes have been made
in the booking.

Cheers,
Dan

-- 
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/f2cbf080-4e73-347b-d2ac-0e7444825cda%40grinta.net.

Reply via email to