In the context of Lebesgue integration the Gauss–Green theorem is proved for bounded vector fields with substantial sets of singularities with respect to continuity and differentiability. The resulting integration by parts is applied to removable sets for the Cauchy–Riemann, Laplace, and minimal surface equations. A simple connection between the Gauss–Green theorem and distributional divergence is established.