Verification
How OpenDecuma checks that its bookkeeping, tax figures, deadlines and filing files are right, what runs on every change, what is a release gate, and what is not externally verified yet. Written for users, contributors and auditors. Product texts (screens, API and CLI answers) do not repeat any of this; this page is the one place for it.
Principles
Section titled “Principles”- A primary source for every rule. Each rule (Steuerschlüssel, Kennzahl mapping, Frist, limit, rounding parameter) rests on a statute, administrative guidance or an official form or format description, documented in the knowledge base with URL and retrieval date. Rule data in
regelwerk/carry their source per entry; the Regelwerk check fails without it. - Cases before code. Domain logic is built test-first: the case comes from the knowledge base document and the norm, then the code. One case per equivalence class, each naming its source.
- Two independent derivations. Expected values are derived a second time from the sources by people who do not read the implementation; these case catalogs are ported unchanged (
tests/cases/katalog/). Where an engine result and a catalog disagree, the source decides; an expected value is never adjusted to what the code does. Open disagreements are recorded with our derivation (tests/cases/katalog/abweichungen.toml). - External checks where they exist. An official calculator, test table, validator or schema that can check a result is an oracle and part of the definition of done of that calculation or file writer. An oracle that accepts proves what it checks and nothing more.
- Audits. Changes to tax logic are audited against the sources; every audit finding becomes a case.
- Unknown means refused. Where the sources do not settle a value, the product refuses or asks with a next step instead of guessing; such points are cases too (
erwartet_status = "nicht_berechenbar",erwartet_ablehnung).
What is tested, and where
Section titled “What is tested, and where”| What | Where | Proves |
|---|---|---|
| Case files, one per equivalence class, with source and norm | tests/cases/<domain>/*.toml |
Kennzahlen, periods, refusals, Fristen and limits for the given events |
| Ported case catalogs of the knowledge base (Voranmeldung, Fristen, Offene Posten) | tests/cases/katalog*/ |
The same, by an independent derivation; cases of rules the product does not have are listed as not expressible |
| Invariants over generated inputs | crates/decuma-meldung/tests/cases/invarianten.rs |
Every Buchung balances; a Storno cancels across every Kennzahl; values and hash do not depend on line order; Soll and Ist give the same year when every invoice is paid within it; reported value = rounding of the exact value; the ratio band of the interface holds; a missing holiday never moves a Frist later (for ends moved forward under § 108 Abs. 3 AO; a due day counted back, such as the social insurance contributions, needs complete holiday data instead) |
| Coverage of the rule data | docs/testing/coverage.md (generated), tests/cases/abdeckung-ausnahmen.toml |
Every Steuerschlüssel and treatment, form field, check, Frist rule, holiday entry and limit has a case, or an entry with a reason; form lines without a rule are listed as refused |
| Record check of the Voranmeldung (level 1) | crates/decuma-meldung/tests/cases/struktur.rs, format cases in tests/cases/ustva/format.toml |
Field formats (whole euros, two decimals with a point, no leading zeros or plus sign), element order, required Kennzahl 83, written from the documented format of the data type; runs on the Meldungsstand of every computed case |
| Golden files of format writers | tests/cases/golden/ |
The exact bytes and hash of the Meldungsstand |
| Engine mechanics, the full Fristen table | unit tests in decuma-meldung, decuma-mandant |
Interpretation of a synthetic form definition; every Frist of 2026 and 2027 for every Land |
| Commands against the database | crates/decuma-server/tests/ |
One test per acceptance criterion, security guards (tenant isolation, access) |
| Browser paths | app/tests/ |
The screens over the same commands |
Design: ADR 0038 (domain test kit). How to write and run cases: skill .claude/skills/domain-tests.
What runs when
Section titled “What runs when”Everything runs on the developer’s machine; there is no hosted CI and no scheduled run.
| Level | Command | When | Takes |
|---|---|---|---|
| L0 check | scripts/test.sh check [base] |
after every edit: fmt, clippy of the changed crates, the app check if the app changed | seconds once built |
| quick | scripts/test.sh quick |
in the loop of every change to domain logic or rule data | seconds once built, no database |
| L1 affected | scripts/test.sh affected [base] |
before a change is reported: the tests of the changed crates and every crate depending on them, the case runner, Regelwerk check and oracles where their inputs changed, the Playwright specs mapped to the changed paths (scripts/affected.map) on the desktop project (the phone project runs in the gate; PW_PHONE=1 adds it) |
minutes |
| L2 full | scripts/test.sh full (the gate, scripts/gate.sh) |
once per merge: every check and every test, the oracles when docker or java is there, the S3 conformance of the Belegablage against a throwaway local S3 server, the SDKs; the browser tests (both projects) with GATE_PLAYWRIGHT=1, run on demand |
tens of minutes, needs PostgreSQL and Node |
| level 3 gate | scripts/test.sh level3 |
before a Meldung is offered with transmission for the first time, with every form year, every release of the official library, every change to a writer or its Formulardefinition | minutes; needs the official library and the publisher’s Hersteller-ID, else it says so and is skipped |
| timing | scripts/test.sh timing |
before a release, on an idle machine: the wall-clock limits of the search (95 % under 100 ms) and of preparing a capture (2 s for 12 megapixels); in no gate, where load would decide | seconds once built, needs PostgreSQL |
| L3 | scripts/test.sh szenarien, scripts/test.sh oracles |
nightly and before a release; the oracles also when a format writer or rule data changed | minutes; the first oracle file 15 to 30 s, cached pinned artefacts |
The selection of L0 and L1 comes from git diff base...HEAD (default origin/main) plus uncommitted files (scripts/affected.py); AFFECTED_PLAN=1 prints it with the reason per path without running. Cargo runs the changed crates and their dependents, a changed test file alone its binary (in the decuma-server test binary: its module); browser specs follow the screens, strings keys and components the change reaches. A path no rule places selects every browser spec, so the selection can be slower than needed but not narrower than the rules say; the full gate of the merge runs every Rust test regardless, and every browser spec with GATE_PLAYWRIGHT=1. Each step prints one ok or FAILED line with its summary and the failing tests by name. How to choose: skill .claude/skills/testing.
quick runs the unit tests of the pure crates, the case files and catalogs, the coverage matrix, the invariants and the record check. The catalogs of the knowledge base are ported by scripts/katalog-port.sh <commit> (checkout in DECUMA_KATALOG_REPO); the commit is recorded in tests/cases/katalog/QUELLE, so a bump is one change whose diff shows the changed cases. Every recorded disagreement carries a verdict (fix_engine, rueckfrage, produktentscheidung, nicht_gebaut, nicht_vergleichbar) and a reason; quick fails on one without.
The case run prints its own summary lines (domain cases: ..., oracle cases: ..., format cases: ..., invariants: ..., coverage: ...); those lines, not an exit code, are the evidence in a report or pull request. UPDATE_SNAPSHOTS=1 rewrites generated files.
Oracles
Section titled “Oracles”| Domain | Oracle | Proves | Does not prove | Runs |
|---|---|---|---|---|
| Umsatzsteuer-Voranmeldung, values | None public; the official form, its instructions and the administrative guidance, as case catalogs | Kennzahl and period per rule, by two derivations | That the tax office’s systems accept the result | every change |
| Voranmeldung record | Own structure check from the documented field formats (level 1); the official schema and rule list, fetched in a local run and never committed (level 2); the official ELSTER library’s validation without sending, then a test transmission (level 3) | Structure; plausibility rules; acceptance | Level 1 alone does not prove the plausibility rules or acceptance; level 2 is our reading of the rule language | level 1 every change; level 2 locally (scripts/orakel/elster-pruefen.sh, ERiC documentation 45.2.6.0: XSD and the rules of the Jahresdokumentation UStVA 2025 to 2027, on the official samples and their changes and on the format cases ustva.format.xml_*); level 3 release gate (record below), needs the library and our own Hersteller-ID (else printed as skipped) |
| E-Rechnung (XRechnung, ZUGFeRD) | KoSIT validator with the XRechnung configuration; Mustang with veraPDF (scripts/orakel/e-rechnung-pruefen.sh) |
Schema and business rules of the standard; PDF/A conformance and the embedded XML | The tax treatment; acceptance by the buyer’s system | locally (DECUMA_ORAKEL=1, set by the gate when java or docker is there), on every file the writers produce in the case suite (record below) |
| E-Bilanz | An open-source XBRL validator with the official taxonomy, plus own checks (required fields, Aktiva = Passiva) | Schema, XBRL calculation | The official plausibility rules (only the ELSTER library) | locally, once a writer exists |
| E-Bilanz ELSTER envelope, Zusammenfassende Meldung data set | scripts/orakel/elster-pruefen.sh: the official envelope schema ebilanz_000002.xsd (ZMDO: elster11_Zm_000005_extern.xsd), and the rules of the Jahresdokumentation Bilanz 6.9 that compare the envelope with the GCD data (Empfänger F, stichtag, Finanzamt of the Steuernummer) |
Envelope structure; those rules with their official codes | The instance (Arelle above); the ZMDO rules (logical field names, not interpreted); server acceptance. Stage 3, the official library without sending, where it is at hand (record below) | locally, on the official samples (with the official error sample FachlicherDetailfehler) and the format cases jahresabschluss.format.huelle_* |
| Fragebogen zur steuerlichen Erfassung (ElsterFSE KapG, EUn 202401) | scripts/orakel/elsterfse-pruefen.sh: stage 1 the official XSD; stage 2 our interpreter of the rules of the official Jahresdokumentation (both fetched from download.elster.de, pinned, never committed); stage 3 the ELSTER library’s plausibility check (plugin checkElsterFSE) where library and Hersteller-ID are at hand |
Structure, order, value sets, formats (1); every current rule with its official error code as we read the rule language (2) | Acceptance by the server; without stage 3, that ERiC reads the rules the same way | locally (DECUMA_ORAKEL=1), on the samples and their changes (vw-gruend-012) and on every data set of the writer decuma_verwaltung::elsterfse (golden files tests/cases/golden/elsterfse-*.xml of vw-gruend-006 to 010 and 013); stage 3 in the level-3 gate (record below) |
| USt-IdNr. | The official confirmation services, with synthetic or own numbers only | Validity at the time of the query | Anything about the business | by hand |
| Fristen | The holiday laws of the Länder and the Fristen rules of the AO, as cases | Dates by derivation | Holidays of single municipalities and one-off holidays (not applied; leaving one out can only make the shown Frist earlier, which an invariant proves) | every change |
Rules for oracles: synthetic data only; nothing of the official ELSTER library enters this repository or an image; certificates and access data are never stored, printed or logged; an oracle result is recorded with its inputs, tool, version and date so that it can be re-run, and re-run when the tool, the form year or the rule data change. A validator that is not available locally is skipped with a line naming it (validator not configured), never treated as passed.
Release gate for every Meldungsart: validation by the official library without sending, then a test transmission with the test marker, on a machine with the library and the publisher’s own credentials; repeated each year with the new forms.
How to run the oracles locally: scripts/orakel/README.md; DECUMA_ORAKEL=1 cargo test -p decuma-meldung --test cases runs the case suite with them.
Recorded run, E-Rechnung (2026-11-24, synthetic data of the kb’s worked example; files written by the case suite to target/orakel/, golden hashes in tests/cases/golden/): KoSIT validator 1.6.3 with the XRechnung 3.0.2 validator configuration 2026-08-31, run in the container eclipse-temurin 21 JRE without network; Mustang CLI 2.26.0 with its veraPDF for the PDF. Result: 16 XML files accepted (standard invoice UBL and CII, ZUGFeRD EN 16931 XML, Kleinunternehmer UBL and CII, reverse charge UBL and CII, innergemeinschaftliche Lieferung, export G, export without the seller’s USt-IdNr. as E, not taxable abroad as category O in UBL and CII, Gutschrift 381, Storno 384), 2 mutations rejected as expected (tax amount 210.50: BR-CO-14, BR-CO-17, BR-S-09; BT-29 removed: BR-CO-26); the ZUGFeRD PDF/A-3 (zugferd-standard.pdf) accepted by Mustang with veraPDF. The validator’s first run of category O found BR-DE-14 (the VAT breakdown needs a rate); the writer now gives it rate 0 while the positions carry none (BR-O-05).
Recorded run, level-3 gate (2026-11-30; ERiC 45.2.6.0 Linux x86_64, libericapi 45.2.4.0; EricBearbeiteVorgang with ERIC_VALIDIERE + ERIC_PRUEFE_HINWEISE, no certificate, empty network namespace, nothing sent; Heute 2027-04-15; every record of the case suite; commit e23b21dbb).
| Datenart, form year | Records | Accepted | Hinweise | Seeded error |
|---|---|---|---|---|
| UStVA 2025 (values in the suite’s envelope) | 2 | 2 | none | Kennzahl 83 removed: 110085064 |
| UStVA 2026 (values in the suite’s envelope) | 342 | 342 | 11085154 on each (no W-IdNr. given), 11085152 once (Kennzahl 61 without an acquisition: the product warns of it, ustva-ig-erwerb-007) | Kennzahl 83 removed: 110085064 |
| E-Bilanz, taxonomy 6.9 (seven Jahresabschlüsse, one Eröffnungsbilanz) | 8 | 8 | none | stichtag not the Bilanzstichtag: 170205022 |
| ElsterFSE KapG 202401 | 3 | 3 | none | FragebogenTyp removed: 180000001 |
| ElsterFSE EUn 202401 | 7 | 7 | none | FragebogenTyp removed: 180000001 |
Summary line of the run: level 3: 362 accepted, 0 rejected, 0 skipped, 0 seeded errors not rejected; commit e23b21dbb, ERiC 45.2.6.0 (libericapi 45.2.4.0), run on 2026-11-30, Heute 2027-04-15, no network, nothing sent.
The same 362 records on the release before it, 44.3.6.0, on the same day: every verdict and Hinweis identical. One difference on the changed samples: a Kennzahl out of the schema’s order is rejected by 45.2.6.0 and was accepted by 44.3.6.0, because up to 44.3 the library did not validate the schema of the Nutzdaten when a check returned Hinweise (release notes 45.2.6.0, 4.2.1). The run of 2026-11-30 on 44.3.6.0 with 323 records (commit 3d76cdf5b) therefore proved less for the UStVA 2026 than it said; stage 1 checked the schema of the same records.
Test transmission (2026-11-30, by the publisher, eric-testversand.py --send, ERiC 45.2.6.0): one synthetic UStVA 01/2026 with Testmerker 700000004 to the test Finanzamt 9198, official test certificate test-softorg-pse.pfx: ERiC return code 0, server code 0, “Daten wurden erfolgreich angenommen” (deleted on arrival, not processed). The attempt before it with the expired certificate test-softorg-pse_3072.pfx was refused by the server (080015014); the script now refuses an expired certificate. No other Datenart has been sent.
ERiC drills (by hand, nothing sent): cargo test -p decuma-server --test server filing::drill_ -- --ignored --nocapture with DECUMA_ERIC_HOME, DECUMA_ELSTER_HERSTELLER_ID, DECUMA_ELSTER_TESTZERTIFIKAT(_PIN) and DECUMA_ERIC_DRILL_WORKER. The product’s worker runs as --listen with the switch live in a namespace with no route out (scripts/orakel/eric-jail.sh: loopback only, the ELSTER server’s name ends at a listener of the namespace that holds each connection and counts it); the server uses it over its socket with the official test certificate and the journal. Recorded run (2026-12-02, ERiC 45.2.6.0, a Voranmeldung of a GmbH with an official test Steuernummer): (1) the worker killed while its connection hung: the caller gets unknown, the journal holds the entry and its answer unknown, the next transmit is refused (409), one connection in all; (2) the listener killed while it validated: refused (409), the journal holds no entry, no connection (the count is read right after the jail is stopped; that an orphaned worker sends nothing rests on its death with its parent); the transmission after a restart of the listener began anew, reached the network (connection 2) and ended unknown, as any send to a line that does not answer; (3) the server killed while sending, simulated in process (its own runtime dropped at once, its connections closed; the “restarted” server is the test’s App, which shares in-memory state with it): the journal holds the entry without answer, the restarted server refuses (409) because the database row of the attempt says unknown (not from the journal), one connection, none after the restart; (4) the database restored from a copy taken before attempt (1), the journal kept: the transmission is refused on the electronic way and by hand (409, “this database does not know a transmission … it was restored from an older state”), no further connection. Not drilled: a real network cut after the server answered, two server processes, the systemd unit.
Protocol preview (2026-12-02, scripts/orakel/eric-protokoll-pruefen.py, step protocol-preview of level 3; offline, no certificate): the prints of ustva-2026-eric.xml, ustva-2026.xml and zmdo-eric.xml (its placeholders filled with synthetic USt-IdNrn. the library accepts) show the Hersteller-ID 0 times; with the PLZ set to the Hersteller-ID the UStVA print shows it 2 times and the ZM print once, as often as the data sets hold it, so the counting reads the real print. A data set the library does not print is SKIPPED (exit 3), never green.
The official samples (UStVA 2025 to 2027 with Dauerfristverlängerung and Sondervorauszahlung, ZMDO 5, KapG, EUn, E-Bilanz) are accepted and their changed versions rejected by the same run. Stage 2 against stage 3: no difference on the records; on the changed samples ERiC ends at a structural error before the rules of the context (170125118 instead of 170205021), and adds the formal code kontextLeer, which stage 2 does not interpret. What the first run (on 44.3.6.0) found and is fixed: the E-Bilanz left out Mussfelder of the GCD and GAAP modules (170155092) and wrote positions foreign to a Körperschaft (170185126), so every E-Bilanz before it would have been rejected; test data carried Steuernummern without a valid check digit. An Eröffnungsbilanz whose Zeitraum begins and ends on the Stichtag is accepted; one with the Bundesfinanzamtsnummer alone is accepted too, whatever the entity identifier, and a Jahresabschluss without the Steuernummer is rejected (170205025; ja-ebilanz-040).
Not externally verified yet
Section titled “Not externally verified yet”- One Meldung has been transmitted, as a test only: the UStVA of the record above. E-Bilanz, ElsterFSE and the Zusammenfassende Meldung have passed the check without sending, not a transmission (the Zusammenfassende Meldung has no test recipient). Umsatzsteuer-Voranmeldung: the values passed in an envelope of the case suite, the product writes no such data set yet; the Zusammenfassende Meldung, Dauerfristverlängerung, Lohnsteuer-Anmeldung, Kapitalertragsteuer-Anmeldung and the yearly returns have no writer of a data set. Filing by hand in the official portal does not depend on it.
- Rounding of full-euro fields. The direction (commercial rounding or cutting the cents) and whether the tax is computed from the exact sum or from the full-euro base are not stated by the sources. The rule data use commercial rounding and the exact sum as named, versioned parameters; the worst case is a few cents, inside the interface’s ratio band of 10 euros per pair. The level-3 run accepts the values with the parameters in use and raises no ratio Hinweis; because of the band that does not settle the direction.
- Record order and formats are checked by our own reading of the documentation (level 1); the official schema and the official library check them only in local runs.
- Events the product does not take yet, refused rather than guessed: changes of the base under § 17 UStG (Skonto, repayment, uncollectibility), Anzahlungen, tax shown without right (§ 14c), partly deductible input tax, Einfuhrumsatzsteuer, and the form lines listed under Coverage. Their cases are in the catalog and listed as disagreements.
- Periods the sources leave open (for example whether a payment before the performance moves a Kennzahl 60 turnover, or the date of Kennzahl 70 when supply and receipt of the crossing turnover differ): the Buchung is refused or the Meldung is blocked, with the next step.
- Payroll: no writer of a data set in this repository yet, so no oracle has run on one. E-Rechnung: see the recorded run above; acceptance by a buyer’s system is not tested.
The current list of disagreements between the independent catalog and the engine, with our derivation for each, is tests/cases/katalog/abweichungen.toml; the coverage gaps with reasons are in docs/testing/coverage.md.
Scenario runs
Section titled “Scenario runs”A few synthetic businesses live through a year and its change, replayed as Commands at their clock: tests/fixtures/szenarien/*.json (the seed format of tests/fixtures/seeds/, one step per line, written by erzeugen.py beside them), run by crates/decuma-server/tests/szenarien.rs with scripts/test.sh szenarien. Not part of quick or full: each scenario replays twice on fresh databases, a few minutes in all. The same invariants run in L2 on every business seed once, at its last step, on a copy of its seeded template (invariants_of_the_seed_*, seconds).
After every month end of the clock, and at the end, the runner checks the same invariants for every scenario, with no expected value per step:
- every Buchung and the Journal balance (Soll = Haben);
- on the last day of the month, per Konto, the Summen- und Saldenliste agrees with itself (opening + Soll - Haben = balance), with the movements summed from the Journal, with the Kontoblatt and, for balance-sheet Konten, with the Kontenplan and the Journal lines since the last opening Buchung (opening values or Saldenvortrag); the balances and opening values add up to zero;
- in a later year, the opening value of every balance-sheet Konto equals its closing balance of the year before (equity takes the result: covered by the sums);
- Bilanz Aktiva = Passiva, and a Konto with a zero balance shows no amount on either side;
- every Voranmeldung up to the day: each line it declares is a Journal line of its period, no line is declared in two Meldungen, every tax line (and every Buchung carrying tax) is declared, and its Frist equals the one of the Fristen list;
- every warning, hint and refusal a person reads in German names no Command and has no English sentence; steps marked
abgelehntmust be refused, and their wording is checked the same way; - the second replay gives the same values at every checkpoint (ids and hashes aside).
Each scenario also carries a few anchor figures from the knowledge base or the norm (erwartet on a step: a path into its result). Each covers a combination no other test does (listed in its abdeckung):
| Scenario | Business | Combination only it covers |
|---|---|---|
gmbh |
GmbH 2026 to March 2027, Soll, monthly with Dauerfristverlängerung | twelve filed months with Sondervorauszahlung (Kz 39 in December) and their Fristen; § 17 corrections (Skonto, Forderungsausfall) in a later month than the filed invoice; EU customer with Zusammenfassende Meldung, reverse charge from the EU and in USD; Fixkosten, payroll of two (the kb’s worked example as anchor), machine with AfA and a GWG, all feeding one Jahresabschluss with its taxes; Feststellung, Ausschüttung with Kapitalertragsteuer, lock and Saldenvortrag, then 2027 bookings |
ug |
UG (haftungsbeschränkt) 2026 and 2027, Ist, quarterly | two consecutive year-ends: a loss carried forward into a profit year with its tax deduction; the statutory reserve after the Verlustvortrag; Istversteuerung across the year change |
freiberuflerin |
Freiberuflerin, EÜR, Kleinunternehmerin | the Kleinunternehmer limit crossed in the running year (Kz 70, keys change mid-year, the crossing payment corrected by hand), Voranmeldungen beginning after the change, the Umsatzsteuer of December paid inside the ten days (§ 11 Abs. 2 Satz 2 EStG), 2027 regularly taxed |
Recorded run (2026-11-25): freiberuflerin and gmbh pass with every anchor (Kz 70 on the day of the crossing payment, the Anlage EÜR lines and the profit derived by hand, the ten-day rule; Lohnsteuer and total cost of the kb’s payroll example, Kz 39, AfA, GWG, Kapitalertragsteuer) and every invariant across the Saldenvortrag; ug fails on two open findings: the Steuerrückstellungen of a year after a loss ignore the loss carried forward (§ 10d EStG, § 10a GewStG), so its tax anchors and the reserve that follows them differ; and after the Saldenvortrag the Bilanz shows a receivable carried forward and paid in January with 3.570,00 on both sides (and at the next lock the not yet due Ist tax on 3806 likewise), though the Konto’s balance is zero. The runs found and fixed on the way: the workbook of the closing refused a year with a Zusammenfassende Meldung; the Verprobung reported the whole tax of every Vorsteuer and reverse-charge key as a difference; a tax provision of 0.00 blocked the Jahresabschluss (now no entry, like the UG reserve); Kleinunternehmer revenue (4184) asked for its EÜR line (now Zeile 12); a Buchung citing a Beleg left its Vorgang open. Train 16 fixed the Saldenvortrag counted twice and the missing UG reserve, both first shown here.
A household Einkommensteuer scenario is left out: it has no Journal, so none of these invariants applies, and tests/fixtures/seeds/muster-haushalt.json with crates/decuma-server/tests/privat.rs covers its path. A refusal the product gives on purpose (the forms and Kirchensteuer data of 2027 not yet in the rule data) is a step marked abgelehnt, so the scenario notices when it starts to work. A known finding that waits for a decided follow-up is listed under offen of the scenario with its verweis (catalog case, ticket): the run reports it as expected open and fails once it no longer shows, so the mark is removed with the fix (ug: the not yet due Ist tax on 3806 at the 2028 lock, ja-abschluss-044, ticket ust-ist).
Payroll: the Programmablaufplan against the official pseudocode
Section titled “Payroll: the Programmablaufplan against the official pseudocode”Recorded oracle run (2026-11-24, commit bcd93d4): the Rust translation of the PAP 2026 (crates/decuma-lohn/src/pap2026.rs) was compared with an independent interpreter of the official BMF pseudocode Lohnsteuer2026.xml (scripts/orakel/pap-pruefen.py) on 40,000 random inputs covering every Lohnzahlungszeitraum, Steuerklasse I to VI, Faktor, Versorgungsbezüge, sonstige Bezüge, Freibetrag, Hinzurechnungsbetrag, Altersentlastungsbetrag and private Kranken- und Pflegeversicherung, plus the 91 recorded answers of the BMF test interface: 0 differences in LSTLZZ, SOLZLZZ, BK, STS, SOLZS and BKS. The recorded answers themselves run in the case suite (tests/cases/katalog-lohn); the interface is never called by a test or the product. To repeat: generate inputs, run the script on them and pap2026::berechnen on the same inputs, compare line by line.