Spend and transaction analysis