Bonus: Refactored make_invoices to avoid redundant code