Added status_type selection for invoices