['nullable', 'integer', 'min:1', 'max:100'], 'direction' => ['nullable', 'string', Rule::in(TaxInvoice::DIRECTIONS)], 'status' => ['nullable', 'string', Rule::in(TaxInvoice::STATUSES)], 'invoice_type' => ['nullable', 'string', Rule::in(TaxInvoice::INVOICE_TYPES)], 'issue_type' => ['nullable', 'string', Rule::in(TaxInvoice::ISSUE_TYPES)], 'issue_date_from' => ['nullable', 'date'], 'issue_date_to' => ['nullable', 'date', 'after_or_equal:issue_date_from'], 'corp_num' => ['nullable', 'string', 'max:20'], 'corp_name' => ['nullable', 'string', 'max:100'], 'nts_confirm_num' => ['nullable', 'string', 'max:24'], ]; } }