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.
On this page
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; 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
draft: the gateway holds the invoice and the checks run on it.validated,authorized,queued: the gateway passes these three in the same operation as the send, one after the other.submitted: the file is uploaded and the authority returned an upload index.processing(în prelucrare): the authority is checking the file.accepted(ok) orrejected(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. |
Two statuses lead to a new document, not to another status of the same invoice: a rejected invoice is answered with a correction, and an accepted invoice can be credited with a credit note.
Final statuses
acceptedandrejectedare final. The invoice, its upload index and the answer do not change.receivedis 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.
{
"status": "manual_review",
"at": "2026-11-23T07:02:00Z",
"message": "timeout",
"code": "unknown-outcome"
}