For biological realism, models of learning in neuronal networks often assume that synaptic plasticity solely depends on locally available signals, in particular only on the activity of the pre- and post-synaptic cells. As a consequence, synapses influence the plasticity of other synapses exclusively via the post-synaptic activity. Inspired by recent research on the properties of apical dendrites it has been suggested, that a second integration site in the apical dendrite may mediate specific global information. Here we explore this issue considering the example of learning invariant responses by examining a network of spiking neurones with two sites of synaptic integration. We demonstrate that results obtained in networks of units with continuous outputs transfer to the more realistic neuronal model. This allows a number of more specific experimental predictions, and is a necessary step to unified description of learning rules exploiting timing of action potentials.