{
"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"
}
}
This endpoint replaces already existing categories on the Ledger Entry line with new values. If an empty array of categories_ids is provided, it will remove all categories from the Ledger Entry line.
ℹ️ This endpoint requires one of the following scopes:
ledger
{
"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"
}
}
(Required) Existing Ledger Entry line (id)
"72703820.89260018"
The body is of type object[]
.
Returns the Ledger Entry line with attached Analytical Categories
The response is of type object
.