TL;DR
When you no longer carry out transactions requiring VAT identification, contact your business tax office to have your number invalidated in the database of EU taxable persons. If your business is established in another Member State and ceases its activity, you must expressly inform the tax office you report to.
When is the number no longer valid?
For intra-Community trade in goods or services, every taxable person in a European Union Member State must first be assigned an individual VAT identification number. This number is no longer valid if the business ceases its activity, leaves the scope of application or is transferred outside the relevant territory. It is also no longer valid when a person referred to in 2° of article 256 bis of the CGI waives this option for paying VAT on their intra-Community acquisitions or falls below the threshold.1
Requesting invalidation from the tax office
For VAT identification purposes, all taxable persons in the Member States identified by an individual number are included in an electronic database. When a taxable person no longer carries out transactions for which VAT identification is mandatory, they must contact their business tax office so that their intra-Community VAT number can be invalidated in the database of EU taxable persons.1
If the business is established in another Member State
If they cease their activity, taxable persons established in another EU Member State and registered in France are required to expressly inform the tax office they report to.2