Acreum Docs
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 —

codeTitleWhen
MCP_RESPONSE_TRUNCATEDResponse truncatedA 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

codeTitleWhen
API_KEY_EXPIRES_AT_IN_PASTexpires_at must be in the futureA 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_UNSUPPORTEDBalance sheet cannot be pivoted by this axisThe 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_MATCHABLEPending bank transaction not matchablePending 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_SHORTFALLDistribution exceeds available cashThe 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_EXCLUDEDManaged entity excluded from consolidation groupsA '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_READYContract not ready for activationThe 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_STARTAmendment precedes the contract starteffective_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_EMPTYAmendment records no changeThe 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_TERMSAmendment names terms it cannot supersedesupersede_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_INVALIDNew period index out of rangeAn 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_ALLOWEDOption fields on the wrong amendment typeadd_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_ALLOWEDPeriod changes on the wrong amendment typeperiod_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_CONTRACTAmendment term names a period on another contractA 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_ONAmendment term starts before the amendment takes effectAn 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_MISMATCHAmendment type contradicts the change it makesterm_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_REQUIREDContract initial period requiredThis 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_INITIALOptions need a bounded initial periodThe 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_AMENDMENTAdding or deleting an option needs an amendment on a live leasePOST /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_INVALIDPeriod end date precedes its start dateA 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_INVALIDOption period starts before the initial period endsAn 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_OVERLAPContract periods must not overlapTwo 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_INVALIDEscalation window has an unparseable dateA 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_ENDStepped escalation needs an end dateA 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_INSUFFICIENTStepped escalation does not cover the termescalationSteps 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_INVALIDTerm structure does not match the billing modelThe 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_IDUnknown contract term idA 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_SUPPORTEDContract type does not support termsThis 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_INVALIDSend exactly one changeA 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_INVALIDSignal value cannot identify a payerThe 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_EXCLUDEDManaged entity excluded from distributionsA 'managed' legal entity holds an external owner's books; distributions to the org's investors cannot be declared on it.
EMPTY_FILEEmpty fileThe uploaded file is empty. Re-select a non-empty bank-statement file and retry.
ENTITY_OWNERSHIPS_NOT_FOUNDNo entity ownerships for legal entity on dateThe 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_INVALIDEscalation config is not a valid formulaThe 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_ANNUALIndex resets are annual onlyThe 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_STATEMENTCash-basis GL activity covers income-statement accounts onlyGET /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_UNSUPPORTEDParameter not supported on the cash basisGET /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_REQUIREDIdempotency-Key requiredThis route requires an Idempotency-Key header. Supply a stable key per logical request.
INSURANCE_FIXED_AREA_REQUIREDBuilding area requiredA 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_MISMATCHParticipant method differs from the leaseAll rows of one lease in a policy term share one method; this row names a different one.
INSURANCE_PARTICIPANT_SHARE_CUTParticipant change would cut other sharesUnder 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_CURSORInvalid cursorThe supplied pagination cursor could not be decoded. Omit the cursor to start from the first page.
INVALID_IDEMPOTENCY_KEYInvalid Idempotency-KeyThe Idempotency-Key header must match /^[A-Za-z0-9_-]+$/ and be at most 255 characters.
LEASE_RESOLUTION_KNOWN_AT_FUTUREknownAt is in the futureknownAt is decision time; a future value has no meaning. Omit it (defaults to today) or pass a past or present date.
LOAN_COLLATERAL_BILLED_HISTORYCollateral change would rewrite billed periodsBilled 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_INVALIDCollateral list and unsecured both sentThe request sent both a list of collateral properties and unsecured: true. Send exactly one of them (spec D3).
LOAN_COLLATERAL_COVERAGE_GAPLoan collateral does not cover every dayOnce 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_SIDECollateral is not recorded on a lender loanCollateral 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_DATELoan collateral is not live on the drawdown or payoff dateA 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_MISMATCHCollateral property belongs to another legal entityA 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_DATEReleased collateral needs an end dateA 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_REQUIREDLoan collateral or unsecured flag requiredA 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_CONFLICTUnsecured loan has open-ended collateralA 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_LOANCollateral window starts outside the loan's lifeA collateral row may not start before the loan's origination date or after its maturity date (spec D11).
LOAN_PARTICIPANT_FROZEN_ROW_IMMUTABLEFrozen loan participant cannot be re-statedA 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_REMOVEDFrozen loan participant cannot be removedA 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_ACTIVELoan participant property is not activeDimension 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_ACTIVELoan is not activeOnly 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_OUTSTANDINGLoan has no outstanding principalThe loan's GL principal is already zero, so there is nothing to pay off.
LOAN_PREPAYMENT_PRINCIPAL_NOT_POSITIVECurtailment principal must be positiveA curtailment needs principal_amount greater than zero (and less than the outstanding principal; use the payoff for the whole balance).
LOAN_PRINCIPAL_BASIS_IMMUTABLELoan posting basis cannot be changed once anything has postedloan_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_TOOLOperation called through the wrong toolThe 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_IMPORTNot a feed importOnly statement imports with purpose "feed" can be committed to create bank transactions.
ORG_USER_SELF_MUTATIONCannot modify own membershipA user cannot change their own role or remove themselves from the org.
OWNER_DISTRIBUTION_LE_MISMATCHOwner distribution legal entity mismatchA 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_REQUIREDOwnership change_reason requiredchange_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_DATEOwnership group not active on dateThe 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_STAKETransferor does not hold enough ownership to transferAn 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_MONTHOwnership effective_from must be the consecutive monthA 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_100Ownership percentages must sum to 100The 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_MISMATCHPayment-application legal entity mismatchThe payment document and applied document must belong to the same legal entity. Cross-LE settlement runs through intercompany, not payment-application.
PORTAL_ORG_CONTEXT_REQUIREDSponsor must be chosenThis 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_REQUIREDBuilding area requiredA 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_MISMATCHParticipant method differs from the leaseAll rows of one lease in a tax period share one method; this row names a different one.
RE_TAX_PARTICIPANT_SHARE_CUTParticipant change would cut other sharesUnder 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_RANGEReference rate is not a decimal between 0 and 1Rate 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_FAILEDValidation failedOne or more request fields failed validation. See errors[] for details.
YEAR_END_NO_PL_ACTIVITYNo P&L activity to closeThe 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

codeTitleWhen
API_KEY_EXPIREDAPI key expiredThe API key is past its expires_at timestamp and will no longer authenticate. Issue a new key.
API_KEY_REVOKEDAPI key revokedThe API key has been revoked and will no longer authenticate. Issue a new key.
UNAUTHORIZEDUnauthorizedNo valid credential was provided.

403 — Forbidden

codeTitleWhen
API_KEY_PLAN_ONLYAPI key is plan-onlyThis 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_FORBIDDENRate-limit tier override forbiddenOnly 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_UNSUPPORTEDAPI keys cannot access legacy routesAPI 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_USEROnly a user can submit a distribution batchA batch executes its declarations as the user who submitted it, so an API key cannot submit one.
FORBIDDENForbiddenThe credential does not grant access to this resource or action.
INSUFFICIENT_SCOPEInsufficient scopeThe credential is authenticated but lacks the required scope for this operation.
LEGAL_ENTITY_NOT_IN_SCOPELegal entity not in scopeThe caller is restricted to a subset of legal entities that does not include the target entity.
MCP_CLIENT_NOT_ALLOWEDAI connector client is not allowedThe 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_SELFA connector cannot confirm its own operationConfirming or declining a connector confirmation is for the person, in the Acreum web app; an AI-connector token is always refused here.
MCP_CONNECTOR_FORBIDDENNot available to AI connectorsThis 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_ORGAI connector is turned off for this orgThe 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_ALLOWEDHigh-risk operation not allowed to AI connectorsThe 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_ONLYAI connector is read-only for this orgThe 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_DEACTIVATEDMembership deactivatedThe caller's membership in this org was deactivated by an administrator.
ORG_USER_OWNER_PROTECTEDOwner membership is protectedOnly an owner may change or remove another owner's membership.
PAYMENT_RUN_APPROVER_CHANGE_OUT_OF_SCOPEThe changes touch an entity outside this approvalAn 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_FORBIDDENOnly owner or admin may complete a payment runCompleting 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_FORBIDDENOnly the run creator may revert it to draftReverting 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_REQUIREDA payment run schedule needs a user as its ownerA 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_FORBIDDENOnly the run creator may submit it for approvalSubmitting 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_FORBIDDENPeriod override requires accounting:periods_override scopePosting into a closed period requires the accounting:periods_override scope. The submitted credential lacks it.
PORTAL_ACCESS_DENIEDPortal access deniedThis credential cannot access this route. Portal logins reach only /v1/portal/*; every other credential is refused there.
PORTAL_GRANTS_DISABLEDPortal access grants are disabledPortal access grants are not enabled in this environment.
PORTAL_NOT_ENABLEDInvestor portal is not enabledThe 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_FORBIDDENYour portal access does not include thisThis 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_OWNEDThis index series is published by an automated feedReadings 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_IMMUTABLEOwner security group is immutableThe seeded owner system group is read-only for every caller, including Acreum staff. It can never be edited or deleted.
SECURITY_GROUP_SYSTEM_IMMUTABLESystem security group is read-onlySystem-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_FORBIDDENInsufficient privilege rankEdit-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

codeTitleWhen
AP_CHECK_NOT_FOUNDAP check not foundThe 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_FOUNDAP file not foundThe requested AP file does not exist or belongs to another organization.
AP_INTAKE_ADDRESS_NOT_FOUNDAP intake address not foundThe 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_FOUNDAP invoice not foundThe requested AP invoice (an item found in an uploaded file) does not exist or belongs to another organization.
ATTACHMENT_NOT_FOUNDAttachment not foundThe requested attachment does not exist or belongs to another document or tenant.
BANK_ACCOUNT_IMPORT_NOT_FOUNDBank account import not foundNo 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_FOUNDBank connection not foundNo bank_connections row with that id exists in this org. It may belong to another org, or the id is wrong.
CHARGE_EXPLANATION_NOT_FOUNDCharge explanation not foundThe 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_FOUNDContact not foundNo contact with that id exists on this party in the caller's org.
DISTRIBUTION_BATCH_NOT_FOUNDDistribution batch not foundNo distribution batch with this id exists in the caller's org.
DISTRIBUTION_DECLARATION_NOT_FOUNDDistribution declaration not foundThe supplied distribution_declaration_id does not exist in this org. Use GET /v1/distribution-declarations to list declarations.
DISTRIBUTION_POLICY_NOT_FOUNDDistribution policy not foundNo distribution policy with this id exists in the caller's org.
DISTRIBUTION_POLICY_TEMPLATE_NOT_FOUNDDistribution policy template not foundNo distribution policy template with this id exists in the caller's org.
DOCUMENT_NOT_FOUNDDocument not foundThe requested document does not exist or belongs to another tenant.
EQUITY_BANK_TRANSACTION_NOT_FOUNDBank transaction not foundbank_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_FOUNDEquity class not foundNo equity class with this id exists in this org.
EQUITY_CONTRIBUTION_NOT_FOUNDCapital contribution not foundThe 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_FOUNDHolder party not foundholder_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_FOUNDLegal entity not foundNo legal entity with that id exists in your organization.
EQUITY_PARTY_NOT_FOUNDParty not foundNo 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_FOUNDEquity position not foundNo equity position with this id exists in this org.
FIXED_ASSET_IMPORT_NOT_FOUNDLegacy asset import not foundNo 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_FOUNDImpersonation not foundThe impersonation token does not exist or has already been revoked.
IMPERSONATION_TARGET_ORG_NOT_FOUNDTarget org not foundThe target_org_id does not correspond to an existing organisation.
LOAN_ACTUAL_NOT_FOUNDLoan actual not foundNo 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_FOUNDEscrow movement not foundNo movement of this escrow is this document (a deposit is voided with its bill).
LOAN_ESCROW_NOT_FOUNDLoan escrow not foundThe loan has no escrow with this id.
LOAN_EXTENSION_OPTION_NOT_FOUNDExtension option not foundNo extension option with context.option_id exists on loan context.loan_id. List the loan extension options for valid ids.
LOAN_HEDGE_NOT_FOUNDLoan hedge not foundNo swap or cap with this id exists in the organization.
LOAN_LATE_FEE_NOT_FOUNDLoan late fee not foundNo late-fee assessment of this loan is recorded for the document.
LOAN_NOT_FOUNDLoan not foundThe requested loan does not exist or belongs to another tenant.
MCP_DOC_NOT_FOUNDDocs page not foundNo page in the user docs index has this slug. Use search_docs to find the right one.
MCP_OPERATION_NOT_FOUNDOperation not foundNo operation in the AI connector catalog has this operation_id. Search the catalog for the right one and retry with it.
NOT_FOUNDNot foundThe requested resource does not exist.
ORG_NOT_FOUNDOrg not foundThe org id does not correspond to an existing organisation.
ORG_USER_NOT_FOUNDOrg member not foundNo membership exists for that user in the caller's org.
OWNER_DISTRIBUTION_GROUP_NOT_FOUNDOwnership group not foundThe 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_FOUNDNo ACH file for this originating bankNo 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_FOUNDApproval request not found on this payment runThe 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_FOUNDPayment run not foundNo 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_FOUNDPayment run schedule not foundNo 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_FOUNDBank account not found for this legal entityNo 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_FOUNDLegal entity not foundNo legal entity with that id exists in your organization, so it has no Spark Payments account.
PAYMENTS_TRANSFER_NOT_FOUNDTransfer not foundNo 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_FOUNDNo percentage rent config on that dateThe 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_FOUNDPercentage rent run not foundNo percentage rent run with that id exists in the org.
PERIOD_CLOSE_RUN_NOT_FOUNDBulk close run not foundNo 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_FOUNDPlan not foundNo 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_FOUNDPortal not foundNo 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_FOUNDDocument not foundNo 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_STATEMENTNo published statement for that dateThe 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_FOUNDParty not foundThe 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_FOUNDPosition not foundNo 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_FOUNDStatement not foundNo 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_FOUNDSales category not foundNo sales category with this id exists in the caller's org. Sales categories are listed by GET /v1/sales/categories.
SALES_CONFIG_NOT_FOUNDLease has no sales configThe 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_FOUNDSales import not foundNo sales CSV import with this id exists in the caller's org. Imports are listed by GET /v1/sales/imports.
SALES_REPORT_NOT_FOUNDSales report not foundNo sales report with this id exists in the caller's org. Sales reports are listed by GET /v1/sales/reports.
SCHEDULED_DISTRIBUTION_NOT_FOUNDScheduled distribution not foundNo scheduled distribution with this id exists in the caller's org.
SECURITY_GROUP_NOT_FOUNDSecurity group not foundThe referenced security_group_id does not exist, or does not belong to the caller's org.
TICKET_ASSIGNMENT_NOT_FOUNDTicket assignment not foundThe requested assignment does not exist or belongs to another tenant.
TICKET_ATTACHMENT_NOT_FOUNDTicket attachment not foundThe requested attachment does not exist or belongs to another ticket, track, or tenant.
TICKET_NOT_FOUNDTicket not foundThe requested ticket does not exist or belongs to another tenant.
TICKET_NOTE_NOT_FOUNDTicket note not foundThe requested note does not exist or belongs to another tenant.
TRACK_NOT_FOUNDTrack not foundThe requested track does not exist or belongs to another ticket or tenant.
VENDOR_IDENTIFIER_NOT_FOUNDVendor identifier not foundNo vendor identifier with that id exists on this party in the caller's org.
YEAR_END_NOT_FOUNDYear-end close not foundNo 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

codeTitleWhen
METHOD_NOT_ALLOWEDMethod not allowedThe HTTP method is not supported for this resource.

409 — Conflict

codeTitleWhen
ALREADY_COMMITTEDImport already committedThis statement import has already been committed and cannot be committed again.
AP_FILE_DUPLICATEAP file already uploadedThis 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_ITEMSAP file has decided itemsThe 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_CHANGEDAP invoice changed meanwhileThe 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_CHECKSAP invoice has open checksThe 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_DUPLICATEAP invoice is not a duplicateThe 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_REPROCESSABLEAP invoice cannot be re-processedThe item is already decided (accepted, rejected or archived, named in context.status), so there is nothing to run again.
AP_INVOICE_NOT_REVIEWABLEAP invoice cannot be reviewedThe 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_TOTALApplied payments exceed the document's totalThe 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_LINEAn auto-created asset keeps at least one cost lineThe 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_LINECost source is not a ledger lineOnly 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_PENDINGAsset cost is already depreciatingOnly 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_APPROVALDisposal document is held for approvalThe 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_OPENDisposal period is not openThe 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_APPLICABLEAsset is not activeThe 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_CONFLICTAssets have different classesThe 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_MISMATCHAssets belong to different legal entitiesA 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_CONFLICTAssets have different locationsProperty 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_PENDINGOnly pending assets can be mergedBoth 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_ASSETAsset cannot be merged into itselfsource_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_HISTORYSource asset has historyThe 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_COSTAn asset to merge holds cost the ledger reversedOne 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_PLACEABLEAsset cannot be placed in serviceOnly 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_REGENERABLEAsset schedule cannot be regeneratedThe 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_DEPRECIATEDReceiving entity already depreciated that periodThe 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_APPROVALTransfer document is held for approvalOne 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_OPENTransfer period is not openThe 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_DEPRECIATEDAsset has posted depreciationAt 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_HISTORYAsset changed since it was placedThe 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_PLACEDAsset is not in serviceOnly 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_CONNECTEDBank account is already connected to a feedThis 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_LINKEDPlaid account is already linked to another bank accountAnother 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_USECash GL account already linked to another bankEach 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_HISTORYBank account has history and cannot be re-pointedThe 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_INACTIVEBank account is inactiveThe 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_ACTIVITYSource account has transactions already recorded in the booksThe 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_PROGRESSBoth accounts have a reconciliation in progressOnly 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_CONFLICTAnother credential rotation is already in progressTwo 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_MATCHEDBank line is already matchedThe 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_EXCLUDEDBank line is excludedThe 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_MATCHEDBank line is matchedThe 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_PROVIDERBank line was removed by the providerThe 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_EDITABLEBudget version is not editableOnly 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.
CONFLICTConflictThe 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_ACCESSContact has portal accessThe contact holds invited or active portal access. Revoke it before deleting the contact.
CONTRACT_AMENDMENT_EFFECTIVE_IN_CLOSED_PERIODAmendment falls in a closed accounting periodAn 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_AMENDABLEContract cannot be amendedAmendments 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_TRANSITIONInvalid contract status transitionThe 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_DEPENDENTSOption period has attached rowsThe 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_AMENDMENTPeriod dates need an amendment on a live leaseA 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_TRANSITIONPeriod cannot make that transitionOnly 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_DELETABLEOnly available option periods can be deletedThe 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_EDITABLEOnly available options can be editedThe 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_CONFLICTPeriod was transitioned concurrentlyThe 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_MUTABLEContract is not open for period changesPeriods 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_OVERLAPContract term windows overlapTwo 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_USEContract type is in useOne or more contracts reference this contract type, so billing_model cannot be changed. Create a new contract type instead.
CONTRACT_VERSION_MISMATCHContract version mismatchThe 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_EXISTSCounterparty mapping already existsThe 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_APPLICATIONSCredit has active applicationsThe credit memo or vendor credit has active applications. Reverse the applications via /reverse-apply before re-applying, editing, or voiding.
CREDIT_NOT_FULLY_APPLIEDCredit not fully appliedA 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_PROMOTEDDeal cannot be deleted once promotedThe 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_TRANSITIONInvalid deal lifecycle transitionThe requested lifecycle action is not valid for the deal's current status. promote/drop require in_progress; reopen requires dropped.
DEAL_KIND_NOT_PROMOTABLEDeal kind cannot be promotedPromote 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_EDITABLEDeal is not editableOnly 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_POSTEDThis period is already depreciatedA 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_USEDimension is in useThis 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_UNDONEDistribution already undoneThe 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_STATUSAction not available for this batchThe 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_BATCHEDBatch item already in a batchAn item belongs to at most one batch; context.item_ids names the items already in one. Nothing was submitted.
DISTRIBUTION_BATCH_ITEM_NOT_APPROVEDBatch item is not approvedOnly approved scheduled distributions can be submitted in a batch; context.item_ids names the items that are not. Nothing was submitted.
DISTRIBUTION_BATCH_SUBMITTER_INACTIVEThe batch's submitter is no longer an active memberA 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_CONSUMEDDistribution already counted by an ownerThe 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_APPLICATIONSDistribution has active payment applicationsThe 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_ARCHIVEDDistribution policy is archivedAn archived distribution policy is read-only. Create a new policy for the legal entity instead.
DISTRIBUTION_POLICY_TEMPLATE_ARCHIVEDDistribution policy template is archivedAn archived distribution policy template is read-only. Move its entities to another template or create a new one.
DISTRIBUTION_POLICY_TEMPLATE_IN_USEDistribution policy template is assigned to legal entitiesA 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_TAKENDistribution policy template name already in useA 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_POSTEDDocument already postedThe document has already been posted to the general ledger and is now immutable except via adjustment documents.
DOCUMENT_ALREADY_VOIDEDDocument already voidedThe document is already in a terminal voided state and cannot be voided again.
DOCUMENT_ASSET_TRANSFER_CANNOT_EDITAn asset-transfer intercompany transaction cannot be editedThe 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_VOIDAn asset-transfer intercompany transaction cannot be voided or deletedThe 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_APPROVALDocument awaiting approvalThe 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_RANGEThe document's open balance is outside its totalA 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_EDITINGThe document changed status while you were editing itBetween 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_EDITDocument cost has been capitalized onto a fixed assetA 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_VOIDDocument cost has been capitalized onto a fixed assetA 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_EDITA disposal proceeds invoice cannot be editedThe 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_VOIDA disposal proceeds invoice cannot be voided or deletedThe 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_REPLACEMENTThe document has a replacement that has not posted yetAn 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_DISTRIBUTIONDocument is part of an active distributionThe 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_SETTLEMENTDocument is held by an intercompany settlementAn 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_RUNBill is held by a payment runThe 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_EDITDocument is matched to a bank transaction and cannot be editedA 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_VOIDDocument is matched to a bank transaction and cannot be voidedA bank transaction is matched to this document. Revert the match in Banking before voiding the document.
DOCUMENT_NETTED_BY_ESCALATIONA decided escalation netted this invoiceA 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_DRAFTDocument not in a postable statusPOST /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_REOPENABLEDocument not reopenableOnly documents in rejected status can be reopened to draft for editing and resubmission.
DOCUMENT_NOT_SUBMITTABLEDocument not submittableOnly documents in draft or rejected status can be submitted for approval.
DOCUMENT_RE_TAX_BILL_VOID_AT_SOURCEA property tax bill is voided in Real Estate TaxesThe 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_CHANGEThe document is in a completed bank reconciliationUnapplying, unmatching or reverting a document cleared on a completed bank reconciliation would change the reconciled cash. Undo the reconciliation first.
DOCUMENT_RECONCILED_CANNOT_EDITDocument is reconciled and cannot be editedThe 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_VOIDDocument is reconciled and cannot be voidedThe document is cleared on a completed bank reconciliation. Undo the reconciliation before voiding the document.
DOCUMENT_REFUNDS_EXCEED_REMAINING_PAYMENTSReleasing this payment would leave a refund uncoveredA 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_VOIDA fixed-asset retirement document cannot be voidedThe 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_ACTIONThe document is in a status that does not allow this actionEach 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_TAKENVendor invoice number already enteredA 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_USEEntity group in useA 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_TAKENEquity class code already takenAnother 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_REVERSEDThis contribution has already been reversedNothing 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_SHAREDA payment settling this contribution also pays something elseReversing 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_RECORDEDThis position already has an opening balanceA 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_ACTIVEHolder already has an active position in this classA 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_CHANGEDA netted invoice changed after the true-up read itThe 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_UNKNOWNWhat this term was invoiced cannot be readThe 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_EVENTSEscalation clause has decided reset eventsThe 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_OVERLAPEscalation config windows overlapAnother 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_USEContract term has escalation configuration attachedThis 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_BILLEDThe true-up for this escalation has already been billedThis 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_UNDECIDEDAn earlier reset on this term must be decided firstEscalation 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_DECIDABLEEscalation event is not awaiting a decisionOnly 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_STALEThe index reading behind this proposal has changedA 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_SCHEDULEA posted invoice in the window is off the billing scheduleA 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_EXISTSA later reset on this term must be reversed firstEscalation 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_UNRESOLVEDThe rent before this option period could not be readThis 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_SWAPThis reset predates an index swap and cannot be reversedThe 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_WINDOWAn unposted invoice covers days this escalation restatesThe 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_BILLEDThe lease no longer bills this monthRun 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_WAIVABLEBilling event cannot be waivedOnly 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_COVEREDAnother event already covers this billing periodA 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_STAGEDThis file is already staged in another importThe 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_ROWSLegacy asset import has rejected rowsThe 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_STAGEDLegacy asset import is not stagedThe 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_PROCESSEDBank transaction is already processedA 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_TRANSITIONInvalid settlement approval transitionA 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_CONFLICTIdempotency conflictAn Idempotency-Key was reused with a different request body. Reuse the original body or supply a new key.
IMPORT_NOT_PARSEDImport not parsedThe 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_BILLEDParticipant already billedThe lease has shares on active premium invoices of this term. End its participation instead, or void those invoices first.
INSURANCE_PARTICIPANT_BILLED_SHARE_IMMUTABLEBilled participant's share cannot be edited in placeThe 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_RECOVERYDirect-billed lease is also recovered through CAMThe 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_OVERLAPParticipant rows overlapTwo 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_CLOSEDInsurance term closedThe policy term is closed; no premium invoices can be input on it.
INSURANCE_UNPLANNED_INVOICE_DUPLICATEDuplicate unplanned premium invoiceAn 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_UNRESOLVABLENo item carries the required system roleThe 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_PERIODLate-fee date is in a closed periodA 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_DEADThe lifecycle delivery is not deadOnly 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_FROZENLeasing snapshot already frozenA leasing snapshot already exists for this org and month; snapshots are immutable and are not re-frozen.
LEGAL_ENTITY_CODE_TAKENLegal entity code already used in this orglegal_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_LOCKEDLegal entity currency cannot changeThe 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_LATESTA later accrual on the loan is still postedA 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_BILLEDA statement already billed this accrualThe 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_ACTIVELoan actual is not activeOnly 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_DEFAULTLoan already in defaultThe loan has an open default window since context.declared_on. Cure it before declaring another.
LOAN_AMENDMENT_BEFORE_ACCRUED_THROUGHRate change is before accrued-throughInterest 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_ACTIVELoan is not activeOnly an active loan can be amended. context.status is the loan status.
LOAN_DEFAULT_LOAN_NOT_ACTIVELoan is not activeOnly an active loan can be declared in default or cured; context.status is its status.
LOAN_DRAWDOWN_ACTED_SINCESomething was recorded on the drawn balance since the drawdownVoiding 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_FUNDINGThe drawdown is the loan's only fundingVoiding 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_CLOSEDLoan escrow is closedA closed escrow takes no new deposit letters, no edits, no movements and no voids of its movements.
LOAN_ESCROW_DIMENSION_MISSINGLoan escrow dimension is missingThe 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_HELDEscrow movement changes only from its loanThe 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_EMPTYLoan escrow still holds moneyAn escrow can be closed only at a zero balance. Record its refund or disbursement first.
LOAN_ESCROW_ROLE_ACCOUNT_MISSINGLoan escrow account is missingThe 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_RACELoan period slot was taken concurrentlyAnother 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_LOCKEDExtension option is exercised or waivedExercised 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_EXTENDSExtension option no longer extends the loanThe 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_LIVEExtension option is not the live optionOnly 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_HEDGESLoan has hedgesThe 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_BLOCKEDHedge document cannot be voided yetHedge 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_RECORDEDHedge settlement already recordedThe settlement period already holds a recorded settlement. Void that settlement document to record another.
LOAN_HEDGE_TERMS_LOCKEDLoan hedge terms are lockedA 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_WAIVEDLoan late fee already waivedThe late fee was already waived; its document is voided.
LOAN_LATE_FEE_WAIVE_REQUIREDA late fee is cancelled by waiving itA 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_CHARGEDLate fee window already chargedThe 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_DEFAULTLoan not in defaultThe loan has no open default window to cure.
LOAN_PERIOD_HAS_LATE_FEELoan period carries a late feeThe 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_ACTIONABLELoan period does not accept this actionThe 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_DUELoan period is not past dueA 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_SINCEInterest has been accrued past the curtailmentAn 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_OUTLoan is locked out of prepayment on the dateThe 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_LATESTA later prepayment on the loan is still liveA 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_ACTEDA period after the prepayment has been billed or paidThe 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_CURTAILMENTA curtailment stub is still open on the scheduleA 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_FROZENLoan period allocation is already frozenThis 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_AMENDMENTLoan terms change only by amendmentamortization_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_RECONCILEDPayment already reconciledThe selected payment document is already linked to another bank transaction. A payment can only be reconciled once.
MCP_CONFIRMATION_DECLINEDConfirmation declinedThe person declined this operation. Do not retry it unless they ask again.
MCP_CONFIRMATION_INVALIDConfirmation invalidThe 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_PENDINGConfirmation not confirmed yetThe 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_INVALIDUpload link invalidThe 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_PENDINGUpload not received yetThe 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_CORRECTIONNo open period to post the correction intoReversing 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_CONFLICTOrg fiscal config conflictThe 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_CONFLICTOrg industry conflictThe 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_ORGOwner already belongs to an orgThe 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_TAKENSystem group name takenA 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_MEMBERUser is already a memberThe invited email already belongs to a member of this org.
ORG_USER_DEACTIVATEDUser is deactivatedThe invited email belongs to a deactivated member of this org. Reactivate them instead.
ORG_USER_LAST_ADMINLast admin cannot be removedThe org must always retain at least one member with the owner or admin role.
ORG_USER_NOT_PENDINGMember has already signed inThe 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_PENDINGMember has not accepted the inviteA password reset cannot be sent to a pending invite. Resend the invite instead.
OWNERSHIP_CYCLE_DETECTEDOwnership cycle detectedAn 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_RECONCILEDThe other side of this in-group payment is matched to a bank lineThe 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_REFUSEDAn in-group payment cannot be edited in placeA 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_REFUSEDAn in-group payment cannot be unapplied on its ownA 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_USEParty category is in useOne or more parties reference this category. Reassign those parties before deleting it.
PARTY_IS_LEGAL_ENTITY_MIRRORParty is a legal-entity mirrorThis 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_USEParty role type is in useOne or more parties reference this role type. Remove the role from those parties before deleting it.
PAYMENT_RUN_ACH_ALREADY_SUBMITTEDEntity’s ACH file was already submittedThis 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_SUBMITTEDACH file not confirmed as submittedThe 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_EXPORTEDPayment run already exported as a NACHA fileThis 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_EXCEEDEDRequested amount exceeds the bill’s available amountA 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_RESERVEDBill cannot be paid in full — partially reserved elsewherePaying 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_PENDINGThis entity of the run is already settledEach 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_PAYThis entity has no bill left to payEvery 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_BILLSRun contains bills that are no longer payableBetween 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_STATUSPayment run status does not allow this actionThe 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_CONFLICTPayment run is already claimed by a disbursement railThe 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_FLIGHTVendor sends have not settledSome 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_LEGSSpark Pay cannot pay distribution paymentsThe 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_CHANGEDA vendor changed its payment method after submitEach 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_CONNECTEDLegal entity is not connected to Spark PaymentsThis 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_LINKEDNo bank account linked for paymentsThe 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_FLIGHTA transfer with this idempotency key is unresolvedA 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_PROCESSINGThis payment is already being sentA 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_EXISTSThe line already has an adjustment of this kindA line holds one interest and one audit_costs adjustment. Delete context.adjustment_id and add the new amount.
PERCENTAGE_RENT_AUDIT_EXISTSThe year already has an audit lineA 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_APPROVEDA later percentage rent line is approvedA 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_PERIODNo open period to date the percentage rent invoiceA 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_INVOICENothing to invoice on this percentage rent runInvoice 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_BILLEDPercentage rent run is already billedA charge of this run is already billed, so the run cannot be revised. Correct it with a later run instead.
PERCENTAGE_RENT_RUN_NOT_DELETABLEPercentage rent run cannot be deletedThe run has approved lines (their charges are staged or billed). Only a run with no approved line can be deleted.
PERIOD_CLOSE_RUN_ALREADY_ACTIVEA bulk close is already runningThis 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_CLOSEDAccounting period is closedThe target accounting period is closed. Provide a period_override_reason and the accounting:periods_override scope to post anyway.
PERIOD_HAS_DEAD_LIFECYCLE_DELIVERIESPeriod has undelivered lease lifecycle changesOne 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_DOCUMENTSPeriod has documents still postingClosing 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_LOCKEDAccounting period is lockedThe target accounting period is locked and rejects every post. Reopen the period (requires accounting:periods_override) before retrying.
PERIOD_LOCKED_BY_YEAR_END_CLOSEAccounting period is locked by a year-end closeThe 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_CLOSEDPrevious accounting period is still openSequential-close enforcement is enabled for this org. Close the previous period in the cadence sequence before closing this one.
PLAN_DRIFTPlan drifted since its previewCommitting 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_HELDPlan run cannot be changedThe 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_BUSYOrganization busyAnother 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_BLOCKEDUndo blocked by a later rowA 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_CONFLICTRow changed since the plan committedUndo 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_LELegal entity already has a distribution policyA 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_CHANGEDBooks changed after the package was builtThe 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_EXISTSA package already covers this windowNo 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_LOCKEDPackage is lockedOnly 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_SHAPEPackage statements are out of dateThis 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_MISMATCHPackage document changedA 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_APPROVERNo one else can approve this publishNo 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_RETRYABLEPackage cannot be published from its current stateThe 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_MISSINGPackage document source is goneA 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_UNAVAILABLEPortal address is not availableAnother 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_REFUSEDA posted document cannot be deletedA 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_REISSUABLEThis type of document cannot be edited after it postsEditing 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_STARTPosting before legal entity operations startThe 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_LEASESProperty cannot be deleted: a lease is on itA 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_COLLATERALProperty owner is locked by loan collateralThe 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_BILLEDParticipant already billedThe lease has shares on active tax bills of this period. End its participation instead, or void those bills first.
RE_TAX_PARTICIPANT_BILLED_SHARE_IMMUTABLEBilled participant's share cannot be edited in placeThe 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_RECOVERYDirect-billed lease is also recovered through CAMThe 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_OVERLAPParticipant rows overlapTwo 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_DUPLICATEDuplicate supplemental tax billAn 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_PREVIOUSStatement date isn't after the previous reconciliationThe 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_PROGRESSReconciliation already in progressAn in-progress reconciliation already exists for this bank account. Complete or discard it before starting a new one.
RECONCILIATION_LATER_PERIOD_COMPLETEDA later period is reconciled or being reconciledThe 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_COMPLETEDReconciliation not completedThe reconciliation is not in the completed status, so this operation (e.g. undo) cannot be performed.
RECONCILIATION_NOT_IN_PROGRESSReconciliation not in progressThe reconciliation is not in the in_progress status, so it cannot be edited, toggled, completed, or discarded.
RECONCILIATION_WAS_COMPLETEDOnly the latest reconciliation can be discarded once it was completedThe 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_REVISIONPrior recovery run under revisionThe previous year's run of this recovery group is being revised; its cap figures are not final. Approve that revision first.
RECOVERY_RUN_NOT_REVISABLERecovery run not revisableOnly an approved recovery run can be revised. Approve the current revision first.
REISSUE_APPLICATIONS_DO_NOT_FITThe new total is less than what is already appliedEditing 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_IMMUTABLEField cannot be changed when editing a posted documentEditing 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_APPLICATIONSThe customer or vendor cannot change while payments are appliedEditing 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_TAKENItem type already belongs to another routine seriesAn 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_TAKENRoutine series key already used in the moduleA 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_TAKENSales category code already usedThe 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_CONFLICTA report was written while the import committedAnother 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_FILEThis file was already importedThe 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_OPENSales import is no longer openThe import was already committed in full or discarded, so it cannot be committed or discarded again.
SALES_REPORT_DRAFT_EXISTSSales period already has a draftThe 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_CURRENTSales report is not the current versionOnly 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_DRAFTSales report is not a draftOnly 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_REPORTEDSales period already reportedThe 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_DECIDABLEAction not available in this statusThis action is not available while the item is in this status (context.status, context.action).
SCHEDULED_DISTRIBUTION_NOT_RETRYABLEScheduled distribution cannot be retriedOnly 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_SCHEDULEDScheduled distribution is not scheduledOnly an item still in scheduled can be staged; it was staged, decided or cancelled since it was read (context.status).
SCHEDULED_DISTRIBUTION_TERMINALScheduled distribution is finalRejected, skipped, executed and cancelled items are final and cannot be decided again (context.status).
SECURITY_GROUP_DELETE_WIDENSDeleting this group would widen member accessDeleting 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_NAMESecurity group name already in useA security group with this name already exists in the org (names are unique per org, case-insensitive).
SECURITY_GROUP_SYSTEM_UNDELETABLESystem security group cannot be deletedSystem-seeded security groups (one per legacy role) cannot be deleted, only edited. Create a custom group instead.
SOURCE_BILL_CHARGES_ALREADY_COLLECTEDTenant charges from this bill have already been collectedOne 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_CONFLICTDesignation already used under this parentFix 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_TAKENExternal code already used in this orgspaces.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_LEASESSpace cannot be deleted: a lease is on itA 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_IMPORTEDStatement file already importedThis 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_COMMITTEDStatement import is committedThe 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_CONFIRMABLEStatement period end cannot be confirmedThe 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_BALANCESystem role holder still carries a balanceA 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_TAKENSystem role already assignedAnother 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_IMMUTABLESystem type is immutablebilling_model and supports_straight_line are frozen on system-provisioned contract types. Only name and is_active may be changed.
TARGET_HAS_ACTIVE_APPLICATIONSTarget document has active credit applicationsA 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_REFERENCESTrackable cannot be deleted: posted history existsThe 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_RETRYABLETransaction conflict, safe to retryThe 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_INVALIDPaired bank line cannot complete this transferA 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_TAKENVendor identifier held by another partyAnother 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_CLOSEDYear-end close already existsA year-end close already exists for this legal entity and fiscal year. Reverse the existing close first to redo it.
YEAR_END_PERIODS_OPENYear-end close blocked: periods still openOne 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

codeTitleWhen
ACCOUNT_IMPORT_FILE_TOO_LARGEAccount-import file too largeThe uploaded account-import CSV exceeds the allowed size. Split it into smaller files.
ATTACHMENT_TOO_LARGEAttachment too largeAttachments are capped at 25 MiB (26214400 bytes). Compress, split, or upload a smaller file.
FILE_TOO_LARGEFile too largeThe uploaded bank-statement file exceeds the allowed size. Split or upload a smaller file.
FIXED_ASSET_IMPORT_FILE_TOO_LARGELegacy asset import file too largeThe 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_LARGEToo many calls in one batchThe batch holds more requests than the AI connector accepts at once (context.max_calls). Split it into smaller batches.
MCP_UPLOAD_TOO_LARGEUpload too largeThe 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_LARGEPlan too largeThe 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_LARGESales import file too largeA 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

codeTitleWhen
ACCOUNT_IMPORT_UNSUPPORTED_FILE_TYPEAccount-import file must be a CSVAccount-import uploads must be a CSV file. The submitted file failed validation or its declared Content-Type does not match its contents.
ATTACHMENT_TYPE_UNSUPPORTEDUnsupported attachment typeAttachments 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_CSVSales import must be a CSV fileA 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_TYPEUnsupported file typeBank-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

codeTitleWhen
ACCOUNT_IMPORT_NOT_COMPLETEDAccount import is not ready to commitThe 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_ROWSAccount-import file has too many rowsThe uploaded file has more data rows than one account-import upload accepts. Split it into smaller files.
ACCOUNT_LEGAL_ENTITY_MISMATCHAccount belongs to a different legal entityA 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_CLOSEDNo open period on or after the in-service dateDepreciation 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_REQUIREDAP check note requiredThe 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_MISMATCHAP check severity does not fit the actionOnly 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_ROUTEUse the duplicate routesduplicate_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_INVALIDAP intake address invalidThe change cannot be applied: legal_entity_id is not an active legal entity of the organization. context.reason says which.
AP_INVOICE_DOES_NOT_FOOTAP invoice does not footThe 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_INCOMPLETEAP invoice incompleteThe 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_INVALIDAP invoice edit invalidThe 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_INVALIDAP storage path invalidThe 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_FOUNDAP upload not foundNo 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_ALLOWEDApprovers not allowed for this subjectA 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_UNSATISFIABLEApproval rule is unsatisfiableA 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_UNRESOLVEDAsset account slots could not be resolvedA 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_MISMATCHAccount type incompatible with class slotThe account assigned to this class slot has an incompatible account type.
ASSET_CLASS_INACTIVEAsset class is inactivePlacing 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_DEPRECIABLEAsset class never depreciatesA 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_UNRESOLVEDNo usable asset class for this placementPlacing 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_EXCEEDEDCost-source fractions exceed 1The 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_INVALIDCost-source claim is not usableA 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_INVALIDRecovery allocation does not fit the selectionA 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_REFUSEDSome selected assets cannot be disposedAt 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_INVALIDDisposal cannot bill this partybill_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_REQUIREDDisposal proceeds need someone to billA 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_PROCEEDSNothing to billbill_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_DEPRECATEDThe proceeds account is no longer chosenproceeds_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_INVALIDProceeds account cannot take a disposalRetired: 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_INVALIDPartial disposal share is not a proper partA 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_SERVICEDisposal predates the in-service dateThe 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_INDate precedes the start of the asset’s history in this entityThe 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_REQUIREDEvent requires a reasonAn 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_INVALIDImpairment is not a write-downAn 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_INVALIDLegal entity does not belong to this orgThe 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_UNRESOLVEDNo depreciable life for this assetThe 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_INVALIDAsset location is not usableThe 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_SERVICERevise effective before the asset was in serviceA 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_ELAPSEDRevised life is already elapsedA 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_COSTSalvage exceeds the cost basisThe 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_CONSTRUCTIONAsset class is construction in progressPlacing 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_INVALIDSuspension window dates are out of orderA 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_SERVICETransfer dated before the asset was in serviceAn 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_INVALIDTransfer destination is not usabledestination_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_SWEPTWork Center module has no sweepA 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_UNKNOWNUnknown Work Center moduleThe 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_CONFIGUREDBank account has no ACH origination configThe 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_MISMATCHBank account currency differs from its legal entity'sEvery 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_MISMATCHBank accounts belong to different legal entitiesMerging 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_RECONCILABLEBank account not reconcilableThe bank account is missing a configured cash_account_id or legal_entity_id and cannot be reconciled. Configure the account first.
BANK_ACCOUNT_VERIFICATION_EMPTYCould not verify this account with the bankA 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_REJECTEDBank connection credentials could not be verifiedThe 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_BLOCKEDThis server's IP address is not allowlisted with the providerThe 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_ADDRESSINGThis provider has no account-import templateThis 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_FLOWThis provider is connected through Plaid, not credentialsThis 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_ENTITYA bank transaction cannot be tagged for its own legal entityA 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_ENTITYParty is one of the org's own legal entitiesThe 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_ASSETcash_flow_category requires an asset accountSetting 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_UNSUPPORTEDThis charge cannot be explainedOnly 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_EFFECTIVEArea change is not effective yetThe 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_ALLOWEDContract counterparty entity not allowedA 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_OWNERContract entity does not own the linked propertyA 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_USABLEParty cannot be mappedA 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_MISMATCHCurrency mismatchThe credit and target documents must share the same currency_code.
DEAL_CHECKLIST_INCOMPLETEDeal checklist incompleteOne 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_IMMUTABLEStandard critical-date label is immutableOnly custom critical-date entries can be renamed. Standard milestone labels are fixed.
DEAL_CRITICAL_DATES_MAX_CUSTOMToo many custom critical datesA deal accepts at most 5 custom critical-date entries. Remove one before adding another.
DEAL_KIND_IMMUTABLEDeal kind is immutableA deal keeps the kind it was created with. Create a new deal for a different kind.
DEAL_ROLE_NOT_ALLOWED_FOR_KINDDeal party role not allowed for this deal kindOn 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_UNKNOWNUnknown deal party roledeal_role is not an active role in the organization's deal role catalog.
DEAL_SIDE_NOT_ALLOWED_FOR_KINDSide not allowed for this deal kindA 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_INCOMPLETEDeal stage catalog incompleteThe 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_ELIGIBLEAccount cannot be a default for codingAn 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_ENDEDAccounting period has not ended yetRun 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_COMPUTABLEDepreciation schedule cannot be computedThe 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_MISMATCHDimension entity belongs to a different legal entityA 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_REQUIREDParent dimension value requiredA 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_REQUIREDDimension requiredA 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_UNKNOWNDimension trackable value unknownThe 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_EXECUTABLEBatch item cannot be executedAn 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_TEMPLATEField comes from the distribution policy templateA 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_ADJUSTMENTSDistribution policy would hold too many adjustment linesA 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_ENTITYCounterparty is the entity the document books oncounterparty_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_POSTEDDocument not postedThe document must be posted before this action.
DOCUMENT_PARTY_IS_LEGAL_ENTITYParty is one of the org's own legal entitiesThe 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_RESERVEDDocument source fields are reservedsource_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_HEREDocument type not creatable hereThis 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_HEREDocument type is not editable hereThis 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_HEREDocument type is not postable hereThis 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_MEMOVoid requires memoVoiding a posted document requires a non-empty memo body field to describe the reversing journal entry.
ENTITY_GROUP_WRONG_TYPEEntity group type not allowed hereReports, 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_LINKEDBank transaction is already linked to a documentThe 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_SETTLEABLEThis bank transaction cannot fund this contributionThe 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_STARTDate is before the legal entity ledger starteffective_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_INVALIDCapital statement window or as-recorded instant is invalidCapitalStatementBuilder.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_INVALIDEquity class account is not usablecontributed_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_FROZENEquity class field is frozenkind 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_COMMITMENTContribution exceeds the unfunded commitmentamount 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_MISMATCHThe contribution and the position disagree on the legal entityThe 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_FOUNDNo equity position claims this capital contributionThe 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_MISSINGThe parent mirror does not name its subsidiaryAn 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_EMPTYEvery opening-balance bucket is zeroThe 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_EMPTYNo capital bucket for the offsetting entry to offsetpost_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_AMOUNTAn opening balance of zero records no capital eventA 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_MISMATCHEquity class belongs to a different legal entityequity_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_REFUSEDCommitment cannot be cleared on a funded positioncommitment_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_SELFA legal entity cannot hold a position in itselfThe 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_ACTIVEEquity position is not activeposition_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_BLOCKEDAn accounting period will not take this reversalReversing 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_FOUNDNo capital event left to reverseA 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_FOUNDThe subsidiary has no party recordThe 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_INVALIDWaterfall version is invalidA 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_DELTAA zero balance delta records no capital eventThe 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_UNSUPPORTEDPer-square-foot escalation cannot be decided yetThis 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_PROPERTYContract has no property to stage a charge againstAn 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_COMPARISONSSimple escalation mixes index comparisonsThis 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_UNKNOWNUnknown reference rate seriesseries_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_BILLABLEContract term cannot carry an escalated amountThe 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_CADENCEIndex-linked escalation on an off-cadence termThe 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_UNKNOWNUnknown contract termThe 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_INVALIDLegacy asset import file is invalidThe 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_ROWSLegacy asset import has too many rowsThe 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_INVALIDThe bank transaction does not match this settlementbank_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_SOURCESettlement is dated before a transaction it settlesA 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_SETTLENo open intercompany transactions to settleFIFO 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_INVALIDThe paired bank transaction does not match this settlementpaired_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_EXCEEDEDImpersonation TTL exceededttl_minutes must be between 1 and 60. Supply a value within the allowed range.
INVALID_ASSIGNEEInvalid assigneeAn assignment must reference exactly one assignee — either a user (employee) or a party (vendor), not both and not neither.
INVALID_RECONCILIATION_LINEInvalid reconciliation lineThe journal line cannot be cleared against this reconciliation — it is not a clearable cash line for the account being reconciled.
INVALID_STATE_TRANSITIONInvalid budget version state transitionThe 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_SCOPEInvalid ticket scopescope 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_CONFLICTLeasable path conflictFix 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_PROPERTYactive_leases requires a property scopeThe '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_UNRESOLVABLELease term cannot be resolvedA term's stored shape cannot produce an amount for the requested date — never defaulted, always surfaced.
LEDGER_ENTRY_REFUSEDJournal entry refused by the ledger gateEvery 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_MISMATCHLegal entity mismatchThe credit and target documents must belong to the same legal entity.
LOAN_AMENDMENT_EFFECTIVE_DATE_INVALIDAmendment effective date is invalidcontext.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_INVALIDAmendment terms are invalidcontext.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_MISMATCHDebt service payment and bill belong to different loansA 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_APPLICABLEDebt service payment cannot be applied by handA 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_INVALIDLoan default date invalidThe 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_SETLoan default uplift not setThe 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_ALLOWEDAccount cannot hold this escrowAn 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_REQUIREDEscrow adjustment needs a directionAn escrow movement of kind adjustment must say direction: 'increase' moves money into the escrow, 'decrease' takes it out.
LOAN_ESCROW_BANK_LINE_INVALIDBank transaction cannot back this escrow movementThe 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_REQUIREDBank transaction requiredThe 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_PAYABLEBill cannot be paid from this escrowThe 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_BILLEDEscrow close precedes a billed periodAn 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_DEPOSITEscrow close leaves an unbilled depositA 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_BILLEDDeposit letter precedes a billed periodA deposit letter may not take effect before the latest period that has already been billed.
LOAN_ESCROW_INSUFFICIENT_BALANCEEscrow balance too lowA 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_ALLOWEDEscrow movement kind not allowed hereA 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_INVALIDOffset account does not fit the escrow movementDraw, 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_ESCROWStatement names an unknown escrowThe statement's escrow figures name an escrow that is not active on this loan for the period.
LOAN_EVENT_SPINE_MISSINGLoan period has no schedule rowThe 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_INVALIDExtension option set is invalidcontext.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_TERMSLoan hedge terms are invalidThe swap or cap terms cannot be accepted; context.reasons lists every problem.
LOAN_HEDGE_NOT_SUPPORTEDLoan hedge not supportedHedges 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_INVALIDNot a live settlement period of this hedgeA 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_ORIGINATIONLoan payment date is before originationA 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_FUTURELoan payment date is in the futureA 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_OUTSTANDINGLoan payment exceeds what the due periods oweA 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_INVALIDLoan payment split is invalidThe 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_AMOUNTLoan period has no amountThe period carries neither principal nor interest, so there is no debt service payment to make.
LOAN_PERIOD_HAS_NOTHING_TO_BILLLoan period has nothing to billA 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_THROUGHPrepayment dated before the last accrualThe 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_REQUIREDDefeasance cost requiredThe 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_OUTSTANDINGPrepayment is not less than the outstanding principalA 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_OVERLAPPrepayment windows overlapTwo 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_REQUIREDTreasury yield required for a yield-maintenance prepaymentThe 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_UNAVAILABLELoan outstanding principal cannot be derivedOutstanding 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_MISSINGLoan has no rate terms on the dateNo 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_FLIPPEDLoan share allocation produced a part of the wrong signSplitting 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_LEASEDLocation is leasedA 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_MISMATCHMatch payment amount mismatchThe 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_MISMATCHRefund match amount mismatchMatching 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_SETTLEDMatch target already settledThe 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_INCOMEAccount is not an income accountThe '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_ACCOUNTMissing system-role accountThe 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_BALANCEStatement has no ending balanceThe 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_PLACEMENTNo accounting periods exist for this entityThe 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_NEGATIVEStraight-through ceiling is negativeap_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_REQUIREDOrg industry requiredThe 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_DEPTHOwnership look-through max depth exceededA 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_RECORDABLEThe other side of this in-group payment cannot be recordedPaying 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_MISMATCHParty mismatchThe 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_RECONCILABLEPayment did not move this bank’s cashMatching 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_EMPTYNo entity of this bank can be written into the fileEvery 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_PAYABLEACH vendors cannot be paid by this entity’s fileA 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_BALANCERequested amount exceeds bill balanceA 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_ELIGIBLEThis account cannot pay the entity in the runAn 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_RUNAn approver cannot remove every billEdit and approve would leave the run with no bill. Reject the run instead. context.payment_run_id names the run.
PAYMENT_RUN_APPROVER_CHANGE_INCREASEAn approver cannot add bills or raise amountsPOST /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_ACCOUNTBank account has no GL cash accountThe 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_LINKEDBank account is not linked to MoovThe 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_ELIGIBLEBill not eligible for a payment runOne 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_MISMATCHBill currency does not match the runEvery 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_ELIGIBLEBank account cannot be this entity’s default for paymentsA 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_INVALIDBank account cannot pay this entity in the runThe 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_REQUIREDAn entity in the run has no paying bank accountEvery 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_MISMATCHBill legal entity does not match the runA 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_ENTRIESNo ACH-eligible vendors in this payment runEvery 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_APPROVEDPayment run is not approvedThe ACH export is only available for runs in approved status — submit and approve the run first.
PAYMENT_RUN_OWNERS_WITHOUT_TAX_IDOwners paid by ACH have no tax ID typeAn 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_UNAVAILABLEA payment group in the schedule's scope is goneA 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_INVALIDThis user cannot own the payment run scheduleA 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_SCOPEThe owner cannot access the schedule's legal entitiesA 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_BILLSToo many bills in one payment runA 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_PAYABLEVendors are not set up for paymentsOne 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_METHODVendors in the run have no payment methodEvery 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_LINKABLEBank account cannot be linked for paymentsThis 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_INVALIDBusiness type invalidThe supplied business_type is not one Moov accepts. context.valid_business_types lists the accepted values.
PAYMENTS_BUSINESS_TYPE_REQUIREDBusiness type requiredThis 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_DISABLEDThat bank account can no longer fund paymentsMoov 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_REUSEDThat idempotency key belongs to a different paymentThe 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_AMBIGUOUSWhich 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_ELIGIBLEThat bank account cannot fund this paymentThe 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_MISSINGVendor has no usable ACH bank detailsThis 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_INVALIDAdjustment kind not allowed on this lineinterest 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_RECOVERABLEAudit costs are not recoverableAudit 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_INVALIDPercentage rent audit run cannot be createdAn 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_BACKDATEDPercentage rent config starts before the live versioneffective_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_INVALIDPercentage rent config is not validThe percentage rent config broke a rule a field validator cannot see. context.violations[] lists each as &#123; code, message, rule_id &#125;, where rule_id is rules[&lt;index&gt;] 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_ALLOWEDSales estimates cannot be writtenEstimates 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_INVALIDPercentage rent item is not usableitem_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_APPROVABLEPercentage rent line is blockedA 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_REQUIREDLease has no sales configPercentage 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_INVALIDPercentage rent tax rate is not usabletax_rate_id must name an active tax rate of the org, or be null.
PLAN_DUPLICATE_REFDuplicate step refTwo 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_FORWARDReference to a later stepA 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_UNRESOLVEDReference did not resolveA 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_PLANNABLERoute not plannableThis 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_AUDIENCEPackage would have no recipientsNo 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_CLOSEDWindow is not closed in the booksA 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/&#123;id&#125;/portal/visible-through and readiness check period_closed: &#123;kind, period_id, period_name, month_label&#125;, 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_FAILEDPackage is not ready to publishPublishing 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 &#123;key, severity, detail&#125;: fix every red one (red cannot be overridden), add a reason for every amber one, then request publishing again. GET …/packages/&#123;packageId&#125;/readiness shows the full list.
PORTAL_SCOPE_ENTITY_NOT_EXPOSEDPortal scope names an unexposed entityA '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_FAILEDReconciliation adjustment failedThe reconciliation adjustment could not be applied. Review the supplied adjustment details and retry.
RECONCILIATION_ADJUST_REVERSAL_FAILEDReconciliation adjustment reversal failedThe reconciliation references an adjustment journal entry with no backing document to reverse. The adjustment cannot be safely undone.
RECONCILIATION_BEGINNING_BALANCE_LOCKEDBeginning balance can only be set on a first reconciliationThe 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_BALANCEDReconciliation not balancedThe cleared balance does not equal the statement ending balance. Resolve the difference before completing the reconciliation.
REFUND_EXCEEDS_REFUNDABLE_AMOUNTRefund exceeds refundable amountYou 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_INVALIDItem type is not a type of the series moduleA 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_INVALIDSales config is not validThe 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_LEASEOnly a lease reports salesSales 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_INVALIDSales import file cannot be readThe 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_RECIPIENTTenant has no reminder recipientThe 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_OWEDNo sales report reminder is owedA 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_INVALIDBulk sales reports are not validAt least one row of a bulk submit failed, so nothing was written. context.errors lists each failing row as &#123; contract_id, code, message &#125;, 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_INVALIDSales report lines are not validThe 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_CALENDARSales report period is off the reporting calendarThe 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_REQUIREDAdjustment reason requiredA modified amount needs a reason.
SCHEDULED_DISTRIBUTION_FLAG_UNACKNOWLEDGEDScheduled distribution exceeds available cashThe item exceeds available cash; approve it with acknowledge_cash_shortfall: true (context.cash_shortfall).
SCOPE_TARGET_MISMATCHScope target mismatchThe referenced ticket or track belongs to a different tenant, or a track does not belong to the referenced ticket.
SECURITY_GROUP_INVALID_RESOURCEInvalid permission resourceA permission grant's resource is neither a key from the resource catalog nor the wildcard '*'.
SECURITY_LOCKOUT_PREVENTEDSecurity lockout preventedThis 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_LINEStatement period end is before its last lineThe 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_TYPEAccount detail type not allowed for this system roleEach 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_TYPESystem role incompatible with account typeThe 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_INVALIDInvalid note visibilityA note scoped to a track cannot be marked visibility "public" — only ticket-scoped notes may be public.
TICKET_OWNER_PARTICIPATION_INVALIDInvalid owner participationparticipation_pct must be between 0 and 100, and an owner may reference at most one of a user or a party.
TICKET_REFERENCE_NOT_FOUNDReferenced entity not foundA referenced party, trackable, legal entity, or user does not exist or belongs to another tenant.
TRIAL_BALANCE_PERIOD_SPANS_FISCAL_YEARSTrial balance period spans fiscal yearsA 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_DERIVEDVendor identifier is derivedA 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_AGGREGATEWork item is not an aggregateOnly an aggregate work item (aggregate: true) has subjects to list or act on.
WORK_ITEM_REVIEW_REFUSEDWork item cannot be marked reviewedMarking 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_LINEDocument line has a zero amountA 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

codeTitleWhen
AP_INVOICE_PRECONDITION_REQUIREDAP invoice version requiredPATCH /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_REQUIREDConfirmation requiredThe 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: &lt;context.confirmation_id&gt;; any change to the request needs a new confirmation.
PRECONDITION_REQUIREDPrecondition requiredThe 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

codeTitleWhen
MCP_RATE_LIMITEDAI connector rate limit reachedThis user made too many connector requests in the window. Retry after the interval in the Retry-After header (context.retry_after_seconds).
RATE_LIMITEDRate limitedToo many requests. Retry after the interval indicated by the Retry-After header.

500 — Internal Server Error

codeTitleWhen
BANK_PROVIDER_CONTRACT_VIOLATEDA bank provider broke its own port contractAn 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_TRANSACTIONAmendment preview called inside a transactionThe 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_BACKAmendment preview did not roll backThe 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_MISMATCHContract invoice lines and their terms do not line upWhen 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_SHORTA pending charge on a rent invoice could not be claimedWhen 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_ERRORScheduled distribution could not be executedDeclaring 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_MISSINGNo capital account balances row exists for this positioncapital_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_UNFOLDABLEA capital event history cannot be folded into a balancefoldCapitalEvents 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_NEGATIVEDistribution amount must be negativeCapitalEventWriterService.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_EVENTThe GL tie-out met a capital event it cannot classifyThe general-ledger tie-out on GET /v1/legal-entities/&#123;id&#125;/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_MISSINGWaterfall income measure missingA 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_INVARIANTWaterfall split does not sum to the amountThe 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_ERRORInternal errorAn unexpected error occurred. The incident has been recorded with request_id.
LOAN_ACCRUAL_SOURCE_MISMATCHLoan accrual built for a different loanA 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_TRANSACTIONLoan actual link attempted outside a transactionHanding 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_TRANSACTIONLoan extension options replace attempted outside a transactionReplacing 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_TRANSACTIONLoan participant replace attempted outside a transactionReplacing 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_MISSINGLoan payment has no bill to apply toA 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_TRANSACTIONLoan prepayment terms replace attempted outside a transactionReplacing 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_MISSINGLoan share freeze could not find its actualThe 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_TRANSACTIONLoan share freeze attempted outside a transactionA 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_TRANSACTIONLoan slot release attempted outside a transactionReleasing 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_MISSINGNo accounting period exists for dateNo 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_ACCESSRoute not safe for plansThis 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_INVALIDPublished statement could not be readA 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_INVALIDPublication-day count is not a whole number of daysA 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_MISSINGRent adjustment has no target invoiceA 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_TRANSACTIONSales report reminder sent inside a transactionA 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_MISMATCHWork-item key not headed by its typeA 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 &lt;type&gt;:&lt;subject parts&gt;, 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_UNDECLAREDObjective hint on a type with no objective typeA 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_MISMATCHObjective window does not match its objective typeA 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_MISMATCHWork-item key does not end with its objective windowA producer tried to write a work item about one objective window whose dedup key does not end with that window's parts (&lt;entity id&gt;[:&lt;starts_on&gt;]). 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

codeTitleWhen
LOAN_ESCROW_AND_FEE_ROLES_MISSINGLoan escrow and fee accounts are not configuredThis 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

codeTitleWhen
AP_EMAIL_CONTENT_UNAVAILABLEAP email content unavailableThe 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_RESPONSEAP extraction response unreadableThe 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_FAILEDEmail send failedThe invoice email could not be sent.
ORG_USER_INVITE_FAILEDInvite delivery failedSupabase rejected the invite request. Retry or check the email.
PAYMENTS_PROVIDER_ERRORPayments provider errorMoov 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

codeTitleWhen
AP_INTAKE_DOMAIN_NOT_CONFIGUREDAP intake domain not configuredThis 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_UNAVAILABLEBank connection provider temporarily unavailableThe provider could not be reached, or returned a transient error, while testing this connection's credentials. Nothing was persisted. Retry with backoff.
MCP_DOCS_UNAVAILABLEDocs unavailableThe user docs site could not be reached. Retry later; every other connector tool still works.
PAYMENTS_NOT_CONFIGUREDPayments not configuredThis 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_CONFIGUREDPortal auth not configuredThis 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_UNAVAILABLEDocument is temporarily unavailableThis login may download the document, but its download link could not be created right now. Try again shortly.
PORTAL_PUBLISH_STORAGE_FAILEDDocument storage unavailableA 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_UNAVAILABLEService unavailableThe service is temporarily unavailable. Retry with backoff.

504 —

codeTitleWhen
AP_CLASSIFICATION_TIMEOUTAP classification timed outReading 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_TIMEOUTAP extraction timed outReading 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_TIMEOUTPlan timed outThe 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.

On this page