Use the balance sheet and trial balance reports from old system as of date of conversion to enter dame numbers in new system. Your P&L will automatically carry forward based on those numbers.
If you are moving from current QB Desktop product you should export from desktop to QBO and compare balance sheets between old and new and make any adjustments for transactions not carried over.