added logger, changed 'send' 'account' 'invoice' documents