Skip to content
Docs
API 1.0.0 · 22 Nov 2026

Search the docs

    Română

    Overview

    What the e‑Transport Gateway API does, how a call is built and where to go next.

    On this page

    The e‑Transport Gateway API takes the transport declarations of your own software, checks them against the rules of the authority, sends them to RO e‑Transport and follows the answer up to the UIT code. Then the same API changes the vehicle, corrects or deletes the declaration before departure, confirms receipt and returns the data of the driver sheet. It is a JSON API over HTTPS: you send requests, and it sends events to an address you register.

    Client credentials, your base address and a test company are issued with your account. Accounts are opened by our team: ask for one through the contact form and we set it up with you.

    Request an account

    How a call works

    1. Sign in

      Ask for a token with your client credentials. See Authentication.

    2. Choose the company

      One account holds many companies, set up by our team with the account. Every request about declarations names its company with companyId: read it from List companies.

    3. Write the declaration

      Create it as a draft with its goods, route, vehicle and documents. The checks run and the answer carries the revision. See Operation types and required fields.

    4. Send it

      Send the draft with sendDeclaration. Every change, this one included, carries an operationId and, on an existing declaration, an expectedRevision. See Idempotency and concurrency.

    5. Follow it to the UIT code

      The declaration is processing (în prelucrare), then accepted (ok) with its UIT code, or rejected (nok). See Send and follow.

    6. Listen

      Events tell you when a declaration changes. See Event envelope.

    Declaration states

    A declaration has one status. Where the authority has its own words, the gateway uses them. Statuses says what moves a declaration from one to the next.

    StatusMeaning
    draft The gateway holds the declaration and the checks run on it. Nothing is sent to the authority.
    validated No blocking check fails.
    authorized The authorisation of the company is in force.
    queued The declaration waits for its upload.
    submitted The declaration is uploaded and the authority returned an upload index.
    processing The authority has not finished checking the declaration.
    accepted The authority accepted the declaration and gave it its UIT code.
    rejected The authority refused the declaration and gave a message. A rejected declaration does not change; you write a new one from it.
    manual_review The gateway cannot tell whether the upload arrived. Compare with the authority’s list, then send again.
    deleted The authority accepted the deletion. The UIT code is no longer valid.

    After the UIT code

    The UIT code is valid from the declared start date, for a number of days that depends on the operation type: see UIT validity and timing. A transport can be declared at most 3 calendar days before its start date. Within that validity you can act on the declaration (a deletion is not limited by it), and each action is a message to the authority with its own answer:

    Where next