Preheat over to 350 degrees. Lightly grease your baking sheets.
Combine flour, baking powder, baking soda, and pumpkin pie spice in a medium bowl. Beat butter and sugar with an electric mixer for 2 minutes. Add eggs, pumpkin, and vanilla extract and beat well. Stir in flour mixture until well combined.
Drop by heaping teaspoons on a baking sheet. I like to use a cookie scoop for this. Bake for 10-14 minutes, until springy to the touch. Cool on baking sheets for 5 minutes before removing to wire racks to cool completely.
For the filling - beat the cream cheese, butter, and vanilla extract together until fluffy. Gradually beat in the confectioners sugar until creamy.
Spread a heaping teaspoon of filling onto flat side of one cookie; top with flat side of another cookie to make a sandwich. Repeat with remaining cookies and filling. Store in refrigerator.