Where part of the contract is subcontracted, the advance paid to the contractor is calculated on the basis of the amount of the contract less, where applicable, the amount of the services entrusted to the subcontractors and giving rise to direct payment.