Skip to content

Commit 7be7069

Browse files
Added NI Categories to Employment entity and marked NI Category as deprecated
1 parent cb63044 commit 7be7069

1 file changed

Lines changed: 16 additions & 18 deletions

File tree

xero-payroll-uk.yaml

Lines changed: 16 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -580,7 +580,14 @@ paths:
580580
python: start_date
581581
ruby: start_date
582582
object: employment
583-
is_last: true
583+
is_last: true
584+
- niCategories:
585+
key: niCategories
586+
keyPascal: NICategories
587+
keySnake: ni_categories
588+
is_object: true
589+
object: employment
590+
default: A
584591
summary: Creates employment detail for a specific employee using a unique employee ID
585592
parameters:
586593
- $ref: '#/components/parameters/idempotencyKey'
@@ -6053,23 +6060,14 @@ components:
60536060
type: string
60546061
example: 007
60556062
niCategory:
6056-
description: The NI Category of the employee
6057-
type: string
6058-
enum:
6059-
- A
6060-
- B
6061-
- C
6062-
- F
6063-
- H
6064-
- I
6065-
- J
6066-
- L
6067-
- M
6068-
- S
6069-
- V
6070-
- X
6071-
- Z
6072-
example: A
6063+
$ref: '#/components/schemas/NICategoryLetter'
6064+
deprecated: true
6065+
niCategories:
6066+
description: The employee's NI categories
6067+
type: array
6068+
items:
6069+
$ref: '#/components/schemas/NICategory'
6070+
60736071
EmployeeTaxObject:
60746072
type: object
60756073
properties:

0 commit comments

Comments
 (0)