var openInvoices = (List < D010Invoices.Invoice > )D010Invoices.invoices.Select(i => i.paid == false).;