Update list_invoices to include the limit param