Skip to content

Xero: Payroll au schemas

84 Xero schemas with complete fields and constraints.

← Payroll au operations · All schemas

Creates a Payroll Calendar — request body — body item

FieldTypePresenceDescription and constraints
$objectRoot
CalendarTypestringOptionalOne of: WEEKLY, FORTNIGHTLY, FOURWEEKLY, MONTHLY, TWICEMONTHLY, QUARTERLY
NamestringOptionalName of the Payroll Calendar
PaymentDatestringOptionalThe date on which employees will be paid for the upcoming pay period (YYYY-MM-DD)
PayrollCalendarIDstringOptionalXero identifier
Format: uuid
ReferenceDatestringOptionalReference Date (YYYY-MM-DD)
StartDatestringOptionalThe start date of the upcoming pay period. The end date will be calculated based upon this date, and the calendar type selected (YYYY-MM-DD)
UpdatedDateUTCstringOptionalLast modified timestamp
Read only: true
ValidationErrorsarrayOptionalDisplays array of validation error messages from the API
ValidationErrors[]ModelEach itemExpand Retrieves journals — response body — Warnings item

Referenced models: Retrieves journals — response body — Warnings item

Creates a Payroll Calendar — response body

FieldTypePresenceDescription and constraints
$objectRoot
PayrollCalendarsarrayOptional
PayrollCalendars[]ModelEach itemExpand Creates a Payroll Calendar — response body — Payroll Calendars item

Referenced models: Creates a Payroll Calendar — response body — Payroll Calendars item

Creates a Payroll Calendar — response body — Payroll Calendars item

FieldTypePresenceDescription and constraints
$objectRoot
CalendarTypestringOptionalKnown values: WEEKLY, FORTNIGHTLY, FOURWEEKLY, MONTHLY, TWICEMONTHLY, QUARTERLY
NamestringOptionalName of the Payroll Calendar
PaymentDatestringOptionalThe date on which employees will be paid for the upcoming pay period (YYYY-MM-DD)
PayrollCalendarIDstringOptionalXero identifier
Format: uuid
ReferenceDatestringOptionalReference Date (YYYY-MM-DD)
StartDatestringOptionalThe start date of the upcoming pay period. The end date will be calculated based upon this date, and the calendar type selected (YYYY-MM-DD)
UpdatedDateUTCstringOptionalLast modified timestamp
Read only: true
ValidationErrorsarrayOptionalDisplays array of validation error messages from the API
ValidationErrors[]ModelEach itemExpand Retrieves journals — response body — Warnings item

Referenced models: Retrieves journals — response body — Warnings item

Creates a leave application — request body — body item

FieldTypePresenceDescription and constraints
$objectRoot
DescriptionstringOptionalThe Description of the Leave
EmployeeIDstringOptionalThe Xero identifier for Payroll Employee
Format: uuid
EndDatestringOptionalEnd date of the leave (YYYY-MM-DD)
LeaveApplicationIDstringOptionalThe Xero identifier for Payroll Employee
Format: uuid
LeavePeriodsarrayOptional
LeavePeriods[]ModelEach itemExpand Creates a leave application — request body — body item Leave Periods item
LeaveTypeIDstringOptionalThe Xero identifier for Leave Type
Format: uuid
PayOutTypestringOptionalHow the requested leave will be paid out, e.g. cashed out.
One of: DEFAULT, CASHED_OUT
StartDatestringOptionalStart date of the leave (YYYY-MM-DD)
TitlestringOptionalThe title of the leave
UpdatedDateUTCstringOptionalLast modified timestamp
Read only: true
ValidationErrorsarrayOptionalDisplays array of validation error messages from the API
ValidationErrors[]ModelEach itemExpand Retrieves journals — response body — Warnings item

Referenced models: Creates a leave application — request body — body item Leave Periods item, Retrieves journals — response body — Warnings item

Creates a leave application — request body — body item Leave Periods item

FieldTypePresenceDescription and constraints
$objectRoot
LeavePeriodStatusstringOptionalOne of: SCHEDULED, PROCESSED, REQUESTED, REJECTED
NumberOfUnitsnumberOptionalThe Number of Units for the leave
Format: double
PayPeriodEndDatestringOptionalThe Pay Period End Date (YYYY-MM-DD)
PayPeriodStartDatestringOptionalThe Pay Period Start Date (YYYY-MM-DD)

Creates a leave application — response body

FieldTypePresenceDescription and constraints
$objectRoot
LeaveApplicationsarrayOptional
LeaveApplications[]ModelEach itemExpand Creates a leave application — response body — Leave Applications item

Referenced models: Creates a leave application — response body — Leave Applications item

Creates a leave application — response body — Leave Applications item

FieldTypePresenceDescription and constraints
$objectRoot
DescriptionstringOptionalThe Description of the Leave
EmployeeIDstringOptionalThe Xero identifier for Payroll Employee
Format: uuid
EndDatestringOptionalEnd date of the leave (YYYY-MM-DD)
LeaveApplicationIDstringOptionalThe Xero identifier for Payroll Employee
Format: uuid
LeavePeriodsarrayOptional
LeavePeriods[]ModelEach itemExpand Creates a leave application — response body — Leave Applications item Leave Periods item
LeaveTypeIDstringOptionalThe Xero identifier for Leave Type
Format: uuid
PayOutTypestringOptionalHow the requested leave will be paid out, e.g. cashed out.
Known values: DEFAULT, CASHED_OUT
StartDatestringOptionalStart date of the leave (YYYY-MM-DD)
TitlestringOptionalThe title of the leave
UpdatedDateUTCstringOptionalLast modified timestamp
Read only: true
ValidationErrorsarrayOptionalDisplays array of validation error messages from the API
ValidationErrors[]ModelEach itemExpand Retrieves journals — response body — Warnings item

Referenced models: Creates a leave application — response body — Leave Applications item Leave Periods item, Retrieves journals — response body — Warnings item

Creates a leave application — response body — Leave Applications item Leave Periods item

FieldTypePresenceDescription and constraints
$objectRoot
LeavePeriodStatusstringOptionalKnown values: SCHEDULED, PROCESSED, REQUESTED, REJECTED
NumberOfUnitsJSONOptional
NumberOfUnits (anyOf 1)numberAlternativeThe Number of Units for the leave
Format: double
NumberOfUnits (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
PayPeriodEndDatestringOptionalThe Pay Period End Date (YYYY-MM-DD)
PayPeriodStartDatestringOptionalThe Pay Period Start Date (YYYY-MM-DD)

Creates a pay item — request body — body

FieldTypePresenceDescription and constraints
$objectRoot
DeductionTypesarrayOptional
DeductionTypes[]ModelEach itemExpand Creates a pay item — request body — body Deduction Types item
EarningsRatesarrayOptional
EarningsRates[]ModelEach itemExpand Creates a pay item — request body — body Earnings Rates item
LeaveTypesarrayOptional
LeaveTypes[]ModelEach itemExpand Creates a pay item — request body — body Leave Types item
ReimbursementTypesarrayOptional
ReimbursementTypes[]ModelEach itemExpand Creates a pay item — request body — body Reimbursement Types item

Referenced models: Creates a pay item — request body — body Deduction Types item, Creates a pay item — request body — body Earnings Rates item, Creates a pay item — request body — body Leave Types item, Creates a pay item — request body — body Reimbursement Types item

Creates a pay item — request body — body Deduction Types item

FieldTypePresenceDescription and constraints
$objectRoot
AccountCodestringOptionalSee Accounts
CurrentRecordbooleanOptionalIs the current record
DeductionCategorystringOptionalOne of: NONE, UNIONFEES, WORKPLACEGIVING
DeductionTypeIDstringOptionalXero identifier
Format: uuid
IsExemptFromW1booleanOptionalBoolean to determine if the deduction type is reportable or exempt from W1
NamestringOptionalName of the earnings rate (max length = 100)
Maximum length: 100
ReducesSuperbooleanOptionalMost deductions don’t reduce your superannuation guarantee contribution liability, so typically you will not set any value for this.
ReducesTaxbooleanOptionalIndicates that this is a pre-tax deduction that will reduce the amount of tax you withhold from an employee.
UpdatedDateUTCstringOptionalLast modified timestamp
Read only: true

Creates a pay item — request body — body Earnings Rates item

FieldTypePresenceDescription and constraints
$objectRoot
AccountCodestringOptionalSee Accounts
AccrueLeavebooleanOptionalIndicates that this earnings rate should accrue leave. Only applicable if RateType is MULTIPLE
AllowanceCategorystringOptionalOne of: NONDEDUCTIBLE, UNIFORM, PRIVATEVEHICLE, HOMEOFFICE, TRANSPORT, GENERAL, OTHER
AllowanceContributesToAnnualLeaveRatebooleanOptionalBoolean to determine if the allowance earnings rate contributes towards annual leave rate. Only applicable if EarningsType is ALLOWANCE and RateType is RATEPERUNIT
AllowanceContributesToOvertimeRatebooleanOptionalBoolean to determine if the allowance earnings rate contributes towards overtime allowance rate. Only applicable if EarningsType is ALLOWANCE and RateType is RATEPERUNIT
AllowanceTypestringOptionalOne of: CAR, TRANSPORT, LAUNDRY, MEALS, TRAVEL, OTHER, TOOLS, TASKS, QUALIFICATIONS
AmountnumberOptionalOptional Amount for FIXEDAMOUNT RateType EarningsRate
Format: double
CurrentRecordbooleanOptionalIs the current record
EarningsRateIDstringOptionalXero identifier
Format: uuid
EarningsTypestringOptionalOne of: FIXED, ORDINARYTIMEEARNINGS, OVERTIMEEARNINGS, ALLOWANCE, LUMPSUMD, EMPLOYMENTTERMINATIONPAYMENT, LUMPSUMA, LUMPSUMB, BONUSESANDCOMMISSIONS, LUMPSUME, LUMPSUMW, DIRECTORSFEES, PAIDPARENTALLEAVE, WORKERSCOMPENSATION
EmploymentTerminationPaymentTypestringOptionalOne of: O, R
IsExemptFromSuperbooleanOptionalSee the ATO website for details of which payments are exempt from SGC
IsExemptFromTaxbooleanOptionalMost payments are subject to tax, so you should only set this value if you are sure that a payment is exempt from PAYG withholding
IsQualifyingEarningsbooleanRequired within parentBoolean to determine if the earnings rate is considered as qualifying earnings for superannuation guarantee calculations
IsReportableAsW1booleanOptionalBoolean to determine if the earnings rate is reportable or exempt from W1
MultipliernumberOptionalThis is the multiplier used to calculate the rate per unit, based on the employee’s ordinary earnings rate. For example, for time and a half enter 1.5. Only applicable if RateType is MULTIPLE
Format: double
NamestringOptionalName of the earnings rate (max length = 100)
Maximum length: 100
RatePerUnitstringOptionalDefault rate per unit (optional). Only applicable if RateType is RATEPERUNIT.
RateTypestringOptionalOne of: FIXEDAMOUNT, MULTIPLE, RATEPERUNIT
TypeOfUnitsstringOptionalType of units used to record earnings (max length = 50). Only When RateType is RATEPERUNIT
Maximum length: 50
UpdatedDateUTCstringOptionalLast modified timestamp
Read only: true

Creates a pay item — request body — body Leave Types item

FieldTypePresenceDescription and constraints
$objectRoot
CurrentRecordbooleanOptionalIs the current record
IsPaidLeavebooleanOptionalSet this to indicate that an employee will be paid when taking this type of leave
IsQualifyingEarningsbooleanRequired within parentBoolean to determine if the leave type is considered as qualifying earnings for superannuation guarantee calculations
LeaveCategoryCodestringOptionalCode used to identify the Leave Category
One of: ANNUALLEAVE, LONGSERVICELEAVE, PERSONALSICKCARERSLEAVE, ROSTEREDDAYOFF, TIMEOFFINLIEU, COMPASSIONATEANDBEREAVEMENTLEAVE, STUDYLEAVE, FAMILYANDDOMESTICVIOLENCELEAVE, SPECIALPAIDLEAVE, COMMUNITYSERVICELEAVE, JURYDUTYLEAVE, DEFENCERESERVELEAVE
LeaveLoadingRatenumberOptionalEnter an amount here if your organisation pays an additional percentage on top of ordinary earnings when your employees take leave (typically 17.5%)
Format: double
LeaveTypeIDstringOptionalXero identifier
Format: uuid
NamestringOptionalName of the earnings rate (max length = 100)
Maximum length: 100
NormalEntitlementnumberOptionalThe number of units the employee is entitled to each year
Format: double
SGCExemptbooleanOptionalSet this to indicate that the leave type is exempt from superannuation guarantee contribution
ShowOnPayslipbooleanOptionalSet this if you want a balance for this leave type to be shown on your employee’s payslips
TypeOfUnitsstringOptionalThe type of units by which leave entitlements are normally tracked. These are typically the same as the type of units used for the employee’s ordinary earnings rate
UpdatedDateUTCstringOptionalLast modified timestamp
Read only: true

Creates a pay item — request body — body Reimbursement Types item

FieldTypePresenceDescription and constraints
$objectRoot
AccountCodestringOptionalSee Accounts
CurrentRecordbooleanOptionalIs the current record
NamestringOptionalName of the earnings rate (max length = 100)
Maximum length: 100
ReimbursementTypeIDstringOptionalXero identifier
Format: uuid
UpdatedDateUTCstringOptionalLast modified timestamp
Read only: true

Creates a pay item — response body

FieldTypePresenceDescription and constraints
$objectRoot
PayItemsModelOptionalExpand Creates a pay item — response body — Pay Items

Referenced models: Creates a pay item — response body — Pay Items

Creates a pay item — response body — Pay Items

FieldTypePresenceDescription and constraints
$objectRoot
DeductionTypesarrayOptional
DeductionTypes[]ModelEach itemExpand Creates a pay item — response body — Pay Items Deduction Types item
EarningsRatesarrayOptional
EarningsRates[]ModelEach itemExpand Creates a pay item — response body — Pay Items Earnings Rates item
LeaveTypesarrayOptional
LeaveTypes[]ModelEach itemExpand Creates a pay item — response body — Pay Items Leave Types item
ReimbursementTypesarrayOptional
ReimbursementTypes[]ModelEach itemExpand Creates a pay item — request body — body Reimbursement Types item

Referenced models: Creates a pay item — response body — Pay Items Deduction Types item, Creates a pay item — response body — Pay Items Earnings Rates item, Creates a pay item — response body — Pay Items Leave Types item, Creates a pay item — request body — body Reimbursement Types item

Creates a pay item — response body — Pay Items Deduction Types item

FieldTypePresenceDescription and constraints
$objectRoot
AccountCodestringOptionalSee Accounts
CurrentRecordbooleanOptionalIs the current record
DeductionCategorystringOptionalKnown values: NONE, UNIONFEES, WORKPLACEGIVING
DeductionTypeIDstringOptionalXero identifier
Format: uuid
IsExemptFromW1booleanOptionalBoolean to determine if the deduction type is reportable or exempt from W1
NamestringOptionalName of the earnings rate (max length = 100)
Maximum length: 100
ReducesSuperbooleanOptionalMost deductions don’t reduce your superannuation guarantee contribution liability, so typically you will not set any value for this.
ReducesTaxbooleanOptionalIndicates that this is a pre-tax deduction that will reduce the amount of tax you withhold from an employee.
UpdatedDateUTCstringOptionalLast modified timestamp
Read only: true

Creates a pay item — response body — Pay Items Earnings Rates item

FieldTypePresenceDescription and constraints
$objectRoot
AccountCodestringOptionalSee Accounts
AccrueLeavebooleanOptionalIndicates that this earnings rate should accrue leave. Only applicable if RateType is MULTIPLE
AllowanceCategorystringOptionalKnown values: NONDEDUCTIBLE, UNIFORM, PRIVATEVEHICLE, HOMEOFFICE, TRANSPORT, GENERAL, OTHER
AllowanceContributesToAnnualLeaveRatebooleanOptionalBoolean to determine if the allowance earnings rate contributes towards annual leave rate. Only applicable if EarningsType is ALLOWANCE and RateType is RATEPERUNIT
AllowanceContributesToOvertimeRatebooleanOptionalBoolean to determine if the allowance earnings rate contributes towards overtime allowance rate. Only applicable if EarningsType is ALLOWANCE and RateType is RATEPERUNIT
AllowanceTypestringOptionalKnown values: CAR, TRANSPORT, LAUNDRY, MEALS, TRAVEL, OTHER, TOOLS, TASKS, QUALIFICATIONS
AmountJSONOptional
Amount (anyOf 1)numberAlternativeOptional Amount for FIXEDAMOUNT RateType EarningsRate
Format: double
Amount (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
CurrentRecordbooleanOptionalIs the current record
EarningsRateIDstringOptionalXero identifier
Format: uuid
EarningsTypestringOptionalKnown values: FIXED, ORDINARYTIMEEARNINGS, OVERTIMEEARNINGS, ALLOWANCE, LUMPSUMD, EMPLOYMENTTERMINATIONPAYMENT, LUMPSUMA, LUMPSUMB, BONUSESANDCOMMISSIONS, LUMPSUME, LUMPSUMW, DIRECTORSFEES, PAIDPARENTALLEAVE, WORKERSCOMPENSATION
EmploymentTerminationPaymentTypestringOptionalKnown values: O, R
IsExemptFromSuperbooleanOptionalSee the ATO website for details of which payments are exempt from SGC
IsExemptFromTaxbooleanOptionalMost payments are subject to tax, so you should only set this value if you are sure that a payment is exempt from PAYG withholding
IsQualifyingEarningsbooleanRequired within parentBoolean to determine if the earnings rate is considered as qualifying earnings for superannuation guarantee calculations
IsReportableAsW1booleanOptionalBoolean to determine if the earnings rate is reportable or exempt from W1
MultiplierJSONOptional
Multiplier (anyOf 1)numberAlternativeThis is the multiplier used to calculate the rate per unit, based on the employee’s ordinary earnings rate. For example, for time and a half enter 1.5. Only applicable if RateType is MULTIPLE
Format: double
Multiplier (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
NamestringOptionalName of the earnings rate (max length = 100)
Maximum length: 100
RatePerUnitstringOptionalDefault rate per unit (optional). Only applicable if RateType is RATEPERUNIT.
RateTypestringOptionalKnown values: FIXEDAMOUNT, MULTIPLE, RATEPERUNIT
TypeOfUnitsstringOptionalType of units used to record earnings (max length = 50). Only When RateType is RATEPERUNIT
Maximum length: 50
UpdatedDateUTCstringOptionalLast modified timestamp
Read only: true

Creates a pay item — response body — Pay Items Leave Types item

FieldTypePresenceDescription and constraints
$objectRoot
CurrentRecordbooleanOptionalIs the current record
IsPaidLeavebooleanOptionalSet this to indicate that an employee will be paid when taking this type of leave
IsQualifyingEarningsbooleanRequired within parentBoolean to determine if the leave type is considered as qualifying earnings for superannuation guarantee calculations
LeaveCategoryCodestringOptionalCode used to identify the Leave Category
Known values: ANNUALLEAVE, LONGSERVICELEAVE, PERSONALSICKCARERSLEAVE, ROSTEREDDAYOFF, TIMEOFFINLIEU, COMPASSIONATEANDBEREAVEMENTLEAVE, STUDYLEAVE, FAMILYANDDOMESTICVIOLENCELEAVE, SPECIALPAIDLEAVE, COMMUNITYSERVICELEAVE, JURYDUTYLEAVE, DEFENCERESERVELEAVE
LeaveLoadingRateJSONOptional
LeaveLoadingRate (anyOf 1)numberAlternativeEnter an amount here if your organisation pays an additional percentage on top of ordinary earnings when your employees take leave (typically 17.5%)
Format: double
LeaveLoadingRate (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
LeaveTypeIDstringOptionalXero identifier
Format: uuid
NamestringOptionalName of the earnings rate (max length = 100)
Maximum length: 100
NormalEntitlementJSONOptional
NormalEntitlement (anyOf 1)numberAlternativeThe number of units the employee is entitled to each year
Format: double
NormalEntitlement (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
SGCExemptbooleanOptionalSet this to indicate that the leave type is exempt from superannuation guarantee contribution
ShowOnPayslipbooleanOptionalSet this if you want a balance for this leave type to be shown on your employee’s payslips
TypeOfUnitsstringOptionalThe type of units by which leave entitlements are normally tracked. These are typically the same as the type of units used for the employee’s ordinary earnings rate
UpdatedDateUTCstringOptionalLast modified timestamp
Read only: true

Creates a pay run — request body — body item

FieldTypePresenceDescription and constraints
$objectRoot
DeductionsnumberOptionalThe total Deductions for the Payrun
Format: double
NetPaynumberOptionalThe total NetPay for the Payrun
Format: double
PayRunIDstringOptionalXero identifier for pay run
Format: uuid
PayRunPeriodEndDatestringOptionalPeriod End Date for the PayRun (YYYY-MM-DD)
PayRunPeriodStartDatestringOptionalPeriod Start Date for the PayRun (YYYY-MM-DD)
PayRunStatusstringOptionalOne of: DRAFT, POSTED
PaymentDatestringOptionalPayment Date for the PayRun (YYYY-MM-DD)
PayrollCalendarIDstringRequired within parentXero identifier for pay run
Format: uuid
PayslipMessagestringOptionalPayslip message for the PayRun
PayslipsarrayOptionalThe payslips in the payrun
Payslips[]ModelEach itemExpand Creates a pay run — request body — body item Payslips item
ReimbursementnumberOptionalThe total Reimbursements for the Payrun
Format: double
SupernumberOptionalThe total Super for the Payrun
Format: double
TaxnumberOptionalThe total Tax for the Payrun
Format: double
UpdatedDateUTCstringOptionalLast modified timestamp
Read only: true
ValidationErrorsarrayOptionalDisplays array of validation error messages from the API
ValidationErrors[]ModelEach itemExpand Retrieves journals — response body — Warnings item
WagesnumberOptionalThe total Wages for the Payrun
Format: double

Referenced models: Retrieves journals — response body — Warnings item, Creates a pay run — request body — body item Payslips item

Creates a pay run — request body — body item Payslips item

FieldTypePresenceDescription and constraints
$objectRoot
DeductionsnumberOptionalThe Deductions for the Payslip
Format: double
EmployeeGroupstringOptionalEmployee group name
EmployeeIDstringOptionalThe Xero identifier for an employee
Format: uuid
FirstNamestringOptionalFirst name of employee
LastNamestringOptionalLast name of employee
NetPaynumberOptionalThe NetPay for the Payslip
Format: double
PayslipIDstringOptionalXero identifier for the payslip
Format: uuid
ReimbursementsnumberOptionalThe Reimbursements for the Payslip
Format: double
SupernumberOptionalThe Super for the Payslip
Format: double
TaxnumberOptionalThe Tax for the Payslip
Format: double
UpdatedDateUTCstringOptionalLast modified timestamp
Read only: true
WagesnumberOptionalThe Wages for the Payslip
Format: double

Creates a pay run — response body

FieldTypePresenceDescription and constraints
$objectRoot
PayRunsarrayOptional
PayRuns[]ModelEach itemExpand Creates a pay run — response body — Pay Runs item

Referenced models: Creates a pay run — response body — Pay Runs item

Creates a pay run — response body — Pay Runs item

FieldTypePresenceDescription and constraints
$objectRoot
DeductionsJSONOptional
Deductions (anyOf 1)numberAlternativeThe total Deductions for the Payrun
Format: double
Deductions (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
NetPayJSONOptional
NetPay (anyOf 1)numberAlternativeThe total NetPay for the Payrun
Format: double
NetPay (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
PayRunIDstringOptionalXero identifier for pay run
Format: uuid
PayRunPeriodEndDatestringOptionalPeriod End Date for the PayRun (YYYY-MM-DD)
PayRunPeriodStartDatestringOptionalPeriod Start Date for the PayRun (YYYY-MM-DD)
PayRunStatusstringOptionalKnown values: DRAFT, POSTED
PaymentDatestringOptionalPayment Date for the PayRun (YYYY-MM-DD)
PayrollCalendarIDstringRequired within parentXero identifier for pay run
Format: uuid
PayslipMessagestringOptionalPayslip message for the PayRun
PayslipsarrayOptionalThe payslips in the payrun
Payslips[]ModelEach itemExpand Creates a pay run — response body — Pay Runs item Payslips item
ReimbursementJSONOptional
Reimbursement (anyOf 1)numberAlternativeThe total Reimbursements for the Payrun
Format: double
Reimbursement (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
SuperJSONOptional
Super (anyOf 1)numberAlternativeThe total Super for the Payrun
Format: double
Super (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
TaxJSONOptional
Tax (anyOf 1)numberAlternativeThe total Tax for the Payrun
Format: double
Tax (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
UpdatedDateUTCstringOptionalLast modified timestamp
Read only: true
ValidationErrorsarrayOptionalDisplays array of validation error messages from the API
ValidationErrors[]ModelEach itemExpand Retrieves journals — response body — Warnings item
WagesJSONOptional
Wages (anyOf 1)numberAlternativeThe total Wages for the Payrun
Format: double
Wages (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$

Referenced models: Creates a pay run — response body — Pay Runs item Payslips item, Retrieves journals — response body — Warnings item

Creates a pay run — response body — Pay Runs item Payslips item

FieldTypePresenceDescription and constraints
$objectRoot
DeductionsJSONOptional
Deductions (anyOf 1)numberAlternativeThe Deductions for the Payslip
Format: double
Deductions (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
EmployeeGroupstringOptionalEmployee group name
EmployeeIDstringOptionalThe Xero identifier for an employee
Format: uuid
FirstNamestringOptionalFirst name of employee
LastNamestringOptionalLast name of employee
NetPayJSONOptional
NetPay (anyOf 1)numberAlternativeThe NetPay for the Payslip
Format: double
NetPay (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
PayslipIDstringOptionalXero identifier for the payslip
Format: uuid
ReimbursementsJSONOptional
Reimbursements (anyOf 1)numberAlternativeThe Reimbursements for the Payslip
Format: double
Reimbursements (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
SuperJSONOptional
Super (anyOf 1)numberAlternativeThe Super for the Payslip
Format: double
Super (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
TaxJSONOptional
Tax (anyOf 1)numberAlternativeThe Tax for the Payslip
Format: double
Tax (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
UpdatedDateUTCstringOptionalLast modified timestamp
Read only: true
WagesJSONOptional
Wages (anyOf 1)numberAlternativeThe Wages for the Payslip
Format: double
Wages (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$

Creates a payroll employee — request body — body item

FieldTypePresenceDescription and constraints
$objectRoot
BankAccountsarrayOptional
BankAccounts[]ModelEach itemExpand Creates a payroll employee — request body — body item Bank Accounts item
ClassificationstringOptionalEmployees classification
CountryOfResidenceModelOptionalExpand Creates a payroll employee — request body — body item Country Of Residence
DateOfBirthstringRequired within parentDate of birth of the employee (YYYY-MM-DD)
EmailstringOptionalThe email address for the employee
EmployeeGroupNamestringOptionalThe Employee Group allows you to report on payroll expenses and liabilities for each group of employees
EmployeeIDstringOptionalXero unique identifier for an Employee
Format: uuid
EmploymentTypestringOptionalOne of: EMPLOYEE, CONTRACTOR
FirstNamestringRequired within parentFirst name of employee
GenderstringOptionalThe employee’s gender. See Employee Gender
One of: N, M, F, I
HomeAddressModelOptionalExpand Creates a payroll employee — request body — body item Home Address
IncomeTypestringOptionalOne of: SALARYANDWAGES, WORKINGHOLIDAYMAKER, NONEMPLOYEE, CLOSELYHELDPAYEES, LABOURHIRE
IsAuthorisedToApproveLeavebooleanOptionalAuthorised to approve other employees' leave requests
IsAuthorisedToApproveTimesheetsbooleanOptionalAuthorised to approve timesheets
IsSTP2QualifiedbooleanOptionalIndicates if the employee has been updated for STP Phase 2 compliance. Doesn't indicate that the employee is payable.
JobTitlestringOptionalJobTitle of the employee
LastNamestringRequired within parentLast name of employee
LeaveBalancesarrayOptional
LeaveBalances[]ModelEach itemExpand Creates a payroll employee — request body — body item Leave Balances item
MiddleNamesstringOptionalMiddle name(s) of the employee
MobilestringOptionalEmployee mobile number
OpeningBalancesModelOptionalExpand Creates a payroll employee — request body — body item Opening Balances
OrdinaryEarningsRateIDstringOptionalXero unique identifier for earnings rate
Format: uuid
PayTemplateModelOptionalExpand Creates a payroll employee — request body — body item Pay Template
PayrollCalendarIDstringOptionalXero unique identifier for payroll calendar for the employee
Format: uuid
PhonestringOptionalEmployee phone number
StartDatestringOptionalStart date for an employee (YYYY-MM-DD)
StatusstringOptionalEmployee Status Types
One of: ACTIVE, TERMINATED
SuperMembershipsarrayOptional
SuperMemberships[]ModelEach itemExpand Creates a payroll employee — request body — body item Super Memberships item
TaxDeclarationModelOptionalExpand Creates a payroll employee — request body — body item Tax Declaration
TerminationDatestringOptionalEmployee Termination Date (YYYY-MM-DD)
TerminationReasonstringOptional* `V` Voluntary cessation - An employee resignation, retirement, domestic or pressing necessity or abandonment of employment
* `I` Ill health - An employee resignation due to medical condition that prevents the continuation of employment, such as for illness, ill-health, medical unfitness or total permanent disability
* `D` Deceased - The death of an employee
* `R` Redundancy - An employer-initiated termination of employment due to a genuine redundancy or approved early retirement scheme
* `F` Dismissal - An employer-initiated termination of employment due to dismissal, inability to perform the required work, misconduct or inefficiency
* `C` Contract cessation - The natural conclusion of a limited employment relationship due to contract/engagement duration or task completion, seasonal work completion, or to cease casuals that are no longer required
* `T` Transfer - The administrative arrangements performed to transfer employees across payroll systems, move them temporarily to another employer (machinery of government for public servants), transfer of business, move them to outsourcing arrangements or other such technical activities.

One of: V, I, D, R, F, C, T
TitlestringOptionalTitle of the employee
TwitterUserNamestringOptionalEmployee’s twitter name
UpdatedDateUTCstringOptionalLast modified timestamp
Read only: true
ValidationErrorsarrayOptionalDisplays array of validation error messages from the API
ValidationErrors[]ModelEach itemExpand Retrieves journals — response body — Warnings item

Referenced models: Creates a payroll employee — request body — body item Bank Accounts item, Creates a payroll employee — request body — body item Country Of Residence, Creates a payroll employee — request body — body item Home Address, Creates a payroll employee — request body — body item Leave Balances item, Creates a payroll employee — request body — body item Opening Balances, Creates a payroll employee — request body — body item Super Memberships item, Retrieves journals — response body — Warnings item, Creates a payroll employee — request body — body item Pay Template, Creates a payroll employee — request body — body item Tax Declaration

Creates a payroll employee — request body — body item Bank Accounts item

FieldTypePresenceDescription and constraints
$objectRoot
AccountNamestringOptionalThe name of the account
AccountNumberstringOptionalThe account number
AmountnumberOptionalFixed amounts (for example, if an employee wants to have $100 of their salary transferred to one account, and the remaining amount to another)
Format: double
BSBstringOptionalThe BSB number of the account
RemainderbooleanOptionalIf this account is the Remaining bank account
StatementTextstringOptionalThe text that will appear on your employee's bank statement when they receive payment

Creates a payroll employee — request body — body item Country Of Residence

FieldTypePresenceDescription and constraints
$stringRootCountry of residence as a valid ISO 3166-1 alpha-2 country code e.g. "AU", "NZ", "CA". Only applicable, and mandatory if income type is WORKINGHOLIDAYMAKER.
One of: AF, AX, AL, DZ, AS, AD, AO, AI, AQ, AG, AR, AM, AW, AU, AT, AZ, BS, BH, BD, BB, BY, BE, BZ, BJ, BM, BT, BO, BA, BW, BV, BR, IO, BN, BG, BF, BI, KH, CM, CA, CV, KY, CF, TD, CL, CN, CX, CC, CO, KM, CG, CD, CK, CR, CI, HR, CU, CY, CZ, DK, DJ, DM, DO, EC, EG, SV, GQ, ER, EE, ET, FK, FO, FJ, FI, FR, GF, PF, TF, GA, GM, GE, DE, GH, GI, GR, GL, GD, GP, GU, GT, GG, GN, GW, GY, HT, HM, VA, HN, HK, HU, IS, IN, ID, IR, IQ, IE, IM, IL, IT, JM, JP, JE, JO, KZ, KE, KI, KP, KR, KW, KG, LA, LV, LB, LS, LR, LY, LI, LT, LU, MO, MK, MG, MW, MY, MV, ML, MT, MH, MQ, MR, MU, YT, MX, FM, MD, MC, MN, ME, MS, MA, MZ, MM, NA, NR, NP, NL, AN, NC, NZ, NI, NE, NG, NU, NF, MP, NO, OM, PK, PW, PS, PA, PG, PY, PE, PH, PN, PL, PT, PR, QA, RE, RO, RU, RW, BL, SH, KN, LC, MF, PM, VC, WS, SM, ST, SA, SN, RS, SC, SL, SG, SK, SI, SB, SO, ZA, GS, ES, LK, SD, SR, SJ, SZ, SE, CH, SY, TW, TJ, TZ, TH, TL, TG, TK, TO, TT, TN, TR, TM, TC, TV, UG, UA, AE, GB, US, UM, UY, UZ, VU, VE, VN, VG, VI, WF, EH, YE, ZM, ZW, BQ, CW, SX, SS

Creates a payroll employee — request body — body item Home Address

FieldTypePresenceDescription and constraints
$objectRoot
AddressLine1stringRequired within parentAddress line 1 for employee home address
AddressLine2stringOptionalAddress line 2 for employee home address
CitystringOptionalSuburb for employee home address
CountrystringOptionalCountry of HomeAddress
PostalCodestringOptionalPostCode for employee home address
RegionstringOptionalState abbreviation for employee home address
One of: ACT, NSW, NT, QLD, SA, TAS, VIC, WA

Creates a payroll employee — request body — body item Leave Balances item

FieldTypePresenceDescription and constraints
$objectRoot
LeaveNamestringOptionalThe name of the leave type
LeaveTypeIDstringOptionalIdentifier of the leave type (see PayItems)
NumberOfUnitsnumberOptionalThe balance of the leave available
Format: double
TypeOfUnitsstringOptionalThe type of units as specified by the LeaveType (see PayItems)

Creates a payroll employee — request body — body item Opening Balances

FieldTypePresenceDescription and constraints
$objectRoot
DeductionLinesarrayOptional
DeductionLines[]ModelEach itemExpand Updates a payslip — request body — body item Deduction Lines item
EarningsLinesarrayOptional
EarningsLines[]ModelEach itemExpand Updates a payslip — request body — body item Earnings Lines item
LeaveLinesarrayOptional
LeaveLines[]ModelEach itemExpand Creates a payroll employee — request body — body item Opening Balances Leave Lines item
OpeningBalanceDatestringOptionalOpening Balance Date. (YYYY-MM-DD)
PaidLeaveEarningsLinesarrayOptional
PaidLeaveEarningsLines[]ModelEach itemExpand Creates a payroll employee — request body — body item Opening Balances Paid Leave Earnings Lines item
ReimbursementLinesarrayOptional
ReimbursementLines[]ModelEach itemExpand Updates a payslip — request body — body item Reimbursement Lines item
SuperLinesarrayOptional
SuperLines[]ModelEach itemExpand Creates a payroll employee — request body — body item Pay Template Super Lines item
TaxstringOptionalOpening Balance tax

Referenced models: Updates a payslip — request body — body item Deduction Lines item, Updates a payslip — request body — body item Earnings Lines item, Creates a payroll employee — request body — body item Opening Balances Leave Lines item, Creates a payroll employee — request body — body item Opening Balances Paid Leave Earnings Lines item, Updates a payslip — request body — body item Reimbursement Lines item, Creates a payroll employee — request body — body item Pay Template Super Lines item

Creates a payroll employee — request body — body item Opening Balances Leave Lines item

FieldTypePresenceDescription and constraints
$objectRoot
LeaveTypeIDstringOptionalXero leave type identifier
Format: uuid
NumberOfUnitsnumberOptionalNumber of units for leave line.
Format: double

Creates a payroll employee — request body — body item Opening Balances Paid Leave Earnings Lines item

FieldTypePresenceDescription and constraints
$objectRoot
AmountnumberRequired within parentPaid leave amount
Format: double
LeaveTypeIDstringRequired within parentXero leave type identifier
Format: uuid
ResetSTPCategorisationbooleanOptionalReset the STP categorisations for the leave type. *Only applicable for Leave Types with Annual Leave Categories
SGCAppliedLeaveLoadingAmountnumberOptionalThe amount of leave loading applied for the leave type that is subject to Superannuation Guarantee Contributions. *Only applicable for Leave Types with Annual Leave Categories
Format: double
SGCExemptedLeaveLoadingAmountnumberOptionalThe amount of leave loading applied for the leave type that is exempt from Superannuation Guarantee Contributions. *Only applicable for Leave Types with Annual Leave Categories
Format: double

Creates a payroll employee — request body — body item Pay Template

FieldTypePresenceDescription and constraints
$objectRoot
DeductionLinesarrayOptional
DeductionLines[]ModelEach itemExpand Updates a payslip — request body — body item Deduction Lines item
EarningsLinesarrayOptional
EarningsLines[]ModelEach itemExpand Updates a payslip — request body — body item Earnings Lines item
LeaveLinesarrayOptional
LeaveLines[]ModelEach itemExpand Creates a payroll employee — request body — body item Pay Template Leave Lines item
ReimbursementLinesarrayOptional
ReimbursementLines[]ModelEach itemExpand Updates a payslip — request body — body item Reimbursement Lines item
SuperLinesarrayOptional
SuperLines[]ModelEach itemExpand Creates a payroll employee — request body — body item Pay Template Super Lines item

Referenced models: Updates a payslip — request body — body item Deduction Lines item, Updates a payslip — request body — body item Earnings Lines item, Creates a payroll employee — request body — body item Pay Template Leave Lines item, Updates a payslip — request body — body item Reimbursement Lines item, Creates a payroll employee — request body — body item Pay Template Super Lines item

Creates a payroll employee — request body — body item Pay Template Leave Lines item

FieldTypePresenceDescription and constraints
$objectRoot
AnnualNumberOfUnitsnumberOptionalHours of leave accrued each year
Format: double
CalculationTypestringOptionalCalculation type for leave line for Opening Balance on Employee
One of: NOCALCULATIONREQUIRED, FIXEDAMOUNTEACHPERIOD, ENTERRATEINPAYTEMPLATE, BASEDONORDINARYEARNINGS
EmploymentTerminationPaymentTypestringOptionalOne of: O, R
EntitlementFinalPayPayoutTypestringOptionalOne of: NOTPAIDOUT, PAIDOUT
FullTimeNumberOfUnitsPerPeriodnumberOptionalNormal ordinary earnings number of units for leave line.
Format: double
IncludeSuperannuationGuaranteeContributionbooleanOptionalamount of leave line
IsQualifyingEarningsbooleanRequired within parentBoolean to determine if the leave line is considered as qualifying earnings for superannuation guarantee calculations
LeaveTypeIDstringOptionalXero leave type identifier
Format: uuid
NumberOfUnitsnumberOptionalNumber of units for leave line.
Format: double

Creates a payroll employee — request body — body item Pay Template Super Lines item

FieldTypePresenceDescription and constraints
$objectRoot
AmountnumberOptionalSuper membership amount
Format: double
CalculationTypestringOptionalOne of: FIXEDAMOUNT, PERCENTAGEOFEARNINGS, STATUTORY
ContributionTypestringOptionalOne of: SGC, SALARYSACRIFICE, EMPLOYERADDITIONAL, EMPLOYEE
ExpenseAccountCodestringOptionalexpense account code
LiabilityAccountCodestringOptionalliabilty account code
MinimumMonthlyEarningsnumberOptionalamount of minimum earnings
Format: double
PercentagenumberOptionalpercentage for super line
Format: double
SuperMembershipIDstringOptionalXero super membership ID
Format: uuid

Creates a payroll employee — request body — body item Super Memberships item

FieldTypePresenceDescription and constraints
$objectRoot
EmployeeNumberstringRequired within parentThe membership number assigned to the employee by the super fund.
SuperFundIDstringRequired within parentXero identifier for super fund
Format: uuid
SuperMembershipIDstringOptionalXero unique identifier for Super membership
Format: uuid

Creates a payroll employee — request body — body item Tax Declaration

FieldTypePresenceDescription and constraints
$objectRoot
ABNstringOptional11-digit Australian Business Number e.g 21006819692 or an empty string ("") to unset a previously set value. Only applicable, and mandatory if income type is NONEMPLOYEE.
ApprovedWithholdingVariationPercentagenumberOptionalIf the employee has approved withholding variation. e.g (0 - 100)
Format: int
AustralianResidentForTaxPurposesbooleanOptionalIf the employee is Australian resident for tax purposes. e.g true or false
EligibleToReceiveLeaveLoadingbooleanOptionalIf the employee is eligible to receive an additional percentage on top of ordinary earnings when they take leave (typically 17.5%). e.g true or false
EmployeeIDstringOptionalAddress line 1 for employee home address
Format: uuid
EmploymentBasisstringOptionalOne of: FULLTIME, PARTTIME, CASUAL, LABOURHIRE, SUPERINCOMESTREAM, NONEMPLOYEE
HasHELPDebtbooleanOptionalIf employee has HECS or HELP debt. e.g true or false
HasLoanOrStudentDebtbooleanOptionalIf the employee has any of the following loans or debts: Higher Education Loan Program (HELP/HECS), VET Student Loan (VSL), Financial Supplement (FS), Student Start-up Loan (SSL), or Trade Support Loan (TSL)
HasSFSSDebtbooleanOptionalIf employee has financial supplement debt. e.g true or false
HasStudentStartupLoanbooleanOptionalIf the employee is eligible for student startup loan rules
HasTradeSupportLoanDebtbooleanOptionalIf employee has trade support loan. e.g true or false
IncludeLeaveLoadingInQualifyingEarningsbooleanOptionalBoolean to determine if leave loading is considered as qualifying earnings for superannuation guarantee calculations. Required when IncludeLeaveLoadingInSGC is specified in the payload
ResidencyStatusstringOptionalOne of: AUSTRALIANRESIDENT, FOREIGNRESIDENT, WORKINGHOLIDAYMAKER
SeniorMaritalStatusstringOptionalOne of: MEMBEROFCOUPLE, MEMBEROFILLNESSSEPARATEDCOUPLE, SINGLE
TFNExemptionTypestringOptionalOne of: NOTQUOTED, PENDING, PENSIONER, UNDER18
TaxFileNumberstringOptionalThe tax file number e.g 123123123.
TaxFreeThresholdClaimedbooleanOptionalIf tax free threshold claimed. e.g true or false
TaxOffsetEstimatedAmountnumberOptionalIf has tax offset estimated then the tax offset estimated amount. e.g 100
Format: int
TaxScaleTypestringOptionalOne of: REGULAR, ACTORSARTISTSENTERTAINERS, HORTICULTURISTORSHEARER, SENIORORPENSIONER, WORKINGHOLIDAYMAKER, FOREIGN
UpdatedDateUTCstringOptionalLast modified timestamp
Read only: true
UpwardVariationTaxWithholdingAmountnumberOptionalIf the employee has requested that additional tax be withheld each pay run. e.g 50
Format: int
WorkConditionstringOptionalOne of: PROMOTIONAL, THREELESSPERFORMANCESPERWEEK, NONE

Creates a payroll employee — response body

FieldTypePresenceDescription and constraints
$objectRoot
EmployeesarrayOptional
Employees[]ModelEach itemExpand Creates a payroll employee — response body — Employees item

Referenced models: Creates a payroll employee — response body — Employees item

Creates a payroll employee — response body — Employees item

FieldTypePresenceDescription and constraints
$objectRoot
BankAccountsarrayOptional
BankAccounts[]ModelEach itemExpand Creates a payroll employee — response body — Employees item Bank Accounts item
ClassificationstringOptionalEmployees classification
CountryOfResidenceModelOptionalExpand Creates a payroll employee — response body — Employees item Country Of Residence
DateOfBirthstringRequired within parentDate of birth of the employee (YYYY-MM-DD)
EmailstringOptionalThe email address for the employee
EmployeeGroupNamestringOptionalThe Employee Group allows you to report on payroll expenses and liabilities for each group of employees
EmployeeIDstringOptionalXero unique identifier for an Employee
Format: uuid
EmploymentTypestringOptionalKnown values: EMPLOYEE, CONTRACTOR
FirstNamestringRequired within parentFirst name of employee
GenderstringOptionalThe employee’s gender. See Employee Gender
Known values: N, M, F, I
HomeAddressModelOptionalExpand Creates a payroll employee — response body — Employees item Home Address
IncomeTypestringOptionalKnown values: SALARYANDWAGES, WORKINGHOLIDAYMAKER, NONEMPLOYEE, CLOSELYHELDPAYEES, LABOURHIRE
IsAuthorisedToApproveLeavebooleanOptionalAuthorised to approve other employees' leave requests
IsAuthorisedToApproveTimesheetsbooleanOptionalAuthorised to approve timesheets
IsSTP2QualifiedbooleanOptionalIndicates if the employee has been updated for STP Phase 2 compliance. Doesn't indicate that the employee is payable.
JobTitlestringOptionalJobTitle of the employee
LastNamestringRequired within parentLast name of employee
LeaveBalancesarrayOptional
LeaveBalances[]ModelEach itemExpand Creates a payroll employee — response body — Employees item Leave Balances item
MiddleNamesstringOptionalMiddle name(s) of the employee
MobilestringOptionalEmployee mobile number
OpeningBalancesModelOptionalExpand Creates a payroll employee — response body — Employees item Opening Balances
OrdinaryEarningsRateIDstringOptionalXero unique identifier for earnings rate
Format: uuid
PayTemplateModelOptionalExpand Creates a payroll employee — response body — Employees item Pay Template
PayrollCalendarIDstringOptionalXero unique identifier for payroll calendar for the employee
Format: uuid
PhonestringOptionalEmployee phone number
StartDatestringOptionalStart date for an employee (YYYY-MM-DD)
StatusstringOptionalEmployee Status Types
Known values: ACTIVE, TERMINATED
SuperMembershipsarrayOptional
SuperMemberships[]ModelEach itemExpand Creates a payroll employee — request body — body item Super Memberships item
TaxDeclarationModelOptionalExpand Creates a payroll employee — response body — Employees item Tax Declaration
TerminationDatestringOptionalEmployee Termination Date (YYYY-MM-DD)
TerminationReasonstringOptional* `V` Voluntary cessation - An employee resignation, retirement, domestic or pressing necessity or abandonment of employment
* `I` Ill health - An employee resignation due to medical condition that prevents the continuation of employment, such as for illness, ill-health, medical unfitness or total permanent disability
* `D` Deceased - The death of an employee
* `R` Redundancy - An employer-initiated termination of employment due to a genuine redundancy or approved early retirement scheme
* `F` Dismissal - An employer-initiated termination of employment due to dismissal, inability to perform the required work, misconduct or inefficiency
* `C` Contract cessation - The natural conclusion of a limited employment relationship due to contract/engagement duration or task completion, seasonal work completion, or to cease casuals that are no longer required
* `T` Transfer - The administrative arrangements performed to transfer employees across payroll systems, move them temporarily to another employer (machinery of government for public servants), transfer of business, move them to outsourcing arrangements or other such technical activities.

Known values: V, I, D, R, F, C, T
TitlestringOptionalTitle of the employee
TwitterUserNamestringOptionalEmployee’s twitter name
UpdatedDateUTCstringOptionalLast modified timestamp
Read only: true
ValidationErrorsarrayOptionalDisplays array of validation error messages from the API
ValidationErrors[]ModelEach itemExpand Retrieves journals — response body — Warnings item

Referenced models: Creates a payroll employee — response body — Employees item Bank Accounts item, Creates a payroll employee — response body — Employees item Country Of Residence, Creates a payroll employee — response body — Employees item Home Address, Creates a payroll employee — response body — Employees item Leave Balances item, Creates a payroll employee — response body — Employees item Opening Balances, Creates a payroll employee — response body — Employees item Pay Template, Creates a payroll employee — request body — body item Super Memberships item, Creates a payroll employee — response body — Employees item Tax Declaration, Retrieves journals — response body — Warnings item

Creates a payroll employee — response body — Employees item Bank Accounts item

FieldTypePresenceDescription and constraints
$objectRoot
AccountNamestringOptionalThe name of the account
AccountNumberstringOptionalThe account number
AmountJSONOptional
Amount (anyOf 1)numberAlternativeFixed amounts (for example, if an employee wants to have $100 of their salary transferred to one account, and the remaining amount to another)
Format: double
Amount (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
BSBstringOptionalThe BSB number of the account
RemainderbooleanOptionalIf this account is the Remaining bank account
StatementTextstringOptionalThe text that will appear on your employee's bank statement when they receive payment

Creates a payroll employee — response body — Employees item Country Of Residence

FieldTypePresenceDescription and constraints
$stringRootCountry of residence as a valid ISO 3166-1 alpha-2 country code e.g. "AU", "NZ", "CA". Only applicable, and mandatory if income type is WORKINGHOLIDAYMAKER.
Known values: AF, AX, AL, DZ, AS, AD, AO, AI, AQ, AG, AR, AM, AW, AU, AT, AZ, BS, BH, BD, BB, BY, BE, BZ, BJ, BM, BT, BO, BA, BW, BV, BR, IO, BN, BG, BF, BI, KH, CM, CA, CV, KY, CF, TD, CL, CN, CX, CC, CO, KM, CG, CD, CK, CR, CI, HR, CU, CY, CZ, DK, DJ, DM, DO, EC, EG, SV, GQ, ER, EE, ET, FK, FO, FJ, FI, FR, GF, PF, TF, GA, GM, GE, DE, GH, GI, GR, GL, GD, GP, GU, GT, GG, GN, GW, GY, HT, HM, VA, HN, HK, HU, IS, IN, ID, IR, IQ, IE, IM, IL, IT, JM, JP, JE, JO, KZ, KE, KI, KP, KR, KW, KG, LA, LV, LB, LS, LR, LY, LI, LT, LU, MO, MK, MG, MW, MY, MV, ML, MT, MH, MQ, MR, MU, YT, MX, FM, MD, MC, MN, ME, MS, MA, MZ, MM, NA, NR, NP, NL, AN, NC, NZ, NI, NE, NG, NU, NF, MP, NO, OM, PK, PW, PS, PA, PG, PY, PE, PH, PN, PL, PT, PR, QA, RE, RO, RU, RW, BL, SH, KN, LC, MF, PM, VC, WS, SM, ST, SA, SN, RS, SC, SL, SG, SK, SI, SB, SO, ZA, GS, ES, LK, SD, SR, SJ, SZ, SE, CH, SY, TW, TJ, TZ, TH, TL, TG, TK, TO, TT, TN, TR, TM, TC, TV, UG, UA, AE, GB, US, UM, UY, UZ, VU, VE, VN, VG, VI, WF, EH, YE, ZM, ZW, BQ, CW, SX, SS

Creates a payroll employee — response body — Employees item Home Address

FieldTypePresenceDescription and constraints
$objectRoot
AddressLine1stringRequired within parentAddress line 1 for employee home address
AddressLine2stringOptionalAddress line 2 for employee home address
CitystringOptionalSuburb for employee home address
CountrystringOptionalCountry of HomeAddress
PostalCodestringOptionalPostCode for employee home address
RegionstringOptionalState abbreviation for employee home address
Known values: ACT, NSW, NT, QLD, SA, TAS, VIC, WA

Creates a payroll employee — response body — Employees item Leave Balances item

FieldTypePresenceDescription and constraints
$objectRoot
LeaveNamestringOptionalThe name of the leave type
LeaveTypeIDstringOptionalIdentifier of the leave type (see PayItems)
NumberOfUnitsJSONOptional
NumberOfUnits (anyOf 1)numberAlternativeThe balance of the leave available
Format: double
NumberOfUnits (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
TypeOfUnitsstringOptionalThe type of units as specified by the LeaveType (see PayItems)

Creates a payroll employee — response body — Employees item Opening Balances

FieldTypePresenceDescription and constraints
$objectRoot
DeductionLinesarrayOptional
DeductionLines[]ModelEach itemExpand Retrieves for a payslip by a unique payslip id — response body — Payslip Deduction Lines item
EarningsLinesarrayOptional
EarningsLines[]ModelEach itemExpand Retrieves for a payslip by a unique payslip id — response body — Payslip Earnings Lines item
LeaveLinesarrayOptional
LeaveLines[]ModelEach itemExpand Creates a payroll employee — response body — Employees item Opening Balances Leave Lines item
OpeningBalanceDatestringOptionalOpening Balance Date. (YYYY-MM-DD)
PaidLeaveEarningsLinesarrayOptional
PaidLeaveEarningsLines[]ModelEach itemExpand Creates a payroll employee — response body — Employees item Opening Balances Paid Leave Earnings Lines item
ReimbursementLinesarrayOptional
ReimbursementLines[]ModelEach itemExpand Retrieves for a payslip by a unique payslip id — response body — Payslip Reimbursement Lines item
SuperLinesarrayOptional
SuperLines[]ModelEach itemExpand Creates a payroll employee — response body — Employees item Pay Template Super Lines item
TaxstringOptionalOpening Balance tax

Referenced models: Retrieves for a payslip by a unique payslip id — response body — Payslip Deduction Lines item, Retrieves for a payslip by a unique payslip id — response body — Payslip Earnings Lines item, Creates a payroll employee — response body — Employees item Opening Balances Leave Lines item, Creates a payroll employee — response body — Employees item Opening Balances Paid Leave Earnings Lines item, Retrieves for a payslip by a unique payslip id — response body — Payslip Reimbursement Lines item, Creates a payroll employee — response body — Employees item Pay Template Super Lines item

Creates a payroll employee — response body — Employees item Opening Balances Leave Lines item

FieldTypePresenceDescription and constraints
$objectRoot
LeaveTypeIDstringOptionalXero leave type identifier
Format: uuid
NumberOfUnitsJSONOptional
NumberOfUnits (anyOf 1)numberAlternativeNumber of units for leave line.
Format: double
NumberOfUnits (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$

Creates a payroll employee — response body — Employees item Opening Balances Paid Leave Earnings Lines item

FieldTypePresenceDescription and constraints
$objectRoot
AmountJSONRequired within parent
Amount (anyOf 1)numberAlternativePaid leave amount
Format: double
Amount (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
LeaveTypeIDstringRequired within parentXero leave type identifier
Format: uuid
ResetSTPCategorisationbooleanOptionalReset the STP categorisations for the leave type. *Only applicable for Leave Types with Annual Leave Categories
SGCAppliedLeaveLoadingAmountJSONOptional
SGCAppliedLeaveLoadingAmount (anyOf 1)numberAlternativeThe amount of leave loading applied for the leave type that is subject to Superannuation Guarantee Contributions. *Only applicable for Leave Types with Annual Leave Categories
Format: double
SGCAppliedLeaveLoadingAmount (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
SGCExemptedLeaveLoadingAmountJSONOptional
SGCExemptedLeaveLoadingAmount (anyOf 1)numberAlternativeThe amount of leave loading applied for the leave type that is exempt from Superannuation Guarantee Contributions. *Only applicable for Leave Types with Annual Leave Categories
Format: double
SGCExemptedLeaveLoadingAmount (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$

Creates a payroll employee — response body — Employees item Pay Template

FieldTypePresenceDescription and constraints
$objectRoot
DeductionLinesarrayOptional
DeductionLines[]ModelEach itemExpand Retrieves for a payslip by a unique payslip id — response body — Payslip Deduction Lines item
EarningsLinesarrayOptional
EarningsLines[]ModelEach itemExpand Retrieves for a payslip by a unique payslip id — response body — Payslip Earnings Lines item
LeaveLinesarrayOptional
LeaveLines[]ModelEach itemExpand Creates a payroll employee — response body — Employees item Pay Template Leave Lines item
ReimbursementLinesarrayOptional
ReimbursementLines[]ModelEach itemExpand Retrieves for a payslip by a unique payslip id — response body — Payslip Reimbursement Lines item
SuperLinesarrayOptional
SuperLines[]ModelEach itemExpand Creates a payroll employee — response body — Employees item Pay Template Super Lines item

Referenced models: Retrieves for a payslip by a unique payslip id — response body — Payslip Deduction Lines item, Retrieves for a payslip by a unique payslip id — response body — Payslip Earnings Lines item, Creates a payroll employee — response body — Employees item Pay Template Leave Lines item, Retrieves for a payslip by a unique payslip id — response body — Payslip Reimbursement Lines item, Creates a payroll employee — response body — Employees item Pay Template Super Lines item

Creates a payroll employee — response body — Employees item Pay Template Leave Lines item

FieldTypePresenceDescription and constraints
$objectRoot
AnnualNumberOfUnitsJSONOptional
AnnualNumberOfUnits (anyOf 1)numberAlternativeHours of leave accrued each year
Format: double
AnnualNumberOfUnits (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
CalculationTypestringOptionalCalculation type for leave line for Opening Balance on Employee
Known values: NOCALCULATIONREQUIRED, FIXEDAMOUNTEACHPERIOD, ENTERRATEINPAYTEMPLATE, BASEDONORDINARYEARNINGS
EmploymentTerminationPaymentTypestringOptionalKnown values: O, R
EntitlementFinalPayPayoutTypestringOptionalKnown values: NOTPAIDOUT, PAIDOUT
FullTimeNumberOfUnitsPerPeriodJSONOptional
FullTimeNumberOfUnitsPerPeriod (anyOf 1)numberAlternativeNormal ordinary earnings number of units for leave line.
Format: double
FullTimeNumberOfUnitsPerPeriod (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
IncludeSuperannuationGuaranteeContributionbooleanOptionalamount of leave line
IsQualifyingEarningsbooleanRequired within parentBoolean to determine if the leave line is considered as qualifying earnings for superannuation guarantee calculations
LeaveTypeIDstringOptionalXero leave type identifier
Format: uuid
NumberOfUnitsJSONOptional
NumberOfUnits (anyOf 1)numberAlternativeNumber of units for leave line.
Format: double
NumberOfUnits (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$

Creates a payroll employee — response body — Employees item Pay Template Super Lines item

FieldTypePresenceDescription and constraints
$objectRoot
AmountJSONOptional
Amount (anyOf 1)numberAlternativeSuper membership amount
Format: double
Amount (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
CalculationTypestringOptionalKnown values: FIXEDAMOUNT, PERCENTAGEOFEARNINGS, STATUTORY
ContributionTypestringOptionalKnown values: SGC, SALARYSACRIFICE, EMPLOYERADDITIONAL, EMPLOYEE
ExpenseAccountCodestringOptionalexpense account code
LiabilityAccountCodestringOptionalliabilty account code
MinimumMonthlyEarningsJSONOptional
MinimumMonthlyEarnings (anyOf 1)numberAlternativeamount of minimum earnings
Format: double
MinimumMonthlyEarnings (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
PercentageJSONOptional
Percentage (anyOf 1)numberAlternativepercentage for super line
Format: double
Percentage (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
SuperMembershipIDstringOptionalXero super membership ID
Format: uuid

Creates a payroll employee — response body — Employees item Tax Declaration

FieldTypePresenceDescription and constraints
$objectRoot
ABNstringOptional11-digit Australian Business Number e.g 21006819692 or an empty string ("") to unset a previously set value. Only applicable, and mandatory if income type is NONEMPLOYEE.
ApprovedWithholdingVariationPercentageJSONOptional
ApprovedWithholdingVariationPercentage (anyOf 1)numberAlternativeIf the employee has approved withholding variation. e.g (0 - 100)
Format: int
ApprovedWithholdingVariationPercentage (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
AustralianResidentForTaxPurposesbooleanOptionalIf the employee is Australian resident for tax purposes. e.g true or false
EligibleToReceiveLeaveLoadingbooleanOptionalIf the employee is eligible to receive an additional percentage on top of ordinary earnings when they take leave (typically 17.5%). e.g true or false
EmployeeIDstringOptionalAddress line 1 for employee home address
Format: uuid
EmploymentBasisstringOptionalKnown values: FULLTIME, PARTTIME, CASUAL, LABOURHIRE, SUPERINCOMESTREAM, NONEMPLOYEE
HasHELPDebtbooleanOptionalIf employee has HECS or HELP debt. e.g true or false
HasLoanOrStudentDebtbooleanOptionalIf the employee has any of the following loans or debts: Higher Education Loan Program (HELP/HECS), VET Student Loan (VSL), Financial Supplement (FS), Student Start-up Loan (SSL), or Trade Support Loan (TSL)
HasSFSSDebtbooleanOptionalIf employee has financial supplement debt. e.g true or false
HasStudentStartupLoanbooleanOptionalIf the employee is eligible for student startup loan rules
HasTradeSupportLoanDebtbooleanOptionalIf employee has trade support loan. e.g true or false
IncludeLeaveLoadingInQualifyingEarningsbooleanOptionalBoolean to determine if leave loading is considered as qualifying earnings for superannuation guarantee calculations. Required when IncludeLeaveLoadingInSGC is specified in the payload
ResidencyStatusstringOptionalKnown values: AUSTRALIANRESIDENT, FOREIGNRESIDENT, WORKINGHOLIDAYMAKER
SeniorMaritalStatusstringOptionalKnown values: MEMBEROFCOUPLE, MEMBEROFILLNESSSEPARATEDCOUPLE, SINGLE
TFNExemptionTypestringOptionalKnown values: NOTQUOTED, PENDING, PENSIONER, UNDER18
TaxFileNumberstringOptionalThe tax file number e.g 123123123.
TaxFreeThresholdClaimedbooleanOptionalIf tax free threshold claimed. e.g true or false
TaxOffsetEstimatedAmountJSONOptional
TaxOffsetEstimatedAmount (anyOf 1)numberAlternativeIf has tax offset estimated then the tax offset estimated amount. e.g 100
Format: int
TaxOffsetEstimatedAmount (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
TaxScaleTypestringOptionalKnown values: REGULAR, ACTORSARTISTSENTERTAINERS, HORTICULTURISTORSHEARER, SENIORORPENSIONER, WORKINGHOLIDAYMAKER, FOREIGN
UpdatedDateUTCstringOptionalLast modified timestamp
Read only: true
UpwardVariationTaxWithholdingAmountJSONOptional
UpwardVariationTaxWithholdingAmount (anyOf 1)numberAlternativeIf the employee has requested that additional tax be withheld each pay run. e.g 50
Format: int
UpwardVariationTaxWithholdingAmount (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
WorkConditionstringOptionalKnown values: PROMOTIONAL, THREELESSPERFORMANCESPERWEEK, NONE

Creates a superfund — request body — body item

FieldTypePresenceDescription and constraints
$objectRoot
ABNstringOptionalABN of the self managed super fund
AccountNamestringOptionalThe account name for the self managed super fund.
AccountNumberstringOptionalThe account number for the self managed super fund.
BSBstringOptionalBSB of the self managed super fund
ElectronicServiceAddressstringOptionalThe electronic service address for the self managed super fund.
EmployerNumberstringOptionalSome funds assign a unique number to each employer
NamestringOptionalName of the super fund
SPINstringOptionalThe SPIN of the Regulated SuperFund. This field has been deprecated. It will only be present for legacy superfunds. New superfunds will not have a SPIN value. The USI field should be used instead of SPIN.
SuperFundIDstringOptionalXero identifier for a super fund
Format: uuid
TypestringRequired within parentOne of: REGULATED, SMSF
USIstringOptionalThe USI of the Regulated SuperFund
UpdatedDateUTCstringOptionalLast modified timestamp
Read only: true
ValidationErrorsarrayOptionalDisplays array of validation error messages from the API
ValidationErrors[]ModelEach itemExpand Retrieves journals — response body — Warnings item

Referenced models: Retrieves journals — response body — Warnings item

Creates a superfund — response body

FieldTypePresenceDescription and constraints
$objectRoot
SuperFundsarrayOptional
SuperFunds[]ModelEach itemExpand Creates a superfund — response body — Super Funds item

Referenced models: Creates a superfund — response body — Super Funds item

Creates a superfund — response body — Super Funds item

FieldTypePresenceDescription and constraints
$objectRoot
ABNstringOptionalABN of the self managed super fund
AccountNamestringOptionalThe account name for the self managed super fund.
AccountNumberstringOptionalThe account number for the self managed super fund.
BSBstringOptionalBSB of the self managed super fund
ElectronicServiceAddressstringOptionalThe electronic service address for the self managed super fund.
EmployerNumberstringOptionalSome funds assign a unique number to each employer
NamestringOptionalName of the super fund
SPINstringOptionalThe SPIN of the Regulated SuperFund. This field has been deprecated. It will only be present for legacy superfunds. New superfunds will not have a SPIN value. The USI field should be used instead of SPIN.
SuperFundIDstringOptionalXero identifier for a super fund
Format: uuid
TypestringRequired within parentKnown values: REGULATED, SMSF
USIstringOptionalThe USI of the Regulated SuperFund
UpdatedDateUTCstringOptionalLast modified timestamp
Read only: true
ValidationErrorsarrayOptionalDisplays array of validation error messages from the API
ValidationErrors[]ModelEach itemExpand Retrieves journals — response body — Warnings item

Referenced models: Retrieves journals — response body — Warnings item

Creates a timesheet — request body — body item

FieldTypePresenceDescription and constraints
$objectRoot
EmployeeIDstringRequired within parentThe Xero identifier for an employee
Format: uuid
EndDatestringRequired within parentPeriod end date (YYYY-MM-DD)
HoursnumberOptionalTimesheet total hours
Format: double
StartDatestringRequired within parentPeriod start date (YYYY-MM-DD)
StatusstringOptionalOne of: DRAFT, PROCESSED, APPROVED, REJECTED, REQUESTED
TimesheetIDstringOptionalThe Xero identifier for a Payroll Timesheet
Format: uuid
TimesheetLinesModelOptionalExpand Creates a timesheet — request body — body item Timesheet Lines
UpdatedDateUTCstringOptionalLast modified timestamp
Read only: true
ValidationErrorsarrayOptionalDisplays array of validation error messages from the API
ValidationErrors[]ModelEach itemExpand Retrieves journals — response body — Warnings item

Referenced models: Retrieves journals — response body — Warnings item, Creates a timesheet — request body — body item Timesheet Lines

Creates a timesheet — request body — body item Timesheet Lines

FieldTypePresenceDescription and constraints
$arrayRoot
$[]ModelEach itemExpand Creates a timesheet — request body — body item Timesheet Lines item

Referenced models: Creates a timesheet — request body — body item Timesheet Lines item

Creates a timesheet — request body — body item Timesheet Lines item

FieldTypePresenceDescription and constraints
$objectRoot
EarningsRateIDstringOptionalThe Xero identifier for an Earnings Rate
Format: uuid
NumberOfUnitsarrayOptionalThe number of units on a timesheet line
NumberOfUnits[]numberEach itemNumber of units of a Timesheet line
Format: double
TrackingItemIDstringOptionalThe Xero identifier for a Tracking Category. The TrackingOptionID must belong to the TrackingCategory selected as TimesheetCategories under Payroll Settings.
Format: uuid
UpdatedDateUTCstringOptionalLast modified timestamp
Read only: true

Creates a timesheet — response body

FieldTypePresenceDescription and constraints
$objectRoot
TimesheetsarrayOptional
Timesheets[]ModelEach itemExpand Retrieves a timesheet by using a unique timesheet id — response body — Timesheet

Referenced models: Retrieves a timesheet by using a unique timesheet id — response body — Timesheet

Retrieves a timesheet by using a unique timesheet id — response body

FieldTypePresenceDescription and constraints
$objectRoot
TimesheetModelOptionalExpand Retrieves a timesheet by using a unique timesheet id — response body — Timesheet

Referenced models: Retrieves a timesheet by using a unique timesheet id — response body — Timesheet

Retrieves a timesheet by using a unique timesheet id — response body — Timesheet

FieldTypePresenceDescription and constraints
$objectRoot
EmployeeIDstringRequired within parentThe Xero identifier for an employee
Format: uuid
EndDatestringRequired within parentPeriod end date (YYYY-MM-DD)
HoursJSONOptional
Hours (anyOf 1)numberAlternativeTimesheet total hours
Format: double
Hours (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
StartDatestringRequired within parentPeriod start date (YYYY-MM-DD)
StatusstringOptionalKnown values: DRAFT, PROCESSED, APPROVED, REJECTED, REQUESTED
TimesheetIDstringOptionalThe Xero identifier for a Payroll Timesheet
Format: uuid
TimesheetLinesModelOptionalExpand Retrieves a timesheet by using a unique timesheet id — response body — Timesheet Timesheet Lines
UpdatedDateUTCstringOptionalLast modified timestamp
Read only: true
ValidationErrorsarrayOptionalDisplays array of validation error messages from the API
ValidationErrors[]ModelEach itemExpand Retrieves journals — response body — Warnings item

Referenced models: Retrieves a timesheet by using a unique timesheet id — response body — Timesheet Timesheet Lines, Retrieves journals — response body — Warnings item

Retrieves a timesheet by using a unique timesheet id — response body — Timesheet Timesheet Lines

FieldTypePresenceDescription and constraints
$arrayRoot
$[]ModelEach itemExpand Retrieves a timesheet by using a unique timesheet id — response body — Timesheet Timesheet Lines item

Referenced models: Retrieves a timesheet by using a unique timesheet id — response body — Timesheet Timesheet Lines item

Retrieves a timesheet by using a unique timesheet id — response body — Timesheet Timesheet Lines item

FieldTypePresenceDescription and constraints
$objectRoot
EarningsRateIDstringOptionalThe Xero identifier for an Earnings Rate
Format: uuid
NumberOfUnitsarrayOptionalThe number of units on a timesheet line
NumberOfUnits[]JSONEach item
NumberOfUnits[] (anyOf 1)numberAlternativeNumber of units of a Timesheet line
Format: double
NumberOfUnits[] (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
TrackingItemIDstringOptionalThe Xero identifier for a Tracking Category. The TrackingOptionID must belong to the TrackingCategory selected as TimesheetCategories under Payroll Settings.
Format: uuid
UpdatedDateUTCstringOptionalLast modified timestamp
Read only: true

Retrieves for a payslip by a unique payslip id — response body

FieldTypePresenceDescription and constraints
$objectRoot
PayslipModelOptionalExpand Retrieves for a payslip by a unique payslip id — response body — Payslip

Referenced models: Retrieves for a payslip by a unique payslip id — response body — Payslip

Retrieves for a payslip by a unique payslip id — response body — Payslip

FieldTypePresenceDescription and constraints
$objectRoot
DeductionLinesarrayOptional
DeductionLines[]ModelEach itemExpand Retrieves for a payslip by a unique payslip id — response body — Payslip Deduction Lines item
DeductionsJSONOptional
Deductions (anyOf 1)numberAlternativeThe Deductions for the Payslip
Format: double
Deductions (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
EarningsLinesarrayOptional
EarningsLines[]ModelEach itemExpand Retrieves for a payslip by a unique payslip id — response body — Payslip Earnings Lines item
EmployeeIDstringOptionalThe Xero identifier for an employee
Format: uuid
FirstNamestringOptionalFirst name of employee
LastNamestringOptionalLast name of employee
LeaveAccrualLinesarrayOptional
LeaveAccrualLines[]ModelEach itemExpand Retrieves for a payslip by a unique payslip id — response body — Payslip Leave Accrual Lines item
LeaveEarningsLinesarrayOptional
LeaveEarningsLines[]ModelEach itemExpand Retrieves for a payslip by a unique payslip id — response body — Payslip Leave Earnings Lines item
NetPayJSONOptional
NetPay (anyOf 1)numberAlternativeThe NetPay for the Payslip
Format: double
NetPay (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
PayslipIDstringOptionalXero identifier for the payslip
Format: uuid
ReimbursementLinesarrayOptional
ReimbursementLines[]ModelEach itemExpand Retrieves for a payslip by a unique payslip id — response body — Payslip Reimbursement Lines item
ReimbursementsJSONOptional
Reimbursements (anyOf 1)numberAlternativeThe Reimbursements for the Payslip
Format: double
Reimbursements (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
SuperJSONOptional
Super (anyOf 1)numberAlternativeThe Super for the Payslip
Format: double
Super (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
SuperannuationLinesarrayOptional
SuperannuationLines[]ModelEach itemExpand Retrieves for a payslip by a unique payslip id — response body — Payslip Superannuation Lines item
TaxJSONOptional
Tax (anyOf 1)numberAlternativeThe Tax for the Payslip
Format: double
Tax (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
TaxLinesarrayOptional
TaxLines[]ModelEach itemExpand Retrieves for a payslip by a unique payslip id — response body — Payslip Tax Lines item
TimesheetEarningsLinesarrayOptional
TimesheetEarningsLines[]ModelEach itemExpand Retrieves for a payslip by a unique payslip id — response body — Payslip Earnings Lines item
UpdatedDateUTCstringOptionalLast modified timestamp
Read only: true
WagesJSONOptional
Wages (anyOf 1)numberAlternativeThe Wages for the Payslip
Format: double
Wages (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$

Referenced models: Retrieves for a payslip by a unique payslip id — response body — Payslip Deduction Lines item, Retrieves for a payslip by a unique payslip id — response body — Payslip Earnings Lines item, Retrieves for a payslip by a unique payslip id — response body — Payslip Leave Accrual Lines item, Retrieves for a payslip by a unique payslip id — response body — Payslip Leave Earnings Lines item, Retrieves for a payslip by a unique payslip id — response body — Payslip Reimbursement Lines item, Retrieves for a payslip by a unique payslip id — response body — Payslip Superannuation Lines item, Retrieves for a payslip by a unique payslip id — response body — Payslip Tax Lines item

Retrieves for a payslip by a unique payslip id — response body — Payslip Deduction Lines item

FieldTypePresenceDescription and constraints
$objectRoot
AmountJSONOptional
Amount (anyOf 1)numberAlternativeDeduction type amount
Format: double
Amount (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
CalculationTypestringOptionalKnown values: FIXEDAMOUNT, PRETAX, POSTTAX
DeductionTypeIDstringRequired within parentXero deduction type identifier
Format: uuid
NumberOfUnitsJSONOptional
NumberOfUnits (anyOf 1)numberAlternativeDeduction number of units
Format: double
NumberOfUnits (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
PercentageJSONOptional
Percentage (anyOf 1)numberAlternativeThe Percentage of the Deduction
Format: double
Percentage (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$

Retrieves for a payslip by a unique payslip id — response body — Payslip Earnings Lines item

FieldTypePresenceDescription and constraints
$objectRoot
AmountJSONOptional
Amount (anyOf 1)numberAlternativeEarnings rate amount
Format: double
Amount (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
AnnualSalaryJSONOptional
AnnualSalary (anyOf 1)numberAlternativeAnnual salary for earnings line
Format: double
AnnualSalary (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
CalculationTypestringOptionalKnown values: USEEARNINGSRATE, ENTEREARNINGSRATE, ANNUALSALARY
EarningsRateIDstringRequired within parentXero unique id for earnings rate
Format: uuid
FixedAmountJSONOptional
FixedAmount (anyOf 1)numberAlternativeEarnings rate amount. Only applicable if the EarningsRate RateType is Fixed
Format: double
FixedAmount (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
NormalNumberOfUnitsJSONOptional
NormalNumberOfUnits (anyOf 1)numberAlternativeNormal number of units for EarningsLine. Applicable when RateType is "MULTIPLE"
Format: double
NormalNumberOfUnits (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
NumberOfUnitsJSONOptional
NumberOfUnits (anyOf 1)numberAlternativeEarnings rate number of units.
Format: double
NumberOfUnits (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
NumberOfUnitsPerWeekJSONOptional
NumberOfUnitsPerWeek (anyOf 1)numberAlternativenumber of units for earning line
Format: double
NumberOfUnitsPerWeek (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
RatePerUnitJSONOptional
RatePerUnit (anyOf 1)numberAlternativeRate per unit of the EarningsLine.
Format: double
RatePerUnit (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$

Retrieves for a payslip by a unique payslip id — response body — Payslip Leave Accrual Lines item

FieldTypePresenceDescription and constraints
$objectRoot
AutoCalculatebooleanOptionalIf you want to auto calculate leave.
LeaveTypeIDstringOptionalXero identifier for the Leave type.
Format: uuid
NumberOfUnitsJSONOptional
NumberOfUnits (anyOf 1)numberAlternativeLeave Accrual number of units
Format: double
NumberOfUnits (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$

Retrieves for a payslip by a unique payslip id — response body — Payslip Leave Earnings Lines item

FieldTypePresenceDescription and constraints
$objectRoot
EarningsRateIDstringOptionalXero identifier
Format: uuid
NumberOfUnitsJSONOptional
NumberOfUnits (anyOf 1)numberAlternativeEarnings rate number of units.
Format: double
NumberOfUnits (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
PayOutTypestringOptionalHow the requested leave will be paid out, e.g. cashed out.
Known values: DEFAULT, CASHED_OUT
RatePerUnitJSONOptional
RatePerUnit (anyOf 1)numberAlternativeRate per unit of the EarningsLine.
Format: double
RatePerUnit (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$

Retrieves for a payslip by a unique payslip id — response body — Payslip Reimbursement Lines item

FieldTypePresenceDescription and constraints
$objectRoot
AmountJSONOptional
Amount (anyOf 1)numberAlternativeReimbursement type amount
Format: double
Amount (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
DescriptionstringOptionalReimbursement lines description (max length 50)
Maximum length: 50
ExpenseAccountstringOptionalReimbursement expense account. For posted pay run you should be able to see expense account code.
ReimbursementTypeIDstringOptionalXero reimbursement type identifier
Format: uuid

Retrieves for a payslip by a unique payslip id — response body — Payslip Superannuation Lines item

FieldTypePresenceDescription and constraints
$objectRoot
AmountJSONOptional
Amount (anyOf 1)numberAlternativeSuperannuation amount
Format: double
Amount (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
CalculationTypestringOptionalKnown values: FIXEDAMOUNT, PERCENTAGEOFEARNINGS, STATUTORY
ContributionTypestringOptionalKnown values: SGC, SALARYSACRIFICE, EMPLOYERADDITIONAL, EMPLOYEE
ExpenseAccountCodestringOptionalSuperannuation expense account code.
LiabilityAccountCodestringOptionalSuperannuation liability account code
MinimumMonthlyEarningsJSONOptional
MinimumMonthlyEarnings (anyOf 1)numberAlternativeSuperannuation minimum monthly earnings.
Format: double
MinimumMonthlyEarnings (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
PaymentDateForThisPeriodstringOptionalSuperannuation payment date for the current period (YYYY-MM-DD)
PercentageJSONOptional
Percentage (anyOf 1)numberAlternativeSuperannuation percentage
Format: double
Percentage (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
SuperMembershipIDstringOptionalXero identifier for payroll super fund membership ID.
Format: uuid

Retrieves for a payslip by a unique payslip id — response body — Payslip Tax Lines item

FieldTypePresenceDescription and constraints
$objectRoot
AmountJSONOptional
Amount (anyOf 1)numberAlternativeThe tax line amount
Format: double
Amount (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
DescriptionstringOptionalDescription of the tax line.
LiabilityAccountstringOptionalThe tax line liability account code. For posted pay run you should be able to see liability account code
ManualTaxTypestringOptionalKnown values: PAYGMANUAL, ETPOMANUAL, ETPRMANUAL, SCHEDULE5MANUAL, SCHEDULE5STSLMANUAL, SCHEDULE4MANUAL
PayslipTaxLineIDstringOptionalXero identifier for payslip tax line ID.
Format: uuid
TaxTypeNamestringOptionalName of the tax type.

Retrieves payroll settings — response body

FieldTypePresenceDescription and constraints
$objectRoot
SettingsModelOptionalExpand Retrieves payroll settings — response body — Settings

Referenced models: Retrieves payroll settings — response body — Settings

Retrieves payroll settings — response body — Settings

FieldTypePresenceDescription and constraints
$objectRoot
AccountsarrayOptionalPayroll Account details for SuperExpense, SuperLiabilty, WagesExpense, PAYGLiability & WagesPayable.
Accounts[]ModelEach itemExpand Retrieves payroll settings — response body — Settings Accounts item
DaysInPayrollYearJSONOptional
DaysInPayrollYear (anyOf 1)integerAlternativeNumber of days in the Payroll year
Format: int32
DaysInPayrollYear (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
EmployeesAreSTP2booleanOptionalIndicates if the organisation has been enabled for STP Phase 2 editing of employees.
TrackingCategoriesModelOptionalExpand Retrieves payroll settings — response body — Settings Tracking Categories

Referenced models: Retrieves payroll settings — response body — Settings Accounts item, Retrieves payroll settings — response body — Settings Tracking Categories

Retrieves payroll settings — response body — Settings Accounts item

FieldTypePresenceDescription and constraints
$objectRoot
AccountIDstringOptionalXero identifier for accounts
Format: uuid
CodestringOptionalCustomer defined account code
NamestringOptionalName of account
TypestringOptionalSee Account Types
Known values: BANK, CURRENT, CURRLIAB, DEPRECIATN, DIRECTCOSTS, EQUITY, EXPENSE, FIXED, INVENTORY, LIABILITY, NONCURRENT, OTHERINCOME, OVERHEADS, PREPAYMENT, REVENUE, SALES, TERMLIAB, PAYGLIABILITY, PAYG, SUPERANNUATIONEXPENSE, SUPERANNUATIONLIABILITY, WAGESEXPENSE, WAGESPAYABLELIABILITY

Retrieves payroll settings — response body — Settings Tracking Categories

FieldTypePresenceDescription and constraints
$objectRootTracking categories for Employees and Timesheets
EmployeeGroupsobjectOptionalThe tracking category used for employees
EmployeeGroups.TrackingCategoryIDstringOptionalThe identifier for the tracking category
Format: uuid
EmployeeGroups.TrackingCategoryNamestringOptionalName of the tracking category
TimesheetCategoriesobjectOptionalThe tracking category used for timesheets
TimesheetCategories.TrackingCategoryIDstringOptionalThe identifier for the tracking category
Format: uuid
TimesheetCategories.TrackingCategoryNamestringOptionalName of the tracking category

Retrieves superfund products — response body

FieldTypePresenceDescription and constraints
$objectRoot
SuperFundProductsarrayOptional
SuperFundProducts[]ModelEach itemExpand Retrieves superfund products — response body — Super Fund Products item

Referenced models: Retrieves superfund products — response body — Super Fund Products item

Retrieves superfund products — response body — Super Fund Products item

FieldTypePresenceDescription and constraints
$objectRoot
ABNstringOptionalThe ABN of the Regulated SuperFund
ProductNamestringOptionalThe name of the Regulated SuperFund
SPINstringOptionalThe SPIN of the Regulated SuperFund. This field has been deprecated. New superfunds will not have a SPIN value. The USI field should be used instead of SPIN
USIstringOptionalThe USI of the Regulated SuperFund

Updates a payslip — request body — body item

FieldTypePresenceDescription and constraints
$objectRoot
DeductionLinesarrayOptional
DeductionLines[]ModelEach itemExpand Updates a payslip — request body — body item Deduction Lines item
EarningsLinesarrayOptional
EarningsLines[]ModelEach itemExpand Updates a payslip — request body — body item Earnings Lines item
LeaveAccrualLinesarrayOptional
LeaveAccrualLines[]ModelEach itemExpand Updates a payslip — request body — body item Leave Accrual Lines item
LeaveEarningsLinesarrayOptional
LeaveEarningsLines[]ModelEach itemExpand Updates a payslip — request body — body item Leave Earnings Lines item
ReimbursementLinesarrayOptional
ReimbursementLines[]ModelEach itemExpand Updates a payslip — request body — body item Reimbursement Lines item
SuperannuationLinesarrayOptional
SuperannuationLines[]ModelEach itemExpand Updates a payslip — request body — body item Superannuation Lines item
TaxLinesarrayOptional
TaxLines[]ModelEach itemExpand Updates a payslip — request body — body item Tax Lines item
TimesheetEarningsLinesarrayOptional
TimesheetEarningsLines[]ModelEach itemExpand Updates a payslip — request body — body item Earnings Lines item

Referenced models: Updates a payslip — request body — body item Deduction Lines item, Updates a payslip — request body — body item Earnings Lines item, Updates a payslip — request body — body item Leave Accrual Lines item, Updates a payslip — request body — body item Leave Earnings Lines item, Updates a payslip — request body — body item Reimbursement Lines item, Updates a payslip — request body — body item Superannuation Lines item, Updates a payslip — request body — body item Tax Lines item

Updates a payslip — request body — body item Deduction Lines item

FieldTypePresenceDescription and constraints
$objectRoot
AmountnumberOptionalDeduction type amount
Format: double
CalculationTypestringOptionalOne of: FIXEDAMOUNT, PRETAX, POSTTAX
DeductionTypeIDstringRequired within parentXero deduction type identifier
Format: uuid
NumberOfUnitsnumberOptionalDeduction number of units
Format: double
PercentagenumberOptionalThe Percentage of the Deduction
Format: double

Updates a payslip — request body — body item Earnings Lines item

FieldTypePresenceDescription and constraints
$objectRoot
AmountnumberOptionalEarnings rate amount
Format: double
AnnualSalarynumberOptionalAnnual salary for earnings line
Format: double
CalculationTypestringOptionalOne of: USEEARNINGSRATE, ENTEREARNINGSRATE, ANNUALSALARY
EarningsRateIDstringRequired within parentXero unique id for earnings rate
Format: uuid
FixedAmountnumberOptionalEarnings rate amount. Only applicable if the EarningsRate RateType is Fixed
Format: double
NormalNumberOfUnitsnumberOptionalNormal number of units for EarningsLine. Applicable when RateType is "MULTIPLE"
Format: double
NumberOfUnitsnumberOptionalEarnings rate number of units.
Format: double
NumberOfUnitsPerWeeknumberOptionalnumber of units for earning line
Format: double
RatePerUnitnumberOptionalRate per unit of the EarningsLine.
Format: double

Updates a payslip — request body — body item Leave Accrual Lines item

FieldTypePresenceDescription and constraints
$objectRoot
AutoCalculatebooleanOptionalIf you want to auto calculate leave.
LeaveTypeIDstringOptionalXero identifier for the Leave type.
Format: uuid
NumberOfUnitsnumberOptionalLeave Accrual number of units
Format: double

Updates a payslip — request body — body item Leave Earnings Lines item

FieldTypePresenceDescription and constraints
$objectRoot
EarningsRateIDstringOptionalXero identifier
Format: uuid
NumberOfUnitsnumberOptionalEarnings rate number of units.
Format: double
PayOutTypestringOptionalHow the requested leave will be paid out, e.g. cashed out.
One of: DEFAULT, CASHED_OUT
RatePerUnitnumberOptionalRate per unit of the EarningsLine.
Format: double

Updates a payslip — request body — body item Reimbursement Lines item

FieldTypePresenceDescription and constraints
$objectRoot
AmountnumberOptionalReimbursement type amount
Format: double
DescriptionstringOptionalReimbursement lines description (max length 50)
Maximum length: 50
ExpenseAccountstringOptionalReimbursement expense account. For posted pay run you should be able to see expense account code.
ReimbursementTypeIDstringOptionalXero reimbursement type identifier
Format: uuid

Updates a payslip — request body — body item Superannuation Lines item

FieldTypePresenceDescription and constraints
$objectRoot
AmountnumberOptionalSuperannuation amount
Format: double
CalculationTypestringOptionalOne of: FIXEDAMOUNT, PERCENTAGEOFEARNINGS, STATUTORY
ContributionTypestringOptionalOne of: SGC, SALARYSACRIFICE, EMPLOYERADDITIONAL, EMPLOYEE
ExpenseAccountCodestringOptionalSuperannuation expense account code.
LiabilityAccountCodestringOptionalSuperannuation liability account code
MinimumMonthlyEarningsnumberOptionalSuperannuation minimum monthly earnings.
Format: double
PaymentDateForThisPeriodstringOptionalSuperannuation payment date for the current period (YYYY-MM-DD)
PercentagenumberOptionalSuperannuation percentage
Format: double
SuperMembershipIDstringOptionalXero identifier for payroll super fund membership ID.
Format: uuid

Updates a payslip — request body — body item Tax Lines item

FieldTypePresenceDescription and constraints
$objectRoot
AmountnumberOptionalThe tax line amount
Format: double
DescriptionstringOptionalDescription of the tax line.
LiabilityAccountstringOptionalThe tax line liability account code. For posted pay run you should be able to see liability account code
ManualTaxTypestringOptionalOne of: PAYGMANUAL, ETPOMANUAL, ETPRMANUAL, SCHEDULE5MANUAL, SCHEDULE5STSLMANUAL, SCHEDULE4MANUAL
PayslipTaxLineIDstringOptionalXero identifier for payslip tax line ID.
Format: uuid
TaxTypeNamestringOptionalName of the tax type.

Updates a payslip — response body

FieldTypePresenceDescription and constraints
$objectRoot
PayslipsarrayOptional
Payslips[]ModelEach itemExpand Retrieves for a payslip by a unique payslip id — response body — Payslip

Referenced models: Retrieves for a payslip by a unique payslip id — response body — Payslip

Report an issue with this page

Necessary

Required for sign-in, security, authorization, and remembering your choices.

Always active

Analytics

Helps us understand which product and documentation features are useful.

Performance diagnostics

Uses performance tracing and privacy-masked session replay to diagnose problems.

You can change these choices at any time from Cookie settings.