Cancelling your registration
You can apply to cancel if the business has closed, been transferred or merged, changed its constitution in a way that needs a new PAN, or no longer has to be registered. If a proprietor dies, the legal heir can apply. Once you apply, the registration is treated as suspended, so you stop issuing tax invoices.
On cancellation you pay an amount equal to the input tax credit on inputs and on semi-finished and finished goods in stock, and on capital goods (reduced for the time they've been used), or the tax on their value, whichever is higher. Your liability for earlier periods stays even after cancellation. Within three months of the cancellation date or the order, whichever is later, you file the final return, GSTR-10.