---
title: "Importing Leave Booking Data to MyWorkplace"
id: "importing-leave-booking-data-to-myworkplace"
project: "MWP Knowledge Base"
url: "https://help.cloud5.com.au/articles/mwp-knowledge-base/importing-leave-booking-data-to-myworkplace"
keywords:
  - "Employees"
  - "Import"
  - "Leave"
  - "Payroll"
updated: 2026-12-02T01:10:27Z
---

# Importing Leave Booking Data to MyWorkplace

## Overview

A generic comma separated file format has been developed for importing and cancelling Leave Data from a text file. There are two formats of the text file available. The first is for importing data that does not contain a flag indicating whether Leave in Advance (LIA) is to be used. The second caters for using a LIA flag, and for cancelling leave.
 
## Specifications

1 No LIA, No Cancellations Where no LIA flag is to be passed and cancellations are not required, the format for import is:
 
&lt;employee no&gt;,&lt;start date&gt;,&lt;end date&gt;,&lt;leave code&gt; For example: 10100,03/05/2018,15/05/2018,ALV
 
The Character value of the Parameter Settings value ‘LEAVE\_IMPORT\_FILE’ in MyWorkplace indicates the directory and file name to import.
 
2A Leave in Advance Where leave is imported and an LIA flag is to be passed, the format is: &lt;employee no&gt;,&lt;start date&gt;,&lt;end date&gt;,&lt;leave code&gt;,&lt;LIA Flag&gt; For example: 10100,03/05/2018,07/05/2018,ALV,1
 
The LIA Flag field in this format can be set to 0 or 1 where: 0 – Indicates the Leave is not to be paid in advance 1 – Indicates the Leave is to be paid in advance
 
2b Leave cancellation Where a leave cancellation is imported the format is: &lt;employee no&gt;,&lt;start date&gt;,&lt;R&gt; For example: 13872,29/04/2018,R
 
Transaction order sequence in the file will be the same order as the employee entered transactions.
 
The Character value of the Parameter Settings value ‘LIA\_IMPORT\_FILE’ in MyWorkplace indicates the directory and file name to import.
 **Need help?** For LIA to process correctly, a ‘Default’ Leave-in-Advance rule must be defined in Corporate Defaults. You can obtain details of the rule from Fusion5 Customer Centre 1300 156 640.
 
Notes:
 
* The content of the Leave Code field must be an exact match with the Absent Reason code in the appropriate pay group in MWP.
* Leave cancellations have three fields. Leave bookings have four or five fields. These transactions can co-exist in one file.
* There must be one blank row (carriage return) at the end of the data in the file.
* The Import process occurs as part of the standard Clockings Import.
* The file name will be leave.csv or other agreed name.
* Any errors can be seen by using the frame ‘fm\_import\_data’. This Frame can also be used to Import and Process the data if required.
* The Import process creates the records in the Advance Leave tables.
* The Imported file is renamed using our standard method of appending the Date & Time to the file name.