Entitlement
Return payroll categories of type entitlement for Australian Files
Released
Updated
| URL | Supports |
|---|---|
/{cf_uri}/Payroll/PayrollCategory/Entitlement |
Attribute Details
Paging: default page size is set to 400 with a maximum of 1000 results.
| Attribute | Type | Notes |
|---|---|---|
UID | Guid (36) | Unique entitlement identifier in the form of a guid. |
Name | String (31) | Name of the payroll entitlement category. |
Type | String | Indicates the type of payroll category ie: Wage, Expense, Deduction. |
PrintOnPayAdvice | Boolean | True indicates accrued leave hours will show on pay advices. False indicates accrued leave hours will not be shown on pay advices |
StpCategory | String | STP 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 |
CarryEntitlementOverToNextYear | Boolean | True 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. |
CalculationBasis | object | Details on how to calculate the entitlement. |
CalculationBasis.Type | String | The 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.PercentageOf | Decimal (13.2) | Percentage of leave hours accrued per hour worked if CalculationBasis.Type = PercentageOfPayrollCategory . |
CalculationBasis.PayrollCategory | object | Payroll wage category used to calculate PercentageOf only if CalculationBasis.Type = PercentageOfPayrollCategory . |
CalculationBasis.PayrollCategory.UID | Guid (36) | Unique wage category identifier in the form of a guid. |
CalculationBasis.PayrollCategory.Name | String (31) | Name of the payroll wage category. |
CalculationBasis.PayrollCategory.Type | String | Indicates the type of payroll category ie: Wage, Expense, Deduction. |
CalculationBasis.PayrollCategory.URI | String | Uniform resource identifier associated with the payroll wage object. |
CalculationBasis.FixedHoursOf | Decimal (13.2) | Number of hours to accrue if CalculationBasis.Type = FixedHours . |
CalculationBasis.AccrualPeriod | String | How the specified hours are accrued if CalculationBasis.Type = FixedHours . Can consist of any of the following: PayPeriod Month Year Hour |
LinkedPayrollCategoryWages | array | An 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.UID | Guid (36) | Unique wage payroll category identifier in the form of a guid. |
LinkedPayrollCategoryWages.Name | String (31) | Name of the payroll wage category. |
LinkedPayrollCategoryWages.Type | String | Indicates the type of payroll category ie: Deduction, Tax. |
LinkedPayrollCategoryWages.URI | String | Uniform resource identifier associated with the wage payroll category object. |
Exemptions | array | An array of wage categories the entitlement category is exempt from. |
Exemptions.UID | Guid (36) | Unique payroll wage category identifier in the form of a guid. |
Exemptions.Name | String (31) | Name of the payroll wage category. |
Exemptions.Type | String | Indicates the type of payroll category ie: Wage, Tax. |
Exemptions.URI | String | Uniform resource identifier associated with the payroll wage category object. |
URI | String | Uniform resource identifier encompasses all types of names and addresses that refer to objects on the web. |
RowVersion | String | Number 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
{
"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.