Advanced Portfolio Report

David Carlson david.carlson.417 at gmail.com
Wed Feb 12 10:48:26 EST 2014


On 2/11/2014 2:11 PM, Alun Champion wrote:
> Maybe I've missed something.
> Why do we need to distinguish between them. The dividend income
> reduces the cost basis, and the subsequent purchase is treated the
> same as any normal purchase of the stocks (increases number of shares
> and increase cost basis).
> Is there really anything special about the second purchase other that
> it is done automatically and limited to the amount you receive as a
> dividend.
> The problem with a single transaction is the attribution is wrong. The
> expenses do not reduce the income but increase the cost basis for the
> purchase. Income should remains 374.92, cost basis for the purchase of
> 374.22 (366.95 + expenses)
> Do the expenses get double counted both as an increase in the cost
> basis + a decrease in the income or only the latter? If only the
> latter then the totals still remain correct, but the attribution is
> wrong.
>
> On 11 February 2014 11:52, Richard Ullger <rullger at gmail.com> wrote:
>>
>> On 11/02/14 06:25, Mike Alexander wrote:
>>> --On January 28, 2014 12:33:09 AM +0000 Richard Ullger
>>> <rullger at gmail.com> wrote:
>>>
>>>> If the income is entered as a split of a dividend reinvestment where
>>>> you have a stock purchase, the income recorded on the report is the
>>>> consideration of 366.95 instead of the actual income of 374.92. For
>>>> example,
>>>>
>>>> Acc        Tot Buy        Tot Sell
>>>> Stock Account    366.95
>>>> Commission    3.66
>>>> Stamp Duty    1.83
>>>> Cash                372.44
>>>> Income            374.92
>>>> Cash        374.92
>>> I'm working on the advanced portfolio report to try to make it handle
>>> this better.  It's non-trivial to fix, but I think I know how to do it.
>>> However, I have a question about the way these transactions are handled.
>>>
>>> This transaction leaves 2.48 of the dividend unspent and held in the
>>> Cash account.  I gather that this is an account that can only be used to
>>> round up future dividend transactions to an integral number of shares.
>>> Is this correct?
>> In this particular account, any unspent dividend is not rolled up for
>> future automatic reinvestment and remains unspent. The remaining cash is
>> available for other purchases.
>>
>> I have in the past had an account for employee share ownership where the
>> dividends were segregated and used to purchase the maximum number of
>> whole shares. Any unspent dividend would be used in future dividend
>> reinvestment purchases.
>>
>> In either case it was not possible to purchase a fraction of a share in
>> a company. It was however possible to purchase a fraction of a unit in a
>> Fund and in the case of a fund holding, the whole dividend would be used.
>>
>>> The problem is that this money will look like new
>>> money invested in the stock when it is used in a future dividend
>>> transaction, but that's not really correct.  The problem is even worse
>>> if you put the entire dividend into the Cash account and then use some
>>> of it to reinvest in a separate transaction.  Then the entire dividend
>>> looks like money in.  I guess the solution would be to somehow recognize
>>> this Cash account as special, assuming I'm understanding how it is used,
>>> and not count money coming from it as money in to the stock account.
>> There is nothing special about the cash account. It is a cash account at
>> my broker that contains cash that is available to invest. It receives
>> cash that I transfer in from my bank account for me to purchase shares.
>> It receives cash from dividend and interest income and also from share
>> sales. The cash account is set up within gnucash as an account under a
>> broker parent account and at the same sub-account level as each of the
>> stock accounts.
>>
>> ...:Broker
>>    Cash
>>    Stock1
>>    Stock2
>>    ...
>> ...:Another Broker
>>    Cash
>>    Stock1
>>    Stock2
>>    ...
>>
>> The only difference between cash that I have put in myself and dividend
>> income is that dividend income is entered into into the stock account
>> and investment cash is not. It should be noted that the cash account
>> receives dividend income from any of the stock accounts under the broker.
>>
>> In my mind, money in is money used for share purchases that I have put
>> in myself (capital employed) and does not include dividend or interest
>> income. I would expect it to include charges for the original purchase
>> but not for the dividend reinvestment, where charges are paid from the
>> dividend. So money in would be the total purchase price of my original
>> investment and any subsequent investment not derived from dividend
>> income. Dividend/interest income can be identified as money entered into
>> a stock account containing a split to a sub-account of the income top
>> level account. Money in can be identified as the money used in a stock
>> account purchase that is not entered against the stock account as
>> income. Taking the above dividend reinvestment transaction as an example
>> (I have excluded some of the sub-account levels for brevity), income
>> would be £374.92, money in would be £0.00.
>>
>> Recorded as one transaction:
>>
>> Asset:Broker:Stock Account - 366.95 (Buy)
>> Expenses:Commission - 3.66 (Buy)
>> Expenses:Stamp Duty - 1.83 (Buy)
>> Asset:Broker:Cash - 372.44 (Sell)
>> Income:Dividend Income - 374.92 (Sell)
>> Asset:Broker:Cash - 374.92 (Buy)
>>
>> Recorded as two separate transactions:
>>
>> Dividend income transaction:
>> Asset:Broker:Stock Account - Blank split
>> Income:Dividend Income - 374.92 (Sell)
>> Asset:Broker:Cash - 374.92 (Buy)
>>
>> Reinvestment transaction [1]:
>> Asset:Broker:Stock Account - 366.95 (Buy)
>> Expenses:Commission - 3.66 (Buy)
>> Expenses:Stamp Duty - 1.83 (Buy)
>> Asset:Broker:Cash - 372.44 (Sell)
>>
>> For an initial investment (if I were buying the shares with my own
>> money) [2], income would be £0.00, money in would be £372.44:
>>
>> Asset:Broker:Stock Account - 366.95 (Buy)
>> Expenses:Commission - 3.66 (Buy)
>> Expenses:Stamp Duty - 1.83 (Buy)
>> Asset:Broker:Cash - 372.44 (Sell)
>>
>> As you can see, the initial investment [2] and the reinvestment (when
>> entered as a separate transaction) [1] are identical, so I'm not sure
>> how you would distinguish between the two in respect of money in. I
>> currently enter dividend reinvestment transactions as a single
>> transaction containing a split for the income and in this respect, apart
>> from not including the charges, the money in column on the report in
>> v2.6.1 correctly excludes any reinvestments. I don't know what its
>> behaviour would be if the income and reinvestment transactions were
>> recorded separately.
>>
>> Regards,
>>
>> Richard.
>> _______________________________________________
>> gnucash-user mailing list
>> gnucash-user at gnucash.org
>> https://lists.gnucash.org/mailman/listinfo/gnucash-user
>> -----
>> Please remember to CC this list on all your replies.
>> You can do this by using Reply-To-List or Reply-All.
> _______________________________________________
> gnucash-user mailing list
> gnucash-user at gnucash.org
> https://lists.gnucash.org/mailman/listinfo/gnucash-user
> -----
> Please remember to CC this list on all your replies.
> You can do this by using Reply-To-List or Reply-All.
>

In the US, your third sentence "The dividend income reduces the cost
basis..." does not apply to the tax code computation for capital gains
or losses.  However, round trip (purchase and sale) commissions do
reduce the cost basis and net capital gain or loss in this country.  I
believe that is not true in some other countries.  If not, then perhaps
the report could use an option for US computation versus Canada or
Australia, for example.

David C


More information about the gnucash-user mailing list