Log In

Sending Leave to MYOB

With Send Leave to MYOB on, approved 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 > 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.

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.

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.

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.

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

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.

  • 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.

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.

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.

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 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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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

Next Step

Send your first batch in Sending Timesheet Batches to MYOB.