Cream the margarine with the sugar until light and fluffy.
Mash the pumpkin and add to the margarine, together with the vanilla.
Sift the flour, cornflour, bicarb, baking powder, salt and spices over the pumpkin mixture, then combine.
Add the almond milk and flax egg, then mix gently until you get a soft dough. Refrigerate for minimum 30 minutes (you can chill it overnight or freeze it).
Preheat your oven to 180°C.
Line two baking sheets with parchment paper.
Roll out the dough between two sheets of baking paper to 5mm thickness. Stamp out cookie shapes or circles (you can use a drinking glass if you don’t have cookie cutters). Alternatively make little balls from the dough, then flatten them between your palms.
Place the cookies on the baking sheet about 2 cm apart.
Bake in the middle of the oven for 10-12 minutes until slightly golden brown.
Rest them on the sheet for a couple of minutes, then transfer them to a wire rack to cool completely.
Prepare your frosting, icing or decoration in the meantime.
When the cookies are cool, decorate them to your liking.