Add invoice_id indexes

Adds indexes to some of the tables where are frequently joined to the invoice table to speed up the queries