---
title: "Errors | Docs | e-TVA Check by R&D Copilot"
description: "The error object of the e-TVA Check API and the codes that say what went wrong."
canonical: "https://etva.rdcopilot.com/docs/reference/errors/"
language: en
updated: 2026-11-22
---

# Errors

The error object of the e-TVA Check API and the codes that say what went wrong.

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

## The error object

| Field | Meaning |
| --- | --- |
| `code` | A stable code for the cause. Act on this. |
| `message` | A 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. |
| `fields` | On a 400, each field that is wrong and why. Absent otherwise. |
| `requestId` | The 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

| Status | Code | Meaning | Retry |
| --- | --- | --- | --- |
| `400` | `invalid_request` | The 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. |
| `401` | `unauthorized` | The token is missing, expired or not ours. | After you get a new token. |
| `403` | `forbidden` | The token does not give access to this company or operation. | No. |
| `404` | `<thing>_not_found` | The record does not exist for this company. | No. |
| `409` | `revision_conflict` | `expectedRevision` is older than the record. | Read the record again, then send a new operation. |
| `409` | `operation_reused` | This `operationId` was sent before with another body. | No. |
| `422` | A code of the product, such as `blocked_by_checks` | The request is well formed and a rule of the product refuses it. | No. The code says what to change. |
| `429` | `rate_limited` | Too many requests. `Retry-After` gives the seconds. | Yes, after the pause. |
| `503` | `unavailable` | The service cannot answer now. | Yes, with the same `operationId`. |

## Codes of e-TVA Check

| Status | Code | Meaning |
| --- | --- | --- |
| `404` | `company_not_found` | The 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. |
| `404` | `period_not_found` | The period does not exist in your account. List the periods and use one of their ids. |
| `404` | `row_not_found` | The period has no row with this id. Use one of the four row ids: `sales-standard`, `sales-reduced`, `purchases-standard`, `purchases-reduced`. |
| `404` | `difference_not_found` | The 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. |
| `404` | `document_not_found` | The period has no document with this id. List the documents of the period and use one of their ids. |
| `404` | `posting_not_found` | The company has no posting with this id. List the documents of the period with `side=ledger` and use one of their ids. |
| `404` | `operation_not_found` | No change was sent with this `operationId`. Check the `operationId`; send the change if it was never sent. |
| `404` | `delivery_not_found` | The delivery does not exist in your account. List the deliveries and use one of their ids. |
| `404` | `subscription_not_found` | The subscription does not exist in your account. List the subscriptions and use one of their ids. |
| `409` | `period_exists` | The company already has a period for this month. Read the period with the list of periods. |
| `409` | `file_locked` | The 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. |
| `409` | `wrong_file_state` | The 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. |
| `409` | `already_explained` | The difference already has an explanation. Reopen the difference to explain it again. |
| `409` | `not_explained` | The difference has no explanation to reopen. Nothing to do. |
| `409` | `already_matched` | The 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`. |
| `409` | `posting_taken` | The posting is already matched to another document. Choose a posting whose match state is `unmatched`. |
| `409` | `not_linked` | The document has no link to remove. Nothing to do. |
| `409` | `rows_to_review` | A 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. |
| `409` | `same_person` | The file was prepared by the person who is approving it. Ask a second person to approve. |
| `409` | `nothing_to_retry` | The delivery is not waiting for a retry. Read the delivery and use the operation that fits its state. |
| `409` | `nothing_parked` | The delivery is not parked. Read the delivery and use the operation that fits its state. |
| `409` | `endpoint_not_answering` | The event endpoint still does not answer. The event stays parked. Repair the endpoint, then replay the event. |
| `422` | `reason_not_allowed` | That 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. |
| `422` | `note_required` | The note is too short. A reason needs a sentence of at least 8 characters. Write what you checked and what you found. |
| `422` | `note_too_long` | The note is longer than 500 characters. Shorten the note. |
| `422` | `direction_mismatch` | The document is a sale and the posting a purchase, or the other way round. Choose a posting of the same side. |
| `422` | `partner_mismatch` | The posting names another partner than the document. Choose a posting of the same partner. |
| `422` | `invalid_limits` | A 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. |
| `422` | `empty_import` | The import has no document. Send at least one document. |
| `422` | `unsupported_rate` | A 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. |
| `422` | `rows_do_not_add_up` | The 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. |
| `422` | `duplicate_posting` | Two postings have the same number and partner. Nothing was imported. Send each posting once. |

The full rule: [Developer guide](https://rdcopilot.com/docs/errors/)
