A constant phase leaves the photon unchanged and makes every QED interaction vertex invariant: its one and one acquire opposite phases. Thus the propagators and vertex factors in the QED Feynman rules are unchanged. A Green function with insertions of and of acquires the phase . For an invariant vacuum it can be nonzero only when its total inserted charge is zero.
Equivalently, the conserved charge operator commutes with the S-matrix. If initial and final states have charges , then
The scattering charge selection rule from global gauge symmetry is therefore
In diagrams the oriented fermion lines preserve charge at every vertex, and a photon is neutral. Pair creation is allowed because a particle and its antiparticle have opposite charges. Global phase invariance supplies this selection rule; local gauge invariance supplies the stronger momentum-dependent Ward-Takahashi identity.