Travel Allowance Schema
Felder
Travel Allowance Schema
Schema for validating travel allowance / Fahrtkostenpauschale entities
name
Allowance name (e.g. Zone 1 - Nahbereich)
distanceFromKm
Distance range start in km
distanceToKm
Distance range end in km
flatRateAmount
Flat rate amount in EUR as decimal string
includesTime
Whether picking this zone also enables a separate travel-time flat rate (timeFlatRateAmount) alongside the distance flat rate
timeFlatRateAmount
Separate travel-time flat rate in EUR, applied when includesTime is true
isActive
Whether this travel allowance is active
sortOrder
Display sort order
appliesToAllCustomers
Whether new trips of all customers (unless the customer defaults to FLAT_RATE) automatically use this allowance when their distance falls into its range
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/travel_allowances— Liste, paginiert + filterbarGET /api/v1/travel_allowances/<id>— Einzelne EntityPOST /api/v1/travel_allowances— AnlegenPATCH /api/v1/travel_allowances/<id>— Teil-UpdateDELETE /api/v1/travel_allowances/<id>— Soft-DeleteGET /api/v1/travel_allowances/<id>/timeline— Audit + Aktivitäten