Soak the salted cod in water for at least 24 hours, changing the water several times. Drain and shred the cod into bite-sized pieces.
Heat the vegetable oil in a large pot over medium heat. Add the chopped onions and cook until translucent, about 5 minutes.
Add the minced garlic and cook for another minute until fragrant.
Stir in the ground cumin, paprika, annatto powder, dried oregano, dried thyme, and turmeric. Cook for 2 minutes.
Add the shredded cod and cook for about 5 minutes, allowing it to absorb the flavors.
Pour in the vegetable or chicken broth and bring to a boil. Reduce the heat and let it simmer for 15 minutes.
Add the green beans, corn kernels, squash, peas, and rice. Continue to simmer until the vegetables and rice are cooked, about 20 minutes.
Stir in the milk and cream, and adjust the seasoning with salt and pepper to taste.
Stir in the chopped cilantro and parsley.
Ladle the Fanesca into bowls and garnish with slices of hard-boiled eggs, fried plantains, avocado slices, capers, and pickled red onions.
Enjoy your meal!