Economic history

A merchant in one city owes a supplier in another. The merchants arrange for a written order to transfer a specified payment through trusted agents rather than carry coin the entire distance. What financial function does this arrangement most directly serve?