Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update xero-payroll-uk.yaml #548

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
41 changes: 41 additions & 0 deletions xero-payroll-uk.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -350,6 +350,16 @@ paths:
"payrollCalendarID": null,
"updatedDateUTC": "2017-05-12T10:00:24",
"createdDateUTC": "2017-05-12T10:00:24",
"niCategories": [
{
"startDate": "2020-05-01T00:00:00",
"niCategory": "A"
},
{
"startDate": null,
"niCategory": "H"
}
],
"endDate": null
}
}'
Expand Down Expand Up @@ -5948,9 +5958,40 @@ components:
description: National insurance number of the employee
type: string
example: AB123456C
niCategories:
$ref: '#/components/schemas/Nicategories'
isOffPayrollWorker:
description: Whether the employee is an off payroll worker
type: boolean
Nicategories:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

NiCategories

type: object
properties:
startDate:
description: Start date of the employment (YYYY-MM-DD)
type: string
format: date
x-is-date: true
niCategory:
description: The NI Category of the employee
type: string
enum:
- A
- B
- C
- F
- H
- I
- J
- L
- M
- S
- V
- X
- Z
example: A
niCategoryID:
type: integer
example: 2093531
EmploymentObject:
type: object
properties:
Expand Down
Loading