Skip to content
Closed
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion xero-app-store.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
openapi: 3.0.0
info:
version: 9.1.1
version: 9.2.0
title: Xero AppStore API
description: These endpoints are for Xero Partners to interact with the App Store Billing platform
termsOfService: https://developer.xero.com/xero-developer-platform-terms-conditions/
Expand Down
2 changes: 1 addition & 1 deletion xero-finance.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
openapi: 3.0.0
info:
version: 9.1.1
version: 9.2.0
title: Xero Finance API
description: The Finance API is a collection of endpoints which customers can use in the course of a loan application, which may assist lenders to gain the confidence they need to provide capital.
termsOfService: https://developer.xero.com/xero-developer-platform-terms-conditions/
Expand Down
2 changes: 1 addition & 1 deletion xero-identity.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
openapi: 3.0.0
info:
version: 9.1.1
version: 9.2.0
title: Xero OAuth 2 Identity Service API
description: These endpoints are related to managing authentication tokens and identity for Xero API
termsOfService: https://developer.xero.com/xero-developer-platform-terms-conditions/
Expand Down
4 changes: 2 additions & 2 deletions xero-payroll-au.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
openapi: 3.0.0
info:
version: 9.1.1
version: 9.2.0
title: Xero Payroll AU API
description: This is the Xero Payroll API for orgs in Australia region.
termsOfService: "https://developer.xero.com/xero-developer-platform-terms-conditions/"
termsOfService: https://developer.xero.com/xero-developer-platform-terms-conditions/
contact:
name: Xero Platform Team
email: [email protected]
Expand Down
18 changes: 9 additions & 9 deletions xero-payroll-nz.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
openapi: 3.0.0
info:
version: 9.1.1
title: 'Xero Payroll NZ'
description: 'This is the Xero Payroll API for orgs in the NZ region.'
termsOfService: "https://developer.xero.com/xero-developer-platform-terms-conditions/"
version: 9.2.0
title: Xero Payroll NZ
description: This is the Xero Payroll API for orgs in the NZ region.
termsOfService: https://developer.xero.com/xero-developer-platform-terms-conditions/
contact:
name: Xero Platform Team
email: [email protected]
Expand Down Expand Up @@ -6626,9 +6626,9 @@ components:
description: Status of leave
type: string
enum:
- Approved
- Completed
- Estimated
- Approved
- Completed
- Estimated
EmployeeLeaveBalances:
type: object
properties:
Expand Down Expand Up @@ -6976,12 +6976,12 @@ components:
description: The type of units accrued for the leave annually
type: string
maximumToAccrue:
description: The maximum number of units that can be accrued for the leave
description: The maximum number of units that can be accrued for the leave
type: number
format: double
x-is-money: true
openingBalance:
description: The initial number of units assigned when the leave was added to the employee
description: The initial number of units assigned when the leave was added to the employee
type: number
format: double
x-is-money: true
Expand Down
125 changes: 62 additions & 63 deletions xero-payroll-uk.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
openapi: 3.0.0
info:
version: 9.1.1
title: 'Xero Payroll UK'
description: 'This is the Xero Payroll API for orgs in the UK region.'
termsOfService: "https://developer.xero.com/xero-developer-platform-terms-conditions/"
version: 9.2.0
title: Xero Payroll UK
description: This is the Xero Payroll API for orgs in the UK region.
termsOfService: https://developer.xero.com/xero-developer-platform-terms-conditions/
contact:
name: Xero Platform Team
email: [email protected]
Expand Down Expand Up @@ -245,8 +245,8 @@ paths:
countryName: UNITED KINGDOM
postCode: MK9 1EB
payrollCalendarID: null
updatedDateUTC: '2020-03-25T03:12:10Z'
createdDateUTC: '2020-03-25T03:12:10Z'
updatedDateUTC: "2020-03-25T03:12:10Z"
createdDateUTC: "2020-03-25T03:12:10Z"
niCategory: null
employeeNumber: null
"400":
Expand Down Expand Up @@ -303,22 +303,22 @@ paths:
application/json:
schema:
$ref: '#/components/schemas/EmployeeObject'
example:
example:
id: 9414291b-a8c6-08fa-b165-9b30b1e6aab5
providerName: "!YLT5Y"
dateTimeUTC: '2018-04-09T05:15:18.1011141'
providerName: '!YLT5Y'
dateTimeUTC: 2018-04-09T05:15:18.1011141
httpStatusCode: OK
pagination: null
employee:
employeeID: d17e008e-3381-45c0-b50c-2fab7757e503
title: Mr.
firstName: Edgar
lastName: Allan Po
dateOfBirth: '1985-03-24'
dateOfBirth: "1985-03-24"
gender: M
email: [email protected]
phoneNumber: '0400123456'
nationalInsuranceNumber: 'AB123456C'
phoneNumber: "0400123456"
nationalInsuranceNumber: AB123456C
isOffPayrollWorker: false
address:
addressLine1: 171 Midsummer
Expand All @@ -327,18 +327,18 @@ paths:
countryName: UNITED KINGDOM
postCode: MK9 1EB
payrollCalendarID: 216d80e6-af55-47b1-b718-9457c3f5d2fe
updatedDateUTC: '2017-05-12T10:00:24Z'
createdDateUTC: '2017-05-12T10:00:24Z'
updatedDateUTC: "2017-05-12T10:00:24Z"
createdDateUTC: "2017-05-12T10:00:24Z"
niCategories:
- startDate: '2020-05-01'
niCategory: I
workplacePostcode: SW1A 1AA
- startDate: '2020-05-02'
niCategory: F
niCategoryID: 1
dateFirstEmployedAsCivilian: '2020-05-01'
workplacePostcode: SW1A 1AA
employeeNumber: '2'
- startDate: "2020-05-01"
niCategory: I
workplacePostcode: SW1A 1AA
- startDate: "2020-05-02"
niCategory: F
niCategoryID: 1
dateFirstEmployedAsCivilian: "2020-05-01"
workplacePostcode: SW1A 1AA
employeeNumber: "2"
put:
security:
- OAuth2:
Expand Down Expand Up @@ -576,24 +576,24 @@ paths:
application/json:
schema:
$ref: '#/components/schemas/EmploymentObject'
example:
example:
id: 0160a355-1e6d-4fdc-9532-c0857feaa515
providerName: provider-name
dateTimeUTC: '2020-03-26T18:09:11.6235442'
dateTimeUTC: 2020-03-26T18:09:11.6235442
httpStatusCode: OK
pagination:
problem:
pagination:
problem:
employment:
payrollCalendarID: 216d80e6-af55-47b1-b718-9457c3f5d2fe
startDate: '2020-04-01T00:00:00'
startDate: 2020-04-01T00:00:00
niCategories:
- niCategory: I
startDate: '2020-05-01'
niCategoryID: 594
dateFirstEmployedAsCivilian: '2020-05-01'
workplacePostcode: SW1A 1AA
- niCategory: I
startDate: "2020-05-01"
niCategoryID: 594
dateFirstEmployedAsCivilian: "2020-05-01"
workplacePostcode: SW1A 1AA
employeeNumber: 123ABC
'400':
"400":
description: validation error for a bad request
content:
application/json:
Expand All @@ -605,13 +605,13 @@ paths:
application/json:
schema:
$ref: '#/components/schemas/Employment'
example:
example:
payrollCalendarID: cdfb8371-0b21-4b8a-8903-1024df6c391e
startDate: '2024-04-01'
startDate: "2024-04-01"
niCategories:
- niCategory: I
startDate: '2020-05-01'
workplacePostcode: SW1A 1AA
- niCategory: I
startDate: "2020-05-01"
workplacePostcode: SW1A 1AA
employeeNumber: 123ABC
/Employees/{EmployeeID}/Tax:
parameters:
Expand Down Expand Up @@ -5649,7 +5649,6 @@ components:
type: array
items:
$ref: '#/components/schemas/NICategory'

EmployeeTaxObject:
type: object
properties:
Expand Down Expand Up @@ -7473,23 +7472,23 @@ components:
type: string
example: I
enum:
- A
- B
- C
- F
- H
- I
- J
- L
- M
- S
- V
- X
- Z
- D
- E
- K
- N
- A
- B
- C
- F
- H
- I
- J
- L
- M
- S
- V
- X
- Z
- D
- E
- K
- N
NICategory:
type: object
required:
Expand All @@ -7500,8 +7499,8 @@ components:
description: The start date of the NI category (YYYY-MM-DD)
type: string
format: date
example: 2024-12-02
x-is-date: true
example: 2024-12-02
x-is-date: true
niCategory:
$ref: '#/components/schemas/NICategoryLetter'
niCategoryID:
Expand All @@ -7513,17 +7512,17 @@ components:
type: string
format: date
example: 2024-12-02
x-is-date: true
x-is-date: true
workplacePostcode:
description: The workplace postcode
type: string
example: SW1A 1AA
oneOf:
- required:
- workplacePostcode
- workplacePostcode
properties:
niCategory:
enum:
enum:
- F
- I
- L
Expand All @@ -7533,7 +7532,7 @@ components:
- D
- K
- required:
- dateFirstEmployedAsCivilian
- dateFirstEmployedAsCivilian
properties:
niCategory:
enum:
Expand Down
4 changes: 2 additions & 2 deletions xero-projects.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
openapi: 3.0.0
info:
version: "9.1.1"
version: 9.2.0
title: Xero Projects API
description: This is the Xero Projects API
termsOfService: https://developer.xero.com/xero-developer-platform-terms-conditions/
Expand Down Expand Up @@ -753,7 +753,7 @@ paths:
example: 10
- name: states
in: query
description: "Comma-separated list of states to find. Will find all time entries that are in the status of whatever is specified."
description: Comma-separated list of states to find. Will find all time entries that are in the status of whatever is specified.
schema:
type: array
items:
Expand Down
Loading
Loading