Source: http://corinne.zambotto.free.fr/dut-gea/cours-de-comptabilite/exercices/CAS-PRI.pdf