Save a calculated trip
trip_recordCalculate a trip and save it under a name, traveller taken from the shared business profile; returns the TRIP-YYYY-NNNN id. An identical record is refused and named, spending no slot. Free: 5 trips a calendar month.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | Yes | When it ended, same form as start. It must be after start as an instant | |
| name | Yes | What to call it, e.g. "Berlin client workshop" | |
| start | Yes | When the trip began, ISO 8601 WITH a zone: "2026-03-28T22:00:00+01:00", or "2026-03-28T22:00" together with timezone | |
| scheme | Yes | "pl" Polish delegation regulation, "uk" HMRC benchmark scale rates, "us" GSA CONUS standard | |
| project | No | Project or client this belongs to; carried onto the expense payload | |
| purpose | No | Why the trip happened; kept on the record and carried onto the expense payload | |
| timezone | No | IANA id such as "Europe/Warsaw". Required when start or end carries no offset; also the zone the US scheme counts calendar days in | |
| traveller | No | Who travelled. Defaults to the shared business profile's name | |
| destination | Yes | Country or locality, e.g. "Germany", "Poland", "United Kingdom", "United States" | |
| fiscal_year | No | US only, e.g. "FY2025". Defaults to the current bundled fiscal year | |
| late_evening | No | UK only, per day: the journey was ongoing at 8pm and a meal was bought after it, which adds the 10.00 GBP supplement | |
| lodging_nights | No | Nights of accommodation. What this pays depends on the scheme and the answer says so | |
| meals_provided | No | Per day, in order: the free meals the traveller was given that day, e.g. [["breakfast"],["breakfast","lunch"]]. Each one reduces that day's allowance by the scheme's own percentage or amount | |
| meals_provided_daily | No | The same free meals on every day. Ignored for any day that meals_provided already names |