Year-end close
Required scope: accounting:write
Error codes: VALIDATION_FAILED, YEAR_END_ALREADY_CLOSED, YEAR_END_PERIODS_OPEN, YEAR_END_NO_PL_ACTIVITY, LEGAL_ENTITY_NOT_IN_SCOPE, INVALID_IDEMPOTENCY_KEY, IDEMPOTENCY_CONFLICT
access-tokenAuthorizationBearer <token>id*stringIdempotency-Key?stringClient-chosen key that makes this mutation safe to retry. Optional — a request without one is processed normally, with no replay protection. Reusing a key with the same body replays the original response for ~24 hours; reusing it with a different body returns IDEMPOTENCY_CONFLICT.
^[A-Za-z0-9_-]{1,255}$length <= 255application/json- body
fiscal_year*numberFiscal year to close. Resolved against the LE/org fiscal_year_start_month — for FYSM=1 this is the calendar year; for FYSM=4 this names the year that started Apr 1.
1900 <= value <= 2200application/json- response
data*meta*curl -X POST 'https://api.acreum.io/v1/legal-entities/string/year-end-close' \ -H 'Content-Type: application/json' \ -d '{ "fiscal_year": 2026}'{ "data": { "end_date": "string", "fiscal_year": 0, "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "locked_period_count": 0, "retained_earnings_amount": "string", "retained_earnings_side": "debit", "start_date": "string" }, "meta": { "api_version": "2026-04-23", "cursor": { "has_more": true, "next": "eyJpZCI6ICJhYmMifQ==" }, "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f", "total_count": 1234 }}Required scope: accounting:periods_override
Error codes: VALIDATION_FAILED, YEAR_END_NOT_FOUND, LEGAL_ENTITY_NOT_IN_SCOPE, INVALID_IDEMPOTENCY_KEY, IDEMPOTENCY_CONFLICT
access-tokenAuthorizationBearer <token>id*stringIdempotency-Key?stringClient-chosen key that makes this mutation safe to retry. Optional — a request without one is processed normally, with no replay protection. Reusing a key with the same body replays the original response for ~24 hours; reusing it with a different body returns IDEMPOTENCY_CONFLICT.
^[A-Za-z0-9_-]{1,255}$length <= 255application/json- body
fiscal_year*number1900 <= value <= 2200reason*stringWhy the close is being reversed. Recorded on audit_log and surfaced on the closing-date exceptions report.
1 <= length <= 500application/json- response
data*meta*curl -X POST 'https://api.acreum.io/v1/legal-entities/string/year-end-close/reverse' \ -H 'Content-Type: application/json' \ -d '{ "fiscal_year": 2026, "reason": "string"}'{ "data": { "fiscal_year": 0, "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "restored_period_count": 0 }, "meta": { "api_version": "2026-04-23", "cursor": { "has_more": true, "next": "eyJpZCI6ICJhYmMifQ==" }, "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f", "total_count": 1234 }}