Currently, QuickBooks Online in Malaysia and other International version does not have a payroll function built in-product.
However, you can look for a third-party payroll app that can integrate with the system. I'd recommend contacting directly the app's Customer Support Team to confirm if they can connect with QBO. Once verified, they can help you with the integration setup. For more details, click this article: Third-party payroll integration.
Then, creating a journal entry in QuickBooks Online also is a good way to record the accounting information for your payroll transactions. While doing this, I'd recommend consulting an accountant for guidance so your account stays accurate.
Here's how:
Click the + New icon.
Select Journal Entry.
Under Date, select the paycheque(s) date.
(Optional) Input Entry # for the journal entry.
For Debit and Credit accounts, Debit expense account used to track gross wages and Debit expense account used to track Employer Contribution (eg. CPF, EPF etc.). Then, Credit Bank account payroll is deducted from.
Hit Make Recurring.
Enter a memorable Template Name and set Template Type to Unscheduled. Then, click Save Template.