Legal aspects of financing corporates