Skip to content
Docs
API 1.0.0 · 22 Nov 2026

Search the docs

    Română

    Errors

    The error object of the e‑Factura Gateway 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 e‑Factura Gateway

    StatusCodeMeaning
    404company_not_foundThe company does not exist in your account.
    404no_authorisationThe company has no authorisation yet: its representative has not confirmed access at the authority.
    404invoice_not_foundThe invoice does not exist in your account.
    404operation_not_foundNo change was sent with this operationId.
    404delivery_not_foundThe delivery does not exist in your account.
    404subscription_not_foundThe subscription does not exist in your account.
    404no_stored_fileThe invoice has no stored file yet. A file is stored for an accepted invoice and for a received one.
    409invalid_statusThe invoice is not in a status that allows this.
    409already_correctedA correction of this invoice already exists.
    409already_creditedA credit note for this invoice already exists.
    409authorisation_not_in_forceThe authorisation of the company is not in force. Nothing was sent.
    409authorisation_revokedThe authorisation was revoked. The gateway cannot renew it.
    409no_renewal_neededThe authorisation does not need renewal yet.
    409renewal_runningA renewal is already under way.
    409no_renewal_runningNo renewal is under way.
    409sync_pausedSynchronisation of the company is paused.
    409nothing_newThe authority lists nothing new for this company.
    409already_pausedSynchronisation is already paused.
    409not_pausedSynchronisation is not paused.
    409endpoint_answeringThe event endpoint already answers.
    409endpoint_not_answeringThe event endpoint still does not answer. The event stays parked.
    409nothing_to_retryThe delivery is not waiting for a retry.
    409nothing_parkedThe delivery is not parked.
    409company_existsA company with this CIF is already in your account.
    422blocked_by_checksA blocking check still fails. Nothing was sent and the invoice stays a draft.
    422invalid_vat_rateThat is not a VAT rate an invoice may carry.
    422no_such_lineThe invoice has no line with this code.

    The full rule: Developer guide