to have gone to the trouble
I'm sorry to have bothered you.
Paulie, no deberías haberte molestado.
Paulie, you shouldn't have bothered.
— Uno de los nuestros (1990)
Sorry for bothering you.
Pido disculpas por haberte molestado así.
I apologize for bothering you like this.