Managing invoice templates