Build Hungarian Statistical Questionnaire (KSH-ELEKTRA OSAP CSV/dataXML)
Skill: Convert business data into a mandatory OSAP statistical questionnaire
Region: Hungary (Magyarország) Category: Government — Statistics Does: Takes a respondent's business data (turnover, headcount, production, prices, etc.) and assembles the OSAP questionnaire (Országos Statisztikai Adatfelvételi Program) as CSV or dataXML for electronic filing to the KSH (Központi Statisztikai Hivatal) through the KSH-ELEKTRA / iFORM portal — declaring the respondent, the reference period, and the questionnaire's data cells per the OSAP collection's specification.
Spec: KSH — KSH-ELEKTRA / iFORM questionnaire per OSAP register (collection- and version-specific)
Mandatory statistical data supply runs through the OSAP (the national programme of statistical data collections). Each collection has an OSAP number, a reference period (monthly, quarterly, or annual), and its own questionnaire layout published in KSH-ELEKTRA's iFORM tool; software can upload CSV or dataXML matching that layout instead of typing into iFORM. Element/column names below follow the specific OSAP questionnaire, not a single verbatim XSD — each OSAP number has its own structure and version, so confirm the current specification for your collection.
When this applies
- A business is selected/obliged to report a specific OSAP collection (identified by its OSAP number) to KSH by the published deadline.
- The reference period is monthly, quarterly, or annual depending on the collection; deadlines are set per questionnaire (often around the 10th–15th, or by a stated date).
- You want to upload structured CSV / dataXML that matches the iFORM template rather than completing the form by hand, including nil returns and corrections.
Structure (OSAP questionnaire → CSV/dataXML)
header respondent: statisztikai számjel (17-digit stat. id) / adószám, name,
OSAP number, reference period (YYYY / YYYY-MM / quarter), questionnaire version
identification questionnaire id, respondent contact, nil-return flag where applicable
data cells per the specific questionnaire: numeric/coded cells keyed by the
questionnaire's field codes (e.g. turnover, headcount, quantities, prices)
with measurement units defined by the spec
Data rules
- Respondent identified by the statisztikai számjel (17-digit statistical identifier) and/or adószám; these must match the KSH respondent register for the collection.
- Each data cell maps to the questionnaire's field code and unit (HUF thousands, pieces, kg, etc.) exactly as the OSAP specification defines — do not invent fields; column order/codes are fixed per template.
- Internal arithmetic checks built into the questionnaire (subtotals = sum of parts, ratios within range) must hold; KSH-ELEKTRA validates on upload.
- Nil return (nemleges adatszolgáltatás) is filed explicitly when there is no activity; corrections resubmit the period referencing the same OSAP/period.
- Monetary amounts typically in HUF thousands per the form convention; confirm rounding and unit per the specific questionnaire.
Worked example (outline)
header: statisztikai számjel=12345678-6201-113-01, OSAP=<number>, period=2026-Q1, version=<current>
cells: nettó árbevétel=120,000 (eFt), átlagos létszám=45 (fő), export árbevétel=30,000 (eFt)
check: export ≤ total árbevétel ✓
Uploaded as CSV/dataXML to KSH-ELEKTRA (iFORM), validated against the questionnaire template, then submitted for the period.
Validation checklist
- Correct OSAP number and current questionnaire version/template confirmed in KSH-ELEKTRA
- Respondent statisztikai számjel (17) / adószám match the KSH register
- Reference period and questionnaire id correct; nil-return flagged where applicable
- Data cells keyed to the questionnaire's field codes with correct units
- Built-in arithmetic/consistency checks pass (subtotals, ratios)
- CSV/dataXML structure matches the iFORM template; corrections reference the same OSAP/period
- HUF (thousands) amounts per the form; deadline met
Last updated: 2026-06-04 — OSAP questionnaire layouts, field codes, and deadlines are collection- and version-specific; confirm the current schema/version, identifiers, rounding, and deadline against current authority (ksh.gov.hu / elektra.ksh.hu) guidance before use.