Docs

Create Order

Create a draft order

Endpoint

POST /v1/create-order

Body Parameters

NameTypeRequiredDescription
customerobjectyesCustomer details
customer.namestringnoCustomer name
customer.emailstringnoCustomer email
customer.phonestringyesCustomer phone
productsProduct[]yesOrder products

Product Parameters

1. Vignette (RO)

Provide either vehicle (MD certificate — plate, VIN and car model are resolved automatically) or foreign_vehicle (for non-MD plates). Take duration and category from the matching get-offers response.

NameTypeRequiredDescription
productstringyesProduct vignette:ro
vehiclestringyes*MD vehicle certificate number (*provide this or foreign_vehicle)
foreign_vehicleobjectyes*Foreign vehicle payload (*use instead of vehicle for non-MD plates)
start_datestringyesStart date in yyyy-mm-dd format
durationnumberyesDuration in days
categorystringyesA, B, C, D, E, F, G, H,

foreign_vehicle

NameTypeRequiredDescription
registration_countrystringyesISO2 registration country (must not be MD)
categorystringyesEU vehicle category (M1, M2, M3, N1, N2, N3, L, O1O4)
plate_numberstringyesReal vehicle plate number (AT/DE internal spaces are preserved)
vinstringyes17-character VIN (ISO 3779 — no I, O, Q)
makestringnoVehicle make
modelstringnoVehicle model
max_authorized_massnumberrequired for N1N3, O1O4Max authorized mass in kg
placesnumberrequired for M2/M3Number of seats

Request Body Examples

JSON
{
  "customer": {
    "name": "John Doe",
    "email": "john@doe.com",
    "phone": "+37379000000"
  },
  "products": [
    {
      "product": "vignette:ro",
      "vehicle": "1234567890", // 9 digits certificate number
      "start_date": "2024-01-25", // yyyy-mm-dd
      "duration": 10,
      "category": "A"
    }
  ]
}
JSON (foreign vehicle)
{
  "customer": {
    "name": "John Doe",
    "email": "john@doe.com",
    "phone": "+37379000000"
  },
  "products": [
    {
      "product": "vignette:ro",
      "start_date": "2024-01-25", // yyyy-mm-dd
      "duration": 10,
      "category": "A",
      "foreign_vehicle": {
        "registration_country": "DE",
        "category": "M1",
        "plate_number": "B MW 1234",
        "vin": "WVWZZZ1JZXW000001",
        "make": "BMW",
        "model": "X7"
      }
    }
  ]
}

Response Body Examples

JSON
{
  "id": "RO1231241GG",
  "status": "draft",
  "description": "Rovinieta, 10 zile, Categoria A, BMW X7 ABC123",
  "price": 69.98,
  "currency": "MDL"
}

2. Green Card

NameTypeRequiredDescription
productstringyesProduct green-card
vehiclestringyesVehicle Certificate Number
start_datestringyesStart date in yyyy-mm-dd format
durationnumberyesDuration in days
regionstringyesRegion code EU or UA
insurance_companystringyesInsurance company
idnxstringyesIDNP or IDNO value

IDNX validator: https://github.com/iAsig/idnx-validator

Request Body Examples

JSON
{
  "customer": {
    "name": "John Doe",
    "email": "john@doe.com",
    "phone": "+37379000000"
  },
  "products": [
    {
      "product": "green-card",
      "vehicle": "1234567890", // 9 digits certificate number
      "start_date": "2024-01-25", // yyyy-mm-dd
      "duration": 15, // days
      "region": "EU",
      "insurance_company": "donaris",
      "idnx": "1021600002204" // 13 digits IDNP or IDNO
    }
  ]
}

Response Body Examples

JSON
{
  "id": "IAE001002ABC",
  "status": "draft",
  "description": "Asigurare Carte Verde, 15 zile, Europa, BMW X7 ISG313",
  "price": 700.0,
  "currency": "MDL"
}

3. MTPL

NameTypeRequiredDescription
productstringyesProduct rca
vehiclestringyesVehicle Certificate Number
start_datestringyesStart date in yyyy-mm-dd format
durationnumberyesDuration in days
insurance_companystringyesInsurance company
idnxstringyesIDNP or IDNO value

IDNX validator: https://github.com/iAsig/idnx-validator

Request Body Examples

JSON
{
  "customer": {
    "name": "John Doe",
    "email": "john@doe.com",
    "phone": "+37379000000"
  },
  "products": [
    {
      "product": "rca",
      "vehicle": "1234567890", // 9 digits certificate number
      "start_date": "2024-01-25", // yyyy-mm-dd
      "duration": 365, // days
      "insurance_company": "donaris",
      "idnx": "1021600002204" // 13 digits IDNP or IDNO
    }
  ]
}

Response Body Examples

JSON
{
  "id": "IAI001002ABC",
  "status": "draft",
  "description": "Asigurare RCA, BMW X7 ISG313",
  "price": 2245.32,
  "currency": "MDL"
}

4. Travel

NameTypeRequiredDescription
productstringyesProduct medical
start_datestringyesStart date in yyyy-mm-dd format
covered_territoriesstring[]yesCountries ISO3 codes or regions EUROPE, CSI, WORLD
include_additional_riskbooleanyes
end_datestringnoRequired for single entry. End date in yyyy-mm-dd format
activitystringyesTRVL - Tourism, WORK - Work, BIZZ-Business,STUDY - Studies,
SKI - Ski , ADV - Tourism (incl. recreational sports),
personsTravelPerson[]yesInsured persons birthdays yyyy-mm-dd
is_multiple_typebooleanyestrue for multiple entries and false for single entry
availabilitynumbernoRequired for multiple entries. Availability in months
insured_daysnumbernoRequired for multiple entries. Number of insured days
amountstringyesInsured amount
company_namenumberyesInsurance company
contractorIndividualPerson or CompanyyesContractor

TravelPerson

NameTypeRequiredDescription
first_namestringyesPerson first name
last_namestringyesPerson last name
birthdaystringyesBirth data in yyyy-mm-dd format
addressstringyesPerson address
passportstringyesPerson passport (series + number)
idnpstringyesIDNP value

IndividualPerson

NameTypeRequiredDescription
passportstringyesContractor passport (series + number)
birthdaystringyesContractor birth date in yyyy-mm-dd format
first_namestringyesContractor first name
last_namestringyesContractor last name
idnxstringyesContractor IDNP
addressstringyesContractor address
typestringyesindividual

Company

NameTypeRequiredDescription
fullNamestringyesCompany name
idnxstringyesCompany IDNO
addressstringyesCompany address
typestringyescompany

IDNX validator: https://github.com/iAsig/idnx-validator

Request Body Examples (single entry)

JSON
{
  "customer": {
    "name": "John Doe",
    "email": "john@doe.com",
    "phone": "+37379000000"
  },
  "products": [
    {
      "product": "medical",
      "start_date": "2024-04-03",
      "covered_territories": ["ROU"],
      "include_additional_risk": false,
      "end_date": "2024-04-08",
      "activity": "SKI",
      "persons": [
        {
          "first_name": "Mary",
          "last_name": "Jane",
          "birthday": "1999-12-31", // yyyy-mm-dd
          "address": "CHISINAU",
          "passport": "B39375364",
          "idnp": "2002488848847" // 13 digits IDNP
        }
      ],
      "contractor": {
        "passport": "AB213453",
        "birthday": "1990-11-31",
        "first_name": "Michael",
        "last_name": "Jane",
        "idnx": "2002433727391",
        "address": "str.Columna 32, Chisinau",
        "type": "individual"
      },
      "is_multiple_type": false,
      "amount": "30000",
      "company_name": "transelit"
    }
  ]
}

Request Body Examples (multiple entries)

JSON
{
  "customer": {
    "name": "John Doe",
    "email": "john@doe.com",
    "phone": "+37379000000"
  },
  "products": [
    {
      "product": "medical",
      "start_date": "2024-04-03",
      "covered_territories": ["ROU"],
      "include_additional_risk": false,
      "activity": "SKI",
      "persons": [
        {
          "first_name": "Mary",
          "last_name": "Jane",
          "birthday": "1999-12-31", // yyyy-mm-dd
          "address": "CHISINAU",
          "passport": "B39375364",
          "idnp": "2002488848847" // 13 digits IDNP
        }
      ],
      "contractor": {
        "full_name": "IASIG ONLINE S.R.L",
        "idnx": "1021600002204",
        "address": "str.Albisoara 42, Chisinau",
        "type": "company"
      },
      "is_multiple_type": true,
      "availability": 1,
      "insured_days": 10,
      "amount": "30000",
      "company_name": "transelit"
    }
  ]
}

Response Body Examples

JSON
{
  "id": "IAM541417MZV",
  "status": "draft",
  "description": "Asigurare Medicala pentru calatorii",
  "price": 95.86,
  "currency": "MDL"
}

5. Baggage insurance

NameTypeRequiredDescription
productstringyesProduct baggage
start_datestringyesDeparture date according to the airline tickets in yyyy-mm-dd format
flight_numbersstring[]yesFlights numbers according to the airline tickets
baggage_pcsnumberyesNumber of baggages
idnpstringyesIDNP value
contractor_full_namestringyesPerson full name according to the airline tickets (first/last name)
insurance_companystringyesInsurance company

Request Body Examples

JSON
{
  "customer": {
    "name": "John Doe",
    "email": "john@doe.com",
    "phone": "+37379000000"
  },
  "products": [
    {
      "product": "baggage",
      "start_date": "2024-01-25", // yyyy-mm-dd
      "flight_numbers": ["EK203", "BA289"],
      "baggage_pcs": 2,
      "idnp": "2002433727391",
      "contractor_full_name": "John Doe",
      "insurance_company": "asterra"
    }
  ]
}

Response Body Examples

JSON
{
  "id": "IAB001002ABC",
  "status": "draft",
  "description": "Asigurare facultativă a bagajelor avia",
  "price": 38.08,
  "currency": "MDL"
}

6. Road Tax

NameTypeRequiredDescription
productstringyesProduct road-tax
vehiclestringyesVehicle Certificate Number
idnxstringyesIDNP or IDNO value
contractor_full_namestringyesPerson full name or Company Name
locality_idnumberyesLocality id (CUATM)
locality_namestringyesLocality
regionstringyesMunicipiu / Raion

Request Body Examples

JSON
{
  "customer": {
    "name": "John Doe",
    "email": "john@doe.com",
    "phone": "+37379000000"
  },
  "products": [
    {
      "product": "road-tax",
      "vehicle": "1234567890", // 9 digits certificate number
      "idnx": "2002433727391",
      "contractor_full_name": "John Doe",
      "locality_id": 120,
      "locality_name": "SEC.BUIUCANI",
      "region": "MUN.CHISINAU"
    }
  ]
}

Response Body Examples

JSON
{
  "id": "TFD271963JPH",
  "status": "draft",
  "description": "Taxa de drum pentru folosirea drumurilor de către autovehicule înmatriculate în RM",
  "price": 837.0,
  "currency": "MDL"
}

7. Vignette (MD)

NameTypeRequiredDescription
productstringyesProduct vignette:md
identity_documentstringyesDriver's IDNP (MD residents) or passport number (foreign residents)
driver_full_namestringyesDriver full name
countrystringyesVehicle registration country, ISO2 or ISO3 (must not be MD)
start_datestringyesStart date in yyyy-mm-dd format
periodstringyesValidity period
vehicle_categorystringyesM1, M2 , M3 ,N1 ,N2 ,N3
registration_numberstringyesVehicle plate number (AT/DE internal spaces are preserved)
vinstringyesVehicle VIN / chassis number (up to 17 letters and digits)
residence_countrystringnoDriver's residence country, ISO2 or ISO3. Defaults to MD when identity_document is an IDNP, else to country

** Validity period for M1 Category 7_days| 15_days| 30_days| 90_days| 180_days| >180_days ** Validity period for M2, M3, N1, N2, N3 Category 1_day| 7_days| 30_days| 90_days| 12_months

*** M1 - Cars (Vehicles classified under tariff heading 8703 and trailers attached to them), M2 - Buses from 9 to 24 seats inclusive, M3 - Buses with more than 25 seats, N1 - Trucks with/without trailer, road tractors with/without semi-trailer up to and including 3.5 t, N2 - Trucks with/without trailer, road tractors with/without semi-trailer from 3.5 to 10 t inclusive, N3 - Trucks with/without trailer, road tractors with/without semi-trailer from 10 to 40 t inclusive,

Request Body Examples

JSON
{
  "customer": {
    "name": "John Doe",
    "email": "john@doe.com",
    "phone": "+37379000000"
  },
  "products": [
    {
      "product": "vignette:md",
      "vehicle_category": "M1",
      "identity_document": "AB123456", // passport → foreign resident
      "driver_full_name": "John Doe",
      "country": "ROU",
      "start_date": "2024-01-25",
      "registration_number": "XXX999",
      "vin": "WVWZZZ1JZXW000001",
      "period": "7_days"
    }
  ]
}

Response Body Examples

JSON
{
  "id": "MDV517529SEW",
  "status": "draft",
  "description": "Vinieta MD, 7_days, M1, XXX999",
  "start_date": "2024-01-25",
  "end_date": "2024-01-31",
  "price": 77.08,
  "currency": "MDL"
}

8. Vignette (EU)

European multi-country vignette. Take the country and validity from the matching get-offers response. Provide either vehicle (MD certificate — plate, VIN and car model are resolved automatically) or foreign_vehicle (for non-MD plates). The buyer becomes the vignette holder, so customer.name is used as the holder name.

NameTypeRequiredDescription
productstringyesProduct vignette:eu
countrystringyesISO2 destination country (e.g. ro, hu, bg)
validitystringyesValidity option id from the get-offers response
start_datestringyesStart date in yyyy-mm-dd format
vehiclestringyes*MD vehicle certificate number (*provide this or foreign_vehicle)
foreign_vehicleobjectyes*Foreign vehicle payload (*use instead of vehicle for non-MD plates)

foreign_vehicle

NameTypeRequiredDescription
registration_countrystringyesISO2 registration country (must not be MD)
categorystringyesEU vehicle category (M1, N1, …)
plate_numberstringyesReal vehicle plate number
vinstringyesVehicle identification number (mandatory for ro)
makestringnoVehicle make
modelstringnoVehicle model
max_authorized_massnumbernoMax authorized mass in kg
placesnumbernoNumber of seats

Request Body Examples (MD vehicle)

JSON
{
  "customer": {
    "name": "John Doe",
    "email": "john@doe.com",
    "phone": "+37379000000"
  },
  "products": [
    {
      "product": "vignette:eu",
      "vehicle": "123456789", // 9 digits certificate number
      "start_date": "2026-06-10", // yyyy-mm-dd
      "country": "bg",
      "validity": "bg-7d"
    }
  ]
}

Request Body Examples (foreign vehicle)

JSON
{
  "customer": {
    "name": "John Doe",
    "email": "john@doe.com",
    "phone": "+37379000000"
  },
  "products": [
    {
      "product": "vignette:eu",
      "start_date": "2026-06-10", // yyyy-mm-dd
      "country": "bg",
      "validity": "bg-7d",
      "foreign_vehicle": {
        "registration_country": "ua",
        "category": "M1",
        "plate_number": "AA1234BB",
        "vin": "WVWZZZ1JZXW000001"
      }
    }
  ]
}

Response Body Examples

JSON
{
  "id": "EUV001002ABC",
  "status": "draft",
  "description": "Vinietă Europa, BG, 7 zile, BMW X7 ISG313",
  "start_date": "2026-06-10",
  "price": 179.15,
  "currency": "MDL"
}

9. Roadside Assistance (EU)

Take the period from the matching get-offers response. The registered vehicle owner becomes the contract holder — no idnx is required.

NameTypeRequiredDescription
productstringyesProduct roadside-assistance-eu
vehiclestringyesVehicle Certificate Number
start_datestringyesStart date in yyyy-mm-dd format (no earlier than today + 48h)
periodstringyesValidity period id from get-offers (15_days, 12_months, 12_months_plus)

Request Body Examples

JSON
{
  "customer": {
    "name": "John Doe",
    "email": "john@doe.com",
    "phone": "+37379000000"
  },
  "products": [
    {
      "product": "roadside-assistance-eu",
      "vehicle": "123456789", // 9 digits certificate number
      "start_date": "2024-06-27", // yyyy-mm-dd
      "period": "12_months"
    }
  ]
}

Response Body Examples

JSON
{
  "id": "RSA271963ABC",
  "status": "draft",
  "description": "Asistență rutieră Europa, 12 luni, BMW X7 ISG313",
  "price": 921.62,
  "currency": "MDL"
}

Status Codes

CodeDescription
200Order created
400Bad request
401Unauthorized
403Forbidden
500Internal server error

iAsig © 2026