Hi Martin,

I understand that generally balance assertions are relevant only for 
balance sheet accounts. However, I have a use case to use them on Income 
and Expense accounts, and I wonder what your advice would be on going about 
writing these assertions.

I'd like to assert that, say, between 1 Jan and 31 Dec 2015, the "balance" 
in Income:Interest is XX. I have declared this amount in my tax return and 
would therefore like an assertion to prevent this amount changing 
"accidentally" in the future. The other purpose of doing this is to help 
with reconciliation at the end of the year. Example: a broker sends me what 
it's record of Income:ShortTermGains is, and I'd like to make sure my 
entries of the gains add up to the same value.

I see a couple of ways of doing it:

1. Writing assertions of actual balances rather than the "this years 
balance". Easiest to do, but makes the entries hard to read.

2. Writing a plugin that adds entries for each year and matches against 
given targets. 

Is there a simpler way? Or an alternative approach to handle the use case?

Thanks
Alok

-- 
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/010bc7ff-fa41-4720-8524-f40badd2f791%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to