Acreum Docs
Capital & assets

Distribution Policy Templates

GET
/v1/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

Authorization

access-token
headerAuthorizationBearer <token>

Query Parameters

status?string
Value in"active""archived"
cursor?string
limit?number

1..100, default 50

sort?string

Default: -created_at

Value in"-created_at""created_at"

Response Body

application/json
  1. 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  }}
POST
/v1/distribution-policy-templates

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

Authorization

access-token
headerAuthorizationBearer <token>

Header Parameters

Idempotency-Key*string

Client-chosen key that makes this mutation safe to retry. Required — a request without one is rejected with IDEMPOTENCY_KEY_REQUIRED. Reusing a key with the same body replays the original response for ~24 hours; reusing it with a different body returns IDEMPOTENCY_CONFLICT.

Match^[A-Za-z0-9_-]{1,255}$
Lengthlength <= 255

Request Body

application/json
  1. body
base*string

available_cash is not accepted in this release (its formula is a pending product decision).

Value in"net_income_ex_receipts""zero"
basis?|

Null (default) means each entity's org default_reporting_basis.

Value in"accrual""cash"
cadence*string
Value in"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
Default"cap"
Value in"cap""flag""off"
description?|
Lengthlength <= 500
distribution_type?string
Default"operating_income"
Value in"operating_income""capital_event""distribution_in_kind""tax_distribution"
due_day*integer

Day of month a due date falls on (never month-clamped).

Range1 <= value <= 28
holdback_amount?|

The default every assigned policy inherits unless it overrides it; null means none. Never negative.

horizon_months?integer
Range1 <= value <= 36
Default12
lines?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).

Default[]
min_amount?|

The default every assigned policy inherits unless it overrides it; null means none. Never negative.

name*string

Unique among the org's live (non-archived) templates.

Length1 <= length <= 120
on_skip?string
Default"carry_forward"
Value in"carry_forward""forfeit"
period_lag?integer

Periods back from the due date to the period the item covers; 1 = the prior period.

Range1 <= value <= 12
Default1
upstream_basis?string
Default"declared"
Value in"declared""received"

Response Body

application/json
  1. 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  }}
POST
/v1/distribution-policy-templates/starters

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

Authorization

access-token
headerAuthorizationBearer <token>

Header Parameters

Idempotency-Key*string

Client-chosen key that makes this mutation safe to retry. Required — a request without one is rejected with IDEMPOTENCY_KEY_REQUIRED. Reusing a key with the same body replays the original response for ~24 hours; reusing it with a different body returns IDEMPOTENCY_CONFLICT.

Match^[A-Za-z0-9_-]{1,255}$
Lengthlength <= 255

Response Body

application/json
  1. 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  }}
GET
/v1/distribution-policy-templates/{id}

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

Authorization

access-token
headerAuthorizationBearer <token>

Path Parameters

id*string
Formatuuid

Response Body

application/json
  1. 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  }}
PATCH
/v1/distribution-policy-templates/{id}

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

Authorization

access-token
headerAuthorizationBearer <token>

Path Parameters

id*string
Formatuuid

Header Parameters

Idempotency-Key*string

Client-chosen key that makes this mutation safe to retry. Required — a request without one is rejected with IDEMPOTENCY_KEY_REQUIRED. Reusing a key with the same body replays the original response for ~24 hours; reusing it with a different body returns IDEMPOTENCY_CONFLICT.

Match^[A-Za-z0-9_-]{1,255}$
Lengthlength <= 255

Request Body

application/json
  1. body
base?string

available_cash is not accepted in this release (its formula is a pending product decision).

Value in"net_income_ex_receipts""zero"
basis?|
Value in"accrual""cash"
cadence?string
Value in"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
Value in"cap""flag""off"
description?|
Lengthlength <= 500
distribution_type?string
Value in"operating_income""capital_event""distribution_in_kind""tax_distribution"
due_day?integer
Range1 <= value <= 28
holdback_amount?|

The default every assigned policy inherits unless it overrides it; null means none. Never negative.

horizon_months?integer
Range1 <= value <= 36
lines?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?string
Length1 <= length <= 120
on_skip?string
Value in"carry_forward""forfeit"
period_lag?integer
Range1 <= value <= 12
status?string

archived is terminal, and refused while live policies are assigned (move them first).

Value in"active""archived"
upstream_basis?string
Value in"declared""received"

Response Body

application/json
  1. 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  }}
POST
/v1/distribution-policy-templates/{id}/assign

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

Authorization

access-token
headerAuthorizationBearer <token>

Path Parameters

id*string
Formatuuid

Header Parameters

Idempotency-Key*string

Client-chosen key that makes this mutation safe to retry. Required — a request without one is rejected with IDEMPOTENCY_KEY_REQUIRED. Reusing a key with the same body replays the original response for ~24 hours; reusing it with a different body returns IDEMPOTENCY_CONFLICT.

Match^[A-Za-z0-9_-]{1,255}$
Lengthlength <= 255

Request Body

application/json
  1. body
legal_entity_ids*array<>

The legal entities to assign the template to; duplicates are collapsed (one result per distinct id).

Items1 <= items <= 500

Response Body

application/json
  1. 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  }}
POST
/v1/distribution-policy-templates/{id}/move-entities

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

Authorization

access-token
headerAuthorizationBearer <token>

Path Parameters

id*string
Formatuuid

Header Parameters

Idempotency-Key*string

Client-chosen key that makes this mutation safe to retry. Required — a request without one is rejected with IDEMPOTENCY_KEY_REQUIRED. Reusing a key with the same body replays the original response for ~24 hours; reusing it with a different body returns IDEMPOTENCY_CONFLICT.

Match^[A-Za-z0-9_-]{1,255}$
Lengthlength <= 255

Request Body

application/json
  1. body
to_template_id*string

The active template every live policy on this template moves to; it must be a different template.

Formatuuid

Response Body

application/json
  1. 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  }}