# Get Invoices

Download the invoice for a transaction as a PDF or XLSX document.

Endpoint: GET /external/downloadInvoices
Version: 1.0.0
Security: bearerAuth, appId

## Query parameters:

  - `confirmationsId` (string, required)
    Transaction identifier returned by the payment request. Note the plural spelling — the invoice endpoints use `confirmationsId` while `/external/paymentConfirmation` uses `confirmationId`. Both accept the same identifier.

  - `downloadFormat` (string)
    Output format.

## Response 401 fields (application/json):

  - `errors` (array)
    Error messages.

## Response 404 fields (application/json):

  - `errors` (array)
    Error messages.

