Economic history

A medieval merchant records prices and debts in a standard accounting unit but settles a particular purchase with a different mix of coins. Which function of money is most directly served by the accounting unit?