Preheat the oven to 350°F. Grease with non-stick cooking spray and line with parchment paper two 9-inch round baking pans. Set aside.
In a mixing bowl, stir together the dry ingredients (sugar, flour, baking cocoa, baking powder, baking soda, and salt. Create a well in the center. Set aside.
In another bowl, whisk together the wet ingredients (eggs, buttermilk, coffee, vegetable oil, and vanilla extract). Pour into the dry ingredients. Beat using an electric mixer on medium speed for 1-2 minutes or until combined and no lumps remain.
Pour the batter into the prepared pans. Bake in the preheated oven for 30-35 minutes or until ready. Check the readiness of the black magic cake using a toothpick inserted in the center, if it comes out clean - the cake is ready.
When ready, remove from the oven and let cool for 10-15 minutes in the pan. Then, remove it from the pan and place it on a cooling rack. Let them cool completely.
While the cake layers are cooling, prepare the chocolate cream cheese frosting. In a mixing bowl, beat together cream cheese, butter, and vanilla extract. Then, beat in powdered sugar, baking cocoa, and salt at a low speed until completely combined. Spread over the bottom layer of the cake. Top with another layer of the cake. Press gently.
Prepare the chocolate frosting. In a saucepan, melt the butter. Then, stir in the unsweetened cocoa, water, and liqueur. Remove from the heat and beat in powdered sugar. Add more warm water if the frosting is too thick. Top the cake with this frosting. Let's set, slice, and enjoy!