# MYOB Payroll

Source: https://docs.astalty.com.au/guide/integrations/myob-integration/payroll

> Send the hours in each timesheet batch, and approved leave, to your staff's MYOB timesheets, ready for the pay run you process in MYOB.

Scheduling add-on - This feature requires the Scheduling add-on, which is available on Astalty Premium. See How to enable Scheduling.

## Overview

MYOB payroll sends the hours from each [timesheet batch](https://docs.astalty.com.au/guide/scheduling/timesheet-batches) to your staff's timesheets in your MYOB company file, ready for the pay run you process in MYOB. When you turn it on, approved [leave](https://docs.astalty.com.au/guide/scheduling/leave) goes to the same timesheets as soon as you approve it.

> **MYOB payroll is in beta**
>
> MYOB payroll is enabled per account while in beta. Contact Astalty Support at <support@astalty.com.au> to turn it on.

MYOB payroll uses the same MYOB connection as [MYOB invoicing](https://docs.astalty.com.au/guide/integrations/myob-integration), with its own setup.

Once configured, you can:

- Link your staff to their MYOB employees.
- Map each pay group's pay rates and allowances, and your custom allowances, to MYOB wage categories.
- Send approved leave, with its leave loading, to MYOB when you approve it.
- Check each timesheet batch against MYOB, then send it to your staff's MYOB timesheets.
- Review and remove the hours Astalty has sent to MYOB.

## What Moves Between Astalty and MYOB

Astalty works out each staff member's pay under their award, then sends the result as timesheet lines: hours on the wage category for each pay rate, allowances as units on their own wage categories, and the MYOB job for any shift with a mapped [cost code](https://docs.astalty.com.au/guide/finance/cost-codes). Approved leave is sent as hours on the leave category, with leave loading on its own line.

Astalty reads your MYOB employees, wage categories, leave entitlements and balances, jobs and recent pay runs. It never creates or processes a pay run, and never changes hours already paid in a MYOB pay run.

## Before You Start

- **The company file** is a MYOB company file kept online, and a MYOB administrator for it connects it. See [Connecting and Disconnecting](https://docs.astalty.com.au/guide/integrations/myob-integration/connecting-and-disconnecting).
- **MYOB is your payroll platform before you connect.** MYOB only asks for payroll access when MYOB is already your payroll platform as you connect. If you already use MYOB for invoicing, choose MYOB as your payroll platform, then reconnect MYOB once.
- **MYOB uses timesheets.** In MYOB's payroll settings, **Use timesheets to track employee hours** is ticked.
- **Your staff exist in both systems.** Linking is quickest when each staff member's email in Astalty matches their MYOB employee's.
- **Your wage categories are ready in MYOB.** MYOB calls them wage pay items. Pay rates need categories paid as a multiple of the regular rate, with separate casual categories that carry the casual loading. Allowances need categories with a fixed hourly rate set to the amount for one unit.
- **Standard pay holds no hours.** On each employee's standard pay in MYOB, the hourly wage categories Astalty sends have 0 hours and a $0 amount, so MYOB doesn't pay them twice.

## Getting Set Up

Complete these guides in order:

- [Setting Up MYOB Payroll](https://docs.astalty.com.au/guide/integrations/myob-integration/payroll/setting-up-myob-payroll)
- [Mapping Pay Rates and Allowances](https://docs.astalty.com.au/guide/integrations/myob-integration/payroll/mapping-pay-rates-and-allowances)
- [Sending Leave to MYOB](https://docs.astalty.com.au/guide/integrations/myob-integration/payroll/sending-leave-to-myob)

## How a Pay Run Moves From Astalty to MYOB

1. Review and approve the shifts, travel, breaks and on-call work for the pay period.
2. Approve leave as it comes in. With **Send Leave to MYOB** on, each approval goes to the staff member's MYOB timesheet straight away.
3. Create a timesheet batch covering exactly one week or one fortnight.
4. Open the batch and select **Actions** > **Send to MYOB**. The check runs by itself. Fix anything it says must be fixed before sending.
5. Review what sending writes to MYOB, accept the agreements and select **Send to MYOB**.
6. In MYOB, review the timesheets, then process the pay run.

MYOB timesheets are not drafts. The next MYOB pay run for those dates picks up whatever the timesheets hold, so review them before you process the pay run.

Each pay run is covered in these guides:

- [Sending Timesheet Batches to MYOB](https://docs.astalty.com.au/guide/integrations/myob-integration/payroll/sending-timesheet-batches-to-myob)
- [Fixing Send to MYOB Problems](https://docs.astalty.com.au/guide/integrations/myob-integration/payroll/fixing-send-to-myob-problems), for each message the check shows
- [Removing Hours From MYOB](https://docs.astalty.com.au/guide/integrations/myob-integration/payroll/removing-hours-from-myob), when hours sent to MYOB should not be paid

## Switching From Xero or Employment Hero

If you have sent timesheets to Xero or Employment Hero before, these work differently with MYOB:

- **Disconnect Xero first.** If Xero is connected, disconnect it before you connect MYOB: Astalty connects to one accounting platform at a time.
- **Astalty works out the pay.** Employment Hero pays the hours as worked under the award you set up there. With MYOB, Astalty works out the pay and sends each pay rate on the MYOB wage category you map. See [Mapping Pay Rates and Allowances](https://docs.astalty.com.au/guide/integrations/myob-integration/payroll/mapping-pay-rates-and-allowances).
- **No draft timesheets and no replace action.** Every send makes the staff member's MYOB timesheet for the batch dates match the batch, so you can send a batch again at any time without doubling hours. See [Sending Again](https://docs.astalty.com.au/guide/integrations/myob-integration/payroll/sending-timesheet-batches-to-myob#sending-again).
- **Leave goes onto the timesheet.** MYOB has no leave applications, so approved leave is written onto the timesheet as hours. See [Sending Leave to MYOB](https://docs.astalty.com.au/guide/integrations/myob-integration/payroll/sending-leave-to-myob).
