Pleo accounting-entries API

The Accounting Entries API endpoints enable you to perform the following: - Apply filters and search for accounting entries and accounting receipts. - Retrieve list of accounting entries and accounting receipts. - Retrieve details of a specific accounting entry.

Operations 7

POST /v1/accounting-entries/core:search Fetch core accounting entries based on filters. #
POST /v1/accounting-entries:search Fetch accounting entries based on filters. #
GET /v1/accounting-entries/{accountingEntryId} Fetch a single accounting entry by id. #
POST /v1/accounting-entries/receipts:search Apply filters to search for specific accounting entry receipts. #
GET /v1/accounting-entries/{accountingEntryId}/core Get details of an accounting entry. #
GET /v1/accounting-entries/{accountingEntryId}/receipts Get all receipts of an accounting entry. #
GET /v1/accounting-entries/{accountingEntryId}/receipts/{receiptId} Returns a receipt with time-bound access to the receipt file. #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/pleo-accounting-entries-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

pleo-accounting-entries-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: App Marketplace Accounting Entries API
  description: API for Pleo App Marketplace
  termsOfService: https://pleo.io/terms/
  contact:
    email: partner-ecosystem-team@pleo.io
  license:
    name: Apache 2.0
    url: http://www.apache.org/licenses/LICENSE-2.0.html
  version: 39.4.0
servers:
- url: https://external.pleo.io
  description: Production server
- url: https://external.staging.pleo.io
  description: Staging server
security:
- bearerAuth: []
- basicAuth: []
tags:
- name: accounting-entries
  description: "The Accounting Entries API endpoints enable you to perform the following:\n  - Apply filters and search for accounting entries and accounting receipts.\n  - Retrieve list of accounting entries and accounting receipts.\n  - Retrieve details of a specific accounting entry."
paths:
  /v1/accounting-entries/core:search:
    post:
      tags:
      - accounting-entries
      summary: 'Fetch core accounting entries based on filters. '
      operationId: externalSearchCoreAccountingEntriesV1
      parameters:
      - name: company_id
        in: query
        description: Only return accounting entries that have the specific company ID. Required if partner_id or organization_id is not provided.
        required: false
        style: form
        explode: true
        schema:
          type: string
          format: uuid
      - name: organization_id
        in: query
        description: Only return accounting entries that belong to the companies associated.  to the given Organization Id. Required if company_id or partner_id is not provided.
        required: false
        style: form
        explode: true
        schema:
          type: string
          format: uuid
      - name: before
        in: query
        description: Lower bound of the page of data to return (cannot be used together with [after])
        required: false
        style: form
        explode: true
        schema:
          type: string
      - name: after
        in: query
        description: Upper bound of the page of data to return (cannot be used together with [before])
        required: false
        style: form
        explode: true
        schema:
          type: string
      - name: limit
        in: query
        required: false
        style: form
        explode: true
        schema:
          maximum: 100
          minimum: 1
          type: integer
          description: The maximum amount of items to return. Never returns more than 100 items
          format: int32
          default: 20
      - name: sorting_order
        in: query
        description: The order to sort the results by. Must be the same length as [sortingKeys]; one order per key.
        required: false
        style: form
        explode: true
        schema:
          type: array
          items:
            $ref: '#/components/schemas/PageOrder'
      - name: sorting_keys
        in: query
        description: The keys to sort the results by
        required: false
        style: form
        explode: true
        schema:
          type: array
          items:
            $ref: '#/components/schemas/AccountingEntriesSortingKeys'
      requestBody:
        content:
          application/json;charset=UTF-8:
            schema:
              $ref: '#/components/schemas/AccountingEntryBaseSearchRequest'
      responses:
        default:
          description: default response
          content:
            application/json;charset=UTF-8:
              schema:
                $ref: '#/components/schemas/CursorPaginatedResponseAccountingEntryCoreV6'
      deprecated: true
  /v1/accounting-entries:search:
    post:
      tags:
      - accounting-entries
      summary: 'Fetch accounting entries based on filters. '
      operationId: externalSearchAccountingEntriesV1
      parameters:
      - name: company_id
        in: query
        description: Only return accounting entries that have the specific company ID. Required if partner_id or organization_id is not provided.
        required: false
        style: form
        explode: true
        schema:
          type: string
          format: uuid
      - name: organization_id
        in: query
        description: Only return accounting entries that belong to the companies associated.  to the given Organization Id. Required if company_id or partner_id is not provided.
        required: false
        style: form
        explode: true
        schema:
          type: string
          format: uuid
      - name: before
        in: query
        description: Lower bound of the page of data to return (cannot be used together with [after])
        required: false
        style: form
        explode: true
        schema:
          type: string
      - name: after
        in: query
        description: Upper bound of the page of data to return (cannot be used together with [before])
        required: false
        style: form
        explode: true
        schema:
          type: string
      - name: limit
        in: query
        required: false
        style: form
        explode: true
        schema:
          maximum: 100
          minimum: 1
          type: integer
          description: The maximum amount of items to return. Never returns more than 100 items
          format: int32
          default: 20
      - name: sorting_order
        in: query
        description: The order to sort the results by. Must be the same length as [sortingKeys]; one order per key.
        required: false
        style: form
        explode: true
        schema:
          type: array
          items:
            $ref: '#/components/schemas/PageOrder'
      - name: sorting_keys
        in: query
        description: The keys to sort the results by
        required: false
        style: form
        explode: true
        schema:
          type: array
          items:
            $ref: '#/components/schemas/AccountingEntriesSortingKeys'
      requestBody:
        content:
          application/json;charset=UTF-8:
            schema:
              $ref: '#/components/schemas/AccountingEntryBaseSearchRequest'
      responses:
        '200':
          description: A paginated list of accounting entries matching the search criteria.
          content:
            application/json;charset=UTF-8:
              schema:
                $ref: '#/components/schemas/CursorPaginatedResponseAccountingEntryV1'
        '403':
          description: 'Forbidden: client lacks the necessary permissions.'
        '503':
          description: Service temporarily unavailable. The request can be retried.
  /v1/accounting-entries/{accountingEntryId}:
    get:
      tags:
      - accounting-entries
      summary: 'Fetch a single accounting entry by id. '
      operationId: externalGetAccountingEntryV1
      parameters:
      - name: accountingEntryId
        in: path
        required: true
        style: simple
        explode: false
        schema:
          type: string
          description: The specific accounting entry ID that you are looking for.
          format: uuid
      - name: include_deleted
        in: query
        required: false
        style: form
        explode: true
        schema:
          type: boolean
          description: Set this to true if you want to include deleted accounting entries.
      responses:
        '200':
          description: The accounting entry for the specified ID.
          content:
            application/json;charset=UTF-8:
              schema:
                $ref: '#/components/schemas/DataResponseAccountingEntryV1'
        '403':
          description: 'Forbidden: client lacks the necessary permissions.'
        '404':
          description: Accounting entry not found.
        '503':
          description: Service temporarily unavailable. The request can be retried.
  /v1/accounting-entries/receipts:search:
    post:
      tags:
      - accounting-entries
      summary: Apply filters to search for specific accounting entry receipts.
      operationId: searchReceiptsByPostV6
      parameters:
      - name: company_id
        in: query
        description: Return only receipts of the given Company Id. Required if `partner_id` or `organization_id` is not provided.
        required: false
        style: form
        explode: true
        schema:
          type: string
          format: uuid
      - name: partner_id
        in: query
        description: Return only receipts of the specific companies associated with the given Partner ID. Required if `company_id` or `organization_id` is not provided.
        required: false
        style: form
        explode: true
        schema:
          type: string
          format: uuid
      - name: organization_id
        in: query
        description: Return only receipts of the specific companies associated with the given Organization ID. Required if `company_id` or `partner_id` is not provided.
        required: false
        style: form
        explode: true
        schema:
          type: string
          format: uuid
      - name: before
        in: query
        description: Lower bound of the page of data to return (cannot be used together with [after])
        required: false
        style: form
        explode: true
        schema:
          type: string
      - name: after
        in: query
        description: Upper bound of the page of data to return (cannot be used together with [before])
        required: false
        style: form
        explode: true
        schema:
          type: string
      - name: limit
        in: query
        required: false
        style: form
        explode: true
        schema:
          maximum: 100
          minimum: 1
          type: integer
          description: The maximum amount of items to return. Never returns more than 100 items
          format: int32
          default: 10
      - name: sorting_order
        in: query
        description: The order to sort the results by. Must be the same length as [sortingKeys]; one order per key.
        required: false
        style: form
        explode: true
        schema:
          type: array
          items:
            $ref: '#/components/schemas/PageOrder'
      - name: sorting_keys
        in: query
        description: The keys to sort the results by
        required: false
        style: form
        explode: true
        schema:
          type: array
          items:
            $ref: '#/components/schemas/ReceiptsSortingKeys'
      requestBody:
        content:
          application/json;charset=UTF-8:
            schema:
              $ref: '#/components/schemas/ReceiptSearchRequest'
      responses:
        default:
          description: default response
          content:
            application/json;charset=UTF-8:
              schema:
                $ref: '#/components/schemas/CursorPaginatedResponseReceiptModel'
  /v1/accounting-entries/{accountingEntryId}/core:
    get:
      tags:
      - accounting-entries
      summary: Get details of an accounting entry.
      operationId: getCoreAccountingEntryV6ById
      parameters:
      - name: accountingEntryId
        in: path
        required: true
        style: simple
        explode: false
        schema:
          type: string
          description: The specific accounting entry ID that you are looking for.
          format: uuid
      - name: include_deleted
        in: query
        required: false
        style: form
        explode: true
        schema:
          type: boolean
          description: Set this to true if you want to include deleted accounting entries.
      - name: include_hidden
        in: query
        required: false
        style: form
        explode: true
        schema:
          type: boolean
          description: Set this to true if you want to include hidden accounting entries. ONLY USE THIS IF YOU KNOW WHAT YOU'RE DOING.
          deprecated: true
      responses:
        default:
          description: default response
          content:
            application/json;charset=UTF-8:
              schema:
                $ref: '#/components/schemas/DataResponseAccountingEntryCoreV6'
  /v1/accounting-entries/{accountingEntryId}/receipts:
    get:
      tags:
      - accounting-entries
      summary: Get all receipts of an accounting entry.
      operationId: getAllReceiptsV6
      parameters:
      - name: accountingEntryId
        in: path
        required: true
        style: simple
        explode: false
        schema:
          type: string
          format: uuid
      - name: source
        in: query
        description: Only return Receipts with the given source. Useful for fetching a list of receipts uploaded via particular sources.
        required: false
        style: form
        explode: true
        schema:
          type: array
          items:
            $ref: '#/components/schemas/ReceiptSource'
      - name: file_type
        in: query
        description: Return all receipts with the presigned URL generated for the given file type. Used for fetching receipts with a presigned URL other than the default (ORIGINAL).
        required: false
        style: form
        explode: true
        schema:
          $ref: '#/components/schemas/ReceiptFileType'
      - name: before
        in: query
        description: Lower bound of the page of data to return (cannot be used together with [after])
        required: false
        style: form
        explode: true
        schema:
          type: string
      - name: after
        in: query
        description: Upper bound of the page of data to return (cannot be used together with [before])
        required: false
        style: form
        explode: true
        schema:
          type: string
      - name: limit
        in: query
        required: false
        style: form
        explode: true
        schema:
          maximum: 100
          minimum: 1
          type: integer
          description: The maximum amount of items to return. Never returns more than 100 items
          format: int32
          default: 10
      - name: sorting_order
        in: query
        description: The order to sort the results by. Must be the same length as [sortingKeys]; one order per key.
        required: false
        style: form
        explode: true
        schema:
          type: array
          items:
            $ref: '#/components/schemas/PageOrder'
      - name: sorting_keys
        in: query
        description: The keys to sort the results by
        required: false
        style: form
        explode: true
        schema:
          type: array
          items:
            $ref: '#/components/schemas/ReceiptsSortingKeys'
      responses:
        default:
          description: default response
          content:
            application/json;charset=UTF-8:
              schema:
                $ref: '#/components/schemas/CursorPaginatedResponseReceiptModel'
  /v1/accounting-entries/{accountingEntryId}/receipts/{receiptId}:
    get:
      tags:
      - accounting-entries
      summary: Returns a receipt with time-bound access to the receipt file.
      operationId: getReceiptFileV6
      parameters:
      - name: accountingEntryId
        in: path
        required: true
        style: simple
        explode: false
        schema:
          type: string
          description: The specific accounting entry ID that you are looking for.
          format: uuid
      - name: receiptId
        in: path
        required: true
        style: simple
        explode: false
        schema:
          type: string
          description: The specific receipt ID that you are looking for.
          format: uuid
      - name: file_type
        in: query
        required: false
        style: form
        explode: true
        schema:
          $ref: '#/components/schemas/ReceiptFileType'
      responses:
        default:
          description: default response
          content:
            application/json;charset=UTF-8:
              schema:
                $ref: '#/components/schemas/DataResponseReceiptModel'
components:
  schemas:
    DataResponseAccountingEntryV1:
      required:
      - data
      type: object
      properties:
        data:
          $ref: '#/components/schemas/AccountingEntryV1'
    CursorPaginatedResponseAccountingEntryV1:
      required:
      - data
      - pagination
      type: object
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/AccountingEntryV1'
        pagination:
          $ref: '#/components/schemas/CursorPageInfo'
    ReviewStatus:
      type: string
      description: '`NOT_OK`: The accounting entry has been reviewed as `Not OK`.

        `NOT_REQUIRED`: The accounting entry does not require review.

        `NOT_SET`: The accounting entry has not been reviewed yet.

        `OK`: The accounting entry has been reviewed as `OK`.

        `WAITING_FOR_EXPENSE_OWNER`: The accounting entry is waiting for more details from the Expense Owner.

        `WAITING_FOR_REVIEWER`: The accounting entry is waiting for review by a reviewer.

        `WAITING_FOR_COMPANY_REVIEWER`: The accounting entry is waiting for review by a company reviewer.

        `WAITING_FOR_TEAM_REVIEWER`: The accounting entry is waiting for review by a team reviewer.

        `WAITING_FOR_TAG_REVIEWER`: The accounting entry is waiting for review by a tag reviewer.

        '
      enum:
      - NOT_OK
      - NOT_REQUIRED
      - NOT_SET
      - OK
      - WAITING_FOR_EXPENSE_OWNER
      - WAITING_FOR_REVIEWER
      - WAITING_FOR_COMPANY_REVIEWER
      - WAITING_FOR_TEAM_REVIEWER
      - WAITING_FOR_TAG_REVIEWER
    ReceiptModel:
      required:
      - accountingEntryId
      - createdAt
      - fileType
      - id
      - mimeType
      - sizeInBytes
      - source
      - url
      type: object
      properties:
        accountingEntryId:
          type: string
          description: The ID of accounting entry that this receipt belongs to.
          format: uuid
        createdAt:
          type: string
          description: The time when the receipt was uploaded.
          format: date-time
        fileType:
          type: string
          description: 'This can be one of `ReceiptFileType` values.


            `ORIGINAL`: The original file as it was uploaded.

            `THUMBNAIL`: Representation of the original file in a small image.

            `PREVIEW`: Display of the original file in a concise format.

            '
          example: EMBED
        id:
          type: string
          description: The ID of the receipt.
          format: uuid
        mimeType:
          type: string
          description: 'This can be one of `ReceiptMimeType` values.


            `unknown`: The MIME type of the file is unknown.

            `application/pdf`: The receipt file is a PDF file.

            `application/postscript`: The receipt file is a PostScript file.

            `application/xml`: The receipt file is a xml e-invoice.

            `image/jpeg`: The receipt file is a JPEG image.

            `image/png`: The receipt file is a PNG image.

            `image/heic`: The receipt file is a HEIC image.

            `image/heif`: The receipt file is a HEIF image.

            `image/gif`: The receipt file is a GIF image.

            `text/xml`: The receipt file is a xml e-invoice.

            '
          example: unknown
        ocrDocumentId:
          type: string
          description: The ID of the OCR document that might be linked to this receipt.
          format: uuid
        sizeInBytes:
          type: integer
          description: The size of the file in bytes.
          format: int32
        source:
          type: string
          description: 'This can be one of `ReceiptSource` values.


            `APP_SHARE`: The receipt was uploaded via the share to Pleo mobile app function.

            `BOLT`: The receipt was retrieved from Bolt mobile app.

            `CAMERA`: The receipt was uploaded via the camera in the Pleo mobile app.

            `CASHBACK`: The receipt was generated by the Cashback feature.

            `EMAIL_FETCHING`: The receipt was automatically fetched via Pleo Fetch.

            `EMAIL_FETCHING_BATCHED`: The receipt was automatically fetch via Pleo Fetch in a batch.

            `EMAIL_FORWARDING`: The receipt was forwarded to Pleo via email.

            `GENERATED_RECEIPT`: The receipt was generated by internal systems.

            `LOST_RECEIPT`: The receipt was generated by the Lost Receipt feature.

            `ROGER`: The receipt was automatically fetched via the Roger integration

            `STOREBOX`: The receipt was uploaded via the Storebox integration.

            `STRIPE`: The receipt was uploaded via the Stripe integration.

            `TRAVELPERK`: The receipt was uploaded via the TravelPerk integration.

            `USER`: The receipt was uploaded by the user.

            '
          example: APP_SHARE
        url:
          type: string
          description: A URL with an expiry period of 24 hours for accessing the receipt file.
          format: url
    DataResponseAccountingEntryCoreV6:
      required:
      - data
      type: object
      properties:
        data:
          $ref: '#/components/schemas/AccountingEntryCoreV6'
    CursorPageCurrentRequestInfo:
      required:
      - parameters
      type: object
      properties:
        after:
          type: string
        before:
          type: string
        limit:
          type: integer
          format: int32
        offset:
          type: integer
          format: int64
        parameters:
          type: object
          additionalProperties:
            type: array
            items:
              type: string
        sortingKeys:
          type: array
          items:
            type: string
        sortingOrder:
          type: array
          items:
            $ref: '#/components/schemas/PageOrder'
    AccountingEntrySupplier:
      type: object
      properties:
        cif:
          type: string
        documentNumber:
          type: string
        documentType:
          type: string
          description: This can be one of `SupplierDocumentType` values.
          example: FACTURA
        externalAccountNumber:
          type: string
        externalSupplierId:
          type: string
    AccountingEntryFamily:
      type: string
      description: '`BALANCE_AMENDMENT`: Represents manual wallet balance adjustments, often through human intervention.

        `BILL_INVOICE`: Represents an invoice issued to the company. If payment of the invoice is made via Pleo, the payment is recorded separately, using the `BILL_INVOICE_PAYMENT` family.

        `CARD_PURCHASE`: Represents a purchase made using a physical or virtual Pleo card.

        `CASHBACK`: An amount of money that is returned to the company through Pleo cashback.

        `CREDIT_NOTE`: Represents a credit note issued to the company, stored only in the accounting entry metadata table.

        `MILEAGE`: Represents a Mileage expense incurred by an employee. The amount is owed to the employee.

        `OUT_OF_POCKET`: Represents an amount that is spent by an employee out of their own pocket. The amount is owed to the employee.

        `OVERDRAFT`: Represents either the monthly subscription fee for using Pleo Overdraft, or a the interest incurred on an existing overdraft.

        `PER_DIEM`: Represents a daily allowance given to an employee during travel - the amount is owed to the employee.

        `PLEO_INVOICE`: Represents the SaaS invoice from Pleo to the company.

        `REIMBURSEMENT`: Represents a reimbursement from the company to the employee or vice-versa.

        `WALLET`: Represents a top up or withdrawal on the Pleo wallet

        `BILL_INVOICE_PAYMENT`: Represents a payment of an invoice from the company wallet.

        '
      enum:
      - BALANCE_AMENDMENT
      - BILL_INVOICE
      - CARD_PURCHASE
      - CASHBACK
      - CREDIT_NOTE
      - MILEAGE
      - OUT_OF_POCKET
      - OVERDRAFT
      - PER_DIEM
      - PLEO_INVOICE
      - REIMBURSEMENT
      - WALLET
      - BILL_INVOICE_PAYMENT
    ReceiptsSortingKeys:
      type: string
      enum:
      - createdAt
      - id
      - size
    Money:
      required:
      - currency
      - minors
      type: object
      properties:
        currency:
          type: string
          description: The currency codes followed in Pleo conforms with ISO 4217.
          example: EUR
        minors:
          type: integer
          description: "The transaction amount is represented in smallest denomination in a specific currency.\n For example:\n- A transaction amount is £65.80 in Great Britain Pounds (GBP); this represented as `6580`.\n- A transaction amount is 1500 ISK in Icelandic Króna (ISK); this is represented as `1500`."
          format: int64
          example: 10
    AccountingEntrySubFamily:
      type: string
      description: '`ATM`: A `CARD_PURCHASE` that was performed at an ATM.

        `IN_STORE`: A `CARD_PURCHASE` that was performed at a physical store.

        `ONLINE`: A `CARD_PURCHASE` that was performed online.

        `PLEO_INVOICE`: A `PLEO_INVOICE` that was paid.

        `PLEO_INVOICE_REFUND`: A `PLEO_INVOICE` that was refunded.

        `REIMBURSEMENT_TO_COMPANY`: A `REIMBURSEMENT` was made to the company.

        `REIMBURSEMENT_TO_EMPLOYEE`: A `REIMBURSEMENT` was made to the employee.

        `REIMBURSEMENT_TO_EMPLOYEE_REFUND`: A `REIMBURSEMENT` to the employee was refunded.

        `LOAD`: Either a `WALLET` or a BALANCE_AMENDMENT` load.

        `UNLOAD`: Either a `WALLET` or a BALANCE_AMENDMENT` unload - Money leaves the Pleo wallet.

        `WITHDRAWAL`: A `WALLET` withdrawal.

        `FEE`: A monthly fee paid for using overdraft.

        `INTEREST`: Interest paid for the amount over drafted.

        `BILL_INVOICE_PAYMENT_RETURNED`: A `BILL_INVOICE_PAYMENT` that was returned.

        `BILL_INVOICE_PAYMENT_RECEIVED`: A `BILL_INVOICE_PAYMENT` that was received.

        '
      enum:
      - ATM
      - IN_STORE
      - ONLINE
      - PLEO_INVOICE
      - PLEO_INVOICE_REFUND
      - REIMBURSEMENT_TO_COMPANY
      - REIMBURSEMENT_TO_EMPLOYEE
      - REIMBURSEMENT_TO_EMPLOYEE_REFUND
      - LOAD
      - UNLOAD
      - WITHDRAWAL
      - FEE
      - INTEREST
      - BILL_INVOICE_PAYMENT_RETURNED
      - BILL_INVOICE_PAYMENT_RECEIVED
    CursorPaginatedResponseAccountingEntryCoreV6:
      required:
      - data
      - pagination
      type: object
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/AccountingEntryCoreV6'
        pagination:
          $ref: '#/components/schemas/CursorPageInfo'
    SplitItemV1:
      required:
      - createdAt
      - id
      - tags
      - updatedAt
      type: object
      properties:
        accountCode:
          type: string
          description: 'The account code picked for the specific split item. If this is not null, it should be used instead of the account code from the `accountId` field. '
        accountId:
          type: string
          description: 'The id of the account (Category) allocated to the transaction. If `I don''t know` is selected, then in the API endpoint response, `"00000000-0000-0000-0000-000000000000"` is returned. '
          format: uuid
        createdAt:
          type: string
          description: The time when the split item was created. This is in ISO 8601 format. For example, `2024-01-01T12:00:00Z`.
          format: date-time
        id:
          type: string
          description: Unique identifier of the split item
          format: uuid
        tags:
          type: array
          description: A list of `AccountingEntryTagV1` objects representing the tags associated with the split item.
          items:
            description: A list of `AccountingEntryTagV1` objects representing the tags associated with the split item.
            allOf:
            - $ref: '#/components/schemas/AccountingEntryTagV1'
        taxCodeId:
          type: string
          description: A unique identifier that references the specific `TaxCode` applied to the specific split item.
          format: uuid
        totalBillValue:
          description: The portion of the transaction amount assigned to this split item, represented as a `Money` object in the company's default currency.
          allOf:
          - $ref: '#/components/schemas/Money'
        transactionValue:
          description: The transaction amount in the currency in which the payment was made, represented as a `Money` object. For example, if an expense is incurred in France, the value is returned in EUR.
          allOf:
          - $ref: '#/components/schemas/Money'
        updatedAt:
          type: string
          description: The time when the split item was last updated. This is in ISO 8601 format. For example, `2024-01-01T12:00:00Z`.
          format: date-time
      description: A list of `SplitItemV1` objects associated with the accounting entry. The list is empty when the entry has not been split. When the entry is split, the list contains the resulting split items.
    AttendeeV1:
      required:
      - attendableId
      - attendableType
      - id
      type: object
      properties:
        attendableId:
          type: string
        attendableType:
          type: string
          description: This can be one of `AccountingEntryAttendeeType` values.
          example: CONTACT
        id:
          type: string
      description: A list of attendee objects associated with the accounting entry. For example, in the case of a business meal expense, attendees would be the people who attended the meal. Each attendee is represented as an `AttendeeV1` object containing identifying information for either an employee or a contact.
    ReceiptSearchRequest:
      required:
      - includeDeleted
      type: object
      properties:
        accountingEntryIds:
          type: array
          description: 'Only return receipts for the given accounting entry ID. '
          items:
            type: string
            description: 'Only return receipts for the given accounting entry ID. '
            format: uuid
        employeeIds:
          type: array
          description: 'Only return receipts for the given Employee ID. '
          items:
            type: string
            description: 'Only return receipts for the given Employee ID. '
            format: uuid
        fileType:
          $ref: '#/components/schemas/ReceiptFileType'
        includeDeleted:
          type: boolean
          description: Include deleted receipts
          default: false
        mimeType:
          type: array
          description: Only return receipts with the given mime type. Useful for fetching a list of receipts uploaded with particular mime types.
          items:
            $ref: '#/components/schemas/ReceiptMimeType'
        source:
          type: array
          description: Only return receipts that are uploaded from the specific source. Useful for fetching a list of receipts uploaded via particular sources.
          items:
            $ref: '#/components/schemas/ReceiptSource'
    AccountingEntryV1:
      required:
      - attendees
      - companyId
      - createdAt
      - exportStatus
      - family
      - id
      - performedAt
      - receiptIds
      - reviewStatus
      - splitItems
      - status
      - tags
      - transactionValue
      - updatedAt
      type: object
      properties:
        accountCode:
          type: string
          description: The account code allocated to the specific accounting entry. For example, an expense incurred for meals and drinks account would have a specific account code.
        accountId:
          type: string
          description: 'Unique identification number of the account (Category) allocated to the transaction. If `I don''t know` is selected, then in the API endpoint response, `"00000000-0000-0000-0000-000000000000"` is returned, implying no category is yet selected for the specific accounting entry. '
          format: uuid
        attendees:
          type: array
          description: A list of attendee objects associated with the accounting entry. For example, in the case of a business meal expense, attendees would be the people who attended the meal. Each attendee is represented as an `AttendeeV1` object containing identifying information for either an employee or a contact.
          items:
            description: A list of attendee objects associated with the accounting entry. For example, in the case of a business meal 

# --- truncated at 32 KB (65 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/pleo/refs/heads/main/openapi/pleo-accounting-entries-api-openapi.yml