Entity · vehicle_costs
Vehicle Cost Schema
Felder
Vehicle Cost Schema
Schema for validating vehicle cost / Fahrzeugkosten entities
vehicleId
Reference to the vehicle
date
Date of the cost
costType
Cost type classification
Werte
FUELTOLLPARKINGREPAIRINSURANCELEASETAXTIREWASHOTHERamount
Cost amount in EUR as decimal string
Pattern
description
Cost description
max 1000 Zeichennullable
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 Zeichennullable
fuelCardId
Optional reference to the fuel card used for this cost
nullable
receiptAttachmentId
Receipt attachment file ID
nullable
notes
Additional notes
max 2000 Zeichennullable
Keine Felder passen zum Filter.
Standard-Endpoints
Diese Resource folgt dem generischen CRUD-Vertrag der Plattform. Lesen Sie die Konventionen für Pagination, Idempotenz, Optimistic Locking und Audit. Die wichtigsten Endpoints:
GET /api/v1/vehicle_costs— Liste, paginiert + filterbarGET /api/v1/vehicle_costs/<id>— Einzelne EntityPOST /api/v1/vehicle_costs— AnlegenPATCH /api/v1/vehicle_costs/<id>— Teil-UpdateDELETE /api/v1/vehicle_costs/<id>— Soft-DeleteGET /api/v1/vehicle_costs/<id>/timeline— Audit + Aktivitäten