Yes to IPO you have to submit an S-1 form which requires the last 3 years of your full financials and much more. You can’t just IPO without disclosing how your business works and whether it makes or loses money and how much.