quantum meruit

/ Latin (ˈmɛruːɪt) /

as much as he has earned: denoting a payment for goods or services in partial fulfilment of a contract or for those supplied when no price has been agreed