The procedure is as follows:
1. A certificate must be issued by the national revenue agency.
2. A liquidator is appointed (may be the manager) and must make a notarized consent to this.
3. The documents are filed with the Commercial Register and the company is declared in liquidation.
4. If the company is VAT registered, a request for deregistration is filed
5. A request is made for a certificate from the National Social Security Institute that it had no employees on contract. If it had employees it is a little more complicated.
6. After a period of 6 months has elapsed since the company︀ was placed into liquidation, it can be wiped out.
Seems a bit messy, but it︁ really isn't.