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

# Descargar PDF de factura

> Descarga el PDF de una factura específica.



## OpenAPI

````yaml /openapi.json get /pdf/{invoiceId}
openapi: 3.1.0
info:
  title: Facturear API
  description: >-
    API completa para facturación electrónica en Argentina. Integra con AFIP y
    genera facturas electrónicas válidas de forma rápida y segura.
  version: 1.0.0
  contact:
    name: Facturear Support
    email: support@facture.ar
    url: https://facture.ar
  license:
    name: MIT
    url: https://opensource.org/licenses/MIT
servers:
  - url: https://facture.ar/api
    description: Servidor de producción
security:
  - apiKey: []
paths:
  /pdf/{invoiceId}:
    get:
      tags:
        - Utilidades
      summary: Descargar PDF de factura
      description: Descarga el PDF de una factura específica.
      parameters:
        - name: invoiceId
          in: path
          description: ID de la factura
          required: true
          schema:
            type: string
            format: uuid
      responses:
        '200':
          description: PDF descargado exitosamente
          content:
            application/pdf:
              schema:
                type: string
                format: binary
        '404':
          description: Factura no encontrada
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    Error:
      type: object
      required:
        - error
        - message
      properties:
        error:
          type: string
          description: Código de error
        message:
          type: string
          description: Mensaje de error descriptivo
        details:
          type: object
          description: Detalles adicionales del error
  securitySchemes:
    apiKey:
      type: apiKey
      in: header
      name: x-api-key
      description: >-
        API Key para autenticación. Formato: test_sk_xxx para testing,
        prod_sk_xxx para producción.

````