{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://askcalculators.com/uk/mileage-deduction/schema.json",
  "title": "Business Mileage Deduction Worksheet — United Kingdom inputs",
  "description": "Calculate a mileage-rate worksheet only after the applicable rate, eligible journeys and reimbursement treatment have been verified. GBP planning view; stated limitations apply.",
  "type": "object",
  "properties": {
    "unitSystem": {
      "title": "Measurement system",
      "type": "string",
      "default": "metric",
      "enum": [
        "imperial",
        "metric"
      ],
      "x-optionLabels": {
        "imperial": "Imperial (US gallons / short tons where relevant)",
        "metric": "Metric"
      }
    },
    "businessDistance": {
      "title": "Confirmed eligible business distance",
      "type": "number",
      "description": "Illustrative starting value; replace with your own evidence.",
      "default": 10000,
      "minimum": 0,
      "maximum": 1000000000000,
      "x-suffix": "km"
    },
    "confirmedRate": {
      "title": "Confirmed applicable allowance/deduction rate per distance unit",
      "type": "number",
      "description": "Illustrative starting value; replace with your own evidence.",
      "default": 0,
      "minimum": 0,
      "maximum": 1000000000000,
      "x-prefix": "GBP",
      "x-suffix": "/km",
      "x-unit": "currency"
    },
    "reimbursement": {
      "title": "Reimbursements that must offset this claim",
      "type": "number",
      "description": "Illustrative starting value; replace with your own evidence.",
      "default": 0,
      "minimum": 0,
      "maximum": 1000000000000,
      "x-step": 0.01,
      "x-prefix": "GBP",
      "x-unit": "currency"
    },
    "marginalTax": {
      "title": "Illustrative applicable marginal tax rate",
      "type": "number",
      "description": "Illustrative starting value; replace with your own evidence.",
      "default": 25,
      "minimum": 0,
      "maximum": 100,
      "x-step": 0.1,
      "x-unit": "percent"
    }
  },
  "required": [
    "businessDistance",
    "confirmedRate",
    "reimbursement",
    "marginalTax"
  ],
  "additionalProperties": false,
  "x-askcalculators": {
    "version": "20.16.0",
    "calculatorUrl": "https://askcalculators.com/uk/mileage-deduction/",
    "queryExample": "https://askcalculators.com/uk/mileage-deduction/?unitSystem=metric&businessDistance=10000&confirmedRate=0&reimbursement=0&marginalTax=25",
    "migrationStatus": "new",
    "reviewStatus": "pending",
    "pageStatus": "live",
    "workStatus": "pending",
    "formula": {
      "expression": "modeled claim = maximum(0, eligible business distance × confirmed applicable rate − required reimbursement offset).",
      "note": "Inputs are converted to canonical units before evaluating this stated formula."
    },
    "quality": {
      "availability": "live",
      "technicalReviewRecord": "/reviews/v20-uk-mileage-deduction.json",
      "qualifiedReview": "pending",
      "qualifiedReviewer": null,
      "qualifiedReviewDate": null,
      "formulaVersion": "20.16.0",
      "referenceCoverage": "references-listed",
      "releaseTestScope": "Catalog and regression checks are not a professional formula audit; consult release evidence.",
      "historicalMetadataDate": "",
      "historicalMetadataNotice": "The imported date is not evidence of a completed human review."
    },
    "outputs": {
      "grossAllowance": {
        "title": "Distance multiplied by confirmed rate",
        "type": "number",
        "x-format": "currency",
        "x-currency": "GBP",
        "x-digits": 2,
        "x-primary": true
      },
      "netClaim": {
        "title": "Modeled claim after entered reimbursement offset",
        "type": "number",
        "x-format": "currency",
        "x-currency": "GBP",
        "x-digits": 2
      },
      "taxEffect": {
        "title": "Illustrative tax effect, not a refund",
        "type": "number",
        "x-format": "currency",
        "x-currency": "GBP",
        "x-digits": 2
      }
    }
  }
}
