The present invention relates to X-ray generating technology in general. Providing X-ray generating device internal voltage sources or potentials may help reduce necessary feed-throughs into an evacuated envelope of an X-ray generating device. Consequently, an X-ray generating device comprising an electron scattering element is presented. According to the present invention, an X-ray generating device is provided, comprising an electron emitting element 16, an electron collecting element 20 and an electron scattering element 42. A primary electron beam 17a is arrangeable between the electron emitting element 16 and the electron collecting element 20. The electron emitting element 16 and the electron collecting element 20 are operatively coupled for generating X-radiation 14.