> ## 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.

# List journal entry lines

> List journal entry lines with optional filters.



## OpenAPI

````yaml get /v1/accounting/journal-entry-lines
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-entry-lines:
    get:
      tags:
        - Accounting > Journal entries
      summary: List journal entry lines
      description: List journal entry lines with optional filters.
      operationId: listJournalEntryLines
      parameters:
        - schema:
            type:
              - number
              - 'null'
            minimum: 0
            maximum: 100
            default: 50
          required: false
          name: take
          in: query
        - schema:
            type:
              - number
              - 'null'
            minimum: 0
            default: 0
          required: false
          name: skip
          in: query
        - schema:
            type: string
            description: Filter by journal entry identifier.
          required: false
          description: Filter by journal entry identifier.
          name: entry_id
          in: query
        - schema:
            type: string
            description: Filter by ledger account identifier.
          required: false
          description: Filter by ledger account identifier.
          name: ledger_account_id
          in: query
        - schema:
            type: string
            description: Filter by invoice line item identifier.
          required: false
          description: Filter by invoice line item identifier.
          name: invoice_line_item_id
          in: query
        - schema:
            type: string
            enum:
              - debit
              - credit
            description: Filter by debit or credit line type.
          required: false
          description: Filter by debit or credit line type.
          name: type
          in: query
        - schema:
            type: string
            description: Filter by invoicing entity identifier.
          required: false
          description: Filter by invoicing entity identifier.
          name: invoicing_entity_id
          in: query
        - schema:
            type: string
            enum:
              - draft
              - posted
            description: Filter by parent journal entry status.
          required: false
          description: Filter by parent journal entry status.
          name: entry_status
          in: query
        - schema:
            type: string
            description: Filter by customer identifier.
          required: false
          description: Filter by customer identifier.
          name: customer_id
          in: query
        - schema:
            type: string
            description: Search line amount or parent entry data.
          required: false
          description: Search line amount or parent entry data.
          name: search
          in: query
        - schema:
            type:
              - integer
              - 'null'
            minimum: 2000
            maximum: 2100
            description: Filter by parent entry year.
          required: false
          description: Filter by parent entry year.
          name: year
          in: query
        - schema:
            type:
              - integer
              - 'null'
            minimum: 1
            maximum: 4
            description: Filter by parent entry quarter.
          required: false
          description: Filter by parent entry quarter.
          name: quarter
          in: query
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccountingJournalEntryLinePaginated'
      security:
        - bearer: []
components:
  schemas:
    AccountingJournalEntryLinePaginated:
      type: object
      properties:
        meta:
          $ref: '#/components/schemas/AccountingPaginationMeta'
        data:
          type: array
          items:
            $ref: '#/components/schemas/AccountingJournalEntryLine'
          description: Journal-entry lines returned by the request.
      required:
        - meta
        - data
    AccountingPaginationMeta:
      type: object
      properties:
        total:
          type: number
          description: Total number of matching resources.
        taken:
          type: number
          description: Number of resources returned.
        skipped:
          type: number
          description: Number of resources skipped.
      required:
        - total
        - taken
        - skipped
      description: Pagination metadata.
    AccountingJournalEntryLine:
      type: object
      properties:
        id:
          type: string
          description: Unique journal-entry line identifier.
        line_number:
          type: number
          description: Sequential line number in the ledger.
        date:
          type:
            - string
            - 'null'
          format: date
          description: Accounting date of the line.
        description:
          type:
            - string
            - 'null'
          description: Optional line description.
        type:
          type: string
          enum:
            - debit
            - credit
          description: Debit or credit line type.
        amount:
          type: number
          description: Amount in ledger currency. Expressed in currency's smallest unit.
        amount_in_original_currency:
          type: number
          description: >-
            Amount in the original currency. Expressed in currency's smallest
            unit.
        original_currency:
          type: string
          enum:
            - EUR
            - AED
            - AFN
            - XCD
            - ALL
            - AMD
            - AOA
            - ARS
            - USD
            - AUD
            - AWG
            - AZN
            - BAM
            - BBD
            - BDT
            - BGN
            - BHD
            - BIF
            - XOF
            - BMD
            - BND
            - BOB
            - BRL
            - BSD
            - BTN
            - NOK
            - BWP
            - BYR
            - BZD
            - CAD
            - CDF
            - XAF
            - CHF
            - NZD
            - CLP
            - CNY
            - COP
            - CRC
            - CUP
            - CVE
            - ANG
            - CZK
            - DJF
            - DKK
            - DOP
            - DZD
            - EGP
            - MAD
            - ERN
            - ETB
            - FJD
            - FKP
            - GBP
            - GEL
            - GHS
            - GIP
            - GMD
            - GNF
            - GTQ
            - GYD
            - HKD
            - HNL
            - HRK
            - HTG
            - HUF
            - IDR
            - ILS
            - INR
            - IQD
            - IRR
            - ISK
            - JMD
            - JOD
            - JPY
            - KES
            - KGS
            - KHR
            - KMF
            - KPW
            - KRW
            - KWD
            - KYD
            - KZT
            - LAK
            - LBP
            - LKR
            - LRD
            - LSL
            - LYD
            - MDL
            - MGA
            - MKD
            - MMK
            - MNT
            - MOP
            - MRO
            - MUR
            - MVR
            - MWK
            - MXN
            - MYR
            - MZN
            - NAD
            - XPF
            - NGN
            - NIO
            - NPR
            - OMR
            - PAB
            - PEN
            - PGK
            - PHP
            - PKR
            - PLN
            - PYG
            - QAR
            - RON
            - RSD
            - RUB
            - RWF
            - SAR
            - SBD
            - SCR
            - SDG
            - SEK
            - SGD
            - SHP
            - SLL
            - SOS
            - SRD
            - SSP
            - STD
            - SYP
            - SZL
            - THB
            - TJS
            - TMT
            - TND
            - TOP
            - TRY
            - TTD
            - TWD
            - TZS
            - UAH
            - UGX
            - UYU
            - UZS
            - VEF
            - VND
            - VUV
            - WST
            - YER
            - ZAR
            - ZMW
            - ZWL
          description: ISO 4217 original currency.
          example: EUR
        original_currency_exchange_rate:
          type: string
          description: Exchange rate into ledger currency.
        original_currency_exchange_rate_date:
          type:
            - string
            - 'null'
          format: date
          description: Date of the exchange rate.
        entry_id:
          type: string
          description: Parent journal-entry identifier.
        entry_status:
          type: string
          enum:
            - draft
            - posted
          description: Status of the parent entry when included.
        entry_posted_at:
          type:
            - string
            - 'null'
          format: date
          description: Posting timestamp of the parent entry when included.
        entry_number:
          type:
            - string
            - 'null'
          description: Number of the parent entry when included.
        customer_id:
          type:
            - string
            - 'null'
          description: Customer of the parent entry when included.
        customer_name:
          type:
            - string
            - 'null'
          description: Customer name of the parent entry when included.
        ledger_account_id:
          type: string
          description: Ledger account identifier.
        account_code_snapshot:
          type:
            - string
            - 'null'
          description: Account code captured when the entry was posted.
        account_name_snapshot:
          type:
            - string
            - 'null'
          description: Account name captured when the entry was posted.
        invoice_line_item_id:
          type:
            - string
            - 'null'
          description: Related invoice line-item identifier.
        rule_id:
          type:
            - string
            - 'null'
          description: Applied accounting-rule identifier.
        rule_code:
          type:
            - string
            - 'null'
          description: Applied accounting-rule code.
        rule_name:
          type:
            - string
            - 'null'
          description: Applied accounting-rule name.
        product_id:
          type:
            - string
            - 'null'
          description: Related product identifier.
        invoicing_entity_id:
          type: string
          description: Owning invoicing entity identifier.
        created_at:
          type:
            - string
            - 'null'
          format: date
          description: Timestamp when the line was created.
        updated_at:
          type:
            - string
            - 'null'
          format: date
          description: Timestamp when the line was last updated.
      required:
        - id
        - line_number
        - date
        - description
        - type
        - amount
        - amount_in_original_currency
        - original_currency
        - original_currency_exchange_rate
        - original_currency_exchange_rate_date
        - entry_id
        - ledger_account_id
        - invoice_line_item_id
        - rule_id
        - rule_code
        - rule_name
        - product_id
        - invoicing_entity_id
        - created_at
        - updated_at
  securitySchemes:
    bearer:
      type: http
      scheme: bearer
      bearerFormat: JWT

````

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