Yes, IBKR actually confirmed exactly this to me: in the opening transactions, fees get included in the cost bases. not so in the closing transactions. This seems the standard, so rather a general thing than a IBKR-specific issue.
What would be the beancounter's way of handling this?
I dont know anything better than manually resolving the "No position matches" errors one at the time by matching and correcting the cost bases. Since my personal investment style does not involve too many individual trades this works for me, but i assume this gets out of hand quickly for more active folks?
How is everyone else going about this?