Hyperbolic balance laws: residual distribution, local and global fluxes