v1
latestOpenAPI 3.1.02026-08-06236494759.4 KBTransactions
Create Mileage Reimbursement Transaction
Endpoint to create a MileageReimbursement Transaction.
post/business/v2/transactions/mileage-reimbursements
Headers
X-Soldo-Fingerprintstring required
Advanced authentication: SHA512SUM of the fingerprint values listed in the fingerprint order for this endpoint.
Example:{{fingerprint}}
X-Soldo-Fingerprint-Signaturestring required
Advanced authentication: Signature of the X-Soldo-Fingerprint.
Example:{{fingerprint_signature}}
Request body
Example request
{
"request_timestamp": 1576850500000,
"date": "2017-06-01T12:48:40Z",
"owner_id": "XMPL1234-000002",
"mileage": {
"vehicle_id": "2d65bd5e-3fdf-4002-b166-bde7fb8863fa",
"reimbursement_rate": 0.45,
"description": "Business trip: Rome - Florence - Turin - Milan",
"starting_point": "Rome, Metropolitan City of Rome Capital, Italy",
"arrival_point": "Milan, Metropolitan City of Milan, Italy",
"multi_stops": [
"Florence, Metropolitan City of Florence, Italy",
"Turin, Metropolitan City of Turin, Italy"
],
"distance": 875.4,
"round_trip": true
}
}Response
The returned resource is a single MileageReimbursement.
Example response
{
"transaction_id": "7bf79328-a7ae-4222-aa54-091ff7f429a7",
"date": "2017-06-01T12:48:40Z",
"owner_id": "XMPL1234-000002",
"amount": 10.25,
"mileage": {
"vehicle_id": "2d65bd5e-3fdf-4002-b166-bde7fb8863fa",
"reimbursement_rate": 0.45,
"description": "Business trip: Rome - Florence - Turin - Milan",
"starting_point": "Rome, Metropolitan City of Rome Capital, Italy",
"arrival_point": "Milan, Metropolitan City of Milan, Italy",
"multi_stops": [
"Florence, Metropolitan City of Florence, Italy",
"Turin, Metropolitan City of Turin, Italy"
],
"distance": 875.4,
"round_trip": true
}
}