Acreum Docs
Organization structure

Dimensions

List dimensions

GET
/v1/dimensions

Required scope: dimensions:read

Pagination: cursor

Error codes: INVALID_CURSOR, VALIDATION_FAILED

Authorization

access-token
headerAuthorizationBearer <token>

Query Parameters

cursor?string
limit?number

1..100, default 50

sort?string

Default: code

Value in"code""-code""name""-name""created_at""-created_at"

Response Body

application/json
  1. response
data*array<>
meta*
curl -X GET 'https://api.acreum.io/v1/dimensions'
{  "data": [    {      "applies_to_header": true,      "applies_to_line": true,      "category": "transaction",      "code": "string",      "created_at": "2019-08-24T14:15:22Z",      "data_type": "text",      "document_types": [        "string"      ],      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",      "is_active": true,      "is_required": true,      "name": "string",      "options": [        {          "created_at": "2019-08-24T14:15:22Z",          "dimension_id": "383a4933-3600-442b-9e86-23fddd48c089",          "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",          "is_active": true,          "sort_order": 0,          "value": "string"        }      ],      "org_id": "a40f5d1f-d889-42e9-94ea-b9b33585fc6b",      "scope": "entry",      "value_source": "property"    }  ],  "meta": {    "api_version": "2026-04-23",    "limit": 50,    "next_cursor": "eyJpZCI6ICJhYmMifQ==",    "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f"  }}

Create dimension

POST
/v1/dimensions

Required scope: dimensions:write

Plannable: yes. An agent can use this operation as a step in a plan.

Error codes: VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, INVALID_IDEMPOTENCY_KEY, IDEMPOTENCY_CONFLICT, CONFLICT

Authorization

access-token
headerAuthorizationBearer <token>

Header Parameters

Idempotency-Key*string

Client-chosen key that makes this mutation safe to retry. Required — a request without one is rejected with IDEMPOTENCY_KEY_REQUIRED. Reusing a key with the same body replays the original response for ~24 hours; reusing it with a different body returns IDEMPOTENCY_CONFLICT.

Match^[A-Za-z0-9_-]{1,255}$
Lengthlength <= 255

Request Body

application/json
  1. body
applies_to_header?boolean
Defaulttrue
applies_to_line?boolean
Defaultfalse
category?string
Default"transaction"
Value in"transaction""party"
code*string
Lengthlength <= 64
data_type*string
Value in"text""number""date""boolean""entity""dropdown_list"
document_types?array<>
is_active?boolean
is_required?boolean
name*string
Lengthlength <= 200
options?array<>
scope*string
Value in"entry""line"
value_source?string
Value in"property""space""loan""loan_escrow"

Response Body

application/json
  1. response
data*
meta*
curl -X POST 'https://api.acreum.io/v1/dimensions' \  -H 'Idempotency-Key: string' \  -H 'Content-Type: application/json' \  -d '{  "code": "string",  "data_type": "text",  "name": "string",  "scope": "entry"}'
{  "data": {    "applies_to_header": true,    "applies_to_line": true,    "category": "transaction",    "code": "string",    "created_at": "2019-08-24T14:15:22Z",    "data_type": "text",    "document_types": [      "string"    ],    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",    "is_active": true,    "is_required": true,    "name": "string",    "options": [      {        "created_at": "2019-08-24T14:15:22Z",        "dimension_id": "383a4933-3600-442b-9e86-23fddd48c089",        "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",        "is_active": true,        "sort_order": 0,        "value": "string"      }    ],    "org_id": "a40f5d1f-d889-42e9-94ea-b9b33585fc6b",    "scope": "entry",    "value_source": "property"  },  "meta": {    "api_version": "2026-04-23",    "cursor": {      "has_more": true,      "next": "eyJpZCI6ICJhYmMifQ=="    },    "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f",    "total_count": 1234  }}
GET
/v1/dimensions/applicable

Required scope: dimensions:read

Pagination: none

Error codes: VALIDATION_FAILED

Authorization

access-token
headerAuthorizationBearer <token>

Query Parameters

document_type*string
Value in"invoice""credit_memo""vendor_credit""bill""expense""sales_receipt""payment_in""payment_out""journal_entry""intercompany_transaction""intercompany_settlement""transfer""deposit""refund""owner_distribution""refund_payment""distribution_receipt""straight_line_adjustment""debt_service""loan_drawdown""loan_payoff""loan_accrual""depreciation""asset_disposal""asset_reclass""capital_contribution""investment_in_subsidiary""debt_service_bill""debt_service_payment""loan_prepayment""hedge_settlement""hedge_premium""hedge_premium_amortization""hedge_termination"

Response Body

application/json
  1. response
data*array<>
meta*
curl -X GET 'https://api.acreum.io/v1/dimensions/applicable?document_type=invoice'
{  "data": [    {      "applies_to_header": true,      "applies_to_line": true,      "category": "transaction",      "code": "string",      "created_at": "2019-08-24T14:15:22Z",      "data_type": "text",      "document_types": [        "string"      ],      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",      "is_active": true,      "is_required": true,      "name": "string",      "options": [        {          "created_at": "2019-08-24T14:15:22Z",          "dimension_id": "383a4933-3600-442b-9e86-23fddd48c089",          "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",          "is_active": true,          "sort_order": 0,          "value": "string"        }      ],      "org_id": "a40f5d1f-d889-42e9-94ea-b9b33585fc6b",      "scope": "entry",      "value_source": "property"    }  ],  "meta": {    "api_version": "2026-04-23",    "cursor": {      "has_more": true,      "next": "eyJpZCI6ICJhYmMifQ=="    },    "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f",    "total_count": 1234  }}

Get dimension by id

GET
/v1/dimensions/{id}

Required scope: dimensions:read

Error codes: NOT_FOUND

Authorization

access-token
headerAuthorizationBearer <token>

Path Parameters

id*string

Response Body

application/json
  1. response
data*
meta*
curl -X GET 'https://api.acreum.io/v1/dimensions/string'
{  "data": {    "applies_to_header": true,    "applies_to_line": true,    "category": "transaction",    "code": "string",    "created_at": "2019-08-24T14:15:22Z",    "data_type": "text",    "document_types": [      "string"    ],    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",    "is_active": true,    "is_required": true,    "name": "string",    "options": [      {        "created_at": "2019-08-24T14:15:22Z",        "dimension_id": "383a4933-3600-442b-9e86-23fddd48c089",        "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",        "is_active": true,        "sort_order": 0,        "value": "string"      }    ],    "org_id": "a40f5d1f-d889-42e9-94ea-b9b33585fc6b",    "scope": "entry",    "value_source": "property"  },  "meta": {    "api_version": "2026-04-23",    "cursor": {      "has_more": true,      "next": "eyJpZCI6ICJhYmMifQ=="    },    "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f",    "total_count": 1234  }}

Delete dimension

DELETE
/v1/dimensions/{id}

Required scope: dimensions:write

Error codes: NOT_FOUND, CONFLICT, DIMENSION_IN_USE

Authorization

access-token
headerAuthorizationBearer <token>

Path Parameters

id*string

Response Body

Possible error codes: NOT_FOUND

application/json
  1. response
code*string
detail*string
errors?array<>
instance*string
next_action?string

What the caller does next. Sent only by codes that declare it (the PLAN_* codes).

Value in"fix_step""re_preview""retry_later""split_plan""use_plan_mode""release_first""contact_operator"
request_id*string
retryable?boolean

Whether the same request can succeed unchanged later. Sent only by codes that declare it (the PLAN_* codes).

status*number
title*string
type*string
curl -X DELETE 'https://api.acreum.io/v1/dimensions/string'
{  "code": "DOCUMENT_ALREADY_POSTED",  "detail": "Document doc_01 is already posted.",  "errors": [    {      "code": "INVALID_VALUE",      "field": "amount",      "message": "must be > 0"    }  ],  "instance": "/v1/documents/doc_01/post",  "next_action": "fix_step",  "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f",  "retryable": true,  "status": 409,  "title": "Document already posted",  "type": "https://docs.acreum.io/errors/DOCUMENT_ALREADY_POSTED"}

Update dimension

PUT
/v1/dimensions/{id}

Required scope: dimensions:write

Plannable: yes. An agent can use this operation as a step in a plan.

Error codes: NOT_FOUND, VALIDATION_FAILED, CONFLICT, DIMENSION_IN_USE

Authorization

access-token
headerAuthorizationBearer <token>

Path Parameters

id*string

Request Body

application/json
  1. body
applies_to_header?boolean
applies_to_line?boolean
category?string
Value in"transaction""party"
document_types?array<>
is_active?boolean
is_required?boolean
name?string
Lengthlength <= 200
value_source?|
Value in"property""space""loan""loan_escrow"

Response Body

application/json
  1. response
data*
meta*
curl -X PUT 'https://api.acreum.io/v1/dimensions/string' \  -H 'Content-Type: application/json' \  -d '{}'
{  "data": {    "applies_to_header": true,    "applies_to_line": true,    "category": "transaction",    "code": "string",    "created_at": "2019-08-24T14:15:22Z",    "data_type": "text",    "document_types": [      "string"    ],    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",    "is_active": true,    "is_required": true,    "name": "string",    "options": [      {        "created_at": "2019-08-24T14:15:22Z",        "dimension_id": "383a4933-3600-442b-9e86-23fddd48c089",        "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",        "is_active": true,        "sort_order": 0,        "value": "string"      }    ],    "org_id": "a40f5d1f-d889-42e9-94ea-b9b33585fc6b",    "scope": "entry",    "value_source": "property"  },  "meta": {    "api_version": "2026-04-23",    "cursor": {      "has_more": true,      "next": "eyJpZCI6ICJhYmMifQ=="    },    "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f",    "total_count": 1234  }}
POST
/v1/dimensions/{id}/options

Required scope: dimensions:write

Plannable: yes. An agent can use this operation as a step in a plan.

Error codes: NOT_FOUND, VALIDATION_FAILED, CONFLICT

Authorization

access-token
headerAuthorizationBearer <token>

Path Parameters

id*string

Request Body

application/json
  1. body
is_active?boolean
Defaulttrue
sort_order?number
value*string
Lengthlength <= 200

Response Body

application/json
  1. response
data*
meta*
curl -X POST 'https://api.acreum.io/v1/dimensions/string/options' \  -H 'Content-Type: application/json' \  -d '{  "value": "string"}'
{  "data": {    "created_at": "2019-08-24T14:15:22Z",    "dimension_id": "383a4933-3600-442b-9e86-23fddd48c089",    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",    "is_active": true,    "sort_order": 0,    "value": "string"  },  "meta": {    "api_version": "2026-04-23",    "cursor": {      "has_more": true,      "next": "eyJpZCI6ICJhYmMifQ=="    },    "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f",    "total_count": 1234  }}

Update a dropdown option

PATCH
/v1/dimensions/{id}/options/{optionId}

Required scope: dimensions:write

Plannable: yes. An agent can use this operation as a step in a plan.

Error codes: NOT_FOUND, VALIDATION_FAILED, CONFLICT

Authorization

access-token
headerAuthorizationBearer <token>

Path Parameters

id*string
optionId*string

Request Body

application/json
  1. body
is_active?boolean
sort_order?number
value?string
Lengthlength <= 200

Response Body

application/json
  1. response
data*
meta*
curl -X PATCH 'https://api.acreum.io/v1/dimensions/string/options/string' \  -H 'Content-Type: application/json' \  -d '{}'
{  "data": {    "created_at": "2019-08-24T14:15:22Z",    "dimension_id": "383a4933-3600-442b-9e86-23fddd48c089",    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",    "is_active": true,    "sort_order": 0,    "value": "string"  },  "meta": {    "api_version": "2026-04-23",    "cursor": {      "has_more": true,      "next": "eyJpZCI6ICJhYmMifQ=="    },    "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f",    "total_count": 1234  }}

Delete a dropdown option

DELETE
/v1/dimensions/{id}/options/{optionId}

Required scope: dimensions:write

Error codes: NOT_FOUND, CONFLICT

Authorization

access-token
headerAuthorizationBearer <token>

Path Parameters

id*string
optionId*string

Response Body

Possible error codes: NOT_FOUND

application/json
  1. response
code*string
detail*string
errors?array<>
instance*string
next_action?string

What the caller does next. Sent only by codes that declare it (the PLAN_* codes).

Value in"fix_step""re_preview""retry_later""split_plan""use_plan_mode""release_first""contact_operator"
request_id*string
retryable?boolean

Whether the same request can succeed unchanged later. Sent only by codes that declare it (the PLAN_* codes).

status*number
title*string
type*string
curl -X DELETE 'https://api.acreum.io/v1/dimensions/string/options/string'
{  "code": "DOCUMENT_ALREADY_POSTED",  "detail": "Document doc_01 is already posted.",  "errors": [    {      "code": "INVALID_VALUE",      "field": "amount",      "message": "must be > 0"    }  ],  "instance": "/v1/documents/doc_01/post",  "next_action": "fix_step",  "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f",  "retryable": true,  "status": 409,  "title": "Document already posted",  "type": "https://docs.acreum.io/errors/DOCUMENT_ALREADY_POSTED"}