Consolidation Groups
Lists entity groups of one type: group_type=consolidation (the default, so existing callers are unchanged), payment, or all. Payment groups need reports:read or payment-runs:read; consolidation and all need reports:read.
Required scope: reports:read, payment-runs:read
Required scope (any of): reports:read, payment-runs:read
Pagination: none
Error codes: VALIDATION_FAILED, INSUFFICIENT_SCOPE
access-tokenAuthorizationBearer <token>group_type?stringWhich group type to list. Defaults to 'consolidation' so existing callers keep seeing consolidation groups only.
"consolidation""consolidation""payment""all"application/json- response
data*array<>meta*curl -X GET 'https://api.acreum.io/v1/consolidation-groups'{ "data": [ { "created_at": "string", "currency_code": "USD", "description": "string", "group_type": "consolidation", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "member_count": 0, "member_entity_ids": [ "e23a1c95-93f3-4f29-8e17-d02d12da7be9" ], "name": "string", "status": "active", "updated_at": "string" } ], "meta": { "api_version": "2026-04-23", "cursor": { "has_more": true, "next": "eyJpZCI6ICJhYmMifQ==" }, "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f", "total_count": 1234 }}Required scope: legal-entities:write
Error codes: VALIDATION_FAILED, CONFLICT, IDEMPOTENCY_KEY_REQUIRED, INVALID_IDEMPOTENCY_KEY, IDEMPOTENCY_CONFLICT, LEGAL_ENTITY_NOT_IN_SCOPE
access-tokenAuthorizationBearer <token>Idempotency-Key*stringClient-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.
^[A-Za-z0-9_-]{1,255}$length <= 255application/json- body
currency_code*stringdescription?stringlength <= 1024group_type?string'consolidation' groups feed consolidated reports; 'payment' groups are used only by payment runs and may include managed legal entities. Immutable after creation.
"consolidation""consolidation""payment"member_entity_ids*array<>items <= 100name*stringlength <= 128application/json- response
data*meta*curl -X POST 'https://api.acreum.io/v1/consolidation-groups' \ -H 'Idempotency-Key: string' \ -H 'Content-Type: application/json' \ -d '{ "currency_code": "USD", "member_entity_ids": [ "e23a1c95-93f3-4f29-8e17-d02d12da7be9" ], "name": "string"}'{ "data": { "created_at": "string", "currency_code": "USD", "description": "string", "group_type": "consolidation", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "member_count": 0, "member_entity_ids": [ "e23a1c95-93f3-4f29-8e17-d02d12da7be9" ], "name": "string", "status": "active", "updated_at": "string" }, "meta": { "api_version": "2026-04-23", "cursor": { "has_more": true, "next": "eyJpZCI6ICJhYmMifQ==" }, "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f", "total_count": 1234 }}Required scope: reports:read, payment-runs:read
Required scope (any of): reports:read, payment-runs:read
Error codes: NOT_FOUND, INSUFFICIENT_SCOPE
access-tokenAuthorizationBearer <token>id*stringapplication/json- response
data*meta*curl -X GET 'https://api.acreum.io/v1/consolidation-groups/string'{ "data": { "created_at": "string", "currency_code": "USD", "description": "string", "group_type": "consolidation", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "member_count": 0, "member_entity_ids": [ "e23a1c95-93f3-4f29-8e17-d02d12da7be9" ], "name": "string", "status": "active", "updated_at": "string" }, "meta": { "api_version": "2026-04-23", "cursor": { "has_more": true, "next": "eyJpZCI6ICJhYmMifQ==" }, "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f", "total_count": 1234 }}Required scope: legal-entities:write
Error codes: VALIDATION_FAILED, NOT_FOUND, CONFLICT, ENTITY_GROUP_IN_USE, INVALID_IDEMPOTENCY_KEY, IDEMPOTENCY_CONFLICT, LEGAL_ENTITY_NOT_IN_SCOPE
access-tokenAuthorizationBearer <token>id*stringIdempotency-Key?stringClient-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.
^[A-Za-z0-9_-]{1,255}$length <= 255application/json- body
description?stringlength <= 1024member_entity_ids?array<>items <= 100name?stringlength <= 128status?string"active""archived"application/json- response
data*meta*curl -X PATCH 'https://api.acreum.io/v1/consolidation-groups/string' \ -H 'Content-Type: application/json' \ -d '{}'{ "data": { "created_at": "string", "currency_code": "USD", "description": "string", "group_type": "consolidation", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "member_count": 0, "member_entity_ids": [ "e23a1c95-93f3-4f29-8e17-d02d12da7be9" ], "name": "string", "status": "active", "updated_at": "string" }, "meta": { "api_version": "2026-04-23", "cursor": { "has_more": true, "next": "eyJpZCI6ICJhYmMifQ==" }, "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f", "total_count": 1234 }}Required scope: legal-entities:write
Error codes: NOT_FOUND, ENTITY_GROUP_IN_USE, INVALID_IDEMPOTENCY_KEY, IDEMPOTENCY_CONFLICT
access-tokenAuthorizationBearer <token>id*stringIdempotency-Key?stringClient-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.
^[A-Za-z0-9_-]{1,255}$length <= 255Possible error codes: INVALID_IDEMPOTENCY_KEY
application/json- response
code*stringdetail*stringerrors?array<>instance*stringnext_action?stringWhat the caller does next. Sent only by codes that declare it (the PLAN_* codes).
"fix_step""re_preview""retry_later""split_plan""use_plan_mode""release_first""contact_operator"request_id*stringretryable?booleanWhether the same request can succeed unchanged later. Sent only by codes that declare it (the PLAN_* codes).
status*numbertitle*stringtype*stringcurl -X DELETE 'https://api.acreum.io/v1/consolidation-groups/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"}Required scope: reports:read
Pagination: cursor
Error codes: ATTACHMENT_NOT_FOUND, VALIDATION_FAILED, INVALID_CURSOR
access-tokenAuthorizationBearer <token>parentId*stringcursor?stringlimit?number1..500, default 200
include?"hierarchy"Pass "hierarchy" to roll up the group's own files plus the full file hierarchy of every member legal entity (its own files, owned properties and spaces and their descendants, and its contracts), grouped by member.
"hierarchy"application/json- response
data*array<>meta*curl -X GET 'https://api.acreum.io/v1/consolidation-groups/string/files'{ "data": [ { "content_type": "application/pdf", "file_name": "string", "file_sha256": "string", "file_size_bytes": 0, "folder_id": "7695bac3-9397-4ec2-9335-45a2a16f1901", "folder_name": "string", "group_id": "306db4e0-7449-4501-b76f-075576fe2d8f", "group_label": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "owner_name": "string", "parent_id": "1c6ca187-e61f-4301-8dcb-0e9749e89eef", "source_kind": "party", "source_label": "string", "uploaded_at": "2019-08-24T14:15:22Z", "uploaded_by": "e134ce2c-a199-4e99-9c11-627b70a7ff28" } ], "meta": { "api_version": "2026-04-23", "limit": 50, "next_cursor": "eyJpZCI6ICJhYmMifQ==", "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f" }}Required scope: legal-entities:write
Error codes: ATTACHMENT_NOT_FOUND, ATTACHMENT_TYPE_UNSUPPORTED, ATTACHMENT_TOO_LARGE, VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, INVALID_IDEMPOTENCY_KEY, IDEMPOTENCY_CONFLICT
access-tokenAuthorizationBearer <token>parentId*stringfolderId*stringIdempotency-Key*stringClient-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.
^[A-Za-z0-9_-]{1,255}$length <= 255multipart/form-data- body
file*unknownPDF, image, Office, CSV or TXT file. Max 20 MiB. Sniffed server-side.
application/json- response
data*meta*curl -X POST 'https://api.acreum.io/v1/consolidation-groups/string/files?folderId=string' \ -H 'Idempotency-Key: string' \ -F 'file=null'{ "data": { "content_type": "application/pdf", "file_name": "string", "file_sha256": "string", "file_size_bytes": 0, "folder_id": "7695bac3-9397-4ec2-9335-45a2a16f1901", "folder_name": "string", "group_id": "306db4e0-7449-4501-b76f-075576fe2d8f", "group_label": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "owner_name": "string", "parent_id": "1c6ca187-e61f-4301-8dcb-0e9749e89eef", "source_kind": "party", "source_label": "string", "uploaded_at": "2019-08-24T14:15:22Z", "uploaded_by": "e134ce2c-a199-4e99-9c11-627b70a7ff28" }, "meta": { "api_version": "2026-04-23", "cursor": { "has_more": true, "next": "eyJpZCI6ICJhYmMifQ==" }, "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f", "total_count": 1234 }}Required scope: legal-entities:write
Error codes: ATTACHMENT_NOT_FOUND, VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, INVALID_IDEMPOTENCY_KEY
access-tokenAuthorizationBearer <token>parentId*stringfileId*stringIdempotency-Key*stringClient-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.
^[A-Za-z0-9_-]{1,255}$length <= 255application/json- body
file_name?stringNew display name for the file (rename). Trimmed server-side; storage_path and content_type never change. The extension is immutable — the new name must keep the current extension (changing it returns VALIDATION_FAILED). Omit to leave the current name unchanged. An explicit null is rejected — omit the field instead.
1 <= length <= 255folder_id?|Target folder id (see GET /v1/org-folders), or null to move the file to the root. Omit to leave the current folder unchanged.
uuidapplication/json- response
data*meta*curl -X PATCH 'https://api.acreum.io/v1/consolidation-groups/string/files/string' \ -H 'Idempotency-Key: string' \ -H 'Content-Type: application/json' \ -d '{}'{ "data": { "content_type": "application/pdf", "file_name": "string", "file_sha256": "string", "file_size_bytes": 0, "folder_id": "7695bac3-9397-4ec2-9335-45a2a16f1901", "folder_name": "string", "group_id": "306db4e0-7449-4501-b76f-075576fe2d8f", "group_label": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "owner_name": "string", "parent_id": "1c6ca187-e61f-4301-8dcb-0e9749e89eef", "source_kind": "party", "source_label": "string", "uploaded_at": "2019-08-24T14:15:22Z", "uploaded_by": "e134ce2c-a199-4e99-9c11-627b70a7ff28" }, "meta": { "api_version": "2026-04-23", "cursor": { "has_more": true, "next": "eyJpZCI6ICJhYmMifQ==" }, "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f", "total_count": 1234 }}Required scope: files:delete
Error codes: ATTACHMENT_NOT_FOUND, IDEMPOTENCY_KEY_REQUIRED, INVALID_IDEMPOTENCY_KEY
access-tokenAuthorizationBearer <token>parentId*stringfileId*stringIdempotency-Key*stringClient-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.
^[A-Za-z0-9_-]{1,255}$length <= 255Possible error codes: IDEMPOTENCY_KEY_REQUIRED, INVALID_IDEMPOTENCY_KEY
application/json- response
code*stringdetail*stringerrors?array<>instance*stringnext_action?stringWhat the caller does next. Sent only by codes that declare it (the PLAN_* codes).
"fix_step""re_preview""retry_later""split_plan""use_plan_mode""release_first""contact_operator"request_id*stringretryable?booleanWhether the same request can succeed unchanged later. Sent only by codes that declare it (the PLAN_* codes).
status*numbertitle*stringtype*stringcurl -X DELETE 'https://api.acreum.io/v1/consolidation-groups/string/files/string' \ -H 'Idempotency-Key: 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"}Required scope: reports:read
Error codes: ATTACHMENT_NOT_FOUND
access-tokenAuthorizationBearer <token>parentId*stringfileId*stringapplication/json- response
data*meta*curl -X GET 'https://api.acreum.io/v1/consolidation-groups/string/files/string/download'{ "data": { "expires_at": "2019-08-24T14:15:22Z", "url": "string" }, "meta": { "api_version": "2026-04-23", "cursor": { "has_more": true, "next": "eyJpZCI6ICJhYmMifQ==" }, "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f", "total_count": 1234 }}