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

# Preview recognition schedule

> Preview revenue-recognition slices for a manual journal entry without writing data.



## OpenAPI

````yaml post /v1/accounting/journal-entries/recognition-preview
openapi: 3.1.0
info:
  title: Hyperline API
  version: 0.0.0
servers:
  - url: https://api.hyperline.co
  - url: https://sandbox.api.hyperline.co
security: []
paths:
  /v1/accounting/journal-entries/recognition-preview:
    post:
      tags:
        - Accounting > Journal entries
      summary: Preview recognition schedule
      description: >-
        Preview revenue-recognition slices for a manual journal entry without
        writing data.
      operationId: previewManualJournalEntryRecognition
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                ledger_id:
                  type: string
                  description: Ledger identifier.
                amount:
                  type: string
                  pattern: ^\d+(\.\d+)?$
                  description: Deferred amount in minor ledger-currency units.
                method:
                  type: string
                  enum:
                    - point_in_time
                    - over_time
                  description: Recognition method to preview.
                recognition_date:
                  type:
                    - string
                    - 'null'
                  format: date
                  description: Recognition date for point-in-time recognition.
                window:
                  type:
                    - object
                    - 'null'
                  properties:
                    start_date:
                      type: string
                      format: date
                      description: Inclusive service window start date.
                    end_date:
                      type: string
                      format: date
                      description: Inclusive service window end date.
                  required:
                    - start_date
                    - end_date
                  description: Service window for over-time recognition.
                granularity:
                  type:
                    - string
                    - 'null'
                  enum:
                    - day
                    - month
                    - quarter
                    - year
                  description: Slice granularity for over-time recognition.
              required:
                - ledger_id
                - amount
                - method
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccountingManualRecognitionPreview'
      security:
        - bearer: []
components:
  schemas:
    AccountingManualRecognitionPreview:
      type: object
      properties:
        slices:
          type: array
          items:
            type: object
            properties:
              start_date:
                type:
                  - string
                  - 'null'
                format: date
                description: Inclusive slice start timestamp.
              end_date:
                type:
                  - string
                  - 'null'
                format: date
                description: Inclusive slice end timestamp.
              amount:
                type: string
                description: Amount recognized by this slice.
            required:
              - start_date
              - end_date
              - amount
          description: Recognition slices in the preview.
        total:
          type: string
          description: Total amount covered by the preview.
      required:
        - slices
        - total
  securitySchemes:
    bearer:
      type: http
      scheme: bearer
      bearerFormat: JWT

````