(Weird Answer Warning :o)
Let $A$ be what she or he wants, invertible or something else$-$it doesn't matter.
$$\quad 1-ab\,\text{ is invertible} \;\iff\; 1-ba\,\text{ is invertible}\tag{abba}$$
holds true with $\,a,b\,$ being elements of a unital ring.
In case of invertibility you have
$$(1-ba)^{-1}\:=\: 1+b(1-ab)^{-1}a\tag{-1}$$
and
$$\begin{align}a\,(1-ba)^{-1} & \:=\:(1-ab)^{-1}a\tag{1} \\[1ex]
(1-ba)^{-1}b & \:=\:b\,(1-ab)^{-1}\,.\tag{2}
\end{align}$$
Proving $($-$1)$:
If $\,1-ab\,$ is invertible then let $\,u=(1-ab)^{-1}.\,$
Notice $\,a(1-ba)=(1-ab)a\,$ and compute
$$\begin{align}(1+bua)(1-ba) \:=\:1 -ba +b\,\underbrace{u(1-ab)}_{\quad =1}\,a
& \:=\:1 \quad\implies 1-ba\,\text{ is left-invertible} \\[1ex]
(1-ba)(1+bua) \:=\:1 -ba +b\,(1-ab)u\,a
& \:=\:1 \quad\implies 1-ba\,\text{ is right-invertible}\,,
\end{align}$$
hence $\,1-ba\,$ is invertible with inverse $1+b\,(1-ab)^{-1}a\,.\quad\blacksquare$
This shows "$\implies$" in $(\text{abba})$, and this is sufficient to validate the opposite direction as well since $(\text{abba})$ is clearly a symmetrical statement.
$\quad\blacksquare$
There is a constructive approach to derive $($-$1)$ via formal power series, see the worthwhile
How-would-you-solve-this-tantalizing-Halmos-problem on MathOverflow.
Proving $(1,2)$: Use $($-$1)$ to get
$$a\,(1-ba)^{-1} \:=\: a+ab(1-ab)^{-1}a\:=\:\big[(1-ab) +ab\big](1-ab)^{-1}a \:=\:(1-ab)^{-1}a\,,$$
which is $(1)$. Swapping $a$ and $b$ yields $(2).\quad\blacksquare$
Writing this down happened under some sort of unification spirit because I managed to find out the following duplicates & their
parents:
Ordered by decreasing age the dupes are:
Another popular math.SE question also fits under this umbrella: it
asks for the spectra of $\,ab\,$ and $\,ba\,$ where $a,b$ are elements of a unital algebra over $\mathbb C$.
In this context, $($-$1)$ generalises to a scaled version$-$you only have to stay away from zero$-$and allows to
Prove that $\sigma(AB) \backslash \{0\} = \sigma(BA)\backslash \{0\} $ in a straightforward way.