# RAMA AG — SMGV Reconciliation Report (historical import 2026)

Two independent reconciliations were run for each of the 10 employees. **Nothing was adjusted** to make values agree: reported values are stored exactly as printed, and every difference is listed.

1. **Self-reconciliation of the PDF** (`App\Domain\Smgv\WorkbookReconciler`, before the import). The workbook is checked against itself:
   - day cells vs week totals vs the Jahresübersicht month columns vs its Jahr column;
   - the documented sheet arithmetic (Phase 03 spec §5);
   - Basisblatt vs annual vacation and saldo values.

   The sheet computes with more precision than it prints, so an expected value is first rounded to the printed decimals. A remaining difference of ≤ 0.02 h, caused by summing values that are each shown rounded, is reported as *rounding*. Anything larger is a **discrepancy**.
2. **Platform calculation vs PDF** (after the import). The platform's own monthly results (SMGV engine) are compared with the PDF's monthly totals: Sollstunden, productive total, holiday credits, total incl. supplements and Vergleich.

## 1. Results per employee

| Employee | Self-checks passed | Discrepancies | Information (not errors) | Platform vs PDF |
| --- | ---: | ---: | --- | --- |
| Avni Hoti | 553 / 553 | 0 | 2 × total row not printed | all months equal |
| Johan Manuel Batista de Mota | 348 / 360 | 0 | 12 × year-saldo header blank (no hours recorded) | all months equal |
| Durim Buduri | 574 / 574 | 0 | 3 × total row not printed | all months equal |
| Besart Dibra | 539 / 551 | 0 | 12 × display rounding (header 56.3750 vs 56.38), 3 × total row not printed | Apr: 187.13 vs 187.12 (minute resolution) |
| Blerim Dullovi | 476 / 486 | **10** | 2 × total row not printed | all months equal |
| Zekri Elmazi | 473 / 473 | 0 | 1 × total row not printed | all months equal |
| Shipran Kryezi | 545 / 557 | 0 | 12 × display rounding (83.6250 vs 83.63), 3 × total row not printed | May: 182.13 vs 182.12 (minute resolution) |
| Flurim Kurtaj | 510 / 510 | 0 | 3 × total row not printed | all months equal |
| Egzon Tahiri | 539 / 539 | 0 | 4 × total row not printed | all months equal |
| Memet Tairi | 519 / 531 | 0 | 12 × display rounding (52.6250 vs 52.63), 2 × total row not printed | May: 175.13 vs 175.12 (minute resolution) |

Totals: **5,076 of 5,134 checks passed**, 10 discrepancies (all one employee, one row), 58 information items.

What was verified for every employee and month:
- Sollstunden, Tagarbeit 06–20, Nachtarbeit 20–06 and the productive total, each sum of days vs the annual month column.
- Gutschrift "ft" vs annual Feiertage.
- Supplements: Zeitzuschlag 1) vs annual, Zeitzuschlag 2)+3) vs annual.
- Each of the 15 unproductive codes, days vs annual.
- Total incl. supplements = productive + supplements + unproductive.
- Vergleich = total − Soll.
- Kumuliert = running sum of Vergleich.
- Monthly header "Saldo Monat" vs annual.
- Monthly header Anstellung % vs annual vs the Basisblatt effective employment %.
- Every week total vs the day totals of its whole calendar week, across month boundaries.
- The Jahr column = sum (Anstellung % = mean) of the months, for every annual row.
- Vacation:
  - Vorjahr and nach GAV: Basisblatt vs annual;
  - total = Vorjahr + GAV;
  - bezogen = annual Ferien;
  - Übertrag = total − bezogen + Korrekturen.
- Opening saldo vs the "Saldoübertrag 2025" text, and the Vorjahr rest.

## 2. Unresolved discrepancies

**Blerim Dullovi, July 2026 (PDF page 64), 10 days (20–24 and 27–31 July):**
- Each of these days carries 8.00 h of *Ferien*.
- The sheet's derived row "Unproduktive Std. Total" is blank on those days, but printed on earlier days of the same month.

The imported values are the **vacation hours themselves** (the input rows), and they agree with the annual Ferien column. The discrepancy affects only the sheet's own derived total row, which the PDF does not print for those days. No value was changed. Recommendation: check the July sheet in the original workbook (the total formula probably does not cover those columns).

## 3. Information items (not errors)

- **Total row not printed.** In some months the "Unproduktive Std. Total" row is not printed at all. The underlying rows (vacation, illness…) are complete and reconcile with the annual sheet.
- **Display rounding.** The monthly header "Saldo für das Jahr" carries 4 decimals (e.g. 56.3750). The annual sheet prints the same value rounded (56.38).
- **Blank header.** Johan Manuel Batista de Mota has no recorded hours at all. The year-saldo header is therefore blank, while the annual sheet shows −1,176.00 h (the negative Soll).
- **Minute resolution.** The platform stores whole minutes. A printed 0.125 h supplement (7.5 min) gives 0.13 h instead of 0.12 h in 3 employee-months. The exact original values are kept in `smgv_historical_values`.
- **Unverified relationships** (Tagestotal vs bands = paid travel; Übertrag Stundensaldo): checked and equal here, but kept as "information" because the GAV rule is not verified.

## 4. What the platform calculates vs what it keeps as reported

- **Inputs** of the sheet are imported and used by the platform: productive bands, unproductive codes, manual corrections, remarks, Pensum, holidays, opening balances.
- **Reported totals** of the sheet (Soll, credits, supplements, totals, Vergleich, cumulative, vacation control, carry values) are stored **separately** as reported values with their page. They are never overwritten by a calculation.
- **Supplements.** For historical days the platform uses the **reported** supplements. Its own draft GAV supplement rules would otherwise have produced different totals (0.25–1.00 h per month in 13 employee-months), and those rules are not verified.
- With that, the platform's monthly results equal the PDF for every employee and month, except the three 0.01 h minute-resolution cases above.
