From the Angebot review (B2B-SaaS completeness): the Quotation PDF lacked the contractual terms an offer needs. Adds a Quotation-guarded Vertragsbedingungen block to the shared documentHTML print format — Vertragsart, Vertragsbeginn, Laufzeit/Kündigung, Abrechnung, monatliche Vergütung + Rabattdauer, Mehrverbrauch, Vertragsgrundlagen, Annahme. Plus the 14-day SEPA Vorabinformation on the non-invoice Zahlungsart line, and a "Monatlicher Gesamtbetrag" label (fixes the "1 Monat = one-off" misread).
Safety
Every new block is doc.doctype == "Quotation" (the Vorabinfo is in the not is_inv branch), so the GoBD Sales Invoices and Auftragsbestätigungen are untouched. go build, go vet and go test ./internal/erpsetup/ all green.
Terms (owner decisions, 2026-10-27)
No minimum term (monthly cancellable, 1 month to month-end) · discount permanent incl. renewals · SEPA-Lastschrift 21 days · per-Prüfung overage. Vertragsgrundlagen renders a placeholder until the SaaS-AGB / SLA / AVV / TOMs land in the portal document store.
Apply + follow-ups (not in this PR)
Run erpsetup against the live ERP to push the updated Print Format, then regenerate and review the quotation PDF before release.
SupersedeSAL-QTN-2026-00001 (amend → new version) and reconcile the "4 Prüfungen pro Tag" line to the catalogue's monthly-quota model (resolves the 10-vs-5 Prüfobjekte / 490-vs-1490 pilot-price mismatch).
SEPA: a signed mandate must exist before the first Einzug; first invoice falls back to Überweisung until then.
später: structured per-field Custom Fields on Quotation/Sales Order/Sales Invoice; the versioned portal contract docs.
## What
From the Angebot review (B2B-SaaS completeness): the Quotation PDF lacked the contractual terms an offer needs. Adds a **Quotation-guarded Vertragsbedingungen block** to the shared `documentHTML` print format — Vertragsart, Vertragsbeginn, Laufzeit/Kündigung, Abrechnung, monatliche Vergütung + Rabattdauer, Mehrverbrauch, Vertragsgrundlagen, Annahme. Plus the **14-day SEPA Vorabinformation** on the non-invoice Zahlungsart line, and a **"Monatlicher Gesamtbetrag"** label (fixes the "1 Monat = one-off" misread).
## Safety
Every new block is `doc.doctype == "Quotation"` (the Vorabinfo is in the `not is_inv` branch), so the **GoBD Sales Invoices and Auftragsbestätigungen are untouched**. `go build`, `go vet` and `go test ./internal/erpsetup/` all green.
## Terms (owner decisions, 2026-10-27)
No minimum term (monthly cancellable, 1 month to month-end) · discount permanent incl. renewals · SEPA-Lastschrift 21 days · per-Prüfung overage. `Vertragsgrundlagen` renders a placeholder until the SaaS-AGB / SLA / AVV / TOMs land in the portal document store.
## Apply + follow-ups (not in this PR)
- Run `erpsetup` against the live ERP to push the updated Print Format, then regenerate and **review the quotation PDF before release**.
- **Supersede** `SAL-QTN-2026-00001` (amend → new version) and reconcile the "4 Prüfungen pro Tag" line to the catalogue's monthly-quota model (resolves the 10-vs-5 Prüfobjekte / 490-vs-1490 pilot-price mismatch).
- SEPA: a signed mandate must exist before the first Einzug; first invoice falls back to Überweisung until then.
- *später:* structured per-field Custom Fields on Quotation/Sales Order/Sales Invoice; the versioned portal contract docs.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
https://claude.ai/code/session_01KYcAAeTw22GE9QPzDM8yc4
Angebot review (§3/§5/§6): the Quotation PDF lacked the contractual terms a
B2B-SaaS offer needs. Add a Quotation-GUARDED Vertragsbedingungen block to the
shared documentHTML (Vertragsart, Vertragsbeginn, Laufzeit/Kündigung, Abrechnung,
monatliche Vergütung + Rabattdauer, Mehrverbrauch, Vertragsgrundlagen, Annahme),
the 14-day SEPA Vorabinformation on the non-invoice Zahlungsart line, and a
"Monatlicher Gesamtbetrag" label so the recurring nature is unambiguous (the
"1 Monat" misread). Every new block is doc.doctype == "Quotation" (or the
not-is_inv branch), so the GoBD Sales Invoices are untouched.
Terms per the owner's decisions 2026-10-27: no minimum term (monthly cancellable,
1 month to month-end), permanent discount incl. renewals, SEPA-Lastschrift 21
days, per-Prüfung overage. Vertragsgrundlagen renders a placeholder until the
SaaS-AGB/SLA/AVV/TOMs land in the portal document store. Structured per-field
Custom Fields are a documented follow-up.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KYcAAeTw22GE9QPzDM8yc4
sharang
merged commit d14f381164 into main2026-10-27 14:32:54 +00:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
What
From the Angebot review (B2B-SaaS completeness): the Quotation PDF lacked the contractual terms an offer needs. Adds a Quotation-guarded Vertragsbedingungen block to the shared
documentHTMLprint format — Vertragsart, Vertragsbeginn, Laufzeit/Kündigung, Abrechnung, monatliche Vergütung + Rabattdauer, Mehrverbrauch, Vertragsgrundlagen, Annahme. Plus the 14-day SEPA Vorabinformation on the non-invoice Zahlungsart line, and a "Monatlicher Gesamtbetrag" label (fixes the "1 Monat = one-off" misread).Safety
Every new block is
doc.doctype == "Quotation"(the Vorabinfo is in thenot is_invbranch), so the GoBD Sales Invoices and Auftragsbestätigungen are untouched.go build,go vetandgo test ./internal/erpsetup/all green.Terms (owner decisions, 2026-10-27)
No minimum term (monthly cancellable, 1 month to month-end) · discount permanent incl. renewals · SEPA-Lastschrift 21 days · per-Prüfung overage.
Vertragsgrundlagenrenders a placeholder until the SaaS-AGB / SLA / AVV / TOMs land in the portal document store.Apply + follow-ups (not in this PR)
erpsetupagainst the live ERP to push the updated Print Format, then regenerate and review the quotation PDF before release.SAL-QTN-2026-00001(amend → new version) and reconcile the "4 Prüfungen pro Tag" line to the catalogue's monthly-quota model (resolves the 10-vs-5 Prüfobjekte / 490-vs-1490 pilot-price mismatch).🤖 Generated with Claude Code
https://claude.ai/code/session_01KYcAAeTw22GE9QPzDM8yc4