---
updatedAt: 2026-04-21T09:29:18.000Z
agentTools:
  projectIndex: https://partner.getpliant.com/llms.txt
---

# List Accounting Transactions

> 🔒 **Required scope:** `accounting:read`
>
> The API credential calling this endpoint must be granted the `accounting` category with `read` or `read & write` access.
> Scopes are assigned to the credential when it is created or edited in Pliant, not requested when obtaining the access token.
> A credential without this scope receives `403 Forbidden` with the error code `INSUFFICIENT_PERMISSION`.

Returns accounting transactions for one or more transactions depending on the given input. You can also request accounting transaction details per card(s), cardholder(s) or organization(s). The API returns all accounting transaction details to the given input which can be found in the system. So you can also combine the different input fields (OR relation). Be aware that the usage of [cardholder](/docs/cardholder-entity) or organizations IDs most likely add multiple accounting transaction details themselves. Also cardholders can be part of multiple organizations, thus when searching via [cardholder](/docs/cardholder-entity) IDs, it might return more data than it would for just one organization this [cardholder](/docs/cardholder-entity) is part of. At least one parameter has to be set.


# OpenAPI definition

```json
{
  "openapi": "3.0.1",
  "info": {
    "contact": {
      "name": "API Support",
      "email": "support@getpliant.com",
      "url": "https://www.getpliant.com"
    },
    "title": "Pliant Partner API",
    "description": "Pliant Partner API",
    "version": "2.1.0",
    "license": {
      "name": "MIT",
      "url": "https://opensource.org/license/MIT"
    }
  },
  "servers": [
    {
      "url": "https://partner-api.getpliant.com/api",
      "description": "Pliant Production Server"
    },
    {
      "url": "https://sandbox.partner-api.getpliant.com/api",
      "description": "Pliant Sandbox Server"
    },
    {
      "url": "https://pci-api.getpliant.com",
      "description": "PCI Vault Production Server"
    },
    {
      "url": "https://pci-sandbox.partner-api.getpliant.com",
      "description": "PCI Vault Sandbox Server"
    }
  ],
  "x-readme": {
    "explorer-enabled": false,
    "samples-languages": [
      "curl",
      "java",
      "kotlin"
    ],
    "headers": [
      {
        "key": "Pliant-API-Version",
        "value": "2.1.0"
      }
    ]
  },
  "tags": [
    {
      "name": "Accounting Transactions",
      "description": "This tag is for operations related to accounting transactions"
    }
  ],
  "paths": {
    "/accounting/transactions": {
      "post": {
        "summary": "List Accounting Transactions",
        "description": "> 🔒 **Required scope:** `accounting:read`\n>\n> The API credential calling this endpoint must be granted the `accounting` category with `read` or `read & write` access.\n> Scopes are assigned to the credential when it is created or edited in Pliant, not requested when obtaining the access token.\n> A credential without this scope receives `403 Forbidden` with the error code `INSUFFICIENT_PERMISSION`.\n\nReturns accounting transactions for one or more transactions depending on the given input. You can also request accounting transaction details per card(s), cardholder(s) or organization(s). The API returns all accounting transaction details to the given input which can be found in the system. So you can also combine the different input fields (OR relation). Be aware that the usage of [cardholder](/docs/cardholder-entity) or organizations IDs most likely add multiple accounting transaction details themselves. Also cardholders can be part of multiple organizations, thus when searching via [cardholder](/docs/cardholder-entity) IDs, it might return more data than it would for just one organization this [cardholder](/docs/cardholder-entity) is part of. At least one parameter has to be set.\n",
        "x-required-scopes": [
          "accounting:read"
        ],
        "tags": [
          "Accounting Transactions"
        ],
        "operationId": "get-accounting-transactions-batch",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "transactionIds": {
                    "type": "array",
                    "description": "The unique identifiers of the transactions to filter by.",
                    "items": {
                      "type": "string",
                      "format": "uuid"
                    }
                  },
                  "cardIds": {
                    "type": "array",
                    "description": "The unique identifiers of the cards to filter by.",
                    "items": {
                      "type": "string",
                      "format": "uuid"
                    }
                  },
                  "cardholderIds": {
                    "type": "array",
                    "description": "The unique identifiers of the cardholders to filter by.",
                    "items": {
                      "type": "string",
                      "format": "uuid"
                    }
                  },
                  "organizationIds": {
                    "type": "array",
                    "description": "The unique identifiers of the organizations to filter by.",
                    "items": {
                      "type": "string",
                      "format": "uuid"
                    }
                  },
                  "cardAccountIds": {
                    "type": "array",
                    "description": "The unique identifiers of the card accounts to filter by.",
                    "items": {
                      "type": "string",
                      "format": "uuid"
                    }
                  },
                  "exportStatus": {
                    "type": "string",
                    "description": "The export status of the transaction. It can be one of the following values: `NOT_EXPORTED`, `IN_EXPORT_QUEUE`, `EXPORTING`, `EXPORTED`.",
                    "enum": [
                      "NOT_EXPORTED",
                      "IN_EXPORT_QUEUE",
                      "EXPORTING",
                      "EXPORTED"
                    ]
                  },
                  "pagination": {
                    "type": "object",
                    "properties": {
                      "page": {
                        "type": "integer",
                        "description": "The page number to return, starting with 0, this counts up to the total number of pages. The total number of pages is determined by the total number of records divided by the limit."
                      },
                      "limit": {
                        "type": "integer",
                        "description": "The maximum number of items to return per page. The default value if not provided is 100, the maximum allowed value is 1000."
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Ok",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/AccountingTransactions"
                      }
                    },
                    "hasNextPage": {
                      "type": "boolean",
                      "description": "Indicates whether there is a next page available."
                    }
                  }
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "401": {
            "$ref": "#/components/responses/401"
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "500": {
            "$ref": "#/components/responses/500"
          }
        }
      }
    },
    "/accounting/transactions/{accountingTransactionId}/custom-fields": {
      "patch": {
        "summary": "Update Custom Fields",
        "description": "> 🔒 **Required scope:** `accounting:write`\n>\n> The API credential calling this endpoint must be granted the `accounting` category with `read & write` access.\n> Scopes are assigned to the credential when it is created or edited in Pliant, not requested when obtaining the access token.\n> A credential without this scope receives `403 Forbidden` with the error code `INSUFFICIENT_PERMISSION`.\n\nUpdate the values of [custom fields](/docs/custom-fields-on-transactions) related to an accounting transaction. All [custom fields](/docs/custom-fields-on-transactions) need to be provided, by not providing a custom field, the value of that custom field will be removed, i.e. set to `null`.\n",
        "x-required-scopes": [
          "accounting:write"
        ],
        "tags": [
          "Accounting Transactions"
        ],
        "operationId": "update-custom-fields-on-accounting-transaction",
        "parameters": [
          {
            "name": "accountingTransactionId",
            "in": "path",
            "required": true,
            "description": "The unique identifier of the accounting transaction.",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "customFields": {
                    "description": "The [custom fields](/docs/custom-fields-on-transactions) to update/change on the accounting transaction. All [custom fields](/docs/custom-fields-on-transactions) need to be provided, by not providing a custom field, the default value of that custom field will be removed, i.e. set to `null`.",
                    "type": "array",
                    "nullable": true,
                    "items": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string",
                          "format": "uuid",
                          "description": "The id of the custom field to set on this accounting transaction."
                        },
                        "value": {
                          "type": "string",
                          "description": "The value of the custom field to set on this accounting transaction. The maximum length of the value is 64kB. If the custom field is of type `SELECT`, the value has to be one of the options of the custom field.",
                          "maxLength": 65536
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "responses": {
          "202": {
            "description": "Accepted",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "nullable": true,
                  "items": {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "string",
                        "format": "uuid",
                        "description": "The id of the custom field used on this accounting transaction."
                      },
                      "value": {
                        "type": "string",
                        "description": "The value of the custom field on this accounting transaction."
                      },
                      "label": {
                        "type": "string",
                        "description": "The label of the custom field used on this accounting transaction."
                      },
                      "type": {
                        "type": "string",
                        "description": "The type of the custom field used on this accounting transaction.",
                        "enum": [
                          "TEXT",
                          "SELECT"
                        ]
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "401": {
            "$ref": "#/components/responses/401"
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "404": {
            "$ref": "#/components/responses/404"
          },
          "500": {
            "$ref": "#/components/responses/500"
          }
        }
      }
    }
  },
  "components": {
    "securitySchemes": {
      "bearerAuth": {
        "type": "http",
        "scheme": "bearer",
        "description": "This API uses oAuth2 with client credentials flow to [obtain the Bearer Token](/docs/authenticated-api-usage).",
        "bearerFormat": "JWT"
      }
    },
    "schemas": {
      "AccountingTransactions": {
        "type": "object",
        "properties": {
          "transactionId": {
            "type": "string",
            "format": "uuid",
            "description": "The ID of the transaction."
          },
          "organizationId": {
            "type": "string",
            "format": "uuid",
            "description": "The ID of the organization this transaction belongs to."
          },
          "cardAccountId": {
            "type": "string",
            "format": "uuid",
            "description": "The ID of the [card account](/docs/card-account) this transaction belongs to."
          },
          "billingAmount": {
            "type": "object",
            "description": "The amount that was billed to the cardholder, in the currency of the card account.",
            "properties": {
              "value": {
                "type": "number",
                "description": "The value of the monetary amount, converted to minor units of the currency. For instance 1.00 EUR is 100 cents, thus the value here is `100`. See our [guides](/docs/monetary-values) for more details about how to handle monetary amounts."
              },
              "currency": {
                "type": "string",
                "description": "The currency of the monetary amount in ISO 4217 format, for example `EUR` for Euro or `USD` for US Dollar."
              }
            }
          },
          "transactionAmount": {
            "type": "object",
            "description": "The amount that was transacted.",
            "properties": {
              "value": {
                "type": "number",
                "description": "The value of the monetary amount, converted to minor units of the currency. For instance 1.00 EUR is 100 cents, thus the value here is `100`. See our [guides](/docs/monetary-values) for more details about how to handle monetary amounts."
              },
              "currency": {
                "type": "string",
                "description": "The currency of the monetary amount in ISO 4217 format, for example `EUR` for Euro or `USD` for US Dollar."
              }
            }
          },
          "supplier": {
            "type": "object",
            "nullable": true,
            "description": "The supplier of the transaction, if assigned.",
            "properties": {
              "id": {
                "type": "string",
                "format": "uuid",
                "description": "The unique identifier of the supplier."
              },
              "name": {
                "type": "string",
                "description": "The name of the supplier."
              },
              "accountNumber": {
                "type": "string",
                "description": "The account number of the supplier."
              },
              "autoMatched": {
                "type": "boolean",
                "description": "Whether the supplier was automatically matched or manually set by the cardholder."
              }
            }
          },
          "exportStatus": {
            "type": "string",
            "description": "The export status of the transaction. It can be one of the following values: `NOT_EXPORTED`, `IN_EXPORT_QUEUE`, `EXPORTING`, `EXPORTED`. This defines whether the transaction is exported to an accounting system or not.",
            "enum": [
              "NOT_EXPORTED",
              "IN_EXPORT_QUEUE",
              "EXPORTING",
              "EXPORTED"
            ]
          },
          "receiptNumber": {
            "type": "string",
            "description": "The receipt number of a transaction if it is available. Receipt numbers are typically used to identify a transaction in an accounting system hence we store it on transaction level. If not automatically extracted it can be provided by any user within Pliant. Can be overwritten even if automatically extracted."
          },
          "accountingTransactions": {
            "type": "array",
            "description": "The accounting transactions of the transaction. Contains 1..n entries, depending on whether the transaction was split into multiple accounting transactions or not.",
            "items": {
              "type": "object",
              "properties": {
                "accountingTransactionId": {
                  "type": "string",
                  "format": "uuid",
                  "description": "The ID of the accounting transaction."
                },
                "index": {
                  "type": "integer",
                  "description": "The index of the accounting transaction within the transaction."
                },
                "billingAmount": {
                  "type": "object",
                  "description": "The amount that was billed to the cardholder, in the currency of the card account.",
                  "properties": {
                    "value": {
                      "type": "number"
                    },
                    "currency": {
                      "type": "string"
                    }
                  }
                },
                "transactionAmount": {
                  "type": "object",
                  "description": "The amount that was transacted.",
                  "properties": {
                    "value": {
                      "type": "number"
                    },
                    "currency": {
                      "type": "string"
                    }
                  }
                },
                "subcategory": {
                  "type": "object",
                  "nullable": true,
                  "description": "The subcategory of the accounting transaction, if assigned.",
                  "properties": {
                    "id": {
                      "type": "string",
                      "format": "uuid",
                      "description": "The unique identifier of the subcategory."
                    },
                    "name": {
                      "type": "string",
                      "description": "The name of the subcategory."
                    },
                    "accountNumber": {
                      "type": "string",
                      "description": "The account number of the subcategory."
                    },
                    "autoMatched": {
                      "type": "boolean",
                      "description": "Whether the subcategory was automatically matched or manually set by the cardholder."
                    }
                  }
                },
                "vatRate": {
                  "type": "object",
                  "nullable": true,
                  "description": "The VAT rate of the accounting transaction, if assigned.",
                  "properties": {
                    "id": {
                      "type": "string",
                      "format": "uuid",
                      "description": "The unique identifier of the VAT rate."
                    },
                    "name": {
                      "type": "string",
                      "description": "The name of the VAT rate."
                    },
                    "rate": {
                      "type": "number",
                      "format": "double",
                      "example": 12.35,
                      "description": "The rate of the VAT rate."
                    },
                    "code": {
                      "type": "string",
                      "description": "The code of the VAT rate."
                    },
                    "autoMatched": {
                      "type": "boolean",
                      "description": "Whether the VAT rate was automatically matched or manually set by the cardholder."
                    }
                  }
                },
                "project": {
                  "type": "object",
                  "nullable": true,
                  "description": "The project (cost unit) of the accounting transaction, if assigned.",
                  "properties": {
                    "id": {
                      "type": "string",
                      "format": "uuid",
                      "description": "The unique identifier of the project."
                    },
                    "name": {
                      "type": "string",
                      "description": "The name of the project."
                    },
                    "costUnit": {
                      "type": "string",
                      "description": "The cost unit of the project."
                    }
                  }
                },
                "team": {
                  "type": "object",
                  "nullable": true,
                  "description": "The team (cost center) of the accounting transaction, if assigned.",
                  "properties": {
                    "id": {
                      "type": "string",
                      "format": "uuid",
                      "description": "The unique identifier of the team."
                    },
                    "name": {
                      "type": "string",
                      "description": "The name of the team."
                    },
                    "costCenter": {
                      "type": "string",
                      "description": "The cost center of the team."
                    }
                  }
                },
                "customFields": {
                  "type": "array",
                  "description": "The [custom fields](/docs/custom-fields-on-transactions) set on this accounting transaction.",
                  "items": {
                    "$ref": "#/paths/~1accounting~1transactions~1{accountingTransactionId}~1custom-fields/patch/responses/202/content/application~1json/schema"
                  }
                }
              }
            }
          }
        }
      },
      "Error": {
        "type": "object",
        "properties": {
          "errorCode": {
            "type": "string",
            "description": "The error code"
          },
          "exceptionId": {
            "type": "string",
            "format": "uuid",
            "description": "The id of the exception that was thrown"
          },
          "message": {
            "type": "string",
            "description": "The cause of the error or further explanations on the error"
          }
        }
      }
    },
    "responses": {
      "400": {
        "description": "Bad Request. The API consumer sent a malformed request which could not be processed.",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/Error"
            }
          }
        }
      },
      "401": {
        "description": "Unauthorized. The API consumer is not authorized to access the requested resource.",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/Error"
            }
          }
        }
      },
      "403": {
        "description": "Forbidden. The API consumer is not allowed to access the requested resource.",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/Error"
            }
          }
        }
      },
      "500": {
        "description": "Internal Server Error. The request was not completed due to an internal error.",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/Error"
            }
          }
        }
      }
    }
  },
  "security": [
    {
      "bearerAuth": []
    }
  ]
}
```