You should have got a dividend statement showing the gross amount and the imputation credits applied. Generally gross less imp credit is the declared dividend

Both are declared in your annual tax return