{
  "$comment": "Machine-readable companion to https://valem.run/calculators/india/car-tax. Formula, inputs, outputs, engine-verified test vectors, cited sources and the re-runnable Valem ModelSpec behind the page.",
  "url": "https://valem.run/calculators/india/car-tax",
  "dataUrl": "https://valem.run/calculators/india/car-tax.json",
  "license": {
    "name": "CC BY 4.0",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "attribution": "India road tax model by Valem (https://valem.run/calculators/india/car-tax), CC BY 4.0.",
    "note": "Covers the model — the expression of each rule and the arrangement of the catalog. The rates and thresholds themselves are law and are not licensed by anyone; the cited sources are where they come from."
  },
  "verificationUrl": "https://valem.run/calculators/india/car-tax/verify",
  "country": "india",
  "countryName": "India",
  "formula": "car-tax",
  "formulaName": "Road tax",
  "title": "Road Tax Calculator India — one-time tax at purchase",
  "answer": "India's road tax is a one-time charge at purchase, set by each state as a percentage of the car's ex-showroom price.",
  "lang": "en",
  "currency": "INR",
  "taxYear": "2026",
  "verification": {
    "claim": "internal-consistency",
    "statement": "The Valem engine reproduces this model's stated formula through 3 self-test cases (below, and re-runnable against the spec). That asserts internal consistency, NOT that the formula matches current law — the cited sources are the evidence for that, and carry the date each was last checked.",
    "selfTestCases": 3,
    "ratesAreIllustrative": false,
    "sourcesCheckedOn": "2026-08-02"
  },
  "sources": [
    {
      "label": "Vahan — Ministry of Road Transport",
      "url": "https://vahan.parivahan.gov.in",
      "checked": "2026-08-02"
    }
  ],
  "terminalOutput": "roadTax",
  "inputs": [
    {
      "name": "exShowroom",
      "type": "number",
      "label": "Ex-showroom price (INR)",
      "minimum": 0
    },
    {
      "name": "state",
      "type": "string",
      "label": "State of registration"
    },
    {
      "name": "customRate",
      "type": "number",
      "label": "Rate if \"Other\" (fraction, e.g. 0.10)",
      "minimum": 0,
      "maximum": 1
    }
  ],
  "outputs": [
    {
      "name": "rate",
      "type": "number",
      "formula": "($s := state; $s = 'KA' ? $const.rateKA : $s = 'DL' ? $const.rateDL : $s = 'TN' ? $const.rateTN : $s = 'MH' ? $const.rateMH : customRate)"
    },
    {
      "name": "roadTax",
      "type": "number",
      "label": "One-time road tax",
      "format": "currency",
      "formula": "$round(exShowroom * rate, 2)"
    }
  ],
  "testCases": [
    {
      "description": "C1 Karnataka, ex-showroom ₹1,200,000 at 18%",
      "given": {
        "exShowroom": 1200000,
        "state": "KA"
      },
      "expect": {
        "roadTax": 216000
      }
    },
    {
      "description": "C2 Delhi, ex-showroom ₹800,000 at 7%",
      "given": {
        "exShowroom": 800000,
        "state": "DL"
      },
      "expect": {
        "roadTax": 56000
      }
    },
    {
      "description": "C3 Tamil Nadu, ex-showroom 1,000,000 at 13%",
      "given": {
        "exShowroom": 1000000,
        "state": "TN"
      },
      "expect": {
        "rate": 0.13,
        "roadTax": 130000
      }
    }
  ],
  "spec": {
    "id": "car-tax-india",
    "version": "1.0.0",
    "schema": {
      "type": "object",
      "properties": {
        "exShowroom": {
          "type": "number",
          "minimum": 0
        },
        "state": {
          "type": "string"
        },
        "customRate": {
          "type": "number",
          "minimum": 0,
          "maximum": 1
        },
        "rate": {
          "type": "number",
          "readOnly": true
        },
        "roadTax": {
          "type": "number",
          "readOnly": true
        }
      }
    },
    "constants": {
      "rateKA": 0.18,
      "rateDL": 0.07,
      "rateTN": 0.13,
      "rateMH": 0.11
    },
    "defaultValues": [
      {
        "path": "$",
        "expr": "{'exShowroom': 1200000, 'state': 'KA', 'customRate': 0.18}"
      }
    ],
    "derivations": [
      {
        "path": "$.rate",
        "expr": "($s := state; $s = 'KA' ? $const.rateKA : $s = 'DL' ? $const.rateDL : $s = 'TN' ? $const.rateTN : $s = 'MH' ? $const.rateMH : customRate)"
      },
      {
        "path": "$.roadTax",
        "expr": "$round(exShowroom * rate, 2)"
      }
    ],
    "constraints": [],
    "metaDerivations": [],
    "viewDefinition": {
      "renderer": "builtin",
      "defaultView": "main",
      "views": [
        {
          "id": "main",
          "label": "Road tax",
          "layout": "vertical",
          "components": [
            {
              "id": "price",
              "type": "numericField",
              "label": "Ex-showroom price (INR)",
              "bind": "$.exShowroom"
            },
            {
              "id": "state",
              "type": "selectField",
              "label": "State of registration",
              "bind": "$.state",
              "helperText": "Road tax is a one-time state charge on the ex-showroom price, and states differ sharply. Rates shown are representative points in each state’s slab ladder.",
              "options": [
                {
                  "value": "KA",
                  "label": "Karnataka — 13-18% of ex-showroom (18% used here)"
                },
                {
                  "value": "DL",
                  "label": "Delhi — 4/7/10-12.5% by price slab (7% used here)"
                },
                {
                  "value": "TN",
                  "label": "Tamil Nadu — about 13%"
                },
                {
                  "value": "MH",
                  "label": "Maharashtra — 11% petrol (diesel adds a 2% surcharge)"
                },
                {
                  "value": "other",
                  "label": "Other state — enter your rate"
                }
              ]
            },
            {
              "id": "rate",
              "type": "numericField",
              "label": "Rate if \"Other\" (fraction, e.g. 0.10)",
              "bind": "$.customRate"
            },
            {
              "id": "tiles",
              "type": "group",
              "layout": "horizontal",
              "components": [
                {
                  "id": "taxTile",
                  "type": "statTile",
                  "label": "One-time road tax",
                  "bind": "$.roadTax",
                  "format": "currency",
                  "currency": "INR"
                }
              ]
            },
            {
              "id": "note",
              "type": "staticText",
              "text": "'India road tax is a one-time charge at purchase set by each state as a percentage of the ex-showroom price (Karnataka ~13-20%, Maharashtra ~11-15%, Delhi ~4-12.5%). Estimate, not tax advice. Most states, including Delhi, Karnataka and Tamil Nadu, waive road tax entirely for electric vehicles; Maharashtra charges a reduced rate.'"
            },
            {
              "id": "sources",
              "type": "sourceList",
              "label": "Sources",
              "items": [
                {
                  "label": "Vahan — Ministry of Road Transport",
                  "url": "https://vahan.parivahan.gov.in",
                  "date": "2026-08-02"
                }
              ]
            }
          ]
        }
      ]
    },
    "tests": [
      {
        "description": "C1 Karnataka, ex-showroom ₹1,200,000 at 18%",
        "given": {
          "$.exShowroom": 1200000,
          "$.state": "KA"
        },
        "expect": {
          "$.roadTax": 216000
        }
      },
      {
        "description": "C2 Delhi, ex-showroom ₹800,000 at 7%",
        "given": {
          "$.exShowroom": 800000,
          "$.state": "DL"
        },
        "expect": {
          "$.roadTax": 56000
        }
      },
      {
        "description": "C3 Tamil Nadu, ex-showroom 1,000,000 at 13%",
        "given": {
          "$.exShowroom": 1000000,
          "$.state": "TN"
        },
        "expect": {
          "$.rate": 0.13,
          "$.roadTax": 130000
        }
      }
    ]
  }
}
