The Code of Obligations and Contracts is a documentation of the contract law in Morocco based on Dahir 9 Ramadan 1331 (August 12th, 1913) in the era of Moulay Youssef during the French Protectorate in Morocco with its modified version starting from 1917 to 2016[1].