It's unlikely that people were battering one day and then suddenly had this great idea of transitioning to a system of using money. Battering > battering with some credit > formalised money system seems like a logical series of steps to me. And of course there would be many more small steps between those. I would expect the number of transactions using credit to track the growth of society and the corresponding range of goods and service available.