# code_history

One code across every year held.

Follows one Milieulijst item (by its 4-digit number, since the letter can change) or one Energielijst code through every year held, from 2024 on: whether it was on the list, its letter and MIA and Vamil percentages or its EIA maximum amounts and thresholds, RVO's status label, and the Staatscourant publication per year, plus the reason where it was withdrawn. Call it for an investment whose order date fell in an earlier year, or to see how a rate moved. Do not use it for the full conditions (use lookup_code with that year).

## Input

- `code` (required), string or integer: Milieulijst code or number (D 3116 or 3116) or Energielijst code (211107).

## A real call

```sh
curl -s https://peildag.bulkhead.solutions/v1/tools/code_history -H 'content-type: application/json' -d '{"code":"3116"}'
```

```json
{
  "data_version": "2026.1eabb010",
  "data_built": "2026-11-09T22:46:53.586Z",
  "sources_retrieved": "2026-11-09T22:46:48.164Z",
  "caveat": "Not tax advice. These are the official list texts with their sources. Whether a specific asset meets a description is decided by RVO on each notification (melding) and by the Belastingdienst in the tax return; the list of the year in which the purchase commitment was made applies, and the notification must reach RVO within 3 months of that commitment.",
  "list": "milieulijst",
  "scheme": "MIA\\Vamil (milieu-investeringsaftrek and willekeurige afschrijving milieu-investeringen)",
  "asked": "3116",
  "years": [
    {
      "year": 2024,
      "on_list": true,
      "code": "D 3116",
      "title": "Elektrisch of waterstof aangedreven vrachtwagen",
      "mia_percent": 36,
      "vamil_percent": null,
      "rvo_status": null,
      "change_vs_previous_year": "unknown",
      "staatscourant": "stcrt-2023-34098"
    },
    {
      "year": 2025,
      "on_list": true,
      "code": "A 3116",
      "title": "Elektrisch of waterstof aangedreven vrachtwagen",
      "mia_percent": 36,
      "vamil_percent": 75,
      "rvo_status": null,
      "change_vs_previous_year": "rate_changed",
      "staatscourant": "stcrt-2024-40369"
    },
    {
      "year": 2026,
      "on_list": true,
      "code": "D 3116",
      "title": "Elektrisch of waterstof aangedreven vrachtwagen",
      "mia_percent": 36,
      "vamil_percent": null,
      "rvo_status": "gewijzigd",
      "change_vs_previous_year": "rate_changed",
      "staatscourant": "stcrt-2025-40676"
    }
  ],
  "note": "Milieulijst items are followed by their 4-digit number; the letter in front can change between years, and with it the percentages."
}
```

## Errors

- `{"code":"A 1.2.D"}`: 400 invalid_input, code_history follows RVO codes across years; regulation item numbers (A 1.2.D) are renumbered between years. Give the 6-digit code instead.

---

Automated and unreviewed. Peildag reads official sources automatically and no person checks each answer. Data can be incomplete, late or wrong. Always verify against the official source linked with every answer before you act. Not legal or tax advice. A code or percentage here is not a decision: only RVO decides on a notification and the Belastingdienst on the deduction.

Canonical: https://peildag.bulkhead.solutions/docs/code_history
