@maschinenlesbar.org/bundeshaushalt-cli
    Preparing search index...

    Interface BudgetElement

    A single budget element (a line, group or function).

    interface BudgetElement {
        budgetNumber?: string;
        id?: string;
        label: string;
        pdf?: string[];
        relativeToParentValue: number;
        relativeValue: number;
        selectionLabel?: string;
        tableLabel?: string;
        value: number;
    }
    Index
    budgetNumber?: string

    The masked budget number ("0901 683 01 - 165", "14__ ___ __ - ___") — a display value, not an id you can query with. Absent on the top-level detail.

    id?: string

    The id to drill in with ("14", "090168301", "G-5"). Absent on the top-level detail.

    label: string
    pdf?: string[]

    On a leaf (Titel) detail only: links to the Haushaltsplan PDF pages.

    relativeToParentValue: number

    Share of the parent element, in percent (0–100).

    relativeValue: number

    Share of the whole budget, in percent (0–100).

    selectionLabel?: string

    On detail only: the selection the children form (e.g. "Alle Einzelpläne").

    tableLabel?: string

    On detail only: the dimension of the element's children (e.g. "Einzelplan" for the whole budget, "Kapitel" inside an Einzelplan, "Titel" at a leaf).

    value: number

    Value in euros.