Acreum Docs
Properties & leasing

Percentage Rent

GET
/v1/percentage-rent/lines

Lines of open (computed) runs that are held (waiting for approval: approve them with POST /v1/percentage-rent/runs/{run_id}/approve and line_ids) or blocked (waiting on missing sales, an unmapped category, an earlier window...). A line blocked only by a reason that never lifts (annual_line_exists, after_termination) is left out. Oldest period first. search matches the tenant name.

Required scope: percentage-rent:read

Pagination: cursor

Error codes: INVALID_CURSOR, VALIDATION_FAILED

Authorization

access-token
headerAuthorizationBearer <token>

Query Parameters

status?string

Comma-separated: held (waits for approval), blocked (waits on something else, e.g. missing sales). Default: both.

property_id?string
Formatuuid
cursor?string
limit?number

1..100, default 100

Range1 <= value <= 100
sort?"period_end"

Default: period_end

Value in"period_end"
search?string

Case-insensitive substring match on: tenant_name.

ids?string

Up to 100 ids; returns those rows regardless of other filters and ignores search.

Response Body

application/json
  1. response
data*array<>
meta*
curl -X GET 'https://api.acreum.io/v1/percentage-rent/lines'
{  "data": [    {      "block_reasons": [        "missing_sales"      ],      "charge": "1234.50",      "contract_id": "9aafc1a8-e497-46c9-ba0b-bd5b03c353e4",      "estimated": true,      "hold_reasons": [        "first_billed_year"      ],      "kind": "annual",      "line_id": "6cb02bfb-65d4-467b-864d-461e923db664",      "period_end": "2019-08-24",      "period_start": "2019-08-24",      "property_id": "05003a8a-8f3c-454b-8884-a906ec46f5f5",      "property_name": "string",      "run_id": "dded282c-8ebd-44cf-8ba5-9a234973d1ec",      "status": "held",      "tenant_name": "string",      "unit_label": "string"    }  ],  "meta": {    "api_version": "2026-04-23",    "limit": 50,    "next_cursor": "eyJpZCI6ICJhYmMifQ==",    "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f"  }}
GET
/v1/percentage-rent/overview

What needs a person (held lines and their charges), how many sales reports are late, what is approved and waiting to bill, and what was billed this fiscal year, plus the org's send mode. property_id narrows every figure to one property.

Required scope: percentage-rent:read, sales:read

Error codes: VALIDATION_FAILED

Authorization

access-token
headerAuthorizationBearer <token>

Query Parameters

property_id?string
Formatuuid

Response Body

application/json
  1. response
data*
meta*
curl -X GET 'https://api.acreum.io/v1/percentage-rent/overview'
{  "data": {    "approved_unbilled_amount": "1234.50",    "auto_send": "always",    "billed_this_fiscal_year_amount": "1234.50",    "fiscal_year_start": "2019-08-24",    "held_amount": "1234.50",    "held_count": 0,    "overdue_report_count": 0  },  "meta": {    "api_version": "2026-04-23",    "cursor": {      "has_more": true,      "next": "eyJpZCI6ICJhYmMifQ=="    },    "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f",    "total_count": 1234  }}
GET
/v1/percentage-rent/preview

Runs the percentage rent engine on the lease as of as_of (default: the org's today), using the config version live that day and the measurement year containing it. result compares the qualifying sales reported so far with the FULL year's breakpoints, so it is what the year would bill if it ended on as_of; nothing is billed. projected_year_end_sales adds the mean of the last three received months for each month not yet received, and projected_overage is the rent that projection would bill. 404 PERCENTAGE_RENT_CONFIG_NOT_FOUND when no config is live on as_of; 404 NOT_FOUND when the contract is not found or as_of falls outside its measurement years; 422 PERCENTAGE_RENT_SALES_CONFIG_REQUIRED when the lease has no sales config.

Required scope: percentage-rent:read

Error codes: VALIDATION_FAILED, NOT_FOUND, PERCENTAGE_RENT_CONFIG_NOT_FOUND, PERCENTAGE_RENT_SALES_CONFIG_REQUIRED

Authorization

access-token
headerAuthorizationBearer <token>

Query Parameters

contract_id*string

The lease to preview.

Formatuuid
as_of?string

The day to preview as of; defaults to the org's today. Picks the live config version and the measurement year containing it.

Formatdate

Response Body

application/json
  1. response
data*
meta*
curl -X GET 'https://api.acreum.io/v1/percentage-rent/preview?contract_id=497f6eca-6276-4993-bfeb-53cbbbba6f08'
{  "data": {    "as_of": "2019-08-24",    "breakpoints": [      {        "amount": "1234.50",        "derivation": "string",        "kind": "none",        "rule_ids": [          "string"        ]      }    ],    "config_id": "d1d31429-d888-4f1c-b9c1-4e842f9bce5b",    "contract_id": "9aafc1a8-e497-46c9-ba0b-bd5b03c353e4",    "estimated": true,    "months_remaining": 0,    "percent_of_breakpoint": "87.50",    "period": {      "days_in_period": 0,      "days_in_year": 0,      "days_open": 0,      "period_end": "2019-08-24",      "period_start": "2019-08-24"    },    "projected_overage": "1234.50",    "projected_year_end_sales": "1234.50",    "result": {      "allocation": [        {          "group": "string",          "rule": "pro_rata",          "split": {            "property1": "1234.50",            "property2": "1234.50"          }        }      ],      "breakpoints": [        {          "amount": "1234.50",          "derivation": "string",          "kind": "none",          "rule_ids": [            "string"          ]        }      ],      "delta": "1234.50",      "fingerprint": "string",      "gross": "1234.50",      "gross_by_category": {        "property1": "1234.50",        "property2": "1234.50"      },      "previously_billed": "1234.50",      "qualifying_by_category": {        "property1": "1234.50",        "property2": "1234.50"      },      "tier_math": [        {          "amount": "1234.50",          "band": "string",          "base": "1234.50",          "rate_bp": 0,          "rule_id": "string"        }      ]    },    "sales_to_date": "1234.50"  },  "meta": {    "api_version": "2026-04-23",    "cursor": {      "has_more": true,      "next": "eyJpZCI6ICJhYmMifQ=="    },    "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f",    "total_count": 1234  }}
GET
/v1/percentage-rent/runs

Newest window first by default. Lines are not included; read one run for its lines, adjustments and charges.

Required scope: percentage-rent:read

Pagination: cursor

Error codes: INVALID_CURSOR, VALIDATION_FAILED

Authorization

access-token
headerAuthorizationBearer <token>

Query Parameters

property_id?string
Formatuuid
status?string
Value in"draft""computed""approved"
kind?string
Value in"annual""interim""audit""termination"
cursor?string
limit?number

1..100, default 100

Range1 <= value <= 100
sort?string

Default: -window_end

Value in"-window_end""window_end"
search?string

Case-insensitive substring match on: notes.

ids?string

Up to 100 ids; returns those rows regardless of other filters and ignores search.

Response Body

application/json
  1. response
data*array<>
meta*
curl -X GET 'https://api.acreum.io/v1/percentage-rent/runs'
{  "data": [    {      "approved_at": "2019-08-24T14:15:22Z",      "approved_by": "02030314-b162-4b4d-8af1-88eabdcc615d",      "blocked_line_count": 0,      "created_at": "2019-08-24T14:15:22Z",      "created_by": "ee824cad-d7a6-4f48-87dc-e8461a9201c4",      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",      "kind": "annual",      "legal_entity_id": "8c040143-e03c-45a0-b1bc-85161701d839",      "notes": "string",      "origin": "job",      "property_id": "05003a8a-8f3c-454b-8884-a906ec46f5f5",      "property_name": "string",      "revision": 0,      "stale_line_count": 0,      "status": "draft",      "updated_at": "2019-08-24T14:15:22Z",      "window_end": "2019-08-24",      "window_start": "2019-08-24"    }  ],  "meta": {    "api_version": "2026-04-23",    "limit": 50,    "next_cursor": "eyJpZCI6ICJhYmMifQ==",    "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f"  }}
POST
/v1/percentage-rent/runs

Selects every lease on the property whose measurement year (annual) or interim reporting period (interim, leases billed cumulative or periodic) closed inside the window and before the org's today, with a live percentage rent config, not terminated, and with no line for that period in any run; computes one line each. A line is pending (clean), held (hold_reasons: a person approves it) or blocked (block_reasons: it cannot be approved). Nothing is staged until approval. The run bills under the property's legal entity (400 VALIDATION_FAILED when it has none). An audit run selects instead every year ending in the window whose annual (or termination) line is approved, one audit line per year (a year already audited is skipped; 409 PERCENTAGE_RENT_AUDIT_EXISTS when every qualifying year already has one), and needs notes, the finding (422 PERCENTAGE_RENT_AUDIT_INVALID, also when no year qualifies).

Required scope: percentage-rent:write

Error codes: VALIDATION_FAILED, NOT_FOUND, CONFLICT, PERCENTAGE_RENT_AUDIT_INVALID, PERCENTAGE_RENT_AUDIT_EXISTS

Authorization

access-token
headerAuthorizationBearer <token>

Header Parameters

Idempotency-Key?string

Client-chosen key that makes this mutation safe to retry. Optional — a request without one is processed normally, with no replay protection. Reusing a key with the same body replays the original response for ~24 hours; reusing it with a different body returns IDEMPOTENCY_CONFLICT.

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

Request Body

application/json
  1. body
kind*string

annual selects measurement years, interim the reporting periods of leases billed cumulative or periodic, audit every year ending in the window whose annual (or termination) line is approved: it recomputes the year from the current (restated) sales against what the year already billed, and is always held audit_finding; termination the truncated final year of every lease whose termination date falls in the window (once that year has closed), billed as the year's true-up against its approved interims.

Value in"annual""interim""audit""termination"
notes?string

Free text. Required for an audit run: the audit finding (422 PERCENTAGE_RENT_AUDIT_INVALID when blank).

Lengthlength <= 2000
property_id*string

The property to run.

Formatuuid
window_end*string

Last day (inclusive) of the window the periods closed in.

Formatdate
window_start*string

First day of the window the periods closed in.

Formatdate

Response Body

application/json
  1. response
data*
meta*
curl -X POST 'https://api.acreum.io/v1/percentage-rent/runs' \  -H 'Content-Type: application/json' \  -d '{  "kind": "annual",  "property_id": "05003a8a-8f3c-454b-8884-a906ec46f5f5",  "window_end": "2019-08-24",  "window_start": "2019-08-24"}'
{  "data": {    "approved_at": "2019-08-24T14:15:22Z",    "approved_by": "02030314-b162-4b4d-8af1-88eabdcc615d",    "blocked_line_count": 0,    "created_at": "2019-08-24T14:15:22Z",    "created_by": "ee824cad-d7a6-4f48-87dc-e8461a9201c4",    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",    "kind": "annual",    "legal_entity_id": "8c040143-e03c-45a0-b1bc-85161701d839",    "lines": [      {        "adjustments": [          {            "amount": "1234.50",            "created_at": "2019-08-24T14:15:22Z",            "created_by": "ee824cad-d7a6-4f48-87dc-e8461a9201c4",            "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",            "kind": "manual",            "reason": "string"          }        ],        "approved_at": "2019-08-24T14:15:22Z",        "approved_by": "02030314-b162-4b4d-8af1-88eabdcc615d",        "billed": true,        "block_reasons": [          "missing_sales"        ],        "blocked_since": "2019-08-24T14:15:22Z",        "charge": {          "amount": "1234.50",          "billed_document_id": "9345755d-6be6-44e3-a3cc-190192c09a61",          "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",          "part": "rent",          "settled_at": "2019-08-24T14:15:22Z"        },        "charge_amount": "1234.50",        "charges": [          {            "amount": "1234.50",            "billed_document_id": "9345755d-6be6-44e3-a3cc-190192c09a61",            "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",            "part": "rent",            "settled_at": "2019-08-24T14:15:22Z"          }        ],        "computation": {          "allocation": [            {              "group": "string",              "rule": "pro_rata",              "split": {                "property1": "1234.50",                "property2": "1234.50"              }            }          ],          "breakpoints": [            {              "amount": "1234.50",              "derivation": "string",              "kind": "none",              "rule_ids": [                "string"              ]            }          ],          "delta": "1234.50",          "fingerprint": "string",          "gross": "1234.50",          "gross_by_category": {            "property1": "1234.50",            "property2": "1234.50"          },          "previously_billed": "1234.50",          "qualifying_by_category": {            "property1": "1234.50",            "property2": "1234.50"          },          "tier_math": [            {              "amount": "1234.50",              "band": "string",              "base": "1234.50",              "rate_bp": 0,              "rule_id": "string"            }          ]        },        "config_version_id": "4d5f254c-587a-4f12-998e-4efba89b30c9",        "contract_id": "9aafc1a8-e497-46c9-ba0b-bd5b03c353e4",        "delta": "1234.50",        "estimated": true,        "gross_amount": "1234.50",        "hold_reasons": [          "first_billed_year"        ],        "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",        "inputs_fingerprint": "string",        "is_interim": true,        "kind": "annual",        "measurement_basis": "lease_year",        "period_end": "2019-08-24",        "period_start": "2019-08-24",        "previously_billed": "1234.50",        "stale_at": "2019-08-24T14:15:22Z",        "stale_reason": "terminated",        "status": "pending",        "tenant_name": "string"      }    ],    "notes": "string",    "origin": "job",    "property_id": "05003a8a-8f3c-454b-8884-a906ec46f5f5",    "property_name": "string",    "revision": 0,    "stale_line_count": 0,    "status": "draft",    "updated_at": "2019-08-24T14:15:22Z",    "window_end": "2019-08-24",    "window_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  }}
GET
/v1/percentage-rent/runs/{id}

The run with every line: its computation, hold and block reasons, adjustments, charge_amount (delta + adjustments) and the charge on the shelf (staged, or billed once billed_document_id is set).

Required scope: percentage-rent:read

Error codes: VALIDATION_FAILED, PERCENTAGE_RENT_RUN_NOT_FOUND

Authorization

access-token
headerAuthorizationBearer <token>

Path Parameters

id*string

Response Body

application/json
  1. response
data*
meta*
curl -X GET 'https://api.acreum.io/v1/percentage-rent/runs/string'
{  "data": {    "approved_at": "2019-08-24T14:15:22Z",    "approved_by": "02030314-b162-4b4d-8af1-88eabdcc615d",    "blocked_line_count": 0,    "created_at": "2019-08-24T14:15:22Z",    "created_by": "ee824cad-d7a6-4f48-87dc-e8461a9201c4",    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",    "kind": "annual",    "legal_entity_id": "8c040143-e03c-45a0-b1bc-85161701d839",    "lines": [      {        "adjustments": [          {            "amount": "1234.50",            "created_at": "2019-08-24T14:15:22Z",            "created_by": "ee824cad-d7a6-4f48-87dc-e8461a9201c4",            "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",            "kind": "manual",            "reason": "string"          }        ],        "approved_at": "2019-08-24T14:15:22Z",        "approved_by": "02030314-b162-4b4d-8af1-88eabdcc615d",        "billed": true,        "block_reasons": [          "missing_sales"        ],        "blocked_since": "2019-08-24T14:15:22Z",        "charge": {          "amount": "1234.50",          "billed_document_id": "9345755d-6be6-44e3-a3cc-190192c09a61",          "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",          "part": "rent",          "settled_at": "2019-08-24T14:15:22Z"        },        "charge_amount": "1234.50",        "charges": [          {            "amount": "1234.50",            "billed_document_id": "9345755d-6be6-44e3-a3cc-190192c09a61",            "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",            "part": "rent",            "settled_at": "2019-08-24T14:15:22Z"          }        ],        "computation": {          "allocation": [            {              "group": "string",              "rule": "pro_rata",              "split": {                "property1": "1234.50",                "property2": "1234.50"              }            }          ],          "breakpoints": [            {              "amount": "1234.50",              "derivation": "string",              "kind": "none",              "rule_ids": [                "string"              ]            }          ],          "delta": "1234.50",          "fingerprint": "string",          "gross": "1234.50",          "gross_by_category": {            "property1": "1234.50",            "property2": "1234.50"          },          "previously_billed": "1234.50",          "qualifying_by_category": {            "property1": "1234.50",            "property2": "1234.50"          },          "tier_math": [            {              "amount": "1234.50",              "band": "string",              "base": "1234.50",              "rate_bp": 0,              "rule_id": "string"            }          ]        },        "config_version_id": "4d5f254c-587a-4f12-998e-4efba89b30c9",        "contract_id": "9aafc1a8-e497-46c9-ba0b-bd5b03c353e4",        "delta": "1234.50",        "estimated": true,        "gross_amount": "1234.50",        "hold_reasons": [          "first_billed_year"        ],        "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",        "inputs_fingerprint": "string",        "is_interim": true,        "kind": "annual",        "measurement_basis": "lease_year",        "period_end": "2019-08-24",        "period_start": "2019-08-24",        "previously_billed": "1234.50",        "stale_at": "2019-08-24T14:15:22Z",        "stale_reason": "terminated",        "status": "pending",        "tenant_name": "string"      }    ],    "notes": "string",    "origin": "job",    "property_id": "05003a8a-8f3c-454b-8884-a906ec46f5f5",    "property_name": "string",    "revision": 0,    "stale_line_count": 0,    "status": "draft",    "updated_at": "2019-08-24T14:15:22Z",    "window_end": "2019-08-24",    "window_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  }}
DELETE
/v1/percentage-rent/runs/{id}

Deletes a run with no approved line and no charge on the shelf (revise one first). 409 PERCENTAGE_RENT_RUN_NOT_DELETABLE otherwise.

Required scope: percentage-rent:write

Error codes: VALIDATION_FAILED, PERCENTAGE_RENT_RUN_NOT_FOUND, PERCENTAGE_RENT_RUN_NOT_DELETABLE, INVALID_IDEMPOTENCY_KEY, IDEMPOTENCY_CONFLICT

Authorization

access-token
headerAuthorizationBearer <token>

Path Parameters

id*string

Header Parameters

Idempotency-Key?string

Client-chosen key that makes this mutation safe to retry. Optional — a request without one is processed normally, with no replay protection. Reusing a key with the same body replays the original response for ~24 hours; reusing it with a different body returns IDEMPOTENCY_CONFLICT.

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

Response Body

Possible error codes: VALIDATION_FAILED, INVALID_IDEMPOTENCY_KEY

application/json
  1. response
code*string
detail*string
errors?array<>
instance*string
next_action?string

What the caller does next. Sent only by codes that declare it (the PLAN_* codes).

Value in"fix_step""re_preview""retry_later""split_plan""use_plan_mode""release_first""contact_operator"
request_id*string
retryable?boolean

Whether the same request can succeed unchanged later. Sent only by codes that declare it (the PLAN_* codes).

status*number
title*string
type*string
curl -X DELETE 'https://api.acreum.io/v1/percentage-rent/runs/string'
{  "code": "DOCUMENT_ALREADY_POSTED",  "detail": "Document doc_01 is already posted.",  "errors": [    {      "code": "INVALID_VALUE",      "field": "amount",      "message": "must be > 0"    }  ],  "instance": "/v1/documents/doc_01/post",  "next_action": "fix_step",  "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f",  "retryable": true,  "status": 409,  "title": "Document already posted",  "type": "https://docs.acreum.io/errors/DOCUMENT_ALREADY_POSTED"}
DELETE
/v1/percentage-rent/runs/{id}/adjustments/{adjustmentId}

Removes the adjustment and recomputes its line, under the same rules as adding one.

Required scope: percentage-rent:write

Error codes: VALIDATION_FAILED, NOT_FOUND, PERCENTAGE_RENT_RUN_NOT_FOUND, PERCENTAGE_RENT_RUN_BILLED, PERCENTAGE_RENT_LATER_LINE_APPROVED, INVALID_IDEMPOTENCY_KEY, IDEMPOTENCY_CONFLICT

Authorization

access-token
headerAuthorizationBearer <token>

Path Parameters

id*string
adjustmentId*string

Header Parameters

Idempotency-Key?string

Client-chosen key that makes this mutation safe to retry. Optional — a request without one is processed normally, with no replay protection. Reusing a key with the same body replays the original response for ~24 hours; reusing it with a different body returns IDEMPOTENCY_CONFLICT.

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

Response Body

Possible error codes: VALIDATION_FAILED, INVALID_IDEMPOTENCY_KEY

application/json
  1. response
code*string
detail*string
errors?array<>
instance*string
next_action?string

What the caller does next. Sent only by codes that declare it (the PLAN_* codes).

Value in"fix_step""re_preview""retry_later""split_plan""use_plan_mode""release_first""contact_operator"
request_id*string
retryable?boolean

Whether the same request can succeed unchanged later. Sent only by codes that declare it (the PLAN_* codes).

status*number
title*string
type*string
curl -X DELETE 'https://api.acreum.io/v1/percentage-rent/runs/string/adjustments/string'
{  "code": "DOCUMENT_ALREADY_POSTED",  "detail": "Document doc_01 is already posted.",  "errors": [    {      "code": "INVALID_VALUE",      "field": "amount",      "message": "must be > 0"    }  ],  "instance": "/v1/documents/doc_01/post",  "next_action": "fix_step",  "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f",  "retryable": true,  "status": 409,  "title": "Document already posted",  "type": "https://docs.acreum.io/errors/DOCUMENT_ALREADY_POSTED"}
POST
/v1/percentage-rent/runs/{id}/approve

Recomputes the run, then approves every pending and held line (or only line_ids), staging each line's charge_amount on the shelf (a zero charge stages nothing and still approves). A lease billing separate (its % rent config invoice_mode, inherit taking the org default; termination and audit lines always) gets ONE posted document for every line of it this call approved, dated org-today or the first open date (documents_created); every other charge waits for the lease's next rent invoice. 409 PERCENTAGE_RENT_NO_OPEN_PERIOD (nothing approved) when the legal entity has no open period. Already-approved lines are skipped, so a repeat is a no-op. A blocked line never approves: naming one is 422 PERCENTAGE_RENT_LINE_NOT_APPROVABLE (409 PERCENTAGE_RENT_LATER_LINE_APPROVED when it is blocked later_line_approved: a later line of the same year in another run is approved); the run-level call skips it.

Required scope: percentage-rent:write

Error codes: VALIDATION_FAILED, NOT_FOUND, PERCENTAGE_RENT_RUN_NOT_FOUND, PERCENTAGE_RENT_LINE_NOT_APPROVABLE, PERCENTAGE_RENT_LATER_LINE_APPROVED, PERCENTAGE_RENT_RUN_BILLED, PERCENTAGE_RENT_NO_OPEN_PERIOD, CONFLICT, INVALID_IDEMPOTENCY_KEY, IDEMPOTENCY_CONFLICT

Authorization

access-token
headerAuthorizationBearer <token>

Path Parameters

id*string

Header Parameters

Idempotency-Key*string

Client-chosen key that makes this mutation safe to retry. 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
line_ids?array<>

Approve only these lines. Omitted: every pending and held line. A blocked line named here is 422 PERCENTAGE_RENT_LINE_NOT_APPROVABLE.

Response Body

application/json
  1. response
data*
meta*
curl -X POST 'https://api.acreum.io/v1/percentage-rent/runs/string/approve' \  -H 'Idempotency-Key: string' \  -H 'Content-Type: application/json' \  -d '{}'
{  "data": {    "charges_staged": 0,    "documents_created": [      "5e89ef3f-818f-4a2c-aca8-310122850c9b"    ],    "run": {      "approved_at": "2019-08-24T14:15:22Z",      "approved_by": "02030314-b162-4b4d-8af1-88eabdcc615d",      "blocked_line_count": 0,      "created_at": "2019-08-24T14:15:22Z",      "created_by": "ee824cad-d7a6-4f48-87dc-e8461a9201c4",      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",      "kind": "annual",      "legal_entity_id": "8c040143-e03c-45a0-b1bc-85161701d839",      "lines": [        {          "adjustments": [            {              "amount": "1234.50",              "created_at": "2019-08-24T14:15:22Z",              "created_by": "ee824cad-d7a6-4f48-87dc-e8461a9201c4",              "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",              "kind": "manual",              "reason": "string"            }          ],          "approved_at": "2019-08-24T14:15:22Z",          "approved_by": "02030314-b162-4b4d-8af1-88eabdcc615d",          "billed": true,          "block_reasons": [            "missing_sales"          ],          "blocked_since": "2019-08-24T14:15:22Z",          "charge": {            "amount": "1234.50",            "billed_document_id": "9345755d-6be6-44e3-a3cc-190192c09a61",            "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",            "part": "rent",            "settled_at": "2019-08-24T14:15:22Z"          },          "charge_amount": "1234.50",          "charges": [            {              "amount": "1234.50",              "billed_document_id": "9345755d-6be6-44e3-a3cc-190192c09a61",              "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",              "part": "rent",              "settled_at": "2019-08-24T14:15:22Z"            }          ],          "computation": {            "allocation": [              {                "group": "string",                "rule": "pro_rata",                "split": {                  "property1": "1234.50",                  "property2": "1234.50"                }              }            ],            "breakpoints": [              {                "amount": "1234.50",                "derivation": "string",                "kind": "none",                "rule_ids": [                  "string"                ]              }            ],            "delta": "1234.50",            "fingerprint": "string",            "gross": "1234.50",            "gross_by_category": {              "property1": "1234.50",              "property2": "1234.50"            },            "previously_billed": "1234.50",            "qualifying_by_category": {              "property1": "1234.50",              "property2": "1234.50"            },            "tier_math": [              {                "amount": "1234.50",                "band": "string",                "base": "1234.50",                "rate_bp": 0,                "rule_id": "string"              }            ]          },          "config_version_id": "4d5f254c-587a-4f12-998e-4efba89b30c9",          "contract_id": "9aafc1a8-e497-46c9-ba0b-bd5b03c353e4",          "delta": "1234.50",          "estimated": true,          "gross_amount": "1234.50",          "hold_reasons": [            "first_billed_year"          ],          "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",          "inputs_fingerprint": "string",          "is_interim": true,          "kind": "annual",          "measurement_basis": "lease_year",          "period_end": "2019-08-24",          "period_start": "2019-08-24",          "previously_billed": "1234.50",          "stale_at": "2019-08-24T14:15:22Z",          "stale_reason": "terminated",          "status": "pending",          "tenant_name": "string"        }      ],      "notes": "string",      "origin": "job",      "property_id": "05003a8a-8f3c-454b-8884-a906ec46f5f5",      "property_name": "string",      "revision": 0,      "stale_line_count": 0,      "status": "draft",      "updated_at": "2019-08-24T14:15:22Z",      "window_end": "2019-08-24",      "window_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  }}
POST
/v1/percentage-rent/runs/{id}/estimates

For every reporting period (the lease expected report: a month, quarter or year by cadence) covering a month a missing_sales line expects and has no report for, writes a submitted estimate sales report at that period: the config's late_estimate_basis_pct of the same month last year per month, else the trailing average of the months on file, summed over the period. A period with no history is returned in impossible and stays missing; one with an open draft is in skipped_draft; one already reported is never overwritten. The real report later becomes the next version of that period (restate the estimate, then submit). Then recomputes the run: the line is held (estimated_sales) for a person to approve. 422 PERCENTAGE_RENT_ESTIMATE_NOT_ALLOWED for an API key, or when a line's config has late_estimate_enabled off.

Required scope: percentage-rent:write

Error codes: VALIDATION_FAILED, PERCENTAGE_RENT_RUN_NOT_FOUND, PERCENTAGE_RENT_ESTIMATE_NOT_ALLOWED, INVALID_IDEMPOTENCY_KEY, IDEMPOTENCY_CONFLICT

Authorization

access-token
headerAuthorizationBearer <token>

Path Parameters

id*string

Header Parameters

Idempotency-Key*string

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

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

Response Body

application/json
  1. response
data*
meta*
curl -X POST 'https://api.acreum.io/v1/percentage-rent/runs/string/estimates' \  -H 'Idempotency-Key: string'
{  "data": {    "lines": [      {        "impossible": [          "string"        ],        "line_id": "6cb02bfb-65d4-467b-864d-461e923db664",        "skipped_draft": [          "string"        ],        "written": [          "string"        ]      }    ],    "run": {      "approved_at": "2019-08-24T14:15:22Z",      "approved_by": "02030314-b162-4b4d-8af1-88eabdcc615d",      "blocked_line_count": 0,      "created_at": "2019-08-24T14:15:22Z",      "created_by": "ee824cad-d7a6-4f48-87dc-e8461a9201c4",      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",      "kind": "annual",      "legal_entity_id": "8c040143-e03c-45a0-b1bc-85161701d839",      "lines": [        {          "adjustments": [            {              "amount": "1234.50",              "created_at": "2019-08-24T14:15:22Z",              "created_by": "ee824cad-d7a6-4f48-87dc-e8461a9201c4",              "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",              "kind": "manual",              "reason": "string"            }          ],          "approved_at": "2019-08-24T14:15:22Z",          "approved_by": "02030314-b162-4b4d-8af1-88eabdcc615d",          "billed": true,          "block_reasons": [            "missing_sales"          ],          "blocked_since": "2019-08-24T14:15:22Z",          "charge": {            "amount": "1234.50",            "billed_document_id": "9345755d-6be6-44e3-a3cc-190192c09a61",            "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",            "part": "rent",            "settled_at": "2019-08-24T14:15:22Z"          },          "charge_amount": "1234.50",          "charges": [            {              "amount": "1234.50",              "billed_document_id": "9345755d-6be6-44e3-a3cc-190192c09a61",              "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",              "part": "rent",              "settled_at": "2019-08-24T14:15:22Z"            }          ],          "computation": {            "allocation": [              {                "group": "string",                "rule": "pro_rata",                "split": {                  "property1": "1234.50",                  "property2": "1234.50"                }              }            ],            "breakpoints": [              {                "amount": "1234.50",                "derivation": "string",                "kind": "none",                "rule_ids": [                  "string"                ]              }            ],            "delta": "1234.50",            "fingerprint": "string",            "gross": "1234.50",            "gross_by_category": {              "property1": "1234.50",              "property2": "1234.50"            },            "previously_billed": "1234.50",            "qualifying_by_category": {              "property1": "1234.50",              "property2": "1234.50"            },            "tier_math": [              {                "amount": "1234.50",                "band": "string",                "base": "1234.50",                "rate_bp": 0,                "rule_id": "string"              }            ]          },          "config_version_id": "4d5f254c-587a-4f12-998e-4efba89b30c9",          "contract_id": "9aafc1a8-e497-46c9-ba0b-bd5b03c353e4",          "delta": "1234.50",          "estimated": true,          "gross_amount": "1234.50",          "hold_reasons": [            "first_billed_year"          ],          "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",          "inputs_fingerprint": "string",          "is_interim": true,          "kind": "annual",          "measurement_basis": "lease_year",          "period_end": "2019-08-24",          "period_start": "2019-08-24",          "previously_billed": "1234.50",          "stale_at": "2019-08-24T14:15:22Z",          "stale_reason": "terminated",          "status": "pending",          "tenant_name": "string"        }      ],      "notes": "string",      "origin": "job",      "property_id": "05003a8a-8f3c-454b-8884-a906ec46f5f5",      "property_name": "string",      "revision": 0,      "stale_line_count": 0,      "status": "draft",      "updated_at": "2019-08-24T14:15:22Z",      "window_end": "2019-08-24",      "window_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  }}
POST
/v1/percentage-rent/runs/{id}/invoice

Bills every approved line of the run whose charges are still on the shelf (unbilled and unsettled), whatever the lease invoice mode, on one posted document per lease: an invoice, or a credit memo when the charges net negative (net zero settles them with no document). Use it to re-bill after a separate % rent invoice is voided, or to bill a next_rent_invoice lease early; a charge the next rent invoice already took is not billed twice. 409 PERCENTAGE_RENT_NOTHING_TO_INVOICE when no approved line has an unbilled charge, 409 PERCENTAGE_RENT_NO_OPEN_PERIOD when the legal entity has no open period.

Required scope: percentage-rent:write

Error codes: VALIDATION_FAILED, PERCENTAGE_RENT_RUN_NOT_FOUND, PERCENTAGE_RENT_NOTHING_TO_INVOICE, PERCENTAGE_RENT_NO_OPEN_PERIOD, INVALID_IDEMPOTENCY_KEY, IDEMPOTENCY_CONFLICT

Authorization

access-token
headerAuthorizationBearer <token>

Path Parameters

id*string

Header Parameters

Idempotency-Key*string

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

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

Response Body

application/json
  1. response
data*
meta*
curl -X POST 'https://api.acreum.io/v1/percentage-rent/runs/string/invoice' \  -H 'Idempotency-Key: string'
{  "data": {    "documents_created": [      "5e89ef3f-818f-4a2c-aca8-310122850c9b"    ],    "run": {      "approved_at": "2019-08-24T14:15:22Z",      "approved_by": "02030314-b162-4b4d-8af1-88eabdcc615d",      "blocked_line_count": 0,      "created_at": "2019-08-24T14:15:22Z",      "created_by": "ee824cad-d7a6-4f48-87dc-e8461a9201c4",      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",      "kind": "annual",      "legal_entity_id": "8c040143-e03c-45a0-b1bc-85161701d839",      "lines": [        {          "adjustments": [            {              "amount": "1234.50",              "created_at": "2019-08-24T14:15:22Z",              "created_by": "ee824cad-d7a6-4f48-87dc-e8461a9201c4",              "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",              "kind": "manual",              "reason": "string"            }          ],          "approved_at": "2019-08-24T14:15:22Z",          "approved_by": "02030314-b162-4b4d-8af1-88eabdcc615d",          "billed": true,          "block_reasons": [            "missing_sales"          ],          "blocked_since": "2019-08-24T14:15:22Z",          "charge": {            "amount": "1234.50",            "billed_document_id": "9345755d-6be6-44e3-a3cc-190192c09a61",            "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",            "part": "rent",            "settled_at": "2019-08-24T14:15:22Z"          },          "charge_amount": "1234.50",          "charges": [            {              "amount": "1234.50",              "billed_document_id": "9345755d-6be6-44e3-a3cc-190192c09a61",              "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",              "part": "rent",              "settled_at": "2019-08-24T14:15:22Z"            }          ],          "computation": {            "allocation": [              {                "group": "string",                "rule": "pro_rata",                "split": {                  "property1": "1234.50",                  "property2": "1234.50"                }              }            ],            "breakpoints": [              {                "amount": "1234.50",                "derivation": "string",                "kind": "none",                "rule_ids": [                  "string"                ]              }            ],            "delta": "1234.50",            "fingerprint": "string",            "gross": "1234.50",            "gross_by_category": {              "property1": "1234.50",              "property2": "1234.50"            },            "previously_billed": "1234.50",            "qualifying_by_category": {              "property1": "1234.50",              "property2": "1234.50"            },            "tier_math": [              {                "amount": "1234.50",                "band": "string",                "base": "1234.50",                "rate_bp": 0,                "rule_id": "string"              }            ]          },          "config_version_id": "4d5f254c-587a-4f12-998e-4efba89b30c9",          "contract_id": "9aafc1a8-e497-46c9-ba0b-bd5b03c353e4",          "delta": "1234.50",          "estimated": true,          "gross_amount": "1234.50",          "hold_reasons": [            "first_billed_year"          ],          "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",          "inputs_fingerprint": "string",          "is_interim": true,          "kind": "annual",          "measurement_basis": "lease_year",          "period_end": "2019-08-24",          "period_start": "2019-08-24",          "previously_billed": "1234.50",          "stale_at": "2019-08-24T14:15:22Z",          "stale_reason": "terminated",          "status": "pending",          "tenant_name": "string"        }      ],      "notes": "string",      "origin": "job",      "property_id": "05003a8a-8f3c-454b-8884-a906ec46f5f5",      "property_name": "string",      "revision": 0,      "stale_line_count": 0,      "status": "draft",      "updated_at": "2019-08-24T14:15:22Z",      "window_end": "2019-08-24",      "window_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  }}
POST
/v1/percentage-rent/runs/{id}/lines/{lineId}/adjustments

Adds a signed amount to the line and recomputes it. A manual amount (the default) adds into the line's rent charge; on an audit line, interest and audit_costs stage as their own charges (422 PERCENTAGE_RENT_ADJUSTMENT_KIND_INVALID on any other line or for an amount that is not positive, 409 PERCENTAGE_RENT_ADJUSTMENT_EXISTS for a second one; 422 PERCENTAGE_RENT_AUDIT_COSTS_NOT_RECOVERABLE when the lease does not recover audit costs or the understatement is under its threshold). The line is held (manual_adjustment) until a person approves it; an approved line's staged charges are taken off the shelf. 409 PERCENTAGE_RENT_RUN_BILLED once a charge is billed or settled; 409 PERCENTAGE_RENT_LATER_LINE_APPROVED while a later line of the same lease year, in another run, is approved.

Required scope: percentage-rent:write

Error codes: VALIDATION_FAILED, NOT_FOUND, PERCENTAGE_RENT_RUN_NOT_FOUND, PERCENTAGE_RENT_RUN_BILLED, PERCENTAGE_RENT_LATER_LINE_APPROVED, PERCENTAGE_RENT_ADJUSTMENT_KIND_INVALID, PERCENTAGE_RENT_ADJUSTMENT_EXISTS, PERCENTAGE_RENT_AUDIT_COSTS_NOT_RECOVERABLE, INVALID_IDEMPOTENCY_KEY, IDEMPOTENCY_CONFLICT

Authorization

access-token
headerAuthorizationBearer <token>

Path Parameters

id*string
lineId*string

Header Parameters

Idempotency-Key?string

Client-chosen key that makes this mutation safe to retry. Optional — a request without one is processed normally, with no replay protection. Reusing a key with the same body replays the original response for ~24 hours; reusing it with a different body returns IDEMPOTENCY_CONFLICT.

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

Request Body

application/json
  1. body
amount*string

Signed amount: a manual one is added to the line’s rent charge (negative reduces it); interest and audit_costs are their own charge and must be positive (422 PERCENTAGE_RENT_ADJUSTMENT_KIND_INVALID).

kind?string

manual adds into the line’s rent charge. interest and audit_costs go on an audit line only, one of each, and stage as their own charges.

Default"manual"
Value in"manual""interest""audit_costs"
reason*string

Why; required.

Lengthlength <= 2000

Response Body

application/json
  1. response
data*
meta*
curl -X POST 'https://api.acreum.io/v1/percentage-rent/runs/string/lines/string/adjustments' \  -H 'Content-Type: application/json' \  -d '{  "amount": "1234.50",  "reason": "string"}'
{  "data": {    "approved_at": "2019-08-24T14:15:22Z",    "approved_by": "02030314-b162-4b4d-8af1-88eabdcc615d",    "blocked_line_count": 0,    "created_at": "2019-08-24T14:15:22Z",    "created_by": "ee824cad-d7a6-4f48-87dc-e8461a9201c4",    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",    "kind": "annual",    "legal_entity_id": "8c040143-e03c-45a0-b1bc-85161701d839",    "lines": [      {        "adjustments": [          {            "amount": "1234.50",            "created_at": "2019-08-24T14:15:22Z",            "created_by": "ee824cad-d7a6-4f48-87dc-e8461a9201c4",            "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",            "kind": "manual",            "reason": "string"          }        ],        "approved_at": "2019-08-24T14:15:22Z",        "approved_by": "02030314-b162-4b4d-8af1-88eabdcc615d",        "billed": true,        "block_reasons": [          "missing_sales"        ],        "blocked_since": "2019-08-24T14:15:22Z",        "charge": {          "amount": "1234.50",          "billed_document_id": "9345755d-6be6-44e3-a3cc-190192c09a61",          "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",          "part": "rent",          "settled_at": "2019-08-24T14:15:22Z"        },        "charge_amount": "1234.50",        "charges": [          {            "amount": "1234.50",            "billed_document_id": "9345755d-6be6-44e3-a3cc-190192c09a61",            "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",            "part": "rent",            "settled_at": "2019-08-24T14:15:22Z"          }        ],        "computation": {          "allocation": [            {              "group": "string",              "rule": "pro_rata",              "split": {                "property1": "1234.50",                "property2": "1234.50"              }            }          ],          "breakpoints": [            {              "amount": "1234.50",              "derivation": "string",              "kind": "none",              "rule_ids": [                "string"              ]            }          ],          "delta": "1234.50",          "fingerprint": "string",          "gross": "1234.50",          "gross_by_category": {            "property1": "1234.50",            "property2": "1234.50"          },          "previously_billed": "1234.50",          "qualifying_by_category": {            "property1": "1234.50",            "property2": "1234.50"          },          "tier_math": [            {              "amount": "1234.50",              "band": "string",              "base": "1234.50",              "rate_bp": 0,              "rule_id": "string"            }          ]        },        "config_version_id": "4d5f254c-587a-4f12-998e-4efba89b30c9",        "contract_id": "9aafc1a8-e497-46c9-ba0b-bd5b03c353e4",        "delta": "1234.50",        "estimated": true,        "gross_amount": "1234.50",        "hold_reasons": [          "first_billed_year"        ],        "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",        "inputs_fingerprint": "string",        "is_interim": true,        "kind": "annual",        "measurement_basis": "lease_year",        "period_end": "2019-08-24",        "period_start": "2019-08-24",        "previously_billed": "1234.50",        "stale_at": "2019-08-24T14:15:22Z",        "stale_reason": "terminated",        "status": "pending",        "tenant_name": "string"      }    ],    "notes": "string",    "origin": "job",    "property_id": "05003a8a-8f3c-454b-8884-a906ec46f5f5",    "property_name": "string",    "revision": 0,    "stale_line_count": 0,    "status": "draft",    "updated_at": "2019-08-24T14:15:22Z",    "window_end": "2019-08-24",    "window_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  }}
POST
/v1/percentage-rent/runs/{id}/recompute

Re-runs every line on current sales, config and charges, keeping line ids. An approved line whose charge is staged but not billed is re-staged at the new amount when it still reviews clean, else it drops back for approval. A line whose charge is billed is never rewritten: when its inputs changed it is marked with the named stale_reason (e.g. sales_restated), else when its numbers moved recomputed_after_billing. Nor is an approved line under a later approved line of the same year in another run: it keeps its charge and is marked the same way, later_line_approved when no input changed. stale_at moves only when the reason changes.

Required scope: percentage-rent:write

Error codes: VALIDATION_FAILED, PERCENTAGE_RENT_RUN_NOT_FOUND, INVALID_IDEMPOTENCY_KEY, IDEMPOTENCY_CONFLICT

Authorization

access-token
headerAuthorizationBearer <token>

Path Parameters

id*string

Header Parameters

Idempotency-Key?string

Client-chosen key that makes this mutation safe to retry. Optional — a request without one is processed normally, with no replay protection. Reusing a key with the same body replays the original response for ~24 hours; reusing it with a different body returns IDEMPOTENCY_CONFLICT.

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

Response Body

application/json
  1. response
data*
meta*
curl -X POST 'https://api.acreum.io/v1/percentage-rent/runs/string/recompute'
{  "data": {    "approved_at": "2019-08-24T14:15:22Z",    "approved_by": "02030314-b162-4b4d-8af1-88eabdcc615d",    "blocked_line_count": 0,    "created_at": "2019-08-24T14:15:22Z",    "created_by": "ee824cad-d7a6-4f48-87dc-e8461a9201c4",    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",    "kind": "annual",    "legal_entity_id": "8c040143-e03c-45a0-b1bc-85161701d839",    "lines": [      {        "adjustments": [          {            "amount": "1234.50",            "created_at": "2019-08-24T14:15:22Z",            "created_by": "ee824cad-d7a6-4f48-87dc-e8461a9201c4",            "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",            "kind": "manual",            "reason": "string"          }        ],        "approved_at": "2019-08-24T14:15:22Z",        "approved_by": "02030314-b162-4b4d-8af1-88eabdcc615d",        "billed": true,        "block_reasons": [          "missing_sales"        ],        "blocked_since": "2019-08-24T14:15:22Z",        "charge": {          "amount": "1234.50",          "billed_document_id": "9345755d-6be6-44e3-a3cc-190192c09a61",          "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",          "part": "rent",          "settled_at": "2019-08-24T14:15:22Z"        },        "charge_amount": "1234.50",        "charges": [          {            "amount": "1234.50",            "billed_document_id": "9345755d-6be6-44e3-a3cc-190192c09a61",            "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",            "part": "rent",            "settled_at": "2019-08-24T14:15:22Z"          }        ],        "computation": {          "allocation": [            {              "group": "string",              "rule": "pro_rata",              "split": {                "property1": "1234.50",                "property2": "1234.50"              }            }          ],          "breakpoints": [            {              "amount": "1234.50",              "derivation": "string",              "kind": "none",              "rule_ids": [                "string"              ]            }          ],          "delta": "1234.50",          "fingerprint": "string",          "gross": "1234.50",          "gross_by_category": {            "property1": "1234.50",            "property2": "1234.50"          },          "previously_billed": "1234.50",          "qualifying_by_category": {            "property1": "1234.50",            "property2": "1234.50"          },          "tier_math": [            {              "amount": "1234.50",              "band": "string",              "base": "1234.50",              "rate_bp": 0,              "rule_id": "string"            }          ]        },        "config_version_id": "4d5f254c-587a-4f12-998e-4efba89b30c9",        "contract_id": "9aafc1a8-e497-46c9-ba0b-bd5b03c353e4",        "delta": "1234.50",        "estimated": true,        "gross_amount": "1234.50",        "hold_reasons": [          "first_billed_year"        ],        "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",        "inputs_fingerprint": "string",        "is_interim": true,        "kind": "annual",        "measurement_basis": "lease_year",        "period_end": "2019-08-24",        "period_start": "2019-08-24",        "previously_billed": "1234.50",        "stale_at": "2019-08-24T14:15:22Z",        "stale_reason": "terminated",        "status": "pending",        "tenant_name": "string"      }    ],    "notes": "string",    "origin": "job",    "property_id": "05003a8a-8f3c-454b-8884-a906ec46f5f5",    "property_name": "string",    "revision": 0,    "stale_line_count": 0,    "status": "draft",    "updated_at": "2019-08-24T14:15:22Z",    "window_end": "2019-08-24",    "window_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  }}
POST
/v1/percentage-rent/runs/{id}/revise

Takes every staged charge of the run off the shelf, adds 1 to revision and recomputes with every approval dropped. Refused with 409 PERCENTAGE_RENT_RUN_BILLED once any charge is billed or settled: correct a billed year with a later run instead. 409 PERCENTAGE_RENT_LATER_LINE_APPROVED while a later line of the same lease year, in another run, is approved: revise that run first.

Required scope: percentage-rent:write

Error codes: VALIDATION_FAILED, PERCENTAGE_RENT_RUN_NOT_FOUND, PERCENTAGE_RENT_RUN_BILLED, PERCENTAGE_RENT_LATER_LINE_APPROVED, INVALID_IDEMPOTENCY_KEY, IDEMPOTENCY_CONFLICT

Authorization

access-token
headerAuthorizationBearer <token>

Path Parameters

id*string

Header Parameters

Idempotency-Key*string

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

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

Response Body

application/json
  1. response
data*
meta*
curl -X POST 'https://api.acreum.io/v1/percentage-rent/runs/string/revise' \  -H 'Idempotency-Key: string'
{  "data": {    "approved_at": "2019-08-24T14:15:22Z",    "approved_by": "02030314-b162-4b4d-8af1-88eabdcc615d",    "blocked_line_count": 0,    "created_at": "2019-08-24T14:15:22Z",    "created_by": "ee824cad-d7a6-4f48-87dc-e8461a9201c4",    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",    "kind": "annual",    "legal_entity_id": "8c040143-e03c-45a0-b1bc-85161701d839",    "lines": [      {        "adjustments": [          {            "amount": "1234.50",            "created_at": "2019-08-24T14:15:22Z",            "created_by": "ee824cad-d7a6-4f48-87dc-e8461a9201c4",            "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",            "kind": "manual",            "reason": "string"          }        ],        "approved_at": "2019-08-24T14:15:22Z",        "approved_by": "02030314-b162-4b4d-8af1-88eabdcc615d",        "billed": true,        "block_reasons": [          "missing_sales"        ],        "blocked_since": "2019-08-24T14:15:22Z",        "charge": {          "amount": "1234.50",          "billed_document_id": "9345755d-6be6-44e3-a3cc-190192c09a61",          "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",          "part": "rent",          "settled_at": "2019-08-24T14:15:22Z"        },        "charge_amount": "1234.50",        "charges": [          {            "amount": "1234.50",            "billed_document_id": "9345755d-6be6-44e3-a3cc-190192c09a61",            "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",            "part": "rent",            "settled_at": "2019-08-24T14:15:22Z"          }        ],        "computation": {          "allocation": [            {              "group": "string",              "rule": "pro_rata",              "split": {                "property1": "1234.50",                "property2": "1234.50"              }            }          ],          "breakpoints": [            {              "amount": "1234.50",              "derivation": "string",              "kind": "none",              "rule_ids": [                "string"              ]            }          ],          "delta": "1234.50",          "fingerprint": "string",          "gross": "1234.50",          "gross_by_category": {            "property1": "1234.50",            "property2": "1234.50"          },          "previously_billed": "1234.50",          "qualifying_by_category": {            "property1": "1234.50",            "property2": "1234.50"          },          "tier_math": [            {              "amount": "1234.50",              "band": "string",              "base": "1234.50",              "rate_bp": 0,              "rule_id": "string"            }          ]        },        "config_version_id": "4d5f254c-587a-4f12-998e-4efba89b30c9",        "contract_id": "9aafc1a8-e497-46c9-ba0b-bd5b03c353e4",        "delta": "1234.50",        "estimated": true,        "gross_amount": "1234.50",        "hold_reasons": [          "first_billed_year"        ],        "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",        "inputs_fingerprint": "string",        "is_interim": true,        "kind": "annual",        "measurement_basis": "lease_year",        "period_end": "2019-08-24",        "period_start": "2019-08-24",        "previously_billed": "1234.50",        "stale_at": "2019-08-24T14:15:22Z",        "stale_reason": "terminated",        "status": "pending",        "tenant_name": "string"      }    ],    "notes": "string",    "origin": "job",    "property_id": "05003a8a-8f3c-454b-8884-a906ec46f5f5",    "property_name": "string",    "revision": 0,    "stale_line_count": 0,    "status": "draft",    "updated_at": "2019-08-24T14:15:22Z",    "window_end": "2019-08-24",    "window_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  }}
POST
/v1/percentage-rent/runs/{id}/staleness-check

Checks every approved line of the run (billed or not) against its current inputs, as the daily job does, and returns the run. A line whose inputs changed is marked with the named stale_reason (terminated, config_changed, actuals_replaced_estimate, sales_restated, base_rent_changed, inputs_changed); one marked earlier is cleared once its inputs match again. Nothing is recomputed or re-staged. A billed annual or termination line whose year has an approved audit line is not checked and its stale mark, whatever the reason, is cleared: the audit is its correction. Audit lines are never checked. Each line is checked on its own; one that cannot be checked is skipped and logged.

Required scope: percentage-rent:write

Error codes: VALIDATION_FAILED, PERCENTAGE_RENT_RUN_NOT_FOUND

Authorization

access-token
headerAuthorizationBearer <token>

Path Parameters

id*string

Response Body

application/json
  1. response
data*
meta*
curl -X POST 'https://api.acreum.io/v1/percentage-rent/runs/string/staleness-check'
{  "data": {    "approved_at": "2019-08-24T14:15:22Z",    "approved_by": "02030314-b162-4b4d-8af1-88eabdcc615d",    "blocked_line_count": 0,    "created_at": "2019-08-24T14:15:22Z",    "created_by": "ee824cad-d7a6-4f48-87dc-e8461a9201c4",    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",    "kind": "annual",    "legal_entity_id": "8c040143-e03c-45a0-b1bc-85161701d839",    "lines": [      {        "adjustments": [          {            "amount": "1234.50",            "created_at": "2019-08-24T14:15:22Z",            "created_by": "ee824cad-d7a6-4f48-87dc-e8461a9201c4",            "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",            "kind": "manual",            "reason": "string"          }        ],        "approved_at": "2019-08-24T14:15:22Z",        "approved_by": "02030314-b162-4b4d-8af1-88eabdcc615d",        "billed": true,        "block_reasons": [          "missing_sales"        ],        "blocked_since": "2019-08-24T14:15:22Z",        "charge": {          "amount": "1234.50",          "billed_document_id": "9345755d-6be6-44e3-a3cc-190192c09a61",          "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",          "part": "rent",          "settled_at": "2019-08-24T14:15:22Z"        },        "charge_amount": "1234.50",        "charges": [          {            "amount": "1234.50",            "billed_document_id": "9345755d-6be6-44e3-a3cc-190192c09a61",            "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",            "part": "rent",            "settled_at": "2019-08-24T14:15:22Z"          }        ],        "computation": {          "allocation": [            {              "group": "string",              "rule": "pro_rata",              "split": {                "property1": "1234.50",                "property2": "1234.50"              }            }          ],          "breakpoints": [            {              "amount": "1234.50",              "derivation": "string",              "kind": "none",              "rule_ids": [                "string"              ]            }          ],          "delta": "1234.50",          "fingerprint": "string",          "gross": "1234.50",          "gross_by_category": {            "property1": "1234.50",            "property2": "1234.50"          },          "previously_billed": "1234.50",          "qualifying_by_category": {            "property1": "1234.50",            "property2": "1234.50"          },          "tier_math": [            {              "amount": "1234.50",              "band": "string",              "base": "1234.50",              "rate_bp": 0,              "rule_id": "string"            }          ]        },        "config_version_id": "4d5f254c-587a-4f12-998e-4efba89b30c9",        "contract_id": "9aafc1a8-e497-46c9-ba0b-bd5b03c353e4",        "delta": "1234.50",        "estimated": true,        "gross_amount": "1234.50",        "hold_reasons": [          "first_billed_year"        ],        "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",        "inputs_fingerprint": "string",        "is_interim": true,        "kind": "annual",        "measurement_basis": "lease_year",        "period_end": "2019-08-24",        "period_start": "2019-08-24",        "previously_billed": "1234.50",        "stale_at": "2019-08-24T14:15:22Z",        "stale_reason": "terminated",        "status": "pending",        "tenant_name": "string"      }    ],    "notes": "string",    "origin": "job",    "property_id": "05003a8a-8f3c-454b-8884-a906ec46f5f5",    "property_name": "string",    "revision": 0,    "stale_line_count": 0,    "status": "draft",    "updated_at": "2019-08-24T14:15:22Z",    "window_end": "2019-08-24",    "window_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  }}
GET
/v1/percentage-rent/settings

The policy the daily % rent job follows: when a computed charge goes out on its own, and which review holds apply. An org that never saved one reads the defaults (always, every hold on, swing 50%). A lease may override any field (/v1/contracts/{id}/percentage-rent/automation).

Required scope: percentage-rent:read

Authorization

access-token
headerAuthorizationBearer <token>

Response Body

application/json
  1. response
data*
meta*
curl -X GET 'https://api.acreum.io/v1/percentage-rent/settings'
{  "data": {    "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  },  "meta": {    "api_version": "2026-04-23",    "cursor": {      "has_more": true,      "next": "eyJpZCI6ICJhYmMifQ=="    },    "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f",    "total_count": 1234  }}
PUT
/v1/percentage-rent/settings

The whole policy. Applies to lines reviewed from now on; a line already held stays held until a person approves it, and a pending line picks a stricter setting up on the job's next pass. Manual adjustments and audit findings always hold. 400 VALIDATION_FAILED for up_to_limit without auto_send_limit, a negative limit, or swing_pct outside 1-1000.

Required scope: percentage-rent:write

Error codes: VALIDATION_FAILED

Authorization

access-token
headerAuthorizationBearer <token>

Request Body

application/json
  1. body
auto_send*string

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).

Value in"always""up_to_limit""never"
auto_send_limit?|

Required with up_to_limit; 0 or more.

hold_credit*boolean
hold_estimated*boolean
hold_first_billed_year*boolean
hold_swing*boolean
swing_pct*number
Range1 <= value <= 1000

Response Body

application/json
  1. response
data*
meta*
curl -X PUT 'https://api.acreum.io/v1/percentage-rent/settings' \  -H 'Content-Type: application/json' \  -d '{  "auto_send": "always",  "hold_credit": true,  "hold_estimated": true,  "hold_first_billed_year": true,  "hold_swing": true,  "swing_pct": 1}'
{  "data": {    "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  },  "meta": {    "api_version": "2026-04-23",    "cursor": {      "has_more": true,      "next": "eyJpZCI6ICJhYmMifQ=="    },    "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f",    "total_count": 1234  }}
GET
/v1/percentage-rent/tenants

One row per lease with a sales config (leases with no % rent config read sales_only), ordered by property then tenant: the last actual report, the report owed next, progress toward the breakpoint this measurement year, the charge that bills next and when. search matches the tenant name.

Required scope: percentage-rent:read, sales:read

Pagination: cursor

Error codes: INVALID_CURSOR, VALIDATION_FAILED

Authorization

access-token
headerAuthorizationBearer <token>

Query Parameters

property_id?string
Formatuuid
cursor?string
limit?number

1..100, default 100

Range1 <= value <= 100
sort?"property"

Default: property

Value in"property"
search?string

Case-insensitive substring match on: tenant_name.

ids?string

Up to 100 ids; returns those rows regardless of other filters and ignores search.

Response Body

application/json
  1. response
data*array<>
meta*
curl -X GET 'https://api.acreum.io/v1/percentage-rent/tenants'
{  "data": [    {      "bills_on": "2019-08-24",      "breakpoint": {        "breakpoint": "1234.50",        "year_end": "2019-08-24",        "year_start": "2019-08-24",        "ytd_sales": "1234.50"      },      "contract_id": "9aafc1a8-e497-46c9-ba0b-bd5b03c353e4",      "contract_name": "string",      "has_pct_config": true,      "invoice_mode": "next_rent_invoice",      "last_report": {        "is_annual_statement": true,        "period_end": "2019-08-24",        "period_start": "2019-08-24",        "qualifying_sales": "1234.50",        "submitted_at": "2019-08-24T14:15:22Z"      },      "next_bill": {        "amount": "1234.50",        "block_reasons": [          "missing_sales"        ],        "estimated": true,        "hold_reasons": [          "first_billed_year"        ],        "kind": "annual",        "line_id": "6cb02bfb-65d4-467b-864d-461e923db664",        "period_end": "2019-08-24",        "period_start": "2019-08-24",        "run_id": "dded282c-8ebd-44cf-8ba5-9a234973d1ec",        "status": "pending"      },      "next_bill_reason": "waiting_on_sales",      "next_due_report": {        "days_late": 0,        "due_date": "2019-08-24",        "is_annual_statement": true,        "period_end": "2019-08-24",        "period_start": "2019-08-24",        "status": "upcoming"      },      "overdue_report_count": 0,      "property_id": "05003a8a-8f3c-454b-8884-a906ec46f5f5",      "property_name": "string",      "status": "automatic",      "tenant_name": "string",      "unit_label": "string"    }  ],  "meta": {    "api_version": "2026-04-23",    "limit": 50,    "next_cursor": "eyJpZCI6ICJhYmMifQ==",    "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f"  }}