Article R224-2 of the French Consumer Code
In the event of termination of the contract for a legitimate reason as provided for in article L. 224-90, the price initially agreed is reduced in proportion, respectively, to the duration of the contract that has run and that which remains to run.