Skip to content

Commit 261a68e

Browse files
Removed redundant NI Category from GET Employee by ID. Added extra NI category to match xero public docs. Added employee number. Made NI Categories required for Employment entity and removed NI category as a required field.
1 parent 8710224 commit 261a68e

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

xero-payroll-uk.yaml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -352,8 +352,11 @@ paths:
352352
"payrollCalendarID": null,
353353
"updatedDateUTC": "2017-05-12T10:00:24",
354354
"createdDateUTC": "2017-05-12T10:00:24",
355-
"niCategory": "A",
356355
"niCategories": [
356+
{
357+
"startDate": "2020-05-01T00:00:00",
358+
"niCategory": "A"
359+
},
357360
{
358361
"startDate": null,
359362
"niCategory": "A",
@@ -362,6 +365,7 @@ paths:
362365
"workplacePostcode": "SW1A 1AA"
363366
}
364367
],
368+
"employeeNumber": "2",
365369
"endDate": null
366370
}
367371
}'
@@ -6056,7 +6060,7 @@ components:
60566060
- PayrollCalendarID
60576061
- StartDate
60586062
- EmployeeNumber
6059-
- NICategory
6063+
- NICategories
60606064
properties:
60616065
payrollCalendarID:
60626066
description: Xero unique identifier for the payroll calendar of the employee

0 commit comments

Comments
 (0)