{
  "$comment": "Machine-readable companion to https://valem.run/calculators/greece/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/greece/car-tax",
  "dataUrl": "https://valem.run/calculators/greece/car-tax.json",
  "license": {
    "name": "CC BY 4.0",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "attribution": "Greece τέλη κυκλοφορίας model by Valem (https://valem.run/calculators/greece/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/greece/car-tax/verify",
  "country": "greece",
  "countryName": "Greece",
  "formula": "car-tax",
  "formulaName": "Τέλη κυκλοφορίας",
  "title": "Τέλη Κυκλοφορίας — Greece car tax",
  "answer": "Greece's annual circulation tax for cars registered after Nov 2010 is CO2 emissions times a per-gram rate.",
  "lang": "en",
  "currency": "EUR",
  "taxYear": "2025",
  "verification": {
    "claim": "internal-consistency",
    "statement": "The Valem engine reproduces this model's stated formula through 2 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": 2,
    "ratesAreIllustrative": false,
    "sourcesCheckedOn": "2026-08-02"
  },
  "sources": [
    {
      "label": "ΑΑΔΕ",
      "url": "https://www.aade.gr",
      "checked": "2026-08-02"
    }
  ],
  "terminalOutput": "tax",
  "inputs": [
    {
      "name": "co2",
      "type": "number",
      "label": "Εκπομπές CO₂ (g/km)",
      "minimum": 0
    }
  ],
  "outputs": [
    {
      "name": "rate",
      "type": "number",
      "label": "Συντελεστής (EUR / g)",
      "formula": "($c := co2; $c <= 90 ? 0 : $c <= 100 ? 0.90 : $c <= 120 ? 0.98 : $c <= 140 ? 1.20 : $c <= 160 ? 1.85 : $c <= 180 ? 2.45 : $c <= 200 ? 2.92 : $c <= 250 ? 3.20 : 3.72)"
    },
    {
      "name": "tax",
      "type": "number",
      "label": "Ετήσια τέλη",
      "format": "currency",
      "formula": "$round(co2 * rate, 2)"
    }
  ],
  "testCases": [
    {
      "description": "C1 120 g/km, post-2010",
      "given": {
        "co2": 120
      },
      "expect": {
        "rate": 0.98,
        "tax": 117.6
      }
    },
    {
      "description": "C2 150 g/km",
      "given": {
        "co2": 150
      },
      "expect": {
        "rate": 1.85,
        "tax": 277.5
      }
    }
  ],
  "spec": {
    "id": "car-tax-greece",
    "version": "1.0.0",
    "schema": {
      "type": "object",
      "properties": {
        "co2": {
          "type": "number",
          "minimum": 0
        },
        "rate": {
          "type": "number",
          "readOnly": true
        },
        "tax": {
          "type": "number",
          "readOnly": true
        }
      }
    },
    "constants": {},
    "defaultValues": [
      {
        "path": "$",
        "expr": "{ 'co2': 120 }"
      }
    ],
    "derivations": [
      {
        "path": "$.rate",
        "expr": "($c := co2; $c <= 90 ? 0 : $c <= 100 ? 0.90 : $c <= 120 ? 0.98 : $c <= 140 ? 1.20 : $c <= 160 ? 1.85 : $c <= 180 ? 2.45 : $c <= 200 ? 2.92 : $c <= 250 ? 3.20 : 3.72)"
      },
      {
        "path": "$.tax",
        "expr": "$round(co2 * rate, 2)"
      }
    ],
    "constraints": [],
    "metaDerivations": [],
    "viewDefinition": {
      "renderer": "builtin",
      "defaultView": "main",
      "views": [
        {
          "id": "main",
          "label": "Τέλη κυκλοφορίας",
          "layout": "vertical",
          "components": [
            {
              "id": "co2",
              "type": "numericField",
              "label": "Εκπομπές CO₂ (g/km)",
              "bind": "$.co2"
            },
            {
              "id": "tiles",
              "type": "group",
              "layout": "horizontal",
              "components": [
                {
                  "id": "taxTile",
                  "type": "statTile",
                  "label": "Ετήσια τέλη",
                  "bind": "$.tax",
                  "format": "currency",
                  "currency": "EUR"
                }
              ]
            },
            {
              "id": "breakdown",
              "type": "keyValueList",
              "label": "Υπολογισμός",
              "items": [
                {
                  "label": "Συντελεστής (EUR / g)",
                  "bind": "$.rate"
                },
                {
                  "label": "Τέλη",
                  "bind": "$.tax",
                  "format": "currency",
                  "currency": "EUR"
                }
              ]
            },
            {
              "id": "note",
              "type": "staticText",
              "text": "'Ελλάδα: τέλη κυκλοφορίας για οχήματα μετά τον Νοε 2010 = CO2 (g/km) × συντελεστής ανά γραμμάριο κατά κλιμάκιο. Παλαιότερα οχήματα: πίνακας κυβισμού. Εκτίμηση, όχι φορολογική συμβουλή.'"
            },
            {
              "id": "sources",
              "type": "sourceList",
              "label": "Πηγές",
              "items": [
                {
                  "label": "ΑΑΔΕ",
                  "url": "https://www.aade.gr",
                  "date": "2026-08-02"
                }
              ]
            }
          ]
        }
      ]
    },
    "tests": [
      {
        "description": "C1 120 g/km, post-2010",
        "given": {
          "$.co2": 120
        },
        "expect": {
          "$.rate": 0.98,
          "$.tax": 117.6
        }
      },
      {
        "description": "C2 150 g/km",
        "given": {
          "$.co2": 150
        },
        "expect": {
          "$.rate": 1.85,
          "$.tax": 277.5
        }
      }
    ]
  }
}
