> ## Documentation Index
> Fetch the complete documentation index at: https://docs.blink.store/llms.txt
> Use this file to discover all available pages before exploring further.

# Download Invoice PDF

> Streams a dynamically generated application/pdf buffer directly to the client. Returns 200 OK with Content-Disposition attachment.



## OpenAPI

````yaml /api-reference/blink-api.json get /invoices/{id}/pdf
openapi: 3.0.0
info:
  title: Blink API
  description: Comprehensive API documentation for Blink.
  version: 1.0.0
servers:
  - url: https://api.blink.store/v1
security:
  - storeIdHeader: []
tags:
  - name: Invoices
    description: Unified merchant of record invoices for products and subscriptions.
  - name: Geo Pricing
    description: Resolve Purchasing Power Parity (PPP) localized pricing.
paths:
  /invoices/{id}/pdf:
    get:
      tags:
        - Invoices
      summary: Download Invoice PDF
      description: >-
        Streams a dynamically generated application/pdf buffer directly to the
        client. Returns 200 OK with Content-Disposition attachment.
      operationId: downloadInvoicePdf
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: string
          description: The UUID of the invoice
      responses:
        '200':
          description: PDF file buffer
          content:
            application/pdf:
              schema:
                type: string
                format: binary
        '404':
          description: Invoice not found
components:
  securitySchemes:
    storeIdHeader:
      type: apiKey
      in: header
      name: x-store-id

````