$$ S[\phi]~=~\int_V \mathrm{d}^nx ~{\cal L}, \tag{1}$$$$ S_V[\phi]~=~\int_V \mathrm{d}^nx ~{\cal L}, \tag{1}$$
$$ {\cal L}(\phi(x),\partial\phi(x),x). \tag{2}$$$$ {\cal L}(\phi(x),\partial\phi(x),x).\tag{2} $$
It is implicitly assumed that under a variation the integration region $V$ changes according to the vector field $X^{\mu}$. Then the corresponding infinitesimal variation of the action $S$$S_V$ takes the form$^2$
$$ \delta S ~\sim~ \int_V \mathrm{d}^n x \left(\epsilon ~ k + j^{\mu} ~ d_{\mu} \epsilon \right) \tag{5}$$$$ \delta S_V ~\sim~ \int_V \mathrm{d}^n x \left(\epsilon ~ k + j^{\mu} ~ d_{\mu} \epsilon \right) \tag{5}$$
III) Next we assume that the action $S$$S_V$ has a quasisymmetry$^3$ for $x$-independent infinitesimal $\epsilon$. Then eq. (5) reduces to
$$ \begin{align} 0~\sim~~~~~&\text{(boundary terms)}~\approx~ \delta S \cr ~\stackrel{(5)+(9)+(10)}{\sim}& \int_V \mathrm{d}^n x ~ J^{\mu}~ d_{\mu}\epsilon \cr ~\sim~~~~~& -\int_V \mathrm{d}^n x ~ \epsilon~ d_{\mu} J^{\mu} \end{align}\tag{11}$$$$ \begin{align} 0~\sim~~~~~&\text{(boundary terms)}~\approx~ \delta S_V \cr ~\stackrel{(5)+(9)+(10)}{\sim}& \int_V \mathrm{d}^n x ~ J^{\mu}~ d_{\mu}\epsilon \cr ~\sim~~~~~& -\int_V \mathrm{d}^n x ~ \epsilon~ d_{\mu} J^{\mu} \end{align}\tag{11}$$
$^3$ A quasisymmetry of a local action $S=\int_V d^dx ~{\cal L}$$S_V=\int_V d^dx ~{\cal L}$ means that the infinitesimal change $\delta S\sim 0$$\delta S_V\sim 0$ is a boundary term under the quasisymmetry transformation.