Contracts
Required scope: contracts:read
Pagination: cursor
Error codes: INVALID_CURSOR, VALIDATION_FAILED, LEGAL_ENTITY_NOT_IN_SCOPE
access-tokenAuthorizationBearer <token>property_id?stringFilter to leases at this property. Returns every lease at the property — the ones on the property itself AND the ones on any space within it, at any depth — because a lease link always records its property (spec D8). include_descendants therefore cannot widen this and is ignored. Mutually exclusive with space_id.
uuidspace_id?stringFilter to leases on this space. Exact match by default; with include_descendants=true it also matches leases on spaces nested inside it (a unit within a suite). Mutually exclusive with property_id.
uuidlegal_entity_id?stringFilter to a single legal entity. A caller restricted to a subset of legal entities (Advanced User Roles Phase 2) gets 403 LEGAL_ENTITY_NOT_IN_SCOPE when this targets an entity outside their allowed set.
uuidinclude_descendants?booleanWhen true and space_id is set, the filter also matches leases on spaces nested inside the named space, walking parent_space_id to any depth. Ignored with property_id, which already covers the whole property: a lease link stores its property at every depth (spec D8), so there is nothing below a property this flag could add. Default false (exact match only).
falsestatus?stringExact lifecycle status. Enumerated rather than free text so a caller can learn the vocabulary from the contract, and so a typo is a 400 rather than an empty page.
"draft""active""terminated""expired""assigned"contract_type_id?stringExact contract type. Pair with GET /v1/contract-types.
uuidcounterparty_party_id?stringExact counterparty party — the tenant on a lease. Does NOT match counterparty_legal_entity_id; an intercompany lease names an entity on that side, not a party, and conflating them would silently widen the filter.
uuidend_date_from?stringInclusive lower bound on end_date. An open-ended lease has a NULL end_date and is therefore NOT returned by any end_date range — it has no end to compare, which is a different fact from ending late.
dateend_date_to?stringInclusive upper bound on end_date. See end_date_from for how an open-ended lease behaves.
datestart_date_from?stringInclusive lower bound on start_date.
datestart_date_to?stringInclusive upper bound on start_date.
datesearch?stringCase-insensitive substring match on title OR external_ref. Spelled search to match every other v1 list; there is no q.
length <= 200as_of?stringLeases IN FORCE on this date: start_date <= as_of and end_date either null or >= as_of. This is a valid-time filter on the ROW SET — it does NOT resolve each lease's terms as of the date, which is what as_of means on GET /v1/contracts/:id. The list item carries no terms to resolve.
datecursor?stringlimit?number1..100, default 50
sort?stringDefault: -created_at
"-created_at""created_at""title""-title""start_date""-start_date""end_date""-end_date"application/json- response
data*array<>meta*curl -X GET 'https://api.acreum.io/v1/contracts'{ "data": [ { "billing_anchor_day": 1, "billing_frequency": "weekly", "contract_type": { "code": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string" }, "counterparty_legal_entity_id": "7f403918-5ac4-48be-b4f1-bb1e0c8ab65a", "counterparty_name": "string", "counterparty_party_id": "9e0b2a81-f1a8-4e31-bd6e-d099253bde1b", "created_at": "2019-08-24T14:15:22Z", "effective_date": "string", "end_date": "string", "external_ref": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "legal_entity_id": "8c040143-e03c-45a0-b1bc-85161701d839", "locations": [ { "code": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "kind": "property", "name": "string", "property_id": "05003a8a-8f3c-454b-8884-a906ec46f5f5", "role": "string" } ], "org_id": "a40f5d1f-d889-42e9-94ea-b9b33585fc6b", "prorate_end": true, "prorate_start": true, "proration_method": "actual_days", "rentable_sqft": 4200, "start_date": "string", "status": "string", "title": "string" } ], "meta": { "api_version": "2026-04-23", "limit": 50, "next_cursor": "eyJpZCI6ICJhYmMifQ==", "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f" }}Required scope: contracts:write
Plannable: yes. An agent can use this operation as a step in a plan.
Error codes: VALIDATION_FAILED, ACCOUNT_LEGAL_ENTITY_MISMATCH, IDEMPOTENCY_KEY_REQUIRED, INVALID_IDEMPOTENCY_KEY, IDEMPOTENCY_CONFLICT, LEGAL_ENTITY_NOT_IN_SCOPE, CONTRACT_INITIAL_PERIOD_REQUIRED, CONTRACT_ENTITY_NOT_PROPERTY_OWNER, CONTRACT_COUNTERPARTY_LEGAL_ENTITY_NOT_ALLOWED
access-tokenAuthorizationBearer <token>Idempotency-Key*stringClient-chosen key that makes this mutation safe to retry. Required — a request without one is rejected with IDEMPOTENCY_KEY_REQUIRED. Reusing a key with the same body replays the original response for ~24 hours; reusing it with a different body returns IDEMPOTENCY_CONFLICT.
^[A-Za-z0-9_-]{1,255}$length <= 255application/json- body
billing_anchor_day?numberCalendar day invoices bill on. Null = anchor to start date (no proration). Clamped to month-end for short months.
1 <= value <= 31billing_frequency?string"monthly""weekly""biweekly""monthly""quarterly""semiannual""yearly"billing_start_date?|Migration cutoff: nothing is billed or posted for a service period that begins before this date. Must fall within start_date..end_date. Draft only.
datecontract_type_code?stringlength <= 64contract_type_id?stringuuidcounterparty_legal_entity_id?stringuuidcounterparty_party_id?stringuuiddue_date_type?string"days_after_invoice""days_after_invoice""day_of_month""last_day_of_month"due_date_value?numberMeaning depends on due_date_type: day-of-month (1-31) for 'day_of_month', days after invoice date for 'days_after_invoice'. Must be omitted for 'last_day_of_month'.
effective_date?stringOptional at create so wizard/partial drafts can be created dateless. Activation readiness (not POST validation) enforces dates.
end_date?stringOptional at create. Omit with start_date present for an open-ended initial period. Requires start_date (or periods[]).
external_ref?stringlength <= 200late_fee_amount?|Rate (percentage) or flat amount (fixed). Must be > 0 when late_fee_type is set.
late_fee_basis?|What a percentage fee applies to. Required for percentage, forbidden for fixed.
"overdue_balance""invoice_total"late_fee_cadence?|How often the fee re-applies while an invoice stays overdue. 'once': assessed a single time. 'monthly': re-assessed every month overdue. 'per_billing_period': re-assessed each billing period overdue. Defaults to 'once' when late_fee_type is set and this is omitted.
"once""monthly""per_billing_period"late_fee_grace_days?|Days past the due date before a fee is assessed. Null = 0 (late the day after due date).
late_fee_item_id?|Overrides the org's default late-fee item. Omit or null to use the org default.
uuidlate_fee_type?|Late-fee policy. percentage: late_fee_amount is a rate (5 = 5%) applied to late_fee_basis. fixed: late_fee_amount is a flat charge. Null/omitted: late fees disabled.
"percentage""fixed"lease_terms?legal_entity_id*stringuuidlocation_ids?array<>Locations to link. Each id names a property, or a space within one — a space link records its property automatically, so the response no longer repeats every level of the parent chain.
opening_straight_line_balance?|Accrued straight-line rent receivable at billing_start_date, from the prior books (may be negative). Requires billing_start_date. Stored only; never posted.
periods?array<>Initial period plus any renewal options. Omit to synthesize a single initial period from start_date/end_date (back-compat).
prorate_end?booleanBill the partial last period at the daily rate.
falseprorate_start?booleanBill the partial first period at the daily rate.
falseproration_method?string"actual_days""thirty_day""three_sixty_five"start_date?stringOptional at create. When present (and periods[] is omitted) the initial period is synthesized from it; when absent NO period is created and the draft is dateless.
straight_line_rent_enabled?booleanEnable GAAP straight-line rent recognition for this lease (lessor income). Default false.
falsesummary?stringlength <= 2000terms*array<>title*stringlength <= 500application/json- response
data*meta*curl -X POST 'https://api.acreum.io/v1/contracts' \ -H 'Idempotency-Key: string' \ -H 'Content-Type: application/json' \ -d '{ "legal_entity_id": "8c040143-e03c-45a0-b1bc-85161701d839", "terms": [ { "term": {} } ], "title": "string"}'{ "data": { "billing_anchor_day": 1, "billing_frequency": "weekly", "billing_start_date": "2019-08-24", "contract_type": { "code": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string" }, "counterparty_legal_entity_id": "7f403918-5ac4-48be-b4f1-bb1e0c8ab65a", "counterparty_name": "string", "counterparty_party_id": "9e0b2a81-f1a8-4e31-bd6e-d099253bde1b", "created_at": "2019-08-24T14:15:22Z", "due_date_type": "days_after_invoice", "due_date_value": 0, "effective_date": "string", "end_date": "string", "external_ref": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "late_fee_amount": "1234.50", "late_fee_basis": "overdue_balance", "late_fee_cadence": "once", "late_fee_grace_days": 0, "late_fee_item_id": "a27ee369-5e62-42c1-b35e-97a4dc074464", "late_fee_type": "percentage", "lease_terms": { "lease_subtype": "gross", "notes": "string", "possession_date": "2019-08-24", "rent_commencement_date": "2019-08-24", "rentable_sqft": 0, "security_deposit": "1234.50" }, "legal_entity_id": "8c040143-e03c-45a0-b1bc-85161701d839", "legal_entity_name": "string", "locations": [ { "code": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "kind": "property", "name": "string", "property_id": "05003a8a-8f3c-454b-8884-a906ec46f5f5", "role": "string" } ], "opening_straight_line_balance": "1234.50", "org_id": "a40f5d1f-d889-42e9-94ea-b9b33585fc6b", "periods": [ { "end_date": "string", "exercised_at": "2019-08-24T14:15:22Z", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "kind": "initial", "label": "string", "notice_date": "string", "sort_order": 0, "start_date": "string", "status": "string" } ], "prorate_end": true, "prorate_start": true, "proration_method": "actual_days", "rentable_sqft": 4200, "start_date": "string", "status": "string", "straight_line_rent_enabled": true, "summary": "string", "terminated_at": "string", "termination_date": "2019-08-24", "termination_proration": "full", "termination_reason": "string", "terms": [ { "effective_end": "string", "effective_start": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "introduced_by_amendment_id": "4640f49b-c711-4e91-98d4-19329480b21f", "period_id": "6ce135b2-3d2a-48df-89ee-28d5de4ff349", "superseded_by_amendment_id": "c07acb29-bc70-41cb-af1f-345a34d18e2b", "term": {}, "term_type": { "code": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string" } } ], "title": "string", "version": 0 }, "meta": { "api_version": "2026-04-23", "cursor": { "has_more": true, "next": "eyJpZCI6ICJhYmMifQ==" }, "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f", "total_count": 1234 }}The live leases that already cover location_id — a property id or a space id — for part of [from_date, to_date). Intended as a WARNING while a lease is being drafted, never as a block: double-booking a space is usually an error and occasionally a deliberate holdover or a mid-term assignment, and only the operator knows which. Both ranges are half-open, so a lease ending on from_date and a lease starting on to_date are NOT reported. Omit to_date for an open-ended new lease; an existing lease with a null end_date is likewise unbounded on the right. Pass exclude_contract_id when editing so the contract does not report itself. An empty range (to_date on or before from_date) matches nothing.
Required scope: contracts:read
Pagination: none
Error codes: VALIDATION_FAILED
access-tokenAuthorizationBearer <token>location_id*stringThe location to check — a property id OR a space id. The two tables hold disjoint ids, so the caller does not say which it sent.
uuidfrom_date*stringFirst day the new lease would cover. Inclusive: a lease that ends on this date does not overlap.
dateto_date?stringDay the new lease would stop covering the location, EXCLUSIVE: a lease starting on this date does not overlap. Omit for an open-ended new lease, which then overlaps every later lease.
dateexclude_contract_id?stringThe contract being edited, so it does not report itself as its own conflict.
uuidapplication/json- response
data*array<>meta*curl -X GET 'https://api.acreum.io/v1/contracts/lease-overlap?location_id=497f6eca-6276-4993-bfeb-53cbbbba6f08&from_date=2019-08-24'{ "data": [ { "contract_id": "9aafc1a8-e497-46c9-ba0b-bd5b03c353e4", "contract_title": "string", "counterparty_name": "string", "end_date": "2019-08-24", "start_date": "2019-08-24" } ], "meta": { "api_version": "2026-04-23", "cursor": { "has_more": true, "next": "eyJpZCI6ICJhYmMifQ==" }, "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f", "total_count": 1234 }}Required scope: contracts:read
Error codes: NOT_FOUND, LEGAL_ENTITY_NOT_IN_SCOPE, LEASE_RESOLUTION_UNRESOLVABLE
access-tokenAuthorizationBearer <token>id*stringas_of?stringResolve terms as of this valid-time date instead of returning every stored term. Filters to the terms the lease-resolution port has in force on this date; it does not rewrite any amount. Decision time (knownAt) is not settable here — it defaults to today inside the port.
dateapplication/json- response
data*meta*curl -X GET 'https://api.acreum.io/v1/contracts/string'{ "data": { "billing_anchor_day": 1, "billing_frequency": "weekly", "billing_start_date": "2019-08-24", "contract_type": { "code": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string" }, "counterparty_legal_entity_id": "7f403918-5ac4-48be-b4f1-bb1e0c8ab65a", "counterparty_name": "string", "counterparty_party_id": "9e0b2a81-f1a8-4e31-bd6e-d099253bde1b", "created_at": "2019-08-24T14:15:22Z", "due_date_type": "days_after_invoice", "due_date_value": 0, "effective_date": "string", "end_date": "string", "external_ref": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "late_fee_amount": "1234.50", "late_fee_basis": "overdue_balance", "late_fee_cadence": "once", "late_fee_grace_days": 0, "late_fee_item_id": "a27ee369-5e62-42c1-b35e-97a4dc074464", "late_fee_type": "percentage", "lease_terms": { "lease_subtype": "gross", "notes": "string", "possession_date": "2019-08-24", "rent_commencement_date": "2019-08-24", "rentable_sqft": 0, "security_deposit": "1234.50" }, "legal_entity_id": "8c040143-e03c-45a0-b1bc-85161701d839", "legal_entity_name": "string", "locations": [ { "code": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "kind": "property", "name": "string", "property_id": "05003a8a-8f3c-454b-8884-a906ec46f5f5", "role": "string" } ], "opening_straight_line_balance": "1234.50", "org_id": "a40f5d1f-d889-42e9-94ea-b9b33585fc6b", "periods": [ { "end_date": "string", "exercised_at": "2019-08-24T14:15:22Z", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "kind": "initial", "label": "string", "notice_date": "string", "sort_order": 0, "start_date": "string", "status": "string" } ], "prorate_end": true, "prorate_start": true, "proration_method": "actual_days", "rentable_sqft": 4200, "start_date": "string", "status": "string", "straight_line_rent_enabled": true, "summary": "string", "terminated_at": "string", "termination_date": "2019-08-24", "termination_proration": "full", "termination_reason": "string", "terms": [ { "effective_end": "string", "effective_start": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "introduced_by_amendment_id": "4640f49b-c711-4e91-98d4-19329480b21f", "period_id": "6ce135b2-3d2a-48df-89ee-28d5de4ff349", "superseded_by_amendment_id": "c07acb29-bc70-41cb-af1f-345a34d18e2b", "term": {}, "term_type": { "code": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string" } } ], "title": "string", "version": 0 }, "meta": { "api_version": "2026-04-23", "cursor": { "has_more": true, "next": "eyJpZCI6ICJhYmMifQ==" }, "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f", "total_count": 1234 }}Required scope: contracts:write
Plannable: yes. An agent can use this operation as a step in a plan.
Error codes: NOT_FOUND, VALIDATION_FAILED, ACCOUNT_LEGAL_ENTITY_MISMATCH, LEGAL_ENTITY_NOT_IN_SCOPE, CONTRACT_INITIAL_PERIOD_REQUIRED, INVALID_IDEMPOTENCY_KEY, IDEMPOTENCY_CONFLICT, CONTRACT_VERSION_MISMATCH, CONTRACT_ENTITY_NOT_PROPERTY_OWNER, ESCALATION_CONTRACT_HAS_NO_PROPERTY, CONTRACT_COUNTERPARTY_LEGAL_ENTITY_NOT_ALLOWED
access-tokenAuthorizationBearer <token>id*stringx-contract-version?stringThe contract's version, as returned by GET /v1/contracts/{id}. Send this, not If-Match: a CDN in front of this API answers conditional requests itself and never forwards them. Exactly one of this header or If-Match is required — omitting both is refused with 428, because a PATCH that does not say which version it read is exactly the one that silently overwrites someone else's edit.
if-match?stringDEPRECATED fallback for clients that have not migrated: the ETag returned by GET /v1/contracts/{id}. Prefer x-contract-version — see its description for why this one cannot be relied on.
Idempotency-Key?stringClient-chosen key that makes this mutation safe to retry. Optional — a request without one is processed normally, with no replay protection. Reusing a key with the same body replays the original response for ~24 hours; reusing it with a different body returns IDEMPOTENCY_CONFLICT.
^[A-Za-z0-9_-]{1,255}$length <= 255application/json- body
billing_anchor_day?numberCalendar day invoices bill on. Null = anchor to start date (no proration). Clamped to month-end for short months.
1 <= value <= 31billing_frequency?string"weekly""biweekly""monthly""quarterly""semiannual""yearly"billing_start_date?|Migration cutoff: nothing is billed or posted for a service period that begins before this date. Must fall within start_date..end_date. Draft only.
datecounterparty_legal_entity_id?|The other entity of the org a management (fee_based) contract bills; null clears it, an omitted key keeps it. Any other contract may not name one, and no contract may name its own legal_entity_id (422 CONTRACT_COUNTERPARTY_LEGAL_ENTITY_NOT_ALLOWED).
uuidcounterparty_party_id?stringuuiddue_date_type?string"days_after_invoice""day_of_month""last_day_of_month"due_date_value?numberMeaning depends on due_date_type: day-of-month (1-31) for 'day_of_month', days after invoice date for 'days_after_invoice'. Must be omitted for 'last_day_of_month'.
effective_date?stringend_date?stringexternal_ref?stringlength <= 200late_fee_amount?|Rate (percentage) or flat amount (fixed). Must be > 0 when late_fee_type is set.
late_fee_basis?|What a percentage fee applies to. Required for percentage, forbidden for fixed.
"overdue_balance""invoice_total"late_fee_cadence?|How often the fee re-applies while an invoice stays overdue. 'once': assessed a single time. 'monthly': re-assessed every month overdue. 'per_billing_period': re-assessed each billing period overdue. Defaults to 'once' when late_fee_type is set and this is omitted.
"once""monthly""per_billing_period"late_fee_grace_days?|Days past the due date before a fee is assessed. Null = 0 (late the day after due date).
late_fee_item_id?|Overrides the org's default late-fee item. Omit or null to use the org default.
uuidlate_fee_type?|Late-fee policy. percentage: late_fee_amount is a rate (5 = 5%) applied to late_fee_basis. fixed: late_fee_amount is a flat charge. Null/omitted: late fees disabled.
"percentage""fixed"lease_terms?legal_entity_id?stringuuidlocation_ids?array<>Locations to link. Each id names a property, or a space within one — a space link records its property automatically, so the response no longer repeats every level of the parent chain.
opening_straight_line_balance?|Accrued straight-line rent receivable at billing_start_date, from the prior books (may be negative). Requires billing_start_date. Stored only; never posted.
prorate_end?booleanBill the partial last period at the daily rate.
falseprorate_start?booleanBill the partial first period at the daily rate.
falseproration_method?string"actual_days""thirty_day""three_sixty_five"start_date?stringstraight_line_rent_enabled?booleanEnable/disable GAAP straight-line rent recognition for this lease.
summary?stringlength <= 2000terms?array<>title?stringlength <= 500application/json- response
data*meta*curl -X PATCH 'https://api.acreum.io/v1/contracts/string' \ -H 'Content-Type: application/json' \ -d '{}'{ "data": { "billing_anchor_day": 1, "billing_frequency": "weekly", "billing_start_date": "2019-08-24", "contract_type": { "code": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string" }, "counterparty_legal_entity_id": "7f403918-5ac4-48be-b4f1-bb1e0c8ab65a", "counterparty_name": "string", "counterparty_party_id": "9e0b2a81-f1a8-4e31-bd6e-d099253bde1b", "created_at": "2019-08-24T14:15:22Z", "due_date_type": "days_after_invoice", "due_date_value": 0, "effective_date": "string", "end_date": "string", "external_ref": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "late_fee_amount": "1234.50", "late_fee_basis": "overdue_balance", "late_fee_cadence": "once", "late_fee_grace_days": 0, "late_fee_item_id": "a27ee369-5e62-42c1-b35e-97a4dc074464", "late_fee_type": "percentage", "lease_terms": { "lease_subtype": "gross", "notes": "string", "possession_date": "2019-08-24", "rent_commencement_date": "2019-08-24", "rentable_sqft": 0, "security_deposit": "1234.50" }, "legal_entity_id": "8c040143-e03c-45a0-b1bc-85161701d839", "legal_entity_name": "string", "locations": [ { "code": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "kind": "property", "name": "string", "property_id": "05003a8a-8f3c-454b-8884-a906ec46f5f5", "role": "string" } ], "opening_straight_line_balance": "1234.50", "org_id": "a40f5d1f-d889-42e9-94ea-b9b33585fc6b", "periods": [ { "end_date": "string", "exercised_at": "2019-08-24T14:15:22Z", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "kind": "initial", "label": "string", "notice_date": "string", "sort_order": 0, "start_date": "string", "status": "string" } ], "prorate_end": true, "prorate_start": true, "proration_method": "actual_days", "rentable_sqft": 4200, "start_date": "string", "status": "string", "straight_line_rent_enabled": true, "summary": "string", "terminated_at": "string", "termination_date": "2019-08-24", "termination_proration": "full", "termination_reason": "string", "terms": [ { "effective_end": "string", "effective_start": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "introduced_by_amendment_id": "4640f49b-c711-4e91-98d4-19329480b21f", "period_id": "6ce135b2-3d2a-48df-89ee-28d5de4ff349", "superseded_by_amendment_id": "c07acb29-bc70-41cb-af1f-345a34d18e2b", "term": {}, "term_type": { "code": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string" } } ], "title": "string", "version": 0 }, "meta": { "api_version": "2026-04-23", "cursor": { "has_more": true, "next": "eyJpZCI6ICJhYmMifQ==" }, "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f", "total_count": 1234 }}Required scope: contracts:write
Plannable: yes. An agent can use this operation as a step in a plan.
Error codes: NOT_FOUND, CONTRACT_INVALID_TRANSITION, CONTRACT_ACTIVATION_NOT_READY, ESCALATION_CONTRACT_HAS_NO_PROPERTY, LEGAL_ENTITY_NOT_IN_SCOPE, INVALID_IDEMPOTENCY_KEY, IDEMPOTENCY_CONFLICT
access-tokenAuthorizationBearer <token>id*stringIdempotency-Key?stringClient-chosen key that makes this mutation safe to retry. Optional — a request without one is processed normally, with no replay protection. Reusing a key with the same body replays the original response for ~24 hours; reusing it with a different body returns IDEMPOTENCY_CONFLICT.
^[A-Za-z0-9_-]{1,255}$length <= 255application/json- response
data*meta*curl -X POST 'https://api.acreum.io/v1/contracts/string/activate'{ "data": { "billing_anchor_day": 1, "billing_frequency": "weekly", "billing_start_date": "2019-08-24", "contract_type": { "code": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string" }, "counterparty_legal_entity_id": "7f403918-5ac4-48be-b4f1-bb1e0c8ab65a", "counterparty_name": "string", "counterparty_party_id": "9e0b2a81-f1a8-4e31-bd6e-d099253bde1b", "created_at": "2019-08-24T14:15:22Z", "due_date_type": "days_after_invoice", "due_date_value": 0, "effective_date": "string", "end_date": "string", "external_ref": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "late_fee_amount": "1234.50", "late_fee_basis": "overdue_balance", "late_fee_cadence": "once", "late_fee_grace_days": 0, "late_fee_item_id": "a27ee369-5e62-42c1-b35e-97a4dc074464", "late_fee_type": "percentage", "lease_terms": { "lease_subtype": "gross", "notes": "string", "possession_date": "2019-08-24", "rent_commencement_date": "2019-08-24", "rentable_sqft": 0, "security_deposit": "1234.50" }, "legal_entity_id": "8c040143-e03c-45a0-b1bc-85161701d839", "legal_entity_name": "string", "locations": [ { "code": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "kind": "property", "name": "string", "property_id": "05003a8a-8f3c-454b-8884-a906ec46f5f5", "role": "string" } ], "opening_straight_line_balance": "1234.50", "org_id": "a40f5d1f-d889-42e9-94ea-b9b33585fc6b", "periods": [ { "end_date": "string", "exercised_at": "2019-08-24T14:15:22Z", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "kind": "initial", "label": "string", "notice_date": "string", "sort_order": 0, "start_date": "string", "status": "string" } ], "prorate_end": true, "prorate_start": true, "proration_method": "actual_days", "rentable_sqft": 4200, "start_date": "string", "status": "string", "straight_line_rent_enabled": true, "summary": "string", "terminated_at": "string", "termination_date": "2019-08-24", "termination_proration": "full", "termination_reason": "string", "terms": [ { "effective_end": "string", "effective_start": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "introduced_by_amendment_id": "4640f49b-c711-4e91-98d4-19329480b21f", "period_id": "6ce135b2-3d2a-48df-89ee-28d5de4ff349", "superseded_by_amendment_id": "c07acb29-bc70-41cb-af1f-345a34d18e2b", "term": {}, "term_type": { "code": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string" } } ], "title": "string", "version": 0 }, "meta": { "api_version": "2026-04-23", "cursor": { "has_more": true, "next": "eyJpZCI6ICJhYmMifQ==" }, "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f", "total_count": 1234 }}Returns the contract's amendment chain in sequence_no order (oldest first).
Required scope: contracts:read
Pagination: none
Error codes: NOT_FOUND, LEGAL_ENTITY_NOT_IN_SCOPE
access-tokenAuthorizationBearer <token>id*stringapplication/json- response
data*array<>meta*curl -X GET 'https://api.acreum.io/v1/contracts/string/amendments'{ "data": [ { "amendment_type": "rent_change", "created_by": "ee824cad-d7a6-4f48-87dc-e8461a9201c4", "document_file_id": "5c60929d-869c-425f-9bb5-90a6443afd33", "effective_on": "2019-08-24", "executed_on": "2019-08-24", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "period_changes": [ { "change_kind": "dates", "new_end_date": "2019-08-24", "new_start_date": "2019-08-24", "old_end_date": "2019-08-24", "old_start_date": "2019-08-24", "period_id": "6ce135b2-3d2a-48df-89ee-28d5de4ff349", "period_label": "string" } ], "reason": "string", "recorded_at": "2019-08-24T14:15:22Z", "rentable_sqft_change": { "from": 0, "to": 0 }, "sequence_no": 0 } ], "meta": { "api_version": "2026-04-23", "cursor": { "has_more": true, "next": "eyJpZCI6ICJhYmMifQ==" }, "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f", "total_count": 1234 }}Records an executed change to an ACTIVE lease. The outgoing terms are stamped as superseded — never edited — and the incoming ones are inserted from effective_on. Drafts are edited with PATCH instead. An effective_on inside a closed accounting period is rejected rather than caught up.
Required scope: contracts:write
Plannable: yes. An agent can use this operation as a step in a plan.
Error codes: NOT_FOUND, ACCOUNT_LEGAL_ENTITY_MISMATCH, LEGAL_ENTITY_NOT_IN_SCOPE, PRECONDITION_REQUIRED, CONTRACT_VERSION_MISMATCH, CONTRACT_AMENDMENT_AREA_NOT_YET_EFFECTIVE, CONTRACT_AMENDMENT_EMPTY, CONTRACT_AMENDMENT_PERIOD_CHANGES_NOT_ALLOWED, CONTRACT_AMENDMENT_OPTION_FIELDS_NOT_ALLOWED, CONTRACT_AMENDMENT_NEW_PERIOD_INDEX_INVALID, CONTRACT_OPTION_PERIOD_HAS_DEPENDENTS, CONTRACT_PERIOD_INVALID_TRANSITION, CONTRACT_PERIOD_TRANSITION_CONFLICT, CONTRACT_PERIOD_OVERLAP, CONTRACT_PERIOD_ORDER_INVALID, CONTRACT_PERIOD_DATES_INVALID, CONTRACT_OPTION_REQUIRES_BOUNDED_INITIAL, CONTRACT_AMENDMENT_TYPE_DIRECTION_MISMATCH, CONTRACT_AMENDMENT_NOT_AMENDABLE, CONTRACT_AMENDMENT_EFFECTIVE_BEFORE_START, CONTRACT_AMENDMENT_EFFECTIVE_IN_CLOSED_PERIOD, CONTRACT_AMENDMENT_INVALID_SUPERSEDE_TERMS, CONTRACT_AMENDMENT_PERIOD_NOT_ON_CONTRACT, CONTRACT_AMENDMENT_TERM_BEFORE_EFFECTIVE_ON, CONTRACT_TERM_OVERLAP
access-tokenAuthorizationBearer <token>id*stringx-contract-version?stringThe contract's version, as returned by GET /v1/contracts/{id}. Send this, not If-Match: a CDN in front of this API answers conditional requests itself and never forwards them. Exactly one of this header or If-Match is required — omitting both is refused with 428, because an amendment that does not say which version it read is exactly the one that silently overwrites someone else's edit.
if-match?stringDEPRECATED fallback for clients that have not migrated: the ETag returned by GET /v1/contracts/{id}. Prefer x-contract-version — see its description for why this one cannot be relied on.
Idempotency-Key*stringClient-chosen key that makes this mutation safe to retry. Required — a request without one is rejected with IDEMPOTENCY_KEY_REQUIRED. Reusing a key with the same body replays the original response for ~24 hours; reusing it with a different body returns IDEMPOTENCY_CONFLICT.
^[A-Za-z0-9_-]{1,255}$length <= 255application/json- body
add_periods?array<>Options this amendment adds, as available periods after the existing ones. option_addition only, and it must carry at least one. Its introduce_terms may name these by new_period_index and no other period.
amendment_type*stringWhat kind of change this amendment records. Narrower than the type on the response: system-written types such as option_exercise are recorded by the route that performs the change, not requested here.
"rent_change""other""term_extension""term_reduction""option_addition""option_removal"document_file_id?|uuideffective_on*stringWhen the change takes economic effect. Must not precede the contract's start date, and must fall in an open accounting period.
dateexecuted_on*stringWhen the parties signed.
dateintroduce_terms*array<>Terms this amendment introduces, in force from effective_on.
lease_terms_changes?Lease facts this amendment changes beside its terms. Use amendment_type other for an area change alone.
period_changes?array<>Periods whose dates this amendment moves. Only term_extension and term_reduction may carry these, and the type must match the direction of the net change in the lease length.
reason?string|nullremove_period_ids?array<>Available options of this contract this amendment removes. option_removal only, and it must carry at least one; it may not supersede or introduce terms. A removed option keeps its row and terms with status removed; its terms are retired and their escalation clauses deleted, refused if a reset on them was already decided.
supersede_term_ids*array<>Terms this amendment retires. Every id must name an in-force term of this contract; the whole amendment is rejected otherwise.
application/json- response
data*meta*curl -X POST 'https://api.acreum.io/v1/contracts/string/amendments' \ -H 'Idempotency-Key: string' \ -H 'Content-Type: application/json' \ -d '{ "amendment_type": "rent_change", "effective_on": "2019-08-24", "executed_on": "2019-08-24", "introduce_terms": [ { "term": {} } ], "supersede_term_ids": [ "1236400d-da55-4078-bea1-7fd419864e53" ]}'{ "data": { "amendment_type": "rent_change", "created_by": "ee824cad-d7a6-4f48-87dc-e8461a9201c4", "document_file_id": "5c60929d-869c-425f-9bb5-90a6443afd33", "effective_on": "2019-08-24", "executed_on": "2019-08-24", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "period_changes": [ { "change_kind": "dates", "new_end_date": "2019-08-24", "new_start_date": "2019-08-24", "old_end_date": "2019-08-24", "old_start_date": "2019-08-24", "period_id": "6ce135b2-3d2a-48df-89ee-28d5de4ff349", "period_label": "string" } ], "reason": "string", "recorded_at": "2019-08-24T14:15:22Z", "rentable_sqft_change": { "from": 0, "to": 0 }, "sequence_no": 0 }, "meta": { "api_version": "2026-04-23", "cursor": { "has_more": true, "next": "eyJpZCI6ICJhYmMifQ==" }, "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f", "total_count": 1234 }}Takes the same body and version headers as POST /v1/contracts/{id}/amendments and answers what recording it would do to billing, without recording it: the catch-up adjustments for months already invoiced, the accounting period they would post in, and the next invoice before and after. It runs the real amendment and the real billing recalculation in a transaction that is always rolled back, so every validation error is the one the record route would return, and nothing is saved.
Required scope: contracts:write
Error codes: NOT_FOUND, ACCOUNT_LEGAL_ENTITY_MISMATCH, LEGAL_ENTITY_NOT_IN_SCOPE, PRECONDITION_REQUIRED, CONTRACT_VERSION_MISMATCH, CONTRACT_AMENDMENT_AREA_NOT_YET_EFFECTIVE, CONTRACT_AMENDMENT_EMPTY, CONTRACT_AMENDMENT_PERIOD_CHANGES_NOT_ALLOWED, CONTRACT_AMENDMENT_OPTION_FIELDS_NOT_ALLOWED, CONTRACT_AMENDMENT_NEW_PERIOD_INDEX_INVALID, CONTRACT_OPTION_PERIOD_HAS_DEPENDENTS, CONTRACT_PERIOD_INVALID_TRANSITION, CONTRACT_PERIOD_TRANSITION_CONFLICT, CONTRACT_PERIOD_OVERLAP, CONTRACT_PERIOD_ORDER_INVALID, CONTRACT_PERIOD_DATES_INVALID, CONTRACT_OPTION_REQUIRES_BOUNDED_INITIAL, CONTRACT_AMENDMENT_TYPE_DIRECTION_MISMATCH, CONTRACT_AMENDMENT_NOT_AMENDABLE, CONTRACT_AMENDMENT_EFFECTIVE_BEFORE_START, CONTRACT_AMENDMENT_EFFECTIVE_IN_CLOSED_PERIOD, CONTRACT_AMENDMENT_INVALID_SUPERSEDE_TERMS, CONTRACT_AMENDMENT_PERIOD_NOT_ON_CONTRACT, CONTRACT_AMENDMENT_TERM_BEFORE_EFFECTIVE_ON, CONTRACT_TERM_OVERLAP, TRANSACTION_RETRYABLE
access-tokenAuthorizationBearer <token>id*stringx-contract-version?stringThe contract's version, as returned by GET /v1/contracts/{id} — the same header the record route takes. Exactly one of this header or If-Match is required.
if-match?stringDEPRECATED fallback: the ETag returned by GET /v1/contracts/{id}. Prefer x-contract-version.
application/json- body
add_periods?array<>Options this amendment adds, as available periods after the existing ones. option_addition only, and it must carry at least one. Its introduce_terms may name these by new_period_index and no other period.
amendment_type*stringWhat kind of change this amendment records. Narrower than the type on the response: system-written types such as option_exercise are recorded by the route that performs the change, not requested here.
"rent_change""other""term_extension""term_reduction""option_addition""option_removal"document_file_id?|uuideffective_on*stringWhen the change takes economic effect. Must not precede the contract's start date, and must fall in an open accounting period.
dateexecuted_on*stringWhen the parties signed.
dateintroduce_terms*array<>Terms this amendment introduces, in force from effective_on.
lease_terms_changes?Lease facts this amendment changes beside its terms. Use amendment_type other for an area change alone.
period_changes?array<>Periods whose dates this amendment moves. Only term_extension and term_reduction may carry these, and the type must match the direction of the net change in the lease length.
reason?string|nullremove_period_ids?array<>Available options of this contract this amendment removes. option_removal only, and it must carry at least one; it may not supersede or introduce terms. A removed option keeps its row and terms with status removed; its terms are retired and their escalation clauses deleted, refused if a reset on them was already decided.
supersede_term_ids*array<>Terms this amendment retires. Every id must name an in-force term of this contract; the whole amendment is rejected otherwise.
application/json- response
data*meta*curl -X POST 'https://api.acreum.io/v1/contracts/string/amendments/preview' \ -H 'Content-Type: application/json' \ -d '{ "amendment_type": "rent_change", "effective_on": "2019-08-24", "executed_on": "2019-08-24", "introduce_terms": [ { "term": {} } ], "supersede_term_ids": [ "1236400d-da55-4078-bea1-7fd419864e53" ]}'{ "data": { "catch_up": { "months": [ { "billed": "1234.50", "difference": "1234.50", "month": "2019-08-24", "outcome": "adjustment", "should": "1234.50" } ], "total": "1234.50" }, "next_invoice": { "after_total": "1234.50", "before_total": "1234.50", "date": "2019-08-24" }, "posts_in": { "period_end": "2019-08-24", "period_start": "2019-08-24" }, "recovery_rebill_warning": true }, "meta": { "api_version": "2026-04-23", "cursor": { "has_more": true, "next": "eyJpZCI6ICJhYmMifQ==" }, "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f", "total_count": 1234 }}Every escalation event on this contract, newest reset first, in EVERY status — the decided ones are the audit trail of who accepted what, when, and why. A decided row carries the retro catch-up charge it staged in staged_charge, whose billed_document_id says whether the decision can still be reversed. A pending row carries null there; its live retro figure comes from GET /v1/escalations/{id}/true-up-preview.
Required scope: contracts:read
Pagination: cursor
Error codes: NOT_FOUND
access-tokenAuthorizationBearer <token>id*stringcursor?stringlimit?number1..200, default 50
application/json- response
data*array<>meta*curl -X GET 'https://api.acreum.io/v1/contracts/string/escalations'{ "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_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" } ], "meta": { "api_version": "2026-04-23", "limit": 50, "next_cursor": "eyJpZCI6ICJhYmMifQ==", "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f" }}A lease change (end, termination, amendment) that never reached one module after every retry is dead, and it blocks closing the period when it affects postings. This puts it back in the queue with its attempts reset; it runs within a minute. Its lease_lifecycle.delivery_dead work item resolves when it goes through.
Required scope: contracts:write
Error codes: NOT_FOUND, LEASE_LIFECYCLE_DELIVERY_NOT_DEAD, LEGAL_ENTITY_NOT_IN_SCOPE, INVALID_IDEMPOTENCY_KEY, IDEMPOTENCY_CONFLICT
access-tokenAuthorizationBearer <token>id*stringdeliveryId*stringIdempotency-Key?stringClient-chosen key that makes this mutation safe to retry. Optional — a request without one is processed normally, with no replay protection. Reusing a key with the same body replays the original response for ~24 hours; reusing it with a different body returns IDEMPOTENCY_CONFLICT.
^[A-Za-z0-9_-]{1,255}$length <= 255application/json- response
data*meta*curl -X POST 'https://api.acreum.io/v1/contracts/string/lifecycle-deliveries/string/redeliver'{ "data": { "delivery_id": "9892f438-d31c-4ff2-bc84-146525b292ff", "status": "pending" }, "meta": { "api_version": "2026-04-23", "cursor": { "has_more": true, "next": "eyJpZCI6ICJhYmMifQ==" }, "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f", "total_count": 1234 }}live is the version in force on the org's today, null when none is (no config yet, or the first version starts later). versions is every version, newest start first; a same-day re-save appears before the version it replaced, which carries superseded_at.
Required scope: percentage-rent:read
Error codes: NOT_FOUND
access-tokenAuthorizationBearer <token>id*stringapplication/json- response
data*meta*curl -X GET 'https://api.acreum.io/v1/contracts/string/percentage-rent'{ "data": { "live": { "allocation_rule": "pro_rata", "audit_costs_recoverable": true, "audit_interest_rate_bp": 0, "audit_threshold_bp": 0, "billing_method": "annual_only", "closure_periods": [ { "from": "2019-08-24", "to": "2019-08-24" } ], "contract_id": "9aafc1a8-e497-46c9-ba0b-bd5b03c353e4", "created_at": "2019-08-24T14:15:22Z", "created_by": "ee824cad-d7a6-4f48-87dc-e8461a9201c4", "effective_from": "2019-08-24", "effective_to": "2019-08-24", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "invoice_mode": "inherit", "item_id": "4d8cd62e-a579-4dae-af8c-3172f96f8f7c", "late_estimate_after_days": 0, "late_estimate_basis_pct": 0, "late_estimate_enabled": true, "natural_breakpoint_rent_term_ids": [ "67ff860a-2c65-4f45-af8a-9e35a5e4e120" ], "proration": "days", "rate_style": "marginal", "rounding": "cents", "rules": [ { "breakpoint": "none", "breakpoint_group": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "position": 0, "rate_bp": 1, "sales_category_ids": [ "d5fe049c-d6da-4bf6-b4f0-a5a11686cdf1" ], "stated_amount": "1234.50", "tiers": [ { "from_amount": "1234.50", "rate_bp": 1 } ] } ], "superseded_at": "2019-08-24T14:15:22Z", "supersedes_config_id": "9cfb570f-19db-420d-8273-34b4de595584", "tax_rate_id": "6156135d-450b-464c-b854-039a7690a62e" }, "versions": [ { "allocation_rule": "pro_rata", "audit_costs_recoverable": true, "audit_interest_rate_bp": 0, "audit_threshold_bp": 0, "billing_method": "annual_only", "closure_periods": [ { "from": "2019-08-24", "to": "2019-08-24" } ], "contract_id": "9aafc1a8-e497-46c9-ba0b-bd5b03c353e4", "created_at": "2019-08-24T14:15:22Z", "created_by": "ee824cad-d7a6-4f48-87dc-e8461a9201c4", "effective_from": "2019-08-24", "effective_to": "2019-08-24", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "invoice_mode": "inherit", "item_id": "4d8cd62e-a579-4dae-af8c-3172f96f8f7c", "late_estimate_after_days": 0, "late_estimate_basis_pct": 0, "late_estimate_enabled": true, "natural_breakpoint_rent_term_ids": [ "67ff860a-2c65-4f45-af8a-9e35a5e4e120" ], "proration": "days", "rate_style": "marginal", "rounding": "cents", "rules": [ { "breakpoint": "none", "breakpoint_group": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "position": 0, "rate_bp": 1, "sales_category_ids": [ "d5fe049c-d6da-4bf6-b4f0-a5a11686cdf1" ], "stated_amount": "1234.50", "tiers": [ { "from_amount": "1234.50", "rate_bp": 1 } ] } ], "superseded_at": "2019-08-24T14:15:22Z", "supersedes_config_id": "9cfb570f-19db-420d-8273-34b4de595584", "tax_rate_id": "6156135d-450b-464c-b854-039a7690a62e" } ] }, "meta": { "api_version": "2026-04-23", "cursor": { "has_more": true, "next": "eyJpZCI6ICJhYmMifQ==" }, "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f", "total_count": 1234 }}Every save is a new version; rules are replaced as a whole and an omitted optional field takes its default. effective_from equal to the live version's start replaces that version (it is stamped superseded_at); a later date ends it the day before; an earlier date is 422 PERCENTAGE_RENT_CONFIG_BACKDATED. The lease needs a sales config (422 PERCENTAGE_RENT_SALES_CONFIG_REQUIRED), every rule category must be one of the sales config's, and cross-field rules are 422 PERCENTAGE_RENT_CONFIG_INVALID with context.violations[]. item_id must be an active income item.
Required scope: percentage-rent:write
Plannable: yes. An agent can use this operation as a step in a plan.
Error codes: VALIDATION_FAILED, NOT_FOUND, PERCENTAGE_RENT_CONFIG_INVALID, PERCENTAGE_RENT_SALES_CONFIG_REQUIRED, PERCENTAGE_RENT_CONFIG_BACKDATED, PERCENTAGE_RENT_ITEM_INVALID, PERCENTAGE_RENT_TAX_RATE_INVALID
access-tokenAuthorizationBearer <token>id*stringIdempotency-Key?stringClient-chosen key that makes this mutation safe to retry. Optional — a request without one is processed normally, with no replay protection. Reusing a key with the same body replays the original response for ~24 hours; reusing it with a different body returns IDEMPOTENCY_CONFLICT.
^[A-Za-z0-9_-]{1,255}$length <= 255application/json- body
allocation_rule?stringper_category is refused in v1 (allocation_unsupported).
"pro_rata""pro_rata""sequenced""per_category"audit_costs_recoverable?booleanfalseaudit_interest_rate_bp?|0 <= valueaudit_threshold_bp?|0 <= valuebilling_method?string"annual_only""annual_only""cumulative""periodic"closure_periods?array<>effective_from*stringThe version's first day. Equal to the live version's start replaces it; later closes it the day before; earlier is refused.
dateinvoice_mode?stringHow approved % rent for this lease is invoiced: inherit = the org's pct_rent_invoice_mode; next_rent_invoice = added to the lease's next rent invoice; separate = an invoice of its own, posted but not emailed. Termination and audit lines always bill separately, whatever this says.
"inherit""inherit""next_rent_invoice""separate"item_id*stringAn active income item of the org that % rent bills through.
uuidlate_estimate_after_days?|Days late before the daily job bills an estimate; omitted or null = never on its own.
0 <= value <= 3650late_estimate_basis_pct?number0 <= value <= 1000125late_estimate_enabled?booleantruenatural_breakpoint_rent_term_ids?array<>Fixed base-rent terms of this lease a natural breakpoint divides; omitted or [] = all of them.
proration?"days""days""days"rate_style?string"marginal""marginal""cliff"rounding?string"cents""cents""whole_dollar"rules*array<>The rules in order; [] saves a config with no rules yet.
tax_rate_id?|uuidapplication/json- response
data*meta*curl -X PUT 'https://api.acreum.io/v1/contracts/string/percentage-rent' \ -H 'Content-Type: application/json' \ -d '{ "effective_from": "2019-08-24", "item_id": "4d8cd62e-a579-4dae-af8c-3172f96f8f7c", "rules": [ { "breakpoint": "none", "sales_category_ids": [ "d5fe049c-d6da-4bf6-b4f0-a5a11686cdf1" ] } ]}'{ "data": { "allocation_rule": "pro_rata", "audit_costs_recoverable": true, "audit_interest_rate_bp": 0, "audit_threshold_bp": 0, "billing_method": "annual_only", "closure_periods": [ { "from": "2019-08-24", "to": "2019-08-24" } ], "contract_id": "9aafc1a8-e497-46c9-ba0b-bd5b03c353e4", "created_at": "2019-08-24T14:15:22Z", "created_by": "ee824cad-d7a6-4f48-87dc-e8461a9201c4", "effective_from": "2019-08-24", "effective_to": "2019-08-24", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "invoice_mode": "inherit", "item_id": "4d8cd62e-a579-4dae-af8c-3172f96f8f7c", "late_estimate_after_days": 0, "late_estimate_basis_pct": 0, "late_estimate_enabled": true, "natural_breakpoint_rent_term_ids": [ "67ff860a-2c65-4f45-af8a-9e35a5e4e120" ], "proration": "days", "rate_style": "marginal", "rounding": "cents", "rules": [ { "breakpoint": "none", "breakpoint_group": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "position": 0, "rate_bp": 1, "sales_category_ids": [ "d5fe049c-d6da-4bf6-b4f0-a5a11686cdf1" ], "stated_amount": "1234.50", "tiers": [ { "from_amount": "1234.50", "rate_bp": 1 } ] } ], "superseded_at": "2019-08-24T14:15:22Z", "supersedes_config_id": "9cfb570f-19db-420d-8273-34b4de595584", "tax_rate_id": "6156135d-450b-464c-b854-039a7690a62e" }, "meta": { "api_version": "2026-04-23", "cursor": { "has_more": true, "next": "eyJpZCI6ICJhYmMifQ==" }, "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f", "total_count": 1234 }}override is the lease's own setting per field (null = inherits the org's), or null when it inherits everything; effective is the policy its charges follow. Not versioned: it applies to the lease's lines of any period.
Required scope: percentage-rent:read
Error codes: NOT_FOUND
access-tokenAuthorizationBearer <token>id*stringapplication/json- response
data*meta*curl -X GET 'https://api.acreum.io/v1/contracts/string/percentage-rent/automation'{ "data": { "effective": { "auto_send": "always", "auto_send_limit": "1234.50", "hold_credit": true, "hold_estimated": true, "hold_first_billed_year": true, "hold_swing": true, "swing_pct": 1 }, "override": { "auto_send": "always", "auto_send_limit": "1234.50", "hold_credit": true, "hold_estimated": true, "hold_first_billed_year": true, "hold_swing": true, "swing_pct": 0 } }, "meta": { "api_version": "2026-04-23", "cursor": { "has_more": true, "next": "eyJpZCI6ICJhYmMifQ==" }, "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f", "total_count": 1234 }}The whole override: an omitted or null field inherits the org setting, and an all-null body removes the override. Lines already held stay held until a person approves them.
Required scope: percentage-rent:write
Error codes: VALIDATION_FAILED, NOT_FOUND
access-tokenAuthorizationBearer <token>id*stringapplication/json- body
auto_send?|When a computed charge goes out on its own: always (every charge not held), up_to_limit (charges whose absolute value is at most auto_send_limit; larger ones are held over_auto_send_limit), never (every charge is held approval_required). up_to_limit needs a limit here or on the org.
"always""up_to_limit""never"auto_send_limit?string|nullhold_credit?boolean|nullhold_estimated?boolean|nullhold_first_billed_year?boolean|nullhold_swing?boolean|nullswing_pct?|1 <= value <= 1000application/json- response
data*meta*curl -X PUT 'https://api.acreum.io/v1/contracts/string/percentage-rent/automation' \ -H 'Content-Type: application/json' \ -d '{}'{ "data": { "effective": { "auto_send": "always", "auto_send_limit": "1234.50", "hold_credit": true, "hold_estimated": true, "hold_first_billed_year": true, "hold_swing": true, "swing_pct": 1 }, "override": { "auto_send": "always", "auto_send_limit": "1234.50", "hold_credit": true, "hold_estimated": true, "hold_first_billed_year": true, "hold_swing": true, "swing_pct": 0 } }, "meta": { "api_version": "2026-04-23", "cursor": { "has_more": true, "next": "eyJpZCI6ICJhYmMifQ==" }, "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f", "total_count": 1234 }}Draft contracts only. On a live lease an option is added by an option_addition amendment; this route refuses with CONTRACT_PERIOD_CHANGE_REQUIRES_AMENDMENT.
Required scope: contracts:write
Plannable: yes. An agent can use this operation as a step in a plan.
Error codes: NOT_FOUND, VALIDATION_FAILED, CONFLICT, LEGAL_ENTITY_NOT_IN_SCOPE, INVALID_IDEMPOTENCY_KEY, IDEMPOTENCY_CONFLICT, CONTRACT_PERIODS_NOT_MUTABLE, CONTRACT_PERIOD_CHANGE_REQUIRES_AMENDMENT, CONTRACT_PERIOD_DATES_INVALID, CONTRACT_OPTION_REQUIRES_BOUNDED_INITIAL, CONTRACT_PERIOD_ORDER_INVALID, CONTRACT_PERIOD_OVERLAP, CONTRACT_INITIAL_PERIOD_REQUIRED
access-tokenAuthorizationBearer <token>id*stringIdempotency-Key?stringClient-chosen key that makes this mutation safe to retry. Optional — a request without one is processed normally, with no replay protection. Reusing a key with the same body replays the original response for ~24 hours; reusing it with a different body returns IDEMPOTENCY_CONFLICT.
^[A-Za-z0-9_-]{1,255}$length <= 255application/json- body
end_date?string|nulllabel?stringnotice_date?string|nullsort_order?numberstart_date*stringapplication/json- response
data*meta*curl -X POST 'https://api.acreum.io/v1/contracts/string/periods' \ -H 'Content-Type: application/json' \ -d '{ "start_date": "string"}'{ "data": { "end_date": "string", "exercised_at": "2019-08-24T14:15:22Z", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "kind": "initial", "label": "string", "notice_date": "string", "sort_order": 0, "start_date": "string", "status": "string" }, "meta": { "api_version": "2026-04-23", "cursor": { "has_more": true, "next": "eyJpZCI6ICJhYmMifQ==" }, "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f", "total_count": 1234 }}Required scope: contracts:write
Plannable: yes. An agent can use this operation as a step in a plan.
Error codes: NOT_FOUND, VALIDATION_FAILED, CONFLICT, LEGAL_ENTITY_NOT_IN_SCOPE, INVALID_IDEMPOTENCY_KEY, IDEMPOTENCY_CONFLICT, CONTRACT_PERIODS_NOT_MUTABLE, CONTRACT_PERIOD_NOT_EDITABLE, CONTRACT_PERIOD_DATES_REQUIRE_AMENDMENT, CONTRACT_PERIOD_DATES_INVALID, CONTRACT_PERIOD_OVERLAP, CONTRACT_TERM_STEPS_INSUFFICIENT, CONTRACT_TERM_STEPPED_REQUIRES_END
access-tokenAuthorizationBearer <token>id*stringperiodId*stringIdempotency-Key?stringClient-chosen key that makes this mutation safe to retry. Optional — a request without one is processed normally, with no replay protection. Reusing a key with the same body replays the original response for ~24 hours; reusing it with a different body returns IDEMPOTENCY_CONFLICT.
^[A-Za-z0-9_-]{1,255}$length <= 255application/json- body
end_date?string|nulllabel?stringnotice_date?string|nullstart_date?stringapplication/json- response
data*meta*curl -X PATCH 'https://api.acreum.io/v1/contracts/string/periods/string' \ -H 'Content-Type: application/json' \ -d '{}'{ "data": { "end_date": "string", "exercised_at": "2019-08-24T14:15:22Z", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "kind": "initial", "label": "string", "notice_date": "string", "sort_order": 0, "start_date": "string", "status": "string" }, "meta": { "api_version": "2026-04-23", "cursor": { "has_more": true, "next": "eyJpZCI6ICJhYmMifQ==" }, "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f", "total_count": 1234 }}Deletes an available option period. A period with terms attached is refused with CONTRACT_OPTION_PERIOD_HAS_DEPENDENTS, whose context lists the terms, escalation clauses and reset events that would go with it — enough to render a confirmation without a second request. Retry with ?cascade=true to delete all of it in one transaction. An escalation reset that was already accepted or overridden is refused even with cascade=true: reverse it first. Draft contracts only: on a live lease an option is removed by an option_removal amendment, and this route refuses with CONTRACT_PERIOD_CHANGE_REQUIRES_AMENDMENT.
Required scope: contracts:write
Error codes: NOT_FOUND, VALIDATION_FAILED, CONFLICT, CONTRACT_OPTION_PERIOD_HAS_DEPENDENTS, LEGAL_ENTITY_NOT_IN_SCOPE, INVALID_IDEMPOTENCY_KEY, IDEMPOTENCY_CONFLICT, CONTRACT_PERIODS_NOT_MUTABLE, CONTRACT_PERIOD_CHANGE_REQUIRES_AMENDMENT, CONTRACT_PERIOD_NOT_DELETABLE
access-tokenAuthorizationBearer <token>id*stringperiodId*stringcascade?booleanDelete the period together with its terms, their escalation clauses and the undecided reset events derived from them, in one transaction. Omitted or false, a period with anything attached is refused with CONTRACT_OPTION_PERIOD_HAS_DEPENDENTS, whose context lists exactly what would be deleted. An accepted or overridden escalation event is refused even with cascade=true.
Idempotency-Key?stringClient-chosen key that makes this mutation safe to retry. Optional — a request without one is processed normally, with no replay protection. Reusing a key with the same body replays the original response for ~24 hours; reusing it with a different body returns IDEMPOTENCY_CONFLICT.
^[A-Za-z0-9_-]{1,255}$length <= 255Possible error codes: VALIDATION_FAILED, INVALID_IDEMPOTENCY_KEY, CONTRACT_PERIOD_CHANGE_REQUIRES_AMENDMENT
application/json- response
code*stringdetail*stringerrors?array<>instance*stringnext_action?stringWhat the caller does next. Sent only by codes that declare it (the PLAN_* codes).
"fix_step""re_preview""retry_later""split_plan""use_plan_mode""release_first""contact_operator"request_id*stringretryable?booleanWhether the same request can succeed unchanged later. Sent only by codes that declare it (the PLAN_* codes).
status*numbertitle*stringtype*stringcurl -X DELETE 'https://api.acreum.io/v1/contracts/string/periods/string'{ "code": "DOCUMENT_ALREADY_POSTED", "detail": "Document doc_01 is already posted.", "errors": [ { "code": "INVALID_VALUE", "field": "amount", "message": "must be > 0" } ], "instance": "/v1/documents/doc_01/post", "next_action": "fix_step", "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f", "retryable": true, "status": 409, "title": "Document already posted", "type": "https://docs.acreum.io/errors/DOCUMENT_ALREADY_POSTED"}Required scope: contracts:write
Plannable: yes. An agent can use this operation as a step in a plan.
Error codes: NOT_FOUND, VALIDATION_FAILED, CONFLICT, CONTRACT_AMENDMENT_EFFECTIVE_IN_CLOSED_PERIOD, LEGAL_ENTITY_NOT_IN_SCOPE, INVALID_IDEMPOTENCY_KEY, IDEMPOTENCY_CONFLICT, CONTRACT_PERIODS_NOT_MUTABLE, CONTRACT_PERIOD_INVALID_TRANSITION, CONTRACT_PERIOD_TRANSITION_CONFLICT
access-tokenAuthorizationBearer <token>id*stringperiodId*stringIdempotency-Key?stringClient-chosen key that makes this mutation safe to retry. Optional — a request without one is processed normally, with no replay protection. Reusing a key with the same body replays the original response for ~24 hours; reusing it with a different body returns IDEMPOTENCY_CONFLICT.
^[A-Za-z0-9_-]{1,255}$length <= 255application/json- response
data*meta*curl -X POST 'https://api.acreum.io/v1/contracts/string/periods/string/exercise'{ "data": { "end_date": "string", "exercised_at": "2019-08-24T14:15:22Z", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "kind": "initial", "label": "string", "notice_date": "string", "sort_order": 0, "start_date": "string", "status": "string" }, "meta": { "api_version": "2026-04-23", "cursor": { "has_more": true, "next": "eyJpZCI6ICJhYmMifQ==" }, "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f", "total_count": 1234 }}Waives an available option and records an option_waiver amendment in the lease's history, on draft and active leases alike. executed_on defaults to today in the org's time zone; effective_on is the same date. The option's terms are retired with it: their undecided escalation resets and clauses are deleted, and the waive is refused with CONTRACT_OPTION_PERIOD_HAS_DEPENDENTS when a reset on them was already accepted or overridden.
Required scope: contracts:write
Plannable: yes. An agent can use this operation as a step in a plan.
Error codes: NOT_FOUND, VALIDATION_FAILED, CONFLICT, LEGAL_ENTITY_NOT_IN_SCOPE, INVALID_IDEMPOTENCY_KEY, IDEMPOTENCY_CONFLICT, CONTRACT_PERIODS_NOT_MUTABLE, CONTRACT_PERIOD_INVALID_TRANSITION, CONTRACT_PERIOD_TRANSITION_CONFLICT, CONTRACT_OPTION_PERIOD_HAS_DEPENDENTS
access-tokenAuthorizationBearer <token>id*stringperiodId*stringIdempotency-Key?stringClient-chosen key that makes this mutation safe to retry. Optional — a request without one is processed normally, with no replay protection. Reusing a key with the same body replays the original response for ~24 hours; reusing it with a different body returns IDEMPOTENCY_CONFLICT.
^[A-Za-z0-9_-]{1,255}$length <= 255application/json- body
document_file_id?stringA contract file that records the waiver, e.g. the notice.
uuidexecuted_on?stringWhen the waiver was decided. Defaults to today in the org's time zone. The amendment's effective_on is the same date.
datereason?stringlength <= 1000application/json- response
data*meta*curl -X POST 'https://api.acreum.io/v1/contracts/string/periods/string/waive' \ -H 'Content-Type: application/json' \ -d '{}'{ "data": { "end_date": "string", "exercised_at": "2019-08-24T14:15:22Z", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "kind": "initial", "label": "string", "notice_date": "string", "sort_order": 0, "start_date": "string", "status": "string" }, "meta": { "api_version": "2026-04-23", "cursor": { "has_more": true, "next": "eyJpZCI6ICJhYmMifQ==" }, "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f", "total_count": 1234 }}The rent the billing engine will bill, period by period, from LeaseResolutionPort.resolveSchedule — the same read path that generates the invoices. This endpoint computes nothing itself; that is the point. A client that projects rent from terms will disagree with the invoices (spec D-08), which is what this replaces.
Required scope: contracts:read
Error codes: NOT_FOUND, LEGAL_ENTITY_NOT_IN_SCOPE, LEASE_RESOLUTION_UNRESOLVABLE
access-tokenAuthorizationBearer <token>id*stringfrom_date?stringStart of the series. Defaults to the lease's billing window start.
dateto_date?stringEnd of the series. Defaults to the billing window's capped end.
dateapplication/json- response
data*meta*curl -X GET 'https://api.acreum.io/v1/contracts/string/rent-schedule'{ "data": { "capped_end": "2019-08-24", "contract_id": "9aafc1a8-e497-46c9-ba0b-bd5b03c353e4", "entries": [ { "date": "2019-08-24", "fixed_base_amount": "1234.50", "index_status": "none", "period_end": "2019-08-24", "period_start": "2019-08-24", "proration_factor": 0, "straight_line_basis_amount": "1234.50", "stub_end": "2019-08-24", "stub_start": "2019-08-24" } ], "window": { "end": "2019-08-24", "start": "2019-08-24" } }, "meta": { "api_version": "2026-04-23", "cursor": { "has_more": true, "next": "eyJpZCI6ICJhYmMifQ==" }, "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f", "total_count": 1234 }}Required scope: contracts:write
Plannable: yes. An agent can use this operation as a step in a plan.
Error codes: NOT_FOUND, VALIDATION_FAILED, CONFLICT, LEGAL_ENTITY_NOT_IN_SCOPE, INVALID_IDEMPOTENCY_KEY, IDEMPOTENCY_CONFLICT
access-tokenAuthorizationBearer <token>id*stringIdempotency-Key?stringClient-chosen key that makes this mutation safe to retry. Optional — a request without one is processed normally, with no replay protection. Reusing a key with the same body replays the original response for ~24 hours; reusing it with a different body returns IDEMPOTENCY_CONFLICT.
^[A-Za-z0-9_-]{1,255}$length <= 255application/json- body
proration*stringFinal-period handling: 'prorated' bills a stub through the termination date using the contract's proration method; 'full' bills the entire cycle containing the date.
"full""prorated"reason?stringlength <= 2000termination_date*stringEffective termination date (YYYY-MM-DD). Must be today or later. Billing stops at this boundary; status flips on this date.
dateapplication/json- response
data*meta*curl -X POST 'https://api.acreum.io/v1/contracts/string/terminate' \ -H 'Content-Type: application/json' \ -d '{ "proration": "full", "termination_date": "2019-08-24"}'{ "data": { "billing_anchor_day": 1, "billing_frequency": "weekly", "billing_start_date": "2019-08-24", "contract_type": { "code": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string" }, "counterparty_legal_entity_id": "7f403918-5ac4-48be-b4f1-bb1e0c8ab65a", "counterparty_name": "string", "counterparty_party_id": "9e0b2a81-f1a8-4e31-bd6e-d099253bde1b", "created_at": "2019-08-24T14:15:22Z", "due_date_type": "days_after_invoice", "due_date_value": 0, "effective_date": "string", "end_date": "string", "external_ref": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "late_fee_amount": "1234.50", "late_fee_basis": "overdue_balance", "late_fee_cadence": "once", "late_fee_grace_days": 0, "late_fee_item_id": "a27ee369-5e62-42c1-b35e-97a4dc074464", "late_fee_type": "percentage", "lease_terms": { "lease_subtype": "gross", "notes": "string", "possession_date": "2019-08-24", "rent_commencement_date": "2019-08-24", "rentable_sqft": 0, "security_deposit": "1234.50" }, "legal_entity_id": "8c040143-e03c-45a0-b1bc-85161701d839", "legal_entity_name": "string", "locations": [ { "code": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "kind": "property", "name": "string", "property_id": "05003a8a-8f3c-454b-8884-a906ec46f5f5", "role": "string" } ], "opening_straight_line_balance": "1234.50", "org_id": "a40f5d1f-d889-42e9-94ea-b9b33585fc6b", "periods": [ { "end_date": "string", "exercised_at": "2019-08-24T14:15:22Z", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "kind": "initial", "label": "string", "notice_date": "string", "sort_order": 0, "start_date": "string", "status": "string" } ], "prorate_end": true, "prorate_start": true, "proration_method": "actual_days", "rentable_sqft": 4200, "start_date": "string", "status": "string", "straight_line_rent_enabled": true, "summary": "string", "terminated_at": "string", "termination_date": "2019-08-24", "termination_proration": "full", "termination_reason": "string", "terms": [ { "effective_end": "string", "effective_start": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "introduced_by_amendment_id": "4640f49b-c711-4e91-98d4-19329480b21f", "period_id": "6ce135b2-3d2a-48df-89ee-28d5de4ff349", "superseded_by_amendment_id": "c07acb29-bc70-41cb-af1f-345a34d18e2b", "term": {}, "term_type": { "code": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string" } } ], "title": "string", "version": 0 }, "meta": { "api_version": "2026-04-23", "cursor": { "has_more": true, "next": "eyJpZCI6ICJhYmMifQ==" }, "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f", "total_count": 1234 }}Required scope: contracts:write
Error codes: NOT_FOUND, VALIDATION_FAILED, CONFLICT, LEGAL_ENTITY_NOT_IN_SCOPE, INVALID_IDEMPOTENCY_KEY, IDEMPOTENCY_CONFLICT
access-tokenAuthorizationBearer <token>id*stringIdempotency-Key?stringClient-chosen key that makes this mutation safe to retry. Optional — a request without one is processed normally, with no replay protection. Reusing a key with the same body replays the original response for ~24 hours; reusing it with a different body returns IDEMPOTENCY_CONFLICT.
^[A-Za-z0-9_-]{1,255}$length <= 255application/json- response
data*meta*curl -X DELETE 'https://api.acreum.io/v1/contracts/string/terminate'{ "data": { "billing_anchor_day": 1, "billing_frequency": "weekly", "billing_start_date": "2019-08-24", "contract_type": { "code": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string" }, "counterparty_legal_entity_id": "7f403918-5ac4-48be-b4f1-bb1e0c8ab65a", "counterparty_name": "string", "counterparty_party_id": "9e0b2a81-f1a8-4e31-bd6e-d099253bde1b", "created_at": "2019-08-24T14:15:22Z", "due_date_type": "days_after_invoice", "due_date_value": 0, "effective_date": "string", "end_date": "string", "external_ref": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "late_fee_amount": "1234.50", "late_fee_basis": "overdue_balance", "late_fee_cadence": "once", "late_fee_grace_days": 0, "late_fee_item_id": "a27ee369-5e62-42c1-b35e-97a4dc074464", "late_fee_type": "percentage", "lease_terms": { "lease_subtype": "gross", "notes": "string", "possession_date": "2019-08-24", "rent_commencement_date": "2019-08-24", "rentable_sqft": 0, "security_deposit": "1234.50" }, "legal_entity_id": "8c040143-e03c-45a0-b1bc-85161701d839", "legal_entity_name": "string", "locations": [ { "code": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "kind": "property", "name": "string", "property_id": "05003a8a-8f3c-454b-8884-a906ec46f5f5", "role": "string" } ], "opening_straight_line_balance": "1234.50", "org_id": "a40f5d1f-d889-42e9-94ea-b9b33585fc6b", "periods": [ { "end_date": "string", "exercised_at": "2019-08-24T14:15:22Z", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "kind": "initial", "label": "string", "notice_date": "string", "sort_order": 0, "start_date": "string", "status": "string" } ], "prorate_end": true, "prorate_start": true, "proration_method": "actual_days", "rentable_sqft": 4200, "start_date": "string", "status": "string", "straight_line_rent_enabled": true, "summary": "string", "terminated_at": "string", "termination_date": "2019-08-24", "termination_proration": "full", "termination_reason": "string", "terms": [ { "effective_end": "string", "effective_start": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "introduced_by_amendment_id": "4640f49b-c711-4e91-98d4-19329480b21f", "period_id": "6ce135b2-3d2a-48df-89ee-28d5de4ff349", "superseded_by_amendment_id": "c07acb29-bc70-41cb-af1f-345a34d18e2b", "term": {}, "term_type": { "code": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string" } } ], "title": "string", "version": 0 }, "meta": { "api_version": "2026-04-23", "cursor": { "has_more": true, "next": "eyJpZCI6ICJhYmMifQ==" }, "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f", "total_count": 1234 }}Returns the live version of the clause governing this term today, or 404 when the term has no index-linked escalation.
Required scope: contracts:read
Error codes: NOT_FOUND, ESCALATION_TERM_UNKNOWN
access-tokenAuthorizationBearer <token>id*stringtermId*stringapplication/json- response
data*meta*curl -X GET 'https://api.acreum.io/v1/contracts/string/terms/string/escalation-config'{ "data": { "applies_to": "amount", "cap_bp": 0, "carryover_bank": true, "components": [ {} ], "compounding": "prior_rent", "effective_end_inclusive": "2019-08-24", "effective_start": "2019-08-24", "floor_bp": 0, "holdover_policy": "floor", "holdover_stated_amount_cents": 0, "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "operator": "single", "ratchet": true, "reset_anchor_date": "2019-08-24", "reset_at_term_start": false, "reset_frequency": "annual", "reset_schedule": "anniversary", "rounding": "cents", "series_display_name": "string", "series_id": "0f6582ac-1e7e-41dc-a63a-24fccd074d0c", "stub_policy": "full", "supersedes_config_id": "9cfb570f-19db-420d-8273-34b4de595584", "term_id": "52410681-464b-45f2-b7e5-562ae7baa779" }, "meta": { "api_version": "2026-04-23", "cursor": { "has_more": true, "next": "eyJpZCI6ICJhYmMifQ==" }, "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f", "total_count": 1234 }}Removes EVERY version of the clause — the live one and any superseded predecessors — together with the undecided reset events derived from them, in one transaction. All versions go because the foreign key from a clause to its term is ON DELETE RESTRICT and does not consult superseded_at, so a leftover superseded row would still prevent the term from ever being deleted. Answers 204 when the term has no clause, so the call is safely repeatable. Refused with ESCALATION_CONFIG_HAS_DECIDED_EVENTS when a reset derived from the clause was already accepted or overridden: reverse it first.
Required scope: contracts:write
Error codes: NOT_FOUND, ESCALATION_TERM_UNKNOWN, ESCALATION_CONFIG_HAS_DECIDED_EVENTS, INVALID_IDEMPOTENCY_KEY, IDEMPOTENCY_CONFLICT
access-tokenAuthorizationBearer <token>id*stringtermId*stringIdempotency-Key?stringClient-chosen key that makes this mutation safe to retry. Optional — a request without one is processed normally, with no replay protection. Reusing a key with the same body replays the original response for ~24 hours; reusing it with a different body returns IDEMPOTENCY_CONFLICT.
^[A-Za-z0-9_-]{1,255}$length <= 255The clause and its undecided events are gone.
curl -X DELETE 'https://api.acreum.io/v1/contracts/string/terms/string/escalation-config'Full replacement, so PUT rather than PATCH. A live clause is superseded and the replacement becomes the live version; the old one is kept as the version that governed its own dates.
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_CONFIG_INVALID, ESCALATION_TERM_UNKNOWN, ESCALATION_SERIES_UNKNOWN, ESCALATION_CONFIG_OVERLAP, ESCALATION_RESET_SUB_ANNUAL, ESCALATION_TERM_OFF_CADENCE, ESCALATION_EARLIER_RESET_UNDECIDED, ESCALATION_CONTRACT_HAS_NO_PROPERTY, INVALID_IDEMPOTENCY_KEY, IDEMPOTENCY_CONFLICT
access-tokenAuthorizationBearer <token>id*stringtermId*stringIdempotency-Key?stringClient-chosen key that makes this mutation safe to retry. Optional — a request without one is processed normally, with no replay protection. Reusing a key with the same body replays the original response for ~24 hours; reusing it with a different body returns IDEMPOTENCY_CONFLICT.
^[A-Za-z0-9_-]{1,255}$length <= 255application/json- body
applies_to?string"amount""amount_psf"cap_bp?number|nullcarryover_bank?booleancomponents*array<>The component union, caller-defined per kind. At least one must be a cpi_change.
compounding?stringprior_rent (default) compounds each reset on the rent before it. original_base is simple escalation: the term base times 1 + the sum of each year's growth (3% a year for three years is 9%). Under original_base every cpi_change component must use the same comparison.
"prior_rent""original_base"effective_end_inclusive?|Inclusive. Omit or null for an open-ended clause.
dateeffective_start*stringdatefloor_bp?number|nullholdover_policy?string"floor""prior_rate""stated_amount"holdover_stated_amount_cents?|Minor units — never a decimal, never a float.
operator*string"single""max""min""clamp"ratchet?booleanreset_anchor_date?|datereset_at_term_start?booleanOption-period terms only: also reset on the term's own start date. Refused with ESCALATION_CONFIG_INVALID on any other term.
falsereset_frequency?string"annual""semiannual""quarterly""monthly"reset_schedule*string"anniversary""fixed_date""custom"rounding?string"cents""whole_dollar""psf_nearest_cent"series_id*stringuuidstub_policy?string"full""prorated""skip"application/json- response
data*meta*curl -X PUT 'https://api.acreum.io/v1/contracts/string/terms/string/escalation-config' \ -H 'Content-Type: application/json' \ -d '{ "components": [ {} ], "effective_start": "2019-08-24", "operator": "single", "reset_schedule": "anniversary", "series_id": "0f6582ac-1e7e-41dc-a63a-24fccd074d0c"}'{ "data": { "applies_to": "amount", "cap_bp": 0, "carryover_bank": true, "components": [ {} ], "compounding": "prior_rent", "effective_end_inclusive": "2019-08-24", "effective_start": "2019-08-24", "floor_bp": 0, "holdover_policy": "floor", "holdover_stated_amount_cents": 0, "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "operator": "single", "ratchet": true, "reset_anchor_date": "2019-08-24", "reset_at_term_start": false, "reset_frequency": "annual", "reset_schedule": "anniversary", "rounding": "cents", "series_display_name": "string", "series_id": "0f6582ac-1e7e-41dc-a63a-24fccd074d0c", "stub_policy": "full", "supersedes_config_id": "9cfb570f-19db-420d-8273-34b4de595584", "term_id": "52410681-464b-45f2-b7e5-562ae7baa779" }, "meta": { "api_version": "2026-04-23", "cursor": { "has_more": true, "next": "eyJpZCI6ICJhYmMifQ==" }, "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f", "total_count": 1234 }}Required scope: contracts:read
Pagination: cursor
Error codes: ATTACHMENT_NOT_FOUND, VALIDATION_FAILED, INVALID_CURSOR
access-tokenAuthorizationBearer <token>parentId*stringcursor?stringlimit?number1..500, default 200
application/json- response
data*array<>meta*curl -X GET 'https://api.acreum.io/v1/contracts/string/files'{ "data": [ { "content_type": "application/pdf", "file_name": "string", "file_sha256": "string", "file_size_bytes": 0, "folder_id": "7695bac3-9397-4ec2-9335-45a2a16f1901", "folder_name": "string", "group_id": "306db4e0-7449-4501-b76f-075576fe2d8f", "group_label": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "owner_name": "string", "parent_id": "1c6ca187-e61f-4301-8dcb-0e9749e89eef", "source_kind": "party", "source_label": "string", "uploaded_at": "2019-08-24T14:15:22Z", "uploaded_by": "e134ce2c-a199-4e99-9c11-627b70a7ff28" } ], "meta": { "api_version": "2026-04-23", "limit": 50, "next_cursor": "eyJpZCI6ICJhYmMifQ==", "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f" }}Required scope: contracts:write
Error codes: ATTACHMENT_NOT_FOUND, ATTACHMENT_TYPE_UNSUPPORTED, ATTACHMENT_TOO_LARGE, VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, INVALID_IDEMPOTENCY_KEY, IDEMPOTENCY_CONFLICT
access-tokenAuthorizationBearer <token>parentId*stringfolderId*stringIdempotency-Key*stringClient-chosen key that makes this mutation safe to retry. Required — a request without one is rejected with IDEMPOTENCY_KEY_REQUIRED. Reusing a key with the same body replays the original response for ~24 hours; reusing it with a different body returns IDEMPOTENCY_CONFLICT.
^[A-Za-z0-9_-]{1,255}$length <= 255multipart/form-data- body
file*unknownPDF, image, Office, CSV or TXT file. Max 20 MiB. Sniffed server-side.
application/json- response
data*meta*curl -X POST 'https://api.acreum.io/v1/contracts/string/files?folderId=string' \ -H 'Idempotency-Key: string' \ -F 'file=null'{ "data": { "content_type": "application/pdf", "file_name": "string", "file_sha256": "string", "file_size_bytes": 0, "folder_id": "7695bac3-9397-4ec2-9335-45a2a16f1901", "folder_name": "string", "group_id": "306db4e0-7449-4501-b76f-075576fe2d8f", "group_label": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "owner_name": "string", "parent_id": "1c6ca187-e61f-4301-8dcb-0e9749e89eef", "source_kind": "party", "source_label": "string", "uploaded_at": "2019-08-24T14:15:22Z", "uploaded_by": "e134ce2c-a199-4e99-9c11-627b70a7ff28" }, "meta": { "api_version": "2026-04-23", "cursor": { "has_more": true, "next": "eyJpZCI6ICJhYmMifQ==" }, "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f", "total_count": 1234 }}Required scope: contracts:write
Error codes: ATTACHMENT_NOT_FOUND, VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, INVALID_IDEMPOTENCY_KEY
access-tokenAuthorizationBearer <token>parentId*stringfileId*stringIdempotency-Key*stringClient-chosen key that makes this mutation safe to retry. Required — a request without one is rejected with IDEMPOTENCY_KEY_REQUIRED. Reusing a key with the same body replays the original response for ~24 hours; reusing it with a different body returns IDEMPOTENCY_CONFLICT.
^[A-Za-z0-9_-]{1,255}$length <= 255application/json- body
file_name?stringNew display name for the file (rename). Trimmed server-side; storage_path and content_type never change. The extension is immutable — the new name must keep the current extension (changing it returns VALIDATION_FAILED). Omit to leave the current name unchanged. An explicit null is rejected — omit the field instead.
1 <= length <= 255folder_id?|Target folder id (see GET /v1/org-folders), or null to move the file to the root. Omit to leave the current folder unchanged.
uuidapplication/json- response
data*meta*curl -X PATCH 'https://api.acreum.io/v1/contracts/string/files/string' \ -H 'Idempotency-Key: string' \ -H 'Content-Type: application/json' \ -d '{}'{ "data": { "content_type": "application/pdf", "file_name": "string", "file_sha256": "string", "file_size_bytes": 0, "folder_id": "7695bac3-9397-4ec2-9335-45a2a16f1901", "folder_name": "string", "group_id": "306db4e0-7449-4501-b76f-075576fe2d8f", "group_label": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "owner_name": "string", "parent_id": "1c6ca187-e61f-4301-8dcb-0e9749e89eef", "source_kind": "party", "source_label": "string", "uploaded_at": "2019-08-24T14:15:22Z", "uploaded_by": "e134ce2c-a199-4e99-9c11-627b70a7ff28" }, "meta": { "api_version": "2026-04-23", "cursor": { "has_more": true, "next": "eyJpZCI6ICJhYmMifQ==" }, "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f", "total_count": 1234 }}Required scope: files:delete
Error codes: ATTACHMENT_NOT_FOUND, IDEMPOTENCY_KEY_REQUIRED, INVALID_IDEMPOTENCY_KEY
access-tokenAuthorizationBearer <token>parentId*stringfileId*stringIdempotency-Key*stringClient-chosen key that makes this mutation safe to retry. Required — a request without one is rejected with IDEMPOTENCY_KEY_REQUIRED. Reusing a key with the same body replays the original response for ~24 hours; reusing it with a different body returns IDEMPOTENCY_CONFLICT.
^[A-Za-z0-9_-]{1,255}$length <= 255Possible error codes: IDEMPOTENCY_KEY_REQUIRED, INVALID_IDEMPOTENCY_KEY
application/json- response
code*stringdetail*stringerrors?array<>instance*stringnext_action?stringWhat the caller does next. Sent only by codes that declare it (the PLAN_* codes).
"fix_step""re_preview""retry_later""split_plan""use_plan_mode""release_first""contact_operator"request_id*stringretryable?booleanWhether the same request can succeed unchanged later. Sent only by codes that declare it (the PLAN_* codes).
status*numbertitle*stringtype*stringcurl -X DELETE 'https://api.acreum.io/v1/contracts/string/files/string' \ -H 'Idempotency-Key: string'{ "code": "DOCUMENT_ALREADY_POSTED", "detail": "Document doc_01 is already posted.", "errors": [ { "code": "INVALID_VALUE", "field": "amount", "message": "must be > 0" } ], "instance": "/v1/documents/doc_01/post", "next_action": "fix_step", "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f", "retryable": true, "status": 409, "title": "Document already posted", "type": "https://docs.acreum.io/errors/DOCUMENT_ALREADY_POSTED"}Required scope: contracts:read
Error codes: ATTACHMENT_NOT_FOUND
access-tokenAuthorizationBearer <token>parentId*stringfileId*stringapplication/json- response
data*meta*curl -X GET 'https://api.acreum.io/v1/contracts/string/files/string/download'{ "data": { "expires_at": "2019-08-24T14:15:22Z", "url": "string" }, "meta": { "api_version": "2026-04-23", "cursor": { "has_more": true, "next": "eyJpZCI6ICJhYmMifQ==" }, "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f", "total_count": 1234 }}