Skip to content
Docs
API 1.0.0 · 22 Nov 2026

Search the docs

    Română

    Lifecycle and statuses

    The path of a register operation from draft to registered or rejected, who moves it from one status to the next and which statuses are final.

    On this page

    A register operation has one status at a time, and every change of status is added to its history. This page gives the statuses, says who moves an operation from one to the next and what each move needs.

    The statuses

    StatusMeaning
    draft The gateway holds the operation and the checks run on it. Nothing is transmitted.
    validated No blocking check fails.
    authorized A designated person other than the one who prepared it approved it. It is ready to be transmitted.
    submitted A designated person transmitted it with the employer’s access, and the API recorded the transmission.
    processing The register has it and has not answered yet.
    registered The register answered with a reference, kept as it was given. The contract changes.
    rejected The register answered with its words, kept unchanged. The operation does not change; its correction is a new draft.
    manual_review The outcome of a transmission is unknown. Check at the register, then record its answer or transmit again.
    cancelled Cancelled before anything was transmitted.

    The path of an operation

    An operation goes from draft to validated, authorized and submitted, then to registered or rejected. processing is optional: recordAnswer also answers an operation that is submitted. submitted, registered and rejected each send an event. See the event catalogue.

    Who moves an operation

    Your software calls the operation; the gateway never moves an operation by itself. A person acts through an access permission with the scope the step needs. A step that is not allowed in the current status is refused with invalid_status, and a stale expectedRevision with revision_conflict.

    TransitionAPI operationGuardRefusal
    draft → validatedvalidateOperationNo blocking check fails.blocked_by_checks
    validated → authorizedauthorizeOperationThe designated person holds approve for the employer and is not the person who prepared the operation.not_permitted, same_person
    authorized → submittedsubmitOperationThe designated person holds transmit for the employer. After the deadline, reason is required.not_permitted, reason_required
    submitted → processingacknowledgeOperationThe register has the operation and has not answered.invalid_status
    submitted, processing, manual_review → registered, rejectedrecordAnswerregistered needs the reference; rejected needs the register’s message.answer_incomplete
    submitted, processing → manual_reviewflagUnknownOutcomeThe outcome of the transmission is not known. reason is required.reason_required
    manual_review → submittedresubmitOperationThe same rules as submitOperation.not_permitted, reason_required
    draft, validated, authorized → cancelledcancelOperationNothing was transmitted yet.invalid_status
    rejected → a new draftcorrectOperationA rejected operation has one correction.already_corrected

    Four eyes

    The person who approves is never the person who prepared the operation. authorizeOperation refuses the same person with same_person. Approving and transmitting are separate scopes, so one person can hold one of them and not the other.

    What registration does to the contract

    The contract changes when the register’s answer is recorded as registered, not before.

    KindEffect on the contract
    Hire (hire)The contract becomes active.
    Change of terms (change-terms)The contract takes the new occupation, type, duration, workplace or working time.
    Change of salary (change-salary)The contract takes the new base salary.
    Suspension (suspend)The contract becomes suspended.
    End of suspension (resume)The contract is active again.
    Termination (terminate)The contract becomes terminated.
    Transfer (transfer)The contract moves to the other employer.
    Secondment (secondment)The contract stays as it is.

    Final statuses

    • registered, rejected and cancelled are final. The operation, its reference and the register’s words do not change.
    • A rejected operation is never edited. Its correction is a new draft that carries correctionOf, and there is one correction. See Cancel or correct.
    • cancelled is possible only while nothing was transmitted: from draft, validated or authorized.
    • manual_review is not final. It means the outcome of a transmission is unknown. Check at the register, then record its answer with recordAnswer or transmit again with resubmitOperation.
    • Treat a status you do not know as not final, so your code keeps working when the version adds one.

    Revision

    The revision of an operation grows with every accepted change. Send it as expectedRevision with every change to an existing operation: if the operation changed since you read it, the request is refused with revision_conflict and nothing is applied. See Idempotency and concurrency.

    History

    Every entry of history has the status, the time at and the person by where there is one. reference holds what the register gave for registered, and message the register’s own words for rejected: both are kept exactly as they came. reason and late belong to a transmission after its deadline, and reason also explains manual_review.

    The last entries of a registered and of a rejected operation

    [
      {
        "status": "registered",
        "at": "2026-11-02T10:12:00Z",
        "by": null,
        "reference": "R2026-0479033",
        "message": null,
        "reason": null,
        "late": false
      },
      {
        "status": "rejected",
        "at": "2026-11-06T11:20:00Z",
        "by": null,
        "reference": null,
        "message": "Funcția nu corespunde codului COR transmis.",
        "reason": null,
        "late": false
      }
    ]