allow to use class to send invoices, instead of method