Skip to content

Commit e313746

Browse files
authored
Merge pull request #814 from jmargathe/breaking/mandatory-qualifying-earnings-fields
feat!: Make IsQualifyingEarnings mandatory for AU payroll
2 parents 3caf5bc + 34e10bd commit e313746

1 file changed

Lines changed: 11 additions & 5 deletions

File tree

xero-payroll-au.yaml

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1647,7 +1647,7 @@ paths:
16471647
EmploymentTerminationPaymentType: O
16481648
CurrentRecord: true
16491649
"400":
1650-
description: invalid input, object invalid - When IsQualifyingEarnings supplied it will be validated against the IsExemptFromSuper and other fields.
1650+
description: invalid input, object invalid - IsQualifyingEarnings is required. IsQualifyingEarnings cannot be true when IsExemptFromSuper is true.
16511651
requestBody:
16521652
required: true
16531653
content:
@@ -4230,6 +4230,8 @@ components:
42304230
example: General expenses
42314231
EarningsRate:
42324232
type: object
4233+
required:
4234+
- IsQualifyingEarnings
42334235
properties:
42344236
Name:
42354237
description: Name of the earnings rate (max length = 100)
@@ -4258,7 +4260,7 @@ components:
42584260
type: boolean
42594261
example: false
42604262
IsQualifyingEarnings:
4261-
description: Optional Boolean to determine if the earnings rate is considered as qualifying earnings for superannuation guarantee calculations. When not specified value is calculated based on earnings type and superannuation settings
4263+
description: Boolean to determine if the earnings rate is considered as qualifying earnings for superannuation guarantee calculations
42624264
type: boolean
42634265
example: true
42644266
AllowanceContributesToAnnualLeaveRate:
@@ -4361,6 +4363,8 @@ components:
43614363
example: true
43624364
LeaveType:
43634365
type: object
4366+
required:
4367+
- IsQualifyingEarnings
43644368
properties:
43654369
Name:
43664370
description: Name of the earnings rate (max length = 100)
@@ -4411,7 +4415,7 @@ components:
44114415
type: boolean
44124416
example: true
44134417
IsQualifyingEarnings:
4414-
description: Optional Boolean to determine if the earnings rate is considered as qualifying earnings for superannuation guarantee calculations. When not specified value is calculated based on earnings type and superannuation settings
4418+
description: Boolean to determine if the leave type is considered as qualifying earnings for superannuation guarantee calculations
44154419
type: boolean
44164420
example: true
44174421
ReimbursementType:
@@ -4549,7 +4553,7 @@ components:
45494553
x-is-msdate-time: true
45504554
example: /Date(1583967733054+0000)/
45514555
IncludeLeaveLoadingInQualifyingEarnings:
4552-
description: Optional Boolean to determine if leave loading is considered as qualifying earnings for superannuation guarantee calculations
4556+
description: Boolean to determine if leave loading is considered as qualifying earnings for superannuation guarantee calculations. Required when IncludeLeaveLoadingInSGC is specified in the payload
45534557
type: boolean
45544558
example: true
45554559
type: object
@@ -4770,6 +4774,8 @@ components:
47704774
$ref: "#/components/schemas/LeaveLine"
47714775
LeaveLine:
47724776
type: object
4777+
required:
4778+
- IsQualifyingEarnings
47734779
properties:
47744780
LeaveTypeID:
47754781
description: Xero leave type identifier
@@ -4787,7 +4793,7 @@ components:
47874793
type: boolean
47884794
example: true
47894795
IsQualifyingEarnings:
4790-
description: Optional Boolean to determine if the earnings rate is considered as qualifying earnings for superannuation guarantee calculations. When not specified value is calculated based on superannuation settings
4796+
description: Boolean to determine if the leave line is considered as qualifying earnings for superannuation guarantee calculations
47914797
type: boolean
47924798
example: true
47934799
NumberOfUnits:

0 commit comments

Comments
 (0)