Interest Earned
is inputInterest Charged
is output
The two are not joined.
My view is while cost basis does not affect the portfolio performance it is a real part of ETFs affecting the security and can be modelled with the above hack (effectively redeeming the security and reaquiring it with a cash deposit/removal to adjusted cost base).