invoices
Download invoice PDF
Changed onGET /api/v1/invoice/{invitation_key}/download
Downloads a specific invoice
get/api/v1/invoice/{invitation_key}/download
Request
- Base URLhttps://demo.invoiceninja.com
- Authnone declared. Required headers: X-API-TOKEN, X-Requested-With
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
invitation_keystring string required
The Invoice Invitation Key
Query parameters
includestring
Example:first_load
Includes child relationships in the response, format is comma separated. Check each model for the list of associated includes
Headers
X-API-TOKENstring required
Example:TOKEN
The API token to be used for authentication
X-Requested-Withstring required
Example:XMLHttpRequest
Used to send the XMLHttpRequest header
Response
Returns the invoice pdf
Changes
- info
api operation id
downloadInvoiceByInvitationwas added
- info
- info
api operation id
downloadInvoiceremoved and replaced with
- info