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

# Preview del email de factura con contactos disponibles

> Preview del email de factura con contactos disponibles



## OpenAPI

````yaml /generated/specs/finance.json post /api/v1/billing/invoices/{id}/email-preview
openapi: 3.0.0
info:
  title: Raul API - Finanzas
  description: >-
    Facturas, boletas, ejecuciones de billing, cuentas por pagar y medios de
    pago.
  version: 2.0.0
  contact: {}
servers:
  - url: https://api.raul.ugps.io
    description: Production
security: []
tags: []
paths:
  /api/v1/billing/invoices/{id}/email-preview:
    post:
      tags:
        - Invoices
      summary: Preview del email de factura con contactos disponibles
      description: Preview del email de factura con contactos disponibles
      operationId: InvoiceEmailController_emailPreview
      parameters:
        - name: id
          required: true
          in: path
          description: UUID de la factura
          schema:
            type: string
        - name: template_type
          required: true
          in: query
          schema:
            type: string
      responses:
        '200':
          description: Preview del email con HTML renderizado
      security:
        - bearerAuth: []
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: >-
        Token de sesión Better Auth para rutas de backoffice; las rutas de
        portal usan su token propio.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.