Statistical Measures
Recorded quantities for manual measure types, cursor-paginated. Filter by measure_type_id, a dimension id (property/space/legal_entity), and a from_date/to_date range over the entry effective date (period_month or as_of_date).
Required scope: statistics:read
Pagination: cursor
Error codes: INVALID_CURSOR, VALIDATION_FAILED
access-tokenAuthorizationBearer <token>measure_type_id?stringOnly entries recorded for this measure type.
uuidproperty_id?stringOnly entries recorded against this property.
uuidspace_id?stringOnly entries recorded against this space.
uuidlegal_entity_id?stringOnly entries recorded against this legal entity.
uuidfrom_date?stringOnly entries whose effective date (period_month or as_of_date) is on or after this date.
dateto_date?stringOnly entries whose effective date (period_month or as_of_date) is on or before this date.
datecursor?stringlimit?number1..100, default 50
sort?stringDefault: -created_at
"created_at""-created_at"application/json- response
data*array<>meta*curl -X GET 'https://api.acreum.io/v1/statistical-measures'{ "data": [ { "as_of_date": "2019-08-24", "created_at": "2019-08-24T14:15:22Z", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "legal_entity_id": "8c040143-e03c-45a0-b1bc-85161701d839", "measure_type_id": "2b1f364d-f03d-46a4-ae63-efb5eb59f9b0", "period_month": "2019-08-24", "property_id": "05003a8a-8f3c-454b-8884-a906ec46f5f5", "quantity": "string", "space_id": "22cc9270-58a2-4d80-a821-13400b6090e1", "updated_at": "2019-08-24T14:15:22Z" } ], "meta": { "api_version": "2026-04-23", "limit": 50, "next_cursor": "eyJpZCI6ICJhYmMifQ==", "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f" }}Validates dimension/basis coherence against the referenced manual measure type: exactly the dimension column matching the type dimension is set (org types set none), and exactly the temporal column matching the type basis is set (flow → period_month, balance → as_of_date). A duplicate (type, dimension, period/as-of) slot conflicts.
Required scope: statistics:write
Error codes: VALIDATION_FAILED, CONFLICT, IDEMPOTENCY_KEY_REQUIRED, INVALID_IDEMPOTENCY_KEY, IDEMPOTENCY_CONFLICT
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
as_of_date?stringThe as-of date a balance-type quantity is measured at.
datelegal_entity_id?stringSet only for a legal_entity-dimension type.
uuidmeasure_type_id*stringThe manual measure type this entry records a quantity for.
uuidperiod_month?stringThe period a flow-type quantity belongs to. Must be the first day of the month (YYYY-MM-01).
dateproperty_id?stringSet only for a property-dimension type.
uuidquantity*stringThe recorded quantity as a decimal string (numeric(18,4)).
space_id?stringSet only for a space-dimension type.
uuidapplication/json- response
data*meta*curl -X POST 'https://api.acreum.io/v1/statistical-measures' \ -H 'Idempotency-Key: string' \ -H 'Content-Type: application/json' \ -d '{ "measure_type_id": "2b1f364d-f03d-46a4-ae63-efb5eb59f9b0", "quantity": "1200.5000"}'{ "data": { "as_of_date": "2019-08-24", "created_at": "2019-08-24T14:15:22Z", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "legal_entity_id": "8c040143-e03c-45a0-b1bc-85161701d839", "measure_type_id": "2b1f364d-f03d-46a4-ae63-efb5eb59f9b0", "period_month": "2019-08-24", "property_id": "05003a8a-8f3c-454b-8884-a906ec46f5f5", "quantity": "string", "space_id": "22cc9270-58a2-4d80-a821-13400b6090e1", "updated_at": "2019-08-24T14:15:22Z" }, "meta": { "api_version": "2026-04-23", "cursor": { "has_more": true, "next": "eyJpZCI6ICJhYmMifQ==" }, "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f", "total_count": 1234 }}Required scope: statistics:read
Error codes: NOT_FOUND
access-tokenAuthorizationBearer <token>id*stringapplication/json- response
data*meta*curl -X GET 'https://api.acreum.io/v1/statistical-measures/string'{ "data": { "as_of_date": "2019-08-24", "created_at": "2019-08-24T14:15:22Z", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "legal_entity_id": "8c040143-e03c-45a0-b1bc-85161701d839", "measure_type_id": "2b1f364d-f03d-46a4-ae63-efb5eb59f9b0", "period_month": "2019-08-24", "property_id": "05003a8a-8f3c-454b-8884-a906ec46f5f5", "quantity": "string", "space_id": "22cc9270-58a2-4d80-a821-13400b6090e1", "updated_at": "2019-08-24T14:15:22Z" }, "meta": { "api_version": "2026-04-23", "cursor": { "has_more": true, "next": "eyJpZCI6ICJhYmMifQ==" }, "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f", "total_count": 1234 }}Required scope: statistics:write
Error codes: VALIDATION_FAILED, NOT_FOUND, CONFLICT, 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 <= 255application/json- body
as_of_date?stringFor balance types. Mutually exclusive with period_month.
dateperiod_month?stringFor flow types — first day of the month (YYYY-MM-01). Mutually exclusive with as_of_date.
datequantity?stringThe recorded quantity as a decimal string (numeric(18,4)).
application/json- response
data*meta*curl -X PATCH 'https://api.acreum.io/v1/statistical-measures/string' \ -H 'Content-Type: application/json' \ -d '{}'{ "data": { "as_of_date": "2019-08-24", "created_at": "2019-08-24T14:15:22Z", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "legal_entity_id": "8c040143-e03c-45a0-b1bc-85161701d839", "measure_type_id": "2b1f364d-f03d-46a4-ae63-efb5eb59f9b0", "period_month": "2019-08-24", "property_id": "05003a8a-8f3c-454b-8884-a906ec46f5f5", "quantity": "string", "space_id": "22cc9270-58a2-4d80-a821-13400b6090e1", "updated_at": "2019-08-24T14:15:22Z" }, "meta": { "api_version": "2026-04-23", "cursor": { "has_more": true, "next": "eyJpZCI6ICJhYmMifQ==" }, "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f", "total_count": 1234 }}Required scope: statistics:write
Error codes: NOT_FOUND, 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/statistical-measures/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"}