There is no good evidence that money generally arose from a widespread barter economy; credit and accounting often preceded coinage.
Anthropological and archaeological evidence documents early ledgers, obligations, and credit systems and provides little support for a universal barter stage. Barter has existed, and the multiple functions and regional origins of money remain debated, so replacing one single origin story with another would overstate the record.