Source: https://courses.ex-machina.ma/downloads/CPI2/S3/Comptabilite/CHAPITRE_III.pdf