Preheat your oven to 350°F (175°C).
In a large mixing bowl, cream together the softened butter and granulated sugar until light and fluffy.
Add the vanilla extract and mix until combined.
In another bowl, whisk together the flour, cocoa powder, baking powder, and salt.
Gradually add the dry ingredients to the wet mixture, mixing until just combined.
Scoop tablespoons of dough and roll them into balls.
Place the dough balls on a lined baking sheet, spaced about 2 inches apart.
Use your thumb or a spoon to create a gentle indent in the center of each dough ball.
Fill each indent with chocolate chips or fruit preserves.
Bake the cookies in the preheated oven for 12-15 minutes or until they are set but still soft.
Remove from the oven and allow to cool on the baking sheet for 5 minutes before transferring to a wire rack.