Operation types and required fields
The operation type says which kind of transport you declare, and with it what the declaration must carry.
On this page
Every declaration has an operationType, one of the eleven abbreviations of the authority. It decides where the partner may be, which purposes the goods lines accept, how many days the UIT code is valid, which fields are required and where the route may start and end. You choose it when you create the declaration and it does not change afterwards: a transport of another type is another declaration.
Road transport within Romania is monitored for the goods of high fiscal risk that the tax authority lists in its order. TTN is the type of that transport, so the goods you send on it are of the kinds the list names; the gateway does not know the list and declares the goods you send. International road transport of goods is monitored whatever the goods are. The other ten types are international transports.
The eleven types
| Type | Code | Name | Partner | UIT code valid | Route |
|---|---|---|---|---|---|
AIC | 10 | Intra-Community acquisition | In another member state | 15 days | no restriction |
LHI | 12 | Lohn (EU), inbound | In another member state | 15 days | does not end at a border crossing |
SCI | 14 | Call-off stock, inbound | In another member state | 15 days | does not end at a border crossing |
LIC | 20 | Intra-Community supply | In another member state | 5 days | does not start at a border crossing |
LHE | 22 | Lohn (EU), outbound | In another member state | 15 days | does not start at a border crossing |
SCE | 24 | Call-off stock, outbound | In another member state | 15 days | does not start at a border crossing |
TTN | 30 | Transport within Romania | In Romania | 5 days | does not start at a border crossing; does not end at a border crossing |
IMP | 40 | Import | Outside the Union | 5 days | does not end at a border crossing |
EXP | 50 | Export | Outside the Union | 5 days | does not start at a border crossing |
DIN | 60 | Intra-Community transit, inbound for storage | In another member state | 15 days | does not end at a border crossing |
DIE | 70 | Intra-Community transit, outbound after storage | In another member state | 5 days | does not start at a border crossing |
The days are calendar days, counted from the declared start date, which is the first of them. The longer term of 15 days belongs to the acquisition, to goods in transit unloaded for storage and to the non-transfer and call-off stock operations (AIC, DIN, LHI, LHE, SCI, SCE); every other type has 5. UIT validity and timing goes through the count.
Ask the gateway for the same table, with the required fields of each type, so your software need not copy it.
curl
curl "$RDC_BASE_URL/etransport/v1/operation-types?limit=20" \
-H "Authorization: Bearer $RDC_TOKEN" JavaScript
const response = await fetch(`${process.env.RDC_BASE_URL}/etransport/v1/operation-types?limit=20`, {
method: 'GET',
headers: {
Authorization: `Bearer ${process.env.RDC_TOKEN}`,
},
});
const result = await response.json(); Python
import os
import requests
response = requests.request(
'GET',
f'{os.environ["RDC_BASE_URL"]}/etransport/v1/operation-types?limit=20',
headers={
'Authorization': f'Bearer {os.environ["RDC_TOKEN"]}',
},
)
result = response.json() PHP
<?php
$curl = curl_init(getenv('RDC_BASE_URL') . '/etransport/v1/operation-types?limit=20');
curl_setopt_array($curl, [
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => [
'Authorization: Bearer ' . getenv('RDC_TOKEN'),
],
]);
$result = json_decode(curl_exec($curl), true);
curl_close($curl); C#
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Get, $"{Environment.GetEnvironmentVariable("RDC_BASE_URL")}/etransport/v1/operation-types?limit=20");
request.Headers.Authorization = new AuthenticationHeaderValue("Bearer", Environment.GetEnvironmentVariable("RDC_TOKEN"));
var response = await client.SendAsync(request);
var result = await response.Content.ReadAsStringAsync(); {
"items": [
{
"type": "AIC",
"code": 10,
"name": {
"en": "Intra-Community acquisition",
"ro": "Achiziție intracomunitară"
},
"partnerArea": "eu",
"validityDays": 15,
"purposes": [
{
"code": 101,
"name": {
"en": "Sale",
"ro": "Comercializare"
}
},
{
"code": 201,
"name": {
"en": "Production",
"ro": "Producție"
}
},
{
"code": 301,
"name": {
"en": "Free of charge",
"ro": "Gratuități"
}
},
{
"code": 401,
"name": {
"en": "Commercial equipment",
"ro": "Echipament comercial"
}
},
{
"code": 501,
"name": {
"en": "Fixed assets",
"ro": "Mijloace fixe"
}
},
{
"code": 601,
"name": {
"en": "Own consumption",
"ro": "Consum propriu"
}
},
{
"code": 703,
"name": {
"en": "Delivery with installation",
"ro": "Livrare cu instalare"
}
},
{
"code": 801,
"name": {
"en": "Finance or operating lease",
"ro": "Leasing financiar sau operațional"
}
},
{
"code": 802,
"name": {
"en": "Goods under warranty",
"ro": "Bunuri în garanție"
}
},
{
"code": 901,
"name": {
"en": "Exempt operations",
"ro": "Operațiuni scutite"
}
},
{
"code": 1001,
"name": {
"en": "Investment in progress",
"ro": "Investiție în curs"
}
},
{
"code": 1101,
"name": {
"en": "Donations and aid",
"ro": "Donații, ajutoare"
}
},
{
"code": 9901,
"name": {
"en": "Other",
"ro": "Altele"
}
}
],
"startMayBeBorderCrossing": true,
"endMayBeBorderCrossing": true,
"requiredFields": [
"startDate",
"partner.country",
"partner.name",
"transporter.country",
"transporter.name",
"vehicle",
"from",
"to",
"goods",
"goods.name",
"goods.quantity",
"goods.unit",
"goods.purposeCode",
"goods.grossMass",
"documents",
"transporter.code (a transporter in Romania)",
"goods.tariffCode",
"goods.netMass",
"goods.value"
]
},
{
"type": "LHI",
"code": 12,
"name": {
"en": "Lohn (EU), inbound",
"ro": "Lohn (UE), intrare"
},
"partnerArea": "eu",
"validityDays": 15,
"purposes": [
{
"code": 9999,
"name": {
"en": "Same as the operation",
"ro": "Același cu operațiunea"
}
}
],
"startMayBeBorderCrossing": true,
"endMayBeBorderCrossing": false,
"requiredFields": [
"startDate",
"partner.country",
"partner.name",
"transporter.country",
"transporter.name",
"vehicle",
"from",
"to",
"goods",
"goods.name",
"goods.quantity",
"goods.unit",
"goods.purposeCode",
"goods.grossMass",
"documents",
"transporter.code (a transporter in Romania)",
"goods.tariffCode",
"goods.netMass",
"goods.value"
]
}
],
"nextCursor": "types-2"
} The partner and the transporter
partner is the other side of the operation: the supplier of an acquisition, the customer of a supply, the buyer of a delivery within Romania. Its country is a two-letter code (Greece is EL) and must fit the type:
TTN: Romania (RO).IMPandEXP: a country outside the Union.- All other types: another member state, never Romania.
For TTN the partner’s code is required: the tax code, or PF for a private person whose personal number you do not know. For the other types the code is optional, because a partner abroad often has none you know.
transporter is the company that carries out the transport: your own company when you deliver with your own vehicle, a carrier otherwise. A transporter in Romania needs a code too: a tax code, and for TTN also PF.
Purposes
Each goods line carries a purposeCode. The types that name a purpose of their own accept a short list; the others accept only 9999, “same as the operation”.
| Type | Purposes accepted |
|---|---|
AIC | 101 Sale; 201 Production; 301 Free of charge; 401 Commercial equipment; 501 Fixed assets; 601 Own consumption; 703 Delivery with installation; 801 Finance or operating lease; 802 Goods under warranty; 901 Exempt operations; 1001 Investment in progress; 1101 Donations and aid; 9901 Other |
LHI | 9999 Same as the operation |
SCI | 9999 Same as the operation |
LIC | 101 Sale; 301 Free of charge; 703 Delivery with installation; 801 Finance or operating lease; 802 Goods under warranty; 9901 Other |
LHE | 9999 Same as the operation |
SCE | 9999 Same as the operation |
TTN | 101 Sale; 704 Transfer between stock locations; 705 Goods at the customer’s disposal; 9901 Other |
IMP | 9999 Same as the operation |
EXP | 9999 Same as the operation |
DIN | 9999 Same as the operation |
DIE | 9999 Same as the operation |
Required fields
A draft can be saved with fields missing. It cannot be sent until the checks pass, and the checks name what is missing. A transport can be declared at most 3 calendar days before its start date.
| Field | Required for | Rule |
|---|---|---|
startDate | every type | A date, at most 3 calendar days after the day you declare. |
partner.country, partner.name | every type | The country fits the type; the name has at most 200 characters. |
partner.code | TTN | A tax code, or PF. |
transporter.country, transporter.name | every type | A two-letter country code; a name of at most 200 characters. |
transporter.code | a transporter in Romania | A tax code; PF for TTN. |
vehicle | every type | See Vehicles and trailers. |
from, to | every type | See Locations. |
goods | every type, at least one line | See Goods lines and tariff codes. |
goods.tariffCode, goods.netMass, goods.value | every type except DIN and DIE | The two transit operations do not need them. |
documents | every type, at least one | See Transport documents. |