The core-hole excitation spectra-near-edge x-ray absorption spectroscopy (NEXAFS), x-ray emission spectroscopy (XES), and x-ray photoelectron spectroscopy (XPS) shake-up satellites have been simulated at the level of density functional theory for the azafullerene C 59 N and its derivatives (C 59 N) + , C 59 HN, (C 59 N) 2 , and C 59 N-C 60 , in which the XPS shake-up satellites were simulated using our developed equivalent core hole Kohn-Sham (ECH-KS) density functional theory approach [B. Gao, Z. Wu, and Y. Luo, J. Chem. Phys. 128, 234704 (2008)] which aims for the study of XPS shake-up satellites of large-scale molecules. Our calculated spectra are generally in good agreement with available experimental results that validates the use of the ECH-KS method in the present work. The nitrogen K-edge NEXAFS, XES, and XPS shake-up satellites spectra in general can be used as fingerprints to distinguish the azafullerene C 59 N and its different derivatives. Meanwhile, different carbon K-edge spectra could also provide detailed information of (local) electronic structures of different molecules. In particular, a peak (at around 284.5 eV) in the carbon K-edge NEXAFS spectrum of the heterodimer C 59 N-C 60 is confirmed to be related to the electron transfer from the C 59 N part to the C 60 part in this charge-transfer complex. © 2014 AIP Publishing LLC.