Query
Read access to the catalog of statutory calculation values.
Every value in the catalog is versioned along two independent time axes, and the two must not be confused:
- Validity (
validFrom/ query argumentvalidOn) — the date from which a value applies as a matter of law. - Knowledge (
knownFrom/ query argumentknownOn) — the date from which the value was known to this catalog.
Because the axes are independent, the API can answer not only "which value applied on 2026-06-01?" but also "which value applied on 2026-06-01 given what was known on 2026-10-01?" — the latter being what it takes to reproduce a past payroll or accounting run exactly, including retroactive corrections that were published later.
Felder
availableSeries(…):AvailableSeries!Lists the series available in the catalog, optionally restricted to a section of the catalog tree.
Always returns a result; a filter that matches nothing yields an empty listing rather than
null.Argumenteprefix:StringRestricts the result to series whose
idstarts with this string.The comparison is a plain, case-sensitive prefix match on the raw id and is not aligned to path segment boundaries:
de.svmatchesde.sv.allgemein.bezugsgroesse, and so wouldde.s.If omitted or
null, all series of the catalog are returned.
series(…):SeriesReturns the metadata of a single series, or
nullif the catalog contains no series with this id.This query describes the series itself; use
dataPointto read the values it holds at a point in time.ArgumenteseriesId:ID!The full id of the series, matched exactly, for example
de.sv.allgemein.bezugsgroesse.
dataPoint(…):DataPointResolves the values of a series for a given point on both time axes.
A series can carry several related values, and they are always resolved together: one query for the reference value of German social insurance returns both the annual and the monthly amount. See
DataPoint.Among the data points of the series, all candidates with
validFrom <= validOnandknownFrom <= knownOnare considered. The highestvalidFromamong them determines the validity interval in force onvalidOn; within that interval, the candidate with the highestknownFrom— the latest known state of that interval — is returned.Returns
nullif the series is unknown, or if no data point satisfies both constraints — typically becausevalidOnpredates the coverage of the series (coveredFrom), or becauseknownOnpredates the day on which the value was first published in the catalog.Note that a
nullresult is not an error: it is the correct answer to a question about a point in time for which no value was in force or known.ArgumenteseriesId:ID!The full id of the series, matched exactly, for example
de.sv.allgemein.bezugsgroesse.validOn:LocalDateThe date at which the value is to apply as a matter of law.
If omitted or
null, the current date of the server is used, which yields the value in force today. Pass an explicit date whenever the answer must stay reproducible.knownOn:LocalDateThe state of knowledge to answer from: the catalog is treated as it stood on this date, so corrections published later are ignored.
If omitted or
null, the current date of the server is used, which yields the latest state of knowledge. Pass an explicit date to reproduce a past run, and note that the answer to the same query can change over time as long as this argument is left out.
value(…):DecimalResolves a single value part of a series for a given point on both time axes, for example the monthly reference value of German social insurance.
A shorthand for
dataPointwhen only the number is needed: the data point is selected by exactly the same rules, and the result is thevalueof its entry inDataPoint.valueswhosekeyequalsvaluePartKey. The unit is not returned; read it fromSeries.valueParts. UsedataPointwhenever the answer must be traceable, since only it reportsvalidFrom,knownFromand the legal sources of the value.Returns
nullif the series is unknown, if no data point satisfies both constraints, or if the selected data point carries no value undervaluePartKey. As withdataPoint, anullresult is not an error.ArgumenteseriesId:ID!The full id of the series, matched exactly, for example
de.sv.allgemein.bezugsgroesse.valuePartKey:String!The key of the value part, matched exactly, for example
jahrormonat; one of the keys listed inSeries.valueParts.validOn:LocalDateThe date at which the value is to apply as a matter of law.
If omitted or
null, the current date of the server is used, which yields the value in force today. Pass an explicit date whenever the answer must stay reproducible.knownOn:LocalDateThe state of knowledge to answer from: the catalog is treated as it stood on this date, so corrections published later are ignored.
If omitted or
null, the current date of the server is used, which yields the latest state of knowledge. Pass an explicit date to reproduce a past run, and note that the answer to the same query can change over time as long as this argument is left out.
serverInfo:ServerInfo!Returns information about the server answering this request.
Intended for diagnostics and support, not for business logic: the result describes the deployment, not the catalog.