#5: Add parameter unpaidInvoicesOnly to getInvoices call