Skip to content

Commit e3204a3

Browse files
committed
Add get prepayment as PDF for accounting
1 parent f68d556 commit e3204a3

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
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'

0 commit comments

Comments
 (0)