PUT
/
api
/
external
/
v2
/
ledger_entry_lines
/
{ledger_entry_line_id}
/
categories
{
  "ledger_entry_line": {
    "categories": [
      {
        "analytical_code": "CODE123",
        "category_group": {
          "id": 229
        },
        "created_at": "2023-08-30T10:08:08.146343Z",
        "id": 421,
        "label": "HR - Salaries",
        "updated_at": "2023-08-30T10:08:08.146343Z",
        "weight": "0.25"
      },
      {
        "analytical_code": "CODE123",
        "category_group": {
          "id": 229
        },
        "created_at": "2023-08-30T10:08:08.146343Z",
        "id": 421,
        "label": "HR - Salaries",
        "updated_at": "2023-08-30T10:08:08.146343Z",
        "weight": "0.25"
      }
    ],
    "id": 2,
    "label": "Employee - remuneration and contributions"
  }
}

Path Parameters

ledger_entry_line_id
string
required

(Required) Existing Ledger Entry line (id)

Example:

"22560077.537698045"

Body

application/json · object[]

The body is of type object[].

Response

200
application/json

Returns the Ledger Entry line with attached Analytical Categories

The response is of type object.