To transfer data from Sage 50 to QuickBooks Online (QBO), you'll have to convert it to QuickBooks Desktop (QBDT) first. After that, export your file to QBO.
I'm linking here the following articles for the detailed instructions:
You have clicked a link to a site outside of the QuickBooks or ProFile Communities. By clicking "Continue", you will leave the community and be taken to that site instead.