Code of Hammurabi
Factoring's origins lie in the financing of trade, particularly international trade. It is said that factoring originated with ancient Mesopotamian culture, with rules of factoring preserved in the Code of Hammurabi.