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

# Get journal entry

## Field support per integration

<AccordionGroup>
  <Accordion title="Business Central" icon="https://mintcdn.com/maesn/51AaCYhZi3VILsjj/logo/businesscentral.svg?fit=max&auto=format&n=51AaCYhZi3VILsjj&q=85&s=9cdc50aa9f467133e9e9372eab83f38b" width="24" height="24" data-path="logo/businesscentral.svg">
    <Note>
      If you're not using the [Interactive Authentication Flow](/authentication#interactive-authentication-flow), make sure the query parameters `environmentName` and `companyId` are correctly populated.
      You can obtain these values by using the `GET Environments` and `GET Companies` endpoints available under the Authentication section.
    </Note>

    Support rawData: `true`

    <br />

    Supported Response Fields:

    <ResponseField name="id" type="string" />

    <ResponseField name="description" type="string" />

    <ResponseField name="files" type="string[]" />

    <ResponseField name="journalLineItems" type="JournalLineItem[]">
      <Expandable title="properties">
        <ResponseField name="accountId" type="string" />

        <ResponseField name="accountNumber" type="string" />

        <ResponseField name="debitCreditIndicator" type="enum">
          Available options: `DEBIT`, `CREDIT`
        </ResponseField>

        <ResponseField name="totalGrossAmount" type="number" />
      </Expandable>
    </ResponseField>

    <ResponseField name="journalType" type="string" />

    <ResponseField name="number" type="string" />

    <ResponseField name="transactionDate" type="string" />

    <ResponseField name="updatedDate" type="string" />
  </Accordion>

  <Accordion title="Exact Online" icon="https://mintcdn.com/maesn/gCd41Ws3USFubam4/logo/exact.svg?fit=max&auto=format&n=gCd41Ws3USFubam4&q=85&s=afa1af7a261b22f843ac73ee60896ede" width="24" height="24" data-path="logo/exact.svg">
    <Note>
      If you're not using the [Interactive Authentication Flow](/authentication#interactive-authentication-flow), make sure the query parameter `companyId` is correctly populated.
      You can obtain this value by using the `GET Companies` endpoint available under the Authentication section.
    </Note>

    Support rawData: `true`

    <br />

    Supported Response Fields:

    <ResponseField name="id" type="string" />

    <ResponseField name="accountingPeriodId" type="string" />

    <ResponseField name="createdDate" type="string" />

    <ResponseField name="description" type="string" />

    <ResponseField name="journalCode" type="string" />

    <ResponseField name="journalType" type="string" />

    <ResponseField name="journalLineItems" type="JournalLineItem[]">
      <Expandable title="properties">
        <ResponseField name="id" type="string" />

        <ResponseField name="accountId" type="string" />

        <ResponseField name="createdDate" type="string" />

        <ResponseField name="description" type="string" />

        <ResponseField name="dimensions " type="Dimension[]">
          <Expandable title="properties">
            <ResponseField name="id" type="string" />

            <ResponseField name="categoryName" type="string">
              Supported values: `CostCenter`, `CostUnit`, `Project`
            </ResponseField>

            <ResponseField name="code" type="string" />
          </Expandable>
        </ResponseField>

        <ResponseField name="supplierId" type="string" />

        <ResponseField name="taxRate " type="taxRate">
          <Expandable title="properties">
            <ResponseField name="code" type="string" />

            <ResponseField name="taxRatePercentage" type="string" />
          </Expandable>
        </ResponseField>

        <ResponseField name="totalGrossAmount" type="number" />

        <ResponseField name="totalTaxAmount" type="number" />

        <ResponseField name="updatedDate" type="string" />
      </Expandable>
    </ResponseField>

    <ResponseField name="number" type="string" />

    <ResponseField name="updatedDate" type="string" />
  </Accordion>

  <Accordion title="fortnox" icon="https://mintcdn.com/maesn/gCd41Ws3USFubam4/logo/fortnox.svg?fit=max&auto=format&n=gCd41Ws3USFubam4&q=85&s=14025f10bb2d1afa587fa8447531a376" width="24" height="24" data-path="logo/fortnox.svg">
    <Note>
      When retrieving a journal entry by ID, make sure to send the journal code as the `journalCode` query parameter.
    </Note>

    Support rawData: `true`

    <br />

    Supported Response Fields:

    <ResponseField name="id" type="string" />

    <ResponseField name="accountingPeriodId" type="string" />

    <ResponseField name="description" type="string" />

    <ResponseField name="journalCode" type="string" />

    <ResponseField name="journalLineItems" type="JournalLineItem[]">
      <Expandable title="properties">
        <ResponseField name="accountId" type="string" />

        <ResponseField name="debitCreditIndicator" type="enum">
          Available options: `DEBIT`, `CREDIT`
        </ResponseField>

        <ResponseField name="description" type="string" />

        <ResponseField name="dimensions " type="Dimension[]">
          <Expandable title="properties">
            <ResponseField name="name " type="string" />
          </Expandable>
        </ResponseField>

        <ResponseField name="totalGrossAmount" type="number" />
      </Expandable>
    </ResponseField>

    <ResponseField name="journalType" type="string" />

    <ResponseField name="number" type="string" />

    <ResponseField name="transactionDate" type="string" />
  </Accordion>

  <Accordion title="Odoo" icon="https://mintcdn.com/maesn/NQwZPkomn6wLid0x/logo/odoo.svg?fit=max&auto=format&n=NQwZPkomn6wLid0x&q=85&s=16b33ba45aee32fe594395bd226756d1" width="24" height="24" data-path="logo/odoo.svg">
    Support rawData: `true`

    <br />

    Supported Response Fields:

    <ResponseField name="id" type="string" />

    <ResponseField name="createdDate" type="string" />

    <ResponseField name="currency" type="enum">
      Available options (3-letter ISO 4217):
      `AED`, `AFN`, `ALL`, `AMD`, `ANG`, `AOA`, `ARS`, `AUD`, `AWG`, `AZN`, `BAM`, `BBD`, `BDT`, `BGN`, `BHD`, `BIF`, `BMD`, `BND`, `BOB`, `BRL`, `BSD`, `BTN`, `BWP`, `BYR`, `BZD`, `CAD`, `CDF`, `CHF`, `CLP`, `CNY`, `COP`, `CRC`, `CUC`, `CVE`, `CZK`, `DJF`, `DKK`, `DOP`, `DZD`, `EEK`, `EGP`, `ERN`, `ETB`, `EUR`, `FJD`, `FKP`, `GBP`, `GEL`, `GHS`, `GIP`, `GMD`, `GNF`, `GQE`, `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`, `LTL`, `LVL`, `LYD`, `MAD`, `MDL`, `MGA`, `MKD`, `MMK`, `MNT`, `MOP`, `MRO`, `MUR`, `MVR`, `MWK`, `MXN`, `MYR`, `MZM`, `NAD`, `NGN`, `NIO`, `NOK`, `NPR`, `NZD`, `OMR`, `PAB`, `PEN`, `PGK`, `PHP`, `PKR`, `PLN`, `PYG`, `QAR`, `RON`, `RSD`, `RUB`, `SAR`, `SBD`, `SCR`, `SDG`, `SEK`, `SGD`, `SHP`, `SLL`, `SOS`, `SRD`, `SYP`, `SZL`, `THB`, `TJS`, `TMT`, `TND`, `TRY`, `TTD`, `TWD`, `TZS`, `UAH`, `UGX`, `USD`, `UYU`, `UZS`, `VEB`, `VND`, `VUV`, `WST`, `XAF`, `XCD`, `XDR`, `XOF`, `XPF`, `YER`, `ZAR`, `ZMK`, `ZWR`
    </ResponseField>

    <ResponseField name="journalCode" type="string" />

    <ResponseField name="journalLineItems" type="JournalLineItem[]">
      <Expandable title="properties">
        <ResponseField name="id" type="string" />

        <ResponseField name="accountId" type="string" />

        <ResponseField name="accountNumber" type="string" />

        <ResponseField name="createdDate" type="string" />

        <ResponseField name="currency" type="enum">
          Available options (3-letter ISO 4217):
          `AED`, `AFN`, `ALL`, `AMD`, `ANG`, `AOA`, `ARS`, `AUD`, `AWG`, `AZN`, `BAM`, `BBD`, `BDT`, `BGN`, `BHD`, `BIF`, `BMD`, `BND`, `BOB`, `BRL`, `BSD`, `BTN`, `BWP`, `BYR`, `BZD`, `CAD`, `CDF`, `CHF`, `CLP`, `CNY`, `COP`, `CRC`, `CUC`, `CVE`, `CZK`, `DJF`, `DKK`, `DOP`, `DZD`, `EEK`, `EGP`, `ERN`, `ETB`, `EUR`, `FJD`, `FKP`, `GBP`, `GEL`, `GHS`, `GIP`, `GMD`, `GNF`, `GQE`, `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`, `LTL`, `LVL`, `LYD`, `MAD`, `MDL`, `MGA`, `MKD`, `MMK`, `MNT`, `MOP`, `MRO`, `MUR`, `MVR`, `MWK`, `MXN`, `MYR`, `MZM`, `NAD`, `NGN`, `NIO`, `NOK`, `NPR`, `NZD`, `OMR`, `PAB`, `PEN`, `PGK`, `PHP`, `PKR`, `PLN`, `PYG`, `QAR`, `RON`, `RSD`, `RUB`, `SAR`, `SBD`, `SCR`, `SDG`, `SEK`, `SGD`, `SHP`, `SLL`, `SOS`, `SRD`, `SYP`, `SZL`, `THB`, `TJS`, `TMT`, `TND`, `TRY`, `TTD`, `TWD`, `TZS`, `UAH`, `UGX`, `USD`, `UYU`, `UZS`, `VEB`, `VND`, `VUV`, `WST`, `XAF`, `XCD`, `XDR`, `XOF`, `XPF`, `YER`, `ZAR`, `ZMK`, `ZWR`
        </ResponseField>

        <ResponseField name="customerId" type="string" />

        <ResponseField name="exchangeRate " type="string" />

        <ResponseField name="supplierId" type="string" />

        <ResponseField name="totalGrossAmount" type="number" />

        <ResponseField name="totalNetAmount" type="number" />

        <ResponseField name="totalTaxAmount" type="number" />

        <ResponseField name="taxRate " type="taxRate">
          <Expandable title="properties">
            <ResponseField name="id" type="string" />

            <ResponseField name="codes" type="string" />

            <ResponseField name="name" type="string" />

            <ResponseField name="taxRatePercentage" type="string" />
          </Expandable>
        </ResponseField>

        <ResponseField name="updatedDate" type="string" />
      </Expandable>
    </ResponseField>

    <ResponseField name="journalType" type="string" />

    <ResponseField name="number" type="string" />

    <ResponseField name="transactionDate" type="string" />

    <ResponseField name="updatedDate" type="string" />
  </Accordion>

  <Accordion title="Sage Active" icon="https://mintcdn.com/maesn/gCd41Ws3USFubam4/logo/sageactive.svg?fit=max&auto=format&n=gCd41Ws3USFubam4&q=85&s=db4ef71b40820611bd17295476ff28f9" width="24" height="24" data-path="logo/sageactive.svg">
    <Note>
      If you're not using the [Interactive Authentication Flow](/authentication#interactive-authentication-flow), make sure the query parameter `companyId` is correctly populated.
      You can obtain this value by using the `GET Companies` endpoint available under the Authentication section. Please use the id field as the companyId.
    </Note>

    Support rawData: `true`

    <br />

    Supported Response Fields:

    <ResponseField name="id" type="string" />

    <ResponseField name="accountingPeriodId" type="string" />

    <ResponseField name="createdDate" type="string" />

    <ResponseField name="description" type="string" />

    <ResponseField name="journalLineItems" type="JournalLineItem[]">
      <Expandable title="properties">
        <ResponseField name="id" type="string" />

        <ResponseField name="accountId" type="string" />

        <ResponseField name="createdDate" type="string" />

        <ResponseField name="debitCreditIndicator" type="enum">
          Available options: `DEBIT`, `CREDIT`
        </ResponseField>

        <ResponseField name="description" type="string" />

        <ResponseField name="taxRate " type="taxRate">
          <Expandable title="properties">
            <ResponseField name="id" type="string" />

            <ResponseField name="codes" type="string" />

            <ResponseField name="name" type="string" />

            <ResponseField name="taxRatePercentage" type="string" />
          </Expandable>
        </ResponseField>

        <ResponseField name="thirdPartyCode" type="string" />

        <ResponseField name="totalGrossAmount" type="number" />

        <ResponseField name="updatedDate" type="string" />
      </Expandable>
    </ResponseField>

    <ResponseField name="journalType" type="string" />

    <ResponseField name="number" type="string" />

    <ResponseField name="transactionDate" type="string" />

    <ResponseField name="updatedDate" type="string" />
  </Accordion>

  <Accordion title="Twinfield" icon="https://mintcdn.com/maesn/51AaCYhZi3VILsjj/logo/twinfield.svg?fit=max&auto=format&n=51AaCYhZi3VILsjj&q=85&s=aacf76ab75d30aabd615bc761d08f405" width="24" height="24" data-path="logo/twinfield.svg">
    <Note>
      If you're not using the [Interactive Authentication Flow](/authentication#interactive-authentication-flow), make sure the query parameter `companyId` is correctly populated.
      You can obtain this value by using the `GET Companies` endpoint available under the Authentication section.
    </Note>

    <Note>
      Make sure the query parameter `journalCode` is correctly populated.
      In order to get the `journalCode` you can use the `GET Journals` endpoint available under the Accounting section.
    </Note>

    Support rawData: `true`

    <br />

    Supported Response Fields:

    <ResponseField name="id" type="string" />

    <ResponseField name="createdDate" type="string" />

    <ResponseField name="currency" type="string" />

    <ResponseField name="documentId" type="string" />

    <ResponseField name="isProvisional" type="boolean" />

    <ResponseField name="journalLineItems" type="JournalLineItem[]">
      <Expandable title="properties">
        <ResponseField name="accountCode" type="string" />

        <ResponseField name="debitCreditIndicator" type="enum">
          Available options: `DEBIT`, `CREDIT`
        </ResponseField>

        <ResponseField name="description" type="string" />

        <ResponseField name="dimensions " type="Dimension[]">
          <Expandable title="properties">
            <ResponseField name="code" type="string" />

            <ResponseField name="categoryName" type="string" />
          </Expandable>
        </ResponseField>

        <ResponseField name="documentNumber" type="string" />

        <ResponseField name="exchangeRate" type="string" />

        <ResponseField name="totalNetAmount" type="number" />
      </Expandable>
    </ResponseField>
  </Accordion>

  <Accordion title="Xero" icon="https://mintcdn.com/maesn/51AaCYhZi3VILsjj/logo/xero.svg?fit=max&auto=format&n=51AaCYhZi3VILsjj&q=85&s=4496b21aab750469b3d5e96a1588d9f0" width="45" height="46" data-path="logo/xero.svg">
    Support rawData: `true`

    <br />

    Supported Response Fields:

    <ResponseField name="id" type="string" />

    <ResponseField name="accountingPeriodId" type="string" />

    <ResponseField name="createdDate" type="string" />

    <ResponseField name="description" type="string" />

    <ResponseField name="files" type="string[]" />

    <ResponseField name="journalLineItems" type="JournalLineItem[]">
      <Expandable title="properties">
        <ResponseField name="accountId" type="string" />

        <ResponseField name="createdDate" type="string" />

        <ResponseField name="currency" type="enum">
          Available options (3-letter ISO 4217):\
          `AED`, `AFN`, `ALL`, `AMD`, `ANG`, `AOA`, `ARS`, `AUD`, `AWG`, `AZN`, `BAM`, `BBD`, `BDT`, `BGN`, `BHD`, `BIF`, `BMD`, `BND`, `BOB`, `BRL`, `BSD`, `BTN`, `BWP`, `BYR`, `BZD`, `CAD`, `CDF`, `CHF`, `CLP`, `CNY`, `COP`, `CRC`, `CUC`, `CVE`, `CZK`, `DJF`, `DKK`, `DOP`, `DZD`, `EEK`, `EGP`, `ERN`, `ETB`, `EUR`, `FJD`, `FKP`, `GBP`, `GEL`, `GHS`, `GIP`, `GMD`, `GNF`, `GQE`, `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`, `LTL`, `LVL`, `LYD`, `MAD`, `MDL`, `MGA`, `MKD`, `MMK`, `MNT`, `MOP`, `MRO`, `MUR`, `MVR`, `MWK`, `MXN`, `MYR`, `MZM`, `NAD`, `NGN`, `NIO`, `NOK`, `NPR`, `NZD`, `OMR`, `PAB`, `PEN`, `PGK`, `PHP`, `PKR`, `PLN`, `PYG`, `QAR`, `RON`, `RSD`, `RUB`, `SAR`, `SBD`, `SCR`, `SDG`, `SEK`, `SGD`, `SHP`, `SLL`, `SOS`, `SRD`, `SYP`, `SZL`, `THB`, `TJS`, `TMT`, `TND`, `TRY`, `TTD`, `TWD`, `TZS`, `UAH`, `UGX`, `USD`, `UYU`, `UZS`, `VEB`, `VND`, `VUV`, `WST`, `XAF`, `XCD`, `XDR`, `XOF`, `XPF`, `YER`, `ZAR`, `ZMK`, `ZWR`
        </ResponseField>

        <ResponseField name="customerId" type="string" />

        <ResponseField name="debitCreditIndicator" type="enum">
          Available options: `DEBIT`, `CREDIT`
        </ResponseField>

        <ResponseField name="description" type="string" />

        <ResponseField name="dimensions " type="Dimension[]">
          <Expandable title="properties">
            <ResponseField name="id" type="string" />

            <ResponseField name="name " type="string" />
          </Expandable>
        </ResponseField>

        <ResponseField name="exchangeRate " type="string" />

        <ResponseField name="supplierId" type="string" />

        <ResponseField name="totalGrossAmount" type="number" />

        <ResponseField name="totalNetAmount" type="number" />

        <ResponseField name="totalTaxAmount" type="number" />

        <ResponseField name="taxRate " type="taxRate">
          <Expandable title="properties">
            <ResponseField name="id" type="string" />

            <ResponseField name="codes" type="string" />

            <ResponseField name="name" type="string" />

            <ResponseField name="taxRatePercentage" type="string" />
          </Expandable>
        </ResponseField>

        <ResponseField name="updatedDate" type="string" />
      </Expandable>
    </ResponseField>

    <ResponseField name="number " type="string" />

    <ResponseField name="transactionDate " type="string" />

    <ResponseField name="updatedDate" type="string" />
  </Accordion>
</AccordionGroup>


## OpenAPI

````yaml GET /accounting/journalEntries/{journalEntryId}
openapi: 3.0.0
info:
  title: Maesn unified API
  description: The Maesn unified API description
  version: '1.0'
  contact: {}
servers:
  - url: https://api.maesn.dev
security: []
tags:
  - name: maesn
    description: ''
paths:
  /accounting/journalEntries/{journalEntryId}:
    get:
      tags:
        - accounting
      operationId: get JournalEntry
      parameters:
        - name: companyId
          required: false
          in: query
          schema:
            type: string
        - name: environmentName
          in: query
          schema:
            type: string
          required: false
        - name: journalCode
          required: false
          in: query
          schema:
            type: string
        - name: rawData
          required: false
          in: query
          schema:
            type: boolean
        - name: journalEntryId
          required: true
          in: path
          schema:
            type: string
        - name: X-API-KEY
          description: API key
          in: header
          schema:
            type: string
            example: example value
          required: true
        - name: X-ACCOUNT-KEY
          description: Account key
          in: header
          schema:
            type: string
            example: example value
          required: true
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                allOf:
                  - $ref: '#/components/schemas/BaseResponseDto'
                  - properties:
                      data:
                        type: array
                        items:
                          $ref: '#/components/schemas/JournalentryResponseDto'
components:
  schemas:
    BaseResponseDto:
      type: object
      properties:
        meta:
          $ref: '#/components/schemas/MetaResponse'
        data:
          oneOf:
            - type: object
            - type: array
    JournalentryResponseDto:
      type: object
      properties:
        id:
          type: string
          example: 8df2df10-0fae-40ad-9d22-f25e5ab0ba23
        accountId:
          type: string
          example: 94fdb7fd-13ae-47a6-8a2a-000e6ddc60d9
        accountingPeriodId:
          type: string
          example: 2021-06
        createdDate:
          type: string
          example: '2021-01-01T00:00:00Z'
        currency:
          type: string
          enum:
            - AED
            - AFN
            - ALL
            - AMD
            - ANG
            - AOA
            - ARS
            - AUD
            - AWG
            - AZN
            - BAM
            - BBD
            - BDT
            - BGN
            - BHD
            - BIF
            - BMD
            - BND
            - BOB
            - BRL
            - BSD
            - BTN
            - BWP
            - BYR
            - BZD
            - CAD
            - CDF
            - CHF
            - CLP
            - CNY
            - COP
            - CRC
            - CUC
            - CVE
            - CZK
            - DJF
            - DKK
            - DOP
            - DZD
            - EEK
            - EGP
            - ERN
            - ETB
            - EUR
            - FJD
            - FKP
            - GBP
            - GEL
            - GHS
            - GIP
            - GMD
            - GNF
            - GQE
            - 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
            - LTL
            - LVL
            - LYD
            - MAD
            - MDL
            - MGA
            - MKD
            - MMK
            - MNT
            - MOP
            - MRO
            - MUR
            - MVR
            - MWK
            - MXN
            - MYR
            - MZM
            - NAD
            - NGN
            - NIO
            - NOK
            - NPR
            - NZD
            - OMR
            - PAB
            - PEN
            - PGK
            - PHP
            - PKR
            - PLN
            - PYG
            - QAR
            - RON
            - RSD
            - RUB
            - SAR
            - SBD
            - SCR
            - SDG
            - SEK
            - SGD
            - SHP
            - SLL
            - SOS
            - SRD
            - SYP
            - SZL
            - THB
            - TJS
            - TMT
            - TND
            - TRY
            - TTD
            - TWD
            - TZS
            - UAH
            - UGX
            - USD
            - UYU
            - UZS
            - VEB
            - VND
            - VUV
            - WST
            - XAF
            - XCD
            - XDR
            - XOF
            - XPF
            - YER
            - ZAR
            - ZMK
            - ZWR
          example: EUR
        description:
          type: string
          example: Hotel for dreamforce
        documentId:
          type: string
          example: b5e624e5-fb9e-4836-a443-87a3820f5b48
        files:
          type: array
          items:
            type: string
            example: file1.pdf
        isProvisional:
          type: boolean
          example: 'false'
        journalLineItems:
          type: array
          items:
            $ref: '#/components/schemas/journalLineItem'
        journalCode:
          type: string
          example: '60'
        journalType:
          type: string
          example: FIN
        'number ':
          type: string
          example: '21900030'
        transactionDate:
          type: string
          example: '2021-01-01T00:00:00Z'
        updatedDate:
          type: string
          example: '2021-01-01T00:00:00Z'
    MetaResponse:
      type: object
      properties:
        warnings:
          type: array
          items:
            type: string
            example: Field not used by target system
        pagination:
          $ref: '#/components/schemas/PaginationResponse'
    journalLineItem:
      type: object
      properties:
        id:
          type: string
          example: 123f57fd-13ae-47a6-8a2a-000e6ddc60d9
        accountCode:
          type: string
          example: '4034'
        accountId:
          type: string
          example: da33b47c-98ca-4410-9c59-5db485ecaeb0
        accountNumber:
          type: number
          example: 8200
        'createdDate ':
          type: string
          example: '2021-01-01T00:00:00Z'
        currency:
          type: string
          enum:
            - AED
            - AFN
            - ALL
            - AMD
            - ANG
            - AOA
            - ARS
            - AUD
            - AWG
            - AZN
            - BAM
            - BBD
            - BDT
            - BGN
            - BHD
            - BIF
            - BMD
            - BND
            - BOB
            - BRL
            - BSD
            - BTN
            - BWP
            - BYR
            - BZD
            - CAD
            - CDF
            - CHF
            - CLP
            - CNY
            - COP
            - CRC
            - CUC
            - CVE
            - CZK
            - DJF
            - DKK
            - DOP
            - DZD
            - EEK
            - EGP
            - ERN
            - ETB
            - EUR
            - FJD
            - FKP
            - GBP
            - GEL
            - GHS
            - GIP
            - GMD
            - GNF
            - GQE
            - 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
            - LTL
            - LVL
            - LYD
            - MAD
            - MDL
            - MGA
            - MKD
            - MMK
            - MNT
            - MOP
            - MRO
            - MUR
            - MVR
            - MWK
            - MXN
            - MYR
            - MZM
            - NAD
            - NGN
            - NIO
            - NOK
            - NPR
            - NZD
            - OMR
            - PAB
            - PEN
            - PGK
            - PHP
            - PKR
            - PLN
            - PYG
            - QAR
            - RON
            - RSD
            - RUB
            - SAR
            - SBD
            - SCR
            - SDG
            - SEK
            - SGD
            - SHP
            - SLL
            - SOS
            - SRD
            - SYP
            - SZL
            - THB
            - TJS
            - TMT
            - TND
            - TRY
            - TTD
            - TWD
            - TZS
            - UAH
            - UGX
            - USD
            - UYU
            - UZS
            - VEB
            - VND
            - VUV
            - WST
            - XAF
            - XCD
            - XDR
            - XOF
            - XPF
            - YER
            - ZAR
            - ZMK
            - ZWR
          example: EUR
        customerId:
          type: string
          example: 782d89b56-13ae-47a6-8a2a-45e6ddc50d9
        debitCreditIndicator:
          type: string
          enum:
            - DEBIT
            - CREDIT
          example: DEBIT
        description:
          type: string
          example: Uitgesteld 21600001 Kantoor 01-01-2021-31-12-2021
        dimensions:
          type: array
          items:
            $ref: '#/components/schemas/journalDimension'
        documentId:
          type: string
          example: b5e624e5-fb9e-4836-a443-87a3820f5b48
        documentNumber:
          type: string
          example: '123456789'
        exchangeRate:
          type: number
          example: 1
        supplierId:
          type: string
          example: 998933b56-13ae-47a6-8a32a-45e6ddc50d9
        taxRate:
          $ref: '#/components/schemas/taxRate'
          type: object
        thirdPartyCode:
          type: string
          example: '112233'
        totalGrossAmount:
          type: number
          example: 1190
        totalNetAmount:
          type: number
          example: 1000
        totalTaxAmount:
          type: number
          example: 190
        updatedDate:
          type: string
          example: '2021-01-01T00:00:00Z'
    PaginationResponse:
      type: object
      properties:
        total:
          type: number
          example: 125
        perPage:
          type: number
          example: 50
        currentPage:
          type: number
          example: 1
        totalPages:
          type: number
          example: 3
    journalDimension:
      type: object
      properties:
        id:
          type: string
          example: efa82f42-fd85-11e1-a21f-0800200c9a33
        categoryName:
          type: string
          example: CostCenter
        code:
          type: string
          example: KD1
        name:
          type: string
          example: Material/Waren
    taxRate:
      type: object
      properties:
        id:
          type: string
          example: 1895b05b-38a6-4a6a-9653-166389894350
        code:
          type: string
          example: '03'
        name:
          type: string
          example: Tax19
        taxRatePercentage:
          type: string
          example: '19'

````