Heat the oil in a large saucepan over a medium heat and cook the onion until soft.
Add the garlic, cumin, paprika, fennel, coriander and jalapeno and cook for a couple of minutes.
Add the stock, beans, tomatos and sugar and bring to the boil.
Cover the pan and simmer for 25 minutes stiring occasionally to make sure it doesn't catch.
Remove the pot from the heat and use a stick blender to roughly blend the soup.