Escalations
The work center links here. preview is present for a proposed event; when the preview would refuse, preview_refusal carries the code and the sentence instead, and the request still succeeds. billing says where the staged true-up billed, or which rent invoice is expected to carry it.
Required scope: contracts:read
Error codes: NOT_FOUND
access-tokenAuthorizationBearer <token>id*stringapplication/json- response
data*meta*curl -X GET 'https://api.acreum.io/v1/escalations/string'{ "data": { "billing": { "billed_document_id": "9345755d-6be6-44e3-a3cc-190192c09a61", "billed_document_number": "string", "next_invoice_date": "2019-08-24" }, "breakdown": { "bound_hit": "floor", "cap_bp": 0, "components": [ { "baseline_month": "2019-08-24", "baseline_value": "string", "current_value": "string", "fixed_bp": 0, "growth_bp": 0, "index": 0, "kind": "cpi_change", "published_at": "2019-08-24T14:15:22Z", "reference_month": "2019-08-24", "series_label": "string" } ], "floor_bp": 0, "operator": "string", "winning_component_index": 0 }, "contract_id": "9aafc1a8-e497-46c9-ba0b-bd5b03c353e4", "event": { "accepted_at": "2019-08-24T14:15:22Z", "accepted_by": "3e849090-6f8e-42e3-b22c-437aab65998c", "accepted_factor_den": "string", "accepted_factor_num": "string", "bank_balance_after_bp": 0, "bank_balance_before_bp": 0, "bound_hit": "floor", "config_id": "d1d31429-d888-4f1c-b9c1-4e842f9bce5b", "contract_id": "9aafc1a8-e497-46c9-ba0b-bd5b03c353e4", "contract_term_id": "913c8036-6d66-4adf-b4cc-f2a2f1d44346", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "override_reason": "string", "prior_amount": "10000.00", "proposed_factor_den": "string", "proposed_factor_num": "string", "reset_date": "2019-08-24", "resulting_amount": "10370.00", "staged_charge": { "amount": "370.00", "billed_document_id": "9345755d-6be6-44e3-a3cc-190192c09a61", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "settled_at": "2019-08-24T14:15:22Z" }, "status": "awaiting_index" }, "preview": { "amount": "1234.50", "prior_amount": "1234.50", "resulting_amount": "1234.50", "targets": [ { "billed_nothing": true, "date": "2019-08-24", "delta": "1234.50", "invoiced": true, "period_end": "2019-08-24", "period_start": "2019-08-24", "prior_amount": "1234.50", "proration_factor": 1, "resulting_amount": "1234.50" } ] }, "preview_refusal": { "code": "string", "context": {}, "detail": "string" } }, "meta": { "api_version": "2026-04-23", "cursor": { "has_more": true, "next": "eyJpZCI6ICJhYmMifQ==" }, "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f", "total_count": 1234 }}Stamps the proposed factor onto the event as the accepted one and stages the retro delta for every period already invoiced since the reset: what each posted invoice should have billed for the term minus what it did. Rejected when a reading the proposal cited has been revised since, or when the nightly review refreshed the proposal after it was read. The optional body states the factor the reviewer was shown (expected_factor_num/expected_factor_den); if the proposal no longer carries it, the request is refused with ESCALATION_INPUTS_STALE so a refreshed number is never accepted unseen.
Required scope: contracts:write
Plannable: yes. An agent can use this operation as a step in a plan.
Error codes: VALIDATION_FAILED, NOT_FOUND, ESCALATION_EVENT_NOT_DECIDABLE, ESCALATION_EARLIER_RESET_UNDECIDED, ESCALATION_INPUTS_STALE, ESCALATION_APPLIES_TO_PSF_UNSUPPORTED, ESCALATION_MIXED_COMPARISONS, ESCALATION_PRIOR_RENT_UNRESOLVED, ESCALATION_TERM_NOT_BILLABLE, ESCALATION_CONTRACT_HAS_NO_PROPERTY, ESCALATION_BILLED_AMOUNT_UNKNOWN, ESCALATION_UNPOSTED_INVOICE_IN_WINDOW, ESCALATION_INVOICE_OFF_SCHEDULE, ESCALATION_BILLED_AMOUNT_CHANGED, IDEMPOTENCY_KEY_REQUIRED, INVALID_IDEMPOTENCY_KEY, IDEMPOTENCY_CONFLICT
access-tokenAuthorizationBearer <token>id*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
expected_factor_den?stringDenominator of the factor the reviewer was shown — echo proposed_factor_den. Send with expected_factor_num.
expected_factor_num?stringNumerator of the factor the reviewer was shown — echo proposed_factor_num from the event as read. Send with expected_factor_den. A mismatch refuses with ESCALATION_INPUTS_STALE.
application/json- response
data*meta*curl -X POST 'https://api.acreum.io/v1/escalations/string/accept' \ -H 'Idempotency-Key: string' \ -H 'Content-Type: application/json' \ -d '{}'{ "data": { "accepted_at": "2019-08-24T14:15:22Z", "accepted_by": "3e849090-6f8e-42e3-b22c-437aab65998c", "accepted_factor_den": "string", "accepted_factor_num": "string", "bank_balance_after_bp": 0, "bank_balance_before_bp": 0, "bound_hit": "floor", "config_id": "d1d31429-d888-4f1c-b9c1-4e842f9bce5b", "contract_term_id": "913c8036-6d66-4adf-b4cc-f2a2f1d44346", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "override_reason": "string", "prior_amount": "1234.50", "proposed_factor_den": "string", "proposed_factor_num": "string", "reset_date": "2026-03-15", "resulting_amount": "1234.50", "status": "awaiting_index", "true_up": { "amount": "180.00", "charge_id": "cf8b747b-a752-4d0a-9a4d-7d19fc1769f3", "target_count": 1 } }, "meta": { "api_version": "2026-04-23", "cursor": { "has_more": true, "next": "eyJpZCI6ICJhYmMifQ==" }, "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f", "total_count": 1234 }}Replaces the computed factor with the figure the parties agreed, stated in basis points, and stages the retro delta the same way accepting does. A revised index reading does NOT block an override: the human is replacing the computed factor, so it no longer depends on the readings.
Required scope: contracts:write
Plannable: yes. An agent can use this operation as a step in a plan.
Error codes: VALIDATION_FAILED, NOT_FOUND, ESCALATION_EVENT_NOT_DECIDABLE, ESCALATION_EARLIER_RESET_UNDECIDED, ESCALATION_APPLIES_TO_PSF_UNSUPPORTED, ESCALATION_MIXED_COMPARISONS, ESCALATION_PRIOR_RENT_UNRESOLVED, ESCALATION_TERM_NOT_BILLABLE, ESCALATION_CONTRACT_HAS_NO_PROPERTY, ESCALATION_BILLED_AMOUNT_UNKNOWN, ESCALATION_UNPOSTED_INVOICE_IN_WINDOW, ESCALATION_INVOICE_OFF_SCHEDULE, ESCALATION_BILLED_AMOUNT_CHANGED, IDEMPOTENCY_KEY_REQUIRED, INVALID_IDEMPOTENCY_KEY, IDEMPOTENCY_CONFLICT
access-tokenAuthorizationBearer <token>id*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
effective_bp?numberThe escalation the parties agreed, in BASIS POINTS (3.7% is 370). May be negative for a downward override. Converted to the exact rational the event stores, so an overridden 3.7% and a configured 3.7% are byte-identical in the columns. Send exactly one of this or resulting_amount.
reason*stringWhy the computed factor was replaced. Required and must be non-empty — a database CHECK enforces btrim(...) <> '', because NOT NULL alone accepts an empty string.
resulting_amount?stringThe concluded new rent, instead of effective_bp (exactly one of the two). Stored exactly; the factor is derived from it. Not rounded by the clause.
application/json- response
data*meta*curl -X POST 'https://api.acreum.io/v1/escalations/string/override' \ -H 'Idempotency-Key: string' \ -H 'Content-Type: application/json' \ -d '{ "reason": "negotiated at 3.7% per the side letter"}'{ "data": { "accepted_at": "2019-08-24T14:15:22Z", "accepted_by": "3e849090-6f8e-42e3-b22c-437aab65998c", "accepted_factor_den": "string", "accepted_factor_num": "string", "bank_balance_after_bp": 0, "bank_balance_before_bp": 0, "bound_hit": "floor", "config_id": "d1d31429-d888-4f1c-b9c1-4e842f9bce5b", "contract_term_id": "913c8036-6d66-4adf-b4cc-f2a2f1d44346", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "override_reason": "string", "prior_amount": "1234.50", "proposed_factor_den": "string", "proposed_factor_num": "string", "reset_date": "2026-03-15", "resulting_amount": "1234.50", "status": "awaiting_index", "true_up": { "amount": "180.00", "charge_id": "cf8b747b-a752-4d0a-9a4d-7d19fc1769f3", "target_count": 1 } }, "meta": { "api_version": "2026-04-23", "cursor": { "has_more": true, "next": "eyJpZCI6ICJhYmMifQ==" }, "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f", "total_count": 1234 }}Accepts a proposed, accepted or overridden event. Supersedes it, clears its unbilled staged charge, and re-queues the same reset as awaiting_index so the nightly sweep proposes it again against current readings. Refused with 409 ESCALATION_LATER_RESET_EXISTS while a later reset on the same term is proposed, accepted or overridden — reversals go newest-first, so reverse that one first. Refused with 409 ESCALATION_DECISION_ALREADY_BILLED once the true-up has already been billed onto a document the tenant can see. On a recovery statement, void the statement, then reverse. On a rent invoice, correct it with a credit memo: voiding the rent invoice reissues it with the charge. Refused with 409 ESCALATION_REVERSE_BEFORE_INDEX_SWAP when the reset was decided under a version an index swap superseded and falls before the swap took effect: correct it with a credit memo (or a manual adjustment).
Required scope: contracts:write
Error codes: VALIDATION_FAILED, NOT_FOUND, ESCALATION_EVENT_NOT_DECIDABLE, ESCALATION_DECISION_ALREADY_BILLED, ESCALATION_LATER_RESET_EXISTS, ESCALATION_REVERSE_BEFORE_INDEX_SWAP, IDEMPOTENCY_KEY_REQUIRED, INVALID_IDEMPOTENCY_KEY, IDEMPOTENCY_CONFLICT
access-tokenAuthorizationBearer <token>id*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
reason*stringWhy the decision is being undone. Recorded on the event, which keeps its decision columns — a reversal is history, not an erasure.
application/json- response
data*meta*curl -X POST 'https://api.acreum.io/v1/escalations/string/reverse' \ -H 'Idempotency-Key: string' \ -H 'Content-Type: application/json' \ -d '{ "reason": "accepted against the wrong lookback month"}'{ "data": { "accepted_at": "2019-08-24T14:15:22Z", "accepted_by": "3e849090-6f8e-42e3-b22c-437aab65998c", "accepted_factor_den": "string", "accepted_factor_num": "string", "bank_balance_after_bp": 0, "bank_balance_before_bp": 0, "bound_hit": "floor", "config_id": "d1d31429-d888-4f1c-b9c1-4e842f9bce5b", "contract_term_id": "913c8036-6d66-4adf-b4cc-f2a2f1d44346", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "override_reason": "string", "prior_amount": "1234.50", "proposed_factor_den": "string", "proposed_factor_num": "string", "reset_date": "2026-03-15", "resulting_amount": "1234.50", "status": "awaiting_index", "true_up": { "amount": "180.00", "charge_id": "cf8b747b-a752-4d0a-9a4d-7d19fc1769f3", "target_count": 1 } }, "meta": { "api_version": "2026-04-23", "cursor": { "has_more": true, "next": "eyJpZCI6ICJhYmMifQ==" }, "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f", "total_count": 1234 }}Runs the same window and the same arithmetic the accept path runs, and writes nothing. The per-period rows show where the total comes from.
Required scope: contracts:read
Error codes: NOT_FOUND, ESCALATION_EVENT_NOT_DECIDABLE, ESCALATION_INPUTS_STALE, ESCALATION_APPLIES_TO_PSF_UNSUPPORTED, ESCALATION_MIXED_COMPARISONS, ESCALATION_PRIOR_RENT_UNRESOLVED, ESCALATION_TERM_NOT_BILLABLE, ESCALATION_CONTRACT_HAS_NO_PROPERTY, ESCALATION_BILLED_AMOUNT_UNKNOWN, ESCALATION_UNPOSTED_INVOICE_IN_WINDOW, ESCALATION_INVOICE_OFF_SCHEDULE
access-tokenAuthorizationBearer <token>id*stringapplication/json- response
data*meta*curl -X GET 'https://api.acreum.io/v1/escalations/string/true-up-preview'{ "data": { "amount": "1234.50", "prior_amount": "1234.50", "resulting_amount": "1234.50", "targets": [ { "billed_nothing": true, "date": "2019-08-24", "delta": "1234.50", "invoiced": true, "period_end": "2019-08-24", "period_start": "2019-08-24", "prior_amount": "1234.50", "proration_factor": 1, "resulting_amount": "1234.50" } ] }, "meta": { "api_version": "2026-04-23", "cursor": { "has_more": true, "next": "eyJpZCI6ICJhYmMifQ==" }, "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f", "total_count": 1234 }}