Skip to content
Docs
API 1.0.0 · 22 Nov 2026

Search the docs

    Română

    Errors

    The error object of the e‑TVA Check 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‑TVA Check

    StatusCodeMeaning
    404company_not_foundThe company does not exist in your account. List the periods of the account to see its companies, or ask our team to add the company.
    404period_not_foundThe period does not exist in your account. List the periods and use one of their ids.
    404row_not_foundThe period has no row with this id. Use one of the four row ids: sales-standard, sales-reduced, purchases-standard, purchases-reduced.
    404difference_not_foundThe period has no difference with this id. A difference disappears when the data it comes from changes. List the differences of the period again and use one of their ids.
    404document_not_foundThe period has no document with this id. List the documents of the period and use one of their ids.
    404posting_not_foundThe company has no posting with this id. List the documents of the period with side=ledger and use one of their ids.
    404operation_not_foundNo change was sent with this operationId. Check the operationId; send the change if it was never sent.
    404delivery_not_foundThe delivery does not exist in your account. List the deliveries and use one of their ids.
    404subscription_not_foundThe subscription does not exist in your account. List the subscriptions and use one of their ids.
    409period_existsThe company already has a period for this month. Read the period with the list of periods.
    409file_lockedThe explanation file of the period is approved or filed, so the period no longer takes changes. Withdraw the approval to change the period. A filed file stays as it is.
    409wrong_file_stateThe explanation file is not in a state that allows this: approve needs a draft, withdraw and file need an approved file. Read the explanation file and use the operation that fits its state.
    409already_explainedThe difference already has an explanation. Reopen the difference to explain it again.
    409not_explainedThe difference has no explanation to reopen. Nothing to do.
    409already_matchedThe document is not waiting for a posting: it is already matched to one, or it is a duplicate. Link only a document whose match state is unmatched.
    409posting_takenThe posting is already matched to another document. Choose a posting whose match state is unmatched.
    409not_linkedThe document has no link to remove. Nothing to do.
    409rows_to_reviewA row is still to_review. The file cannot be approved while a row has a difference nobody explained. Explain the open differences of the rows that are to_review, then approve.
    409same_personThe file was prepared by the person who is approving it. Ask a second person to approve.
    409nothing_to_retryThe delivery is not waiting for a retry. Read the delivery and use the operation that fits its state.
    409nothing_parkedThe delivery is not parked. Read the delivery and use the operation that fits its state.
    409endpoint_not_answeringThe event endpoint still does not answer. The event stays parked. Repair the endpoint, then replay the event.
    422reason_not_allowedThat reason does not fit this kind of difference. The difference lists the reasons that do in reasons. Choose one of the reasons of the difference.
    422note_requiredThe note is too short. A reason needs a sentence of at least 8 characters. Write what you checked and what you found.
    422note_too_longThe note is longer than 500 characters. Shorten the note.
    422direction_mismatchThe document is a sale and the posting a purchase, or the other way round. Choose a posting of the same side.
    422partner_mismatchThe posting names another partner than the document. Choose a posting of the same partner.
    422invalid_limitsA limit is negative, has more than two decimals or is above the largest value: 10000000.00 for the amount, 100.00 for the percent. Send limits within these bounds.
    422empty_importThe import has no document. Send at least one document.
    422unsupported_rateA document has a part at a rate the rows do not cover. The rows cover the standard and the reduced rate. Send only parts at the rates in force.
    422rows_do_not_add_upThe rows of the pre-filled return are not the four rows once each, or a row is not the sum of its documents. Nothing was imported. Send the four rows with the base and VAT of the documents behind each.
    422duplicate_postingTwo postings have the same number and partner. Nothing was imported. Send each posting once.

    The full rule: Developer guide