In the crystal structure of the title compound, C(6)H(6)N(3) (+)·C(6)H(2)N(3)O(7) (-), anions and cations are linked into chains along [010] by inter-molecular N-H⋯O hydrogen bonds. These chains are further stabilized by weak C-H⋯O hydrogen bonds and π-π stacking inter-actions with a centroid-centroid distance of 3.908 (1) Å.