We sometimes get the question of how to convert your QuickBooks Online company file to a QuickBooks Desktop file (Pro, Premier or Enterprise). You should review this Intuit article
which walks you through the transfer process.
However, before you start this process as QuickBooks Online is different than QuickBooks Desktop there are some things which will not transfer so review the Intuit articles below:
Why Some Data Doesn't Come Over from QuickBooks Desktop