Text this: Investment equations and financial restrictions at firm level