                 headers:
                     'User-Agent': userAgent
             request options, (err, res, body) ->
+                console.log body
                 return next err if err
                 data.html = body
                 next()

    vendor: String
    amount: Number
    fileId: String

PhoneBill.all = (callback) ->
    PhoneBill.request 'byDate', callback

                    date: moment date, 'DD/MM/YYYY'
                    amount: amount.replace ',', '.'
                    pdfurl: url
                console.log bill
                bills.fetched.push bill
    next()
