Travel Allowance Schema
Fields
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
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/travel_allowances— List, paginated + filterableGET /api/v1/travel_allowances/<id>— Single entityPOST /api/v1/travel_allowances— CreatePATCH /api/v1/travel_allowances/<id>— Partial updateDELETE /api/v1/travel_allowances/<id>— Soft deleteGET /api/v1/travel_allowances/<id>/timeline— Audit + activities