For these filings, QuickBooks Online doesn't generate an XML file for electronic uploading. Instead, you can preview and print the forms to paper and file them directly with the CRA.
Please know that when you close a business, you must file your T4 forms within 30 days.