The calculation of X-ray absorption structures with relativistic multiconfiguration ab-initio wavefunction approaches helps elucidating metal-ligand bonding in lanthanide and actinide complexes.