Electronic structure and soft-X-ray-induced photoreduction studies of iron-based magnetic polyoxometalates of type {(M)M5}12Fe(III)30 (M = Mo(VI), W(VI)).