Grate the potatoes and transfer them to the bowl.
Add the eggs, cooked ham, cheese, onion, parsley, pepper, salt, and flour.
Use a spatula to mix the ingredients well.
Heat the olive oil in a pan over medium heat. Place spoonsful of the mixture in the pan, flattening it slightly.
Fry the fritters on both sides until they are golden brown.
Enjoy!