Works for me

** Transaction Id --------------------------------

Hash:33752ecb8bea03302f9f5c691cf34f8a
Location: /home/blais/q/beanbugs/user/erikhenrikssn/2022-01-30.beancount:3


** Balances before transaction --------------------------------

  Assets:US:Schwab:Hooli


  Income:Salary:TY2017:Hooli:GSU


  Assets:US:Hooli:Unvested:C123456


  Expenses:Hooli:Vested



** Unbooked Transaction --------------------------------

2017-02-25 * "Hooli GSU Vest Event"
  Assets:US:Schwab:Hooli             1 HOOL {828.64 USD}   ;
  Income:Salary:TY2017:Hooli:GSU       CHF @ 1.007753 USD  ;    USD
  Assets:US:Hooli:Unvested:C123456  -1 HOOL.UNVEST         ; -1 HOOL.UNVEST
  Expenses:Hooli:Vested              1 HOOL.UNVEST         ;  1 HOOL.UNVEST


** Transaction --------------------------------

2017-02-25 * "Hooli GSU Vest Event"
  Assets:US:Schwab:Hooli                                         1 HOOL
{828.640000 USD, 2017-02-25}  ;                         828.64 USD
  Income:Salary:TY2017:Hooli:GSU    -822.2649796130599462368258889 CHF @
1.007753 USD                 ; -828.6400000000000000000000000 USD
  Assets:US:Hooli:Unvested:C123456                              -1
HOOL.UNVEST                        ;                             -1
HOOL.UNVEST
  Expenses:Hooli:Vested                                          1
HOOL.UNVEST                        ;                              1
HOOL.UNVEST


** Residual and Tolerances --------------------------------

Basis: (828.64 USD)


** Balances after transaction --------------------------------

* Assets:US:Schwab:Hooli                              1 HOOL {828.64 USD,
2017-02-25}

* Income:Salary:TY2017:Hooli:GSU
-822.2649796130599462368258889 CHF

* Assets:US:Hooli:Unvested:C123456                                     -1
HOOL.UNVEST

* Expenses:Hooli:Vested                                                 1
HOOL.UNVEST



Use bean-doctor context to figure out why.


On Mon, Jan 17, 2022 at 4:01 AM Erik <[email protected]> wrote:

> I have this in my ledger:
>
> 2017-02-25 * "Hooli GSU Vest Event"
>   Assets:US:Schwab:Hooli               1 HOOL {828.64 USD}
>   Income:Salary:TY2017:Hooli:GSU     CHF @ 1.007753 USD
>   Assets:US:Hooli:Unvested:C123456  -1 HOOL.UNVEST
>   Expenses:Hooli:Vested              1 HOOL.UNVEST
>
> /config/beancount/schwab.beancount:81:      Transaction does not balance:
> (0.00501822 USD)
>
> Why doesn't this balance? Shouldn't the amount going to row 2 be
> determined so that the transaction does balance?
>
> I'm using 0.005 default inferred tolerance for both USD and CHF, and I am
> using Beancount version 2.3.4.
>
> Thanks,
> Erik
>
> --
> 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/76039ce4-cb03-432b-9468-1eecb01fb1edn%40googlegroups.com
> <https://groups.google.com/d/msgid/beancount/76039ce4-cb03-432b-9468-1eecb01fb1edn%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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/CAK21%2BhMBVxZAbD%3Du%2BMLDpgUgj2oMbXd1GZp5Vku2E407%2BRKb2A%40mail.gmail.com.

Reply via email to