Distribution Policy Templates
Lists the org's distribution policy templates, optionally filtered by status, each with its lines and assigned_count (live policies based on it). meta.starters_created says whether the four starter templates were ever created; while it is false, POST /distribution-policy-templates/starters creates the missing ones.
Required scope: distributions:read
Pagination: cursor
Error codes: INVALID_CURSOR, VALIDATION_FAILED
access-tokenAuthorizationBearer <token>status?string"active""archived"cursor?stringlimit?number1..100, default 50
sort?stringDefault: -created_at
"-created_at""created_at"application/json- response
data*array<>meta*curl -X GET 'https://api.acreum.io/v1/distribution-policy-templates'{ "data": [ { "assigned_count": 0, "base": "net_income_ex_receipts", "basis": "accrual", "cadence": "monthly", "cash_floor": "1234.50", "cash_guard": "cap", "created_at": "2019-08-24T14:15:22Z", "created_by": "ee824cad-d7a6-4f48-87dc-e8461a9201c4", "description": "string", "distribution_type": "operating_income", "due_day": 0, "holdback_amount": "1234.50", "horizon_months": 0, "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "lines": [ { "account_id": "449e7a5c-69d3-4b8a-aaaf-5c9b713ebc65", "direction": "add", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "label": "string", "measure": "decrease_in_balance", "seq": 0, "system_role": "accounts_receivable" } ], "min_amount": "1234.50", "name": "string", "on_skip": "carry_forward", "period_lag": 0, "starter_key": "propco_quarterly", "status": "active", "updated_at": "2019-08-24T14:15:22Z", "upstream_basis": "declared" } ], "meta": { "api_version": "2026-04-23", "limit": 50, "next_cursor": "eyJpZCI6ICJhYmMifQ==", "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f", "starters_created": true }}Creates a template: a formula (cadence, base, guards, …), default holdback / cash floor / minimum, and adjustment lines naming a system role or an org-wide account. A new template has no entities, so its roles are not checked until it is assigned.
Required scope: distributions:write
Error codes: VALIDATION_FAILED, DISTRIBUTION_POLICY_TEMPLATE_NAME_TAKEN, ACCOUNT_LEGAL_ENTITY_MISMATCH, LEDGER_ENTRY_REFUSED, IDEMPOTENCY_KEY_REQUIRED, INVALID_IDEMPOTENCY_KEY, IDEMPOTENCY_CONFLICT
access-tokenAuthorizationBearer <token>Idempotency-Key*stringClient-chosen key that makes this mutation safe to retry. Required — a request without one is rejected with IDEMPOTENCY_KEY_REQUIRED. Reusing a key with the same body replays the original response for ~24 hours; reusing it with a different body returns IDEMPOTENCY_CONFLICT.
^[A-Za-z0-9_-]{1,255}$length <= 255application/json- body
base*stringavailable_cash is not accepted in this release (its formula is a pending product decision).
"net_income_ex_receipts""zero"basis?|Null (default) means each entity's org default_reporting_basis.
"accrual""cash"cadence*string"monthly""quarterly""semi_annual""annual"cash_floor?|The default every assigned policy inherits unless it overrides it; null means none. Never negative.
cash_guard?string"cap""cap""flag""off"description?|length <= 500distribution_type?string"operating_income""operating_income""capital_event""distribution_in_kind""tax_distribution"due_day*integerDay of month a due date falls on (never month-clamped).
1 <= value <= 28holdback_amount?|The default every assigned policy inherits unless it overrides it; null means none. Never negative.
horizon_months?integer1 <= value <= 3612lines?array<>Ordered add/subtract lines, replaced whole; seq is assigned server-side from array order. A template line names a system role (resolved per assigned entity) or an ORG-WIDE account — an entity's own account belongs on that entity's own lines (422 ACCOUNT_LEGAL_ENTITY_MISMATCH).
[]min_amount?|The default every assigned policy inherits unless it overrides it; null means none. Never negative.
name*stringUnique among the org's live (non-archived) templates.
1 <= length <= 120on_skip?string"carry_forward""carry_forward""forfeit"period_lag?integerPeriods back from the due date to the period the item covers; 1 = the prior period.
1 <= value <= 121upstream_basis?string"declared""declared""received"application/json- response
data*meta*curl -X POST 'https://api.acreum.io/v1/distribution-policy-templates' \ -H 'Idempotency-Key: string' \ -H 'Content-Type: application/json' \ -d '{ "base": "net_income_ex_receipts", "cadence": "monthly", "due_day": 1, "name": "string"}'{ "data": { "assigned_count": 0, "base": "net_income_ex_receipts", "basis": "accrual", "cadence": "monthly", "cash_floor": "1234.50", "cash_guard": "cap", "created_at": "2019-08-24T14:15:22Z", "created_by": "ee824cad-d7a6-4f48-87dc-e8461a9201c4", "description": "string", "distribution_type": "operating_income", "due_day": 0, "holdback_amount": "1234.50", "horizon_months": 0, "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "lines": [ { "account_id": "449e7a5c-69d3-4b8a-aaaf-5c9b713ebc65", "direction": "add", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "label": "string", "measure": "decrease_in_balance", "seq": 0, "system_role": "accounts_receivable" } ], "min_amount": "1234.50", "name": "string", "on_skip": "carry_forward", "period_lag": 0, "starter_key": "propco_quarterly", "status": "active", "updated_at": "2019-08-24T14:15:22Z", "upstream_basis": "declared" }, "meta": { "api_version": "2026-04-23", "cursor": { "has_more": true, "next": "eyJpZCI6ICJhYmMifQ==" }, "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f", "total_count": 1234 }}Creates whichever of the four starter templates (Propco quarterly, Holdco quarterly, Propco monthly, Holdco monthly) this org never had, and returns only the ones this call created — an empty list once all four exist. An archived starter is never re-created, and a starter whose name a live template already holds is skipped. None is assigned to any entity.
Required scope: distributions:write
Error codes: IDEMPOTENCY_KEY_REQUIRED, INVALID_IDEMPOTENCY_KEY, IDEMPOTENCY_CONFLICT
access-tokenAuthorizationBearer <token>Idempotency-Key*stringClient-chosen key that makes this mutation safe to retry. Required — a request without one is rejected with IDEMPOTENCY_KEY_REQUIRED. Reusing a key with the same body replays the original response for ~24 hours; reusing it with a different body returns IDEMPOTENCY_CONFLICT.
^[A-Za-z0-9_-]{1,255}$length <= 255application/json- response
data*array<>meta*curl -X POST 'https://api.acreum.io/v1/distribution-policy-templates/starters' \ -H 'Idempotency-Key: string'{ "data": [ { "assigned_count": 0, "base": "net_income_ex_receipts", "basis": "accrual", "cadence": "monthly", "cash_floor": "1234.50", "cash_guard": "cap", "created_at": "2019-08-24T14:15:22Z", "created_by": "ee824cad-d7a6-4f48-87dc-e8461a9201c4", "description": "string", "distribution_type": "operating_income", "due_day": 0, "holdback_amount": "1234.50", "horizon_months": 0, "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "lines": [ { "account_id": "449e7a5c-69d3-4b8a-aaaf-5c9b713ebc65", "direction": "add", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "label": "string", "measure": "decrease_in_balance", "seq": 0, "system_role": "accounts_receivable" } ], "min_amount": "1234.50", "name": "string", "on_skip": "carry_forward", "period_lag": 0, "starter_key": "propco_quarterly", "status": "active", "updated_at": "2019-08-24T14:15:22Z", "upstream_basis": "declared" } ], "meta": { "api_version": "2026-04-23", "cursor": { "has_more": true, "next": "eyJpZCI6ICJhYmMifQ==" }, "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f", "total_count": 1234 }}Returns one template with its formula, default amounts, lines (each with the id a policy excludes it by) and assigned_count.
Required scope: distributions:read
Error codes: VALIDATION_FAILED, DISTRIBUTION_POLICY_TEMPLATE_NOT_FOUND
access-tokenAuthorizationBearer <token>id*stringuuidapplication/json- response
data*meta*curl -X GET 'https://api.acreum.io/v1/distribution-policy-templates/497f6eca-6276-4993-bfeb-53cbbbba6f08'{ "data": { "assigned_count": 0, "base": "net_income_ex_receipts", "basis": "accrual", "cadence": "monthly", "cash_floor": "1234.50", "cash_guard": "cap", "created_at": "2019-08-24T14:15:22Z", "created_by": "ee824cad-d7a6-4f48-87dc-e8461a9201c4", "description": "string", "distribution_type": "operating_income", "due_day": 0, "holdback_amount": "1234.50", "horizon_months": 0, "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "lines": [ { "account_id": "449e7a5c-69d3-4b8a-aaaf-5c9b713ebc65", "direction": "add", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "label": "string", "measure": "decrease_in_balance", "seq": 0, "system_role": "accounts_receivable" } ], "min_amount": "1234.50", "name": "string", "on_skip": "carry_forward", "period_lag": 0, "starter_key": "propco_quarterly", "status": "active", "updated_at": "2019-08-24T14:15:22Z", "upstream_basis": "declared" }, "meta": { "api_version": "2026-04-23", "cursor": { "has_more": true, "next": "eyJpZCI6ICJhYmMifQ==" }, "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f", "total_count": 1234 }}Partial update of a template; the change reaches every assigned entity's position at once. A given lines array replaces the lines whole (an unchanged line keeps its id and the exclusions of it). status: archived archives it, refused with 409 while live policies are assigned. A new role line every assigned entity cannot resolve is refused with 422 naming them. A caller restricted to a subset of legal entities gets 403 unless every assigned entity is in its scope.
Required scope: distributions:write
Error codes: VALIDATION_FAILED, DISTRIBUTION_POLICY_TEMPLATE_NOT_FOUND, DISTRIBUTION_POLICY_TEMPLATE_IN_USE, DISTRIBUTION_POLICY_TEMPLATE_ARCHIVED, DISTRIBUTION_POLICY_TEMPLATE_NAME_TAKEN, ACCOUNT_LEGAL_ENTITY_MISMATCH, LEDGER_ENTRY_REFUSED, MISSING_SYSTEM_ROLE_ACCOUNT, LEGAL_ENTITY_NOT_IN_SCOPE, IDEMPOTENCY_KEY_REQUIRED, INVALID_IDEMPOTENCY_KEY, IDEMPOTENCY_CONFLICT
access-tokenAuthorizationBearer <token>id*stringuuidIdempotency-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
base?stringavailable_cash is not accepted in this release (its formula is a pending product decision).
"net_income_ex_receipts""zero"basis?|"accrual""cash"cadence?string"monthly""quarterly""semi_annual""annual"cash_floor?|The default every assigned policy inherits unless it overrides it; null means none. Never negative.
cash_guard?string"cap""flag""off"description?|length <= 500distribution_type?string"operating_income""capital_event""distribution_in_kind""tax_distribution"due_day?integer1 <= value <= 28holdback_amount?|The default every assigned policy inherits unless it overrides it; null means none. Never negative.
horizon_months?integer1 <= value <= 36lines?array<>Ordered add/subtract lines, replaced whole; seq is assigned server-side from array order. A template line names a system role (resolved per assigned entity) or an ORG-WIDE account — an entity's own account belongs on that entity's own lines (422 ACCOUNT_LEGAL_ENTITY_MISMATCH). An unchanged line keeps its id (and the entities’ exclusions of it); so does a line whose only change is its label (it is renamed in place); a line changed in direction, measure or target is a new line. A new role line every assigned entity must resolve, or 422 MISSING_SYSTEM_ROLE_ACCOUNT names the entities that cannot.
min_amount?|The default every assigned policy inherits unless it overrides it; null means none. Never negative.
name?string1 <= length <= 120on_skip?string"carry_forward""forfeit"period_lag?integer1 <= value <= 12status?stringarchived is terminal, and refused while live policies are assigned (move them first).
"active""archived"upstream_basis?string"declared""received"application/json- response
data*meta*curl -X PATCH 'https://api.acreum.io/v1/distribution-policy-templates/497f6eca-6276-4993-bfeb-53cbbbba6f08' \ -H 'Idempotency-Key: string' \ -H 'Content-Type: application/json' \ -d '{}'{ "data": { "assigned_count": 0, "base": "net_income_ex_receipts", "basis": "accrual", "cadence": "monthly", "cash_floor": "1234.50", "cash_guard": "cap", "created_at": "2019-08-24T14:15:22Z", "created_by": "ee824cad-d7a6-4f48-87dc-e8461a9201c4", "description": "string", "distribution_type": "operating_income", "due_day": 0, "holdback_amount": "1234.50", "horizon_months": 0, "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "lines": [ { "account_id": "449e7a5c-69d3-4b8a-aaaf-5c9b713ebc65", "direction": "add", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "label": "string", "measure": "decrease_in_balance", "seq": 0, "system_role": "accounts_receivable" } ], "min_amount": "1234.50", "name": "string", "on_skip": "carry_forward", "period_lag": 0, "starter_key": "propco_quarterly", "status": "active", "updated_at": "2019-08-24T14:15:22Z", "upstream_basis": "declared" }, "meta": { "api_version": "2026-04-23", "cursor": { "has_more": true, "next": "eyJpZCI6ICJhYmMifQ==" }, "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f", "total_count": 1234 }}For each distinct legal entity: creates a template-based policy when it has none (created), moves it from another template keeping its overrides and own lines and dropping its exclusions (moved), turns its custom policy into a template-based one (converted), or leaves it (unchanged). An entity that cannot be assigned fails on its own row with an error code and the call still answers 200 — results are in input order. Only a missing (404) or archived (409) template fails the whole call.
Required scope: distributions:write
Error codes: VALIDATION_FAILED, DISTRIBUTION_POLICY_TEMPLATE_NOT_FOUND, DISTRIBUTION_POLICY_TEMPLATE_ARCHIVED, IDEMPOTENCY_KEY_REQUIRED, INVALID_IDEMPOTENCY_KEY, IDEMPOTENCY_CONFLICT
access-tokenAuthorizationBearer <token>id*stringuuidIdempotency-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
legal_entity_ids*array<>The legal entities to assign the template to; duplicates are collapsed (one result per distinct id).
1 <= items <= 500application/json- response
data*array<>meta*curl -X POST 'https://api.acreum.io/v1/distribution-policy-templates/497f6eca-6276-4993-bfeb-53cbbbba6f08/assign' \ -H 'Idempotency-Key: string' \ -H 'Content-Type: application/json' \ -d '{ "legal_entity_ids": [ "66349575-4160-4a79-b2da-3eb801e491dd" ]}'{ "data": [ { "code": "LEGAL_ENTITY_NOT_IN_SCOPE", "detail": "string", "legal_entity_id": "8c040143-e03c-45a0-b1bc-85161701d839", "policy_id": "ee9b03e0-6495-427a-85a5-34444d24ae04", "result": "created" } ], "meta": { "api_version": "2026-04-23", "cursor": { "has_more": true, "next": "eyJpZCI6ICJhYmMifQ==" }, "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f", "total_count": 1234 }}Moves every live policy on this template to to_template_id, with the per-entity results of assign (overrides and own lines kept, exclusions dropped) — the way to empty a template before archiving it. This template may already be archived; the target must be active and a different template (400 otherwise).
Required scope: distributions:write
Error codes: VALIDATION_FAILED, DISTRIBUTION_POLICY_TEMPLATE_NOT_FOUND, DISTRIBUTION_POLICY_TEMPLATE_ARCHIVED, IDEMPOTENCY_KEY_REQUIRED, INVALID_IDEMPOTENCY_KEY, IDEMPOTENCY_CONFLICT
access-tokenAuthorizationBearer <token>id*stringuuidIdempotency-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
to_template_id*stringThe active template every live policy on this template moves to; it must be a different template.
uuidapplication/json- response
data*array<>meta*curl -X POST 'https://api.acreum.io/v1/distribution-policy-templates/497f6eca-6276-4993-bfeb-53cbbbba6f08/move-entities' \ -H 'Idempotency-Key: string' \ -H 'Content-Type: application/json' \ -d '{ "to_template_id": "7b096603-eb44-4d96-b0b2-cb4848adc016"}'{ "data": [ { "code": "LEGAL_ENTITY_NOT_IN_SCOPE", "detail": "string", "legal_entity_id": "8c040143-e03c-45a0-b1bc-85161701d839", "policy_id": "ee9b03e0-6495-427a-85a5-34444d24ae04", "result": "created" } ], "meta": { "api_version": "2026-04-23", "cursor": { "has_more": true, "next": "eyJpZCI6ICJhYmMifQ==" }, "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f", "total_count": 1234 }}