2185. A mandatary is entitled to deduct what the mandator owes him by reason of the mandate from the sums he is required to remit.
The mandatary may also retain what was entrusted to him by the mandator for the performance of the mandate until payment of the sums due to him.