Entity · vehicle_costs
Vehicle Cost Schema
Velden
Vehicle Cost Schema
Schema for validating vehicle cost / Fahrzeugkosten entities
vehicleId
Reference to the vehicle
date
Date of the cost
costType
Cost type classification
Waarden
FUELTOLLPARKINGREPAIRINSURANCELEASETAXTIREWASHOTHERamount
Cost amount in EUR as decimal string
Pattern
description
Cost description
max. 1000 tekensnullable
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 tekensnullable
fuelCardId
Optional reference to the fuel card used for this cost
nullable
receiptAttachmentId
Receipt attachment file ID
nullable
notes
Additional notes
max. 2000 tekensnullable
Geen velden komen overeen met het filter.
Standaard-endpoints
Deze resource volgt het generieke CRUD-contract van het platform. Lees de conventies voor paginering, idempotentie, optimistic locking en audit. De belangrijkste endpoints:
GET /api/v1/vehicle_costs— Lijst, gepagineerd + filterbaarGET /api/v1/vehicle_costs/<id>— Enkele entityPOST /api/v1/vehicle_costs— AanmakenPATCH /api/v1/vehicle_costs/<id>— Gedeeltelijke updateDELETE /api/v1/vehicle_costs/<id>— Soft-deleteGET /api/v1/vehicle_costs/<id>/timeline— Audit + activiteiten