with invoices + thread