Sources
Fourth Lateran Council (1215), canon 21 (Omnis utriusque sexus)
«Omnis utriusque sexus fidelis, postquam ad annos discretionis pervenerit, omnia sua solus peccata saltem semel in anno fideliter confiteatur proprio sacerdoti…» Every one of the faithful of either sex, having reached the age of discretion, is to confess all his sins faithfully, alone, at least once a year to his own priest, and to receive the eucharist at least at Easter; otherwise he is to be barred from entering the church while living and denied Christian burial when he dies.
Denzinger-Hünermann 812. Trent, session 14 (25 November 1551): canon 7, the confession of all mortal sins by divine law (DH 1707); canon 8, defends annual confession according to the Lateran (DH 1708).