Hi! I live in Denmark, and under danish law, we must compute capital gains for a given stock using the average cost basis. To avoid accumulating rounding errors, this is done by keeping track of the total purchase price rather than the price per share. When we sell, the gain or loss is computed and rounded to two digits, and the gain/loss of the year is the sum of those rounded values.
If I have shares of the same commodity in different banks, the cost basis must be considered together. But shares that I own are not counted together with shares owned by my husband. So for each commodity, I actually need two "global" counters: the total purchase price of the commodity for each person. My current plan is to have an account called "Assets:CostBasis:Alice:IUSA" that keeps track of the total purchase price for the commodity IUSA for Alice. Then adjust it up or down each time I buy something. I can book the other end of the transaction to the "Assets:CostBasis" account so that everything sums to zero and doesn't affect the net worth. Danish law also mandates taxation of unrealized gains on some assets. I'm thinking that I can do this by having a transaction at the end of year that increases the purchase price to the current market value. Thoughts? Is there a better way to do this? Alice -- 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 visit https://groups.google.com/d/msgid/beancount/bf6c8b26-e891-4296-a49c-de4bb38b37b9n%40googlegroups.com.
