Customize side bar for sales invoice

Can anyone please provide a guideline or starting point on how to start customizing the sidebar when the invoice doctype is opened. I am trying to add the following similar view either at the top or left of the screen when an invoice is opened in order to get a specific overview.