Source: https://www.alloschool.com/assets/documents/course-152/la-regularisation-des-stocks-cours-1.pdf