# Sending Leave to MYOB

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

> Turn on Send Leave to MYOB, import or map your leave types to MYOB leave categories, and see what happens in MYOB when leave is approved, edited or declined.

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

With **Send Leave to MYOB** on, approved [leave](https://docs.astalty.com.au/guide/scheduling/leave) goes to the staff member's MYOB timesheet as soon as you approve it, before the timesheet batch for those dates is sent. MYOB has no leave applications, so Astalty writes the leave onto the timesheet as hours on its leave category, with any leave loading on its own line.

## Turn On Send Leave to MYOB

Open **[Settings > Integrations](https://app.astalty.com.au/settings/integrations)** > **MYOB** > **Leave Types**. The **Leave Settings** card shows whether **Send Leave to MYOB** is on. To turn it on, select **Edit**, switch on **Send Leave to MYOB** and select **Update**.

![The MYOB Leave Types page, with Send Leave to MYOB set to Yes in the Leave Settings card, and Annual Leave and Personal/Carer's Leave mapped to MYOB leave categories in the Leave Types table](https://docs.astalty.com.au/assets/myob-payroll-leave-types-v2.png)

With it on, Astalty sends approved leave to MYOB on timesheets, checks MYOB leave balances when leave is approved, and shows those balances where leave is reviewed. Switching it off keeps leave already sent to MYOB.

![The Update MYOB Leave Settings drawer with Send Leave to MYOB switched on and its description](https://docs.astalty.com.au/assets/myob-payroll-leave-settings-drawer-v3.png)

## Map Leave Types to MYOB Leave Categories

Each Astalty leave type that is paid needs a MYOB leave category. A leave type left unmapped, such as unpaid leave, is never sent to MYOB.

### Import Leave Types From MYOB

If you don't have leave types in Astalty yet, select **Import Leave Types**. Tick the MYOB leave types you use and select the **Import** button, which shows how many you ticked. Astalty creates a matching leave type for each one, named after its MYOB leave category, and links the two. Each row shows the MYOB leave category followed by its entitlement, such as **Annual Leave Pay (Annual leave Full time salary)**, and the Astalty category Astalty picked as the closest match.

![The Import Leave Types from MYOB drawer with Select All above the list, listing MYOB leave categories with their entitlements, each mapped to an Astalty category such as Annual Leave or Personal/Carer's Leave](https://docs.astalty.com.au/assets/myob-payroll-import-leave-types-v3.png)

Two ticked rows that share a MYOB leave category would both become the same leave type, so Astalty refuses the import with **Couldn't import the leave types**, naming both rows and the leave type they would both become, then **Import just one of them.** Nothing is imported. Tick only one of those rows and import again. If you already have a leave type for that leave, such as **Annual Leave**, map it instead of importing a second one.

![The Import Leave Types from MYOB drawer with two Annual Leave Pay rows ticked, the Import 2 leave types button, and the toast Couldn't import the leave types, saying both rows would become the leave type Annual Leave Pay and to import just one of them](https://docs.astalty.com.au/assets/myob-payroll-import-leave-types-refused-v4.png)

While **Send Leave to MYOB** is off, the drawer tells you approved leave isn't sent to MYOB.

![The Import Leave Types from MYOB drawer saying Approved leave isn't sent to MYOB while Send Leave to MYOB is off](https://docs.astalty.com.au/assets/myob-payroll-import-leave-types-off-v3.png)

### Map Your Leave Types

Select **Actions** > **Map Leave Types**. For each leave type, choose the **MYOB leave category** its leave is paid on and, if you pay leave loading on it, the **MYOB leave loading** category. Select **Save**.

![The Leave Type Mapping drawer with Annual Leave mapped to Annual Leave Pay and its leave loading set to Annual Leave Loading (17.5%), and Personal/Carer's Leave mapped to Personal Leave Pay with no loading](https://docs.astalty.com.au/assets/myob-payroll-leave-type-mapping-v2.png)

- Only hourly categories that a MYOB entitlement pays leave from are offered.
- MYOB pays leave at its category's own rate, shown beside each one. Choose a category paying 1x the regular rate to pay leave at each staff member's ordinary rate.
- MYOB never adds leave loading by itself. Choose a leave loading category, and Astalty sends the same hours on it so MYOB pays the loading at that category's rate.

In MYOB, assign the leave categories and the loading category to each employee who takes that leave.

![A MYOB employee's Allocated leave pay items: Annual leave Full time hourly and Personal leave Full time hourly, each with its balance](https://docs.astalty.com.au/assets/myob-payroll-myob-employee-leave.png)

## Balances When You Review Leave

Open a pending leave request from **Scheduling** > **Unavailability Requests**. Its **MYOB Leave Balances** card shows the staff member's current balances in MYOB, in hours, with the requested type marked **Requested**.

![A leave request for Ivy Phillips with the MYOB Leave Balances card listing Annual leave Full time hourly, marked Requested, and Personal leave Full time hourly, and a MYOB Leave Sync card saying the request has not been synced to MYOB](https://docs.astalty.com.au/assets/myob-payroll-leave-balances-v2.png)

When you approve leave that would leave a negative balance, Astalty allows it, warns you or refuses, using the MYOB balance and the leave type's **Negative Leave Balance** setting. Other approved leave from the start of the previous pay period counts as already coming off the balance: leave of any type mapped to the same MYOB leave entitlement or leave category, leaving out hours MYOB has already paid. The message then says how many hours of it are still to come off. If Astalty can't check the balance, for example because the staff member isn't linked to a MYOB employee or has no balance for that leave in MYOB, the message says why: with **Warn** you can still approve, and with **Prevent** you fix that first. When it warns you, the button changes to **Approve anyway**; select it to approve the leave. See [Negative Leave Balances](https://docs.astalty.com.au/guide/scheduling/leave#negative-leave-balances).

![The Approve Leave drawer with 114 leave hours and the warning This approval would leave a negative balance of 38 hours. The available balance is 76 hours. Approving will be recorded against this request., with an Approve anyway button](https://docs.astalty.com.au/assets/myob-payroll-leave-approve-warn-v2.png)

When the leave type's **Negative Leave Balance** is **Prevent**, the approval is refused with the same message, ending **This leave type doesn't allow a negative balance, so reduce the leave hours.**

If the staff member doesn't have the leave category, or its leave loading category, assigned in MYOB, the **MYOB Leave Balances** card and the approve drawer say so, for example **Annual leave Full time hourly isn't assigned to Grace Brooks in MYOB, so this leave won't sync until it is.** Assign it in MYOB before you approve, or retry the sync once it is assigned.

![The Approve Leave drawer with 114 leave hours refused: This approval would leave a negative balance of 38 hours. The available balance is 76 hours. This leave type doesn't allow a negative balance, so reduce the leave hours.](https://docs.astalty.com.au/assets/myob-payroll-leave-approve-prevent-v2.png)

The card also tells you when the leave won't reach MYOB, for example because the staff member is casual, or because no MYOB entitlement pays the requested leave category for them.

![The MYOB Leave Balances card warning that Daniel Okafor is casual, so this leave isn't sent to MYOB](https://docs.astalty.com.au/assets/myob-payroll-leave-balances-casual.png)

![The MYOB Leave Balances card warning that no MYOB entitlement pays Annual Leave Pay for Mia Tran, who holds no MYOB leave entitlements](https://docs.astalty.com.au/assets/myob-payroll-leave-no-entitlement.png)

## Leave Goes to MYOB When You Approve It

When you approve leave, Astalty writes its hours to the staff member's MYOB timesheet, on the mapped leave category, with the same hours on the leave loading category if one is mapped. Each line's note reads **Approved leave**, followed by the leave's dates.

![Grace Brooks's MYOB timesheet for the week of 02/11/2026, with 7.60 hours of Annual Leave Pay and 7.60 hours of Annual Leave Loading (17.5%) on Monday and Tuesday, each noted Approved leave, 2 Nov 2026 to 3 Nov 2026](https://docs.astalty.com.au/assets/myob-payroll-myob-leave-note.png)

The leave request shows two cards:

- **Leave in MYOB** lists each day of the leave and whether it is in MYOB. While the leave is being sent, each day shows **Sending**.
- **MYOB Leave Sync** lists each time Astalty sent the leave, with its status: **Sending**, **Sent**, **Removed**, **Failed**, **Paid in MYOB** or **Handled**.

![A leave request straight after approval: the MYOB Leave Balances card with Annual leave Full time hourly marked Requested, and Leave in MYOB listing each day from Mon 7 Dec 2026 at 6 hrs, each showing Sending](https://docs.astalty.com.au/assets/myob-payroll-leave-sync-sending-v2.png)

![A leave request for Isabella Chen, with Leave in MYOB showing Mon 26 Oct 2026, 6 hrs, Sent by batch 26 Oct - 1 Nov, and MYOB Leave Sync showing one Sent row](https://docs.astalty.com.au/assets/myob-payroll-leave-sync-sent.png)

When you later send the timesheet batch for those dates, the check shows the leave as **Already in MYOB**, and its hours are not added again. After the send, **Leave in MYOB** shows **Sent by batch** with the batch's dates.

## Leave Over a Shift That Stays Assigned

If the staff member has a shift during the leave that stays assigned to them, the leave request's **Affected Shifts** tab and the approve drawer say so. If the shift is paid, the leave is paid too, so check the shift before you approve.

![A pending leave request for Isabella Chen, with the Affected Shifts tab warning that Isabella Chen has 1 shift during this leave that stays assigned. If paid, the leave is paid too. Tuesday 17th November, 9:00am to 3:00pm](https://docs.astalty.com.au/assets/myob-payroll-leave-worked-shift-tab.png)

Once the leave is approved, the timesheet batch for those dates says how many shifts overlap approved leave, and that payroll may receive both the worked hours and the leave. Select **View shifts on leave** to list each shift with its leave in **Shifts on approved leave**, and open the leave from there to correct it before you send the batch.

![A timesheet batch for 16/11/2026 to 22/11/2026 with 4 shifts and the notice 1 shift overlaps approved leave. Payroll may receive both the worked hours and the leave, and a View shifts on leave button](https://docs.astalty.com.au/assets/myob-payroll-batch-shift-on-leave-v3.png)

![The Shifts on approved leave drawer listing Isabella Chen's shift on 17 Nov 2026, 9:00am to 3:00pm, beside a link to her Annual Leave](https://docs.astalty.com.au/assets/myob-payroll-batch-shifts-on-leave-drawer.png)

## Changing, Declining or Cancelling Approved Leave

- **Editing** approved leave, such as moving it to another date, updates it in MYOB. A new **Sent** row is added to **MYOB Leave Sync**.
- **Declining or cancelling** approved leave takes it out of MYOB. When you decline, the dialog reminds you that declining also removes it from payroll if Astalty sent it there. **MYOB Leave Sync** then shows **Removed**. Hours someone typed into the MYOB timesheet by hand stay.
- **Deleting** approved leave that MYOB holds is not offered. Decline or cancel it instead, so Astalty can remove it from MYOB.

![A leave request whose hours were edited after approval: Leave in MYOB showing Tue 17 Nov 2026, 6 hrs, Sent, and MYOB Leave Sync with two Sent rows, one from the approval and one from the edit](https://docs.astalty.com.au/assets/myob-payroll-leave-sync-edited.png)

![The Decline Leave dialog: This leave is already approved. Declining it also removes it from payroll if Astalty sent it there, with a Decline Reason box](https://docs.astalty.com.au/assets/myob-payroll-leave-decline.png)

![A declined leave request: the MYOB Leave Balances card with no leave type marked Requested, and MYOB Leave Sync with a Removed row reading This leave was taken out of MYOB, above the Sent row from the approval](https://docs.astalty.com.au/assets/myob-payroll-leave-sync-removed-v2.png)

If a change can't be carried to MYOB, Astalty refuses it and asks you to decline the leave, then add a new leave request with the changes. For example, while **Send Leave to MYOB** is off, a change to the dates, times or type of leave already in MYOB is refused. Leave already paid in a MYOB pay run is never changed: adjust it in MYOB by hand.

![The Update Leave drawer with new dates and a Something went wrong message: This leave is in MYOB, so a change to its dates, times or type here would not reach MYOB. Decline it, then add a new leave request with the changes.](https://docs.astalty.com.au/assets/myob-payroll-leave-edit-send-off-refused.png)

## When Leave Does Not Reach MYOB

If MYOB refuses the leave, **MYOB Leave Sync** shows **Failed** with the reason. Fix the reason, usually in MYOB, then select **Sync to MYOB** on the card to try again. Astalty reads the staff member's leave categories from MYOB when it syncs, so you don't need to sync from MYOB first.

![A leave request with its Leave in MYOB card showing Sent, and MYOB Leave Sync with a Failed row reading Its leave category is not assigned to them in MYOB, then a Sent row from the retry](https://docs.astalty.com.au/assets/myob-payroll-leave-sync-failed.png)

If declined or cancelled leave can't be taken out of MYOB, because MYOB has already paid it or the removal failed, the card also offers **Mark as handled**. Remove the leave in MYOB by hand first. Only mark it handled once payroll has adjusted this leave in MYOB: Astalty then stops tracking it, and the leave request can be deleted.

![The Mark as handled in MYOB? dialog: Only do this once payroll has adjusted this leave in MYOB. Astalty then stops tracking it and the leave request can be deleted. Behind it, MYOB Leave Sync shows a Failed row saying MYOB's hours for this leave changed during the update, so its result is unknown, above a Sent row](https://docs.astalty.com.au/assets/myob-payroll-leave-mark-handled-v2.png)

Leave is not sent for casual staff, who have no paid leave entitlement, for staff paid by salary in MYOB, whose leave you enter in the MYOB pay run, or for leave types with no MYOB leave category. When you check a timesheet batch, any leave in it that will not be sent to MYOB is listed with the reason. See [Fixing Send to MYOB Problems](https://docs.astalty.com.au/guide/integrations/myob-integration/payroll/fixing-send-to-myob-problems#leave-that-is-not-sent).

Approving leave for a casual staff member adds a **Failed** row with the reason **They are casual in Astalty, with no paid leave entitlement.**

![A leave request for a casual staff member saying the leave is not sent to MYOB, and MYOB Leave Sync with a Sync to MYOB button and a Failed row reading They are casual in Astalty, with no paid leave entitlement.](https://docs.astalty.com.au/assets/myob-payroll-leave-sync-failed-casual.png)

## Next Step

Send your first batch in [Sending Timesheet Batches to MYOB](https://docs.astalty.com.au/guide/integrations/myob-integration/payroll/sending-timesheet-batches-to-myob).
