Documentation
Guides, API reference and events for e‑Transport Gateway.
On this page
Rules shared by every R&D Copilot API are in the Developer guide.
Get started
- Overview: What the e‑Transport Gateway API does, how a call is built and where to go next.
- Quickstart: Declare your first transport from the test company: write the declaration, read its checks, send it and follow it to the UIT code.
- Authentication: Get client credentials, request a token and call the e‑Transport Gateway API with it.
- Sandbox and live: Build and test against a test company, then move the same calls to your live company.
- Go-live checklist: What to have in place before your software declares transports for a live company.
Declarations
- Operation types and required fields: The operation type says which kind of transport you declare, and with it what the declaration must carry.
- Goods lines and tariff codes: How to describe the goods of a declaration: tariff code, unit, masses and value of each line, and how the gateway adds them up.
- Locations: Where a transport starts and where it ends: a border crossing, a customs office or an address in Romania.
- Vehicles and trailers: How to write the plates of the vehicle and its trailers, and which call changes them at which moment.
- Transport documents: The documents that go with the goods: which types exist, which fields each carries, and what is required.
- Your own reference: Tie a UIT code to the operation in your own software with the reference you send, and find the declaration again by it.
Lifecycle
- Send and follow: Send a draft to the authority, then follow it from the upload index to ok or nok and read the UIT code.
- UIT validity and timing: How early a transport can be declared, how many days a UIT code is valid for each operation type, and what the gateway refuses on each day.
- Change the vehicle: Replace the vehicle or a trailer: with a correction before the truck leaves, with a vehicle change once it is on the road.
- Correct and delete: Correct the data of an accepted declaration while the vehicle is still in the yard, or delete the declaration, each as a message to the authority.
- Confirm receipt: Say what arrived once the transport is finished: confirmed, partly confirmed or rejected, and what counts when nobody says anything.
Track
- List and reconcile: List the declarations and the messages of a company, and compare your records with the list of the authority.
- Statuses: The statuses of a declaration and of a message, the words of the authority, and which statuses are final.
- Errors and warnings: The checks that run before a declaration is sent, how a blocking check is answered, and what the authority’s nok looks like.
- When the authority is unavailable: What happens when the authority does not answer an upload, how to send it again safely, and how to declare after an outage of its system.
Driver sheet
- The driver sheet: What the driver carries: the UIT code, the plates, the route, the goods and the days the code is valid, as data your software can print.
Reference
- Errors: The error object of the e‑Transport Gateway API and the codes that say what went wrong.
- Idempotency and concurrency: Repeat a request without applying it twice, and refuse a change made on an out-of-date record.
- Pagination: Lists come in pages. Follow the cursor until it is empty.
- Limits: The limits of the e‑Transport Gateway API, with their values and what happens over them.
- Versioning: The version is in the path. Additions keep it; a change that could break a caller gets a new one.
- Changelog: Every version of the e‑Transport Gateway contract, with its day and what it contains.
API reference
- Companies: The companies of your account and the state of their access to the authority. Companies are set up by our team with the account.
- Declarations: Write, check, send and follow transport declarations; correct, delete and confirm them after the UIT code; read the history and the driver sheet.
- Notifications: The messages the gateway exchanges with the authority about a declaration: new, correction, deletion, confirmation and vehicle change, each with its upload index and its answer.
- Vehicles: Change the vehicle and the trailers of a transport that is on the road, and read the changes.
- Reconciliation: Compare the list of the authority with the records of the gateway and settle the differences.
- Validations: The catalogue of the checks that run on a declaration before it is sent.
- Reference data: The operation types with their purposes and rules, and the codes of border crossings and customs offices.
- Operations: A request that changes data is accepted once and answered with an operation result you can read again.
- Subscriptions: Register the HTTPS endpoint that receives events, read the deliveries and replay a parked event.
Events
- Event envelope: Every e‑Transport Gateway event has the same envelope; only
datachanges with the type of the event. - Event catalogue: The events the gateway sends about a declaration, when each one is sent and what its data holds.
- Subscriptions: Register an HTTPS endpoint and e‑Transport Gateway sends your events to it, each one signed.
- Verify signatures: Every delivery is signed. Check the signature on the raw body before you trust the event.
- Delivery and retries: An event is sent again when your endpoint does not confirm it, and is kept for replay after the last attempt.
- Replay: Send a parked event again once your endpoint is ready to take it.