Hi Leonardo,
You can use the nested generators setup for this purpose - to generate a piece of geometry that can be beveled on this corner as a whole. Please find attached a revised version of your scene (250311_Distrito_Florida_pergolas_ITOOSOFT.max). I hope that helps.
Best regards,