Charging in the vortex lattice of type-II superconductors