+ Dokument mit Belegkette und GAEB-Import X/P/D 81–86 (0.28.0)
Some checks failed
Prüfung / tests (push) Has been cancelled
Prüfung / container (push) Has been cancelled

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AmyPfuNc4sCRfaF3oURXZz
This commit is contained in:
Claude
2026-10-22 08:00:31 +00:00
parent 58cf2ae682
commit 1c42265a28
18 changed files with 1262 additions and 36 deletions

View File

@@ -1,4 +1,5 @@
// Eingabeprüfung für die Tabellen aus Stufe 0. Feldnamen = Spaltennamen.
import { BELEGARTEN } from "../domain/belege.js";
import { z } from "zod";
const datum = z.string().regex(/^\d{4}-\d{2}-\d{2}$/, "Datum im Format JJJJ-MM-TT");
@@ -137,7 +138,10 @@ export const TABELLEN: Tabelle[] = [
schema: z.object({
projekt_id: id,
nummer: text,
belegart: z.enum(["angebot", "kostenvoranschlag"]).optional(),
belegart: z.enum(BELEGARTEN).optional(),
vorbeleg_id: id.nullable().optional(),
quelle: optText,
ist_vorlage: z.boolean().optional(),
datum: datum.optional(),
bindefrist: datum.nullable().optional(),
betreff: optText,