The Council of Trent
Decree Concerning Purgatory:
Since the Catholic Church, instructed by the Holy Ghost, has, following the sacred writings and the ancient tradition of the Fathers, taught in sacred councils and very recently in this ecumenical council that there is a purgatory, and that the souls there detained are aided by the suffrages of the faithful and chiefly by the acceptable sacrifice of the altar, the holy council commands the bishops that they strive diligently to the end that the sound doctrine of purgatory, transmitted by the Fathers and sacred councils, be believed and maintained by the faithful of Christ, and to be everywhere taught and preached.
Canons Concerning Justification: Canon 30:
If anyone says that after the reception of the grace of justification the guilt is so remitted and the debt of eternal punishment so blotted out to every repentant sinner, that no debt of temporal punishment remains to be discharged either in this world or in purgatory before the gates of heaven can be opened, let him be anathema (The Canons and Decrees of the Council of Trent, in Philip Schaff, The Creeds of Christendom (Grand Rapids: Baker, 1919 ed.), pp. 214, 46).