Errors
Error code catalog
Every stable `code` the Acreum API can return, grouped by HTTP status.
This catalog lists all 819 error codes the API emits today. Branch on code, never on the
human-readable title or detail: adding a code is a non-breaking change, while renaming or
removing one only ships behind a new major version. The shape of an error response and the
retry policy are described in Errors.
Many codes are specific to one workflow (a banking match, a depreciation run, a lease escalation). The endpoint pages in the API Reference list which codes each operation can return.
200 —
code | Title | When |
|---|---|---|
MCP_RESPONSE_TRUNCATED | Response truncated | A warning, not a failure: the call succeeded but its response was too large to return whole, so it was cut. Narrow the request (filters, a smaller page) to see the rest. |
400 — Bad Request
code | Title | When |
|---|---|---|
API_KEY_EXPIRES_AT_IN_PAST | expires_at must be in the future | A key minted or updated with an expires_at at or before now would never authenticate, so create and update both refuse it rather than silently issuing a dead key. |
BALANCE_SHEET_PIVOT_AXIS_UNSUPPORTED | Balance sheet cannot be pivoted by this axis | The balance sheet can be pivoted only by system:legal_entity (one column per entity) or system:month (month-end balances). Any other axis, such as a dimension, does not balance per column, so it is refused. context.axis is the requested axis. |
BANK_TX_PENDING_NOT_MATCHABLE | Pending bank transaction not matchable | Pending bank transactions cannot be matched, categorized, or settled until they post. Wait for the upstream provider (e.g. Plaid) to clear the row, then retry. |
CASH_SHORTFALL | Distribution exceeds available cash | The requested distribution total exceeds the declaring legal entity's available ledger cash (operating cash GL accounts, as of declaration_date, excluding trust cash). Reduce the amount, or resubmit with acknowledge_cash_shortfall=true to declare against expected near-term receipts. |
CONSOLIDATION_MANAGED_ENTITY_EXCLUDED | Managed entity excluded from consolidation groups | A 'managed' legal entity holds an external owner's books and cannot be a member of a consolidation entity group. Consolidation covers owned entities only; payment groups may include managed entities. |
CONTRACT_ACTIVATION_NOT_READY | Contract not ready for activation | The draft contract is missing one or more activation requirements. context.missing[] carries machine-readable condition codes; GET /v1/billing-schedules/contracts/{contractId}/activation-preview returns the same list. |
CONTRACT_AMENDMENT_EFFECTIVE_BEFORE_START | Amendment precedes the contract start | effective_on is earlier than the contract start date. An amendment changes a lease that was already running; a change effective before the lease began is a correction to the original terms, not an amendment. |
CONTRACT_AMENDMENT_EMPTY | Amendment records no change | The amendment supersedes no term and introduces no term, and its type carries no change of its own. Committing it would burn a sequence number, bump the contract version and recalculate the billing horizon for a change that did not happen, leaving a numbered entry in the lease history that nothing explains. Name the terms the amendment retires in supersede_term_ids, the terms it adds in introduce_terms, or both. |
CONTRACT_AMENDMENT_INVALID_SUPERSEDE_TERMS | Amendment names terms it cannot supersede | supersede_term_ids does not resolve to that many distinct in-force terms of this contract. An id repeats, does not exist, belongs to another contract or another org, or names a term an earlier amendment already superseded. The whole amendment is rejected rather than partially applied: a partial stamp would leave the outgoing term in force alongside its replacement and both would bill. |
CONTRACT_AMENDMENT_NEW_PERIOD_INDEX_INVALID | New period index out of range | An introduced term's new_period_index is a zero-based index into the same amendment's add_periods, and it named no entry there. context.index is the index that missed. |
CONTRACT_AMENDMENT_OPTION_FIELDS_NOT_ALLOWED | Option fields on the wrong amendment type | add_periods adds an option and only option_addition carries it; remove_period_ids removes one and only option_removal carries it. Each option type must carry its own field, and neither may supersede terms, introduce terms onto an existing period, or change lease facts — an option amendment changes nothing billing reads, so such a change would never reach billing. context.reason is unsupported_type, missing_for_option_type or terms_not_allowed. |
CONTRACT_AMENDMENT_PERIOD_CHANGES_NOT_ALLOWED | Period changes on the wrong amendment type | period_changes moves a contract period's dates, and only term_extension and term_reduction do that. Any other type carrying them would move dates while the chain recorded something else; a term-length type carrying none would record no change at all. |
CONTRACT_AMENDMENT_PERIOD_NOT_ON_CONTRACT | Amendment term names a period on another contract | A period_id in introduce_terms does not name one of this contract's periods. contract_terms.period_id is a plain FK that only checks the period exists, so a foreign id would insert against another contract's window — or fall back to an unbounded one — instead of being rejected. |
CONTRACT_AMENDMENT_TERM_BEFORE_EFFECTIVE_ON | Amendment term starts before the amendment takes effect | An effective_start in introduce_terms is earlier than the amendment's effective_on. An amendment's terms are in force FROM effective_on; a term that starts earlier overlaps the term it replaces on days the outgoing one still governs, and both would bill. Omit effective_start to anchor the term at effective_on. |
CONTRACT_AMENDMENT_TYPE_DIRECTION_MISMATCH | Amendment type contradicts the change it makes | term_extension must lengthen the lease and term_reduction must shorten it, measured on the lease's total span rather than per period. The two types exist so the amendment list reads correctly without opening each row, which only holds if the label is true. Send the other type. |
CONTRACT_INITIAL_PERIOD_REQUIRED | Contract initial period required | This operation requires the contract to have an initial period. The initial period is created when start_date is supplied — at POST, or by the first PATCH carrying start_date. PATCH start_date first, then retry. |
CONTRACT_OPTION_REQUIRES_BOUNDED_INITIAL | Options need a bounded initial period | The initial period is open-ended, so there is no date at which an option period could begin. Give the initial period an end date first, then add the option after it. |
CONTRACT_PERIOD_CHANGE_REQUIRES_AMENDMENT | Adding or deleting an option needs an amendment on a live lease | POST /periods and DELETE /periods/{periodId} work only while the contract is a draft. On a live lease, record an option_addition or option_removal amendment (POST /v1/contracts/{id}/amendments) so the act lands in the lease's own history. context.action is add or delete; context.contract_status is the contract's status. |
CONTRACT_PERIOD_DATES_INVALID | Period end date precedes its start date | A period's end date is earlier than its start date, which describes no window at all. context.end_date carries the offending value. Send an end date on or after the start, or null for an open-ended period. |
CONTRACT_PERIOD_ORDER_INVALID | Option period starts before the initial period ends | An option period must start strictly after the initial period ends — it is a renewal, so it extends the lease rather than running beside it. Overlapping windows would make two terms bill the same day. |
CONTRACT_PERIOD_OVERLAP | Contract periods must not overlap | Two periods on this contract cover the same day, so it is undefined which one's terms govern that date. Periods are consecutive windows: each must start after the previous one ends. |
CONTRACT_TERM_ESCALATION_WINDOW_INVALID | Escalation window has an unparseable date | A date bounding the escalation window is not a YYYY-MM-DD calendar date, so the number of intervals cannot be counted. context.term_index names the term. |
CONTRACT_TERM_STEPPED_REQUIRES_END | Stepped escalation needs an end date | A stepped escalation walks a fixed number of increases across a window, so the window must be bounded. Give the term an effective_end, or give its period an end date. context.term_index names the term. |
CONTRACT_TERM_STEPS_INSUFFICIENT | Stepped escalation does not cover the term | escalationSteps must carry one amount per escalation interval after the base, for the term's whole billable window — otherwise the last stretch of the term has no rent. context.expected_steps and context.received_steps carry the counts, and context.term_index names the term, so a client can size the array without parsing the message. |
CONTRACT_TERM_STRUCTURE_INVALID | Term structure does not match the billing model | The term's blob does not carry the fields this billing model requires, so nothing could bill from it. context.term_index names which term (1-based, in payload order) and context.billing_model the model whose shape it failed. |
CONTRACT_TERM_UNKNOWN_ID | Unknown contract term id | A term in the payload carries an id that does not belong to this contract, or the same id appears twice. Send back the ids returned by GET /v1/contracts/{id} for terms you are editing, and omit id entirely for terms you are adding. |
CONTRACT_TERMS_NOT_SUPPORTED | Contract type does not support terms | This contract type's billing model carries no terms at all, so a terms[] array has nothing to describe. context.billing_model names the model. Use a contract type whose model takes terms, or omit terms entirely. |
COUNTERPARTY_MAPPING_UPDATE_INVALID | Send exactly one change | A counterparty mapping update is one of three forms: { "party_id": "<uuid>" } (change the party; the mapping becomes confirmed and its count restarts), { "state": "retired" } (stop using it) or { "state": "active" } (turn it back on). context.received lists the fields sent. |
COUNTERPARTY_MAPPING_VALUE_INVALID | Signal value cannot identify a payer | The value is normalized the way bank lines are: trimmed; an ACH originator name is upper-cased with its spaces collapsed; a descriptor drops trace segments, store numbers, dates and every token with four or more digits. Nothing was left, or only transaction-type words were (CHECK, MOBILE DEPOSIT, ACH CREDIT), so no bank line could be told apart by it. context.signal_kind is the kind sent. |
DISTRIBUTION_MANAGED_ENTITY_EXCLUDED | Managed entity excluded from distributions | A 'managed' legal entity holds an external owner's books; distributions to the org's investors cannot be declared on it. |
EMPTY_FILE | Empty file | The uploaded file is empty. Re-select a non-empty bank-statement file and retry. |
ENTITY_OWNERSHIPS_NOT_FOUND | No entity ownerships for legal entity on date | The declaring legal entity has no active entity_ownerships rows on the supplied declaration_date. Add at least one ownership row covering that date (POST /v1/entity-ownerships) before declaring a distribution. |
ESCALATION_CONFIG_INVALID | Escalation config is not a valid formula | The index-linked escalation clause failed structural validation. See errors[] for the offending fields. The rules that most often bite: clamp needs both a floor and a cap and the floor may not exceed the cap; carryover_bank needs a cap, because there is nothing to bank without one; holdover_policy: stated_amount needs holdover_stated_amount_cents; single and clamp take exactly one component while max and min take two or more; and at least one component must be cpi_change — a clause made only of fixed percentages is a percentage escalation on the term itself, not an index-linked one. |
ESCALATION_RESET_SUB_ANNUAL | Index resets are annual only | The config asks for a reset more often than once a year. Index-linked resets walk twelve months at a time (design decision D-6); sub-annual resets are not expressible, and generalising the walk multiplies the stub, carryover-bank and ratchet cases the factor calculator has to get right. contract_terms.escalation_frequency does allow finer frequencies, but only for fixed and stepped escalation. Set reset_frequency to annual. |
GL_ACTIVITY_CASH_BASIS_ACCOUNT_NOT_INCOME_STATEMENT | Cash-basis GL activity covers income-statement accounts only | GET /v1/accounting/gl-activity?basis=cash lists the rows behind the cash-basis P&L, which has only income-statement accounts (income, cost of goods sold, expense). The account_id given is a balance-sheet account, whose cash-basis figure is a different computation (the cash balance sheet folds recognized income into retained earnings) that this endpoint does not list. context.account_id is the refused account. Use basis=accrual to list its posted lines. |
GL_ACTIVITY_CASH_BASIS_PARAMETER_UNSUPPORTED | Parameter not supported on the cash basis | GET /v1/accounting/gl-activity?basis=cash lists the rows the cash-basis P&L sums, and most of them are synthesized at read time from a payment, a refund payment or a debt-service payment. Such a row has no created_at, and it belongs to two documents at once (the payment and the invoice, bill or refund it pays), so sort=created_at / sort=-created_at and document_id have no meaning there and are refused rather than silently ignored. context.parameter names the refused parameter (sort or document_id). Sort by entry_date / -entry_date, drop document_id, or use basis=accrual. |
IDEMPOTENCY_KEY_REQUIRED | Idempotency-Key required | This route requires an Idempotency-Key header. Supply a stable key per logical request. |
INSURANCE_FIXED_AREA_REQUIRED | Building area required | A fixed_area denominator divides by the building's area, so it needs one above zero. Send fixed_area_sqft, or measure the property's rentable_sqft; otherwise use participant_area. |
INSURANCE_PARTICIPANT_METHOD_MISMATCH | Participant method differs from the lease | All rows of one lease in a policy term share one method; this row names a different one. |
INSURANCE_PARTICIPANT_SHARE_CUT | Participant change would cut other shares | Under participant area, the change would lower the share of area tenants it does not name. Name them in the change's accept_cuts (POST …/participants/changes) to accept the cut; context carries the first day and the participant ids. |
INVALID_CURSOR | Invalid cursor | The supplied pagination cursor could not be decoded. Omit the cursor to start from the first page. |
INVALID_IDEMPOTENCY_KEY | Invalid Idempotency-Key | The Idempotency-Key header must match /^[A-Za-z0-9_-]+$/ and be at most 255 characters. |
LEASE_RESOLUTION_KNOWN_AT_FUTURE | knownAt is in the future | knownAt is decision time; a future value has no meaning. Omit it (defaults to today) or pass a past or present date. |
LOAN_COLLATERAL_BILLED_HISTORY | Collateral change would rewrite billed periods | Billed periods were split by the collateral in force when they were billed, and posted accruals by the split of the bill that will relieve them (spec D8). The locked due dates are the billed ones plus, when accrued interest runs past the last bill, the due date that will relieve it; GET /v1/loans/{id} reports the latest as collateral_locked_through. A row cannot end before the latest locked due date it covers (rule ends_before_billed), a new window cannot start on or before the latest locked due date (rule starts_in_billed), and a row live on a locked due date cannot be removed (rule removes_billed) or change its share_pct (rule restates_billed). context.billed_due_date names the date. |
LOAN_COLLATERAL_CHOICE_INVALID | Collateral list and unsecured both sent | The request sent both a list of collateral properties and unsecured: true. Send exactly one of them (spec D3). |
LOAN_COLLATERAL_COVERAGE_GAP | Loan collateral does not cover every day | Once a loan has any collateral, the live rows must cover every day from the first start date to maturity, or to the last end date on an unsecured loan (spec D7). Only days after the loan's collateral_locked_through are checked: earlier days are billed history, so a gap there is accepted and a loan made unsecured can be secured again with a window that starts after the lock. A day with no live row would post that day's debt service unsplit. context.gap_from and context.gap_to name the first uncovered run. |
LOAN_COLLATERAL_LENDER_SIDE | Collateral is not recorded on a lender loan | Collateral is borrower-side only (spec D14). On a loan the organization made, the property belongs to the borrower, so it is not a dimension of the organization's own journal lines. |
LOAN_COLLATERAL_NOT_LIVE_ON_DATE | Loan collateral is not live on the drawdown or payoff date | A borrower loan with collateral cannot post a drawdown dated before its first collateral window (or on any day no window covers), nor a payoff whose split date no window covers (a payoff splits on the first unbilled due date on or after the payoff date, or the payoff date past the last one). The principal would post unsplit while the loan's other bills, payments and payoff split by property, so a property's principal would never net. Collateral may start after origination (spec D7); date the drawdown on or after context.first_collateral_from, or change the collateral so a window covers context.date. The origination funding that activation posts is a drawdown too. A debt-service bill splits on its due date and is refused the same way when no window covers it (a statement, or a payment that bills an unbilled due period). |
LOAN_COLLATERAL_OWNER_MISMATCH | Collateral property belongs to another legal entity | A property can secure a loan only when its own legal entity is the loan's borrower (spec D1). A property owned by another entity would put that entity's property dimension on the borrower's journal lines. Cross-entity allocation waits for the intercompany method, which is not built. |
LOAN_COLLATERAL_RELEASED_NEEDS_END_DATE | Released collateral needs an end date | A collateral row marked released must carry an effective_to (spec D10). Without one the row stays live and the released property keeps sharing the loan. |
LOAN_COLLATERAL_REQUIRED | Loan collateral or unsecured flag required | A borrower-side loan must name its collateral or be marked unsecured: on create, before activation, and when all of its collateral is removed (spec D3, D4). A loan with neither is ambiguous between an unsecured facility and an unfinished setup. |
LOAN_COLLATERAL_UNSECURED_CONFLICT | Unsecured loan has open-ended collateral | A loan marked unsecured cannot also have a collateral row with no end date: the two say contradictory things about the same future dates. Close the row or clear the unsecured flag. |
LOAN_COLLATERAL_WINDOW_OUTSIDE_LOAN | Collateral window starts outside the loan's life | A collateral row may not start before the loan's origination date or after its maturity date (spec D11). |
LOAN_PARTICIPANT_FROZEN_ROW_IMMUTABLE | Frozen loan participant cannot be re-stated | A posted period froze its allocation against this participant row, so the row's share_pct, effective_from and participant reference are what the money in the ledger was split by and can no longer be re-stated. Close the row's window with effective_to and open a new row for the new terms; the future periods pick it up, the posted ones keep their evidence. |
LOAN_PARTICIPANT_FROZEN_ROW_REMOVED | Frozen loan participant cannot be removed | A posted period froze its allocation against this participant row, and loan_event_shares.loan_participant_id is ON DELETE restrict because those rows are the evidence for money already posted. Send the row back with an effective_to that closes its window instead of dropping it from the set. |
LOAN_PARTICIPANT_PROPERTY_NOT_ACTIVE | Loan participant property is not active | Dimension validation only accepts an active property, so configuring an archived or inactive one as a loan participant would make every later debt-service document fail at posting with DIMENSION_ENTITY_VALUE_UNKNOWN and stop the loan billing. The property is refused here instead, where the message can name it. |
LOAN_PREPAYMENT_LOAN_NOT_ACTIVE | Loan is not active | Only an active loan can be quoted, prepaid or paid off. context.status is the loan status (a draft loan is activated first; a paid_off one is reopened by voiding its payoff). |
LOAN_PREPAYMENT_NOTHING_OUTSTANDING | Loan has no outstanding principal | The loan's GL principal is already zero, so there is nothing to pay off. |
LOAN_PREPAYMENT_PRINCIPAL_NOT_POSITIVE | Curtailment principal must be positive | A curtailment needs principal_amount greater than zero (and less than the outstanding principal; use the payoff for the whole balance). |
LOAN_PRINCIPAL_BASIS_IMMUTABLE | Loan posting basis cannot be changed once anything has posted | loan_account_id, loan_side, funded_amount, interest_account_id and accrued_interest_account_id are the loan's posting basis: the principal account, the sign convention it is read with, the amount repayments are subtracted from, and the accounts interest accrues to. Once any loan document has posted — a drawdown, an accrual, a bill, a payment or a payoff — changing any of them strands what already posted on the old basis. Record the change as a new loan, or void the loan's posted documents first. |
MCP_WRONG_TOOL | Operation called through the wrong tool | The operation exists but belongs to another risk class: each call tool (read, write, destructive_write) refuses operations outside its own. context.use_tool names the tool to call it with. |
NOT_A_FEED_IMPORT | Not a feed import | Only statement imports with purpose "feed" can be committed to create bank transactions. |
ORG_USER_SELF_MUTATION | Cannot modify own membership | A user cannot change their own role or remove themselves from the org. |
OWNER_DISTRIBUTION_LE_MISMATCH | Owner distribution legal entity mismatch | A distribution declaration's legal_entity_id must equal the legal_entity_id of the property owned by the supplied ownership group. Submit the declaration under the property's operating LE. |
OWNERSHIP_CHANGE_REASON_REQUIRED | Ownership change_reason required | change_reason is required on every ownership group or entity ownership replacement, and on every ownership group create after the first one for a property. Supply a non-empty change_reason describing why the change is being made. |
OWNERSHIP_GROUP_NOT_ACTIVE_ON_DATE | Ownership group not active on date | The declaration_date must fall inside the ownership group's [effective_from, effective_to] window. Pick a date covered by an active group, or close-and-replace the group first. |
OWNERSHIP_INSUFFICIENT_STAKE | Transferor does not hold enough ownership to transfer | An entity-ownership transfer cannot move more than the giver currently holds. The from_party must hold an active stake in the parent entity that is greater than or equal to the requested transfer percentage. |
OWNERSHIP_NOT_CONSECUTIVE_MONTH | Ownership effective_from must be the consecutive month | A close-and-replace effective_from must be the first day of the month immediately following the predecessor's effective_from. Gaps and overlaps are not allowed. |
OWNERSHIP_SUM_NOT_100 | Ownership percentages must sum to 100 | The sum of ownership percentages across the active set must be within 0.000000001 of 100. Percentages carry up to 15 decimals. Adjust the supplied member percentages so they total 100. |
PAYMENT_APPLICATION_LEGAL_ENTITY_MISMATCH | Payment-application legal entity mismatch | The payment document and applied document must belong to the same legal entity. Cross-LE settlement runs through intercompany, not payment-application. |
PORTAL_ORG_CONTEXT_REQUIRED | Sponsor must be chosen | This login is linked to several sponsors. Send X-Org-Id with one of the org ids listed in context.sponsors; each sponsor option carries its portal_slug. |
RE_TAX_FIXED_AREA_REQUIRED | Building area required | A fixed_area denominator divides by the building's area, so it needs one above zero. Send fixed_area_sqft, or measure the property's rentable_sqft; otherwise use participant_area. |
RE_TAX_PARTICIPANT_METHOD_MISMATCH | Participant method differs from the lease | All rows of one lease in a tax period share one method; this row names a different one. |
RE_TAX_PARTICIPANT_SHARE_CUT | Participant change would cut other shares | Under participant area, the change would lower the share of area tenants it does not name. Name them in the change's accept_cuts (POST …/participants/changes) to accept the cut; context carries the first day and the participant ids. |
REFERENCE_RATE_OUT_OF_RANGE | Reference rate is not a decimal between 0 and 1 | Rate series (sofr, prime, treasury, other) are stored as decimals: 0.0533 is 5.33%. A rate_value outside [0, 1] is a percent sent where a decimal is expected; divide it by 100. The CPI index level (cpi) is a level, not a rate, and is not bounded. context.unit, context.min and context.max name the accepted range. |
VALIDATION_FAILED | Validation failed | One or more request fields failed validation. See errors[] for details. |
YEAR_END_NO_PL_ACTIVITY | No P&L activity to close | The legal entity has no income or expense activity in this fiscal year — there is nothing to close. Verify the fiscal year and legal entity, or skip the close for this LE. |
401 — Unauthorized
code | Title | When |
|---|---|---|
API_KEY_EXPIRED | API key expired | The API key is past its expires_at timestamp and will no longer authenticate. Issue a new key. |
API_KEY_REVOKED | API key revoked | The API key has been revoked and will no longer authenticate. Issue a new key. |
UNAUTHORIZED | Unauthorized | No valid credential was provided. |
403 — Forbidden
code | Title | When |
|---|---|---|
API_KEY_PLAN_ONLY | API key is plan-only | This API key may only read and use plan mode: it can call GET routes and /v1/plans, and its writes must go through a plan (preview, then commit). Send the call as a step of POST /v1/plans/preview, then commit the plan. |
API_KEY_TIER_OVERRIDE_FORBIDDEN | Rate-limit tier override forbidden | Only Acreum staff — a user principal holding admin:* — may change rate_limit_tier. A key of any kind, sparkiq_internal included, may not self-authorize its own privilege tier. |
API_KEYS_LEGACY_UNSUPPORTED | API keys cannot access legacy routes | API keys are only valid against /v1/* endpoints. This route has not been migrated to /v1 yet. Use a Supabase JWT, or wait for the route to migrate. |
DISTRIBUTION_BATCH_SUBMITTER_NOT_A_USER | Only a user can submit a distribution batch | A batch executes its declarations as the user who submitted it, so an API key cannot submit one. |
FORBIDDEN | Forbidden | The credential does not grant access to this resource or action. |
INSUFFICIENT_SCOPE | Insufficient scope | The credential is authenticated but lacks the required scope for this operation. |
LEGAL_ENTITY_NOT_IN_SCOPE | Legal entity not in scope | The caller is restricted to a subset of legal entities that does not include the target entity. |
MCP_CLIENT_NOT_ALLOWED | AI connector client is not allowed | The OAuth client behind this token is not a recognised connector: one of its registered redirect URIs is outside the allowlist, or its registration could not be verified. |
MCP_CONFIRMATION_SELF | A connector cannot confirm its own operation | Confirming or declining a connector confirmation is for the person, in the Acreum web app; an AI-connector token is always refused here. |
MCP_CONNECTOR_FORBIDDEN | Not available to AI connectors | This operation is marked connector-forbidden (x-connector-forbidden): it can only be called with a normal session or API key, never through an AI connector. |
MCP_DISABLED_FOR_ORG | AI connector is turned off for this org | The org's AI-connector access level is off, so no connector token may call the API. An org owner or admin can change it in org settings. |
MCP_HIGH_RISK_NOT_ALLOWED | High-risk operation not allowed to AI connectors | The operation is marked high-risk (x-high-risk: it moves money, writes or reverses the ledger, closes a period, exposes bank details or changes org settings). Under the org's read or write AI-connector access level a connector token may not call it; a person can do it in the app, or an org owner or admin can raise the level to full. |
MCP_READ_ONLY | AI connector is read-only for this org | The org's AI-connector access level is read: a connector token may only make read requests. An org owner or admin can raise it in org settings. |
ORG_MEMBER_DEACTIVATED | Membership deactivated | The caller's membership in this org was deactivated by an administrator. |
ORG_USER_OWNER_PROTECTED | Owner membership is protected | Only an owner may change or remove another owner's membership. |
PAYMENT_RUN_APPROVER_CHANGE_OUT_OF_SCOPE | The changes touch an entity outside this approval | An approver of an entity request may change only that entity’s bills and account; an approver of a payment-group request only those of the members the request was submitted with. Only an org-wide request reaches every entity of the run. context.approval_request_id names the request and context.legal_entity_ids the entities outside it. |
PAYMENT_RUN_COMPLETE_FORBIDDEN | Only owner or admin may complete a payment run | Completing a run posts its payments to the general ledger, so it is restricted to owner/admin org roles — a payment-runs:write scope alone is not sufficient. |
PAYMENT_RUN_REVERT_FORBIDDEN | Only the run creator may revert it to draft | Reverting a hand-built payment run to draft is restricted to the user who created it (created_by) — a payment-runs:write scope alone is not sufficient. A run generated by a schedule may be reverted by any user with payment-runs:write. |
PAYMENT_RUN_SCHEDULE_USER_REQUIRED | A payment run schedule needs a user as its owner | A schedule is owned by a person and acts in their name. A signed-in user owns what they create unless they name someone else; an API key has no user, so it must name the owner in owner_user_id when it creates a schedule. |
PAYMENT_RUN_SUBMIT_FORBIDDEN | Only the run creator may submit it for approval | Submitting a hand-built payment run for approval is restricted to the user who created it (created_by) — a payment-runs:write scope alone is not sufficient. A run generated by a schedule may be submitted by any user with payment-runs:write. |
PERIOD_OVERRIDE_FORBIDDEN | Period override requires accounting:periods_override scope | Posting into a closed period requires the accounting:periods_override scope. The submitted credential lacks it. |
PORTAL_ACCESS_DENIED | Portal access denied | This credential cannot access this route. Portal logins reach only /v1/portal/*; every other credential is refused there. |
PORTAL_GRANTS_DISABLED | Portal access grants are disabled | Portal access grants are not enabled in this environment. |
PORTAL_NOT_ENABLED | Investor portal is not enabled | The investor portal is off for this org or for this legal entity, so no new publication package can be drafted (an existing draft can still be edited, refreshed, previewed or discarded). context.scope says which switch is off: org (Acreum enables the portal per org — contact support) or legal_entity (turn it on with PUT /v1/legal-entities/{id}/portal and enabled: true). |
PORTAL_ROLE_FORBIDDEN | Your portal access does not include this | This login's access role for the party may not read this. Positions need advisor or primary access; viewers see statements, documents and the terms. context.required_role is the lowest role that may read it. A read across several parties leaves out the parties the role may not see; this refusal comes only when the request names such a party, or when no party the login acts for may see it. |
REFERENCE_SERIES_FEED_OWNED | This index series is published by an automated feed | Readings for a series whose catalog source is an automated feed (for example CPI from the BLS) are global: every organization bills from the same number, so no organization may write one. A wrong reading is corrected by the feed or by an operator migration. Series with no catalog row, or a catalog row whose source is manual, still accept manual entry. |
SECURITY_GROUP_OWNER_IMMUTABLE | Owner security group is immutable | The seeded owner system group is read-only for every caller, including Acreum staff. It can never be edited or deleted. |
SECURITY_GROUP_SYSTEM_IMMUTABLE | System security group is read-only | System-seeded security groups (one per legacy role) are read-only in Phase 1 — their permissions cannot be edited. Create a custom group instead. |
SECURITY_HIERARCHY_FORBIDDEN | Insufficient privilege rank | Edit-down-only: you may only create/edit/delete a group, or manage/assign a member, whose privilege rank is strictly below your own — never your own level or above. |
404 — Not Found
code | Title | When |
|---|---|---|
AP_CHECK_NOT_FOUND | AP check not found | The AP item has no row for this check: it never fired on the item, or stopped firing when the item was checked again. context.check_code names it. Reload the item to see its current checks. |
AP_FILE_NOT_FOUND | AP file not found | The requested AP file does not exist or belongs to another organization. |
AP_INTAKE_ADDRESS_NOT_FOUND | AP intake address not found | The requested AP intake address does not exist, belongs to another organization, or belongs to a legal entity outside the caller’s scope. |
AP_INVOICE_NOT_FOUND | AP invoice not found | The requested AP invoice (an item found in an uploaded file) does not exist or belongs to another organization. |
ATTACHMENT_NOT_FOUND | Attachment not found | The requested attachment does not exist or belongs to another document or tenant. |
BANK_ACCOUNT_IMPORT_NOT_FOUND | Bank account import not found | No bank_account_imports row with that id exists in this org. It may belong to another org, or the id is wrong. |
BANK_CONNECTION_NOT_FOUND | Bank connection not found | No bank_connections row with that id exists in this org. It may belong to another org, or the id is wrong. |
CHARGE_EXPLANATION_NOT_FOUND | Charge explanation not found | The charge does not exist in this organization (context.reason = charge_not_found), or what produced it no longer exists (subject_not_found): a percentage rent charge whose run was revised away has no line left to explain it. context.charge_id names the charge. |
CONTACT_NOT_FOUND | Contact not found | No contact with that id exists on this party in the caller's org. |
DISTRIBUTION_BATCH_NOT_FOUND | Distribution batch not found | No distribution batch with this id exists in the caller's org. |
DISTRIBUTION_DECLARATION_NOT_FOUND | Distribution declaration not found | The supplied distribution_declaration_id does not exist in this org. Use GET /v1/distribution-declarations to list declarations. |
DISTRIBUTION_POLICY_NOT_FOUND | Distribution policy not found | No distribution policy with this id exists in the caller's org. |
DISTRIBUTION_POLICY_TEMPLATE_NOT_FOUND | Distribution policy template not found | No distribution policy template with this id exists in the caller's org. |
DOCUMENT_NOT_FOUND | Document not found | The requested document does not exist or belongs to another tenant. |
EQUITY_BANK_TRANSACTION_NOT_FOUND | Bank transaction not found | bank_transaction_id names no bank transaction in this organization. The lookup is org-scoped, so a transaction belonging to another organization answers the same way one that never existed does. |
EQUITY_CLASS_NOT_FOUND | Equity class not found | No equity class with this id exists in this org. |
EQUITY_CONTRIBUTION_NOT_FOUND | Capital contribution not found | The id in the URL names no capital_contribution document in this organization. The reversal route takes the CONTRIBUTION as its anchor and finds the rest of the set from it — the parent mirror through source_id, the settling payment through its live application — so naming the mirror or the payment answers the same way an id from another organization does. |
EQUITY_HOLDER_PARTY_NOT_FOUND | Holder party not found | holder_party_id does not resolve to a party that exists in this org. Existence-only — an inactive party is admitted; "can transact" is not a precondition for holding a capital account. |
EQUITY_LEGAL_ENTITY_NOT_FOUND | Legal entity not found | No legal entity with that id exists in your organization. |
EQUITY_PARTY_NOT_FOUND | Party not found | No party with this id exists in this org. An empty portfolio (a party that exists but holds no equity positions) is a 200 with an empty array, not this error. |
EQUITY_POSITION_NOT_FOUND | Equity position not found | No equity position with this id exists in this org. |
FIXED_ASSET_IMPORT_NOT_FOUND | Legacy asset import not found | No legacy fixed-asset import with that id is visible to the caller: it does not exist, belongs to another organization, or was staged by a user restricted to legal entities the caller does not cover. The three cases are deliberately indistinguishable. |
IMPERSONATION_NOT_FOUND | Impersonation not found | The impersonation token does not exist or has already been revoked. |
IMPERSONATION_TARGET_ORG_NOT_FOUND | Target org not found | The target_org_id does not correspond to an existing organisation. |
LOAN_ACTUAL_NOT_FOUND | Loan actual not found | No actual with this id belongs to this loan — it is unknown, or it belongs to another loan. Refresh the period and void one of the documents it lists. |
LOAN_ESCROW_MOVEMENT_NOT_FOUND | Escrow movement not found | No movement of this escrow is this document (a deposit is voided with its bill). |
LOAN_ESCROW_NOT_FOUND | Loan escrow not found | The loan has no escrow with this id. |
LOAN_EXTENSION_OPTION_NOT_FOUND | Extension option not found | No extension option with context.option_id exists on loan context.loan_id. List the loan extension options for valid ids. |
LOAN_HEDGE_NOT_FOUND | Loan hedge not found | No swap or cap with this id exists in the organization. |
LOAN_LATE_FEE_NOT_FOUND | Loan late fee not found | No late-fee assessment of this loan is recorded for the document. |
LOAN_NOT_FOUND | Loan not found | The requested loan does not exist or belongs to another tenant. |
MCP_DOC_NOT_FOUND | Docs page not found | No page in the user docs index has this slug. Use search_docs to find the right one. |
MCP_OPERATION_NOT_FOUND | Operation not found | No operation in the AI connector catalog has this operation_id. Search the catalog for the right one and retry with it. |
NOT_FOUND | Not found | The requested resource does not exist. |
ORG_NOT_FOUND | Org not found | The org id does not correspond to an existing organisation. |
ORG_USER_NOT_FOUND | Org member not found | No membership exists for that user in the caller's org. |
OWNER_DISTRIBUTION_GROUP_NOT_FOUND | Ownership group not found | The supplied ownership_group_id does not exist in this org, or the group references a trackable that has been deleted. Use GET /v1/ownership-groups to list active groups. |
PAYMENT_RUN_ACH_FILE_NOT_FOUND | No ACH file for this originating bank | No entity of this payment run originates ACH files through that routing number. GET /v1/payment-runs/{id}/ach-files lists the run’s files by originating routing number. |
PAYMENT_RUN_APPROVAL_REQUEST_NOT_FOUND | Approval request not found on this payment run | The approval request in the route is not a request of this payment run, or does not exist in the organization. context.payment_run_id and context.approval_request_id name the pair. |
PAYMENT_RUN_NOT_FOUND | Payment run not found | No payment run with this id exists in the organization, or — on a per-entity route — the run holds no bill of that legal entity. |
PAYMENT_RUN_SCHEDULE_NOT_FOUND | Payment run schedule not found | No payment run schedule with this id exists in the organization, or the caller may not see it: a caller restricted to some legal entities sees a schedule only when every entity in its scope, and every current member of every payment group in it, is allowed. |
PAYMENTS_BANK_ACCOUNT_NOT_FOUND | Bank account not found for this legal entity | No bank account with that id belongs to this legal entity. Bank accounts are scoped to one legal entity, so an id from another entity reads as not found. |
PAYMENTS_LEGAL_ENTITY_NOT_FOUND | Legal entity not found | No legal entity with that id exists in your organization, so it has no Spark Payments account. |
PAYMENTS_TRANSFER_NOT_FOUND | Transfer not found | No transfer with that id exists for this org. Transfers are never deleted, so this means the id is wrong or belongs to another tenant. |
PERCENTAGE_RENT_CONFIG_NOT_FOUND | No percentage rent config on that date | The lease has no percentage rent config version live on as_of (none was ever saved, or the first version starts later), so there is nothing to preview. Save one with PUT /v1/contracts/{id}/percentage-rent. |
PERCENTAGE_RENT_RUN_NOT_FOUND | Percentage rent run not found | No percentage rent run with that id exists in the org. |
PERIOD_CLOSE_RUN_NOT_FOUND | Bulk close run not found | No bulk period close run with that id exists in this organization. A run belonging to another organization answers the same way, so the id itself is never confirmed. |
PLAN_NOT_FOUND | Plan not found | No plan with this id that you can act on: it does not exist in your organization, another principal ran it (and you lack plans:release, or you are a plan-only key or a legal-entity-scoped principal, which see only their own runs), or it is not the kind of run the call needs (a commit wants a preview; undo and release want a committed run). Preview the plan again and commit the new plan_id, or check the run id. |
PORTAL_BRANDING_NOT_FOUND | Portal not found | No investor portal is published at this address: the slug is unknown, or the sponsor's portal is switched off. The two cases are deliberately indistinguishable. |
PORTAL_DOCUMENT_NOT_FOUND | Document not found | No document with this id is available to this login: it does not exist, belongs to another sponsor, is in a package none of this login's parties receive, is not published, or the sponsor's portal is switched off, for the whole sponsor or for its entity. All of these give this same answer. |
PORTAL_NO_PUBLISHED_STATEMENT | No published statement for that date | The position has published statements, but none covers or precedes the requested date: as_of falls before the position's first published statement window. Ask for a later date, or list the position's statements with GET /v1/portal/statements?position_id=. |
PORTAL_PARTY_NOT_FOUND | Party not found | The party_id filter names a party this login does not act for in this sponsor. A party of another sponsor, one that does not exist and one that was deactivated all give this same answer. |
PORTAL_POSITION_NOT_FOUND | Position not found | No position with this id has a published statement this login may see: it does not exist, is held by another party or sponsor, or every statement for it is hidden because it is not published, its holder was left out of the package, or the sponsor's portal is switched off, for the whole sponsor or for its entity. All of these give this same answer. |
PORTAL_STATEMENT_NOT_FOUND | Statement not found | No statement with this id is available to this login: it does not exist, belongs to another party or sponsor, is not published, its holder was left out of the package, or the sponsor's portal is switched off, for the whole sponsor or for its entity. All of these give this same answer. |
SALES_CATEGORY_NOT_FOUND | Sales category not found | No sales category with this id exists in the caller's org. Sales categories are listed by GET /v1/sales/categories. |
SALES_CONFIG_NOT_FOUND | Lease has no sales config | The contract exists but has no sales reporting config, so it does not report sales. A lease reports sales if and only if it has one; create it with PUT /v1/contracts/{id}/sales-config. A management agreement never has one: only a lease reports sales. |
SALES_IMPORT_NOT_FOUND | Sales import not found | No sales CSV import with this id exists in the caller's org. Imports are listed by GET /v1/sales/imports. |
SALES_REPORT_NOT_FOUND | Sales report not found | No sales report with this id exists in the caller's org. Sales reports are listed by GET /v1/sales/reports. |
SCHEDULED_DISTRIBUTION_NOT_FOUND | Scheduled distribution not found | No scheduled distribution with this id exists in the caller's org. |
SECURITY_GROUP_NOT_FOUND | Security group not found | The referenced security_group_id does not exist, or does not belong to the caller's org. |
TICKET_ASSIGNMENT_NOT_FOUND | Ticket assignment not found | The requested assignment does not exist or belongs to another tenant. |
TICKET_ATTACHMENT_NOT_FOUND | Ticket attachment not found | The requested attachment does not exist or belongs to another ticket, track, or tenant. |
TICKET_NOT_FOUND | Ticket not found | The requested ticket does not exist or belongs to another tenant. |
TICKET_NOTE_NOT_FOUND | Ticket note not found | The requested note does not exist or belongs to another tenant. |
TRACK_NOT_FOUND | Track not found | The requested track does not exist or belongs to another ticket or tenant. |
VENDOR_IDENTIFIER_NOT_FOUND | Vendor identifier not found | No vendor identifier with that id exists on this party in the caller's org. |
YEAR_END_NOT_FOUND | Year-end close not found | No active year-end close exists for this legal entity and fiscal year. Either it was never run or it has already been reversed. |
405 — Method Not Allowed
code | Title | When |
|---|---|---|
METHOD_NOT_ALLOWED | Method not allowed | The HTTP method is not supported for this resource. |
409 — Conflict
code | Title | When |
|---|---|---|
ALREADY_COMMITTED | Import already committed | This statement import has already been committed and cannot be committed again. |
AP_FILE_DUPLICATE | AP file already uploaded | This organization already holds a file with the same bytes (sha256). context.file_id names that file and context.item_ids its items; the new upload was discarded. |
AP_FILE_HAS_DECIDED_ITEMS | AP file has decided items | The file cannot be read again because at least one of its items is accepted, rejected or archived, and splitting it again could duplicate a decided bill. context.item_ids lists those items. Re-process the undecided items one by one instead. |
AP_INVOICE_CHANGED | AP invoice changed meanwhile | The item was written by someone else twice while this review action was being saved. Nothing was changed; reload the item and retry. |
AP_INVOICE_HAS_OPEN_CHECKS | AP invoice has open checks | The item cannot be accepted while a block check is open or a warn check is unacknowledged; a failed extraction counts through its extraction_invalid warn. context.check_codes lists them. Resolve each block and acknowledge each warn, then accept again. Nothing was created. |
AP_INVOICE_NOT_A_DUPLICATE | AP invoice is not a duplicate | The item has no open duplicate check (duplicate_invoice, duplicate_probable or duplicate_content), so there is no duplicate to confirm or dismiss. |
AP_INVOICE_NOT_REPROCESSABLE | AP invoice cannot be re-processed | The item is already decided (accepted, rejected or archived, named in context.status), so there is nothing to run again. |
AP_INVOICE_NOT_REVIEWABLE | AP invoice cannot be reviewed | The item is still processing or already decided (accepted, rejected, archived) or not_a_bill, named in context.status, so its checks and duplicate state cannot change, and only a ready or needs_review item is accepted. An accepted item also carries context.bill_document_id, the bill it already became. Wait for processing to finish, or re-process the item. |
APPLICATIONS_EXCEED_TOTAL | Applied payments exceed the document's total | The payments and credits applied to a document, on either side, can never add up to more than its total. The change would have broken that rule, so it was refused and nothing was saved. Unapply some of the payments, or keep the total at or above what is applied. |
ASSET_COST_REMOVE_LAST_LINE | An auto-created asset keeps at least one cost line | The cost source is the only one an auto-created asset has. Removing it would leave an empty asset, and its document would just get a new one; a manually created asset may drop to zero cost sources. |
ASSET_COST_REMOVE_NOT_A_LINE | Cost source is not a ledger line | Only a cost source booked from a ledger line (bill_line or journal_line) can be removed. A migrated or transfer_in basis is not a line that can be given back to its document. |
ASSET_COST_REMOVE_NOT_PENDING | Asset cost is already depreciating | Only the cost lines of an asset still in pending or cip status can be removed. A placed asset depreciates its cost, so removing a line would rewrite that depreciation; detail names the asset. |
ASSET_DISPOSAL_HELD_FOR_APPROVAL | Disposal document is held for approval | The document a retirement (dispose, dispose_partial, impair or a bulk disposal) posts came back pending_approval because an approval rule matches asset_disposal / asset_reclass documents, and the retirement was refused rather than half-applied. A disposal is not deferrable the way a depreciation run is: the same step stamps the asset’s schedule rows with the document, deletes the rows it no longer has and zeroes its cost basis, so proceeding would leave the register saying the asset is gone while the general ledger still carries it — and an approver’s REJECTION would make that permanent, because a rejected document is never voided and no reversal fires. The depreciation run is allowed to hold precisely because it owns the other half (OnApprovalRejectedDepreciationHandler fails the run and leaves the rows projected); nothing owns that half for a retirement yet. Remove the approval rule for these two document types, or approve them ahead of the retirement. |
ASSET_DISPOSAL_PERIOD_NOT_OPEN | Disposal period is not open | The accounting period containing the disposal’s or impairment’s effective_date is closed or locked — or no period covers that date at all — so the document has nowhere to post, and detail says which of the two it is. This is deliberately NOT the nightly depreciation run’s behaviour: a run posts into a closed period with a period_override_reason because it does not choose its own date (the charge belongs to the month it depreciates, and a machine that refused would simply stop), while a person disposing an asset DID choose the date. Overriding here would put a silent "posted into a closed period" marker on a month somebody deliberately closed. Two remedies, both the caller’s to pick: reopen the period, or send an effective_date inside an open one. A locked period is absolute either way. |
ASSET_EVENT_NOT_APPLICABLE | Asset is not active | The event is not defined on the status the asset is in, and detail names both. Each event needs its own state: revise and suspend need a LIVE depreciation clock, which only an active asset has — a pending or cip asset has none yet, so place it in service first (POST /v1/fixed-assets/{id}/place-in-service), and a suspended one is already paused, so resume it first. add_cost is the exception, because capitalizing cost is not a change to a clock: it is accepted on pending and on cip too, where it raises cost_basis and touches no schedule row (a CIP asset is created with its first cost and GROWS through add_cost), and refused on suspended (resume it first — the schedule has to be re-spread over the new basis), on fully_depreciated (cost arriving after the last row posted is a new asset or a revise, not a silent re-spread of a closed life) and on disposed. resume is the mirror of suspend and needs a suspended asset: an active one has no suspension to lift. transfer is metadata and is accepted on any asset still on the books, so the one status it refuses is disposed, which is terminal — its cost and accumulated depreciation are off the books and its location is history, so no event can change it. The three retirement events: dispose is accepted on any asset still on the books; dispose_partial and impair are refused on suspended (resume it first — both re-spread what the asset keeps, and a suspended asset's remaining months are paused), impair also on pending (no confirmed basis) and fully_depreciated (no carrying amount left), and all three on disposed. transferred — an asset that left for another legal entity of the group through POST /v1/fixed-assets/{id}/intercompany-transfer — is terminal like disposed: every event refuses it, and its successor in the receiving entity is the asset to act on. The intercompany transfer itself is accepted on active, fully_depreciated and cip assets: a pending shell has no confirmed basis to hand over, and a suspended asset must be resumed first, because the receiving entity cannot inherit a suspension. The mirror image of ASSET_NOT_PLACEABLE, which refuses placement on an asset that already has a clock. |
ASSET_MERGE_CLASS_CONFLICT | Assets have different classes | The surviving asset keeps its class and takes the source's when it has none, but two different non-null classes cannot be reconciled automatically. Change one asset's class with PATCH /v1/fixed-assets/{id} and retry. |
ASSET_MERGE_ENTITY_MISMATCH | Assets belong to different legal entities | A merge moves cost sources between assets, and an asset lives in exactly one legal entity, so both assets must belong to the same one. |
ASSET_MERGE_LOCATION_CONFLICT | Assets have different locations | Property and space are compared as one pair: the surviving asset keeps its location and takes the source's when it has none, but two different locations cannot be reconciled automatically. Change one asset's location with PATCH /v1/fixed-assets/{id} and retry. |
ASSET_MERGE_NOT_PENDING | Only pending assets can be merged | Both the surviving asset and the source must be in pending status. An asset that was placed in service has a depreciation clock and history that a merge would destroy; detail names the offending asset and its status. |
ASSET_MERGE_SAME_ASSET | Asset cannot be merged into itself | source_asset_id names the same asset as the path id. Merge keeps the path asset and deletes the source, so the two must differ. |
ASSET_MERGE_SOURCE_HAS_HISTORY | Source asset has history | The source asset is deleted by the merge, so it must have no history beyond a placement and its undo (for example an add_cost recorded on a pending asset). Merge the other way round, or keep the asset. |
ASSET_MERGE_STALE_COST | An asset to merge holds cost the ledger reversed | One of the two assets has a cost source on a journal line that was reversed (for example when its bill was edited or voided) or whose entry is no longer effective. Merging would carry cost the general ledger no longer has. Refresh the page — the asset follows its bill on its own — and retry. |
ASSET_NOT_PLACEABLE | Asset cannot be placed in service | Only an asset still in pending or cip status can be placed in service — placement is what starts its depreciation clock, and an active, suspended, fully_depreciated or disposed asset already has one. Correct an already-placed asset with a revise event instead of re-placing it. |
ASSET_SCHEDULE_NOT_REGENERABLE | Asset schedule cannot be regenerated | The asset already has posted depreciation schedule rows, so its schedule cannot be re-spread from the in-service date. Two reasons, both fatal: a posted row is accounting truth and is never rewritten, so a regeneration covering its period would collide with it; and the re-spread would fold the charge for every already-closed period forward as catch-up a second time, double-charging depreciation that is already in the general ledger. Regeneration is for an asset whose whole schedule is still projected — a placement that ran ahead of the entity’s period calendar, or one whose runs have all been voided. To change an asset that has already depreciated, record a revise event instead (POST /v1/fixed-assets/{id}/events): it is prospective, it subtracts what is already posted from the remaining book value, and it leaves the posted rows alone. The same code answers a revise or resume whose own effective_date is early enough that its prospective window would reach a period a depreciation run has already posted — there the event itself is fine and only the date is too early, so detail names the posted periods and the earliest effective_date that clears them; voiding that run first is the other way out. A suspend reaching back over a posted period is refused with the same code and the same two ways out, but for a different reason: nothing collides (the update that marks rows skipped passes over a posted row), and what is refused is the STATE it would leave — an asset reading suspended from a date inside a month it demonstrably depreciated, with a posted charge sitting inside its own suspension window. add_cost never raises it: capitalizing cost today is not backdating, so once a run has posted it re-spreads prospectively from the day AFTER the last period a run has posted — and past a lifted suspension that would otherwise sit inside that window. The periods it steps over keep the amounts they already had. An asset transferred in from another entity (origin: intercompany_transfer) that carried a depreciation clock across — anything that was not under construction (cip) when it was transferred — or imported from a legacy register (origin: migrated), carries depreciation history recorded before it arrived here, with no posted row of its own, and is treated like one whose runs have posted: regeneration is refused, a revise, resume, impair or dispose_partial whose prospective window reaches a period on or before the date that history runs through (the transfer’s or the opening’s effective date) is refused with detail naming those periods and the earliest effective_date that clears them, and add_cost re-spreads it prospectively from the first period after that date. The exception is a construction project: it travels as cip with no clock and nothing depreciated, so once placed in service (on or after its transfer date) it is an ordinary fresh asset — regenerable, and re-spread from its in-service date — like any asset placed in this entity. |
ASSET_TRANSFER_DESTINATION_PERIOD_DEPRECIATED | Receiving entity already depreciated that period | The receiving entity has already posted a depreciation document for a period the transferred asset’s schedule would run through — the nightly run posts each period the day after it ends, so a backdated transfer can find the months after it already booked. A period receives one depreciation document, so a schedule row placed there would never post. context names the period and the document. Date the transfer on or after that period’s end, or void the receiving entity’s run for it and run it again once the transfer is in. |
ASSET_TRANSFER_HELD_FOR_APPROVAL | Transfer document is held for approval | One of the two asset_reclass documents an intercompany transfer posts came back pending_approval because an approval rule matches asset_reclass documents, so the whole transfer was refused and rolled back — both documents, the successor asset and its code. A transfer moves both assets, both documents and the intercompany balance in one step; acting on a document that has not posted would move an asset the ledger has not. Remove or satisfy the approval rule for asset_reclass documents, then transfer again. |
ASSET_TRANSFER_PERIOD_NOT_OPEN | Transfer period is not open | The accounting period containing the transfer’s effective_date is closed or locked — or no period covers that date — in the sending entity or in the receiving one. context.side says which (source or destination), context.legal_entity_id names the entity, and context.period_status is the status found (null when no period covers the date). All three documents of a transfer are dated effective_date and each entity posts into its own calendar, so both periods must be open. Unlike the nightly depreciation run, a transfer never overrides a closed period: a person chose the date. Reopen that entity’s period, or date the transfer in a period open in both. |
ASSET_UNDO_PLACEMENT_DEPRECIATED | Asset has posted depreciation | At least one depreciation schedule row of the asset is posted. Undoing the placement would leave that ledger activity standing with no asset behind it, so the undo is refused. |
ASSET_UNDO_PLACEMENT_HAS_HISTORY | Asset changed since it was placed | The asset has an event other than its placement (or an earlier undo) — detail names the first one. Only an asset whose whole history is its placement can go back to pending. |
ASSET_UNDO_PLACEMENT_NOT_PLACED | Asset is not in service | Only an active asset can have its placement undone; detail names the current status. A pending or cip asset was never placed, and a suspended, fully_depreciated or disposed one has a history an undo would not honour. |
BANK_ACCOUNT_ALREADY_CONNECTED | Bank account is already connected to a feed | This bank account already has a Plaid connection. Conversion applies only to manually-created accounts. To move it to a different institution, disconnect the Plaid item first. |
BANK_ACCOUNT_ALREADY_LINKED | Plaid account is already linked to another bank account | Another bank account in this org already holds this Plaid account. context.conflicting_bank_account_id names it — merge the two accounts instead of connecting a second time. |
BANK_ACCOUNT_CASH_ACCOUNT_IN_USE | Cash GL account already linked to another bank | Each bank account must map to its own GL cash account so balances reconcile per bank. The chosen cash account is already linked to another bank — pick a different one or use the parent-mint flow to create a fresh sub-account. |
BANK_ACCOUNT_HAS_HISTORY | Bank account has history and cannot be re-pointed | The bank account (context.bank_account_id) already has activity — a bank match, a completed reconciliation, or journal lines on its cash account — so its legal_entity_id or cash_account_id (context.field) can't change: that history would no longer tie back to the entity or GL account it was recorded under. Create a new bank account for the other entity or cash account instead. |
BANK_ACCOUNT_INACTIVE | Bank account is inactive | The bank account is deactivated, so it cannot be connected to a feed or used as a merge target. Reactivate it first. |
BANK_ACCOUNT_MERGE_HAS_POSTED_ACTIVITY | Source account has transactions already recorded in the books | The account being merged away has transactions matched to documents, and their journal entries posted to its own GL cash account. The general ledger is append-only, so a merge cannot move them — unmatch those transactions first. context.accounted_transaction_count gives the count. |
BANK_ACCOUNT_MERGE_RECONCILIATION_IN_PROGRESS | Both accounts have a reconciliation in progress | Only one reconciliation may be in progress per bank account, so the source account’s in-progress reconciliation cannot move onto a survivor that already has one. Complete or discard one of them first. |
BANK_CONNECTION_ROTATION_CONFLICT | Another credential rotation is already in progress | Two rotations for the same connection raced and both computed the same next credential version. This one lost the race — nothing was changed by it. Retry the rotation; rare and admin-driven, so a losing racer is expected to succeed on retry. |
BANK_LINE_ALREADY_MATCHED | Bank line is already matched | The bank transaction (context.bank_transaction_id) already has a live match to a document (context.document_id). One bank line is one movement of money, so matching it a second time would record the same dollars twice. Revert the existing match first if it is the wrong one, then match again. |
BANK_LINE_EXCLUDED | Bank line is excluded | The bank transaction (context.bank_transaction_id) is excluded, so it cannot be matched, categorized, transferred or settled. Include the line again first, then retry. |
BANK_LINE_MATCHED | Bank line is matched | The bank transaction (context.bank_transaction_id) has a live match to a document, so it cannot be excluded or marked for review: excluding it would hide cash the books already record, and the match is the review. Revert the match first, then exclude the line or mark it for review. |
BANK_LINE_REMOVED_BY_PROVIDER | Bank line was removed by the provider | The bank transaction (context.bank_transaction_id) was removed upstream by the bank feed (Plaid) after it had been matched, so it is kept only as a record of that match. It cannot be matched, categorized, transferred or settled again, by itself or as the paired side of a transfer or settlement. Match the line the bank reports in its place instead; if the provider sent none, record the movement without a bank line. |
BUDGET_VERSION_NOT_EDITABLE | Budget version is not editable | Only draft budget versions accept line writes. The version's current status (submitted, approved, active, superseded, or archived) is frozen — create a new draft version to keep editing. |
CONFLICT | Conflict | The request conflicts with the current state of the resource. Investor-portal ownership-world package drafts and refreshes (Portal.createPackage, Portal.refreshPackage) refused because the entity's ownership allocations are not settled carry context.reason: rebuild_in_progress or rebuild_pending (being rebuilt — retry shortly) or rebuild_failed (the entity's last rebuild failed and will not retry on its own — re-run a full ownership rebuild for the entity, or the exact rebuild that failed, then retry). When several apply, the first wins: rebuild_in_progress, then rebuild_pending (a queued job may be the retry of the failure), then rebuild_failed. |
CONTACT_HAS_PORTAL_ACCESS | Contact has portal access | The contact holds invited or active portal access. Revoke it before deleting the contact. |
CONTRACT_AMENDMENT_EFFECTIVE_IN_CLOSED_PERIOD | Amendment falls in a closed accounting period | An INTERCOMPANY lease cannot take a change effective inside a closed or locked accounting period. Billing posts the catch-up for a changed, already-billed month as a rent adjustment, but an intercompany lease bills intercompany transactions, which the rent adjustment cannot read or offset — so the change would silently never reach the books. Reopen the period, or set effective_on inside an open one. A lease that is not intercompany accepts the change and posts the catch-up dated in the current open period. context.period_name is the period that refused. |
CONTRACT_AMENDMENT_NOT_AMENDABLE | Contract cannot be amended | Amendments apply to active leases only. A draft contract is edited with PATCH /v1/contracts/{id}, which diffs its terms against the ids you send back — a draft has never been billed, so there is no lineage for an amendment to preserve. A terminated contract cannot be amended at all. |
CONTRACT_INVALID_TRANSITION | Invalid contract status transition | The contract is not in a status from which the requested transition is legal. A draft may only activate; an active contract may terminate or expire; terminated and expired are final. |
CONTRACT_OPTION_PERIOD_HAS_DEPENDENTS | Option period has attached rows | The option period still has contract terms attached, and those terms may carry index-linked escalation clauses and the reset events the nightly sweep proposed against them. context lists all of them. Retry with ?cascade=true to delete the period, its terms, their clauses and their UNDECIDED events in one transaction. context.blocking_events is the exception: an accepted or overridden event is refused even with cascade=true, because the decision may have staged a charge that billing has taken — reverse those events first (POST /v1/escalations/{id}/reverse), then retry. Removing an option by amendment and waiving one run the same cleanup with no cascade flag, and are refused the same way on a blocking event. |
CONTRACT_PERIOD_DATES_REQUIRE_AMENDMENT | Period dates need an amendment on a live lease | A period's dates can only be changed by PATCH while the contract is a draft. On a live lease, record a term_extension or term_reduction amendment (POST /v1/contracts/{id}/amendments) so the change lands in the lease's own history. PATCH moves dates in place with no record of the previous window, so a live lease's term could otherwise be shortened with nothing in GET /amendments to show it. |
CONTRACT_PERIOD_INVALID_TRANSITION | Period cannot make that transition | Only an available option can be exercised or waived. context.current carries the status that refused and context.action the transition attempted. An already-exercised option is part of the live term; a waived or expired one is history. |
CONTRACT_PERIOD_NOT_DELETABLE | Only available option periods can be deleted | The initial period cannot be deleted — a contract requires exactly one — and an option that has been exercised, waived or expired is part of the record. Only an option still available has no history to destroy. |
CONTRACT_PERIOD_NOT_EDITABLE | Only available options can be edited | The period has been exercised, waived or expired, or it is the initial period. An exercised option is part of the live lease term and is changed with a term_extension or term_reduction amendment; a waived or expired one is history. |
CONTRACT_PERIOD_TRANSITION_CONFLICT | Period was transitioned concurrently | The guarded UPDATE found the period no longer available, so another request exercised or waived it first. This is a race, not a bad request: re-read the contract and decide again against the period's new status. |
CONTRACT_PERIODS_NOT_MUTABLE | Contract is not open for period changes | Periods can be added, edited, exercised, waived or deleted only while the contract is a draft or active. A terminated or expired lease is closed books: changing its periods would corrupt history, and an exercised option on a terminated lease would imply billing the termination cap forbids. context.contract_status carries the status that refused. |
CONTRACT_TERM_OVERLAP | Contract term windows overlap | Two terms of the same term type on this contract are in force on the same day, so it is undefined which one governs an invoice on that day. Adjust effective_start / effective_end so the windows are disjoint. Windows are half-open: a term ending 2024-06-30 and one starting 2024-06-30 do not overlap. |
CONTRACT_TYPE_IN_USE | Contract type is in use | One or more contracts reference this contract type, so billing_model cannot be changed. Create a new contract type instead. |
CONTRACT_VERSION_MISMATCH | Contract version mismatch | The If-Match header does not match the contract's current version — someone else saved an edit since this client last read it. Re-read GET /v1/contracts/{id}, merge, and retry with the new ETag. |
COUNTERPARTY_MAPPING_ALREADY_EXISTS | Counterparty mapping already exists | The org already maps this bank signal (signal_kind and the normalized signal_value) to a party. There is one mapping per signal: change its party with PATCH /v1/banking/counterparty-mappings/{id} instead. context.mapping_id is the existing mapping. |
CREDIT_HAS_ACTIVE_APPLICATIONS | Credit has active applications | The credit memo or vendor credit has active applications. Reverse the applications via /reverse-apply before re-applying, editing, or voiding. |
CREDIT_NOT_FULLY_APPLIED | Credit not fully applied | A credit memo or vendor credit must be applied in full. The sum of applied amounts must equal the credit's remaining balance. Adjust the amounts or void and recreate the credit. |
DEAL_DELETE_PROMOTED | Deal cannot be deleted once promoted | The deal has already been promoted (its property was created). Promoted deals are never deleted — they are the durable record even after the property is later removed. Use drop only while the deal is still in_progress. |
DEAL_INVALID_TRANSITION | Invalid deal lifecycle transition | The requested lifecycle action is not valid for the deal's current status. promote/drop require in_progress; reopen requires dropped. |
DEAL_KIND_NOT_PROMOTABLE | Deal kind cannot be promoted | Promote creates a new property and only applies to acquisition deals. Disposition and internal transfer deals close through the closing engine (Deal Center phase 3). |
DEAL_NOT_EDITABLE | Deal is not editable | Only in_progress deals accept writes. The deal has been promoted (its property is now the source of truth) or dropped, so its fields, parties, tenants, and files are frozen. Reopen a dropped deal to edit it again. |
DEPRECIATION_ALREADY_POSTED | This period is already depreciated | A depreciation run was asked to depreciate a legal entity × accounting period whose depreciation document is already POSTED and has not been voided, so building a second one would charge the month twice in the general ledger. The check is a read of the documents table — is there a posted depreciation document for this org, this legal entity and a document_date inside the period? — and not a flag on the run row, deliberately: a retry clears the run’s document_id, its error_message and its failure_kind, so the posted document is the only record of the charge that survives one. voided and reversed documents do not count, because both mean the charge has been backed out. Both triggers answer this the same way, by design: Run now returns it to the caller, and the nightly job neither offers nor runs the pair. Depreciation is corrected by void-and-redo, never by a second run — void the document named in detail, which reverses the charge, returns the period’s schedule rows to projected and frees the period’s run slot, then run the period again. |
DIMENSION_IN_USE | Dimension is in use | This dimension already tags documents or journal entries, so it cannot be deleted and its value_source cannot be changed. Deleting it would delete every one of its tags, posted journals included; re-pointing it would make each stored property id read as a space id (or the reverse). Deactivate it instead (is_active=false): its tags are kept and it stops being offered on forms. context.dimension_code names the dimension, context.change is 'delete' or 'value_source', and context.referenced_by lists the tag tables that hold its values. |
DISTRIBUTION_ALREADY_UNDONE | Distribution already undone | The distribution declaration has already been undone (status=undone). Re-undo is not permitted; the linked per-owner documents remain voided in the GL. |
DISTRIBUTION_BATCH_INVALID_STATUS | Action not available for this batch | The batch cannot take this action in its current status (context.status, context.attempted). A batch can be cancelled only before it starts executing; once its approval request has been decided (context.approval_status), the decision is applied instead. |
DISTRIBUTION_BATCH_ITEM_ALREADY_BATCHED | Batch item already in a batch | An item belongs to at most one batch; context.item_ids names the items already in one. Nothing was submitted. |
DISTRIBUTION_BATCH_ITEM_NOT_APPROVED | Batch item is not approved | Only approved scheduled distributions can be submitted in a batch; context.item_ids names the items that are not. Nothing was submitted. |
DISTRIBUTION_BATCH_SUBMITTER_INACTIVE | The batch's submitter is no longer an active member | A batch executes its declarations as the user who submitted it. That user was deactivated or removed from the org, so the item was not declared; it is recorded on the item as its error. |
DISTRIBUTION_DOWNSTREAM_CONSUMED | Distribution already counted by an owner | The declaration was executed from a scheduled distribution, and an entity that owns its entity has a same-day scheduled distribution that is queued or executed: it counts this declaration as received. Undo that one first (or, while it is queued, let it execute and undo it); context.blocking_item_ids names them. |
DISTRIBUTION_HAS_ACTIVE_APPLICATIONS | Distribution has active payment applications | The distribution declaration cannot be undone because one or more linked per-owner documents have active payment applications. Reverse those payment applications first, then retry the undo. |
DISTRIBUTION_POLICY_ARCHIVED | Distribution policy is archived | An archived distribution policy is read-only. Create a new policy for the legal entity instead. |
DISTRIBUTION_POLICY_TEMPLATE_ARCHIVED | Distribution policy template is archived | An archived distribution policy template is read-only. Move its entities to another template or create a new one. |
DISTRIBUTION_POLICY_TEMPLATE_IN_USE | Distribution policy template is assigned to legal entities | A distribution policy template with assigned (non-archived) policies cannot be archived (context.assigned_count, context.legal_entity_ids). Move the entities to another template first. |
DISTRIBUTION_POLICY_TEMPLATE_NAME_TAKEN | Distribution policy template name already in use | A distribution policy template name is unique among the org’s live (non-archived) templates. Choose a different name, or archive the template already using it. |
DOCUMENT_ALREADY_POSTED | Document already posted | The document has already been posted to the general ledger and is now immutable except via adjustment documents. |
DOCUMENT_ALREADY_VOIDED | Document already voided | The document is already in a terminal voided state and cannot be voided again. |
DOCUMENT_ASSET_TRANSFER_CANNOT_EDIT | An asset-transfer intercompany transaction cannot be edited | The intercompany_transaction was created by an intercompany fixed-asset transfer. An edit reverses and re-posts its entries, and its entities, date, accounts and amount are exactly what the two asset_reclass documents of the transfer balance against on the transfer clearing account — any change leaves that account with a balance nothing explains. Every edit is refused, the memo included, because the edit route replaces the whole document. To undo a transfer, transfer the successor asset back. |
DOCUMENT_ASSET_TRANSFER_CANNOT_VOID | An asset-transfer intercompany transaction cannot be voided or deleted | The intercompany_transaction was created by an intercompany fixed-asset transfer — fixed_asset_events.intercompany_document_id names it — and carries the asset’s net book value as the receivable and the payable between the two entities. Raised for both a void and a delete: either would reverse the due-from and due-to while both asset_reclass documents of the transfer stand, leaving the transfer clearing account with a balance in each entity. Applying it to an intercompany settlement is unaffected. To undo a transfer, transfer the successor asset back. |
DOCUMENT_AWAITING_APPROVAL | Document awaiting approval | The document has an open approval request and cannot be posted directly. It posts automatically once the approval request reaches a terminal approved outcome. |
DOCUMENT_BALANCE_OUT_OF_RANGE | The document's open balance is outside its total | A document's open balance must be between zero and its total. The change would have left it below zero or above the total, so it was refused and nothing was saved. Check the amounts and any payments applied, then try again. |
DOCUMENT_CHANGED_WHILE_EDITING | The document changed status while you were editing it | Between reading the document and saving your edit, someone else changed its status (for example, it was posted or voided). Reload the document and try again. |
DOCUMENT_COST_CAPITALIZED_CANNOT_EDIT | Document cost has been capitalized onto a fixed asset | A fixed asset capitalized cost from a line of this document's journal entry. Editing the document reverses that entry and posts a new one, which would leave the asset register carrying a cost the general ledger no longer has. The document stays as posted while an asset holds its cost; GET /v1/fixed-assets/document-locks/{document_id} lists the assets that do. An untouched auto-created asset never holds it: it follows the edit. To release it, undo the placement of an asset nothing has depreciated (POST /v1/fixed-assets/{id}/undo-placement), or remove this document's cost line from a pending one (DELETE /v1/fixed-assets/{id}/cost-sources/{cost_source_id}); document-locks says which applies to each asset. |
DOCUMENT_COST_CAPITALIZED_CANNOT_VOID | Document cost has been capitalized onto a fixed asset | A fixed asset capitalized cost from this document's journal entry, and depreciation has been computed against it. Voiding the document would reverse that cost in the general ledger while the register keeps depreciating it, and nothing reconciles the two — un-capitalizing is not an option either, because depreciation already posted against the cost cannot be un-posted. The document stays as posted while an asset holds its cost; GET /v1/fixed-assets/document-locks/{document_id} lists the assets that do. To release it, undo the placement of an asset nothing has depreciated (POST /v1/fixed-assets/{id}/undo-placement), or remove this document's cost line from a pending one (DELETE /v1/fixed-assets/{id}/cost-sources/{cost_source_id}); document-locks says which applies to each asset. |
DOCUMENT_DISPOSAL_INVOICE_CANNOT_EDIT | A disposal proceeds invoice cannot be edited | The invoice was created by a fixed-asset disposal to bill its proceeds. An edit reverses and re-posts its journal entry, and its party, date, amounts and accounts are exactly what nets the disposal’s asset_disposal_clearing debit to zero — any change leaves that account with a balance nothing explains. Every edit is refused, the memo included, because the edit route replaces the whole document. Correct it with a credit memo applied against the invoice. |
DOCUMENT_DISPOSAL_INVOICE_CANNOT_VOID | A disposal proceeds invoice cannot be voided or deleted | The invoice was created by a fixed-asset disposal to bill its proceeds — fixed_asset_events.invoice_document_id names it. Raised for both a void and a delete: either would reverse the receivable and re-open a debit on the Asset Disposal Clearing account while the disposal it bills still stands, and the disposal document itself cannot be voided (DOCUMENT_RETIREMENT_CANNOT_VOID). Correct it with a credit memo applied against the invoice, and a new invoice if the amount or the buyer was wrong. |
DOCUMENT_HAS_PENDING_REPLACEMENT | The document has a replacement that has not posted yet | An edit of this posted document created a replacement that is still waiting (for approval, or after a failed post). Until that replacement posts or is voided, the original cannot be edited or voided again. Approve the replacement, or void it to release the original. context carries document_number, replacement_id and replacement_number. |
DOCUMENT_HELD_BY_DISTRIBUTION | Document is part of an active distribution | The document is one leg of a distribution declaration that is still active. A distribution is undone as a whole, so its legs cannot be edited, voided or deleted one at a time. Undo the distribution instead. |
DOCUMENT_HELD_BY_IC_SETTLEMENT | Document is held by an intercompany settlement | An intercompany settlement that is waiting to post or posted applies to this document (an intercompany transaction, a distribution between group entities, or its receipt). Editing or voiding it would leave the settlement applied to something that no longer exists. Void the settlement first; that unapplies it and releases the document. |
DOCUMENT_HELD_BY_PAYMENT_RUN | Bill is held by a payment run | The bill is reserved by a payment run that is waiting for approval or approved, and the run will pay it as approved. Remove the bill from the run, or cancel or reject the run, before editing, voiding or marking the bill paid. |
DOCUMENT_MATCHED_CANNOT_EDIT | Document is matched to a bank transaction and cannot be edited | A bank transaction is matched to this document. Editing would reverse and repost its journal entry and desync the match. Revert the match in Banking before editing the document. |
DOCUMENT_MATCHED_CANNOT_VOID | Document is matched to a bank transaction and cannot be voided | A bank transaction is matched to this document. Revert the match in Banking before voiding the document. |
DOCUMENT_NETTED_BY_ESCALATION | A decided escalation netted this invoice | A decided index-linked escalation's staged true-up charge was computed against this posted invoice. Voiding it reopens its billing event, and the reissued invoice would bill the new rent while the charge still carries the same period's difference, so the tenant would be charged twice. context.escalationEventIds names the escalation. Reverse it first, then void; a reversal is refused once its charge has been billed, in which case void that billing document first. |
DOCUMENT_NOT_DRAFT | Document not in a postable status | POST /v1/documents/:id/post requires the document to be in draft (publish) or posting_failed (retry after fixing the cause in posting_error) status. Already-posted, in-flight, or voided documents cannot be posted again from this endpoint. |
DOCUMENT_NOT_REOPENABLE | Document not reopenable | Only documents in rejected status can be reopened to draft for editing and resubmission. |
DOCUMENT_NOT_SUBMITTABLE | Document not submittable | Only documents in draft or rejected status can be submitted for approval. |
DOCUMENT_RE_TAX_BILL_VOID_AT_SOURCE | A property tax bill is voided in Real Estate Taxes | The AP bill was posted by an active Real Estate Taxes bill (re_tax_bills.ap_document_id). Voiding, deleting or reissuing it from AP would leave the tax bill active and its tenant shares and CAM charges live. Void the bill in Real Estate Taxes, which reverses the AP bill, the shares and the charges together. |
DOCUMENT_RECONCILED_CANNOT_CHANGE | The document is in a completed bank reconciliation | Unapplying, unmatching or reverting a document cleared on a completed bank reconciliation would change the reconciled cash. Undo the reconciliation first. |
DOCUMENT_RECONCILED_CANNOT_EDIT | Document is reconciled and cannot be edited | The document is cleared on a completed bank reconciliation. Editing would reverse and repost its journal entry. Undo the reconciliation before editing the document. |
DOCUMENT_RECONCILED_CANNOT_VOID | Document is reconciled and cannot be voided | The document is cleared on a completed bank reconciliation. Undo the reconciliation before voiding the document. |
DOCUMENT_REFUNDS_EXCEED_REMAINING_PAYMENTS | Releasing this payment would leave a refund uncovered | A refund is capped by the cash received on the invoice (its payment_in applications; credit memos do not count). Voiding, unapplying or bank-reverting this payment would leave the invoice with more refunded than paid. Void the refund first. |
DOCUMENT_RETIREMENT_CANNOT_VOID | A fixed-asset retirement document cannot be voided | The document is an asset_disposal or asset_reclass posted by a fixed-asset dispose, dispose_partial, impair or one side of an intercompany transfer. Voiding it would reverse the general ledger while the asset stays where the event left it — retired with its cost basis written off, or moved to another legal entity with its successor open there — and its schedule rows stay stamped against this document, so nothing would bring the two back together. Reversing a retirement is not supported, and no other event undoes one: a disposal is terminal, an impairment cannot be written back up (that would be a revaluation, which the system does not do), and a transfer is undone by transferring the successor back. Voiding an earlier DEPRECIATION run of a retired or transferred asset is a different operation and is allowed. |
DOCUMENT_STATUS_FORBIDS_ACTION | The document is in a status that does not allow this action | Each action on a document is allowed only in certain statuses: an edit on a draft; a reissue on a posted one (editing a posted document voids it and issues a linked replacement); a void on a posted, failed, waiting-for-approval or rejected one; a delete on a draft or waiting-to-post one; payments, credits, refunds, mark-paid and bank changes on a posted one. |
DOCUMENT_VENDOR_INVOICE_NUMBER_TAKEN | Vendor invoice number already entered | A live bill (or vendor credit) of the same type already carries this vendor invoice number for the same vendor and legal entity. context.vendor_invoice_number and context.party_id name it. The same invoice is not entered twice; void the existing document first if it was wrong. |
ENTITY_GROUP_IN_USE | Entity group in use | A payment group that an enabled payment-run approval rule depends on cannot be archived or deleted, and a group that approval requests were opened on cannot be deleted. Disable or edit those rules first; archive a group with approval history instead of deleting it. |
EQUITY_CLASS_CODE_TAKEN | Equity class code already taken | Another equity class on this legal entity already uses this code. Codes are unique per legal entity (equity_classes_le_code_uq) and immutable once created — pick a different code. |
EQUITY_CONTRIBUTION_ALREADY_REVERSED | This contribution has already been reversed | Nothing is left to undo: the contribution is voided, reversed or deleted, the parent's investment_in_subsidiary is too or was never written, and no live payment is still applied to either. It is the WHOLE set that has to be finished — a reversal left half done (a contribution voided through POST /v1/documents/{id}/void, say, with the mirror still posted) is RESUMED by calling this route again, not refused, because a permanently half-recorded intercompany pair is the drift this path exists to prevent. A repeat of a call that already succeeded gets this rather than a second success: a 2xx would report that this request reversed the documents, when an earlier one did. |
EQUITY_CONTRIBUTION_PAYMENT_SHARED | A payment settling this contribution also pays something else | Reversing a contribution voids the payment that settled it, and voiding a payment unapplies EVERY application it holds at once. When that payment is also applied to an invoice or a bill, the reversal would silently reopen a document it does not own. detail names the payment and the other documents. Unapply the payment from this contribution, or from the others, and retry. |
EQUITY_OPENING_BALANCE_ALREADY_RECORDED | This position already has an opening balance | A position opens once — the opening balance states what its capital account held on the day this system took over, and a second one silently doubles every bucket on an append-only ledger that cannot delete it. This is not the idempotency guard: Idempotency-Key already makes a RETRIED request return the first answer, while this refuses a genuinely second request. Correct an opening balance with a reversing capital event. Events written by the CSV import (source_type = import) are not opening balances and do not trip this. |
EQUITY_POSITION_DUPLICATE_ACTIVE | Holder already has an active position in this class | A holder may have at most one ACTIVE position per equity class (equity_positions_active_holder_uq). Transfer or redeem the existing position before opening another. |
ESCALATION_BILLED_AMOUNT_CHANGED | A netted invoice changed after the true-up read it | The true-up reads what each posted invoice billed for the term before the decision commits, then locks those invoices and reads them again. One of them was edited in between — it is still posted, but it now bills a different amount for the term — so a true-up netted against the first read would restate the wrong difference. Nothing was decided or staged. The message names the document. Decide the escalation again; it will net against what the invoice bills now. |
ESCALATION_BILLED_AMOUNT_UNKNOWN | What this term was invoiced cannot be read | The true-up bills the difference between what each already-invoiced period should have cost after the reset and what its posted invoice actually billed for this contract term. Only periods inside the term's own effective range are read. One posted invoice in that window carries no line tagged with the term, so what it billed is unknown, and reading it as zero would bill the whole rent a second time. The message names the document and its billing date. If the invoice's financial event carries a line override, the override's lines are never tagged: void the invoice, delete the override with DELETE /v1/billing-schedules/contracts/{contractId}/events/{eventId}/override while the event is pending, let it regenerate, then decide the escalation again — regenerating with the override in place changes nothing. Otherwise the term billed nothing on that invoice, and voiding or regenerating it will not add a line. |
ESCALATION_CONFIG_HAS_DECIDED_EVENTS | Escalation clause has decided reset events | The clause cannot be deleted because at least one reset event derived from it has been accepted or overridden. Deleting it would destroy the formula behind a decision that may already have been billed, and would leave the accepted event with nothing to audit it against. Reverse the decision first (POST /v1/escalations/{id}/reverse), which returns its staged charge to the shelf, and then delete the clause. An event that is still awaiting_index, proposed, superseded or cancelled does NOT block: those are sweep output, not decisions, and the delete removes them with the clause. |
ESCALATION_CONFIG_OVERLAP | Escalation config windows overlap | Another live escalation config for this term is in force on the same day, so it is undefined which formula computes the reset. Sequential regimes — fixed steps for years 1-3, then CPI — are expressed as successive configs with disjoint windows. Windows are half-open: a config ending 2026-12-31 and one starting 2027-01-01 do not overlap. To replace a config rather than sit beside it, supersede the existing one. |
ESCALATION_CONFIG_TERM_IN_USE | Contract term has escalation configuration attached | This contract term cannot be deleted while an escalation config still points at it. The link is ON DELETE RESTRICT on purpose: cascading it away would delete the clause that computes the rent and leave the accepted escalation events orphaned, with nothing failing. Remove the escalation config first. If this arrived from PATCH /v1/contracts/{id}, the term was omitted from the payload — send it back with its id to keep it. |
ESCALATION_DECISION_ALREADY_BILLED | The true-up for this escalation has already been billed | This escalation staged a charge that billing has already collected onto a document the tenant can see, so the decision can no longer be quietly reversed. If the charge was billed on a recovery statement, void that statement and then reverse. If it was billed on a rent invoice, correct it with a credit memo instead: voiding the rent invoice reissues it with the charge. |
ESCALATION_EARLIER_RESET_UNDECIDED | An earlier reset on this term must be decided first | Escalation decisions go oldest-first. An earlier reset on the same contract term is still awaiting_index or proposed, and this reset's base rent (and, for simple escalation, its summed growth) depends on it, so deciding this one first would price it off a year that has not been settled. Decide the earlier reset first. The message names its reset date and status. The true-up preview is not refused. |
ESCALATION_EVENT_NOT_DECIDABLE | Escalation event is not awaiting a decision | Only a proposed event can be accepted or overridden, and only a proposed, accepted or overridden event can be reversed (undo newest-first). An awaiting_index event has no factor yet — the index has not published for its lookback month, and the nightly sweep promotes it to proposed on the first run after it does — and nothing decided to reverse either. An accepted or overridden event has already been decided; reverse it (POST /v1/escalations/{id}/reverse) if the decision was wrong. A superseded or cancelled event is history on either path. |
ESCALATION_INPUTS_STALE | The index reading behind this proposal has changed | A reference_rates row this proposal computed from has been revised since the proposal was written, so accepting it would bill a factor derived from a number that no longer exists. Statistical agencies revise published readings routinely. Nothing needs to be done to the event: the nightly review re-proposes an undecided escalation whose reading was revised against the current readings, after which it can be accepted or overridden. This refusal only covers a revision that lands between that refresh and the decision. It is also returned when the nightly review refreshed the proposal after the caller read it: either between the read and the write of the same request, or before the request, when the optional expected_factor_num/expected_factor_den on accept no longer match the proposed factor. Reload the event and review the refreshed proposal before deciding again. |
ESCALATION_INVOICE_OFF_SCHEDULE | A posted invoice in the window is off the billing schedule | A posted contract invoice falls inside the days this reset restates, but its date is no longer one of the lease's billing dates — the schedule changed after it was issued — so the period it billed is unknown and the true-up cannot net against it. The message names the document. Void it so the schedule regenerates the period, then decide the escalation again. |
ESCALATION_LATER_RESET_EXISTS | A later reset on this term must be reversed first | Escalation reversals go newest-first. A later reset on the same contract term is proposed, accepted or overridden, and its factor compounds off this reset's amount (or was decided against it), so reversing this one underneath it would leave the later year priced off a number that no longer stands. Reverse the later reset first (POST /v1/escalations/{id}/reverse), then this one. A later reset that is only awaiting_index does not block: it carries no factor, and the nightly sweep holds it until this reset is decided again. The message names the blocking reset date and its status. |
ESCALATION_PRIOR_RENT_UNRESOLVED | The rent before this option period could not be read | This clause resets at the start of its option period (reset_at_term_start), so its first reset grows from what the lease billed the day before the option period started, not from the option term's own placeholder amount. That day must resolve exactly one billable rent line with the same item as the option term. None, or more than one, did; or the option term has no start date, so there is no day before it to read; or the one it found is provisional, held over on an index reset of the prior period that nobody has decided, which would make this period compound from a stand-in forever. The message names the date (or the term, when it has no start date) and which case it is. Fix the prior period's rent terms so one billed line carries this item on that day, give the option term a start date, or decide the prior period's escalation first, then decide this one again. |
ESCALATION_REVERSE_BEFORE_INDEX_SWAP | This reset predates an index swap and cannot be reversed | The reset was decided under a clause version that an index swap has since superseded — a new version that only moved the clause's retired series to its official successor — and the reset date is before the swap's own start. No live version covers that date by its own range, so a reversal could not re-queue the reset and would silently drop that year's escalation. An accepted or overridden reset cannot itself be overridden, so correct it with a credit memo (or a manual adjustment) instead. The message names the reset date, the series it was decided under and the date the index moved. |
ESCALATION_UNPOSTED_INVOICE_IN_WINDOW | An unposted invoice covers days this escalation restates | The true-up nets each period against what its POSTED invoice billed for the term. A contract invoice for a period this reset covers has been generated but is not posted — it is held for approval, rejected, pending, failed to post, or a draft — so its lines are already fixed at the old rent and a true-up that skipped it would leave it under-billed with no error. The message names the document and its status. Approve and post that invoice, or void it, then decide the escalation again. |
FINANCIAL_EVENT_MONTH_NOT_BILLED | The lease no longer bills this month | Run now was asked for an invoice or straight-line event whose month the lease no longer bills — the month falls after a termination, or an amendment made it free — so recalculation retired it. Running it would bill a month the tenant does not owe. Nothing is posted and the event stays as it is. If the lease should bill the month, change the lease (revoke or move the termination, amend the terms); billing then re-creates the month itself. context.event_date is the month refused. |
FINANCIAL_EVENT_NOT_WAIVABLE | Billing event cannot be waived | Only a blocked billing event (its period is closed, its document was rejected, or its invoice was edited by hand) can be waived: it completes with no document and records who waived it. A month that already billed is waived with a credit memo, not here. context.status is the event status that refused. |
FINANCIAL_EVENT_PERIOD_ALREADY_COVERED | Another event already covers this billing period | A cancelled billing event does not hold its period: the horizon treats a date whose only event is cancelled as unbilled and creates a replacement, which is how a wholly-failed schedule heals itself. The corollary is that by the time anyone retries the cancelled event the period may already be covered — and requeueing it would invoice the month a SECOND time. Retry the event named in context.covering_event_id instead; this one stays cancelled. context.event_date is the period both events claim. |
FIXED_ASSET_IMPORT_ALREADY_STAGED | This file is already staged in another import | The same file bytes are live (staged or committed) in an import the caller cannot see because it was uploaded under a different legal-entity scope. Nothing was staged. Discard is not available to the caller either, so ask whoever uploaded it. |
FIXED_ASSET_IMPORT_HAS_REJECTED_ROWS | Legacy asset import has rejected rows | The commit re-validates every row against the current data (a class deactivated, a legacy_ref taken, a period calendar changed since the upload) and refuses when any row is rejected, whether it was staged that way or became so since. Nothing was created; the import stays staged with its rows re-staged under their current reasons, readable on GET /v1/fixed-assets/imports/{id}?status=rejected. If the file is wrong, correct it and upload it again; if the cause is data in the system (a class, period or reference that changed), fix that and commit the same import again. |
FIXED_ASSET_IMPORT_NOT_STAGED | Legacy asset import is not staged | The import was already committed or discarded, so this action no longer applies. detail names its status. A discarded import frees its file to be uploaded again; a committed one has already created its assets. |
IC_SETTLEMENT_BANK_TRANSACTION_ALREADY_PROCESSED | Bank transaction is already processed | A bank transaction named by bank_transaction_id or paired_transaction_id is not open for categorization: its status is not imported or needs_review, or it is already linked to a document (a live primary match in its matches). One bank transaction is one movement of money, so settling it a second time would record the same wire twice. The check runs under a row lock inside the settlement transaction, so of two concurrent requests naming the same line exactly one succeeds. errors[].field names which of the two lines it is. Void the settlement the line is linked to, or revert its other categorization, before settling it again. Nothing was written. |
IC_SETTLEMENT_INVALID_TRANSITION | Invalid settlement approval transition | A settlement waiting for approval (pending_approval) can be approved or disputed once; approved and disputed are final. Approving a disputed settlement, disputing an approved one, or approving twice is refused. The decision is taken under a row lock, so of an approve and a dispute racing on one settlement exactly one succeeds. context carries from_status and to_status. Nothing was written. To release a disputed settlement, void it with POST /v1/documents/{id}/void, which unapplies its claims on the transactions it settled. |
IDEMPOTENCY_CONFLICT | Idempotency conflict | An Idempotency-Key was reused with a different request body. Reuse the original body or supply a new key. |
IMPORT_NOT_PARSED | Import not parsed | The statement import is not in the "parsed" state. Wait for parsing to finish (or address the parse error) before editing lines or committing. |
INSURANCE_PARTICIPANT_BILLED | Participant already billed | The lease has shares on active premium invoices of this term. End its participation instead, or void those invoices first. |
INSURANCE_PARTICIPANT_BILLED_SHARE_IMMUTABLE | Billed participant's share cannot be edited in place | The participant has shares on active premium invoices of this term, so its basis and share are not edited in place. Use a dated change (POST …/participants/changes with a change operation) instead. |
INSURANCE_PARTICIPANT_DIRECT_BILL_IN_RECOVERY | Direct-billed lease is also recovered through CAM | The participant is billed directly (tenant_reimbursement), but its lease holds a participating recovery term on the policy term's insurance expense account in the term's recovery group, so it would be billed twice: by its own invoice and by the group's reconciliation. Recover it through CAM (tenant_reimbursement_via_cam) or end the recovery term. context carries contractId and recoveryGroupId. |
INSURANCE_PARTICIPANT_OVERLAP | Participant rows overlap | Two rows of the same lease in this policy term would cover the same day. A lease may have several rows only when their dates do not overlap. |
INSURANCE_TERM_CLOSED | Insurance term closed | The policy term is closed; no premium invoices can be input on it. |
INSURANCE_UNPLANNED_INVOICE_DUPLICATE | Duplicate unplanned premium invoice | An active unplanned invoice with the same term, issuer, due date and amount already exists. Void it first if this is a correction. |
ITEM_SYSTEM_ROLE_UNRESOLVABLE | No item carries the required system role | The billing engine needs the org item carrying a given system_role (e.g. late_fee) and found none. Every org is provisioned with one, so this means it was archived or deleted. system_role is read-only and cannot be set through the API — reactivate the seeded item under Items, or re-provision the org to reseed it. |
LATE_FEE_AS_OF_IN_CLOSED_PERIOD | Late-fee date is in a closed period | A late-fee run that writes cannot assess as of a date in a closed or locked accounting period of a legal entity it would bill (one with an overdue invoice in your scope): the fees it queues would be billed into that period. context.periods lists each closed period. Pick a date in an open period, reopen the period, or use dry_run to preview. |
LEASE_LIFECYCLE_DELIVERY_NOT_DEAD | The lifecycle delivery is not dead | Only a lease lifecycle delivery that exhausted its retries (status dead) can be sent again, and only through the lease it belongs to. The delivery is pending, already delivered, or belongs to another lease. |
LEASING_SNAPSHOT_ALREADY_FROZEN | Leasing snapshot already frozen | A leasing snapshot already exists for this org and month; snapshots are immutable and are not re-frozen. |
LEGAL_ENTITY_CODE_TAKEN | Legal entity code already used in this org | legal_entities.code is unique per ORG, case-SENSITIVELY (legal_entities_org_code_key) — matching properties.code — so LE-001 and le-001 CAN coexist in the same org as distinct entities, though two DIFFERENT orgs may each also use LE-001. Another legal entity in this org already holds the exact code sent. Clear it from that entity first (PATCH it to null), or send a different one. It is legitimate to leave code null — any number of entities may, and none is backfilled — so omit it unless this entity has one. Note that the bulk importer keeps its own RESOLUTION of this column case-insensitive by design (LegalEntityService.resolveByCodeOrName), and rejects a value matching both cases as ambiguous rather than guessing. |
LEGAL_ENTITY_CURRENCY_LOCKED | Legal entity currency cannot change | The legal entity (context.legal_entity_id) already has journal entries, so its default_currency cannot change: every amount already posted is in the current currency, and an entity keeps its books in one currency (B5). Sending the entity's current currency is not a change and is accepted. |
LOAN_ACCRUAL_NOT_LATEST | A later accrual on the loan is still posted | A loan's interest accruals are voided newest first: the next accrual starts from the newest posted one's date, so voiding an older one beneath it would lose that window's interest. Void the accrual named in context.latest_document_id (dated context.latest_date) first — unless context.latest_owner_document_id is set: that later accrual is a correcting or statement-adjustment accrual, and the document to void is its owner (the payment or bill named there), whose void voids the accrual with it. Voiding such an accrual on its own would leave the owner's figure in accrued interest. A correcting or statement-adjustment accrual is itself exempt from this order — it is voided with the payment or bill that owns it. |
LOAN_ACCRUAL_PERIOD_BILLED | A statement already billed this accrual | The accrual's interest runs through a date covered by a live statement (context.bill_document_id, due context.due_date): the statement relieved that interest, so voiding the accrual alone would leave accrued interest short. Void the statement first; a statement adjustment or correction accrual is voided with its owner and is not refused. |
LOAN_ACTUAL_NOT_ACTIVE | Loan actual is not active | Only the document currently filling the period (the active actual) can be voided; a superseded or voided one cannot. Refresh the period and void its active document. |
LOAN_ALREADY_IN_DEFAULT | Loan already in default | The loan has an open default window since context.declared_on. Cure it before declaring another. |
LOAN_AMENDMENT_BEFORE_ACCRUED_THROUGH | Rate change is before accrued-through | Interest is already accrued through context.accrued_through, after the rate change's context.effective_date; the posted accruals would stay on the old rate. Void the later accruals (newest first) or pick a later date. |
LOAN_AMENDMENT_LOAN_NOT_ACTIVE | Loan is not active | Only an active loan can be amended. context.status is the loan status. |
LOAN_DEFAULT_LOAN_NOT_ACTIVE | Loan is not active | Only an active loan can be declared in default or cured; context.status is its status. |
LOAN_DRAWDOWN_ACTED_SINCE | Something was recorded on the drawn balance since the drawdown | Voiding a drawdown lowers the loan's funded amount and rebuilds its schedule, so it is refused once anything depends on the draw. context.reason says what: period_acted (a period due after the draw date holds a statement or payment — void that period's document first), accrued_since (a posted interest accrual is dated after the draw date — void accruals newest first), or repaid_since (a posted loan payment, curtailment or payoff is dated on or after the draw date — void it first). |
LOAN_DRAWDOWN_ONLY_FUNDING | The drawdown is the loan's only funding | Voiding this drawdown would take the funded amount of an active loan to zero, leaving it with no principal. Void or pay off the loan itself instead, or record another drawdown first. |
LOAN_ESCROW_CLOSED | Loan escrow is closed | A closed escrow takes no new deposit letters, no edits, no movements and no voids of its movements. |
LOAN_ESCROW_DIMENSION_MISSING | Loan escrow dimension is missing | The organization has no 'loan_escrow' dimension, which every escrow line is tagged with and every escrow balance is read through. Restore the Loan Escrow dimension. |
LOAN_ESCROW_MOVEMENT_HELD | Escrow movement changes only from its loan | The document is a loan escrow movement. Void it through POST /v1/loans/{id}/escrows/{escrowId}/movements/{movementId}/void, which also releases its bank line. |
LOAN_ESCROW_NOT_EMPTY | Loan escrow still holds money | An escrow can be closed only at a zero balance. Record its refund or disbursement first. |
LOAN_ESCROW_ROLE_ACCOUNT_MISSING | Loan escrow account is missing | The escrow has no account override and the loan side's escrow role account ('loan_escrow_asset' for a borrower, 'loan_escrow_liability' for a lender) resolves to nothing for the loan's legal entity, so its balance cannot be read. Set the escrow's account or restore the role account. |
LOAN_EVENT_ACTUAL_RACE | Loan period slot was taken concurrently | Another writer linked a live actual to this loan period while this one was being written. One active actual per period is enforced by the database; retry the period. |
LOAN_EXTENSION_OPTION_LOCKED | Extension option is exercised or waived | Exercised and waived options are history; re-send them unchanged in the PUT. context.option_number names the option and context.reason is changed (a field differs from the stored option) or removed (it was left out of the set). |
LOAN_EXTENSION_OPTION_NO_LONGER_EXTENDS | Extension option no longer extends the loan | The live option's context.extended_maturity_date is on or before the loan's current context.maturity_date: the option was valid when saved, but a later maturity change moved the loan past it, so exercising would shorten the loan. Nothing was written. Waive the option (or edit the option set) to move on to the next one. |
LOAN_EXTENSION_OPTION_NOT_LIVE | Extension option is not the live option | Only the lowest-numbered option that is neither exercised nor waived can be exercised or waived. context.state is the option state and context.live_option_id is the option to act on first (null when none is live). |
LOAN_HAS_ACTIVE_HEDGES | Loan has hedges | The loan carries a swap or cap, named in context.hedge_ids. A payoff refuses while any is active: terminate or move each first. A bare loan DELETE refuses while any exists (context.cascade_allowed true): repeat it with ?cascade=true to delete them with the loan. A hedge holding a recorded settlement blocks the delete even with cascade (context.cascade_allowed false): void its recorded settlement documents first. |
LOAN_HEDGE_DOCUMENT_VOID_BLOCKED | Hedge document cannot be voided yet | Hedge documents are voided in order: a cap premium after its amortizations, amortizations newest first, and, while the hedge is terminated, its premium, amortization and settlements of periods due after terminated_on only after the termination. context.reason says which rule applies; context.blocking_document_ids names the documents to void first, or, for hedge_terminated_without_document (a termination that posted no document and cannot be voided), context.terminated_on says why the refusal stands. |
LOAN_HEDGE_SETTLEMENT_ALREADY_RECORDED | Hedge settlement already recorded | The settlement period already holds a recorded settlement. Void that settlement document to record another. |
LOAN_HEDGE_TERMS_LOCKED | Loan hedge terms are locked | A settlement has been recorded against the hedge (or it is no longer active), so its economic terms can no longer change. Reference, counterparty and notes stay editable. |
LOAN_LATE_FEE_ALREADY_WAIVED | Loan late fee already waived | The late fee was already waived; its document is voided. |
LOAN_LATE_FEE_WAIVE_REQUIRED | A late fee is cancelled by waiving it | A loan late fee cannot be voided directly: POST /v1/loans/{id}/late-fees/{documentId}/waive (admin:loans). The waive voids the fee and keeps its window closed. |
LOAN_LATE_FEE_WINDOW_CHARGED | Late fee window already charged | The period's current late-fee window (context.window_key) already carries a charged fee (context.document_id). Waive it first to enter a different figure for the window. |
LOAN_NOT_IN_DEFAULT | Loan not in default | The loan has no open default window to cure. |
LOAN_PERIOD_HAS_LATE_FEE | Loan period carries a late fee | The period's bill cannot be voided while a charged late fee (context.late_fee_document_id) sits on the period: the fee exists because the bill went unpaid. Waive the period's late fees before voiding its bill. |
LOAN_PERIOD_NOT_ACTIONABLE | Loan period does not accept this action | The period is not in a state this action accepts — a statement needs a period with no live document. Void the period's current document first, or refresh: another user or the nightly run may have posted it. context.reason says why: state (see context.state), no_financial_event (beyond the rolling horizon), event_cancelled (the period's financial event is missing — a period whose nightly bill failed is not refused: recording its statement or a payment reopens and bills it), or earlier_period_open (an earlier period is still open — missed, billed, partially paid, or moot (its bill voided; re-record its statement); context.earliest_open_due_date names it — settle that one first), future_period_billed (a payoff, while a period due after the payoff date already holds a statement recorded early, paid or not — the payoff would delete that period and strand its bill and any payment; context.earliest_open_due_date names it — void its payment, if any, then that statement), or concurrent_change (an older period kept reopening under a loan payment — refused after 3 restarts; retry). A loan payment (POST /v1/loans/{id}/payments and its preview) answers this code when it reaches a due period that is moot (reason state: re-record its statement first; a moot period the payment does not reach refuses nothing), has no_financial_event, or event_cancelled. |
LOAN_PERIOD_NOT_PAST_DUE | Loan period is not past due | A late fee can be charged only on a period past its due date plus grace that still owes money and was billed (or had nothing to bill). |
LOAN_PREPAYMENT_ACCRUED_SINCE | Interest has been accrued past the curtailment | An interest accrual dated context.accrued_through — after the curtailment's context.effective_date — was priced on the post-curtailment balance. Voiding the curtailment would restore the principal without re-pricing that accrual, and truing it up is not supported yet. A payoff void is not affected. |
LOAN_PREPAYMENT_LOCKED_OUT | Loan is locked out of prepayment on the date | The effective_date is inside a lockout window of the loan prepayment terms; send lockout_override_reason to override (it is stored with the prepayment). context.window_start / window_end name the window. |
LOAN_PREPAYMENT_NOT_LATEST | A later prepayment on the loan is still live | A loan's curtailments and payoff are voided newest first: each one rebuilt the schedule from its date on the balance the earlier ones left. Void the prepayment named in context.latest_document_id (dated context.latest_effective_date) first. |
LOAN_PREPAYMENT_PERIOD_ACTED | A period after the prepayment has been billed or paid | The period due on context.due_date, on the schedule this prepayment produced, holds an active statement or payment. Void that period's document first; then the prepayment can be voided and the schedule rebuilt. |
LOAN_REGENERATION_BLOCKED_BY_CURTAILMENT | A curtailment stub is still open on the schedule | A curtailment dated context.curtailment_effective_date added its stub interest (the prepaid principal's interest from the last due date to the curtailment) to the period due context.next_due_date. A full regeneration — the manual POST /v1/loans/{id}/schedule/regenerate or a drawdown — rebuilds that period on the balance alone and would drop the stub, leaving accrued interest no statement bills. Retry once the period due context.next_due_date has been billed (its statement generated), or void the curtailment first. The nightly rate reset is never refused: it rebuilds from its own date and keeps the stub. |
LOAN_SHARE_FREEZE_ALREADY_FROZEN | Loan period allocation is already frozen | This document already has a frozen participant allocation. A snapshot records what the document was BUILT from, so it is written once and never rewritten; a second freeze would replace the evidence for money already posted. |
LOAN_TERMS_REQUIRE_AMENDMENT | Loan terms change only by amendment | amortization_type, io_end_date, balloon_amortization_months, commitment_amount, origination_date, maturity_date, payment_frequency, payment_day and currency are frozen on any loan that is not pending. Record the change with POST /v1/loans/{id}/amendments, which rebuilds the schedule from its effective date. context.fields names the columns that would have changed; an unchanged re-send is accepted. |
MATCH_PAYMENT_ALREADY_RECONCILED | Payment already reconciled | The selected payment document is already linked to another bank transaction. A payment can only be reconciled once. |
MCP_CONFIRMATION_DECLINED | Confirmation declined | The person declined this operation. Do not retry it unless they ask again. |
MCP_CONFIRMATION_INVALID | Confirmation invalid | The X-Connector-Confirmation cannot be used: it expired, was already used, is unknown, or was issued for a different request (another user, client, path, query or body). Send the request without the header to get a new confirmation. |
MCP_CONFIRMATION_PENDING | Confirmation not confirmed yet | The confirmation exists but the person has not clicked Confirm yet. Wait for them, then re-send the same request with the same X-Connector-Confirmation. |
MCP_UPLOAD_INVALID | Upload link invalid | The upload link cannot be used: it expired (30 minutes), or a file was already uploaded through it. Call upload_file without content again for a new link. |
MCP_UPLOAD_PENDING | Upload not received yet | The upload link exists but the person has not dropped the file yet, or it is still being processed. Wait for them, then call check_upload again with the same upload_id before context.expires_at (30 minutes after the link was issued). |
NO_OPEN_PERIOD_FOR_CORRECTION | No open period to post the correction into | Reversing an entry whose own period is closed or locked posts the contra entry into the CURRENT open period, so the closed period’s reported figures do not change. This legal entity has no open period on or after today, so there is nowhere to put it. Open a period, or pass reverse_in_original_period with the accounting:periods_override scope to restate the original period in place. Sibling of ALL_PERIODS_CLOSED, which is the same shape of condition for a DEPRECIATION schedule’s catch-up rather than a reversal, and carries a fixed-assets remedy — the two are separate so neither answers with the other’s advice. |
ORG_FISCAL_CONFIG_CONFLICT | Org fiscal config conflict | The requested fiscal-year start month or period cadence differs from the org's fiscal config, which is already set (confirmed, or locked by posted journals or closed periods). Omit both to keep it. |
ORG_INDUSTRY_CONFLICT | Org industry conflict | The requested industry differs from what the org already is — its stored industry or the catalog already seeded — or the two disagree with each other. Omit industry to use the org's own; an inconsistent org needs a person to look. |
ORG_OWNER_IN_ANOTHER_ORG | Owner already belongs to an org | The owner email belongs to a user who is a live or deactivated member of an org. A user belongs to one org: signing in picks a single membership. |
ORG_SYSTEM_GROUP_NAME_TAKEN | System group name taken | A custom security group already uses a system group's name (Owner, Admin, Accountant, Clerk, Viewer, Facility), so that system group could not be created and its members would stay ungrouped. Rename the custom group, then provision again. |
ORG_USER_ALREADY_MEMBER | User is already a member | The invited email already belongs to a member of this org. |
ORG_USER_DEACTIVATED | User is deactivated | The invited email belongs to a deactivated member of this org. Reactivate them instead. |
ORG_USER_LAST_ADMIN | Last admin cannot be removed | The org must always retain at least one member with the owner or admin role. |
ORG_USER_NOT_PENDING | Member has already signed in | The member has already signed in, so there is no pending invite to act on: it cannot be deleted (deactivate instead) or re-sent. |
ORG_USER_PENDING | Member has not accepted the invite | A password reset cannot be sent to a pending invite. Resend the invite instead. |
OWNERSHIP_CYCLE_DETECTED | Ownership cycle detected | An entity would own itself, directly or through other entities. Entity-ownership writes refuse an owner that would close such a cycle; the look-through resolver raises the same code if it meets the same legal_entity_id twice on one path (a cycle recorded before the write-time check existed). Remove the back-edge before retrying. |
PAIRED_PAYMENT_RECONCILED | The other side of this in-group payment is matched to a bank line | The two payments of an in-group payment are voided together, and the partner payment is matched to a bank line. Unmatch the bank line in Banking first, then void the payment again. context.partner_payment_number and context.bank_account_name name the partner payment and the account. |
PAIRED_PAYMENT_REISSUE_REFUSED | An in-group payment cannot be edited in place | A payment that is one side of an in-group payment pair is not reissued: a reissue would void the payment and its partner and leave the replacement unpaired. Void the payment (its partner is voided with it) and pay again. context.payment_id names the payment. |
PAIRED_PAYMENT_UNAPPLY_REFUSED | An in-group payment cannot be unapplied on its own | A payment that is one side of an in-group payment pair is never unapplied alone: void the payment instead, which voids its partner payment too. context.payment_id names the payment. |
PARTY_CATEGORY_IN_USE | Party category is in use | One or more parties reference this category. Reassign those parties before deleting it. |
PARTY_IS_LEGAL_ENTITY_MIRROR | Party is a legal-entity mirror | This party is the system-managed mirror of a legal entity and cannot be modified directly. Update the legal entity instead; its mirror party stays in sync automatically. |
PARTY_ROLE_TYPE_IN_USE | Party role type is in use | One or more parties reference this role type. Remove the role from those parties before deleting it. |
PAYMENT_RUN_ACH_ALREADY_SUBMITTED | Entity’s ACH file was already submitted | This entity’s NACHA file was already confirmed as submitted to the bank, so a bank’s combined file leaves it out — putting it in a second file would credit its vendors twice. Its own file (GET …/entities/{legalEntityId}/ach-file) can still be downloaded again. Only ever an exclusion reason in GET …/ach-files and on the combined download. |
PAYMENT_RUN_ACH_NOT_SUBMITTED | ACH file not confirmed as submitted | The payment run (context.payment_run_id) pays by NACHA file, and the file hasn't been confirmed as submitted to the bank, so finishing the run would book payments for money that may never have left. Export the ACH file and confirm it was submitted, then finish the run. |
PAYMENT_RUN_ALREADY_EXPORTED | Payment run already exported as a NACHA file | This run’s NACHA file was already exported. Sending it via Spark Pay as well would pay every vendor in the run twice. |
PAYMENT_RUN_BILL_AVAILABLE_EXCEEDED | Requested amount exceeds the bill’s available amount | A partial amount_to_pay must fit within the bill’s balance minus the amounts other active runs already reserve (its available amount). context.offending_bills lists each bill, the requested amount, its available amount, and the blocking runs. |
PAYMENT_RUN_BILL_RESERVED | Bill cannot be paid in full — partially reserved elsewhere | Paying a bill in full (no amount_to_pay) requires that no other active run reserves any part of it. Another active run already holds a portion — enter a partial amount instead, or cancel/complete the other run. context.blocked_by names the blocking runs. |
PAYMENT_RUN_ENTITY_NOT_PENDING | This entity of the run is already settled | Each legal entity of a payment run is paid on its own, once. This entity (context.legal_entity_id) is already paid or released (context.entity_status), so its ACH file, Spark Pay send, rail claims, Mark paid and release are refused. |
PAYMENT_RUN_ENTITY_NOTHING_TO_PAY | This entity has no bill left to pay | Every bill of the entity (context.legal_entity_id) was released from the run, so Mark paid would post and settle nothing. Release the entity instead. |
PAYMENT_RUN_GENERATION_STALE_BILLS | Run contains bills that are no longer payable | Between submission and generation some bills stopped being eligible (e.g. paid elsewhere, voided, balance changed). Nothing was generated — the transaction rolled back. context.stale_bills lists each offending bill and its reason; remove them and resubmit. |
PAYMENT_RUN_INVALID_STATUS | Payment run status does not allow this action | The run is not in a status that permits the requested transition (e.g. editing a non-draft run, or completing a non-approved run). |
PAYMENT_RUN_SEND_METHOD_CONFLICT | Payment run is already claimed by a disbursement rail | The other disbursement rail has already claimed this run — Spark Pay has been sent (or enqueued), or the NACHA file has been declared submitted to the bank. Paying the run by both rails would pay every vendor in it twice. Raised by the NACHA export, by ach-file/confirm-submitted, and by release-send-claim on a run whose transfers already exist. |
PAYMENT_RUN_SENDS_IN_FLIGHT | Vendor sends have not settled | Some vendors in this run have Spark Pay sends that have not reached a definite state yet — a transfer that has not settled, or a send job still queued or running. Acting now would decide the run’s fate while money may still be moving. Wait for each vendor’s send to settle (succeeded or failed), then retry the action you attempted: complete the run, or release the rail claim. context.pending_party_ids lists the vendors still in flight. |
PAYMENT_RUN_SPARK_PAY_DISTRIBUTION_LEGS | Spark Pay cannot pay distribution payments | The entity holds one or more distribution legs (owner distributions) in this run, and Spark Pay only pays vendor bills. Pay the entity by NACHA file, wire or check and post it at Mark paid. context.document_numbers lists the legs. |
PAYMENT_RUN_VENDOR_METHOD_CHANGED | A vendor changed its payment method after submit | Each vendor’s payment method is frozen on the run at submit, and the approver approved exactly those rails. A vendor whose live method no longer matches makes this entity’s ACH file, Spark Pay send, ACH confirmation and Mark paid refuse, naming the vendors in context.vendors (with frozen_method and live_method). Set the vendor’s method back to the approved one, or release the entity from the run and pay its bills in a new run. |
PAYMENTS_ACCOUNT_NOT_CONNECTED | Legal entity is not connected to Spark Payments | This legal entity has no Moov account yet, so there is nothing to scope an onboarding token to. Call POST /v1/legal-entities/{id}/payments/connect first — minting an unscoped token instead is never an option. |
PAYMENTS_SOURCE_BANK_NOT_LINKED | No bank account linked for payments | The paying legal entity has no bank account linked to Moov, so there is nothing to draw funds from. Link one first. This side must be a VERIFIED bank: funds are pulled from it, and Moov only permits debits from verified accounts. |
PAYMENTS_TRANSFER_IN_FLIGHT | A transfer with this idempotency key is unresolved | A row exists for this key but Moov never confirmed a transfer id, so we cannot tell whether money moved. Reconcile it against Moov before retrying — re-sending is how a bill gets paid twice. context.transfer_id identifies the row. |
PAYMENTS_TRANSFER_PROCESSING | This payment is already being sent | A request with this idempotency key is in progress and Moov has not answered yet. This is the ordinary outcome of a double submit — wait and read the transfer rather than retrying. Distinct from PAYMENTS_TRANSFER_IN_FLIGHT, which means a payment has been unresolved long enough to need reconciliation. |
PERCENTAGE_RENT_ADJUSTMENT_EXISTS | The line already has an adjustment of this kind | A line holds one interest and one audit_costs adjustment. Delete context.adjustment_id and add the new amount. |
PERCENTAGE_RENT_AUDIT_EXISTS | The year already has an audit line | A lease year has at most one audit line. An audit run skips years already audited; this answers when every qualifying year in the window already has one. context.line_id names one and context.contract_id its lease: revise that run instead of auditing the year again. |
PERCENTAGE_RENT_LATER_LINE_APPROVED | A later percentage rent line is approved | A later line of the same lease year, in another run, is already approved, and its previously billed counted this line. Revising this run, changing an adjustment on this line or approving this line would leave that later line wrong. Revise the later run first. context.line_id names this line and context.later_line_id the approved later one. |
PERCENTAGE_RENT_NO_OPEN_PERIOD | No open period to date the percentage rent invoice | A separate percentage rent invoice is dated org-today, or the first open date after it when today’s period is closed. The legal entity has no open accounting period on or after today, so nothing was approved or billed. Open a period and try again. context.legal_entity_id and context.today name the gap. |
PERCENTAGE_RENT_NOTHING_TO_INVOICE | Nothing to invoice on this percentage rent run | Invoice now bills the approved lines of the run whose charges are still on the shelf (unbilled and unsettled). This run has none: approve a line first, or its charges are already billed (on their own invoice or the next rent invoice) or settled. |
PERCENTAGE_RENT_RUN_BILLED | Percentage rent run is already billed | A charge of this run is already billed, so the run cannot be revised. Correct it with a later run instead. |
PERCENTAGE_RENT_RUN_NOT_DELETABLE | Percentage rent run cannot be deleted | The run has approved lines (their charges are staged or billed). Only a run with no approved line can be deleted. |
PERIOD_CLOSE_RUN_ALREADY_ACTIVE | A bulk close is already running | This organization already has a bulk period close in queued or running state, and only one may be active at a time: two operators bulk-closing overlapping entities at month-end would interleave unpredictably. context.active_run_id names the run that holds the slot so the client can link to it — it is null only in the rare case where that run reached a terminal status between the refusal and the lookup, which means the same request can be retried immediately. Wait for the active run to finish, or cancel it, then submit again. |
PERIOD_CLOSED | Accounting period is closed | The target accounting period is closed. Provide a period_override_reason and the accounting:periods_override scope to post anyway. |
PERIOD_HAS_DEAD_LIFECYCLE_DELIVERIES | Period has undelivered lease lifecycle changes | One or more lease lifecycle changes affecting this period were never delivered to a module that computes posted amounts, so figures in this period are known to be wrong. Resolve the work items, or supply period_override_reason with the accounting:periods_override scope to close anyway — the override is recorded in the audit log. |
PERIOD_HAS_PENDING_DOCUMENTS | Period has documents still posting | Closing the period is refused while documents dated in it are still posting_pending: the entity's own, and intercompany transactions or settlements of another entity that post their second entry into this one. context.documents lists each one (id, document_number, incoming_intercompany). Post or void them, then close again. |
PERIOD_LOCKED | Accounting period is locked | The target accounting period is locked and rejects every post. Reopen the period (requires accounting:periods_override) before retrying. |
PERIOD_LOCKED_BY_YEAR_END_CLOSE | Accounting period is locked by a year-end close | The target accounting period is locked, and an active year-end close covers its fiscal year. Reverse the year-end close (POST /v1/legal-entities/:id/year-end-close/reverse) before reopening the period. |
PERIOD_PREVIOUS_NOT_CLOSED | Previous accounting period is still open | Sequential-close enforcement is enabled for this org. Close the previous period in the cadence sequence before closing this one. |
PLAN_DRIFT | Plan drifted since its preview | Committing the stored preview would do something other than what the preview showed: a lookup answers differently, or a step writes different rows. Nothing was kept. Sequence-allocated numbers (a document number, for example) and date fields defaulted to today can differ between preview and commit, and show as drift. Preview the plan again and review the new report, or commit with allow_drift: true. |
PLAN_NOT_HELD | Plan run cannot be changed | The run is in a status that does not allow this: it was already undone, it failed (nothing was kept), or it is not a committed run. context.status is its status. |
PLAN_ORG_BUSY | Organization busy | Another plan is already running for this organization, or the server is running its maximum number of plans at once. Nothing was kept; retry the same plan shortly. |
PLAN_UNDO_BLOCKED | Undo blocked by a later row | A row outside this run refers to a row the run created, so undo cannot remove it. Nothing was undone. context.blockers lists each blocking table and ids, with the plan run that created them (blocking_run_id, null when no plan did); undo that run first, or remove the reference. |
PLAN_UNDO_CONFLICT | Row changed since the plan committed | Undo would overwrite a row that something outside the plan changed after the commit (or removed). Nothing was undone. context.table and context.id name the row; reconcile it by hand. |
POLICY_ALREADY_EXISTS_FOR_LE | Legal entity already has a distribution policy | A legal entity has at most one distribution policy that is not archived. Edit, pause or archive the existing one (context.existing_policy_id) instead of creating another. |
PORTAL_BOOKS_CHANGED | Books changed after the package was built | The package's statements no longer match the books: rebuilding them now gives a different set of recipients, or a statement with a different figure, percentage, trace line or note than the one frozen in the package (the build time itself is ignored). context.reason is snapshot_changed; context.changed_statements, when present, counts the statements added, dropped or changed (a count only — never a figure or a party). A change that moves none of the package's figures (a later month's posting, a period closed again with the same numbers, an edit to a field the statements do not show) does not raise it. Raised by a publish REQUEST, it is a refusal: nothing is recorded and the package stays a draft. Raised by the publish itself (on approval, or a retry), the package is back in draft with the reason recorded in publish_failure_reason, and the submitter and the approver are notified. Either way: refresh it (POST /v1/legal-entities/{id}/portal/packages/{packageId}/refresh), review it, then request publishing again. |
PORTAL_PACKAGE_EXISTS | A package already covers this window | No two publication packages of one legal entity may cover the same day — the same window, or (after a cadence change) a monthly window inside a quarterly one or the reverse. context.existing_package_id, context.window_start, context.window_end_inclusive and context.period_label (the same name as that package’s own period_label) name the package in the way when the pre-check caught it; a draft that loses the race to a concurrent one past the pre-check is refused by the database with no context. Open it from GET /v1/legal-entities/{id}/portal/packages and refresh it, or discard it (drafts only) before creating another. |
PORTAL_PACKAGE_LOCKED | Package is locked | Only a draft package can be edited, refreshed or discarded. A package awaiting approval is locked until the approval is decided (rejecting or withdrawing it returns it to draft); a published package never changes. context.status is the status that refused. |
PORTAL_PACKAGE_STALE_SHAPE | Package statements are out of date | This package's statements were built before the current statement shape (the period trace, the negative-balance note and the holder's ownership percentage) and cannot be sent for approval or published as they are. Refresh the draft (POST /v1/legal-entities/{id}/portal/packages/{packageId}/refresh) to rebuild them, review it again, then retry. |
PORTAL_PUBLISH_DOCUMENT_MISMATCH | Package document changed | A document copied for publishing does not match the file that was added to the package: its contents changed since. context.document_id names it. Nothing was published and the package is back in draft; remove the document and add it again, then request publishing. |
PORTAL_PUBLISH_NO_OTHER_APPROVER | No one else can approve this publish | No one other than you can approve this publish. Change the approval rule so another owner or admin can approve it, or add one. The approval rule that matched this package has a step that needs more approvers than the organization has members, other than the requester, who are eligible for it (for a portal publish, an owner or admin) — and the requester may never approve their own portal publish. Nothing was written: the package stays in draft and no approval request was opened. |
PORTAL_PUBLISH_NOT_RETRYABLE | Package cannot be published from its current state | The package is not in the state this publish expects. context.reason is status (it is not awaiting approval — a draft is published by requesting publishing, and a published package never publishes again; context.status is its status) or not_approved (it is awaiting approval but its approval request is still pending, or it has none), or superseded (the attempt names an approval request that is not the latest approved request of the package). Nothing changed: the package keeps its status. Wait for the approval decision, or request publishing again if it is a draft. (A package awaiting approval whose request was rejected or withdrawn is not refused: Portal.retryPublish returns it to draft.) |
PORTAL_PUBLISH_SOURCE_MISSING | Package document source is gone | A document's source file was deleted from the legal entity's files (or its stored bytes are missing) after it was added to the package. context.document_id names it. Nothing was published and the package is back in draft; remove the document from the package, then request publishing. |
PORTAL_SLUG_UNAVAILABLE | Portal address is not available | Another organization already uses this portal_slug, or it is a reserved word (www, api, app, admin, portal and the other host names the portal keeps for itself). context.portal_slug echoes the refused value. Choose another; a slug another organization releases is available again at once. |
POSTED_DOCUMENT_DELETE_REFUSED | A posted document cannot be deleted | A document that has posted, or has been voided, stays in the books for good: deleting it would remove one side of its journal history. Void it instead. Only drafts and documents still waiting to post can be deleted. |
POSTED_DOCUMENT_NOT_REISSUABLE | This type of document cannot be edited after it posts | Editing a posted document voids it and issues a linked replacement with a new number. Only five types can be corrected that way: invoice, bill, credit_memo, vendor_credit and journal_entry, and only when a person or an API client created the document. Every other type is refused once posted (context.reason: document_type): void it and create the correct one instead. A document an engine generated — a lease billing schedule, a recovery run, a tax or insurance bill — is refused too (context.reason: engine_generated, with context.source_type): correct it with a credit memo for an invoice, a vendor credit for a bill, or a reversing journal entry for a journal entry; for any other type, void it and create a new one. context.document_type names the type. |
POSTING_BEFORE_LEGAL_ENTITY_START | Posting before legal entity operations start | The submitted date predates the legal entity's operations_start_date. The legal entity did not exist for accounting purposes on that date; pick a date on or after the entity's start. |
PROPERTY_HAS_LEASES | Property cannot be deleted: a lease is on it | A contract names this property, or one of its spaces, as premises. Any lease blocks the delete, terminated included. Archive the property (status archived) instead. context.lease_title names one of the leases and context.lease_count says how many. |
PROPERTY_OWNER_LOCKED_BY_LOAN_COLLATERAL | Property owner is locked by loan collateral | The property is live collateral on one or more loans (a loan_participants property row whose window is open today or later, on a loan that is not matured, paid off, defaulted or cancelled), and the new legal_entity_id is not those loans' borrower. A loan may only be secured by property its borrower owns or that has no owner, so the owner can change only to the borrower or to null. context.loans lists each loan (id, loan_number, name). End the property's collateral window on those loans (PUT /v1/loans/{id}/participants) first, then change the owner. |
RE_TAX_PARTICIPANT_BILLED | Participant already billed | The lease has shares on active tax bills of this period. End its participation instead, or void those bills first. |
RE_TAX_PARTICIPANT_BILLED_SHARE_IMMUTABLE | Billed participant's share cannot be edited in place | The lease has shares on active tax bills of this period, so its basis and share are not edited in place. Use a dated change (POST …/participants/changes with a change operation) instead. |
RE_TAX_PARTICIPANT_DIRECT_BILL_IN_RECOVERY | Direct-billed lease is also recovered through CAM | The participant is billed directly (tenant_reimbursement), but its lease holds a participating recovery term on the tax's expense account in the period's recovery group, so it would be billed twice: by its own invoice and by the group's reconciliation. Recover it through CAM (tenant_reimbursement_via_cam) or end the recovery term. context carries contractId and recoveryGroupId. |
RE_TAX_PARTICIPANT_OVERLAP | Participant rows overlap | Two rows of the same lease in this tax period would cover the same day. A lease may have several rows only when their dates do not overlap. |
RE_TAX_SUPPLEMENTAL_BILL_DUPLICATE | Duplicate supplemental tax bill | An active supplemental bill with the same tax period, due date and amount already exists. Void it first if this is a correction. |
RECONCILIATION_DATE_NOT_AFTER_PREVIOUS | Statement date isn't after the previous reconciliation | The statement ending date (context.statement_ending_date) is on or before the bank account's previous reconciliation (context.previous_reconciliation_id, ending context.previous_statement_ending_date). Reconciliations of a bank account follow each other in date order, each starting from the previous one's ending balance. Pick a later statement ending date, or undo (if completed) and discard the later reconciliation first; discarded reconciliations don't count. |
RECONCILIATION_IN_PROGRESS | Reconciliation already in progress | An in-progress reconciliation already exists for this bank account. Complete or discard it before starting a new one. |
RECONCILIATION_LATER_PERIOD_COMPLETED | A later period is reconciled or being reconciled | The reconciliation (context.reconciliation_id) cannot be undone because a later period of the same bank account is reconciled or being reconciled (context.later_reconciliation_id, completed or in progress), and it starts from this one's ending balance. Undo the later reconciliation if it is completed, discard it, then retry. |
RECONCILIATION_NOT_COMPLETED | Reconciliation not completed | The reconciliation is not in the completed status, so this operation (e.g. undo) cannot be performed. |
RECONCILIATION_NOT_IN_PROGRESS | Reconciliation not in progress | The reconciliation is not in the in_progress status, so it cannot be edited, toggled, completed, or discarded. |
RECONCILIATION_WAS_COMPLETED | Only the latest reconciliation can be discarded once it was completed | The reconciliation (context.reconciliation_id) was completed at least once, and only the latest reconciliation of a bank account can be discarded once it was completed: a later period started from its ending balance. Discard the later reconciliations first (undoing any that are completed), then retry. A discarded reconciliation is kept as a record with status discarded. |
RECOVERY_PRIOR_RUN_UNDER_REVISION | Prior recovery run under revision | The previous year's run of this recovery group is being revised; its cap figures are not final. Approve that revision first. |
RECOVERY_RUN_NOT_REVISABLE | Recovery run not revisable | Only an approved recovery run can be revised. Approve the current revision first. |
REISSUE_APPLICATIONS_DO_NOT_FIT | The new total is less than what is already applied | Editing a posted document voids it and issues a replacement, and the payments and credits applied to the original move to the replacement. They can move only if they still fit: the replacement's total must be at least the amount applied on each side. Unapply the payments first, or keep the total at or above the applied amount. context carries document_number, applied and new_total. |
REISSUE_FIELD_IMMUTABLE | Field cannot be changed when editing a posted document | Editing a posted document voids it and issues a replacement of the same legal entity and document type. Changing either one is a different document, not a correction of this one: void it and create the correct one instead. context carries field (entity_id or document_type), from and to. |
REISSUE_PARTY_CHANGE_WITH_APPLICATIONS | The customer or vendor cannot change while payments are applied | Editing a posted document voids it and issues a replacement, and the payments and credits applied to the original move to the replacement. Those payments belong to the original's customer or vendor, so the replacement must keep the same party. Unapply the payments first, then change the party. The counterparty legal entity and the currency are frozen the same way. context.document_number names the document; context.changed is party, counterparty or currency. |
ROUTINE_SERIES_ITEM_TYPE_TAKEN | Item type already belongs to another routine series | An item type has one home: at most one routine series of the org lists it. context.item_type is the contested type and context.series_id the series that already lists it. Remove it from that series first (PATCH /v1/work-items/routine-series/{id}), or leave it out. Nothing is written. |
ROUTINE_SERIES_KEY_TAKEN | Routine series key already used in the module | A routine series' series_key is derived from its name on create (a snake_case slug) and never changes. context.series_key is the slug, which another series of the same module already has — pick a name that slugs differently. Nothing is written. |
SALES_CATEGORY_CODE_TAKEN | Sales category code already used | The org already has a sales category with this code; codes are unique per org, inactive categories included. Reactivate the existing category (PATCH is_active: true) instead of creating a second one. |
SALES_IMPORT_CONFLICT | A report was written while the import committed | Another writer submitted or drafted a report for one of these periods during the commit; nothing was committed. Retry the commit: the review is re-evaluated first. |
SALES_IMPORT_DUPLICATE_FILE | This file was already imported | The same file is already an open or committed import. context.import_id names it: open that import instead, or discard it first to upload the file again. |
SALES_IMPORT_NOT_OPEN | Sales import is no longer open | The import was already committed in full or discarded, so it cannot be committed or discarded again. |
SALES_REPORT_DRAFT_EXISTS | Sales period already has a draft | The period already has a draft report; a period holds at most one draft. Edit or submit that draft instead (context.report_id). |
SALES_REPORT_NOT_CURRENT | Sales report is not the current version | Only the current submitted version of a period can be restated. A superseded version has a newer one (superseded_by_id); a draft is edited, not restated. |
SALES_REPORT_NOT_DRAFT | Sales report is not a draft | Only a draft report can be edited or submitted. To correct a submitted report, restate it with POST /v1/sales/reports/{id}/restate. |
SALES_REPORT_PERIOD_ALREADY_REPORTED | Sales period already reported | The period already has a submitted report. A submitted report is never edited: restate it with POST /v1/sales/reports/{report_id}/restate, where context.report_id is the submitted version. |
SCHEDULED_DISTRIBUTION_NOT_DECIDABLE | Action not available in this status | This action is not available while the item is in this status (context.status, context.action). |
SCHEDULED_DISTRIBUTION_NOT_RETRYABLE | Scheduled distribution cannot be retried | Only a failed item of a batch that is executing or completed_with_failures can be retried (context.status, context.batch_status, null for an item in no batch). |
SCHEDULED_DISTRIBUTION_NOT_SCHEDULED | Scheduled distribution is not scheduled | Only an item still in scheduled can be staged; it was staged, decided or cancelled since it was read (context.status). |
SCHEDULED_DISTRIBUTION_TERMINAL | Scheduled distribution is final | Rejected, skipped, executed and cancelled items are final and cannot be decided again (context.status). |
SECURITY_GROUP_DELETE_WIDENS | Deleting this group would widen member access | Deleting a custom group drops its members back to their role-derived scopes. When those are broader than the group, the delete would escalate the members' access, so it is refused. Reassign the members (or lower their role) first. |
SECURITY_GROUP_DUPLICATE_NAME | Security group name already in use | A security group with this name already exists in the org (names are unique per org, case-insensitive). |
SECURITY_GROUP_SYSTEM_UNDELETABLE | System security group cannot be deleted | System-seeded security groups (one per legacy role) cannot be deleted, only edited. Create a custom group instead. |
SOURCE_BILL_CHARGES_ALREADY_COLLECTED | Tenant charges from this bill have already been collected | One or more of this bill's tenant_reimbursement_via_cam charges have already been collected onto a tenant document by an expense-recovery run. Voiding the bill reverses the payable while that tenant document stands, so the tenant stays billed for a bill that no longer exists — silent over-recovery. Void the collecting tenant document first (that releases its charges back onto the shelf), then void the bill. |
SPACE_DESIGNATION_CONFLICT | Designation already used under this parent | Fix 7's D4 invariant: a space's designation is unique per PARENT — per property for a top-level space, per space for a nested one. A property with Buildings A and B may legitimately have a "200" in each, and two different properties may each have a "Suite 100"; what cannot repeat is one designation twice under the same parent. Send a different designation, or add the space under a different parent. Before 0278 a designation collision could also fire across the whole ORG, because the create path copied designation into external_code, which is org-unique — a second property genuinely could not have a "Suite 100". That copy is gone, so this code now means only what it says; an external_code collision is the separate SPACE_EXTERNAL_CODE_TAKEN. |
SPACE_EXTERNAL_CODE_TAKEN | External code already used in this org | spaces.external_code is a code an OUTSIDE system uses for a space, and it is unique per ORG (spaces_org_code_key) so an importer can use it as the lookup key that is its whole purpose. Another space in this org already holds the code sent. Clear it from that space first (PATCH it to null), or send a different one. It is legitimate to leave external_code null — any number of spaces may — so omit it unless an outside system genuinely names this space. Do NOT derive it from designation: the create path used to, and that copy plus this constraint made DESIGNATIONS org-unique by accident, so a second property could not have a "Suite 100" (migration 0278). |
SPACE_HAS_LEASES | Space cannot be deleted: a lease is on it | A contract names this space, or a space directly under it, as premises. Any lease blocks the delete, terminated included, because deleting the space would strip the lease of its premises. Archive the space (status archived) instead, or move the lease to another space first. context.lease_title names one of the leases and context.lease_count says how many. |
STATEMENT_FILE_ALREADY_IMPORTED | Statement file already imported | This exact file was already uploaded to this bank account by an import that is not discarded (context.existing_import_id). Importing it again would create its lines twice. Continue with the existing import, or discard it first if you want to start over. |
STATEMENT_IMPORT_COMMITTED | Statement import is committed | The statement import (context.import_id) has already been committed, so its lines are bank transactions and it cannot be discarded. Exclude or revert the individual bank lines instead. |
STATEMENT_PERIOD_END_NOT_CONFIRMABLE | Statement period end cannot be confirmed | The period end of the statement import (context.import_id) is not awaiting confirmation: the statement is not a CSV (a PDF period end is read from the file), or it was already confirmed. Only a CSV period end, guessed from its latest line whether the script or a model read it, is confirmed by a person. |
SYSTEM_ROLE_HOLDER_HAS_BALANCE | System role holder still carries a balance | A balance-sheet system role (cash, receivables, payables, deposits, …) cannot be moved off or cleared from an account that still carries a balance, and a legal-entity holder cannot be added while the org-wide holder carries that entity's balance — either would strand the balance on an account no posting path reads (C6 = G13). Bring the balance to zero first: a manual journal entry for most roles; receivables and payables move only once their open documents are settled or credited. context names the account, the balance and the legal entity. Income and expense roles move freely. |
SYSTEM_ROLE_TAKEN | System role already assigned | Another account in the same org already has the requested system_role. Clear it on that account first, then re-apply on the target account. |
SYSTEM_TYPE_IMMUTABLE | System type is immutable | billing_model and supports_straight_line are frozen on system-provisioned contract types. Only name and is_active may be changed. |
TARGET_HAS_ACTIVE_APPLICATIONS | Target document has active credit applications | A payment, refund payment or credit is still applied to this document. Void the payment, or reverse-apply the credit, before voiding, deleting or editing the document; context names the applied document. |
TRACKABLE_HAS_JOURNAL_REFERENCES | Trackable cannot be deleted: posted history exists | The trackable is referenced by one or more posted journal_lines and cannot be hard-deleted. Soft-delete via PATCH is_active=false to retire it while preserving accounting history. |
TRANSACTION_RETRYABLE | Transaction conflict, safe to retry | The database aborted this request to resolve a conflict with a concurrent one (a deadlock, a serialization failure, or a lock wait that timed out). Nothing was written. Retry the same request; reuse the same Idempotency-Key if you sent one. |
TRANSFER_PAIR_INVALID | Paired bank line cannot complete this transfer | A transfer sent with paired_transaction_id (context.paired_transaction_id) matches both bank lines to the one transfer, so the paired line must be usable. context.reason names the rule it broke: not_found (no such line in this organization), already_matched (it already has a live match), excluded (it is excluded), pending (it has not posted yet), wrong_account (it is not on the destination bank account) or amount_mismatch (its amount is not the exact negative of the source line). Pick the right paired line, or send the transfer without paired_transaction_id. |
VENDOR_IDENTIFIER_TAKEN | Vendor identifier held by another party | Another party in this org already holds this identifier (same kind and normalized value). context.party_id names it. Remove it there first if it was recorded on the wrong vendor. |
YEAR_END_ALREADY_CLOSED | Year-end close already exists | A year-end close already exists for this legal entity and fiscal year. Reverse the existing close first to redo it. |
YEAR_END_PERIODS_OPEN | Year-end close blocked: periods still open | One or more accounting periods covering this fiscal year are still open. Close or lock every covering period before running the year-end close. |
413 — Payload Too Large
code | Title | When |
|---|---|---|
ACCOUNT_IMPORT_FILE_TOO_LARGE | Account-import file too large | The uploaded account-import CSV exceeds the allowed size. Split it into smaller files. |
ATTACHMENT_TOO_LARGE | Attachment too large | Attachments are capped at 25 MiB (26214400 bytes). Compress, split, or upload a smaller file. |
FILE_TOO_LARGE | File too large | The uploaded bank-statement file exceeds the allowed size. Split or upload a smaller file. |
FIXED_ASSET_IMPORT_FILE_TOO_LARGE | Legacy asset import file too large | The uploaded legacy fixed-asset CSV is larger than 4 MiB, so nothing was staged. Split it into smaller files (any order — each asset carries its own legacy_ref) and upload them one by one. |
MCP_BATCH_TOO_LARGE | Too many calls in one batch | The batch holds more requests than the AI connector accepts at once (context.max_calls). Split it into smaller batches. |
MCP_UPLOAD_TOO_LARGE | Upload too large | The file is larger than the AI connector accepts as inline content (context.max_bytes). Call upload_file without content to get an upload link instead. |
PLAN_TOO_LARGE | Plan too large | The plan has more steps, or a larger body, than the plan limits allow (see GET /v1/plans/capabilities). Split it into smaller plans. |
SALES_IMPORT_TOO_LARGE | Sales import file too large | A tenant sales CSV may be at most 2 MiB and 5,000 data rows. Split the file and upload the parts separately. |
415 — Unsupported Media Type
code | Title | When |
|---|---|---|
ACCOUNT_IMPORT_UNSUPPORTED_FILE_TYPE | Account-import file must be a CSV | Account-import uploads must be a CSV file. The submitted file failed validation or its declared Content-Type does not match its contents. |
ATTACHMENT_TYPE_UNSUPPORTED | Unsupported attachment type | Attachments must be one of: application/pdf, image/png, image/jpeg, image/webp. The submitted file failed magic-byte sniffing or its declared Content-Type does not match its contents. |
SALES_IMPORT_NOT_CSV | Sales import must be a CSV file | A tenant sales import takes a CSV file (text/csv, or a file named *.csv). Export the tenant report as CSV and upload that. |
UNSUPPORTED_FILE_TYPE | Unsupported file type | Bank-statement uploads must be a PDF or CSV. The submitted file failed validation or its declared Content-Type does not match its contents. |
422 — Unprocessable Entity
code | Title | When |
|---|---|---|
ACCOUNT_IMPORT_NOT_COMPLETED | Account import is not ready to commit | The import's background verification has not finished — its status is not 'completed'. Poll the import until it is, then retry the commit. |
ACCOUNT_IMPORT_TOO_MANY_ROWS | Account-import file has too many rows | The uploaded file has more data rows than one account-import upload accepts. Split it into smaller files. |
ACCOUNT_LEGAL_ENTITY_MISMATCH | Account belongs to a different legal entity | A GL account was used on a document issued by a legal entity that does not own it. An account's effective entity is accounts.legal_entity_id when set, otherwise the entity of every bank account whose cash_account_id points at it; an account scoped to neither is org-wide and always passes. Money that really did move between two entities is an intercompany transaction, not a cross-entity line: context.suggested_action names the flow to use (intercompany_transaction or ic_settlement) and context.suggested_payload carries from_entity_id / to_entity_id already mapped for it. context.resolved_via says whether the entity came from the account row or from a linked bank account. The same rule is also applied when a configuration that names an account for later automated posting is SAVED (an asset class, a recovery group or its accounts, a recovery module account, a tax period, an insurance term, an item, a tax rate, a distribution policy's adjustment line): an entity's configuration may name org-wide accounts or that entity's own, and an org-level configuration (asset class, item, tax rate) org-wide accounts only — then context.document_legal_entity_id is the configuration's entity, null for an org-level one. Also returned when an intercompany settlement links a bank transaction whose bank belongs to neither the from- nor the to-entity: context.account_id is that bank's cash account, context.resolved_via is bank_account. And when a bank account is SAVED (created from a Plaid link that reuses an existing account, re-pointed at another cash_account_id, or moved to another entity) with a cash GL not scoped to the bank's own entity — org-wide or another entity's: a bank's cash GL must be that entity's own, and context.document_legal_entity_id is the bank's entity. |
ALL_PERIODS_CLOSED | No open period on or after the in-service date | Depreciation for the closed periods at the head of the schedule is folded forward as catch-up into the FIRST OPEN period, so with no open period ending on or after the in-service date there is nowhere for the catch-up to post and the charge would be silently dropped. Raised both when every period from the in-service date onward is closed or locked and when the entity's period calendar stops before the in-service date. Reopen a period on or after the in-service date, or place the asset with an EARLIER in-service date so an open period falls inside its life. A LATER date cannot clear this: the window keeps only periods ending on or after the in-service date, so moving the date later shrinks that set and can never add an open period to it. Extending the calendar is not a caller action either: periods are system-managed, topped up by a daily job and seeded on legal-entity create, with no endpoint to force them further out. |
AP_CHECK_NOTE_REQUIRED | AP check note required | The decision needs a non-blank reason so it can be audited: a note to resolve a block or to acknowledge a fraud-class warn (context.check_code), or a reason to dismiss a duplicate. context.field names the missing one; whitespace alone counts as missing. |
AP_CHECK_SEVERITY_MISMATCH | AP check severity does not fit the action | Only a warn check is acknowledged, and only a block check is resolved. context.check_code and context.severity name the check. Use the other route, or clear the cause. |
AP_CHECK_USE_DUPLICATE_ROUTE | Use the duplicate routes | duplicate_invoice is settled with POST /v1/ap-invoices/{id}/duplicate/confirm (archive the copy) or /duplicate/dismiss (not a duplicate), never resolved directly. |
AP_INTAKE_ADDRESS_INVALID | AP intake address invalid | The change cannot be applied: legal_entity_id is not an active legal entity of the organization. context.reason says which. |
AP_INVOICE_DOES_NOT_FOOT | AP invoice does not foot | The item's lines plus its tax do not equal its total, so the bill would disagree with the invoice. context.lines_plus_tax and context.total give the two sums. Correct the amounts (a dropped discount line, a rounding difference) and accept again. Nothing was created. |
AP_INVOICE_INCOMPLETE | AP invoice incomplete | The item cannot become a bill yet: a pick it needs is missing or no longer an active one of the organization (the vendor, the legal entity, a line's account or item, the tax line's account, a dimension), an amount is missing, or currency_code differs from the legal entity's currency. context.missing lists the final_fields paths (e.g. line_items[0].account_id). Edit the item and accept again. Nothing was created. |
AP_INVOICE_PATCH_INVALID | AP invoice edit invalid | The edit cannot be applied: X-Ap-Invoice-Version is not a plain integer, final_fields holds a key an AP item does not have, a value has the wrong shape, a picked vendor, legal entity, account or item is not an active one of the organization, line_items is shorter than the item's (lines cannot be deleted here), or a reject reason is blank. context.reason says which. |
AP_STORAGE_PATH_INVALID | AP storage path invalid | The storage_path is not one POST /v1/ap-invoices/upload-url issues for this organization ({org_id}/files/{uuid}.{pdf|png|jpg|webp}). Request a new upload URL and use the path it returns. |
AP_UPLOAD_NOT_FOUND | AP upload not found | No object exists at storage_path: the signed upload URL was not used, or the upload has not finished. PUT the file to the signed URL, then register it again. |
APPROVAL_RULE_APPROVERS_NOT_ALLOWED | Approvers not allowed for this subject | A portal_package rule may name only the owner or admin role, or users who are owners or admins of the org when the rule is saved: an approver must be able to open the Portal tab (portal:manage) to see the figures they sign off. context.steps lists each offending approver by step_order, with its kind and its role or user_id. |
APPROVAL_RULE_UNSATISFIABLE | Approval rule is unsatisfiable | A step in this rule can never be actioned: its approver role/user entries resolve to no current org member, or (when require_authority is set) none of the reachable approvers have an approval_limit configured. Add a qualifying org member, adjust the approvers, or clear require_authority before saving. |
ASSET_ACCOUNTS_UNRESOLVED | Asset account slots could not be resolved | A fixed asset's asset / accumulated-depreciation / expense account is left null on its asset class and the system-role fallback could neither find nor create one. A MISSING system-role account is not this error — the fallback lazy-creates it from the seeded default chart (spec §4: "with lazy creation, so an unattended run never fails"), so a pre-existing org that never ran fixed-asset provisioning still places assets. What remains is a code collision it could not work around: the org already uses both the seeded account code and its role-suffixed fallback for unrelated accounts. errors[].field names each affected slot. Fix it by setting the slot directly on the asset class, or by creating an account carrying the matching system role (fixed_assets, accumulated_depreciation, depreciation_expense) for this org or legal entity. A disposal that bills its proceeds raises it too when a legal entity with proceeds has no accounts_receivable account: that role is never created lazily, so context.legal_entity_ids names each entity, and the remedy is to create the account (org-wide or for that entity). An intercompany asset transfer raises it too when intercompany_due_from (in the sending entity) or intercompany_due_to (in the receiving entity) holds no account — a transfer never creates those two — and context then names the system_role and the legal_entity_id. |
ASSET_CLASS_ACCOUNT_TYPE_MISMATCH | Account type incompatible with class slot | The account assigned to this class slot has an incompatible account type. |
ASSET_CLASS_INACTIVE | Asset class is inactive | Placing an asset in service copies its asset class’s depreciation defaults and GL accounts onto the asset for the rest of its life, so the class has to be one the org still uses. A class with is_active = false has been retired and stays readable only so the assets already carrying it still render. Reactivate the class, or place the asset under an active one. |
ASSET_CLASS_NOT_DEPRECIABLE | Asset class never depreciates | A life_months override was sent for a land asset class. Land does not depreciate — it carries no accumulated-depreciation and no depreciation-expense account at all — so a life cannot be applied to it, and ignoring the field silently would leave the caller believing a schedule exists. Omit life_months to place the asset (it becomes active with no depreciation schedule), or place it under a depreciable class. |
ASSET_CLASS_UNRESOLVED | No usable asset class for this placement | Placing an asset in service copies its asset class's depreciation defaults and GL accounts onto the asset, so placement has to resolve exactly one class — and detail says which of the three ways it could not. The asset has no class and none was sent: send class_id. The class_id sent does not exist in this org: send one that does (GET /v1/fixed-asset-classes). The class_id sent contradicts the class the asset already carries: placement CONFIRMS a class, it does not reclassify, so omit class_id to place the asset in the class it has — the one exception being an asset in a construction-in-progress class, where naming the depreciable class it lands in is the whole point, because placement is what ends construction. |
ASSET_COST_FRACTION_EXCEEDED | Cost-source fractions exceed 1 | The fractions claimed against one journal line by fixed_asset_cost_sources rows would sum to more than 1 (100%). Reduce the claimed fraction, or claim a different line. |
ASSET_COST_SOURCE_INVALID | Cost-source claim is not usable | A cost_sources entry does not name a journal line this asset may capitalize, and errors[].field names the offending entry. The write side enforces exactly what GET /v1/fixed-assets/claimable-lines offers, so anything that picker does not list is refused here: the line is not a posted, effective journal line in this org (a draft the poster may still change, a voided entry, or an unknown id); its account is not capitalizable — neither the asset_account_id of an ACTIVE asset class nor the holder of the fixed_assets system role for that entry's legal entity, which is the account the class-slot fallback itself resolves to — so capitalizing it would put cost in the register that the GL never put on an asset account and that the §11.2 tie-out could never explain; its journal entry belongs to a different legal entity than the asset, which would depreciate one entity's asset against cost sitting on another's books; or the line is a credit or zero line, and a cost source must claim a positive debit. Pick a line from GET /v1/fixed-assets/claimable-lines?legal_entity_id=<the asset's entity>, or post the cost to an asset account an active class maps. |
ASSET_DISPOSAL_ALLOCATION_INVALID | Recovery allocation does not fit the selection | A bulk disposal may state its recovery either as one recovery_amount, which the server allocates pro rata to each asset’s net book value, or as explicit allocations the operator edited in the dialog — and detail says which rule the request broke. Explicit allocations must cover the selection exactly once (no asset missing, none named twice, none outside the selection), carry no negative amount, and sum to the stated total. They are refused rather than corrected because an edited allocation is the one input a preview cannot re-derive: silently normalising it would post numbers nobody chose. With neither field the batch disposes at zero proceeds against the asset_disposal_clearing account, which is the everyday case. |
ASSET_DISPOSAL_BATCH_REFUSED | Some selected assets cannot be disposed | At least one asset in a bulk disposal was refused, so NONE of them were disposed, and context.rejected names every offender with its own code and message — not just the first, because a dialog that reports one bad asset per attempt over a forty-asset selection is a guessing game. The batch is all-or-nothing by design: half a casualty write-off leaves the register tying to a general ledger that reflects part of one decision, with no way to tell which part. Each entry carries the code that asset would have raised on its own (ASSET_EVENT_NOT_APPLICABLE for one already disposed or transferred to another legal entity, ASSET_SCHEDULE_NOT_REGENERABLE for a date behind a posted run, ASSET_DISPOSAL_PERIOD_NOT_OPEN for a closed period, ASSET_ACCOUNTS_UNRESOLVED for a class whose accounts cannot be resolved, ASSET_EVENT_BEFORE_TRANSFER_IN for an asset transferred in or imported, dated before its history starts here), so the remedy is that code’s remedy. Deselect or fix the assets named and submit again. |
ASSET_DISPOSAL_BILL_TO_INVALID | Disposal cannot bill this party | bill_to_party_id cannot receive the invoice for this disposal’s proceeds, and context.reason says why: not_found — no party with that id in this organization; inactive — the party is deactivated and cannot be the counterparty of a new document; internal_entity — the party is one of this organization’s own legal entities, and moving an asset inside the group is an intercompany transfer at net book value, not a sale. Nothing was posted. Name an active outside party. The commit reads the party again, so one deactivated after the preview is refused here. |
ASSET_DISPOSAL_BILL_TO_REQUIRED | Disposal proceeds need someone to bill | A disposal with proceeds above zero — proceeds_amount on a dispose or dispose_partial, or recovery_amount / the allocations sum on a bulk disposal — bills them to the buyer or the insurer on an invoice posted in the same request, so it must name that party in bill_to_party_id. Nothing was posted. Send the party, or send the disposal with no proceeds. The field is optional in the schema only so that adding it was not a breaking change; the server requires it whenever there is something to bill. The preview answers the same way. |
ASSET_DISPOSAL_BILL_TO_WITHOUT_PROCEEDS | Nothing to bill | bill_to_party_id or due_date was sent on a disposal whose proceeds are zero, so there is no invoice for either to describe. Refused rather than ignored: a caller who named a buyer almost certainly meant to record a price. Send the proceeds, or drop both fields. errors[] names each field that was sent. |
ASSET_DISPOSAL_PROCEEDS_ACCOUNT_DEPRECATED | The proceeds account is no longer chosen | proceeds_account_id is deprecated and refused whenever it is sent. Proceeds always land on the entity’s asset_disposal_clearing account, and the invoice that bills the buyer credits that same account so it nets to zero — a different proceeds account would leave the clearing account with a credit balance nothing explains. Remove the field, and send bill_to_party_id to bill the proceeds. The property stays in the schema for one release so that dropping it is not a silent 400; it will then be deleted. |
ASSET_DISPOSAL_PROCEEDS_ACCOUNT_INVALID | Proceeds account cannot take a disposal | Retired: no longer raised. proceeds_account_id is refused as ASSET_DISPOSAL_PROCEEDS_ACCOUNT_DEPRECATED whenever it is sent, because proceeds always land on the asset_disposal_clearing account the proceeds invoice credits. Kept for one release so a client that switches on the code keeps compiling; it will then be removed. |
ASSET_DISPOSAL_SHARE_INVALID | Partial disposal share is not a proper part | A dispose_partial must name the share being retired as exactly one of fraction (a decimal in (0,1) EXCLUSIVE) or cost_amount (under the asset’s whole cost_basis), and detail says which rule was broken. Sending both is ambiguous and sending neither names no share at all. A share of 1 — or a cost_amount equal to the cost basis — is a full dispose, which is a different event: it deletes the remaining schedule and marks the asset disposed, where a partial one re-spreads what is left over the remaining life. A share of 0 retires nothing and would post a document with no lines; note the shape check still admits "0.0", so that one is refused here rather than at the DTO. A fraction whose cost removed ROUNDS to zero or to the whole basis — possible only on a basis of a few cents — is refused for the same two reasons. Both spellings are stored on the event either way, so the log reads the same whichever was sent. |
ASSET_DISPOSE_BEFORE_IN_SERVICE | Disposal predates the in-service date | The disposal’s effective_date is before the asset’s own in_service_date, and detail names both. An asset cannot be retired before it was placed in service: the disposal document charges the depreciation still owed between the last posted period and the disposal date, and a date before the clock started has no schedule rows to measure that against — the document would carry a net book value the general ledger never held. Same refusal, and the same reason, as ASSET_REVISE_BEFORE_IN_SERVICE. Send an effective_date on or after the in-service date; to undo a placement that should never have happened, void the run that posted against it first. |
ASSET_EVENT_BEFORE_TRANSFER_IN | Date precedes the start of the asset’s history in this entity | The asset’s history in this legal entity starts on a given day — the effective date of its intercompany transfer in (origin: intercompany_transfer) or of its imported opening (origin: migrated) — and the date sent is before it, so detail names both. Until then it belonged to the sending entity, whose own asset keeps that history. Nothing is recorded against it, in this entity, for an earlier date: no lifecycle event (POST /v1/fixed-assets/{id}/events — add_cost, revise, suspend, resume, transfer, dispose, dispose_partial, impair), no bulk disposal or its preview (where it is the asset’s entry in ASSET_DISPOSAL_BATCH_REFUSED’s context.rejected), and no onward intercompany transfer or its preview — each would book the asset in a period this entity did not hold it. A construction project that travelled under construction cannot be placed in service (in_service_date) before it arrived either. The transfer date itself is this entity’s first day and is accepted. Send a date on or after it. |
ASSET_EVENT_REASON_REQUIRED | Event requires a reason | An event that records somebody's JUDGEMENT has no reason, which the spec requires on each of them. A revise re-spreads the asset's remaining net book value over a new life, salvage or method; a suspend takes the asset out of service; and a place-in-service whose body OVERRIDES the asset class's own life_months, method, convention or salvage default is the spec's "override of computed life" — placement is the one moment an asset's whole depreciation setup is chosen, so departing from the defaults every other asset in the class gets is exactly the judgement the column exists to hold. The asset page is an event log rather than an edit form precisely so that judgement is on the record; an unexplained one is indistinguishable from a mistake when the reconciliation is read a year later. Send a non-empty reason — or, on a placement, omit the overridden fields and take the class defaults. |
ASSET_IMPAIRMENT_INVALID | Impairment is not a write-down | An impair must describe a write-DOWN, named as exactly one of new_carrying_amount (the amount the asset is written down TO) or write_down_amount (how much to write it down BY), and detail says which rule was broken. Sending both is ambiguous and sending neither names no amount. A carrying amount at or above the current net book value is not an impairment but a revaluation, which this system does not do and which US GAAP does not permit for property, plant and equipment; one below the asset’s salvage_amount would leave it depreciating past the residual value it is defined to keep, so the remaining book value could not be spread at all. The write-down reduces cost_basis and credits the asset account — accumulated depreciation is untouched — and what is left is re-spread prospectively over the remaining life. |
ASSET_LEGAL_ENTITY_INVALID | Legal entity does not belong to this org | The legal_entity_id on a fixed-asset create is not a legal entity of the caller's org. The column's foreign key is not org-composite, so a foreign id would be accepted and the asset then silently unplaceable — its depreciation schedule is projected onto ITS entity's accounting period calendar, and its GL accounts resolve per entity, so an asset pointing at an entity the org does not own can never be placed in service and never appears in that entity's register. Send a legal_entity_id from GET /v1/legal-entities. |
ASSET_LIFE_UNRESOLVED | No depreciable life for this asset | The asset class depreciates (kind tangible or intangible) but no life could be resolved: life_months was not sent and the class has no default_life_months. This is the normal state of the lease-derived intangible classes (INPL, AMKT), whose life comes from the lease rather than from a class default — a null life means "not decided yet", never "does not depreciate". Send life_months on the placement, or set the class’s default_life_months. |
ASSET_LOCATION_INVALID | Asset location is not usable | The property_id / space_id a request names cannot hold this asset: the property or space does not exist in this org, the space belongs to a different property (spaces.property_id is the root property at every depth), a space was sent without its property, or the property belongs to a different legal entity than the one that holds the asset — on an intercompany transfer, the receiving entity. A transfer event never crosses legal entities: an asset moves between entities only through POST /v1/fixed-assets/{id}/intercompany-transfer, which closes it in one entity and opens its successor in the other. errors[].field names the id at fault. Send a property and space that exist in this org, belong together, and belong to the legal entity that holds (or will hold) the asset. A property with no legal entity of its own is accepted. |
ASSET_REVISE_BEFORE_IN_SERVICE | Revise effective before the asset was in service | A revise changes the estimate for depreciation that is ALREADY running, so its effective_date must be on or after the asset's in_service_date. A date before it makes the months-elapsed count negative, which would inflate the remaining life past the ASSET_REVISED_LIFE_ELAPSED guard rather than tripping it and spread the basis over months before the asset was ever in service. Send an effective_date on or after in_service_date. |
ASSET_REVISED_LIFE_ELAPSED | Revised life is already elapsed | A revise spreads the remaining net book value over the life REMAINING from its effective_date — life_months minus the months already run since the asset's in-service date. When that is zero or negative there is no forward window to spread into and the asset would be left with book value and an empty schedule. For a revise, send a larger life_months, a remaining_life_months, or an earlier effective_date; for a resume, send an earlier effective_date. This refusal also fires on a resume, which rejects life_months — there the only field that moves the arithmetic is the resume's own effective_date. |
ASSET_SALVAGE_EXCEEDS_COST | Salvage exceeds the cost basis | The depreciable basis is cost_basis − salvage_amount, so a salvage_amount above the asset’s cost basis makes it negative and the whole schedule would carry negative charges. Send a salvage_amount at or below cost_basis; equal to it is allowed and means a zero depreciable basis. The class-default path cannot reach this — default_salvage_pct is bounded to [0, 1] — only an explicit override can. |
ASSET_STILL_IN_CONSTRUCTION | Asset class is construction in progress | Placing an asset in service is exactly the moment it leaves construction, so the class it lands in cannot be the construction-in-progress class it is leaving. Send class_id naming the depreciable class the asset is being placed into. |
ASSET_SUSPENSION_WINDOW_INVALID | Suspension window dates are out of order | A suspension is the window between a suspend and the resume that lifts it, and the asset's remaining life is not consumed inside it — so the windows have to run forwards and in sequence, and each has to sit inside a life that is still running. Four refusals, all with the offending boundary in detail: a suspend before the asset's in_service_date (there is no clock to pause yet); a suspend dated on or before the resume that lifted the LAST suspension (the windows are sequential, and reaching back into a closed one erases its skipped rows and re-consumes the remaining life they deferred, leaving the schedule contradicting the asset's own event log — record a revise if the intent is to correct the estimate); a suspend dated once the asset's life is fully CONSUMED — its CHARGED months counted from the in-service date, which include a trailing part-month stub under mid_month, and under actual_days only when the asset went into service after the 1st, and EXTENDED by the months already spent suspended, which consume none — so there is no clock LEFT to pause, and every resume would then compute a negative remaining life and be refused too, leaving the asset stuck in suspended (send an earlier effective_date, record a revise with a larger life_months if the life was underestimated, or retire the asset with a dispose); and a resume before the suspension it ends (the re-spread tail would land earlier than the original schedule rather than later by the suspended months). Send an effective_date on the right side of the boundary named in detail. |
ASSET_TRANSFER_BEFORE_IN_SERVICE | Transfer dated before the asset was in service | An intercompany transfer hands the receiving entity the asset’s history from its placement on, so it cannot be dated before in_service_date. Date it on or after placement. A construction-in-progress asset has no in-service date and is never refused here. |
ASSET_TRANSFER_DESTINATION_INVALID | Transfer destination is not usable | destination_legal_entity_id cannot receive this asset, and context.reason says why: same_entity — it is the asset’s own legal entity (moving an asset inside one entity is a transfer event on POST /v1/fixed-assets/{id}/events); not_found — no legal entity with that id in this organization; inactive — the entity’s status is neither active nor in_process, the two statuses the ledger accepts a posting in. Nothing was posted. Pick an active legal entity of this organization other than the asset’s own. |
ATTENTION_MODULE_NOT_SWEPT | Work Center module has no sweep | A dry-run (POST /v1/work-items/policies/:module/dry-run) named a configurable module (context.module) that no sweep provider runs for: its work items come only from events and jobs, so there is no sweep to preview. Nothing is run or written. |
ATTENTION_MODULE_UNKNOWN | Unknown Work Center module | The module named in the request (context.module: the path of a policy write, the body of a routine series create) is not a Work Center module that can be configured. It must be one of the modules GET /v1/work-items/policies lists; attention itself is not configurable, because its sweep alerts are how the Work Center reports on the other modules. Nothing is written. |
BANK_ACCOUNT_ACH_NOT_CONFIGURED | Bank account has no ACH origination config | The run's bank account is missing one or more of ach_company_name, ach_company_id, ach_originating_routing_number. Configure ACH origination on the bank account before exporting. |
BANK_ACCOUNT_CURRENCY_MISMATCH | Bank account currency differs from its legal entity's | Every legal entity keeps its books in one currency (B5), so a bank account's currency_code must equal its legal entity's default_currency. context.bank_currency and context.entity_currency name both. Omit currency_code, or use the entity's currency. |
BANK_ACCOUNT_MERGE_LEGAL_ENTITY_MISMATCH | Bank accounts belong to different legal entities | Merging is only defined within one legal entity — each journal entry belongs to exactly one, so folding accounts across entities would misattribute their history. |
BANK_ACCOUNT_NOT_RECONCILABLE | Bank account not reconcilable | The bank account is missing a configured cash_account_id or legal_entity_id and cannot be reconciled. Configure the account first. |
BANK_ACCOUNT_VERIFICATION_EMPTY | Could not verify this account with the bank | A one-day fetch for the submitted account number and bank id returned no activity, so the account was not added. This can mean the account number is mistyped, or that the account genuinely has no recent activity — double-check the number before retrying. |
BANK_CONNECTION_CREDENTIALS_REJECTED | Bank connection credentials could not be verified | The connection was tested before anything was written or changed, and the test did not succeed. Nothing was persisted — correct the credentials and try again. |
BANK_CONNECTION_PROVIDER_ACCESS_BLOCKED | This server's IP address is not allowlisted with the provider | The provider refused the request because this server's source IP is not on its allowlist — the stored credentials were never evaluated. This is not a credentials problem: rotating the secret will not fix it. An administrator needs to allowlist this server's IP address with the bank, then retry. |
BANK_PROVIDER_HAS_NO_ADDRESSING | This provider has no account-import template | This provider's registry entry declares no addressing fields (it discovers its own accounts, e.g. Plaid via Link), so there is nothing a human types and nothing to build a CSV template from. There is no bulk-import path for this connection. |
BANK_PROVIDER_REQUIRES_SPARK_FLOW | This provider is connected through Plaid, not credentials | This provider's credential_owner is 'spark' — it is Acreum's own connection (e.g. Plaid Link), not a customer-provisioned bank relationship. Submitting credentials for it is never the right flow; connect it through its own onboarding path instead. |
BANK_TX_IC_TAG_IS_OWN_ENTITY | A bank transaction cannot be tagged for its own legal entity | A bank transaction's legal_entity_id is its intercompany counterparty — the other entity an intercompany settlement moves this cash to or from — and the value sent is the entity that owns the transaction's bank account. An intercompany settlement needs two different entities, so a line tagged for its own entity could never be settled, and the tag would still block every match, categorize, transfer and deposit on it. The owner never needs to be sent: it is always the bank account's entity (bank_account_legal_entity_id). Send a different entity's id to tag the line for intercompany, or null (or omit the field) for an ordinary transaction. |
BANK_TX_PARTY_IS_LEGAL_ENTITY | Party is one of the org's own legal entities | The party sent is the system-managed party of one of the org's own legal entities (context.legal_entity_id, context.legal_entity_name). A deposit, or an expense or sales receipt categorized from a bank line (context.mode: deposit or categorize), books on one entity only, so cash between two group entities recorded that way never reaches the other entity and no due-to / due-from moves. Record it with IC settle (POST /v1/banking/transactions/{id}/categorize-as-ic-settlement), which books both sides, or pick an outside party. Also returned when a categorize bank rule names such a party. Match is unaffected: paying an invoice issued to a sister entity is fine. |
CASH_FLOW_CATEGORY_REQUIRES_ASSET | cash_flow_category requires an asset account | Setting cash_flow_category to 'cash' is only valid on an asset account. Assigning it to an income, expense, liability, or equity account would let a non-asset balance join the cash set and corrupt the cash-flow statement's beginning/ending cash. |
CHARGE_EXPLANATION_UNSUPPORTED | This charge cannot be explained | Only percentage rent charges carry an explanation today. context.source names the charge's source and context.charge_id the charge. |
CONTRACT_AMENDMENT_AREA_NOT_YET_EFFECTIVE | Area change is not effective yet | The amendment's lease_terms_changes would change the lease's rentable area, and effective_on is after the organization's today. The rentable area is a single undated value, so writing it now would apply it before it takes effect. Record the area change on or after its effective date. |
CONTRACT_COUNTERPARTY_LEGAL_ENTITY_NOT_ALLOWED | Contract counterparty entity not allowed | A contract's counterparty_legal_entity_id becomes the intercompany tag of every document it bills, and consolidated reports eliminate every line tagged with a member of the group. context.reason says which rule refused it: own_entity (it equals the contract's legal_entity_id, so the contract would bill itself) or not_intercompany_billing (the contract could not bill an intercompany transaction, which both entities book: its billing model, context.billing_model, is not fee_based, or one of its lines has no destination account in the other entity; a plain invoice only one entity books is not supported). Returned by POST and PATCH /v1/contracts for contracts that are not fee_based (PATCH checks the values the write will carry; a management contract's parties come from its property, which cannot be managed by its owner), and when a contract is billed. |
CONTRACT_ENTITY_NOT_PROPERTY_OWNER | Contract entity does not own the linked property | A non-management (non-fee_based) lease's legal_entity_id must equal the property's own legal_entity_id (a NULL property owner is org-wide and always passes). A management contract's issuer is governed by assertManagementPartiesAgree instead, which reconciles against the property's manager, not its owner. Fires at create and PATCH, and anywhere contract_properties is (re)linked. |
COUNTERPARTY_MAPPING_PARTY_NOT_USABLE | Party cannot be mapped | A counterparty mapping can only point at an active party of this org. context.reason is not_found (no such party in the org) or inactive (the party was deactivated: reactivate it or pick another). context.party_id is the party sent. |
CURRENCY_MISMATCH | Currency mismatch | The credit and target documents must share the same currency_code. |
DEAL_CHECKLIST_INCOMPLETE | Deal checklist incomplete | One or more gating onboarding requirements (property details, contracting entity, owners, seller, at least one document) are not yet satisfied. See context.checklist for details. |
DEAL_CRITICAL_DATE_LABEL_IMMUTABLE | Standard critical-date label is immutable | Only custom critical-date entries can be renamed. Standard milestone labels are fixed. |
DEAL_CRITICAL_DATES_MAX_CUSTOM | Too many custom critical dates | A deal accepts at most 5 custom critical-date entries. Remove one before adding another. |
DEAL_KIND_IMMUTABLE | Deal kind is immutable | A deal keeps the kind it was created with. Create a new deal for a different kind. |
DEAL_ROLE_NOT_ALLOWED_FOR_KIND | Deal party role not allowed for this deal kind | On a disposition or internal transfer the org's own entity is the seller (seller_legal_entity_id), so the seller and current_owner party roles are refused there. context.deal_role and context.kind name the pair. |
DEAL_ROLE_UNKNOWN | Unknown deal party role | deal_role is not an active role in the organization's deal role catalog. |
DEAL_SIDE_NOT_ALLOWED_FOR_KIND | Side not allowed for this deal kind | A buyer- or seller-side field was set that this deal's kind does not use (for example a seller legal entity on an acquisition). context.field names it. |
DEAL_STAGE_CATALOG_INCOMPLETE | Deal stage catalog incomplete | The organization's deal stage catalog has no active stage for this move: no active, non-terminal stage for the deal's kind (create, reopen), or no active closed/dead stage (promote, drop). context.kind and context.stage_code name what is missing; re-provisioning the organization re-seeds the default catalog. |
DEFAULT_ACCOUNT_NOT_ELIGIBLE | Account cannot be a default for coding | An org-level default that pre-fills manual lines (a vendor's default_expense_account_id) must be an active account with no sub-accounts that is not an AR/AP control account. Raised by POST /v1/parties and PUT /v1/parties/{id} when the default changes; an unchanged default is not re-checked. context.reason is control_account (the account holds the accounts_payable or accounts_receivable system role), inactive, or parent_account (it has child accounts); context.account_id and context.account_label name it. Choose another account, or send null to clear the default. |
DEPRECIATION_PERIOD_NOT_ENDED | Accounting period has not ended yet | Run now was asked to depreciate a period that is still running — its end_date is today or later. Depreciation posts one document dated PERIOD END, so running a period early books a future-dated journal entry; and it stamps the period’s schedule rows posted, which freezes them: an add_cost, revise, suspend or resume recorded later in that same month can no longer rewrite the rows it should have, because a posted row is accounting truth and is never rewritten. The nightly job applies the same rule (it offers a period only once end_date is at or before the org’s yesterday), so this keeps the manual trigger and the automatic one in agreement rather than letting a button press produce a state the scheduler never would. Wait until the day after the period ends and run it then — or, if a run was already made early, void its document (which returns the rows to projected and frees the period’s slot) and run it again afterwards. The comparison is made in the ORG’s own time zone, not the server’s. |
DEPRECIATION_SCHEDULE_NOT_COMPUTABLE | Depreciation schedule cannot be computed | The schedule could not be computed, and detail carries which cause. Causes (1) and (2) are the engine refusing its inputs; causes (3) and (4) are detected before it runs. (1) A period that does not span whole calendar months — 4-4-5 and other custom calendars are not supported yet, because the schedule aggregates by calendar month and a period sharing a month with its neighbour would be double-counted. (2) An EFFECTIVE depreciation method other than straight_line: declining_balance_150 and declining_balance_200 are in the column's vocabulary and in no engine, so a class (or a revise) carrying one is refused at the point the method is resolved rather than part-way through a schedule. Set the method to straight_line. (3) The entity's accounting-period calendar does not cover the months the schedule needs: on a placement or add_cost, the IN-SERVICE MONTH itself has no period, or there is a GAP between it and the last month the calendar reaches — depreciation for a month no period covers is charged nowhere and folded nowhere, so it would simply be lost, and detail names the first missing month; on a revise or resume, whose spread is prospective with no catch-up, there is a HOLE inside the spread — a month with no period sitting between two months that have one. A calendar that simply STOPS before the end of the remaining life is accepted on every path: the months it covers are persisted and the schedule read projects the rest. Accounting periods are system-managed — a daily job tops up every legal entity's calendar automatically, and a new legal entity's first periods are seeded immediately on creation — so there is no caller-triggered endpoint to generate the missing months. If the calendar still doesn't reach the month the schedule needs, contact support rather than calling a generate route, which no longer exists. A calendar that starts at the in-service month and runs without holes is enough once it exists — it may stop before the life ends, and the schedule read projects the rest. (4) A backdated revise whose prospective window straddles periods that already carry a skipped row from a suspension. Those periods EXIST — writing the re-spread across them would collide on (asset_id, period_id), which is why they are excluded from the window in the first place — so this is not a calendar-coverage problem and generating periods would not help. detail names the gap months and the suspension; the remedy is an effective date after that suspension's periods. Note this cause is revise-only: resume does not exclude suspended periods from its window, so it cannot raise it. |
DIMENSION_ENTITY_MISMATCH | Dimension entity belongs to a different legal entity | A property or space dimension value belongs to a legal entity that does not own it. context.expected_legal_entity_id is the document's entity_id (header) or the line's legal_entity_id (line, falling back to the document's); context.entity_legal_entity_id is the property's own legal_entity_id — a space resolves through its root property, since a space carries no legal_entity_id of its own. A property with a NULL legal_entity_id is org-wide and always passes. |
DIMENSION_PARENT_REQUIRED | Parent dimension value required | A data_type='entity' dimension whose value_source has a parent (today: space → property) may only be answered when its parent dimension is answered in the same scope, with the row that actually owns it. Setting a Space without its Property leaves a value the document's cascade cannot display and no property-level report can reach. |
DIMENSION_REQUIRED | Dimension required | A dimension the org marks required (is_required on the dimension) that applies to this document type was not answered — on the document header, or on every line. An explicit null ("None") answers it; an absent key or an empty string does not. context.dimension_code names the dimension and context.context is 'header' or 'line' (the same key DIMENSION_ENTITY_MISMATCH uses). Documents the system generates are subject to it too — e.g. a fixed-asset disposal, a loan drawdown, or a contract invoice. |
DIMENSION_TRACKABLE_UNKNOWN | Dimension trackable value unknown | The submitted value for a data_type='entity' dimension is not a valid UUID, or does not name a row in this org for the dimension's configured value_source. |
DISTRIBUTION_BATCH_ITEM_NOT_EXECUTABLE | Batch item cannot be executed | An item whose ownership depth is undetermined, or whose entity has no cap table (no_cap_table), cannot be executed; context.item_ids names them. Nothing was submitted. |
DISTRIBUTION_POLICY_FIELD_FROM_TEMPLATE | Field comes from the distribution policy template | A template-based distribution policy reads its formula (cadence, due day, period lag, horizon, on-skip, basis, distribution type, base, upstream basis, cash guard) from its template, so those fields cannot be set on the policy (context.fields names the ones sent). Edit the template, or detach the policy to make it custom first. |
DISTRIBUTION_POLICY_TOO_MANY_ADJUSTMENTS | Distribution policy would hold too many adjustment lines | A distribution policy holds at most context.max_adjustments own adjustment lines, the most a PATCH accepts. Copying adjustments or detaching from a template writes the effective lines (the template’s plus the policy’s own) as own lines and is refused when that would exceed the cap (context.adjustment_count). Remove lines from the source first. |
DOCUMENT_COUNTERPARTY_IS_OWN_ENTITY | Counterparty is the entity the document books on | counterparty_legal_entity_id is the intercompany tag: the OTHER group entity a document or a line trades with. The value sent is the document's entity_id, the entity its lines book on (a journal entry books every line under it, whatever a line's legal_entity_id says). context.line_number is the 1-based line, or null for the header. Consolidated reports eliminate every income and expense line tagged with a member of the group, so the tag must name a different entity. Send another entity's id, or omit the field for an ordinary line. |
DOCUMENT_NOT_POSTED | Document not posted | The document must be posted before this action. |
DOCUMENT_PARTY_IS_LEGAL_ENTITY | Party is one of the org's own legal entities | The party_id of an expense, sales_receipt, journal_entry, invoice, bill, credit_memo or vendor_credit (context.document_type) is the system-managed party of one of the org's own legal entities (context.legal_entity_id, context.legal_entity_name). An expense and a sales_receipt book cash on one entity only, so cash between two group entities recorded that way never reaches the other entity and no due-to / due-from moves. Record cash between entities with IC settle (POST /v1/banking/transactions/{id}/categorize-as-ic-settlement), or a charge between them with an intercompany transaction (document_type: intercompany_transaction), or pick an outside party. A journal_entry is single-entity, so naming a sister entity would record the intercompany relationship on one side only; use an intercompany transaction or pick an outside party. An invoice, bill, credit_memo or vendor_credit books an ordinary receivable or payable on one entity, outside due-to / due-from, so the other entity records nothing and consolidation cannot eliminate it; use an intercompany transaction or pick an outside party. Returned on create, on a draft too, and on update, where an omitted party_id means the stored one, as does null, except on a journal_entry, where an explicit null removes the party; and on post or submit of a document that already names such a party; also by the AP pipeline's edit (a vendor_party_id pick) and accept, with document_type bill or vendor_credit. The party's own status does not matter. Payments and refunds may still name such a party: they settle documents written before this rule. |
DOCUMENT_SOURCE_FIELDS_RESERVED | Document source fields are reserved | source_type and source_id are derived server-side and cannot be supplied by API callers. Remove them from the request; documents created via the API are stamped source_type=api (or manual for signed-in users) automatically. |
DOCUMENT_TYPE_NOT_CREATABLE_HERE | Document type not creatable here | This document type must be created via its own origin endpoint, not via POST /v1/documents — e.g. a banking process, an invoice refund, POST /v1/distribution-declarations, or a future contributions orchestrator, depending on the type. |
DOCUMENT_TYPE_NOT_EDITABLE_HERE | Document type is not editable here | This document was written by an engine that also maintains state describing it — a loan schedule, a depreciation run, an asset register row. Editing it through the generic document endpoint reverses and re-posts its journal entry while that state still describes the original, and nothing reconciles the two. Correct it through the owning module, or void it and let the engine re-create it. |
DOCUMENT_TYPE_NOT_POSTABLE_HERE | Document type is not postable here | This document type posts only through its own module, which reads the state the journal entry depends on. An intercompany settlement posts via POST /v1/intercompany/settlements/:id/post. Refused before the document status changes. |
DOCUMENT_VOID_REQUIRES_MEMO | Void requires memo | Voiding a posted document requires a non-empty memo body field to describe the reversing journal entry. |
ENTITY_GROUP_WRONG_TYPE | Entity group type not allowed here | Reports, entity files and consolidation views accept consolidation groups only; payment groups are used by payment runs. Payment-run schedules accept payment groups only. |
EQUITY_BANK_TRANSACTION_ALREADY_LINKED | Bank transaction is already linked to a document | The bank transaction named by bank_transaction_id has already been turned into a document — it has a live primary match (it reads accounted, and its matches name what it became). One bank transaction is one movement of money: funding a second contribution from it would record the same dollars twice, as two posted documents with two capital events and a cash balance that reconciles to neither, with every individual entry still balancing. Revert the existing match first if it is the wrong one. |
EQUITY_BANK_TRANSACTION_NOT_SETTLEABLE | This bank transaction cannot fund this contribution | The bank transaction exists and is unlinked, but it still cannot settle this contribution. detail says which reason applies: it is excluded; it is still pending, so its amount and date can change upstream; it is tagged for intercompany settlement (clear the tag with PUT /v1/banking/transactions/{id}/classification and {"legal_entity_id": null}); its amount is not the contribution amount (sign included — a withdrawal never funds a contribution, and a different figure needs the residual allocation a bank match offers and this path does not); its bank account belongs to a different legal entity than the position; or its bank account has no cash account configured. |
EQUITY_BEFORE_LEDGER_START | Date is before the legal entity ledger start | effective_date falls before this legal entity's ledger_start_date, the day its books begin in this system. Everything earlier is covered by the opening balance, so a contribution dated before it would double count the capital it represents — silently, because both halves balance on their own. Distinct from POSTING_BEFORE_LEGAL_ENTITY_START, which is about operations_start_date (when the entity began to exist, not when its books began here). |
EQUITY_CAPITAL_STATEMENT_INPUT_INVALID | Capital statement window or as-recorded instant is invalid | CapitalStatementBuilder.build needs a window { start, endInclusive } — inclusive at BOTH ends (a half-open [start, end) daterange converts with end − 1 day) — of two real YYYY-MM-DD dates with start <= endInclusive, that does not cross the org's fiscal-year start (start on or after the fiscal-year start containing endInclusive, so the YTD column covers the whole period), and an asRecorded that is a full ISO-8601 instant with an explicit zone (Z or an offset) on a real calendar date. A date-only asRecorded would be read by Postgres as that day's midnight and silently drop everything recorded during the day — the same trap the capital-account read's DTO refuses. context.reason names which input failed: window_start_malformed, window_end_malformed, window_inverted, window_crosses_fiscal_year_start, as_recorded_not_an_instant or as_recorded_calendar_invalid. |
EQUITY_CLASS_ACCOUNT_INVALID | Equity class account is not usable | contributed_capital_account_id, when set, must reference an account that exists in this org, whose account_type_code is equity, and that is either org-wide or belongs to the same legal entity as the class. See errors[].field and detail for which check failed. |
EQUITY_CLASS_FIELD_FROZEN | Equity class field is frozen | kind and unit_based shape how a position on this class is interpreted (unit price vs. dollar-denominated, GP/LP/common/preferred/co-invest waterfall treatment). Once the class has at least one equity position, changing either would silently reinterpret that position's history, so both freeze. Close the class and create a new one instead. |
EQUITY_CONTRIBUTION_EXCEEDS_COMMITMENT | Contribution exceeds the unfunded commitment | amount is larger than the position's unfunded_commitment. This is a soft gate, the same shape as the cash-shortfall override on distribution declarations: resend with acknowledge_over_commitment: true to record it anyway, and the acknowledgement is written onto the document memo. A position with NO stated commitment (commitment_amount is null) is not gated at all: there is no commitment to exceed, so the contribution is recorded without the flag. |
EQUITY_CONTRIBUTION_LEGAL_ENTITY_MISMATCH | The contribution and the position disagree on the legal entity | The capital_contribution document posted to one legal entity, and the equity position it funds belongs to another. Recording the event against either one would leave the general ledger and the capital account disagreeing with nothing to say so, so the balance change is refused — point the document at a position on the same legal entity, or correct the position. |
EQUITY_CONTRIBUTION_POSITION_NOT_FOUND | No equity position claims this capital contribution | The balance on a capital_contribution document moved, but no equity position is linked to it — and every capital event has to name the position it belongs to. The balance change is refused rather than recorded without its subledger event, because committing one without the other leaves the general ledger and the capital account disagreeing with nothing to say so. |
EQUITY_MIRROR_COUNTERPARTY_MISSING | The parent mirror does not name its subsidiary | An investment_in_subsidiary document records the parent's half of an intercompany capital contribution, so it has to name the subsidiary it funds. Without one the posting would write two intercompany bridge lines that the consolidation elimination can never match, and the consolidated balance sheet would double count the group's capital — silently, with every individual entry balanced. The post is refused rather than written: set the document's counterparty legal entity to the subsidiary receiving the contribution. |
EQUITY_OPENING_BALANCE_EMPTY | Every opening-balance bucket is zero | The request is well-formed and would record no capital event at all. Returning 201 with an empty event_ids would report a successful onboarding that wrote nothing, so it is refused instead. Send at least one bucket with a non-zero amount; a position that genuinely holds nothing needs no opening balance, because the position itself already says so. |
EQUITY_OPENING_BALANCE_OFFSET_EMPTY | No capital bucket for the offsetting entry to offset | post_offsetting_entry posts DR opening_balance_equity / CR contributed_capital for the capital bucket, and only that bucket has a general-ledger side: pref is a memo accrual and never a liability, and profit / promote / unallocated reach the ledger when they are distributed, not when they are opened. Asking for the offset with no non-zero capital amount is refused rather than silently ignored, because an operator converting a live general ledger is checking that the entry exists. |
EQUITY_OPENING_BALANCE_ZERO_AMOUNT | An opening balance of zero records no capital event | A bucket opening at 0.00 states nothing the bucket's absence does not already state, and capital_events is append-only — the row could not be taken back out. Omit the bucket instead. This is the writer's own invariant; a request whose buckets are ALL zero is refused as EQUITY_OPENING_BALANCE_EMPTY. |
EQUITY_POSITION_CLASS_LEGAL_ENTITY_MISMATCH | Equity class belongs to a different legal entity | equity_class_id resolves to a class that exists in the org, but its legal_entity_id does not match the legal_entity_id on this request. |
EQUITY_POSITION_COMMITMENT_CLEAR_REFUSED | Commitment cannot be cleared on a funded position | commitment_amount: null clears the commitment, but unfunded_commitment is the materialised commitment_amount − contributed — so clearing it on a position that has already taken money would materialise a negative unfunded commitment. Set commitment_amount to a figure at or above contributed, or redeem the position instead. |
EQUITY_POSITION_HOLDER_IS_SELF | A legal entity cannot hold a position in itself | The holder of this position is the party record of the position's OWN legal entity, so the entity would be investing in itself. Recording it would post both halves of an intercompany contribution onto the same books — DR intercompany due from / CR contributed capital, then DR investment in subsidiary / CR intercompany due to — with the entity named as its own counterparty, which the consolidation elimination would then try to net against itself. Point the position at the party that actually holds it, or, for a genuine intercompany contribution, at the PARENT entity's party record. |
EQUITY_POSITION_NOT_ACTIVE | Equity position is not active | position_id resolves to a position in this org that is no longer active — redeemed, transferred out, or defaulted. A position IS the capital account, and a closed one has had its economics settled, so taking money into it would move an account the cap table has stopped counting. Re-admit the holder on a new position and contribute there instead. |
EQUITY_REVERSAL_PERIOD_BLOCKED | An accounting period will not take this reversal | Reversing an intercompany contribution touches the contribution, its mirror on the parent's books and every payment that settled either — several documents across two legal entities, each posting its reversing journal entry into its OWN period, so the refusal names which one blocked: the document, its legal entity and its date. A locked period is absolute and a missing one fails closed. A closed period is NOT a refusal on this path — the void's memo is handed to the period gate as the override reason, so the reversal is written and a period.override_post audit row is recorded against each entity's reversing entry. |
EQUITY_REVERSAL_TARGET_NOT_FOUND | No capital event left to reverse | A negative balance delta on this document reverses contributions already recorded against it, and every reversal event has to name the one it reverses through reverses_event_id. The writer looks for a set of the still-unreversed contribution events on this document whose amounts sum exactly to the magnitude of the delta, trying the smallest sets first, and writes one reversal per member. No such set exists here: what is left on the document cannot add up to the delta, the events that could are already reversed (capital_events_reverses_uq allows one reversal per event), or the document produced none. |
EQUITY_SUBSIDIARY_PARTY_NOT_FOUND | The subsidiary has no party record | The holder of this position is one of the org's own legal entities, so the contribution has to be mirrored onto that parent's books as an investment_in_subsidiary — and that document's counterparty is the subsidiary AS A PARTY, which this org has no record of. Every legal entity created through POST /v1/legal-entities gets one automatically, so a missing one means the entity arrived another way (an import, a fixture). The whole contribution is refused rather than recording the subsidiary's half alone: one side of an intercompany contribution is not a state these books may reach. Create a party record for the subsidiary legal entity and retry. |
EQUITY_WATERFALL_VERSION_INVALID | Waterfall version is invalid | A waterfall version failed validation. context.issues lists every problem as an entry with tierKey (null when it concerns the whole version), code and detail; fix them and resubmit. Codes: residual_not_last (the last tier is not pro_rata), priority_rate_missing (a rate-based priority tier has no rate steps), priority_amount_missing (a fixed_amount priority tier has no amount), tier_identity_duplicate (two tiers share a key or sequence), rate_out_of_range (a rate is outside [0, 1]), mixed_weight_basis (a tier mixes ownership_pct and units participants), no_version_effective (no version is effective on the as-of date), tier_without_holder (a tier has money to place but no participant holds a weight), measure_changed (a tier key changes its measure between versions). |
EQUITY_ZERO_BALANCE_DELTA | A zero balance delta records no capital event | The capital subledger writes one event per balance change, and a change of zero is not one. The document balance path only notifies subscribers when the balance actually moved, so a zero delta reaching the writer is a bug at the caller — refused rather than written, because an append-only ledger cannot take a 0.00 row back out. |
ESCALATION_APPLIES_TO_PSF_UNSUPPORTED | Per-square-foot escalation cannot be decided yet | This config's applies_to is amount_psf, but a contract term stores an amount_cents, not a rate and an area. Applying the factor to the stored amount would produce a believable wrong number, and psf_nearest_cent rounding applies to the rate before it meets square footage, never to the product. The clause is valid and the proposal is real; only the decision is blocked. Change applies_to to amount, or wait for per-square-foot support. |
ESCALATION_CONTRACT_HAS_NO_PROPERTY | Contract has no property to stage a charge against | An index-linked escalation clause needs the lease to be linked to a property: charges.property_id is NOT NULL and billing collects the shelf one property at a time, so a lease with no contract_properties link has nowhere for a reset's true-up to land. Raised by PUT /v1/contracts/{id}/terms/{termId}/escalation-config on such a lease, by POST /v1/contracts/{id}/activate when the lease carries a clause, by PATCH /v1/contracts/{id} when location_ids: [] would remove the last link while a clause hangs off the lease, and (as a backstop) when an escalation is accepted or overridden. Link the lease to its property with PATCH /v1/contracts/{id} (location_ids), then retry; or delete the clause first with DELETE /v1/contracts/{id}/terms/{termId}/escalation-config. |
ESCALATION_MIXED_COMPARISONS | Simple escalation mixes index comparisons | This escalation's formula uses compounding: original_base (simple escalation) with index legs measured two different ways: some yoy, some cumulative_from_base. Simple escalation multiplies the original rent by the sum of each year's growth for a yoy leg, but by the factor alone for a cumulative_from_base leg, which is already measured from the base month; a formula mixing them has no single correct amount, and picking one would produce a believable wrong rent. New configs are refused this shape; this one predates the rule. Replace the config through PUT /v1/contracts/{id}/terms/{termId}/escalation-config with every index leg measured the same way, then decide the new proposal. |
ESCALATION_SERIES_UNKNOWN | Unknown reference rate series | series_id names no row in the index catalog (reference_rate_series). It must be the catalog row's UUID, not the publisher's own series identifier — CUUR0000SA0 is a BLS series id, not a catalog id. List the catalog and use the id it returns. |
ESCALATION_TERM_NOT_BILLABLE | Contract term cannot carry an escalated amount | The term this escalation is attached to is missing something the true-up needs: an amount_cents (there is no base for the factor to multiply) or an item_id (there is no income account for the true-up to post to, and an escalation must post to the same account as the term it adjusts). Fix the term through PATCH /v1/contracts/{id} and decide the escalation again. |
ESCALATION_TERM_OFF_CADENCE | Index-linked escalation on an off-cadence term | The term carries its own billing frequency, different from the lease's. Such a term bills in arrears — at the end of the period it covers, priced at the invoice date — so a reset falling inside that period would bill the whole period at the new rent. Index-linked escalation is only available on a term that bills on the lease's cadence. Remove the term's own billing frequency, or use fixed or stepped escalation. |
ESCALATION_TERM_UNKNOWN | Unknown contract term | The escalation config names a term_id that does not exist. Configs are keyed to a contract term, and term ids are returned by GET /v1/contracts/{id}. |
FIXED_ASSET_IMPORT_FILE_INVALID | Legacy asset import file is invalid | The uploaded legacy fixed-asset CSV cannot be read as a whole, so nothing was staged: it is empty, not valid UTF-8, larger than 4 MiB, delimited with something other than commas, has an unbalanced quote or a row whose field count differs from the header, or its header misses a required column, repeats a column or names a column the template does not have. detail names the problem and the fix. Problems inside individual rows are not this error: they are reported per row in the staged preview. Download the template again, fix the file and upload it again. |
FIXED_ASSET_IMPORT_TOO_MANY_ROWS | Legacy asset import has too many rows | The uploaded legacy fixed-asset CSV has more than 5,000 data rows, so nothing was staged. Split the file into batches of at most 5,000 rows (any order — each asset carries its own legacy_ref) and upload them one by one. |
IC_SETTLEMENT_BANK_TRANSACTION_INVALID | The bank transaction does not match this settlement | bank_transaction_id names an open bank transaction on a bank of one of the two parties, but it is not this settlement's wire. detail says which rule failed: its sign disagrees with the side its bank is on (the payer's — from_entity_id — bank must show an outflow, a negative amount; the payee's — to_entity_id — bank an inflow); its absolute amount is not total_amount; its bank account's currency is not the settlement's (the from-entity's); or its bank account has no cash account configured, so the settlement's cash leg has nowhere to post. Also returned when a settlement created with auto_post: false is posted after one of its linked banks lost its cash account. Nothing was written. |
IC_SETTLEMENT_DATED_BEFORE_SOURCE | Settlement is dated before a transaction it settles | A manual application names an intercompany transaction whose document_date is after the settlement's document_date. A settlement clears what the pair owes on its own date, so settling a transaction booked later would reverse the pair's due-from/due-to on any balance sheet dated in between. detail names the document and both dates. Date the settlement on or after the transaction, or leave the transaction out. Nothing was written. |
IC_SETTLEMENT_NOTHING_TO_SETTLE | No open intercompany transactions to settle | FIFO found no open intercompany transaction between the two entities dated on or before the settlement's document_date in which the to_entity_id is owed by the from_entity_id (the From entity is the one that pays; the reverse direction is only netted against it). Transactions dated after the settlement are not owed yet on its date, and amounts that settlements still waiting to post already claim are not available. detail names the settlement date and the direction. Nothing was written. |
IC_SETTLEMENT_PAIRED_TRANSACTION_INVALID | The paired bank transaction does not match this settlement | paired_transaction_id names the other side of the wire — the counterpart line on the other party's bank — and it must fit: it exists in this organization; it is not the bank_transaction_id line itself; it is not pending; its bank account belongs to the settlement party that is NOT the first line's bank entity (not the same entity, and not a third one); its amount is the first line's amount with the opposite sign; its bank account's currency is the settlement's; and its bank account has a cash account configured. It also requires a bank_transaction_id. detail says which rule failed. Nothing was written: neither line is linked and no settlement document is created. |
IMPERSONATION_TTL_EXCEEDED | Impersonation TTL exceeded | ttl_minutes must be between 1 and 60. Supply a value within the allowed range. |
INVALID_ASSIGNEE | Invalid assignee | An assignment must reference exactly one assignee — either a user (employee) or a party (vendor), not both and not neither. |
INVALID_RECONCILIATION_LINE | Invalid reconciliation line | The journal line cannot be cleared against this reconciliation — it is not a clearable cash line for the account being reconciled. |
INVALID_STATE_TRANSITION | Invalid budget version state transition | The requested lifecycle transition is not valid from the version's current status. Legal edges: draft→submitted, submitted→approved, {draft,submitted,approved}→archived; approved→active only happens via the activate endpoint. |
INVALID_TICKET_SCOPE | Invalid ticket scope | scope must be "ticket" or "track", and scope_id must reference the matching parent. Exactly one of a ticket or a track may be targeted. |
LEASABLE_PATH_CONFLICT | Leasable path conflict | Fix 7's D5 invariant has two halves. This is the CEILING: at most one leasable node per root-to-leaf path. A property and a space beneath it cannot both be leasable, because then one lease could be counted at two levels and every occupancy and square-footage roll-up would double-count. Clear is_leasable on the other node first, or make this one unleasable instead. The FLOOR is the other half — a property must carry at least one leasable node somewhere, or nothing about it can ever be rented or counted; it is enforced on delete (which restores the parent when the last leasable space goes) and reported by leasing.no_leasable_location. Note the floor is per PROPERTY, not per path: a path ending in a mechanical room legitimately has no leasable node on it. |
LEASE_INCOME_REQUIRES_PROPERTY | active_leases requires a property scope | The 'active_leases' derivation method cannot be assigned to the entity-level (no-property) cell — leases are property-scoped, so a property_id is required. |
LEASE_RESOLUTION_UNRESOLVABLE | Lease term cannot be resolved | A term's stored shape cannot produce an amount for the requested date — never defaulted, always surfaced. |
LEDGER_ENTRY_REFUSED | Journal entry refused by the ledger gate | Every journal entry passes one set of rules before it is written. context.rule names the one it broke: account_org_mismatch, account_inactive, account_not_leaf (a parent account that holds no system role), control_account_manual (a manual journal on AR/AP), entity_not_active, entity_not_in_scope (the caller may not write to this entity), unbalanced, too_few_lines, clearance_mismatch, lines_already_written (a second attempt to write lines for the same journal entry), reversal_not_mirror (a reversesJournalEntryId was set but the new lines are not the original's effective lines with debit/credit swapped, line by line — each new line must name the original line it negates in reversesJournalLineId, every original line exactly once — in the same org and legal entity; also returned when a line names a reversed line on an entry that is not a reversal. The reversal exemption from R6/R7 is earned, not claimed), no_transaction (a journal entry header was opened outside an active database transaction), currency_mismatch (the entry's currency differs from its legal entity's default — one currency per entity). context.line_index and context.account_id identify the line when there is one. An account of another entity is reported as ACCOUNT_LEGAL_ENTITY_MISMATCH instead. account_org_mismatch is also returned when a configuration that names an account for later automated posting is SAVED and the account is missing or in another org; context.legal_entity_id is then the configuration's entity, null for an org-level one. |
LEGAL_ENTITY_MISMATCH | Legal entity mismatch | The credit and target documents must belong to the same legal entity. |
LOAN_AMENDMENT_EFFECTIVE_DATE_INVALID | Amendment effective date is invalid | context.reason: in_future (record an amendment when it takes effect — on or before the org today, context.bound), before_origination, or before_rate_generation (a rate change may not start before the rate-term generation in force, which starts on context.bound). |
LOAN_AMENDMENT_TERMS_INVALID | Amendment terms are invalid | context.field names the term and context.detail says why: nothing changed on a type that must change a term, a term on a record-only type (covenant_waiver, other), custom amortization (not available), io_then_amortizing without io_end_date, balloon without balloon_amortization_months, a maturity on or before the effective date or the last kept period, a variable rate term without effective_rate, or (field effective_date) a reset already written on the effective date that the amended rate terms cannot price. |
LOAN_DEBT_SERVICE_PAIRING_MISMATCH | Debt service payment and bill belong to different loans | A debt_service_payment may only be applied to a debt_service_bill of the same loan. The type pairing alone is not enough: settling one loan's bill with another loan's payment balances on both sides and leaves neither loan's schedule any record of it. |
LOAN_DEBT_SERVICE_PAYMENT_NOT_APPLICABLE | Debt service payment cannot be applied by hand | A debt_service_payment cannot be the payer of a manual payment application. Its unapplied balance is the principal it repaid, which settles no document; applying it to a bill would pay that period's interest with principal. The loans engine applies each payment to its own period's bill. To pay a loan, record a loan payment (POST /v1/loans/{id}/payments). |
LOAN_DEFAULT_DATE_INVALID | Loan default date invalid | The date (context.date) crosses context.bound: in_future (after the org's today), before_origination, before_previous_cure (a new default before the latest cure — windows never overlap) or before_declared (a cure before the open window's declaration). |
LOAN_DEFAULT_UPLIFT_NOT_SET | Loan default uplift not set | The loan's delinquency terms carry no default_rate_uplift. Set it (PUT /v1/loans/{id}/delinquency-terms) before declaring a default. |
LOAN_ESCROW_ACCOUNT_NOT_ALLOWED | Account cannot hold this escrow | An escrow's own account must be an asset account for a borrower loan (a liability account for a lender loan), must not be a bank's cash account, and must carry no system role other than the side's escrow role ('loan_escrow_asset' / 'loan_escrow_liability'). |
LOAN_ESCROW_ADJUSTMENT_DIRECTION_REQUIRED | Escrow adjustment needs a direction | An escrow movement of kind adjustment must say direction: 'increase' moves money into the escrow, 'decrease' takes it out. |
LOAN_ESCROW_BANK_LINE_INVALID | Bank transaction cannot back this escrow movement | The bank transaction must be settled (not pending), on a bank of the loan’s legal entity with a cash account and the loan’s currency, in the movement’s direction and for exactly its amount; only draws, refunds and lender disbursements take one (context.reason). |
LOAN_ESCROW_BANK_LINE_REQUIRED | Bank transaction required | The offset is a bank’s cash account. Record the movement with the bank transaction (bank_transaction_id) it arrived as, so the bank line is reconciled by the same act instead of being recorded again from the feed. |
LOAN_ESCROW_BILL_NOT_PAYABLE | Bill cannot be paid from this escrow | The bill named by bill_document_id must be a posted AP bill of the loan’s legal entity and currency with an open balance of at least the amount (context.reason: not_found, not_a_bill, not_posted, no_open_balance, legal_entity, currency, amount_exceeds_balance). |
LOAN_ESCROW_CLOSE_BEFORE_BILLED | Escrow close precedes a billed period | An escrow's closed_at must be strictly after the latest billed due date of its loan: closed_at is the first day with no deposit, and a billed period keeps the deposit its bill carried. |
LOAN_ESCROW_CLOSE_LEAVES_UNBILLED_DEPOSIT | Escrow close leaves an unbilled deposit | A period due before closed_at is not billed yet and still owes a deposit into this escrow, which would post money onto a closed escrow. Bill that period (record its statement) first, or close the escrow on or before its due date. |
LOAN_ESCROW_DEPOSIT_BEFORE_BILLED | Deposit letter precedes a billed period | A deposit letter may not take effect before the latest period that has already been billed. |
LOAN_ESCROW_INSUFFICIENT_BALANCE | Escrow balance too low | A disbursement, draw or refund may not take an escrow below zero (context.balance held, context.amount asked). Record an adjustment if the lender advanced the money. |
LOAN_ESCROW_MOVEMENT_KIND_NOT_ALLOWED | Escrow movement kind not allowed here | A borrower records a disbursement through …/disbursements (an AP bill or an expense account); a lender records it through …/movements with kind disbursement (cash). |
LOAN_ESCROW_OFFSET_ACCOUNT_INVALID | Offset account does not fit the escrow movement | Draw, refund and a lender disbursement offset against cash; interest against income (borrower) or expense (lender); a borrower disbursement without a bill against an expense account. Never the escrow’s own account, the loan’s own principal, interest or accrued-interest account (loan_account), a control account or (without its bank line) a bank’s cash account. context.reason names the rule. |
LOAN_ESCROW_STATEMENT_UNKNOWN_ESCROW | Statement names an unknown escrow | The statement's escrow figures name an escrow that is not active on this loan for the period. |
LOAN_EVENT_SPINE_MISSING | Loan period has no schedule row | The financial event being posted has no live loan_events row behind it, so the period's expected principal / interest / escrow / fees cannot be read. Regenerate the loan's schedule and retry. |
LOAN_EXTENSION_OPTIONS_INVALID | Extension option set is invalid | context.option_number and context.field name the offending option and field; context.detail says why: numbers start at 1 and are unique, extended_maturity_date must strictly increase by option number and exceed the loan maturity, notice_deadline_days must be at least 1, and notice_window_start_days must exceed notice_deadline_days. |
LOAN_HEDGE_INVALID_TERMS | Loan hedge terms are invalid | The swap or cap terms cannot be accepted; context.reasons lists every problem. |
LOAN_HEDGE_NOT_SUPPORTED | Loan hedge not supported | Hedges attach only to floating-rate borrower loans, and v1 supports index rates fixed in advance only (term_1m, term_3m, term_6m, na). |
LOAN_HEDGE_SETTLEMENT_ROW_INVALID | Not a live settlement period of this hedge | A hedge settlement is recorded on a live settlement period of the same hedge. The period is superseded (a terminated or moved hedge), belongs to another hedge, or is not a hedge period. |
LOAN_PAYMENT_BEFORE_ORIGINATION | Loan payment date is before origination | A loan payment cannot be dated before the loan's origination date: there is no principal to repay and no accrual to correct yet. Pick a date on or after context.origination_date. |
LOAN_PAYMENT_DATE_IN_FUTURE | Loan payment date is in the future | A recorded payment cannot be dated after the org's today (in the org's time zone). Pick a date on or before context.today. |
LOAN_PAYMENT_EXCEEDS_OUTSTANDING | Loan payment exceeds what the due periods owe | A loan payment can fill only periods due on or before the org's today (the recording date); context.outstanding is what they still owe. Record extra principal as a prepayment. |
LOAN_PAYMENT_SPLIT_INVALID | Loan payment split is invalid | The lender split does not fit the open periods. context.reason is one of not_oldest_first, bucket_overpaid, sum_mismatch, unknown_period or not_positive; context.detail names the row. |
LOAN_PERIOD_HAS_NO_AMOUNT | Loan period has no amount | The period carries neither principal nor interest, so there is no debt service payment to make. |
LOAN_PERIOD_HAS_NOTHING_TO_BILL | Loan period has nothing to bill | A debt service bill recognises interest, escrow and fees — never principal. This period carries none of them, so there is no obligation to bill. |
LOAN_PREPAYMENT_BEFORE_ACCRUED_THROUGH | Prepayment dated before the last accrual | The loan's interest accruals already cover a date on or after the prepayment's effective_date, so a curtailment dated earlier would leave those accruals priced on the pre-curtailment balance; truing them up is not supported yet. context.accrued_through is the earliest date accepted. |
LOAN_PREPAYMENT_DEFEASANCE_COST_REQUIRED | Defeasance cost required | The effective date falls in a defeasance row of the loan's prepayment terms. Defeasance is priced, never executed: send the cost in defeasance_cost. context.terms_id names the row. |
LOAN_PREPAYMENT_EXCEEDS_OUTSTANDING | Prepayment is not less than the outstanding principal | A curtailment must be strictly less than the outstanding principal, shown in context.outstanding_principal; use POST /v1/loans/{id}/payoff for the whole balance. |
LOAN_PREPAYMENT_TERMS_OVERLAP | Prepayment windows overlap | Two rows of PUT /v1/loans/{id}/prepayment-terms cover a common date. Windows are inclusive of start_date and end_date, so a shared day overlaps. context.first / context.second name the pair; nothing was saved. |
LOAN_PREPAYMENT_YIELD_REQUIRED | Treasury yield required for a yield-maintenance prepayment | The effective date falls in a yield_maintenance row of the loan's prepayment terms. The penalty is the greater of the row's penalty_pct floor and the present value of the lost spread, discounted at the Treasury yield the caller supplies in treasury_yield (same unit as the loan's rate). There is no rate feed. context.terms_id names the row. |
LOAN_PRINCIPAL_BASIS_UNAVAILABLE | Loan outstanding principal cannot be derived | Outstanding principal is read off the loan's principal account, disambiguated by the loan dimension. One of those is missing for this org — no loan dimension row, or no loan_account_id and no notes_payable / notes_receivable system-role account — so the balance cannot be derived. Accruals, schedule regeneration and payoff all price off it, so the operation is refused rather than priced off the original funded amount. |
LOAN_RATE_TERMS_MISSING | Loan has no rate terms on the date | No rate-terms row of the loan is in force on context.as_of, so interest on that date cannot be priced. Add rate terms covering the date. |
LOAN_SHARE_ALLOCATION_SIGN_FLIPPED | Loan share allocation produced a part of the wrong sign | Splitting this leg across the loan's participants produced a part whose sign is opposite to the leg's — each part rounds half-away-from-zero on its own, they all round the same way, and the residue rule hands the whole overshoot to the largest share. A leg too small to divide across this many participants cannot be split; reduce the participant count for the period, or bill the components together. |
LOCATION_LEASED | Location is leased | A location carrying a live lease cannot be subdivided or made unleasable. Subdivision is a post-vacancy workflow: end or terminate the lease first, then subdivide. A lease is live when it has started on or before today and has not ended, where the end is the earlier of end_date and termination_date. |
MATCH_PAYMENT_AMOUNT_MISMATCH | Match payment amount mismatch | The bank transaction amount does not equal the payment document total. Reconciling a bank transaction to an existing payment requires an exact match. |
MATCH_REFUND_AMOUNT_MISMATCH | Refund match amount mismatch | Matching a bank transaction to refunds books a refund payment for exactly the bank amount, so the amounts must agree. context.reason names the rule: applied_amount_differs (applied_amount is not the bank amount), exceeds_refund_balance (the amount is more than the refund still owes), applications_total_differs (the refund applications do not add up to the bank amount) or residual_lines_not_allowed (a refund match cannot book a difference to another account). |
MATCH_TARGET_ALREADY_SETTLED | Match target already settled | The selected invoice or bill has no outstanding balance. It was already settled by one or more posted payments. Match the bank transaction to one of those payments instead. |
METHOD_ACCOUNT_NOT_INCOME | Account is not an income account | The 'active_leases' derivation method can only be assigned to an income account — it sums a property's active leases' escalated fixed rent. |
MISSING_SYSTEM_ROLE_ACCOUNT | Missing system-role account | The org's chart of accounts does not have an account configured with the required system_role (accounts_receivable / accounts_payable / cash_operating). Configure the account before posting documents that need it. |
NO_ENDING_BALANCE | Statement has no ending balance | The statement import (context.import_id) carries no ending balance, so its period end has nothing to be confirmed against. Upload a statement that shows its balance, or reconcile manually. |
NO_OPEN_PERIOD_FOR_PLACEMENT | No accounting periods exist for this entity | The asset's legal entity has no accounting periods at all, so there is no timeline to project a depreciation schedule onto. Accounting periods are system-managed — born from a daily job that tops up every legal entity's calendar and from a create-time hook that seeds a new legal entity's first periods immediately — so there is no caller-triggered endpoint to generate them. If a legal entity still has none, contact support rather than calling a generate route, which no longer exists. |
ORG_AP_STRAIGHT_THROUGH_NEGATIVE | Straight-through ceiling is negative | ap_straight_through_max_amount is the largest bill total the AP pipeline may accept without a person. It must be zero or more; send null to turn straight-through processing off. |
ORG_INDUSTRY_REQUIRED | Org industry required | The org has no industry provisioning can determine — no seeded (system) catalog, and nothing or unrecognised text stored — and the industry decides which catalogs are seeded. Send industry in the request. |
OWNERSHIP_MAX_DEPTH | Ownership look-through max depth exceeded | A look-through path exceeds the maximum supported depth of 10 hops. Flatten the ownership graph or split the chain so no path traverses more than 10 nested legal entities. |
PAIRED_PAYMENT_NOT_RECORDABLE | The other side of this in-group payment cannot be recorded | Paying one side of an in-group capital document (a distribution leg or receipt, a contribution or its investment mirror) also records the other entity’s payment in the same transaction. When that cannot be done nothing is saved. context.reason is document_missing, document_short, already_paired, no_bank_account or period_closed; context.document_id is the document being paid and context.partner_document_id its pair. Fix the cause on the other entity (open the period, set its default bank account) or pay a smaller amount, then retry. |
PARTY_MISMATCH | Party mismatch | The credit and target documents must belong to the same party. Customer A’s credit memo cannot be applied to Customer B’s invoice. |
PAYMENT_NOT_BANK_RECONCILABLE | Payment did not move this bank’s cash | Matching a bank line to an existing payment needs the payment’s posted journal entry to have a line on this bank account’s cash account (context.cash_account_id). A payment made from another account — a loan escrow, a clearing account — is not this bank’s cash and cannot be reconciled by it. |
PAYMENT_RUN_ACH_FILE_EMPTY | No entity of this bank can be written into the file | Every entity that originates through this routing number is left out of the file — for the reason its own download would give. context.excluded lists each entity with that reason (the error code) and the message; fix them, or download them one by one to see the full refusal. |
PAYMENT_RUN_ACH_VENDORS_NOT_PAYABLE | ACH vendors cannot be paid by this entity’s file | A vendor whose payment method was frozen as ACH at submit has missing or invalid bank details (no routing or account number, or a routing number failing the ABA check), so the entity’s NACHA file cannot pay it. The file is refused rather than built without the vendor — marking the entity paid afterwards would post a payment no file made. context.vendors names them. Add the vendor’s bank details, or release the entity, then download again. |
PAYMENT_RUN_AMOUNT_EXCEEDS_BALANCE | Requested amount exceeds bill balance | A per-bill amount_to_pay (create, add-bills, or PATCH .../bills/:billId) must be > 0 and <= the bill’s LIVE balance_amount at the time of the request. context.offending_bills lists each bill, the requested amount, and its live balance. |
PAYMENT_RUN_APPROVER_ACCOUNT_NOT_ELIGIBLE | This account cannot pay the entity in the run | An account_changes entry names an account the entity cannot pay this run from: another entity’s (other_entity), another currency’s (currency_mismatch), deactivated or unknown (inactive), or not linked to a GL cash account (no_cash_account). context.reason says which; context.legal_entity_id and context.bank_account_id name the pair. Choose one of the entity’s eligible accounts. |
PAYMENT_RUN_APPROVER_CHANGE_EMPTIES_RUN | An approver cannot remove every bill | Edit and approve would leave the run with no bill. Reject the run instead. context.payment_run_id names the run. |
PAYMENT_RUN_APPROVER_CHANGE_INCREASE | An approver cannot add bills or raise amounts | POST /v1/payment-runs/{id}/approval-requests/{requestId}/approve-with-changes only makes a pending run smaller: an amount_changes entry above the bill’s current amount to pay (its amount_to_pay, else its open balance), or one naming a bill the run does not hold, is refused. context.bill_ids names them. Reject the run so it can be changed and sent again. |
PAYMENT_RUN_BANK_ACCOUNT_MISSING_CASH_ACCOUNT | Bank account has no GL cash account | The selected bank account has no cash_account_id, so generated payments could not post. Link a GL cash account to the bank account first. |
PAYMENT_RUN_BANK_NOT_MOOV_LINKED | Bank account is not linked to Moov | The funding bank account is not linked to Moov as a payment method, so there is nothing to debit for a Spark Pay send. Link the account to Moov from its Payments settings, then retry. Raised over an existing run by send-payments, and BEFORE any run exists by pay-with-spark-pay, which pre-flights the link so an unlinked account never creates a run that could not send. The NACHA export remains available for a run that already exists. |
PAYMENT_RUN_BILL_NOT_ELIGIBLE | Bill not eligible for a payment run | One or more bills fail the eligibility criteria: must be a posted bill with balance_amount > 0, a vendor party, and the same legal entity and currency as the run’s bank account. context.bill_ids lists the offenders. |
PAYMENT_RUN_CURRENCY_MISMATCH | Bill currency does not match the run | Every bill in a run must share the run’s currency, which the run takes from its first bill’s legal entity. context.bill_ids lists the offenders. |
PAYMENT_RUN_DEFAULT_ACCOUNT_NOT_ELIGIBLE | Bank account cannot be this entity’s default for payments | A legal entity's default paying account must be one a payment run could pay it from: the entity's own, active, in the entity's currency, with a linked GL cash account. Raised by PATCH /v1/payment-run-default-accounts/{legalEntityId}. context.legal_entity_id and context.bank_account_id name the pair. Choose one of the accounts GET /v1/payment-run-default-accounts lists in eligible_accounts, or send null to clear the default. |
PAYMENT_RUN_ENTITY_ACCOUNT_INVALID | Bank account cannot pay this entity in the run | The chosen bank account cannot pay this entity's bills: it belongs to another legal entity (other_entity) or is not in the run's currency (currency_mismatch). Submit re-checks every entity's account and also refuses one deactivated (inactive) or unlinked from its GL cash account (no_cash_account) since it was chosen. context.reason says which; context.legal_entity_id/legal_entity_name and context.bank_account_id name the pair. Choose one of the entity's own active accounts in the run currency. |
PAYMENT_RUN_ENTITY_ACCOUNT_REQUIRED | An entity in the run has no paying bank account | Every legal entity in a payment run pays from its own bank account. Without a choice, an entity pays from its default paying account while that account is still eligible, else from its only eligible account; one with several eligible accounts and no usable default needs a choice. Raised by submit, naming the entities still without one in context.entities. Choose each account with PATCH /v1/payment-runs/{id}/entities/{legalEntityId}, then submit again. |
PAYMENT_RUN_LEGAL_ENTITY_MISMATCH | Bill legal entity does not match the run | A bill is not in one of the legal entities the run checks it against. A run spans several entities and each bill joins its own entity’s row, so adding bills does not normally raise this; it is a defensive refusal. A bill found outside the run’s entities at submit or payment is reported as PAYMENT_RUN_GENERATION_STALE_BILLS. context.bill_ids lists the offenders. |
PAYMENT_RUN_NO_ACH_ENTRIES | No ACH-eligible vendors in this payment run | Every vendor in the run is either configured for check payment or has no usable ACH bank details (missing routing/account number or a routing number that fails the ABA check-digit validation). |
PAYMENT_RUN_NOT_APPROVED | Payment run is not approved | The ACH export is only available for runs in approved status — submit and approve the run first. |
PAYMENT_RUN_OWNERS_WITHOUT_TAX_ID | Owners paid by ACH have no tax ID type | An owner distribution paid by ACH needs the owner’s tax ID type (SSN for a person, EIN for a business) so the NACHA file uses the right class (PPD or CCD). Raised by submit, naming the owners in context.owners. Set each owner’s tax ID type, or remove their distributions from the run, then submit again. In-group entities are exempt. |
PAYMENT_RUN_SCHEDULE_GROUP_UNAVAILABLE | A payment group in the schedule's scope is gone | A payment group named in the schedule's scope was deleted or archived, so the legal entities it stood for cannot be resolved. Raised by POST /v1/payment-run-schedules/preview; a scheduled execution records it as a failed result with this code. context.group_id names the group. Remove the group from the schedule's scope, or restore it. |
PAYMENT_RUN_SCHEDULE_OWNER_INVALID | This user cannot own the payment run schedule | A schedule creates and submits its runs in its owner's name, so the owner must be a live member of the organization (context.reason = owner_inactive) who may create payment runs (payment-runs:write; owner_forbidden). Checked when a schedule is created, when its owner changes and when it is resumed. context.owner_user_id names the user. Choose another owner. |
PAYMENT_RUN_SCHEDULE_OWNER_OUT_OF_SCOPE | The owner cannot access the schedule's legal entities | A schedule's owner must be allowed every legal entity in its scope and every current member of every payment group in it, or the runs it builds would leave those entities out. context.owner_user_id names the owner and context.legal_entity_ids the entities they cannot access. Choose another owner, or remove those entities or groups from the scope. |
PAYMENT_RUN_TOO_MANY_BILLS | Too many bills in one payment run | A run holds at most 200 bills in v1 so completion-time generation stays a bounded synchronous transaction. Split into multiple runs. |
PAYMENT_RUN_VENDORS_NOT_PAYABLE | Vendors are not set up for payments | One or more vendors on the run have no bank account linked to Moov, so Spark Pay has nothing to credit them. Raised by send-payments BEFORE any job is enqueued and before the rail is claimed, mirroring PAYMENT_RUN_BANK_NOT_MOOV_LINKED on the funding side — without it an unpayable vendor surfaced only as a failed background job, after the operator had been told the run was sent. The whole send is refused rather than paying the payable subset. Enrol the vendors for payments, or remove their bills from the run, then send again. The NACHA export remains available. |
PAYMENT_RUN_VENDORS_WITHOUT_METHOD | Vendors in the run have no payment method | Every vendor in a submitted run needs a payment method (ACH, wire or check), so nothing is paid or posted without anyone knowing which rail paid it. Raised by submit, naming the vendors in context.vendors. Set each vendor’s method, or remove its bills from the run, then submit again. |
PAYMENTS_BANK_ACCOUNT_NOT_LINKABLE | Bank account cannot be linked for payments | This bank account has no live Plaid connection, so there is no way to verify it. Funds are pulled from this side and Moov only permits debits from a verified account — connect the bank through Plaid first. |
PAYMENTS_BUSINESS_TYPE_INVALID | Business type invalid | The supplied business_type is not one Moov accepts. context.valid_business_types lists the accepted values. |
PAYMENTS_BUSINESS_TYPE_REQUIRED | Business type required | This legal entity's entity_type has no unambiguous Moov equivalent, so the user must choose one before payments can be enabled. context.valid_business_types lists the accepted values. |
PAYMENTS_FUNDING_ACCOUNT_DISABLED | That bank account can no longer fund payments | Moov will not debit the bank account behind this funding source — most often after an ACH return. Which return code decides which remedy: R07 and R16 error the account, while R05, R08, R11, R17 and R23 leave it verificationFailed instead. Read context.required_action: add_different_bank_account when Moov reports the account errored, because Moov documents that state as never re-verifiable and re-linking cannot restore it; reverify when Moov reports verificationFailed, which Moov documents as re-verifiable — that account can come back and must not be replaced. A method Moov has DROPPED from its list is not a third ending: both endings drop it, because ach-debit-fund requires a verified bank account, so the state is resolved against the record Moov keeps for the dropped method itself, and provider_state: absent means only that even that read did not answer — its remedy is then a hedge (the step that works either way), not a claim that the account is gone for good. Either way this is deliberately raised where the call used to report already_linked: true. context.bank_account_id names the account and context.provider_state says which of the three states Moov reported. |
PAYMENTS_IDEMPOTENCY_KEY_REUSED | That idempotency key belongs to a different payment | The key is already claimed by a payment with a different legal entity, vendor or amount. Keys are unique per org, so replaying the stored transfer would both disclose another payment and report this request as sent when nothing was. Mint one key per payment intent. Nothing about the payment holding the key is disclosed. |
PAYMENTS_SOURCE_BANK_AMBIGUOUS | Which bank account should fund this payment? | The legal entity has more than one bank account linked for payments, so bank_account_id is required. Defaulting would debit whichever account the database returned first, and two identical requests could draw from different accounts. context.bank_account_ids lists the eligible ones. |
PAYMENTS_SOURCE_BANK_NOT_ELIGIBLE | That bank account cannot fund this payment | The supplied bank_account_id is unknown, inactive, not linked to Moov, or belongs to another legal entity. Distinct from PAYMENTS_SOURCE_BANK_NOT_LINKED, which means the entity has no linked bank at all. |
PAYMENTS_VENDOR_BANK_MISSING | Vendor has no usable ACH bank details | This vendor has no party bank account with payment_method = ach and a stored account number, so there is no destination to credit. Add their routing and account numbers. The vendor is not contacted and their bank does not need to be verified — receiving a credit requires neither. |
PERCENTAGE_RENT_ADJUSTMENT_KIND_INVALID | Adjustment kind not allowed on this line | interest and audit_costs adjustments are allowed only on an audit line; any line takes a manual one. context.line_id and context.kind name the refused pair. |
PERCENTAGE_RENT_AUDIT_COSTS_NOT_RECOVERABLE | Audit costs are not recoverable | Audit costs are charged only when the lease config has audit_costs_recoverable and the understatement (the audit line’s qualifying sales over the approved annual or termination line’s) exceeds audit_threshold_bp (a null threshold: any understatement). context.reason: config_not_recoverable, below_threshold, or not_computed (a line has no computation). |
PERCENTAGE_RENT_AUDIT_INVALID | Percentage rent audit run cannot be created | An audit run needs notes, the audit finding (context.reason = notes_required), and at least one measurement year ending in the window with an approved annual or termination line (nothing_to_audit): bill the year normally first, then audit it. |
PERCENTAGE_RENT_CONFIG_BACKDATED | Percentage rent config starts before the live version | effective_from is before the start of the live percentage rent config version. Versions only move forward: save with the live start date to replace it, or a later date to start a new version. context.live_effective_from names the live start. |
PERCENTAGE_RENT_CONFIG_INVALID | Percentage rent config is not valid | The percentage rent config broke a rule a field validator cannot see. context.violations[] lists each as { code, message, rule_id }, where rule_id is rules[<index>] of the request when the violation is about one rule. Codes: rate_required, stated_amount_required, tiers_required, tiers_not_ascending, category_not_in_sales_config (a rule names a category the lease's sales config does not report), category_in_two_rules, natural_without_base_rent (a natural breakpoint on a lease with no fixed base rent), natural_term_not_base_rent (a natural_breakpoint_rent_term_ids entry is not a fixed base-rent term of this lease), cliff_requires_breakpoint, shared_group_mismatch, shared_group_single_rule, tiered_cannot_share, allocation_unsupported (per_category is not supported yet), closure_invalid. |
PERCENTAGE_RENT_ESTIMATE_NOT_ALLOWED | Sales estimates cannot be written | Estimates are written only for months a blocked line is missing, on a lease whose late-estimate setting is on, by a person. |
PERCENTAGE_RENT_ITEM_INVALID | Percentage rent item is not usable | item_id must name an active, non-archived income item of the org: percentage rent credits that item's default income account. |
PERCENTAGE_RENT_LINE_NOT_APPROVABLE | Percentage rent line is blocked | A blocked line cannot be approved. context.line_id names it and context.block_reasons lists why: missing_sales, unmapped_category, natural_breakpoint_no_base_rent, rule_category_not_in_sales_config, engine_input, earlier_window_unapproved (an earlier interim window of the same year is not approved, whatever its charge: approve it first), annual_line_exists (an interim line of a year that already has an annual line: the annual line trues the whole year up, so this interim never bills), later_line_approved (a later line of the same year in another run is approved; naming such a line answers 409 PERCENTAGE_RENT_LATER_LINE_APPROVED instead). Fix the cause and recompute. |
PERCENTAGE_RENT_SALES_CONFIG_REQUIRED | Lease has no sales config | Percentage rent is computed from reported sales, so the lease needs a sales config first. Create it with PUT /v1/contracts/{id}/sales-config, then save the percentage rent config. A management agreement can have neither: only a lease reports sales. |
PERCENTAGE_RENT_TAX_RATE_INVALID | Percentage rent tax rate is not usable | tax_rate_id must name an active tax rate of the org, or be null. |
PLAN_DUPLICATE_REF | Duplicate step ref | Two steps in the plan use the same ref. Give the step named by pointer a ref no other step uses, and update the references to it. |
PLAN_REF_FORWARD | Reference to a later step | A step refers to its own response or to a step that runs after it. Move the referenced step earlier, or change the reference at pointer to an earlier step. |
PLAN_REF_UNRESOLVED | Reference did not resolve | A reference names a value the earlier step's response does not have. Fix the JSON pointer in the reference at pointer to match that response's shape. |
PLAN_ROUTE_NOT_PLANNABLE | Route not plannable | This step calls a route that cannot run inside a plan. Change the step to a plannable route (see GET /v1/plans/capabilities) or run the call outside the plan. |
PORTAL_NO_AUDIENCE | Package would have no recipients | No one would receive a statement for this window. An entity with equity positions publishes to every position with a balance at the window's end or capital activity during it; an entity without them publishes to the ultimate owners behind its entity_ownerships rows in force during the window. context.world is the world that came up empty (equity or ownership), or null when the entity has neither positions nor ownerships. Record the cap table, or choose another window. Also raised when an exclusion would leave a draft package with no included recipient, or when a refresh would (everyone it now resolves to is excluded); re-include someone, or discard the package. |
PORTAL_PERIOD_NOT_CLOSED | Window is not closed in the books | A package can only cover a window the legal entity's books are closed through. context.visible_through is the last closed date (null when nothing is closed yet), and context.blocked_by names what stops it moving further, in the same shape as GET /v1/legal-entities/{id}/portal/visible-through and readiness check period_closed: {kind, period_id, period_name, month_label}, every key always present and null where the kind does not use it. kind is open_period (close the period period_id / period_name), missing_period (create and close the accounting period for month_label — also returned when the window starts before the ledger's first period) or no_periods (the entity has no accounting periods yet). context.outside_ledger is true when the window starts before the entity's ledger begins: closing periods cannot fix that, so choose a later window. Otherwise close the books through the window's last day, then retry. |
PORTAL_READINESS_FAILED | Package is not ready to publish | Publishing needs every readiness check green, or amber with a reason supplied in amber_reasons under that check's key. context.checks lists the checks that blocked it, each {key, severity, detail}: fix every red one (red cannot be overridden), add a reason for every amber one, then request publishing again. GET …/packages/{packageId}/readiness shows the full list. |
PORTAL_SCOPE_ENTITY_NOT_EXPOSED | Portal scope names an unexposed entity | A 'selected' entity_scope_mode named one or more legal entities the party is not exposed to (no equity position, no ownership stake, no package statement). List the party's exposed entities with GET /v1/parties/:id/portal-access/exposure first. |
RECONCILIATION_ADJUST_FAILED | Reconciliation adjustment failed | The reconciliation adjustment could not be applied. Review the supplied adjustment details and retry. |
RECONCILIATION_ADJUST_REVERSAL_FAILED | Reconciliation adjustment reversal failed | The reconciliation references an adjustment journal entry with no backing document to reverse. The adjustment cannot be safely undone. |
RECONCILIATION_BEGINNING_BALANCE_LOCKED | Beginning balance can only be set on a first reconciliation | The beginning balance of the reconciliation (context.reconciliation_id) cannot be edited because the bank account already has a completed reconciliation; each period starts from the previous period's ending balance. Omit beginning_balance, or undo the earlier reconciliations first. |
RECONCILIATION_NOT_BALANCED | Reconciliation not balanced | The cleared balance does not equal the statement ending balance. Resolve the difference before completing the reconciliation. |
REFUND_EXCEEDS_REFUNDABLE_AMOUNT | Refund exceeds refundable amount | You can only refund cash actually received against the invoice. The requested refund (plus prior refunds) exceeds the payment_in applications on this invoice; credit memos applied to it do not count. Refund a smaller amount, void a prior refund, or apply a payment first. |
ROUTINE_SERIES_ITEM_TYPE_INVALID | Item type is not a type of the series module | A routine series may only list work-item types its own module declares. context.item_type is the refused entry and context.module the series' module: the type belongs to another module, or no provider declares it. Nothing is written. |
SALES_CONFIG_INVALID | Sales config is not valid | The sales config or category-mapping payload broke a rule a field validator cannot see. See detail and errors[]. The rules: fiscal_year_end_month is required, as an integer 1-12, exactly when measurement_basis is tenant_fiscal; categories lists at least one category, each at most once, and each must be an ACTIVE category of the org; every allowed_deductions entry is one of sales_tax, returns, employee_discounts, comps, gift_card_sales, third_party_delivery_commission, ecommerce, other; a mapping names a category of the org, ends after it starts, and one source label may not map twice on the same day. |
SALES_CONFIG_NOT_A_LEASE | Only a lease reports sales | Sales reporting (and the percentage rent computed from it) is set up only on a lease: a contract whose type is not fee_based. A management agreement has no tenant who reports sales. |
SALES_IMPORT_FILE_INVALID | Sales import file cannot be read | The CSV has no header, is missing a required column (contract_ref, period_start, period_end, category, gross), has more than 5,000 rows, or cannot be tokenized. context.problem names which. |
SALES_REMINDER_NO_RECIPIENT | Tenant has no reminder recipient | The lease's tenant has no active contact with receives_notices set, so a reminder has no one to go to. Add or update a contact on the tenant party first. |
SALES_REMINDER_NOT_OWED | No sales report reminder is owed | A reminder can be sent only for a period on the lease's sales reporting calendar that has ended and has no current submitted report: not for a period off the calendar, still running (upcoming), already received (or restated), or covered by an estimate. |
SALES_REPORT_BULK_INVALID | Bulk sales reports are not valid | At least one row of a bulk submit failed, so nothing was written. context.errors lists each failing row as { contract_id, code, message }, where code is the error the row would have raised on its own (e.g. SALES_REPORT_LINES_INVALID, SALES_REPORT_PERIOD_ALREADY_REPORTED, SALES_REPORT_DRAFT_EXISTS, SALES_REPORT_OFF_CALENDAR, SALES_CONFIG_NOT_FOUND, NOT_FOUND) or DUPLICATE_CONTRACT for a contract listed twice. |
SALES_REPORT_LINES_INVALID | Sales report lines are not valid | The report's lines broke a rule. See errors[]. The rules: each line's category is one the lease's sales config requires, at most once per report; gross_amount is a decimal string with at most 2 decimals (it may be negative); each deductions key is one of sales_tax, returns, employee_discounts, comps, gift_card_sales, third_party_delivery_commission, ecommerce, other, and each value a non-negative decimal string with at most 2 decimals; and on submit every category the config requires has a line. |
SALES_REPORT_OFF_CALENDAR | Sales report period is off the reporting calendar | The period is not one the lease's sales config defines: it must be exactly one reporting period of the config's cadence (monthly, quarterly, or the measurement year for annual), or one measurement year with is_annual_statement: true when the config requires annual statements, clipped to the reporting start date and the lease's occupancy end. |
SCHEDULED_DISTRIBUTION_ADJUSTMENT_REASON_REQUIRED | Adjustment reason required | A modified amount needs a reason. |
SCHEDULED_DISTRIBUTION_FLAG_UNACKNOWLEDGED | Scheduled distribution exceeds available cash | The item exceeds available cash; approve it with acknowledge_cash_shortfall: true (context.cash_shortfall). |
SCOPE_TARGET_MISMATCH | Scope target mismatch | The referenced ticket or track belongs to a different tenant, or a track does not belong to the referenced ticket. |
SECURITY_GROUP_INVALID_RESOURCE | Invalid permission resource | A permission grant's resource is neither a key from the resource catalog nor the wildcard '*'. |
SECURITY_LOCKOUT_PREVENTED | Security lockout prevented | This security-group change would leave zero org members with the admin:roles scope, which would make the org unmanageable. The change was not applied. |
STATEMENT_PERIOD_END_BEFORE_LAST_LINE | Statement period end is before its last line | The period end sent for the statement import (context.import_id) is before the date of the statement's last parsed line (context.last_line_date). A statement cannot end before its own last transaction. Confirm that date or a later one. |
SYSTEM_ROLE_INCOMPATIBLE_DETAIL_TYPE | Account detail type not allowed for this system role | Each system role lists the account detail types it may sit on (its own code plus a few equivalents, e.g. a cash role on a bank account). The account named does not have one of them, so the role would post to the wrong kind of account (G14). detail names the allowed list. |
SYSTEM_ROLE_INCOMPATIBLE_TYPE | System role incompatible with account type | The target account's account_type_code is not in the role's compatible-types list. For example, the accounts_receivable role requires an Asset account. |
TICKET_NOTE_VISIBILITY_INVALID | Invalid note visibility | A note scoped to a track cannot be marked visibility "public" — only ticket-scoped notes may be public. |
TICKET_OWNER_PARTICIPATION_INVALID | Invalid owner participation | participation_pct must be between 0 and 100, and an owner may reference at most one of a user or a party. |
TICKET_REFERENCE_NOT_FOUND | Referenced entity not found | A referenced party, trackable, legal entity, or user does not exist or belongs to another tenant. |
TRIAL_BALANCE_PERIOD_SPANS_FISCAL_YEARS | Trial balance period spans fiscal years | A trial balance period must start and end in the same fiscal year, because income and expense accounts restart at the fiscal-year boundary. Split the request at the boundary given in context, or use mode=as_of. |
VENDOR_IDENTIFIER_DERIVED | Vendor identifier is derived | A bank_fingerprint identifier is derived from the party's bank account: it is added, replaced and removed with the bank account and cannot be created, re-statused or deleted directly. Change the party's bank account instead. |
WORK_ITEM_NOT_AGGREGATE | Work item is not an aggregate | Only an aggregate work item (aggregate: true) has subjects to list or act on. |
WORK_ITEM_REVIEW_REFUSED | Work item cannot be marked reviewed | Marking an item reviewed ("seen, nothing to do yet", spec §4.3) is allowed only for an open or snoozed item in a routine objective, the undated group included. context.reason is not_routine (its objective is a deadline objective, or it has none) or not_active (dismissed or resolved). |
ZERO_AMOUNT_DOCUMENT_LINE | Document line has a zero amount | A posted document line must carry a non-zero amount: journal lines require exactly one of debit/credit to be greater than zero, so a 0.00 line cannot be posted and would reject the whole document. Remove the line or give it its real amount. Drafts may still hold an unpriced line; the check runs at posting. |
428 — Precondition Required
code | Title | When |
|---|---|---|
AP_INVOICE_PRECONDITION_REQUIRED | AP invoice version required | PATCH /v1/ap-invoices/{id} needs an X-Ap-Invoice-Version header carrying the item version from the read the edit is based on. The request is well-formed; it is the precondition that is missing. |
MCP_CONFIRMATION_REQUIRED | Confirmation required | The operation is high-risk and the org's AI-connector level is full: nothing ran. A person must confirm it in Acreum at context.confirm_url (it shows context.summary) before context.expires_at (15 minutes). Then re-send the identical request with the header X-Connector-Confirmation: <context.confirmation_id>; any change to the request needs a new confirmation. |
PRECONDITION_REQUIRED | Precondition required | The route requires an If-Match header carrying the ETag from a prior read. The request is well-formed; it is the precondition that is missing. |
429 — Too Many Requests
code | Title | When |
|---|---|---|
MCP_RATE_LIMITED | AI connector rate limit reached | This user made too many connector requests in the window. Retry after the interval in the Retry-After header (context.retry_after_seconds). |
RATE_LIMITED | Rate limited | Too many requests. Retry after the interval indicated by the Retry-After header. |
500 — Internal Server Error
code | Title | When |
|---|---|---|
BANK_PROVIDER_CONTRACT_VIOLATED | A bank provider broke its own port contract | An internal guard in the sync fired: the provider declared an unrecognised syncMode, declared 'windowed' without implementing fetchTransactions, or returned a transaction with no externalId or for an account the pull never requested. None of these is reachable from user input - they mean a provider adapter is wrong, and the sync refuses rather than writing a row it cannot attribute. Not actionable by the caller; it exists so the failure carries a code instead of a bare Error. |
CONTRACT_AMENDMENT_PREVIEW_IN_TRANSACTION | Amendment preview called inside a transaction | The amendment preview records the real amendment and then rolls its own transaction back. Inside an outer transaction it would join that transaction instead of opening one, so the rollback could not undo the amendment and the outer commit would record it for real. The preview refuses to run there. This is a bug in the calling code, not a bad request; contact support. |
CONTRACT_AMENDMENT_PREVIEW_NOT_ROLLED_BACK | Amendment preview did not roll back | The amendment preview finished its transaction without the rollback it relies on, so it has no preview to return and cannot confirm the amendment was undone. This is a bug in this system, not a bad request; contact support. |
CONTRACT_INVOICE_LINE_TERM_MISMATCH | Contract invoice lines and their terms do not line up | When billing generates a contract invoice it records which contract term produced each line, by pairing the invoice's lines (in line order) with the term ids the document builder returned. If the two lists differ in length the pairing would tag lines with the wrong term, and the index-linked true-up would then read the wrong amount for a term. The generator refuses instead: the event's transaction rolls back, no invoice is created, and the event is cancelled with this code. Nothing the caller sent is wrong — the builder and the document engine disagree about how many lines the invoice has — so retrying reads the same state. Contact support; context carries the document's line count and the number of term ids. |
CONTRACT_PENDING_CHARGE_CLAIM_SHORT | A pending charge on a rent invoice could not be claimed | When billing generates a rent invoice it carries the contract's pending escalation true-ups as extra lines, locking those charges for the length of the invoice's transaction and then marking each one billed onto the invoice. If fewer charges are marked than the invoice carries, another path billed or settled one of them while it was locked, and issuing the invoice would bill that charge twice. The generator refuses instead: the event's transaction rolls back, no invoice is created, and the event is cancelled with this code. Nothing the caller sent is wrong, so contact support; context carries the contract, the document, the charge ids and how many were claimed. |
DISTRIBUTION_EXECUTION_ERROR | Scheduled distribution could not be executed | Declaring the item failed with an unexpected error on every attempt of its job; it is recorded on the item as its error. Retry the item once the cause is fixed. |
EQUITY_CAPITAL_ACCOUNT_BALANCE_MISSING | No capital account balances row exists for this position | capital_account_balances is created atomically with its position, so an org-scoped write finding no row means that invariant has already been broken elsewhere in this org's data, not that the caller named something wrong. If you see this error, contact support — the rebuild command is the documented repair path. |
EQUITY_CAPITAL_EVENT_UNFOLDABLE | A capital event history cannot be folded into a balance | foldCapitalEvents turns a position's capital_events stream into its capital account, and every reader of that ledger calls it — the per-position capital account read, the over-commitment guard on the contribution write path, the position update, the post-commit materialiser and the rebuild command. It refuses, rather than guessing, on five combinations: a capital_events.kind/bucket pair it was never taught, a reversal whose reverses_event_id is absent from the set it was handed, a reversal of a redemption / transfer_out (whose column accumulates an absolute value and no writer has settled the netting sign; a reversal of a distribution is netted, because the distribution hook writes it as the negation of the target), a reversal of a distribution whose amount is not that exact negation, and a reversal of another reversal. Nothing the caller sent is wrong: the data is in a state the application's vocabulary cannot describe, and retrying reads the same rows. If you see this error, contact support — context carries a reason discriminator plus the offending eventId, kind and bucket (and, for a refused reversal, its target's id, kind and bucket). Every refusal that escapes the fold names its row: the ones raised from the kind/bucket mapping are re-thrown with the row being folded attached, so eventId is always present. Note that scripts/rebuild-capital-balances.ts deliberately SKIPS the positions this refuses, so the condition does not clear itself; the offending rows have to be classified first. |
EQUITY_DISTRIBUTION_AMOUNT_NOT_NEGATIVE | Distribution amount must be negative | CapitalEventWriterService.recordDistribution refuses a zero or positive amount. capital_events_sign_check allows a distribution of zero or less; the writer is stricter and refuses zero too, because a distribution is capital leaving the position and a zero row records nothing. This is reached from DistributionCapitalService with an amount distribution-capital-split.ts already derived, never a caller-supplied body, so a non-negative amount here is a bug in this system's own sign arithmetic, not a bad request. |
EQUITY_TIE_OUT_UNCLASSIFIED_EVENT | The GL tie-out met a capital event it cannot classify | The general-ledger tie-out on GET /v1/legal-entities/{id}/equity sums capital-account events with the sign the ledger moved in. It refuses, rather than guessing, on a capital_events.kind this release does not know (the database's CHECK constraint and the application's vocabulary have drifted apart), and on every row foldCapitalEvents itself refuses — an untaught kind/bucket pair, or a reversal whose target is missing, is itself a reversal, or is a redemption / transfer_out whose netting convention nobody has decided. The refusal set is DERIVED from the fold rather than re-spelled, because the two readers of this ledger must refuse the same combinations: the alternative is a silent difference reported against correct books. Since PR 0.6's review round 5 this does not reach the wire from the equity summary — that route contains it, answers 200 and reports tie_out: null beside a tie_out_unavailable carrying this code. You will not meet this code on a response: both callers contain it, so it reaches you as tie_out_unavailable.code on the equity summary or as an equity.capital_tie_out_unavailable work item. Either way, contact support; context names the offending kinds. |
EQUITY_WATERFALL_MEASURE_MISSING | Waterfall income measure missing | A priority tier needed an income measure (net_income or noi) for a window and none was supplied. The caller derives the windows from the engine's own request, so this is a bug in this system, not a bad request. context names the measure and the from / to window; contact support. |
EQUITY_WATERFALL_SPLIT_INVARIANT | Waterfall split does not sum to the amount | The lines the waterfall engine produced do not sum to the amount being distributed. The engine's own arithmetic guarantees the sum, so this is a bug in this system, not a bad request. context carries the amount and the linesTotal; contact support. |
INTERNAL_ERROR | Internal error | An unexpected error occurred. The incident has been recorded with request_id. |
LOAN_ACCRUAL_SOURCE_MISMATCH | Loan accrual built for a different loan | A loan accrual was about to be posted and filed under a loan whose id is not the document's source. Posting it would move one loan's interest into another's accrued-through date and bills, so it was refused. |
LOAN_ACTUAL_LINK_OUTSIDE_TRANSACTION | Loan actual link attempted outside a transaction | Handing a loan period's slot from its bill to its payment supersedes one row and inserts another; both must commit together. The link was refused because no transaction was open. |
LOAN_EXTENSION_OPTIONS_REPLACE_OUTSIDE_TRANSACTION | Loan extension options replace attempted outside a transaction | Replacing a loan's extension options is a delete followed by an insert, which must commit together. The write was refused because no transaction was open. |
LOAN_PARTICIPANT_REPLACE_OUTSIDE_TRANSACTION | Loan participant replace attempted outside a transaction | Replacing a loan's participant set reconciles it across several statements — a delete, an update per surviving frozen row, and an insert — which must commit together, or a failure partway leaves the loan bearing some of its participants, or nobody, with every later allocation silently following whatever survived. The write was refused because no transaction was open. |
LOAN_PAYMENT_BILL_MISSING | Loan payment has no bill to apply to | A period payment was asked to apply money to the period's bill, but the period has no active posted bill. The allocation only fills the bill bucket when a posted bill owes it, so this is an internal invariant breach; the transaction is rolled back. |
LOAN_PREPAYMENT_TERMS_REPLACE_OUTSIDE_TRANSACTION | Loan prepayment terms replace attempted outside a transaction | Replacing a loan's prepayment terms is a delete followed by an insert, which must commit together, or a failure partway leaves the loan with no terms — which reads as open prepayment at no penalty. The write was refused because no transaction was open. |
LOAN_SHARE_FREEZE_HOLDER_MISSING | Loan share freeze could not find its actual | The period actual a participant-share snapshot was about to be written for is not among the period's actuals. It was linked in the same transaction, so this is an internal invariant breach; the transaction is rolled back. |
LOAN_SHARE_FREEZE_OUTSIDE_TRANSACTION | Loan share freeze attempted outside a transaction | A posted loan period freezes the participant allocation it was built from. That snapshot has to commit with the document it explains, or the period's money is in the ledger with no record of how it was split. The freeze was refused because no transaction was open. |
LOAN_SLOT_RELEASE_OUTSIDE_TRANSACTION | Loan slot release attempted outside a transaction | Releasing a voided document's loan period slot voids one row and reinstates another; both must commit together, or the period is left with no active actual and reads as if its document had been voided when one is still live. The release was refused because no transaction was open. |
PERIOD_MISSING | No accounting period exists for date | No accounting period covers the submitted date for this legal entity, even though the date is on or after the entity's operations_start_date. The daily period-generation job should auto-materialize forward periods; if you see this error, the system is in an inconsistent state. Contact support. |
PLAN_RAW_DB_ACCESS | Route not safe for plans | This step reached the database outside the plan transaction, so the step failed and its writes were not kept; steps that do not depend on it still ran. This is a server defect in the route the step calls, not a problem with the plan; report it to the operator. |
PORTAL_SNAPSHOT_INVALID | Published statement could not be read | A published statement is missing a field, or holds one in an unexpected shape, so it cannot be shown. A server-side data problem, not a caller error; retrying will not help. context.statement_id and context.field name the statement and the field. |
PUBLICATION_DAY_COUNT_INVALID | Publication-day count is not a whole number of days | A SOFR lookback is counted back in publication days (weekdays that are not a SIFMA recommended full close or a Good Friday), and the count must be an integer of zero or more. Loan and hedge terms validate lookback_days before it reaches the calendar, so this is an internal error, not a request field to correct. |
RENT_ADJUSTMENT_TARGET_MISSING | Rent adjustment has no target invoice | A rent adjustment event names no invoice event to adjust (adjusts_event_id is empty). Every rent adjustment is created against the invoice month it corrects, so this is a data defect in this system, not a bad request; contact support. |
SALES_REMINDER_INSIDE_TRANSACTION | Sales report reminder sent inside a transaction | A sales report reminder records its send row before calling the email provider, and that row must commit on its own; the send was refused because a transaction was open. An internal invariant, not a request error. |
WORK_ITEM_KEY_HEAD_MISMATCH | Work-item key not headed by its type | A producer tried to write a work item whose dedup key does not start with the item's own type followed by :. Every work-item key is <type>:<subject parts>, built by workItemKey. This is a defect in the producer, raised inside background sweeps and jobs, and nothing is written. If you see this error, contact support. |
WORK_ITEM_OBJECTIVE_HINT_UNDECLARED | Objective hint on a type with no objective type | A producer tried to write a work item with an objective hint, but its type declares no objective type to resolve the hint against. This is a defect in the producer, raised inside background sweeps and jobs, and nothing is written. If you see this error, contact support. |
WORK_ITEM_OBJECTIVE_WINDOW_MISMATCH | Objective window does not match its objective type | A producer named an objective window whose starts_on disagrees with the objective type: a periodic type's window needs one, a non-periodic type's window has none. This is a defect in the producer, raised inside background sweeps and jobs, and nothing is written. If you see this error, contact support. |
WORK_ITEM_WINDOW_KEY_MISMATCH | Work-item key does not end with its objective window | A producer tried to write a work item about one objective window whose dedup key does not end with that window's parts (<entity id>[:<starts_on>]). Such a key would let the next window update this row instead of raising its own. This is a defect in the producer, raised inside background sweeps and jobs, and nothing is written. If you see this error, contact support. |
501 — Not Implemented
code | Title | When |
|---|---|---|
LOAN_ESCROW_AND_FEE_ROLES_MISSING | Loan escrow and fee accounts are not configured | This period carries schedule fees, whose posting needs the loan fee system roles (step 5). The document is refused rather than posted to the wrong accounts. |
502 — Bad Gateway
code | Title | When |
|---|---|---|
AP_EMAIL_CONTENT_UNAVAILABLE | AP email content unavailable | The email provider did not return the content of a received AP email. Raised inside the ap_ingest_message job only (never by an endpoint): the queue retries it, and after the last attempt the message is marked failed. |
AP_EXTRACTION_UNREADABLE_RESPONSE | AP extraction response unreadable | The model answered an AP extraction without a readable result (no text, invalid JSON, a refusal or a truncated answer). The job is retried; the item shows failed with this reason once its attempts run out. |
EMAIL_SEND_FAILED | Email send failed | The invoice email could not be sent. |
ORG_USER_INVITE_FAILED | Invite delivery failed | Supabase rejected the invite request. Retry or check the email. |
PAYMENTS_PROVIDER_ERROR | Payments provider error | Moov rejected or could not serve the request. Nothing was persisted; the operation is safe to retry — account creation is idempotent via foreignID. |
503 — Service Unavailable
code | Title | When |
|---|---|---|
AP_INTAKE_DOMAIN_NOT_CONFIGURED | AP intake domain not configured | This deployment has no inbound email domain (AP_INBOUND_DOMAIN), so an intake address cannot be generated. Nothing was created. Ask the operator to configure it. |
BANK_CONNECTION_PROVIDER_UNAVAILABLE | Bank connection provider temporarily unavailable | The provider could not be reached, or returned a transient error, while testing this connection's credentials. Nothing was persisted. Retry with backoff. |
MCP_DOCS_UNAVAILABLE | Docs unavailable | The user docs site could not be reached. Retry later; every other connector tool still works. |
PAYMENTS_NOT_CONFIGURED | Payments not configured | This environment has no Moov credentials, so payments cannot be used here. An operator problem, not a caller problem — retrying will not help until MOOV_PUBLIC_KEY / MOOV_PRIVATE_KEY are set. Nothing was persisted. |
PORTAL_AUTH_NOT_CONFIGURED | Portal auth not configured | This environment has no portal-project Supabase credentials (SUPABASE_PORTAL_URL / SUPABASE_PORTAL_ANON_KEY / SUPABASE_PORTAL_SERVICE_ROLE_KEY), or no valid portal app origin for invite links (PORTAL_BASE_URL), so this portal-auth operation cannot run. An operator problem, not a caller problem — retrying will not help until the env is fixed. |
PORTAL_DOCUMENT_UNAVAILABLE | Document is temporarily unavailable | This login may download the document, but its download link could not be created right now. Try again shortly. |
PORTAL_PUBLISH_STORAGE_FAILED | Document storage unavailable | A document storage call failed while publishing (context.operation: remove, copy or download). Nothing was published and the package is back in draft with the reason recorded. Request publishing again shortly. |
SERVICE_UNAVAILABLE | Service unavailable | The service is temporarily unavailable. Retry with backoff. |
504 —
code | Title | When |
|---|---|---|
AP_CLASSIFICATION_TIMEOUT | AP classification timed out | Reading the pages of an AP file with the model did not finish within its time bound (60 s per call). The job is retried; each undecided item of the file records the failed attempt with this reason. |
AP_EXTRACTION_TIMEOUT | AP extraction timed out | Reading an AP item with the model did not finish within its time bound (120 s per call, 270 s per item). The job is retried; the item shows failed with this reason once its attempts run out. |
PLAN_TIMEOUT | Plan timed out | The plan did not finish within the time limit and nothing was kept. Split it into smaller plans, or retry if the system was unusually busy. |