Skip to content

Commit 8710224

Browse files
Added NI Categories to employment POST. Redundant NI Category.
1 parent fdb81b1 commit 8710224

1 file changed

Lines changed: 15 additions & 3 deletions

File tree

xero-payroll-uk.yaml

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -617,7 +617,15 @@ paths:
617617
"employment": {
618618
"payrollCalendarID": "216d80e6-af55-47b1-b718-9457c3f5d2fe",
619619
"startDate": "2020-04-01T00:00:00",
620-
"niCategory": "A",
620+
"niCategories": [
621+
{
622+
"niCategory": "A",
623+
"startDate": "2020-05-01",
624+
"niCategoryID": 594,
625+
"dateFirstEmployedAsCivilian": null,
626+
"workplacePostcode": null
627+
}
628+
],
621629
"employeeNumber": "123ABC"
622630
}
623631
}'
@@ -636,8 +644,12 @@ paths:
636644
example: '{
637645
"PayrollCalendarID": "216d80e6-af55-47b1-b718-9457c3f5d2fe",
638646
"StartDate": "2020-04-01",
639-
"EmployeeNumber": "123ABC",
640-
"NICategory": "A"
647+
"NICategories": [
648+
{
649+
"NICategory": ""
650+
}
651+
],
652+
"EmployeeNumber": "123ABC"
641653
}'
642654
/Employees/{EmployeeID}/Tax:
643655
parameters:

0 commit comments

Comments
 (0)