 
                 return bill
 
-            entries.bills = bills
+            entries.bill = bills
             K.logger.info "Fetched #{bills.length} bills"
             callback()
         catch e


fetchVisualiserHistoConso = (requiredFields, entries, data, callback) ->
    K.logger.info "fetchVisualiserHistoConso"
    async.mapSeries entries.contracts, (contract, cb) ->
        path = '/ws/visualiserHistoConso_rest_V3-0/invoke'
        body =
            'message:msgRequete':


    fetchOperations: [
        prepareEntries

        getEDFToken
        fetchListerContratClientParticulier
        fetchVisualiserPartenaire
