Create invoices, changes httplib request place to start and tests