The Internal Revenue Service said it made a more than $325 million error in a high-stakes tax battle with Vi, an operator of upscale retirement communities.

The company recently changed its name from Classic Residence by Hyatt.

The IRS disclosure, made in a recent federal tax court filing, appears to end the agency's effort to collect more...