user->bills()->where('active', 1)->where('automatch', 1)->get(); /** @var \FireflyIII\Models\Bill $bill */ foreach ($list as $bill) { $repository->scan($bill, $journal); } } }