Set a mileage rate
rate_setSet what one mile or km is worth for one category in one jurisdiction from a date forward: the jurisdiction label, the category, the rate per unit, the currency, and the date it takes effect. Rates form a series per jurisdiction and category, and each trip earns the rate in force on the day it was driven. No rate ships with this server; the figures are yours to verify. Free tier: one rate per jurisdiction and category; the year-over-year series is Pro.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rate | Yes | The rate per unit in currency units, to the thousandth, e.g. 0.70 for 70 cents a mile | |
| unit | Yes | The distance unit the rate prices | |
| category | Yes | Which category this prices: business, medical, moving, charitable, personal | |
| currency | Yes | ISO code the rate is in | |
| jurisdiction | Yes | A label for the rate set, e.g. US federal or Canada federal. It is a label, not legal advice | |
| effective_from | Yes | The date the rate starts to apply, YYYY-MM-DD. May be in the future: authorities announce next year's rate ahead of time |