Script to compute Adjusted Cost Base (Canadian Rule)

54 views
Skip to first unread message

Damien R.

unread,
Jun 7, 2025, 7:16:05 PM6/7/25
to Beancount
Hi,

Just in case this might be of interest to other people, I've created a script called bean-acb that helps with tracking the Adjusted Cost Base (ACB) for a property. This rule is used in Canada to compute the capital gain that must be declared when disposing of a property.

This is a bit painful to track, especially if you trade in another currency than canadian dollar, so the script takes care of converting to CAD if necessary (and yell at you if you haven't provided the exchange rate on which a transaction of interest occurred).

I should add the usual disclaimer that you must not use that script for your taxes, it hasn't been tested extensively and might contain errors, but at least it can give you an idea of the capital gains to declare.

Cheers,
Damien

Martin Blais

unread,
Jun 7, 2025, 10:43:10 PM6/7/25
to bean...@googlegroups.com
Thanks for sharing! Added to contribs dco.


--
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 view this discussion visit https://groups.google.com/d/msgid/beancount/8e3590c1-201b-4eef-81fe-5a68456c313fn%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages