Skip to content

Commit 4f06666

Browse files
Added NI Categories to employment POST. Redundant NI Category.
1 parent e68d071 commit 4f06666

File tree

1 file changed

+15
-3
lines changed

1 file changed

+15
-3
lines changed

xero-payroll-uk.yaml

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -631,7 +631,15 @@ paths:
631631
"employment": {
632632
"payrollCalendarID": "216d80e6-af55-47b1-b718-9457c3f5d2fe",
633633
"startDate": "2020-04-01T00:00:00",
634-
"niCategory": "A",
634+
"niCategories": [
635+
{
636+
"niCategory": "A",
637+
"startDate": "2020-05-01",
638+
"niCategoryID": 594,
639+
"dateFirstEmployedAsCivilian": null,
640+
"workplacePostcode": null
641+
}
642+
],
635643
"employeeNumber": "123ABC"
636644
}
637645
}'
@@ -650,8 +658,12 @@ paths:
650658
example: '{
651659
"PayrollCalendarID": "216d80e6-af55-47b1-b718-9457c3f5d2fe",
652660
"StartDate": "2020-04-01",
653-
"EmployeeNumber": "123ABC",
654-
"NICategory": "A"
661+
"NICategories": [
662+
{
663+
"NICategory": ""
664+
}
665+
],
666+
"EmployeeNumber": "123ABC"
655667
}'
656668
/Employees/{EmployeeID}/Tax:
657669
parameters:

0 commit comments

Comments
 (0)