Download an invoice or a credit memo file
GET https://{{host}}/invoicing-api/v3/contracts/:contractId/invoices/:invoiceId/download?fileFormat={{fileFormat}}
Returns the content of the selected contract's invoice or credit memo file. The downloadable file is available in the response body. The Content-Type
depends on the format of the file you're downloading.
Body
PARAM
Key | Datatype | Required | Description |
fileFormat
|
string | (Required) __Enum__ File format of the invoice. These are the available values: `PDF`, `CSV`, and `JSON`. | |
accountSwitchKey
|
string | (Optional) For customers who manage more than one account, this [runs the operation from another account](https://techdocs.akamai.com/developer/docs/manage-many-accounts-with-one-api-client). The Identity and Access Management API provides a [list of available account switch keys](https://techdocs.akamai.com/iam-api/reference/get-client-account-switch-keys). |
HEADERS
Key | Datatype | Required | Description |
Accept
|
string |
RESPONSES
status OK
ENDPOINTS