I've got the steps that you need in transferring your data from QuickBooks Online to QuickBooks Desktop.
Before transferring your data, you'll need to take note of the following requirements:
Exporting into QuickBooks Desktop is only available in the US version of QuickBooks Online.
Use the export feature, you must be a Master Administrator, Company Administrator, or invited accountant.
Please use a PC with Internet Explorer 10 or higher.
You must have a supported version of QuickBooks Desktop for Windows installed on the PC in which you are performing the export. For access to trial versions of the desktop program, for the purposes of export, see QuickBooks Desktop trial links.