of having
Ella estaba feliz de haber aprobado el examen.
She was happy to have passed the exam.
Ese hombre es acusado de haber cometido el asesinato.
That man is accused of having committed the murder.
Alguna clienta se ha de haber enojado con él.
One of his customers must have gotten angry with him.
— Amores perros (2000)
No debiste de haber regresado.
You shouldn't have come back.
— La casa de las dagas voladoras (2004)
Debía de haber dos docenas de Peters y Pauls en la boda.
There must have been two dozen Peters and Pauls at the wedding.
— Uno de los nuestros (1990)
Estoy arrepentido de todo corazón de haber os ofendido.
I am truly sorry from the bottom of my heart for having offended you.