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

# Get UF value for a period or date

> Returns UF value from database cache with fallback logic. Provide periodo (YYYY-MM) or fecha (YYYY-MM-DD).



## OpenAPI

````yaml /generated/specs/finance.json get /api/v1/facturacion-2/uf
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/facturacion-2/uf:
    get:
      tags:
        - Facturacion 2.0
      summary: Get UF value for a period or date
      description: >-
        Returns UF value from database cache with fallback logic. Provide
        periodo (YYYY-MM) or fecha (YYYY-MM-DD).
      operationId: Facturacion2Controller_getUfValue
      parameters:
        - name: periodo
          required: false
          in: query
          description: Period in format YYYY-MM
          schema:
            type: string
            example: 2026-01
        - name: fecha
          required: false
          in: query
          description: Date in format YYYY-MM-DD
          schema:
            type: string
            example: '2026-01-01'
      responses:
        '200':
          description: UF value retrieved successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UfValueResponseDto'
        '400':
          description: Invalid periodo/fecha format
components:
  schemas:
    UfValueResponseDto:
      type: object
      properties:
        periodo:
          type: string
          example: 2026-01
        fecha:
          type: string
          example: '2026-01-01'
        uf_value:
          type: number
          example: 38000
      required:
        - periodo
        - uf_value

````