Fred:

On 2026-02-28 11:52, Fred Tydeman wrote:
I am running GnuCash 5.12 on Fedora Linux 41

I am importing stock transactions from an old Quicken.
Many of those transactions have a small commission
    (due to rounding error in price).
Those transactions end up in GnuCash with 5 splits:
   stock
   cash
   commission
   trading (stock)
   trading (cash)
I try to remove the commission split by deleting
   commission
   trading (stock)
   trading (cash)
When I click on Enter, those three splits reappear.

If I change the dollar amount in the trading (cash) split,
it reverts back to the previous value when I press Enter.

What is the correct way to remove the commission split?

I can't see what you are seeing, and I don't enter many stock transactions, so the best I can do is guess.

I suspect that the trading (stock) and trading (cash) splits are to trading accounts. GnuCash enters them to make the sum of all stock splits in the transaction, and of all cash splits in the transaction, sum to zero.

If the non-Trading splits ever sum to something other than zero, GnuCash will add a corresponding Trading split. Thus deleting them does no good. You must instead ensure that the other splits sum to zero.

GnuCash does not store the cash amount of a stock split. It just stores the number of shares, and the price.  It calculates the cash amount by multiplying these two numbers. The number of shares in the transaction is an external fact from the brokerage statement. So is the cash value which the brokerage says you have. Thus you have to use those exact numbers.  However, the price is under your control.

To drive the Trading split to zero, use the Transfer Funds dialogue, and the "To Amount" field. This forces GnuCash to set the price to that exact fraction which, when multiplied by the number of shares, gives you the cash amount you want.  This might well mean that the price you see in GnuCash is different than the price reported by the brokerage. That is fine.

Does that help?  Best regards,
      —Jim DeLaHunt

P.S. useful information on Trading Accounts <https://wiki.gnucash.org/wiki/Trading_Accounts>.


_______________________________________________
gnucash-user mailing list
[email protected]
To update your subscription preferences or to unsubscribe:
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.

Reply via email to