Calculate a travel allowance
perdiem_calcCalculate the daily travel allowance for one trip: the amount per day and the total in the scheme's currency, with the partial-day fraction and the meal deductions the scheme's own rule applies. Free and unlimited.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | Yes | When it ended, same form as start. It must be after start as an instant | |
| 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 | |
| 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 | |
| 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 |