Structure determination of Ba5AlF13 by coupling electron, synchrotron and neutron powder diffraction, solid-state NMR and ab initio calculations.