['required', 'numeric', 'min:0.01'], 'type' => ['required', 'in:debit,credit'], 'description' => ['nullable', 'string', 'max:255'], 'booked_at' => ['nullable', 'date'], 'payment_id' => ['nullable', 'integer', 'exists:payments,id'], ]; } }