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

# Listar libro diario resumido



## OpenAPI

````yaml /api-reference/openapi.json get /api/v1/accounting/summarized-journal
openapi: 3.1.0
info:
  title: La Pyme API
  description: >-
    Resources and workflows for purchases, sales, inventory, contacts, products,
    reports, and settings.
  version: 1.0.0
  contact:
    name: La Pyme Support
    email: hola@lapyme.com.ar
  license:
    name: Proprietary
    url: https://lapyme.com.ar/terminos
servers:
  - url: https://api.lapyme.com.ar
    description: Servidor de producción
security:
  - bearerAuth: []
tags:
  - name: API
    description: Public API operations for La Pyme integrations.
paths:
  /api/v1/accounting/summarized-journal:
    get:
      tags:
        - API
      summary: Listar libro diario resumido
      operationId: listApiSummarizedJournal
      parameters:
        - name: date_from
          in: query
          required: false
          description: >-
            Fecha inicial del período. Obligatoria junto con date_to si no se
            envía period_preset.
          schema:
            type: string
            format: date
        - name: date_to
          in: query
          required: false
          description: >-
            Fecha final inclusiva del período. Obligatoria junto con date_from
            si no se envía period_preset.
          schema:
            type: string
            format: date
        - name: period_preset
          in: query
          required: false
          description: >-
            Atajo de período resuelto por la API a date_from/date_to en horario
            de Argentina. No enviarlo junto con date_from/date_to.
          schema:
            $ref: '#/components/schemas/ApiSharedEnumab9ba78640'
        - name: cursor
          in: query
          required: false
          schema:
            type: string
        - name: limit
          in: query
          required: false
          schema:
            type: integer
            minimum: 1
            maximum: 100
            default: 50
        - name: source_types
          in: query
          required: false
          schema:
            type: array
            items:
              type: string
        - name: sort_order
          in: query
          required: false
          schema:
            type: string
            enum:
              - newest
              - oldest
            default: oldest
      responses:
        '200':
          description: Libro diario resumido listado
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiJournalEntriesListResponse'
        '400':
          description: Solicitud inválida
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorEnvelope'
              examples:
                default:
                  summary: INVALID_REQUEST
                  value:
                    request_id: req_error_1
                    error:
                      type: invalid_request_error
                      code: INVALID_REQUEST
                      message: Solicitud inválida
                      retryable: false
                      details: []
        '401':
          description: API key faltante o inválida
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorEnvelope'
              examples:
                default:
                  summary: INVALID_REQUEST
                  value:
                    request_id: req_error_1
                    error:
                      type: invalid_request_error
                      code: INVALID_REQUEST
                      message: API key faltante o inválida
                      retryable: false
                      details: []
        '403':
          description: Scope insuficiente o contabilidad no habilitada
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorEnvelope'
              examples:
                default:
                  summary: INVALID_REQUEST
                  value:
                    request_id: req_error_1
                    error:
                      type: invalid_request_error
                      code: INVALID_REQUEST
                      message: Scope insuficiente o contabilidad no habilitada
                      retryable: false
                      details: []
        '429':
          description: Límite de solicitudes excedido para la organización
          headers:
            Retry-After:
              description: Segundos a esperar antes de volver a intentar la solicitud.
              schema:
                type: string
                example: '30'
            X-RateLimit-Limit:
              description: Límite de la ventana activa.
              schema:
                type: string
                example: '5000'
            X-RateLimit-Remaining:
              description: Solicitudes restantes en la ventana activa.
              schema:
                type: string
                example: '0'
            X-RateLimit-Reset:
              description: Segundos restantes hasta el reset de la ventana activa.
              schema:
                type: string
                example: '30'
            RateLimit-Limit:
              description: Límite de la ventana activa en formato estándar.
              schema:
                type: string
                example: '5000'
            RateLimit-Remaining:
              description: Solicitudes restantes en la ventana activa en formato estándar.
              schema:
                type: string
                example: '0'
            RateLimit-Reset:
              description: >-
                Segundos hasta el reset de la ventana activa en formato
                estándar.
              schema:
                type: string
                example: '30'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorEnvelope'
              examples:
                default:
                  summary: RATE_LIMITED
                  value:
                    request_id: req_rate_limit_1
                    error:
                      type: rate_limit_error
                      code: RATE_LIMITED
                      message: >-
                        The organization request limit was reached. Try again
                        later.
                      retryable: true
                      details: []
        '500':
          description: Error interno del servidor
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorEnvelope'
              examples:
                default:
                  summary: INVALID_REQUEST
                  value:
                    request_id: req_error_1
                    error:
                      type: invalid_request_error
                      code: INVALID_REQUEST
                      message: Error interno del servidor
                      retryable: false
                      details: []
components:
  schemas:
    ApiSharedEnumab9ba78640:
      type: string
      enum:
        - today
        - yesterday
        - last_7_days
        - last_30_days
        - last_90_days
        - this_month
        - previous_month
        - this_year
    ApiJournalEntriesListResponse:
      type: object
      properties:
        request_id:
          type: string
        object:
          type: string
          const: list
        url:
          type: string
        data:
          type: array
          items:
            type: object
            properties:
              object:
                type: string
                const: journal_entry
              id:
                type: string
                format: uuid
              entry_number:
                anyOf:
                  - type: integer
                  - type: 'null'
              date:
                type: string
                format: date
              description:
                type: string
              reference:
                anyOf:
                  - type: string
                  - type: 'null'
              source_type:
                anyOf:
                  - type: string
                  - type: 'null'
              source_id:
                anyOf:
                  - type: string
                    format: uuid
                  - type: 'null'
              currency:
                type: string
              exchange_rate:
                anyOf:
                  - type: number
                  - type: 'null'
              created_at:
                type: string
                format: date-time
              updated_at:
                type: string
                format: date-time
              lines:
                type: array
                items:
                  $ref: '#/components/schemas/ApiSharedObject136b444e9e'
            required:
              - object
              - id
              - entry_number
              - date
              - description
              - reference
              - source_type
              - source_id
              - currency
              - exchange_rate
              - created_at
              - updated_at
              - lines
            additionalProperties: false
        has_more:
          type: boolean
        next_cursor:
          anyOf:
            - type: string
            - type: 'null'
      required:
        - request_id
        - object
        - url
        - data
        - has_more
        - next_cursor
      additionalProperties: false
    ApiErrorEnvelope:
      type: object
      properties:
        request_id:
          type: string
        error:
          type: object
          properties:
            type:
              type: string
              enum:
                - api_error
                - authentication_error
                - authorization_error
                - business_error
                - external_dependency_error
                - idempotency_error
                - invalid_request_error
                - rate_limit_error
            code:
              type: string
            message:
              type: string
            retryable:
              type: boolean
            details:
              type: array
              items:
                $ref: '#/components/schemas/ApiSharedObjectc671832641'
          required:
            - type
            - code
            - message
            - retryable
            - details
          additionalProperties: false
      required:
        - request_id
        - error
      additionalProperties: false
    ApiSharedObject136b444e9e:
      type: object
      properties:
        object:
          type: string
          const: journal_entry_line
        id:
          type: string
          format: uuid
        account:
          $ref: '#/components/schemas/ApiSharedObject6f6a8f3873'
        debit:
          type: integer
        credit:
          type: integer
        entered_debit:
          anyOf:
            - type: integer
            - type: 'null'
        entered_credit:
          anyOf:
            - type: integer
            - type: 'null'
        currency:
          type: string
        contact:
          anyOf:
            - $ref: '#/components/schemas/ApiSharedObjectede6d90fef'
            - type: 'null'
        cost_centers:
          type: object
          additionalProperties: {}
        description:
          anyOf:
            - type: string
            - type: 'null'
      required:
        - object
        - id
        - account
        - debit
        - credit
        - entered_debit
        - entered_credit
        - currency
        - contact
        - cost_centers
        - description
      additionalProperties: false
    ApiSharedObjectc671832641:
      type: object
      properties:
        code:
          type: string
        message:
          type: string
        field:
          type: string
      required:
        - code
        - message
      additionalProperties: false
    ApiSharedObject6f6a8f3873:
      type: object
      properties:
        object:
          type: string
          const: account
        id:
          type: string
          format: uuid
        code:
          anyOf:
            - type: string
            - type: 'null'
        name:
          type: string
      required:
        - object
        - id
        - code
        - name
      additionalProperties: false
    ApiSharedObjectede6d90fef:
      type: object
      properties:
        object:
          type: string
          const: contact
        id:
          anyOf:
            - type: string
              format: uuid
            - type: 'null'
        name:
          anyOf:
            - type: string
            - type: 'null'
      required:
        - object
        - id
        - name
      additionalProperties: false
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: API Key
      description: Incluí tu API key en el header Authorization con el prefijo Bearer.

````