your post is confusing. you can't file a joint return with an ex-spouse unless the legal separation occurred in an ensuing tax year. to file jointly for a tax year you must be married to them on 12/31 of that year. Also, a refund is money due to the taxpayer(s) so why you made a payment is unknown. Please clarify what you did and what tax year is involved.