---
title: "Lifecycle and statuses | Docs | e-Factura Gateway by R&D Copilot"
description: "The path of an invoice from draft to ok or nok, what moves it from one status to the next and which statuses are final."
canonical: "https://efactura.rdcopilot.com/docs/statuses-and-errors/lifecycle-and-statuses/"
language: en
updated: 2026-11-22
---

# Lifecycle and statuses

The path of an invoice from draft to ok or nok, what moves it from one status to the next and which statuses are final.

An invoice has one `status` at a time, and a change of status is recorded in its history. The words of the statuses are in the [Overview](https://efactura.rdcopilot.com/docs/get-started/overview/#invoice-states); this page says how an invoice moves between them. A status is never skipped: an invoice passes through each state of its path, in order.

## The path of a sent invoice

1.  `draft`: the gateway holds the invoice and the checks run on it.
2.  `validated`, `authorized`, `queued`: the gateway passes these three in the same operation as the send, one after the other.
3.  `submitted`: the file is uploaded and the authority returned an upload index.
4.  `processing` (în prelucrare): the authority is checking the file.
5.  `accepted` (ok) or `rejected` (nok): the authority answered.

## What moves an invoice

| From | To | What moves it |
| --- | --- | --- |
| `draft` | `submitted` | You send it. It needs no failing blocking check and a company whose authorisation is in force. Otherwise the send is refused and the invoice stays a draft. |
| `submitted` | `processing` | The authority lists the upload as în prelucrare. |
| `processing` | `accepted` | The authority answers ok. |
| `processing` | `rejected` | The authority answers nok and gives a message. |
| `queued` | `manual_review` | The authority did not answer in time, so the gateway cannot tell whether the file arrived. |
| `manual_review` | `submitted` | You send it again after you checked. See [When the authority is unavailable](https://efactura.rdcopilot.com/docs/statuses-and-errors/authority-unavailable/). |

Two statuses lead to a new document, not to another status of the same invoice: a `rejected` invoice is answered with a [correction](https://efactura.rdcopilot.com/docs/send/corrections/), and an `accepted` invoice can be credited with a [credit note](https://efactura.rdcopilot.com/docs/send/invoices-and-credit-notes/).

## Final statuses

-   `accepted` and `rejected` are final. The invoice, its upload index and the answer do not change.
-   `received` is final: a downloaded invoice is stored as it came.
-   Every other status leads on. Treat a status you do not know as not final, so your code keeps working when a status is added to the version.

## History and revision

Every entry of the history has the status, the time and, where there is one, the upload index or a message. The `code` of an entry says why the message is there: `authority-message` when it is the authority’s, `unknown-outcome` when the gateway cannot tell whether the file arrived. The `revision` of the invoice grows with every change, so a stale request is refused.

An invoice whose outcome is unknown

```json
{
  "status": "manual_review",
  "at": "2026-11-23T07:02:00Z",
  "message": "timeout",
  "code": "unknown-outcome"
}
```
