Get a PDF invoice for a transaction
Changed onReturns a link to an invoice PDF for a transaction.
Invoice PDFs are available for both automatically and manually-collected transactions:
- The PDF for manually-collected transactions includes payment terms, purchase order number, and notes for your customer. It's a demand for payment from your customer. It's available for transactions that are billed or completed.
- The PDF for automatically-collected transactions lets your customer know that payment was taken successfully. Customers may require this for for tax-reporting purposes. It's available for transactions that are completed.
Invoice PDFs aren't available for zero-value transactions.
The link returned is not a permanent link. It expires after an hour.
Request
- Base URLhttps://sandbox-api.paddle.com
- AuthHTTP bearer
Path parameters
Paddle ID of the transaction entity to work with.
Query parameters
Determine whether the generated URL should download the PDF as an attachment saved locally, or open it inline in the browser.
Default: attachment.
Response
The request has succeeded.
Example response
{
"meta": {
"request_id": "b15ec92e-8688-40d4-a04d-f44cbec93355"
}
}Changes
- breaking
added the new path request parameter
transaction_id - breaking
the
response's property type changed fromobjectto no type for status - breaking
removed the required property
/from the response with the status - breaking
removed the required property
/from the response with the status - breaking
removed the required property
/from the response with the status - breaking
removed the required property
/from the response with the status - warning
removed the optional property
/from the response with the status - info
added to the
response propertyallOflist for the response status - info
the response property
/became required for the status - info
the response property
became required for the status - info
the response property
became required for the status
- breaking
- breaking
for the
queryrequest parameterdisposition, default valueattachmentwas added
- breaking