Download OpenAPI specification:
This is the formal specification of the Host-to-Host API of the Multi Service Tolls system. This specification defines the interface of how to access the MST tolling services, including setting up customers and vehicles, ordering products, and managing toll domains. Refer to the "H2H DataModel" excel sheets for further explanations of fields, parameter usage, and examples. Contact the MST Sales department (info@multiservicetolls.com) for information about connectivity and access credentials.
Copyright 2020 Multi Service Tolls. All rights reserved.
Get the list of customers
| customer_name | string [ 1 .. 50 ] characters The name of customer |
| vat_number | string [ 1 .. 20 ] characters VAT number |
| alternative_vat_number | string [ 1 .. 20 ] characters Alternative VAT number |
| coc_number | string [ 1 .. 20 ] characters CoC number |
[- {
- "customer_id": 14593,
- "partner_customer_number": "B0288056",
- "customer_name": "SC Sample Trans SRL",
- "vat_number": "RO14537285",
- "alternative_vat_number": "stringstr",
- "coc_number": "J26/228/2002",
- "partner_fleet_card_number": "3809991234567891230"
}
]Returns a list of transactions. Open query not permitted. You can't use batch seq number together with date range.
| start_date | string (ttt_date) ^[0-9]{4}-[0-9]{2}-[0-9]{2} Example: start_date=2018-07-09 Loading date to start the query from |
| end_date | string (ttt_date) ^[0-9]{4}-[0-9]{2}-[0-9]{2} Example: end_date=2018-07-09 Loading date to end the query at |
| batch_seq_nr | string (seq_nr) non-empty ^[0-9]+$ Example: batch_seq_nr=325 Batch Sequence Number |
| page_nr | integer (page_nr) Example: page_nr=1 Page of results to return (only for use with base_seq_nr) |
{- "sender": "MSTS",
- "receiver": "string",
- "datetime": "2018-07-09 08:18:28",
- "message": "OK",
- "customer_currency": "EUR",
- "total_pages": 1,
- "total_count": 1,
- "total_amount": 0,
- "page_nr": 1,
- "page_count": 1,
- "page_amount": 0,
- "transactions": [
- {
- "transaction_id": 14593,
- "partner_haulier_id": 34563,
- "supplier_name": "Supplier Name",
- "transaction_country": "AG",
- "transaction_domain": "FR",
- "purchase_datetime": "2018-07-09 08:18:28",
- "entry_point_name": "string",
- "entry_datetime": "2018-07-09 08:18:28",
- "exit_point_name": "string",
- "exit_datetime": "2018-07-09 08:18:28",
- "device_product_type": "Eurovignet",
- "device_product_number": "9999999999999999",
- "transaction_product_id": 421,
- "transaction_product_name": "Prepaid toll Slovakia",
- "license_plate_number": "AA-11-22",
- "vehicle_country": "AG",
- "original_currency": "EUR",
- "original_net_amount": 0,
- "original_gross_amount": 0,
- "original_vat_percentage": 0,
- "customer_currency": "EUR",
- "transaction_net_amount": 0,
- "transaction_gross_amount": 0,
- "exempt_amount": 0,
- "msts_fee_amount": 0,
- "msts_vat_amount": 0,
- "msts_vat_percentage": 0,
- "total_gross_amount": 0,
- "transaction_status": "Unbilled",
- "loading_date": "2018-07-09",
- "batch_seq_nr": "325",
- "distance_km": 0
}
]
}| transaction_id required | integer Example: 14593 |
{- "sender": "MSTS",
- "receiver": "string",
- "datetime": "2018-07-09 08:18:28",
- "message": "OK",
- "customer_currency": "EUR",
- "total_pages": 1,
- "total_count": 1,
- "total_amount": 0,
- "page_nr": 1,
- "page_count": 1,
- "page_amount": 0,
- "transactions": [
- {
- "transaction_id": 14593,
- "partner_haulier_id": 34563,
- "supplier_name": "Supplier Name",
- "transaction_country": "AG",
- "transaction_domain": "FR",
- "purchase_datetime": "2018-07-09 08:18:28",
- "entry_point_name": "string",
- "entry_datetime": "2018-07-09 08:18:28",
- "exit_point_name": "string",
- "exit_datetime": "2018-07-09 08:18:28",
- "device_product_type": "Eurovignet",
- "device_product_number": "9999999999999999",
- "transaction_product_id": 421,
- "transaction_product_name": "Prepaid toll Slovakia",
- "license_plate_number": "AA-11-22",
- "vehicle_country": "AG",
- "original_currency": "EUR",
- "original_net_amount": 0,
- "original_gross_amount": 0,
- "original_vat_percentage": 0,
- "customer_currency": "EUR",
- "transaction_net_amount": 0,
- "transaction_gross_amount": 0,
- "exempt_amount": 0,
- "msts_fee_amount": 0,
- "msts_vat_amount": 0,
- "msts_vat_percentage": 0,
- "total_gross_amount": 0,
- "transaction_status": "Unbilled",
- "loading_date": "2018-07-09",
- "batch_seq_nr": "325",
- "distance_km": 0
}
]
}| transaction_id required | integer Example: 14593 |
| field_name required | string Enum: "transaction_id" "partner_haulier_id" "supplier_name" "transaction_country" "transaction_domain" "purchase_datetime" "entry_point_name" "entry_datetime" "exit_point_name" "exit_datetime" "device_product_type" "device_product_number" "transaction_product_id" "transaction_product_name" "license_plate_number" "vehicle_country" "original_currency" "original_net_amount" "original_gross_amount" "original_vat_percentage" "customer_currency" "transaction_net_amount" "transaction_gross_amount" "exempt_amount" "msts_fee_amount" "msts_vat_amount" "msts_vat_percentage" "total_gross_amount" "transaction_status" "loading_date" "batch_seq_nr" "invoice_number" "invoice_date" "specification_page_id" "specification_page_name" "transaction_debit_or_credit" "original_transaction_id" "original_invoice_number" "original_invoice_date" "credit_comment" "customer_name" "customer_vat_number" "packed_ascii_license_plate_no" "vehicle_type" "fleet_code" "driver_group" "vehicle_axles" "total_axles" "euronorm" "vehicle_weight" "total_weight" "certification_date" "loadfile_datetime" "loadfile_type" "loadfile_seq_nr" "tsp_name" "route" "distance_km" "duration" "supplier_licence_plate_number" "supplier_vehicle_country" "supplier_vehicle_class" "supplier_vehicle_euronorm" "supplier_tariff_code" "original_base_amount" "original_air_external_cost" "original_noise_external_cost" "original_quantity" "original_base_price" "original_rate_percentage" "original_exchange_rate" "original_vat_country" "original_vat_percentage" "original_vat_amount" "customer_exchange_rate" "customer_vat_amount" "msts_vat_country" "msts_vat_percentage" "total_net_amount" "total_vat_amount" "transaction_sent_datetime" "transaction_sent_seq_nr" "settlement_sent_datetime" "settlement_sent_seq_nr" "supplier_transaction_id" "supplier_obu_id" "supplier_product_id" "supplier_invoice_id" "supplier_customer_id" "loadfile_id" "eurovignet_number" "eurovignet_trace_number" "italian_toll_exempt_amount" "belgian_roll_road_type" "spanish_portuguese_details" "french_toll_cost_details" "french_toll_commercial_condition" "french_toll_entry_acquisition_type" "french_toll_exit_acquisition_type" "french_toll_battery_status" "toll_collect_kostenstelle" "toll_collect_tarifversion" "toll_collect_ortsklasse" "toll_collect_zeitklasse" "toll_collect_achsklasse" "toll_collect_gweichtsklasse" "toll_collect_emissionsklasse" "toll_collect_betreiber_id" "toll_collect_verfahren" |
{- "sender": "MSTS",
- "receiver": "string",
- "datetime": "2018-07-09 08:18:28",
- "message": "OK",
- "transaction_id": 14593,
- "field_name": "license_plate_number",
- "field_value": "17-BBT-8"
}Returns a newly created batch of transactions. Only returns the first page of transactions, subsequent pages are to be requested via /transactions with batch_seq_nr and page_nr.
{- "sender": "MSTS",
- "receiver": "string",
- "datetime": "2018-07-09 08:18:28",
- "message": "OK",
- "batch_seq_nr": "325",
- "customer_currency": "EUR",
- "total_pages": 1,
- "total_count": 1,
- "total_amount": 0,
- "page_nr": 1,
- "page_count": 1,
- "page_amount": 0,
- "transactions": [
- {
- "transaction_id": 14593,
- "partner_haulier_id": 34563,
- "supplier_name": "Supplier Name",
- "transaction_country": "AG",
- "transaction_domain": "FR",
- "purchase_datetime": "2018-07-09 08:18:28",
- "entry_point_name": "string",
- "entry_datetime": "2018-07-09 08:18:28",
- "exit_point_name": "string",
- "exit_datetime": "2018-07-09 08:18:28",
- "device_product_type": "Eurovignet",
- "device_product_number": "9999999999999999",
- "transaction_product_id": 421,
- "transaction_product_name": "Prepaid toll Slovakia",
- "license_plate_number": "AA-11-22",
- "vehicle_country": "AG",
- "original_currency": "EUR",
- "original_net_amount": 0,
- "original_gross_amount": 0,
- "original_vat_percentage": 0,
- "customer_currency": "EUR",
- "transaction_net_amount": 0,
- "transaction_gross_amount": 0,
- "exempt_amount": 0,
- "msts_fee_amount": 0,
- "msts_vat_amount": 0,
- "msts_vat_percentage": 0,
- "total_gross_amount": 0,
- "transaction_status": "Unbilled",
- "loading_date": "2018-07-09",
- "batch_seq_nr": "325",
- "distance_km": 0
}
]
}Returns a list of settled transactions. Open query not permitted. You can't use batch seq number together with date range
| start_date | string (ttt_date) ^[0-9]{4}-[0-9]{2}-[0-9]{2} Example: start_date=2018-07-09 Invoice date to start the query from |
| end_date | string (ttt_date) ^[0-9]{4}-[0-9]{2}-[0-9]{2} Example: end_date=2018-07-09 Invoice date to end the query at |
| batch_seq_nr | string (seq_nr) non-empty ^[0-9]+$ Example: batch_seq_nr=325 Batch Sequence Number |
| page_nr | integer (page_nr) Example: page_nr=1 Page of results to return (only for use with base_seq_nr) |
{- "sender": "MSTS",
- "receiver": "string",
- "datetime": "2018-07-09 08:18:28",
- "message": "OK",
- "customer_currency": "EUR",
- "total_pages": 1,
- "total_count": 1,
- "total_amount": 0,
- "page_nr": 1,
- "page_count": 1,
- "page_amount": 0,
- "transactions": [
- {
- "transaction_id": 14593,
- "purchase_datetime": "2018-07-09 08:18:28",
- "partner_haulier_id": 34563,
- "transaction_net_amount": 0,
- "transaction_gross_amount": 0,
- "msts_fee_amount": 0,
- "msts_vat_amount": 0,
- "total_gross_amount": 0,
- "invoice_number": 178468,
- "invoice_date": "2018-07-09",
- "specification_page_id": 146,
- "specification_page_name": "Multi Service general",
- "transaction_debit_or_credit": "Debit",
- "original_transaction_id": 17663,
- "original_invoice_number": 734593,
- "original_invoice_date": "2018-07-09",
- "credit_comment": "string",
- "batch_seq_nr": "325",
- "msts_vat_number": "string"
}
]
}Returns a newly created batch of settlements. Only returns the first page of transactions, subsequent pages are to be requested via /transactions with batch_seq_nr and page_nr.
{- "sender": "MSTS",
- "receiver": "string",
- "datetime": "2018-07-09 08:18:28",
- "message": "OK",
- "batch_seq_nr": "325",
- "customer_currency": "EUR",
- "total_pages": 1,
- "total_count": 1,
- "total_amount": 0,
- "page_nr": 1,
- "page_count": 1,
- "page_amount": 0,
- "transactions": [
- {
- "transaction_id": 14593,
- "purchase_datetime": "2018-07-09 08:18:28",
- "partner_haulier_id": 34563,
- "transaction_net_amount": 0,
- "transaction_gross_amount": 0,
- "msts_fee_amount": 0,
- "msts_vat_amount": 0,
- "total_gross_amount": 0,
- "invoice_number": 178468,
- "invoice_date": "2018-07-09",
- "specification_page_id": 146,
- "specification_page_name": "Multi Service general",
- "transaction_debit_or_credit": "Debit",
- "original_transaction_id": 17663,
- "original_invoice_number": 734593,
- "original_invoice_date": "2018-07-09",
- "credit_comment": "string",
- "batch_seq_nr": "325",
- "msts_vat_number": "string"
}
]
}Returns links to PDF invoices.
| start_date required | string (ttt_date) ^[0-9]{4}-[0-9]{2}-[0-9]{2} Example: start_date=2018-07-09 Invoice date to start the query from |
| end_date required | string (ttt_date) ^[0-9]{4}-[0-9]{2}-[0-9]{2} Example: end_date=2018-07-09 Invoice date to end the query at |
{- "sender": "MSTS",
- "receiver": "string",
- "datetime": "2018-07-09 08:18:28",
- "message": "OK",
- "pdf_invoices": [
- {
- "name": "20190515_10335.pdf",
- "url": "https:...20190515_10335.pdf...",
- "total_amount_euro": 0,
- "total_vat_amount_euro": 0,
- "msts_vat_number": "string",
- "invoice_id": 801370,
- "invoice_date": "2018-07-09"
}
]
}Returns links to PDF invoices.
| invoice_id required | string (invoice_id) non-empty ^[0-9]+$ Example: 562 Unique ID for an invoice |
{- "sender": "MSTS",
- "receiver": "string",
- "datetime": "2018-07-09 08:18:28",
- "message": "OK",
- "pdf_invoices": [
- {
- "name": "20190515_10335.pdf",
- "url": "https:...20190515_10335.pdf...",
- "total_amount_euro": 0,
- "total_vat_amount_euro": 0,
- "msts_vat_number": "string",
- "invoice_id": 801370,
- "invoice_date": "2018-07-09"
}
]
}Returns a list of transactions which are in Don't Bill status. Open query not permitted. You can't use batch seq number together with date range.
| start_date | string (ttt_date) ^[0-9]{4}-[0-9]{2}-[0-9]{2} Example: start_date=2018-07-09 Loading date to start the query from |
| end_date | string (ttt_date) ^[0-9]{4}-[0-9]{2}-[0-9]{2} Example: end_date=2018-07-09 Loading date to end the query at |
| batch_seq_nr | string (seq_nr) non-empty ^[0-9]+$ Example: batch_seq_nr=325 Batch Sequence Number |
| page_nr | integer (page_nr) Example: page_nr=1 Page of results to return (only for use with base_seq_nr) |
{- "sender": "MSTS",
- "receiver": "string",
- "datetime": "2018-07-09 08:18:28",
- "message": "OK",
- "customer_currency": "EUR",
- "total_pages": 1,
- "total_count": 1,
- "total_amount": 0,
- "page_nr": 1,
- "page_count": 1,
- "page_amount": 0,
- "transactions": [
- {
- "transaction_id": 14593,
- "partner_haulier_id": 34563,
- "supplier_name": "Supplier Name",
- "transaction_country": "AG",
- "transaction_domain": "FR",
- "purchase_datetime": "2018-07-09 08:18:28",
- "entry_point_name": "string",
- "entry_datetime": "2018-07-09 08:18:28",
- "exit_point_name": "string",
- "exit_datetime": "2018-07-09 08:18:28",
- "device_product_type": "Eurovignet",
- "device_product_number": "9999999999999999",
- "transaction_product_id": 421,
- "transaction_product_name": "Prepaid toll Slovakia",
- "license_plate_number": "AA-11-22",
- "vehicle_country": "AG",
- "original_currency": "EUR",
- "original_net_amount": 0,
- "original_gross_amount": 0,
- "original_vat_percentage": 0,
- "customer_currency": "EUR",
- "transaction_net_amount": 0,
- "transaction_gross_amount": 0,
- "exempt_amount": 0,
- "msts_fee_amount": 0,
- "msts_vat_amount": 0,
- "msts_vat_percentage": 0,
- "total_gross_amount": 0,
- "transaction_status": "Unbilled",
- "loading_date": "2018-07-09",
- "batch_seq_nr": "325",
- "distance_km": 0
}
]
}Returns a newly created batch of Don't Bill transactions. Only returns the first page of transactions, subsequent pages are to be requested via /dailytrx with batch_seq_nr and page_nr.
{- "sender": "MSTS",
- "receiver": "string",
- "datetime": "2018-07-09 08:18:28",
- "message": "OK",
- "batch_seq_nr": "325",
- "customer_currency": "EUR",
- "total_pages": 1,
- "total_count": 1,
- "total_amount": 0,
- "page_nr": 1,
- "page_count": 1,
- "page_amount": 0,
- "transactions": [
- {
- "transaction_id": 14593,
- "partner_haulier_id": 34563,
- "supplier_name": "Supplier Name",
- "transaction_country": "AG",
- "transaction_domain": "FR",
- "purchase_datetime": "2018-07-09 08:18:28",
- "entry_point_name": "string",
- "entry_datetime": "2018-07-09 08:18:28",
- "exit_point_name": "string",
- "exit_datetime": "2018-07-09 08:18:28",
- "device_product_type": "Eurovignet",
- "device_product_number": "9999999999999999",
- "transaction_product_id": 421,
- "transaction_product_name": "Prepaid toll Slovakia",
- "license_plate_number": "AA-11-22",
- "vehicle_country": "AG",
- "original_currency": "EUR",
- "original_net_amount": 0,
- "original_gross_amount": 0,
- "original_vat_percentage": 0,
- "customer_currency": "EUR",
- "transaction_net_amount": 0,
- "transaction_gross_amount": 0,
- "exempt_amount": 0,
- "msts_fee_amount": 0,
- "msts_vat_amount": 0,
- "msts_vat_percentage": 0,
- "total_gross_amount": 0,
- "transaction_status": "Unbilled",
- "loading_date": "2018-07-09",
- "batch_seq_nr": "325",
- "distance_km": 0
}
]
}