Entity · vehicle_costs
Vehicle Cost Schema
Fields
Vehicle Cost Schema
Schema for validating vehicle cost / Fahrzeugkosten entities
vehicleId
Reference to the vehicle
date
Date of the cost
costType
Cost type classification
Values
FUELTOLLPARKINGREPAIRINSURANCELEASETAXTIREWASHOTHERamount
Cost amount in EUR as decimal string
Pattern
description
Cost description
max 1000 charactersnullable
fuelDetails
Details specific to fuel costs
nullable
liters
Liters fueled
≥ 0
pricePerLiter
Price per liter in EUR
Patternnullable
mileageKm
Mileage at time of fueling
≥ 0nullable
location
Fueling location / gas station
max 200 charactersnullable
fuelCardId
Optional reference to the fuel card used for this cost
nullable
receiptAttachmentId
Receipt attachment file ID
nullable
notes
Additional notes
max 2000 charactersnullable
No fields match the filter.
Standard endpoints
This resource follows the platform's generic CRUD contract. Read the conventions for pagination, idempotency, optimistic locking and audit. The most important endpoints:
GET /api/v1/vehicle_costs— List, paginated + filterableGET /api/v1/vehicle_costs/<id>— Single entityPOST /api/v1/vehicle_costs— CreatePATCH /api/v1/vehicle_costs/<id>— Partial updateDELETE /api/v1/vehicle_costs/<id>— Soft deleteGET /api/v1/vehicle_costs/<id>/timeline— Audit + activities