code: def generate_transaction_id(stmt_line):
      
      return str(abs(hash((stmt_line.date,
                           stmt_line.memo,
                           stmt_line.amount))))
docs: Generate pseudo-unique id for given statement line.
  
      This function can be used in statement parsers when real transaction id is
      not available in source statement.