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
1 change: 0 additions & 1 deletion validator/scripts/validate-all.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ ruleset="./validator/spectral.yaml"

# Array of all YAML files
files=(
"xero-finance.yaml"
"xero-identity.yaml"
"xero-projects.yaml"
"xero-app-store.yaml"
Expand Down
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.1.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
24 changes: 12 additions & 12 deletions 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.1.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 Expand Up @@ -389,7 +389,7 @@ paths:
type: string
example: "2020-06-30"
responses:
"200":
200:
description: Success
content:
application/json:
Expand Down Expand Up @@ -453,7 +453,7 @@ paths:
total: 14.81
total: 14.81
total: 14.81
"400":
400:
description: Bad Request
content:
application/json:
Expand All @@ -464,7 +464,7 @@ paths:
title: InvalidRequest
status: 400
detail: Organisation xxx does not exist
"503":
503:
description: Server Error
content:
application/json:
Expand Down Expand Up @@ -503,7 +503,7 @@ paths:
type: string
example: "2021-09-15"
responses:
"200":
200:
description: Success
content:
application/json:
Expand Down Expand Up @@ -607,7 +607,7 @@ paths:
name: Loan - Shellcoll Distribution 2019
reportingCode: LIA.CUR.LOA
total: -15000.5
"400":
400:
description: Bad Request
content:
application/json:
Expand All @@ -618,7 +618,7 @@ paths:
title: InvalidRequest
status: 400
detail: Organisation xxx does not exist
"503":
503:
description: Server Error
content:
application/json:
Expand Down Expand Up @@ -657,7 +657,7 @@ paths:
type: string
example: "2021-09-15"
responses:
"200":
200:
description: Success
content:
application/json:
Expand Down Expand Up @@ -709,7 +709,7 @@ paths:
name: Office Expenses
reportingCode: EXP
total: 144.47
"400":
400:
description: Bad Request
content:
application/json:
Expand Down Expand Up @@ -741,7 +741,7 @@ paths:
type: string
example: "2021-09-15"
responses:
"200":
200:
description: Success
content:
application/json:
Expand Down Expand Up @@ -769,7 +769,7 @@ paths:
value: 123
entryType: CREDIT
signedMovement: 0
"400":
400:
description: Bad Request
content:
application/json:
Expand Down Expand Up @@ -1116,7 +1116,7 @@ paths:
reportingCode: REV.OTH
lineAmount: 15.0
accountType: REVENUE
- paymentId: f94dad64-658c-491f-b9.1.15d38e9e8702
- paymentId: f94dad64-658c-491f-b901-05d38e9e8702
date: "2021-01-01"
amount: 5.0
bankAmount: 5.0
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.1.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
18 changes: 9 additions & 9 deletions xero-payroll-au.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.1.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/"
Expand Down Expand Up @@ -467,7 +467,7 @@ paths:
example:
Id: 00000000-0000-0000-0000-000000000000
Status: OK
ProviderName: 3f9.1.1a-df13-49c7-b82f-a069813df188
ProviderName: 3f93110a-df13-49c7-b82f-a069813df188
DateTimeUTC: /Date(1573621524786)/
Employees:
- EmployeeID: cdfb8371-0b21-4b8a-8903-1024df6c391e
Expand Down Expand Up @@ -583,7 +583,7 @@ paths:
EmployeeID: b34e89ff-770d-4099-b7e5-f968767118bc
LeaveTypeID: 184ea8f7-d143-46dd-bef3-0c60e1aa6fca
LeavePeriods:
- PayPeriodStartDate: /Date(15719.1.10000+0000)/
- PayPeriodStartDate: /Date(1571961600000+0000)/
PayPeriodEndDate: /Date(1572480000000+0000)/
LeavePeriodStatus: SCHEDULED
NumberOfUnits: 0
Expand All @@ -601,7 +601,7 @@ paths:
EmployeeID: b34e89ff-770d-4099-b7e5-f968767118bc
LeaveTypeID: 184ea8f7-d143-46dd-bef3-0c60e1aa6fca
LeavePeriods:
- PayPeriodStartDate: /Date(15719.1.10000+0000)/
- PayPeriodStartDate: /Date(1571961600000+0000)/
PayPeriodEndDate: /Date(1572480000000+0000)/
LeavePeriodStatus: SCHEDULED
NumberOfUnits: 0
Expand Down Expand Up @@ -823,7 +823,7 @@ paths:
EmployeeID: b34e89ff-770d-4099-b7e5-f968767118bc
LeaveTypeID: 184ea8f7-d143-46dd-bef3-0c60e1aa6fca
LeavePeriods:
- PayPeriodStartDate: /Date(15719.1.10000+0000)/
- PayPeriodStartDate: /Date(1571961600000+0000)/
PayPeriodEndDate: /Date(1572480000000+0000)/
LeavePeriodStatus: SCHEDULED
NumberOfUnits: 8
Expand All @@ -841,7 +841,7 @@ paths:
EmployeeID: b34e89ff-770d-4099-b7e5-f968767118bc
LeaveTypeID: 184ea8f7-d143-46dd-bef3-0c60e1aa6fca
LeavePeriods:
- PayPeriodStartDate: /Date(15719.1.10000+0000)/
- PayPeriodStartDate: /Date(1571961600000+0000)/
PayPeriodEndDate: /Date(1572480000000+0000)/
LeavePeriodStatus: PROCESSED
NumberOfUnits: 8
Expand All @@ -854,7 +854,7 @@ paths:
EndDate: /Date(1572645600000+0000)/
UpdatedDateUTC: /Date(1573447343000+0000)/
PayOutType: DEFAULT
- LeaveApplicationID: 3f9.1.1a-df13-49c7-b82f-a069813df188
- LeaveApplicationID: 3f93110a-df13-49c7-b82f-a069813df188
EmployeeID: cdfb8371-0b21-4b8a-8903-1024df6c391e
LeaveTypeID: 184ea8f7-d143-46dd-bef3-0c60e1aa6fca
LeavePeriods:
Expand Down Expand Up @@ -1024,7 +1024,7 @@ paths:
example:
Id: 00000000-0000-0000-0000-000000000000
Status: OK
ProviderName: 3f9.1.1a-df13-49c7-b82f-a069813df188
ProviderName: 3f93110a-df13-49c7-b82f-a069813df188
DateTimeUTC: /Date(1573679792293)/
LeaveApplications:
- LeaveApplicationID: 1d4cd583-0107-4386-936b-672eb3d1f624
Expand Down Expand Up @@ -3127,7 +3127,7 @@ paths:
example:
Id: 00000000-0000-0000-0000-000000000000
Status: OK
ProviderName: 3f9.1.1a-df13-49c7-b82f-a069813df188
ProviderName: 3f93110a-df13-49c7-b82f-a069813df188
DateTimeUTC: /Date(1573516185258)/
Timesheets:
- TimesheetID: a7eb0a79-8511-4ee7-b473-3a25f28abcb9
Expand Down
2 changes: 1 addition & 1 deletion xero-payroll-nz.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.1.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/"
Expand Down
2 changes: 1 addition & 1 deletion xero-payroll-uk.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.1.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/"
Expand Down
2 changes: 1 addition & 1 deletion 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.1.0"
title: Xero Projects API
description: This is the Xero Projects API
termsOfService: https://developer.xero.com/xero-developer-platform-terms-conditions/
Expand Down
20 changes: 10 additions & 10 deletions xero_accounting.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
openapi: 3.0.0
info:
title: Xero Accounting API
version: 9.1.1
version: 9.1.0
termsOfService: https://developer.xero.com/xero-developer-platform-terms-conditions/
contact:
name: Xero Platform Team
Expand Down Expand Up @@ -981,7 +981,7 @@ paths:
CurrencyCode: NZD
BatchPaymentID: b649632e-2782-4c74-95a5-d994d7140ed9
DateString: 2022-08-01T00:00:00
Date: /Date(1659.1.100000+0000)/
Date: /Date(1659312000000+0000)/
Payments: []
Type: PAYBATCH
Status: DELETED
Expand Down Expand Up @@ -1108,7 +1108,7 @@ paths:
CurrencyCode: NZD
BatchPaymentID: b649632e-2782-4c74-95a5-d994d7140ed9
DateString: 2022-08-01T00:00:00
Date: /Date(1659.1.100000+0000)/
Date: /Date(1659312000000+0000)/
Payments: []
Type: PAYBATCH
Status: DELETED
Expand Down Expand Up @@ -1523,7 +1523,7 @@ paths:
ProviderName: Xero API Partner
DateTimeUTC: /Date(1551213568047)/
BankTransactions:
- BankTransactionID: 1289.1.1-e46d-434b-9628-463ffdb52f00
- BankTransactionID: 1289c190-e46d-434b-9628-463ffdb52f00
BankAccount:
AccountID: 6f7594f2-f059-4d56-9e67-47ac9733bfe9
Code: "088"
Expand Down Expand Up @@ -1780,7 +1780,7 @@ paths:
ProviderName: Xero API Partner
DateTimeUTC: /Date(1551213568047)/
BankTransactions:
- BankTransactionID: 1289.1.1-e46d-434b-9628-463ffdb52f00
- BankTransactionID: 1289c190-e46d-434b-9628-463ffdb52f00
BankAccount:
AccountID: 6f7594f2-f059-4d56-9e67-47ac9733bfe9
Code: "088"
Expand Down Expand Up @@ -2155,7 +2155,7 @@ paths:
ProviderName: Xero API Partner
DateTimeUTC: /Date(1551213568875)/
BankTransactions:
- BankTransactionID: 1289.1.1-e46d-434b-9628-463ffdb52f00
- BankTransactionID: 1289c190-e46d-434b-9628-463ffdb52f00
BankAccount:
AccountID: 6f7594f2-f059-4d56-9e67-47ac9733bfe9
Code: "088"
Expand Down Expand Up @@ -7562,7 +7562,7 @@ paths:
SubTotal: 40.00
TotalTax: 0.00
Total: 40.00
UpdatedDateUTC: /Date(154117629.1.1+0000)/
UpdatedDateUTC: /Date(1541176290160+0000)/
CurrencyCode: NZD
- Type: ACCREC
InvoiceID: 046d8a6d-1ae1-4b4d-9340-5601bdf41b87
Expand Down Expand Up @@ -9754,7 +9754,7 @@ paths:
TargetLineItemID: d5128ff1-0f39-4d2a-a6d5-46dfaf5f075c
Status: ONDRAFT
Type: BILLABLEEXPENSE
UpdatedDateUTC: /Date(15523479.1.10+0000)/
UpdatedDateUTC: /Date(1552347991000+0000)/
SourceTransactionTypeCode: ACCPAY
put:
security:
Expand Down Expand Up @@ -9858,7 +9858,7 @@ paths:
TargetLineItemID: d5128ff1-0f39-4d2a-a6d5-46dfaf5f075c
Status: ONDRAFT
Type: BILLABLEEXPENSE
UpdatedDateUTC: /Date(15523479.1.10+0000)/
UpdatedDateUTC: /Date(1552347991000+0000)/
SourceTransactionTypeCode: ACCPAY
post:
security:
Expand Down Expand Up @@ -14372,7 +14372,7 @@ paths:
Option: Eastside
Date: /Date(1571875200000)/
DateString: 2019-10-24T00:00:00
ExpiryDate: /Date(15719.1.10000)/
ExpiryDate: /Date(1571961600000)/
ExpiryDateString: 2019-10-25T00:00:00
Status: ACCEPTED
CurrencyRate: 0.937053
Expand Down
2 changes: 1 addition & 1 deletion xero_assets.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.1.0
title: Xero Assets API
description: The Assets API exposes fixed asset related functions of the Xero Accounting application and can be used for a variety of purposes such as creating assets, retrieving asset valuations etc.
termsOfService: https://developer.xero.com/xero-developer-platform-terms-conditions/
Expand Down
2 changes: 1 addition & 1 deletion xero_bankfeeds.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.1.0
title: Xero Bank Feeds API
description: The Bank Feeds API is a closed API that is only available to financial institutions that have an established financial services partnership with Xero. If you're an existing financial services partner that wants access, contact your local Partner Manager. If you're a financial institution who wants to provide bank feeds to your business customers, contact us to become a financial services partner.
termsOfService: https://developer.xero.com/xero-developer-platform-terms-conditions/
Expand Down
2 changes: 1 addition & 1 deletion xero_files.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ servers:
url: https://api.xero.com/files.xro/1.0/
info:
title: Xero Files API
version: 9.1.1
version: 9.1.0
description: These endpoints are specific to Xero Files API
termsOfService: https://developer.xero.com/xero-developer-platform-terms-conditions/
contact:
Expand Down
Loading