Fix getInvoiceItems