Skip to content

Entitlement

Return payroll categories of type entitlement for Australian Files

Released
Updated
URLSupports
/{cf_uri}/Payroll/PayrollCategory/Entitlement
GET

Attribute Details

Paging: default page size is set to 400 with a maximum of 1000 results.

AttributeTypeNotes
UIDGuid (36)Unique entitlement identifier in the form of a guid.
NameString (31)Name of the payroll entitlement category.
TypeStringIndicates the type of payroll category ie: Wage, Expense, Deduction.
PrintOnPayAdviceBooleanTrue indicates accrued leave hours will show on pay advices. False indicates accrued leave hours will not be shown on pay advices
StpCategoryStringSTP Category for this payroll category. See MYOB help for more info. Expected values include: NotReportable (default) GrossPayments PAYGWithholding ExemptForeignIncome CDEPPayments AllowanceCar AllowanceTransport AllowanceTravel AllowanceMeals AllowanceLaundry AllowanceOther DeductionUnionProfAssocFees DeductionWorkPlaceGiving ReportableFringeBenefitsExemptAmount ReportableFringeBenefitsTaxableAmount ETPTaxableComponent ETPTaxFreeComponent ETPTaxWithholding LumpSumPaymentATermination LumpSumPaymentARedundancy LumpSumPaymentB LumpSumPaymentD LumpSumPaymentE SuperGuarantee OrdinaryTimesEarnings ReportableEmployerSuperContributions Overtime BonusesAndCommissions DirectorFees AllowanceTools AllowanceTasks AllowanceQualificationsOrCertificates LumpSumPaymentW CashOutOfLeaveInService UnusedLeaveOnTermination PaidParentalLeave WorkersCompensationLeave AncilliaryAndDefenceLeave OtherPaidLeave SalarySacrificeOtherEmployeeBenefits SalarySacrifice SalarySacrificeResc SuperGuaranteeResc
CarryEntitlementOverToNextYearBooleanTrue indicates to carry over any unused leave hours when starting a new payroll year. False indicates not to carry over unused leave hours when starting a new payroll year.
CalculationBasisobjectDetails on how to calculate the entitlement.
CalculationBasis.TypeStringThe type of calculation to use can be any of the following 3: UserEntered - use hours on employees standard pay when processing. PercentageOfPayrollCategory - Equals x percentage, calculate as a % of gross wages or another payroll category. FixedHours - Equals x hours to accrue for all linked employees. Learn more about leave entitlments here
CalculationBasis.PercentageOfDecimal (13.2)Percentage of leave hours accrued per hour worked if CalculationBasis.Type = PercentageOfPayrollCategory .
CalculationBasis.PayrollCategoryobjectPayroll wage category used to calculate PercentageOf only if CalculationBasis.Type = PercentageOfPayrollCategory .
CalculationBasis.PayrollCategory.UIDGuid (36)Unique wage category identifier in the form of a guid.
CalculationBasis.PayrollCategory.NameString (31)Name of the payroll wage category.
CalculationBasis.PayrollCategory.TypeStringIndicates the type of payroll category ie: Wage, Expense, Deduction.
CalculationBasis.PayrollCategory.URIStringUniform resource identifier associated with the payroll wage object.
CalculationBasis.FixedHoursOfDecimal (13.2)Number of hours to accrue if CalculationBasis.Type = FixedHours .
CalculationBasis.AccrualPeriodStringHow the specified hours are accrued if CalculationBasis.Type = FixedHours . Can consist of any of the following: PayPeriod Month Year Hour
LinkedPayrollCategoryWagesarrayAn array of linked wage category information, when recording hours for selected linked wage on an employee's pay, the entitlement balance will reduce accordingly.
LinkedPayrollCategoryWages.UIDGuid (36)Unique wage payroll category identifier in the form of a guid.
LinkedPayrollCategoryWages.NameString (31)Name of the payroll wage category.
LinkedPayrollCategoryWages.TypeStringIndicates the type of payroll category ie: Deduction, Tax.
LinkedPayrollCategoryWages.URIStringUniform resource identifier associated with the wage payroll category object.
ExemptionsarrayAn array of wage categories the entitlement category is exempt from.
Exemptions.UIDGuid (36)Unique payroll wage category identifier in the form of a guid.
Exemptions.NameString (31)Name of the payroll wage category.
Exemptions.TypeStringIndicates the type of payroll category ie: Wage, Tax.
Exemptions.URIStringUniform resource identifier associated with the payroll wage category object.
URIStringUniform resource identifier encompasses all types of names and addresses that refer to objects on the web.
RowVersionStringNumber value that changes upon a record update, can be used for change control but does does not preserve a date or a time.

Example json GET response

Example

json
{
  "UID": "470d9b21-b730-410d-b6f2-411a34a63bbc",
  "Name": "Holiday Leave Accrual",
  "Type": "Entitlement",
  "PrintOnPayAdvice": "true",
  "StpCategory": "NotReportable",
  "CarryEntitlementOverToNextYear": "true",
  "CalculationBasis\": {": {
    "Type": "FixedHours",
    "PercentageOf": "null",
    "PayrollCategory:": "null",
    "FixedHoursOf": "160",
    "AccrualPeriod": "Year"
  },
  "LinkedPayrollCategoryWages": [
    {
      "UID": "12977075-a394-4223-a6fc-49b48368b284",
      "Name": "Holiday Pay",
      "Type": "Wage",
      "URI": "{cf_uri}/PayrollCategory/Wage/12977075-a394-4223-a6fc-49b48368b284"
    }
  ],
  "Exemptions": "null",
  "URI": "{cf_uri}/Payroll/PayrollCategory/Entitlement/470d9b21-b730-410d-b6f2-411a34a63bbc",
  "RowVersion": "-8387954305977548800"
}

The {cf_uri} is provided by the businessId parameter as described here.