  We discuss density functional theory calculations of hybrid inorganic/organic
systems (HIOS) that explicitly include the global effects of doping (i.e.
position of the Fermi level) and the formation of a space-charge layer. For the
example of tetrafluoro-tetracyanoquinodimethane (F4TCNQ) on the
ZnO(000$\bar{1}$) surface we show that the adsorption energy and electron
transfer depend strongly on the ZnO doping. The associated work function
changes are large, for which the formation of space-charge layers is the main
driving force. The prominent doping effects are expected to be quite general
for charge-transfer interfaces in HIOS and important for device design.
