reconcilation via balance assertion

Skip to first unread message

Saša Janiška

unread,
Oct 21, 2016, 5:03:41 PM10/21/16
to bean...@googlegroups.com
Hello,

when I was using Gnucash, then reconcillation was easy and for few
account I was doing it monthly by assestion the end of month’s balance.

Now, with Beancount I’m not sure how to it - I’ve tried with balance
assertion like:


2016-09-30 ! "NLB" "interest"
Assets:Bank:NLB 0.01 EUR
Income:Interest-EU -0.01 EUR

2016-09-30 ! "NLB" "banking fee"
Expenses:Bank:NLB:Fees 1.80 EUR
Assets:Bank:NLB -1.80 EUR


2016-09-30 balance Assets:Bank:NLB 701.25 EUR

but it fails with:

Balance failed for 'Assets:Bank:NLB': expected 701.25 EUR != accumulated
703.05 EUR (1.80 too much)

2016-09-30 balance Assets:Bank:NLB 701.25 EUR

I know that one of the differences between Ledger and Beancount is that
Ledger does parsing chronologically and then since the assertion
statement comes *after* transactions (which are, btw., usual for the end
of the month when the bank gives some interest and/or takes its fee the
checking accounts) it works in Ledger, but wonder how to solve it in
Beancount?

Of course, if I change the date of balance assestion to e.g. 2016-10-01
then it fits, but the problem is that I’d like to have balance
assesrtion at the end of the month since, beginning of new month might
already bring new transcations into the play?


Sincerely,
Gour


--
Even a man of knowledge acts according to his own nature, for
everyone follows the nature he has acquired from the three modes.
What can repression accomplish?

yegle

unread,
Oct 21, 2016, 5:18:47 PM10/21/16
to Beancount
There was a discussion about ading closing_balance directive but I'm not sure if it's going to be implemented.

--
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+unsubscribe@googlegroups.com.
To post to this group, send email to bean...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/beancount/877f91bek6.fsf%40atmarama.com.
For more options, visit https://groups.google.com/d/optout.



--

Saša Janiška

unread,
Oct 21, 2016, 5:42:39 PM10/21/16
to bean...@googlegroups.com
yegle <cny...@gmail.com> writes:

> There was a discussion about ading closing_balance directive but I'm
> not sure if it's going to be implemented.

Thanks.

Otoh, I re-read the docs and found out that “Beancount’s balance
assertions are separate directives that are applied at the beginning of
the date for which they are declared”, so in my case it’s proper to use

2016-10-01 to assert balance for the end of September, right?


Sincerely,
Gour

--
A person who has given up all desires for sense gratification,
who lives free from desires, who has given up all sense of
proprietorship and is devoid of false ego — he alone can
attain real peace.

yegle

unread,
Oct 21, 2016, 7:03:51 PM10/21/16
to bean...@googlegroups.com

Right, that's what I use.


--
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+...@googlegroups.com.

To post to this group, send email to bean...@googlegroups.com.

Martin Blais

unread,
Oct 21, 2016, 11:07:47 PM10/21/16
to Beancount
On Fri, Oct 21, 2016 at 5:42 PM, Saša Janiška <go...@atmarama.com> wrote:
yegle <cny...@gmail.com> writes:

> There was a discussion about ading closing_balance directive but I'm
> not sure if it's going to be implemented.

Thanks.

Otoh, I re-read the docs and found out that “Beancount’s balance
assertions are separate directives that are applied at the beginning of
the date for which they are declared”, so in my case it’s proper to use

2016-10-01 to assert balance for the end of September, right?

Yes.
(Half-open intervals everywhere makes for a more consistent system.)


Sincerely,
Gour

--
A person who has given up all desires for sense gratification,
who lives free from desires, who has given up all sense of
proprietorship and is devoid of false ego — he alone can
attain real peace.
--
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+unsubscribe@googlegroups.com.
To post to this group, send email to bean...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages