Repository navigation
Show Leistungsdatum on ticket invoices - #280
Draft
claude[bot] wants to merge 1 commit into
Draft
claude[bot] wants to merge 1 commit into
claude[bot] wants to merge 1 commit into
Conversation
Invoices, corrections and cancellations now print the conference date(s) as Leistungsdatum (§ 14 Abs. 4 Nr. 6 UStG) in the meta block. The dates are recorded in the invoice snapshot; cancellations of snapshots written before this change fall back to the conference's start_on/end_on. When no date is known the line is omitted and a warning is logged. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FBHiR6NFRe6QR5SBjSv4nw
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This was referenced Oct 20, 2026
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Requested by Richard Hartmann · Slack thread
Before: programmier.con ticket invoices show Rechnungsdatum and Fälligkeitsdatum (or the Bezug line on corrections/cancellations), but no Leistungsdatum, which is a mandatory invoice field per § 14 Abs. 4 Nr. 6 UStG.
After: all three document types (Rechnung, Rechnungsberichtigung, Stornorechnung) show the conference date as Leistungsdatum in the meta block below the Rechnungsdatum, e.g.
Leistungsdatum: 25.–26.11.2026(a single date when the conference is one day).How: the paid hook and the invoice-lifecycle endpoint now load the conference's
start_on/end_onand record them in the invoice snapshot (service_date_start/service_date_endinsnapshot_json); the PDF renders the formatted range from the snapshot. A Stornorechnung keeps the referenced invoice's dates; for snapshots written before this change it falls back to the conference dates. If no date is known at all, the line is omitted and a warning is logged instead of failing. Code-only: no schema changes.Already-issued invoices are unchanged (issued documents stay frozen). The Directus CMS extension needs a redeploy for this to take effect.
Tests:
npm run prettier:check,npm run lint,npm testandnpm run buildpass in the extension bundle; new tests cover the date formatting, the snapshot fields, the storno fallback and the rendered Leistungsdatum line for all three document kinds.Generated by Claude Code