Proof (divergence theorem)
We can assume $\v F(\v x)=F(\v x)\vhat z$, since $\v F$ can be split into components.
Then $$\begin{align*} \int_V \nabla\cdot\v F\,dV &= \int_D \,dA \int_{z_-(x,y)}^{z_+(x,y)} dz \pdfd Fz \\ &=\int_D\big(F(x,y,z_+(x,y))-F(x,y,z_-(x,y))\big)\,dA \end{align*}$$ where $D$ is the region on $(x,y)$-plane of $V$ and $z_-(x,y)$ and $z_+(x,y)$ are the appropriate bounds of $V$. (If $D$ is not convex, split it into more pieces.)
Consider the surface element $d\v S_+$ at $(x,y,z_+(x,y))$. Since projecting the area $d\v S_+$ onto the $(x,y)$-plane gives $dA$, $$ \vhat z\cdot d\v S_+ = dA. $$ For $d\v S_-$ at $(x,y,z_-(x,y))$, the normal vector points outwards, so $$ \vhat z\cdot d\v S_- = -dA. $$
Using these results, $$\begin{align*} \int_V \nabla\cdot\v F\, dV &= \int_{\partial V_+} \v F\cdot d\v S_+ +\int_{\partial V_-}\v F\cdot d\v S_- \\ &= \int_{\partial V}\v F\cdot d\v S \end{align*}$$ as required.