[step:Reduce real-valued functions to their positive and negative parts]
Let $f:Y\to\mathbb R$ be $\mathcal B$-measurable. Define the positive and negative parts $f^+:Y\to[0,\infty]$ and $f^-:Y\to[0,\infty]$ by
\begin{align*}
f^+(y)=\max\{f(y),0\},\qquad f^-(y)=\max\{-f(y),0\}.
\end{align*}
Then $f=f^+-f^-$ and $|f|=f^++f^-$. The nonnegative case applied to $f^+$ and $f^-$ gives
\begin{align*}
\int_Y f^+(y)\,d(T_{\#}\mu)(y)=\int_X f^+(T(x))\,d\mu(x)
\end{align*}
and
\begin{align*}
\int_Y f^-(y)\,d(T_{\#}\mu)(y)=\int_X f^-(T(x))\,d\mu(x).
\end{align*}
Also $(f\circ T)^+=f^+\circ T$ and $(f\circ T)^-=f^-\circ T$ pointwise on $X$.
If the signed integral of $f$ with respect to $T_{\#}\mu$ is well-defined, then the two nonnegative quantities defining it are not both infinite. By the two identities above, the corresponding positive and negative integrals of $f\circ T$ with respect to $\mu$ have the same values, so the signed integral of $f\circ T$ is well-defined and
\begin{align*}
\int_Y f(y)\,d(T_{\#}\mu)(y)=\int_X f(T(x))\,d\mu(x).
\end{align*}
Conversely, suppose the signed integral of $f\circ T$ with respect to $\mu$ is well-defined. Then the two nonnegative quantities defining that signed integral are not both infinite. Since the nonnegative-case identities identify those quantities with the corresponding positive and negative integrals of $f$ with respect to $T_{\#}\mu$, the signed integral of $f$ with respect to $T_{\#}\mu$ is well-defined and the same subtraction gives the displayed identity. In particular, if $f\in L^1(Y,\mathcal B,T_{\#}\mu)$, then applying the nonnegative case to $|f|$ gives
\begin{align*}
\int_X |f(T(x))|\,d\mu(x)=\int_Y |f(y)|\,d(T_{\#}\mu)(y)<\infty,
\end{align*}
so $f\circ T\in L^1(X,\mathcal A,\mu)$ and the identity holds. Conversely, if $f\circ T\in L^1(X,\mathcal A,\mu)$, then the same displayed equality gives
\begin{align*}
\int_Y |f(y)|\,d(T_{\#}\mu)(y)=\int_X |f(T(x))|\,d\mu(x)<\infty,
\end{align*}
so $f\in L^1(Y,\mathcal B,T_{\#}\mu)$ and the identity holds.
[/step]