If a person appoints someone to be his agent to perform a task and agrees on a remuneration, then upon completion of the task, he must remunerate him according to the agreement.