# itms-senec: EU-funds applications of Mesto Senec and its organisations (ITMS2014+ and ITMS21+)

One row per application for a non-repayable grant (ŽoNFP) filed by Mesto Senec or one of its 14
organisations, with the contracted project's fields where one exists. Two programme periods, each from its
own monitoring system, told apart by `programme_period`:

- **2014–2020** (ITMS2014+): 15 rows, 13 contracted projects (all ended), 2 rejected applications.
- **2021–2027** (ITMS21+, Program Slovensko): 7 rows, 6 contracted projects (contracts effective June to
  December 2025; one has an actual end date, 30 Jun 2026), 1 rejected application. Contracted grants (`contracted_nfp_eur`)
  €10,040,322.76 of €10,699,866.73 contracted eligible expenditure.

This is the funder's view of money the town reports in `projekty-mesta.json`.

Files: `itms-senec.json`, `itms-senec.csv` (same rows; lists JSON-encoded). Script: `scripts/fetch_itms.py`.

## Provenance, 2014–2020 (ITMS2014+)

ITMS2014+ open data API v2, MIRRI SR, no key, CC0 as NKOD records it (for example „ITMS 2014+ Schválené NFP“, checked
9 Nov 2026). Swagger: `https://opendata.itms2014.sk/v2/swagger.json`. Fetched 10 Oct 2026
(the cache of 30 Oct 2026 rebuilt on 8 Nov 2026).

1. `GET /v2/zonfp/prijate?limit=2000&minId=<n>`: every received application, 19 pages,
   36,263 records, about 19 MB. Filtered client-side on `ziadatel.subjekt.ico`. The server ignores
   `ziadatel.ico=`, as the audit found. The documented `ziadatelId=` filter does work, but it needs the
   ITMS subject id, and this step is what supplies it. Subjects found: Mesto Senec (100293),
   ZŠ Mlynská 50 (36071161), ZŠ s VJM A. M. Szencziho (36071170).
2. Using those subject ids: `/v2/zonfp/schvalene?ziadatelId=`, `/v2/zonfp/zamietnute?ziadatelId=`,
   `/v2/projekty/vrealizacii?prijimatelId=`, `/v2/projekty/ukoncene?prijimatelId=`. Every result is
   checked again client-side on IČO.
3. Details: `/v2/zonfp/{schvalene|prijate}/<id>`, `/v2/projekty/{vrealizacii|ukoncene}/<id>`,
   `/v2/zop/uhradene?projektId=`, `/v2/vyzvy/vyhlasene/<id>`, `/v2/konkretnyCiel/<id>` →
   `/v2/prioritnaOs/<id>` → `/v2/operacneProgramy/<id>`, `/v2/subjekty/<id>`.

The applicants searched were Mesto Senec (00305065) plus the IČO list in `crz-organizacie-mesta-README.md`.
Only Mesto Senec and two schools ever applied. The search covers applicant and beneficiary roles; projects
where the town is only a **partner** are not covered.

**source_url** of a 2014–2020 row points to the API record (JSON). The public portal itms2014.sk addresses
projects by a GUID (`/projekt?id=<uuid>`), and the open-data API does not expose that GUID:
`/projekt?id=<API id>` returns 404.
`grant_contract_url` links to the grant contract in CRZ, as ITMS records it, and `contract_number` is that
contract's number (ITMS `cisloZmluvy`); both are null for an application that was not contracted.

## Provenance, 2021–2027 (ITMS21+)

ITMS21+ OpenData API v1, MIRRI SR, no key: `https://api.itms21.sk/public/v1/`. Fetched 8 Nov 2026, 3 s between
requests.

Terms (checked 9 Nov 2026): no licence is stated, neither in the OpenAPI document (`openapi.json`), nor in MIRRI's
integration manual („Integračný manuál Open Data ITMS21+“, 06/2025,
`https://eurofondy.gov.sk/wp-content/uploads/2025/06/Final_ManualOpenDataAPI_ITMS21.docx`), nor in NKOD, which has no
ITMS21+ entry. The manual describes a public Open Data API that gives public data in a form fit for further machine
processing, and recommends downloading every list and detail again. The same ministry's ITMS2014+ open data is CC0
in NKOD. The rows hold the town's own projects and amounts as the ministry publishes them.

1. For each of the 15 IČOs: `GET /zonfp?ziadatel=<IČO>` (applications) and `GET /projekt?prijimatel=<IČO>`
   (contracted projects), `limit=100` and `offset` paging. The server filters on the IČO; every result is
   checked again client-side. Only Mesto Senec (ITMS21+ subject 100293, the same id as in ITMS2014+) has
   any: 7 applications and 6 projects (`/projekt?prijimatelId=100293` gives the same 6).
2. Details: `/zonfp/id/<id>` (requested and approved sums, submission and decision dates) and
   `/projekt/id/<id>` (`zazmluvnenaSumaNfp`, `celkovaZazmluvnenaSuma`, `poskytnuteProstriedky`, the
   contract, the implementation dates). Every project names its application (`zonfp.id`).

ITMS21+ gives dates as epoch milliseconds at local midnight; they are read as dates in Europe/Bratislava.

**source_url** of a 2021–2027 row is the project's page on the public portal,
`https://portal.itms21.sk/projekt/?id=<id>`, or for the application that has no project the application's
page, `https://portal.itms21.sk/ziadost/?id=<id>`. The portal takes the API's ids, so the JSON record is
`https://api.itms21.sk/public/v1/projekt/id/<id>` (or `/zonfp/id/<id>`) with the same id. The pages were
opened in a browser on 8 Nov 2026 and show the API's figures (for the polyclinic: „Zazmluvnená suma NFP“
6 210 000,00 €, „Poskytnuté finančné prostriedky prijímateľovi (NFP)“ 18 797,93 €).

## Fields

`itms_code` is the project code if the application was contracted, otherwise the ŽoNFP code. Codes starting
`30`, `31` or `39` are ITMS2014+; codes starting `401` are ITMS21+. `programme_period` is `2014–2020`
(ITMS2014+) or `2021–2027` (ITMS21+): the system each row comes from. `zonfp_code`
and `project_code` give each code separately (in ITMS2014+ the 6th digit is 0 in the application code and 1 in
the project code; in ITMS21+ the application code is the project code with `NFP` before it). Other fields:
`title`, `applicant_ico`, `applicant` (the ITMS name),
`operational_programme_code`, `operational_programme` (for 2021–2027 the programme, `401000` Program
Slovensko), `priority_axis` (2021–2027: the priority), `specific_goal`, `call_code`,
`call_title`, `project_focus` (the ITMS code of the call's kind, such as `RIUS` or `DOPYT`; in ITMS21+
`IUI_21`, `DOPYT_21`).
`application_status`: schválená / zamietnutá / prijatá, bez rozhodnutia / stiahnutá. `project_status` is the
ITMS wording.
Dates: `submitted_on`, `decided_on` (approval or rejection), `contract_effective_on`, `start_on`, `end_on`
(the actual implementation period, or the approved one if there is no project). For a 2021–2027 project
still running, `end_on` is the planned end (ITMS21+ `planovanaRealizaciaKoniec`) until ITMS21+ records the
actual one (`skutocnaRealizaciaKoniec`); `start_on` is the actual start, or the planned one before it.
Amounts (EUR):
- `requested_total_eur`, `requested_nfp_eur`: what the application asked for.
- `approved_total_eligible_eur`, `approved_nfp_eur`, `approved_own_funds_eur`: what the approval decision
  granted. A rejected 2021–2027 application has 0 here, as ITMS21+ gives it; a rejected 2014–2020 one has
  null (ITMS2014+ gives no approved sums for it).
- `contracted_total_eligible_eur`: total eligible expenditure in the contract as it stands now (ITMS2014+
  `sumaZazmluvnena`, ITMS21+ `celkovaZazmluvnenaSuma`).
  `contracted_total_eligible_original_eur` is the original contract figure, 2014–2020 only. It is null for
  2021–2027: ITMS21+'s `celkovaZazmluvnenaSumaPovodna` equals `approved_nfp_eur` on all six projects (for the
  polyclinic 6,210,000 against an approved total of 6,750,000), so it does not read as the original total.
- `contracted_nfp_eur`: the grant (NFP) in the contract as it stands now, ITMS21+ `zazmluvnenaSumaNfp`.
  2021–2027 only; ITMS2014+ projects carry no such figure (null), so for 2014–2020 use `approved_nfp_eur`.
- `claims_settled_eligible_eur`: the sum of `schvalenaSuma` on paid payment claims of type REFUNDACIA,
  ZUCTOVANIE_ZALOHY and ZUCTOVANIE_PREDFINANCOVANIA. This is eligible expenditure (including co-financing),
  not NFP cash. 2014–2020 only; null for 2021–2027 (ITMS21+'s payment claims are not harvested).
- `claims_advances_eur`: advances (ZALOHA, PREDFINANCOVANIE). Their settlement claims cover the same
  expenditure, so they are not added to the figure above. 2014–2020 only.
- `payment_claims_paid`: the number of paid payment claims. 2014–2020 only.
- `paid_nfp_eur`: the grant paid to the beneficiary so far, ITMS21+ `poskytnuteProstriedky` („Poskytnuté
  finančné prostriedky prijímateľovi (NFP)“ on the portal). 2021–2027 only; null for 2014–2020.

Join and housekeeping fields: `grant_contract_url`, `projekty_mesta_id` (the matching id in `projekty-mesta.json`
when the codes match), `itms_updated_at`, `source_url`, `last_update` (the day of the harvest that wrote the record:
every record of a run takes it; `itms_updated_at` is when ITMS last changed the project).

## Cross-check with `projekty-mesta.json` (42 projects, 17 with `itms_code`)

Codes are matched on their first word, with the variant digit and any `NFP` prefix ignored.

**Matched: 14 of 17**, 7 in each period.

2014–2020: all the ITMS2014+ codes in the town register:

| town id | code | town cost / grant | ITMS approved total / NFP | ITMS contracted | claims settled | note |
|---|---|---|---|---|---|---|
| 93121 | 302011AGX5 | 952,501.75 / 821,035.66 | 991,620 / 942,039 | 864,968.02 | 864,248.07 | town grant = 95 % of settled |
| 97753 | 302071BUW9 | 422,467.91 / 401,344.52 | 476,784 / 452,944.80 | 422,467.91 | 422,467.91 | town cost = contracted; grant = 95 % |
| 97733 | 302071BKR2 | 314,126.71 / 296,464.71 | 291,879.24 / 277,285.28 | 291,879.24 | 283,369.71 | town grant = 95 % of settled BKR2 + top-up 399021DPQ5 (28,698.41) |
| 96670 | 302071BXD6 | 281,521.47 / 266,419.40 | 307,234.51 / 291,872.78 | 287,513.48 | 280,441.47 | grant = 95 % of settled; cost 1,080 above it |
| 97407 | 302020I791 | 70,655.22 / – | 74,373.92 / 70,655.22 | 72,903.26 | 72,903.26 | the town's "cost" is the ITMS **approved NFP** |
| 97491 | 302021I761 | 60,729.22 / – | 63,925.50 / 60,729.22 | 58,582.56 | 58,582.56 | the same; contracted later cut to 58,582.56 |
| 96653 | 302021G659 | – / 881,125 | 927,500 / 881,125 | 927,500 | 898,560.16 | town grant = approved NFP; settled eligible is lower |

2021–2027: all seven ITMS21+ codes in the town register. The town's `grant_eur` is ITMS21+'s
`contracted_nfp_eur` except for the sports ground, where it is the approved NFP:

| town id | code | town cost / grant | ITMS approved total / NFP | ITMS contracted total / NFP | paid NFP | note |
|---|---|---|---|---|---|---|
| 94927 | 401405B357 | 10,614,091.05 / 6,210,000 | 6,750,000 / 6,210,000 | 6,750,000 / 6,210,000 | 18,797.93 | the polyclinic; town cost above the eligible total |
| 94942 | NFP401203C377 | 1,607,309.47 / 1,607,309.47 | 1,607,309.47 / 1,607,309.47 | 1,607,309.47 / 1,607,309.47 | 0 | 100 % NFP |
| 94937 | 401402B439 | 803,486.69 / 744,054 | 808,754.35 / 744,054 | 808,665.22 / 743,972 | 743,972 | actual end 30 Jun 2026, grant paid in full; town grant = approved NFP |
| 94935 | NFP401202A834 | 685,634.43 / 630,783.68 | 685,634.43 / 630,783.68 | 685,634.43 / 630,783.68 | 0 | matches throughout |
| 94925 | NFP401201C209 | 550,404.99 / 536,172.57 | 564,044.01 / 564,044.01 | 536,172.57 / 536,172.57 | 0 | contract below the approval |
| 93171 | 401201F523 | 491,139 / 312,085.04 | 312,085.04 / 312,085.04 | 312,085.04 / 312,085.04 | 18,905.06 | town cost above the eligible total |
| 95238 | NFP401101A203 | 365,701.18 / – | 0 / 0 (rejected 5 Nov 2025) | – | – | requested 365,699.35 / 336,443.40 |

The six contracted projects: €10,040,322.76 contracted NFP (the town register's grants for them sum to
€10,040,404.76, the €82 being the sports ground), €10,068,276.20 approved NFP, €781,674.99 paid so far (8 Nov 2026).

**In ITMS21+ but not in the town register: none.**

**In the town register but in neither system: 3.**
- 2 are Plán obnovy codes, which are not ITMS at all: 03I01-29-V02-00034, 03I01-29-V03-00007.
- 1 is not a project code: `33147/2026` (id 121455).

**In ITMS2014+ but not in the town register: 8.**
- 302091CVP9, *Riešenie migračných výziev v meste Senec*: €1,159,600, 100 % NFP, fully settled. This is
  the largest 2014–2020 grant in the file.
- 312041V478 and 312081BIS9, *Podpora opatrovateľskej služby v Senci* I and II: €222,300 and €489,600, both
  OP ĽZ. The town's two "Podpora opatrovateľskej služby" entries are the later national-project rounds
  (NP POS 2023/2024), not these two.
- 399021DPQ5: the top-up for the BKR2 cycle path, counted inside the town's 97733 figures.
- 312011S822, ZŠ Mlynská, OP ĽZ literacy project: contracted at €133,042.10, then *ukončený mimoriadne –
  neprispel k cieľom OP*, with 0 paid claims.
- 312011U008, ZŠ s VJM A. M. Szencziho, *Inkluzívne vzdelávanie*: €74,070.
- Two rejected applications: NFP310010P969 *Zberný dvor, Senec* (€403,034 requested, OP KŽP, rejected
  16 May 2019) and NFP312010V495 from ZŠ Mlynská (teaching assistants, rejected 2019).

The town register's €24.7 m in grants is dominated by Program Slovensko and Plán obnovy money. The
Program Slovensko part is now checked above; Plán obnovy is not in ITMS and stays unchecked here.

## Caveats

- `claims_settled_eligible_eur` is eligible expenditure, not the cash grant. NFP cash ≈ that figure × the
  co-financing rate (95 % for IROP RIUS, 100 % for the OP ĽZ care and FAST-CARE calls).
- ITMS can change older records. `itms_updated_at` gives the last change to each record.
- The two systems name their sums differently. For "how much did the town get" use `approved_nfp_eur` of the
  contracted 2014–2020 rows (€5,073,712.56) and `contracted_nfp_eur` of the 2021–2027 rows (€10,040,322.76);
  they are different measures (approved against contracted), so add them only with that said.
- The 2021–2027 projects are running: their sums can still change by contract amendment, and `paid_nfp_eur`
  grows with each payment.
- Projects where the town is only a **partner** are not covered in either period.
- The town's own register uses "cost" and "grant" loosely (see 97407 and 97491). Compare the two sources
  field by field, not by total.

## Rebuild

```bash
python3 scripts/fetch_itms.py               # both systems: 19 ITMS2014+ list pages + ~60 detail calls, then ~43 ITMS21+ calls 3 s apart (~2 min)
python3 scripts/fetch_itms.py --only-itms21 # ITMS21+ only; the 2014–2020 rows from data/atlas/raw/itms/
python3 scripts/fetch_itms.py --offline     # both from data/atlas/raw/itms/ (itms21-cache.json for ITMS21+)
```

## License

Published by Som Senec without a licence of its own (Podmienky zdroja): https://somsenec.sk/data#podmienky-zdroja. The records are an extract from a source that states no licence; the README above names it and each record links to it. Credit that source and "Som Senec, somsenec.sk", and keep to the source's terms.
