Skip to content
Docs
API 1.0.0 · 22 Nov 2026

Search the docs

    Română

    The authority’s answers

    The three words the authority answers with, which status each becomes, and how its message reaches you unchanged.

    On this page

    After the upload the authority answers in three words. The gateway shows them as they are, in English and in Romanian, because they are the authority’s: în prelucrare, ok and nok. Your software reads the status of the invoice; the product window prints the words.

    StatusMeaning
    processing The authority has the file and has not finished. The invoice stays here until the authority answers. Read it again later or wait for the event.
    accepted The authority accepted the invoice. The gateway stores the record and sends invoice.accepted.
    rejected The authority rejected the invoice and gave a message. The gateway sends invoice.rejected with the message.

    The message of a nok

    A rejected invoice carries the message of the authority, in the history of the invoice and in the event. The gateway does not translate, shorten or interpret it, so the same text reaches your software and the person who reads the Activity of the open invoice. The text is the authority’s and can change; match on status, not on the words of a message.

    The entry of a rejection

    {
      "status": "rejected",
      "at": "2026-11-20T09:20:00Z",
      "message": "CIF-ul cumpărătorului (BT-48) nu a fost găsit în registrul contribuabililor.",
      "code": "authority-message"
    }

    In the example above the authority did not find the buyer. The message names the field, BT-48, which is the buyer’s tax identifier. The rule BR-CO-09 of the validation rules catches a missing country prefix before the upload; an identifier that is complete but not known to the authority can only be found out by the authority.

    What to do with an answer

    AnswerWhat you do
    processingNothing. Do not send the invoice again: it is already uploaded.
    acceptedKeep the uploadIndex and the sha256 of the stored record. See Store and archive.
    rejectedRead the message, create a correction and send it. See Corrections.