make agent available to invoice templates