cURL
curl --request POST \ --url https://api.smartmove.eu/m2m/api/fleets/v1/{assetProviderCountryCode}/{assetProviderCode}/{vehicleId}/invoices \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "filters": [ { "field": "invoiceDate", "operation": "IN", "value": "<unknown>" } ] } '
{ "items": [ { "type": "ENERGY_FUEL_INVOICE", "id": "<string>", "ocrStatus": "NOT_STARTED", "name": "<string>", "date": "2023-12-25", "netCost": 123, "grossCost": 123, "taxRate": 123 } ], "pagination": { "pageSize": 100, "pageNumber": 0, "totalEntries": 1 } }
Retrieve the invoices of the specified vehicle
The access token received from the authorization server in the OAuth 2.0 flow.
The two-letter country code of the asset provider
2
The three-character code of the asset provider
3
The id of the vehicle
Request what page is wanted to be retrieved
Show child attributes
Invoices that the filters apply to
List of invoices