Acreum Docs
Organization structure

Items

List items

GET
/v1/items

Required scope: items:read

Pagination: cursor

Error codes: INVALID_CURSOR, VALIDATION_FAILED

Authorization

access-token
headerAuthorizationBearer <token>

Query Parameters

item_type?string
Value in"income""expense""asset""liability"
is_active?boolean
include_archived?boolean

Include archived items in the response. Default false (archived items are hidden).

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/items'
{  "data": [    {      "code": "string",      "created_at": "2019-08-24T14:15:22Z",      "default_account_id": "e4f8901d-3305-4371-9264-620bf018da42",      "default_price": "string",      "description": "string",      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",      "is_active": true,      "is_archived": true,      "item_type": "income",      "name": "string",      "org_id": "a40f5d1f-d889-42e9-94ea-b9b33585fc6b",      "system_role": "string"    }  ],  "meta": {    "api_version": "2026-04-23",    "limit": 50,    "next_cursor": "eyJpZCI6ICJhYmMifQ==",    "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f"  }}

Create item

POST
/v1/items

Required scope: items:write

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

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

Authorization

access-token
headerAuthorizationBearer <token>

Header Parameters

Idempotency-Key?string

Client-chosen key that makes this mutation safe to retry. Optional — a request without one is processed normally, with no replay protection. 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
code*string
Lengthlength <= 64
default_account_id*string
Formatuuid
default_price?|

Default unit price as a decimal string. Optional. Pre-fills the line amount on document creation forms when this item is selected.

description?|
Lengthlength <= 2000
is_active?boolean
Defaulttrue
item_type*string
Value in"income""expense""asset""liability"
name*string
Lengthlength <= 200

Response Body

application/json
  1. response
data*
meta*
curl -X POST 'https://api.acreum.io/v1/items' \  -H 'Content-Type: application/json' \  -d '{  "code": "string",  "default_account_id": "e4f8901d-3305-4371-9264-620bf018da42",  "item_type": "income",  "name": "string"}'
{  "data": {    "code": "string",    "created_at": "2019-08-24T14:15:22Z",    "default_account_id": "e4f8901d-3305-4371-9264-620bf018da42",    "default_price": "string",    "description": "string",    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",    "is_active": true,    "is_archived": true,    "item_type": "income",    "name": "string",    "org_id": "a40f5d1f-d889-42e9-94ea-b9b33585fc6b",    "system_role": "string"  },  "meta": {    "api_version": "2026-04-23",    "cursor": {      "has_more": true,      "next": "eyJpZCI6ICJhYmMifQ=="    },    "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f",    "total_count": 1234  }}

Update item

PATCH
/v1/items/{id}

Required scope: items:write

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

Error codes: NOT_FOUND, VALIDATION_FAILED, CONFLICT, ACCOUNT_LEGAL_ENTITY_MISMATCH, INVALID_IDEMPOTENCY_KEY, IDEMPOTENCY_CONFLICT

Authorization

access-token
headerAuthorizationBearer <token>

Path Parameters

id*string

Header Parameters

Idempotency-Key?string

Client-chosen key that makes this mutation safe to retry. Optional — a request without one is processed normally, with no replay protection. 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
code?string
Lengthlength <= 64
default_account_id?string
Formatuuid
default_price?|

Default unit price as a decimal string. Pass null to clear.

description?|
Lengthlength <= 2000
is_active?boolean
item_type?string
Value in"income""expense""asset""liability"
name?string
Lengthlength <= 200

Response Body

application/json
  1. response
data*
meta*
curl -X PATCH 'https://api.acreum.io/v1/items/string' \  -H 'Content-Type: application/json' \  -d '{}'
{  "data": {    "code": "string",    "created_at": "2019-08-24T14:15:22Z",    "default_account_id": "e4f8901d-3305-4371-9264-620bf018da42",    "default_price": "string",    "description": "string",    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",    "is_active": true,    "is_archived": true,    "item_type": "income",    "name": "string",    "org_id": "a40f5d1f-d889-42e9-94ea-b9b33585fc6b",    "system_role": "string"  },  "meta": {    "api_version": "2026-04-23",    "cursor": {      "has_more": true,      "next": "eyJpZCI6ICJhYmMifQ=="    },    "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f",    "total_count": 1234  }}

Archive item

POST
/v1/items/{id}/archive

Required scope: items:write

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

Error codes: NOT_FOUND, INVALID_IDEMPOTENCY_KEY, IDEMPOTENCY_CONFLICT

Authorization

access-token
headerAuthorizationBearer <token>

Path Parameters

id*string

Header Parameters

Idempotency-Key?string

Client-chosen key that makes this mutation safe to retry. Optional — a request without one is processed normally, with no replay protection. 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

Response Body

application/json
  1. response
data*
meta*
curl -X POST 'https://api.acreum.io/v1/items/string/archive'
{  "data": {    "code": "string",    "created_at": "2019-08-24T14:15:22Z",    "default_account_id": "e4f8901d-3305-4371-9264-620bf018da42",    "default_price": "string",    "description": "string",    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",    "is_active": true,    "is_archived": true,    "item_type": "income",    "name": "string",    "org_id": "a40f5d1f-d889-42e9-94ea-b9b33585fc6b",    "system_role": "string"  },  "meta": {    "api_version": "2026-04-23",    "cursor": {      "has_more": true,      "next": "eyJpZCI6ICJhYmMifQ=="    },    "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f",    "total_count": 1234  }}

Unarchive item

POST
/v1/items/{id}/unarchive

Required scope: items:write

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

Error codes: NOT_FOUND, INVALID_IDEMPOTENCY_KEY, IDEMPOTENCY_CONFLICT

Authorization

access-token
headerAuthorizationBearer <token>

Path Parameters

id*string

Header Parameters

Idempotency-Key?string

Client-chosen key that makes this mutation safe to retry. Optional — a request without one is processed normally, with no replay protection. 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

Response Body

application/json
  1. response
data*
meta*
curl -X POST 'https://api.acreum.io/v1/items/string/unarchive'
{  "data": {    "code": "string",    "created_at": "2019-08-24T14:15:22Z",    "default_account_id": "e4f8901d-3305-4371-9264-620bf018da42",    "default_price": "string",    "description": "string",    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",    "is_active": true,    "is_archived": true,    "item_type": "income",    "name": "string",    "org_id": "a40f5d1f-d889-42e9-94ea-b9b33585fc6b",    "system_role": "string"  },  "meta": {    "api_version": "2026-04-23",    "cursor": {      "has_more": true,      "next": "eyJpZCI6ICJhYmMifQ=="    },    "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f",    "total_count": 1234  }}