Basically when tax is resolved it is entered as a separate transaction (see Dividends with Imputation Credits)