---
title: "Update Custom Fields"
method: PATCH
path: "/accounting/transactions/{accountingTransactionId}/custom-fields"
tags: ["Accounting Transactions"]
---

# Update Custom Fields

`PATCH /accounting/transactions/{accountingTransactionId}/custom-fields`

Update 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`.

## Path parameters

- `accountingTransactionId` string, uuid, required

## Request body

- object
  - `customFields` object[], nullable — 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`.
    - `id` string, uuid — The id of the custom field to set on this accounting transaction.
    - `value` string — 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.

## Response `202`

Accepted

- object[], nullable
  - `id` string, uuid — The id of the custom field used on this accounting transaction.
  - `value` string — The value of the custom field on this accounting transaction.
  - `label` string — The label of the custom field used on this accounting transaction.
  - `type` 'TEXT' | 'SELECT' — The type of the custom field used on this accounting transaction.

## Other responses

- `400` — unresolved $ref
- `401` — unresolved $ref
- `403` — unresolved $ref
- `404` — unresolved $ref
- `500` — unresolved $ref

---

[API](https://skmtc.dev/getpliant/apis/pliant-customer-api.md) · [All operations](https://skmtc.dev/getpliant/apis/pliant-customer-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/getpliant/pliant-customer-api/revisions/f3f589cfa718/schema)
