Skip to content

Commit 95438b9

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 4f06666 commit 95438b9

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
@@ -363,8 +363,11 @@ paths:
363363
"payrollCalendarID": null,
364364
"updatedDateUTC": "2017-05-12T10:00:24",
365365
"createdDateUTC": "2017-05-12T10:00:24",
366-
"niCategory": "A",
367366
"niCategories": [
367+
{
368+
"startDate": "2020-05-01T00:00:00",
369+
"niCategory": "A"
370+
},
368371
{
369372
"startDate": null,
370373
"niCategory": "A",
@@ -373,6 +376,7 @@ paths:
373376
"workplacePostcode": "SW1A 1AA"
374377
}
375378
],
379+
"employeeNumber": "2",
376380
"endDate": null
377381
}
378382
}'
@@ -6094,7 +6098,7 @@ components:
60946098
- PayrollCalendarID
60956099
- StartDate
60966100
- EmployeeNumber
6097-
- NICategory
6101+
- NICategories
60986102
properties:
60996103
payrollCalendarID:
61006104
description: Xero unique identifier for the payroll calendar of the employee

0 commit comments

Comments
 (0)