Acreum Docs
Capital & assets

Loan Periods

POST
/v1/loans/{id}/actuals/{actualId}/void

Voids the document behind one of the period's live actuals (the bill holding the slot, or a linked payment). A bill a payment still applies to is refused (TARGET_HAS_ACTIVE_APPLICATIONS): void the payment first.

Required scope: loans:write

Error codes: LOAN_NOT_FOUND, VALIDATION_FAILED, LOAN_ACTUAL_NOT_FOUND, LOAN_ACTUAL_NOT_ACTIVE, TARGET_HAS_ACTIVE_APPLICATIONS, DOCUMENT_VOID_REQUIRES_MEMO, DOCUMENT_ALREADY_VOIDED, DOCUMENT_RECONCILED_CANNOT_VOID, DOCUMENT_MATCHED_CANNOT_VOID, LOAN_ESCROW_CLOSED, INVALID_IDEMPOTENCY_KEY, IDEMPOTENCY_CONFLICT

Authorization

access-token
headerAuthorizationBearer <token>

Path Parameters

id*string
actualId*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
memo*string
Lengthlength <= 2000

Response Body

application/json
  1. response
data*
meta*
curl -X POST 'https://api.acreum.io/v1/loans/string/actuals/string/void' \  -H 'Content-Type: application/json' \  -d '{  "memo": "string"}'
{  "data": {    "accrual": {      "accounting_period_id": "4ee67027-6449-4da7-be7d-ad7a99663889",      "amount": "1234.50",      "document_date": "2019-08-24",      "document_id": "b792e8ae-2cb4-4209-85b9-32be4c2fcdd6",      "status": "string"    },    "actuals": [      {        "balance_amount": "1234.50",        "document_date": "2019-08-24",        "document_id": "b792e8ae-2cb4-4209-85b9-32be4c2fcdd6",        "document_role": "scheduled_bill",        "document_status": "string",        "document_type": "string",        "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",        "late_fee_window": "string",        "status": "active",        "total_amount": "1234.50",        "waived_at": "2019-08-24T14:15:22Z"      }    ],    "attention": [      {        "created_at": "2019-08-24T14:15:22Z",        "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",        "payload": {},        "severity": "info",        "state": "open",        "type": "string"      }    ],    "days_past_due": 0,    "due_date": "2019-08-24",    "escrow_lines": [      {        "billed": "1234.50",        "escrow_id": "3da354a5-bad4-466f-9b34-02d42a59bb3d",        "escrow_type": "tax",        "expected": "1234.50",        "name": "string"      }    ],    "event_id": "a7a26ff2-e851-45b6-9634-d595f45458b7",    "expected_escrow": "1234.50",    "expected_fees": "1234.50",    "expected_interest": "1234.50",    "expected_principal": "1234.50",    "expected_total": "1234.50",    "fees_outstanding": "1234.50",    "fees_owed": "1234.50",    "interest_to_bill": "1234.50",    "is_past_due": true,    "late_fee_exempt": true,    "loan_id": "5ed6cd76-f362-4946-a79f-1e111d1430d3",    "outstanding": "1234.50",    "owed": "1234.50",    "period_number": 0,    "settled": "1234.50",    "shares": [      {        "escrow_amount": "1234.50",        "fees_amount": "1234.50",        "interest_amount": "1234.50",        "legal_entity_id": "8c040143-e03c-45a0-b1bc-85161701d839",        "method": "allocated",        "participant_id": "78084e63-1c1c-45af-adf1-2af96784867b",        "participant_type": "property",        "principal_amount": "1234.50",        "property_id": "05003a8a-8f3c-454b-8884-a906ec46f5f5",        "share_pct": "60.0000"      }    ],    "slot_integrity_ok": true,    "state": "superseded",    "variance_basis": "total",    "variance_total": "1234.50"  },  "meta": {    "api_version": "2026-04-23",    "cursor": {      "has_more": true,      "next": "eyJpZCI6ICJhYmMifQ=="    },    "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f",    "total_count": 1234  }}

Waive a late fee

POST
/v1/loans/{id}/late-fees/{documentId}/waive

Needs admin:loans — org owners/admins and Acreum staff; an accountant, clerk or viewer is refused. Waiving voids the fee document — it stays in history with its reversal — and marks its assessment waived; a waived window is never charged again by the daily job. This is the only way a late fee is cancelled: every void door refuses a fee with LOAN_LATE_FEE_WAIVE_REQUIRED. A fee a payment applies to is refused (TARGET_HAS_ACTIVE_APPLICATIONS): void the payment first. stop_future: true also stops every later window for this one period (the exemption). Answers the reloaded period.

Required scope: admin:loans

Error codes: LOAN_NOT_FOUND, VALIDATION_FAILED, INSUFFICIENT_SCOPE, LOAN_LATE_FEE_NOT_FOUND, LOAN_LATE_FEE_ALREADY_WAIVED, TARGET_HAS_ACTIVE_APPLICATIONS, DOCUMENT_ALREADY_VOIDED, DOCUMENT_RECONCILED_CANNOT_VOID, DOCUMENT_MATCHED_CANNOT_VOID, INVALID_IDEMPOTENCY_KEY, IDEMPOTENCY_CONFLICT

Authorization

access-token
headerAuthorizationBearer <token>

Path Parameters

id*string
documentId*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
note?string

Why the fee is waived; recorded on the void memo.

Lengthlength <= 500
stop_future?boolean

Also stop every later late-fee window for this period (the exemption).

Response Body

application/json
  1. response
data*
meta*
curl -X POST 'https://api.acreum.io/v1/loans/string/late-fees/string/waive' \  -H 'Content-Type: application/json' \  -d '{}'
{  "data": {    "accrual": {      "accounting_period_id": "4ee67027-6449-4da7-be7d-ad7a99663889",      "amount": "1234.50",      "document_date": "2019-08-24",      "document_id": "b792e8ae-2cb4-4209-85b9-32be4c2fcdd6",      "status": "string"    },    "actuals": [      {        "balance_amount": "1234.50",        "document_date": "2019-08-24",        "document_id": "b792e8ae-2cb4-4209-85b9-32be4c2fcdd6",        "document_role": "scheduled_bill",        "document_status": "string",        "document_type": "string",        "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",        "late_fee_window": "string",        "status": "active",        "total_amount": "1234.50",        "waived_at": "2019-08-24T14:15:22Z"      }    ],    "attention": [      {        "created_at": "2019-08-24T14:15:22Z",        "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",        "payload": {},        "severity": "info",        "state": "open",        "type": "string"      }    ],    "days_past_due": 0,    "due_date": "2019-08-24",    "escrow_lines": [      {        "billed": "1234.50",        "escrow_id": "3da354a5-bad4-466f-9b34-02d42a59bb3d",        "escrow_type": "tax",        "expected": "1234.50",        "name": "string"      }    ],    "event_id": "a7a26ff2-e851-45b6-9634-d595f45458b7",    "expected_escrow": "1234.50",    "expected_fees": "1234.50",    "expected_interest": "1234.50",    "expected_principal": "1234.50",    "expected_total": "1234.50",    "fees_outstanding": "1234.50",    "fees_owed": "1234.50",    "interest_to_bill": "1234.50",    "is_past_due": true,    "late_fee_exempt": true,    "loan_id": "5ed6cd76-f362-4946-a79f-1e111d1430d3",    "outstanding": "1234.50",    "owed": "1234.50",    "period_number": 0,    "settled": "1234.50",    "shares": [      {        "escrow_amount": "1234.50",        "fees_amount": "1234.50",        "interest_amount": "1234.50",        "legal_entity_id": "8c040143-e03c-45a0-b1bc-85161701d839",        "method": "allocated",        "participant_id": "78084e63-1c1c-45af-adf1-2af96784867b",        "participant_type": "property",        "principal_amount": "1234.50",        "property_id": "05003a8a-8f3c-454b-8884-a906ec46f5f5",        "share_pct": "60.0000"      }    ],    "slot_integrity_ok": true,    "state": "superseded",    "variance_basis": "total",    "variance_total": "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/loans/{id}/periods/{dueDate}

The spine event for this due date, its actuals, the frozen participant shares it was actually split by, the accrual leg, the period's attention items and a read-time slot-integrity flag.

Required scope: loans:read

Error codes: LOAN_NOT_FOUND, VALIDATION_FAILED

Authorization

access-token
headerAuthorizationBearer <token>

Path Parameters

id*string
dueDate*string

Response Body

application/json
  1. response
data*
meta*
curl -X GET 'https://api.acreum.io/v1/loans/string/periods/string'
{  "data": {    "accrual": {      "accounting_period_id": "4ee67027-6449-4da7-be7d-ad7a99663889",      "amount": "1234.50",      "document_date": "2019-08-24",      "document_id": "b792e8ae-2cb4-4209-85b9-32be4c2fcdd6",      "status": "string"    },    "actuals": [      {        "balance_amount": "1234.50",        "document_date": "2019-08-24",        "document_id": "b792e8ae-2cb4-4209-85b9-32be4c2fcdd6",        "document_role": "scheduled_bill",        "document_status": "string",        "document_type": "string",        "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",        "late_fee_window": "string",        "status": "active",        "total_amount": "1234.50",        "waived_at": "2019-08-24T14:15:22Z"      }    ],    "attention": [      {        "created_at": "2019-08-24T14:15:22Z",        "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",        "payload": {},        "severity": "info",        "state": "open",        "type": "string"      }    ],    "days_past_due": 0,    "due_date": "2019-08-24",    "escrow_lines": [      {        "billed": "1234.50",        "escrow_id": "3da354a5-bad4-466f-9b34-02d42a59bb3d",        "escrow_type": "tax",        "expected": "1234.50",        "name": "string"      }    ],    "event_id": "a7a26ff2-e851-45b6-9634-d595f45458b7",    "expected_escrow": "1234.50",    "expected_fees": "1234.50",    "expected_interest": "1234.50",    "expected_principal": "1234.50",    "expected_total": "1234.50",    "fees_outstanding": "1234.50",    "fees_owed": "1234.50",    "interest_to_bill": "1234.50",    "is_past_due": true,    "late_fee_exempt": true,    "loan_id": "5ed6cd76-f362-4946-a79f-1e111d1430d3",    "outstanding": "1234.50",    "owed": "1234.50",    "period_number": 0,    "settled": "1234.50",    "shares": [      {        "escrow_amount": "1234.50",        "fees_amount": "1234.50",        "interest_amount": "1234.50",        "legal_entity_id": "8c040143-e03c-45a0-b1bc-85161701d839",        "method": "allocated",        "participant_id": "78084e63-1c1c-45af-adf1-2af96784867b",        "participant_type": "property",        "principal_amount": "1234.50",        "property_id": "05003a8a-8f3c-454b-8884-a906ec46f5f5",        "share_pct": "60.0000"      }    ],    "slot_integrity_ok": true,    "state": "superseded",    "variance_basis": "total",    "variance_total": "1234.50"  },  "meta": {    "api_version": "2026-04-23",    "cursor": {      "has_more": true,      "next": "eyJpZCI6ICJhYmMifQ=="    },    "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f",    "total_count": 1234  }}
POST
/v1/loans/{id}/periods/{dueDate}/bill

Posts a debt_service_bill carrying the statement interest (once the period is due, the catch-up accrual posts first). The bill relieves accrued interest by exactly the statement figure: when it differs from what accrued for the period, the difference posts first as a loan_accrual statement adjustment against what accrued (to interest expense/income), dated no later than the due date. Voiding the bill voids that adjustment too. The payment is recorded with POST /v1/loans/{id}/payments. Refused while an earlier period is missed (no bill yet). Escrow posts per escrow at the statement's figures (escrow[]) or each escrow's deposit letter.

Required scope: loans:write

Error codes: LOAN_NOT_FOUND, VALIDATION_FAILED, LOAN_PERIOD_NOT_ACTIONABLE, LOAN_PERIOD_HAS_NOTHING_TO_BILL, LOAN_ESCROW_STATEMENT_UNKNOWN_ESCROW, LOAN_ESCROW_DIMENSION_MISSING, LOAN_ESCROW_ROLE_ACCOUNT_MISSING, LOAN_COLLATERAL_NOT_LIVE_ON_DATE, INVALID_IDEMPOTENCY_KEY, IDEMPOTENCY_CONFLICT

Authorization

access-token
headerAuthorizationBearer <token>

Path Parameters

id*string
dueDate*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
escrow?array<>

The statement's escrow, per escrow. An escrow left out bills its deposit letter; an escrow not active on the loan for this period is refused (422 LOAN_ESCROW_STATEMENT_UNKNOWN_ESCROW). The period variance shows any difference.

interest*string

The lender statement's interest for the period. Fees arrive with step 5.

Response Body

application/json
  1. response
data*
meta*
curl -X POST 'https://api.acreum.io/v1/loans/string/periods/string/bill' \  -H 'Content-Type: application/json' \  -d '{  "interest": "1234.50"}'
{  "data": {    "accrual": {      "accounting_period_id": "4ee67027-6449-4da7-be7d-ad7a99663889",      "amount": "1234.50",      "document_date": "2019-08-24",      "document_id": "b792e8ae-2cb4-4209-85b9-32be4c2fcdd6",      "status": "string"    },    "actuals": [      {        "balance_amount": "1234.50",        "document_date": "2019-08-24",        "document_id": "b792e8ae-2cb4-4209-85b9-32be4c2fcdd6",        "document_role": "scheduled_bill",        "document_status": "string",        "document_type": "string",        "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",        "late_fee_window": "string",        "status": "active",        "total_amount": "1234.50",        "waived_at": "2019-08-24T14:15:22Z"      }    ],    "attention": [      {        "created_at": "2019-08-24T14:15:22Z",        "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",        "payload": {},        "severity": "info",        "state": "open",        "type": "string"      }    ],    "days_past_due": 0,    "due_date": "2019-08-24",    "escrow_lines": [      {        "billed": "1234.50",        "escrow_id": "3da354a5-bad4-466f-9b34-02d42a59bb3d",        "escrow_type": "tax",        "expected": "1234.50",        "name": "string"      }    ],    "event_id": "a7a26ff2-e851-45b6-9634-d595f45458b7",    "expected_escrow": "1234.50",    "expected_fees": "1234.50",    "expected_interest": "1234.50",    "expected_principal": "1234.50",    "expected_total": "1234.50",    "fees_outstanding": "1234.50",    "fees_owed": "1234.50",    "interest_to_bill": "1234.50",    "is_past_due": true,    "late_fee_exempt": true,    "loan_id": "5ed6cd76-f362-4946-a79f-1e111d1430d3",    "outstanding": "1234.50",    "owed": "1234.50",    "period_number": 0,    "settled": "1234.50",    "shares": [      {        "escrow_amount": "1234.50",        "fees_amount": "1234.50",        "interest_amount": "1234.50",        "legal_entity_id": "8c040143-e03c-45a0-b1bc-85161701d839",        "method": "allocated",        "participant_id": "78084e63-1c1c-45af-adf1-2af96784867b",        "participant_type": "property",        "principal_amount": "1234.50",        "property_id": "05003a8a-8f3c-454b-8884-a906ec46f5f5",        "share_pct": "60.0000"      }    ],    "slot_integrity_ok": true,    "state": "superseded",    "variance_basis": "total",    "variance_total": "1234.50"  },  "meta": {    "api_version": "2026-04-23",    "cursor": {      "has_more": true,      "next": "eyJpZCI6ICJhYmMifQ=="    },    "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f",    "total_count": 1234  }}
POST
/v1/loans/{id}/periods/{dueDate}/late-fee

Posts a late fee (a debt_service_bill in the late_fee role) for the period's CURRENT window — once, the latest month (m<k>) or the latest billing period (p0 / p:<due date>), per the loan’s late_fee_cadence — dated that window’s date. The period must be past due. Refused when the window already has a charged fee (waive it first); a window that was waived may be charged again this way. Answers the reloaded period.

Required scope: loans:write

Error codes: LOAN_NOT_FOUND, VALIDATION_FAILED, LOAN_PERIOD_NOT_ACTIONABLE, LOAN_PERIOD_NOT_PAST_DUE, LOAN_LATE_FEE_WINDOW_CHARGED, PERIOD_CLOSED, PERIOD_LOCKED, PERIOD_MISSING, INVALID_IDEMPOTENCY_KEY, IDEMPOTENCY_CONFLICT

Authorization

access-token
headerAuthorizationBearer <token>

Path Parameters

id*string
dueDate*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

The lender's late fee for the period's current window. Must be greater than 0.

memo?string
Lengthlength <= 500

Response Body

application/json
  1. response
data*
meta*
curl -X POST 'https://api.acreum.io/v1/loans/string/periods/string/late-fee' \  -H 'Content-Type: application/json' \  -d '{  "amount": "1234.50"}'
{  "data": {    "accrual": {      "accounting_period_id": "4ee67027-6449-4da7-be7d-ad7a99663889",      "amount": "1234.50",      "document_date": "2019-08-24",      "document_id": "b792e8ae-2cb4-4209-85b9-32be4c2fcdd6",      "status": "string"    },    "actuals": [      {        "balance_amount": "1234.50",        "document_date": "2019-08-24",        "document_id": "b792e8ae-2cb4-4209-85b9-32be4c2fcdd6",        "document_role": "scheduled_bill",        "document_status": "string",        "document_type": "string",        "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",        "late_fee_window": "string",        "status": "active",        "total_amount": "1234.50",        "waived_at": "2019-08-24T14:15:22Z"      }    ],    "attention": [      {        "created_at": "2019-08-24T14:15:22Z",        "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",        "payload": {},        "severity": "info",        "state": "open",        "type": "string"      }    ],    "days_past_due": 0,    "due_date": "2019-08-24",    "escrow_lines": [      {        "billed": "1234.50",        "escrow_id": "3da354a5-bad4-466f-9b34-02d42a59bb3d",        "escrow_type": "tax",        "expected": "1234.50",        "name": "string"      }    ],    "event_id": "a7a26ff2-e851-45b6-9634-d595f45458b7",    "expected_escrow": "1234.50",    "expected_fees": "1234.50",    "expected_interest": "1234.50",    "expected_principal": "1234.50",    "expected_total": "1234.50",    "fees_outstanding": "1234.50",    "fees_owed": "1234.50",    "interest_to_bill": "1234.50",    "is_past_due": true,    "late_fee_exempt": true,    "loan_id": "5ed6cd76-f362-4946-a79f-1e111d1430d3",    "outstanding": "1234.50",    "owed": "1234.50",    "period_number": 0,    "settled": "1234.50",    "shares": [      {        "escrow_amount": "1234.50",        "fees_amount": "1234.50",        "interest_amount": "1234.50",        "legal_entity_id": "8c040143-e03c-45a0-b1bc-85161701d839",        "method": "allocated",        "participant_id": "78084e63-1c1c-45af-adf1-2af96784867b",        "participant_type": "property",        "principal_amount": "1234.50",        "property_id": "05003a8a-8f3c-454b-8884-a906ec46f5f5",        "share_pct": "60.0000"      }    ],    "slot_integrity_ok": true,    "state": "superseded",    "variance_basis": "total",    "variance_total": "1234.50"  },  "meta": {    "api_version": "2026-04-23",    "cursor": {      "has_more": true,      "next": "eyJpZCI6ICJhYmMifQ=="    },    "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f",    "total_count": 1234  }}
POST
/v1/loans/{id}/periods/{dueDate}/late-fee-exemption

Needs admin:loans — org owners/admins and Acreum staff; an accountant, clerk or viewer is refused. Stops every later late-fee window for this one period; fees already charged stay (waive them separately). Repeating it replaces the note.

Required scope: admin:loans

Error codes: LOAN_NOT_FOUND, VALIDATION_FAILED, INSUFFICIENT_SCOPE, INVALID_IDEMPOTENCY_KEY, IDEMPOTENCY_CONFLICT

Authorization

access-token
headerAuthorizationBearer <token>

Path Parameters

id*string
dueDate*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
note?string
Lengthlength <= 500

Response Body

The period is exempt.

curl -X POST 'https://api.acreum.io/v1/loans/string/periods/string/late-fee-exemption' \  -H 'Content-Type: application/json' \  -d '{}'
Empty
DELETE
/v1/loans/{id}/periods/{dueDate}/late-fee-exemption

Needs admin:loans — org owners/admins and Acreum staff; an accountant, clerk or viewer is refused. Removes the period's exemption: the daily job charges from the NEXT window not yet assessed. A waived window is never charged again.

Required scope: admin:loans

Error codes: LOAN_NOT_FOUND, VALIDATION_FAILED, INSUFFICIENT_SCOPE, INVALID_IDEMPOTENCY_KEY, IDEMPOTENCY_CONFLICT

Authorization

access-token
headerAuthorizationBearer <token>

Path Parameters

id*string
dueDate*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

The exemption is removed (or there was none).

curl -X DELETE 'https://api.acreum.io/v1/loans/string/periods/string/late-fee-exemption'
Empty