Skip to main content
GET
/
v1
/
accounting-entries
/
{accountingEntryId}
Fetch a single accounting entry by id.
curl --request GET \
  --url https://external.pleo.io/v1/accounting-entries/{accountingEntryId} \
  --header 'Authorization: Bearer <token>'
{
  "data": {
    "attendees": [
      {
        "attendableId": "<string>",
        "attendableType": "CONTACT",
        "id": "<string>"
      }
    ],
    "companyId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "createdAt": "2023-11-07T05:31:56Z",
    "exportStatus": "CREATED",
    "family": "BALANCE_AMENDMENT",
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "performedAt": "2023-11-07T05:31:56Z",
    "receiptIds": [
      "3c90c3cc-0d44-4b50-8888-8dd25736052a"
    ],
    "reviewStatus": "NOT_OK",
    "splitItems": [
      {
        "createdAt": "2023-11-07T05:31:56Z",
        "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
        "tags": [
          {
            "tagGroupId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
            "tagId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
          }
        ],
        "updatedAt": "2023-11-07T05:31:56Z",
        "accountCode": "<string>",
        "accountId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
        "taxCodeId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
        "totalBillValue": {
          "currency": "EUR",
          "minors": 10
        },
        "transactionValue": {
          "currency": "EUR",
          "minors": 10
        }
      }
    ],
    "status": "DRAFT",
    "tags": [
      {
        "tagGroupId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
        "tagId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
      }
    ],
    "transactionValue": {
      "currency": "EUR",
      "minors": 10
    },
    "updatedAt": "2023-11-07T05:31:56Z",
    "accountCode": "<string>",
    "accountId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "bookkeepingDate": "2023-11-07T05:31:56Z",
    "deletedAt": "2023-11-07T05:31:56Z",
    "employeeId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "foreignExtensionId": "<string>",
    "note": "<string>",
    "settledAt": "2023-11-07T05:31:56Z",
    "subFamily": "ATM",
    "supplier": {
      "cif": "<string>",
      "documentNumber": "<string>",
      "documentType": "FACTURA",
      "externalAccountNumber": "<string>",
      "externalSupplierId": "<string>"
    },
    "taxCodeId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "teamId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "totalBillValue": {
      "currency": "EUR",
      "minors": 10
    }
  }
}

Authorizations

Authorization
string
header
required

JWT Bearer token authentication. Include the token in the Authorization header as: Bearer <token>

Path Parameters

accountingEntryId
string<uuid>
required

The specific accounting entry ID that you are looking for.

Query Parameters

include_deleted
boolean

Set this to true if you want to include deleted accounting entries.

Response

The accounting entry for the specified ID.

data
object
required