Skip to content
Docs
API 1.0.0 · 22 Nov 2026

Search the docs

    Română

    Errors

    The error object of the Accounting API and the codes that say what went wrong.

    On this page

    An error is an HTTP status and a JSON object whose code never changes its meaning.

    The error object

    FieldMeaning
    codeA stable code for the cause. Act on this.
    messageA sentence to read in your logs. It can change, so do not show it to the people who use your software and do not match on it.
    fieldsOn a 400, each field that is wrong and why. Absent otherwise.
    requestIdThe identifier of this request. Quote it when you ask us for help.

    Every answer, an error or not, carries the header X-RDC-Request-Id with the same value as requestId.

    Codes every product shares

    StatusCodeMeaningRetry
    400invalid_requestThe request cannot be read or breaks the contract: malformed JSON, a missing or unknown field, a wrong type. fields names each one.No. Fix the request.
    401unauthorizedThe token is missing, expired or not ours.After you get a new token.
    403forbiddenThe token does not give access to this company or operation.No.
    404<thing>_not_foundThe record does not exist for this company.No.
    409revision_conflictexpectedRevision is older than the record.Read the record again, then send a new operation.
    409operation_reusedThis operationId was sent before with another body.No.
    422A code of the product, such as blocked_by_checksThe request is well formed and a rule of the product refuses it.No. The code says what to change.
    429rate_limitedToo many requests. Retry-After gives the seconds.Yes, after the pause.
    503unavailableThe service cannot answer now.Yes, with the same operationId.

    Codes of Accounting

    StatusCodeMeaning
    404posting_request_not_foundNo posting request with this id exists for your company.
    404journal_entry_not_foundNo journal entry with this id exists for your company.
    404operation_not_foundNo change was sent with this operationId.
    404subscription_not_foundNo subscription with this id exists for your company.
    404delivery_not_foundNo delivery with this id exists for your company.
    409payload_conflictA posting request with this postingRequestId was already accepted with different content.
    409period_closedThe period of the date is locked, or there is no period for it. Nothing is posted into it.
    409policy_conflictThe mappingPolicyVersion of the request is not a policy of your company.
    409stale_sourceThe document has a newer revision than sourceRevision.
    409reversal_conflictThe entry already has a reversal, or it is itself a reversal.
    409nothing_parkedThe delivery is not in the parked state, so there is nothing to replay.
    409endpoint_not_answeringYour endpoint did not answer the check that precedes a replay.
    422invalid_reversal_dateThe reversal is dated before the entry it reverses.

    The full rule: Developer guide