basic transaction parsing