For the first issue: balance is made at the beginning of the day, so if you
want to assert on the ending balance on 2016-01-02, you should write it on
2016-01-03.

I think there were some discussions about adding a closing_balance
directive or something so you can assert on closing balance instead of
opening balance.

On Sun, Jun 5, 2016 at 11:28 PM, Daniël Bos <[email protected]> wrote:

> Hi Martin,
>
> Are you aware of the following issues:
>
> 1. Sort order (?) is incorrect. If I have a Pad and a Balance on the same
> date, the Balance applies first, causing an error:
>
> 2016-01-01 balance Assets:Bank 1,000.00 CNY
> 2016-01-02 pad Assets:Bank Expenses:Groceries
> 2016-01-02 balance Assets:Bank 900.00 CNY
>
> I'd expect pad/padding to be applied before balance assertions.
>
> 2. Paddings involving the same account don't work, even when they're
> unambiguous:
>
> 2016-01-04 pad Expenses:Unknown Assets:Bank
> 2016-01-05 pad Assets:Bank Expenses:Groceries
> 2016-01-06 balance Expenses:Unknown 100.00 CNY
> 2016-01-07 balance Assets:Bank 700.00 CNY
>
> I've had to deal with these cases a couple of times, and had to resort to
> writing the transaction manually, which isn't ideal.
>
> Best regards,
> Daniël Bos
>
> --
> 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 post to this group, send email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/beancount/CADPdpKbe_iE6fT5osz1yA3CYFmwou2s1OppXHtL%2BCoOy-a-yfg%40mail.gmail.com
> <https://groups.google.com/d/msgid/beancount/CADPdpKbe_iE6fT5osz1yA3CYFmwou2s1OppXHtL%2BCoOy-a-yfg%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Yuchen Ying
http://about.me/yegle

-- 
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 post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beancount/CAFL5w3W2WsnEx00GhF1hHoq322EXyPXvx4dmRjQ1ydHBRpJCZw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to