Skip to content

Commit aa5e32f

Browse files
authored
Merge pull request #202 from XeroAPI/sid-development
Sid development
2 parents 27e5db5 + e3204a3 commit aa5e32f

File tree

2 files changed

+31
-2
lines changed

2 files changed

+31
-2
lines changed

accounting-yaml/xero_accounting.yaml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9960,6 +9960,35 @@ contact: {}, date:"2020-01-01", user:{} } ] } ] }'
99609960
}
99619961
]
99629962
}'
9963+
'/Prepayments/{PrepaymentID}/pdf':
9964+
parameters:
9965+
- $ref: '#/components/parameters/requiredHeader'
9966+
x-related-model: Prepayment
9967+
get:
9968+
security:
9969+
- OAuth2: [accounting.transactions.read]
9970+
tags:
9971+
- Accounting
9972+
operationId: getPrepaymentAsPdf
9973+
x-path: '/Prepayments/{PrepaymentID}'
9974+
summary: Allows you to retrieve prepayments as PDF files
9975+
parameters:
9976+
- required: true
9977+
in: path
9978+
name: PrepaymentID
9979+
description: Unique identifier for a PrePayment
9980+
example: "00000000-0000-0000-000-000000000000"
9981+
schema:
9982+
type: string
9983+
format: uuid
9984+
responses:
9985+
'200':
9986+
description: Success - return response of byte array pdf version of specified Prepayments
9987+
content:
9988+
application/pdf:
9989+
schema:
9990+
type: string
9991+
format: binary
99639992
'/Prepayments/{PrepaymentID}':
99649993
parameters:
99659994
- $ref: '#/components/parameters/requiredHeader'

payroll-uk-yaml/xero-payroll-uk.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ tags:
1212
- name: PayrollUK
1313
servers:
1414
- description: Xero Payroll AU API
15-
url: https://api.xero.com/payroll.xro/2.0/
15+
url: https://api.xero.com/payroll.xro/2.0
1616
paths:
1717
/Employees:
1818
parameters:
@@ -4554,7 +4554,7 @@ components:
45544554
description: UTC timestamp of last update to the leave type note
45554555
type: string
45564556
format: date-time
4557-
x-is-datetime: true
4557+
x-is-datetime: true
45584558
LeavePeriods:
45594559
type: object
45604560
properties:

0 commit comments

Comments
 (0)