Algeria is another country that wants visitors to showcase their ability to pay for their trip before they arrive.
First, book your hotel, then receive a certification of accommodation. Once you have that, you’ll have to communicate with a local travel agency to secure an invitation.