I am afraid that I do not agree with Carl on this point. HMRC do not just pop up out of the blue with bankrutpcy petitions, they give ample warning as Cybus has already explained. They are an involuntary creditors ie they do not make a commercial decision whether to lend money, but expect that traders will register for tax purposes and put their returns in on time.
Have you actually submitted tax returns or is this amount an assessment, and how many years are they claiming for? Any decision to allow you to repay the debt in instalments will depend largely upon your conduct to date and how well you have kept them informed of your difficulties.
And it should perhaps be remembered that the bankruptcy Court is not an arena for deals or negotiation. If you want to try and make an offer of settlement, you should contact HMRC as soon as possible to see if they are amenable, as on the day of the hearing if the debt has not been paid, or the petition withdrawn, you are very likely to find yourself bankrupt.
Do you have other debts than HMRC? And are you still trading?
Regards, Melanie Giles, Insolvency Practitioner