Acreum Docs
Properties & leasing

Expense Recovery

POST
/v1/expense-recovery/billing

Nets ALL of a tenant's ready charges — across every recovery group, module, and fee — into a single invoice or credit memo. Mixed signs net inside one document rather than crossing in the mail. A tenant whose charges net to exactly zero is settled with no document produced. Refuses (VALIDATION_FAILED) if a tenant has charges but no counterparty party configured on its contract.

Required scope: expense-recovery:write

Error codes: VALIDATION_FAILED, NOT_FOUND, DIMENSION_REQUIRED

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
contract_ids?array<string>

Narrows collection to these tenants only. Omit (or send an empty array) to collect every tenant with charges on the shelf.

property_id*string

The property to bill. Collects every ready charge on its shelf.

Formatuuid

Response Body

application/json
  1. response
data*
meta*
curl -X POST 'https://api.acreum.io/v1/expense-recovery/billing' \  -H 'Idempotency-Key: string' \  -H 'Content-Type: application/json' \  -d '{  "property_id": "05003a8a-8f3c-454b-8884-a906ec46f5f5"}'
{  "data": {    "billed_at": "string",    "documents": [      {        "amount": "400.00",        "contract_id": "9aafc1a8-e497-46c9-ba0b-bd5b03c353e4",        "document_id": "b792e8ae-2cb4-4209-85b9-32be4c2fcdd6",        "kind": "invoice",        "lines": [          {            "account_id": "449e7a5c-69d3-4b8a-aaaf-5c9b713ebc65",            "amount": "1200.00",            "description": "string"          }        ]      }    ],    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",    "property_id": "05003a8a-8f3c-454b-8884-a906ec46f5f5",    "settled_without_document": [      "string"    ]  },  "meta": {    "api_version": "2026-04-23",    "cursor": {      "has_more": true,      "next": "eyJpZCI6ICJhYmMifQ=="    },    "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f",    "total_count": 1234  }}
GET
/v1/expense-recovery/billing/preview

Nets every ready charge on the shelf (run true-ups from any recovery group, module tax shares, direct fees) per tenant. A tenant whose charges net to exactly zero shows kind "none" — billing would settle it without a document.

Required scope: expense-recovery:read

Pagination: cursor-optional

Error codes: VALIDATION_FAILED, INVALID_CURSOR

Authorization

access-token
headerAuthorizationBearer <token>

Query Parameters

property_id*string

The property to scope the read to.

Formatuuid
cursor?string
limit?number

1..500. Omit to receive the full collection in one page.

Response Body

application/json
  1. response
data*array<>
meta*
curl -X GET 'https://api.acreum.io/v1/expense-recovery/billing/preview?property_id=497f6eca-6276-4993-bfeb-53cbbbba6f08'
{  "data": [    {      "amount": "400.00",      "charge_count": 2,      "contract_id": "9aafc1a8-e497-46c9-ba0b-bd5b03c353e4",      "kind": "invoice"    }  ],  "meta": {    "api_version": "2026-04-23",    "limit": 50,    "next_cursor": "eyJpZCI6ICJhYmMifQ==",    "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f"  }}
GET
/v1/expense-recovery/billings

Required scope: expense-recovery:read

Pagination: cursor-optional

Error codes: VALIDATION_FAILED, INVALID_CURSOR

Authorization

access-token
headerAuthorizationBearer <token>

Query Parameters

property_id*string

The property to scope the read to.

Formatuuid
cursor?string
limit?number

1..500. Omit to receive the full collection in one page.

Response Body

application/json
  1. response
data*array<>
meta*
curl -X GET 'https://api.acreum.io/v1/expense-recovery/billings?property_id=497f6eca-6276-4993-bfeb-53cbbbba6f08'
{  "data": [    {      "billed_at": "string",      "created_at": "string",      "created_by": "ee824cad-d7a6-4f48-87dc-e8461a9201c4",      "documents": [        {          "amount": "400.00",          "balance": "400.00",          "contract_id": "9aafc1a8-e497-46c9-ba0b-bd5b03c353e4",          "document_id": "b792e8ae-2cb4-4209-85b9-32be4c2fcdd6",          "kind": "invoice"        }      ],      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",      "property_id": "05003a8a-8f3c-454b-8884-a906ec46f5f5"    }  ],  "meta": {    "api_version": "2026-04-23",    "limit": 50,    "next_cursor": "eyJpZCI6ICJhYmMifQ==",    "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f"  }}
GET
/v1/expense-recovery/charges

Plain audit listing over the charge shelf — distinct from the internal billing-shelf query, which additionally gates on settled_at and run approval. billed=true shows collected charges; billed=false shows everything not yet collected (including a charge staged by a run still pending approval); omit billed to see everything. run_id narrows to a single run’s charges; module charges (source=re_tax) carry no run and drop out when it is set.

Required scope: expense-recovery:read

Pagination: cursor-optional

Error codes: VALIDATION_FAILED, INVALID_CURSOR

Authorization

access-token
headerAuthorizationBearer <token>

Query Parameters

property_id*string

The property to scope the read to.

Formatuuid
contract_id?string
Formatuuid
run_id?string

Narrow to one run’s charges. Module charges (source=re_tax) have no run and are excluded whenever this is set.

Formatuuid
billed?string

true = collected charges only; false = everything not yet collected; omit = everything.

Value in"true""false"
cursor?string
limit?number

1..500. Omit to receive the full collection in one page.

Response Body

application/json
  1. response
data*array<>
meta*
curl -X GET 'https://api.acreum.io/v1/expense-recovery/charges?property_id=497f6eca-6276-4993-bfeb-53cbbbba6f08'
{  "data": [    {      "account_id": "449e7a5c-69d3-4b8a-aaaf-5c9b713ebc65",      "amount": "1200.00",      "billed_document_id": "9345755d-6be6-44e3-a3cc-190192c09a61",      "contract_id": "9aafc1a8-e497-46c9-ba0b-bd5b03c353e4",      "created_at": "string",      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",      "memo": "string",      "period_end": "2025-12-31",      "period_start": "2025-01-01",      "property_id": "05003a8a-8f3c-454b-8884-a906ec46f5f5",      "recovery_group_id": "00a77dad-d4ad-4f06-8ab9-e5c001d2220c",      "run_id": "dded282c-8ebd-44cf-8ba5-9a234973d1ec",      "settled_at": "string",      "source": "run",      "source_ref": "string"    }  ],  "meta": {    "api_version": "2026-04-23",    "limit": 50,    "next_cursor": "eyJpZCI6ICJhYmMifQ==",    "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f"  }}

List recovery groups

GET
/v1/expense-recovery/groups

Required scope: expense-recovery:read

Pagination: none

Error codes: VALIDATION_FAILED

Authorization

access-token
headerAuthorizationBearer <token>

Query Parameters

property_id*string
code*string
include_inactive*string

Response Body

application/json
  1. response
data*array<>
meta*
curl -X GET 'https://api.acreum.io/v1/expense-recovery/groups?property_id=string&code=string&include_inactive=string'
{  "data": [    {      "code": "CAM",      "created_at": "string",      "frequency": "annual",      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",      "is_active": true,      "legal_entity_id": "8c040143-e03c-45a0-b1bc-85161701d839",      "modified_at": "string",      "name": "string",      "period_start_day": 0,      "period_start_month": 0,      "property_id": "05003a8a-8f3c-454b-8884-a906ec46f5f5",      "reconciliation_months": [        0      ],      "recovery_income_account_id": "6801708e-b7b4-44fc-817e-e65768e4e091"    }  ],  "meta": {    "api_version": "2026-04-23",    "cursor": {      "has_more": true,      "next": "eyJpZCI6ICJhYmMifQ=="    },    "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f",    "total_count": 1234  }}

Create a recovery group

POST
/v1/expense-recovery/groups

Required scope: expense-recovery:write

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

Error codes: VALIDATION_FAILED, NOT_FOUND, ACCOUNT_LEGAL_ENTITY_MISMATCH

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
code*string

Unique per property; portfolio rollups group by this

Lengthlength <= 32
frequency?string

Only annual is implemented. quarterly and monthly are accepted by schema validation but rejected at write time with 400 VALIDATION_FAILED; they remain in the enum so the published contract stays backward compatible.

Default"annual"
Value in"annual""quarterly""monthly"
legal_entity_id*string
Formatuuid
name*string
Lengthlength <= 128
period_start_day?number
Range1 <= value <= 31
Default1
period_start_month?number
Range1 <= value <= 12
Default1
property_id*string

The property this cycle reconciles

Formatuuid
reconciliation_months?array<number>

Months the cycle is performed and billed in. Drives the run-due signal only.

Default
[  1]
recovery_income_account_id?|

The income account this group's recovery revenue posts to. Must be an income-type account in the org. Null clears the group income account; omitted or null falls back to the org's default recovery income account.

Formatuuid

Response Body

application/json
  1. response
data*
meta*
curl -X POST 'https://api.acreum.io/v1/expense-recovery/groups' \  -H 'Idempotency-Key: string' \  -H 'Content-Type: application/json' \  -d '{  "code": "CAM",  "legal_entity_id": "8c040143-e03c-45a0-b1bc-85161701d839",  "name": "Easton — CAM",  "property_id": "05003a8a-8f3c-454b-8884-a906ec46f5f5"}'
{  "data": {    "code": "CAM",    "created_at": "string",    "frequency": "annual",    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",    "is_active": true,    "legal_entity_id": "8c040143-e03c-45a0-b1bc-85161701d839",    "modified_at": "string",    "name": "string",    "period_start_day": 0,    "period_start_month": 0,    "property_id": "05003a8a-8f3c-454b-8884-a906ec46f5f5",    "reconciliation_months": [      0    ],    "recovery_income_account_id": "6801708e-b7b4-44fc-817e-e65768e4e091"  },  "meta": {    "api_version": "2026-04-23",    "cursor": {      "has_more": true,      "next": "eyJpZCI6ICJhYmMifQ=="    },    "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f",    "total_count": 1234  }}

Get a recovery group

GET
/v1/expense-recovery/groups/{id}

Required scope: expense-recovery: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/expense-recovery/groups/string'
{  "data": {    "code": "CAM",    "created_at": "string",    "frequency": "annual",    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",    "is_active": true,    "legal_entity_id": "8c040143-e03c-45a0-b1bc-85161701d839",    "modified_at": "string",    "name": "string",    "period_start_day": 0,    "period_start_month": 0,    "property_id": "05003a8a-8f3c-454b-8884-a906ec46f5f5",    "reconciliation_months": [      0    ],    "recovery_income_account_id": "6801708e-b7b4-44fc-817e-e65768e4e091"  },  "meta": {    "api_version": "2026-04-23",    "cursor": {      "has_more": true,      "next": "eyJpZCI6ICJhYmMifQ=="    },    "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f",    "total_count": 1234  }}

Update a recovery group

PATCH
/v1/expense-recovery/groups/{id}

Required scope: expense-recovery:write

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

Error codes: VALIDATION_FAILED, NOT_FOUND, 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
frequency?string

Only annual is implemented. quarterly and monthly are accepted by schema validation but rejected at write time with 400 VALIDATION_FAILED; they remain in the enum so the published contract stays backward compatible.

Default"annual"
Value in"annual""quarterly""monthly"
is_active?boolean
legal_entity_id?string
Formatuuid
name?string
Lengthlength <= 128
period_start_day?number
Range1 <= value <= 31
Default1
period_start_month?number
Range1 <= value <= 12
Default1
property_id?string

The property this cycle reconciles

Formatuuid
reconciliation_months?array<number>

Months the cycle is performed and billed in. Drives the run-due signal only.

Default
[  1]
recovery_income_account_id?|

The income account this group's recovery revenue posts to. Must be an income-type account in the org. Null clears the group income account; omitted or null falls back to the org's default recovery income account.

Formatuuid

Response Body

application/json
  1. response
data*
meta*
curl -X PATCH 'https://api.acreum.io/v1/expense-recovery/groups/string' \  -H 'Content-Type: application/json' \  -d '{}'
{  "data": {    "code": "CAM",    "created_at": "string",    "frequency": "annual",    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",    "is_active": true,    "legal_entity_id": "8c040143-e03c-45a0-b1bc-85161701d839",    "modified_at": "string",    "name": "string",    "period_start_day": 0,    "period_start_month": 0,    "property_id": "05003a8a-8f3c-454b-8884-a906ec46f5f5",    "reconciliation_months": [      0    ],    "recovery_income_account_id": "6801708e-b7b4-44fc-817e-e65768e4e091"  },  "meta": {    "api_version": "2026-04-23",    "cursor": {      "has_more": true,      "next": "eyJpZCI6ICJhYmMifQ=="    },    "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f",    "total_count": 1234  }}
DELETE
/v1/expense-recovery/groups/{id}

Required scope: expense-recovery:write

Error codes: VALIDATION_FAILED, 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

Possible error codes: VALIDATION_FAILED, INVALID_IDEMPOTENCY_KEY

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/expense-recovery/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"}
GET
/v1/expense-recovery/groups/{id}/accounts

Every account the group recovers, with the per-account allocation rules: classification, cap eligibility, denominator basis and gross-up. An account is recovered by at most one group per property.

Required scope: expense-recovery:read

Pagination: none

Error codes: NOT_FOUND

Authorization

access-token
headerAuthorizationBearer <token>

Path Parameters

id*string

Response Body

application/json
  1. response
data*array<>
meta*
curl -X GET 'https://api.acreum.io/v1/expense-recovery/groups/string/accounts'
{  "data": [    {      "account_id": "449e7a5c-69d3-4b8a-aaaf-5c9b713ebc65",      "classification": "fixed",      "denominator_basis": "participant_area",      "fixed_area": 0,      "gross_up_enabled": true,      "gross_up_target_occupancy": 0,      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",      "is_controllable": true,      "recovery_group_id": "00a77dad-d4ad-4f06-8ab9-e5c001d2220c"    }  ],  "meta": {    "api_version": "2026-04-23",    "cursor": {      "has_more": true,      "next": "eyJpZCI6ICJhYmMifQ=="    },    "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f",    "total_count": 1234  }}
PUT
/v1/expense-recovery/groups/{id}/accounts

REPLACES the whole set in one transaction. An account dropped from the payload is removed, which is refused while any lease still has a term row on it. An empty array clears the set. Re-runs the account-rule sweep once after all additions, so a newly-added account backfills already-posted journal lines that predate the change.

Required scope: expense-recovery:write

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

Error codes: VALIDATION_FAILED, NOT_FOUND, 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
accounts*array<>

Response Body

application/json
  1. response
data*array<>
meta*
curl -X PUT 'https://api.acreum.io/v1/expense-recovery/groups/string/accounts' \  -H 'Content-Type: application/json' \  -d '{  "accounts": [    {      "account_id": "449e7a5c-69d3-4b8a-aaaf-5c9b713ebc65"    }  ]}'
{  "data": [    {      "account_id": "449e7a5c-69d3-4b8a-aaaf-5c9b713ebc65",      "classification": "fixed",      "denominator_basis": "participant_area",      "fixed_area": 0,      "gross_up_enabled": true,      "gross_up_target_occupancy": 0,      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",      "is_controllable": true,      "recovery_group_id": "00a77dad-d4ad-4f06-8ab9-e5c001d2220c"    }  ],  "meta": {    "api_version": "2026-04-23",    "cursor": {      "has_more": true,      "next": "eyJpZCI6ICJhYmMifQ=="    },    "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f",    "total_count": 1234  }}
GET
/v1/expense-recovery/groups/{id}/contributions

Required scope: expense-recovery:read

Pagination: cursor-optional

Error codes: NOT_FOUND, INVALID_CURSOR, VALIDATION_FAILED

Authorization

access-token
headerAuthorizationBearer <token>

Path Parameters

id*string

Query Parameters

cursor?string
limit?number

1..500. Omit to receive the full collection in one page.

Response Body

application/json
  1. response
data*array<>
meta*
curl -X GET 'https://api.acreum.io/v1/expense-recovery/groups/string/contributions'
{  "data": [    {      "account_id": "449e7a5c-69d3-4b8a-aaaf-5c9b713ebc65",      "amount": "string",      "created_at": "2019-08-24T14:15:22Z",      "entry_date": "string",      "entry_status": "posted",      "fraction": "1",      "is_effective": true,      "journal_line_id": "0037d581-383e-4457-9c0d-c60ad65177dc",      "recovery_group_id": "00a77dad-d4ad-4f06-8ab9-e5c001d2220c",      "source": "rule",      "source_id": "ae50a35c-df42-4eff-ba26-f8bc28d2af81",      "source_type": "string"    }  ],  "meta": {    "api_version": "2026-04-23",    "limit": 50,    "next_cursor": "eyJpZCI6ICJhYmMifQ==",    "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f"  }}
PATCH
/v1/expense-recovery/groups/{id}/contributions/{lineId}

Required scope: expense-recovery:write

Error codes: VALIDATION_FAILED, NOT_FOUND, INVALID_IDEMPOTENCY_KEY, IDEMPOTENCY_CONFLICT

Authorization

access-token
headerAuthorizationBearer <token>

Path Parameters

id*string
lineId*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
fraction*string

Response Body

application/json
  1. response
data*
meta*
curl -X PATCH 'https://api.acreum.io/v1/expense-recovery/groups/string/contributions/string' \  -H 'Content-Type: application/json' \  -d '{  "fraction": "0.6"}'
{  "data": {    "account_id": "449e7a5c-69d3-4b8a-aaaf-5c9b713ebc65",    "amount": "string",    "created_at": "2019-08-24T14:15:22Z",    "entry_date": "string",    "entry_status": "posted",    "fraction": "1",    "is_effective": true,    "journal_line_id": "0037d581-383e-4457-9c0d-c60ad65177dc",    "recovery_group_id": "00a77dad-d4ad-4f06-8ab9-e5c001d2220c",    "source": "rule",    "source_id": "ae50a35c-df42-4eff-ba26-f8bc28d2af81",    "source_type": "string"  },  "meta": {    "api_version": "2026-04-23",    "cursor": {      "has_more": true,      "next": "eyJpZCI6ICJhYmMifQ=="    },    "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f",    "total_count": 1234  }}
DELETE
/v1/expense-recovery/groups/{id}/contributions/{lineId}

Required scope: expense-recovery:write

Error codes: VALIDATION_FAILED, NOT_FOUND, INVALID_IDEMPOTENCY_KEY, IDEMPOTENCY_CONFLICT

Authorization

access-token
headerAuthorizationBearer <token>

Path Parameters

id*string
lineId*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

Possible error codes: VALIDATION_FAILED, INVALID_IDEMPOTENCY_KEY

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/expense-recovery/groups/string/contributions/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"}
GET
/v1/expense-recovery/groups/{id}/templates

Every template defined on the group, each with its row set. A template is a reusable set of term rows a lease can be stamped from.

Required scope: expense-recovery:read

Pagination: none

Error codes: NOT_FOUND

Authorization

access-token
headerAuthorizationBearer <token>

Path Parameters

id*string

Response Body

application/json
  1. response
data*array<>
meta*
curl -X GET 'https://api.acreum.io/v1/expense-recovery/groups/string/templates'
{  "data": [    {      "code": "STD",      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",      "is_active": true,      "name": "string",      "recovery_group_id": "00a77dad-d4ad-4f06-8ab9-e5c001d2220c",      "rows": [        {          "account_id": "449e7a5c-69d3-4b8a-aaaf-5c9b713ebc65",          "admin_fee_pct": 0,          "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",          "in_cap": true,          "participates": true,          "recovery_group_id": "00a77dad-d4ad-4f06-8ab9-e5c001d2220c",          "share_rule": {            "basis": "participant_area",            "denominator": 0,            "numerator": 0,            "reason": "string"          },          "template_id": "c6d67e98-83ea-49f0-8812-e4abae2b68bc"        }      ]    }  ],  "meta": {    "api_version": "2026-04-23",    "cursor": {      "has_more": true,      "next": "eyJpZCI6ICJhYmMifQ=="    },    "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f",    "total_count": 1234  }}
POST
/v1/expense-recovery/groups/{id}/templates

Creates the template and its rows. Every account named must be one the group recovers. Creating a template stamps nothing — POST .../apply is what puts it on a lease.

Required scope: expense-recovery:write

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

Error codes: VALIDATION_FAILED, 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. 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
code*string
Lengthlength <= 32
name*string
Lengthlength <= 128
rows*array<>

Response Body

application/json
  1. response
data*
meta*
curl -X POST 'https://api.acreum.io/v1/expense-recovery/groups/string/templates' \  -H 'Idempotency-Key: string' \  -H 'Content-Type: application/json' \  -d '{  "code": "STD",  "name": "Standard CAM terms",  "rows": [    {      "account_id": "449e7a5c-69d3-4b8a-aaaf-5c9b713ebc65"    }  ]}'
{  "data": {    "code": "STD",    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",    "is_active": true,    "name": "string",    "recovery_group_id": "00a77dad-d4ad-4f06-8ab9-e5c001d2220c",    "rows": [      {        "account_id": "449e7a5c-69d3-4b8a-aaaf-5c9b713ebc65",        "admin_fee_pct": 0,        "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",        "in_cap": true,        "participates": true,        "recovery_group_id": "00a77dad-d4ad-4f06-8ab9-e5c001d2220c",        "share_rule": {          "basis": "participant_area",          "denominator": 0,          "numerator": 0,          "reason": "string"        },        "template_id": "c6d67e98-83ea-49f0-8812-e4abae2b68bc"      }    ]  },  "meta": {    "api_version": "2026-04-23",    "cursor": {      "has_more": true,      "next": "eyJpZCI6ICJhYmMifQ=="    },    "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f",    "total_count": 1234  }}

Update a term template

PATCH
/v1/expense-recovery/groups/{id}/templates/{tid}

Supplying rows REPLACES the row set AND pushes it to every lease still tracking the template; pushed_contracts reports how many were restamped. A header-only patch pushes nothing and reports 0.

Required scope: expense-recovery:write

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

Error codes: VALIDATION_FAILED, NOT_FOUND, INVALID_IDEMPOTENCY_KEY, IDEMPOTENCY_CONFLICT

Authorization

access-token
headerAuthorizationBearer <token>

Path Parameters

id*string
tid*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 <= 32
is_active?boolean
name?string
Lengthlength <= 128
rows?array<>

Response Body

application/json
  1. response
data*
meta*
curl -X PATCH 'https://api.acreum.io/v1/expense-recovery/groups/string/templates/string' \  -H 'Content-Type: application/json' \  -d '{}'
{  "data": {    "code": "STD",    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",    "is_active": true,    "name": "string",    "pushed_contracts": 0,    "recovery_group_id": "00a77dad-d4ad-4f06-8ab9-e5c001d2220c",    "rows": [      {        "account_id": "449e7a5c-69d3-4b8a-aaaf-5c9b713ebc65",        "admin_fee_pct": 0,        "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",        "in_cap": true,        "participates": true,        "recovery_group_id": "00a77dad-d4ad-4f06-8ab9-e5c001d2220c",        "share_rule": {          "basis": "participant_area",          "denominator": 0,          "numerator": 0,          "reason": "string"        },        "template_id": "c6d67e98-83ea-49f0-8812-e4abae2b68bc"      }    ]  },  "meta": {    "api_version": "2026-04-23",    "cursor": {      "has_more": true,      "next": "eyJpZCI6ICJhYmMifQ=="    },    "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f",    "total_count": 1234  }}

Delete a term template

DELETE
/v1/expense-recovery/groups/{id}/templates/{tid}

Deletes the template and its rows. The term rows it stamped stay on their leases; they simply stop tracking a template.

Required scope: expense-recovery:write

Error codes: VALIDATION_FAILED, NOT_FOUND, INVALID_IDEMPOTENCY_KEY, IDEMPOTENCY_CONFLICT

Authorization

access-token
headerAuthorizationBearer <token>

Path Parameters

id*string
tid*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

Possible error codes: VALIDATION_FAILED, INVALID_IDEMPOTENCY_KEY

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/expense-recovery/groups/string/templates/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"}
POST
/v1/expense-recovery/groups/{id}/templates/{tid}/apply

Writes the template's rows as term rows on every named lease. A row a hand edit had detached is left alone and counted in skipped_manual, unless reset is true. Each lease must be at the group's property and already have a recovery profile in the group.

Required scope: expense-recovery:write

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

Error codes: VALIDATION_FAILED, NOT_FOUND, INVALID_IDEMPOTENCY_KEY, IDEMPOTENCY_CONFLICT

Authorization

access-token
headerAuthorizationBearer <token>

Path Parameters

id*string
tid*string

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
contract_ids*array<>

The leases to stamp. Must name at least one.

reset?boolean

true also restamps rows a hand edit had detached from the template; false (the default) leaves those manual rows alone and reports them as skipped_manual.

Defaultfalse

Response Body

application/json
  1. response
data*
meta*
curl -X POST 'https://api.acreum.io/v1/expense-recovery/groups/string/templates/string/apply' \  -H 'Idempotency-Key: string' \  -H 'Content-Type: application/json' \  -d '{  "contract_ids": [    "9ef16716-7aa3-4e90-9c9f-d8824c842f73"  ]}'
{  "data": {    "applied": 0,    "skipped_manual": 0  },  "meta": {    "api_version": "2026-04-23",    "cursor": {      "has_more": true,      "next": "eyJpZCI6ICJhYmMifQ=="    },    "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f",    "total_count": 1234  }}
GET
/v1/expense-recovery/groups/{id}/terms

Every (lease, account) term row in the group, or one lease's rows when contract_id is given. A row records whether the lease participates in that account and the overrides that apply to it.

Required scope: expense-recovery:read

Pagination: none

Error codes: VALIDATION_FAILED, NOT_FOUND

Authorization

access-token
headerAuthorizationBearer <token>

Path Parameters

id*string

Query Parameters

contract_id?string

Narrow to one lease’s terms in this group.

Formatuuid

Response Body

application/json
  1. response
data*array<>
meta*
curl -X GET 'https://api.acreum.io/v1/expense-recovery/groups/string/terms'
{  "data": [    {      "account_id": "449e7a5c-69d3-4b8a-aaaf-5c9b713ebc65",      "admin_fee_pct": 0,      "contract_id": "9aafc1a8-e497-46c9-ba0b-bd5b03c353e4",      "effective_end": "2019-08-24",      "effective_start": "2019-08-24",      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",      "in_cap": true,      "participates": true,      "recovery_group_id": "00a77dad-d4ad-4f06-8ab9-e5c001d2220c",      "share_rule": {        "basis": "participant_area",        "denominator": 0,        "numerator": 0,        "reason": "string"      },      "template_id": "c6d67e98-83ea-49f0-8812-e4abae2b68bc",      "tracks_template": true    }  ],  "meta": {    "api_version": "2026-04-23",    "cursor": {      "has_more": true,      "next": "eyJpZCI6ICJhYmMifQ=="    },    "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f",    "total_count": 1234  }}
PUT
/v1/expense-recovery/groups/{id}/terms/{contractId}

REPLACES every term the lease has in this group. Each account named must be one the group recovers, and the lease must already have a recovery profile in the group. Every row written is detached from its template, so a later template push skips it — saving the grid is a hand edit.

Required scope: expense-recovery:write

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

Error codes: VALIDATION_FAILED, NOT_FOUND, INVALID_IDEMPOTENCY_KEY, IDEMPOTENCY_CONFLICT

Authorization

access-token
headerAuthorizationBearer <token>

Path Parameters

id*string
contractId*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
terms*array<>

Response Body

application/json
  1. response
data*array<>
meta*
curl -X PUT 'https://api.acreum.io/v1/expense-recovery/groups/string/terms/string' \  -H 'Content-Type: application/json' \  -d '{  "terms": [    {      "account_id": "449e7a5c-69d3-4b8a-aaaf-5c9b713ebc65"    }  ]}'
{  "data": [    {      "account_id": "449e7a5c-69d3-4b8a-aaaf-5c9b713ebc65",      "admin_fee_pct": 0,      "contract_id": "9aafc1a8-e497-46c9-ba0b-bd5b03c353e4",      "effective_end": "2019-08-24",      "effective_start": "2019-08-24",      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",      "in_cap": true,      "participates": true,      "recovery_group_id": "00a77dad-d4ad-4f06-8ab9-e5c001d2220c",      "share_rule": {        "basis": "participant_area",        "denominator": 0,        "numerator": 0,        "reason": "string"      },      "template_id": "c6d67e98-83ea-49f0-8812-e4abae2b68bc",      "tracks_template": true    }  ],  "meta": {    "api_version": "2026-04-23",    "cursor": {      "has_more": true,      "next": "eyJpZCI6ICJhYmMifQ=="    },    "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f",    "total_count": 1234  }}
GET
/v1/expense-recovery/module-accounts

The lock is per-property even though accounts are org-wide, matching UNIQUE (org_id, property_id, account_id). Without this read, GET /groups/:id/accounts returns rows only for accounts a recovery group names, so a module-locked account (in no group) produces no row at all — the FE cannot render the parent spec's disabled band without fetching the lock separately. Ordered by account_id.

Required scope: expense-recovery:read

Pagination: none

Error codes: VALIDATION_FAILED

Authorization

access-token
headerAuthorizationBearer <token>

Query Parameters

property_id*string

The property to scope the read to.

Formatuuid

Response Body

application/json
  1. response
data*array<>
meta*
curl -X GET 'https://api.acreum.io/v1/expense-recovery/module-accounts?property_id=497f6eca-6276-4993-bfeb-53cbbbba6f08'
{  "data": [    {      "account_id": "449e7a5c-69d3-4b8a-aaaf-5c9b713ebc65",      "created_at": "string",      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",      "module": "string",      "property_id": "05003a8a-8f3c-454b-8884-a906ec46f5f5",      "reason": "string"    }  ],  "meta": {    "api_version": "2026-04-23",    "cursor": {      "has_more": true,      "next": "eyJpZCI6ICJhYmMifQ=="    },    "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f",    "total_count": 1234  }}
POST
/v1/expense-recovery/module-accounts

Registers that a module (e.g. RE Taxes) recovers this account on this property outside any recovery group. Rejects with VALIDATION_FAILED when the account is already named by a group there — remove it from that group first, or split the account.

Required scope: expense-recovery:write

Error codes: VALIDATION_FAILED, NOT_FOUND, CONFLICT, ACCOUNT_LEGAL_ENTITY_MISMATCH

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
account_id*string
Formatuuid
module*string
Value in"re_tax""insurance"
property_id*string
Formatuuid
reason*string

Response Body

application/json
  1. response
data*
meta*
curl -X POST 'https://api.acreum.io/v1/expense-recovery/module-accounts' \  -H 'Idempotency-Key: string' \  -H 'Content-Type: application/json' \  -d '{  "account_id": "449e7a5c-69d3-4b8a-aaaf-5c9b713ebc65",  "module": "re_tax",  "property_id": "05003a8a-8f3c-454b-8884-a906ec46f5f5",  "reason": "string"}'
{  "data": {    "account_id": "449e7a5c-69d3-4b8a-aaaf-5c9b713ebc65",    "created_at": "string",    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",    "module": "string",    "property_id": "05003a8a-8f3c-454b-8884-a906ec46f5f5",    "reason": "string"  },  "meta": {    "api_version": "2026-04-23",    "cursor": {      "has_more": true,      "next": "eyJpZCI6ICJhYmMifQ=="    },    "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f",    "total_count": 1234  }}

Release a module lock

DELETE
/v1/expense-recovery/module-accounts/{id}

Required scope: expense-recovery:write

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

Possible error codes: INVALID_IDEMPOTENCY_KEY

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/expense-recovery/module-accounts/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"}
GET
/v1/expense-recovery/profiles

Required scope: expense-recovery:read

Pagination: cursor-optional

Error codes: VALIDATION_FAILED, INVALID_CURSOR

Authorization

access-token
headerAuthorizationBearer <token>

Query Parameters

contract_id?string
Formatuuid
recovery_group_id?string
Formatuuid
cursor?string
limit?number

1..500. Omit to receive the full collection in one page.

Response Body

application/json
  1. response
data*array<>
meta*
curl -X GET 'https://api.acreum.io/v1/expense-recovery/profiles'
{  "data": [    {      "admin_fee_pct": 0,      "base_year_amount": "1234.50",      "cap_base_amount": "1234.50",      "cap_base_year": 0,      "cap_pct": 0.05,      "cap_type": "none",      "contract_id": "9aafc1a8-e497-46c9-ba0b-bd5b03c353e4",      "created_at": "string",      "effective_end": "2026-12-31",      "effective_start": "2026-01-01",      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",      "modified_at": "string",      "recovery_group_id": "00a77dad-d4ad-4f06-8ab9-e5c001d2220c",      "share_rule": {        "basis": "participant_area",        "denominator": 0,        "numerator": 0,        "reason": "string"      }    }  ],  "meta": {    "api_version": "2026-04-23",    "limit": 50,    "next_cursor": "eyJpZCI6ICJhYmMifQ==",    "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f"  }}
PUT
/v1/expense-recovery/profiles

The lease-level half of the deal — share, base year, cap, admin fee — entered once per (contract, recovery group) and shared by every account that group recovers. The profile must exist before any recovery term for the same (contract, recovery group) can be written (spec 2026-09-19 D3); which accounts sit under the cap is a per-term flag (in_cap), so a cap no longer needs a second call.

Required scope: expense-recovery:write

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

Error codes: VALIDATION_FAILED, NOT_FOUND, 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
admin_fee_pct?|

The lease-level default. A recovery_terms.admin_fee_pct on an account wins over it; a run admin_fee adjustment wins over both; null here means 0%. A value of 0 is honoured as a real 0% fee.

Range0 <= value
base_year_amount?string|null
cap_base_amount?|

The recoverable amount a cumulative/compounding ceiling compounds from. Required for those cap types.

cap_base_year?|

The year a cumulative/compounding ceiling compounds from. Required for those cap types.

cap_pct?|

Cap ceiling as a fraction. Deliberately has NO upper bound — a cap above 100% is a real deal term.

Range0 <= value
cap_type?|

How the recoverable ceiling is built. 'none' = uncapped. 'annual' = the prior approved run's recoverable over the group's in-cap accounts, grossed by cap_pct; if the group has no approved prior run the cap is skipped and the run line is flagged cap_skipped_no_prior. 'cumulative' = cap_base_amount grown linearly from cap_base_year (base x (1 + cap_pct x years elapsed)); 'compounding' = grown geometrically (base x (1 + cap_pct) ^ years elapsed), both requiring cap_base_year and cap_base_amount. All four now behave distinctly. The ceiling applies PER LEASE across the recovery group's in-cap accounts, not per account: any reduction is allocated back across those accounts pro-rata.

Default"none"
Value in"none""annual""cumulative""compounding"
contract_id*string
Formatuuid
effective_end?string|null
effective_start?string|null
recovery_group_id*string
Formatuuid
share_rule?|null

Null inherits the tier below.

Response Body

application/json
  1. response
data*
meta*
curl -X PUT 'https://api.acreum.io/v1/expense-recovery/profiles' \  -H 'Content-Type: application/json' \  -d '{  "contract_id": "9aafc1a8-e497-46c9-ba0b-bd5b03c353e4",  "recovery_group_id": "00a77dad-d4ad-4f06-8ab9-e5c001d2220c"}'
{  "data": {    "admin_fee_pct": 0,    "base_year_amount": "1234.50",    "cap_base_amount": "1234.50",    "cap_base_year": 0,    "cap_pct": 0.05,    "cap_type": "none",    "contract_id": "9aafc1a8-e497-46c9-ba0b-bd5b03c353e4",    "created_at": "string",    "effective_end": "2026-12-31",    "effective_start": "2026-01-01",    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",    "modified_at": "string",    "recovery_group_id": "00a77dad-d4ad-4f06-8ab9-e5c001d2220c",    "share_rule": {      "basis": "participant_area",      "denominator": 0,      "numerator": 0,      "reason": "string"    }  },  "meta": {    "api_version": "2026-04-23",    "cursor": {      "has_more": true,      "next": "eyJpZCI6ICJhYmMifQ=="    },    "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f",    "total_count": 1234  }}
GET
/v1/expense-recovery/registry

One row per recovery group with its cycle's cost, unrecovered gap and billing state, in a single query. This is what the landing page lists; ExpenseRecovery.listGroups returns the group configuration behind it and stays the read the workspace uses. Cost comes from account totals, not run lines — read the field descriptions before using these as accounting figures.

Required scope: expense-recovery:read

Pagination: none

Error codes: VALIDATION_FAILED

Authorization

access-token
headerAuthorizationBearer <token>

Query Parameters

cycle_year*string
property_id*string
include_inactive*string

Response Body

application/json
  1. response
data*array<>
meta*
curl -X GET 'https://api.acreum.io/v1/expense-recovery/registry?cycle_year=string&property_id=string&include_inactive=string'
{  "data": [    {      "account_count": 0,      "billed": "1234.50",      "billed_all_cycles": "1234.50",      "code": "string",      "cycle_year": 0,      "frequency": "annual",      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",      "is_active": true,      "latest_run_id": "01a26ba9-be7a-49f1-b8f1-c778060a6d27",      "legal_entity_id": "8c040143-e03c-45a0-b1bc-85161701d839",      "name": "string",      "period_end": "2019-08-24",      "period_start": "2019-08-24",      "period_start_day": 0,      "period_start_month": 0,      "pool_cost": "1234.50",      "property_id": "05003a8a-8f3c-454b-8884-a906ec46f5f5",      "property_name": "string",      "recoverable": "1234.50",      "run_status": "draft",      "staged": "1234.50",      "staged_all_cycles": "1234.50",      "unrecovered": "1234.50",      "unrecovered_base_year": "1234.50",      "unrecovered_cap": "1234.50",      "unrecovered_non_participant": "1234.50",      "unrecovered_vacancy": "1234.50"    }  ],  "meta": {    "api_version": "2026-04-23",    "cursor": {      "has_more": true,      "next": "eyJpZCI6ICJhYmMifQ=="    },    "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f",    "total_count": 1234  }}

List reconciliation runs

GET
/v1/expense-recovery/runs

Required scope: expense-recovery:read

Pagination: cursor-optional

Error codes: NOT_FOUND, INVALID_CURSOR, VALIDATION_FAILED

Authorization

access-token
headerAuthorizationBearer <token>

Query Parameters

property_id?string
Formatuuid
recovery_group_id?string
Formatuuid
cursor?string
limit?number

1..500. Omit to receive the full collection in one page.

Response Body

application/json
  1. response
data*array<>
meta*
curl -X GET 'https://api.acreum.io/v1/expense-recovery/runs'
{  "data": [    {      "approved_at": null,      "approved_by": "string",      "created_at": "string",      "created_by": "string",      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",      "legal_entity_id": "8c040143-e03c-45a0-b1bc-85161701d839",      "modified_at": "string",      "period_end": "2025-12-31",      "period_start": "2025-01-01",      "period_year": 2025,      "property_id": "05003a8a-8f3c-454b-8884-a906ec46f5f5",      "recovery_group_id": "00a77dad-d4ad-4f06-8ab9-e5c001d2220c",      "revision": 1,      "status": "draft"    }  ],  "meta": {    "api_version": "2026-04-23",    "limit": 50,    "next_cursor": "eyJpZCI6ICJhYmMifQ==",    "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f"  }}
POST
/v1/expense-recovery/runs

Required scope: expense-recovery:write

Error codes: VALIDATION_FAILED, NOT_FOUND, CONFLICT, RECOVERY_PRIOR_RUN_UNDER_REVISION

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
period_year*number

The cycle year. Combined with the group's anchor to derive the period — a Jul 1 anchor makes 2025 run Jul 2025 to Jun 2026.

recovery_group_id*string

The recovery group to reconcile. Supplies the property, legal entity, pool set, and period.

Formatuuid

Response Body

application/json
  1. response
data*
meta*
curl -X POST 'https://api.acreum.io/v1/expense-recovery/runs' \  -H 'Idempotency-Key: string' \  -H 'Content-Type: application/json' \  -d '{  "period_year": 2025,  "recovery_group_id": "00a77dad-d4ad-4f06-8ab9-e5c001d2220c"}'
{  "data": {    "account_exclusions": [      {        "account_id": "449e7a5c-69d3-4b8a-aaaf-5c9b713ebc65",        "by_reason": {          "link_removed": {            "count": 1,            "total": "750.00"          },          "partial_fraction": {            "count": 1,            "total": "750.00"          },          "producer_declared": {            "count": 1,            "total": "750.00"          },          "untagged": {            "count": 1,            "total": "750.00"          }        },        "count": 4,        "total": "2250.00"      }    ],    "account_totals": [      {        "account_actual": "31431.00",        "account_id": "449e7a5c-69d3-4b8a-aaaf-5c9b713ebc65",        "allocated": "24102.55",        "charged_direct": "0.00",        "created_at": "2019-08-24T14:15:22Z",        "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",        "over_recovered": true,        "run_id": "dded282c-8ebd-44cf-8ba5-9a234973d1ec",        "unrecovered_base_year": "0.00",        "unrecovered_cap": "0.00",        "unrecovered_non_participant": "2639.28",        "unrecovered_total": "7328.45",        "unrecovered_vacancy": "4689.17"      }    ],    "adjustments": [      {        "carried_forward_from": "d5e77375-6dc8-4606-b80c-3e5712ab94d4",        "created_at": "string",        "created_by": "ee824cad-d7a6-4f48-87dc-e8461a9201c4",        "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",        "new_value": "string",        "old_value": "string",        "reason": "string",        "run_id": "dded282c-8ebd-44cf-8ba5-9a234973d1ec",        "target_ref": "string",        "target_type": "exclude_journal_line"      }    ],    "approved_at": null,    "approved_by": "string",    "created_at": "string",    "created_by": "string",    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",    "legal_entity_id": "8c040143-e03c-45a0-b1bc-85161701d839",    "lines": [      {        "cap_skipped_no_prior": true,        "contract_id": "9aafc1a8-e497-46c9-ba0b-bd5b03c353e4",        "contract_status": "active",        "estimates_billed": "0.00",        "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",        "proration_factor": "1.000000",        "recoverable_share": "5000.00",        "run_id": "dded282c-8ebd-44cf-8ba5-9a234973d1ec",        "share_basis": "negotiated",        "share_pct_used": null,        "true_up_amount": "5000.00",        "true_ups_already_billed": "0.00",        "unallocatable": true      }    ],    "modified_at": "string",    "period_end": "2025-12-31",    "period_start": "2025-01-01",    "period_year": 2025,    "property_id": "05003a8a-8f3c-454b-8884-a906ec46f5f5",    "recovery_group_id": "00a77dad-d4ad-4f06-8ab9-e5c001d2220c",    "revision": 1,    "status": "draft",    "warnings": [      "contract Jenny Nails & Spa (draft) is not active for 2025-01-01..2025-12-31"    ]  },  "meta": {    "api_version": "2026-04-23",    "cursor": {      "has_more": true,      "next": "eyJpZCI6ICJhYmMifQ=="    },    "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f",    "total_count": 1234  }}
GET
/v1/expense-recovery/runs/{id}

Required scope: expense-recovery: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/expense-recovery/runs/string'
{  "data": {    "account_exclusions": [      {        "account_id": "449e7a5c-69d3-4b8a-aaaf-5c9b713ebc65",        "by_reason": {          "link_removed": {            "count": 1,            "total": "750.00"          },          "partial_fraction": {            "count": 1,            "total": "750.00"          },          "producer_declared": {            "count": 1,            "total": "750.00"          },          "untagged": {            "count": 1,            "total": "750.00"          }        },        "count": 4,        "total": "2250.00"      }    ],    "account_totals": [      {        "account_actual": "31431.00",        "account_id": "449e7a5c-69d3-4b8a-aaaf-5c9b713ebc65",        "allocated": "24102.55",        "charged_direct": "0.00",        "created_at": "2019-08-24T14:15:22Z",        "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",        "over_recovered": true,        "run_id": "dded282c-8ebd-44cf-8ba5-9a234973d1ec",        "unrecovered_base_year": "0.00",        "unrecovered_cap": "0.00",        "unrecovered_non_participant": "2639.28",        "unrecovered_total": "7328.45",        "unrecovered_vacancy": "4689.17"      }    ],    "adjustments": [      {        "carried_forward_from": "d5e77375-6dc8-4606-b80c-3e5712ab94d4",        "created_at": "string",        "created_by": "ee824cad-d7a6-4f48-87dc-e8461a9201c4",        "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",        "new_value": "string",        "old_value": "string",        "reason": "string",        "run_id": "dded282c-8ebd-44cf-8ba5-9a234973d1ec",        "target_ref": "string",        "target_type": "exclude_journal_line"      }    ],    "approved_at": null,    "approved_by": "string",    "created_at": "string",    "created_by": "string",    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",    "legal_entity_id": "8c040143-e03c-45a0-b1bc-85161701d839",    "lines": [      {        "cap_skipped_no_prior": true,        "contract_id": "9aafc1a8-e497-46c9-ba0b-bd5b03c353e4",        "contract_status": "active",        "estimates_billed": "0.00",        "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",        "proration_factor": "1.000000",        "recoverable_share": "5000.00",        "run_id": "dded282c-8ebd-44cf-8ba5-9a234973d1ec",        "share_basis": "negotiated",        "share_pct_used": null,        "true_up_amount": "5000.00",        "true_ups_already_billed": "0.00",        "unallocatable": true      }    ],    "modified_at": "string",    "period_end": "2025-12-31",    "period_start": "2025-01-01",    "period_year": 2025,    "property_id": "05003a8a-8f3c-454b-8884-a906ec46f5f5",    "recovery_group_id": "00a77dad-d4ad-4f06-8ab9-e5c001d2220c",    "revision": 1,    "status": "draft",    "warnings": [      "contract Jenny Nails & Spa (draft) is not active for 2025-01-01..2025-12-31"    ]  },  "meta": {    "api_version": "2026-04-23",    "cursor": {      "has_more": true,      "next": "eyJpZCI6ICJhYmMifQ=="    },    "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f",    "total_count": 1234  }}
DELETE
/v1/expense-recovery/runs/{id}

Deletes a draft or computed run and everything staged under it — its lines, line details, account totals, adjustments, and its own staged charges — freeing the cycle year so the group can be run again. An approved run is refused: void the resulting documents instead.

Required scope: expense-recovery:write

Error codes: NOT_FOUND, CONFLICT, 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

Possible error codes: INVALID_IDEMPOTENCY_KEY

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/expense-recovery/runs/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"}
POST
/v1/expense-recovery/runs/{id}/adjustments

Required scope: expense-recovery:write

Error codes: VALIDATION_FAILED, NOT_FOUND

Authorization

access-token
headerAuthorizationBearer <token>

Path Parameters

id*string

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
new_value?|

New value to apply. A dollar amount for estimate (e.g. "3000.00"). A fraction in [0,1] for share (e.g. "0.10" = 10%). A fraction for admin_fee (0 is a valid, real deal term and is honoured, not treated as absent). A positive number of square feet for denominator. Not used for exclude_journal_line.

old_value?|

Previous value (for audit trail). Dollar amount for estimate; fraction in [0,1] for share; fraction for admin_fee; a positive number of square feet for denominator.

reason*string

Reason for the adjustment

target_ref*string

Structured key naming what the adjustment applies to; the grammar depends on target_type (validated against recovery_run_adjustments_target_ref_check): exclude_journal_line -> line:<journal_line_id> admin_fee -> account: | line:<journal_line_id> denominator -> account: share -> account:|contract: estimate -> contract: Spec 2026-09-19 D7/D10: the run is keyed (contract, account), so the expense side of the key is the GL account, never a pool.

target_type*string

Type of adjustment being applied

Value in"exclude_journal_line""admin_fee""denominator""share""estimate"

Response Body

application/json
  1. response
data*
meta*
curl -X POST 'https://api.acreum.io/v1/expense-recovery/runs/string/adjustments' \  -H 'Idempotency-Key: string' \  -H 'Content-Type: application/json' \  -d '{  "reason": "Non-recoverable utility spike in July",  "target_ref": "account:550e8400-e29b-41d4-a716-446655440000|contract:6ba7b810-9dad-11d1-80b4-00c04fd430c8",  "target_type": "exclude_journal_line"}'
{  "data": {    "account_exclusions": [      {        "account_id": "449e7a5c-69d3-4b8a-aaaf-5c9b713ebc65",        "by_reason": {          "link_removed": {            "count": 1,            "total": "750.00"          },          "partial_fraction": {            "count": 1,            "total": "750.00"          },          "producer_declared": {            "count": 1,            "total": "750.00"          },          "untagged": {            "count": 1,            "total": "750.00"          }        },        "count": 4,        "total": "2250.00"      }    ],    "account_totals": [      {        "account_actual": "31431.00",        "account_id": "449e7a5c-69d3-4b8a-aaaf-5c9b713ebc65",        "allocated": "24102.55",        "charged_direct": "0.00",        "created_at": "2019-08-24T14:15:22Z",        "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",        "over_recovered": true,        "run_id": "dded282c-8ebd-44cf-8ba5-9a234973d1ec",        "unrecovered_base_year": "0.00",        "unrecovered_cap": "0.00",        "unrecovered_non_participant": "2639.28",        "unrecovered_total": "7328.45",        "unrecovered_vacancy": "4689.17"      }    ],    "adjustments": [      {        "carried_forward_from": "d5e77375-6dc8-4606-b80c-3e5712ab94d4",        "created_at": "string",        "created_by": "ee824cad-d7a6-4f48-87dc-e8461a9201c4",        "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",        "new_value": "string",        "old_value": "string",        "reason": "string",        "run_id": "dded282c-8ebd-44cf-8ba5-9a234973d1ec",        "target_ref": "string",        "target_type": "exclude_journal_line"      }    ],    "approved_at": null,    "approved_by": "string",    "created_at": "string",    "created_by": "string",    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",    "legal_entity_id": "8c040143-e03c-45a0-b1bc-85161701d839",    "lines": [      {        "cap_skipped_no_prior": true,        "contract_id": "9aafc1a8-e497-46c9-ba0b-bd5b03c353e4",        "contract_status": "active",        "estimates_billed": "0.00",        "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",        "proration_factor": "1.000000",        "recoverable_share": "5000.00",        "run_id": "dded282c-8ebd-44cf-8ba5-9a234973d1ec",        "share_basis": "negotiated",        "share_pct_used": null,        "true_up_amount": "5000.00",        "true_ups_already_billed": "0.00",        "unallocatable": true      }    ],    "modified_at": "string",    "period_end": "2025-12-31",    "period_start": "2025-01-01",    "period_year": 2025,    "property_id": "05003a8a-8f3c-454b-8884-a906ec46f5f5",    "recovery_group_id": "00a77dad-d4ad-4f06-8ab9-e5c001d2220c",    "revision": 1,    "status": "draft",    "warnings": [      "contract Jenny Nails & Spa (draft) is not active for 2025-01-01..2025-12-31"    ]  },  "meta": {    "api_version": "2026-04-23",    "cursor": {      "has_more": true,      "next": "eyJpZCI6ICJhYmMifQ=="    },    "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f",    "total_count": 1234  }}
DELETE
/v1/expense-recovery/runs/{id}/adjustments/{adjustmentId}

Deletes one adjustment — manually created or carried forward from a prior run's period-open seeding — and recomputes. A carried-forward row is a real, independently deletable row on this run; deleting it never affects the run it was seeded from.

Required scope: expense-recovery:write

Error codes: VALIDATION_FAILED, NOT_FOUND, INVALID_IDEMPOTENCY_KEY, IDEMPOTENCY_CONFLICT

Authorization

access-token
headerAuthorizationBearer <token>

Path Parameters

id*string
adjustmentId*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

Possible error codes: VALIDATION_FAILED, INVALID_IDEMPOTENCY_KEY

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/expense-recovery/runs/string/adjustments/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"}
POST
/v1/expense-recovery/runs/{id}/approve

Stages one charge per contract with a non-zero true-up onto the org's recovery charge shelf. The run's lifecycle ends here — collecting the charges into a document is a separate billing step, and voiding happens at the document level.

Required scope: expense-recovery:write

Error codes: VALIDATION_FAILED, NOT_FOUND, RECOVERY_PRIOR_RUN_UNDER_REVISION, CONFLICT, 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/expense-recovery/runs/string/approve'
{  "data": {    "approved_at": null,    "approved_by": "string",    "created_at": "string",    "created_by": "string",    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",    "legal_entity_id": "8c040143-e03c-45a0-b1bc-85161701d839",    "modified_at": "string",    "period_end": "2025-12-31",    "period_start": "2025-01-01",    "period_year": 2025,    "property_id": "05003a8a-8f3c-454b-8884-a906ec46f5f5",    "recovery_group_id": "00a77dad-d4ad-4f06-8ab9-e5c001d2220c",    "revision": 1,    "status": "draft"  },  "meta": {    "api_version": "2026-04-23",    "cursor": {      "has_more": true,      "next": "eyJpZCI6ICJhYmMifQ=="    },    "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f",    "total_count": 1234  }}
GET
/v1/expense-recovery/runs/{id}/line-details

The itemized statement grain behind the run's rolled-up lines[] (one per contract) and account_totals[] (account only) — the per-account statement row the FE's itemized worksheet needs. A sibling route rather than a field on GET /runs/:id: detail rows are the largest collection on a run by an order of magnitude, and run detail is refetched on every recompute. Empty is normal, not an error — a draft run or one that predates Phase C has no detail rows. Ordered contract_id, account_id.

Required scope: expense-recovery:read

Pagination: cursor-optional

Error codes: NOT_FOUND, INVALID_CURSOR, VALIDATION_FAILED

Authorization

access-token
headerAuthorizationBearer <token>

Path Parameters

id*string

Query Parameters

cursor?string
limit?number

1..500. Omit to receive the full collection in one page.

Response Body

application/json
  1. response
data*array<>
meta*
curl -X GET 'https://api.acreum.io/v1/expense-recovery/runs/string/line-details'
{  "data": [    {      "account_actual": "31431.00",      "account_id": "449e7a5c-69d3-4b8a-aaaf-5c9b713ebc65",      "admin_fee_pct_used": "0.1500",      "amount": "5750.00",      "amount_before_admin_fee": "5000.00",      "base_year_applied": "0.00",      "cap_applied": "0.00",      "contract_id": "9aafc1a8-e497-46c9-ba0b-bd5b03c353e4",      "created_at": "2019-08-24T14:15:22Z",      "denominator_used": "125000.00",      "gross_up_factor_used": "1.000000",      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",      "participates": true,      "proration_factor": "1.000000",      "recoverable": "5750.00",      "run_id": "dded282c-8ebd-44cf-8ba5-9a234973d1ec",      "share_basis": "negotiated",      "share_pct_used": "0.100000"    }  ],  "meta": {    "api_version": "2026-04-23",    "limit": 50,    "next_cursor": "eyJpZCI6ICJhYmMifQ==",    "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f"  }}
POST
/v1/expense-recovery/runs/{id}/recompute

Required scope: expense-recovery:write

Error codes: VALIDATION_FAILED, NOT_FOUND, RECOVERY_PRIOR_RUN_UNDER_REVISION, 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/expense-recovery/runs/string/recompute'
{  "data": {    "account_exclusions": [      {        "account_id": "449e7a5c-69d3-4b8a-aaaf-5c9b713ebc65",        "by_reason": {          "link_removed": {            "count": 1,            "total": "750.00"          },          "partial_fraction": {            "count": 1,            "total": "750.00"          },          "producer_declared": {            "count": 1,            "total": "750.00"          },          "untagged": {            "count": 1,            "total": "750.00"          }        },        "count": 4,        "total": "2250.00"      }    ],    "account_totals": [      {        "account_actual": "31431.00",        "account_id": "449e7a5c-69d3-4b8a-aaaf-5c9b713ebc65",        "allocated": "24102.55",        "charged_direct": "0.00",        "created_at": "2019-08-24T14:15:22Z",        "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",        "over_recovered": true,        "run_id": "dded282c-8ebd-44cf-8ba5-9a234973d1ec",        "unrecovered_base_year": "0.00",        "unrecovered_cap": "0.00",        "unrecovered_non_participant": "2639.28",        "unrecovered_total": "7328.45",        "unrecovered_vacancy": "4689.17"      }    ],    "adjustments": [      {        "carried_forward_from": "d5e77375-6dc8-4606-b80c-3e5712ab94d4",        "created_at": "string",        "created_by": "ee824cad-d7a6-4f48-87dc-e8461a9201c4",        "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",        "new_value": "string",        "old_value": "string",        "reason": "string",        "run_id": "dded282c-8ebd-44cf-8ba5-9a234973d1ec",        "target_ref": "string",        "target_type": "exclude_journal_line"      }    ],    "approved_at": null,    "approved_by": "string",    "created_at": "string",    "created_by": "string",    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",    "legal_entity_id": "8c040143-e03c-45a0-b1bc-85161701d839",    "lines": [      {        "cap_skipped_no_prior": true,        "contract_id": "9aafc1a8-e497-46c9-ba0b-bd5b03c353e4",        "contract_status": "active",        "estimates_billed": "0.00",        "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",        "proration_factor": "1.000000",        "recoverable_share": "5000.00",        "run_id": "dded282c-8ebd-44cf-8ba5-9a234973d1ec",        "share_basis": "negotiated",        "share_pct_used": null,        "true_up_amount": "5000.00",        "true_ups_already_billed": "0.00",        "unallocatable": true      }    ],    "modified_at": "string",    "period_end": "2025-12-31",    "period_start": "2025-01-01",    "period_year": 2025,    "property_id": "05003a8a-8f3c-454b-8884-a906ec46f5f5",    "recovery_group_id": "00a77dad-d4ad-4f06-8ab9-e5c001d2220c",    "revision": 1,    "status": "draft",    "warnings": [      "contract Jenny Nails & Spa (draft) is not active for 2025-01-01..2025-12-31"    ]  },  "meta": {    "api_version": "2026-04-23",    "cursor": {      "has_more": true,      "next": "eyJpZCI6ICJhYmMifQ=="    },    "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f",    "total_count": 1234  }}
POST
/v1/expense-recovery/runs/{id}/revise

Moves an approved run back to computed at the next revision and recomputes it. Approving the revision stages only the difference per tenant.

Required scope: expense-recovery:write

Error codes: RECOVERY_RUN_NOT_REVISABLE, RECOVERY_PRIOR_RUN_UNDER_REVISION, VALIDATION_FAILED, 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/expense-recovery/runs/string/revise'
{  "data": {    "account_exclusions": [      {        "account_id": "449e7a5c-69d3-4b8a-aaaf-5c9b713ebc65",        "by_reason": {          "link_removed": {            "count": 1,            "total": "750.00"          },          "partial_fraction": {            "count": 1,            "total": "750.00"          },          "producer_declared": {            "count": 1,            "total": "750.00"          },          "untagged": {            "count": 1,            "total": "750.00"          }        },        "count": 4,        "total": "2250.00"      }    ],    "account_totals": [      {        "account_actual": "31431.00",        "account_id": "449e7a5c-69d3-4b8a-aaaf-5c9b713ebc65",        "allocated": "24102.55",        "charged_direct": "0.00",        "created_at": "2019-08-24T14:15:22Z",        "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",        "over_recovered": true,        "run_id": "dded282c-8ebd-44cf-8ba5-9a234973d1ec",        "unrecovered_base_year": "0.00",        "unrecovered_cap": "0.00",        "unrecovered_non_participant": "2639.28",        "unrecovered_total": "7328.45",        "unrecovered_vacancy": "4689.17"      }    ],    "adjustments": [      {        "carried_forward_from": "d5e77375-6dc8-4606-b80c-3e5712ab94d4",        "created_at": "string",        "created_by": "ee824cad-d7a6-4f48-87dc-e8461a9201c4",        "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",        "new_value": "string",        "old_value": "string",        "reason": "string",        "run_id": "dded282c-8ebd-44cf-8ba5-9a234973d1ec",        "target_ref": "string",        "target_type": "exclude_journal_line"      }    ],    "approved_at": null,    "approved_by": "string",    "created_at": "string",    "created_by": "string",    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",    "legal_entity_id": "8c040143-e03c-45a0-b1bc-85161701d839",    "lines": [      {        "cap_skipped_no_prior": true,        "contract_id": "9aafc1a8-e497-46c9-ba0b-bd5b03c353e4",        "contract_status": "active",        "estimates_billed": "0.00",        "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",        "proration_factor": "1.000000",        "recoverable_share": "5000.00",        "run_id": "dded282c-8ebd-44cf-8ba5-9a234973d1ec",        "share_basis": "negotiated",        "share_pct_used": null,        "true_up_amount": "5000.00",        "true_ups_already_billed": "0.00",        "unallocatable": true      }    ],    "modified_at": "string",    "period_end": "2025-12-31",    "period_start": "2025-01-01",    "period_year": 2025,    "property_id": "05003a8a-8f3c-454b-8884-a906ec46f5f5",    "recovery_group_id": "00a77dad-d4ad-4f06-8ab9-e5c001d2220c",    "revision": 1,    "status": "draft",    "warnings": [      "contract Jenny Nails & Spa (draft) is not active for 2025-01-01..2025-12-31"    ]  },  "meta": {    "api_version": "2026-04-23",    "cursor": {      "has_more": true,      "next": "eyJpZCI6ICJhYmMifQ=="    },    "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f",    "total_count": 1234  }}
GET
/v1/expense-recovery/summary

Four org-wide numbers over the same cycles the registry lists: the recoverable cost in the cycles, what tenants owe of it, what has been billed, and what is still staged. recoverable excludes the admin fee and billed includes it, so billed exceeding recoverable is expected on a group that charges one.

Required scope: expense-recovery:read

Error codes: VALIDATION_FAILED

Authorization

access-token
headerAuthorizationBearer <token>

Query Parameters

cycle_year*string

Response Body

application/json
  1. response
data*
meta*
curl -X GET 'https://api.acreum.io/v1/expense-recovery/summary?cycle_year=string'
{  "data": {    "billed": {      "amount": "1234.50",      "count": 0    },    "billed_all_cycles": {      "amount": "1234.50",      "count": 0    },    "pool_cost": {      "amount": "1234.50",      "count": 0    },    "recoverable": {      "amount": "1234.50",      "count": 0    },    "staged": {      "amount": "1234.50",      "count": 0    },    "staged_all_cycles": {      "amount": "1234.50",      "count": 0    }  },  "meta": {    "api_version": "2026-04-23",    "cursor": {      "has_more": true,      "next": "eyJpZCI6ICJhYmMifQ=="    },    "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f",    "total_count": 1234  }}