Towards removing cas_invoices