Separate invoice and template controllers