Preheat oven to 220 Degree C.
Heat oil in a kadai. Add in onions, salt and sugar. Saute for 2 mins till it turn light golden.
Now add in tomatoes and saute for 5 mins till the tomatoes turn mushy.
Add in spice powders and mix well. Now add in all the veggies except potatoes. Mix well with the masala.
Pour a splash of water and cover the kadai. Cook for 10 mins till the veggies are tender.
Add in soy sauce and tomato ketchup and mix well.
Now add in boiled potatoes and mix well. Allow the mixture to cool down.
Take the puff pastry square infront of you. Spread it a little if it is thick.
Spoon some filling on the center and fold it over. Use a fork to press the edges.
Now arrange them in a baking tray. Once you are done with everything, crack open a egg, beat it slightly and brush this over all the puffs..
Bake it in a preheated oven for 25 to 30 mins till the top is golden, i turn the tray half way through for even colouring.
Remove the tray from oven and let it cool.
Now serve with ketchup,