diff --git a/app/Rules/Actions/SetDestinationAccount.php b/app/Rules/Actions/SetDestinationAccount.php index 4f6b4d28d5..829c4928c4 100644 --- a/app/Rules/Actions/SetDestinationAccount.php +++ b/app/Rules/Actions/SetDestinationAccount.php @@ -123,7 +123,7 @@ class SetDestinationAccount implements ActionInterface */ private function findExpenseAccount() { - $account = $this->repository->findByName($this->action->action_value, [AccountType::REVENUE]); + $account = $this->repository->findByName($this->action->action_value, [AccountType::EXPENSE]); if (is_null($account->id)) { // create new revenue account with this name: $data = [