Sold rental property all funds went to the ex spouse and is documented in seller disclosure do I have to pay taxes on the money I never received

It is. It in the divorce degree