Enables RNA polymerase II CTD heptapeptide repeat phosphatase activity. Involved in dephosphorylation of RNA polymerase II C-terminal domain and snRNA transcription. Located in cytosol and nucleolus. Part of RNA polymerase II, holoenzyme. [provided by Alliance of Genome Resources, Apr 2022]